Sunteți pe pagina 1din 5

Proceedings of 2016 IEEE

International Conference on Mechatronics and Automation


August 7 - 10, Harbin, China

The Fuzzy-PID Control of Brushless DC Motor




Jianli Jing,Yanchun Wang and Yinghui Huang


Departement of Electronic and Electrical Engineering
Bengbu College
Bengbu, China
jingjl98@163.com

Abstract - As the character of brushless DC motor (BLDCM) performance is normally weak ,such as slow response, large
is nonlinear, the classical control method can not obtain satisfied overshoot even oscillation[2].
performance,so the fuzzy control is used to control BLDCM,but The drawback of conventional PID control has resulted
the conventional fuzzy controller has no integral part ,which in the increased demand for intelligent control like fuzzy
performance is similar to Proportional Derivative(PD)
control[3-4], neural network control[5] and adaptive control[6].
controller,so its static control precision cannot be guaranteed. In
this paper, a fuzzy Proportional Integral and Derivative(PID) Among them, the fuzzy control is attractive since it can deal
controller that can ensure static precision is proposed to improve with the system’s nonlinearities effectively and easily.The
the performance of conventional fuzzy controller and is applied to simplicity compared to other intelligent control, insensitivity
the speed control of brushless DC motor. The proposed fuzzy-PID to motor parameter variations and adaptability to various
method employs fuzzy control when the error is big, employs the changes make it suitable for speed control of brushless DC
PID control when the error is small, so it has both the rapid motor. The fuzzy control exhibites outstanding capability of
response of ordinary fuzzy controller and the steady precision of dealing with the dynamic response,but it’s capability is poor in
PID controller.The experiment results show the dynamic and
the static performance,because it has no integral part ,its
static performance of the proposed fuzzy-PID controller are all
excellent,the overshoot is zero,the speed respond is fast and the
ability is similar to Proportional Derivative(PD)controller
static precision is high,better than the conventional PID essentially.
controller and the conventional fuzzy controller in speed control. To improve the ability of fuzzy control,this paper
proposes a compound control,which combines the fuzzy

control with the PID control,named as fuzzy-PID control. The
Index Terms - brushless DC motor;PID control; fuzzy PID
proposed fuzzy-PID method employs fuzzy control when the
control;fuzzy control
error is big, employs the PID control when the error is small,
 so it has the advantages of the two methods.The experiment
results show the dynamic and static performance of the
I. INTRODUCTION proposed fuzzy-PID controller are all excellent,the overshoot
The conventional DC motor accomplishes the is zero,the speed respond is fast and the static precision is
commutation with the help of mechanical commutators and high,better than the conventional PID controller and the
brushes. The coil of the brushless DC motor locates in the conventional fuzzy controller in speed control[7-8].
stator, and the permanent magnet locates in the rotor. The II. Modeling of Brushless DC Motor
brushless DC motor commutates by means of the rotor
position detected by position sensor, so the brushless DC The controlled brushless DC motor consists of a three
motor does not need commutators and brushes. The brushless phase winding stator and a permanent magnet rotorˈit is
DC motor has many merits,such as high efficiency and low operated in two phase conduction mode and its windings are
maintenance, high power density and wide speed range, so it is star connected.The position sensor provides correct
used increasingly in industrial applications and its market is commutation information to the power devices in the inverter
rapidly growing[1]. bridge.
The PID controller is comprised of proportional (P), The BLDCM is modelled in the stationary reference
integral (I) and derivative (D) controller,is most widely frame,the voltage equation is expressed as:
applied in industry control, it can be easily implemented and 

its control result is effective. Vp=ep+R1ip+(LP-M)(dip/dt) (1)



The conventional PID speed controller is sensitive to
system parameters,which can obtain excellent performance where R1,Lp and M denote the resistance, inductance and
only when the controller parameter is matched well with the mutual inductance of stator phase winding respectively, vp,ip
system.However, the brushless DC motor is a nonlinear, and ep denote phase voltage, phase current and back
strongly coupled system, which need to PID controller electromotive force(EMF) of each phase of stator respectively.
parameters is different when the state changes.So, it is difficult The back electromotive force is expressed as

to obtain a excellent dynamic and static performance when
ep=Ken (2)
using the conventional PID controller, which dynamic

978-1-5090-2396-7/16/$31.00 ©2016 IEEE 1440


 which is smaller than 0.007e and can’t be eliminate by fuzzy
Where Ke,n represent EMF coefficient and rotor speed controller.
respectively. B. The Theory of Fuzzy-PID Controller
The electromagnetic torque is expressed as The traditional PID control method has no steady state

error,is easy to implement,so it has been widely applied in
 Te=∑epip/ω   many fields.But the speed control system of brushless DC

motor is a complex nonlinear system, the requirements to the
Where Te,ω represent electromagnetic torque and rotor control parameters change along with the system state, so it is
angular velocity respectively. difficult to meet the whole requirements for the traditional
The equation of motion is expressed as: PID control.The fuzzy controller holds a advantage in

dynamic performance than the traditional PID controller, but it
Te=TL+JƸ(dω/dt) (4) has the steady state error. The fuzzy-PID control combines the

fuzzy control with the the traditional PID control,it takes
where TL is load torque, J is the moment of inertia,and B advantages of excellent dynamic performance of fuzzy control
is the frictional coefficient. and the excellentstatic performance of traditional PID control,
The equation (1)-(4) constitute the mathematical model of so it can obtain a better control effect.
BLDCM.From mathematical model, it can be seen that the
characteristic of BLDCM is very similar to that of the For explaining the theory of fuzzy-PID control,the
conventional DC motor.As conventional DC motor,the speed analysis of process response is needed.Fig. 1 is the step
of BLDCM can be controlled by the control of the stator response of general process, the figure comprises of is divided
voltage,their relationship is linear roughly[9-10]. into two rigons depending on the error,the error is big in
region 1, the error is small in region 2. According to the
III. The Fuzzy-PID Control for BLDCM principle of automatic control,the desired control value is
different in different stages of process.Because the fuzzy
A. The Static Performance Analysis of Fuzzy Controller
control is efficient at controlling complex,nonlinear, time-
For implementing simply and fastly,fuzzy controller often
varying dynamic process and the PID control can eliminate
adopts a two dimensional structure which inputs are error e
static error,so the proposed fuzzy-PID control employs fuzzy
and change in error ec.The function of fuzzy controller is
control in region1and employs the PID control in region 2.
analogous to PD controller,the dynamic characteristic is
The fig.2 shows the theory of fuzzy-PID controller, there
excellent,but static characteristic exists the error,this is
is a switch which selects the control method depending on the
decided by the control method.Now we analyze the way in
result of comparing error |e| to the setting threshold ε,when |e|
which the fuzzy controller handles the input and output
≥ε,the system is considered in the transient state, the fuzzy
variables,the actual input error is transformed into the dot of
controller is employed to improve the system dynamic
fuzzy error domain by next equation.

performance, otherwise, the system is considered in the steady
nk=INT(keek+0.5) (5) state, the PID controller is employed to reduce steady error
 and improve the system static performance.The threshold ε is
Where ke is the scaling factors ,the range of actual input obtained by experiment[11-12].The performance of PID control
error is [-|emax|,|emax|], ek is the actual error at k moment,the relies on the three control parameters,the function of
fuzzy error domain are {-n,-(n-1), …,0, …,n-1,n},INT is proportional parameter is to accelerate speed of response and
rounding operation ,nk is integer in fuzzy error domain scaled decrease the steady state error, the function of integral
from ek. parameter is to eliminate steady state error, the function of
From equation(5),when nk=0,it can be seen derivative parameter is to improve the dynamic performance.


̮keek̮烋0.5 (6)


That is


ɴekɴ烋0.5/ke (7)


According to ke=n/e, so


ɴekɴ烋0.5e/n (8)


In discrete domain,n is 6 usually,so


ɴekɴ烋0.5e/6 (9) Fig. 1 The step response of general process


From above equation,it can be seen that there is error

1441
1% 10 16 =2 36 30 3%



            
Fig. 2 The functional block diagram of fuzzy-PID controller for BLDCM Fig.3 The membership function and discourse domain of language variables

TABLE I
C. The Fuzzy Controller Design THE FUZZY CONTROL RULE TABLE
The fuzzy controller has obtained an outstanding success e
in a wide range of industrial applications, especially in ec
uncertain, nonlinear,or imprecise system, it is suitable for NB NM NS ZO PS PM PB
controlling the speed of the brushless DC motor.In the system, NB PB PB PM PM PS PS ZO
the fuzzy controller implements speed control of BLDCM
using voltage and current double closed loop,which provides a NM PB PM PM PS PS ZO NS
nonlinear mapping of the speed error to voltage the BLDCM NS PM PM PS PS ZO NS NS
desired. The fuzzy controller consists of fuzzification,
defuzzification, rule base and inference engine[13-14]. The ZO PM PS PS ZO NS NS NM
fuzzifier maps the true input value to a fuzzy set with a degree PS PS PS ZO NS NS NM NM
of definiteness, The fuzzy rule base states the performance
PM PS ZO NS NS NM NM NB
mechanism of the fuzzy system, the inference engine offers
essentialdecision-making logic to the system, defuzzifier PB ZO NS NS NM NM NB NB
converts an output fuzzy set to a single nonfuzzy output that is
the control signal of the system.
The error e and change in error ec are chosen as inputs of
the fuzzy controller, reference voltage of voltage loop is IV. EXPERIMENT RESULT
chosen as output. The input and output variables are scaled To verify the performance of the fuzzy-PID controller, the
into the integer discourse domain range of [-6,6].The discourse speed control system for BLDCM is constructed,which is
domain of input and output variables are all divided into seven based on the TMS320LF2407 type DSP,the program can be
membership functions: negative big (NB), negative medium conveniently modified.The brushless DC motor is fed by a
(NM), negative small (NS), zero (ZO), positive small (PS), three-phase full-bridge inverter, The fig.4 shows the full-
positive medium (PM) and positive big (PB). The membership bridge driving circuit of BLDCM. The parameters of BLDCM
functions of input and output are all isosceles triangles with are: PN=40W,UN=36V,IN=1.3A, nN=1500r/min. For
some overlap, the membership function and discourse domain comparison, the speed control system is operated in
of input and output language variables is shown in fig.3. conventional PID,fuzzy and fuzzy-PID control separately, the
The control rule tells the system how to do in experimental results are shown in Fig. 5-7 correspondingly.
representative circumstances, different from the ordinary From Fig. 5-7, it can be seen that the proposed controller is
automatic control method which requires a specific system precede to the conventional PID controller and the
model,which is the core part of a fuzzy controller design and conventional fuzzy controller in speed control, which reduces
is acquired from the character of the system dynamic response the rise time in comparison with the conventional PID
and expert’s experience. The chosen control rule is listed in controller, reduces settling time and speed fluctuation in
Table 1,which is made in consideration of Mamdani control comparison with the fuzzy controller.
rule and fast response. The fuzzy inference uses Mamdani
min–max inference method, the defuzzification uses the
weighted average method.

1442
Fig.4 The full-bridge driving circuit of BLDCM

Fig.7 The speed step response in fuzzy-PID control

V. CONCLUSION
In this paper, a fuzzy-PID controller is proposed which
combines the fuzzy controller with the conventional PID
controller and has the advantages of two methods. The
experiment results show the dynamic and static performance of
the proposed fuzzy-PID controller are all excellent,the
overshoot is zero,the speed respond is fast and the static
precision is high, precede to the conventional PID controller
and the conventional fuzzy controller in speed control.
ACKNOWLEDGMENT
Fig.5 The speed step response in conventional PID control
The study was supported by major natural science
research project of Education Department of Anhui province
(KJ2016A452), natural science research project of
Education Department of Anhui province(KJ2012Z240), and
Bengbu College teaching research project (JYLY1212).
REFERENCE
[1] Moseler O.,and Isermann R., “Application of model-based fault
detection to a brushless DC motor,” IEEE Transactions on Industrial
Electronics, vol. 47, no. 5, pp. 1015-1020, October 2000.
[2] Rajinikanth V.,and Latha K., “Bacterial foraging optimization algorithm
based pid controller tuning for time delayed unstable systems,”
Mediterranean Journal of Measurement and Control, vol. 7, no. 1, pp.
197-203, January 2011.
[3] Li Guang-Jun,Jin Wei-Dong,and Chen Chun-Jun,“Variable universe
fuzzy control of train lateral semi-active suspension systeml,” Optics
and Precision Engineering, vol.21, no. 12,pp. 3298-3307, December
2013.
[4] Zhi Chang-Yi,Wang Rui-Ling,Tang Dao-Kui,and Liu Run-Tian, “Study
on fuzzy self-adaptive PID control strategy for brushless DC motor,”
Power System Protection and Control, vol.38, no. 8, pp. 35-37,42,
August 2010.
Fig.6 The speed step response in fuzzy control [5] Wen Y.,and Ren X., “Neural networks-based adaptive control for
nonlinear time-varying delays systems with unknown controldirection,”
IEEE Transactions on Neural Networks, vol.22, no. 10,pp. 1599-1612,
October 2011.
[6] Liu Y.,Zhao J.,Xia M.,and Luo H., “Model reference adaptive control-
based speed control of brushless DC motors with low-resolution hall-

1443
effect sensors,” IEEE Transactions on Power Electronics,vol.29, no. [12] Zhang Dai-lin,Chen You-ping,Ai Wu,and Zhou Zu-de,“A precision
3,pp. 1514-1522,March 2014. fuzzy control method of permanent megnetic linear motors,”
[7] Jie Hai-bao,Kang Ji-tao,and Li Ping, “Fuzzy PID controller based on TRANSACTIONS OF CHINA ELECTROTECHNICAL
variable universe for excitation system,” Electric Power Automation SOCIETY,vol.22, no. 4,pp.64-68,April2007.
Equipment,vol.31, no.6, pp. 101-104,June 2011. [13] S.-Y. Wang,C.-L. Tseng and S.-C. Chien, “Adaptive fuzzy cerebellar
[8] Ahmadreza Ahmadi, Herlina Abdul Rahim and Ruzairi Abdul Rahim, model articulation control for switched reluctance motor drive,” IET
“Optimization of a self-tuning PID type fuzzy controller and a PID Electric Power Applications, vol.6, no. 3, pp. 190-202,March 2012.
controller for an inverted pendulum,”Journal of Intelligent & Fuzzy [14] Rehman, H., “Fuzzy logic enhanced robust torque controlled induction
Systems, vol.26, no. 4, pp. 1987–1999, August 2014. motor drive system,”IEE Proceedings on Control Theory & Applications,
[9] Shi J. and Li T.-C., “New method to eliminate commutation torque vol.151, no. 6, pp. 754-762,November 2004.
ripple of brushless DC motor with minimum commutation time,” IEEE
Transactions on Industrial Electronics, vol.60, no. 6, pp. 2139-
2146,June 2013.
[10] Jiancheng Fang, Xinxiu Zhou, and Gang Liu, “Instantaneous torque
control of small inductance brushless DC motor,” IEEE Transactions on
Power Electronics, vol.27, no. 12, pp. 4952-4964,December 2012.
[11] Choi, H.ˈand Kim Y. ,“Implementation of evolutionary fuzzy PID
speed controller for PM synchronous motor,” IEEE Transactions on
Industrial Informatics,vol.11, no. 2,pp. 540-547, April 2015.

1444

S-ar putea să vă placă și