another_jim wrote:Keep your sensor naked, and don't worry about it moving a few centimeters. The main thing is that it doesn't foul anything, that it reads consistently, and responds fast. In a PID controller, the key variable is how long it takes before a change in the heat shows up as a sensor reading. The longer this interval, the more jittery and overshoot prone the controller has to be. By keeping the sensor is naked as possible, you keep the control as smooth as possible.
gyro wrote:Do you mean I should have used a bare thermocouple wire? ...
A bare thermocouple wire will give a reading that is prompt but discontinuous, thus contributing to the potential instability of a system trying to control the bean temperature directly. In this case, the mass surrounding the sensor will aid stability at the expense of promptness (which will also end up affecting accuracy). I think that some accuracy should be traded for stability in case bean temperature was to be regulated directly using a PID controller (so-called "single-loop" control). Therefore, it may not be a bad idea at all to use the J-type thermocouple you have shown as long as you put in mind that you may end up overshooting bean temperature a little bit.
ADDITION: In the above, I assume that the ability to ensure a thoroughly meaningful measurement is independent from the choice of the sensing element (either be it a bare thermocouple wire or a heavy metallic probe). Failing occasionally to provide a meaningful measurement due to the positioning of the sensor (such as the erratic readings you have at the door) will probably harm the process way more than the choice of the sensing element would, making such choice irrelevant.
(I have no practical experience using PID controllers)








