Professional Documents
Culture Documents
129
MLZUMOTO
ABSTRACT
A fuzzy logic controller consists of iinguistic control rules tied together by means of two
concepts: fuzzy implications and a compositional rule of inference. Most of the existing fuzzy
logic controllers are based on the approximate reasoning method due to Mamdani. This paper
introduces other fuzzy implications, such as the arithmetic rule and maximin rule, for linguistic
control rules and compares control results for a plant model with first order delay under
various approximate reasoning methods. Moreover, control results are compared when the
widths of fuzzy sets of linguistic control rules are changed.
1.
~~ODUC~ON
OOZO-0255,88/$03.50
~S~RU
130
2.
MIZUMOTO
We shall consider the following form of inference in which a fuzzy implication is contained, where A, A are fuzzy sets in U, and B, B are fuzzy sets in V,
Anti:
Ant2:
IfxisAthenyisB
x is A
cons: y is B
The consequence B is deduced from Ant1 and Ant2 by taking the max-min
composition 0 of the fuzzy set A and the fuzzy relation A -+ B obtained from
the fuzzy implication if A then B . Namely, we have
B-Ao(A+B),
VARIOUS
FUZZY
REASONING
131
METHODS
TABLE 1
PI
[by Mamdani]
[by Larsen]
[bounded product]
Rp:
Rbp:
PAUO)APa(U)
a(uo)~Pa(u)
o[P,(~o)+cs(u)-ll
Rdp:
PA(UO). Pa(U)=l
P&?(U)>PA(UO)
=l
PA(UOhUB(U)<l
i 0,
[drastic product]
Rg:
RA:
[by Gougen]
Ra:
Rm:
Rb:
R*:
Rft:
Rs:
i PB(U>Y PA(UO)>BB(U)
1,
P(UO)satJ(u>
CB(UVP(UO)l BA(UO)BB(U)
[Giidelian logic]
We shall next consider the following form of inference in which the hypothesis of a fuzzy conditional proposition If.. . then.. . contains two fuzzy propositions x is A and y is B combined using the connective and.
Ant1 :
Ant2:
If x is A and y is B then z is C
x is A and y is B
Cons:
z is C
(2)
132
MASAHARU MIZUMOTO
G
@i
.r
_-
.-._.
-5
VARIOUS
FUZZY
REASONING
METHODS
133
The consequence
C can be deduced from Ant1 and Ant2 by taking the
max-min composition
0 of a fuzzy set (A and B) in U x Y and a fuzzy
relation (A and B) + C in U X V X W. Namely, we have
C=(Aand
B)o[(A
and B) -C]
r&)=V(
PA<
( u) A~~(u)Arc(w)Av[Ir,,(u)A~,(u)APc(W)I
B)oRc(A,B;C)
=[AoRc(A;C)]n[BoRc(B;C)].
Similarly,
we can have
(Aand
B)o[(Aand
B) -C]
=[A+4+C)]n[B~(B+C)]
(5)
MASAHARU
134
MIZUMOTO
It is noted that Ra, Rb, R*, Rs, Rg, and RA in Table 1, for which the
equality (u A b) + c = (u --) c) v (b + c) holds, satisfy the following (see [3]):
(Aand
B)#Aand
B) +C]
=[A+4+C)]u[B+-+C)].
(6)
When the fuzzy sets A and B are singletons in (2), i.e., A = u. and B = u,,
the consequence C of (3) is abbreviated as
{l[h~%h~b~))
-P&>]>
= M~o)~PcLg(~cl)I
-+Pc(W).
(7)
RC:
~A(UO)PB(UO)I
kb)~
(8)
PlfO =cL(1(o)~cI-~(~~)~c1~(w)~
Rp of
(11)
EXAMPLE 2. Figure 3(a) and (b) show the consequences C by Rc (8) and Ra
(9) at A = u. and B = u,. Figure 3(c) indicates the consequence C by (11). In
a similar way, we can obtain consequences C at A = u. and B = u,, by other
fuzzy implications in Table 1 from (7) and (10) by letting pA(
pB(u,,) = a
or pA( z+,).~,( uO) = a in Figure 2.
VARIOUS
FUZZY REASONING
135
METHODS
C ,*
*
(a>
(b)
Fig. 3. Inference results C at pA(u,,) = 0.8 and pe(uo) = 0.6: (a) pc,(w) = (pA(
AC&W) of (8); (b) ~c,(w)=lA[l-(~,(u,)A~,(u,))+~~c(w)l
of (9); (4
~P~~O~~PS~~O~l~PC~~~
of (11).
pB(uo)]
PC,(W)=
136
MASAHARU
MIZUMOTO
Cons:
z is C.
B)o[((A,
...
u((A,
(12)
Rc is given as
-C,)n(BoB,+C,)]
u . . . u[(A~A,+C,)n(B~B,+C,)].
(13)
Note that else is also interpreted as union for the fuzzy implications Rp,
Rbp, and Rdp in Table 1, and the above equality holds for these implications.
When A = u,-, and B = u,, the consequence C by the method Rc is given as
c=c;uc;u
-0.
UC,,
(14
VARIOUS
FUZZY
REASONING
METHODS
137
For the fuzzy implications Ra, Rm, Rb, R* , R#, Rs, Rg, and RA in Table 1,
else in (12) can be interpreted as intersection (n). Thus, the consequences C
for these fuzzy implications are defined as
C=(Aand
c
B)e[((A,
[(AoA,~c,)u(BoB,-,c,)]
.-. n&4,
n .*a n[(AoA,~c,)u(BoB,-,c,)].
(16)
C=c;nc;n
... nc;,
n, is represented
from (9) as
(17)
cc;(w) =l~[l-(Pri(~o)~~,,(OO))+Pc,(W)].
(18)
In the same way, we can have C by Rm, Rb, R* ,R#, Rs, Rg, and RA as in
(17).
To obtain
fuzzy set C,
which has the
the following
gravity of the
Jwc44 dw
w=
/pc#(w)dw .
(19)
MASAHARU
138
MIZUMOTO
TABLE 2
Fuzzy Control Rules e, Ae + Aq [4]
e
1 Ae-NB
NB
NM
NS
zo
PS
PM
PB
NM
PM
PB
NS
ZO
PS
PM
PB
PS
PB
PM
PS
zo
NS
NM
NB
NS
NM
NB
=q(k-l)+Aq.
Yamazaki and Sugeno [4] give fuzzy control rules for a system with first
order delay as in Table 2. This table shows 13 fuzzy control rules interpreted as
Rl:
ejsNB
and AeisZO
Aq is PB,
R2:
eisNM
and AeisZO
AqisPM,
eisZ0
and AeisPB
Aq is NB.
R13:
-6
-5
-4
-3
-2
-1
(20)
VARIOUS
FUZZY
REASONING
139
METHODS
eisNS
and AeisZO
A9 is PS,
eisZ0
and AeisZO
Aq isZ0,
and AeisPS
-,
Aq is NS.
eisZ0
(21)
When Mamdanis method of (15) is used, the change in action AqO is obtained
as in Figure 5. In the same way, AqO is given as in Figure 6 by the method of
Ra of (18).
Figure 7(a) shows AqO at e = e0 and Ae = Ae, when using all 13 fuzzy
control rules in Table 2 by Mamdanis method Rc. Figure 7(b) and (c) show Aq,
according to Ra and Rg, respectively.
Using the above methods, we shall first indicate control results for a plant
model G(s) = e- 2/(1 + 20s) with first order delay and dead time under various
approximate
reasoning methods in Table 1. In this experiment, we use the
following expression:
clc:(Aq)= [pa,(edApB,(Ae,)]
+puc,(Aq)
(22)
[see (7)-(g)], where and in (20) is interpreted as A ( = min), and A,, B,,C,
(i = 1,. . . ,13) are fuzzy sets shown in Figure 2 and Table 2. It is found from the
computer simulation in Figure 8(a)-(c) that all of the approximate reasoning
methods except Rm, Rg, Rs, and RA obtain good control results. In particular,
Rc, Rp, Rbp, and Rdp obtain the best results. Note that these methods are
based on fuzzy products known as t-norms. Similar control results are observed
in other computer simulations not shown in this paper.
In the case of Mamdanis method Rc, which gets a good control result, it is
found from Figure 7(a) for Aq,, at e, and Ae, that we have AqO = 0 at e, = 0
and be, = 0 (indicated by a dot in the center of the figure) and that AqO
decreases to minus when e, and/or
be, increase to plus in the area of
e, = AqO + 0. On the other hand, for the method Ra [see Figure 7(b)], the rate
140
MASAHARUMIZUMOTO
VARIOUS
FUZZY
REASONING
METHODS
NI
. .
I
i
.- :=. .
-.
-_
.- .-
c-
i.
--..
--_
w
I
Q11
.
_. . .--
.-
-._p--.
-_
a?
_Ei _-_. .
:
:
_.-I
*.
--.
*.
--.
141
MASAHARU MIZUMOTO
142
-6
e0
(a>
-6
+eo
(b)
Fig. 7. Aq, at e, and Ae, by fuzzy control rules in Table 2: (a) Mamdanis method Rc (14):
(b) Zadehs method Ra (18); (c) Rg based on Gadelian logic in Table 1.
VARIOUS
FUZZY
REASONING
METHODS
143
-6
-6
c)
+e
Fig. I. Continued.
of decrease of Aq, is observed to be smaller than that of Aq, by the method Rc.
Therefore, the convergence on the set point of the control result by the method
Ra becomes slower than that of the method Rc [see Figure 8(b)].
It is noted that the methods Rg, Rs, and RA show the worst control results,
as in Figure 8(c). We shall analyze why the method Rg, which is based on the
implication
rule of Giidelian logic and which can get reasonable inference
results in fuzzy reasoning [2], cannot get a good control result. As is seen from
Figures 7(c) and 9, the rate of decrease of Aqo is zero (flat) at e,, be,, 8 0, that
is, Aq,, = 0 in the area. Thus, no change is made in the control action q, and so
the same action continues to be taken. More precisely, it is seen from Figure
8(c) that the control result of Rg converges on the point h = 58.3 (not at 60). In
our computer simulation we use the expression
e, = -h-40
40
x6
40 = set point,
6 = scale factor,
to obtain the error e, from the output h of the plant model. For example,
have e, = 3 at h = 60. We shall show what value of Aq,, can be obtained
e, < 3 and Ae, = 0, which corresponds to the case of the conuol result of
converging to h = 58.3. When e, < 3 and Be, = 0, the fuzzy control rules
we
at
Rg
in
MASAHARU
MIZUMOTO
(b)
Fig. 8. Control results under various approximate reasoning methods [,,and is interpreted as
A ( = min)]: control results by (a) Rc, Rp, Rbp, and Rdp; (b) Ra, Rm, Rb, R*, and R#;
(c) Rs, Rg, and RA. Time constant = 20, dead time = 2, (scale factor of Ae) = 1.2, (scale factor
of Aq) - 2.5.
VARIOUS
FUZZY
REASONING
145
METHODS
Fig. 8. Continued.
and AeisZO
Aq is NS,
eisPM
and AeisZO
Aq isNM
eisZ0
and AeisZO
Aq is ZO,
eisZ0
and AeisNS
Aq is PS
eisZ0
and AeisPS
Aq is NS.
(*l),
(*2),
MASAHARU MIZUMOTO
146
Fig. 9. A9o at - 3.0 4 e, 4 3.0 and - 3.0 6 be, s 3.0 by fuzzy control rules in Table 2 under
the method Rg.
and Ae, = 0 does not change, since AqO= 0, so that the control result converges
to h - 58.3.
It is noted that if e,, becomes exactly equal to 3 (h = 60) and Ae, = 0, the
fuzzy control rules to be used are
eisPS
and AeisZO
AqisNS,
eisPM
and AeisZO
AqisNM,
and the center of gravity of the resulting fuzzy set is given as - 3 (indicated by
0 in Figure 9). Thus, AqO= - 3 when e, = 3 and Ae,,= 0, though Aq,, = 0 at
e, < 3 and Ae, - 0. The same holds for the method RA. For example, the
control result by the method RA in Figure 7(c) does not change until time 95,
when h reaches 60, and then it decreases suddenly, since Aqc changes suddenly
from 0 to - 3.
We shall next show control results in Figure 10 when and is interpreted as
the algebraic product (e) in the following [see (lo)]:
p&W = [&h&W]
+p&d
(23)
VARIOUS
FUZZY
REASONING
METHODS
147
40
reasoning
methods
rand
is interpreted
as
4. FUZZY
OF FUZZY
CONTROLS ON VARYING
CONTROL RULES
THE FUZZY
SETS
-4
-6 -5 -4
I
-6
1 NE
-2
-2
NS
0
1
(c) Width 2
-1
PS
0.2
zo
3
4
PM
PB
PB
-6 -5
-6
-6
NB
-4
-4
-4
-3 -2
-2
-2
1
_.--..,
(ZO
1
(f) Width 1"
-1
(d) Width 4
(b) Width 1
(NS
-3
Nf?
PS
PM
P8
PB
149
(b)
Fig. 12. Control results on changing the widths of fuzzy sets (by Mamdanis method Rc):
(a) dead time = 2; (b) dead time = 5.
MASAHARU MIZUMOTO
150
big. When W = 4 and 6, we get good control results. It is found from the
computer simulations that good control results are obtained when the fuzzy sets
of the fuzzy control rules are not isolated and not too much overlapped. In fact,
at W = 4, the height of the crossing-point of neighboring fuzzy sets is 0.5, as in
Figure 11(d).
When the width W of fuzzy sets is small (W = 0.2,l) as in Figure 11(a) and
(b), no fuzzy control rules are used at, say, e,, = 3 and thus the resulting fuzzy
set C for bq, is empty. The center of gravity Aq, of C is not defined, but is
assumed to be 0, and no change is made to the control action q. Therefore, in
general, the control results at W - 0.2 and 1 do not converge on the set point as
shown in Figure 12.
When the width W of fuzzy sets is large, the number of fuzzy control rules to
be used is larger than in the case of small W. For example, when W = 10 [see
Figure 11(f)], the fuzzy control rules to be used at e,, = 3 and Ae, = 0 are as
follows:
eisPS,
AeisZO
-,
Aq is NS,
eisPM,
AeisZO
Aq is NM,
e isZ0,
Ae isNM
Aq is PM,
eisZ0,
AeisNS
--,
Aq is PS,
isZ0,
be isZ0
Aq isZ0,
eisZ0,
AeisPS
--,
AqisNS,
e isZ0,
Ae isPM
--)
Aq isNM,
and the center of gravity Aq, of the resulting fuzzy set C inferred from the
seven control rules is - 1.37 at e, = 3 and be, = 0. On the other hand, when
W = 4 [see Figure 11(d)], we have the following control rules at e, = 3 and
he, = 0:
e isPS,
eisPM,
he isZ0
Aq isNS,
AeisZO
Aq is NM,
and the center of gravity Aq, is - 3. Thus, the change in action Aq, at large W
becomes smaller than Aqa at small W as shown in the example, so that the
control results at large W become slower owing to the insensible A%.
VARIOUS
5.
FUZZY
REASONING
METHODS
151
CONCLUSION
I987