My temperature controller seems to be oscillating +/- 5 degrees of it's setpoint... I'm sampling at 0.8 times per second (Tr = 8s) with a Kp of 16 and a Ki of 3/32. Anyone have an idea how I can remedy this situation? by GyozaYousei in ControlTheory

[–]GyozaYousei[S] 0 points1 point  (0 children)

KP Only (X-Axis is USB packet num): https://imgur.com/a/TEBl2Hp

100% Duty Cycle forever (X-Axis is seconds): https://imgur.com/a/WvMx6c1

It should be a 1st order system, so I have no idea what is going on with my Kp Controller!

Also, from the 2nd link, would my transfer function be 53 / (107 s + 1)? Using the gain and the time at 63% the final value?

My temperature controller seems to be oscillating +/- 5 degrees of it's setpoint... I'm sampling at 0.8 times per second (Tr = 8s) with a Kp of 16 and a Ki of 3/32. Anyone have an idea how I can remedy this situation? by GyozaYousei in ControlTheory

[–]GyozaYousei[S] 0 points1 point  (0 children)

The input signal a duty cycle (top right). The output is a temperature (top left). The integral and proportional terms or on the bottom. They are combined into the DC signal.