Académique Documents
Professionnel Documents
Culture Documents
Abstract – Fuzzy Logic Controller develops a more humanlike behavior in automatic control systems.
This paper provides an insight to the implementation of a fuzzy interference system in a control
system. The rule base interference system is designed in Fuzzy System Designer of Laboratory Virtual
Instrumentation Engineering Workbench (LabVIEW). However, it is difficult to replace the
predominantly used PID controllers in the industry by a new controller. In this paper, a Fuzzy logic
based PID controller is designed with a fuzzified weight for the proportional term. The weight is
based on the current error and change in error. A similar controller with a constant weight less than
one is also implemented and a performance comparison between the two is carried out. The fuzzy
based methodology used, reduces both the overshoot and the rise time in set-point tracking. It requires
just a little extra computational effort and the PID characteristic of the controller is also preserved.
This paper implements a fuzzy logic based The linguistic variables given in TABLE I are
PID controller taking into consideration the used to create the membership functions of
current error and change in error to estimate a input variables - error and change in error and
fuzzified weight, which is then multiplied to the output variable-controller output. The rule
the proportional term of the PID controller.
base used for the interference system is
presented in TABLE II.
TABLE I
Linguistic variables
NB Negative Big
NM Negative Medium
NS Negative Small
Figure 3: Step responses Figure 4: Step response
ZO Zero
for for
PS Positive Small
PM Positive Medium
PB Positive Big IMPLEMENTATION OF FUZZY LOGIC BASED
PID CONTROLLER
TABLE II Model Formulation
Rule base For a basic PID controller,
e(t)
NB NM NS ZO PS PM PB (3)
NB NB NB NB NB NM NS ZO
NM NB NB NB NM NS ZO PS Where, = system error;
NS NB NB NM NS ZO PS PS
Control variable;
Δe(t)
ZO NB NM NS ZO PS PM PM
PS NM NS ZO PS PS PB PB Proportional gain;
PM NS ZO PS PM PB PB PB Derivative time constant;
PB ZO PS PM PB PB PB PB
Integral time constant.
Simulations and results
The idea of multiplying or weighting the set-
The paper develops a LabVIEW point value for the proportional action by a
implementation of the fuzzy logic controller. constant parameter (b<1), is effective in
The block diagram for the fuzzy logic reducing overshoot. The Block diagram is
controller is shown in Fig. 2 shown in Fig. 5.
TABLE III
Linguistic variables
NVB Negative Very Big
NB Negative Big
NM Negative Medium
NS Negative Small
Z Zero
Figure 7: LabVIEW implementation for comparison of
PS Positive Small fixed set point weighting and fuzzy set point weighting
PM Positive Medium for PID controller.
PB Positive Big
PVB Positive Very Big Simulations and results
ZO NM NS Z PS PM
PS NS Z PS PM PB
PB Z PS PM PB PVB
Transfer function
Fixed b Fuzzy b
Figure 14: Figure 15
T=10, L=0.4 T=10, L=0.8 , ξ=0.8 0.6 0.6
, ξ=0.2 1 0.9
0.5 0.5
, T=1, L=0.1 1.5 0.6
, T=1, L=0.4 1.4 2
, T=1, L=0.8 1 1.2
Figure 16: Figure 17: , T=10, L=0.1 0.2 0.1
, T=10, L=0.4 1.4 1.3
, T=10, L=0.8 0.5 0.7
2.5 2.6
, L=0 0.8 1.5
, L=0.1 1 1
Figure 18: , L=0 Figure 19 , L=0.1
1 1.5
In the figures above the dotted line is for fixed
CONCLUSION
b and the dashed line is for fuzzy b. A
comparison between the responses obtained The Fuzzy Logic Controller is a powerful tool
with a fixed value of the weight b and the and leads to more efficient, precise and
fuzzified b was made by evaluating the accurate controls. The benefits of Fuzzy Logic
overshoot percentage ( ) and rise time ( ). Controllers include more accuracy and
precision than their PID counterparts. It can be
The overshoot (%) and rise time (s) are seen from the TABLE V and VI that the rise
reported in TABLE V and VI for the two time decreases whilst the overshoot does not
controllers, respectively. significantly increase in fuzzified b with
respect to the fixed b. The use of the fuzzy set-
point weighting, in conjunction with the PID
TABLE V
method for the tuning of the proportional gain,
Value of overshoot (%) using a fixed weight b
and a fuzzified weight b. leads to a significant improvement in the step
response and preserves the good performances
Transfer function (In %) in the attenuation of the load disturbance
assured by PID controller.
Fixed b Fuzzy b
, ξ=0.8 10 1 REFERENCES
, ξ=0.2 0 0
[1] Antonio Visioli, “Fuzzy Logic Based Set-
10 2
Point Weight Tuning of PID Controllers”,
, T=1, L=0.1 0 2
IEEE transactions on systems, man, and
, T=1, L=0.4 8 3 cybernetics—Part A: systems and humans,
, T=1, L=0.8 1 0.5 Nov 1999, pp. 587-592
, T=10, L=0.1 15 0
, T=10, L=0.4 6 2 [2] S.R.Vaishnav, Z.J.Khan, “Design and
, T=10, L=0.8 3 0 Performance of PID and Fuzzy Logic
14 5 Controller with Smaller Rule Set for Higher
, L=0 7 0.5 Order System”, Proceedings of the World
Congress on Engineering and Computer Science
, L=0.1 3 0.5 2007, WCECS 2007, October 24-26, 2007,San
1 2.5 Francisco, USA