Worked example
Example: Drum level: Ku 4, Tu 60 s. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Ultimate gain (gain at steady oscillation) | 4.0000 - |
| Ultimate period of the oscillation | 60.000 s |
Applying the formula below gives:
| Result | Value |
|---|---|
| PID: proportional gain | 2.4000 |
| PID: integral time | 30.000 s |
| PID: derivative time | 7.5000 s |
| PI: proportional gain | 1.8000 |
| PI: integral time | 50.000 s |
| P only: proportional gain | 2.0000 |
Open this example in the calculator and change any input.
Formula
\(P: K_p = 0.5 K_u \qquad PI: K_p = 0.45 K_u,\ T_i = T_u/1.2 \qquad PID: K_p = 0.6 K_u,\ T_i = T_u/2,\ T_d = T_u/8\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(K_u\) | ultimate gain | – |
| \(T_u\) | ultimate period | s |
| \(K_{p,PID}\) | PID gain | – |
| \(T_{i,PID}\) | PID integral time | s |
| \(T_{d,PID}\) | PID derivative time | s |
| \(K_{p,PI}\) | PI gain | – |
| \(T_{i,PI}\) | PI integral time | s |
| \(K_{p,P}\) | P-only gain | – |
| \(K_p, T_i, T_d\) | gain, integral and derivative time in general | –, s, s |
Method and standards
Ziegler and Nichols (1942) closed-loop (ultimate sensitivity) rules for an ideal (standard) PID form.
Where it is used
- Commissioning drum level, pressure, temperature and draught loops.
- First settings for new loops.
- Teaching control tuning.
Common mistakes
- Using the settings unchanged on interacting or series-form controllers.
- Mixing gain and proportional band.
- Tuning with valves at their limits.
Assumptions and limits
- Ideal PID form; linear process near the operating point.
References
- J.G. Ziegler and N.B. Nichols (1942)
Questions and answers
How do I tune a loop by Ziegler–Nichols?
With integral and derivative off, raise the gain until the loop oscillates steadily: that gain is Ku and the period Tu. With Ku = 4 and Tu = 60 s, a PID gets Kp 2.4, Ti 30 s, Td 7.5 s; a PI gets 1.8 and 50 s.
Are these final settings?
No: Ziegler–Nichols gives quarter-amplitude decay, often too lively for boiler loops; reduce the gain and lengthen the integral for smoother control.
Is it safe to make a boiler loop oscillate?
Only with care, small amplitudes and operator agreement; drum level and furnace pressure loops have trips close by.
Method and article reviewed by FireCAD engineering on 11 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.