You are on page 1of 8

International Journal of Pure and Applied Mathematics

Volume 119 No. 15 2018, 2689-2696


ISSN: 1314-3395 (on-line version)
url: http://www.acadpubl.eu/hub/
Special Issue
http://www.acadpubl.eu/hub/

Speed Control of Brushless DC Motor Using Fuzzy


Controller
Lokesh Kumar Agrawal 1,*, Bhavesh Kumar Chauhan 2, G. K. Banerjee 1
1Department of Electrical Engineering, IFTM University, Moradabad (U.P.), India
2Department of Electrical Engineering, ABESIT, Ghaziabad (U.P.), India
*Corresponding author: lokesh_7575@rediffmail.com

Abstract BLDC motors comprise several attractive


Brushless DC (BLDC) motors are widely used for properties such as smooth speed control and
many industrial applications because of their torque –speed characteristics [1]. Moreover, the
reliability, high efficiency, high starting torque, control of DC motor also simple and does not
and less electrical noise. For the speed control of requires complex Hardware [2] and [3]. But, DC
BLDC motor, different controllers are used. In motors have main disadvantages regarding to
this work, the performances of BLDC motor have lifetime of brushes are the limited. A lower
been evaluated without controller and with reliability occurs caused by the brushes and the
conventional controllers PI and PID. The results operation need time to time maintenance of
have been compared with fuzzy based controller. replacement [4].
In comparison with conventional controllers, Proportional Integral and Derivative (PID)
fuzzy controller gives effective speed response controllers have been used in industrial control
applications for a long time. PID controllers date
but conventional controllers provide better
to 1890s governor design. Despite having been
response with changing load.
around for a long time, majority of industrial
MATLAB/SIMULINK software is used to carry
applications still use PID controllers. According
out the above investigation.
to a survey in 1989, 90% of process industries use
Keywords- BLDC motor, PI controller, PID them. This widespread use of PID in industry can
Controller, Fuzzy controller be attributed to their simplicity and ease of re-
tuning on-line.
The PID controller is so named because its
1 Introduction output sum of three terms, proportional, integral
Industries use mainly two types of motors: (i) and derivative term. Each of these terms is
dc motors where the flux is produced by the dependent on the error value e(t) between the
current through the field coil of the stationary input and the output,
pole structure, (ii) permanent magnet brushless
dc motors where the permanent magnet provides t
de(t )
the necessary air gap flux instead of wire wound output  k p e(t )  ki  e(t )dt  k d
dt
field poles. As the brushless DC motors do not 0

have brushes, the commutation takes place (1)


electronically. BLDC motor is actually a where Kp, Ki and Kd are the P, I and D
permanent magnet synchronous motor (PMSM) parameters respectively. These terms determine
with trapezoidal back EMF [1]. the type of system response. The properties of P,
I and D are discussed briefly here.

2689
International Journal of Pure and Applied Mathematics Special Issue

The effects of each of controller parameters,


Kp, Ki and Kd on a closed-loop system are
summarized in the table below.

Control Rise Overshoot Settling Steady


Parameter Time Time State
Error
Kp Decrease Increase Small Decrease
Change
Ki Decrease Increase Increase Eliminate Fig1: Circuit diagram of BLDC motor drive
system
Kd Small Decrease Decrease No
Change Change
Table 1: Effects of control parameters
There have been various types of techniques
applied for PID tuning, one of the earliest being
the Ziegler Nichols technique. These techniques
can be broadly classified as classical and
computational or optimization techniques.
This paper discusses about modeling and
speed control techniques of BLDC motor using
open loop and closed loop with conventional
controllers-PI, PID controller and fuzzy controller
also. The performance of speed control of BLDC Fig2: Trapezoidal back emf pattern and reference
motor is verified through simulation analysis on current generation
MATLAB Simulink platform.
3 Mathematical modeling of
2 BLDC motor operational BLDC motor
Dynamic equations BLDC motor is
principle represented as following:
BLDC motors use mechanical commutator and
va   R 0 0  ia   L  M 0 0  ia  ea 
brushes to achieve the commutation. However, v    0 R 0  i    0  d i   e 
 b   b   LM 0  dt  b   b 
BLDC motors are truly an inside-out DC
Commutator with the mechanical commutator vc   0 0 R  ic   0 0 L  M  ic  ec 
replaced by an electronic switching converter.
The stator of BLDC motors is the coil, and the (2)
rotor is the permanent magnet. The stator
develops the magnetic field to make the rotor Where va, vb, vc are the phase voltages, ia,ib, ic
rotating. Hall Effect sensors detect the rotor are the phase currents, ea, eb, ec are the phase
position as the commutating signals. Therefore,
back-EMF waveforms, R is the phase resistance,
BLDC motors use permanent magnet instead of
coil in the armature and do not need brushes. For L is the self inductance of each phase and M is
the three phases BLDC motors, the back-EMF the mutual inductance between two phases. So
and phase current waveforms with 120° electromagnetic torque can be obtained as:
conduction mode are shown in Figs. 1, 2, [5] and
[6]. 1
Te  (ea ia  ebib  ec ic )
r
(3)

2690
International Journal of Pure and Applied Mathematics Special Issue

Where ωr is the mechanical speed of the rotor. of these terms is dependent on the error value
The equation of motion is: e(t) between the input and the output:

d t
de(t )
r  (Te  TL  Br ) / J output  K p e(t )  K i  e(t )dt  K d
dt 0
dt
(4)
(7)
The electrical speed ωe is related to the where Kd is the proportional gain.
mechanical speed for a motor with P numbers of
c) Fuzzy Logic Controller
poles as following:

e  ( P / 2)r
MATLAB Fuzzy logic Toolbox is use to design
fuzzy logic controller. Basically, the Fuzzy Logic
(5) controller consists of four basic components:
fuzzification, a knowledge base, inference engine,
Where P is the number of poles, ωr is the rotor and a defuzzification interface. The addition of
speed in rad/sec. fuzziness to data in fuzzy logic is called the
fuzzification .fuzzy linguistic descriptions are
4 Speed control of BLDC motor formal representation of system made through
fuzzy IF-THEN rules. They encoded knowledge
The speed control of BLDC motor with about a system in statements of the form- IF (a
conventional controller and fuzzy controller has set of conditions) are satisfied then (a set of
been investigated. consequents) can be inferred. The conversion of a
fuzzy set to single crisp value is called
a) P-I Controller defuzzification. [7] and [8].
In Mamdani type FIS the crisp result is
P-I Controller is mainly used to eliminate the obtained by defuzzification, in the Mamdani FIS
steady state error. Since P-I controller has no can be used for both multiple inputs and single
ability to predict the future errors of the system it output and multiple inputs multiple outputs
cannot decrease the rise time and eliminate the system [9].
oscillations. The output of the PI controller in
time domain is defined by the following equation:

t
output  K p e(t )  K i  e(t )dt
0

(6)
where Kp is the proportional gain, Ki is the
integral gain and e(t) is the instantaneous error
in the signal.
Fig3: Block diagram of Fuzzy Logic Controller
b) P-I-D Controller
The BLDC motor has been simulated in the
P-I-D controller has the optimum control
MATLAB/SIMULINK environment. Fig.2 shows
dynamics including zero steady state error, fast
the Simulation model of BLDC motor wihout
response (short rise time), no oscillations and controller. The motor is fed by a PWM inverter.
higher stability. The necessity of using a The inverter gates signals are produced by
derivative gain component in addition to the PI decoding the Hall Effect signals. Various
controller is to eliminate the overshoot and the parameters used for simulation shown in TABLE
oscillations occurring in the output response of 2.
the system. Its output sum of three terms,
proportional, integral and derivative term. Each

2691
International Journal of Pure and Applied Mathematics Special Issue

Stator phase resistance 2.8750 ohm

Stator phase inductance 8.5 mH

Number of Slots 18

Voltage constant 40 V/Krpm

Number of poles 16

Number of phases 3 Fig.6: Speed of BLDC motor

Voltage input 24 V

Power input 40 W

Proportional constant 0.0015

Integral constant 0.25

Table 2: Parameters used for simulation of BLDC


motor Fig7: Electromagnetic Torque of BLDC motor

From speed time waveform it can be seen that


speed of motor is directly proportional input
voltage. Speed is a function of voltage. Speed of
BLDC motor can be controlled by applied voltage.

Fig4: Simulation model of BLDC motor wihout


controller

Fig8: Simulation model of BLDC motor with PI


controller

Fig5: Stator Current and back EMF of phase A

2692
International Journal of Pure and Applied Mathematics Special Issue

will be given as an error signal to PI controller. PI


controller will take appropriate signal on
receiving of this error signal; it can increase as
well as decrease the duty cycle of applied gate
signal.

Fig9: Stator Current and back EMF of Phase A

Fig12: Simulation Model of BLDC Motor with


PID Controller

Fig10: Speed of BLDC motor with PI controller

Fig13: Stator Current and Back EMF of Phase A

Fig11: Electromagnetic Torque of BLDC motor

The speed of BLDC motor can be controlled


using proportional integral (PI) controller, PI
controller can regulate the duty cycle hence
control the voltage applied to BLDC motor. Speed
of BLDC motor is directly proportional to applied
voltage. Speed of BLDC motor can be set to
reference speed. Any diversion from this speed Fig14: Speed of BLDC Motor with PID Controller

2693
International Journal of Pure and Applied Mathematics Special Issue

Hence in the present work, a fuzzy system


with two inputs and one outputs are simulated.
The triangular membership has been used for its
simplicity and great performance. Each universe
of discourse has been divided into seven fuzzy
sets such as Negative Big (NB), Negative Medium
(NM), Negative Small (NS), Zero (ZE), Positive
Small (PS), Positive Medium (PM), Positive Big
(PB). A rule base consisting of forty nine fuzzy
rules has been developed based on the pre-defined
membership functions of the two inputs (e is the
error; ce is the change in error). The rule base has
Fig15: Electromagnetic Torque of BLDC motor been included in the Fuzzy Interface System
Editor of the present work by means of the Rule
Editor.

Table 3: Rule matrix

Fig16: Simulation model of BLDC motor wih


fuzzy controller

The Fuzzy Logic Controller has been designed


using the MATLAB Fuzzy Toolbox and the
membership function editor developed is as
shown in Fig.1.10. In the present work, Mamdani
based fuzzy system has been used. For controlling
the speed of BLDCM, error in speed and rate of
change in speed are taken as the input variables:
Fig18: Stator Current and Back EMF of Phase A

Fig17: Membership Function Editor for Fuzzy


Controller
Fig19: Speed of BLDC Motor with Fuzzy
Controller

2694
International Journal of Pure and Applied Mathematics Special Issue

controller; there is some steady state error. PID


response also compared with fuzzy based BLDC
motor response and simulation results show that
motor speed does not drop when load torque is
applied. Hence fuzzy based controller gives high
efficiency. The results show that the dynamic
performance of the motor is quite satisfactory for
various loading conditions.

References
1. Balogh Tibor,Viliam Fedak, Frantisek Durovsky.,
“Modeling and Simulation of the BLDC Motor in
MATLAB GUI”, Proceedings of the IEEE Fifth
Fig20: Electromagnetic Torque of BLDC Motor
International Conference on Fuzzy Systems and
Knowledge Discovery, US, pp. 1403- 1407, 2011.
Parameter\ PI PID Fuzzy 2. J.R.Hendershot and T.J.E.Miller, Design of
Controller Controller Controller Controller brushless Permanent-magnet Motors; Oxford, UK:
Oxford Science, 1994.
Rise Time 14.580 ms 12.288 ms 11.850 ms 3. P.Pillay and R.Krishnan, Modeling, Simulation and
Analysis of Permanent-magnet Motor Drives, part
Overshoot 4.737% No 0.274% II: The brushless DC Motor Drive, IEEE
Transactions on Industry applications,
(%) overshoot vol.25,no.2,march/April 1989.
4. A. K. Wallace and R.Spee, The effects of motor
parameters on the performance of brushless DC
drive, IEEE Transactions on Power Electronics,
Table 4: Comparison of different controller vol.5, no.1, pp.2-8, January 1990.
parameters 5. Grasblum P., “3-phase BLDC motor contents
control with Hall sensors using DSP56F80x,”,
Motorola App Note AN1916/D, 2004.
5 Conclusion 6. Ji Hua, Li Zhiyong, “Simulation of Sensorless
Permanent Magnetic Brushless DC Motor Control
In this paper closed loop speed control of System”, Proc. of the IEEE International
Conference on Automation and Logistics, Qingdao,
BLDC motor drive with PID controller loop is
China, pp. 2847-2851, September 2008.
carried out and it is compared with PI controller 7. Mohd Shahrieel Mohd Aras, Eric Chee Sai Hoo,
fed BLDC drive. Simulation results show that Mohd Hendra bin Hairi, Syed Najib Bin Syed
current ripple and torque ripple are minimized Salim, Intan Azmira binti Wan Abd Razak,
“Comparison of Fuzzy Control Rules using
which enhance the performance of the drive. By MATLAB Toolbox and Simulink for DC Induction
comparing the performances of Permanent- Motor-Speed Control”, 2009 International
magnet brushless dc motor with PI and PID Conference of Soft Computing and Pattern
controller, it is concluded that applying the load Recognition.
8. S. Rajasekaran, G.A. Vijaylakshmi Pai”Neural
torque to the motor with conventional controller, Networks, fuzzy logic, and genetic algorithms
motor speed will be decreased and it should synthesis and applications”, Prentice Hall India,
regain its speed quickly. When load torque of 3 N- Eastern Economy Edition,(2005).
m is applied at 0.1 sec to the motor with PID 9. Trapti Yadav, Deepti yadav, Nidhi Singh”Self
Tuning PID Controller using Fuzzy Inference
controller, motor drop its speed and recovers
Mamdani and Sugeno method on the AVR
speed in very less time as compared to PI System”. International Journal of Applied
controller. Rise time of PID controller is better Engineering Research ISSN: 0973-4562, Volume 8
than PI controller. With PID controller, BLDC No.12, 2013
motor has no steady state error while with PI

2695
2696

You might also like