TorqueController IREE Ver3
TorqueController IREE Ver3
net/publication/290728509
CITATIONS READS
8 6,529
3 authors:
Abolfazl Vahedi
Iran University of Science and Technology
231 PUBLICATIONS 2,257 CITATIONS
SEE PROFILE
All content following this page was uploaded by Abolfazl Halvaei on 15 March 2016.
Abstract – Brushless DC (BLDC) motor is attracting much interest due to its high efficiency,
good performance and ease of control for many applications. This paper presents the design and
implementation of a torque controller for a Brushless DC motor drive using the TMS320LF2407A
digital signal processor (DSP) produced by Texas Instruments. Firstly, a theoretical analysis of a
BLDC motor drive is presented and the validity of the proposed analysis is verified by simulation.
The torque is controlled via current regulation directly. Then, hardware and software details of
the system are explored. Finally, an experimental system included by a BLDC motor, DSP control
board, inverters, rectifier is set up to validate the theoretical ones.
Nomenclature I. Introduction
B: Damping
ea : Back-EMF voltage of phase A Recent development in permanent magnet (PM)
materials, power electronics, fast digital signal
eb : Back- emf voltage of phase B processors (DSPs) and modern control technologies
ec : Back- emf voltage of phase C have significantly influenced the wide spread use of
E: Magnitude of phase back- emf voltage permanent magnet brushless (PMBL) motor drives in
ia : Current of phase A order to meet the competitive worldwide market
ib : Current of phase B demands of devices, products and processors. The
ic :
availability of smart power electronics devices and their
Current of phase C
optimal topologies has accelerated the growth of cost
idc : DC-link current effective and reliable inverter systems. Software
iref : DC-link reference current controlled on-line implementation of optimal controllers
J: Moment inertia has advanced the art of digital control of PMBL motor
Ke : Back-EMF voltage constant drives [1].
Kt : Motor drives are traditionally designed with
Torque constant
relatively inexpensive analog components. The
L: Phase inductance
weakness of analog systems is their susceptibility to
M: Mutual inductance
temperature variations and component aging. Another
R: Phase resistance
drawback is the difficulty of upgrading these systems.
Te : Electromagnetic torque Digital control structures eliminate drifts and, by using
Ta : Developed electromagnetic torque of phase a programmable processor, the upgrades can be easily
A accomplished by software. The high performance of
Tb : Developed electromagnetic torque of phase digital signal processors (DSPs) allows them to perform
B high resolution control and minimize control loop
Tc : Developed electromagnetic torque of phase delays. These efficient controls make it possible to
C reduce torque ripple, harmonics and improve dynamic
TL : Load torque behavior in all speed ranges. Overall, these
TRef : Torque reference improvements result in a reduction of system cost and
va : Terminal voltage of phase A better reliability [2].
High efficiency due to reduced losses, low
vb : Terminal voltage of phase B maintenance and low rotor inertia of PM brushless
vc : Terminal voltage of phase C motors have increased the demand of these motors in
vdc : DC-link voltage high performance applications such as aerospace,
ωr : Rotor speed transportations and robotics. PM brushless motors are
SF1_x: Switching function of phase x (x=a,b,c) categorized into two groups: sinusoidal flux waveform
Manuscript received January 2007, revised January 2007, accepted February 2007 Copyright © 2007 Praise Worthy Prize - All rights reserved
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
E = K e ⋅ ωr (5)
II.1. Modeling of Three-Phase BLDC Motor
Brushless DC motor is controlled as easy as a separate-
BLDC motor has characteristics as like as a DC exited DC motor. Reference current is related to desired
motor, whereas it is controlled the same as AC motors. torque as:
Fig. 1 shows the three phase currents waveforms with
the trapezoidal back-EMF voltages of a BLDC motor TRe f = K t ⋅ I ref (6)
[6]. As shown, to generate constant output torque,
BLDC motor needs quasi square current waveforms,
which are synchronized with the back-EMF. The typical It means that the electromagnetic torque is controlled by
mathematical model of a three-phase BLDC motor is regulating the DC-link current.
described by the following equations:
a
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
[A]
0
three-phase BLDC motor drive. The inverter topology
is six-switch voltage-source configuration with constant -10
0 0.02 0.04 0.06 0.08 0.1
[A]
0
the current conduction states as shown in Fig. 1. The
three phase currents are controlled to take a form of -10
0 0.02 0.04 0.06 0.08 0.1
[A]
0
[V]
0
[V]
0
2
SF1a
-2
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
2
SF1b
-2
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
2
SF1c
-2
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
time (Sec)
Fig. 3. Basic configuration of trapezoidal BLDC motor drives with Fig. 5. Simulation results of brushless DC motor drive
DC-link current controlled
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
Return
Start
Fig. 10. GISR2 Interrupt service routine flowchart
System
Initialization
Protection
Subroutine V. Experimental Results
The experimental test bed as shown in Fig. 12 has
Read Initial Position: been designed and developed in the laboratory. The
1- Disable Capture unit functionality experimental setup consists of a 300 [W] Brushless DC
2- Set Capture pins as GPIO pins motor loaded with a Permanent Magnet DC generator.
3- Read Hall sensors states The rated parameters of the BLDC motor are
4- Enable Capture unit functionality
summarized in table I. The load is adjusted by the
resistor that is connected to the DC generator. The
IGBT switches are used for inverter where the
Waiting for
INT2 & INT4 Interrupts
switching frequency is 10 kHz. All waveforms are
captured via a storage digital oscilloscope. Fig. 13
shows the phase current waveforms and hall sensor of
N
INT2 ? phase A, when the motor operates at stable state and
Y maximum duty cycle. It coincide theoretical waveforms
Run GISR2
shown in Fig. 4. In Fig. 14, switching command of S1
IGBT, current of phase A and line voltage Vab are
shown at duty cycle 100%. Fig. 15 shows the line
N
INT4 ? voltages at duty cycle 100%. They are trapezoidal
Y
waveforms and the same as phase back-EMF voltage
but with constant region 60 degree. Fig. 16 shows the
Run GISR4
switch command of S1 and S2 IGBTs line voltage at
Run duty cycle 50%. The line voltages are as PWM
waveforms.
Fig. 9. System software flowchart
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
Capture Interrupt
(PIVR=33h,34h,35h)
Protection
Subroutine
Speed Calculation
via saved time by Timer 2
5
Ha
-5
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
2
TABLE I: RATED PARAMETERS OF THE BLDC MOTOR
ia [A]
-2
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
time (Sec)
Fig. 13. Phase current waveforms and H1 signal at duty cycle 100%
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
5
VI. Conclusion
The torque controller system of BLDC motor
Ha
0
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
which can be used in traction applications is studied in
5 this paper. The core of the driving system is the
TMS320F2407A chip. The main advantages are:
S1
-2
regulation is implemented via hysteresis control strategy
50
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
and sensing DC-link current. The simulated results
conforming the experimental results have validated the
V ab [V]
-50
models and algorithms developed in this research. The
0 0.01 0.02 0.03 0.04 0.05
Time (sec)
0.06 0.07 0.08 0.09 0.1
implementation through assembly language
programming of DSP has resulted in reduced hardware
Fig. 14. H1 signal, S1 switch command, phase A current and Vab voltage
at duty cycle 100% and fast response of the controller.
The proposed software is flexible and further
modifications in control structure are also possible by
changing the software. For example, implementing the
5
sensorless control of brushless DC motor drive can be
accomplished by capturing the zero crossing points of
Ha
-100
100
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
References
V bc [V]
0 Jersey, 1990)
[3] P. Pillay, R. Krishnan, Modeling, simulation, and analysis of
-100
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 permanent-magnet motor drives. I: The permanent-magnet
Time (Sec) synchronous Motor Drive, IEEE Transactions on Industry
Applications, vol. 25, No. 2, March/April 1989, pp. 265-273.
Fig. 15. H1 signal, line voltages at duty cycle 100%
[4] P. Pillay, R. Krishnan, Modeling, simulation, and analysis of
permanent-magnet motor drives. II: The Brushless DC Motor
Drive, IEEE Transactions on Industry. Applications, vol. 25, No.
2, March/April 1989, pp. 274-279.
[5] TMS320LFLC240xA DSP Controllers Reference Guide--
5 System and Peripherals, Literature Number: SPRU357B, (Texas
Instruments, Revised December 2001).
S1
[7] B.K. Lee and M. Ehsani Advanced BLDC Motor Drive for Low
0
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 Cost and High Performance Propulsion System in Electric and
100 Hybrid Vehicles, IEEE 2001 International Electric Machines
V ab [V]
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x
H. Moghbeli, A. Vahedi and A. Halvaei Niasar
Authors’ information
Copyright © 2007 Praise Worthy Prize - All rights reserved International Review of Electrical Engineering, Vol. xx, n. x