Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
by using convex optimization methods. by a collection of coupled MISO discrete-time fuzzy models.
MBPC [7] consist of four basic elements; (i) a model, which Denote q ,1 the backward shift operator: q ,1 y k( )= (
def
y k,
describes the process, (ii) a goal, defined by an objective 1) , where y is a signal sampled at discrete time instants k .
function, (iii) optional constraints on the system and control
Denote by and polynomials in q ,1 , e.g., = + 0
variables, and (iv) an optimization procedure. The model + +
1 q,1 2 q,2 : : :. Given two integers, m n, define
must give a good description of the system and may be an ordered sequence of delayed samples of the signal y as:
black-box, gray-box or a white-box model.The objective
function is a function of the predicted future system inputs fy(k)gnm def
=[y(k,m); y(k,m,1); : : : ; y(k,m,n+1)] :
The MISO models are of the input–output NARX type: 2.2.1 Linear state-space MBPC
yl (k + 1) = Fl (xl (k)) ; l = 1; 2; : : :; no ; (2) In Linear MBPC [7], a linear model is used to predict
^
where the regression vector xl (k ) is given by:
the output y as a function of the predicted control signal
^( + )
u k; : : : ; k Hp , with Hp the prediction horizon. The ob-
xl (k) = fy1(k)gn0 1 ; : : : ; fyn (k)gn0 ;
yl
o
ylno jective function, given by Eq.(1), is minimized for a given
VAF = 100% 1 , varvar (Y ) (4) Define x; u and y for the state-space description as:
where Y is the true output and Ym is the simulated output. x(k) = [x1(k); x1(k , 1); : : : ; x1 (k , ny1); : : : ; (11)
xn (k ); xn (k , 1); : : : ; xn (k , nyn )]T ;
o o o o
Flow (l/s)
The local linear system matrices are now derived as follows:
A is a Pno nyj Pno nyj 1 matrix:
j =1 j =1 (= ) 0.05
Level (m)
. .
6 7
6 .. .. .. 7
6 0 ::: . . . 7 0.5
6
2;1 2;2 : : : : : : : : : : : : 2;1 7
A =6
6
7
7 ; (14) 0
6 .. .. .. .. 7
0
0 500 1000 1500 2000 2500
6 . . . . 7
6
6
n ;1 n ;2 : : : : : : : : : : : : n ;1 7
7
1
C
Level (m)
::: 0 1 ::: 0
o
0 0
o o
6 7
6 7 0.5
4 .. .. .. .. .. .. 5
. . . . . .
0 ::: 0 0 ::: 1 0 0
The Linear MBPC algorithm is used within the internal where S is the horizontal cross-sectional area ( ,3 m2 ), h 10
model control (IMC) scheme, which is used to compensate is the level of liquid in the tank, is a flow coefficient (equal
for process disturbances, measurement noise and modeling to 1), and Fi is the inlet liquid flowrate. This model was
errors [9, 13]. In general, the IMC scheme consists of three simulated in SIMULINK in order to obtain input-output data
parts [8]: 1) an internal model to predict the effect of control sequences for identification (Fig. 1a,b). The control signal
actions on the process output, 2) a feedback filter to achieve is limited to [0.02, 0.1] (l/s) and has a sample time of 10 (s).
robustness, and 3) a controller to optimize the process. Fig. The first 250 sample points are used for identification and the
2 gives the local linearized model in the LMBPC scheme next 250 sample points are used for model validation (Fig.
with an internal model and a feedback to compensate for 1c). The fuzzy model contains three rules with projected
disturbances and modeling errors. m is the output of the y clusters in the antecedents (Fig. 3) and a first order NARX
at every sample step locally linearized TS model. This structure in the consequents. The VAF performance index
block has its own state and is integrated internally. The for this model is 98.0%. The rules of the TS model are:
difference between the process output and the linearized y
y
model output m is fed back with a feedback gain. 1: If y(k) is
11 and u(k) is
12 then
y(k + 1) = 3:69 10,1 y(k) + 4:35 10,1 u(k) , 6:31 10,2 ;
3 Examples
2: If y(k) is
21 and u(k) is
22 then
In this section, two examples with water vessel systems y(k + 1) = 5:30 10,1 y(k) + 5:73 10,1 u(k) , 1:69 10,1 ;
are presented. Both examples are simulations and easy to
3: If y(k) is
31 and u(k) is
32 then
understand. The dynamic structure however is similar to y(k + 1) = 6:11 10,1 y(k) + 7:61 10,1 u(k) , 3:75 10,1 :
real applications in industry.
Figure 2. Locally linearized TS model in the MBPC scheme with an internal model and a feedback to
compensate for disturbances and modeling errors.
Membership (−)
1
1 1
0 0
0 0.5 1 0 0.05 0.1 0.6
Level (m)
Level (m) Flow (l/s)
0.4
Figure 3. Membership functions for single
vessel liquid level process; 11 ; 12 ; 13 (left)
0
0 200 400 600 800 1000
Time (s)
This model is used in the IMC scheme (Fig. 2) with
a one-step-ahead prediction, i.e. Hc Hp , the cri- = =1
terion weights P and Q are 1 and 0, respectively and the
Figure 4. System tracking of three different
reference trajectories with step changes.
feedback gain is set at 0.5. The tracking performance for
three reference trajectories with step changes of 0.05 and
0.10 (m) is shown in Fig. 4. The system reacts with small 2
overshoot after each step change. This overshoot is due to 0 0 3
p 6 01 0
linearization errors and can be influenced by changing the h + 4 S1 3 0 75 Fin ; (18)
weights in the criterion, a different feedback gain or, a differ- 1
0 S1 4
;
;
ent reference filter. The performance is good in comparison
with the fuzzy relational model based controller described where S1;j and S2;j are the inlet and the outlet area of tank j ,
by Postlethwaite [14]. The overshoots are smaller and the g is the gravity constant (equal to 9.81), ri;j is the restriction
controller anticipates very well on future references. parameters from vessel i to vessel j and fin;j the water flow
into vessel j . In this case, the variables are chosen:
h
3.2 MIMO liquid level process r3;1 r3;2 i =
0:8 0:2 i ; h
r4;1 r4;2
0:2 0:8 (19)
2
, SS21 11 p2g
;
0 r3;1 SS21 31 p2g r4;1 AS21 41 p2g 3
; ; The structure of the MIMO model is selected by using the
, SS21 22 2g r3;2 SS21 32 p2g r4;2 AS21 42 p2g 7
p
; ; ; insight in the physical structure of the system as follows:
6 0 ; ; ;
1 2
0 1 13 2
0 03 2
0 03
h_ = 6
6
;
S 2 3p
; ; 7
7
4 0 0 , S1 3 2g 0 5 ny = 4 00 1 1 1 5 ; nu = 4 0 05; n = 40 05 :
;
d
, SS21 44 p2g
;
0 1 0 1 0 1 0 (21)
0 0 0 ;
; 0 0 0 1 0 1 0 1
1.5 Q1 Q2
Flow (l/s)
1
0.5
h3 h4
0
1.5 3 4
Flow (l/s)
1
0.5
0
1.5
Flow (l/s)
1
h1
0.5 h2
0 1 2
1.5
Flow (l/s)
1
0.5
0
0 2000 4000 6000 8000 10000
Figure 7. Liquid level process with four cas-
caded vessels.
Figure 5. Comparison of the process out- 1
put (solid line) with the fuzzy model (dashed-
h1 (m)
0.5
dotted line).
0
1
h2 (m)
0.01 0.5
Q1 (l/s)
0
0.005
1
h3 (m)
0
0 2000 4000 6000 8000 10000 0.5
0.01
0
Q2 (l/s)
0.005
1
h4 (m)
0.5
0
0 2000 4000 6000 8000 10000
Time (s)
0
0 2000 4000 6000
Time (s)
Figure 6. Input data for identification.
(a) Outputs for four vessel liquid level process.
0.01
Q1 (l/s)
has a VAF-value of [99.3, 98.7, 99.5, 99.0]% which shows (b) Control input for solid lines.
a high similarity with the simulated process. A comparison 0.01
Q1 (l/s)
0.005
ined for the system using constant inputs. The reference
0
trajectories with setpoint changes are designed using these 0 2000 4000 6000
Time (s)
steady states. The feedback gain is set at 0.5. The sim-
ulation result for two different sets of reference trajector- (c) Control input for dashed dotted lines.
ies is given in Fig. 8a. The weight matrices in Eq.(1) are
P= diag ; ; ; and ([1 1 1 1]) Q=
diag ; . The calcu- ([0 0]) Figure 8. Controller performance for two dif-
lated control actions are given in Fig. 8b and Fig. 8c. ferent trajectories.
4 Conclusions
Linear model based predictive control of nonlinear pro- References
cesses, using locally linearized TS models, shows good res-
ults for the given examples. However, these results are very [1] J.M. Sousa, R. Babuška, and H.B. Verbruggen. Branch-and-
bound optimization in fuzzy predictive control: An applic-
preliminary. In this paper some of the advantages of Linear
ation to an air conditioning system. Control Engineering
MBPC are highlighted. Two of them are: fast computation
Practice, 5:1395–1406, 1997.
of the resulting QP problems and efficient dealing with sys-
tem and control constraints. The proposed controller with a [2] D.A. Linkens and S. Kadiah. Long-range predictive control
using fuzzy process models. IChemE, 74:77–88, 1996.
locally linearized TS model results in a convex optimization
problem, which is a main advantage in comparison with the [3] J. Valente de Oliveira and J.M. Lemos. Long-range predictive
use of relational models [2, 14, 3], where nonlinear optimiz- adaptive fuzzy relational control. Fuzzy Sets and Systems,
ation methods are necessary. A promising research direction 70:337–357, 1995.
is the use of longer control and prediction horizons, based [4] U. Kaymak, J.M. Sousa, and H.B. Verbruggen. A comparat-
on linearizations in the future, which is under investigation. ive study of fuzzy and conventional criteria in model-based
Also a stability analysis for the developed controller must predictive control. In FUZZ-IEEE, volume 2, pages 907–914,
be done [15]. Barcelona, Spain, 1997.
[5] Y.-Z. Lu, M. He, and C.-W. Xu. Fuzzy modeling and expert
Acknowledgements This work has been done as part of optimization control for industrial processes. IEEE Trans. on
the FAMIMO project funded by the European Commission Control Systems Technology, 5:2–12, 1997.
(ESPRIT LTR 21911). More information is available at [6] T. Takagi and M. Sugeno. Fuzzy identification of systems and
http://iridia.ulb.ac.be/FAMIMO/ its application to modeling and control. IEEE Transactions
on Systems, Man and Cybernetics, 15:116–132, 1985.
Appendix A [7] C.E. García, D.M. Prett, and M. Morari. Model predictive
Given the linear state space system as described by Eq.(6) and
the objective function described by Eq.(1), the constrained Linear control: Theory and practice – a survey. Automatica, 25:335–
MBPC problem can be solved by solving the quadratic program: 348, 1989.
n
min 1 ~uT H ~u + cT ~uo ; (22) [8] C.E. Garcia and M. Morari. Internal model control: 1. a
~u 2 unifying review and some new results. Ind. Eng. Chem.
with: n
H = 2(RTu PRu + Q) Process Des. Dev., 21(308-323), 1982.
c = 2[RTu P T (Rx Ax(k) , r~)]T ; (23)
[9] R. Babuška. Fuzzy modeling and identification. PhD thesis,
and satisfying the constraints on u, u, and y: Delft University of Technology, Department of Electrical En-
~u ! ; (24) gineering, Delft, The Netherlands, 1997.
with [10] R. Babuška and H. B. Verbruggen. Fuzzy set methods for
2
Iu 3
umax , Iu u(k , 1) 3
2
,Iu min , Iu u(k , 1)
6 ,u
local modeling and identification. In R. Murray-Smith and
6 7 7
=6 IH m
p 7 6
7; ! = 6
umax 7
7:
T. A. Johansen, editors, Multiple Model Approaches to Non-
6
4 ,I H mp
5 4 max,u
min 5
(25) linear Modeling and Control, pages 75–100. Taylor & Fran-
Ru y , Rx Ax(k) cis, London, UK, 1997.
,Ru ,ymin , Rx Ax(k) [11] M. Setnes, R. Babuška, and H. B. Verbruggen. Rule-based
IH pm is a (Hp m Hp m) unity matrix. The matrices Rx ; Ru ; Iu ; modeling: Precision and transparency. To appear in IEEE
and Iu are defined: Transactions on Systems, Man and Cybernetics, Part A: Sys-
2 3
C tems and Humans, 1998.
CA
Rx =6
4 ..
7
5; (26) [12] R. Babuška, J.A. Roubos, and H.B. Verbruggen. Identifica-
.
CAH ,1 p
tion of MIMO systems by input-output TS fuzzy models. In
FUZZ-IEEE, Anchorage, Alaska, 1998.
2 CB 0 ::: 0 3
CAB CB ::: 0 [13] H.A.B. te Braake. Neural Control of biotechnological pro-
Ru = 6
4 .. .. .. ..
7
5; cesses. PhD thesis, Delft University of Technology, De-
. . . .
CAH ,1 B CAH ,2 B : : : CAH ,H B
p p p c
partment of Electrical Engineering, Delft, The Netherlands,
1997.
(27)
2 u(k) 3 2 I 3 2
I 0 : : : 0 3 2 u(k) 3 [14] B.E. Postlethwaite. Building a model-based fuzzy controller.
6
u~(k+1) 7 6 I 7 6 II : : : 0 7 6 ~ u(k+1) 7 Fuzzy Sets and Systems, 79:3–13, 1996.
4 5 4 .. 5 4 .. .. . . .. 5 4 5
..
= . u(k,1) + . . . . ..
: [15] T.A. Johansen. Fuzzy model based control: stability, robust-
.
u~(k+H ,1)
c
I
| {z }
II
| {z }
: : : I u
~
.
(k+H ,1) c ness, and performance issues. IEEE Transactions on fuzzy
Iu Iu systems, 2:221–234, 1994.
(28)