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.

03/13/2013


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:

 (1)

where

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 >>

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 Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
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.
Learn how to create value with re-use; gain productivity with lean automation and connectivity, and optimize panel design and construction.
Go deep: Automation tackles offshore oil challenges; Ethernet advice; Wireless robotics; Product exclusives; Digital edition exclusives
Lost in the gray scale? How to get effective HMIs; Best practices: Integrate old and new wireless systems; Smart software, networks; Service provider certifications
Fixing PID: Part 2: Tweaking controller strategy; Machine safety networks; Salary survey and career advice; Smart I/O architecture; Product exclusives
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Look at the basics of industrial wireless technologies, wireless concepts, wireless standards, and wireless best practices with Daniel E. Capano of Diversified Technical Services Inc.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.