Control & Instrumentation

PID Controller Tuning: Fundamentals, Methods and Step Response

The effect of each parameter, Ziegler–Nichols and lambda tuning, with a simulated first-order-plus-dead-time process.

1 min readUpdated: October 22, 2026
PID Controller Tuning: Fundamentals, Methods and Step Response

Photo: Tdmzgbi · CC BY-SA 4.0 · Image credits

What is PID?

A PID controller combines three terms acting on the error between setpoint and measurement: proportional (P) reacts to the present error, integral (I) to the accumulated past error and derivative (D) to the rate of change.

u(t) = Kp · [ e(t) + (1/Ti) ∫ e dt + Td · de/dt ]

Effect of increasing each parameter

ParameterRise timeOvershootSettling timeSteady-state error
KpDecreasesIncreasesSmall changeDecreases
KiDecreasesIncreasesIncreasesEliminated
KdSmall changeDecreasesDecreasesNo change
Table 1 — Effect of parameters on the closed-loop response

Ziegler–Nichols reaction-curve method

From an open-loop step test you obtain process gain K, time constant τ and dead time θ, and the parameters follow from the table below.

ControllerKpTiTd
Pτ / (K·θ)——
PI0.9·τ / (K·θ)3.33·θ—
PID1.2·τ / (K·θ)2·θ0.5·θ
Table 2 — Ziegler–Nichols formulas (reaction curve)
00.40.81.21.6020406080100120Time (s)Process output (relative to setpoint)setpointP (Ziegler–Nichols)PI (Ziegler–Nichols)PID (Ziegler–Nichols)PI (Lambda)
Figure 1 — Step response for process K=1, τ=20 s, θ=4 s. Ziegler–Nichols tunings are aggressive and overshoot; lambda tuning is smooth with no overshoot.

Lambda (IMC) tuning

You choose the desired closed-loop time constant λ and set Kp = τ / (K·(λ+θ)) and Ti = τ. Typically λ is 1–3 times θ; larger values give a slower, more robust response.

Rule of thumb
Fast flow and pressure loops usually need only PI — leave D out. D helps only on slow processes like temperature with long dead time, and it amplifies noise.
Ask me