Fuzzy Control Precise Control in A Fuzzy World
Fuzzy Control Precise Control in A Fuzzy World
by Musa Abubakar
Department of Electrical Engineering, Faculty of Engineering Bayero University, Kano. Nigeria February, 2013
Pendulum Conclusion
Controller Conclusion
Introduction
Pioneers in Fuzzy theory and control - Lotfi Zadeh Introduced Fuzzy sets and Fuzzy logic - Ebrahim Mamdani First practical Fuzzy Controller Why Fuzzy control: Advantages of Fuzzy control - Fuzzy Control is based on natural language - Fuzzy Controllers are relatively easy to design - Systems with no mathematical models can be controlled - Fuzzy Controllers are robust - They are versatile; there are many parameters that may be adjusted to achieve required performance
Controller Conclusion
Electric Digital Image Stabilizer by Matsushita Electric Fuzzy Automatic Transmission by Nissan Cement Kiln controller by Holmblad and Ostergaad Subway train controller in Sendai
Controller Conclusion
objects that can be treated as a whole. Crisp sets are represented by characteristic functions 1 given by () = 0 as illustrated below
defined as a set of ordered pairs , ( | Fuzzy sets are represented by membership functions given by that take values in the closed interval [0, 1] as illustrated in the figure below
(OR)
= max ,
Intersection (AND)
= min ,
Controller Conclusion
Fuzzy Controller Design Fuzzy control system Fuzzy IF THEN rules Fuzzification Knowledge Base Fuzzy Inference Engine Fuzzy implication Aggregation Defuzzification
-40 C is the crisp value of the crisp variable temperature -1000rpm is the crisp value of the crisp variable fanspeed Fuzzy Rule:
-IF temperature is veryhot THEN set fanspeed to veryfast -IF temperature is medhot THEN set fanspeed to medfast
fuzzy(linguistic) variable temperature veryfast and medfast are fuzzy(linguistic) values of the fuzzy(linguistic) variable fanspeed
Example : Room temperature control rules: Crisp Rule: -IF error is 10 THEN set control to 100 10 is the crisp value of the crisp variable error 100 is the crisp value of the crisp variable control
Fuzzy Rule: -IF error is positivelarge THEN set control to negativelarge -IF error is positivemedium THEN set control to
negativemedium
values of the fuzzy(linguistic) variable error negativelarge and negatvemedium are fuzzy(linguistic) values of the fuzzy(linguistic) variable control
Example : Room temperature control rules: Crisp Rule: -IF e is 10 THEN set u to 100 10 C is the crisp value of the crisp variable e
1.2 = 0.8
1.2 = 0.15
0.6 = 0.65
0.6 = 0.35
1 or IF e is NL and de is NL THEN set u to PL 2 or IF e is NL and de is NS THEN set u to PL 3 or IF e is NL and de is ZE THEN set u to PL 4 or IF e is NL and de is PS THEN set u to PS 5 or IF e is NL and de is PL THEN set u to ZE 6 or IF e is NS and de is NL THEN set u to PL 7 or IF e is NS and de is NS THEN set u to PL 8 or IF e is NS and de is ZE THEN set u to PS 9 or IF e is NS and de is PL THEN set u to ZE 10 or IF e is NS and de is PS THEN set u to NS
e
ZE PL PS ZE NS NL PS PS ZE NS NL NL PL ZE NS NL NL NL
de
Defuzzification
Defuzzified (Crisp) Output, u(t)= -2.83
= 0.15 10 + 0.35 5 + 0.65 0 0.15 + 0.35 + 0.65
2 =
3 4 =
The Simulink model of the Inverted Pendulum Fuzzy and PID control system
angle (rad)
FUZZY
Fuzzy controller gain: output gain =100 kp=10 kd=0.2
time (s)
Conclusion
It has been demonstrated that the performance of a
fuzzy controller can be as good as that of other conventional controllers In some cases the fuzzy controller may perform better than other conventional controllers
Thanks to all
References
[1] K. M. Passino, S. Yurkovich. Fuzzy Control. Addison Wesley Longman, Menlo Park, California, 1998. [2] J. Jantzen, Foundations of Fuzzy Control. John Wiley & Sons, West Sussex, England,2007. [3] S. N. Sivanandam, S. Sumathi and S. N. Deepa, Introduction to FuzzyLogic using MATLAB. Springer, Berlin, 2007. [4] L. Wang, A Course in Fuzzy Systems and Control. Prentice-Hall.