Evolving PID tuning rules

A brief history, starting with the earliest PID controllers to the most recent developments. There is more continuity than you might expect.


Looking into the distant past of automation history, one can see the underlying concept of a PID controller exhibited in a nineteenth-century steam engine governor design, with the first real PID-type controller developed by Elmer Sperry in 1911. The first theoretical analysis of a PID controller was published by Nicolas Minorsky in 1922. His observations grew out of efforts to design automatic steering systems for the U.S. Navy. He realized that a helmsman controlled the ship based not only on the current error, but also on past error and current rate of change. Proportional control could provide stability against small disturbances, but it was insufficient for dealing with a steady disturbance, which required adding the integral term. Adding the derivative term further improved control. Currently, the basic principle is applied in many variations, but for our discussion we assume commonly used basic standard ISA PID controller in discrete form:



OUT(k) – Controller output

Kp – Controller proportional gain

SP  - Controlled parameter setpoint

PV – Process value, controlled parameter measurement

e(k) – Control error, e(k)=SP-PV

Ti – Controller integral time (reset) in seconds

Td  – Controller derivative time (rate) in seconds

Tuning a control loop is the adjustment of its control parameters (proportional gain Kp, integral time/reset Ti, derivative time/rate Td) to the optimum values for the desired control response. Stability (bounded oscillation) is a basic requirement, but beyond that, different systems have different behavior, different applications have different requirements, and requirements may conflict with one another. In the following sections we briefly review the basic tuning techniques, focusing on objectives of the tuning and how they were achieved.

Model-free tuning

Model-free tuning techniques don’t use a process model for PID controller tuning in a direct way. They are based on the observation of a process which is under control, and became among the first initially applied for controller tuning. The most well-known techniques from this group are manual tuning and Ziegler Nichols tuning. In manual tuning the tuned loop remains in automatic mode. At first integral and derivative actions are removed by setting Ti to infinity (or very high) and Td to zero. Then, controller proportional gain Kp is increased until the loop oscillates with constant amplitude. After that, the proportional gain Kp should be set to approximately half of that value for a quarter amplitude decay type response. Ti is adjusted until any offset is corrected in sufficient time for the loop operation. It should be noted that too low a value for Ti may cause instability. Finally, Td is increased until the loop is acceptably quick to reach its reference after a load disturbance, without excessive overshoot.  

Ziegler Nichols tuning also requires setting proportional-only gain Kp high enough to achieve loop oscillations with constant amplitude, similar to the manual tuning method. The difference is that the period of the oscillation Tu should be measured. Controller gain at the test is named the ultimate gain, Ku. The controller parameters are defined then from the formulas with no need for further loop testing like in the manual tuning shown in Table 1. 

Table 1: Ziegler-Nichols calculations of P, PI, and PID controller parameters for a standard-form PID.

[Table 1: Ziegler-Nichols calculations of P, PI, and PID controller parameters for a standard-form PID.]

There were some obvious drawbacks to these techniques, at least initially. Getting the loop to cycle continuously was a time-consuming process, and there was a risk that the oscillations would grow beyond stability since there was no deterministic way to specify or limit the oscillation magnitude.

The approach became significantly more attractive after introducing relay-oscillation auto-tuning, as described in Figure 1. Relay-oscillation auto-tuning delivers loop oscillation with amplitude limited by the relay step size, shown in Figure 2.

Figure 1. Relay Oscillation Tuning Diagram

[Figure 1. Relay Oscillation Tuning Diagram] 

Figure 2. Trend plots of relay output and process output during active tuning

[Figure 2. Trend plots of relay output and process output during active tuning]

The Ziegler Nichols method identifies the ultimate gain and ultimate period, so controller settings may be determined. The original Ziegler-Nichols tuning rules were designed to provide a quarter amplitude damped response to a load disturbance. Once considered ideal, the underdamped and oscillatory nature of Ziegler-Nichols tuning has been criticized for destabilizing control loops, actually increasing variability instead of reducing it.

There were several options for modifying original Ziegler-Nichols tuning. One way was to calculate a complete first order plus dead time model from the oscillation test and use model based tuning rules. Another method was to reduce the aggressiveness of the original Ziegler-Nichols tuning rules, which tend to provide the most oscillatory response when dead time is small. Therefore, an improvement can be achieved by making controller gain smaller and integral time larger (i.e., integral gain smaller) for smaller dead times. Dead time, in addition to the ultimate gain and ultimate period, can be easily defined during relay oscillation test shown in Figure 2. An example of such nonlinear adjustment of tuning parameters is given in Advanced Control Foundation (see additional reading list).

<< First < Previous 1 2 Next > Last >>

Anonymous , 04/04/13 12:14 AM:

Good it helps many new users in industry
LESZEK , MN, Poland, 04/04/13 05:56 AM:

wery god for start andestending
Amtonio , Non-US/Not Applicable, Mexico, 05/14/13 10:12 PM:

What's up whit a hi derivative gain in a controller PID?
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Safer human-robot collaboration; 2017 Maintenance Survey; Digital Training; Converting your lighting system
IIoT grows up; Six ways to lower IIoT costs; Six mobile safety strategies; 2017 Salary Survey
2016 Top Plant; 2016 Best Practices on manufacturing progress, efficiency, safety
Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
What controller fits your application; Permanent magnet motors; Chemical manufacturer tames alarm management; Taking steps in a new direction
Commissioning electrical systems; Designing emergency and standby generator systems; Paralleling switchgear generator systems
Package boilers; Natural gas infrared heating; Thermal treasure; Standby generation; Natural gas supports green efforts

Annual Salary Survey

Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.

There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.

But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.

Read more: 2015 Salary Survey

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
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 creating and enhancing a safe workplace in manufacturing.
Maintenance Manager; California Oils Corp.
Associate, Electrical Engineering; Wood Harbinger
Control Systems Engineer; Robert Bosch Corp.
click me