You are on page 1of 9

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/265203401

State estimation for nonlinear system diagnosis using multiple models.


Application to wastewater treatment plants

Article · September 2011

CITATIONS READS

0 172

5 authors, including:

Anca Maria Nagy-Kiss José Ragot


Luxembourg Institute of Science and Technology (LIST) University of Lorraine
31 PUBLICATIONS   361 CITATIONS    740 PUBLICATIONS   7,381 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

On the State Observer Based Stabilization View project

Elsevier Book- New Trends in Observer-based Control View project

All content following this page was uploaded by Anca Maria Nagy-Kiss on 25 November 2014.

The user has requested enhancement of the downloaded file.


State estimation for nonlinear system diagnosis using multiple models.
Application to wastewater treatment plants

Anca Maria Kiss & Benoît Marx & Gilles Mourot & José Ragot
Centre de Recherche en Automatique de Nancy,UMR 7039 – Nancy-Université, CNRS
2, Avenue de la Forêt de Haye, 54516 Vandœuvre, France
Tel./Fax.: +33(0)3.83.59.56.33 / +33(0)3.83.59.56.44
E-mail: anca-maria.nagy, benoit.marx, gilles.mourot, jose.ragot@ensem.inpl-nancy.fr

ABSTRACT: This article deals with the observer synthesis for uncertain nonlinear systems affected by un-
known inputs. In order to design such an observer, the nonlinear system is represented under the multiple model
(MM) formulation with unmeasurable premise variables. A proportional integral observer (PIO) is considered
and used for fault diagnosis using banks of observer to generate structured residuals. The Lyapunov method,
expressed through linear matrix inequality (LMI) formulation, is used to describe the stability analysis and to
the observer synthesis. An application to a model of Wastewater Treatment Plant (WWTP) is considered.

1 INTRODUCTION Matrix Inequalities) (Tanaka and Wang 2001) by us-


ing the Lyapunov method and the L2 approach.
In the field of the observer/controller synthesis, the The variable estimation results are then used for
extension of linear methods to nonlinear systems is fault diagnosis using banks of observer to generate
generally a difficult problem. The multiple model structured residuals. Several techniques can be used
(Murray-Smith and Johansen 1997) has received a to cope with the fault detection and isolation (FDI)
special attention in the last two decades, in order to problem, among them observer-based techniques are
overcome this difficulty. Then the MM approach is largely recognized (Patton et al. 2000), (Ding 2008).
a mean to deal with nonlinear systems and to design Observers are employed in a FDI framework in or-
observer for such systems and is a convex combina- der to provide an estimation of the interesting signals
tion of linear submodels. In this paper, the multiple to be monitored e.g. the outputs, the faults, etc. The
model formulation is obtained by applying a method FDI of the system is carried out by testing the time-
proposed in (Nagy et al. 2010). Only the general steps evolution of some residual signals provided by the ob-
of this technique are reminded in this paper. server. This is realized through a comparison between
Most of the existing works, dedicated to MM in system extracted signals and estimated signals. Actu-
general and to observer design based on MM in ator and sensor faults are treated.
particular, are established for MM with measurable Using these theoretical results, the diagnosis is per-
premise variables (inputs/outputs), that represents a formed for a wastewater treatment process (WWTP)
simplified situation (Tanaka and Wang 2001), (Marx modeled by an ASM1 model (Weijers 2000). The
et al. 2007). The MM under study in this paper is more measures used for simulation process are those of the
general and involves unmeasurable premise variables european program benchmark Cost 624. The choice
depending on the state variables -frequently met in of the known/unknown inputs, the measures and the
practical situations- that are not always accessible. real conditions is made by taking into account the
A proportional integral observer approach for un- properties of the Bleesbruck treatment station from
certain nonlinear systems with unknown inputs pre- Luxembourg. The numerical simulation results for the
sented under a MM form with unmeasurable premise proposed application show good state and unknown
variables is proposed in this paper. The state and un- inputs estimation performances and allow the sensors
known input estimation given by this observer is made and actuators fault detection.
simultaneously and the influence of the model uncer- The paper presents, in section 2, the proposed PI
tainties is minimized through a L2 gain. The conver- observer. Then, the sensor and actuator fault detection
gence conditions of the state and unknown input es- and isolation of the WWTP is realized is section 3,
timation errors are expressed through LMIs (Linear where the estimation results are also given.
Notation 1. The symbol ∗ in a block matrix denotes It is well known in proportional integral observer
the blocks induced by symmetry. For any square ma- (PIO) design that, although this assumption is needed
trix M, S(M) is defined by S(M) = M + M T . for the theoretical proof of the estimation error con-
vergence, it can be relaxed in practical applications
(Koenig and Mammar 2002). For instance, one will
2 PROPORTIONAL INTEGRAL OBSERVER see, in section 3, that good estimation results are ob-
tained even with time varying unknown input.
2.1 Modelling nonlinear systems
Generally, a nonlinear system is given under the fol- 2.2 Proportional integral observer design
lowing state representation:
In order to estimate both the system state and the un-
ẋ(t) = f (x(t), u(t), d(t)) (1a) known input, the following PIO is proposed:
r
y(t) = C x(t) + G d(t) (1b) ˙ = ∑ µi (x̂(t), u(t)) Ai x̂(t) + Bi u(t) + Ei d(t)
x̂(t) ˆ
i=1
where x ∈ Rn is the state variable, u ∈ Rm is the input

vector, d ∈ Rq is the unknown input, y ∈ Rℓ the output +LiP (y(t) − ŷ(t)) (6a)
vector, f ∈ Rn and the matrices C and G are known
matrices of appropriate dimensions. r
The multiple model structure allows to represent d(t) ∑ i
˙ˆ = µ (x̂(t), u(t))LI (y(t) − ŷ(t))
i (6b)
nonlinear dynamic systems (1) into a convex combi- i=1
nation of linear submodels as follows:
ˆ
ŷ(t) =Cx̂(t) + Gd(t) (6c)
r
ẋ(t) = ∑ µi (x, u) [(Ai + ∆Ai (t))x(t) The observer design reduces to finding the gains LiP
i=1 and LiI such that the state and unknown input estima-
tion error obey to a stable generating system.
+(Bi + ∆Bi (t))u(t) + Ei d(t)] (2a) Theorem 1. The observer (6) estimating the state
and unknown input of the system (2) and minimiz-
y(t) =Cx(t) + Gd(t) (2b) ing the L2 -gain γ of the known and unknown inputs
on the state and unknown input estimation error is
the matrices Ai , Bi , Ei , C and G are known real obtained by finding symmetric positive definite ma-
and constant matrices of appropriate dimensions ex- trices P1 ∈ R(n+nd )×(n+nd ) and P2 ∈ Rn×n , matrices
cepted ∆Ai (t) and ∆Bi (t), denoting the time varying P j ∈ R(n+nd )×ny and positive scalars ε1i and ε2i that
system uncertainties, that satisfy the following equa- minimize the scalar γ under the following LMI con-
tions ((Marx et al. 2007), (Nagy et al. 2010) and ref- straints
erences in)
Mi j < 0, i, j = 1, . . . , r (7)
∆Ai (t) = Mia Fa (t)Nia , with FaT (t)Fa (t) ≤ I (3a)
where Mi j is defined by
∆Bi (t) = Mib Fb (t)Nib , with FbT (t)Fb (t) ≤ I (3b)
 a b 
Φ11
i j Φi j
12 0 Φ14 P1 M i P1 M i
where both Fa (t) ∈ R f1 × f1
and Fb (t) ∈ R f2 × f2
are un-  ∗ Φ22 P B P E
ij
known and time varying. The functions µi (x, u) rep-  ij 2 i 2 i P2 Mia P2 Mib  
 
resent the weights of the linear submodels {Ai , Bi , Ei } 
Mi j =  ∗ ∗ Φ 33
ij 0 0 0 

and they have the following convexity properties:  ∗ ∗ ∗ −γ Ind 0 0 
 ∗ ∗ ∗ ∗ −ε1i I f1 0 
r
∗ ∗ ∗ ∗ ∗ −ε2i I f2
∑ µi(x, u) = 1, µi (x, u) ≥ 0, ∀(x, u) ∈ Rn × Rm (4)
i=1
(8)
One can note that the activating functions µi depend
with
on the system state that is not available to the mea-
surement. i j =In+nd + S(P1 A j − P jC), Φi j =P1 (Ãi − Ã j ),
Φ11 12
In the sequel, the following assumption is made:

Assumption 1. The unknown input is constant : Φ14


i j =P1 (Ẽi − Ẽ j ),

˙ = 0
i j =ε1i Ni Ni + S(P2 Ai ),
Φ22 i j =ε2i Ni Ni − γ Inu
Φ33
d(t) (5) aT a bT b
The overlined and tilded matrices are defined by
      r r
ėa (t)
C = [C G] , Ai =
Ai Ei
, Ãi =
Ai
, =∑ ∑ µi(xa(t), u(t))µ j (x̂a(t), u(t))
0 0 0 ẋ(t)
i=1 j=1

   a     
Ei a Mi b Mib A j − L jC Ãi − Ã j + ∆A
f i (t) ea (t)
Ẽi = , Mi = , Mi =
0 0 0 0 Ai + ∆Ai (t) x(t)
  
The observer gains are then obtained by: ∆Bi (t) Ẽi − Ẽ j u(t)
+ (12a)
 P Bi + ∆Bi (t) Ei d(t)
L
L j = Ij = P1−1 P j  
Lj ea (t)
ea (t) = [In+nd 0] (12b)
x(t)
Proof. Let us define anaugmented state  and  its es-
x(t) x̂(t) where
timate by xa (t) = and x̂a (t) = ˆ respec-  
d(t) d(t) ∆A (t)
tively. The augmented state estimation error is defined ∆A
˜ i (t) = i
(13)
0
by ea (t) = xa (t) − x̂a (t). Using (2a) and (5), the sys-
tem and observer equations can be respectively writ- The candidate Lyapunov function for (12) is
ten as
 T   
r  ea (t) P1 0 ea (t)
V (xa (t), x(t)) = (14)
ẋa (t) = ∑ µi(xa(t), u(t)) (Ai + ∆Ai (t))xa (t) x(t) 0 P2 x(t)
i=1
 where P1 and P2 are symmetric positive definite ma-
+(Bi + ∆Bi (t))u(t) (9a) trices. The objective is to find the gains L̄ j of the
observer that minimize the L2 -gain from the known
y(t) = Cxa (t) (9b) and unknown inputs u(t) and d(t) to the state and
fault estimation error ea (t). It is well
 known
 (Boyd
with : u(t)
et al. 1994) that the L2 -gain from to ea (t) is
d(t)
   
B a a aT NiaT bounded by γ if
Bi = i , ∆Ai (t) = M i F a (t)N i , Ni = ,
0 0
V̇ (ea (t), x(t)) + eTa (t)ea (t) − γ 2 (uT (t)u(t) + d T (t)d(t)) < 0 (15)
 
b b bT NibT With some Schur complements and defining P j =
∆Bi (t) = M i F b (t)N i , Ni = (10)
0 P1 L j and γ = γ 2 , the previous inequality becomes
r r
and
∑ ∑ µi(xa(t))µ j (x̂a(t))Mi j < 0 (16)
r i=1 j=1

x̂˙a (t) = ∑ µ j (x̂a(t), u(t)) A j x̂a (t) + B j u(t)
It follows that (15) is satisfied if the LMI (7) holds,
j=1
which achieves the proof.

+L j (y(t) − ŷ(t)) (11a)
3 DIAGNOSIS FOR WASTEWATER
ŷ(t) =Cx̂a (t) (11b) TREATMENT PLANT

3.1 Diagnosis based on bank observers


One should note that in (9) the activating functions In this section the PI observer is used to perform
depend on xa (t), whereas they depend on x̂a (t) in (11) fault diagnosis, which consists in generating residu-
and then the comparison of the state xa (9a) and its re- als based on redundancy principle. In this context, the
construction (11a) seems to be difficult. In order to comparison between output measured signals and es-
cope with the difficulty of expressing the augmented timated output signals - by using an observer- is done.
state estimation error in a tractable way, (9a) is re- The residual, that is the difference between these two
written, based on the property (4). Consequently, the signals, must, therefore, be different from zero when
augmented state estimation error obeys to the follow- a fault occurs and zero otherwise. However, the devia-
ing nonlinear system tion between the model and the plant is influenced not
only by the presence of the fault but also by the mod-
eling error, noise or other perturbations. Thus, some
detection thresholds are fixed in order to avoid false
alarms, these thresholds being fixed by taking into ac-
count the modeling error range.
A residual structuration is often needed in order
to efficiently realize the fault detection and isolation.
This task consists in constructing residuals so that
each one is sensitive to a known subset of faults and
insensitive to the others. In order to do this, a bank of
observers will be used, each one using a part of avail-
able information of the system.
Sensor fault detection
In this case, the output of the system has the form:
y(t) = Cx(t) + Du(t) + δ (t)
where δ (t) is a sensor fault vector. An intermedi- Figure 1: DOS bank observer for sensor fault detection
ate observer scheme -derived from the Dedicated Ob-
server Scheme (DOS) (Patton et al. 2000)- is used observer use the ith input and all outputs. The other
for residual structuring. This scheme uses two outputs inputs are considered as unknown input and conse-
among ℓ outputs of the system (see figure 1 for ℓ = 4). quently a bank of PIO is synthesized. The alarms as-
In general, the acronym PIO i j means a proportional sociated to actuator faults can be similarly defined as
integral observer of the form (6) that uses only the in (18).
outputs i and j in state estimation process. The resid-
uals are defined by:
3.2 Process description
ri, j (t) = yi (t) − ŷi, j (t), i = 1, ..., ℓ, j ∈ Iobs (17)
The activated sludge wastewater treatment is widely
where the index i refers the outputs and the index j used and studied in the last two decades (Henze et al.
indicates the observer used to reconstruct the referred 1987), (Alex et al. 1999), (Olsson and Newell 1999),
outputs. Thus, yi (t) (resp. ŷi, j (t)) is the ith component (Smets et al. 2006), (Boulkroune 2009). It consists in
of y(t) (resp. ŷ j (t) the output estimation delivered by mixing wastewater with a bacteria mixture in order to
the jth observer) and degrade the pollutants contained in the water.
The polluted water circulates in an aeration basin in
Iobs = {12, 13, · · · , 1ℓ, 23, 24, · · · , 2ℓ, · · · , (ℓ − 1)ℓ}
which the bacterial biomass degrades the polluted
Let us define Ii the index set of observers using the matter. Micro-organisms gather together in colonial
output yi and Iī the index set of observers that does structures called flocs and produce sludges. The
not uses the output yi . The following alarms ai (t) as- mixed liqueur is then sent to a clarifier where the sep-
sociated to δi (t) for all i = 1, · · · , ℓ are defined as: aration of the purified water and the flocs is made by
 gravity. A fraction of the settled sludges is recycled
0, if ri, j (t) ≤ threshold towards the reactor to maintain its capacity of purifi-
rb i, j (t) = (18a)
1, if ri, j (t) > threshold cation. The purified water is thrown back in the natu-
ral environment.
  Only a part of the European program Cost 624
ℓ Benchmark (Alex et al. 1999) is considered. Usu-
 
ai (t) = ∏ rb i, j (t) ∏ r̄b k, j (t) (18b) ally, a configuration with a single tank with a set-
j∈Iī k=1 tler/clarifier is used. The data used for simulation are
k6= j
generated with the complete ASM1 model (n = 13)
Actuator fault detection (Henze et al. 1987), in order to represent a realistic
behavior of a WWTP. In order to ease the obtaining of
In this case, the state of the system is given by:
the MM representation, the observer design is based
r on a reduced model (n = 6) (Weijers 2000):
ẋ(t) = ∑ µi (x(t), u(t) + η (t))[Ai x(t) + Bi (u(t) + η (t))] (19)
i=1
ẊDCO (t) = − Y1H [ϕ1 (t) + ϕ2 (t)]
where η (t) is an actuator fault vector.
The same principle as previously allows the detection +(1 − fP )(ϕ4 (t) + ϕ5 (t)) + D1 (t)
and isolation of the actuator faults. A dedicated ob-
YH ϕ1 (t) + YA ϕ3 (t) + D2 (t)
YH −1 YA −4.57
server scheme will be used in this case, where the ith ṠO (t) =
on this procedure the reader is referred to (Nagy et al.
  2010).
1
ṠNH (t) = −iXB [ϕ1 (t) + ϕ2 (t)] − iXB + ϕ3 (t) Considering the process (20), it is natural to define the
YA following premise variables since they mainly con-
tribute to the definitions of the system nonlinearity:
+(iXB − fP iXP )[ϕ4 (t) + ϕ5 (t)] + D3 (t)
qin (t)
z1 (x, u) = V
YH − 1 1
ṠNO (t) = ϕ2 (t) + ϕ3 (t) + D4 (t) z2 (x, u) = XDCO (t) SO (t)
2.86YH YA KDCO +XDCO (t) KOH +SO (t)
XDCO (t) SNO (t) KOH (26)
z3 (x, u) =
ẊBH (t) = ϕ1 (t) + ϕ2 (t) − ϕ4 (t) + D5 (t) KDCO +XDCO (t) KNO +SNO (t) KOH +SO (t)
1 SNH (t)
z4 (x, u) = KOA +SO (t) KNH,A +SNH (t) XBA (t)
ẊBA (t) = ϕ3 (t) − ϕ5 (t) + D6 (t) (20)
where the process kinetics ϕi (t) (i = 1, · · · , 5) and The system (20) can be written in a quasi-LPV
the input/output balances Di (t) (i = 1, · · · , 6) can be form ẋ(t) = A(x, u)x(t) + B(x, u)u(t) + E(x, u)d(t) with ma-
found in (Weijers 2000). For limited space reasons, trices A(x, u), B(x, u) and E(x, u) expressed by using
only ϕ1 (t) and D1 (t) are given as follows: the premise variables previously defined:
 a 0 0 0 a15 a16 
µH XDCO (t) SO (t) 11
ϕ1 (t) = XBH (t) (21)  0
 0
a22 0 0 a25 0 

KDCO + XDCO (t) KOH + SO (t) a32 −z1 (u) 0 a35 a36
A(x, u) = 
 0


 a42 0 −z1 (u) a45 0 
0 0 0 0 a55 0
qin (t)  
0 a62 0 0 0 a66
D1 (t) = XDCO,in (t) − XDCO (t) (22)
V
 z (u) 0   0 0 
1
The simplified model involves the following six  0 K SO,sat   0 0 
components: the chemical oxygen demand (COD)  0 0   z1 (u) 0 
B(u) = 
 0
 , E(u) = 
 


XDCO , oxygen SO , heterotrophic biomass XBH , am-  0   0 0 
0 0 0 z1 (u)
monia SNH , nitrate SNO and autotrophic biomass XBA . 0 0 0 0
The inert components (SI , XI , XP ) and the alkalinity (27)
(Salk ) are not considered. The dynamic of the sus-
pended organic nitrogen (XND ) and the ammonia pro- where:
duction from organic nitrogen (SND ) is neglected.
In conformity with the benchmark of the european a11 (x, u) = −z1 (x, u)
µH ηNOg
program Cost 624 (Alex et al. 1999) and with the a15 (x, u) = − YµHH z2 (x, u) + (1 − fP ) bH − YH z3 (x, u)
real time condition of a wastewater treatment plant - a16 (x, u) = (1 − fP ) bA
Bleesbruck from Luxembourg- the output vector con- a22 (x, u) = −z1 (x, u) − K qa − 4.57−YA
µA z4 (x, u)
YA
sidered here is: (YH −1)µH
a25 (x, u) = YH z2 (x, u)
a32 (x, u) = −(iXB + Y1A )µA z4 (x, u)
y(t) = [XDCO (t), SO (t), SNH (t), SNO (t)]T (23) a35 (x, u) = (iXB − fP iXP )bH − iXB µH z2 (x, u)
−iXB µH ηNOg z3 (x, u)
the known input vector is:
a36 (x, u) = (iXB − fP iXP ) bA
YA µA z4 (x, u)
1
u(t) = [XDCO,in (t), qa (t)]T (24) a42 (x, u) =

2.86YH µH ηNOg z3 (x, u)


YH −1
a45 (x, u) =
and the unknown input vector is: h i
fW (1+ fR )
a55 (x, u) = µH z2 (x, u) − bH + z1 (x, u) fR + fW −1
d(t) = [SNH,in (t), XBH,in (t)]T (25) +µH ηNOg z3 (x, u)
a62 (x, u) = µA z4 (x, u)
The variables qin and qa represent the input and h i
the air flow of the bioreactor. The stoichiometric and a66 (x, u) = z1 (x, u) fWfR(1+ fR )
+ fW − 1 − bA
growth/decay kinetic parameters are those of (Olsson
and Newell 1999). The decomposition of z j , j = 1, · · · , 4 (26) is realized
by using the convex polytopic transformation:
Multiple model representation
Since the transformation of the nonlinear system (20) z j (x, u) = Fj,1 (z j (x, u)) z j,1 + Fj,2 (z j (x, u)) z j,2 (28)
into a MM does not constitutes the main objective
of the paper, and for lack of space, only the essen- The scalars z j,1 and z j,2 are respectively the min-
tial points are given in the following. For more details ima and the maxima of z j (x, u) and the functions
Fj,1 (z j (x, u)) and Fj,2 (z j (x, u)) are given by: where Fa (t) has the following property:
z j (x, u) − z j,2
Fj,1 (z j (x, u)) = (29) FaT (t)Fa (t) ≤ I
z j,1 − z j,2

z j,1 − z j (x, u) 3.3 Results and discussions


Fj,2 (z j (x, u)) = (30)
z j,1 − z j,2 The data used for simulation are generated with the
By multiplying the functions Fj,σ j (z j (x, u)), the r = complete ASM1 model (n = 13) (Henze et al. 1987),
i
in order to represent a realistic behavior of a WWTP.
16 weighting functions µi (z(x, u)) (i = 1, · · · , 16) are
Even if the observer design is based on a MM form of
obtained:
the reduced ASM1 model (n = 6) it will be seen that
µi (z) = F1,σ 1 (z1 )F2,σ 2 (z2 )F3,σ 3 (z3 )F4,σ 4 (z4 ) (31) the estimation results are satisfactory.
i i i i
Applying the Theorem 1, the observer (6) is designed
The indexes σi ∈ {1, 2} and the quadruplets
j
by finding positive scalars ε1i , ε2i (i = 1, ..., 16), pos-
(σi1 , σi2 , σi2 , σi4 ) represent the 16 combinations of itive definite matrices P1 and P2 and matrices P̄j
indexes 1 and 2. The constant matrices Ai , Bi and Ei ( j = 1, · · · , 16) -that are not given here due to
defining the 16 submodels, are determined by using space limitation- such that the convergence condi-
the matrices A(x, u), B(u), E(u) and the scalars z j,σ j : tions, given in Theorem 1 hold. The value of the atten-
i
uation rate from the known and unknown inputs u(t)
Ai = A(z1,σ 1 , z2,σ 2 , z3,σ 3 , z4,σ 4 ) (32a) and d(t) to the state and fault estimation error ea (t)
i i i i
is γ̄ = 1.52. A comparison between the actual state
Bi = B(z1,σ 1 ) (32b) variables, the unknown inputs and their respective es-
i
timates is depicted in the figure 2.
Ei = E(z1,σ 1 ), i = 1, ..., 16, j = 1, ..., 4 (32c)
i
4
Thus, the nonlinear model (20) is equivalently written 110 XDCO
3 S
O
under the multiple model form (2), where ∆Ai (t) =
g/m3

g/m3
90
70 2

∆Bi (t) = 0, i = 1, ..., 16. 50 1


0 1 2 3 0 1 2 3

Uncertainties in the MM form of the ASM1 model 25


S 8
20 NH 6 SNO
g/m3
g/m3

15 4
The MM form used for the ASM1 model was pre- 10
5
2
0
viously proposed. In the following, its structure is 0
0 1 2 3 0 1 2 3
slightly modified in order to take into account pa-
20 X
rameter uncertainties on bH and bA . These parame- 800
g/m3

g/m3

BA
X
ters appear in the coefficients a15 , a16 , a35 , a36 , a55 600
BH 10

and a66 in (27), allowing to separate the uncertain part 0 1 2 3


0
0 1 2 3
∆A(t) from the known one A(t) in (27). The parame-
50
ter variation on bH (resp. bA ) is of 20% (resp. 25%) S
NH,in
g/m3
g/m3

40
of its nominal value, i.e. bH ∈ [0.25 ; 0.35] (resp.
X
bA ∈ [0.04 ; 0.06]) (Chachuat 2001). The uncertainties 20 0
BH,in

effect, taken into account in the matrices A + ∆A(t), 0 1 2


time (day)
3 0 1 2
time (day)
3

can be written as:


Figure 2: Real state and unknown inputs (doted line) and their
0 estimations using the PIO (solid line)
0 0 0 0.2∆bH (t) 0.25∆bA (t)
0 0 0 0 0 0 
0 0 0 0 0.2∆bH (t) 0.25∆bA (t) In order to diagnose the wastewater treatment plant,
∆A(t) = 
0

 (33)
 0 0 0 0 0  the reduced model (20) is used for observer design
0 0 0 0 0.2∆bH (t) 0
0 0 0 0 0 0.25∆bA (t)
with the measured outputs defined in (23). Some
faults affecting the reactor outputs are simulated as
Moreover the uncertain term is written under the follows:
form ∆A(t) = M a Fa (t)N a with the matrices:
 T
a 0.2 0 0.2 0 0.2 0 • δ1 affects y1 = XDCO in time period
M = (34) (0.25; 0.75)[days]
1 0 1 0 0 1

 
∆bH (t) 0 • δ2 affects y2 = SO in time period (2.25; 2.75)[days]
Fa (t) = (35)
0 ∆bA (t)
• δ3 affects y3 = SNH in time period (1; 1.5)[days]
 
0 0 0 0 1 0
Na = (36) • δ4 affects y4 = SNO in time period (3; 3.25)[days]
0 0 0 0 0 0.25
An observer bank with six observers is conceived as Further, the diagnosis technique is applied to detect
in figure 1. The analysis of the configuration of resid- actuator faults considering the same reduced ASM1
uals r1,12 , r2,12 , · · · , r4,34 allows the detection and the model. Since the control vector is (24) we consider
isolation of sensor faults (see figure 3). These residu- respectively the faults η1 and η2 affecting the two
als are zero if no fault or noise is present on the sen- actuators, according to:
sors. Between t = 0.25[days] et t = 0.75[days], the
residuals r j,12 , r j,13 and r j,14 for j ∈ Iobs correspond 
0.3 XDCO,in (t), 0.5 < t < 1.0
to the fault free case. This information is confirmed by η1 (t) = (37)
the residuals generated with the three others observers 0, otherwise
(PIO 23, PIO 24, PIO 34) that allows the localiza- 
0.3 qa (t), 2.5 < t < 3.0
tion of a fault on y1 . Equivalently, for the time period η2 (t) = (38)
(3; 3.25)[days], the residuals r j,14 , r j,24 and r j,34 for 0, otherwise
j ∈ Iobs correspond to the fault free case. This infor-
mation is confirmed by the residuals generated with An observer bank with two PIO is conceived. The
the three others observers (PIO 23, PIO 24, PIO 34) residuals are similarly constructed as in (17) for i =
that allows the localization of a fault on y4 , and so on 1, · · · , m and j = 1, · · · , ℓ. Here, m = 2 and ℓ = 4. The
for the other residuals. A signature table allowing to analysis of the configuration of residuals ri, j allows
correctly finalize the sensor fault detection and isola- the detection and the localization of actuator faults. In
tion task is given in table 1. A “1” element indicates figure 4, the residuals r1,1 , r2,1 , r3,1 and r4,1 generated
that ri, j is sensitive to the fault δi while “0” indicates with the first observer indicate a fault between the in-
that ri, j does not respond to the fault δi . Finally, the stants 0.5[days] and 1.0[days] which corresponds to a
symbol “?” indicates that no decision can be taken fault affecting the control XDCO,in . The fault affecting
only based on this residual. qa is localized when analysing the residuals r1,2 , r2,2 ,
r3,2 and r4,2 given by the second observer. The sim-
ulation results correspond to the theoretical signature
PIO 12 PIO 13 table 2.
50 50
r1,12 0 r1,13 0
Table 2: Theoretical signatures for actuator fault detection - DOS
−50 −50
10 0.5 1 1.5 2 2.5 3 3.5 10 0.5 1 1.5 2 2.5 3 3.5 PIO 1 PIO 2
r2,12 0 r2,13 0 r1,1 r2,1 r3,1 r4,1 r1,2 r2,2 r3,2 r4,2
−1 −1 η1 1 1 1 1 0 0 0 0
50 0.5 1 1.5 2 2.5 3 3.5
50 0.5 1 1.5 2 2.5 3 3.5
r3,12 0 r
3,13 0
η2 0 0 0 0 1 1 1 1
−5 −5
20 0.5 1 1.5 2 2.5 3 3.5
20 0.5 1 1.5 2 2.5 3 3.5
r4,12 0 r 0
4,13
−2
0 0.5 1 1.5 2 2.5 3 3.5
−2
0 0.5 1 1.5 2 2.5 3 3.5 4 CONCLUSION
time (day) time (day)

P I O 14 PIO 23 A proportional integral observer adapted to uncer-


50 50
r1,14 0 r 0 tain nonlinear systems affected by unknown inputs
1,23
−50 −50 is proposed in this paper. The nonlinear system is
10 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5 equivalently represented by a multiple model with un-
0.5
r2,14 0 r 0
2,23 measurable premise variables which is not intensively
−1 −0.5
50 0.5 1 1.5 2 2.5 3 3.5
50 0.5 1 1.5 2 2.5 3 3.5 studied in literature because observer design or stabil-
r3,14 0 r 0
3,23
ity analysis are difficult problems for this kind of sys-
−5 −5 tems. An application to diagnosis based on the syn-
10 0.5 1 1.5 2 2.5 3 3.5 10 0.5 1 1.5 2 2.5 3 3.5
thesis of the proposed proportional integral observer
r4,14 0 r 0
4,23
−1 −1 is realized. This theoretical points are then applied to
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5 a realistic model of a wastewater treatment plant that
time (day) time (day)
PIO 24 PIO34 is characterized by parameter uncertainties and un-
50 50
r1,24 0 r1,34 0 known inputs. The numerical simulation results for
−50 −50
0 0.5 1 1.5 2 2.5 3 3.5 the proposed application show that sensor and actua-
0 0.5 1 1.5 2 2.5 3 3.5
1
r 0
1 tor fault detection can be performed as well by using
r 0 2,34
2,24
−1 this type of observer.
−1 0 0.5 1 1.5 2 2.5 3 3.5
50 0.5 1 1.5 2 2.5 3 3.5 5
r 0 r3,34 0
3,24
−5 −5 5 ACKNOWLEDGMENTS
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
1 1
r4,24 0 r 0
4,34 We acknowledge the financial support received from
−1 −1
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2
time (day)
2.5 3 3.5 the "Fonds National de la Recherche", Luxembourg.
time (day)
This research is also supported by the TASSILI 07
Figure 3: Residuals evolution - GOS for sensor fault detection program under MDU grant 714.
Table 1: Theoretical signature table for sensor fault detection - DOS with 2 outputs among 4
PIO 12 PIO 13 PIO 14 PIO 23 PIO 24 PIO 34
r1,12 r2,12 r3,12 r4,12 r1,13 r2,13 r3,13 r4,13 r1,14 r2,14 r3,14 r4,14 r1,23 r2,23 r3,23 r4,23 r1,24 r2,24 r3,24 r4,24 r1,34 r2,34 r3,34 r4,34
δ1 ? ? ? ? ? ? ? ? ? ? ? ? 1 0 0 0 1 0 0 0 1 0 0 0
δ2 ? ? ? ? 0 1 0 0 0 1 0 0 ? ? ? ? ? ? ? ? 0 1 0 0
δ3 0 0 1 0 ? ? ? ? 0 0 1 0 ? ? ? ? 0 0 1 0 ? ? ? ?
δ4 0 0 0 1 0 0 0 1 ? ? ? ? 0 0 0 1 ? ? ? ? ? ? ? ?

100 100 100 100


r r r r
1,1 2,1 3,1 4,1
50 50 50 50

0 0 0 0

−50 −50 −50 −50


0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
time (day) time (day) time (day) time (day)
10 10 10 10

r r r r4,2
5 1,2 5 2,2 5 3,2 5

0 0 0 0

−5 −5 −5 −5
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
time (day) time (day) time (day) time (day)

Figure 4: Residual evolution using GOS schema for actuator fault detection

REFERENCES an activated sludge reactor model. Industrial & Engineering


Chemistry Research 49(6), 2790–2799.
Olsson, G. and B. Newell (1999). Wastewater Treatment Sys-
Alex, J., J. F. Beteau, J. B. Copp, C. Hellinga, U. Jeppsson, tems. Modelling, Diagnosis and Control. IWA Publishing.
S. Marsili-Libelli, M. N. Pons, H. Spanjers, and H. Van- Patton, R. J., P. Frank, and N. Clark (2000). Issues of Fault Di-
hooren (1999). Benchmark for evaluating control strategies agnosis for Dynamic systems. Springer-Verlag.
in wastewater treatment plants. In European Control Confer- Smets, I., L. Verdickt, and J. Van Impe (2006). A linear ASM1
ence, Karlsruhe, Germany. based multi-model for activated sludge systems. Mathemat-
Boulkroune, B. (2009). A nonlinear observer design for an ac- ical and Computer Modeling of Dynamical Systems 12(5),
tivated sludge wastewater treatment process. Journal of Pro- 489–503.
cess Control 19, 1558–1565. Tanaka, K. and H. O. Wang (2001). Fuzzy Control System Design
Boyd, S., L. El Ghaoui, E. Feron, and V. Balakrishnan (1994). and analysis. A Linear Matrix Inequality Approach. John Wi-
Linear matrix inequalities in system and control theory. ley & Sons Inc.
Philadelphia: Studies in Applied and Numerical Mathemat- Weijers, S. R. (2000). Modelling, identification and control of
ics. activated sludge plants for nitrogen removal. Ph. D. thesis,
Chachuat, B. (2001). Méthodologie d’optimisation dynamique Technische Universiteit Eindhoven, Eindhoven.
et de commande optimale des petites stations d’épuration à
boues activées. Ph. D. thesis, Institut National Polytechnique
de Lorraine, Nancy, France. In French.
Ding, S. X. (2008). Model-based Fault Diagnosis Techniques.
Springer-Verlag.
Henze, M., C. P. Leslie Grady Jr, W. Gujer, G. v. R. Marais, and
T. Matsuo (1987). Activated Sludge Model no.1. I.A.W.Q.
Scientific and Technical Report No.1. Technical report,
I.A.W.Q., London, UK.
Koenig, D. and S. Mammar (2002). Design of proportional-
integral observer for unknown input descriptor systems.
IEEE Transactions on Automatic Control 47(12), 2057–
2062.
Marx, B., D. Koenig, and J. Ragot (2007). Design of observers
for Takagi-Sugeno descriptor systems with unknown inputs
and application to fault diagnosis. IET Control Theory and
Applications 1(5), 1487–1495.
Murray-Smith, R. and T. A. Johansen (1997). Multiple model
approaches to modeling and control. Taylor & Francis, Lon-
don.
Nagy, A. M., G. Mourot, B. Marx, G. Schutz, and J. Ragot
(2010). Systematic multi-modeling methodology applied to

View publication stats

You might also like