-
Notifications
You must be signed in to change notification settings - Fork 15
Description
The custom 372 PID is slow to turn on the heater after the sample temperature is greater than the setpoint for long periods of time. I suspect that the Integral contribution term in the PID is invisibly becoming very negative so that the heater cannot be turned back on immediately when the sample temperature falls below the setpoint. This can delay the PID from turning on the heater by a time greater than the temperature was above the setpoint. There is no issue when the sample temperature is greater than the setpoint for very brief periods during normal PID'ing.
I suspect the issue is slightly more complicated than just enforcing the integral term to always be positive. This is mostly an issue because there's no such thing as a negative heater %. I'd suspect the solution is something like pausing any updating to the integral term if the heater value ever becomes 0.