Professional Documents
Culture Documents
IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS. VOL. 23, NO. 5. SEPTEMBERIOCTOBER 1993
I. INTRODUCTION
HE BEST-KNOWN controllers used in industrial
control processes are proportional-integral-derivative
(PID) controllers because of their simple structure and robust performance in a wide range of operating conditions.
The design of such a controller requires specification of
three parameters: proportional gain, integral time constant, and derivative time constant. So far, great effort has
been devoted to develop methods to reduce the time spent
on optimizing the choice of controller parameters [8],
[15]. The PID controllers in the literature can be divided
into two main categories. In the first category, the controller parameters are fixed during control after they have
been tuned or chosen in a certain optimal way. The
Ziegler-Nichols tuning formula is perhaps the most wellknown tuning method [5], [ 191. Some other methods exist
for the PID tuning (see e.g., [l], [6], [7]). The PID controllers of this category are simple, but cannot always effectively control systems with changing parameters, and
may need frequent on-line retuning. The controllers of the
second category have a structure similar to PID controllers, but their parameters are adapted on-line based on
parameter estimation, which requires certain knowledge
of the process, e.g., the structure of the plant model [2],
[ 171. Such controllers are called adaptive PID controllers
in order to differentiate them from those of the first catewry.
The application of knowledge-based systems in process
control is growing, especially in the field of fuzzy control
[9], [lo], [ 121-[ 141. In fuzzy control, linguistic descriptions of human expertise in controlling a process are represented as fuzzy rules or relations. This knowledge base
is used by an inference mechanism, in conjunction with
some knowledge of the states of the process (say, of
measured response variables) in order to determine con-
trol actions. Although they do not have an apparent structure of PID controllers, fuzzy logic controllers may be
considered nonlinear PID controllers whose parameters
can be determined on-line based on the error signal and
their time derivative or difference.
In this paper, a rule-based scheme for gain scheduling
of PID controllers is proposed for process control. The
new scheme utilizes fuzzy rules and reasoning to determine the controller parameters, and the PID controller
generates the control signal. It is demonstrated in this paper that human expertise on PID gain scheduling can be
represented in fuzzy rules. Furthermore, better control
performance can be expected in the proposed method than
that of the PID controllers with fixed parameters.
11. PID CONTROLLER
The transfer function of a PID controller has the following form:
G,(s) = Kp + K i / s K d s
(1)
G,(s) = K p ( l
l/(T,s)
+ Tds)
(2)
u(k)
K,e(k)
+ KIT, c e ( i ) + Kd A e ( k ) .
n
r=l
TS
1393
Fuzzyrules
and reasoning
NB NM
NS
ZO
PS
PM
PB
* x=e(k) or ae(k)
KA
(Kd
Kd.mm)/(Kd,max - K d , m r n ) .
(3)
output
4
The parameters KL, K ; , and a are determined by a set of
fuzzy rules of the form
Setpoint
i = 1,2;-.
m.
(6)
Here, A;, Bi,C,, and D;are fuzzy sets on the corresponding supporting sets; aiis a constant. The membership
functions (MF) of these fuzzy sets for e ( k ) and A e ( k ) are
shown in Fig. 2. In this figure, N represents negative, P
positive, ZO approximately zero, S small, M medium, B
big. Thus NM stands for negative-medium, PB for positive big, and so on.
The fuzzy sets C, and Dimay be either Big or Small
and are characterized by the membership functions shown
in Fig. 3 , where the grade of the membership functions ,u
and the variable x (= K6 or K ; ) have the following relation:
TIME
I394
IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS, VOL 23. NO 5 , SEPTEMBERIOCTOBER 1993
PA
p, = 1.
(9)
K;
c P&,I
,=I
!=I
/.l,CYj.
NB
NM
NS
ZO
PS
PM
PB
NB
NM
NS
ZO
PS
PM
PB
B
S
S
S
S
S
B
B
B
S
S
S
B
B
B
B
B
S
B
B
B
B
B
B
B
B
B
B
B
B
B
S
B
B
B
B
B
S
S
S
B
B
B
S
S
S
S
S
B
Kp
(Kp,max - Kp,min) KL
Kd
= (Kd,max
K,
- Kd,min)
K;
+ Kp,min
(lla)
-k Kd.min
Kf/(aKd).
(1 IC)
Based on an extensive simulation study on various processes, a rule of thumb for determining the range of Kp
and the range of Kd is given as
=
0.32Ku, K,.,,,
0.6Ku
(loa)
(lob)
CY =
TABLE I
Furzy TUNING
RULESFOR K;,
K,,,,,
e(k)
,=I
(10~)
(12)
1395
TABLE I1
FUZZY T U N I N G
RULESFOR K ;
NB
NM
NS
zo
e(4
PS
PM
PB
TABLE 111
F U Z ~TYU N I N G
RULESFOR
e(k)
NB
NM
NS
ZO
PS
PM
PB
PA
NB
NM
NS
zo
PS
PM
PB
S
B
B
B
B
E
S
S
B
B
B
B
B
S
S
S
B
B
B
S
S
S
S
S
B
S
S
S
S
S
B
B
B
S
S
S
B
B
B
B
B
S
S
B
B
B
B
B
S
(Y
NB
NM
NS
ZO
PS
PM
PB
2
3
4
5
4
3
2
2
3
3
4
3
3
2
2
2
3
3
3
2
2
2
2
2
3
2
2
2
2
2
3
3
3
2
2
2
3
3
4
3
3
2
2
3
4
5
4
3
2
A:
Adk)
Ae
cal entity like a supervisor is desired to monitor the performance of the control system. Instability is detected
preferably in an early stage if the system is unstable. Once
stability is identified during process monitoring, certain
corrective action is taken. For example, the controller parameters are switched to a set of known stabilizing parameters that guarantees that the control system will remain
stable; or the system is shut down by setting Kp to zero if
necessary.
There are several practical methods available to identify instability. Anderson et al. [ l ] suggest monitoring the
magnitude of peaks and the system is determined to be
unstable when peaks are growing in magnitude for three
peaks in row. Nesler [ 1 11 uses the ratio of short-term average of the error to that of the absolute value of the error
to detect instability. Gertler and Chang [3] propose an
instability indicator by observing the output. It is also
possible to combine the above quantitative indexes with
rule-based logic to make more accurate and reliable decisions.
In some situations, a hybrid controller may be more
useful and reliable. For example, if a large set point
change is made, the fuzzy gain scheduling scheme is first
employed to yield a fast transient response. When the error e ( k ) is small, i.e., the output is settling to the set point,
the scheme is then switched to a fixed gain PID controller.
The stability of the closed-loop control system can be
guaranteed while maintaining some level of control.
Sometimes a set of PID parameters are good for set point
responses but may be inappropriate for load disturbance
rejection [4], [16]. Hang [4] finds that the heuristic
Ziegler-Nichols design rule gives a set of PID parameters
that are good at load disturbance rejection. Therefore, a
PID controller with a set of fixed parameters that are obtained by the Ziegler-Nichols rule can be used after the
transient stage of the process response.
IV. STABILITY
Since the parameters of the present PID controller are
functions of time, it is very difficult to analyze the stability of the closed-loop control system. Even if the asymptotic stability is assured, wild start-up transients may be
intolerable in many applications. Therefore, a hierarchi-
V . SIMULATION
RESULTSAND DISCUSSIONS
The fuzzy gain scheduling scheme has been tested on a
variety of processes. Table IV shows the representative
simulation results of the following second-, third-, and
IEEE TRANSACTIONS ON SYSTEMS MAN. AND CYBERNETICS. VOL. 23. N O . 5, SEPTEMBERiOCTOBER 1993
I396
output y
output y
1.2
,?,
1.2 .........b . :
. . 4 . . . . . . . ...................................
. ----..:......................
IC
0.6
:.
:......................
I
< ...........j ..........
I
..... i Kitamorii, . .. , .
.................................................................
I
0.6
0.4 ...........................................................................................
.Pipposed i
i..
,, ,
...........................................................
0.8
..ipf.oposed..........
- :Ze/g!er~Nichds,..
........ ......... ,!........... . - ........
0.4
10
12
0.2 ................................
10
14
Zeigler-Nichds
..........................................................
15
fourth-order processes:
(s
G2(s) = (s
G3(s)
(s
25
30
Output y
e -0.5s
GI (s) =
20
TIME (sec)
TIME (sec)
...
1)
4.228
0 . 5 ) ( s 2 1.64s
27
l)(s
,-..
+ 8.456)
: \
(13b)
+ 3).
In the table, Y,, represents the percent maximum overshoot, T, stands for the 5 percent settling time, and IAE,
ISE are the integral of the absolute error and the integral
of the squared error, respectively [SI. The time responses
are plotted in Fig. 7, Fig. 8, and Fig. 9, respectively. The
results obtained by using Ziegler-Nichols PID controllers
and Kitamoris PID controllers are also presented for
comparison. The parameters of Ziegler-Nichols PID controllers are determined as K p = 0.6Ku, T, = 0.5Tu, and
Td = 0.125Tu; while those of Kitamoris controllers are
obtained by partial model matching method [7]. A brief
description of the method is given in the Appendix. Fig.
10 shows the PID parameters determined by the fuzzy gain
scheduling scheme for controlling the second-order process (13a). The determination process is as follows. First
the error and its first difference are calculated from the
sampled process output. Then the values of KL and K ; for
each rule are determined by the fuzzy reasoning process,
as shown in Fig. 6. Finally, the PID parameters are obtained by using (10) and (1 1).
The above simulations show that a variety of processes
can be satisfactorily controlled by the fuzzy gain scheduling PID controller. It yields better control performance
than the Ziegler-Nichols controller does, which is confirmed by comparing performance indexes such as the
percent maximum overshoot, the settling time, IAE, and
ISE. It seems that the derivative time constant Td for the
-0
10
TIME (sec)
Fig. 9 . Comparison of step responses of the controlled fourth-order process.
ZHAO
PI
1391
TABLE IV
SUMMAR
OFYSIMULATION
RESCLTS
Zeigler-Nichols PID
Controller
Process
G, (s)
K,,
2.808
T, = 1.64
T(! = 0.41
G2(s)
Ki, = 2.19
T, = 1.03
Tc1= 0.258
Y,,> = 32%
T, = 4.16
IAE = 1.37
ISE = 0.871
Ki, = 2.212
T, = 2.039
T,, = 0.519
Y,,, = 6.8%
T, = 2.37
IAE = 1.04
ISE = 0.805
Y,,, = 6. 1 %
Ti = 5.01
IAE = 1.01
ISE = 0.533
Y,,$ = 17%
T5 5.45
IAE = 0.99
ISE = 0.526
= 32.8%
T, = 3.722
IAE = 1.13
ISE = 0.628
Y,,,
Y,,$ = 6 . 0 %
Ti = 3.09
IAE = 1.18
ISE = 0.772
K,, = 2.357
T, = 1.649
Td = 0.414
Y,,, = 10.9%
T, = 2.3
IAE = 0.833
ISE = 0.596
Y,,, = 1.9%
T, = 2.632
IAE = 0.811
ISE = 0.537
"The PID parameters of the Kitamori's controller are not available for the process G, ( s ) because it has
a small damping ratio, 0.282. Y,,, is the percent maximum overshoot, Ts is the 5 percent settling time. and
IAE, ISE are the integral of the absolute error and the integral of the squared error, respectively
3
.......................
; Kp:
;.. ........................
:
Ti
.....................................................
1
1.5 . . . . . . . . . ..:. ........... :. . . . . . . . . . . ..:. ............:, ...........
(.
1 ............................................................................................
(CY"
CYIUS
= CY1 =
+ CY2u2s2 +
1)
. . . . . . . . . ...:, ............
0.5
1
G M ( S ) = 1=
CY
CY"
{ a I )=
{ I , 1,0.5,0.15, 0.03,
that would result in a time response with adequate damping characteristics and a short rise-time. The closed-loop
transfer function of the PID controlled system is then
I398
IEEE TRANSACTIONS ON SYSTEMS, MAN. AND CYBERNETICS. VOL 23. NO. 5, SEPTEMBERIOCTOBER 1993
co = a h / u
c1 = a b ( a ; / a t , - .a2)/.
c2 = a A { a ; / a h
+ u(ay5
uc-w2a;/at,
- a3))/u
+ a 3 ( 2 a 2 a 3- a:
a4) =
0.
REFERENCES
[ I ] K. L. Anderson, G. L. Blankenship, and L. G. Lebow, A rulebased adaptive PID controller, in Proc. 27th IEEE ConJ Decision,
Control, 1988, pp. 564-569.
[2] P. J. Gawthrop and P. E. Nomikos. Automatic tuning of commercial PID controllers for single-loop and multiloop applications. IEEE
Control Syst. Mag., vol. I O , pp. 34-42, 1990.
131 J. Gertler and H-S. Chang, An instability indicator for expert control, IEEE Control Syst. Mag.. vol. 6 , pp. 14-17, 1986.
[4] C . C. Hang, The choice of controller zeros, IEEE Control S ~ s t .
Mag., vol. 9 , pp. 72-75, 1989.
[5] C . C . Hang, K. J. Astrom, and W. K. Ho, Refinements of the
Ziegler-Nichols tuning formula, Proc. IEE, Pt.D.. vol. 138, pp.
Ill-118, 1991.
161 T. Iwasaki and A. Morita, Fuzzy auto-tuning for PID controller
with model classification, in Proc. NAFIPS 90, Toronto, Canada,
June 6-8, 1990, pp. 90-93.
[7] T. Kitamori, A method of control system design based upon partial
knowledge about controlled processes, Trans. SICE Japan. vol. 15,
pp. 549-555, 1979 (in Japanese).
[8] B. C . Kuo, Automatic Conrrol Sysfems, 5th ed. Englewood Cliffs,
NJ: Prentice-Hall, 1987.
191 C. C. Lee, Fuzzy logic in control systems: Fuzzy logic controller,
Part I , IEEE Trans. Syst., Man, Cybern., vol. SMC-20. pp. 404418, 1990.
[ I O ] -,
Fuzzy logic in control systems: Fuzzy logic controller, Part
11, IEEE Trans. Syst. Man, Cybern., vol. SMC-20. pp. 419-435.
1990.
I1 I] C. G. Nesler, Experiences in applying adaptive control to thermal
processes in buildings, in Proc. Amer. Control Conf., Boston, MA,
1985, pp. 1535-1540.
[I21 T . J. Procyk and E. H. Mamdani, A linguistic self-organizing process controller, Autumatica, vol. 15. pp. 15-30, 1979.
[I31 M. Sugeno, ed., Industrial Applications of Fuzzy Control. Amsterdam, The Netherlands: North-Holland, 1985.
[ 141 T . Takagi and M. Sugeno, Fuzzy identification of systems and its
applications to modeling and control, IEEE Trans. Svst. Man. Cvbern., vol. SMC-15, pf 116-132, 1985.
(151 Y. Takahashi, M. J . Rabins, and D. M. Auslander. Control and Dynamic Systems. Menlo Park, NJ: Addison-Wesley, 1970.
[I61 J. G . Truxal, Automatic Feedback Control System Synthesis. New
York: McGraw-Hill, 1955.
[I71 T. Yamamoto, S . Omatu, and H. Ishihara, A construction of selftuning PID control system, Trans. SICE Japan., vol. 25, pp. 3945. 1989 (in Japanese).
1181 Z . Y . Zhao, M. Tomizuka, and S . Sagara, A fuzzy tuner for fuzzy
logic controllers, in Proc. 1992 Amer. Control Conf., Chicago, IL,
June 24-26, 1992, pp. 2268-2272.
1191 J . G . Ziegler and N. B. Nichols. Optimum settings for automatic
controllers. Trans. ASME, vol. 64, pp. 759-768, 1942.
Zhen-Yu Zhao (M91) was born in Jiangsu province, China, on April 27, 1963. He studied at the
Department of Automation, Tsinghua University,
Beijing, and received the B. Eng. degree in control engineering in 1984. He received the M.Eng.
and Ph.D. degrees in electrical engineering in
1988 and 1991, respectively, both from Kyushu
University, Fukuoka, Japan.
From May 1991 to October 1992, he was an
instructor and a research associate with the Department of Mechanical Engineering, University
of California at Berkeley, Berkeley. He is currently a research scientist at
Omron Advanced Systems, Inc., in Santa Clara, CA. His research interests
and publications are in the areas of system identification, signal processing,
fault diagnosis, fuzzy logic control, neural networks, and intelligent control.
Masayoshi Tomizuka (M86) was bom in Tokyo, Japan in 1946. He received the B.S. and M.S.
degrees in mechanical engineering from Keio
University. Tokyo. Japan, in 1968 and 1970, respectively. He received the Ph.D. degree in mechanical engineering from the Massachusetts Institute of Technology, Cambridge, MA, in 1974.
He is currently a Professor with the Department
of Mechanical Engineering, University of California at Berkeley. He has held visiting professor
positions at Keio University and at the Institute of
Industrial Science, University of Tokyo. Hi5 research interests include digital, optimal, and adaptive control with applications to mechanical systems
such as robotic manipulators, machine tools, and vehicles.
Dr. Tomizuka served as an Associate Editor for the ASME Journal of
Dynamic Smtems, Measurement and Control and IEEE Control Systems
Magazine, and currently serves as the Technical Editor of the ASME Journal of D y a m i c Systems, Measurement and Control.