This question comes from Hector Torres of Mexico.
Hector Torres’ Question
MPC, Fuzzy, or PID? How do you pick the correct solution now that all are available at a lower cost? How do you prevent people from abandoning APC/MPC systems when the expert leaves?
Greg McMillan’s Answer
- If you want a comprehensive optimization of a continuous process the solution is model predictive controller (MPC). Linear programs (LP) and real-time optimization (RTO) need the prediction to violation of constraints inherent in MPC. If you are satisfied with a local piecemeal optimization of fed batch as well as continuous unit operations, PID valve position control is a quick solution. See my article Don’t Over Look PID in APC and my blog A Smorgasbord of Batch Cycle Time Minimization Opportunities – Part 1 . Your skill base will also sway the argument. When I did some pH control consulting at a refinery, the manager said they would startup on PID control but convert to MPC within two weeks because they don’t have any Shinskey types. In refineries and large mature continuous processes MPC is the norm. MPC was originally developed by Charlie Cutler at Shell.
- The PID with the deadtime compensation option has been proven by McAvoy and Shinskey to provide the best load rejection. There are many PID options under- utilized, such as dynamic reset limiting, setpoint velocity limiting, the enhanced PID for wireless (PIDPlus), adjustable alpha and beta factors, and deadtime compensation by the simple addition of a deadtime block. The combination of AO block velocity limits and dynamic reset limiting provides the move suppression found so useful in MPC for limiting the transfer of variability from the process variable to the controlled variable to reduce interaction. If decoupling is needed, a simple feedforward of one PID output to another PID output can help. Chapter 14 explores many PID opportunities in the book PID Control in the Third Millennium: Lessons Learned and New Approaches.
- A PID can be set to do better than a fuzzy logic controller via use of the extensive PID options and a Full Throttle Batch and Startup Response.
- Jim Cahill recorded 12 live demo-seminars called “deminars” showing the use of the website for PID control solutions. Click this link to download the seminar recordings and slide decks, as well as and read summaries.
- In my ISA pocket guide Models Unleashed, I compared the performance of the MPC and PID and found the MPC to be much more sensitive to changes in process dynamics. An overestimate of the loop deadtime makes an MPC unstable where it just makes the PID sluggish from slower tuning based on the larger deadtime. I also found that deadtime compensators were adversely affected by changes in dynamics similar to the MPC.
- Shinskey and I found that the improvement and robustness of deadtime compensation greater for a process dominated by a lag (t) rather than a deadtime (q) (deadtime compensation works best for t >> q), contrary to public opinion and what is often stated in the literature. Note that the term lag is commonly used for time constant.
- An APC solution using PID is much more likely to stay in-service once the expert leaves the building because the PID is familiar to the operator and configuration engineer-technician. In a plant with mostly PID, you need to have more training for an MPC.
ISA Mentor Program
The ISA Mentor Program enables young professionals to access the wisdom and expertise of seasoned ISA members, and offers veteran ISA professionals the chance to share their wisdom and make a difference in someone’s career. Click this link to learn more about the ISA Mentor Program.
- In general the most powerful way to keep a control solution in-service is to provide online process metrics showing the dollar benefits with a capture of “before” and “after” cases. Normally, the best way to show this is a cost per pound or kilogram of intermediates or product (e.g. raw material or energy dollar cost per pound). Get with a process engineer to develop the calculations. Production rate should also be computed to show benefits from capacity related benefits (e.g. dollar profit per pound product) and to monitor capacity effects on costs. Synchronize input flows (e.g. utilities and raw materials) to output flows (e.g. intermediates or products) by passing the input flows through a deadtime and filter block. Filter the final calculation to eliminate noise and inverse response. Modes and setpoints should be trended with metrics and suspend an update of metrics when the unit operation is shutdown. If you can’t get agreement on costs and prices, simply compute a ratio of a key output to an input. For more details, take a look at my post Top Ten Limitations – Value Analysis.
Additional Mentor Program Resources
See the ISA book 101 Tips for a Successful Automation Career that grew out of this Mentor Program to gain concise and practical advice. See the InTech magazine feature article Enabling new automation engineers for candid comments from some of the original program participants. See the Control Talk column How to effectively get engineering knowledge with the ISA Mentor Program protégée Keneisha Williams on the challenges faced by young engineers today, and the column How to succeed at career and project migration with protégé Bill Thomas on how to make the most out of yourself and your project. Providing discussion and answers besides Greg McMillan and co-founder of the program Hunter Vegas (project engineering manager at Wunderlich-Malec) are resources Mark Darby (principal consultant at CMiD Solutions), Brian Hrankowsky (consultant engineer at a major pharmaceutical company), Michel Ruel (executive director, engineering practice at BBA Inc.), Leah Ruder (director of global project engineering at the Midwest Engineering Center of Emerson Automation Solutions), Nick Sands (ISA Fellow and Manufacturing Technology Fellow at DuPont), Bart Propst (process control leader for the Ascend Performance Materials Chocolate Bayou plant), Angela Valdes (automation manager of the Toronto office for SNC-Lavalin), and Daniel Warren (senior instrumentation/electrical specialist at D.M.W. Instrumentation Consulting Services, Ltd.).