Professional Documents
Culture Documents
1 Introduction
5 Control algorithms
Simulations showed that, in pH control systems where
statistical estimators can be expected to work, the 10
resulting estimates could provide a useful basis for
control action. In particular, synthetic feedforward based
on estimates of influent variables, or corrections to feed- Fig. 6 Suboptimal control with caution
back based on estimates of bias, could sometimes lead to
dramatic improvements in control performance. to be aimed at by the controller depends on pH 0 and also
Table 1 summarises simulation results showing the on a. When accuracy is good (small a), Xx is the value
Xo of ionic concentration difference corresponding to
Table 1: simulated RMS errors in pH under self-tuning PI pH 0 . As accuracy becomes bad (large a), Xx increases
feedback control away from neutrality and can be written
Plant A Plant B Xt ~ Xo + caution (5)
Feedback only 0.164 0.053 where the 'caution' [8], which grows with <r, is just what
Feedback plus synthetic feedforward 0.072 0.053
Feedback plus real feedforward 0.066 0.048
would be observed in the behaviour of an experienced
plant operator, who moves the set point away from neu-
trality as the process becomes difficult to control.
effect of RMS error in plants A and B of synthetic feed- The above conclusions are based on simulation results
forward with simultaneous feedback control in the form only. The waste brine process of plant B, as well as being
of self-tuning PI. For each plant, the set point was at a unsuitable for statistical estimations, was well buffered
typical non-neutral value. In plant A, most of the per- and could be satisfactorily controlled by linear control-
formance improvement which could have been achieved lers which ignored the titration nonlinearity.
by installing real feedforward instrumentation (reduction
of RMS error from 0.164 to 0.066, a factor of about 2.5) is 6 CAO package
obtained by using the synthetic feedforward (which Nonlinearities and uncertainties in pH systems are
reduces RMS error to 0.072). Plant B was buffered and usually so many and strong that controllers cannot be
operating in a near-linear region, where there was little designed by analysis alone, but must be developed using
need for real feedforward and no improvement to be a problem-specific simulation. A suitable CAD package
obtained by using synthetic feedforward. As the set points has been produced which uses the mathematical model of
move towards neutrality, both plants were found to Section 2 as a basis for simulating pH regulation in
become progressively harder to control: the next stage CSTR conforming to Fig. 1. All problem-specific features
after Table 1 was that plant A needed real feedforward (e.g. parameter values, noise variances, disturbance time
and plant B needed some feedforward. histories, titration curve) can be specified by the user and
At a more theoretical level, the question arises of how stored. A selection of conventional and modern algo-
to account for interaction between uncertainty about the rithms for classical control, adaptive control and sta-
current value of internal state X and the nonlinearity tistical estimation, including all the algorithms mentioned
pH(X) of Fig. 2. An early view of this interaction was the above, is simulated. Performances under the various
observation [15] that uncertainty about internal state algorithms can be compared and the likely return on
sets a limit to how close pH can be regulated toward their implementation costs can be assessed. The simula-
neutrality. tion is sufficiently accurate in detail, and well provided
The interaction can be further discussed by supposing with interactive features, that it can be used to design real
the value of X to be described by a normal probability plant. It can be applied in two different ways:
distribution, having mean value Xx and standard devi- (i) to design controllers for existing plant
ation a such as might appear from the statistical estima- (ii) to explore control aspects of proposed new plant.
tion of the preceding Section. Two consequences of the
nonlinearity are: The package and its applications are more fully described
(a) the corresponding expected value of pH(X) is not elsewhere [1, 16, 17]. It was used for the simulations
J (unless Xt = 0) reported here.
IEE PROCEEDINGS, Vol. 134, Pt. D, No. 3, MAY 1987 199
This package is written in Fortran 77 with curve of reagent against plant influent. This arises in such
(documented) source code of about 10000 lines. It con- applications as neutralisation of effluent from a large site,
sists of linked modules which use about 400 kbytes of where many different waste streams may contribute to
virtual memory, mainly for storing simulated time his- the final effluent. How to cope with it could be a subject
tories. Two implementations are available from the for further research.
authors, one to run on a VAX and one to run on an IBM
PC.
8 Acknowledgment
7 Conclusions The collaborative project was supported by SERC grant
pH control is amenable to good control engineering GR/A/90093.
practice. Good practice can relate to operation of existing
plant or to designs of new plant. For existing plant it 9 References
includes maintenance of accurate pH measurements,
accurate control of reagent flow, exploitation of feed- 1 BADRAN, W.A.: 'On designing algorithms for controlling pH'.
forward signals, linearisation to eliminate known nonlin- DPhil thesis, University of Oxford, 1984
earities, use of self-tuning controllers, use of more 2 PROUDFOOT, C.G.: 'Industrial implementation of on-line com-
complex 'modern' algorithms if suitable data is available. puter control of pH\ DPhil thesis, University of Oxford, 1983
3 GUSTAFSSON, T.K.: 'A study of modelling and control of pH\
Inexpensive online computers can be used to implement Doctoral thesis, Report 84-4, Abo Akademi, 1984
the foregoing prescriptions. For designs of new plant, 4 SHINSKEY, F.G.: 'pH and pION control' (Wiley, 1973)
good control engineering practice also influences choice 5 MOORE, R.L.: 'Neutralisation of waste water by pH control'
of system layout, sizing of mixing vessels and piping, pro- (Instrument Society of America, 1978)
vision and location and maintenance schedules of valves 6 JACOBS, O.L.R., HEWKIN, P.F., and WHILE, G: 'Online com-
puter control of pH in an industrial process', IEE Proc. D, Control
and measuring instruments. Theory & Appi, 1980,127, (4), pp. 161-168
A major determinant of performance is the expecta- 7 ORAVA, P.J., and NEIMI, A.J.: 'State model and stability analysis
tions of plant operators and management, which may of a pH control process', Int. J. Control, 1974, 20, pp. 557-567
8 JACOBS, O.L.R., and PATCHELL, J.W.: 'Caution and probing in
sometimes be unduly pessimistic. Given the will to stochastic control', ibid., 1972,16, pp. 189-199
achieve good pH control, it should be emphasised that 9 JACOBS, O.L.R.: 'pH regulation' 'Encyclopaedia of systems and
the modern algorithms which we investigated are not a control' (Pergamon, 1987)
substitute for standard good engineering practice, but 10 PROUDFOOT, C.G., CLARKE, D.W., JACOBS, O.L.R., and
can sometimes offer possibilities for further improve- TUFFS, P.S.: 'Comparative study of self-tuning controllers regulat-
ing pH in an industrial process'. IEE Conf. Publ. 252, 1985, Vol. 2,
ments in performance. pp. 359-364
Even with good practice there is a limit to how close 11 PROUDFOOT, C.G., GAWTHROP, P.J., and JACOBS, O.L.R.:
pH can be regulated toward neutrality in any one mixing 'Self-tuning PI control of a pH neutralisation process', IEE Proc. D,
stage. This limit depends on such factors as the titration Control Theory & Appi, 1983,130, (5), pp. 267-272
12 JACOBS, O.L.R., and BRIGGS, M.S.: 'Monte Carlo comparisons
chemistry, the availability and quality of online measure- of estimators for pH nonlinearity', Trans. Inst. Meas. & Control,
ments, the magnitude and rate of disturbances. It may 1984,6, (6), pp. 287-292
vary from plant to plant and can usually only be deter- 13 JACOBS, O.L.R.: 'Recursive estimation for nonlinear Wiener
mined by simulation or experiment. Some existing plants systems by online implementation of Bayes' rule', ibid., 1986, 7, (5),
may operate far from their limit. The CAD package pro- pp. 245-250
14 ROBERTS, P.D.: 'Non-linear control of a neutralisation process',
vides a tool for predicting performance limits in specific Meas. & Control 1971, 4, pp. T151-T157
cases, and, thus, for setting realistic expectations about 15 HEWKIN, P.F.: 'The control of pH using modern algorithms and
performance. It can be used to design controllers for online computers'. D.Phil, thesis, University of Oxford, 1979
existing plant and, also, to influence the layout and sizing 16 JACOBS, O.L.R., and BADRAN, W.A.: 'A computer package for
of proposed new plant. designing pH regulation systems'. Oxford University Engineering
Lab. Report 1506/3, 1983
One difficult feature of some pH problems, which has 17 JACOBS, O.L.R., and BADRAN, W.A.: 'CAD of pH control
not been investigated, is uncertainty about the titration systems'. 9th IFAC congress, Budapest, paper 11.2/D/2, 1984