Fuzzy Control For A Liquid Level System: January 2003
Fuzzy Control For A Liquid Level System: January 2003
net/publication/221399290
CITATIONS READS
4 254
3 authors, including:
Basil M. Al-Hadithi
Universidad Politécnica de Madrid
136 PUBLICATIONS 583 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Basil M. Al-Hadithi on 19 May 2014.
while
0
..
i i
a0 1 n
.
0
i i
a0 1 n
xT x ẋ x n 1
C j1 jn
: If x is N1j1 and ẋ is N2j2 and
3 Fuzzy Controller based on Pole
Assignment Method and x n 1 is Nnjn
j j
Let us consider the problem of designing a FC using then u r ko 1 n K j1 jn
x (3)
the pole assignment method. The fuzzy model is de- j j
scribed by T-S model. Figure 1 represents the fuzzy where N1 1 j1 1 2 s1
are fuzzy sets for x, N2 2
j
control system. j2 1 2 s2
are fuzzy sets for ẋ and Nn n jn
1 2 sn
are fuzzy sets for x n 1 as shown in figure
Let the i1 in
th rule of T-S fuzzy model be repre-
3. h j1 jn k0 j1 jn K j1 jn x is r-dimensional
sented by:
feedback vector, the reference input vector and r is r-
dimensional and K j1 jn is r n matrix. The fuzzy
S i1 in : If x is M1i1 and ẋ is M2i2 and controller will be
r r s s
∑i11 1 ∑inn 1 ∑ j11 1 ∑ jnn 1 w i1 in j1 jn x A i1 in x
ẋ
r r s s
∑i11 1 ∑inn 1 ∑ j11 1 ∑ jnn 1 w i1 in j1 jn x
r r s s
∑i11 1 ∑inn 1 ∑ j11 1 ∑ jnn 1 w i1 in j1 jn x B i1 in K j1 jn x
r1 rn s s
∑i1 1 ∑in 1 ∑ j11 1 ∑ jnn 1 w i1 in j1 jn x
(8)
j j j j j j
where the elements ki1 1 n ki2 1 n kin 1 n
of
the feedback vector h j1 jn k0 j1 jn K j1 jn x
are computed from the following matrix, where its
eigen values are the desired closed loop poles:
s s
then ẋ a0 i1 in
A i1 in x
∑ j11 1 ∑ jnn
1w
j1 jn x K j1 jn x
ũ x
r s1 sn
∑ j1 1 ∑ jn 1 w j1 jn x
i1 in K j1 jn x
a0 Bi1 in k0 j1 jn 0 (6)
x
ẋ
then (5) will be: j j j j
ki1 1 n kin 1 n
.. (11)
.
x n 1
SC i1 in j1 jn
: If x is M1i1 and N1j1
and
ẋ is M2i2 and N2j2
and x n 1 is It can be also written in another form,
Mnin and Nnjn
j j
i1 in i1 in ũ1 1 n x
then ẋ A x B r j1 jn
..
j1 jn
ũ x
.
r K x
i1 in j1 jn
B K x (7) ũr
j1 jn
x
x (head). The capacitance of the tank is equal to its
ẋ
cross-sectional area. qi and qo represent the inflow
r ki1j1 jn
j j
kin 1 n
.. (12) rate and outflow rate. If the flow through the restric-
.
dh
k
A ḣ0 h t
h0
qi t
qi0 (17)
dt 2 h0
flowrate proportional
to the square root of the decreas-
ing level h1 2 t
. The differential equation can be ob- The tank was simulated depending upon various ex-
tained as follows: Since the inflow minus outflow dur- periments looking for a suitable model that coincide
ing small interval dt is equal to the additional amount with the non-linear model given by (16). The area of
stored in the tank, the tank A is equal to 10 cm2 The controlled process
is linearized in three operating points and a fuzzy con-
troller is designed which meets the requirements of
dh
A qi t
qo t
(14) small overshoot in the transient response and a well
dt
damped oscilations with no steady state error.
where A is the capacitance of the tank, which is de-
Recalling (18),
fined to be the change of the quantity of stored liq-
uid necessary to cause a unit change in the potential Let
xT dx d2 x (20)
x dt dt 2
k01
1
0 45 k11
1
0 9 k21
1
78 k31 199
2
Where x denotes the head of the liquid, dx d x
dt and dt 2 are k02
2
0 39 k11
2
2 8 k21
2
45 6 k31 101 8
the first and second derivative of the head respectively.
Firstly, a T-S affine fuzzy model is used to represent k03
3
0 37 k11
3
2 4 k21
3
34 k31 74
the controlled process. The process is linearized in
three operating points as shown in Figure 5. In order The transient response in figure 6 shows a good re-
to simplify the simulation, it is assumed that the mem- sponse near the top and the bottom of the modeled
bership functions of the fuzzy controller are the same level system.
as those of the fuzzy system.
R1 : I f h t
is M11 then
d3h d2h dh
65 13 5
8 7h t
0 09 0 2u t
dt 3 dt 2 dt
(23) k03
3
0 37 k11
3
10 k21
3
140 k31 485 7
C3 : I f h t
is N13 then u t
r ko3 K3 h t
References