I am working on a heating control for a hotplate using PID. I managed to make my system work as I want it to be with the PID values I use.
My heating goes from 0-100%, but I impose a limit to the Integral term, I do not let it go beyond 100% and below 0%. All my other terms (the Proportional and derivative) have no limit (they can go as high or low as they want, even negative). I decided to limit the Integral in order to limit the 'memory' my system has, since :
- It can lead to overshoot since my system takes too long to heat up, and then it becomes large.
- It becomes so large it ignores the P and D.
I could just reduce the Ki, but I tried just limiting the I factor between 0 and 100 and It worked just fine.
Of course, the final PID is limited to 0<PID<100.
So, if I really want to use the PID formula "the mathematical way", should I limit also the P and D to 0-100% or should I not impose any limits to any of the P,I,D and just limit the final PID value between 0 and 100%?
(I think the last one is the more 'mathematical' way, since PID formula does not have any limits on its own, and then I just impose my real-world limit to the final PID value)