







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Final Element Rangeability: The rangeability requirement is extraordinary and depends upon the titration curve and on influent flow variability. Metering pumps are capable of 20:1 to 200:1, valves with positioners are capable of 50:1 or more, and a pair of split-ranged valves is capable of 1000:1 or more. For unbuffered titration, the pH variation (on either side of neutral) that valves can accommodate can be determined as the base 10 logarithm of the rangeability. For example, if rangeability is 1000:1 and the controllable pH variation is 3, it can be from pH 3–6 or 12–9.
Final Element Precision Requirement is exceptional and depends upon titration curve and desired control and Characteristics: band. Electronically set metering pumps and valves with positioners have repeat- ability from 0.1 to 2.0%. Linear valve characteristics are generally preferred, and the use of smart digital positioners is recommended.
Control Loop Dynamics: The effect of the extreme nonlinearity and sensitivity of a pH process is diminished by minimizing loop dynamic gain. To dampen oscillations, one needs ratios of loop dead time to time constant of less than 0.05, when controlling on the steep portion of the titration curve. Reagent delivery delay is often the largest source of loop dead time.
Design Considerations: For proper mixing, process requires premixing of reagent with influent at the entrance of a well-mixed vessel. Close-coupled control valve with loop seal at the point of injection or water flush is needed to minimize reagent delivery delay. If the pH of the influent is more than three pH units away from the control band, or whenever the requirement for the final-element rangeability or sensitivity exceeds 1000:1, an additional neutralization stage is needed.
Reaction Tanks: Liquid depth should equal diameter, retention time should not be less than 5 min (10–30 min for lime), and dead time should be less than 1/20th of the retention time. For strong acid-strong base neutralizations, one, two, or three tanks are recommended for influent pH limits of 4 to 10, 2 to 12, and 0 to 14, respectively. Influent should enter at top, and effluent should leave at the bottom.
Agitator Choices: For tanks under 1000 gal (3780 1), use propeller-type agitators, and for larger volumes, axial-flow impellers are preferred. Flat-bladed radial flow impellers should be avoided. Acceptable impeller-to-tank diameter ratio is from 0.25 to 0.4. Peripheral speeds of 12 ft/s (3.6 m/s) for large tanks and 25 ft/s (7.5 m/s) for tanks with volumes less than 1000 gal (3780 1) are acceptable.
Mixing Equipment: In-line mixer residence time should be less than 10 sec, and a well-mixed vessel residence time should be greater than 5 min. The vessel agitator should provide both a pumping rate greater than 20 times the throughput flow and a vessel turnover time of less than 1 min. Solid and gas reagents require a residence time greater than 20 times the batch dissolution time. Gas reagent injection needs a sparger designed to reduce bubble size and improve bubble distribution.
Set Point Location: If the set point is located on the flat portion of the titration curve, this reduces the oscillation of the pH process. It also reduces control sensitivity and the requirement for control valve precision.
8.32 pH Control 2045
PH Sensor Location: Insertion assemblies in pumped recirculation lines are preferred, because they can provide increased speed of response, decreased coating, improved accessibility, and auto on-line washing and calibration. If immersion sensor is used, it must be located in the mixed zone, directly before the discharge.
Continuous Control Nonlinear characterization is recommended for the feedback controller; self-tuning Techniques: is helpful when the titration curve varies widely. Flow-based feedforward is effective when rapid upsets in flow are expected, while pH-based feedforward is rarely used, because it is effective only for neutralization applications having a single titration curve.
This section begins with an explanation of the difficult nature of the pH process and of the various titration curves. Next, the process equipment used in neutralization facilities is described, including such topics as the selection of reagent delivery systems, mixing equipment, tank sizing, and other considerations. This is followed by a discussion of the special requirements of the pH controller and its tuning. The section is finished with an examination of the role of feedforward control.
The difficulty in controlling pH stems entirely from its non- linear relationship to acid and base concentration in a solu- tion. The slope of a single titration curve of pH vs. reagent delivery can vary over several orders of magnitude, and the set point where control is exercised is usually positioned in the steepest region of the curve. Because of this dominance, the nature of the titration curve will be the first topic to be considered in this section. pH is the negative base-10 logarithm of the hydrogen- ion activity in g-ions/l in a solution. Hydrogen-ion activity is not quite the same as its concentration, but in dilute solu- tions, where pH is mostly controlled — especially wastewater — their difference is negligible.^1 For our purposes, then, the relationship will be expressed in terms of concentration, which appears in brackets:
Water has a neutral pH of 7 at 25°C, at which point hydrogen and hydroxyl ions are in balance at 10 − 7 g-ions/l each:
8.32(2)
where K (^) w is the equilibrium constant of water. (It does change from 10−^15 at 0°C to 10−^12 at 100°C.) A tenfold increase in [H+] would lower the pH to 6, and a tenfold decrease would raise it to 8, where [OH–] would be at a concentration of 10−^6 g-ion/l. One g-ion/l is considered a Normal solution and is designated 1.0 N. Control can be exercised over a pH of 0–
in the acidic range and 7–14 in the basic range, or over a concentration range of 10−^7 to 1.0 N :
Strong Agents
A strong agent is one that completely ionizes in aqueous solution. Two common strong agents are hydrogen chloride (HCl) and sodium hydroxide or caustic soda (NaOH). When dissolved in water, all of the H in HCl acts as the ion H
, and all of the OH in NaOH acts as the OH
Consider a neutralization reaction between these two agents, where HCl is added to water in a concentration of xA and caustic to a concentration of xB. All of the Cl
When the charge balance is combined with equilibrium Equation 8.32(2), the result is the strong-agent titration curve:
This relationship is plotted in Figure 8.32a, with the outer curve plotted against the bottom scale. Although the curve appears to be linear between pH 4 and 10, it is not — the inner curve, plotted against the expanded top scale, continues the logarithmic shape. This is the titration curve when a strong acid is neutral- ized by a strong base; if a strong base were neutralized by a strong acid, the x -axis would be reversed to xA − xB , and the pH would fall. Another strong acid is nitric; sulfuric acid, while very corrosive, is not as strong, but may be considered so in the neutral pH range. Other strong bases are the hydrox- ides of potassium and lithium; calcium hydroxide is not as strong, and its pH is limited to about 12 by its low solubility, but in the neutral range it is essentially completely ionized.
pH = − log[ H +^ ] [ H +^ ] = 10 −pH
[ H +^ ][ OH−^ ]= K (^) w = 10 −^14
[ Na +^ ] + [ H +^ ] = [ Cl −^ ] +[ OH−]
x (^) B + [ H +^ ] = xA +[ OH−]
x (^) B − xA = − = −
−
14 14 [ ]
H pH^ pH
8.32 pH Control 2047
concentrations of weak agents, principal among them being carbon dioxide. A normality of 0.0001 corresponds to an alkalinity of 5 ppm calcium carbonate, within the common range for surface water. While the moderation of the curve in the range of pH 6–7 may not seem very noticeable, it is substantial compared with the strong-agent curve in Figure 8.32a. With that curve, neutralization from pH 3 to pH 6–8 required a caustic dosage accurate to ±1 part in 1000. For the curve in Figure 8.32c, the accuracy required is only ±1 part in 28, an improvement by a factor of 36. Another measure of the effect of buffering is the gain of the titration curve at a set point of pH 7. The reagent valve needs to be sized for twice the anticipated demand. Given a wastewater at pH 3 or 11, the valve must be able to deliver a reagent concentration of 0.002 N. In the absence of any buffering — as in treating distilled or deionized water — the steady-state open-loop gain, assum- ing a transmitter range of pH 2–12, would be about 420. In other words, a change in valve position of 0.01% could change the pH of the solution by 4.2% of scale, which is 0. pH. The presence of carbon dioxide of as little as 10−^5 N , which is very common in water supplies, lowers the gain to 75; at 0.0001 N , which is shown in Figure 8.32c, the gain is 11.4; and at 0.001 N , the gain is only 1.6. The lower gain both reduces the sensitivity of the solution pH to disturbances and allows a higher controller gain setting without causing cycling. The presence of buffers is very common in industrial wastewaters. All cleaning agents are buffers: carbonates, sil- icates, phosphates, sulfonates, detergents, and surfactants. So are all organic acids and bases such as citric acid and amines. Most metal ions are also buffers, including iron, copper, chromium, cobalt, nickel, tin, zinc, cadmium, and aluminum.
As a result, the pH of wastewater from metal-plating opera- tions is very easy to control; regulation at pH 8–9 causes these metals to precipitate from solution as hydroxides.^2 If the principal load on the pH loop is represented by a buffer, then variation in its concentration changes the gain of the curve and the load at the same time. An equal-percentage reagent valve, whose gain increases in direct proportion to flow delivered, can compensate for the gain reduction caused by increasing concentrations of the buffer. This situation is unusual, however. The principal problem with the presence of buffers in wastewater is that they tend to come and go, while stronger agents remain. At any given time, a wastewater that is only lightly buffered may be mixed with the rinse from a cleaning operation. This changes the load and the gain of the curve, upsetting the controlled pH for some time, given the low gain of the controller — and then the buffer passes on. However, if the controller were tuned for the buffered condition, then after the buffer is gone — especially when the plant is idle on weekends — the loop will cycle until the buffer returns. This is a problem when treating wastes from regenerating ion-exchange resin beds. Both anion and cation beds are used for treating boiler feedwater and ultrapure water used in manufacturing semiconductors. These beds are regenerated batchwise, acid for the cation bed and base for the anion bed, and the effluents from regeneration must be neutralized prior to disposal. The first effluent leaving a bed is highly buffered, with the buffering gradually declining toward the end of the procedure, making neutralization of this effluent on-line quite difficult. It is better to combine the anion and cation washings in a common tank where they neutralize each other, and then treat the mixture batchwise.
The acid-base reaction is considered to be zero-order — that is, it does not take any time or depend on the relative concen- trations of the reactants. This would seem to eliminate the need for the kind of careful process design that goes into chemical reactors in general. However, the very difficult aspects of pH control cited above place other burdens on the design of the process. Vessel sizing and layout are very important, as are mixing and reagent delivery. Experts in pH control have been known to enter a plant and completely redesign a vessel and its auxiliaries in order to achieve a control performance that was not possible with the original configuration. This is one pro- cess that must be designed for controllability, or it will have to be modified on-site to meet effluent specifications.
Vessel Design
A static mixer is a section of pipe fitted with vanes that provide intense radial mixing without longitudinal or back- mixing — it is a plug-flow device. The step response of a
FIG. 8.32c Carbon dioxide moderates the titration curve between pH 6 and 7.
12 11 10 9 8 7 6 5 4 3 2
−0.001 0 0.
pH
Concentration, xB − xA
2048 Control and Optimization of Unit Operations
static mixer is between that of 20 and 50 stirred tanks in
and as such it has a dynamic gain of almost 1.0. A step in reagent concentration at the inlet will emerge at the outlet one residence time later virtually unmitigated. As a result, a pH controller will have to face the full steady- state gain of the titration curve without any dynamic help. If the gain of the titration curve at set point is 10, for example, the controller proportional gain will have to be the order of 0.05 to provide a loop gain of 0.5 as required for damped stability. A proportional gain of 0.05 is a proportional band of 2000% — rarely are controllers successful in such service — and a gain of 10 is considered moderate for a titration curve. As a consequence, pH control is rarely exercised across a static mixer, and then only when the process is heavily and consistently buffered, as in a fermentation process saturated with carbon dioxide, or when the set point is in a flat portion of the titration curve. An example of the latter is the addition of sulfuric acid to a solution of sodium dichromate preparatory to its reduc- tion to chromium ions by sulfur dioxide. 3 In the range of pH 2–3, where the set point is located, the slope of the titration curve is about 300 times lower than at pH 8. Another problem with the static mixer is that its dead time varies inversely with flow. The dead time is essentially the residence time, which is its fixed volume V divided by the variable flow ( F ) through it — and at zero flow, the loop is open. This can be fixed, and the dynamics can be measur- ably improved as well, by the addition of a circulating pump. A circulating pump, taking suction from the static mixer’s outlet back to its inlet at rate Fa will reduce the dead time from V/F to V/ ( F + Fa ) and convert the balance of the resi- dence time to a first-order lag.^4 A circulation ratio Fa /F of only 2:1 can reduce the dynamic gain of the static mixer from 1 to 0.26, and the ratio of 5:1 reduces it to 0.12. This allows a comparable increase in controller gain or reduction in pro- portional band. Neutralizations should preferably be conducted in a back- mixed tank, with a minimum of 5 min of residence time. If the reagent contains a solid material such as lime, the resi- dence time should be up to 20 min to allow the lime to dissolve. If not enough time is allowed in the controlled vessel, any solid particles of lime carried out will continue reacting and raise the final pH of the effluent beyond the control point. A similar dynamic is encountered when the reagent is a gas such as ammonia or carbon dioxide, which also takes time to dissolve. The shape of the neutralization vessel is important. Ide- ally, the depth of liquid should be similar to its length and width, to minimize distance traveled for a given volume. A ditch or channel is the worst configuration, because it will be dead time-dominant like a static mixer. Given a ditch, baffle the entrance to create a square chamber where pH is controlled, and let the remainder of the ditch act as an atten- uation basin.
In some neutralization processes more than one vessel may be needed. If the waste alternates on both sides of pH 7, an upstream tank may allow for self-neutralization of some of the waste, thereby saving reagent. A downstream vessel is also useful to attenuate fluctuations in controlled pH, and may in fact be mandatory for impounding off-specification product. One such arrangement is shown in Figure 8.32d, for the treatment of fly-ash from a coal-fired power plant. The waste is neutralized in a well-mixed corner of the ash pond where pH is controlled. It then overflows to the balance of the pond, which is unmixed, thereby allowing solids to settle. Hours later it emerges at the outfall, where its pH is again measured. If the effluent falls within specifi- cations, it is discharged to the environment; if not, the dis- charge valve is closed and a recirculating pump started to return the wastewater for another round of treatment, as long as needed to bring it within specifications.
Mixing
Back-mixing is needed for uniformity of composition within the vessel, and a high velocity is required to minimize dead time between the point of entry and the point of discharge. Figure 8.32e shows two possible flow patterns in stirred tanks.
FIG. 8.32d Ash pond control system, which recycles the pond’s effluent until its pH is within specifications.
FIG. 8.32e Flow patterns in stirred tanks. A. Recommended flow path. B. Undesirable flow path.
M
pHT
pHA
Ash pond
Waste
Reagent pHT
pHC
I
A B
series, as shown in Figure 8.10i — it is essentially dead time,
2050 Control and Optimization of Unit Operations
Metering pumps can be used for reagent delivery, but are of generally insufficient rangeability, typically on the order of 20:1, where control valves have rangeabilities of 35–100:1. The penalties for providing insufficient rangeability are two:
available to weather the overload, this could be accept- able. But if not, the penalty may be severe.
Two valves in parallel can be sequenced to extend range- ability, but it must be done properly to be successful. Most importantly, they must not be open at the same time. This is because if the smaller of two sequenced valves is approaching full opening and the larger valve is then opened to its lowest controllable flow, the total flow delivered can almost double. Therefore, the smaller valve must be closed when the larger is opened. Proper sequencing of valves differing in size by 20:1 or more must be done with equal-percentage charac- teristics, which are logarithmic, as plotted in Figure 8.32h. The sequencing of the two valves in the figure produces essentially a single characteristic having a rangeability of almost 1000:1, with a small overlap in the center. The dots on the lines represent the calibration limits for the valve positioners. The smaller valve is throttling over the range of 0 – 52% of the control signal, and the larger valve from 48–100%. Logic on the control signal must switch one valve off and the other on when the controller output moves outside its range. Switching produces a small transient, but it lasts only for a second or so. Because linear characteristics are needed for most pH loops, a curve characterizer is required between the controller output and the signal to the valve positioners. Its purpose is for the delivered flow to be linear with the controller output. Figure 8.32i describes the equal-percentage flow character- istic for 1000:1 rangeability, and a compensating hyperbolic characterizer of the form:
where m is the controller output and L is the linearity of the characterizer; when L = 1, the function is linear. To compen- sate the 1000:1 equal-percentage valve in the figure, L = 0. and the compensation is adequate, as shown by the almost- linear combination of the two. Alternatively, an x-y function generator can be used.
f m m L L m
FIG. 8.32h Reagent flow using sequenced valves.
FIG. 8.32i A hyperbolic characterizer can effectively compensate a 1000: equal-percentage valve.
Minimum flow through small valve
Maximum flow through small valve
Minimum flow through large valve
Maximum flow through large valve
Overlap
1 × 10 1
1 × 100
1 × 10 −^1
1 × 10 −^2
1 × 10 −^3
Reagent flow (50% NaOH, GPM)
0 20 40 60 80 100 Controller output signal (%)
100
80
60
40
20
0
Output, %
0 20 40 60 80 100 Input, %
Characterizer
Combination
Valve (s)
impounded as in Figure 8.32e, and enough capacity is
8.32 pH Control 2051
Another, simpler, way to extend valve rangeability is through the use of a valve position controller (VPC) to drive the larger valve while the pH controller drives the smaller. The VPC compares the output of the pH controller to its own set point of 50%, and moves the larger valve to drive it slowly there by integral action. Short-term control is the function of the smaller valve, tending to return to 50% opening as long as the load is within the range of the larger valve. Figure 8.32j illustrates a VPC-based feedback control loop. The figure also shows feedforward trimming of that loop, which is not recommended unless the relationship between influent pH and reagent demand is consistent. At times, the VPC will drive the larger valve closed, and this may bump the pH, as it will when suddenly opening to its minimum flow. This system may also not be fast enough to cope with load changes outside the range of the smaller valve. When wastewater pH can vary on both sides of neutral, then acid and base valves must operate in sequence, the acid valve opening from 50 to 100% controller output, and the base valve opening from 50 to 0. Yet both valves must fail closed, and therefore the base valve requires a reverse-acting positioner. Smart digital positioners are recommended on all valves used in pH control, whether sequenced or not. They combine
speed with the elimination of dead band and can be individ- ually characterized if necessary.
Reagent Piping
If reagent is simply dropped on the surface of the water in a tank, it will not be adequately dispersed into its contents, and the pH measurement will reflect this by randomly moving about. Premixing of the small flow of concentrated, viscous reagent with the much larger flow of water is essential for a steady pH reading. The reagent therefore should enter the vessel at the same point as the inflow, taking advantage of entrance hydraulics to provide premixing. A major source of dead time in a pH loop is the move- ment of a small flow of dense reagent through the transfer line into the wastewater. When the reagent valve opens, flow into the mixed zone of the vessel should start immediately, and when it closes, flow should stop. The transfer line from the valve to the vessel must remain full at all times to accom- plish this. The line should terminate in a loop seal, whether discharging on the surface, or through a dip tube into the bottom of the vessel (in the case where a bottom feed entry cannot be avoided). Flushing of a transfer line with water is sometimes done, but is not recommended in two common cases. Concentrated sulfuric acid reagent is not corrosive, allowing cast iron and mild steel to be used for valves and piping. But when diluted with flush water, it attacks these materials vigorously. The other problem is with lime slurry. Flush water containing car- bon dioxide will react with the lime at their point of contact to form a very hard scale of calcium carbonate, which will eventually plug the line and is very difficult to remove. Lime is of very limited solubility and is, therefore, always administered as a slurry whose piping must be very carefully designed to avoid plugging — Figure 8.32k illustrates how it should be done. A level switch (LS) on the slurry tank is used
FIG. 8.32j VPC-3 controlling the small valve opening at 50%. The feedfor- ward portion of the control system is useful only if the relationship between influent pH and reagent demand is consistent, which usu- ally is not the case.
M
pH/I
FY
FY
pHY
FFC 1
f
Influent
f(F′)
x
Feedforward
−2 mb
X (^) B
FB VPC 3
pHC 2
FB
Reagent Reagent
Large Small
(^) Integral only
SP = 50% of small valve opening
Feedback controller
pH/I
Effluent
FT
FIG. 8.32k Control system for a lime-based neutralization process.
Feeder
Lime
LS
Water
Smart
Feed
Lime slury
pHC
pHT
Slurry tank Neutralizer
8.32 pH Control 2053
electrodes are in a predominately basic environment, and vice versa. If accumulation is rapid, ultrasonic cleaners are effec- tive against most sources of fouling, and mechanical brushes are also used. A fluid velocity of 5–9 ft/s (2–3 m/s) past the electrodes will tend to keep them clean without excessive abrasion. See Table 8.32m for recommendations on cleaner selection.
The pH Characterizer
The only special feature used in PID controllers for pH is a nonlinear characterizer to help linearize the loop. Titration curves come in a wide variety of shapes, so there is no universal pH characterizer. However, there does not need to be — it is not necessary to match the curve over its entire length, because control is exercised mostly around set point. Three classes of characterizers are presented here: matched, three-piece, and error-squared. The characterizer matched to the titration curve is the best option, but it is not realistic for most applications, principally because of the variability of the process curve. The three-piece characterizer consists of three straight lines, as shown in Figure 8.32n. The error-squared curve is a parabolic function that has no adjustments; it is simply f ( e ) = e | e |. It is compared with
The error-squared curve has zero gain at zero deviation, which can produce a small amount of offset. This is not a problem with wastewater, whose specification gives some latitude, e.g., pH 6–9. The three-piece function has an adjust- able minimum gain, along with an adjustable width to the zone where that gain is applied; its gain outside that zone is 1.0. Other characterizers are feasible, but these have had the most extensive use.
conducted in a stirred tank using the software of Reference 5.
A solution containing 0.001 N HCl and 10−^5 N CO 2 is being neutralized by NaOH, which gives a process gain of 75 at set point. The time scale is normalized to the residence time of the vessel. With a linear PI controller, the 10% step-load change drives the pH from a set point of 7 beyond 9, where it remains for a full residence time before falling, followed by a large overshoot. If the specifications are pH 6–9, then they are violated in both directions. The length of time required for recovery is critical, because it reduces the effectiveness of any attenuation vessel and can be detrimental to biological life downstream. The proportional band of the controller is 700%, set to provide (light) damping at set point; integral time is 0.32 V/F. The
TABLE 8.32m Ratings for Various Types of Cleaners* Application Ultrasonic Water-jet Brushing Chemical Slime Microorganism Food, paper, pulp, aquatic weed bacteria (activated sludge) whitewash
X
O O
O O
Oil Tar, heavy oil Light oil Fatty acid, amine
X O X
X O
X X
O O Suspension Sediment Metallic fines Clay, lime
O
X X O
X X X
O O O Scale Flocculating deposit neutralized effluent CaCo (^3)
O: Recommend : Applicable X: Not applicable *Courtesy of Horiba Instruments.
FIG. 8.32n The three-piece curve has an adjustable low-gain zone.
50 40 30 20 10 0 − 10 − 20 − 30 − 40 − 50 − 50 − 40 − 30 − 20 − 10 0 10 20 30 40 50 Deviation e, %
f^ ( e), %
Matched
3-piece
a typical matched curve in Figure 8.32o.
Figure 8.32p plots the results of a simulated neutralization
2054 Control and Optimization of Unit Operations
slow recovery is due to the low loop gain away from set point. Judging from this response, nonlinear compensation is needed to have any chance of satisfying specifications. A characterizer matched to the pH curve across 200 points provides the best response. Because of its very low slope at set point, the controller’s proportional band can be reduced to 12% (integral settings for all four controllers are the same). This provides the gain needed for rapid recovery from severe load changes. Still, the time required to recover is much longer than the period of the cycle around set point. Due to the severely nonlinear nature of the process, even with matched charac- terization the loop will not behave like a linear loop having the same process dynamics. The three-piece characterizer was given a zone width of ±1.5 pH units, where the gain is 0.10. The proportional band of the controller is 75%, which at set point gives the same gain as a linear controller at 750% band. It performs almost as well as the matched characterizer in this test, although it is a very crude approximation to the titration curve. The crude fit means that the performance of the controller depends to some extent on the size of the load variations — deviations that lie just within the low-gain zone will not be corrected as quickly as those exceeding it. The width of the low-gain zone is the most effective adjustment and can be used to tune the loop to a particular titration curve. The gain in the zone can be left at 0.1 for most pH curves — it should not be set to 0, or the loop will limit-cycle between the two high-gain zones. The error-squared characterizer is the least effective of the three, but has no adjustments to tune or points to match. It therefore can be considered as a compromise characterizer for pH control, keeping in mind that P, I, and D are more than enough adjustments for many technicians to tune.
PID Tuning
The tuning of pH controllers is based on the same technology
2 in great detail. But the extreme nonlinearity of the process makes some modifications necessary. After choosing a char- acterizer and its settings, the proportional band or gain needs to be adjusted so that the loop is damped at set point, but only lightly. Several observations need to be made over time of the closed-loop behavior at set point, because as buffers leave the system, limit-cycling may develop — a very common observation in pH control. Limit-cycling may not be objec- tionable in some pH loops, providing that its amplitude is within the specification limits. Where it can become costly is in a system where the controller manipulates acid and base valves in sequence. Then, the cycling could cause the controller to alternately add acid and base to the vessel, even with — in fact, especially with — no neutralization load or even any flow of water. To guard against this possibility, the air supplies of the reagent valves serving vessels with pumped flow should be shut off when the pump is stopped — closing both valves — and their controller should be transferred to manual. When the pump restarts, the controller can then resume where it left off. The length of time required for pH to recover from a major load change, as shown in Figure 8.32p, limits the rate at which the controller can integrate without excessive over- shoot. Too short an integral time causes overshoot, and it needs to be increased by a factor of two or more above its optimum value for a linear loop. The derivative time needs to be optimized for the fastest part of the cycle, which occurs around set point. In this respect, its setting would be about the same as for a linear loop. A noisy pH measurement can preclude the use of deriv- ative action completely, but the source of the noise is worth
FIG. 8.32o The matched curve is the most complex, the error-squared curve the simplest.
50 40 30 20 10 0 − 10 − 20 − 30 − 40 − 50 − 50 − 40 − 30 − 20 − 10 0 10 20 30 40 50 Deviation e, %
f(e
), % Matched
Error- squared
FIG. 8.32p The response to a 10% step change in load is best with a charac- terizer matched to the pH curve. Other responses shown are those of “Linear” (linear PI controller), “three-piece” (three-piece char- acterization), and e^2 (error-squared characterization).
10
9
8
7
6
5
pH
0 1 2 3 4 Time, t/(V/F)
Linear
3-piece
e^2
Matched
as linear loops, which is described in Section 2.35 in Chapter
2056 Control and Optimization of Unit Operations
Feedback and Feedforward Control. The method calculates from measurements of the load variable(s) where the manip- ulated variable needs to be positioned to maintain a dynamic balance in the process — in the case of pH control it is a material balance. However, in the case of pH control the material balance must be extraordinarily precise — matches of reagent to load of 1 part in 1000 may be required. Equations have been presented at the beginning of this section to show the rela- tionship between pH and the concentration of various agents, but they vary widely with the species and their concentra- tions. The problem is that all of the acids and bases must be neutralized, but that some are only partially ionized and sensed by the pH electrodes at any given pH. It is much like estimating the size of an iceberg from observing its tip, but with the relationship between the two being quite variable and even unknown. Consider, for example, HCl in solution at pH 3.0 — its concentration would be 0.001 N , and it would require 0.001 N
titration curve for 0.01 N acetic acid. With no other agents in solution, its pH is about 3.5 — higher than that of the above HCl solution and, therefore, seemingly more neutral, yet it would take 10 times more caustic to neutralize it. In other words, if a feedforward signal from an influent pH measurement were to be used to estimate the flow of caustic reagent required for neutralization, the change in the influent from 0.001 N HCl to 0.01 N acetic acid would cause a miscalculation by a factor of –20! In this light, feedforward is not recommended for pH control, unless there is a single species that must be treated, so that the relationship between influent pH and reagent demand is consistent. In wastewater treatment it is not. Feed- forward from flow is much less of a problem — it amounts to a pH controller setting a ratio between measured inflow and manipulated reagent flow. But even this has its limitations. For example, in municipal wastewater treatment, the reagent
dosage required for domestic waste is very different for storm- water. Yet in most municipalities, the two are mixed in varying proportions depending on the weather, causing the required dosage to vary widely.
References
Bibliography
Hoyle, D. L., “Designing for pH Control,” Chem. Eng., November 8, 1976. Mahuli, S. K., Rhinehart, R. R., and Riggs, J. B., “Nonlinear Model-Based Control of pH,” AIChE Annual Meeting, 1992, Paper 149g. McMillan, G. K., pH Control, Research Triangle Park, NC: ISA, 1984. McMillan, G. K, “Understand Some Basic Truths of pH Measurement,” Chem. Eng. Progr., October 1991. McMillan, G. K, “Methods of Controlling pH,” Chem. Processing, July
Moore, R. L., Neutralization of Wastewater by pH Control , Research Triangle Park, NC: ISA, 1978. Piovoso, M. J., and Williams, J. M., “Self-Tuning pH Control,” InTech, May
Shinskey, F. G., “Sharpening pH Control,” Control, July 1998. Waller, K. V., and Gustafsson, T. K., “Fundamental Properties of pH Con- trol,” ISA Trans. , Vol. 22, No.1, 1983.
of caustic to neutralize it. Now look at Figure 8.32b, the