Professional Documents
Culture Documents
3.1 Coagulation Process Control in Water Treatment Plants Using Multiple Model Predictive Control
3.1 Coagulation Process Control in Water Treatment Plants Using Multiple Model Predictive Control
H O S T E D BY
Alexandria University
ORIGINAL ARTICLE
Electrical Engineering Department/FSATI, Tshwane University of Technology, Pretoria X680, South Africa
KEYWORDS Abstract A multiple model predictive control (MMPC) strategy is proposed for coagulation
Water treatment plants; control in water treatment plants. The proposed control strategy is developed to work effectively
Multiple model predictive with different local operating regions of the chemical dosing unit where coagulation takes place.
control; The surface charge and pH values of the chemically treated water are controlled at the same time
MPC local controller; to reduce waste, operational costs and improve the quality of portable water distributed for public
Coagulation consumption by manipulating the ow rates of the chemical reagents. The simulation results show
that coagulation control can be effectively controlled by using the proposed control strategy.
2014 Production and hosting by Elsevier B.V. on behalf of Faculty of Engineering, Alexandria
University.
MPC local controller is designed for each linear model. All the The simulation studies on the MMPC performance on the
models are computed in parallel and the best model/controller chemical dosing unit show promising results.
pair is selected based on the identication error at each instant
[22]. The switching scheme engaged for the model/controller 2. Materials and methods
pairs operates when another pair yields smaller identication
error than the current pair. The global control input is thus 2.1. Description of Rietvlei water treatment plant
generated using the parameters of the selected pair.
In Yu et al. [25], MMPC control strategy was proposed for
Rietvlei water treatment plant, City of Tshwane, South Africa
the simultaneous regulation of mean arterial pressure and car-
was built between 1932 and 1934. From inception, the plant
diac output in heart failure patients by adjusting the infusion
has undergone a number of upgrade projects to ensure that
rates of inotropic agent and vasodilator. However, the compu-
safe and portable drinking waters are supplied for public con-
tation using Bayes theorem was immense and involved several
sumption in Pretoria. The typical production capacity of the
stages. Zhang and Morris [27] proposed MMPC control strat-
plant is about 40 ml per day. The plant draws raw waters from
egy using a recurrent neuro-fuzzy network to identify the local
Rietvlei Dam. There are three different abstraction points at
linear models of a pH neutralisation process.
different levels on the dam tower, namely: top; middle and bot-
Porrio et al. [20] examined the application of a multi-
tom draw-off points. Only one point is used at a time depend-
model predictive control to an industrial distillation system
ing on water level in the dam. Raw water quality is typically
of a renery (C3/C4 splitter). The proposed MMPC performed
low in turbidity but with high algal content. However, the tur-
signicantly better than the conventional MPC controller. In
bidity level may be high due to discharges from oods and
Li et al. [13], the authors proposed MMPC strategy based on
rainfall. These changes in water turbidity often lead to difcul-
TakagiSugeno modelling for a nonlinear process control.
ties in coagulation. A pumping station and transport system
The proposed controller was applied successively to regulate
are available to lift water from the dam and to convey it to
a MIMO pH neutralisation process.
the treatment plant. Raw water ows through the intake pipe
A study by Zeng et al. [26] on the application of MMPC
into the chemical dosing unit. The ow of water through the
strategy to control dissolved oxygen concentration in wastewa-
intake pipe is measured using owmeter. The amount of water
ter treatment process was performed. The authors of Mazinan
abstracted is also used to determine the amount of chemicals
and Sadati [15] proposed a multiple model predictive control
that should be applied during the subsequent process. Raw
based on fuzzy decision mechanism. The validity of the pro-
water inlet valve is placed after the owmeters to control the
posed control strategy was veried using a water tubular heat
quantity of water owing into the plant.
exchanger system. Guolian et al. [10] proposed MMPC based
Fig. 1 illustrates the coagulation chemical dosing unit of
on fuzzy adaptive weighted algorithm to control the steam
Rietvlei water treatment plant. It is made up of a concrete mix-
temperature of a thermal power plant under a wider range of
ing tank with inlet and outlet channels. There are four metring
load changes.
or dosing pumps that are used for dosing chemicals into the
Bagheri et al. [2] proposed MMPC based on adaptive
inuent raw waters owing into the treatment plant. Two of
weighting matrices to improve the performance of a general
the pumps are on active position and the remaining two pumps
predictive control (GPC) applied to a multivariable pH neu-
are on redundant position. One of the active pumps feeds poly-
tralisation process. Shamasaddinlor et al. [21] proposed
electrolyte solution while the other feeds ferric chloride solution
MMPC algorithm using the fuzzy weighting decision making
into the concrete mixing tank. The polyelectrolyte solution is
scheme for single-input and single-output pH neutralisation
referred to as sudoc 3835, a blend of epichlorohydrin/dimeth-
process control. However, the application of their proposed
ylamine (polyamine) and aluminium chlorohydrate [17]. The
scheme to multiple-input and multiple-output (MIMO) sys-
pumps are controlled by programmable logic controllers
tems was recommended. In all these previous studies, research-
(PLCs) that are connected to the plants supervisory control
ers have demonstrated the capabilities of MMPC to control
nonlinear systems with interesting results.
In this paper, the design, application and performance of
MMPC strategy to coagulation chemical dosing unit for water
treatment plants are examined and studied. The motivation of
this study is to demonstrate that MMPC is suitable for effec-
tive coagulation control and optimisation of chemical reagents
that are used for water treatment process. The control
approach includes the development of MPC local controller
for each distinct operating region of a chemical dosing unit.
A switching scheme is developed to select the appropriate
model/controller pair that could adequately represent the cur-
rent operating condition of the unit from the model/controller
bank. The surface charge and pH level of the chemically trea-
ted water are regulated to meet the desired target quality levels
by manipulating the ow rates of the primary coagulant, co-
coagulant and hydrated lime ow rates. Rietvlei water treat-
ment plant, South Africa is selected for this study. The process Figure 1 Coagulation chemical dosing unit of Rietvlei water
modelling of the chemical dosing unit of the plant is presented. treatment plant.
Coagulation process control in water treatment plants using multiple model predictive control 941
Thus, (15) can be expressed as: chemicals used for the process. This would be achieved in this
dX 3 study by manipulating the ow rates of the primary coagulants
V HCO
3in qin C5 H12 ON n in Alin qa qa , co-coagulant qb and hydrated lime reagents qc in
dt
2 order to keep the SC and pH values of the chemically treated
Fe3
in qb Cain qc Xqout 16 water at the desired set point levels determined by the plants
The dissociation equation for water is operators. The main challenge in this process is the presence
of severe uctuations in the raw water quality caused by daily
H OH kw 1014
17 and seasonal changes in weather conditions, variations in
Substituting (8) into (17) gives a quadratic expression: water dam level and demands by consumers, heavy rainfall/
2
oods, industrial efuents and agro-allied activities. The pres-
H XH kw 0 18 ence of nonlinearity in the system dynamics and varying oper-
The solutions of the equation (18) are written as: ating conditions could also affect the performance of the
r ! chemical dosing unit. These identied operational challenges
X 4kw must be handled by the control scheme to meet the water qual-
if X < 0; thenH 1 2 1
2 X ity target at the minimum operational cost. Control system for
p adequate coagulation control should meet these highlighted
if X 0; thenH kw 19 control objectives and also keep the input and the output vari-
r !
X 4kw ables within the safe and acceptable operational limits.
if X > 0; thenH 1 2 1
2 X
2.4. Multiple model predictive control (MMPC)
The concentration of the hydrogen ions H may be
expressed in the logarithmic function as: The deployment of model predictive control (MPC) in several
pH log H
20 industrial applications has been very successful as a result of its
ability to handle multivariable control problems with con-
The expression for the surface charge (SC) of the raw water straints on the system variables[16]. The principle of operation
is obtained as [3]: of MPC involves establishing the dynamic model of the system
12 to be controlled and specifying the physical constraints on the
2
r njT sinh 1:15pH0 pH 21 system variables. The objective of the MPC is to determine the
p
control input sequence that minimises a given performance
where r surface charge (SC), j Boltzman constant, T temper- index or cost function J, based on a desired output trajectory
ature, relative dielectric permittivity, pH0 pH at point of zero over the prediction horizon P. From the calculated input
charge and n ionic strength. sequence, only the rst sample is applied to the process. The
From (16), (20) and (21), a system of differential and alge- entire procedure is repeated at the next sampling instant,
braic equations (DAE) that describes the dynamics of the according to the receding horizon strategy [7,11,23].
coagulant dosage system is formed. The surface charge and For a system with varying operating regions, the MPC is
pH are the controlled output variables while the coagulant ineffective to minimise the transition time and reduce the
ow rate qa , co-coagulant ow rate qb and pH adjustment amount of substandard products produced during transition.
chemical ow rate qc are the control input variables of the A well established approach is to decompose the full range
model. of the systems operation into a number of operating regions
or regimes. A local model and/or MPC local controller is
2.3. Control problem description developed for each region. These local model/controller pairs
are integrated together or synthesised to produce a global
The control objective of an effective control system for coagu- model and controller generally referred to as multiple model
lation in water treatment plants is to optimise the quantity of predictive control strategy [18].
Figure 4 Set point tracking performance of the MMPC strategy To account for the plant-model mismatch, the actual refer-
on the chemical dosing unit.
ence trajectory, rk is corrected to avoid optimal control in
open-loop sense [11]. The MPC therefore is presented with
set points that use the current plant output as feedback, an
where equivalent of integral action. This estimates the plant-model
mismatch or disturbance estimate as:
X
P X
ny
y 2
S y k wj rc;j k i yj k 1 28 ek yk ym k 34
i1 j1
where yk and ym k are the plant and model outputs at
X
M nu n
X o2 instant k, respectively. The disturbance estimate is assumed
S u k wuj uj k i 1 uj 29 constant throughout the predicted horizon, P. The actual ref-
i1 j1 erence trajectory for the MPC is corrected with the disturbance
estimated to give the desired reference trajectory as:
X nDu n
M X o2
SDu k wDu rc k rk ek 35
j Duk i 1 30
i1 j1
For the chemical dosing unit in this study that has two out-
subject to: put variables and three input variables, the weights matrix of
each MPC local controller are dened as follows.
umin 6 uk i 1 6 umax ; for i 1 to M 31
wDuj diagRDu1 ; RDu2 ; RDu3 36
Dumin 6 Duki1Duki2 6 Dumax ; for i 1 to M 32
wuj diagR1 ; R2 ; R3 37
ymin 6 yk i 6 ymax ; for i 1 to P 33
wyj diagQ1 ; Q2 38
where rc k is the vector holding the corrected reference trajec-
tory, yk jjk is the j-step ahead predicted output given the where RDu1 ; RDu2 ; RDu3 ; R1 ; R2 ; R3 ; Q1 and Q2 are the eight
present output measurements, wyj is the positive denite output weight coefcients in [0, 1] that can be adjusted by the designer
error weighting matrix, wDu is the positive semi denite input to minimise deviation of the two output variables from their
j
weighting matrix. uj is the nominal value of input j. set point values or track their set points satisfactorily.
The weighting matrices and the prediction horizon param-
eters, P, and the control horizon M are the tuning parameters 2.4.4. Switching mechanism
which can be used to shape the closed-loop response of the sys- The switching algorithm for the proposed MMPC strategy is
tem [25]. The choice of prediction horizon P especially when realised as follows [8,9]:
it is large improves the nominal stability of the closed loop sys-
tem. However, smaller values may easily lead to unstable sys- Compute the performance index of each local model l
tem [23,6,14]. using:
946 O. Bello et al.
Il c1 e2l c2 Rkik0 qik0 e2l k l 2 1; N 39 in Tables 2 and 3 were used for the development and simula-
tion of the local models and MPC local controller respectively.
where c1 > 0; c2 > 0; q 2 0; 1 are tuning parameters, k0 is
the sampling instant when the change happens and 3.1. Set point tracking performance
el k yk yl k l 1; 2; . . . ; N 40
Calculate and compare the performance index in (40) every Fig. 4 shows the performance of the MMPC scheme when set
sampling instant. points changed abruptly at time, t = 6 h from
Generate the switching variables S l k from 9 106 leq=mg, 7 pH) to 1:8 106 leq=mg, 9.5 pH)
0 1 and remained there for 6 h. At t = 12 h, the set point changed
and moved to 5:5 105 leq=mg, 5.5 pH) and at t = 18 h,
Sl k H@ |{z}
min Il k Il kA 41 the set point changed nally to 5 106 leq=mg, 7.5 pH). It
l21;N is observed that the MMPC scheme tracks the changes in set
The switching scheme is implemented by calculating and points satisfactorily. The control moves of the manipulated
comparing the performance indices every sampling instant, variables are shown in Fig. 5.
generating the switching variables S l k from (42) where
H x is the Heaviside unit step function given by: 3.2. Disturbance rejection performance
1 xP0 In the next simulation study to examine the performance of the
Hx 42
0 x<0 proposed control scheme to reject disturbances, a sinusoidal
noise (frequency of 100 rad s1) was added to the output of
3. Simulation results and discussion the chemical dosing unit. In addition, disturbances represented
by step change in the ow rates of the hydrated lime and ferric
chloride were injected to the dosing unit at t = 6 h and
In this section, simulation studies were carried out to evaluate
t = 12 h respectively. The set points were set for SC and pH
the performance of the MMPC on the chemical dosing unit.
as 0.000005 leq/mg and 7.4 respectively. Fig. 6 illustrates the
The whole operating region of the system was dened and par-
MMPC performance when perturbations were introduced to
titioned into three local operating regions as shown in Table 1.
the system. Fig. 7 shows the trajectory of the control inputs
For each of these local regions, a linearised model was devel-
to the chemical dosing unit. The simulation result shows that
oped. Using these linearised models, three MPC local control-
MMPC is robust against the added noise and step input sig-
lers were designed to control the dosing unit. The parameters
nals. It demonstrates very good ability to reject disturbances
in form of sensors measurement error, faults, change in daily
water demand and water quality variations that may occur
during the water treatment process.
Appendix A. Appendix
References
Operating regions of the coagulation chemical dosing unit
[1] A. Adgar, C.S. Cox, C.A. Jones, Enhancement of coagulation
control using the streaming current detector, Bioprocess Biosyst.
I. Underdose operating region Operating point = Eng. (2005) 349357.
5:73 105 leq=mg 5.9 pH unit] [2] P. Bagheri, V. Mardanlor, A. Fatehi, Multiple model predictive
State space matrix: control of multivariable pH process using adaptive weighting
2 3
1:078 1:588 106 1:887 106 9:385 107 2:815 106 matrices, in: Proceedings of the 18th IFAC World Congress,
6 7 2011 Milano, 2011, pp. 1236612371.
6 4:026 0:174 0:1157 0:05787 0:1736 7
6 7
A6
6 0 0 0 0 0 7
7 :1 [3] O. Bello, Y. Hamam, K. Djouani, Dynamic modelling and
6 7 system identication of a coagulant dosage system for water
4 0 0 0 0 0 5
0 0 0 0 0 treatment plants, in: Proceedings of the 3rd International
Conference on Systems and Control, 2013, Algiers, 2013.
2 3 [4] A. Bemporad, A. Morari, M. Morari, N.L. Ricker, 2013, Model
0 0 0
6 7 Predictive Control Toolbox: Users Guide, Natick, The
60 0 07 MathsWorks, 2013.
6 7
B6
61 0 077 :2 [5] City of Tshwane. S.a., Rietvlei Water Treatment Plant. <http://
6 7 www.tshwane.gov.za> (accessed 20.01.13).
40 1 05
[6] D. Dougherty, D. Cooper, A practical multiple model adaptive
0 0 1 strategy for single-loop MPC, Control Eng. Pract. 11 (2003)
" # 141159.
1:078 1:588 106 1:887 106 9:385 107 2:815 106 [7] M. Galvez-Carrillo, R. De Keyser, C. Ionescu, Nonlinear
C :3
4:026 0:174 0:1157 0:05787 0:1736 predictive control with dead-time compensator: application to
a solar power plant, Sol. Energy 83 (2009) 743752.
948 O. Bello et al.
[8] L. Giovanini, M. Grimble, Predictive feedback control, in: [19] G. Pannocchia, Robust disturbance modelling for model
Proceedings of the 42nd IEEE Conference on Decision and predictive control with application to multivariable ill-
Control, vol. 1, 2003, pp. 923928. conditioned processes, J. Process Control 13 (2003) 693701.
[9] M. Gopinathan, J.D. Boskovic, R.K. Mehra, C. Rago, A [20] C.R. Porrio, E. Almeida Neto, D. Odloak, Multi-model
multiple model predictive scheme for fault-tolerant ight control predictive control of an industrial C3/C4 splitter, Control Eng.
design, in: Proceedings of the 37th IEEE Conference on Pract. 11 (2003) 765779.
Decision and Control, vol. 2, 1998, pp. 13761381. [21] A. Shamasaddinlor, A. Fatehi, A.K. Sedigh, M.M. Karimi,
[10] H. Guolian, Z. Jinfang, L. Junjun, Z. Jianhua, Multiple model Study of multiple predictive control on a pH neutralisation
predictive control based on fuzzy adaptive weights and its plant, in: Proceedings of the 9th Asian Control Conference,
application to main steam temperature in power plant, in: Istanbul, 2013.
Proceedings of 5th IEEE Conference on Industrial Electronics [22] X. Shenggang, Z. Lifang, M. Ailiang, Z. Luwen, A new
and Applications, 2010. switching scheme for multi-model predictive control using
[11] B. Grosman, D.R. Lewin, MPC using nonlinear models clustering modelling, in: Proceedings of the Fifth International
generated by genetic programing, in: G. Raqul, J. Sten Bay Conference on Fuzzy Systems and Knowledge Discovery, 2008,
(Eds.), Computer Aided Chemical Engineering, Elsevier, 2001. pp. 484488.
[12] A.W. Hermansson, S. Syae, S.B. Mohd Noor, Multiple model [23] R. Shridhar, D.J. Cooper, A novel tuning strategy for
predictive control of nonlinear pH neutralisation system, in: multivariable model predictive control, ISA Trans. 36 (1997)
IEEE International Conference on Industrial Engineering and 273280.
Engineering Management, Macau, China, 2010, pp. 301304. [24] M. Soliman, O.P. Malik, D.T. Westwick, Multiple model
[13] N. Li, S. Li, Y. Xi, Multi-model predictive control based on the predictive control for wind turbines with doubly fed induction
TakagiSugeno fuzzy models: a case study, Inform. Sci. 165 generators, IEEE Trans. Sustain. Energy 2 (2011) 215225.
(2004) 247263. [25] C. Yu, R.J. Roy, H. Kaufman, B.W. Bequette, Multiple-model
[14] F. Manenti, Considerations on nonlinear model predictive adaptive predictive control of mean arterial pressure and cardiac
control techniques, Comput. Chem. Eng. 35 (2011) 24912509. output, IEEE Trans. Biomed. Eng. 39 (1992) 765778.
[15] A.H. Mazinan, N. Sadati, Fuzzy multiple model predictive [26] J. Zeng, D. Xue, D. Yuan, The study of multiple model
control of tubular heat exchanger, in: IEEE World Congress on predictive control in wastewater treatment processes, in:
Computational Intelligence, Hong Kong, 2008, pp. 18451852. Proceedings of the Seventh International Conference on
[16] M. Morari, J.H. Lee, Model predictive control: past, present and Machine Learning and Cybernectics, Kunming, 2008, pp.
future, Comput. Chem. Eng. 23 (1999) 667682. 21662169.
[17] NSF International, NSF Product and Service Listings, 2013. [27] J. Zhang, J. Morris, Nonlinear model predictive control based
<http://info.nsf.org/> (accessed 19.08.13). on multiple local linear models, in: Proceedings of the American
[18] L. Ozkan, M.V. Kothare, C. Georgakis, Control of a solution Control Conference, Arlington, VA, 2001, pp. 35033508.
copolymerisation reactor using multi-model predictive control,
Chem. Eng. Sci. 58 (2003) 12071221.