A question for you PID loop experts out there!
I've implemented a PID loop which is doing a decent job of controlling a process. I can get almost any PV value I want, the loop is stable... but there's a catch.
The process measured value ranges from 0 to 10 (give or take). However, the sensor tends to drift a little at the low end -- so if I demand zero, I get 0.02 (say) -- which is fine.
But the constant steadystate error (between 0 and 0.02) causes the integrator to wind up a bit.
So when I next ramp from a setpoint of 0 to (say) 5, the response time is much worse than it should be -- and gets worse depending on how long the unit has been left at SP=0.
I'm toying with a few ideas to deal with the sensor drift, but before I do.. is there an established way for dealing with this problem?
Thanks