# 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 Control Engineering subscribers. Vote now (if qualified)!
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.
HMI effectiveness; Distributed I/O; Engineers' Choice Award finalists; System Integrator advice; Inside Machines
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Robotic integration and cloud connections; SCADA and cybersecurity; Motor efficiency standards; Open- and closed-loop control; Augmented reality
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. As we know, PLCs aren’t the only option for making decisions in a control loop, but they are likely why you’re here.
This digital report explains how motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.
Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
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.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
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.
HMI effectiveness; Distributed I/O; Engineers' Choice Award finalists; System Integrator advice; Inside Machines
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Robotic integration and cloud connections; SCADA and cybersecurity; Motor efficiency standards; Open- and closed-loop control; Augmented reality
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. As we know, PLCs aren’t the only option for making decisions in a control loop, but they are likely why you’re here.
This digital report explains how motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.
Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
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.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
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.
HMI effectiveness; Distributed I/O; Engineers' Choice Award finalists; System Integrator advice; Inside Machines
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Robotic integration and cloud connections; SCADA and cybersecurity; Motor efficiency standards; Open- and closed-loop control; Augmented reality
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. As we know, PLCs aren’t the only option for making decisions in a control loop, but they are likely why you’re here.
This digital report explains how motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.
Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
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.