Computing Library › Control Theory
Control Theory

Ziegler-Nichols Tuning

The Ziegler-Nichols rules give quick starting PID gains from a single closed-loop or open-loop experiment on the plant.

A Classic Rule of Thumb

Published in 1942, the Ziegler-Nichols methods were among the first systematic ways to pick PID gains from a simple experiment. They remain a fast way to get a working controller, understanding that the results are aggressive and usually need detuning.

Ultimate-gain method

Kronos motion — closed loop

With integral and derivative off, raise the proportional gain until the loop oscillates with sustained, constant amplitude. Record that gain as the ultimate gain Ku and the oscillation period as Tu. The rules then set the gains from Ku and Tu.

ControllerKpTiTd
P0.5*Ku--
PID0.6*KuTu/2Tu/8

Here Ti is the integral time (Ki = Kp/Ti) and Td is the derivative time (Kd = Kp*Td). The PID row gives Kp = 0.6*Ku, Ki = 1.2*Ku/Tu, Kd = 0.075*Ku*Tu.

Reaction-curve method

The open-loop variant records the plant's step response, fits a slope and dead time (an S-shaped reaction curve), and reads gains from those two numbers. It suits plants that cannot safely be driven into sustained oscillation.

Known limitations

Ziegler-Nichols is best understood as a starting point, not a finished design. It gives numbers in the right order of magnitude quickly, which the engineer then refines against overshoot and margin requirements. On critical or nonlinear plants, such as tokamak position control, model-based design is used instead of relay tuning near instability.