14
J Intell Robot Syst (2007) 49:279–292 DOI 10.1007/s10846-007-9147-8 Design and Stability Analysis of Fuzzy Model-based Predictive Control – A Case Study Sašo Blažiˇ c · Igor Škrjanc Received: 24 August 2006 / Accepted: 27 January 2007 / Published online: 6 March 2007 © Springer Science + Business Media B.V. 2007 Abstract In the paper a fuzzy model based predictive control algorithm is presented. The proposed algorithm is developed in the state space and is given in analytical form, which is an advantage in comparison with optimisation based control schemes. Fuzzy model-based predictive control is potentially interesting in the case of batch reactors, heat-exchangers, furnaces and all the processes with strong nonlinear dynamics and high transport delays. In our case it is implemented to a continuous stirred-tank simulated reactor and compared to optimal PI control. Some stability and design issues of fuzzy model-based predictive control are also given. Keywords fuzzy identification · predictive control · stability 1 Introduction The fundamental methods which are essentially based on the principal of predictive control are Generalized Predictive Control [4], Model Algorithmic Control [21] and Predictive Functional Control [22], Dynamic Matrix Control [5], Extended Prediction Self-Adaptive Control [6] and Extended Horizon Adaptive Control [30]. All those methods are developed for linear process models. The principle is based on the process model output prediction and calculation of control signal which S. Blažiˇ c(B ) · I. Škrjanc Faculty of Electrical Engineering, University of Ljubljana, Tržaška 25, Ljubljana 1000, Slovenia e-mail: [email protected] I. Škrjanc e-mail: [email protected]

Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292DOI 10.1007/s10846-007-9147-8

Design and Stability Analysis of Fuzzy Model-basedPredictive Control – A Case Study

Sašo Blažic · Igor Škrjanc

Received: 24 August 2006 / Accepted: 27 January 2007 /Published online: 6 March 2007© Springer Science + Business Media B.V. 2007

Abstract In the paper a fuzzy model based predictive control algorithm is presented.The proposed algorithm is developed in the state space and is given in analyticalform, which is an advantage in comparison with optimisation based control schemes.Fuzzy model-based predictive control is potentially interesting in the case of batchreactors, heat-exchangers, furnaces and all the processes with strong nonlineardynamics and high transport delays. In our case it is implemented to a continuousstirred-tank simulated reactor and compared to optimal PI control. Some stabilityand design issues of fuzzy model-based predictive control are also given.

Keywords fuzzy identification · predictive control · stability

1 Introduction

The fundamental methods which are essentially based on the principal of predictivecontrol are Generalized Predictive Control [4], Model Algorithmic Control [21]and Predictive Functional Control [22], Dynamic Matrix Control [5], ExtendedPrediction Self-Adaptive Control [6] and Extended Horizon Adaptive Control [30].All those methods are developed for linear process models. The principle is basedon the process model output prediction and calculation of control signal which

S. Blažic (B) · I. ŠkrjancFaculty of Electrical Engineering, University of Ljubljana, Tržaška 25,Ljubljana 1000, Sloveniae-mail: [email protected]

I. Škrjance-mail: [email protected]

Page 2: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

280 J Intell Robot Syst (2007) 49:279–292

brings the output of the process to the reference trajectory in a way to minimise thedifference between the reference and the output signal in a certain interval, betweentwo prediction horizons, or to minimise the difference in a certain horizon, calledcoincidence horizon. The control signal can be found by means of optimisation or itcan be calculated using the explicit control law formula [3, 11].

The nature of processes is inherently nonlinear and this implies the use of nonlin-ear approaches in predictive control schemes. Here, we can distinguish between twomain group of approaches: the first group is based on the nonlinear mathematicalmodels of the process in any form and convex optimisation [8], while the secondgroup relies on approximation of nonlinear process dynamics with nonlinear ap-proximators such as neural networks [28, 29], piecewise-linear models [20], Volterraand Wiener models [7], multi-models and multi-variables [16, 23], and fuzzy models[1, 25]. The advantage of the latter approaches is the possibility of stating the controllaw in the explicit analytical form.

In some highly nonlinear cases the use of nonlinear model-based predictivecontrol can be easily justified. By introducing the nonlinear model into predictivecontrol problem, the complexity increases significantly. In [3, 11], an overview ofdifferent nonlinear predictive control approaches is given.

When applying the model based predictive control with Takagi–Sugeno fuzzymodel, it is always important how to choose fuzzy sets and corresponding member-ship functions. Many existing clustering techniques can be used in the identificationphase to make this task easier. There exist many fuzzy model based predictivealgorithms [2, 12, 24] that put significant stress on the algorithm that properlyarranges membership functions.

In this work we are presenting a new fuzzy model based predictive control(FMBPC) algorithm in state-space form. The approach is an extension of predictivefunctional algorithm [22] to the nonlinear systems. The proposed algorithm easilycopes with phase non-minimal and time-delayed dynamics. The control law in thecase of FMBPC approach is given in analytical form. This makes the approach veryeasily implementable also programmable logic controllers and other hardware that isoften used in the industrial practice. The approach can be combined by a clusteringtechnique to obtain the FMBPC algorithm where membership functions are not fixeda priori but this is not intention of this work.

The paper is organised as follows. Section 2 describes the continuous stirred-tankreactor and identification of the process model in fuzzy form. In Section 3 the fuzzymodel-based predictive control algorithm is introduced. Section 4 discusses stabilityand design issues and in Section 5 the simulation results are presented, discussed andcompared to optimal PI control. Finally, the conclusions are given in Section 6.

2 Fuzzy Model of a Continuous Stirred-tank Reactor

The simulated continuous stirred-tank reactor (CSTR) process consists of an irre-versible, exothermic reaction, A → B, in a constant volume reactor cooled by asingle coolant stream, which can be modelled by the following equation [19]:

C0A = q

V

[CA0 − C0

A

] − k0C0A exp

(−ERT

)(1)

Page 3: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292 281

Table 1 Nominal CSTRparameter values Quantity Symbol Value

Measured product CA 0.1 mol/lconcentration

Reactor temperature T 438.54 KCoolant flow rate qc 103.41 l min−1

Process flow rate q 100 l min−1

Feed concentration CA0 1 mol/lFeed temperature T0 350 KInlet coolant temperature Tc0 350 KCSTR volume V 100 lHeat transfer term hA 7 × 105 cal min−1 K−1

Reaction rate constant k0 7.2 × 1010 min−1

Activation energy term E/R 1 × 104 KHeat of reaction �H −2 × 105 cal/molLiquid densities ρ, ρc 1 × 103 g/lSpecific heats Cp, Cpc 1 cal g−1K−1

T = qV

(T0 − T) − k0�HρCp

C0A exp

(−ERT

)+ ρcCpc

ρCpVqc ×

×[

1 − exp(

− hAqcρcCpc

)](Tc0 − T) (2)

The actual concentration C0A is measured with a time delay td = 0.5 min:

CA(t) = C0A(t − td) (3)

The objective is to control the concentration of A (CA) by manipulating the coolantflow rate qc. This model is a modified version of the first tank of a two-tank CSTRexample from [10]. In the original model, the time delay was zero.

The symbol qc represents the coolant flow rate (manipulated variable) and theother symbols represent constant parameters whose values are defined in Table 1.The process dynamics are nonlinear due to the Arrhenius rate expression which de-scribes the dependence of the reaction rate constant on the temperature (T). This iswhy the CSTR exhibits some operational and control problems. The reactor presentsmultiplicity behaviour with respect to the coolant flow rate qc, i.e. if the coolant flowrate qc ∈ (11.1 l/min, 119.7 l/min) there are three equilibrium concentrations CA.Stable equilibrium points are obtained in the following cases:

– qc > 11.1 l/min ⇒ stable equilibrium point 0.92 mol/l < CA < 1 mol/l,– qc < 111.8 l/min ⇒ stable equilibrium point CA < 0.14 mol/l (the point where

qc ≈ 111.8 l/min is a Hopf Bifurcation point).

If qc ∈ (11.1 l/min, 119.7 l/min) there is also at least one unstable point for themeasured product concentration CA. From the above facts, one can see that theCSTR exhibits quite complex dynamics. In our application, we are interested inthe operation in the stable operating point given by qc = 103.41 l min−1 and CA =0.1 mol/l.

Page 4: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

282 J Intell Robot Syst (2007) 49:279–292

2.1 Fuzzy Identification

Typical fuzzy model [26] is given in the form of rules

R j : if xp1 is A1,k1 and xp2 is A2,k2 and . . . and xpq is Aq,kq then y = φ j(x)

j = 1, . . . , m

k1 = 1, . . . , f1 k2 = 1, . . . , f2 . . . kq = 1, . . . , fq

(4)

The q-element vector xTp = [

xp1, ..., xpq]

denotes the input or variables in premise,and variable y is the output of the model. With each variable in premise xpi

(i = 1, . . . , q), fi fuzzy sets (Ai,1, . . . , Ai, fi ) are connected, and each fuzzy set Ai,ki

(ki = 1, . . . , fi) is associated with a real-valued function μAi,ki(xpi) : R → [0, 1], that

produces membership grade of the variable xpi with respect to the fuzzy set Ai,ki . Tomake the list of fuzzy rules complete, all possible variations of fuzzy sets are givenin Eq. 4, yielding the number of fuzzy rules m = f1 × f2 × · · · × fq. The variablesxpi are not the only inputs of the fuzzy system. Implicitly, the n-element vectorxT = [x1, ..., xn] also represents the input to the system. It is usually referred to asthe consequence vector. The functions φ j(·) can be arbitrary smooth functions ingeneral, although linear or affine functions are usually used.

The system in Eq. 4 can be described in closed form if the intersection of fuzzysets is previously defined. The generalised form of the intersection is the so-calledtriangular norm (T-norm). In our case, the latter was chosen as algebraic productyielding the output of the fuzzy system

y =∑ f1

k1=1

∑ f2k2=1 · · · ∑ fq

kq=1 μA1,k1(xp1) μA2,k2

(xp2) . . . μAq,kq(xpq) φ j(x)

∑ f1k1=1

∑ f2k2=1 · · ·∑ fq

kq=1 μA1,k1(xp1) μA2,k2

(xp2) . . . μAq,kq(xpq)

(5)

It has to be noted that a slight abuse of notation is used in Eq. 5 since j is not explicitlydefined as running index. From Eq. 4 is evident that each j corresponds to the specificvariation of indexes ki, i = 1, . . . , q.

To simplify Eq. 5, a partition of unity is considered where functions β j(xp) definedby

β j(xp) = μA1,k1(xp1) μA2,k2

(xp2) . . . μAq,kq(xpq)

∑ f1k1=1

∑ f2k2=1 · · ·∑ fq

kq=1 μA1,k1(xp1) μA2,k2

(xp2) . . . μAq,kq(xpq)

, j = 1, . . . , m

(6)

give information about the fulfilment of the respective fuzzy rule in the normalisedform. It is obvious that

∑mj=1 β j(xp) = 1 irrespective of xp as long as the denominator

of β j(xp) is not equal to zero (that can be easily prevented by stretching themembership functions over the whole potential area of xp). Combining Eqs. 5 and6 and changing summation over ki by summation over j we arrive to the followingequation:

y =m∑

j=1

β j(xp)φ j(x) (7)

Page 5: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292 283

The class of fuzzy models have the form of linear models, this refers to {β j} as a setof basis functions. The use of membership functions in input space with overlappingreceptive fields provides interpolation and extrapolation.

Very often, the output value is defined as a linear combination of consequencestates

φ j(x) = θθθTj x, j = 1, . . . , m, θθθT

j = [θ j1, . . . , θ jn

](8)

If Takagi–Sugeno model of the 0th order is chosen, φ j(x) = θj 0, and in the case ofthe first order model, the consequent is φ j(x) = θj 0 + θθθT

j x. Both cases can be treatedby the model (8) by adding 1 to the vector x and augmenting vector θθθ with θj 0. Tosimplify the notation, only the model in Eq. 8 will be treated in the rest of the paper. Ifthe matrix of the coefficients for the whole set of rules is written as ���T = [θθθ1, ..., θθθm]and the vector of membership values as βββT(xp) = [

β1(xp), . . . , βm(xp)

], then Eq. 7

can be rewritten in the matrix form

y = βββT(xp)���x (9)

The fuzzy model in the form given in Eq. 9 is referred to as affine Takagi–Sugenomodel and can be used to approximate any arbitrary function that maps the compactset C ⊂ R

d (d is the dimension of the input space) to R with any desired degree ofaccuracy [13, 28, 31]. The generality can be proven by Stone–Weierstrass theorem[9] which indicates that any continuous function can be approximated by fuzzy basisfunction expansion [17].

2.2 Fuzzy Identification of the Continuous Stirred-tank Reactor

From the description of the plant, it can be seen that there are two variables availablefor measurement – measured product concentration CA and reactor temperature T.For the purpose of control it is certainly beneficial to make use of both although it isnot necessary to feed back reactor temperature if one wants to control product con-centration. In our case the simple discrete compensator was added to the measuredreactor temperature output:

�qc f f = K f f[T(k) − T(k − 1)

], (10)

where K f f was chosen to be 3, while the sampling time Ts = 0.1 min. The abovecompensator is a sort of the D-controller that does not affect the equilibrium pointsof the system (the static curve remains the same), but it does to some extentaffect their stability. In our case the Hopf bifurcation point moved from (qc, CA) =(111.8 l/min, 0.14 mol/l) to (qc, CA) = (116.2 l/min, 0.179 mol/l). This means that thestability interval for the product concentration CA expanded from (0, 0.14 mol/l) to(0, 0.179 mol/l). The proposed FMBPC will be tested on the compensated plant, sowe need fuzzy model of the compensated plant.

The plant was identified in a form of discrete second order model withthe premise defined as xT

p = [CA(k)

]and the consequence vector as xT =[

CA(k), CA(k − 1), qc(k − TDm), 1]. The functions φ j(·) can be arbitrary smooth

functions in general, although linear or affine functions are usually used. Due tostrong nonlinearity the structure with six rules and equidistantly shaped gaussianmembership functions was chosen. The normalised membership functions are shownin Fig. 1.

Page 6: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

284 J Intell Robot Syst (2007) 49:279–292

Fig. 1 The membershipfunctions

The structure of the fuzzy model is the following:

R j : if CA(k) is A j then CA(k + 1) = −a1 jCA(k) − a2 jCA(k − 1)

+ b1 jqc(k−TDm)+r j j=1, . . . , 6 (11)

The parameters of the fuzzy form in Eq. 11 have been estimated using least squarealgorithm where the data have been preprocessed using QR factorisation [18]. Theestimated parameters can be written as vectors aT

1 = [a11, ..., a16], aT2 = [a21, ..., a26],

bT1 = [

b11, ..., b16]

and rT1 = [r11, ..., r16]. The estimated parameters in the case of

CSTR are as follows:

aT1 = [−1.3462,−1.4506,−1.5681,−1.7114,−1.8111,−1.9157]

aT2 = [0.4298, 0.5262, 0.6437, 0.7689, 0.8592, 0.9485]

bT1 = [1.8124, 2.1795, 2.7762, 2.6703, 2.8716, 2.8500] · 10−4

rT1 = [−1.1089,−1.5115,−2.1101,−2.1917,−2.5270,−2.7301] · 10−2 (12)

and TDm = 5.After estimation of parameters, the TS fuzzy model (11) was transformed into the

state space form to simplify the procedure of obtaining the control law:

xm(k + 1) =∑

i

βi(xp(k))(Ami xm(k) + Bmi u(k − TDm) + Rmi

)(13)

ym(k) =∑

i

βi(xp(k))Cmi xm(k) (14)

Ami =[

0 1−a2i −a1i

]Bmi =

[01

]Cmi = [

b1i 0]

Rmi =[

0ri/bi

](15)

Page 7: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292 285

where the process measured output concentration CA is denoted by ym and the inputflow qc by u.

The frozen-time theory [14, 15] enables the relation between the nonlinear dy-namical system and the associated linear time-varying system. The theory establishesthe following fuzzy model

xm(k + 1) = Amxm(k) + Bmu(k − TDm) + Rm

ym(k) = Cmxm(k) (16)

where Am = ∑i βi(xp(k))Ami , Bm = ∑

i βi(xp(k))Bmi , Cm = ∑i βi(xp(k))Cmi and

Rm = ∑i βi(xp(k))Rmi .

3 Fuzzy Model-based Predictive Control

In the case of FMBPC the prediction of the plant output is given by its fuzzy modelin the state-space domain. This is why the approach in the proposed form is limitedto the open-loop stable plants. By introducing some modifications the algorithm canbe made applicable also for the unstable plants.

The problem of delays in the plant is circumvented by constructing an auxiliaryvariable that serves as the output of the plant if there were no delay present. Theso-called “undelayed” model of the plant will be introduced for that purpose. It isobtained by “removing” delays from the original (“delayed”) model and convertingit to the state space description:

x0m(k + 1) = Amx0

m(k) + Bmu(k) + Rm

y0m(k) = Cmx0

m(k) (17)

where y0m(k) models the “undelayed” output of the plant.

The behaviour of the closed-loop system is defined by the reference trajectorywhich is given in the form of the reference model. The control goal is to determine thefuture control action so that the predicted output value coincides with the referencetrajectory. The time difference between the coincidence point and the current time iscalled a coincidence horizon. It is denoted by H. The prediction is calculated underthe assumption of constant future manipulated variables (u(k) = u(k + 1) = . . . =u(k + H − 1)), i.e. the mean level control assumption is used. The H-step aheadprediction of the “undelayed” plant output is then obtained from Eq. 17:

y0m(k + H) = Cm

(AH

m x0m(k) +

(AH

m − I) (

Am − I)−1 (

Bmu(k) + Rm))

(18)

The reference model is given by the first order difference equation

yr(k + 1) = ar yr(k) + brw(k) (19)

where w stands for the reference signal. The reference model parameters should bechosen so that the reference model gain is unity. This is accomplished by fulfilling thefollowing equation

(1 − ar)−1 br = 1 (20)

Page 8: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

286 J Intell Robot Syst (2007) 49:279–292

The main goal of the proposed algorithm is to find the control law which enablesthe reference trajectory tracking of the “undelayed” plant output y0

p(k). In eachtime instant the control signal is calculated so that the output is forced to reachthe reference trajectory after H time samples (y0

p(k + H) = yr(k + H)). The ideaof FMBPC is introduced through the equivalence of the objective increment vector�p and the model output increment vector �m:

�p = �m (21)

The former is defined as the difference between the predicted reference signal yr(k +H) and the actual output of the “undelayed” plant y0

p(k)

�p = yr(k + H) − y0p(k) (22)

The variable y0p(k) cannot be measured directly. Rather, it will be estimated by using

the available signals:

y0p(k) = yp(k) − ym(k) + y0

m(k) (23)

It can be seen that the delay in the plant is compensated by the difference betweenthe outputs of the “undelayed” and the “delayed” model. When the perfect modelof the plant is available, the first two terms on the right hand-side of Eq. 23 canceland the result is actually the output of the “undelayed” plant model. If this is not thecase, only the approximation is obtained. The model output increment vector �m isdefined by the following formula:

�m = y0m(k + H) − y0

m(k) (24)

The following is obtained from Eq. 21 by using Eqs. 22 and 24, and introducingEq. 18:

u(k) = g−10

((yr(k + H) − y0

p(k) + y0m(k)

)− CmAH

m x0m(k)

− Cm

(AH

m − I) (

Am − I)−1

Rm

)(25)

where g0 stands for:

g0 = Cm

(AH

m − I) (

Am − I)−1

Bm (26)

The control law of FMBPC in analytical form is finally obtained by introducing Eq. 23into Eq. 25:

u(k) = g−10

( (yr(k + H) − yp(k) + ym(k)

) − CmAHm x0

m(k)

−Cm

(AH

m − I) (

Am − I)−1

Rm

)(27)

In the following it will be shown that the realizability of the control law (27) reliesheavily on the relation between the coincidence horizon H and the relative degree of

Page 9: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292 287

the plant ρ. In the case of discrete-time systems, the relative degree is directly relatedto the pure time-delay of the system transfer function. If the system is described in thestate-space form, any form can be used in general, but the analysis is much simplifiedin the case of certain canonical descriptions. If the system is described in controllablecanonical form in each fuzzy domain, then also the matrices Am, Bm, and Cm of thefuzzy model (16) take the controllable canonical form:

Am =

⎢⎢⎢⎢⎢⎣

0 1 0 . . . 00 0 1 . . . 0...

......

. . ....

0 0 0 . . . 1−an −an−1 −an−2 . . . −a1

⎥⎥⎥⎥⎥⎦

, Bm =

⎢⎢⎢⎢⎢⎣

00...

01

⎥⎥⎥⎥⎥⎦

,

Cm = [bn . . . bρ 0 . . . 0

], Rm =

⎢⎢⎢⎢⎢⎣

00...

0r

⎥⎥⎥⎥⎥⎦

(28)

where a j = ∑mi=1 βia ji , j = 1, ..., n, bj = ∑m

i=1 βibji , j = ρ, ..., n, and r = ∑mi=1 βi(ri/bi),

j = 1, ..., n, and where the parameters a ji , bji and ri are state-space model parametersdefined as in Eq. 15. Note that the state-space system with matrices from Eq. 28 hasrelative degree ρ what is reflected in the form of matrix Cm – last (ρ − 1) elementsare equal to 0 while bρ �= 0.

Proposition 1 If the coincidence horizon H is lower than the plant relative degree ρ

(H < ρ), then the control law (27) is not applicable.

Proof By taking into account the form of matrices in Eq. 28, it can easily be shownthat

(AH

m − I) (

Am − I)−1

Bm =

⎢⎢⎢⎢⎢⎢⎢⎢⎢⎢⎣

0...

01�...

⎥⎥⎥⎥⎥⎥⎥⎥⎥⎥⎦

(29)

i.e. the first (n − H) elements of the vector are zeros, then there is the element 1,followed by (H − 1) arbitrary elements. It then follows from Eqs. 26 and 29 thatg0 = 0 if ρ > H, and consequently the control law cannot be implemented. �

The closed-loop system analysis makes sense only in the case of non-singularcontrol law. Consequently, the choice of H is confined to the interval [ρ, ∞).

Page 10: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

288 J Intell Robot Syst (2007) 49:279–292

4 Stability Analysis

The stability analysis of the proposed predictive control can be performed using anapproach of linear matrix inequalities (LMI) proposed in [29] and [27] or it can bedone assuming the frozen-time theory [14, 15] which discusses the relation betweenthe nonlinear dynamical system and the associated linear time-varying system.

In our stability study we have assumed that the frozen-time system given in Eq. 16is a perfect model of the plant, i.e. yp(k) = ym(k) for each k. Next, it is assumed thatthere is no external input to the closed-loop system (w = 0) – an assumption oftenmade when analysing stability of the closed-loop system. Even if there is externalsignal, it is important that it is bounded. This is assured by selecting stable referencemodel, i.e. |ar| < 1. The results of the stability analysis are also qualitatively the sameif the system operates in the presence of bounded disturbances and noise.

Note that the last term in the parentheses of the control law (27) is equal to g0r.This is obtained using Eqs. 26 and 28. Taking this into account and considering theabove assumptions the control law (27) simplifies to:

u(k) = g−10

(−CmAH

m x0m(k)

)− r (30)

Inserting the simplified control law (30) into the model of the “undelayed” plant (17)we obtain:

xm(k + 1) =(

Am − Bmg−10 CmAH

m

)x0

m(k) (31)

The closed-loop state transition matrix is defined as:

Ac = Am − Bmg−10 CmAH

m (32)

If the system is in the controllable canonical form, the second term on the right-hand side of Eq. 32 has non-zero elements only in the last row of the matrix, andconsequently Ac is also in the Frobenius form. The interesting form of the matrix isobtained in the case H = ρ. If H = ρ, it can easily be shown that g0 = bρ and that Ac

takes the following form:

Ac =

⎢⎢⎢⎢⎢⎢⎢⎢⎣

0 1 0 0 · · · 00 0 1 0 · · · 00 0 0 1 . . . 0...

...... · · · . . .

...

0 0 0 0 · · · 1

0 · · · 0 − bn

· · · − bρ+1

⎥⎥⎥⎥⎥⎥⎥⎥⎦

(33)

The corresponding characteristic equation of the system is:

(

zn−ρ + bρ+1

bρzn−ρ−1 + bρ+2

bρzn−ρ−2 + . . . + bn−1

bρz + bn

)

= 0 (34)

The solutions of this equation are closed-loop system poles: ρ poles lie in the originof the z-plane while the other (n − ρ) poles lie in the roots of the polynomial

Page 11: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292 289

bρzn−ρ + bρ+1zn−ρ−1 + . . . + bn−1z + bn. These results can be summarised in the fol-lowing proposition:

Proposition 2 When the coincidence horizon is equal to the relative degree of themodel (H = ρ), then (n − ρ) closed-loop poles tend to open-loop plant zeros, whilethe rest (ρ) of the poles go to the origin of z-plane.

The proposition states that the closed-loop system is stable for H = ρ if the plantis minimum phase. When this is not the case, the closed-loop system would becomeunstable if H is chosen equal to ρ. In such case the coincidence horizon should belarger.

The next proposition deals with the choice of a very large coincidence horizon.

Proposition 3 When the coincidence horizon tends to infinity (H → ∞) and the open-loop plant is stable, the closed-loop system poles tend to open-loop plant poles.

Proof The proposition can be proven easily. In the case of stable plants, Am is aHurwitz matrix that always satisfies:

limH→∞

AHm = 0 (35)

Combining Eqs. 32 and 35 we arrive at the final result

limH→∞

Ac = Am (36)

The three propositions give some design guidelines on choosing the coincidencehorizon H. If H < ρ, the control law is singular and thus not applicable. If H = ρ,the closed-loop poles go to open-loop zeros, i.e. high-gain controller is being used. IfH is very large, the closed-loop poles go to open-loop poles, i.e. low-gain controller isbeing used and the system is almost open-loop. If the plant is stable, the closed-loopsystem can be made stable by choosing coincidence horizon large enough.

5 Simulation Results

Reference tracking ability and disturbance rejection capability of the FMBPC con-trol algorithm were tested experimentally on a simulated CSTR plant. The FMBPCwas compared to the conventional PI controller.

In the first experiment the control system was tested for tracking the referencesignal that changed the operating point from nominal (CA = 0.1 mol/l) to largerconcentration values and back, and then to smaller concentration values and back.The proposed FMBPC used the following design parameters: H = 9 and ar = 0.96.The parameters of the PI controller were obtained by minimising the followingcriterium:

CPI =400∑

k=0

(yr(k) − yPI(k))2 (37)

Page 12: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

290 J Intell Robot Syst (2007) 49:279–292

Fig. 2 The performanceof the FMBPC and the PIcontrol in the case of referencetrajectory tracking

where yr(k) is the reference model output depicted in Fig. 2, and yPI(k) is thecontrolled output in the case of PI control. This means that the parameters of thePI controller were minimised to obtain the best tracking of the reference modeloutput for the case treated in the first experiment. The optimal parameters wereKP = 64.6454 l2mol−1min−1 and Ti = 0.6721 min. Figure 2 also shows manipulatedand controlled variables for the two approaches. In the lower part of the figure, theset-point is depicted with the dashed line, the reference model output with the dottedline, the FMBPC response with the thick solid line and the PI response with thethin solid line. The upper part of the figure represents the two control signals. Theperformance criteria obtained in the experiment are the following:

CPI =400∑

k=0

(yr(k) − yPI(k))2 = 0.0165 (38)

CF MBPC =400∑

k=0

(yr(k) − yF MBPC(k))2 = 0.0061 (39)

The disturbance rejection performance was tested with the same controllers thatwere set to the same design parameters as in the first experiment. In the simulationexperiment, the step-like positive input disturbance of 3 l/min appeared and disap-peared later. After some time, the step-like negative input disturbance of −3 l/minappeared and disappeared later. The results of the experiment are shown in Fig. 3where the signals are depicted by the same line types as in Fig. 2. Similar performancecriteria can be calculated as in the case of reference tracking:

CPI =400∑

k=0

(yr(k) − yPI(k))2 = 0.0076 (40)

CF MBPC =400∑

k=0

(yr(k) − yF MBPC(k))2 = 0.0036 (41)

Page 13: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

J Intell Robot Syst (2007) 49:279–292 291

Fig. 3 The controlperformance of the FMBPCand the PI control in the caseof disturbance rejection

The obtained simulation results have shown that better performance criteria areobtained in the case of the FMBPC control in both control modes: the trajectorytracking mode and the disturbance rejection mode. This is obvious because the PIcontroller assumes linear process dynamics, while the FMBPC controller takes intoaccount the plant nonlinearity through the fuzzy model of the plant. The proposedapproach is very easy to implement and gives a high control performance.

6 Conclusion

In the paper a new fuzzy model-predictive algorithm has been presented. TheFMBPC control law is given in explicit analytical form and for that reason itis easily implementable in programmable logical controllers and other industrialhardware. The paper discusses stability issues of the proposed approach. The resultsof the stability study are some guidelines on choosing the design parameters of thecontroller. Fuzzy model based predictive control is potentially interesting in thecase of batch reactors, heat-exchangers, furnaces and all the processes with strongnonlinear dynamics and high transport delays. In the paper the performance ofthe FMBPC control was tested on a simulated continuous stirred tank reactor andcompared to the optimally tuned classical PI controller.

Acknowledgements The work was done in the frame of the bilateral project between France andSlovenia, Multivariable predictive control, FR-2002-1. The author would like to thank the Ministryof Higher Education, Science and Technology, Slovenia, and Egide, France, for the support.

References

1. Abonyi, J., Nagy, L., Szeifert, F.: Fuzzy model-based predictive control by instantaneous lin-earization. Fuzzy Sets Syst. 120(1), 109–122 (2001)

2. Andone, D., Hossu, A.: Predictive control based on fuzzy model for steam generator. In:Proceedings ot the IEEE International Conference on Fuzzy Systems, vol. 3, pp. 1245–1250(2004)

Page 14: Design and Stability Analysis of Fuzzy Model-based Predictive …msc.fe.uni-lj.si/Papers/JINT_Blazic2007.pdf · Some stability and design issues of fuzzy model-based predictive control

292 J Intell Robot Syst (2007) 49:279–292

3. Bequette, B.W.: Nonlinear control of chemical processes: a review. Ind. Eng. Chem. Res. 30,1391–1413 (1991)

4. Clarke, D.W., Mohtadi, C., Tuffs, P.S.: Generalized predictive control – parts 1 and 2. Automat-ica 24, 137–160 (1987)

5. Cutler, C.R., Ramaker, B.L.: Dynamic Matrix Control – A Computer Control Algorithm. ACC,San Francisco (1980)

6. De Keyser, R.m.C, Van de Valde, P.G.A., Dumortier, F.A.G.: A Comparative study of self-adaptive long-range predictive control methods. Automatica 24(2), 149–163 (1988)

7. Doyle, F.J., Ogunnaike, T.A., Pearson, R.K.: Nonlinear model-based control using second-ordervolterra models. Automatica 31, 697–714 (1995)

8. Figueroa, J.L.: Piecewise linear models in model predictive control. Lat. Am. Appl. Res. 31(4),309–315 (2001)

9. Goldberg, R.R.: Methods of Real Analysis. Wiley, New York (1976)10. Henson, M.A., Seborg, D.E.: Input–output linerization of general processes. AIChE J. 36, 1753

(1990)11. Henson, M.A.: Nonlinear model predictive control: current status and future directions. Comput.

Chem. Eng. 23, 187–202 (1998)12. Kim, J.-H., Huh, U.-Y.: Fuzzy model based predictive control. In: Proceedings of the IEEE

International Conference on Fuzzy Systems, vol. 1, pp. 405–409 (1998)13. Kosko, B.: Fuzzy systems as universal approximators. IEEE Trans. Comput. 43(11), 1329–1333

(1994)14. Leith, D.J., Leithead, W.E.: Gain-scheduled and nonlinear systems: dynamics analysis by

velocity-based linearization families. Int. J. Control 70(2), 289–317 (1998)15. Leith, D.J., Leithead, W.E.: Analyitical framework for blended model systems using local linear

models. Int. J. Control 72(7–8), 605–619 (1999)16. Li, N., Li, S., Xi, Y.: Multi-model predictive control based on the Takagi-Sugeno fuzzy models: a

case study. Inf. Sci. Inf. Comput. Sci. 165(3–4), 247–263 (2004)17. Lin, C.-H.: Siso nonlinear system identification using a fuzzy-neural hybrid system. Int. J. Neural

Syst. 8(3), 325–337 (1997)18. Moon, T.K., Stirling, W.C.: Mathematical Methods and Algorithms for Signal Processing.

Prentice-Hall, Upper Saddle River, NJ (1999)19. Morningred, J.D., Paden, B.E., Mellichamp, D.A.: An adaptive nonlinear predictive controller.

Chem. Eng. Sci. 47, 755–762 (1992)20. Padin, M.S., Figueroa, J.L.: Use of CPWL approximations in the design of a numerical nonlinear

regulator. IEEE Trans. Automat. Contr. 45(6), 1175–1180 (2000)21. Richalet J., Rault, A., Testud, J.L., Papon, J.: Model predictive heuristic control: applications to

industrial processes. Automatica 14, 413–428 (1978)22. Richalet, J.: Industrial application of model based predictive control. Automatica 29(5), 1251–

1274, (1993)23. Roubos, J.A., Mollov, S., Babuska, R., Verbruggen, H.B.: Fuzzy model-based predictive control

using Takagi–Sugeno models. Int. J. Approx. Reason. 22(1–2), 3–30 (1999)24. Sun, H.-R., Han, P., Jiao, S.-M.: A predictive control strategy based on fuzzy system. In:

Proceedings of the 2004 IEEE International Conference on Information Reuse and Integration,pp. 549–552 (2004)

25. Škrjanc, I., Matko, D.: Predictive functional control based on fuzzy model for heat-exchangerpilot plant. IEEE Trans. Fuzzy Syst. 8(6), 705–712 (2000)

26. Takagi, T., Sugeno, M.: Fuzzy identification of systems and its applications to modelling andcontrol. IEEE Trans. Syst. Man Cybern. 15, 116–132 (1985)

27. Tanaka, K., Ikeda, T., Wang, H.O.: Robust stabilization of a class of uncertain nonlinear systemsvia fuzzy control: quadratic stabilizability, H∞ control theory, and linear matrix inequalities.IEEE Trans. Fuzzy Syst. 4(1), 1–13 (1996)

28. Wang, L.-X., Mendel, J.M.: Fuzzy basis functions, universal approximation, and orthogonal least-squares learning. IEEE Trans. Neural Netw. 3(5), 807–814 (1992)

29. Wang, H.O., Tanaka, K., Griffin, M.F.: An approach to fuzzy control of nonlinear systems:stability and design issues. IEEE Trans. Fuzzy Syst. 4(1), 14–23 (1996)

30. Ydstie, B.E.: Extended Horizon Adaptive Control. IFAC World Congress, Budapest (1985)31. Ying, H.G.: Necessary conditions for some typical fuzzy systems as universal approximators.

Automatica 33, 1333–1338 (1997)