Sie sind auf Seite 1von 12

B. Amarendra Reddy et. al.

/ International Journal of Engineering Science and Technology


Vol. 2(8), 2010, 3422-3433

Control of Non-Linear Systems Using


Parallel Structure of Fuzzy PI+PD Controller
B.AMARENDRA REDDY
Assistant Professor in the department of Electrical Engineering,
University College of Engineering, Andhra University,
Visakhapatnam, Andhra Pradesh, India.

K. RAM CHARAN
Assistant Professor in the department of Electrical & Electronics Engineering,
L.B.R College of Engineering, Mylavaram
Andhra Pradesh, India

KRANTI KIRAN. ANKAM


Assistant Professor in the department of Electrical & Electronics Engineering,
L.B.R College of Engineering, Mylavaram
Andhra Pradesh, India
http://www.lbrce.ac.in/eee_Krantikiran.html

K.RAMALINGESWARA PRASAD
Assistant Professor in the department of Electrical & Electronics Engineering,
L.B.R College of Engineering , Mylavaram
Andhra Pradesh, India
http://www.lbrce.ac.in/eee_Ramalingeswara.html

Abstract:
This paper presents the comparison of tracking control performance of, parallel combination of fuzzy PI & PD
controllers and three input fuzzy PID controller. The analytical expressions of Parallel structure of Fuzzy PI & PD
Controller is derived via triangular membership functions by using Mamdani’s minimum inference method with
Zadeh fuzzy logic AND, Lukasiewicz fuzzy logic OR and center of gravity defuzzification method. (In Simulation
the tracking Control performance of Non-linear Systems using the fuzzy PID and parallel combination of fuzzy
PI&PD controllers by considering triangular, gaussian, gbell, trapezoidal and pi input membership functions.)
Keywords: Fuzzy control systems, membership functions, non-linear systems, PID controllers.

1. Introduction
Since the first successful application of the idea of the fuzzy sets [1] to the control of dynamic plant by Mamdani
and Assilian [2], there has been considerable worldwide interest in the subject of “Fuzzy Control System
Engineering”. It has been known that it is possible to control many complex systems effectively by human operators
who have no knowledge of their underlying dynamics, while it is difficult to achieve the same with conventional
controllers. It is this fact which has ultimately led to the prospective development of fuzzy control in a variety of
applications [3], most of these applications have been based on the intuitive implementation of domain experts’
experience.

ISSN: 0975-5462 3422


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

In recent years, Fuzzy logic controllers (FLC), especially fuzzy proportional –integral-derivative controllers
have been widely used for industrial process owing to their heuristic nature associated with simplicity and
effectiveness for both linear and non linear systems.
Fuzzy logic controllers can be divided into three main categories: (1) Fuzzy logic controllers, in which
fuzzy inference and if -then logic rules are employed without using precise mathematical models;(2) Fuzzy logic
controllers, whose structure is designed based on fuzzy logic with precise mathematical models.(3) fuzzy logic and
convention technique combined controllers.
Conventional PID controllers generally do not work well for non-linear systems, and particularly complex
and vague systems which do not have precise mathematical models. In order to overcome these difficulties, a class
of non-conventional fuzzy PID controllers has been used by us.
The structure of parallel combination of PI & PD preserves the basic properties and merits of the
Conventional PID controller, but has a simple configuration similar to the fuzzy PI and PD controllers. It has four
simple fuzzy if-then rules for each of the PI and PD controllers. Similarly the structure of the three input Fuzzy PID
preserves the basic properties and merits of the Conventional PID controllers, but it has eight simple fuzzy if-then
rules.
The present paper should be an attempt to understand what the parallel structure of fuzzy PID controller is
and how well it can perform in comparison with the three input fuzzy PID controller. Here it has demonstrated that
the parallel combination of fuzzy PI & PD controller is better than the three input fuzzy PID controller for nonlinear
systems, this is not a defect of the fuzzy PID Controller. The fuzzy PID controllers were designed for both linear and
non-linear systems. The parallel combination fuzzy PI & PD controller developed has a new structure that is not a
simple modification of the conventional version.
This paper organized as follows, section II describes the principal components of parallel combination of
fuzzy PI & PD controller. Section III describes fuzzification algorithm and fuzzy control rules, section IV describes
the defuzzification algorithm, section V describes analytical input output relationship and section VI describes
finally computer simulations.

2. Parallel Combination of Fuzzy PI & PD Controller


We have used a parallel combination of fuzzy PI & PD control unit arrangement, called the derivative-of-output, the
conventional version of (parallel combination of PI & PD) as shown in Fig. 1. This arrangement is often desirable if
the reference input contains discontinuities. The derivation of the parallel combination of fuzzy PI & PD control law
is performed in two steps: In first step the output of the fuzzy PI [4] controller and in the second step output of the
fuzzy PD [5] controller. The final control law combines these two individual control laws together in a appropriate
way, as described in more detail in the following sections.

Fig. 1. Parallel combination of Conventional PI & PD control system

ISSN: 0975-5462 3423


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

2.1. Derivation of the fuzzy PI control law


The output of the conventional analog PI controller in the frequency s- domain, is given by
Kc
uPI (s)  ( K pc  i ) E(s), (1)
s
Where K pc and Kic are the proportional and integral gains, respectively, and E(s) is the tracking error signal. This
equation can be transformed into the discrete version by applying the bilinear transformation
s = (2/T)(z-1/z+1), where T>0, is the sampling period, which results in the following form:
 u PI ( nT )  K p e v ( nT )  K i e p ( nT ), (2)
Where
u PI ( nT )  u PI ( nT  T )
 u PI ( nT )  ,
T
e(nT )  e(nT _ T )
ev (nT )  ,
T
And ep (nT)  e(nT).
More precisely, uPI (nT) is the incremental control output of the PI controller, ev (nT) is the rate of change of
error signal, and e p (nT ) is the error signal.
We can rewrite (2) as
uPI (nT )  uPI (nT  T )  TuPI (nT ), (3)
In the design of the fuzzy PI controller to be discussed later, we replace the term TuPI (nT ), so that
uPI (nT)  uPI (nT  T )  KUPIuPI (nT), (4)
Where KUPI is a fuzzy control gain.

2.2. Derivation of the fuzzy PD control law


The output of the conventional analog PD controller in the frequency s-domain, is given by

uPD s   (K pc  Kdc s)Y (s),


1

Where K cp and K dc are the proportional and derivative gains, respectively, and Y(s) is the output signal. This
1

equation can be transformed into the discrete version by applying the bilinear transformation s  2 T z  1 z  1,
where T>0, is the sampling, period, which results in the following form:

2( z  1) c
u PD ( z )  ( K pc 
1
K d )Y ( z ) . (5)
T ( z  1)
The above equation (5) is simplified as,
u PD ( nT )  K 1p d ( nT )  K d y ( nT ), (6)
Where
uPD(nT)  uPD(nT T)
uPD(nT)  ,
T
y ( nT )  y ( nT  T )
d ( nT )  ,
T (7)
y ( nT )  y ( nT  T )
 y ( nT )  .
T
Again, we have,
uPD (nT)  uPD (nT  T )  TuPD (nT).
uPD(nT) becomes the fuzzy control action in the new design, where we will use K uPD as a fuzzy control gain,
which will be determined later in the design and rewrite it as
u PD ( nT )  u PD ( nT  T )  K uPD u PD ( nT ) , (8)

ISSN: 0975-5462 3424


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

2.3. Parallel Combination of the fuzzy PI & PD controller


The overall fuzzy PI-PD control law can be obtained by algebraically summing the fuzzy PI control law (4) and the
fuzzy PD control law (8) together. The resulting law is
uPI  PD (nT )  uPI (nT )  uPD (nT )
u PI  PD ( nT )  u PI ( nT  T )  K uPI  u PI ( nT )
Or (9)
 u PD ( nT  T )  K uPD  u PD ( nT )
“Equation (9)” will be referred to as the fuzzy PI-PD control law throughout the paper.

Fig. 2. The parallel combination of fuzzy PI & PD control system

The parallel combination of fuzzy PI & PD control system (9) is shown in Fig. 2. This fuzzy PI-PD controller is
obtained by inserting the fuzzy PI and the fuzzy PD controllers in the conventional PI-PD controllers [6].

3. Fuzzification, Control rule base


In this section, we follow the standard procedure of fuzzy controller design consisting of fuzzification control rule
base formulation and defuzzification.

3.1. Fuzzification
We Fuzzify the PI and PD components of the Fuzzy PI-PD control system individually and then combine the desired
fuzzy control rules for each of them. The overall control law given in (9) is taken into consideration during
fuzzification. Similar to the fuzzy PI controller [7], the input and the output membership functions of the PI
component are shown in Fig.3.
The fuzzy PI controller employs two inputs, namely the error signal we * e and the rate of change of error
signal we *e . The fuzzy PI controller has a single output called the incremental control output and is denoted by
 u PI (nT ) as shown in Fig. 3.
The fuzzy PD controller has two inputs, namely, average change of output wy * y and the rate of change of
output y * y . The fuzzy PD controller has a single output called the incremental control output and is denoted
w
by u PD (nT ) . The inputs to the fuzzy PD controller have to be fuzzified before being fed into the controller. The
membership functions for the two inputs and the output of the controller are shown in Fig. 4.

Fig. 3 functions for error, rate of change of error and incremental control output

ISSN: 0975-5462 3425


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

Fig. 4 Membership functions for average output, rate of change of output and incremental control output

3.2. Control rule base


Using the aforementioned membership functions, the following control rules are established for the fuzzy PI
controller:
R1. If Error is negative AND rate is negative THEN output is negative.
R2. If Error is negative AND rate is positive THEN output is zero.
R3. If Error is positive AND rate is negative THEN output is zero.
R4. If Error is positive AND rate is positive THEN output is positive.
Here “output” is the fuzzy control action u PI (nT ) and And method is Zadeh’s logical “And” [1] defined

by  A AND B  min  A ,  B 
Similarly, from the membership functions of the fuzzy PD controller, the following control rules are used for
the PD component.
R5. If Error is positive AND rate is positive THEN output is zero.
R6. If Error is positive AND rate is negative THEN output is positive.
R7. If Error is negative AND rate is positive THEN output is negative.
R8. If Error is negative AND rate is negative THEN output is zero.
In the above rules, “PD output” is the fuzzy PD control output  u PD (nT ) . And other terms are defined
similarly to the PI component.
For the parallel combination of fuzzy PI and PD controller, the rules for Fuzzy PI part are R1-R4 and the rules for
Fuzzy PD part are R5-R8.
These eight rules altogether yield the control actions for the fuzzy PID control law.
R1. IF e p  e p  n and eI  eI  n and eD  eD  n THEN u  u  nl
R2. IF e p  e p  n and eI  eI  n and eD  eD  p THEN u  u  n

R3. IF e p  e p  p and eI  eI  n and eD  eD  n THEN u  u  n


R4. IF e p  e p  p and eI  eI  n and eD  eD  p THEN u  u  p
R5. IF e p  e p  n and eI  eI  p and eD  eD  n THEN u  u  n
R6. IF e p  e p  n and eI  eI  p and eD  eD  p THEN u  u  p
R7. IF e p  e p  p and eI  eI  p and eD  eD  n THEN u  u  p
R8. IF e p  e p  p and eI  eI  p and eD  eD  p THEN u  u  pl
The “ l ” symbol represents the “large” value in the corresponding direction of either positive (p) or negative (n).

4. Defuzzification
In the defuzzification step, for both the fuzzy PI and PD controllers, the commonly used “centre of gravity” formula
[4], [6] is employed to defuzzify the incremental control of the fuzzy control law. The “centre of mass” formula for
the defuzzification reads as:

u (nT )   membership value of input  output corresponding to the membership value of input
 membership value of input

ISSN: 0975-5462 3426


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

5. Analytical Input-Output Relationship


Due to the use of Zadeh AND Operator, the input space must be divided into a number of regions in such a way that
in each region a unique relationship can be obtained for each fuzzy rule between the two membership functions
being ANDed. First consider the rule antecedent parts which contain two membership functions the boundary on
which the membership value is same between two membership functions is obtained by letting them equal. Once the
boundary is available it is trivial to determine which function belongs to which IC compute the value of we *e and
we *e using one pair of error and rate in either IC.

Fig. 6. Regions of the fuzzy PI controller input-combination values

Fig. 7. Regions of the fuzzy PD controller input-combination values

Superimposing the four individual input space divisions to form overall input space division for all rules in
fuzzy PI controller is shown in fig [6] and for fuzzy PD controller are shown in fig [7]. The control rules for the
fuzzy PI controller (R1)-(R4), with membership functions and input-combination (IC) regions together, are used to
evaluate appropriate fuzzy control laws for each region. Working through all regions, we obtain the following
formulas for the four IC regions are shown in Table 1.

Table 1. Input Spaces of Fuzzy PI Controller

Wu [We* e  We* e]


IC1
4  2We* e
Wu [We* e  We* e]
IC2
4  2We* e
Wu [We* e  We* e]
IC3
4  2We* e
Wu [We* e  We* e]
IC4
4  2We* e
Similarly the defuzzification of the fuzzy PD controller follows the same procedure as described above for the PI
component, with the exception that the input signals in this case are different. We put the membership function of
the average chance of the input signal (given Fig. 4) over the horizontal w y * y -axis and the 7. Similar to the

ISSN: 0975-5462 3427


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

formulas in above, we use the values and apply the straight-line formulas obtained from the geometry of Fig. 7. is
shown in Table 2. membership function of the incremental control output signal over the vertical wy * y -axis as
shown in Fig.
Table 2. Input spaces for Fuzzy PD Controller
Wu [Wy * y  Wy *y ]
IC1
4  2Wy * y
Wu [W y* y  Wy* y ]
IC2
4  2Wy* y
Wu [W y* y  Wy* y ]
IC3
4  2Wy* y
Wu [W y* y  Wy* y ]
IC4
4  2Wy* y

Therefore from Table 1 & Table 2, we have derived the possible 16 analytical expressions for Fuzzy PI-PD
controller and are listed in Table 3.

Table 3. Analytical expressions for parallel combination of Fuzzy PI & PD Controller


S. Analytical expressions for Parallel combination
No of Fuzzy PI & PD controller
1 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We*e 4  2W y* y
2 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We*e 4  2Wy* y
3 Wu [Wy * y  Wy *y ] Wu [W y* y  Wy* y ]
+
4  2Wy * y 4  2W y* y
4 Wu [W y* y  Wy* y ] Wu [W y* y  Wy* y ]
+
4  2W y* y 4  2Wy* y
5 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2W y* y
6 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2Wy* y
7 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2Wy* y
8 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2Wy* y
9 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We*e 4  2W y* y

ISSN: 0975-5462 3428


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

10 Wu [We* e  We* e] Wu [W y* y  Wy* y ]


+
4  2We*e 4  2Wy* y
11 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We*e 4  2Wy* y
12 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We*e 4  2Wy* y
13 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2W y* y
14 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2Wy* y
15 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2Wy* y
16 Wu [We* e  We* e] Wu [W y* y  Wy* y ]
+
4  2We* e 4  2Wy* y

6. Computer Simulations

As a first example consider a non-linear system described by equation y =0.0001 y (t ) +u(t) and the unit step
responses are shown in Fig. 8 to Fig. 12.Computer simulations are done for the Fuzzy PI-PD controller, Parallel
combination of Fuzzy PI+PD Controller ,and three input Fuzzy PID Controller when triangular, Gbell, trapezoidal,
pi, and Gaussian membership functions in both input and output are used .

Fig. 8 unit step response for “Triangular” membership function

Fig. 9 unit step response for “Gbell” membership function

ISSN: 0975-5462 3429


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

Fig. 10 unit step


response for “Trapezoidal” membership function

Fig. 11 unit step response for “Pi” membership function

Fig. 12 unit step response for “Gaussian” membership function



As a second example consider a non-linear system described by the equation y = -y (t) + y (t ) + u (t) and unit
step responses are shown in Fig. 13 to Fig. 17, with different membership functions

Fig. 13 unit step response for “Triangular” membership function

ISSN: 0975-5462 3430


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

Fig. 14 unit step response for “Gbell” membership function

Fig. 15 unit step response for “Trapezoidal membership function

Fig. 16 unit step response for “Pi” membership function

Fig. 17 unit step response for “Gaussian” membership function



2
Next consider the non-linear system described by the equation y = y (t) + u (t) + sin ( y (t ) ). The unit step
responses for this non-linear system are shown in Fig. 18 to Fig. 22, with different membership functions.

Fig. 18 unit step response for “Triangular” membership function

ISSN: 0975-5462 3431


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

Fig. 19 unit step response for “Gbell” membership function

Fig. 20 unit step response for “Trapezoidal” membership function

Fig. 21 unit step response for “Pi” membership function

Fig. 22 unit step response for “Gaussian” membership function

7. Conclusions
We have described the design principle of a Parallel combination of fuzzy PI & PD controller and also the analytical
input and output relations are derived using triangular membership functions. The parallel combination of fuzzy PI
& PD controller is a discrete time fuzzy version of the parallel combination of conventional PI & PD controller. The
results demonstrate that the parallel combination of fuzzy PI & PD controller shows the better control performance
than fuzzy PID controller.

8. References
[1] Zadeh, L. A (1965). Fuzzy sets. Inf. Control, 8 , pp-338-353.
[2] E .H Mamdani, S. Assilian. An experiment in linguistic synthesis with a fuzzy logic controller, internat. J. Man- machine stud.7 (1)(1974).
Pp1-13.

ISSN: 0975-5462 3432


B. Amarendra Reddy et. al. / International Journal of Engineering Science and Technology
Vol. 2(8), 2010, 3422-3433

[3] Sugeno, M, (1985). Industrial applications of fuzzy control, Amsterdam: North-Holland.


[4] G. Chen and H. Yang, “On the stability of fuzzy PI control systems,” in proc. 3rd internat. Conf. on Fuzzy Logic Applications, Dec 1993,
pp.128-133.
[5] H. A. Malki, H.Li, and G. Chen, “New design and stability analysis of fuzzy proportional-derivative control systems,” IEEE Transactions
on Fuzzy systems, vol. 2, no.4, pp 245-253, 1994.
[6] D. Misir, H.A.Malki and G.Chen, “Design and analysis of a Fuzzy proportional-integral-derivative controller,” Fuzzy set and systems,
Vol.79, pp 297-314, 1996.
[7] H. Ying, W. Siller and J.J.Buckley, “Fuzzy control theory: A non linear case”, Automatica, Vol.26, PP.513-520, 1990.

ISSN: 0975-5462 3433

Das könnte Ihnen auch gefallen