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

How to Achieve Best Disturbance Rejection and Setpoint in Industrial Processes

 

The following tip is from the ISA book by Greg McMillan and Hunter Vegas titled 101 Tips for a Successful Automation Career, inspired by the ISA Mentor Program. This is Tip #71, and was written by Greg.

 

If you don’t want to get into the technical jibber-jabber, just skip to the Insight and the Rule of Thumb. Be content without the content. If you don’t want to be distracted by reality, get your kicks in the math. Design new feedback control algorithms, despite the fact that PID has been proven to be time-optimal for unmeasured disturbances since 1976, as detailed in the paper by Alan Bohl and Tomas McAvoy “Linear Feedback vs. Time Optimal Control. II - The Regulator Problems”.

Focus on setpoint response and don’t be distracted by the reality that loops on continuous processes rarely have setpoint changes, special logic can be developed because a setpoint change is a quantitatively known event, and batch loops have to correct for disturbances and changes in demand. If you have an upset, put it on the process output instead of the process input so it bypasses the process and is like measurement noise. On the other hand, if you have control loops in your plant that affect product quality, onstream time, or process efficiency, please read this tip.

While working on difficult loops such as incinerator and phosphorus furnace pressure control and compressor surge, where disturbances could cause a trip within a second, and in pH control where disturbances could drive the pH to the limits of the scale and the operators’ patience, I was focused on how the controller could react to minimize peak error. In the literature there is little written on peak error, but in a gem of a book by Peter Harriott, Process Control, I found a simple equation for the peak error.

 

I moved on to figuring out how to minimize energy use and the amount of off-spec material. Here, I recognized that the integrated error was important, where plus and minus areas of the error on a trend chart cancel out like the errors do in large equipment. I found a simple equation in Greg Shinskey’s books listed in Appendix B that showed that the integrated error (IE) was proportional to the reset time and inversely proportional to the controller gain. However, the control literature was totally focused on integrated absolute error (IAE). I resolved the discrepancy by realizing that if the controller was tuned for a non-oscillatory response, the IE and IAE were identical.

I next sought to minimize the time to reach setpoint in automated start-ups and in batch operations. For bioreactors, I found that pH and temperature overshoot were critical and time was not. Furthermore, the disturbances from changes in cell metabolism were so slow that disturbance rejection was unimportant.

Concept: Loop performance objectives should fundamentally address the need to minimize the process variable (PV) response to disturbances and to maximize the PV response to new setpoints (SP). Disturbance objectives are minimization of peak error and integrated absolute error (IAE). Setpoint objectives are minimization of overshoot, settling time, and rise time (time to reach setpoint). The speed of PID tuning sets the practical limit on loop performance for these objectives. Fast (aggressive) tuning reduces peak error, IAE, and rise time. A PID can be tuned faster if the deadtime and the PV ramp rate for a given change in PID output are decreased. Minimization of overshoot, traditionally achieved by slow PID tuning, can now be achieved by using key PID features without sacrificing other loop performance objectives.

Details: All processes have unmeasured disturbances. Minimize peak error to prevent undesirable reactions, safety instrumented system (SIS) or relief activation, and exceeding environmental limits. Minimize the IAE to reduce the quantity of off-spec produced and the quantity of utilities and raw material used. Minimize both peak error and IAE by maximizing gain and minimizing reset time. Maximizing gain is more important for peak error. Overshoot can cause many of the same problems as peak error. Rise time is important for minimizing cycle time in batch processes and minimizing start-up and grade transition time in continuous processes. Minimize overshoot and rise time by increasing reset time and gain, respectively. Add a setpoint filter time equal to reset time to prevent overshoot in a PID with fast tuning. Minimize settling time by minimizing overshoot and rise time. Add logic for smart sequenced positioning of final control elements and setpoint feedforward to further enhance the setpoint response. In the sequencing of controller outputs, position and hold the output at the appropriate output limit until the rate of change of the PV multiplied by the deadtime is near the setpoint. At this point, position and hold the output at a final resting value for one loop deadtime (see Tip #91 for more details).

 

Watch-outs: Fast (aggressive) tuning decreases the robustness of the controller (its ability to retain a smooth response for increases in deadtime and PV ramp rate for a given output change). External-reset feedback (dynamic reset limit), described in Appendix E, must be used to prevent a burst of oscillations from fast tuning (high controller gain and/or low reset time), causing the PID output to change faster than a final control element or secondary loop can respond for large disturbances or setpoint changes. The use of a setpoint filter in a secondary loop may degrade the ability of the primary loop to reject disturbances.

Exceptions: For processes with exceptionally slow disturbances (e.g., cell culture changes in bioreactors), the peak error and integrated error are inconsequential, even for slow tuning. For batch operations with long cycle times or continuous processes with long start up times that are sensitive to operating point, minimizing overshoot is more important than minimizing rise time (e.g., bioreactor temperature and pH).

Insight: Loop performance objectives can be achieved by maximizing controller gain and minimizing deadtime, reset time, and ramp rate.

Rule of Thumb: Use disturbance rejection tuning, external-reset feedback, and a setpoint filter in your PID controller to achieve loop performance objectives.

 

 

About the Author

Hunter Vegas, P.E., holds a B.S.E.E. degree from Tulane University and an M.B.A. from Wake Forest University. His job titles have included instrument engineer, production engineer, instrumentation group leader, principal automation engineer, and unit production manager. In 2001, he joined Avid Solutions, Inc., as an engineering manager and lead project engineer, where he works today. Hunter has executed nearly 2,000 instrumentation and control projects over his career, with budgets ranging from a few thousand to millions of dollars. He is proficient in field instrumentation sizing and selection, safety interlock design, electrical design, advanced control strategy, and numerous control system hardware and software platforms.

 

 

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