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

Use Middle Signal Selection to Improve pH Measurement Reliability

 

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

 

Biopharmaceutical batches are often worth more than a million dollars. The product quality of these batches is sensitive to changes of 0.1 pH and the steam sterilization of electrodes reduces the life and accuracy of a sensor that under the best of conditions is the weakest link in a control system. Yet people looking at project costs will balk at using three electrodes because of hardware and installation costs, despite the fact that middle selection inherently protects against a single electrode failure of any type and reduces unnecessary maintenance. A million-dollar batch is put at risk by trying to save a few thousand dollars. Large continuous plants may have production streams worth several hundred thousand dollars per hour, with product quality dependent upon pH. Millions of dollars of production are routinely put at risk by the use of single electrodes for pH measurement.

The only way I can explain this is a focus on up-front costs, a lack of understanding of Tip #55, and instrumentation limitations. People may think pH electrodes are as accurate, stable, and reliable as a transmitter, when in reality electrode life can vary from hours to months, and drift can vary from 0.1 pH per month to 0.1 pH per hour.

 

Human nature often wants to believe the best. We see the best-case scenario (e.g., lab conditions) from advertisements and sales presentations. With just one electrode, we want to believe the reading is correct. With two electrodes, we pick a favorite and discount the other. With three, it is possible to develop realistic understanding of measurement capabilities. At Monsanto and Solutia, pH control loops had three electrodes and middle signal selection.

Middle value selection also inherently protects against the effects of a single electrode failure of any type. If an electrode goes high or low due to a reference electrode offset, one of the other two electrodes will be selected. If a glass electrode becomes sluggish, one of the other two electrodes will be selected for a pH excursion. If a glass electrode, wire, or termination is broken, one of the other two electrodes will be selected even if the broken electrode causes a pH reading that is at the setpoint (e.g., 7 pH) because when the process does change, one of the other two electrodes will be chosen.

Middle value selection will also reduce noise and spikes in the pH measurement. Unless the noise and spikes are exactly the same in two or more electrodes, the largest excursion will be ignored by selection of one of the other two electrodes. No lag is introduced into the measurement response as it is when a signal filter is added to attenuate noise.

Concept: The use of three measurements with middle signal selection will inherently ignore a single measurement failure of any type and spikes and errors in a single measurement. The middle value is the referee to detect and quantify problems such as offset and drift in the reference electrode and a loss of span or speed of the glass electrode. The knowledge gained can reduce maintenance costs. The benefit is considerable for pH measurements because the electrodes are vulnerable to offsets, coatings, failures, spikes, and noise and because batches or product streams can be worth a lot of money. The concept can be extended to any measurement where the benefits obtained provide an acceptable return on investment.

Details: Use three measurements and middle signal selection to be able to ignore problems with a single measurement. If pH is important enough to control, use middle signal selection to improve reliability, accuracy, and troubleshooting. A time delta that is fixed or is increasing between the response of an electrode and the middle value for a disturbance or setpoint change is indicative of a slow and low efficiency glass electrode, respectively. For a slow electrode, the fixed time delta is the time constant. A slow glass electrode can be caused by coating and/or aging of the glass (Tip #86). Offset and drift in the reference electrode can be caused by junction equilibration, coating, or plugging or by internal electrolyte poisoning (Tip #87).

Use the understanding gained to reduce unnecessary calibration adjustments and provide predictive rather than reactive maintenance based on trends in sensor offset, efficiency, and lag time. The reduction in life cycle costs for more efficient maintenance often provides a sufficient return on investment without even getting into process benefits. Use three measurements, and use middle signal selection for any measurement that can be the probable cause of a bad batch, poor product quality, environmental violations, or a plant shutdown. The process benefits can more than pay for the additional instrumentation. Use three measurements and use middle signal selection to prevent false trips in Safety Instrumented Systems (SIS) and in critical loops that are responsible for preventing abnormal conditions getting to the point where a trip by the SIS is required.

 

Watch-outs: Experienced configuration and process control engineers may try to do something better than simple middle value selection. To protect against a second or third failure, take advantage of this expertise but make sure the customized technique does not interfere with middle signal selection to protect against the first failure. When a measurement failure is detected, the measurement sensor should be replaced immediately to restore the inherent protection offered by middle signal selection.

Exceptions: If process conditions are so harsh that the life expectancy of the best pH electrode is only a few days, try to find a different measurement such as conductivity or density. If an alternate means of measurement does not exist, consider using an automated retractable sensor assembly to periodically insert a single pH electrode just long enough to get a measurement. Upon insertion, wait for the electrode to stabilize before updating the pH for control. When the electrode is automatically withdrawn, the electrode should be automatically flushed and buffer calibrated. The offset and response time from the buffer calibration should be historized and analyzed to determine the health of the electrode. An enhanced PID developed for wireless (Tip #100) can be used to deal with the large time intervals between periodic insertions and subsequent updates of pH.

Insight: The use of three measurements and middle signal selection can inherently protect against any type of sensor failure and ignore noise and errors in one measurement.

Rule of Thumb: Take three measurements and use middle signal selection for pH and for any other measurement that can be a probable cause of a significant loss in process efficiency or capacity.

 

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

 

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.

 

Connect with Hunter
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