Fuzzy BLDC 5 Rule
Fuzzy BLDC 5 Rule
Volume 1 – No. 27
ABSTRACT
This paper presents the design and implementation of an adaptive model [5, 6]. The fuzzy logic controller uses fuzzy logic as a
fuzzy logic controller for the speed control of brushless dc motors. design methodology, which can be applied in developing non-
The proposed system uses an adaptation of the slope of the linear system for embedded control. Simplicity and less intensive
membership functions of the variables used in the conventional mathematical design requirements are the most important features
fuzzy controller based on the magnitude of the error. A simulation of the FLC.
analysis of the fuzzy controller and the adaptive fuzzy controller Fuzzy logic control is derived from fuzzy set theory introduced
are done and their performances are compared. Simulation results by Zadeh in 1965. In fuzzy set theory, the transition between
of both fuzzy and adaptive fuzzy controllers are presented. The membership and non-membership can be gradual. Therefore,
adaptive fuzzy controller is better than the fuzzy controller based boundaries of fuzzy sets can be vague and ambiguous, making it
on the performance parameters considered. An experimental useful for approximate systems. Fuzzy Logic controller is an
implementation of the designed adaptive fuzzy controller on an attractive choice when precise mathematical formulations are not
embedded microcontroller is also presented. possible [7, 8].
Keywords PROPOSED SYSTEM
Brushless DC motor, Fuzzy controller, Adaptive fuzzy controller,
microcontroller.
INTRODUCTION
Recently , permanent magnet brushless dc motor (PMBLDC) is
very popular because of its attractive features such as high
starting torque, high efficiency, low maintenance cost, absence of
mechanical commutator, high speed operation, low volume to
torque ratio, elimination of sparking and electromagnetic
disturbances, noise.
A PMBLDC motor is inside out construction of DC motor. The
efficiency is likely to be higher than DC motor of equal size and
the absence of commutator and brushes, reduces the motor length. Figure 1. Proposed system.
Hence the lateral stiffness of the motor is increased, allowing for Figure 1 shows the block diagram of proposed system. The
high speeds [1, 2]. The power electronic converters required in system above is composed of brushless dc motor, six step inverter,
brushless dc motor are similar in topology to the PWM inverter gate drive for inverter, fuzzy controller and switching logic. Due
used in induction motor drives. to the presence of parameter variation and load disturbance in a
Nowadays brushless dc motors are used in various applications BLDC motor, closed loop control is necessary, to obtain a
such as defense, industries, robotics, etc. In these applications, desirable behavior. BLDC motor has three phase windings on
motor should be precisely controlled so as to give desired stator and Permanent Magnet on rotor. In order to define the shaft
performance. The classical controller need accurate mathematical position, rotor position sensor is necessary. The sensor senses the
model of the system and can perform well only under linear rotor shaft position and signals. The processed signals are given to
condition. Since the PMBLDC motor is highly coupled non-linear the fuzzy controller. The output of the controller is used to
multivariable system, it is difficult to obtain its accurate provide switching signals for the inverter from which the speed of
mathematical model. Hence there is a need for intelligent the motor can be controlled.
controller. So an attempt is made to develop fuzzy controller for
PMBLDC motor.
FUZZY AS A CONTROL TOOL
The fuzzy logic controller (FLC) is indeed capable of Generally PI controller is widely used in BLDC motor control;
providing the high accuracy required by high performance drive however it does not give satisfactory results when control
system without the need of mathematical model [3, 4]. FLC parameters and loading condition changes rapidly [3]. The fuzzy
accommodates non-linearity without utilization of mathematical logic controller (FLC) will guarantee a stable operation, even if
there is a change in motor parameters and load disturbances. The
36
©2010 International Journal of Computer Applications (0975 - 8887)
Volume 1 – No. 27
reason is obvious; any control system maps the input space to the
output space. Generally, a desired set of outputs are calculated for
a given set of inputs. This mathematical calculation is represented
with a formula, which demonstrates the system behavior.
However, this mathematical formula may be too complex to use
for the real world issues. In these cases, fuzzy logic provides a
useful methodology to create a practical solution for controlling
complex systems. It is not necessary to know the exact model of
such complex systems in order to design a FLC. It is sufficient to
understand the general behavior of the system. Fuzzy logic
enables the designer to express the general behavior of the
systems in an easier (linguistic) manner where it is allowed to use
words and sentences instead of numbers and equations. This is
accomplished by forming IF-THEN rules which describe the
characteristics of the system. High degree of automation and
robust nonlinear control is also possible by means of fuzzy
controller.
NB NB NB NB NS Z
NS NB NB NS Z PS
Z NB NS Z PS PB
PS NS Z PS PB PB
PB Z PS PB PB PB
37
©2010 International Journal of Computer Applications (0975 - 8887)
Volume 1 – No. 27
38
©2010 International Journal of Computer Applications (0975 - 8887)
Volume 1 – No. 27
39
©2010 International Journal of Computer Applications (0975 - 8887)
Volume 1 – No. 27
Fig.12 Simulated response of adaptive fuzzy controller for instructions with faster execution speed, programmable code
change in speed for a load change from 0 to 100% of the rated protection, selectable power management modes and low power
value at 1sec. consumption. Port B of the processor receives input from the
position sensors. Based upon the values of hall position sensor
signals, PWM pulses are produced at the Port E Pins 0 to 5.
Performance Comparison
The speed is calculated from the hall sensor inputs using timers.
The performance of the system with fuzzy and adaptive fuzzy
Then the controller routine will decide the new duty cycle. The
controller is measured in terms of rise time and steady state error.
duty cycle of the PWM generated can be varied by changing the
The performance comparison chart for different reference speeds
control word written to the corresponding special function register
for no load condition is given in table 2. Table 3 gives the
in the processor. By varying the duty cycle of the pulses applied
comparison of the performance parameters under loaded
to the inverter, the speed of the PMBLDC motor is controlled
condition.
effectively. In this work, low side pulses are made as PWM pulses
Table 2: Performance comparison under no load whereas high side drivers are kept at active high or low state as
and when required. The flowchart of the control program is given
in figure 13.
Step change Fuzzy Adaptive Fuzzy
in reference controller Controller
speed
Rise Steady Rise Steady
time in state time in state
sec error sec error
in in
% %
0 to 100% of 0.1779 0.866 0.1779
rated value 0.4
40
©2010 International Journal of Computer Applications (0975 - 8887)
Volume 1 – No. 27
implementations of the designed fuzzy and adaptive fuzzy 5. Gwo-Ruey Yu; Chin-Wen Chuang; Rey-Chue Hwang;
controllers are discussed. “Fuzzy control of brushless DC motors by gray
prediction” IFSA World Congress and 20th NAFIPS
International Conference, Canada, 2007. Joint 9th
REFERENCES Volume , Issue , 25-28 July 2007Page(s):2819 - 2824
1. B.K. Bose, “Power electronics and motor drives-recent vol.5.
technology advances”, Proceedings of the IEEE 6. Hailong Song Yong Yu Ming Yang Dianguo Xu ,
International Symposium on Industrial Electronics (ISIE “A novel SMC-fuzzy speed controller for permanent
2002), Italy, July 8-11,2002, Volume 1, pages 22-25. magnet brushless DC motor” Eighteenth Annual IEEE
2. C.K.Leeand, W.H.Pang, “A Brushless Motor speed Applied Power Electronics Conference and Exposition,
control system using Fuzzy Rules” by Proceedings of 2003. APEC '03, Feb. 2003 Volume: 1, On page(s):
the Fifth IEEE International Conference on Power 281- 285 vol.1
Electronics and Variable, Speed Drives, UK, October 7. N.Senthil Kumar, V.Sadasivam, Muruganandam, M “A
16-28, 1994, Pages 101-106. Low-cost Four-quadrant Chopper-fed Embedded DC
3. Y.H. Bharathi, B.R. Rekha, P. Bhaskar, C.S. Parvathi Drive Using Fuzzy Controller” Electric Power
and A.B. Kulkarni, “Multi-input Fuzzy Logic Controller Components and Systems journal, Volume 35, Issue 8
for Brushless dc Motor Drives”, Defence Science August 2007 , pages 907 - 920
Journal, Vol. 58, No. 1, January 2008, pp. 147-158 8. Dimiter Drainkov, Hans Hellendoorn and Michael
4. Uddin, M.N. Radwan, T.S. Rahman, M.A. , Fuzzy- reinfrank, “An introduction to fuzzy control”, Narosa
logic-controller-based cost-effective four-switch three- publishing house, New Delhi,1996
phase inverter-fed IPM synchronous motor drive
system”, IEEE Transactions on Industry Applications,
Jan.-Feb. 2006, Volume: 42, Issue: 1, page(s): 21- 30.
41