PID Controller Tuning Calculator
Two classic PID tuning routes: Ziegler-Nichols ultimate gain (from K(u) and period P(u)) and Cohen-Coon reaction curve (from process gain K, dead time θ and time constant τ) for P, PI and PID controllers.
Cohen-Coon needs a self-regulating step response.
How it works
Ziegler-Nichols ultimate: raise proportional gain until the loop oscillates steadily (K(u), period P(u)), then set K(p), T(i), T(d) as fractions of them. Cohen-Coon: from an open-loop step test read K, θ, τ and use the Cohen-Coon formulas (r = θ/τ).
- These are quarter-amplitude-damping targets: expect a lively, underdamped loop. Detune K(p) by 20-40% for a calmer loop.
- Both methods suit self-regulating processes; integrating processes (levels) need other rules (e.g. IMC/Lambda).
- Always test on the real loop with small steps and watch for saturation and oscillation.
Starting point only. Classic rules get you in the neighbourhood; fine-tune against your performance criteria.