My notes on this page
Kept on this device only. Nothing is sent anywhere.
Tip: select words in the lesson, or tap a figure or an equation, to put a note right there.
Notes on earlier wording
The lesson has changed and these words are no longer in it. Your notes are kept, with the words you chose.
PID tuning
Too timid drifts, too eager swings. Find the tune that is quick and steady.
The loop is slow to reach a new setpoint. You triple the controller gain. What happens?
- Make the tank settle within 5 minutes with less than 5 % overshoot.
- Raise the gain until it swings up and down. Now double the dead time: what gain is safe now?
- Turn anti-windup off on the good tune. Where does the extra overshoot come from?
How the numbers are worked out
The tank follows τ dT/dt = −(T − Tair) + K u(t − θ) + d: the heater output u (0 to 100 %) warms it by K °C per %, but only after the dead time θ. The controller is the textbook PID: u = Kp (e + (1/Ti) ∫e dt) − Kp Td dT/dt, with the derivative on the measurement so a setpoint change does not kick the heater. When the output is pinned at 0 or 100 %, anti-windup pulls the integral back toward the limit (back-calculation, with tracking time Ti for PI). The good starting tune is SIMC (Skogestad 2003): Kp = τ / (K × 2θ), Ti = the smaller of τ and 8θ. Worked out every half second.
The lessons PID tuning methods and real loop problems go through each step; the concept PID explains it in five minutes, and integral windup the trap.
Where next
Discussion
No comments yet. Questions, results from your own build, a better way to explain it: all welcome.