Hi,
Sure, use decimal if it makes more sense to you!
Try with pid_I_Clamp at 40 or even lower to begin with. If you then get to a point where the temperature never reaches the setpoint you need to look into if it is because the I-term is saturating or you just need to increase the I-gain.
As for the integrator sampling time I'd try setting that to roughly correspond to the settling time of whatever it is you're controlling. Ie. if run the system "open loop" and have a stable temperature and then increase the PWM dutycycle a couple of steps, how long does it take before the temperature settles at the new temperature? Set the integrator "sample divisor" so that the actual time roughly corresponds to the settling time.
/Henrik.
Bookmarks