1. 1 pH Control Solutions Ascend Chocolate Bayou Plant Seminar March 10, 2011
2. 2 Introduction of Presenter ISA Presenter Gregory K. McMillan ( E-mail:Greg.McMillan@Emerson.com ) Greg is a retired Senior Fellow from Solutia/Monsanto and an ISA Fellow. Presently, Greg contracts as a consultant in DeltaV R&D via CDI Process & Industrial. Greg 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 “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, his most recent being Essentials of Modern Measurements and Final Elements for the Process Industry and Advanced Temperature Measurement and Control - 2nd Edition. Greg has been the monthly “Control Talk” columnist for Control magazine since 2002. Greg’s expertise is available on the web site: http://www.modelingandcontrol.com/
6. 6 Key Benefits of Seminar Recognition of the opportunity and challenges of pH control Alerts to important implementation considerations Awareness of modeling and control options Understanding the root causes of poor performance Prioritization of improvements based on cost, time, and goal Insights for applications and solutions
7. 7 Section 1: pH Opportunity and Challenge Extraordinary Sensitivity and Rangeability Deceptive and Severe Nonlinearity Extraneous Effects on Measurement Difficult Control Valve Requirements
18. 10 Effect of Water Dissociation (pKw) on Solution pH Measured pH pH 10 pH 9 pH 7.5 REAL pH 8 pH 7 pH 6.5 pH 6 pH 5
19. 11 AMS pH Range and Compensation Configuration pH / ORP Selection Preamplifier Location Type of Reference Used Ranging Temperature Comp Parameters Solution pH Temperature Correction Isopotential Point Changeable for Special pH Electrodes
20. 12 14 12 10 8 pH 6 4 2 0 11 10 9 8 pH 7 6 5 4 3 Nonlinearity - Graphical Deception For a strong acid and base the pKa are off-scale and the slope continually changes by a factor of ten for each pH unit deviation from neutrality (7 pH at 25 oC) As the pH approaches the neutral point the response accelerates (looks like a runaway). Operators often ask what can be done to slow down the pH response around 7 pH. Reagent / Influent Ratio Despite appearances there are no straight lines in a titration curve (zoom in reveals another curve if there are enough data points - a big “IF” in neutral region) Yet titration curves are essential for every aspect of pH system design but you must get numerical values and avoid mistakes such as insufficient data points in the area around the set point Reagent / Influent Ratio
21. 13 Weak Acid and Strong Base pka = 4 Multiple Weak Acids and Weak Bases Weak Acid and Weak Base pka = 9 pka = 10 pka = 5 pka = 3 pka = 4 Nonlinearity - Graphical Deception Strong Acid and Weak Base pka = 10 Slope moderated near each pKa pKa and curve changes with temperature!
22. 14 Reagent Savings is Huge for Flat Part of Curve 10 pH 4 Reagent to Feed Flow Ratio Reagent Savings Optimum set point Original set point Oscillations could be due to non-ideal mixing, control valve stick-slip. or pressure fluctuations
23. 15 Effect of Sensor Drift on Reagent Calculations 10 pH Feedforward pH Error 8 pH Set Point 6 Influent pH 4 Sensor Drift Reagent to Feed Flow Ratio The error in a pH feedforward calculation increases for a given sensor error as the slope of the curve decreases. This result Combined with an increased likelihood of Errors at low and high pH means feedforward Could do more harm than good when going from the curve’s extremes to the neutral region. Flow feedforward (ratio control of reagent to influent flow) works well for vessel pH control if there are reliable flow measurements with sufficient rangeability Feedforward Reagent Error Feedforward control always requires pH feedback correction unless the set point is on the flat part of the curve, use Coriolis mass flow meters and have constant influent and reagent concentrations
24. 16 W W W W W W W W Double Junction Combination pH Electrode Em R3 Er R4 solution ground silver-silver chloride internal electrode Measurement becomes slow from a loss of active sites or a thin coating of outer gel E4 second junction R5 potassium chloride (KCl) electrolyte in salt bridge between junctions primary junction R6 E5 inner gel layer silver-silver chloride internal electrode Nernst Equation assumes inside and outside gel layers identical E3 W outer gel layer R2 7 pH buffer E2 Process ions try to migrate into porous reference junction while electrolyte ions try to migrate out R1 W Ii E1 Process Fluid R10 R9 R7 R8 High acid or base concentrations can affect glass gel layer and reference junction potential Increase in noise or decrease in span or efficiency is indicative of glass electrode problem Shift or drift in pH measurement is normally associated with reference electrode problem
25. 17 Life Depends Upon Process Conditions Months >100% increase in life from new glass designs for high temperatures 25 C 50 C 75 C 100 C Process Temperature High acid or base concentrations (operation at the extremes of the titration curve) decrease life for a given temperature. A deterioration in measurement accuracy and response time often accompanies a reduction in life. Consequently pH feedforward control is unreliable and the feedforward effect and timing is way off for such cases.
26. 18 New High Temperature Glass Stays Fast Glass electrodes get slow as they age. High temperatures cause premature aging
27. 19 What is High Today may be Low Tomorrow Most calibration adjustments chase the short term errors shown below that arise from concentration gradients from imperfect mixing, ion migration into reference junction, temperature shifts, different glass surface conditions, and fluid streaming potentials. With just two electrodes, there are more questions than answers. B A A B A B pH time
28. 20 Control Valve Rangeability and Resolution pH 8 Set point Control Band 6 B Er = 100% * Fimax*---- Frmax Frmax = A * Fimax B Er = ---- A Ss = 0.5 * Er Where: A = distance to center of reagent error band on abscissa from influent pH B = width of allowable reagent error band on abscissa for control band Er = allowable reagent error (%) Frmax = maximum reagent valve capacity (kg per minute) Fimax = maximum influent flow (kg per minute) Ss = allowable stick-slip (resolution limit) (%) Influent pH B Reagent Flow Influent Flow A
29. 21 pH 12 pH3 10 Slow 8 Fastest process response seen by Loop at inflection point (e.g. 7 pH) pH2 6 pH1 4 2 Reagent Flow Influent Flow Slow Speed of Response Seen by pH Loop Excursion from pH1 to pH2 acceleration makes response look like a runaway to loop Excursion from pH2 to pH3 deceleration is not enough to show true process time constant Batch neutralizers without reagents consumed by reactions lack process self-regulation that causes an integrating response aggravating overshoot from acceleration. Apparent loss of investment in large well mixed volume can be restored by signal characterization of pH to give abscissa as controlled variable!
30. 22 Key Points pH electrodes offer by far the greatest sensitivity and rangeability of any measurement. To make the most of this capability requires an incredible precision of mixing, reagent manipulation, and nonlinear control. pH measurement and control can be an extreme sport Solution pH changes despite a constant hydrogen ion concentration because of changes in water dissociation constant (pKw) with temperature, and activity coefficients with ionic strength and water content Solution pH changes despite a constant acid or base concentration because of changes in the acid or base dissociation constants (pKa) with temperature Titration curves have no straight lines A zoom in on any supposed line should reveal another curve if there are sufficient data points Slope of titration curve at the set point has the greatest effect on the tightness of pH control as seen in control valve resolution requirement. The next most important effect is the distance between the influent pH and the set point that determines the control valve rangeability requirement Titration curves are essential for every aspect of pH system design and analysis First step in the design of a pH system is to generate a titration curve at the process temperature with enough data points to cover the range of operation and show the curvature within the control band (absolute magnitude of the difference between the maximum and minimum allowable pH)
31. 23 Key Points Accuracy and speed of response of pH measurements stated in the literature assume the thin fragile gel layer of a glass electrode and the porous process junction of the reference electrode have had no penetration or adhesion of the process and are in perfect condition at laboratory conditions Time that glass electrodes are left dry or exposed to high and low pH solutions must be minimized to maximize the life of the hydrated gel layer Most accuracy statements and tests are for short term exposure Long term error of pH measurements installed in the process is an order of magnitude greater than the error normally stated in the literature pH measurement error may look smaller on the flatter portion of a titration curve but the associated reagent delivery error is larger Cost of pH measurement maintenance can be reduced by a factor of ten by more realistic expectations and calibration policies Set points on the steep portion of a titration curve necessitate a reagent control valve precision that goes well beyond the norm and offers the best test to determine a valve’s actual stick-slip in installed conditions Reagent valve resolution (stick-slip) may determine the number of stages of neutralization required, which has a huge impact on a project’s capital cost Approach to the neutral point looks like a runaway due to acceleration Batch processes have less self-regulation and tend to ramp Batch processes can have a one direction response for a given reagent
32. 24 Section 2: Modeling and Control Options Virtual plant and imbedded process models Minimization of capital investment Cascade pH control Online identification of titration curve Batch pH control Linear reagent demand control Adapted reagent demand control Smart split range point Elimination of split range control Model predictive control
33. 25 Virtual Plant Setup Configuration and Graphics Virtual Plant Laptop or Desktop or Control System Station Advanced Control Modules Process Module for Bioreactor or Neutralizer
49. Sample Lessons (Recorded Deminars)Virtual Plant: http://www.processcontrollab.com/ Recorded Deminars: http://www.modelingandcontrol.com/deminar_series.html A new easy fast free method of access is now available that eliminates IT security issues and remote access response delays
50. 27 Fuzzy Logic Waste RCAS RCAS middle selector ROUT kicker AY AY AC AC splitter splitter AT AT AT AY AY Attenuation Tank AY middle selector middle selector filter FT FT AY AY Stage 2 Stage 1 AT AT AT AT AT AT Waste Mixer Mixer FT Case History 1- Existing Control System
51. 28 MPC-1 MPC-2 Waste RCAS RCAS middle selector ROUT AC-1 AC-2 kicker AY AY splitter splitter AT AT AT AY AY Attenuation Tank AY middle selector middle selector filter FT FT AY AY Stage 2 Stage 1 AT AT AT AT AT AT Waste Mixer Mixer FT Case History 1 - New Control System
52. 29 12 pH Old Set Point New Set Point 2 Reagent to Waste Flow Ratio New Ratio Old Ratio Reagent Savings Case History 1 - Opportunities for Reagent Savings
53. 30 Model Predictive Control (MPC) For Optimization of Actual Plant Stage 1 and 2 Set Points Actual Plant Optimization (MPC1 and MPC2) Tank pH and 2nd Stage Valves Inferential Measurement (Waste Concentration) and Diagnostics Stage 1 and 2 pH Set Points Actual Reagent/Waste Ratio (MPC SP) Virtual Reagent/Influent Ratio (MPC CV) Virtual Plant Adaptation (MPC3) Model Influent Concentration (MPC MV) Model Predictive Control (MPC) For Adaptation of Virtual Plant Case History 1 - Online Adaptation and Optimization
54. 31 Case History 1 - Online Model Adaptation Results Actual Plant’s Reagent/Influent Flow Ratio Virtual Plant’s Reagent/Influent Flow Ratio Adapted Influent Concentration (Model Parameter)
55. 32 93% Acid 50% Caustic Water AT Cation Anion To EO Final caustic adjustment Final acid adjustment Pit Case History 2 - Existing Neutralization System
56. 33 Case History 2 - Project Objectives Safe Responsible Reliable Mechanically Robust controls, Operator friendly Ability to have one tank out of service Balance initial capital against reagent cost Little or no equipment rework
57. 34 Case History 2 - Cost Data 93%H2SO4 spot market price $2.10/Gal 50% NaOH spot market price $2.30/Gal
58. 35 Case History 2 - Challenges Process gain changes by factor of 1000x Final element rangeability needed is 1000:1 Final element resolution requirement is 0.1% Concentrated reagents (50% caustic and 93% sulfuric) Caustic valve’s ¼ inch port may plug at < 10% position Must mix 0.05 gal reagent in 5,000 gal < 2 minutes Volume between valve and injection must be < 0.05 gal 0.04 pH sensor error causes 20% flow feedforward error Extreme sport - extreme nonlinearity, sensitivity, and rangeability of pH demands extraordinary requirements for mechanical, piping, and automation system design
59. 36 Case History 2 - Choices Really big tank and thousands of mice each with 0.001 gallon of acid or caustic or modeling and control
60. 37 Case History 2 - Tuning for Conventional pH Control
61. 38 Gain 10x larger Case History 2 - Tuning for Reagent Demand Control
64. 41 signal characterizer AY 1-3 pH set point Signal characterizers linearize loop via reagent demand control AC 1-1 NaOH Acid AY 1-2 LC 1-5 LT 1-5 FT 1-1 FT 1-2 middle signal selector signal characterizer splitter AY 1-4 Feed AY 1-1 To other Tank AT 1-2 AT 1-1 AT 1-3 Tank Eductors From other Tank Static Mixer To other Tank Downstream system Modeled pH Control System
65. 42 One of many spikes of recirculation pH spikes from stick-slip of water valve Influent pH Tank 1 pH for Reagent Demand Control Tank 1 pH for Conventional pH Control Start of Step 4 (Slow Rinses) Start of Step 2 (Regeneration) Conventional pH versus Reagent Demand Control
66. 43 Traditional System for Minimum Variability The period of oscillation (4 x process deadtime) and filter time (process residence time) is proportional to volume. To prevent resonance of oscillations, different vessel volumes are used. Reagent Reagent Reagent Feed Small first tank provides a faster response and oscillation that is more effectively filtered by the larger tanks downstream Big footprint and high cost!
67. 44 Traditional System for Minimum Reagent Use Reagent The period of oscillation (total loop dead time) must differ by more than factor of 5 to prevent resonance (amplification of oscillations) Feed Reagent Reagent Big footprint and high cost! The large first tank offers more cross neutralization of influents
68. 45 FC 1-2 AC 1-1 LC 1-3 Tight pH Control with Minimum Capital Investment IL#1 – Interlock that prevents back fill of reagent piping when control valve closes IL#2 – Interlock that shuts off effluent flow until vessel pH is projected to be within control band Eductor High Recirculation Flow Reagent Any Old Tank Signal Characterizer LT 1-3 f(x) FT 1-1 *IL#2 Effluent AT 1-1 *IL#1 FT 1-2 Influent 10 to 20 pipe diameters
69. 46 Linear Reagent Demand Control Signal characterizer converts PV and SP from pH to % Reagent Demand PV is abscissa of the titration curve scaled 0 to 100% reagent demand Piecewise segment fit normally used to go from ordinate to abscissa of curve Fieldbus block offers 21 custom spaced X,Y pairs (X is pH and Y is % demand) Closer spacing of X,Y pairs in control region provides most needed compensation If neural network or polynomial fit used, beware of bumps and wild extrapolation Special configuration is needed to provide operations with interface to: Operator sees loop PV in pH and enters loop SP in pH Operator can change mode to manual and change manual output Operator sees both reagent demand % and PV trends Set point on steep part of curve shows biggest improvements from: Reduction in limit cycle amplitude seen from pH nonlinearity Decrease in limit cycle frequency from final element resolution (e.g. stick-slip) Decrease in crossing of split range point Reduced reaction to measurement noise Shorter startup time (loop sees real distance to set point and is not detuned) Simplified tuning (process gain no longer depends upon titration curve slope) Restored process time constant (slower pH excursion from disturbance)
70. 47 FC 1-1 AC 1-1 AC 1-2 M Cascade pH Control to Reduce Downstream Offset Linear Reagent Demand Controller Flow Feedforward FT 1-1 RSP Sum Trim of Inline Set Point Reagent f(x) AT 1-1 Filter f(x) FT 1-2 Static Mixer PV signal Characterizer SP signal characterizer Feed Coriolis Mass Flow Meter 10 to 20 pipe diameters Any Old Tank Integral Only Controller AT 1-2
71. 48 Full Throttle (Bang-Bang) Batch pH Control Batch pH End Point Predicted pH Cutoff Sum Reagent Rate of Change DpH/Dt Projected DpH Past DpH New pH Sub Div Mul Old pH Delay Dt Total System Dead Time Batch Reactor Filter AT 1-1 10 to 20 pipe diameters Section 3-5 in New Directions in Bioprocess Modeling and Control shows how this strategy is used as a head start for a PID controller
72. 49 AC 1-1 AC 1-1 FC 1-1 FQ 1-1 Linear Reagent Demand Batch pH Control FT 1-1 Secondary pH PI Controller Influent #1 AT 1-1 Online Curve Identification Static Mixer 10 to 20 pipe diameters FT 1-2 Influent #2 f(x) Batch Reactor Signal Characterizer Uses Online Titration Curve Master Reagent Demand Adaptive PID Controller AT 1-1 10 to 20 pipe diameters Reduces injection and mixing delays and enables some cross neutralization of swings between acidic and basic influent. It is suitable for continuous control as well as fed-batch operation.
73. 50 FT 1-1 Secondary pH PI Controller AC 1-1 AC 1-1 FC 1-1 FQ 1-1 Influent AT 1-1 Online Curve Identification Static Mixer 10 to 20 diameters FT 1-2 f(x) Neutralizer Signal Characterizer Uses Online Titration Curve Master Reagent Demand Adaptive PID Controller AT 1-1 10 to 20 diameters Adapted Reagent Demand Control Reduces injection and mixing delays and enables some cross neutralization in continuous and batch operations
74. 51 Recently Developed Adaptive Control Anticipates nonlinearity by recognizing old territory Model and tuning settings are scheduled per operating region Remembers what it has learned for preemptive correction Demonstrates efficiency improvement during testing Steps can be in direction of optimum set point Excess reagent use rate and total cost can be displayed online Achieves optimum set point more efficiently Rapid approach to set point in new operating region Recovers from upsets more effectively Faster correction to prevent violation More efficient recovery when driven towards constraint Returns to old set points with less oscillation Faster and smoother return with less overshoot
75. 52 Multiple Model parameter Interpolation with re-centering Estimated Gain, time constant, and deadtime Changing process input First Order Plus Deadtime Process Gain 1 2 Time Constant 3 Dead time First Order plus Dead Time Model Identification For a first order plus deadtime process, only nine (9) models are evaluated each sub-iteration, first gain is determined, then deadtime, and last time constant. After each iteration, the bank of models is re-centered using the new gain, time constant, and deadtime Changes in the process model can be used to diagnose changes in the influent and the reagent delivery and measurement systems
76. 53 Scheduling of Learned Dynamics and Tuning Model and tuning is scheduled based on pH
77. 54 total cost of excess reagent pH hourly cost of excess reagent total cost of excess reagent pH hourly cost of excess reagent Adaptive Control Efficiently Achieves Optimum
78. 55 total cost of excess reagent pH hourly cost of excess total cost of excess reagent hourly cost of excess pH Adaptive Control Efficiently Rejects Loads
79. 56 pH pH Adaptive Control is Stable on Steep Slopes
80. 57 Smart Split Range Point G = split range gap (%) Kv1 = valve 1 gain (Flow e.u. / CO %) Kv2 = valve 2 gain (Flow e.u. / CO %) Kp1 = process gain for valve 1(PV e.u. / Flow e.u.) Kp2 = process gain for valve 2(PV e.u. / Flow e.u.) S1 = 1st split ranged span (PV e.u.) S2 = 2nd split ranged span (PV e.u.)
81. 58 AC 1-1 Smart Split Range Point Reagent Smart in terms of valve gain compensation but not smart in terms of valve sensitivity ! Small (Fine) Large (Coarse) Splitter Split Range Block For large valve 4x small valve flow: PID Small Large OutValveValve 0% 0% 0% 20% 100% 0% 20% 100% 0% 100% 100% 100% Neutralizer PID Controller AT 1-1
82. 59 AC 1-1a AC 1-1b PID Valve Sensitivity and Rangeability Solution 1 Reagent Large (Coarse) Small (Fine) Neutralizer PID Controller or PIDPlus with sensitivity limit AT 1-1 Proportional only Controller or PIDPlus with sensitivity limit
83. 60 AC 1-1 ZC 1-1 PID Valve Sensitivity and Rangeability Solution 2 Reagent Small (Fine) Large (Coarse) Integral only Controller or PIDPlus with sensitivity limit Neutralizer PID Controller or PIDPlus with sensitivity limit AT 1-1
84. 61 MPC Valve Sensitivity and Rangeability Solution Model Predictive Controller (MPC) setup for rapid simultaneous throttling of a fine and coarse control valves that addresses both the rangeability and resolution issues. This MPC can possibly reduce the number of stages of neutralization needed http://www.controlglobal.com/articles/2005/533.html http://www.modelingandcontrol.com/2009/03/application_notes.html
85. 62 MPC Valve Sensitivity and Rangeability Solution
86. 63 MPC Valve Sensitivity and Rangeability Solution
87. 64 MPC Valve Sensitivity and Rangeability Solution
90. 67 Riding Max SP on Lo Cost MV Riding Min SP on Hi Cost MV Critical CV Critical CV Load Upsets Load Upsets Low Cost MV Maximum SP Increased Low Cost MV Maximum SP Decreased Set Point Changes Set Point Changes Lo Cost Slow MV Hi Cost Fast MV MPC Maximization of Low Cost Reagent
91. 68 MPC Maximization of Low Cost Reagent manipulated variables disturbance variable Supplemental Reagent Flow SP Acid Feed Flow SP Cheap Reagent Flow PV MPC controlled variable Neutralizer pH PV optimization variable Acidic Feed Flow SP Maximize null null constraint variable Supplemental Reagent Valve Position Note that cheap reagent valve is wide open and feed is maximized to keep supplemental reagent valve at minimum throttle position for minimum stick-slip
92. 69 Key Points More so than for any other loop, it is important to reduce dead time for pH control because it reduces the effect of the nonlinearity Filter the feedforward signal to remove noise and make sure the corrective action does not arrive too soon and cause inverse response The effectiveness of feedforward control greatly depends upon the ability to eliminate reagent delivery delays If there is a reproducible influent flow measurement use flow feedforward, otherwise use a head start to initialize the reagent flow for startup The reliability and error of a pH feedforward is unacceptable if the influent or feed pH measurement is on the extremities of the titration curve Use a Coriolis or magnetic flow meter for reagent flow control Every reagent valve must have a digital valve controller (digital positioner) Except for fast inline buffered systems, use cascade control of pH to reagent flow to compensate for pressure upsets and enable flow feedforward Linear reagent demand can restore the time constant and capture the investment in well mixed vessels, provide a unity gain for the process variable, simply and improve controller tuning, suppress oscillations and noise on the steep part of the curve, and speed up startup and recovery from the flat part of the curve
93. 70 Key Points Changes in the process dynamics identified online can be used to predict and analyze changes in the influent, reagent, valve, and sensor New adaptive controllers will remember changes in the process model as a function of operating point and preemptively schedule controller tuning Use inline pH control, mass flow meters, linear control valves, and dynamic compensation to automatically identify the titration curve online Use gain scheduling or signal characterization based on the titration curve to free up an adaptive controller to find the changes in the curve Batch samples should be taken only after the all the reagent in the pipeline and dip tube has drained into the batch and been thoroughly mixed Use a wide open reagent valve that is shut or turned over to pH loop based on a predicted pH from ramp rate and dead time to provide the fastest pH batch/startup Use online titration curve identification and linear reagent demand pH control for extremely variable and sharp or steep titration curve Use an online dynamic pH estimator to provide a much faster, smoother, and more reliable pH value, if the open loop dead time and time constant are known and there are feed and reagent coriolis mass flow meters Use linear reagent demand model predictive control for dead time dominant or interacting systems and constraint or valve position control
94. 71 Section 3: Plant Design and Maintenance Common Problems with Titration Curves Effect of Measurement Selection and Installation Options to improve accuracy and maintenance Effect of piping design, vessel type, and mixing pattern Implications of oversized and split ranged valves Online Troubleshooting
95. 72 Common Problems with Titration Curves Insufficient number of data points were generated near the equivalence point Starting pH (influent pH) data were not plotted for all operating conditions Curve doesn’t cover the whole operating range and control system overshoot No separate curve that zooms in to show the curvature in the control region No separate curve for each different split ranged reagent Sequence of the different split ranged reagents was not analyzed Back mixing of different split ranged reagents was not considered Overshoot and oscillation at the split ranged point was not included Sample or reagent solids dissolution time effect was not quantified Sample or reagent gaseous dissolution time and escape was not quantified Sample volume was not specified Sample time was not specified Reagent concentration was not specified Sample temperature during titration was different than the process temperature Sample was contaminated by absorption of carbon dioxide from the air Sample was contaminated by absorption of ions from the glass beaker Sample composition was altered by evaporation, reaction, or dissolution Laboratory and field measurement electrodes had different types of electrodes Composite sample instead of individual samples was titrated Laboratory and field used different reagents
96. 73 Middle Signal Selection Advantages Inherently ignores single measurement failure of any type including the most insidious PV failure at set point Inherently ignores slowest electrode Reduces noise and spikes particularly for steep curves Offers online diagnostics on electrode problems Slow response indicates coated measurement electrode Decreased span (efficiency) indicates aged or dehydrated glass electrode Drift or bias indicates coated, plugged, or contaminated reference electrode or high liquid junction potential Noise indicates dehydrated measurement electrode, streaming potentials, velocity effects, ground potentials, or EMI Facilitates online calibration of a measurement For more Information on Middle Signal Selection see Feb 5, 2010 post http://www.modelingandcontrol.com/2010/02/exceptional_opportunities_in_p_11.html
97. 74 3K 0-5 M Reference Electrode Glass Electrode Solution Ground Online Diagnostics for Cracked Glass Cracked Glass! Cracked Glass Fault pH Glass electrode normally has high impedance of 50-150 Meg-ohm Glass can be cracked at the tip or further back inside the sensor Recommended setting of 10 Megohm will detect even small cracks Reference - Joseph, Dave, “What’s the Real pH of the Stream”, Emerson Exchange 2008
98. 75 40k 150 M Coated Sensor! Glass Electrode Solution Ground Reference Electrode Online Diagnostics for Coated Sensor Coated Sensor Detection Can activate sensor removal and cleaning cycle place output on hold while sensor is cleaned Reference - Joseph, Dave, “What’s the Real pH of the Stream”, Emerson Exchange 2008
99. 76 AMS pH Range and Compensation Configuration pH / ORP Selection Preamplifier Location Type of Reference Used Ranging Temperature Comp Parameters Solution pH Temperature Correction Isopotential Point Changeable for Special pH Electrodes
100. 77 AMS pH Diagnostics Configuration Glass Electrode Impedance Warning and Fault Levels Impedance Diagnostics On/Off Reference Impedance Warning and Fault Levels Reference Zero Offset Calibration Error Limit Glass Impedance Temp Comp (Prevents spurious errors due to Impedance decrease with Temperature)
101. 78 AMS pH Calibration Setup Live Measurements and Status Calibration Constants from Last Calibrations Buffer Calibration Type & Buffer Standard Used Sensor Stabilization Criteria Zero Offset Beyond this Limit will create a Calibration Error If you want to know more about Buffer Calibration, hit this button…
103. 80 AE AE AE AE AE AE Horizontal Piping Arrangements flush throttle valve to adjust velocity pressure drop for each branch must be equal to to keep the velocities equal drain 20 to 80 degrees The bubble inside the glass bulb can be lodged in tip of a probe that is horizontal or pointed up or caught at the internal electrode of a probe that is vertically down 20 pipe diameters 5 to 9 fps to minimize coatings 0.1 to 1 fps to minimize abrasion static mixer or pump throttle valve to adjust velocity flush 10 OD 10 OD Series arrangement preferred to minimize differences in solids, velocity, concentration, and temperature at each electrode! 20 pipe diameters drain
104. 81 AE AE AE AE AE AE Vertical Piping Arrangements throttle valve to adjust velocity throttle valve to adjust velocity Orientation of slot in shroud abrasion coating 0.1 to 1 fps 5 to 9 fps hole or slot 10 OD 10 OD Series arrangement preferred to minimize differences in solids, velocity, concentration, and temperature at each electrode!
105. 82 Options for Maximum Accuracy A spherical or hemi-spherical glass measurement and flowing junction reference offers maximum accuracy, but in practice maintenance prefers: A refillable double junction reference to reduce the complexity of installation and the need to adjust reference electrolyte flow rate – This electrode is often the best compromise between accuracy and maintainability. A solid reference to resist penetration and contamination by the process and eliminate the need to refill or replace reference particularly for high and nasty concentrations and pressure fluctuations – This electrode takes the longest time to equilibrate and is more prone to junction effects but could be right choice in applications where accuracy requirements are low and maintenance is high. Select best glass and reference electrolyte for process Use smart digital transmitters with built-in diagnostics Use middle signal selection of three pH measurements Inherent auto protection against a failure, drift, coating, loss in efficiency, and noise (see February 5, 2010 entry on http://www.modelingandcontrol.com/ ) Allocate time for equilibration of the reference electrode Use “in place” standardization based on a sample with the same temperature and composition as the process. If this is not practical, the middle value of three measurements can be used as a reference. The fraction and frequency of the correction should be chosen to avoid chasing previous calibrations Insure a constant process fluid velocity at the highest practical value to help keep the electrodes clean and responsive
106. 83 Wireless pH Transmitters Eliminate Ground Spikes Incredibly tight pH control via 0.001 pH wireless resolution setting still reduced the number of communications by 60% Temperature compensated wireless pH controlling at 6.9 pH set point Wired pH ground noise spike
109. PID derivative mode is modified to compute a rate of change over the elapsed time from the last new measurement value
110. PID reset and rate action are only computed when there is a new value
111. If transmitter damping is set to make noise amplitude less than sensitivity limit, valve packing and battery life is dramatically improved
112. Enhancement compensates for measurement sample time suppressing oscillations and enabling a smooth recovery from a loss in communications further extending packing -battery lifeTD Kc TD Kc Link to PIDPlus White Paper http://www2.emersonprocess.com/siteadmincenter/PM%20DeltaV%20Documents/ Whitepapers/WP_DeltaV%20PID%20Enhancements%20for%20Wireless.pdf
113. 86 Flow Response - Enhanced vs. Traditional PID Enhanced PID Sensor PV Traditional PID Sensor PV
114. 87 pH Response - Enhanced vs. Traditional PID Enhanced PID Sensor PV Traditional PID Sensor PV
115. 88 Failure Response - Enhanced vs. Traditional PID Enhanced PID Sensor PV Traditional PID Sensor PV
116. 89 M Everyday Mistakes in pH System Design Mistake 1: Missing, inaccurate, or erroneous titration curve Mistake 2: Absence of a plan to handle failures, startups, or shutdowns reagent feed tank Mistake 7 (gravity flow) Mistake 3 (single stage for set point at 7 pH) Mistake 8 (valve too far away) AT 1-3 Mistake 12 (electrode too far downstream) Mistake 10 (electrode submerged in vessel) Mistake 9 (ball valve with no positioner) AT 1-1 Influent (1 pH) Mistake 4 (horizontal tank) Mistakes 5 and 6 (backfilled dip tube & injection short circuit) AT 1-2 Mistake 11 (electrode in pump suction)
117. 90 Stagnant Zone Stagnant Zone M Reagent Feed Plug Flow Short Circuiting Stagnant Zone AT 1-3 Mixing Pattern and Vessel Geometry Implications
118. 91 Oversized Reagent Valves are a Big Problem Limit cycle amplitude is operating point dependent and can be estimated as: stick-slip (%) multiplied by valve characteristic slope (pph/%) and by titration curve slope (pH/pph) Dead band is 5% - 50% without a positioner ! Dead band Pneumatic positioner requires a negative % signal to close valve Stroke (%) Digital positioner will force valve shut at 0% signal Stick-Slip is worse near closed position 0 Signal (%) dead band The dead band and stick-slip is greatest near the closed position so valves that ride the seat from over sizing or split ranged operation create a large limit cycle
119. 92 Key Points The time that glass electrodes are left dry or exposed to high and low pH solutions must be minimized to maximize the life of the hydrated gel layer Most accuracy statements and tests are for short term exposure before changes in the glass gel layer or reference junction potential are significant The pH measurement error may look smaller on the flatter portion of a titration curve but the associated reagent delivery error is larger The cost of pH measurement maintenance can be reduced by a factor of ten by more realistic expectations and calibration policies The onset of a coating of the glass measurement electrode shows up as a large increase in its time constant and response time The onset of a non conductive coating of the reference electrode shows up as a large increase in its electrical resistance Non-aqueous and pure water streams require extra attention to shielding and process path length and velocity to minimize pH measurement noise Slow references may be more stable for short term fluctuations from imperfect mixing and short exposure times from automated retraction The fastest and most accurate reference has a flowing junction but it requires regulated pressurization to maintain a small positive electrolyte flow The best choice might not be the best technical match to the application but the electrode with the best support by maintenance and operations and vendor
120. 93 Key Points For non abrasive solids, installation in a recirculation line with a velocity of 5 to 9 fps downstream of a strainer and pump may delay onset of coatings For abrasive solids and viscous fluids, a thick flat glass electrode can minimize coatings, stagnant areas, and glass breakage For high process temperatures, high ion concentrations, and severe fouling, consider automatic retractable assemblies to reduce process exposure When the fluid velocity is insufficient to sweep electrodes clean, use an integral jet washer or a cleaning cycle in a retractable assembly The control system should schedule automated maintenance based on the severity of the problem and production and process requirements pH measurements can fail anywhere on or off the pH scale but middle signal selection will inherently ride out a single electrode failure of any type Equipment and piping should have the connections for three probes but a plant should not go to the expense of installing three measurements until the life expectancy has been proven to be acceptable for the process conditions The more an electrode is manually handled, the more it will need to be removed A series installation of multiple probes insures the electrodes will see the same velocity and mixture that is important for consistent performance Wireless pH control of static mixers with enhanced algorithm can provide a exceptional setpoint response and measurement failure protection
121. 94 Key Points A system considered to be well mixed may be poorly mixed for pH control To be “well mixed” for pH control, the deviation in the reagent to influent flow from non ideal mixing multiplied by the process gain must be well within the control band Back mixing (axial mixing) creates a beneficial process time constant and plug flow or radial mixing creates a detrimental process dead time for pH control The agitation in a vessel should be vertical axial pattern without rotation and be intense enough to break the surface but not cause froth The actual equipment dead time is often larger than the turnover time because of non ideal mixing patterns and fluid entry and exit locations Horizontal tanks are notorious for short circuiting, stagnation, and plug flow that cause excessive dead time and an erratic pH response The dead time from back filled reagent dip tubes or injection piping is huge To provide isolation, use a separate on-off valve and avoid the specification of tight shutoff and high performance valves for throttling reagent Set points on the steep portion of a titration curve necessitate a reagent control valve precision that goes well beyond the norm and offers the best test to determine a valve’s actual stick-slip in installed conditions Reagent valve stick-slip may determine the number of stages of neutralization required, which has a huge impact on a project’s capital cost