# Ziegler-Nichols Methods Facilitate Loop Tuning

## Tuning a proportional-integral-derivative (PID) controller is a matter of selecting the right mix of P, I, and D action to achieve a desired closed performance (see "Basics of Proportional-Integral-Derivative Control," Control Engineering, March 1998).The ISA standard form of the PID algorithm is:The variable CO(t) represents the controller output applied to the process at time t, PV(t) i...

08/01/1998

Tuning a proportional-integral-derivative (PID) controller is a matter of selecting the right mix of P, I, and D action to achieve a desired closed performance (see ' Basics of Proportional-Integral-Derivative Control ,' Control Engineering, March 1998).

The ISA standard form of the PID algorithm is:

The variable CO(t) represents the controller output applied to the process at time t, PV(t) is the process variable coming from the process, and e(t) is the error between the setpoint and the process variable. Proportional action is weighted by a factor of P, the integral action is weighted by P/T I , and the derivative action is weighted by PT D where P is the controller gain, T I is the integral time, and T D is the derivative time.

In 1942, John G. Ziegler and Nathaniel B. Nichols of Taylor Instruments (now part of ABB Instrumentation in Rochester, N.Y.) published two techniques for setting P, T I , and T D to achieve a fast, though not excessively oscillatory, closed-loop step response. Their 'open loop' technique is illustrated by the reaction curve in the figure. This is a strip chart of the process variable after a unit step has been applied to the process while the controller is in manual mode (i.e., without feedback).

A line drawn tangent to the reaction curve at its steepest point shows how fast the process reacted to the step input. The inverse of this line's slope is the process time constant T. The reaction curve also shows how long the process waited before reacting to the step (the deadtime d) and how much the process variable increased relative to the size of the step (the process gain K). Ziegler and Nichols determined that the best settings for the tuning parameters could be computed from T, d, and K as follows:

Once these parameter values are loaded into the PID algorithm and the controller is returned to automatic mode, subsequent changes in the setpoint should produce the desired 'not-too-oscillatory' closed-loop response. A controller thus tuned should also be able to reject load disturbances quickly with only a few oscillations in the process variable.

Ziegler and Nichols also described a 'closed loop' tuning technique that is conducted with the controller in automatic mode (i.e., with feedback), but with the integral and derivative actions shut off. The controller gain is increased until any disturbance causes a sustained oscillation in the process variable. The smallest controller gain that can cause such an oscillation is called the ultimate gain P u . The period of those oscillations is called the ultimate period T u . The appropriate tuning parameters can be computed from these two values according to these rules:

A reprint of Ziegler and Nichols' 1942 paper can be found in 'Reference Guide to PID Tuning' (Control Engineering, 1991). Note, however that the tuning rules given in that paper differ from those shown here because Ziegler and Nichols were working with a slightly different form of the PID algorithm. Different PID controllers use different algorithms, and each must be tuned according to the appropriate set of rules. The Rules also change when the derivative or the integral action is disabled.

To view the original 'Reference Guide to PID Tuning' Click here .

Vance J.VanDoren, Consulting Editor, PhD.,P.E., is president of VanDoren Industries, West Lafayette, Ind.

The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Additive manufacturing benefits; HMI and sensor tips; System integrator advice; Innovations from the industry
Robotic safety, collaboration, standards; DCS migration tips; IT/OT convergence; 2017 Control Engineering Salary and Career Survey
Integrated mobility; Artificial intelligence; Predictive motion control; Sensors and control system inputs; Asset Management; Cybersecurity
Featured articles highlight technologies that enable the Industrial Internet of Things, IIoT-related products and strategies to get data more easily to the user.
This article collection contains several articles on how automation and controls are helping human-machine interface (HMI) hardware and software advance.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.