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 Make Reset Time and Feedforward Action Smarter

 

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 #92, and was written by Greg.

 

The reset time can be approximated as a factor of the deadtime, but this dimensionless factor can range from 0.5 to 40 depending upon the type of process. The control literature has focused on self-regulating processes with process time constants in the same range as the deadtime and with little treatment of deadtime dominant processes, almost no consideration of batch processes and other integrating processes (the exception is Lambda tuning), and essentially no analysis of runaway processes. This deficiency could merit a book in itself, but the point here is that engineers and operators have confusion and uncertainty with regard to reset time settings.

I found that for deadtime dominant processes (i.e., processes with a deadtime much larger than the open loop time constant) the approach back to setpoint would be slow for load changes and would falter (i.e., flatten or hesitate) for setpoint changes. The solution was to reduce the reset time to a low limit of 0.5 times the deadtime for essentially pure deadtime processes.

 

For integrating processes, I realized that the reset time factor depended upon the controller gain setting. If you use the controller gain for maximum load rejection, the reset time is four times the deadtime. However, if you decrease the controller gain, you must proportionally increase the reset time, a non-intuitive effect since we are taught that decreasing controller gain always helps to reduce oscillations.

Reactors in highly exothermic processes (e.g., polymerization reactors) can exhibit a runaway temperature response. The use of too much integral action can be dangerous. In some cases, a proportional-derivative mode is used. I found I had to increase the reset time to be 40 times the deadtime to prevent excessive overshoot in simulation tests.

Feedforward needs to be made smarter as well. Terry Tolliver, the world’s best distillation control expert in my estimation, found that for column temperature control, flow feedforward could make the effect of a disturbance worse. A feed change could provide a temperature change in the direction to compensate for a concentration change or some other unknown disturbance that was eliminated by flow feedforward. I found in simulation tests that, in general, for temperature and concentration control, an enhanced PID could correct the flow feedforward signal to reduce the feedback correction.

Concept: A smarter reset time can be computed online, based on a future PV value and ramp rate, to provide a balance between integral and proportional/derivative mode action to suppress overshoot and reduce faltering. The ramp rate can be used to compute a rise time to get the output to come off of an output limit at the right time to prevent overshoot. A future PV value and ramp rate can be used to prevent feedforward from doing more harm than good from unknowns. An enhanced PID can be set up to correct for significant errors in the feedforward signal to reduce the feedback correction.

Details: If the future PV value and ramp rate show that overshoot will occur, increase the reset time. If the future PV value and ramp rate show a lingering offset, faltering, or slowness in the approach to setpoint, decrease the reset time. Suspend the adjustment of reset time when the future PV is either too far away or within the allowable control error around setpoint. Continue the adjustment of reset time for each significant load and setpoint change. Set upper and lower reset time limits to prevent problems. Start out with tight limits until you gain confidence in the procedure. For processes where the analyzer cycle time is much larger than the process time constant, use an enhanced PID so the reset time does not depend upon analyzer cycle time. For large setpoint changes, abnormal operation, batch operations, start-ups, and surge control, compute the rise time from the ramp rate and the resulting reset time to get the PID output off an output limit so the PV ends up within an allowable error around setpoint.

If the future PV value and ramp rate based on both the actual response and the feedforward response are moving in the same direction, suspend feedforward action. Make a bumpless transition back to feedforward action when the future PV value shows a return to setpoint, indicating that the unknown disturbance has been accounted for by feedback action. Use an enhanced PID to improve the feedforward signal. This adaptive controller’s PV is current feedback correction, setpoint is zero feedback correction, and output is a flow feedforward signal bias or gain. Determine from an analysis of manipulated flow versus feedforward flow for various conditions whether the feedforward signal has an offset or slope that needs to be corrected. Set a threshold sensitivity limit to ignore insignificant corrections. Set directional setpoint rate limits in the analog output (AO) block used to adjust the bias or gain so that correction can be made slow enough not to upset the process controller. Set low and conservative high AO setpoint rate limits. Make sure the adaptive controller has external-reset feedback set up with the AO block so that the adaptive controller output does not change faster than the rate limited AO block response. The feedforward correction may need to be faster in one direction.

 

Watch-outs: Lambda tuning for self-regulating processes shows the reset time as a factor of the open time constant. However, if you use the Lambda tuning settings for integrating processes and near-integrating processes, the reset time is three times the deadtime giving better recovery from disturbances. Improper controller gains can cause excessive oscillations or too slow of a response that cannot be corrected by a smart reset or smart feedforward. The controller gain for best practical load rejection can be universally approximated as an 0.5 factor multiplied by the inverse of the product of the integrating process gain and deadtime. For self-regulating processes, the second equation in Tip #89 can be used to convert to the more familiar expression of controller gain in terms of a steady-state open loop gain and open loop time constant.

Exceptions: The future PV value calculation will not work for deadtime dominant processes, noisy processes, and valves with excessive deadband and stick-slip. For processes with the loop deadtime approaching the execution time of the PID, the calculations are too late to make any correction.

Insight: Smart reset can reduce overshoot and faltering, and smart feedforward can provide a more complete and accurate feedforward action.

Rule of Thumb: Use future PV value and ramp rate and an enhanced PID to make the reset time and feedforward action smarter.

 

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