Playground · Feedback control
PID playground
A controller compares what you want (set-point) with what the sensor reads (process variable) and moves the actuator. Choose a process, move the three gains, and watch what each term does.
Performance
- Rise time (10–90 %)
- 2.44 s
- Overshoot
- 0.0 %
- Settling time (±5 %)
- 3.81 s
- Error before disturbance
- 0.002
- IAE
- 1.994
Process variable and set-point
- Set-point
- Process variable
Controller output and the share of each term
- Controller output
- P term
- I term
- D term
Try this
- Choose "P only". The output settles below the set-point. Now add a little Ki and watch the gap close.
- Raise Kp slowly until the response starts to ring. Then add Extra dead time: the same Kp becomes unstable.
- Turn on noise, then add Kd. The controller output becomes jumpy. Add a derivative filter to calm it.
- On the tank or pump, turn anti-windup off and use large gains. Compare the overshoot with it on.