Documente Academic
Documente Profesional
Documente Cultură
3
Boston, Massachusetts June 30 - July 2, 2004
Abstract— In this paper we propose a fuzzy PI-PD controller Our proposed fuzzy PI-PD controller has the following
that is tuned by using Genetic Algorithm(GA). The fuzzy PI- features:
PD controller preserves the linear structure of the conventional (1) It has the same linear structure as that of the conven-
one, but has self-tuned gains. The proportional, integral
and derivative gains are nonlinear functions of their input tional PI-PD controller, but has non-constant coefficient and
signals having certain adaptive capability in set-point tracking self-tuned control gains (they are the nonlinear functions of
performance. The proposed design is then optimized using the the input signal).
GA. Our proposed controller is validated by applying both (2)The controller is designed based on the classical
linear and nonlinear test signals. The results demonstrate discrete PI-PD controller, from which the fuzzy control law
that gain optimization using GA leads to better transient
performance of the proposed fuzzy PI - PD controller. is derived.
(3)Membership functions are simple triangular ones with
only four fuzzy logic if-then rules.
I. I NTRODUCTION
The fuzzification, control- rule execution, and defuzzifi-
Proportional-Integral-Derivative(PID) Controllers[1], [2], cation steps are embedded in the final formulation of the
[3], [4] are extensively used in process industries. The designed fuzzy control law. The resulting control law is a
classical PID controller, apart from the derivative kick, small set of explicit conventional formulas. Therefore, the
is suitable for controlling stable “time constant” plants controller works just like a conventional PI-PD controller.
with small time delays, which are typical of many plant The fuzzification rules and defuzzification routine are not
transfer functions. Difficulties are often faced, however, needed throughout the entire control process.
while controlling plants with resonance, integral or unstable Optimal fuzzy PI-PD gain parameters are obtained by
transfer functions[5]. using Genetic Algorithm[7], [8], [9]. The outstanding per-
PI-PD controller proposed by Majhi S and Atherton formance of our proposed fuzzy PI-PD controller is demon-
D.P[6] is a modified form of PID controller. PI-PD con- strated by computer simulations on a couple of linear and
troller, which corresponds to PI control of the plant transfer non linear systems.
function changed by the PD feedback, can produce im- This paper is organized as follows. In Section II we
proved control in several situations. This implementation discuss the design procedure of our proposed fuzzy PI -
avoids the derivative kick problem associated with deriva- PD controller. Fuzzification, control rule base and defuzzi-
tive action in the forward path, which still exists when filter fication procedure are elaborated in Section III. Computer
is included. Further, the PD in the inner feedback loop can simulation results are presented in Section IV. Section V
enable placement of the open loop poles in appropriate contains our conclusions.
positions, thereby providing good control for open loop
system transfer functions having resonances, unstable or II. F UZZY PI-PD CONTROLLER
integrating poles. The parameters of the PI-PD controller We have used an arrangement of fuzzy PI-PD control
are obtained by minimization of the integral of squared time units as shown in Fig.1. This arrangement is often desir-
weighted error (ISTE) criterion, which usually produces able if the reference input contains discontinuties[10]. The
a step response of desirable form, although other criteria derivation of the fuzzy control law is performed in two
could be used. steps: one for the output of the fuzzy PI[11] controller and
Conventional PI-PD controllers generally do not work the other for the output of the fuzzy PD[12] controller. The
well for nonlinear systems, higher order and time-delayed final control law combines these two individual control laws
linear systems, and particularly complex and vague systems together in an appropriate way, as described in more detail
which do not have precise mathematical models. In order in the following sections.
to overcome these difficulties, a class of nonconventional
u PI u PI−PD
fuzzy PI-PD controllers have been designed by us. r + e
PI
+
PROCESS
y
− −
u PD
S. Majhi is with the Department of Electronics and Communica-
tion Engineering, IITGuwahati, Guwahati-781039, Assam, India sma- PD
jhi@iitg.ernet.in
C. Mahanta is with the Department of Electronics and Communica-
tion Engineering, IITGuwahati, Guwahati-781039, Assam, India chi-
tra@iitg.ernet.in Fig. 1. The conventional continuous-time PI-PD control system
Ki = Kic T. and
2
Kd = Kdc .
Taking inverse z-transform in (3), we have T
uPI (nT ) − uPI (nT − T ) = K p e(nT ) − e(nT − T ) +
(4) Dividing the above equation by T , we get
Ki e(nT ). 0
uPD (nT ) + uPD (nT − T ) K p (y(nT ) + y(nT − T ))
Dividing the above equation by T , we obtain = +
T T
4uPI (nT ) = K p ev (nT ) + Ki e p (nT ), (5) Kd (y(nT ) − y(nT − T ))
,
where T
0
u (nT ) − uPI (nT − T ) or, 4uPD (nT ) = K p d(nT ) + Kd 4y(nT ),
4uPI (nT ) = PI ,
T where
e(nT ) − e(nT − T ) uPD (nT ) + uPD (nT − T )
ev (nT ) = , 4uPD (nT ) = ,
T T
and y(nT) + y(nT − T)
e p (nT ) = e(nT ). d(nT ) = ,
T
More precisely, 4uPI (nT ) is the incremental control output y(nT) − y(nT − T)
of the PI controller, e p (nT ) is the error signal and ev (nT ) 4y(nT ) = .
T
is the rate of change of the error signal. We can rewrite (4)
Again, we have,
as
uPI (nT ) = uPI (nT − T ) + T 4uPI (nT ). (6) uPD (nT ) = − uPD (nT − T ) + T 4uPD (nT ). (13)
In the design of the fuzzy PI controller to be discussed 4uPD (nT ) becomes the fuzzy control action in the new
later, we will replace the term T 4uPI (nT ) by fuzzy control design, where we will use KuPD as a fuzzy control gain,
action KuPI 4uPI (nT ), so that which will be determined later in the design and rewrite it
uPI (nT ) = uPI (nT − T ) + KuPI 4uPI (nT ), (7) as
where KuPI is a fuzzy control gain to be determined later. uPD (nT ) = − uPD (nT − T ) + KuPD 4uPD (nT ). (14)
4029
C. Combination of the fuzzy PI-PD controller membership functions for the two inputs and the output of
The overall fuzzy PI-PD control law can be obtained by the controller are shown in Fig.4. These are the simplest
algebraically summing the fuzzy PI control law (7) and the possible functions to use for this purpose.
fuzzy PD control law (14) together. The resulting law is
ep , e v negative ep , e v positive output negative output zero output positive
1 1
uPI−PD (nT ) = uPI (nT ) − uPD (nT )
0.5
or
−L 0 L ep , ev −L 0 L output signal
∆u (nT)
PI
uPI−PD (nT ) = uPI (nT − T ) + KuPI 4uPI (nT ) + Fig. 3. Membership functions for error, rate of change of error and
(15)
uPD (nT − T ) − KuPD 4uPD (nT ) incremental control output
!
&('
r(nT)+
−
d , ∆y negative d , ∆y positive output negative output zero output positive
1 1
.
"$# Fuzzy +-, + + y(nT)
+
PI PROCESS
+ −
− 0.5
Controller
"$#
&*)
L output signal
−L 0 L d, ∆y −L 0
∆ u PD(nT)
" #
IC12 IC11
case are different. We put the membership function of the
IC18 L IC17
IC4 IC3
average change of the output signal (given in Fig.4) over
IC13 the horizontal K p0 d(nT )-axis and the membership function
IC10
IC5 IC2 of the incremental control output signal over the vertical
K ep(nT)
−L
IC6
0
IC1
L i
Kd 4y(nT )-axis as shown in Fig.6. Similar to the formulas
IC14
IC9 in (16), we use the values o.p = L, o.n = −L, o.z = 0 and
IC7 IC8
apply the straight line formulas obtained from the geometry
−L
IC19 IC15 IC16 IC20
of Fig.6 given by:
0 0
Fig. 5. Regions of the fuzzy PI controller input-combination values K p .d(nT ) + L −K p .d(nT ) + L
d.p = , d.n = , (17)
Kd ∆ y(nT)
2L 2L
K .4y(nT ) + L −Kd .4y(nT ) + L
4y.p = d , 4y.n =
IC12 IC11
IC18 L IC17
.
IC4 IC3 2L 2L
IC13
IC10
Hence, we obtain the following formulas for the twenty IC
IC5 IC2
−L L
K’pd(nT) regions:
0
IC6 IC1
0
IC14
IC9 L[K p .d(nT ) − Kd .4y(nT )]
IC7 IC8 4uPD (nT ) = 0
2(2L − K p .|d(nT )|)
IC19 IC15 −L IC16 IC20
1.056
1.4 1
Fuzzy PI−PD
Conventional PI−PD
1.2 0.8
output y(t)
1.076
1 0.6
0.8 0.4
output y(t)
0.6 0.2
0.4 0
0 5 10 15 20 25 30 35 40
Time (sec)
0.2
Fig. 8. Output responses of conventional and fuzzy controller for a fourth
order process with time delay
0
0 5 10 15 20 25 30
Time (sec)
Fig. 7. Output responses of conventional and fuzzy controller for a first 7.4524 and L = 146.2357, and the input is a unit step.
order process with time delay
The sampling period T is 0.1 sec. The output response is
shown in Fig.9, which clearly reveals that the fuzzy PI-PD
The output response of our proposed fuzzy PI-PD con-
controller tracks the set point without any oscillations. The
troller and that of the conventional PI-PD controller are
peak overshoot is zero and the settling time is 1.96 sec.
shown in Fig. 7. It is clearly seen that the fuzzy controller
has zero overshoot, but the conventional controller has 7.6% 1.4
Fuzzy PI−PD
overshoot. The settling time of the conventional and the
fuzzy controller are 19 sec and 23 sec respectively. Settling 1.2
e−0.2s 0.4
H(s) = (20)
s(s + 1)3
0.2
4033