Simulation of Speed Control of Brushless DC Motor, With Fuzzy Logic Controller
Simulation of Speed Control of Brushless DC Motor, With Fuzzy Logic Controller
Simulation of Speed Control of Brushless DC Motor, With Fuzzy Logic Controller
Abstract— The electronically commuted Brushless DC motors are widely used in many industrial applications which
increase the need for design of efficient control strategy for these noiseless motors. This paper deals with the efficient speed
control mechanisms for these drives using meaningful fuzzy sets and rules. The fuzzy logic controller is developed using a
MATLAB/ Simulink tool. The paper deals with the possibility of designing a control strategy, to achieve accurate speed
control with the advantages of low cost. The proposed method is simple and efficient compared with the conventional
controllers.
Keywords— BLDC motor drive, Fuzzy Logic Controllers, Fuzzy sets and Fuzzy rules, Speed control.
24
International Journal of Electrical, Electronics and Data Communication, ISSN: 2320-2084 Volume-2, Issue-4, April-2014
25
International Journal of Electrical, Electronics and Data Communication, ISSN: 2320-2084 Volume-2, Issue-4, April-2014
applications of fuzzy control. Fuzzy controllers are decisions can be made. The process of fuzzy inference
used to control consumer products, such as washing involves membership functions, fuzzy logic operators,
machines, video cameras, and rice cookers, as well as and if-then rules. There are two types of fuzzy
industrial processes, such as cement kilns, inference systems that can be implemented in the
underground trains, and robots. Fuzzy control is a fuzzy logic toolbox which are Mamdani-type and
control method based on fuzzy logic. Fuzzy logic can Takagi–Sugeno (T–S) type. The basic structure of a
be described simply as computing with words rather Mamdani- type F.L.C as illustrated in fig.3 below
than numbers; fuzzy control can be described simply consists of the following components:
as control with sentences rather than equations. A Fuzzification, which converts controller inputs into
fuzzy controller can include empirical rules, and that information that the inference mechanism can easily
is especially useful in operator controlled plants. use to activate and apply rules.
Fuzzy logic controller (FLC) is capable of improving Rule-Base, (a set of If-Then rules), which contains a
its performance in the control of a nonlinear system fuzzy logic quantification of the expert’s linguistic
whose dynamics are unknown or uncertain. Fuzzy description of how to achieve good control.
controller is able to improve its performance without Inference Mechanism, (also called an “inference
having to identify a model of the plant. Fuzzy control engine” or “fuzzy inference” module), which emulates
is similar to the classic closed-loop control approaches the expert’s decision making in interpreting and
but differs in that it substitutes imprecise, symbolic applying knowledge about how best to control the
notions for precise numeric measures. system.
Fuzzy controllers are more robust because they can Defuzzification Interface, which converts the
cover a wide range of operating conditions. Fuzzy conclusions of the inference mechanism into actual
controllers are more flexible and the modifications of inputs for the process.
the Fuzzy rules are simpler when compared to the
conventional controllers. With these benefits Fuzzy
controllers can be utilized as industrial tool for control
applications.
The fuzzy controller takes input values from the real
world. These crisp input values are mapped to the
linguistic values through the membership functions in
the fuzzification step. A set of rules that emulates the
decision making process of the human expert
controlling the system is then applied using certain
inference mechanisms to determine the output.
Finally, the output is mapped into crisp control actions
required in practical applications in the
Fig.3. Basic block diagram of flc
de-fuzzification step.
In a fuzzy controller the data passes through a III. Fuzzy sets and rules evaluation- Speed control of
pre-processing block, a controller, and a BLDC Motor drive
post-processing block. Pre-processing consists of a The basic block diagram of the speed control of BLDC
linear or non-linear scaling. Linguistic variables are motor drive using Fuzzy logic controller is illustrated
central to fuzzy logic manipulations. They are in Fig.4.The error signal generated as the result of
non-precise variables that often convey a surprising variation in the reference speed and the actual speed of
amount of information. Usually, linguistic variables the motor sensed by the hall signals is utilized for the
hold values that are uniformly distributed (µ) between
formulation of Fuzzy rules which results in the
0 and 1, depending on the relevance of a context
generation of the PWM signals to drive the switching
dependent linguistic term.
circuit and with flexibility of fuzzy controllers wide
The collection of rules is called a rules base and the
range of speed can be controlled using this Fuzzy
rules are in the familiar if-then format, and formally
controller.
the if-side is called the condition and the then-side is
called the conclusion. The computer is able to execute
the rules and compute a control signal depending on
the measured inputs error and change in error.
Therefore the rules reflect the strategy that the control
signal should be a combination of the reference error
and the change in error. Fuzzy inference is the process
of formulating the mapping from a given input to an
output using fuzzy logic.
The mapping then provides a basis from which Fig.4.Block Diagram of Fuzzy Controlled Bldc Motor Drive
26
International Journal of Electrical, Electronics and Data Communication, ISSN: 2320-2084 Volume-2, Issue-4, April-2014
A. Steps in Fuzzy Decision algorithm: To evaluate the disjunction of the rule antecedents the
Step1: The Fuzzy rules are designed and the rules that OR fuzzy operation is used. Fuzzy expert systems
are verified are invoked using the membership make use of the classical fuzzy operation union
functions and the truth values obtained. expressed in equation(12),
Step2: The result is mapped to the membership A B (x) = max( A B (x) ) (12)
function and the variable to control the output Similarly, in order to evaluate the conjunction of the
variable. rule antecedents, the AND fuzzy operation is used and
Step3: The final step is the defuzzification providing the classical fuzzy operation intersection is given by
the crisp output needed to control the system. The equation (13).
combination of fuzzy operation and rule based
A B (x) = min( A B (x) ) (13)
inference system provides a fuzzy expert system. The min-max compositional rule of inference is used.
There are several defuzzification methods, in this
design the centroid technique specified in Fig.7 is
utilized. It finds the point where a vertical line would
slice the aggregate set into two equal masses.
27
International Journal of Electrical, Electronics and Data Communication, ISSN: 2320-2084 Volume-2, Issue-4, April-2014
2500
2000
Speed(rpm)
1500
1000
500
0
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time(Sec)
controlled as desired. 0
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time(Sec)
28
International Journal of Electrical, Electronics and Data Communication, ISSN: 2320-2084 Volume-2, Issue-4, April-2014
The results obtained shows that the actual speed is [2] B. Mahesh Kumar, G. Ravi, and R. Chakrabarti “Sensorless
Speed Control of Brushless DC Motor with Fuzzy Based
approximately equal to the reference speed. Thus an Estimation,” Iranian Journal Of Electrical and Computer
efficient speed control is achieved, for a BLDC Motor Engineering, Vol. 8, N0. 2, pp.119-125, Summer-Fall, 2011.
using Fuzzy Logic Controller. The comparison curves [3] Radu Duma, Petru Dobra, Mirela Dobra and Ioan Valentin Sita
“Low Cost Embedded Solution for BLDC Motor Control,”
of the actual speed and reference speed obtained using International conference on System Theory, Control and
the simulation inspector tool is illustrated as in Fig.17 Computing,pp.1-6,Aug 2011.
3500
Comparison speed curves
[4] Anand Sathyan, Nikola Milivojevic, Young-Joo Lee, Mahesh
Krishnamurthy and Ali Emadi “An FPGA-Based Novel Digital
3000
PWM Control Scheme for BLDC Motor Drives,” IEEE
2500
Transactions On Industrial Electronics, Vol. 56, No.
8,pp.3040-3049 Aug 2009.
Speed(rpm)
2000
1500
[5] Pooya Alaeinovin, Juri Jatskevich, “Filtering of Hall-Sensor
Signals for Improved Operation of Brushless DC Motors”
1000
IEEE Transactions On Energy Conservation, Vol. 27, No. 2,
500
pp.547-549,Jun 2012.
0 [6] Chwan-Lu Tseng, Shun-Yuan Wang, Shao-Chuan Chien, and
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time(sec) Chaur-Yang Chang “Development of a Self-Tuning
REF.SPEED, ACTUAL SPEED TSK-Fuzzy Speed Control Strategy for Switched Reluctance
Fig.17.comparison of refernce and actual speed curves Motor,” IEEE Transactions on Power Electronics, vol. 27, No.
4,pp 2141- 2151,April 2012.
[7] Shun-Chung Wang and Yi-Hwa Liu “A Modified PI-Like
With the graph obtained it is observed that the Fuzzy Logic Controller for Switched Reluctance Motor Drives,
efficiency of the designed Fuzzy Logic Controller is IEEE Transactions on Industrial Electronics, Vol. 58, No. 5,
calculated as 98.1% which proves to be efficient than pp.1812- 1825, May 2011.
[8] V. U, S. Pola, and K. P. Vittal, “Simulation of four quadrant
the conventional controllers. operation & speed control of BLDC motor on
MATLAB/SIMULINK,” in Proc.IEEE Region 10
CONCLUSION Conference,pp.1-6, Nov 2008.
[9] Amit Vilas Sant and K. R. Rajagopal “PM Synchronous Motor
Speed Control Using Hybrid Fuzzy-PI With Novel Switching
In this paper the control scheme for the speed control Functions” IEEE Transactions On Magnetics, Vol.45,
of BLDC motor using Fuzzy logic controller is N0,10,pp 4672- 4675 October 2009.
[10] Vicente Milanés, Jorge Villagrá, Jorge Godoy, and Carlos
proposed. The significant advantages of the proposed González, “Comparing Fuzzy and Intelligent PI Controllers in
work are: (1) simplicity of control i.e. the fuzzy rule Stop-and-Go Manoeuvres” IEEE Transactions On Control
base or Fuzzy set can be easily modified (2) Increased Systems Technology, Vol. 20, No. 3, pp.770-778, May 2012.
[11] Yee-Pien Yang and Yi-Yuan TingKumar “Improved Angular
robustness. The simulation of Fuzzy Logic controller, Displacement Estimation Based on Hall-Effect Sensors for
using MATLAB to control the speed of flexible BLDC Driving a Brushless Permanent-Magnet Motor,” IEEE
Motor, proves that the desired speed is attained with a Transactions On Industrial Electronics, Vol. 61, No. 1,
pp.504-511 Jan2014.
shorter response time, when compared with
[12] M. Surya Kalavathi, and C. Subba Rami Reddy “Performance
conventional controllers. The dynamic characteristics Evaluation of Classical and Fuzzy Logic Control Techniques
of the motor is obtained and the analysis reveals that for Brushless DC Motor Drive” IEEE Transactions On
Fuzzy controller is a highly controller and is capable Industrial Electronics, Vol. 61, No. 1 , pp .488-491, Jul 2012.
[13] Xiang Wang, Mei Li “Rotor Position Simulation of Switched
of controlling the motor drive over wide speed range. Reluctance Motor Based on Fuzzy Inference Rules,”
The fuzzy controller proves to be more efficient than International Conference on Innovation Management,
the conventional controller. The simulated Fuzzy pp.75-78, Sep 2009.
[14] Chang-Han Jou, Jian-Shiun Lu, and Mei-Yung Chen “Adaptive
control will be implemented, using dsPIC30F4013. A Fuzzy Controller for a Precision Positioner Using
prototype model will be developed to analyze Electro-Magnetic Actuator,” International Journal of Fuzzy
characteristics and the hardware results will be Systems, Vol. 14, No. 1,pp.110-117, March 2012.
[15] Han Ho Choi and Jin-Woo Jung, “Discrete-Time Fuzzy Speed
compared with the results of conventional controllers. Regulator Design for PM Synchronous Motor” IEEE
Transactions On Industrial Electronics, Vol. 60, No.
REFERENCES 2,pp.600-607, Feb 2013.
[16] N.T.-T. Vu, H.H. Choi, R.-Y. Kim, J.-W. Jung “Robust speed
control method for permanent Magnet synchronous motor,”
[1] C. Sheeba Joice, S. R. Paranjothi, and V. Jawahar Senthil IET Electric Power Applications, vol.6, No.7, pp.399 -411, Feb
Kumar “Digital Control Strategy for Four Quadrant Operation 2012.
of Three Phase BLDC Motor With Load Variations, ” IEEE [17] Timothy J. Ross, Fuzzy Logic with Engineering Applications,
Transactions On Industrial Informatics, Vol. 9, No. 2, pp.974 – 2nd ed, England: John Wiley & Sons Ltd, 2004.
982, May 2013.
29