Professional Documents
Culture Documents
Abstract
The authors of this paper try to analyze the dynamic behavior of the product-sum crisp type fuzzy controller, revealing
that this type of fuzzy controller behaves approximately like a PD controller that may yield steady-state error for the
control system. By relating to the conventional PID control theory, we propose a new fuzzy controller structure, namely
PID type fuzzy controller which retains the characteristics similar to the conventional PID controller. In order to
improve further the performance of the fuzzy controller, we work out a method to tune the parameters of the PID type
fuzzy controller on line, producing a parameter adaptive fuzzy controller. Simulation experiments are made to
demonstrate the fine performance of these novel fuzzy controller structures.
Keywords: Fuzzy controller; PID control; Adaptive control
1. Introduction
Among various inference methods used in the fuzzy controller found in literatures [5-8, 13, 14], the most
widely used ones in practice are the M a m d a n i method proposed by M a m d a n i and his associates [5] who
adopted the Min-max compositional rule of inference based on an interpretation of a control rule as
a conjunction of the antecedent and consequent, and the product-sum method proposed by Mizumoto [6, 7]
who suggested to introduce the product and arithmetic mean aggregation operators to replace the logical
A N D (minimum) and O R (maximum) calculations in the Min-max compositional rule of inference. In the
algorithm of a fuzzy controller, the defuzzyfication calculation is also a complicated and time consuming
task. Tagagi and Sugeno proposed a crisp type model in which the consequent parts of the fuzzy control rules
are crisp functional representation or crisp real numbers in the simplified case instead of fuzzy sets [13, 14].
With this model of crisp real number output, the fuzzy set of the inference consequence will be a discrete fuzzy
set with a finite number of points, this can greatly simplify the defuzzification algorithm. Both the Min-max
method and the product-sum method are often applied with the crisp output model in a mixed manner.
Especially the mixed product-sum crisp model has a fine performance and the simplest algorithm that is very
* Corresponding author. Presently at the Department of ECS, University of Southampton. UK. E-mail: zqw@ecs.soton.ac.uk.
0165-0114/96/$15.00 1996 - Elsevier Science B.V. All rights reserved
SSDI 0165-01 14(95)001 15-8
24
easy to be implemented in hardware system and converted into a fuzzy neural network model. In this paper,
we will take account of the product-sum crisp type fuzzy controller.
There has not been sounded theoretical method available to analyze a fuzzy controller in literature, while
the conventional control theory is highly developed. It is natural for the researchers to apply the conventional theory, mostly linear system theory to solve the nonlinear problem of fuzzy controller and many works
have been done in this direction [1,2,4, 16]. In this paper, the authors will make effort to analyze the
behavior of the product-sum crisp type fuzzy controller, by relating the fuzzy controller to the conventional
PID controller. Having the aid of the well-known classical designing method of PID controller, we propose
a new fuzzy controller structures, namely P I D type fuzzy controller which retains the characteristics similar
to the conventional PID controller. In order to improve further the performance of the fuzzy controller, we
work out a method to tune the parameters of the PID type fuzzy controller on line, producing a parameter
adaptive fuzzy controller. The proposed methods promise to improve the performance of the fuzzy controller
considerably.
if e is Ai and ~ is Bj then u is u d.
where uij E U(i e I,j ~ J) is a crisp value instead of a fuzzy subset. The uijs are not necessarily different from
each other. The fuzzy controller with such kind of control rules is called crisp type fuzzy controller [13, 14].
If the number of control rules are equal to I x J, the fuzzy control rule base is said to be complete [16]. In
the following discussion, we assume that the fuzzy control rule base is complete.
Suppose that the membership functions of Ai and B~ are Ai(e) and Bj(d). In a certain control time t, we have
the observation values e and ~ for error and the change rate of error respectively, then the truth values of
Ai and Bj are A~(e) and Bj(k), (i ~ I, j ~ J). Using the product-sum inference method, the truth value of the
antecedent part of a fuzzy control rule will be
f j = Ai(e)Bj(k)
(ieI, jeJ).
(1)
The reasoning from the antecedent part to the consequent part will generate a conclusion fuzzy subset
which we denote as C. C will be a discrete fuzzy subset with finite number of points, C = { f j / u u l i ~ I , j ~ J }.
applying the center of gravity method to defuzzify the fuzzy set C, the real output of the controller u is given
by
~i, j fij Uij
u = - Z i, j f/j
(2)
In our study we will employ the triangular membership functions for each fuzzy linguistic value of the error
e and the change rate of error 0 as shown in Fig. 1. We denote the cores of fuzzy set Ai as el and those of Bj as
Ai
25
di-1 di
Ai+l
e/+l
I
I
!
ei-1
ei
ei+l
Bj-1
Bj
Bj+I
el-1
uij
ei
ei+l
ei-1
dj
di+l
Fig. 2. T h e
ej.
- -
ei + 1
- - - ,
ei
ei+ 1 --c i
ei+ 1
--e i
Ai+l(e)-
ei
A i are
NET
o n t h e e - ~; plane
ei+ 1 - - e i
d -- ej
- dj + I - - e j
for ,; ~ [~j,dj+
On the e N O D E of the
Combining
ej+l -- d
_ _ ,
dj + 1 - - e j
d -- dj
Bj+I(e
) -
Bt(O) = 0 (t # ( j , j + 1) e J),
e j+ 1 -- dj
1].
0 plane, we call the set {e,d[e = el, d = ej, i ~ I , j e J }
N E T . The N E T is illustrated in Fig. 2.
Eq. (1), Eq. (2) can be rewritten
~a--'k=(i.i+ 1) (Ak(c)Bt(e))Ukt
t=(j.j+l)
Z k = ( i , i + l ) (Ak(e)Bt(d))
t-(i.j+
l)
k=(i,i+
t=(j,/+
26
u =
(Ak(e) B,(d))ukt
k=(i,i + l)
t = ( j , j + l)
= Ai(e)Bj(d)uij + Ai+ l(e)Bj(~)u,+ l~j + Ai(e)Bj+ l(d)uiu+ 1~ + Ai+ l(e)Bj+ l(~)u,+ 1)u+ 1~
-
----I[__---_lUij+
\ei+l -- e i / k e j + l -- e j /
(ei+.._._.__l--e'~[/ ~ - - d j
. . . . . . .
~jj
\ei+l -- ei,/\ej+l
"~
u,+l)j
(3)
(4)
When e = ei and d = dj, that is at the NODE(el, d~) of the N E T , it follows from Eq. (3) that the output of the
product-sum crisp type fuzzy controller is
u = u u.
(5)
Therefore, we can take the result of Eq. (5) at the NODE(el, kj) of the e - ~ plane, as the nominal solution of
(4), that is
u = f ( e i , ~, t) = uij.
So we can conduct a linearization analysis in a neighborhood of the N O D E of the e - k plane. The
difference between these nominal values and some slightly perturbed functions e, d and u can be defined by
~e = e
- - el,
8d = d -- dj,
8 U = bl - - l l i j .
For sufficiently small Be, 8~ and 8u perturbations, Eq. (4) can be approximated by the following linear
equations:
8u=
~e
~e+
n
~-~
8~
(6)
A neighborhood of each N O D E (or nominal point) will be divided into 4 different quadrants by the two N E T
lines that cross at the NODE. For simplicity, we only consider the case of the first quadrant where 5e/> 0 and
8~ ~> 0, that is to say, (el + ~e,~j + ~d)e [el, el+l] x [~j, dj+l].
From (3), we have
(e~,dj)
ei+ 1 - - ei
IOf l
27
__ Ri(j+ 1) - - Uij
(e,.d,)
ej+ 1 -- ej
'
then,
8u=
~e
Be+
80-
Ui(j+
-U~JSe+
ei
+1
--
1)
Uij ~O,
--
e j+ 1 -- ej
ei
that is
l,l
--
Uij
--
R ( i + 1 ) j - - Uij
(e
--
el+ 1 -- ei
ei ) + u i ( j + 1) - - :Igij ,~ e.
el+ 1 -- ej
--
Oj).
Therefore
b / ( i + 1 ) j - - IAij
I,I =
Uij
ei+ l -- ei
e~
U i ( j + 1) - - blij
7---.--
e j + 1 -- e j
-1
[A(I+ 1 ) j - - Uij
el+ 1 - - e i
Oj +
e+
U i ( j + 1)
ej+l
--
-u'~o
-- ej
(7)
= A + P e + DO,
where
A
Rij
U(i+ l)j
- - Uij
el+ 1 - - ei
ei
Ui(j+ 1) - - Uij .
: ej = u o ej + 1 - - ej
Pei
De j,
p _ U ( i + l ) j -- ~ij
ei + 1 - - ei
D -
bli(J+ 1) - - Uij
Oj+ ~ -- Oj
As we can see that the product-sum crisp type fuzzy controller behaves approximately like a P D controller
in the neighborhood of the N O D E point of the N E T of e - 0 plane as illustrated by Eq. (7), where the
equivalent proportional and derivative control components are P and D respectively. Actually, we can regard
such kind of fuzzy controller as a parameter time-varying P D controller. When the error and the change rate
of error changes along the e - 0 plane, from one neighborhood of a N O D E to another, the P D parameters
switch from one set to another. We will call this type of fuzzy controller as a P D type fuzzy controller (PDfc).
The result of (7) enables us to predict the behaviors of the fuzzy controller according to the conventional
PID control theory.
Recall that the performance of a conventional PID controller is determined by its proportional parameter
Kp, integral parameter K~ and derivative parameter KD. The proportional control law can guarantee the fast
response of the control system, the integral control law can eliminate the steady-state error of the control
system, and the derivative control law can increase the damping of the system thus reduce the overshoot and
oscillating times of the system response. Thus a PID controller when designed properly could yield a system
with fast rise time and small overshoot and non-steady-state error.
A P or P D controller will yield a steady-state error for the system step response if the controlled plant is
a type 0 system. The steady-state error is inversely proportional to Kp, if Kp is too large, the stability of the
system may be adversely affected.
Since the PDfc behaves approximately like a parameters time-varying P D controller, definitely it will yield
a steady-state error when used to control a type 0 plant (see Fig. 7). Just like a conventional P D controller,
28
~Z
the control performance cannot be satisfied. However, we can incorporate the integral control law into the
fuzzy controller to improve the performance of the fuzzy controller. In this direction, we will present some
methods to overcome the shortcomings of PDfc in the following sections.
NODE
-1
B_~
-1
Fig. 3. The PI type fuzzy control system.
A-l
-0.4
B-1
-0.4
A0
0
Bo
(8)
A1
0.4
B1
0.4
A2
1
B2
29
Table 1
The fuzzy control rules
e;-2
e-e
e 2
eo
el
ee
I
--0.7
-0.5
-0.3
0
e- i
--0.7
--0.4
-0.2
0
0.3
00
-0.5
--0.2
0
0.2
0.5
~;l
-0.3
0
0.2
0.4
0.7
0_,
0
0.3
0.5
0.7
1
Hence the fuzzy controller becomes a parameter time-varying PI controller, its equivalent proportional
control and integral control components are BK2D and ilK1 P respectively. We call this fuzzy controller as
the PI type fuzzy controller (PIfc).
We can hope that in a PI type fuzzy control system, the steady-state error becomes zero. To verify the
property of the PI type fuzzy controller, we carry out some simulation experiments.
Before presenting the simulation, we give a description of the simulation model. In the fuzzy control system
shown in Fig. 3, the plant model is a second-order and type 0 system with the following transfer function:
Gts~ =
K
( T 1 S + I)(TzS + 1)'
where K = 16, T1 = 1, and T2 = 0.5. In our simulation experiments, we use the discrete simulation method,
the results would be slightly different from that of a continuous system, The sampling time of the system is set
to be 0.1 s.
For the fuzzy controller, the fuzzy subsets of e and d are defined as shown in Fig. 4. Their cores are
~ei} = {e 2 , e - , , e o , e l , e 2 } = { -
1 , - 0.4,0,0.4,1};
{;j} = I t e _ 2 , e
1, - 0.4,0,0.4, 1};
1,60,el,02}
= { --
= ~u + fi f u d t
= .~(A + P K l e + DKzO) + fl f ( A + P K le + D K 2 d ) d t
= aA + fiAt + ( g K I P + flKzD) e + f l K 1 P f e d t
2
+ gK2DO.
(9)
30
1.8
1.6
1.4
1.2
1
0.8
0.6
0.4
0.2
0.5
1.5
2.5
3.5
Thus the fuzzy controller behaves like a time-varying PID controller, its equivalent proportional control,
integral control and derivative control components are ~Kt P + flK2D, flK1P and ~K2D respectively. We
call this new controller structure a PID type fuzzy controller (PIDfc).
Figs. 7 and 8 are the simulation results of the system's step response of such control system. The influence
of ~ and fl to the system performance is illustrated. When ~ > 0 and/3 = 0, meaning that the fuzzy controller
behaves like PDfc, there exist a steady-state error (see Fig. 7). When ~ = 0 and fl > 0, meaning that the fuzzy
controller behaves like a Plfc, the steady-state error of the system is eliminated but there is a large overshoot
and serious oscillation (see Fig. 8). When ~ > 0 and 13 > 0 the fuzzy controller becomes a PIDfc, the
overshoot is substantially reduced (see both Figs. 7 and 8). It is possible to get a comparatively good
performance by carefully choosing the value of ~ and ft.
31
1.8
1.6
PD
type:Kl=l,
K2=l,O.=l,~=0,
T-0.I
1.4
1.2
1
0.8
0.6
0.4
0.2
0
0.5
1.5
2.5
3.5
1.8
1.6
o
4.
1.4
0.8
0.6
0.4
0.2
0.5
1.5
2,5
3.5
32
1.6
0,6
tl
t2
reduce it gradually with time so as to increase the damping of the system and make the system more
stable. By this way, we can hope to have a fast rise and a short settling time for the system's response.
Fig. 9 shows the step response of a control system. The response process can be divided into different
phases by the peak value times. F r o m the start time 0 to the time tl when the first peak value occurs, the error
of the system cover the whole universe of discourse. F r o m time tl on, the error of the system's response will
no longer go beyond the belt area of interval [ - 61,61 ], where 61 is the absolute peak value at time t l. And
at t2, another peak value occurs. F r o m t2 on, the error of the system's response will never go beyond the belt
area of interval [ - 62,32]. And so on. We can consider to decrease the integral control component at each
peak value time according to the absolute value of each peak.
Let us examine the equivalent proportional control, integral control and derivative control components of
a PIDfc from (9). These equivalent control components are repeated as follows:
proportional:
aK1P +/3K2 D,
integral:
/3K 1P,
derivative;
~K2D.
As can be seen that if we decrease the parameter/3 gradually, the integral control component is decreased
so that the damping of the system is increased and the system is more stable. Notice that the proportional
component includes the term of the production of/3 and Kz. While decreasing the value of/3 will decrease the
proportional control component; thus the reaction of the control system against the error will be slowed
down. If in the meanwhile of decreasing/3 we increase Kz in the same rate as/3 is decreased, the equivalent
proportional control strength will remain unchanged and the system can always keep quick reaction against
the error. Also we can see that when K2 is increased, the equivalent derivative control component will be
increased at the same time, this would do no harm to the system's performance, because derivative control
law can increase the resistance against the overshoot and oscillation of the system.
33
1.8
i'
1.6
1.4
1.2
1
0.8
0,6
0.4
0.2
0
0
0.5
1.5
2.5
3.5
Fig. 11. Comparison of fuzzy control system with and without adaptive mechanism (I).
Motivated by this idea, we design a parameter adaptive PID type fuzzy controller (PAPIDfc).
The parameter adaptive fuzzy controller is composed of a PIDfc, a peak observer and a parameter regulator.
Fig. 10 is the block diagram of the PAPIDfc.
The basic PIDfc is as described in the previous section. The peak observer keeps watching on the system's
output and transmits a signal at each peak time and measures the absolute peak value. The parameter
regulator tunes the controllers parameters Ka and/~ simultaneously at each peak time signal and according
to the peak value at that time. The algorithm of tuning the scaling constants and the integral gain is as follows:
Kzs
w h e r e K2s and/~s are the initial values of Kz and/~ respectively. 6k is the absolute peak value at the peak time
34
|,8
K1-1, K2-1,a-1,
1.6
~-0.1, T-0.1
Non-adaptive
Adaptive
1.4
1.2
I
0.8
0.6
0.4
0.2
0
0
0.5
I
1.5
2.5
I
3
3.5
Fig. 12. Comparison of fuzzy control system with and without adaptive mechanism (II).
come into action, the system oscillates seriously, and when the adaptive mechanism comes into action, the
oscillations are strongly resisted. In Fig. 12, the system without adaptive has a slight oscillation, and the
parameter adaptive control yield a non-oscillating system. Generally speaking, the simulation results
demonstrate that the PAPIDfc substantially improves the performance of the control system. It can greatly
reduce the oscillating times and shorten the settling time of the system. So in practice it is possible to choose
a large initial value for fl to let a fast rising of response but not result in instability.
5. Conclusions
We have studied the input-output behavior of the product-sum crisp type fuzzy controller, revealing that
this type of fuzzy controller behaves approximately like a parameter time-varying PD controller. Therefore,
the analysis and designing of a fuzzy control system can take advantage of the conventional PID control
theory. According to the coventional PID control theory, we have been able to propose some improvement
methods for the crisp type fuzzy controller.
It has been illustrated that the PD type fuzzy controller yields a steady-state error for the type 0 system, the
PI type fuzzy controller can eliminate the steady-state error. We proposed a controller structure that
combine the features of both PD type and PI type fuzzy controller, obtaining a PID type fuzzy controller
which allows the control system to have a fast rise and a small overshoot as well as a short settling time.
To improve further the performance of the proposed PID type fuzzy controller, the authors designed
a parameter adaptive fuzzy controller. The PID type fuzzy controller can be decomposed into the equivalent
proportional control, integral control and the derivative control components. The proposed parameter
adaptive fuzzy controller decreases the equivalent integral control component of the fuzzy controller
gradually with the system response process time, so as to increase the damping of the system when the system
35
References
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
J.J. Buckley, Fuzzy controllers: further limit theorems for linear control rules, Fuzzy Sets and Systems 36 (1990) 225-233.
J.J. Buckley, Sugeno type controllers are universal controllers, Fuzzy Sets and Systems 53 (1993) 299-303.
B.P. Graham and R.B. Newell, Fuzzy adaptive control of a first order process, Fuzzy Sets and Systems 31 (1989) 47 65.
B. Kosko, Fuzzy systems as universal approximators, Proc. IEEE lnternat. Conf. on Fuzzy Systems, San Diego (1992) 1153-1162.
E.H. Mamdani and S. Assilian, An experiment in linguistic synthesis with a fuzzy logic controller, Internat. J. Man-Machine
Studies 7 (1975) 1 13.
M. Mizumoto, Min-max-gravity method versus product- sum-gravity method for fuzzy controls, Proe. IV IFSA Congress,
Brussels, Part E (1991) 127-130.
M. Mizumoto, Realization of PID controls by fuzzy control methods, Proc. IEEE lnternat. Conf. on Fuzz), Systems, San Diego
(1992) 709 715.
M. Mizumoto and H.J. Zimmermann, Comparison of fuzzy reasoning methods, Fuzzy Sets and Systems 8(3) (1982) 253 283.
A. Ollero and A.J. Garcia-Cerezo, Direct digital control, auto-turning and supervision using fuzzy logic. Fuzzy Sets and Systems 30
(1989) 135 153.
T.J. Procyk and E.H. Mamdani, A linguistic self-organizingprocess controller, Automatica 15 (1979) 15-30.
Wu Zhi Qiao et al., A rules self regulating fuzzy controller, Fuzzy Sets and Systems 47(1) (1992) 13-21.
S. Shao, Fuzzy self-organizingcontroller and its application for dynamic processes, Fuzzy Sets and Systems 26 (1988) 151-164.
T. Takagi and M. Sugeno, Derivation of fuzzy control rules from human operator's control actions, Proc. of the IFAC Conll on
Fuzzy InJbrmation, Vol. 1 Marseille, France (1983) 55 60.
T. Takagi and M. Sugeno, Fuzzy identification of fuzzy systems and its application to modelling and control, IEEE Trans. Systems
Man Cybernet. 15 (1985) 116 132.
Hu Jia Yao, Wu Zhi Qiao and Soon Shuo Shang, Static analysis of fuzzy controllers, J. of Beijing Light Industry College (in
Chinese) (2) (1988) 12-18.
Wang Pei Zhuang, Zhang Hong Min and Xu Wei, Pad-analysis of stability of fuzzy control systems, Fuzzy Sets and Systems 38
(1990) 27--42.