aiwiki.page
English
Technology / Engineering & Manufacturing / ziegler-nichols-method

Ziegler–Nichols Method

The Ziegler–Nichols method is a set of empirical rules for tuning proportional, integral, and derivative controllers from measured process responses.

15 keywords1 linked fromWritten by AI
PID ControllerControl TheoryProcess ControlNegative Feedbac…Transfer Functio…Linear Time-Inva…Bode PlotProgrammable Log…Ziegler–Ni…

The Ziegler–Nichols method is a family of empirical rules for selecting the settings of a proportional–integral–derivative (PID) controller. Introduced by John G. Ziegler and Nathaniel B. Nichols in 1942, it relates controller settings to either an open-loop process step response or the gain and oscillation period at the closed-loop stability boundary. Widely taught in control theory and used in industrial process control, the method provides an initial tuning rather than a guarantee of optimal performance, stability, or acceptable operation.

Purpose and historical background

A feedback controller adjusts a manipulated variable, such as valve position or heater power, to keep a measured variable near a desired setpoint. Controller tuning determines how strongly and how quickly the controller responds to deviations.

Ziegler and Nichols presented their rules in the 1942 paper Optimum Settings for Automatic Controllers. Their contribution was a practical procedure for choosing settings from experimentally observable process behavior, without requiring a detailed physical model.

The rules became influential because they reduced tuning to a small number of measurements and simple calculations. They remain useful as teaching tools, benchmark settings, and starting points for commissioning. Their relatively aggressive response, however, is often unsuitable as a final setting for processes that require little overshoot or substantial stability margins.

Controller form and notation

The tuning rules must be matched to the controller equation. A common modern presentation uses the ideal, or noninteracting, PID form:

u(t)=ub+Kc[e(t)+1Ti∫0te(τ) dτ+Tdde(t)dt],u(t)=u_b+K_c\left[ e(t)+\frac{1}{T_i}\int_0^t e(\tau)\,d\tau +T_d\frac{de(t)}{dt} \right],

where:

  • u(t)u(t) is the controller output;
  • ubu_b is an output bias;
  • e(t)=r(t)−y(t)e(t)=r(t)-y(t) is the difference between setpoint r(t)r(t) and measured output y(t)y(t);
  • KcK_c is the proportional gain;
  • TiT_i is the integral time;
  • TdT_d is the derivative time.

Proportional action responds to the current error, integral action accumulates error, and derivative action responds to its rate of change.

For the parallel form,

u(t)=ub+Kpe(t)+Ki∫0te(τ) dτ+Kdde(t)dt,u(t)=u_b+K_p e(t)+K_i\int_0^t e(\tau)\,d\tau +K_d\frac{de(t)}{dt},

the equivalent parameters are

Kp=Kc,Ki=KcTi,Kd=KcTd.K_p=K_c,\qquad K_i=\frac{K_c}{T_i},\qquad K_d=K_cT_d.

These relationships matter because industrial controllers may specify integral action as time per repeat or repeats per unit time, and may implement interacting rather than noninteracting PID equations. Numerical settings cannot necessarily be transferred unchanged between implementations.

The tables below give widely used textbook versions of the rules in the ideal form. Gain magnitudes assume that the controller action has already been chosen to produce negative feedback.

Open-loop reaction-curve method

Measuring the response

The reaction-curve method characterizes the process by applying a step change to its input while the feedback controller is in manual mode. The resulting output trajectory is the process step response.

For a stable, self-regulating process with an approximately S-shaped response, the behavior is represented by a first-order-plus-dead-time transfer function:

Gp(s)=Ke−LsTs+1,G_p(s)=\frac{K e^{-Ls}}{Ts+1},

where:

  • K=Δy/ΔuK=\Delta y/\Delta u is the steady-state process gain;
  • LL is an effective delay;
  • TT is an effective time constant.

In the classical graphical construction, a tangent is drawn at the steepest part of the measured response. Its intersections with the initial and final output levels determine LL and TT: the interval from the input step to the first intersection is LL, and the interval between the two intersections is TT.

For an actual first-order-plus-dead-time process, the post-delay response is exponential rather than S-shaped; its initial post-delay tangent provides the corresponding construction. For a higher-order process, the fitted delay and time constant summarize several dynamic effects rather than necessarily representing individual physical components.

Tuning rules

With KK expressed consistently with the controller’s signal scaling, the standard reaction-curve settings are:

Controller Proportional gain KcK_c Integral time TiT_i Derivative time TdT_d
P T∣K∣L\dfrac{T}{\vert K\vert L} Not used Not used
PI 0.9T∣K∣L\dfrac{0.9T}{\vert K\vert L} 3.33L3.33L Not used
PID 1.2T∣K∣L\dfrac{1.2T}{\vert K\vert L} 2L2L 0.5L0.5L

The sign of the process gain determines the required controller direction; it is not removed physically by taking its magnitude in the table.

These formulas require a nonzero effective delay. If LL is very small, the calculated gain becomes large and sensitive to errors in the fitted delay. The original construction also presumes a measurable steady-state change, so it does not directly apply to an integrating process whose output continues to drift after a step input.

Closed-loop ultimate-gain method

Finding the stability boundary

The ultimate-gain method uses a closed-loop experiment:

  1. Disable integral and derivative action, leaving proportional control.
  2. Increase the proportional gain until the loop exhibits approximately sustained, constant-amplitude oscillation.
  3. Record the ultimate gain, KuK_u, and the corresponding ultimate period, PuP_u.

The intended condition is the boundary between decaying and growing oscillation in an approximately linear time-invariant system. An oscillation caused by actuator saturation, friction, hysteresis, or other nonlinear behavior does not necessarily identify that boundary.

For an ideal linear loop, the ultimate angular frequency is

ωu=2πPu.\omega_u=\frac{2\pi}{P_u}.

Under the usual negative-feedback convention, the process phase at this frequency is −180∘-180^\circ, modulo full rotations, and

Ku∣Gp(jωu)∣=1.K_u\left|G_p(j\omega_u)\right|=1.

This connects the experiment to frequency-response analysis and the Bode plot. Not every process has a finite, experimentally accessible ultimate gain.

Tuning rules

The widely used ultimate-gain rules are:

Controller Proportional gain KcK_c Integral time TiT_i Derivative time TdT_d
P 0.5Ku0.5K_u Not used Not used
PI 0.45Ku0.45K_u Pu/1.2P_u/1.2 Not used
PID 0.6Ku0.6K_u Pu/2P_u/2 Pu/8P_u/8

For example, if Ku=8K_u=8 and Pu=12 sP_u=12\,\mathrm{s}, the PID settings are

Kc=4.8,Ti=6 s,Td=1.5 s.K_c=4.8,\qquad T_i=6\,\mathrm{s},\qquad T_d=1.5\,\mathrm{s}.

In the parallel form, these become

Kp=4.8,Ki=0.8 s−1,Kd=7.2 s,K_p=4.8,\qquad K_i=0.8\,\mathrm{s}^{-1},\qquad K_d=7.2\,\mathrm{s},

assuming dimensionless input and output signals.

The reaction-curve and ultimate-gain methods are distinct experiments. Their settings need not coincide, even when both can be applied to the same process.

Intended response and interpretation

Ziegler–Nichols tuning is traditionally associated with quarter-amplitude decay: successive peaks on the same side of the final value have an amplitude ratio of roughly one quarter. This describes an oscillatory transient that decays relatively quickly but can have substantial overshoot.

Quarter-amplitude decay is a design target, not a universal consequence of the formulas. Actual behavior depends on process dynamics, model error, controller implementation, and the disturbance or setpoint change being tested.

The rules are also historically associated with disturbance rejection in process regulation. Good recovery from a load disturbance does not imply equally good setpoint tracking. Setpoint weighting or derivative action on the measured variable can alter setpoint behavior without changing all aspects of the feedback response.

Applications and implementation

The method has been applied to temperature, flow, pressure, and other industrial control loops, including those implemented in a programmable logic controller or a distributed control system. Its main practical uses are initial tuning, comparison with other tuning methods, and demonstration of the relationship between process dynamics and controller settings.

Several implementation details affect the result:

  • Signal scaling: A process gain based on engineering units differs numerically from one based on percentage-of-range signals.
  • Derivative filtering: An ideal derivative amplifies high-frequency measurement noise. Practical controllers normally include a filter in the derivative path.
  • Output limits: A real actuator has finite travel, power, or speed. Saturation changes the loop behavior and can produce integral windup.
  • Sampling: A digital controller approximates continuous-time action. Sampling and computational delays can become important relative to the process dynamics.
  • Operating point: A nonlinear process can have different gains and time scales at different loads.

Consequently, applying the table is only one part of controller commissioning.

Limitations and alternatives

Aggressiveness and robustness

Classical Ziegler–Nichols settings often produce appreciable overshoot and oscillation. They may be poorly suited to long-delay processes, uncertain models, or applications with tight operating limits. They do not explicitly specify a gain margin, phase margin, or robustness target of the kind considered in robust control.

Experimental risk

The ultimate-gain experiment deliberately approaches instability. Sustained oscillation can exceed operating limits, stress equipment, or interfere with production, making the experiment unacceptable in some process safety contexts.

The open-loop experiment avoids deliberately destabilizing a feedback loop, but it still perturbs the process and temporarily removes automatic regulation. Neither procedure is inherently suitable for every plant.

Restricted representation of dynamics

A gain, delay, and time constant—or an ultimate gain and period—provide only a limited description of a process. The rules do not explicitly account for resonances, inverse response, strong nonlinearities, interactions between multiple control loops, or actuator constraints.

Alternative approaches include model-based PID tuning, internal-model-control and lambda tuning, numerical optimization, and relay-feedback identification. Relay-feedback autotuning uses a different experiment to estimate oscillatory characteristics and can be combined with Ziegler–Nichols or other tuning rules. More complex applications may use model predictive control to address interacting variables and constraints explicitly.