Observer based robust H∞ fuzzy tracking control: application to an activated sludge process

View article
PeerJ Computer Science

Introduction

In the last few years the Takagi-Sugeno (TS) fuzzy modelling, which is a multi-modelling approach, has been emerged as a powerful tool, providing a consistent and efficient approach to handle problems related to modelling and control of nonlinear systems especially wastewater treatment plants (WWTP). These processes are classified as complex systems due to their non-linear dynamics, large uncertainties and the lack of measurements. Hence, it has become a topic of substantial interest exposed to several studies using the TS fuzzy approach. For example, in Carlos-Hernandez, Beteau & Sanchez (2006) an application for an anaerobic digestion process has been proposed, where a linearization study involving various representative operating points is first carried out to obtain the TS model then a TS fuzzy observer is designed and experimentally validated. Nagy Kiss et al. (2011) proposed a proportional integral observer for uncertain TS fuzzy systems affected by unknown inputs using L2-gain to minimize the effect of the unknown input. The method has been applied on a reduced model of the Activated Sludge Model No. 1 (ASM1). Belchior, Araújo & Landeck (2012) proposed the regulation of the dissolved oxygen concentration in WWTP through the implementation of an adaptive fuzzy controller. The study by Aouaouda et al. (2012) deals with a fault tolerant control problem of an activated sludge process where an uncertain TS model is considered for the states and faults estimation and used into a robust tracking control scheme using the L2-gain. Recently in Li et al. (2020), the control of the dissolved oxygen is presented using a fuzzy predictive model and where the membership functions of the fuzzy model are obtained based on the fuzzy C-means cluster algorithm.

In parallel, besides stabilization problem, tracking control designs are also important issues for practical applications. There are very successful studies dealing with the output/state tracking control design based on the TS fuzzy approach. In Lin et al. (2007) an observer based output tracking control is investigated for TS fuzzy systems with time-delay. Nachidi, Hajjaji & Bosche (2011) studied the problem of robust output tracking control of TS fuzzy uncertain discrete-time systems and its application in a DC–DC converters. An adaptive fuzzy control is proposed in Bououden, Chadli & Karimi (2015) for uncertain system subject to a pre-treatment of wastewater modeled using the TS approach. A TS fuzzy tracking control problem with respect to input saturation is addressed in Yu, Lam & Chan (2018) using an output feedback controller. In Abyad, Karama & Khallouq (2020), an output tracking control problem applied to a fermentation process has been scrutinized by considering the question of asymmetrical constraints on the control inputs. There are also relevant studies for the state tracking control even though its design is more general and more difficult than the design of the output tracking control. For example, in Senthilkumar & Mahanta (2009), a TS fuzzy guaranteed cost controller for trajectory tracking in nonlinear systems is investigated. A fuzzy state feedback law is used to build the controller whose performance is evaluated using a quadratic cost function. By using observers to deal with the absence of full-state information, a robust TS fuzzy observer-based tracking controller is addressed in Chang & Wu (2012) where the H performance is considered to mitigate the tracking error. In our previous study (Khallouq, Karama & Abyad, 2020), a robust observer based tracking controller using a reference model is developed where the controller and the observer gains are obtained simultaneously in one single step by solving a set of linear matrix inequalities and where the tracking problem concerns all the state variables.

It is evident that a high number of state variables leads to high order controllers. In fact, a big problem needs to be solved for high order systems which increases numerical computations. Proceeding from the fact that for many realistic applications, it is not necessary to control all state variables. In addition, other difficulties may arise when the system is disturbed the existence of disturbance may deteriorate the performances of the system and can be a source of instability. Therefore, it is more appropriate to develop methodology which involves a low dimensional design for systems with disturbance. Motivated by the discussion above, the presented work is an extension of Khallouq, Karama & Abyad (2020). We propose to design a reduced order observer based state tracking controller in which only the key state variables has been considered and where the TS fuzzy model has been extended to deal with nonlinear systems with disturbance. Since the system states are not fully accessible to measurement a TS fuzzy observer is used to reconstruct all of them. Because of the nonlinear feature of the bioprocesses dynamics and the usually large uncertainty of some parameters, mainly the kinetic terms and the unknown inputs, the implementation of extended different versions of observers are very promising and have proved to be very successful in several applications e.g., Kalman filter to deal with Gaussian disturbances (Zeng et al., 2016; Silva et al., 2019) observer based on H technique (Katebi, 2001), the minimum entropy filtering method for non-Gaussian disturbances cases (Zhang, Chen & Yu, 2017). The main contribution of this article can be outlined as follows: we propose to split the TS system into two subsystems, one of which involves the part of the state variables to be controlled. Then we reformulate the problem of a robust observer based state tracking control design. The controller is then expressed by a feedback law, which is based on the classical structure of the Parallel Distributed Compensation (PDC) concept, involving the error between the estimate of the controlled state and the state of a reference model. Finally we establish sufficient conditions to guarantee tracking performance for the part to be controlled and stabilization for the remainder part. Unlike Khallouq, Karama & Abyad (2020), here the observer’s synthesis is achieved separately from the controller synthesis. Whether for the controller or the observer, the used schemes produce a disturbance term. A performance criterion H is used in each problem. Based on H and Lyapunov theory, conditions are developed to ensure convergence and attenuate respectively the tracking error and the estimation error as small as possible. The results are formulated in terms of (LMIs). Finally, the efficiency and the robustness of both the tracking control and estimation schemes are demonstrated via simulations on an activated sludge treatment process and are tested under a variety of operating conditions and simulated perturbations.

The paper is organised as follow: First, the modelling of the activated sludge process is described, followed by the design of an Observer-Based Fuzzy Robust Tracking Controller then the design of a robust TS fuzzy observer and end with an application of the proposed method to an activated sludge process.

The activated sludge process model

The activated sludge schematized in Fig. 1 is used as a biological purification in waste-water treatment, consisting essentially of flocculating microorganisms, mixed with dissolved oxygen and waste-water. Thus, the microorganisms come into contact with the organic pollutants presents in the wastewater, as well as with dissolved oxygen, and are kept in suspension. Based on the natural metabolism, These microorganisms convert the organic matter into new cells, carbon dioxide and water. The process of the purification is done into tow tanks called aerator and settler. The energy required by the process is provided by the dissolved oxygen. Subsequently, carbon dioxide is released in return. The mathematical model that represents the process is given using the mass balance around the aerator and the settler as follows (Nejjari et al., 1999):

dXdt=μ(.)XD(1+qr)X+qrDXrdSdt=1Yμ(.)X(1+qr)DS+DSindCodt=K0Yμ(.)XD(1+qr)Co+DCoin+KLa(CsCo)dXrdt=D(1+qr)XD(β+qr)Xrwhere

  • X(t), S(t), Co(t) and Xr(t) are respectively the biomass, the substrate, the dissolved oxygen and the recycled biomass concentrations.

  • μ(.) corresponds to the biomass specific growth rate. It is assumed to follow the following model:

μ(S,Co)=μmaxSKs+SCoKc+Co

μmax is the maximum specific growth rate, Kc is the saturation constant and Ks is the affinity constant.

  • D and KLa represent respectively the dilution rate and the aeration flow rate.

  • Sin and Coin are the influent substrate and the dissolved oxygen concentrations.

  • Y is a constant yield coefficient, K0 is a constant and Cs is the maximum concentration of the dissolved oxygen concentration.

  • qr and β represent respectively the ratio of recycled flow and the ratio of waste flow to influent flow.

For this model the states, the inputs and the output vectors are given respectively by:

x(t)=[X(t)Xr(t)S(t)Co(t)]Tu(t)=[D(t)KLa(t)]Ty(t)=Co(t)

Schematic diagram of the activated sludge process.

Figure 1: Schematic diagram of the activated sludge process.

Observer based fuzzy robust tracking controller design

Problem formulation and preliminaries

The TS fuzzy approach consists in transcribing the dynamic of a nonlinear process into a finite weighted sum of linear models. There exist three approaches in the literature to obtain the TS fuzzy model (Tanaka & Wang, 2003b): the black box identification, the linearization technique and non-linearity sector method. We are interested in the third method which gives an accurate TS fuzzy model description of nonlinear model without information loss.

Let consider the following nonlinear disturbed system:

x˙(t)=f(x(t),u(t),d(t))y(t)=Cx(t)where x(t)∈ Rn is the state vector, u(t)∈ Rm is the input vector, d(t)∈ Rl is the disturbance, y(t)∈ Rq is the output vector and C a matrix ∈ Rq × n Consider a TS fuzzy model. The system (3) can be approximated or represented (according to the number nr of sub-models) by the Takagi–Sugeno structure:

x˙(t)=i=1nrhi(z)(Aix(t)+Biu(t)+Gd(t))where AiRn× n, BiRn× m and GRn,l. zRp denotes the so-called decision variables (premise variables) that can be available when it depends on measurable variable such as u(t) or y(t) i.e., z = z(u(t),y(t)) or unavailable when it depends on non-measured system state x(t) i.e., z = z(x(t)). The weighting functions hi (z) called the membership functions satisfy the convex sum property expressed in the following equations:

i=1nrhi(z)=10hi(z)1

The weighing functions hi(z) are generally nonlinear and depend on the premise variables z. Let us consider the following partition x(t)=[x1(t)x2(t)] of the system (4) with the corresponding matrices Ai=[Ai11Ai12Ai21Ai22], Bi=[Bi1Bi2], G=[G1G2] and where x2(t) corresponds to the part of the state vector to be controlled and x1(t) corresponds to the remaining state variables.

The dynamical model can be rewritten as follows:

x˙1(t)=i=1nrhi(z)(Ai11x1(t)+Ai12x2(t)+Bi1u(t)+G1d(t))

x˙2(t)=i=1nrhi(z)(Ai21x1(t)+Ai22x2(t)+Bi2u(t)+G2d(t))

Consider a linear reference model given by the following equation:

x˙2r(t)=Arx2r(t)+r(t)where x2r(t) is the reference state which should be tracked by the system (5b). Ar is a stable matrix and r(t) is a bounded input reference.

Our goal is to synthesize a control law based on the state estimation capable to reduce the error between the reference trajectory x2r(t) and the state x2(t). The Parallel Distributed Compensation concept can be used to design a fuzzy controller where the main idea consists to design a local controller for each sub-model based on local control rule, which shares with the fuzzy model the same fuzzy sets.

The controller we choose in this paper is expressed by an observer-based law with reference model as follows:

u(t)=i=1nrhi(z^)Ki(x^2(t)x2r(t))where x^2(t) is the estimation of x2(t) and the Ki’s represent the local feedback gains that should be determined.

Stability conditions

Before starting the stability analysis, some useful lemmas are recalled.

Lemma 1 (Guerra et al., 2006) For any matrices X,Y of appropriate dimensions and for any positive scalar η the following inequality holds:

XTY+YTXηXTX+η1YTY

Lemma 2 (Guerra et al., 2006) Considering π (as in inequality (9)) < 0 a matrix X and a scalar λ, the following inequality holds:

XTΠXλ(XT+X)λ2Π1

Using (7) into (5), the closed loop system can then be rewritten as follows:

x˙1(t)=i,j=1nrhi(z^)hj(z^)(Ai11x1(t)+Ai12x2(t)+Bi1Kj(x^2(t)x2r(t))+ω1(t)x˙2(t)=i,j=1nrhi(z^)hj(z^)(Ai21x1(t)+Ai22x2(t)+Bi2Kj(x^2(t)x2r(t))+ω2(t)where

ω1(t)=i=1nr(hi(z)hi(z^))(Ai11x1(t)+Ai12x2(t)+Bi1u(t)+G1d(t))

ω2(t)=i=1nr(hi(z)hi(z^))(Ai21x1(t)+Ai22x2(t)+Bi2u(t)+G2d(t))

Let us define by er(t)=x2(t)x2r(t) the tracking error and eo2(t)=x2(t)x^2(t) the state estimation error and consider the augmented state: xa(t)=[x1(t)er(t)]. Using (10), the dynamical model of the augmented system is given by:

x˙a(t)=i=1nrj=1nrhi(z^)hj(z^)(Aijxa(t)+Dijξ(t))which can be rewritten as:

x˙a(t)=i=1nrhi2(z^)(Aiixa(t)+Diiξ(t))+2i,j=1nri<jhi(z^)hj(z^)(Aijxa(t)+Dijξ(t)2)where

Aij=[Ai11Ai12+Bi1KjAi21Ai22+Bi2Kj],Aij=Aij+AjiDij=[Bi1KjAi120I0Bi2Kj(Ai22Aref)I0I],Dij=Dij+Djiξ(t)=[eo2(t)Tx2r(t)Tr(t)Tω1(t)Tω2(t)T]T

The term ξ(t) is acting like a disturbance affecting the augmented state xa(t). Thus to attenuate its effect, we propose the use of the H technique applied to System (12). The weighted H performance to minimize can be presented as follows:

0tfxaT(t)Qxa(t)dtγ20tfξT(t)ξ(t)dtwhere Q is a positive definite matrix and γ is a prescribed positive scalar that defines the attenuation level of the disturbance ξ(t).

To realize Condition (14), one has to use a Lyapunov function for System (12) given by:

V(xa)=xa(t)TPxa(t)(P>0)

To achieve the performance (14) and ensure the stability of augmented System (12), the following condition must be realized:

V˙(xa)+xaT(t)Qxa(t)γ2ξ(t)Tξ(t)0

The following result can be announced:

Lemma 3 If there exist positive definite matrices P, Q1 and Q2, and positive scalars α12, γ1 and γ2, the augmented system in (12) is asymptotically stable, such that the following conditions are satisfied:

AiiTP+PAii+Q1+α11PDiiDiiTP<0i=1,,nrα1γ1<0

12(AijTP+PAij+Q2+α21PDijDijTP)<0i<j=1,,nr12(α2γ2)<0

The H performmance criteria (14) is guaranteed where the scalar γ and the matrix Q are given by γ=γ1+γ2 and Q = Q1 + Q2

Proof:

Using (12), the derivative of the Lyapunov function (16) is:

V˙(xa)=i=1nrhi2(z^)[xaT(t)(AiiTP+PAii)xa(t)+ξT(t)DiiTPxa(t)+xaT(t)PDiiξ(t)]+2i,j=1nri<jhi(z^)hj(z^)12[xaT(t)(AijTP+PAij)xa(t)+ξT(t)DijTPxa(t)+xaT(t)PDijξ(t)]Denote by J the expression:

J=V˙(xa(t))+xaT(t)Qxa(t)γ2ξ(t)Tξ(t)by setting Q = Q1 + Q2 and γ2 = γ1 + γ2 and using (19), J can be written as the sum of two terms:

J=i=1nrhi2(z^)[xaT(t)(AiiTP+PAii)xa(t)+xaT(t)Q1xa(t)γ1ξT(t)ξ(t))+ξT(t)DiiTPxa(t)+xaT(t)PDiiξ(t)]+2i,j=1nri<jhi(z^)hj(z^)12[xaT(t)(AijTP+PAij)xa(t)+xaT(t)Q2xa(t)γ2ξT(t)ξ(t)+ξT(t)DijTPxa(t)+xaT(t)PDijξ(t)]

Using the Lemma 1 on the crossed terms yields:

ξT(t)DiiTPxa(t)+xaT(t)PDiiξ(t)α11xaT(t)PDiiDiiTPxa(t)+α1ξT(t)ξ(t)ξT(t)DijTPxa(t)+xaT(t)PDijξ(t)α21xaT(t)PDijDijTPxa(t)+α2ξT(t)ξ(t)(22) into (21) leads to the following inequality:

Ji=1nrhi2(z^)[xaT(t)(AiiTP+PAii+Q1+α11PDiiDiiTP)xa(t)+ξT(t)(α1γ1)ξ(t))]+2i,j=1nri<jhi(z^)hj(z^)12[xaT(t)(AijTP+PAij+Q2+α21PDijDijTP)xa(t)+ξT(t)(α2γ2)ξ(t)]

This implies that (16) is satisfied if the following sufficient conditions hold:

AiiTP+PAii+Q1+α11PDiiDiiTP<0i=1,,nrα1γ1<0

12(AijTP+PAij+Q2+α31PDijDijTP)<0i<j=1,,nr12(α2γ2)<0

This ends the lemma proof.

The main result

To determine the controller gains Ki, we present new conditions in terms of LMIs. These conditions are developed through the use of separation Lemma 2, the introduction of some slack variables and other calculations leading to the following results.

Theorem 1 There exists an observer based controller (7) for the system (12) guaranteeing the H performance criteria (14) if there exists positive matrices X1=X1T,X2=X2T, matrices Yi, i = 1,2,…,nr, positive matrices Q~11,Q~12,Q~21 and Q~22 and prescribed positive scalars α1, α2, α3, α4, γ1 and γ2 such that α1 < γ1 and α2 < γ2 and that the following conditions hold: for i = 1,…,nr

[M1M2Bi1YiAi120I00M3Bi2YiAi22ArI0I02α3X20000α3Iα1I0000α1I000α1I00α1I0α1I]<0for i<j=1,,nr

12[N1N2Bi1YjBj1YiAi12+Aj1202I00N3Bi2YjBj2YiAi22+Aj222Ar2I02I02α4X20000α4Iα2I0000α2I000α2I00α2I0α2I]<0where

M1=Ai11X1+X1Ai11T+Q~11

M2=X1Ai21T+Ai12X2+Bi1Yi

M3=Ai22X2+X2Ai22T+Bi2Yi+(Bi2Yi)T+Q~12

N1=(Ai11+Aj11)X1+X1(Ai11+Aj11)T+Q~21

N2=X1(Ai21+Aj21)T+(Ai12+Aj12)X2+Bi1Yj+Bj1Yi

N3=(Ai22+Aj22)X2+X2(Ai22+Aj22)T+(Bi2Yj+Bj2Yi)+Q~22+(Bi2Yj+Bj2Yi)Tand * stands for the symmetric term of the corresponding off-diagonal term.

Solving LMIs (26) and (27) the controller gains Ki, the attenuation level γ and the matrix Q are given by: Ki=YiX21,i=1,,nr and γ=γ1+γ2 Q = Q1 + Q2 where Q1=[Q1100Q12] and Q2=[Q2100Q22]

Proof:

For the proof of the theorem 1, we will start from the sufficient conditions given in the Lemma 3. Let us consider the first condition (17). Multiplying it post and prior by P −1 and using Schur lemma, the following inequality is obtained:

[P1AiiT+AiiP1+Q~1DiiDiiTα1I]<0

By choosing matrices P and Q1 as follows: P=[P100P2] and Q~1=P1Q1P1=[Q~1100Q~12] and Replacing Dii,Aii by their expressions in (13), (28) becomes:

[M1M2Bi1KiAi120I0M3Bi2KiAi22ArI0Iα1I0000α1I000α1I00α1I0α1I]<0

where M1=Ai11P11+P11Ai11T+Q~11

M2=P11Ai21T+(Ai12+Bi1Ki)P21

M3=(Ai22+Bi2Ki)P21+P21(Ai22+Bi2Ki)T+Q~12

Multiplying (29) left and right respectively by diag([IIP21IIII]) and its transpose yields to:

[M1M2Bi1KiP21Ai120I0M3Bi2KiP21Ai22ArI0IP21α1P210000α1I000α1I00α1I0α1I]<0

Using Lemma 2 we have:

P21(α1)P212α3P21+α32(α1)1Iand Schur complement yields to:

[M1M2Bi1KiP21Ai120I00M3Bi2KiP21Ai22ArI0I0α3P210000α3Iα1I0000α1I000α1I00α1I0α1]<0

Using the following variable change X1=P11,X2=P21 and Yi = KiX2, the conditions (26) of the theorem is fulfilled.

To carry out the second LMI of the theorem 1, we proceed in the same way with the second sufficient condition of Lemma 3. Multiplying (18) post and prior with P −1 and using the Schur lemma, the following inequality is obtained:

12[P1AijT+AijP1+Q~2DijDijTα2I]<0By choosing the matrix Q~2=P1Q2P1=[Q~2100Q~22] and replacing Dij and aij by their expression in (13), (33) becomes:

12[N1N2(Bi1Kj+Bj1Ki)Ai12+Aj1202I0N3(Bi2Kj+Bj2Ki)Ai22+Aj222Ar2I02Iα2I0000α2I000α2I00α2I0α2I]<0

N1=(Ai11+Aj11)P11+P11(Ai11+Aj11)T+Q~21

N2=P11(Ai21+Aj21)T+(Ai12+Aj12)P21+(Bi1Kj+Bj1Ki)P21

N3=(Ai22+Aj22+Bi2Kj+Bj2Ki)P21+P21(Ai22+Aj22+Bi2Kj+Bj2Ki)T+Q~22

Multiplying (34) left and right respectively by: diag([IIP21IIII]) and its transpose we get:

12[N1N2(Bi1Kj+Bj1Ki)P21Ai12+Aj1202I0N3(Bi2Kj+Bj2Ki)P21Ai22+Aj222Ar2I02IP21α2P210000α2I000α2I00α2I0α2I]<0using Lemma 2 we have:

P21(α2)P212α4P21+α42(α2)1Iand Schur complements yiels to:

12[N1N2(Bi1Kj+Bj1Ki)P21Ai12+Aj1202I00N3(Bi2Kj+Bj2Ki)P21Ai22+Aj222Ar2I02I02α4P210000α4Iα2I0000α2I000α2I00α2I0α2I]<0

Using the following variable change X1=P11,X2=P21 and Yi = KiX2, the conditions (27) of the theorem is fulfilled. This achieves the proof of the theorem.

A Robust TS fuzzy observer design

In order to estimate both the state variables and the disturbance the following augmented state vector is considered x¯(t)=[xT(t)dT(t)]T. From the TS system (4) we have:

x¯˙(t)=i=1nrhi(z^)([AiG00]x¯(t)+[Bi0]u(t)+[ω(t)d˙(t)])=i=1nrhi(z^)(A¯ix¯(t)+B¯iu(t)+ω¯(t))y(t)=C¯x¯(t)

With:

A¯i=[AiG00],B¯i=[Bi0],C¯=[C0],ω¯(t)=[ω(t)d˙(t)]and

ω(t)=i=1nr(hi(z)hi(z^))(Aix(t)+Biu(t)+Gd(t))

Let consider the following fuzzy Luenberger observer (Tanaka & Wang, 2003a) for the system (38):

x¯^˙(t)=i=1nrhi(z^)(A¯ix¯^(t)+B¯iu(t)+L¯iC¯(x¯(t)x¯^(t)))where the L¯iS represent the local observer gains. Note that this observer considers that the premise variables are unknown.

The dynamical model of the estimation error is then given by:

e¯˙o(t)=x¯˙(t)x¯^˙(t)=i=1nrhi(z^)(A¯iL¯iC¯)e¯o(t)+ω¯(t)where ω¯(t) is acting as disturbance. To attenuate its effect, the following H performance is used:

0tfe¯oT(t)Re¯o(t)dtν20tfω¯(t)Tω¯(t)dtwhere R is a positive definite matrix and ν is the attenuation level of the disturbances ω¯(t).

Theorem 2 Prescribing the attenuation level ν, an observer (39) for the system (46) satisfying the H performance criterion (41) exist if there exists a symmetric and positive matrix Po=PoT>0, a matrix R > 0 and Zi, i = 1,2,…,r and a positive scalar η such that the following LMIs are feasible

[PoA¯iZiC¯+(PoA¯iZiC¯)T+RPoPoηI]<0

ην2<0

Solving LMIs 42, the observer gains L¯i are given by: L¯i=Po1Zi,i=1,,nr. The scalar verifying the H norm for the observer is given by: ν=ν2

Proof: See Appendix A.

Application to an Activated Sludge Process

This article addresses the problem of controlling an activated sludge treatment process using the TS approach developed above. The dissolved oxygen concentration in the ASP is an important parameter in the process control that has a considerable effect on the treatment effectiveness and economical cost. The reduction of organic substrate concentration is also crucially important and presents one of the main issues in the treatment process. It helps keeping a hight effluent quality. The control objective is to force the substrate and the dissolved oxygen concentrations S(t) and Co(t) to track the states of a given reference model Sref(t) and Coref(t) under the following conditions:

  • The dilution rate D(t) and the aeration flow rate KLa(t) are the control variables.

  • The dissolved oxygen concentration Co(t) is available.

  • Biomass, substrate and recycled biomass concentrations X(t), S(t) and Xr(t) are not available online.

The TS fuzzy model design

To simulate more realistic conditions, the model (1) is rewrited in the form of a disturbed system. It is assumed that the concentration of the influent substrate is varying during a day instead of considering a constant value. The variation δ Sin(t) around the daily average Sin acts as a disturbance.

To build the TS model, the classical transformation of the non-linearity sector method is used. The following non linearities (the premise variables) are considered:

z1(x)=z1(S,Co)=μmaxCoS(Ks+S)(Kc+Co)Sz2(x)=z2(X)=Xz3(x)=z3(Xr)=Xrz4(x)=z4(Co)=Coz5(x)=z5(X,S,Co)=μmaxCoX(Ks+S)(Kc+Co)z6(x)=z6(S)=S

The nonlinear model of the Activated Sludge process described by Eq. (1) can be written in the form:

x˙(t)=A(z1,z2,z3,z4,z5)x(t)+B(z2,z3,z4,z6)u(t)+Gd(t)y(t)=Cx(t)where the state, input and output vectors are

x(t)=[XXrSCo],u(t)=[DKla],y=[Co],G=[0010],andd(t)=DΔSin(t)and the obtained matrices have the general form:

A(z1,z2,z3,z4,z5)=[]z10z200z40z30001Yz5z3z20K0Yz5];

B(z3,z4,z6)=[(1+qr)z2+qrz30(1+qr)z2(β+qr)z30Sin(1+qr)z60Coin(1+qr)z4Csz4]andC=[0001]

6 premise variables are considered. Therefore, the model (45) can be represented by nr = 26 = 64 TS submodels, which is rewritten as follows:

x˙(t)=i=1nrhi(z)(Aix(t)+Biu(t)+Gd(t))

The Ai’s and Bi’s corresponding matrices and the hi(z)’s membership functions are obtained from A(z1,z2,z3,z4,z5) and B(z2,z3,z4,z6) and (44), for more explanation on the method to obtain them the reader can refer to (Nagy et al., 2010)

Observer based controller synthesis and simulation results

The following partition x(t)=[x1(t)x2(t)] are chosen with the corresponding vectors: x1(t)=[XXr], and x2(t)=[SCo]. For simulation, the matrix Ar=[1100012] is used to generate the trajectories of the reference state x2r(t)=[Sref(t)Coref(t)] and the simulation parameters of Table 1 are considered. To test the robustness of the proposed method, a sinusoidal variation of the influent substrate and changes in the kinetic parameters will be introduced during the simulation.

Table 1:
Simulation parameters (Nejjari et al., 1999).
Y qr β K0 Cs Sin Coin μmax Ks Kc
0.65 0.6 0.2 0.5 10 200 0.5 0.15 100 2
[mg/l] [mg/l] [mg/l] [h−1] [mg/l] [mg/l]
DOI: 10.7717/peerj-cs.458/table-1

Remark 1 The LMIs in the theorem 1 and 2 are solved using matlab with the YALMIP toolbox can be downloaded from https://yalmip.github.io/.

• The resolution of the LMIs in theorem 1 for the parameters α1 = 0.4, α2 = 0.4, α3 = 300, α4 = 295, γ1 = 0.4 and γ2 = 0.4 leads to:

X1=103×[29435276682766827609],X2=103×[450623233323321729]

Q~11=Q~12=Q~21=Q~22=[1001]

The attenuation level is given by: γ=γ1+γ2=0.8944, bellow are given some of the controller gains:

K1=[0.19570.18223.151280.1625],K8=[0.40250.09422.478338.7399],K16=[0.04420.493613.226923.2598]K32=[0.21800.02900.351327.3775],K64=[0.15240.00231.869422.9140]

  • The resolution of the LMIs in in theorem 2 for an attenuation level ν = 1.0681 and η = 1.1408 leads to:

Po=[0.00060.00010.00270.00080.00030.00010.13530.00050.00030.00390.00270.00050.16780.00040.19370.00080.00030.00040.09260.00000.00030.00390.19370.00000.2851]R=[0.03850.02780.00560.00000.00060.02780.03790.00660.00000.00030.00560.00660.05980.00000.02200.00000.00000.00001.00000.00000.00060.00030.02200.00000.0516]

  • bellow are given some of the observer gains:

L1=102×[1668.311.3136.514.694.6],L8=102×[1668.311.3136.414.794.6],L16=102×[834.866.6968.307.4047.36]L32=102×[834.015.0568.187.3947.25],L64=102×[836.675.0568.4007.4147.40]

To test the robustness of the proposed method, two type of disturbances are introduced during the simulation as follows:

  • A variation of sinusoidal form (with a period of one day and amplitude of 5% of the daily average value Sin = 200 g/l) in the influent substrate;

  • Two changes over a period of two days in two kinetic parameters respectively μmax (10%) at t = 10 days, and Kc (10%) at t = 50 days

The goal of the proposed control strategy is to follow the output references as closely as possible. This is well illustrated in Fig. 2 where a comparison is given between the true simulated value, the estimated and the corresponding reference trajectory respectively for the dissolved oxygen concentration Co and the substrate S. The results show the ability of the obtained control law to track the reference trajectories of the controlled variables after a short transient response despite the changes of the set-points. The perturbations of substrate and dissolved oxygen regulation due to considered disturbances are favorably rejected by the controller especially for the dissolved oxygen.

The evolution of the controlled variables the substrate (A) and the dissolved oxygen (B) concentrations, their estimates and their corresponding reference trajectories.

Figure 2: The evolution of the controlled variables the substrate (A) and the dissolved oxygen (B) concentrations, their estimates and their corresponding reference trajectories.

Figure 3 shows the manipulated variables respectively the dilution rate D and the air flow rate Kla. Their dynamics change whenever the reference model changes and the control objective is clearly reached.

The manipulated variables (A) the dilution rate and (B) the aeration flow rate.

Figure 3: The manipulated variables (A) the dilution rate and (B) the aeration flow rate.

Figure 4 represents respectively the reconstructed biomass X^ and recycled biomass X^r. As indicated previously, these two variables are not considered in the tracking problem. Nevertheless, it can be seen in these results that the estimated values of theses states variables are in excellent agreement with their corresponding true simulated values. Despite perturbation in the influent substrate and changes in kinetic parameters, the estimates are smooth and reliable.

Comparison between (A) the biomass and (B) the recycled biomass with their estimates.

Figure 4: Comparison between (A) the biomass and (B) the recycled biomass with their estimates.

Conclusion

In this article, an observer based robust fuzzy tracking controller has been first developed then applied to a strongly nonlinear process with a biological nature. The nonlinear system is equivalently represented by a TS multi-model. Considering that the states are not fully accessible, the stability analysis and design of TS fuzzy system via an observer-based tracking controller satisfying the H performance requirement has been investigated. Controller and observer gains are obtained by solving a set of LMIs. These theoretical points has been then applied to an activated sludge process where the only measured variable available online is the concentration of dissolved oxygen, which is the most realistic and economical choice. The tracking problem of reference trajectories of two state variables (the dissolved oxygen and the substrate) making use of two manipulated variables (the dilution rate and the aeration flow rate) has been addressed. The numerical simulation results illustrate the effectiveness of the proposed method and show good state estimation and tracking performances. Extension of the proposed approach to fault tolerant control is the focus of our future work, we investigate a TS fuzzy Proportional Integral observer-based fault-tolerant control subject to actuators and sensors fault of TS fuzzy positive systems with saturation on the inputs.

Proof of theorem 2

Let consider the following Lyapunov function:

V(e¯o)=e¯o(t)TPoe¯o(t)

To achieve the performance (41) and ensure the stability of system (40), the following condition must be realized:

V˙(e¯o))+e¯oT(t)Re¯o(t)ν2ω¯(t)Tω¯(t)<0

Let consider the derivative of the Lyapunov function Vo):

V˙(e¯o)=e¯oT(t)((A¯iL¯iC¯)TPo+Po(A¯iL¯iC¯))e¯o(t)+ω¯(t)TPoe¯o(t)+e¯oT(t)Poω¯(t)

Using Lemma 1 leads to:

ω¯(t)TPoe¯o(t)+e¯oT(t)Poω¯(t)ηω¯(t)Tω¯(t)+η1e¯oT(t)PoPoe¯o(t)

(49) and (50) leads to:

V˙(e¯o)+e¯oT(t)Re¯o(t)ν2ω¯(t)Tω¯(t)i=1nrhi(z^)[e¯oT(t)((A¯iL¯iC¯)TPo+Po(A¯iL¯iC¯)+R+η1PoPo)e¯o(t)+(ην2)ω¯(t)Tω¯(t)

Consequently (48) will be achieved if the following condition (51) holds for i=1,nr:

(A¯iL¯iC¯)TPo+Po(A¯iL¯iC¯)+R+η1PoPo<0

ην2<0

Applying Schur complement to (52) we get:

[Po(A¯iL¯iC¯)+(A¯iL¯iC¯)TPo+RPoPoηI]<0

By using the variable change Zi = PoLi, the BMIs (bilinear matrix inequalities) (53) are transformed into the LMIs given by (42). This achieves the proof of Theorem 1.

Supplemental Information

7 Citations   Views   Downloads