Vous êtes sur la page 1sur 6

Control of a bioreactor using feedback

linearization
Fabiola Angulo1 , Rafael Muñoz and Gerard Olivar
Department of Electrical and Electronic Engineering and Computer Science
Universidad Nacional de Colombia, Campus La Nubia. Manizales-Colombia

Abstract— In this paper a feedback linearization control [5]. However some obstacles are presented to apply the
(FLC) strategy was developed and tested for controlling AD technology, basically for three reasons: the process
chemical oxygen demand (COD) degradation in an up- can become unstable under some circumstances, it has
flow anaerobic sludge blanket (UASB) reactor used for
leachate treatment. The strategy developed allows regulation difficulty for an optimal operation and it lacks suitable
of the COD concentration at the output stream of the control algorithms [6]. This last topic has shown an
reactor without varying the flow rate, instead we use the important improvement because of the effort made by the
temperature as the input control signal. This alternative scientific community in this area. The literature reports
shows a good perspective for controlling industrial scale several control strategies to regulate the chemical oxygen
reactors with high organic loads and limitations for volume
expansion. The control approach is based on a simple model demand (COD) in the output stream of the anaerobic
to describe the process and an asymptotic observer to system, using the feed rate as a control action. The
estimate the state variables. purpose of this research is to evaluate the feasibility of
a feedback linearization control strategy, considering the
I. I NTRODUCTION temperature as a control action, implemented in an up-
Studies carried out by the Global Environment Moni- flow anaerobic sludge blanket (UASB) reactor for the
toring System (GEMS) have shown a significant growth in treatment of a diluted leachate stream produced in the
pollution of natural resources, due to the accelerated activ- Municipal Landfill La Esmeralda of Manizales-Colombia.
ity from the development centers. This fact has promoted The UASB reactor was developed by Dr. Lettinga and
the creation of environmental rules in order to guarantee a his colleagues from Wageningen University, in the late
limit to the quantity of toxic matter released in industrial 1970’s [7]. This reactor lets high retention of biomass
and urban effluents [1]. The wastewater treatment plants without any support material, through the formation of
(WWTP) have been developed as a solution to mitigate sludge granules of 0.5-2 mm diameter with exceptional
the contamination problem. properties of settling. There is a close correlation between
The municipal landfills produce a complex effluent, com- efficiency of a UASB reactor and development of gran-
posed of a number of household products such as paint, ular sludge. Granulation not only significantly enhances
garden pesticides, pharmaceutical products, photographic the settleability of biomass leading to effective bacterial
chemicals, detergents, personal care products, fluorescent retention in the reactor, but also improves physiological
tubes, waste oil, heavy metal containing batteries, wood conditions making them favorable for bacteria and their
treated with dangerous substances, electronic waste, elec- interactions, especially syntrophs in the anaerobic system
trical equipment and chemical residues [2]. This effluent [8].
is called leachate, which is formed by the biochemical de- The paper is organized in the following way, section II is
composition of wastes or as result of the water percolation devoted to physical system, section III is related to control
in ground layers or another permeable solid material. The technique, section IV presents results and in the section
leachate is a product of complex phenomena produced V are the conclusions.
from interactions between filtered water and wastes. As
alternative for leachate treatment the anaerobic diges- II. P HYSICAL SYSTEM
tion (AD) offers a suitable solution [3]. The anaerobic This study was performed at the Laboratory of Produc-
digestion is accomplished in the absence of molecular tive Process from the National University of Colombia
oxygen. The degradation of complex substrates involves at Manizales, using an 8.17 l lab scale equipment with
a complex network of different types of microorganisms. a 10.5 ml/min average flow rate. The reactor was made
Full conversion to methane and carbon dioxide results of a 147.5 cm high circular Plexiglas column with 8.4
from a biological chain reaction. In this reaction, one type cm inside diameter. This system counts with a jacket to
of microorganism generates the substrate consumed by the regulate the temperature of the reactor by means of a 70W
subsequent organism in the chain [4]. The chain reaction electrical resistance. The reactor sketch is illustrated in
is carried out in four steps: hydrolysis, acidogenesis, Fig. 1. In this paper we are focused in phenomenological
acetogenesis and methanogenesis. The AD consolidates model of the process (white box model). This kind of
itself as a potential alternative, a cause of its advantages models are based on the physiologic state of the bacteria,
associated with the sludge disposal, renewable energy interaction between phases, ionic equilibrium and the
generation, economic costs and environmental benefits hydraulic behavior of the reactor. The complexity for
kmet = 0.0146ml-CH4/mg/l-VSS, are the yield coeffi-
cients for COD degradation and methane production and
Qmet is the methane produced (ml/day). The parameter
η = 0.93 (0 ≤ η ≤ 1) is associated with the settling
efficiency, which allows a high biomass retention. The
term ΘT −20 includes the temperature influence as in
[13]. In particular Θ = 1.04 is the temperature activity
coefficient and T is the temperature. The subscript o
indicates influent concentration. The specific growth rate
is given by Monod expression as:
S
µ = µmax (4)
K +S
where K = 5522.3 mg-COD/l is the Monod constant
and µmax = 1.32day−1 is the maximum biomass growth
rate. In some works Xo is neglected, however in this
particular case, influent concentration of biomass is taking
Fig. 1. Reactor sketch. into account, because landfills can be considered as fixed
bed reactors where microorganisms growth is favored and
they belong to the leachate. The model found above is
modelling this kind of process is even higher compared to analogous to the model presented in [14] for an anaerobic
other biotechnological process, because of the variety of upflow fixed bed reactor.
microorganisms involved (which are not perfectly known)
and the substrate to be treated is often a blend of several
III. C ONTROL SYSTEM
very different and complicated substrates whose composi-
tions are evolving and are not perfectly known [9]. One of This part shows the asymptotic observer and the control
the most critical parameters for modelling of a bio-process technique used.
is the specific growth rate, which describes the bacterial
activity based on kinetic laws. Several expressions for
A. Asymptotic observer design
this parameter are found in the literature [10]. Modelling
bacterial activity is a hard job, which can be as complex as One of the main limitations for the monitoring, opti-
the modeler wishes. The used model is associated with a mization and control of a biological wastewater system
goal. When the goal is related with a control purpose, is the unavailability of on-line sensors for critical process
it is necessary taking into account the model to be variables, which, generally, have a high cost or simply
developed must have a simple structure, which describes have not been developed. This obstacle has been over-
the process with acceptable accuracy. This structure may come by means of software sensors (observers) that allow
allow to develop control strategies. In this sense, in our the estimation of variables, using measurements easy to
model, microorganism colonies are gathered into volatile take with software tools. Advantages and drawbacks of
suspended solids (VSS) and substrates are gathered into these observers are presented in [15]. The asymptotic
chemical oxygen demand (COD). observer (so called unknown kinetics observer) is de-
For modelling reactors, it is required the hydraulic charac- signed on the basis of a suitable change of variables via
terization of the system. For the system studied, a tracer a linear transformation of the state vector [1] and it is
test with sodium chloride (NaCl) was carried out. The necessary to know the yield coefficients of the model.
equations presented in the following correspond to the In a previous work [16], a observer was designed and
developed model. This model was validated in [11] by tested, considering the volatile fatty acids. At the end of
means of reactor operation data for a ten months time this paper, we propose the methane measurement as the
period. This model showed a 27.53% maximum error per- only variable for the virtual sensor.
centage, a 5.8% minimum and a 84% average accuracy. In the following, we construct an open loop observer,
This result agrees with the conclusions presented in [12]. considering methane measurement. From (1) and (2), we
obtain:
dS
= D(So − S) − Y ΘT −20 µX (1) dSb
dt = D(So − S) b − Y Qmet (5)
dt kmet
dX
= D(Xo − (1 − η)X) + ΘT −20 µX (2)
dt b
dX b + Qmet
T −20 = D(Xo − (1 − η)X) (6)
Qmet = kmet Θ µX (3) dt kmet
where D is the dilution rate (days−1 ), S and X are the Note that the convergence rate of the observer can not be
concentrations of COD (mg/l) and VSS (mg/l), µ is the adjusted. Notation b indicates the estimated value for state
specific growth rate, Y = 3.35mg-COD/mg-VSS and variables.
 
e+So )(X+X
(S e o)
B. Feedback linearization control −Y µmax
 e+So )(1−η)
(K+S 
Control of AD process has been studied through several e X)
g(S, e =  (15)
 
approaches such as PID, fuzzy logic, neural networks, e+So )(X+X
(S e o)
µmax
feedback linearization control (FLC), adaptive control e+So
K+S

and others [17], [18]. Most of them use the flow rate h i
e X)
y = h(S, e = Se (16)
as the control action. In this work, we study a control
alternative, using the temperature as the manipulated e X)
e matrix is represented
Note that f (0)=0. The Wc (S,
variable, because of its influence in the reaction rate and
as:
degradation level of organic matter. This approach allows h i
the COD regulation maintaining a constant flow rate. e X)
Wc (S, e = g(S, e X)
e : adf g(S, e X)
e (17)
The controllability of the state is a very important property
of the system, since it allows to reach any state through Making the operations for the Lie bracket and analyz-
the input of the system. Before the choice of the control ing the determinant of Wc , the nonlinear controllability
strategy, it is important to know if a control of COD by matrix has range = 2 if Se 6= -So , X e 6= -Xo and D
means of the temperature action is possible. For linear 6= 0. These conditions are always fulfilled. The physical
systems the controllability is very well defined. For non- interpretation is too intuitive: D=0 implies no feeding, Xe
linear systems we use the Lie brakets for characterizing = -Xo would imply washout phenomenon, however this
the controllability property [19]. state is not possible for our case since the existence of
A nonlinear system, with n state variables, one input and biomass concentration in the input flow. Finally Se = -So
q outputs is expressed as: implies perfect removal, which is not possible in practice.
Then the original system always evolves in the first
ẋ = f (x) + g(x)u (7) quadrant of the plane S-X. Considering the temperature
as the input control signal and the concentration of the
y(t) = h(x) (8) transformed system (S) e as the output of the system, and
applying the previous condition of controllability, we find
where x is the state vector (x ∈ Rn×1 ), u is the control
that it is possible to control it. In particular we proceed
input (u ∈ R), y is the output vector (y ∈ Rq×1 )
to describe Feedback Control Linearization. The central
and f (x), g(x) and h(x) are functions of the state with
idea of FLC is to algebraically transform a nonlinear
dimensions n × n, n × 1 and q × 1 respectively. f and
system dynamics into a linear one [20]. The control law
g are smooth vector fields on some open set X ⊆ Rn
must be designed for guaranteeing that error dynamics
containing 0, with f (0) = 0. In this system the nonlinear
(deviation of the variable with the set point) is governed
controllability matrix is defined by:
by a stable differential equation [10]. The conditions for
£ ¤
Wc (x) = g(x) : adf g(x) : ... adn−1 f g(x) a feedback linearization are: a) the system is reachable
(9) (already proved), and b) the distribution ς defined as ς
where adf g(x) is the Lie bracket of f and g, defined by: e X)
= g(S, e is involutive. To generate a direct relationship
between the output (S) e and the input (ΘT −20 ), the output
adf g(x) = [f, g] = ∇gf − ∇f g (10) has to be differentiated one time (equation (12)).
The following control law:
If the matrix Wc (x) has full range n, the system is
reachable, condition equivalent to the definition of the v + DSe
controllability for linear systems. For our system the ΘT −20 = (18)
e+So )(X+X
−Y µmax (S e o)
output is the COD concentration in the exit stream (due to (K+Se+So )(1−η)
observer estimation) and the control input is represented
in terms of ΘT −20 . induces a dynamics linear equation between Se and v,
Considering the change of variables: where v is the new input to the closed loop. Deviation
between Se and the set point Se∗ is given by the error (e
e):
Se = S − So and X
e = (1 − η)X − Xo (11)
ee = Se∗ − Se (19)
equations 1 and 2 are written as:
The stability condition for error dynamics, is achieved if:
dSe (Se + So )(X
e + Xo )
= −DSe − Y ΘT −20 µmax
dt e
(K + S + So )(1 − η) eė + λe
e=0 (20)
(12)
e e e where λ is a positive constant. Then
dX e + ΘT −20 µmax (S + So )(X + Xo )
= −D(1 − η)X
dt K + Se + So v = λ(Se∗ − S)
e (21)
(13)
We can represent the system in companion form: Finally, the control law is:
" # λ(Se∗ − S)
e + DSe
−D Se ΘT −20 = (22)
e X)
f (S, e = (14) e+So )(X+X
−Y µmax (S e o)
−D(1 − η)X e
(K+S e+So )(1−η)
Substituting into the equation (12), we have: 550 436

S (mg/l COD)

S (mg/l COD)
dSe 434
= λ(Se∗ − S)
e (23) 500
dt 432

Until now, the control law guarantees the goal for Se 450 430

regulation. However we do not know how the biomass 428


0 5 10 15 (B) 0 5 10 15
behavior would be. Due to the differentiation of Se to
(A) time (d) time (d)

obtain a relationship between the output and the input,


436 436
the system has relative degree one, which produces the

S (mg/l COD)

S (mg/l COD)
434 434
so-called internal dynamics [20]. In our case, the internal
dynamics is the biomass. The stability of the internal 432 432
dynamics can be studied from 430 430

z˙2 = −ηz1 − D(1 − η)z2 (24) 428


0 5 10 15
428
0 5 10 15
(C) time (d) (D) time (d)
taking into account z1 is stable, D > 0 and 0 < η <
1, then the equation (24) is stable for any operational Fig. 2. Simulations Open Loop vs. FLC. (A) Open loop response. (B)
FLC with λ = 1. (C) FLC with λ = 5. (D) FLC with λ = 10
point and the system is linearizable with a stable internal
dynamic. A complete study of the internal dynamic is
given in [21].
IV. M AIN RESULTS
The control law obtained is influenced by the selection 600
of λ parameter. For studying this relationship, some
simulations were carried out, considering as operational 500
S* (mg/l COD)

conditions: D =2.0 day−1 , So = 2700 mg/l COD, Xo


400
=320 mg/l VSS and changing So to 3500 mg/l COD when
t = 2 days. The reference value was set to S ∗ =428.8 mg/l 300

COD. The open-loop system response is compared with


200
the closed loop system for different values of λ in Fig. 2.
For the first two days, all the loops are in the equilibrium 100 5000
state, corresponding with the parameter S ∗ . When the 40
35
4000

disturbance in So is applied, the open loop converges 30


2000
3000

T (ºC) 25 So (mg/l COD)


towards another equilibrium, while the closed loops go 20 1000

back to the equilibrium point defined by the set point


and the disturbance is efficiently rejected. For increases Fig. 3. Surface S ∗ − So − T .
in λ, the settling time and the overshoot decreases. Thus,
from a theoretical point of view, making λ → ∞, the
closed loop would have better performance. However, it define a limit for So . These conditions are defined by the
is known that the system has physical limitations and it is upper limit of COD concentration at the input stream.
not possible to force it more than its inherent conditions Figure 3 give us an idea of the controllability space of
would allow. Then the selection of λ is a compromise the system, since it is linearizable in all state space.
between the capacity of the actuator and the convergence However, it is only possible to control it in a region
rate. of this space, due to the limitations of the actuator. In
the implementation, the upper limit for the temperature
Figure 3 relates the state variable S in equilibrium for was defined as 30C. For this limitation, the minimum
fixed values in the temperature of the system and the value possible for S ∗ is 255.75 mg/l COD, with So
substrate concentration at the input stream. It is evident = 1500 mg/l COD. The saturation phenomenon of the
that a high removal percentage of organic matter (smaller actuator has other physical implications. For example,
value in S ∗ ), implies a high temperature. Note that when the convergence rate of the system to reach the operation
So increases, S ∗ increases too, however the removal point S ∗ depends on the initial conditions.
percentage is favored when So is high. For example,
with Xo = 320 mg/l VSS and D = 2.3 day−1 , when The experiment was carried out over a 6 days period.
So = 1500 mg/l COD and T = 20C, S ∗ is 368.91 mg/l The observer was initialized with the next conditions:
COD, having a COD removal percentage of 75.41%. On S(0) = 1422 mg/l COD and X(0) = 8000 mg/l VSS and
the contrary, for So = 4500 mg/l COD and T = 20C, S ∗ the set point was fixed at 550 mg/l COD. The λ value
is 584.77 mg/l COD, which represents a COD removal was set at 10.
percentage of 87.01 %. This characteristic is particular The results from the closed loop system is shown in
for this kind of systems (high rate). However, due to the Fig. 4, for disturbances in So and D. The deviations of
possibility to find inhibition conditions, it is important to the observer are shown in Table I, where S is compared
with off-line measurements (which were determined in stability of the closed loop system. The results show an
accordance to APHA AWWA and WPCF [22]. alternative to increase the organic matter load in systems
with spacial limitations.
Note that the control goal is achieved successfully. The The improvement of the model, taking into account four
settling time is greater than the settling time resulting state variables and the development of a closed loop
from the simulations (Figure 2 (D)), which, as it has been observer is the objective of a future work. The observer
said before, is the result of the limitations of the system. will be coupled with multivariable control strategies that
The observer has, in the first three data, a significant consider the variability of the model parameters. In this
deviation from the real values of S, but in the last points sense, a first study about application of a model predictive
the convergence is evident. It is important to clarify that control strategy was developed too. There is an explo-
the performance of the observer is attached with the ration to implement this strategy in the UASB from the
model accuracy, and in this sense the deviations are in Municipal Landfill La Esmeralda, establishing the biogas
accordance with the model obtained. Thus, it is necessary produced in the reactor as the energy source for heating.
to improve the model to get a better performance in the
observer. R EFERENCES
1500 40 32
Sobs [1] V. Alcaraz-Gonzlez, J. Harmand, A. Rapaport, J.P. Steyer, V.
*
Gonzlez-Alvarez, and C. Pelayo-Ortiz, “Software sensors for
S, (mg/l COD)

S 35 30
Qmet (ml/d)

S highly uncertain WWTPs: a new approach based on interval


offline
T (ºC)

1000 30 28 observers,” Water Research, vol 36 (10), pp. 2515–2524, 2002.


[2] R.J. Slack, J.R. Gronowb, and N. Voulvoulis, “Household haz-
25 26 ardous waste in municipal landfills: contaminants in leachate
(Review),” Science of the Total Environment, 337 (1-3), pp. 119–
500 20 24
0 5 0 5 0 5 137, 2005.
time (d) time (d) time (d) [3] O.N. Agdag, and D.A. Sponza, “Anaerobic/aerobic treatment
8000 of municipal landfill leachate in sequential two-stage-upflow
2.2
anaerobic sludge blanket reactor (UASB)/ completely stirred tank
7000 reactor (CSTR) systems,” Process Biochemistry, vol 40 (2), pp.
So (mg/l COD)

2.1
895–902, 2005.
D (d−1)

6000
2 [4] R. Kleerebezem, and H. Macarie, “Treating industrial wastewater:
5000 anaerobic digestion comes of age,” Chemical Engineering, vol
1.9
4000 110 (4), pp. 56–64, 2003.
1.8 [5] P.D. Zakkour, M.R. Gaterell, P. Griffin, J.R. Gochin, and J.N.
3000
0 5 0 5 Lester, “Anaerobic treatment of domestic water in temperate cli-
time (d) time (d) mates: treatment plant modelling with economics considerations,”
Water Research vol 35 (17), pp. 4137–4149, 2001.
Fig. 4. Response of the closed loop system. [6] J.P. Steyer, J.C. Bouvier, T. Conte, P. Gras, and P. Sousble,
“Evaluation of a four year experience with a fully instrumented
anaerobic digestion process,” Water Science and Technology, vol
45 (4-5), pp. 495–502, 2002.
TABLE I
[7] C.Y. Lin, F. Chang, and C. Chang, “Treatment of Septage
DEVIATION OF THE OBSERVER. Using an Upflow Anaerobic Sludge Blanket Reactor,” Water
Environment Research, vol. 73(4) pp. 404–408, 2001.
Sof f −line b
S Error percentage [8] K.Y. Show, Y. Wang, S.H. Foong, and J.H. Tay, “Accelerated
(mg/l COD) (mg/l COD) of the estimation start-up and enhanced granulation in upflow anaerobic sludge
blanket reactors,” Water Research, vol 38 (9), pp. 2293–2304,
880.92 640.39 27.3 2004.
848.85 609.21 28.23 [9] O. Bernard, “Obstacles and challenges for modelling biological
812.63 550.76 32.22 wastewater treatment processes,” Proceedings of the Colloque
Automatique et Agronomique AutoAgro, Montpellier, France, pp.
623.69 551.19 11.62 22–24, January 2003.
592 550.2 7.1 [10] G. Bastin, and D. Dochain, On-line Estimation and Adaptive
592 551.2 6.9 Control of Bioreactors, pp. 260–339. Elsevier, Amsterdam. 1990.
[11] R. Muñoz-Tamayo, Design and Performing of COD Control
System in an UASB Pilot Reactor for Leachate Treatment 49p,
in Spanish. Thesis presented in Master of Engineering: Industrial
V. C ONCLUSIONS AND FUTURE WORK Automation. Universidad Nacional de Colombia Sede Manizales.
2006
This study presented the feasibility for COD regulation [12] O. Bernard, B. Chachuat, A. Hlias, and J. Rodriguez, “Can
in an UASB, using the temperature as control action, we assess the model complexity for a bioprocess? theory and
example of the anaerobic digestion process,” Water Science and
which has been demonstrated by means of the nonlinear Tecnology, vol 53 (1), pp. 85–92, 2006.
controllability matrix analysis. The PI, fuzzy and feed- [13] R. Crites, and G. Tchobanoglous, Small and decentralized
back linearization strategies were evaluated by means of wastewater management systems, 414p, Mc Graw Hill, Boston,
1998.
simulation and reported in other paper [21]. The feedback
[14] O. Bernard, Z. Hadj-Sadok, D. Dochain, A. Genovesi, and J.P.
linearization strategy was superior than others, and its Steyer, “Dynamic Model Development and Parameter Identifica-
implementation was easy to make. The obtained control tion for an Anerobic Wastewater Treatment Process,” Biotechnol-
law is based on the feedback linearization of the pro- ogy and Bioengineering, vol 75 (4), pp. 424–438, 2001.
[15] D. Dochain, “State and parameter estimation in chemical and
cess model, and considering the state estimation through biochemical processes: a tutorial,” Journal of Process Control,
an open loop observer. The control law guarantees the vol 13 (8), pp. 801–818, 2003.
[16] R. Muñoz-Tamayo, and F. Angulo-Garca, “Approach of state
estimation in an UASB reactor,” Colombian Journal of Advanced
Technology of the University of Pamplona, vol 1 (7), pp. 27–33,
2006. In Spanish.
[17] L. Lardon, A. Punal, and J.P. Steyer, “On-line diagnosis and
uncertainty management using evidence theory- experimental
illustration to anaerobic digestion processes,” Journal of Process
Control, vol 14 (7), pp. 747–763, 2004.
[18] L. Mailleret, O. Bernard, and J.P. Steyer, “Nonlinear adaptive
control with unknown kinetics,” Automatica, vol 40 (8), pp.
1379–1385, 2004.
[19] M. Vidyasagar, Nonlinear Systems Analysis, 1st ed., Prentice
Hall, Englewood Cliffs (New Jersey), 1993.
[20] J.J.E. Slotine, and W. Li, Applied Nonlinear Control, 1st ed.,
Prentice Hall, Englewood Cliffs (New Jersey), 1991, pp. 207-
238p.
[21] F. Angulo, R. Muñoz-Tamayo, and G.Olivar, “Feedback lineariza-
tion control of COD in an UASB reactor for leachate treatment,”
submitted, 2006.
[22] APHA AWWA and WPCF Standard Methods for the Examina-
tion of Water and Wastewater, Ediciones Daz de Santos, Madrid
(España), 1992, pp. 5–16. In Spanish.

Vous aimerez peut-être aussi