Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao;...

13
ELSEVIER Fuzzy Sets and Systems 78 (1996) 23-35 ZZ'Y sets and systems PID type fuzzy controller and parameters adaptive method Wu Zhi Qiao*, Masaharu Mizumoto Department of Management Engineering, Osaka Electro-Communication Universi~, Neyagawa, Osaka 572. Japan Received October 1994; revised January 1995 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 Mamdani method proposed by Mamdani 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 AND (minimum) and OR (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: [email protected]. 0165-0114/96/$15.00 © 1996 - Elsevier Science B.V. All rights reserved SSDI 0165-01 14(95)001 15-8

description

fd

Transcript of Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao;...

Page 1: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

ELSEVIER Fuzzy Sets and Systems 78 (1996) 23-35

ZZ'Y sets and systems

PID type fuzzy controller and parameters adaptive method

Wu Zhi Qiao*, Masaharu Mizumoto

Department of Management Engineering, Osaka Electro-Communication Universi~, Neyagawa, Osaka 572. Japan

Received October 1994; revised January 1995

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 Mamdani method proposed by Mamdani 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 OR (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: [email protected].

0165-0114/96/$15.00 © 1996 - Elsevier Science B.V. All rights reserved SSDI 0165-01 14(95)001 15-8

Page 2: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

24 VI(Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23 35

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 conven- tional 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 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. The proposed methods promise to improve the performance of the fuzzy controller considerably.

2. Analysis of a product-sum crisp type fuzzy controller

Before we conduct the analysis, we briefly describe the crisp type fuzzy controller model mixed with product-sum inference method as follows [6, 13, 14].

Suppose that the fuzzy controller in consideration is a two-input and one-output one. The two inputs to the fuzzy controller are error e and change rate of error ~, and the output of the fuzzy controller (that is the input to the controlled process) is u. The universes of discourses of e, 0 and u are E ~ R,/~ c R and U c R, respectively. We denote the linguistic values of e and ~ as A ~ (i ~ I = [ - m . . . . , - 2, - 1, 0, 1, 2 . . . . . m]) and Bj (j ~ J = [ - n . . . . . - 2, - 1, 0, 1, 2 . . . . , n]) respectively. The fuzzy control rules are given as in the form of

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) ( i e I , j e J ) . (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 f i j Uij u = - - , (2)

Z i, j f / j

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

Page 3: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

W.Z. Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23 35 25

Ai-1 Ai Ai+l

ei-1 ei ei+l

Bj-1 Bj Bj+I

ei-1 dj di+l

el-1

ei

ei+l

di-1 d i

I I !

uij

1

e/+l

Fig. 1. The membership functions of A~ and Bj. Fig. 2. T h e N E T o n the e - ~; p lane•

ej. We design the membership functions as so, the support sets of A i a r e equal to [e~_ 1, ei+ 1 ] and those of Bj are equal to [dj_ 1, ej+ 1], as illustrated in Fig. 1. We have

e - - e i ei + 1 - - e e - - e i Ai(e) = 1 - - - - - , A i + l ( e ) -

e i + 1 - - c i e i + 1 - - e i ei+ 1 - - e i

for e e [ei ,e i+t] , and

d - - e j e j + l - - d d - - d j Bj(e) = l - - - _ _ , B j + I ( e ) -

d j + I - - e j d j + 1 - - e j e j + 1 - - d j

for ,; ~ [~j,dj+ 1].

Ak(e) = 0 (k # (i,i + 1)c I),

Bt(O) = 0 (t # ( j , j + 1) e J),

On the e - 0 plane, we call the set {e,d[e = el, d = ej, i ~ I , j e J } a N E T [16] and the points (ei,di) the N O D E of the N E T . The N E T is illustrated in Fig. 2.

Combining Eq. (1), Eq. (2) can be rewritten

Zg, t (Ak(c) B,(e))Ukt

Zk., Ak(e) Bt (0)

In the above equation, only those terms in which both Ak(e) and Bt(d) are non-zero will be non-zero. Under the above condition of the membership functions, at any time, at most two neighborhood membership functions have non-zero degrees for e or d. Therefore, at most only 4 terms in the above equation are left. That is to say, at most only 4 rules are fired one time. For instance, if the inputs of the fuzzy controller are located in the N E T lattice area S = [el,e~+t] x [dj, Oj+l] of the e - d plane, by definition, we have Ak(e) = 0 (k # (i, i + l) ~ I), and Bt(O) = O(t # ( j , j + 1) e J). So the above equation become

~a--'k=(i.i+ 1) (Ak(c)Bt (e ) )Ukt H -~- t=( j . j+l )

Zk=( i , i+ l ) (Ak(e)Bt(d)) t - ( i . j + l)

Obviously, by definition of the membership function, A i ( e ) + A i + l ( e ) = l ( e ~ [ e i , e i + l ] ) , and Bj(O) + B j+ 1(0)= 1(0 ~ [dj, dj+ 1]). With these relations it is easy to check that the denominator of the right-hand side of the above equation is

E k=(i,i+ I) t = ( j , / + 1)

Ak(e)B,(d) = Ai(e)B~(d) + Ai+ l(e)Bj(d) + Ai(e)Bj+ l(d) + Ai+ l (e)Bj+ l(d)

= (Ai(e) + Ai+ l(e))(e~(d) + Bj+ l(d))

= 1 .

Page 4: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

2 6 W.Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 2 3 - 3 5

Therefore, the output of the fuzzy controller can be simplified as

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 [ _ _ - - - _ l U i j + . . . . . . . ~ j j u ,+l ) j \ e i+l -- e i / k e j + l -- e j / \e i+l -- ei , / \ej+l

(ei+.._._.__l--e'~[ / ~ - - d j "~ (es-_e_i - ")(_ d_--~j ) + ke,+ , - e-J~,)j+-~l----~jJ u " j + ' ' + e l + , - e i / k d j + 7 - ~ - ~ ; u"+ ' ) ° + " (3)

for e ¢ [ e i , e i + 1 ] , and for d ¢ [dj, ~j+ 1 ]. At an arbitrary point on the e - ~ plane, as can be seen from Eqs. (3), the output of the fuzzy controller is

a non-linear function of the arguments of e and d. There is no known analytical solutions available to deal with such kind of nonlinearity. A complete treatment of this non-linearity is impossible. Nevertheless, we can adopt the linearization method and carry on an analysis of small deviations from nominal just like the conventional or modern control theory usually do.

We denote the input-output relation of the fuzzy controller, that is (3), in the following non-linear model:

u = f ( e , d, t). (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 - - e l ,

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:

8 u = ~e ~ e + ~-~ 8~ (6) n n

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

Page 5: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

W.Z. Qiao, M. Mizumoto / F u z ~ Sets and Systems 78 (1996) 23 -35 27

I O f l __ Ri( j+ 1) - - Uij

(e , .d , ) e j + 1 - - e j '

then,

8 u = ~e B e + ~ 8 0 - - U ~ J S e + n n e i + 1 - - e i

that is

Ui(j+ 1 ) - - Uij ~O, e j+ 1 - - e j

l,l Uij R ( i + 1 ) j - - Uij (e ei ) + u i ( j+ 1) - - Igij , . - - - - - - : ~ e - - O j ) .

el+ 1 - - ei el+ 1 -- e j

Therefore

I b / ( i+ 1 ) j - - IAij U i ( j + 1) - - blij | [A(I+ 1 ) j - - Uij U i ( j + 1) -- e~ 7 - - - . - - Oj + e + - u ' ~ o

-1

I,I = Uij e i+ l - - ei e j+ 1 - - e j J el+ 1 - - e i e j + l - - e j

= A + P e + DO, (7)

where

A = Rij U ( i + l ) j - - Uij

e l+ 1 - - ei ei

Ui(j+ 1) - - Uij . : e j = u o - Pe i - - D e j ,

e j + 1 - - e j

p _ U ( i + l ) j - - ~ i j

ei + 1 - - ei

D - bli(J+ 1) - - Uij

O j+ ~ -- Oj

As we can see that the product-sum crisp type fuzzy controller behaves approximately like a PD 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 PD 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 PD parameters switch from one set to another. We will call this type of fuzzy controller as a PD 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 PD 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 PD controller, definitely it will yield a steady-state error when used to control a type 0 plant (see Fig. 7). Just like a conventional PD controller,

Page 6: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

28 ~ Z Qiao, M. Mizumoto / Fuzz. Sets and Systems 78 (1996) 23-35

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.

3. PID type fuzzy controller structure

As illustrated in previous sections, the PDfc approximately behaves like a parameter time-varying PD controller. Since the mathematical models of most industrial process systems are of type 0, obviously there would exist an steady-state error if they are controlled by this kind of fuzzy controller. This characteristic has been stated in the brief review of the PID controller in the previous section. If we want to eliminate the steady-state error of the control system, we can imagine to substitute the input ~ (the change rate of error or the derivative of error) of the fuzzy controller with the integration of error. This will result the fuzzy controller behaving like a parameter time-varying PI controller, thus the steady-state error is expelled by the integration action. However, a PI type fuzzy controller will have a slow rise time if the P parameters are chosen small, and have a large overshoot if the P or I parameters are chosen large. So there may be the time when one wants to introduce not only the integration control but the derivative control to the fuzzy control system, because the derivative control can reduce the overshoot of the system's response so as to improve the control performance. Of course this can be realized by designing a fuzzy controller with three inputs, error, the change rate of error and the integration of error. However, these methods will be hard to implement in practice because of the difficulty in constructing fuzzy control rules. Usually fuzzy control rules are constructed by summarizing the manual control experience of an operator who has been controlling the industrial process skillfully and successfully. The operator intuitively regulates the executor to control the process by watching the error and the change rate of the error between the system's output and the set-point value. It is not the practice for the operator to observe the integration of error. Moreover, adding one input variable will greatly increase the number of control rules, the constructing of fuzzy control rules are even more difficult task and it needs more computation efforts. Hence we may want to design a fuzzy controller that possesses the fine characteristics of the PID controller by using only the error and the change rate of error as its inputs.

One way is to have an integrator serially connected to the output of the fuzzy controller as shown in Fig. 3. In Fig. 3, K1 and K 2 a r e scaling factors for e and ~ respectively, and fl is the integral constant. In the proceeding text, for convenience, we did not consider the scaling factors. Here in Fig. 4, when we look at the neighborhood of NODE point in the e - ~ plane, it follows from (7) that the control input to the plant can be approximated by

u~= flfudt:j3 f(A+PKle+DK2~)dt= flAt+ flK2De+ flKiP fedt. (8)

Fig. 3. The PI type fuzzy control system.

A-2 A- l A0 A1 A2

-1 -0.4 0 0.4 1

B_~ B-1 Bo B1 B2

-1 -0.4 0 0.4 1

Fig. 4. The membership functions of Ai and By for simulation.

Page 7: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

W.Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23 35 29

Table 1 The fuzzy control rules

e;-2 e - i 00 ~;l 0_,

e - e I - -0 .7 - 0 . 5 - 0 . 3 0 e 2 --0.7 - -0 .4 --0.2 0 0.3 eo - 0 . 5 - 0 . 2 0 0.2 0.5 el - 0 . 3 0 0.2 0.4 0.7 ee 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:

K Gts~ =

(T1S + 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 - , , eo , e l , e2} = { - 1 , - 0.4,0,0.4,1};

{£;j} = I t e _ 2 , e 1 , 6 0 , e l , 0 2 } = { - - 1, - 0.4,0,0.4, 1};

The fuzzy control rules are represented as Table 1. Fig. 5 demonstrates the simulation result of step response of the fuzzy control system with a Plfc. We can

see that the steady-state error of the control system becomes zero, but when the integration factor fl is small, the system's response is slow, and when it is too large, there is a high overshoot and serious oscillation.

Therefore, we may want to introduce the derivative control law into the fuzzy controller to overcome the overshoot and instability. We propose a controller structure that simply connects the PD type and the PI type fuzzy controller together in parallel. We have the equivalent structure of that by connecting a PI device with the basic fuzzy controller serially as shown in Fig. 6. Where ~ is the weight on PD type fuzzy controller and fi is that on PI type fuzzy controller, the larger a/fi means more emphasis on the derivative control and less emphasis on the integration control, and vice versa.

It follows from (7) that the output of the fuzzy controller is

= ~u + fi f u d t II c

= .~(A + P K l e + DKzO) + fl f ( A + P K le + DK2d)d t

= aA + fiAt + ( g K I P + f lKzD) e + f l K 1 P f e d t + gK2DO. (9) 2

Page 8: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

30 W..Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23-35

1.8

1.6

1.4

1.2

1

0.8

0.6

0.4

0.2

0

I I I I I I I

Pl type: K1-0.12, K2-1.3,13 =0,13, T=0.1 o PI type: K1-0.12, K2=1.3,l !=0.31, T.0.1 • PI type: K1,,0.12, K2=1.3,13=I, T.0.1 O

0.5 1 1.5 2 2.5 3 3.5

Fig. 5. The step response of PI type fuzzy control system.

Fig. 6. The PID type fuzzy control system.

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.

4. The parameter adaptive method

The PIDfc structure proposed in the previous section has substantially improved the performance of the crisp type fuzzy controller. Also we find that the integration component of the PIDfc has an important role

Page 9: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

W.Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23-35 31

1 . 8 I I I I | I 1

P D t y p e : K l = l , K 2 = l , O . = l , ~ = 0 , T - 0 . I o 1.6 PlO type: K1=1, K2=l ,a =1, ~=0.1, T.0.1 +

1.4

1.2

1

0 .8

0 .6

0 .4

0 .2

0 I I 1 I I I

0 0.5 1 1.5 2 2.5 3 3.5

Fig. 7. Comparison of PD and PID type fuzzy control system.

1.8 , , , i , , ,

PI type: K1=0.1, K2=l,r~=O, [~=1, T=0.1 o 1.6 / ~ PID type: K1=0.1, K2=1,o.=I, p,,1, T=0.1 4.

1.4

0.8

0.6

0.4

0.2

I I I I I I I

0 0 . 5 1 1 .5 2 2 ,5 3 3 .5

Fig. 8. Comparison of PI and PID type fuzzy control system.

on the performance of the fuzzy control system. If the integrat ion componen t is too weak, the response is slow, and if the integration componen t is too strong, the system will become unstable. So it is still desirable to make further improvement on it. We can imagine that let the equivalent integration componen t of the fuzzy controller vary with time. At the early stage of response, we let it take a larger value, and

Page 10: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

32 W.Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23-35

I I I I I I l

1 . 6

1

0 , 6

0 I I I f

o t l t2 t

Fig. 9. Different phases of the step response of a control system.

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. From 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. From 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 rom 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 proport ional 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 1 P,

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 proport ional 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 proport ional 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.

Page 11: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

V~Z. Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23-35

Fig. 10. Block diagram of the parameter adaptive fuzzy controller.

33

1 . 8 i i t i ' i i i

Kt, ,2 , K2, ,0.5,a ,,1, ]3,,0.1, T,,0.1 1.6 Non-adapt ive o

1.4

1.2

1

0.8

0,6

0.4

0.2

I I I I I I I 0 0 0.5 1 1.5 2 2.5 3 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:

K z s

where K2s and/~s are the initial values of Kz and/~ respectively. 6k is the absolute peak value at the peak time tk(k = 1,2,3 .... ).

Figs. 11 and 12 present some simulation results of the fuzzy control system with a PAPIDfc under different initial values of the scaling parameters and output gains. In Fig. 11 when the adaptive mechanism does not

Page 12: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

34 W.Z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23-35

| , 8 i i ) I I I I

K 1 - 1 , K 2 - 1 , a - 1 , ~ - 0 . 1 , T - 0 . 1 1.6 Non-adaptive o

Adaptive ÷

1.4

1.2

I

0.8

0.6

0.4

0.2

0 I I

0 0.5 1 1.5 2 2.5 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

Page 13: Fuzzy Sets and Systems Volume 78 Issue 1 1996 [Doi 10.1016%2F0165-0114%2895%2900115-8] Wu Zhi Qiao; Masaharu Mizumoto -- PID Type Fuzzy Controller and Parameters Adaptive Method

w.z Qiao, M. Mizumoto / Fuzzy Sets and Systems 78 (1996) 23-35 35

is abou t to settle down, meanwhi le keeps the p ropor t iona l control c ompone n t unchanged so as to guarantee quick reaction against the system's error. With the parameter adapt ive fuzzy controller, the oscil lation of the system is s trongly restrained and the settling time is shortened considerably.

We have presented the s imula t ion results to demons t ra te the fine performance of the proposed P I D type fuzzy control ler and the parameter adapt ive fuzzy control ler structure.

References

[1] J.J. Buckley, Fuzzy controllers: further limit theorems for linear control rules, Fuzzy Sets and Systems 36 (1990) 225-233. [2] J.J. Buckley, Sugeno type controllers are universal controllers, Fuzzy Sets and Systems 53 (1993) 299-303. [3] B.P. Graham and R.B. Newell, Fuzzy adaptive control of a first order process, Fuzzy Sets and Systems 31 (1989) 47 65. [4] B. Kosko, Fuzzy systems as universal approximators, Proc. IEEE lnternat. Conf. on Fuzzy Systems, San Diego (1992) 1153-1162. [5] 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. [6] M. Mizumoto, Min-max-gravity method versus product- sum-gravity method for fuzzy controls, Proe. IV IFSA Congress,

Brussels, Part E (1991) 127-130. [7] M. Mizumoto, Realization of PID controls by fuzzy control methods, Proc. IEEE lnternat. Conf. on Fuzz), Systems, San Diego

(1992) 709 715. [8] M. Mizumoto and H.J. Zimmermann, Comparison of fuzzy reasoning methods, Fuzzy Sets and Systems 8(3) (1982) 253 283. [9] 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. [10] T.J. Procyk and E.H. Mamdani, A linguistic self-organizing process controller, Automatica 15 (1979) 15-30. [11] Wu Zhi Qiao et al., A rules self regulating fuzzy controller, Fuzzy Sets and Systems 47(1) (1992) 13-21. [12] S. Shao, Fuzzy self-organizing controller and its application for dynamic processes, Fuzzy Sets and Systems 26 (1988) 151-164. [13] 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. [14] 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. [15] 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. [16] 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.