A Study of Sensorless Commutation Methods for Brushless DC Motors
A Study of Sensorless Commutation Methods for Brushless DC Motors
by
Jiahao Kou
Master of Science
in
Energy Systems
ii
Acknowledgements
I would like to thank my supervisor, Dr. Alan Lynch, for his guidance and
support throughout my master program. I would also like to thank the mem-
bers of my thesis committee, Dr. Qing Zhao and Dr. Yunwei Li, for reviewing
my thesis and giving me valuable comments.
I would like to thank my colleagues in the Applied Nonlinear Controls Lab
(ANCL): Ning Cao, Hui Xie and Lianfeng Hou for their help in my courses
and research works.
My sincere gratitude is dedicated to my parents, my brother, and my girl-
friend Hui for their love, support and encouragement during my life at Uni-
versity of Alberta.
iii
Table of Contents
1 Introduction 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Conventional Control Method Using Hall-effect Sensors . . . . 2
1.3 Sensorless Control Methods for BLDC Motors . . . . . . . . . 4
1.3.1 Terminal Voltage Sensing method . . . . . . . . . . . . 4
1.3.2 Freewheeling Diode Conducting State Detection method 5
1.3.3 Third Harmonic Component Integration method . . . . 6
1.3.4 Back-EMF Integration Method . . . . . . . . . . . . . 7
1.3.5 Optimization . . . . . . . . . . . . . . . . . . . . . . . 8
1.3.6 Observer Based Methods . . . . . . . . . . . . . . . . . 11
1.4 Summary of Contributions . . . . . . . . . . . . . . . . . . . . 13
1.5 Thesis Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
v
5.2 Sensorless Commutation Method Based on Disturbance Observer 60
5.3 Design of the Disturbance Observer . . . . . . . . . . . . . . . 63
5.4 Phase Delay Compensation . . . . . . . . . . . . . . . . . . . 66
5.5 Proposed Sensorless Drive . . . . . . . . . . . . . . . . . . . . 70
5.6 Experimental Results . . . . . . . . . . . . . . . . . . . . . . . 70
5.6.1 Experiment Results at 600 rpm . . . . . . . . . . . . . 71
5.6.2 Experiment Results at 1000 rpm . . . . . . . . . . . . 72
5.6.3 Phase Delay Compensation . . . . . . . . . . . . . . . 72
5.7 Comparison with the Sensorless Drive based on Line Voltage
Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
5.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6 Conclusions 79
6.1 Summary of Research . . . . . . . . . . . . . . . . . . . . . . . 79
6.2 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Bibliography 80
vi
List of Figures
viii
5.18 Speed response at 1500 rpm during loading transient . . . . . . 78
ix
List of Tables
Introduction
1.1 Background
In [30], it mentions that BLDC motors are better than induction motors and
brushed DC motors in many areas. Firstly, BLDC motors are smaller in size,
and have higher efficiency because of no losses in the rotor. Secondly, due to
the elimination of brushes, BLDC motors have better high speed capability,
and they do not need any brush maintenance. Thirdly, BLDC motors have a
faster response and a lower radio frequency interference (RFI). Also, BLDC
motors are designed with internal shaft position feedback, so that they have
higher starting torque compared with AC induction motors. Lastly, compared
to induction motors, BLDC motors have much better controllability because
of their linear speed torque characteristics.
The world market growth for electric motors in automotive applications
is shown in Figure 1.1, derived from the IMS research. As for global issues
like fuel shortage and global warming, the market for electric vehicles and
hybrid vehicles will continue to increase in the next few decades. With the
development of electrically-driven automotive systems, the demand for electric
motors is expected to grow, especially for BLDC motor shipments, which are
predicted to grow at twice the rate of other motor types.
BLDC motors have been applied in many other areas. For example, in the
Heating, ventilation and air conditioning (HVAC) and refrigeration industries,
BLDC motors have been applied to reduce the operating power requirements
instead of various types of AC motors. For medical applications, BLDC mo-
1
10
Stepper
DC Brushed
9 DC Brushless
8
Motor shipments growth (%)
7
1
2012 2013 2014 2015 2016 2017
Year
Figure 1.1: World market growth for electric motors in automotive applications
tors, previously not an option, are now surging due to improvements in effi-
ciency and reliability. BLDC motors are also applied to industrial robots and
aerospace areas. BLDC motors are taking center stages and will be the future
trend, which will drive the growth in the BLDC motor market.
Since BLDC motors play a more and more important role in modern so-
ciety, it is of great value for us to research on BLDC motor drive systems to
make them better for applications in various areas.
2
2
1
Hall A
0
−1
0.6 0.61 0.62 0.63 0.64 0.65 0.66
time (s)
2
1
Hall B
0
−1
0.6 0.61 0.62 0.63 0.64 0.65 0.66
time (s)
2
1
Hall C
0
−1
0.6 0.61 0.62 0.63 0.64 0.65 0.66
time (s)
so Hall-effect sensors are often used, which can reduce the costs [19].
BLDC motors are controlled electronically instead of using mechanical
commutation. Hall-effect sensors can be mounted in one of three locations
inside the motor to measure the motor’s positions. When permanent mag-
netic north or south poles pass near the Hall-effect sensors, the Hall-effect
sensors will generate low or high signals accordingly. Figure 1.2 shows a simu-
lation result of the outputs of Hall-effect sensors at a speed of 700 rpm. Based
on the output signals sent from three Hall-effect sensors, the current state can
be determined and currents will be applied to corresponding motor coils.
However, the control method based on hall sensors has some drawbacks.
High temperature will affect the performance of hall sensors thereby limiting
their application areas. The cost and weight of motors will also increase and
extra mechanical arrangement need to be mounted [6]. To increase system
reliability and reduce system cost, sensorless control of BLDC motors has
attracted wide attentions.
3
1.3 Sensorless Control Methods for BLDC Mo-
tors
If a PM motor drive only needs electrical measurements without any require-
ments for a position sensor, it is called a sensorless drive [2]. There are many
kinds of sensorless drives for BLDC motors. Among them, back electromotive
force (back-EMF) based methods are the most commonly used category.
Conventional back-EMF based methods utilize the terminal voltage in the
floating phase [20][19][13], detection of the conducting state of freewheeling
diode in the floating phase [31][6], third harmonic components of back-EMF
waveforms [9] and integration of the floating phase back-EMF [1].
However, back-EMFs values are zero at standstill, and it is difficult to
detect the zero-crossing points from noises if the motor speed is low, so the
low speed performance is limited. For methods based on back-EMFs, a starting
procedure is normally required to speed up BLDC motors to a relatively higher
speed, and then motors can be controlled by sensorless drives [8].
4
voltage in the floating phase to get the zero-crossing points.
However, the virtual neutral point voltage contains lots of electrical noises
because the pulse width modulation (PWM) technique is normally applied to
drive the inverter. Another approach is to compare terminal voltages with half
of the DC link voltage to get back-EMFs zero-crossing points [19]. Work in
[28] mentioned that the measurements do not contain any noises if sampling
during PWM on time.
Low pass filters are normally applied to attenuate the high frequency har-
monics components in terminal voltages introduced by PWM. However, low
pass filters will cause a time delay which becomes more obvious when a BLDC
motor runs at high speeds range. With no phase compensation, the time delay
will restrict the suitable high speed range of BLDC motors. Because the back-
EMF magnitude is in proportion to the motor speed, it is unable to detect
back-EMFs at standstill and low speed, which is another drawback of termi-
nal voltage sensing method [8]. Therefore, conventional open-loop starting
method will be applied to speed up a BLDC motor from standstill.
5
as.
Because the conducting of the freewheeling diodes relies on back-EMFs
value, detection of the rotor position at low speeds is hard to realize, so a
starting process is applied [8]. The main drawback of this method is that for
detection of current flowing in each freewheeling diode, a separate power supply
for the comparator circuit is required [6]. These additional requirements will
limit this method in real applications.
where Vresult is the summation result of the three terminal voltages, Van , Vbn
and Vcn are the phase voltages with respect to the motor neutral voltage, R
is the phase stator resistance, L is the phase stator inductance, ea , eb and ec
are the phase back-EMFs, ia , ib and ic are the phase currents, e3 is the third
harmonic component of back-EMF waveforms and θr is the electrical angle.
Because during each state, the sum of three phase currents (ia + ib + ic )
is equal to zero. Vresult is dominated by the third harmonic component and
contains only third-order harmonics (3rd, 6th, 9th). After integrating Vresult ,
the third harmonic flux linkage can be obtained as:
Z
λ = Vresult dt (1.3)
6
of this technique is that Vresult does not contain the switching noises caused by
PWM signals. In comparison with other sensorless control methods which need
a low pass filter, this method requires less filtering [20]. Due to insensitivity to
filtering delay, this method can work over a wider speed range. Theoretically,
this sensorless commutation method is suitable for a wide speed range and it
can work at various load conditions. Its performance at lower speeds is also
better because third harmonics can be detected even when the speed is low.
θ (degree)
Commutation
Signal
e(t) (V)
low speed
mid speed
high speed
time (s)
When Vint reaches the predefined threshold, the integration value will be
set to zero by a triggered reset signal. To ensure the integration process won’t
restart before the small current in the floating phase decays to 0, the reset
signal should be sustained for a predefined time [8].
However, the back-EMF integration based method has poor performance
at low speeds because the integration process will cause errors in estimating
the commutation instants when the back-EMF value is small [20].
1.3.5 Optimization
PWM Techniques
8
components in terminal voltages introduced by PWM. The low pass filter
will cause time delay which limits high speed performance, if no phase delay
compensation method is applied. However, PWM strategies can eliminate the
requirements for low pass filters and work well over a wide speed range [24].
For conventional PWM methods, one upper transistor in one phase and
one lower transistor in another phase are conducting at the same time. The
remaining phase is the floating phase [31].This approach will increase power
losses in the motor side because of the high harmonic components [25].
Work in [36] proposed a direct back-EMF detection method based on the
PWM strategy. The direct back-EMF detection method eliminates the need
for virtual neutral voltage. In this method, PWM only applies to upper tran-
sistors, and lower transistors will be left on. Considering the condition that
phase A and B are conducting current, PWM is applied to the upper transistor
of phase A and the lower transistor of phase C is on. During PWM off time,
the current flowing direction is shown in Figure 1.5 [36]. The terminal voltage
of phase C is:
3
Vcn = ec + Vn = ec (1.5)
2
where Vcn is the terminal voltage of phase C, Vn is the neutral voltage and ec
is the back-EMF of phase C.
From the equation above, we can see that Vcn is proportional to ec through-
out the PWM off time. The terminal voltage is free of switching noises and is
referenced to ground, so the requirement for the motor neutral point voltage
is eliminated [8].
Work in [35] proposed an improved method which can detect back-EMFs
during PWM on time. For the method mentioned in [36], a minimum PWM
off time required to detect back-EMFs, so the maximum duty cycle of this
method cannot reach 100% which is desired for some applications in which
low battery voltages are applied. To optimize motor operation, back-EMFs
are detected during PWM off time when a motor operates in startup and at
low-speed conditions. Then back-EMFs are detected during PWM on time
when a motor operates in high speed conditions.
9
VDC
Va R L ea
Vn
L
Vb R eb
ec
Vc L
R
GND
Another category is based on terminal line to line voltages rather than using
the terminal voltage in the floating phase. In this category, the requirement
for the motor neutral voltage can be eliminated.
Based on the work in [4], we can directly get the commutation instants
from the average terminal line to line voltages of BLDC motors. The average
line to line voltages are in phase with the Hall-effect sensors, so that can be
used directly without the need of a phase shift. Also, it does not need the
motor neutral voltage compared with the conventional method.
10
Line voltage differences can also be applied to estimate back-EMF zero-
crossing points. Line voltage differences have the same zero-crossing points
as the back-EMFs [6]. As line voltages are applied, we can eliminate the
requirement for the motor neutral voltage.
The commutation points of BLDC motor currents are identical to the zero-
crossing points of line to line back-EMFs, so line to line back-EMFs are applied
directly to estimate BLDC motor commutation points without any phase shifts
[39]. Work in [26] proposed a novel commutation function based on calculated
line to line back-EMFs to estimate commutation instants. Commutation in-
stants occur when the commutation function changes from positive infinity to
negative infinity or from negative infinity to positive infinity. Work in [19]
proposed a method which uses a circuit constituting a differential amplifier
and a comparator to detect zero-crossing points of line to line back-EMFs.
11
Sliding mode observer is designed based on dynamic equations of BLDC
motors to estimate back-EMF values, rotor positions and the motor speed. For
conventional methods, a fixed sliding mode observer gain is used to estimate
back-EMF values which only suits a particular range of speed. The fixed
observer gain will produce multiple zero-crossings when the motor speed is
low. Also, it will cause a phase delay in many cases. An improvement has
been made to modify the observer gains according to the motor speed, so the
estimated back-EMF values are more accurate [7].
Back-EMF differences signals can also be estimated by observers. Work
in [22] proposed a new sensorless control method which utilizes an unknown
input observer. The unknown input observer is independent of the rotor speed
and can be used to estimate back-EMF differences. As shown in table 1.1, the
estimated back-EMF differences are used in the commutation functions to get
commutation instants.
12
1.4 Summary of Contributions
This thesis implements and verifies two sensorless control methods based on
line voltage differences and the disturbance observer respectively. Instead of
sampling terminal voltages during PWM on time to avoid noises [6], this the-
sis uses a simpler method in which low pass filters are applied to filter out
the high frequency harmonics components introduced by PWM. Compensa-
tion methods are included in the sensorless drives to compensate the phase
delay introduced by the low pass filters, which will guarantee the high speeds
operation of the BLDC motors. Also, the robustness of the sensorless control
methods during loading transient is demonstrated by simulation results.
13
experimental environment under different speed conditions.
Chapter 5 introduces another six-step sensorless control method based on
the disturbance observer. The disturbance observer is applied to estimate
back-EMF differences. The Simulink simulation results show that the zero-
crossing points of the back-EMF differences are identical to the BLDC motor
commutation instants. A different phase delay compensation method is ap-
plied to compensate for the time delay caused by the disturbance observer
structure. The sensorless control method is further verified in the experimen-
tal environment. Finally, we make a comparison of these two sensorless drives.
Chapter 6 summarizes the thesis and makes discussions on possible future
research directions.
14
Chapter 2
2.1 Introduction
In this chapter, we will make an introduction to the fundamentals of the
BLDC motor mainly based on the theories in these three references [10][23][40].
Based on the back-EMF waveform shapes, (i.e., sinusoidal and trapezoidal),
the permanent magnet synchronous machines can be classified into two differ-
ent types. The trapezoidal type is called the BLDC motor and the sinusoidal
type named the PMSM.
Figure 2.1 [23] shows waveforms of BLDC motors. For one electrical cycle
of a BLDC motor, it contains six states. During each state, two phases are
conducting and each phase will be excited for 120◦ . The induced back-EMFs
are in the trapezoidal shape, and the constant magnitude remains for 120◦ .
During the change states (from maximum to minimum, or from minimum to
maximum), the induced back-EMFs vary linearly.
15
ea
30 150
210 330
eb
270
90
ec
ia
ib
ic
Te
θr (degree)
16
m
ent
ion
edabo
ve,BLDC m
oto
rsa
resyn
chr
onou
sma
chin
es,wh
ich m
ean
sth
at
th
est
ato
randth
ero
torg
ene
rat
ema
gne
ticfi
eld
softh
esam
efr
equ
ency[
40]
.
S
tat
or
N S
R
oto
r S N
F
igu
re2
.2:F
und
amen
talBLDC m
oto
rst
ruc
tur
e
A
smen
tion
edin[2
7],th
ewind
ing
sdi
str
ibu
tioni
sdiff
eren
tfr
omth
ato
fan
indu
cti
on m
oto
r.T
oin
cre
aseeffi
cien
cyandt
orqu
e, BLDC m
oto
rsn
orm
ally
u
ses
tarc
onn
ect
eds
tat
orw
ind
ing
s.F
ore
achw
ind
ing
,itc
ons
ist
sofnum
erou
s
o
fco
il
s,wh
icha
rein
ter
conn
ect
edw
ithe
acho
the
r. Th
est
ato
rcanb
esl
ott
ed
o
rsl
otl
ess
. Th
esl
otl
esss
tat
orh
asal
owe
rindu
ctan
ce,s
oth
eBLDC m
oto
ris
ab
let
oruna
thi
ghe
rsp
eed
s.
P
erm
anen
tma
gne
tst
ypi
cal
lyf
ormth
ero
toro
faBLDC m
oto
r.D
iffe
ren
t
BLDC m
oto
rsm
ayh
avev
ari
ousnumb
ero
fpo
lep
air
s.In
cre
asin
gth
enumb
er
o
fpo
lep
air
swi
llin
cre
aseth
emo
tort
orqu
e,bu
tth
isw
il
llim
itth
emax
imum
po
ssib
lesp
eed[1
4].
Th
ema
ter
ialu
sedf
orth
econ
stru
cti
ono
fpe
rman
entm
agn
etsw
il
lal
so
aff
ectth
emax
imumt
orqu
eofBLDC m
oto
rsa
sde
scr
ibedin[
40]
.Tr
adi
tion
-
a
lly
,Fe
rri
tem
agn
etsa
reth
ema
ter
ialu
sedf
orp
erm
anen
tma
gne
tsb
ecau
seo
f
th
eirl
owp
ric
e.F
err
item
agn
etsh
avel
owfluxd
ens
ityf
orag
ivenv
olum
e,and
th
isd
isadv
ant
agew
il
llim
itth
emax
imumt
orqu
e.N
owad
ays
,ra
ree
artha
llo
y
m
agn
ets(
e.g
.,S
ama
riumC
oba
lt
,Ne
odym
iumandth
eal
loyo
fNe
odym
ium
,
F
err
iteandB
oron
)ar
ebe
com
ingm
orepopu
larb
ecau
seo
fth
eirh
igh
erm
ag-
n
eti
cden
sit
y,and m
oto
rsu
sin
gth
esea
llo
yma
gne
tsh
aveasm
all
ers
izewh
en
1
7
c
omp
arin
gwi
th m
oto
rso
fsam
ewe
igh
tus
ingf
err
item
agn
ets
.
S
tat
or
N S
R
oto
r S N
F
igu
re2
.3: ABLDC m
oto
rwi
thth
efluxp
ath
s
2
.3 Magne
tic C
ircu
it Mode
l
Th
iss
ect
ionm
ake
sanin
trodu
cti
ont
oth
ema
gne
ticc
ircu
itm
ode
lofth
eBLDC
m
oto
rba
sedonth
ere
fer
enc
e[1
0].F
igu
re2
.3[
10]sh
owstw
otyp
eso
ffluxp
ath
s.
On
ema
gne
tfluxs
tar
tsf
romth
eno
rthpo
le
,andth
eni
tcr
oss
esth
eai
rgap
.
Wh
enth
ema
gne
tfluxr
each
esth
est
ato
r,i
twi
llb
esep
ara
tedin
totw
opa
rts
.
Th
ene
acho
fth
esep
ara
ted m
agn
etfluxw
il
lcr
ossth
eai
rgapa
gainandt
rav
el
t
owa
rdsth
ead
jac
enttw
osou
thpo
les
.
Inadd
it
iont
oth
ema
gne
tfluxp
ath m
ent
ion
edabo
ve,s
omem
agn
etflux
w
il
lno
tcr
ossth
eai
rgapt
oth
est
ato
r,andi
twi
lld
ire
ctlyt
rav
elt
owa
rdsth
e
ad
jac
entm
agn
etpo
lein
ste
ada
ssh
owninF
igu
r .
e23[
10]
. Th
isk
indo
ffluxi
s
c
all
edth
ema
gne
tle
aka
geflux
.
W
ecan m
ode
lon
ead
jac
entpo
lep
aira
ssh
owninF
igu
re 2
.4[
10]
. Th
e
m
agn
etpo
lesi
srep
res
ent
edb
yafluxs
our
ce φr w
ithi
tsm
agn
etr
elu
ctan
ce
Rm. Th
emod
el
ingp
aram
ete
rsa
resh
owninT
abl
e2.
1.
Th
ele
aka
geflux φli
sve
rysm
all wh
ichc
anb
eign
ored
.Rr andRs a
re
sm
allwh
enc
omp
arin
gwi
thRg.Rr andRs c
anb
etr
eat
eda
sasm
allp
arto
f
1
8
Name Description Name Description
φr flux source Rm flux source reluctance
Rg air gap reluctance Rl leakage reluctance
Rr rotor steel reluctance Rs stator steel reluctance
φg air gap flux φl leakage flux
φ magnet flux
φg
Rg Rs Rg
φl
φ Rl
N S
φr Rm Rm φr
S N
Rr
Rr + Rs + 2Rg = 2Kr Rg
19
N
φr 2Rm 2Kr Rg
φ = φ1 + φm
Ni
φ1 =
R + Rm
Rm φr
φm =
R + Rm
where R is the reluctance seen from the stator coil, N is the winding turns, i
is the current flowing in the winding.
The flux linkage λ is:
λ = Li + N φm
Ni Rm φr
20
2.4 Modeling of a BLDC Motor
The BLDC motor modeling is based on the reference [23]. For the three stator
windings of a BLDC motor, the electrical relationships can be represented with
the equation below:
Van R 0 0 ia Laa Lab Lac ia ea
Vbn = 0 R 0 ib + d Lba Lbb Lbc ib + eb (2.1)
dt
Vcn 0 0 R ic Lca Lcb Lcc ic ec
where Van , Vbn and Vcn are the phase voltages referenced to the motor neutral
voltage, ia , ib and ic are the phase currents, ea , eb and ec are the phase back-
EMFs, R is the phase stator resistance which is same for three phases, Laa ,
Lbb and Lcc are the self-inductances, Lab , Lba , Lac , Lca , Lbc and Lcb are the
mutual inductances.
If three phases are symmetric and the rotor reluctance is identical with
the change of electrical angle, the three self-inductances are same and the six
mutual inductances are equal to each other as:
L = Ls − M (2.4)
ia + i b + ic = 0 (2.5)
Then the electrical relationships can be simplified and the BLDC motor can
be modeled as:
Van 1 0 0 ia L 0 0 ia ea
Vbn = R 0 1 0 ib + d 0 L 0 ib + eb (2.6)
dt
Vcn 0 0 1 ic 0 0 L ic ec
21
2.5 Equivalent Circuit for a BLDC Motor
For a three-phase BLDC motor, the electrical circuit model can be shown
in Figure 2.7. In this circuit, R represents the resistance component of the
stator winding and L represents the inductive component of the stator phase
winding.
+ a
ea
eb n
L
ec
R L
+ R c
b +
ea , eb and ec are the phase back-EMFs. Because the resistance and in-
ductance are very small for the BLDC motor, the phase currents need to be
limited during starting up. Normally, PWM technique is applied for BLDC
motor control, and a small duty cycle is set during starting up.
2.6 Back-EMF
This section introduces the back-EMF of a BLDC motor based on the reference
[23]. When starting the BLDC motor, stator coils will be energized and a
torque will be generated on the rotor. Then the rotor will begin to rotate
and the flux linkage in the stator coils will vary depending on permanent
magnets locations. According to Faraday’s law of induction, a voltage will
be induced across the stator windings due to the varying flux linkage. This
induced voltage is referenced to back-EMF. The polarity of voltage induced is
22
governed by Lenz’s law. That is, the back-EMF will always try to keep the
flux linkage from changing its present value.
For BLDC motors, the back-EMFs are in trapezoidal shape. The peak
value of the back-EMFs is Ep which can be calculated as:
Ep = K e ω (2.7)
where B is the flux density, N represents the conductors number per phase, l
is the conductor length, r is the air gap radius between the motor rotor and
stator.
From the equations above, the peak value of the back-EMFs depends
mainly on ω, B and N . Once the motor is designed, the back-EMF con-
stant Ke remains the same. The peak value of the back-EMFs is proportional
to the mechanical speed of the rotor.
The instantaneous back-EMFs can be written as:
ea = fa (θr ) Ke ω (2.9)
eb = fb (θr ) Ke ω (2.10)
ec = fc (θr ) Ke ω (2.11)
23
that stores energy. When phase currents flow through back-EMF sources, the
instantaneous power Pinstant absorbed by sources can be derived as:
Pinstant = ea ia + eb ib + ec ic (2.12)
1
Te = [ea ia + eb ib + ec ic ] (2.13)
ω
where Ipd is the peak value of the phase current, Kt is the torque constant and
its units are Nm/A. Once the motor is designed, Kt is a constant. As a result,
the electromagnetic torque is directly proportional to the stator currents of a
BLDC motor.
Ke and Kt are numerically equal. The units for back-EMF constant Ke
and the torque constant Kt are equivalent if they are all in SI units as shown
in the equation below:
dω
J + Bω = (Te − T1 ) (2.16)
dt
24
and the relationship between the motor synchronous speed and the rotor po-
sition can be expressed as:
dθr p
= ω (2.17)
dt 2
where p is the rotor poles number, ω is the mechanical speed of the motor in
rad/s, θr is the rotor position in rad.
At the moment a BLDC motor starts, there is no back-EMF, and the
stator current will produce maximum electromagnetic torque on the motor
rotor. The motor will speed up, and the peak values of back-EMFs will also
increase proportionally. During this process, the stator currents will decrease,
and the motor speed will become stable finally.
Ipm
Im = √ (2.18)
2
r
2
Id = Ipd (2.19)
3
where Ipm and Ipd are the peak values of the stator currents in PMSMs and
BLDC motors, respectively. Im is the rms value of the stator current in
PMSMs, and Id is the rms value of the stator current in BLDC motors.
From the equations above, we can see that BLDC motors have a smaller
rms value than that of the sinusoidal PMSMs if their stator currents have the
same peak value. Assuming that PMSMs and BLDC motors have the same
ohmic losses, the relationship can be derived as:
2
3Im R = 3Id2 R (2.20)
where R is the phase stator resistance which is the same for all three phases.
25
Based on the analysis above, the relationship between the peak value of
PMSMs and BLDC motors currents can be derived as:
√
3
Ipd = Ipm (2.21)
2
From the current waveforms of a BLDC motor, we can see that only two of
the three phases are conducting at the same time. Consequently, the output
power of a BLDC motor is contributed by only two phases. For a PMSM, all
three phases have currents and contribute to output power. Assuming that
PMSMs and BLDC motors back-EMFs have the same peak value Ep , the ratio
of a BLDC motor and a PMSM output power can be calculated as:
Based on the analysis above, If PMSMs and BLDC motors have same
ohmic losses, the output power of BLDC motors will be 15.4 % higher than
that of PMSMs. For BLDC motors, only two phases are conducting currents
at the same time, so the duty cycle of the phase currents is smaller than that
of PMSMs. The power losses are smaller in BLDC motors, and the inverter
thermal reliability is also better. Although, the currents of BLDC motors
and PMSMs both have variable frequencies, the rectangular phase currents of
BLDC motors have lower control complexity compared with PMSMs.
The torque ripples of BLDC motors are higher than PMSMs. During the
finite current transition time, torque ripples are created at each commutation
point. Torque ripples will be created whenever currents or back-EMF wave-
forms are not ideal. For low-performance applications, the torque ripples are
rarely significant. However, torque ripples are hard to eliminate and this will
limit the use of BLDC motors in applications where minimum torque ripples
are required. Knowing how to minimize torque ripples is very important for
high-performance applications.
26
2.10 Summary
In this chapter, we make an introduction to the BLDC motor structure, the
magnetic circuit model and the electrical model of a BLDC motor. Back-EMF
and electromagnetic toque concepts are also introduced. Finally a comparison
is made between PMSMs and BLDC motors. BLDC motors have a higher
output power but with larger torque ripples.
27
Chapter 3
Experimental Environment
In this thesis, all the experiment work is based on the DRV8312-C2 kit, which
is developed by Texas Instruments. This kit is a Medium Voltage Digital
Motor Control (DMC) kit. In this chapter, an introduction will be made to
the hardware details and the development environment.
28
DRV
831
2Di
git
alM
oto
rCon
tro
lBo
ard
DCBu
s
T1 T3 T5
PWMS
ign
als BLDC m
oto
r
H
allS
ign
als
T2 T4 T6 V
olt
a g
e
S
ensing
GND
Cur
ren
t
Sen
sin
g
I
DC I
a I
b I
c Va Vb Vc
ADC CAP
ePWM CPU
P
icc
oloF
280
35ISOc
ont
rolCARD
F
igu
re3
.1:D
iag
ramo
fth
eDRV
831
2Di
git
alM
oto
rCon
tro
lKi
t
F
igu
re3
.2: DRV
831
2Di
git
alM
oto
rCon
tro
l(DMC
)bo
ard
2
9
3.2 Piccolo F28035 ISO controlCARD
The Piccolo F28035 ISO controlCARD is the evaluation board for the F28035
C2000 controller. As shown in Figure 3.1, this controlCARD includes the
key peripherals like Analog-to-Digital converter (ADC), Enhanced pulse width
modulator (ePWM), CAP and GPIOs. The CAP peripheral is applied to read
the Hall-effect sensor signals. These peripherals signals communication is via
the controlCARD pins. Figure 3.3 shows the picture of Piccolo F28035 ISO
controlCARD.
30
For the BLDC motor control, three ePWM modules are needed to generate
six PWM signals for the three-phase inverter.
In this thesis, one high side transistor is switched on and off according to
the control signals, and one low side transistor is left on. This mode is able to
reduce the switching losses and torque ripples.
3.3.1 DRV8312
Because the BLDC motor is not self-commutated, the stator coils will be
energized in a predefined order to make the rotor rotate. The stator coils
needs to be powered by the external device. For a three-phase BLDC motor,
normally a three-phase inverter is used to power the stator coils. Figure 3.1
shows the diagram of the inverter. The Piccolo F28035 controlCARD will send
PWM control signals to the three-phase inverter.
DRV8312 is a three-phase BLDC motor driver in the Texas Instrument
DRV83x2 driver family. The DRV8312 is able to be applied in the energy-
efficient areas, because it has high energy efficiency which can reach maximum
97 %. In order to power DRV8312, two different power supplies are needed,
one at 12 V for gate-drive voltage supply and power supply for digital voltage
regulator, and another up to 50 V for power supply input for half-bridges [15].
The PWM switching operating frequency of the DRV8312 can be up to
500 kHz. This driver has an advanced protection system which can protect the
device from different fault conditions that could make a damage to the hard-
wares. The protection system includes the bootstrap capacitor undervoltage
protection which can protect the device from the possible damage caused low
31
switching frequency operation, overload protection, and short circuit protec-
tion. The overcurrent detectors allow users to set the current limits based on
the application requirements, and the current-limiting circuit will prevent the
BLDC motor from possible damage caused by overcurrent.
32
by the voltage follower circuit. The transfer function of the circuit can be
shown as:
R3
Vout = 1.65 + I · R1 · = 1.65 + 0.191I (3.1)
R2
where Vout is the output voltage from the differential amplifier circuit, I is the
motor current and R1 ,R2 and R3 are the resistances in the differential amplifier
circuit.
The transfer function is linear and the analog input range is from 0 V
to 3.3 V. Because the current is bidirectional, which has both positive and
negative currents, 0 V represents the minimum negative current and 3.3 V
represents the maximum positive current. When the output voltage is 0 V, the
current input is −8.65 A. When the output voltage is 3.3 V, the current input
is 8.65 A. The output voltage range (0 V to 3.3 V) represents the measured
phase current range (−8.65 A to 8.65 A).
When the current analog input is 3.3 V, the sampled ADC result value
would be 4096. The range of ADC result is from 0 to 4096. Based on the
ADC result, the current can be converted to the per unit format from −1.0 to
1.0. ±1.0 represents the measured motor current ±8.65 A.
1.65 V
R3 (19.1 kΩ)
Iphase
R2 (1 kΩ)
Vout
R1 (0.01 Ω)
R2 (1 kΩ)
R3 (19.1 kΩ)
33
3.3.3 Power Domains of the Kit
There are two power domains on this kit. One is the low voltage domain,
which is used to provide power for the F28035 C2000 controller and the logic
circuits. The low voltage domain has three levels voltages: 3.3 V, 5 V and
12 V. The low voltage domain can be sourced from two areas: one is the 12 V
DC control power entry, which needs external power supply, and another is
the on board buck regular, which will regulate the DC bus power to 12 V.
Another power domain is the medium voltage power domain, which will
provide medium voltages to the three-phase inverter. The medium voltages
are called the DC bus voltages. The three-phase inverter will provide power
to the BLDC motor and the medium voltages can be up to 52.5 V.
For each phase of the BLDC motor, an individual switch is used to deter-
mine the control mode of that phase. The switch can be manually set to three
positions. If the switch is in the middle position, the switch will be controlled
by a GPIO signal. If the switch is in the up position, the half-bridge output
will be enabled. If the switch is in the down position, the half-bridge output
will be disabled.
34
3.4 BLDC Motor
Figure 3.5 shows the BLDC motor used in this thesis, which is made by Ana-
heim Automation and its model number is BLY172S-24V-4000. This BLDC
motor is a cost effective solution to the velocity control application. This mo-
tor has 4 pairs of rotor poles and three wires for the phases and five wires for
the hall sensors. Table 3.1 shows the motor specifications.
Parameter Values
P 8
R 0.4 Ω
L 0.6 mHz
Kt 0.041 Nm/A
Ke 3.35 V/kRPM
J 48 g − cm2
3.5 Summary
In this chapter, we present the experimental environment in this thesis. An
introduction is made to the Piccolo F28035 controlCARD, the DRV8312 DMC
board and also the basic macro blocks. Finally, we make a discussion on the
BLDC motor and its parameters.
35
Chapter 4
In this chapter, a sensorless BLDC motor control method based on line voltage
differences [6] is introduced and verified through experiment. As introduced
in Chapter 1, methods based on line voltage differences can eliminate the
requirement for the motor neutral voltage, which will increase the accuracy of
the commutation strategy.
36
A
Y Z
3 4
2 5
1 0
C B
F
igu
re4
.1:S
tat
orsp
aces
ect
orsd
iag
ram
n
ews
tat
e.F
ors
ens
orl
essc
ont
rolm
eth
ods
,diff
eren
tte
chn
iqu
esw
il
lbeu
sedt
o
e
stim
ater
oto
rpo
sit
ion
s.
A
ssum
ingth
atth
ero
tori
sins
ect
or0
,th
ecu
rren
tdi
rec
tiono
fph
aseAi
s
f
romAt
oX.th
ecu
rren
tdi
rec
tiono
fph
aseBi
sfr
omY t
oB andph
aseCi
s
fl
oat
ing
.Nowth
est
ato
rfie
ldi
sinth
edi
rec
tiono
fC−Za
ssh
owninF
igu
re
4
.2(
a),andi
twi
llw
il
ldr
iveth
ero
tort
omo
vet
ose
cto
r1.
A
fte
rro
torm
ove
sin
tos
ect
or1
,th
ecu
rren
tdi
rec
tiono
fph
aseAi
sfr
omA
t
oX.th
ecu
rren
tdi
rec
tiono
fph
aseCi
sfr
omZt
oCandph
aseBi
sflo
atin
g.
Th
est
ato
rcu
rren
tssh
apeth
est
ato
rfie
ldwh
ichi
sinth
edi
rec
tiono
fB−Y
a
ssh
owninF
igu
re4
.2(b
).T
orqu
ewi
llb
egen
era
tedb
asedonth
eph
asesh
if
t
b
etw
eenth
ero
torfi
eldandth
est
ato
rfie
ld. Th
enth
eto
rqu
ewi
lld
riv
eth
e
r
oto
rtom
ovet
ose
cto
r2.
Ins
ect
or2
,th
ecu
rren
tdi
rec
tiono
fph
aseCi
sfr
omZt
oC. Th
ecu
rren
t
d
ire
cti
ono
fph
aseBi
sfr
omB t
oY andph
aseAi
sflo
atin
g. Th
est
ato
rfie
ld
i
sinth
edi
rec
tiono
fA−X a
ssh
owninF
igu
re4
.2(
c),andi
twi
lld
riv
eth
e
r
oto
rtom
ovet
ose
cto
r3.
Ins
ect
or3
,th
ecu
rren
tdi
rec
tiono
fph
aseAi
sfr
omX t
oA. Th
ecu
rren
t
d
ire
cti
ono
fph
aseBi
sfr
omB t
oY andph
aseCi
sflo
atin
g. Th
est
ato
rfie
ld
3
7
is in the direction of C − Z as shown in Figure 4.2(d), and it will will drive
the rotor to move to sector 4.
In sector 4, the current direction of phase A is from X to A. The current
direction of phase C is from C to Z and phase B is floating. The stator field
is in the direction of B − Y as shown in Figure 4.2(e), and it will drive the
rotor to move to sector 4.
In sector 5, the current direction of phase C is from C to Z. The current
direction of phase B is from Y to B and phase A is floating. The stator field
is in the direction of A − X as shown in Figure 4.2(f), and it will drive the
rotor to move to sector 0.
As analyzed above, the stator field moves in a discrete step of 60 electrical
degrees. The torque will continuously drive the rotor to rotate. Because the
phase shift between the rotor field and the stator field will change when the
rotor is rotating, this shift will cause torque ripples. The torque ripples can be
reduced if the field oriented control is applied. Then the phase shift between
the rotor field and the stator field is fixed to be 90 electrical degrees to generate
the maximum torque.
The commutation state pointer input (0 to 5) indicates one of the six states.
During each state, only two phases are conducting so two switches are active
and the other four will be turned off. If the commutation state pointer is
equal to 0, current flows from phase A to phase B. Table 4.1 shows the six
commutation states of the BLDC motor.
Commutation States ia ib ic
0 positive negative floating
1 positive floating negative
2 floating positive negative
3 negative positive floating
4 negative floating positive
5 floating negative positive
38
×A Fstator ×A
Y× Z Y ×Z
S S
N N
C ·B C. B
Fstator
·X .
X
(a
)Se
cto
r0 (b
)Se
cto
r1
Fstator
A
.A
Fstator
Y . ×Z Y.
N Z
N S
C. ×B
C
S
×B
X ×X
(
c)S
ecto
r2 (d
)Se
cto
r3
A
.A
Y× .Z
Y .Z
N
S N
C× .B
S
C× B
Fstator X
× Fstator
X
(
e)S
ecto
r4 (
f)S
ecto
r5
F
igu
re4
.2: BLDC m
oto
rsix
-st
epc
ommu
tat
ion
3
9
4.2 Sensorless Commutation Method Based on
Line Voltage Differences
In this section, a sensorless control method using the six-step commutation
sequence will be introduced. The proposed method are based on the work in
[6].
For the BLDC motor we used, stator windings of three phases are connected
in star. The terminal voltage of phase A referenced with the motor neutral
voltage is Van as:
dia
Van = Ria + L + ea (4.1)
dt
Similarly, terminal voltages of phase B and phase C are Vbn and Vcn as:
dib
Vbn = Rib + L + eb (4.2)
dt
dic
Vcn = Ric + L + ec (4.3)
dt
where Van , Vbn and Vcn are the phase voltages referenced to the motor neutral
voltage, L is the phase stator inductance, R is the phase stator resistance, ia ,
ib and ic are the phase currents and ea , eb and ec are the phase back-EMFs.
On DRV8312 DMC board, the terminal voltages are measured by taking
ground as the referenced point. The line voltage Vab of the terminal voltages
can be calculated as:
d(ia − ib )
Vab = R(ia − ib ) + L + ea − eb (4.4)
dt
Similarly, terminal line voltages Vbc and Vca are shown below:
d(ib − ic )
Vbc = R(ib − ic ) + L + eb − ec (4.5)
dt
d(ic − ia )
Vca = R(ic − ia ) + L + ec − ea (4.6)
dt
From equations above, the line voltages can be calculated based on the
terminal voltages measured with respect to ground, so the requirement for
motor neutral voltage is eliminated.
40
We can calculate the line voltage differences based on the line voltages
equations above. The line voltage difference Vbcab can be calculated as:
Vbcab = Vbc − Vab
d(2ib − ia − ic ) (4.7)
= R(2ib − ia − ic ) + L + 2eb − ea − ec
dt
Similarly, Vabca and Vcabc can be calculated as:
Vabca = Vab − Vca
d(2ia − ib − ic ) (4.8)
= R(2ia − ib − ic ) + L + 2ea − eb − ec
dt
Vcabc = Vca − Vbc
d(2ic − ia − ib ) (4.9)
= R(2ic − ia − ib ) + L + 2ec − ea − eb
dt
If the commutation state pointer is equal to 0, the stator current flows from
phase A to phase B. Because phase C is open, the phase C current ic = 0.
Phase A current ia and phase B current ib have the same magnitude but
opposite. From Figure 2.1 [23], phase A back-EMF ea and phase B back-EMF
eb also have the same magnitude but opposite. The relationships can be shown
as:
i a + ib = 0 (4.10)
ea + eb = 0 (4.11)
When the commutation state pointer is equal to 0, the line voltage differ-
ence Vcabc can be calculated as:
From the equation above, the line voltage difference Vcabc is equal to an
amplified phase C back-EMF value and the gain is two. So we can use line
voltage differences to estimate zero-crossing points of back-EMFs. Theoreti-
cally, when the commutation state pointer is equal to 0, Vcabc starts from the
maximum positive value and goes to the minimum negative value. Because
the back-EMF waveform changes linearly, the zero-crossing point will occur in
the middle of the commutation state 0. As each state contains 60 electrical
degrees, a 30◦ offset exists between the back-EMFs’ zero-crossing points and
the current commutation instants.
41
Similarly, when the commutation state pointer is equal to 3, the stator
current flows from phase B to phase A and phase C is open. Vcabc has the
same expression as in commutation state 0. The difference is that Vcabc starts
from the minimum negative value and goes to the maximum positive value.
In commutation state 1, the stator current flows from phase A to phase C,
and phase B is open. In commutation state 4, the stator current flows from
phase C to phase A and phase B is open. The phase B current ib = 0. Phase A
current ia and phase C current ic are equal and opposite. Phase A back-EMF
ea and phase C back-EMF ec are also equal and opposite. The line voltage
difference Vbcab can be calculated as:
42
20
2ea − eb − ec
Voltage (V)
ea
10
0
−10
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
20
Voltage (V)
2eb − ea − ec
eb
10
0
−10
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
20
Voltage (V)
2ec − ea − eb
ec
10
0
−10
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
Figure 4.3: Simulations results of the line voltage differences and back-EMFs
waveforms at 700 rpm with 0.04 Nm load
the simulation results, we can see that at the zero-crossing points, the corre-
sponding line voltage difference is an amplified back-EMF, and the line voltage
differences have the same zero-crossing points as the back-EMFs.
In each state, one line voltage difference is applied to estimate the zero-
crossing points of the corresponding back-EMF waveform. A combined com-
mutation function is applied to estimate all the zero-crossing points of back-
EMFs as shown in Table 4.2. Table 4.2 also shows the polarity of the zero-
crossing points.
The combined commutation function can be shown in Figure 4.4. The
simulation results show that the combined commutation function has the same
zero-crossing points as the back-EMFs, which verifies the correctness of the
combined commutation function. The combined commutation function will be
applied in the experiment environment.
43
Commutation States Commutation Function Polarity of Zero-crossing Points
0 Vcabc +Vmax to −Vmin
1 Vbcab −Vmin to +Vmax
2 Vabca +Vmax to −Vmin
3 Vcabc −Vmin to +Vmax
4 Vbcab +Vmax to −Vmin
5 Vabca −Vmin to +Vmax
Table 4.2: Commutation sequence for the method based on line voltage differ-
ences
Vcommtation (V)
5
0
−5
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
5
ea (V)
0
−5
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
5
eb (V)
0
−5
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
5
ec (V)
0
−5
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
44
used to convert the terminal voltage to fit the analog input range of ADC
module.
Because of the inverter switching, BLDC motor terminal voltages contain
some high frequency harmonics. In order to eliminate the harmonics, a first-
order low pass filter is included in the voltage resistor divider circuit as shown
in Figure 4.5.
Vin
R1
Vout
R2 C
Vout R2
= (4.15)
Vin R1 + R2 + R1 R2 Cs
where C is the low pass filter capacitance, R1 and R2 are the voltage divider
resistances, Vout is the filtered waveform of Vin .
Table 4.3 shows the parameters of the motor terminal voltage sensing cir-
cuit.
45
Parameter Values
R1 95.3 kΩ
R2 4.99 kΩ
C 0.047 µF
φ = 30◦ − θ (4.18)
Figure 4.6 shows the software flowchart of the proposed sensorless commu-
tation method with phase delay compensation. In order to calculate the φ in
software, the electrical period needs to be calculated. As the current electrical
period is unknown, the difference between two adjacent electrical periods is
small enough to ignore, so the last electrical period T is applied to calculate
Tdelay . At the beginning of state 5, T will be calculated based on the time
difference between the current time and the beginning time of state 5 in the
last electrical period. The phase delay time will be calculated and then used
in the next electrical period:
φ
Tdelay = ·T (4.19)
360
46
where T is the last electrical period and φ is the phase delay angle calculated
at the end of last electrical period.
For each commutation state, the time counter will start after detecting the
zero-crossing point of the corresponding line voltage difference. When the time
counter is equal to Tdelay , this point is treated as the commutation instant and
the BLDC motor will switch to the next state.
As mentioned in Chapter 2, the relationship between electrical frequency
and mechanical frequency is
p
fe = fm (4.20)
2
Nrpm
fm = (4.21)
60
where p is the number of poles, fm is the mechanical frequency, fe is the
electrical frequency and Nrpm is rotor speed in rpm.
The electrical period T from the commutation method will be applied to
estimate Nrpm as shown in equation below:
2
Nrpm = 60fm = 60 · fe
p
(4.22)
120
=
Tp
From the analysis above, the delayed angle caused by the low pass filter
has a positive relationship with the motor rotor speed. If the BLDC motor
speed is 1000 rpm, the delayed angle caused by the low pass filter is 5.33◦ using
the equation below:
R1 · R2 · C · ωe
θ = tan−1 ( )
R1 + R2
(4.23)
R1 · R2 · C Nrpm
= tan−1 ( · πp )
R1 + R2 60
When the speed is low or medium, the delayed angle won’t cause a com-
mutation mistake. But when motor speed is high, the delayed angle will cause
problems. Some compensation needs to be done to guarantee the correct op-
eration of BLDC motors. In this thesis, F28035 C2000 controller will be used
to compensate the phase delay φ, so the current commutation instants can be
in phase with the zero-crossing points of line voltage differences.
47
If If If If If If
state=0 state=1 state=2 state=3 state=4 state=5
Read Tdelay Read Tdelay Read Tdelay Read Tdelay Read Tdelay Calculate Tdelay
No No No No No No
48
Time counter++
No
Yes
Commutation instants
Figure 4.6: Software flowchart of the sensorless commutation method based on line voltage differences
4.5 Starting Procedure
For BLDC control methods with Hall-effect sensors or Quadrature Encoder
signals, it is not a problem for a BLDC motor to start up. For back-EMF
based methods like the method used in this chapter, back-EMFs’ values are
needed to achieve the position estimation. However, back-EMFs’ values are
zero during standstill, and they are also very small when the motor speed is
low.
Normally, a starting procedure is required for the methods based on back-
EMFs. In this chapter, the BLDC motor will be started blindly using the
conventional open-loop starting method [8].
During the first stage, any two phases of stator windings will be energized.
In this thesis, the stator current will firstly flow from phase A to phase B. The
stator currents will generate a flux whose amplitude and direction are both
constant. The stator flux will attract the rotor to point in the same direction,
so the rotor is forced to align at a predefined position [8]. Then, the stator
current flows from phase A to phase C so the BLDC motor will be in the
next state. The stator flux will point to a new direction, so the rotor will be
attracted to move to the next position. During this open-loop starting mode,
the stator windings will be energized in a predefined order:
AB → AC → BC → BA → CA → CB
When the BLDC motor speeds up, back-EMFs will also increase. When the
zero-crossing points of back-EMFs can be stably detected, the control system
will switch to the sensorless mode.
49
Assuming that the BLDC motor is in commutation state 1, now it will
switch to state 2. During commutation state 1, the upper transistor of phase
A (T1 ) and the lower transistor of phase C (T6 ) are on. At the commutation
instant, T1 will be turned off and the upper transistor of phase B (T3 ) will
be turned on. The stator current continues to flow through the free-wheeling
diode of phase A and decreases.
The free-wheeling current will cause spikes in the calculated line voltage
difference waveforms. The spikes may cross the zero thus cause false zero-
crossing points detection.
According to the reference [6], the free-wheeling current during time is
much smaller than the phase delay time Tdelay , so the spike will disappear
before the back-EMFs cross zero.
The calculated line voltage difference waveforms also contains noises from
the sensing circuit. For DRV8312-C2 kit, each terminal voltage is sensed with
a voltage resistor divider and a first order low pass filter. The sensing circuit
may bring noises to the measured terminal voltages so it will also affect the
line voltage differences.
Because the virtual neutral voltage is not used in this method, it will reduce
the affect of electrical noises. The low pass filter of the terminal voltage sensing
circuit can filter out the chopped pulses generated by PWM, but the calculated
line voltage difference waveforms still contain some noises which may cause
false zero-crossing points detection. In order to minimize the influence of the
noises, a counter can be used to calculate how many times the measured line
voltage difference value crosses zero [38]. The noises only remain for a very
short time. If the counter reaches a predefined value, this point is treated as
the real zero-crossing point of the line voltage difference. Otherwise, it will be
treated as noises and will not trigger the commutation to the next state.
50
cycle of the PWM signals based on the difference between ω̂ and ωref . Figure
4.7 shows the proposed sensorless drive for speed control of a BLDC motor.
The measured three phase terminal voltages are the inputs of the line
voltage differences calculation block. The calculated line voltage differences
and the motor speed are the inputs of the commutation trigger block. At the
beginning of each electrical period, the phase delay time will be calculated,
and it will be used in this electrical period.
Speed Estimation
using (4.22)
Figure 4.7: Proposed sensorless BLDC motor drive based on line voltage dif-
ferences
51
5
Vabca (V)
0
−5
5 5.02 5.04 5.06 5.08 5.1
time (s)
5
Vbcab (V)
−5
5 5.02 5.04 5.06 5.08 5.1
time (s)
5
Vcabc (V)
−5
5 5.02 5.04 5.06 5.08 5.1
time (s)
700
ωref
ω̂
650
Speed (rpm)
600
550
500
5 5.5 6 6.5
time (s)
5
4
Error (%)
3
2
1
0
5 5.5 6 6.5
time (s)
52
4.8.2 Experiment Results at 1000 rpm
Figure 4.10 shows the measured line voltage differences at 1000 rpm. Figure
4.11 shows the speed response at 1000 rpm.
Based on the results in subsection 4.8.1 and subsection 4.8.2, we can see
that the line voltage differences waveforms are symmetric, and the speed of
the BLDC motor can remain stable with negligible error.
When the BLDC motor runs in open-loop commutation mode, there is a
big acoustic noise from the motor due to its inaccuracy commutation. During
the sensorless commutation mode, the acoustic noise is reduced.
10
Vabca (V)
−10
10.9 10.91 10.92 10.93 10.94 10.95 10.96
time (s)
10
Vbcab (V)
−10
10.9 10.91 10.92 10.93 10.94 10.95 10.96
time (s)
10
Vcabc (V)
−10
10.9 10.91 10.92 10.93 10.94 10.95 10.96
time (s)
53
1100
ωref
ω̂
1050
950
900
10 10.5 11 11.5
time (s)
5
4
Error (%)
3
2
1
0
10 10.5 11 11.5
time (s)
when the BLDC motor speed is high, the effectiveness of the compensation
method will be obvious.
In this section, we presents the experiment results at 1800 rpm. Because
three phases are symmetric, the experiment results of phase A is analyzed
to show the correctness of the compensation method. Figure 4.12 shows the
relationship between phase A current ia and Vabca . We can see that the com-
mutation points of ia lags 30◦ behind the zero-crossing points of Vabca . Figure
4.13 shows the speed response at 1800 rpm.
For the sensorless drive without phase delay compensation, the motor stalls
when its speed is over 1800 rpm, because of the significant phase delay error
(over 9.53◦ ) caused by the low pass filter. To verify the effectiveness of the
compensation method, Figure 4.14 shows the experiment results of the rela-
tionship between the ideal commutation signal (Hall-effect sensor A output)
and the estimated commutation signal (virtual Hall-effect sensor A output
obtained from the sensorless commutation method) at 1800 rpm.
From Figure 4.14, we can see that the estimated commutation signal lags
54
20 1
15
10
5
Vabca (V)
i a (A)
0 0
−5
−10
−15
−20 −1
10.8 10.805 10.81 10.815 10.82
time (s)
1900
ωref
ω̂
1850
Speed (rpm)
1800
1750
1700
10 10.5 11 11.5
time (s)
5
4
Error (%)
3
2
1
0
10 10.5 11 11.5
time (s)
55
Before compensation
1 4
0
0 0.005 0.01 0.015 0.02
time (s)
After compensation
1 4
Estimated signal (V)
0
0 0.005 0.01 0.015 0.02
time (s)
behind the ideal commutation signal and the phase delay is significant. After
phase delay compensation, the estimated commutation signal matches well
with the ideal commutation signal.
Before phase compensation, the acoustic noise is noticeable due to inaccu-
racy commutation. After phase compensation, the acoustic noise is reduced.
Based on the analysis above, we can conclude that phase delay compen-
sation is necessary for high speed region. With phase delay compensation,
the high speed capability of BLDC motors can be improved, and the acoustic
noise from the motor will be reduced. The estimated commutation signal is
precise enough to replace the ideal commutation signal, so it can be applied
to realize sensorless commutation.
56
4.9 Summary
In this chapter, we make a detailed analysis on the six-step commutation
of the BLDC motors. Then we discuss the sensorless commutation method
based on line voltage differences, and it is validated by the simulation results.
The sensorless commutation method with phase delay compensation is further
implemented in the experimental environment.
57
Chapter 5
58
d
+
ui y
+ u P 0 (s)
− + n
−1
P (s) + −
uf
dˆ
Q(s)
signal u is the superposition result of ui and d. The output of the actual plant
model is y, and n is the measurement noise. The function of y is shown as:
uf = (y − n) · P −1 (s)
(5.2)
= (ui + d) · P 0 (s) · P −1 (s) − n · P −1 (s)
uf = ui + d − n · P −1 (s) (5.4)
59
observer. The frequency of the measurement noise is usually high, and the
frequency of disturbance signal is low [5].
A low pass filter Q(s) is required in the disturbance observer to filter out
the measurement noise. For the Q(s), its magnitude should be designed with
the following characteristics [33]:
60
2 4
1 2
eab (V)
ia (A) 0 0
−1 −2
−2 −4
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
2 4
1 2
ebc (V)
ib (A)
0 0
−1 −2
−2 −4
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
2 4
1 2
eca (V)
ic (A)
0 0
−1 −2
−2 −4
0.6 0.62 0.64 0.66 0.68 0.7
time (s)
Figure 5.2: Simulations results of the back-EMF differences and phase currents
at 700 rpm with 0.04 Nm load
The three line voltages of BLDC motor can be calculated from the terminal
voltages as:
d(ia − ib )
Vab = R(ia − ib ) + L + ea − eb (5.11)
dt
d(ib − ic )
Vbc = R(ib − ic ) + L + eb − ec (5.12)
dt
d(ic − ia )
Vca = R(ic − ia ) + L + ec − ea (5.13)
dt
where Vab , Vbc and Vca are the three line voltages.
Laplace transform results of the line voltages are shown below:
61
where Vab (s), Vbc (s) and Vca (s) are the Laplace transforms of the three line
voltages, eab (s), ebc (s) and eca (s) are the Laplace transforms of the back-EMF
differences and iab (s), ibc (s) and ica (s) are the Laplace transforms of the line
currents.
For each equation above, we take the line voltage as the inputs, the back-
EMF difference as the disturbances and the line current as the outputs, so we
can build different models for the three equations.
The disturbance observer structure can be applied to estimate distur-
bances. As shown in Figure 5.3 [38], The actual plant transfer function is
P 0 (s). −êab , −êbc and −êca are the estimated back-EMF differences. P (s) is
the nominal plant transfer function. The inverse of the nominal plant transfer
function is P −1 (s). n is the line currents measurement noise which can be
filtered out by the low pass filter. Q(s) is the low pass filter transfer function.
− + n
−1
P (s) + −
For the estimated disturbances, they are not used to implement distur-
bance rejection. Instead, estimated disturbances are used as the inputs of the
commutation algorithms, and their zero-crossing points will be commutation
instants of the BLDC motor.
In commutation states 0 and 3, the zero-crossing points of êbc are the
62
commutation instants of the BLDC motor. In commutation states 1 and 4,
the zero-crossing points of êab are the commutation instants of the BLDC
motor. In commutation states 2 and 5, the zero-crossing points of êca are the
commutation instants of the BLDC motor.
where V̂ab (s), V̂bc (s) and V̂ca (s) are the measured line voltages, Vab (s), Vbc (s)
and Vca (s) are the Laplace transforms of the three line voltages.
The cutoff frequency fcut of the terminal voltage measurement circuit can
be shown below:
R1 + R2
fcut = (5.21)
2πR1 R2 C
With the parameters in Table 4.3, the transfer function and cutoff fre-
quency fcut can be calculated as:
Vout 223.3
T (s) = = (5.22)
Vin s + 4487.1
63
fcut = 714.2 Hz (5.23)
The low pass filter Q(s) is designed to be the same as the transfer function
of the terminal voltage measurement circuit.
223.3
Q(s) = T (s) = (5.24)
s + 4487.1
For the measurement of three phase currents, three differential amplifier
circuits are used to measure three phase currents. The per unit range of -
1.0 to 1.0 is corresponding to the real current from −8.65 A to 8.65 A. The
relationship can be shown in equations below:
K = 8.65 A (5.28)
where iab (s), ibc (s) and ica (s) represent line currents. Iˆab , Iˆbc and Iˆca are per
unit line currents.
+
− +
TT−1
−1(s)
(s) KP −1 (s) n
−
64
[38]:
The per unit line currents Iˆab , Iˆbc and Iˆca can be shown as:
1
P 0 (s) = P (s) = (5.38)
Ls + R
where R is the phase stator resistance and L is the phase stator inductance.
The low pass filter can filter out the measurement noise n. Then, −êab ,
−êbc and −êca can be simplified as [38]:
65
Thus, the modified disturbance observer structure can be applied to esti-
mate the back-EMF differences:
66
1
êab
Voltage (V)
0.5 eab
0
−0.5
0.6 0.605 0.61 0.615 0.62
time (s)
1
Voltage (V)
êbc
0.5 ebc
0
−0.5
0.6 0.605 0.61 0.615 0.62
time (s)
1
Voltage (V)
êca
0.5 eca
0
−0.5
0.6 0.605 0.61 0.615 0.62
time (s)
Figure 5.5: Simulation results of the estimated back-EMF differences and the
real back-EMF differences at 1000 rpm with 0.04 Nm load
θ
Vp = · Vpmax (5.44)
60◦
θ
Vn = · Vpmin (5.45)
60◦
where Vp is the threshold value when the back-EMF difference varies from the
maximum positive value to zero, Vn is the threshold value when the back-EMF
difference varies from the minimum negative value to zero, θ is the calculated
67
1 êab
Voltage (V)
eab
0.5
0
−0.5
0.6 0.605 0.61 0.615 0.62
time (s)
Voltage (V)
1 êbc
ebc
0.5
0
−0.5
0.6 0.605 0.61 0.615 0.62
time (s)
Voltage (V)
1 êca
eca
0.5
0
−0.5
0.6 0.605 0.61 0.615 0.62
time (s)
Figure 5.6: Simulation results of the estimated back-EMF differences and the
real back-EMF differences at 2000 rpm with 0.04 Nm load
phase delay, Vpmax is the maximum positive value of the back-EMF difference
and Vpmin is the minimum negative value of the back-EMF difference.
Figure 5.7 shows the software flowchart of the sensorless commutation
method based on the disturbance observer. At the beginning of commuta-
tion states 0, 2 and 4, the estimated value of the chosen back-EMF difference
is regarded as the minimum negative value Vpmin . At the beginning of commu-
tation states 1, 3 and 5, the estimated value of the chosen back-EMF difference
is regarded as the maximum positive value Vpmax . Also, the phase delay θ is
calculated at this point based on the motor speed. Then the threshold values
(Vp and Vn ) can be calculated based on the equations above.
In order to minimize the influence of noises, a counter is applied to calculate
how many times the estimated back-EMF difference value crosses the threshold
value. When the counter reaches a predefined value Tnoises , this point is treated
as the commutation instant and the BLDC motor will switch to the next state.
68
If If If If If If
state=0 state=1 state=2 state=3 state=4 state=5
No No No No No No
69
Time counter++
No
Yes
Commutation instants
Figure 5.7: Software flowchart of the sensorless commutation method based on the disturbance observer structure
5.5 Proposed Sensorless Drive
Figure 5.8 shows the proposed sensorless drive for speed control of a BLDC
motor. A proportional integral (PI) controller is applied to determine the duty
cycle of the PWM signals based on the difference between the measured motor
speed ω and the reference motor speed ω ∗ .
The measured three phase currents and the three phase terminal voltages
are the inputs of the disturbance observer. The estimated back-EMF differ-
ences êab , êbc and êca together with the measured motor speed are the inputs
of the commutation trigger block. The commutation sequence of the proposed
method is shown in Table 5.1.
Because the proposed method is based on back-EMF differences, a starting
procedure is required to speed up the BLDC motor to a higher speed. In this
chapter, the conventional open-loop starting method, as described in Chapter
4, is applied to blindly start the BLDC motor.
Table 5.1: Commutation sequence for the method based on disturbance ob-
server
70
Duty Cycle PWM Signals BLDC Motor
ωref + Three-phase
PI BLDC PWM
− Drive Inverter
ω̂
Iˆab , Iˆbc , Iˆca V̂ab , V̂bc , V̂ca
Commutation êab Disturbance
Method in êbc Observer
Commutation State Figure 5.7 êca using (5.42)
Speed Estimation
using (4.22)
Figure 5.8: Proposed sensorless BLDC motor drive based on the disturbance
observer structure
5
êab (V)
−5
5.75 5.8 5.85
time (s)
5
êbc (V)
−5
5.75 5.8 5.85
time (s)
5
êca (V)
−5
5.75 5.8 5.85
time (s)
71
700
ωref
ω̂
650
550
500
5 5.5 6 6.5
time (s)
5
4
Error (%)
3
2
1
0
5 5.5 6 6.5
time (s)
72
5
êab (V)
0
−5
10.9 10.91 10.92 10.93 10.94 10.95 10.96
time (s)
5
êbc (V)
−5
10.9 10.91 10.92 10.93 10.94 10.95 10.96
time (s)
5
êca (V)
−5
10.9 10.91 10.92 10.93 10.94 10.95 10.96
time (s)
1100
ωref
ω̂
1050
Speed (rpm)
1000
950
900
10 10.5 11 11.5
time (s)
5
4
Error (%)
3
2
1
0
10 10.5 11 11.5
time (s)
73
10 1
5
êab (V)
i a (A)
0 0
−5
−10 −1
10.88 10.885 10.89 10.895 10.9
time (s)
1600
ωref
ω̂
1550
Speed (rpm)
1500
1450
1400
10 10.5 11 11.5
time (s)
5
4
Error (%)
3
2
1
0
10 10.5 11 11.5
time (s)
74
Before compensation
1 4
−1 0
0.015 0.02 0.025 0.03 0.035 0.04
time (s)
Before compensation
1 4
Estimated signal (V)
−1 0
0.015 0.02 0.025 0.03 0.035 0.04
time (s)
75
5.7 Comparison with the Sensorless Drive based
on Line Voltage Differences
In this section, we make a comparison of the proposed sensorless BLDC motor
drive based on the disturbance observer structure and the sensorless drive
introduced in Chapter 4.
Based on the analysis above, both of these two sensorless drives can achieve
precise sensorless commutation. However, they all need compensation for the
phase delay caused by the low pass filter. The electrical frequency of the motor
must be smaller than the cutoff frequency fcut of the low pass filter, which is
714.2 Hz.
For the sensorless drive based on the line voltage differences, the maximum
allowable phase delay from the low pass filter is 30◦ (electrical frequency equals
412.5 Hz). In contrast, the maximum allowable phase delay is 60◦ (electrical
frequency equals 1237.4 Hz) for the sensorless BLDC motor drive based on the
disturbance observer structure. For the given motor drive board, we can see
that disturbance observer based sensorless drive allows the electrical frequency
of the motor to be up to the cutoff frequency of the low pass filter. Disturbance
observer based sensorless drive has a wider high speed range in comparison
with the sensorless drive based on the line voltage differences.
Both of these two sensorless drives are based on back-EMFs, so they all
have poor performance in the low speed range. Figure 5.16 shows Vabca and
êab waveforms at low speeds. We can see that the waveforms are distorted,
and we can not get accurate commutation points with either of the proposed
sensorless drives.
Figure 5.17 and Figure 5.18 show the simulation results of the speed re-
sponse at low speed (500 rpm) and high speed (1500 rpm) during loading tran-
sient, respectively. For 500 rpm, a step load (0.05 Nm) is applied at 0.3 s.
For 1500 rpm, a step load (0.05 Nm) is applied at 0.5 s. From the simulation
results, we can see that the speed response of the two sensorless drives are
similar. For both low and high speeds conditions, the motor speed decreases
after applying the load, and then it will keep on tracking the reference speed
76
Vabca at 300 rpm
5
Vabca (V)
0
−5
5.8 6.3
time (s)
êab at 250 rpm
3
êab (V)
−3
5.8 6.3
time (s)
5.8 Summary
In this chapter, we discuss a sensorless commutation method based on the dis-
turbance observer. The sensorless commutation method with is implemented
in the experimental environment, and it works well at different speeds. Com-
pared with sensorless commutation method based on line voltage differences,
disturbance observer based method has a wider high speed range, and it does
not require a 30◦ phase shift to get the correct commutation points.
77
Speed response (line voltage differences)
1500
Speed (rpm)
1000
500
0
0 0.1 0.2 0.3 0.4 0.5
time(s)
Speed response (disturbance observer)
1500
Speed (rpm)
1000
500
0
0 0.1 0.2 0.3 0.4 0.5
time (s)
2000
1000
0
0 0.2 0.4 0.6 0.8 1
time(s)
Speed response (disturbance observer)
3000
Speed (rpm)
2000
1000
0
0 0.2 0.4 0.6 0.8 1
time (s)
78
Chapter 6
Conclusions
79
these two sensorless control techniques are based on back-EMFs, they have
limiting low speed capability. Based on the Simulink simulation results, both
of these two sensorless drives are able to work well even with load disturbance.
80
Bibliography
[2] M. Bonfe and M. Bergo. A brushless motor drive with sensorless control
for commercial vehicle hydraulic pumps. In 2008 IEEE International
Symposium on Industrial Electronics, pages 612–617. IEEE, 2008.
[4] C.-H. Chen and M.-Y. Cheng. A new sensorless commutation drive for
brushless dc motors and alternators. In 2006 IEEE International Sympo-
sium on Industrial Electronics, volume 3, pages 2116–2121. IEEE, 2006.
81
[8] J. C. Gamazo-Real, E. Vázquez-Sánchez, and J. Gómez-Gil. Position
and speed control of brushless dc motors using sensorless techniques and
application trends. Sensors, 10(7):6901–6947, 2010.
82
[18] T. Instruments. Tms320x2802x, 2803x piccolo enhanced pulse width mod-
ulator (epwm) module. Reference Guide, Mar, 2011.
[19] T. Kim, C. Kim, and J. Lyou. A new sensorless drive scheme for a bldc
motor based on the terminal voltage difference. In IECON 2011-37th
Annual Conference on IEEE Industrial Electronics Society, pages 1710–
1715. IEEE, 2011.
[21] T.-H. Kim, H.-W. Lee, and M. Ehsani. State of the art and future trends
in position sensorless brushless dc motor/generator drives. In 31st Annual
Conference of IEEE Industrial Electronics Society, 2005. IECON 2005.,
pages 8–pp. IEEE, 2005.
[22] T.-S. Kim, B.-G. Park, D.-M. Lee, J.-S. Ryu, and D.-S. Hyun. A new ap-
proach to sensorless control method for brushless dc motors. International
Journal of Control, Automation, and Systems, 6(4):477–487, 2008.
[24] Y.-S. Lai and Y.-K. Lin. Novel back-emf detection technique of brushless
dc motor drives for wide range control without using current and position
sensors. IEEE Transactions on power electronics, 23(2):934–940, 2008.
[25] Y.-S. Lai, F.-S. Shyu, and Y.-H. Chang. Novel loss reduction pulsewidth
modulation technique for brushless dc motor drives fed by mosfet inverter.
IEEE transactions on power electronics, 19(6):1646–1652, 2004.
[26] Z. Li, S. Cheng, Y. Qin, and K. Cai. A novel line-to-line back emf calcu-
lation for sensorless brushless dc motor drives. In Electrical Machines and
Systems, 2008. ICEMS 2008. International Conference on, pages 1406–
1411. IEEE, 2008.
83
[27] P. Madaan. Brushless dc motors–part i: Construction and operating
principles. Cypress Semiconductor, 11, 2013.
[29] J. C. Moreira. Indirect sensing for rotor flux position of permanent magnet
ac motors operating over a wide speed range. IEEE Transactions on
Industry Applications, 32(6):1394–1401, 1996.
[33] E. Schrijver and J. Van Dijk. Disturbance observers for rigid mechanical
systems: equivalence, stability, and design. Journal of Dynamic Systems,
Measurement, and Control, 124(4):539–548, 2002.
[36] J. Shao, D. Nolan, and T. Hopkins. A novel direct back emf detection for
sensorless brushless dc (bldc) motor drives. In Applied Power Electronics
84
Conference and Exposition, 2002. APEC 2002. Seventeenth Annual IEEE,
volume 1, pages 33–37. IEEE, 2002.
[38] S. Wang and A.-C. Lee. A 12-step sensorless drive for brushless dc motors
based on back-emf differences. IEEE Transactions on Energy Conversion,
30(2):646–654, 2015.
[39] S. Wang, C.-H. Lu, and A.-C. Lee. Disturbance observer structure ap-
plied to sensorless brushless dc motors drive. International Journal of
Computer Theory and Engineering, 7(2):92, 2015.
85