Vijay_Wiki
/ Maths for engineers / PID control

PID Control and Tuning: P, I and D Actions, FOPDT Models, Ziegler–Nichols and Lambda Tuning

K Vijay Anand · Vijay_Wiki quick-reference article · 24 November 2026
PIDControlTuningAutomation

PID controllers hold temperatures, pressures, speeds and flows on test rigs and in plants. Most loops are tuned by trial and error and end up either sluggish or oscillating. A short step test that fits a first-order-plus-dead-time model, followed by a tuning rule, gives good settings in minutes and explains why some loops cannot be made fast.

Key takeaways

  • u = Kc·[e + (1/Ti)∫e dt + Td·de/dt]: P reacts to error, I removes offset, D anticipates.
  • A bump test gives a FOPDT model: gain K, time constant τ and dead time θ; difficulty rises with θ/τ.
  • Lambda (IMC) tuning: Kc = τ/(K(λ + θ)), Ti = τ; choose λ ≥ θ for robustness.
  • Ziegler–Nichols closed-loop: Kc = 0.6Ku, Ti = Pu/2, Td = Pu/8; aggressive (quarter-decay) by design.
  • Use derivative on measurement with filtering, and anti-windup on the integral when the output saturates.

1. The three terms

TermEffectToo much causes
Proportional (Kc)Output proportional to errorOscillation; steady offset if used alone
Integral (1/Ti)Accumulates error to remove offsetSlow oscillation, overshoot, windup
Derivative (Td)Reacts to rate of change; dampsNoise amplification, output chatter

2. Process model from a step test

FOPDT: G(s) = K·e^(−θs)/(τs + 1) K = ΔPV/ΔOutput; θ = time before PV starts to move; τ = time from start of movement to 63 % of change

3. Tuning rules

RuleKcTiTd
Lambda / IMC (PI)τ/(K·(λ + θ))τ0
Ziegler–Nichols open loop (PID)1.2τ/(K·θ)2θ0.5θ
Ziegler–Nichols closed loop (PID)0.6·KuPu/2Pu/8
Ziegler–Nichols closed loop (PI)0.45·KuPu/1.20
00.250.50.7511.251.5020406080100120140time (s)process variablelambda tuning Kc = 0.71, Ti = 20 saggressive (2.2 Kc, Ti/2)
Figure 1. Simulated set-point step for a process with K = 2.0, τ = 20 s, θ = 4 s: lambda tuning (λ = 10 s) gives a smooth, non-overshooting response; doubling the gain and halving Ti causes oscillation.

4. Practical points

5. Calculators

PID loop simulator (FOPDT process)

6. Self-test: check your understanding

Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).

Score

7. References and further reading

  1. Åström, K. J. and Hägglund, T., Advanced PID Control, ISA, 2006.
  2. Ziegler, J. G. and Nichols, N. B., 'Optimum settings for automatic controllers', Trans. ASME, 64, 1942.
  3. Skogestad, S., 'Simple analytic rules for model reduction and PID controller tuning', J. Process Control, 13, 2003.
  4. Seborg, D. E. et al., Process Dynamics and Control, 4th ed., Wiley, 2016.

Web pages

Disclaimer

This article is for education and quick reference. Formulas are simplified first estimates and examples use typical data. For design, safety and maintenance decisions use manufacturers' data and the applicable standards.

Related Vijay_Wiki articles