ISA Interchange

Welcome to the official blog of the International Society of Automation (ISA).

This blog covers numerous topics on industrial automation such as operations & management, continuous & batch processing, connectivity, manufacturing & machine control, and Industry 4.0.

The material and information contained on this website is for general information purposes only. ISA blog posts may be authored by ISA staff and guest authors from the automation community. Views and opinions expressed by a guest author are solely their own, and do not necessarily represent those of ISA. Posts made by guest authors have been subject to peer review.

All Posts

Better Process Control by Understanding Self-Regulating Process Dynamics

This guest post was written by Greg McMillan, industry consultant, author of numerous process control books, 2010 ISA Life Achievement Award recipient and retired Senior Fellow from Solutia Inc. (now Eastman Chemical). 

 

The three types of process responses encountered in industry are defined based on an open loop test where the PID is in manual or remote output so there is no response of the PID to the process (no closed loop response). A step change is made in the controller output. The process response is observed until the process can be identified. During the test, there should be no disturbances so that the process response seen is entirely the result of the step change in PID output.

The three types of processes are self-regulating, integrating, and runaway. A self-regulating process will decelerate to a new steady state operating point (see the figure) due to negative feedback within the process. An integrating process will continually ramp from the lack of feedback within the process. A runaway process will accelerate until hitting a relief or interlock setting due to positive feedback within the process. As the degree of negative feedback within the process (degree of self-regulation) decreases, more negative feedback action is needed from the PID controller (more proportional action by a higher gain setting). For estimating loop performance and tuning settings the parameters used to identify each type of response are gain, time constant and dead time. The definition of the parameters depends upon the type of response. The terms have alternate names in industry. For example, “lag” is used for time constant, “delay” is used for dead time, and “sensitivity” is used for gain.

 

Dollarphotoclub_67969373-glow-wndrlnd

 

Observed response

The response observed in these tests includes the response of the analog output, final control element (e.g., control valve or variable frequency drive), process, sensor, transmitter, analog input, and the process variable (PV) input to the PID. The observed response includes the effect of velocity limits, dead times, time constants, and gains in the automation system. Better terminology would be “open loop response” than “process response” because the observed response includes almost everything in the loop response. Also, the source of the individual parameters that create the particular dynamic in the response should precede the term (e.g., valve dead time and measurement dead time).

 

The best controller tuning settings can be determined by identifying key dynamic variables that characterize the process response. See the extensively updated Good Tuning: A Pocket Guide 4th Edition for concise guidance on this topic and everything else you need to know to get the most out of your PID controller.

 

All processes have a dead time that is the time interval between the step change in output and the first recognizable change in process. Noise can delay the recognition until the excursion is beyond the noise band creating a longer dead time. The observed dead time is frequently called the process dead time. The observed dead time is really a total loop dead time (θo) that is the sum of all the pure dead times and the equivalent dead times from all time constants smaller than the largest time constant in the loop for a first order (one time constant) plus dead time approximation. For a second order plus dead time approximation that includes a secondary time constant, all time constants smaller the largest time constants create an equivalent dead time. The secondary time constant creates the bend in the initial response right after the dead time. The equivalent dead time increases from 30% to 99% of the time constant as the ratio of the time constant to the largest time constant gets smaller. Time constants small compared to the largest time constants are summed as being essentially 100% dead time.

We will see in a future post on loop performance that ultimate limit to the peak and integrated errors are proportional to the dead time and dead time square, respectively. If there was no dead time and no noise, perfect control would be possible.

Additional delay

Not seen in these open loop responses is the additional delay experienced in closed loop operation from the time it takes for the output signal to pass through dead band (backlash), threshold sensitivity (stiction), and resolution limits of the final control element (e.g., control valve). The test uses a step change larger than these limits. In closed loop operation, a step change in output can occur for a step change in set point but subsequent closed loop action to recover from overshoot or disturbances involves gradual changes in the output. The additional dead time from these limits can be approximated as the limit divided by the rate of change of the signal (e.g., valve dead band divided by the rate of change of the PID output).

 

 

Self-Regulating Process Response Self-Regulating Process Response

 

 

The open loop time constant (τo) is the largest time constant (i.e., primary time constant) plus any the portion of smaller time constants not taken as a secondary time constant or as effective dead time. While often called the process time constant, the largest time constant can occur anywhere in the loop. For liquid pressure and flow loops, the largest time constant is usually somewhere in the automation system (e.g., valve, sensor, transmitter, or DCS). Ideally, the largest time constant is the primary time constant of the process downstream of where the disturbances and manipulated flow enter the process. We will see in the section on loop performance, the effect of such a primary time constant is beneficial. The ultimate limit of the peak and integrated error is inversely proportional to this primary time constant. The primary process time constant slows down an excursion from a disturbance giving time for the PID to catch up with it. If the largest time constant is in the measurement, the trend chart oscillation may look better because the amplitude is attenuated by the filtering effect of the measurement time constant. In an open loop test, you cannot discern the location of the largest time constant.

The second largest time constant is called a secondary time constant (τs). The secondary time constant can be quite large due to heat transfer surface and thermowell lags in temperature processes and mixing or electrode lags in concentration or pH processes.

Control element, process and measurement gain

The open loop gain (Ko) is the product of the final control element, process, and measurement gain. Consider a loop with a control valve. The final control element gain (change in flow divided by the change in % PID output) is the slope of the valve’s installed characteristic curve. The process gain (change in process variable divided by the change in valve flow) is the slope of a plot of the process variable versus valve flow. The measurement gain (change in % PID input divided by the change in process variable) is the 100% divided by the measurement span.

Since the PID algorithm uses % signals, calculations of the open loop gain must involve % signals despite the fact that the PID block and graphics show the PID process variable and in some DCS the PID output in engineering units. Self-regulating processes are defined by a total loop dead time, an open loop time constant, and an open loop gain called a steady state gain (see the figure). A secondary time constant may be used to describe the initial lag (bend) in the response. The open loop gain is a steady state gain that is the % change in PID input from its initial to its final value divided by the % change in PID output giving a dimensionless gain. Liquid pressure and flow loops have a self-regulating response. Continuous composition, pH, and temperature loops have a self-regulating process response but the process time constant for large well mixed vessels is so large that in the time frame of interest for the PID (4 dead times), the response resembles the ramp of an integrating process. For tuning and analysis it is useful to treat self-regulating processes with a time constant much larger than the total loop dead time as “near integrating.” The next post will detail the dynamic response of integrating processes and runaway processes.

Choosing tuning rules

Determine the type of process response and choose the tuning rules accordingly. Make step changes to the process to identify the total dead time, open loop gain, and secondary time constant. If the process decelerates within the time frame of the major part of the PID response (four dead times after start of response), the process can be classified as self-regulating. For this process response, a primary time constant needs to also be identified and self-regulating process tuning rules are used taking care to use PID structures and tuning to minimize large abrupt changes in the controller output. In these processes, there may be no need to overdrive the PID output past its final resting value.

 

 

About the Author
Gregory K. McMillan, CAP, is a retired Senior Fellow from Solutia/Monsanto where he worked in engineering technology on process control improvement. Greg was also an affiliate professor for Washington University in Saint Louis. Greg is an ISA Fellow and received the ISA Kermit Fischer Environmental Award for pH control in 1991, the Control magazine Engineer of the Year award for the process industry in 1994, was inducted into the Control magazine Process Automation Hall of Fame in 2001, was honored by InTech magazine in 2003 as one of the most influential innovators in automation, and received the ISA Life Achievement Award in 2010. Greg is the author of numerous books on process control, including Advances in Reactor Measurement and Control and Essentials of Modern Measurements and Final Elements in the Process Industry. Greg has been the monthly "Control Talk" columnist for Control magazine since 2002. Presently, Greg is a part time modeling and control consultant in Technology for Process Simulation for Emerson Automation Solutions specializing in the use of the virtual plant for exploring new opportunities. He spends most of his time writing, teaching and leading the ISA Mentor Program he founded in 2011.

Connect with Greg:
LinkedIn

Greg McMillan
Greg McMillan
Greg McMillan has more than 50 years of experience in industrial process automation, with an emphasis on the synergy of dynamic modeling and process control. He retired as a Senior Fellow from Solutia and a senior principal software engineer from Emerson Process Systems and Solutions. He was also an adjunct professor in the Washington University Saint Louis Chemical Engineering department from 2001 to 2004. Greg is the author of numerous ISA books and columns on process control, and he has been the monthly Control Talk columnist for Control magazine since 2002. He is the leader of the monthly ISA “Ask the Automation Pros” Q&A posts that began as a series of Mentor Program Q&A posts in 2014. He started and guided the ISA Standards and Practices committee on ISA-TR5.9-2023, PID Algorithms and Performance Technical Report, and he wrote “Annex A - Valve Response and Control Loop Performance, Sources, Consequences, Fixes, and Specifications” in ISA-TR75.25.02-2000 (R2023), Control Valve Response Measurement from Step Inputs. Greg’s achievements include the ISA Kermit Fischer Environmental Award for pH control in 1991, appointment to ISA Fellow in 1991, the Control magazine Engineer of the Year Award for the Process Industry in 1994, induction into the Control magazine Process Automation Hall of Fame in 2001, selection as one of InTech magazine’s 50 Most Influential Innovators in 2003, several ISA Raymond D. Molloy awards for bestselling books of the year, the ISA Life Achievement Award in 2010, the ISA Mentoring Excellence award in 2020, and the ISA Standards Achievement Award in 2023. He has a BS in engineering physics from Kansas University and an MS in control theory from Missouri University of Science and Technology, both with emphasis on industrial processes.

Books:

Advances in Reactor Measurement and Control
Good Tuning: A Pocket Guide, Fourth Edition
New Directions in Bioprocess Modeling and Control: Maximizing Process Analytical Technology Benefits, Second Edition
Essentials of Modern Measurements and Final Elements in the Process Industry: A Guide to Design, Configuration, Installation, and Maintenance
101 Tips for a Successful Automation Career
Advanced pH Measurement and Control: Digital Twin Synergy and Advances in Technology, Fourth Edition
The Funnier Side of Retirement for Engineers and People of the Technical Persuasion
The Life and Times of an Automation Professional - An Illustrated Guide
Advanced Temperature Measurement and Control, Second Edition
Models Unleashed: Virtual Plant and Model Predictive Control Applications

Related Posts

Checking In With Mimo, ISA's Large Language Model Trained on ISA Content

Over the summer of 2024, the International Society of Automation (ISA) announced a large language model (...
Kara Phelps Nov 15, 2024 7:00:00 AM

Ask the Automation Pros: The Use of Artificial Intelligence in Process Control

The following discussion is part of an occasional series, "Ask the Automation Pros," authored by Greg McM...
Greg McMillan Nov 12, 2024 4:30:00 PM

Protecting Electrical Terminal Blocks From Tampering

Electrical terminal blocks are a common sight in the automation world. Usually mounted on DIN rail in ind...
Anna Goncharova Nov 8, 2024 10:30:00 AM