Sei sulla pagina 1di 13

+Model

JESIT-139; No. of Pages 13 ARTICLE IN PRESS


Available online at www.sciencedirect.com

ScienceDirect
Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

Design and implementation methodology for rapid control


prototyping of closed loop speed control for BLDC motor
Devendra Potnuru a, , Alice Mary K. b , Saibabu Ch. c
a Dept. of Electrical & Electronics Engg., GMR Institute of Technology, Rajam, AP, India
b Dept. of Electrical & Electronics Engg., Gudlavalleru Engineering College, Gudlavalleru, AP, India
c Dept. of Electrical & Electronics Engg., Jawaharlal Nehru Technological University Kakinada, Kakinada, AP, India
Received 3 March 2016; received in revised form 4 November 2016; accepted 5 December 2016

Abstract
This paper deals with rapid control prototyping implementation of closed loop speed control for a Brushless dc (BLDC) motor
drive using dSPACE DS1103 controller board. Generally control algorithms which are developed for the motor drive might show
good simulation results during steady state and transient conditions; however real-time performance of the drive greatly depends
on execution of real time control software, speed and position measurements and data acquisition. The real challenge of hardware
implementation lies in selecting appropriate hardware equipment and perfect configuration of the equipment with controller board.
The dSPACE DS1103 controller board is suitable for high performance electric motor control as it has flexibility of converting the
MATLAB/Simulink blocks into DSP enabled embedded code. In this paper a detailed procedure to effectively control the BLDC
motor drive in real-time is presented.
2016 Electronics Research Institute (ERI). Production and hosting by Elsevier B.V. This is an open access article under the CC
BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).

Keywords: BLDC motor; Rapid control prototyping; dSPACE; DS1103

1. Introduction

Electrical drives are important mechanical energy source component in all industrial, commercial and residential
applications such as pumps, fans, mills, conveyer belts, elevators, riders, compressors, packaging equipment and many
others (Bose, 2005; Hughes, 2013). These systems consume approximately 35% of generated electrical power through-
out the world. Hence demand for energy efficient, less maintenance, good speed range, less noisy, high power,higher
torque density and cost effective electric motor drives are emerging in the market (Bose, 2005; Gim, 1995; Jayaram,
2009; de Almeida et al., 2014; Bist et al., 2014; Bist and Singh, 2013). Nowadays, the Brushless DC (BLDC) motor

Corresponding author.
E-mail addresses: devendra.p@gmrit.org (D. Potnuru), k.alicemary@gmail.com (A.M. K.), chs eee@yahoo.co.in (S. Ch.).
Peer review under the responsibility of Electronics Research Institute (ERI).

http://dx.doi.org/10.1016/j.jesit.2016.12.005
2314-7172/ 2016 Electronics Research Institute (ERI). Production and hosting by Elsevier B.V. This is an open access article under the CC
BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
2 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

has given tough competition to the existing motors due to its superior characteristics like higher toque by current ratio,
power density, speed range and noise less operation (Xie et al., 2013; Aydogmus and Snter, 2012; Gargouri, 2012;
Karthikeyan and Sekaran, 2011; Shehata, 2013). The three phase BLDC motors are increasingly being used in many
industrial applications and more importantly in automotives over the past several years to reduce the carbon dioxide
emissions, fuel consumption and control complexity.
The BLDC motor is a combination of a permanent magnet synchronous motor, a solid state inverter, electronic
control circuitry and rotor position sensors (Singh and Bist, 2013; Kim and Youn, 2002). The inverter together with its
control unit and rotor position sensor of BLDC motor imitates the mechanical commutation of DC motor and which
is named as electronic commutation (Pillay and Krishnan, 1989; Pillay and Krishnan, 1988). There are basically two
categories of BLDC motor viz. permanent magnet synchronous motor (PMSM) and BLDC motors depending on their
back-emf wave shape. The one which has six-step trapezoidal wave shape is called as BLDC motors in which stator
consists of three phase concentrated winding and rotor with permanent magnets and the PMSM has sinusoidal back-emf
where in stator consists of three phase distributed winding and rotor with permanent magnets (Pillay and Krishnan,
1989). To improve the performance of the drive, the researchers are mainly concentrating on speed control methods,
torque ripple minimization, inverter topologies and design of the front converters (Xie et al., 2013; Aydogmus and
Snter, 2012; Gargouri, 2012; Yildiz, 2012; Liu et al., 2010; Lee and Noh, 2011; Im et al., 2010; Baratam et al., 2014;
Pan et al., 2015; Shao et al., 2003; Wang and Liu, 2009; Moseler and Isermann, 2000; Potnuru et al., 2016). Further
to reduce the testing time, the rapid control prototyping plays, a greater role in designing the control strategies and
interfacing to the existing electronic control unit. The rapid control prototyping is a process where in the mathematical
models developed in MATLAB/Simulink can be easily imported on the real-time computer, with the RTI (Real Time
Interface) blocks to connect the real-world systems.
A significant amount of work has been done on digital control of BLDC motor drive. The concept of an integrated
environment for rapid control prototyping for BLDC motor using Fuzzy controller given by Rubaai et al. (2008),
design methodology for industrial control systems using FPGA is given by Monmasson and Cirstea (2007) and
rapid control prototyping development of BLDC motor using DS1103 in Rubaai et al. (2006). At present dSPACE
DS1104, dSPACE DS1103 and opal-RT are the famous hardware and real-time software tools which operate through
MATLAB/Simulink interface programming for rapid control prototyping (Vasca and Iannelli, 2013). However they
differ in the number of ADC and DAC ports, internal memory and number of input/output ports etc. The cost involved
in Opal-RT implementation for rapid control prototyping is slightly higher for similar facilities. One can read (Anon,
2016) for comparison of the specifications of the DS1104 and DS1103 boards.
However, the detailed design and development methodology of Rapid Control Prototype implementation for speed
control BLDC motor drive is not available to the authors knowledge in the existing literature. As the real challenge of
hardware implementation lies in selecting appropriate hardware equipment and perfect configuration of the equipment
with controller board.
The present paper deals with description of various hardware implementation aspects of BLDC drive control
and creating an experimental test bed in the laboratory using dSPACE DS1103 controller board. The DS1103 has
greater flexibility in converting the MATLAB/Simulink blocks into to the real-time DSP enabled embedded code.
The embedded code can be dumped in to the DSP processor provided in the DS1103 board and to control power
electronic devices. The Real-Time Interference (RTI) provided in dSPACE is a link between the software development
and dSPACE hardware which is a necessary criteria for faster and accurate speed response. Moreover, on-line data
acquisition and monitoring could be done using dSPACE control desk software. If any function modifications are
desirable during the test, it can simply be corrected in the MATLAB/Simulink, and flash it to hardware again (Ghaffari,
2012; Quijano et al., 2002; El Beid and Doubabi, 2014; Monti et al., 2003). The dSPACE rapid prototyping system can
be a substitute to any controller during the development process and its advantages are: (i) online modification of the
model; (ii) the executed model parameters can be read and updated online; (iii) and model quantity is accessible during
the execution time. These advantages enable the researches and engineers to test and iterate their control algorithms
in less time.

2. Drive scheme

The overall three-phase BLDC motor drive scheme is shown in Fig. 1. The shaft speed of motor is measured using
an incremental encoder and is compared with a reference speed and the speed error is fed to PID speed controller.

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx 3

Fig. 1. BLDC motor drive scheme.

Further, torque reference is obtained by restricting the output of PID controller using a limiter. Based on load torque
requirement the reference current generator produces the reference currents ia , ib and ic and these values are actually
being obtained by scaling the torque reference T with kt and it is nothing but ia = ib = ic = T /kt . For uniform torque
control, the stator winding need to be excited based rotor position at six discrete positions. Therefore, the current exactly
follows the flat portion of trapezoidal shaped back-EMF waveform to obtain uniform torque. The torque and speed
control of this drive is considered as two-phase turn on control by inverter and hence it will work like dc separately
excited motor. Now these reference currents and actual stator phase currents are compared in the hysteresis controller,
then the hysteresis current controller generates control signals to turn on the inverter switches (Pillay and Krishnan,
1988; Krishnan, 2009).

3. Modeling of BLDC motor

In this subsection, modeling of BLDC motor is described and is based on five state variables viz. three stator phase
currents (ia ,ib ,ic ), speed (m ), and rotor position (r ). The Eqs. (1)(5) are the dynamic state equations (Lee and Ehsani,
2003) and developed based on following assumptions, such as iron and stray losses are neglected and induced currents
in the rotor due to stator harmonic fields are being neglected (Pillay and Krishnan, 1988; Krishnan, 2009; Han et al.,
2008; Pillay and Krishnan, 1991; Lee and Ehsani, 2003).
dia 1  
= vas Rs ia kp m eas (r ) (1)
dt LM
dib 1  
= vbs Rs ib kp m ebs (r ) (2)
dt LM
dic 1  
= vcs Rs ic kp m ecs (r ) (3)
dt LM
dm B 1
= (m ) (Te Tl ) (4)
dt J J
dr P
= [m ] (5)
dt 2
where eas (r ) is function of rotor angular position (in radians/second) with magnitude as shown in Fig. 2 and is
represented mathematically in (6), however the same can be extended for ebs (r ) and ecs (r ). Further vas , vbs and
vcs are the phase voltages fed to the stator of BLDC motor and similarly ia , ib and ic are stator phase currents, Te is

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
4 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

Fig. 2. Back-EMF and stator phase currents of BLDC motor for one cycle (Electrical).

electromagnetic torque, Tl is load torque and kp is back-EMF constant and its value is 2NlrBmax . Where B is flux
density, lr area of cross section of the conductor and N represents number of conductors.


(6E/) r ; 0 < r < /6





E; /6 < r < 5/6

eas (r ) = (6E/) r + 6E; 5/6 < r < 7/6 (6)





E; 7/6 < r < 11/6



(6E/) r 12E; 11/6 < r < 2

where J is the moment of Inertia, B is viscous friction coefficient, P the number of poles and p m is peak value of
the trapezoidal back-EMF and is denoted by in E.

4. Simulation of BLDC motor drive

In this section, simulation approach of BLDC motor drive is described and is consisting of following subsystems

(1) BLDC motor


(2) Speed controller (PID) block
(3) Inverter and hysteresis current controller block

4.1. BLDC motor

The overall block diagram of BLDC motor drive shown in Fig. 1 which consists of speed controller in outer loop and
current controller in the inner loop of the drive. The overall MATLAB/Simulink block diagram is shown in Fig. 3 where
in the inner current control loop is combined with the Inverter subsystem. The performance of the drive depends on the
tuning of PID controller gains for speed controller and more importantly the hysteresis current controller performance
in the inner loop. The time required for operation of inner current loop should be very much less than the outer speed
control loop in the design speed controller for any given motor drive. It is because of the electrical time constant (L/Rs )
of current loop is always lesser than the mechanical time constant (J/B) of speed control loop. The dynamic equations
from (1) to (5) are used for simulation of the BLDC motor.

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx 5

Fig. 3. Overall MATLAB/Simulink diagram of BLDC drive.

Table 1
Switching of inverter devices based on rotor position.
Interval Phase A Phase B Phase C

0 < < /6 s1 = 0;s2 = 0; s3 = 0;s4 =1 s5 = 1;s6 = 0


/6 < < /2 s1 =1;s2 = 0; s3 = 0;s4 =1 s5 = 0;s6 = 0
/2 < < 5/6 s1 = 1;s2 = 0; s3 = 0;s4 = 0 s5 = 0;s6 = 1
5/6 < < 7/6 s1 = 0;s2 = 0; s3 = 1;s4 =0 s5 = 0;s6 = 1
7/6 < < 9/6 s1 = 0;s2 = 1 s3 = 1; s4 =0 s5 = 0;s6 = 0
9/6 < < 11/6 s1 = 0;s2 = 1 s3 = 0;s4 =0 s5 = 1;s6 = 0
11/6 < < 2 s1 = 0;s2 = 0 s3 = 0;s4 =1 s5 = 1;s6 = 0

4.2. Speed controller

The PID controller is considered for speed control of BLDC motor drive and the output of the PID controller is
scaled by motor torque constant, Kt to obtain the maximum reference current Imax , which is used for reference current
generation in hysteresis current controller. The performance of speed controller is mainly depends on PID controller
gains and hence the tuning of the gains has been done through ZieglarNichols method for desired steady state error
of 20% with settling time less than 3 s.

4.3. Inverter and hysteresis current blocks

In the present work, Inverter implementation is combined with current controller subsystem. The hysteresis current
control technique is considered as the main current control strategy. It is due to fast dynamic performance during
the transient conditions. The equations from (7) to (14) are used for implementation of hysteresis current controller
together with inverter operation based on switching function concept where switching ON representing with 1 and
OFF is representing with 0. The switching logic is based onia (k), ia (k 1), slope of ia and rotor angular position
(). When ia (k) is positive

if (ia (k)) < LL)||((UL < ia (k) < LL) &(ia (k) > (ia (k 1)) then S1 = 1 (7)

if (ia (k)) > LL)||((LL < ia (k) < UL) &(ia (k) < (ia (k 1))) then S 2 = 1 (8)

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
6 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

Fig. 4. Overall drive for BLDC motor using DS1103 (Potnuru et al., 2016).

where LL and UL represent the lower and upper limits of the hysteresis current controller and similarly switching
control logic can be extended for the remaining two phases. The Inverter phase voltages are as given in Eqs. (9)(14)
and switching of inverter devices based on rotor position is shown in Table 1
da = [( > pi/6)( < 5pi/6)]S1 + [( > 7pi/6)( < 11pi/6)]S2 ; (9)
db = ( > 0) ( < pi/2)]S1 + ( > 5pi/6) ( < 9pi/6)]S1 + ( > 11pi/6)( < 2pi)S2 ; (10)
dc = ( > 0)( < pi/6)S1 + ( > pi/2)( < 7 pi/6)S2 + ( > 9pi/6) ( < 2pi)S1 ; (11)
va = 0.5Vdc da (12)
vb = 0.5Vdc db (13)
vc = 0.5Vdc dc (14)
where s1, s2 belongs to phase-A of stator winding. Similarly (s3,s4) and (s5,s6) are for switching Phase-B and Phase-C
respectively.

5. Hardware implementation

Hardware implementation of the presented work has been described in this subsection. The block diagram of
experimental test bed is as shown in Fig. 4 and it consists of following subsystems

1. BLDC motor with mechanical load arrangement and incremental Encoder


2. dSPACE DS1103 controller board
3. Voltage Source Inverter with Hall Effect based sensors for current, voltage measurements

5.1. BLDC motor with hall sensors/incremental encoder

A high performance tetra square wave type 3 hp brushless dc motor is considered for experimentation. In consists of
an inbuilt incremental encoder, hall position sensors for sensing the speed and position of the rotor. The Fig. 5 shows
the snapshot of BLDC motor drive used for experimentation whereas Fig. 6 shows the top view of the experimental
test bed established in the laboratory.

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx 7

Fig. 5. Snapshot of BLDC motor used in the present work.

Fig. 6. Experimental test bed for speed control of BLDC motor.

5.2. dSPACE DS1103 controller board

The rapid control prototyping implementation using dSPACE DS1103 is having greater flexibility of interfacing
MATLAB/Simulink functional blocks with real-time I/O block sets. The controller board consists of a high speed slave
DSP processor TMS320F240 and user-friendly configuration for generation Pulse Width Modulation (PWM) pulses,
incremental encoder, Analog-Digital Converter (ADC) and Digital-Analog Converter (DAC). The controller boarded
is provided with auxiliary connector panel CLP1103 of dSPACE which easily interfaces the controller board and the
external devices like sensors, encoder, inverter board etc (Anon, 2011).
The control algorithm/program is first developed in MATLAB/Simulink environment combined with the real-time
interface (RTI) blocks of dSPACE. Later the same MATLAB/Simulink blocks without BLDC motor model is converted
in to DSP supported code for real time implementation by using inbuilt command ctrl + B. Then the converted embedded
code is dumped on the DSP processor of control board for real time implementation. Data acquisition, generation plotter
layouts and monitor of control parameters can be done using control desk developer provided in the dSPACE. Moreover,
during the real time operation, the controller parameters can be monitored and tuned online through the control desk.
The development process involved in dSPACE is shown in Fig. 7 (Quijano et al., 2002).

5.3. Voltage Source Inverter

The intelligent power module (IPM) with hybrid IC-PM25RSB120 is used as a Voltage Source Inverter(VSI)
which is designed for power switching applications operating at frequencies up to 20 kHz with built-in control circuits
provide optimum gate drive and protection for the IGBTs. It has ratings of 1200 V, 25 A with integrated thermal load,
short-circuit, under voltage lockout protection systems. The IPM is nowadays replacing the conventional bulky and

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
8 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

Fig. 7. Typical dSPACE implementation process (Quijano et al., 2002).

Fig. 8. interfacing of incremental encoder with DS1103.

Fig. 9. Interfacing of Current sensor with DS1103.

expensive Inverter by providing interface with optocoupled transistors with a minimum of external components. The
Voltage Source Inverter is fed with a three phase diode bridge rectifier for getting the DC input voltage. A capacitor
filter is connected across the bridge rectifier to remove AC ripples in the output. The Fig. 8 shows the interfacing of
incremental encoder with dSPACE controller and similarly Fig. 9 shows interfacing of current sensors.

5.4. Interfacing of incremental encoder

Interfacing of incremental encoder with controller board is as shown in Fig. 6 and which is used for obtaining the
speed and position of the BLDC motor drive. The RTI block, DS1103ENC POS C1 used for interfacing the encoder
with the controller board and is consisting of two channels. First channel is used for accessing rotor angular position

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx 9

information and whereas second channel is used for accessing the rotor. Now the position data in degrees need to be
converted into radians (in electrical) as shown in Fig. 8 in which delta pos (deg) is first scaled to encoder tics, and
then divided by sampling time Ts, where Ts is a fixed step time value used to obtain the speed of the motor.

5.5. Interfacing of current sensor

The connector panel of dSPACE CLP DS1103 consists of 16 ADC (Analog to Digital Control) channels and in
which any three channels can be used for the measurement of three phase currents. As the voltage level of each input
signal is scaled down by 10 by the dSPACE ADC RTI blocks and hence output of the ADC block should be multiplied
with 10 for getting the actual signal. The offset voltage generally is given by the Hall Effect current transducer need to
be removed. Further, the value of the current should be multiplied with appropriate gain to obtained correct value of
current measurement.
However, the gain and offset values should be obtained using extensive measurements using actual ammeter and
dSPACE provided measurement block. Interfacing of current sensor with the DS1103 controller for phase-A is shown
in Fig. 9. The DS1103ADC C17 block is an Analog to Digital Converter (ADC) RTI block used to sense the phase
current of the motor which is placed in MATLAB/Simulink model by drag and drop and then the channel number is
selected. Now in this case channel 17 is selected. As the dSPACE scale down the physical signal of [10 10] range to
[1 1] range, the scaled physical signal is corrected my multiplying with 10. Then the noise of physical signal may
be filtered using appropriate filter. In this case a low pass filter with gains A, B, C and D are selected as 200, 200,
1 and 0 respectively. Further, DS1103ADC C17 block is mapped to Hall Effect based current sensor, so the sensor
characteristics and actual measurements need to be calibrated. In this case, the constant block is used for removing
offset voltage of the current sensor and then final value is obtained by multiplying with appropriate gain. Fig. 10 shows
the overall dSPACE digital implementation diagram in closed loop control of the BLDC motor drive.

6. Experimental results and analysis

6.1. Scenario-1: step speed command

In order to check performance of the proposed speed control using dSPACE DS1103 controller, various test runs
form very low speeds to high speeds also with different types of reference speeds have been performed on BLDC
motor. Fig. 11(a) shows the actual speed of the motor for command speed of 15 rpm and it is observed that motor
tracks reference speed with negligible speed error as illustrated in speed error plot as shown subplot of Fig. 11(a). Now
Fig. 11(b) shows the corresponding rotor position when motor is running at 15 rpm.
The performance of the drive also is tested at 100 rpm for step change in speed and also for sinusoidal reference
speeds. The Fig. 12(a) shows the actual speed of the motor at reference speed of 100 rpm step and one can observe that
the motor tracks the set speed with negligible speed error. Fig. 12(b) shows the corresponding rotor position at 100 rpm
and it is a zoomed view from 4.5 s to 8 s and corresponding duty ratios during this period is depicted Fig. 12(c).

6.2. Scenario-2: sinusoidal speed command

The dynamic performance of the drive has been validated at sinusoidal command speed. The Fig. 13(a) shows the
actual speed of the motor for sinusoidal command speed which consists of offset of 100 rpm and frequency of 1 rad/s.
The speed error is also illustrated for corresponding closed loop speed control and is calculated with respect to the
command speed. The detailed view of rotor position as well as duty ratios from 6 s to 12 s is shown in Fig. 13(b) and
(c) respectively.

6.3. Scenario-3: ramp command speed

The reference speeds of 1500 rpm and also 2500 rpm are considered for high speed operation of the drive with ramp
reference in order to check the drive performance from zero speed to very high speed. The performance of the drive for
1500 rpm is shown in Fig. 14(a) and (b). The Fig. 15(a) shows the actual speed of the motor for a given command speed

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
10 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

Fig. 10. Overall dSPACE implementation in closed loop control of the BLDC motor drive.

Fig. 11. (a) Motor runs at 15 rpm. (b) Motor runs at 15 rpm.

of 2500 rpm and corresponding error plot is shown in Fig. 15(b). It is observed that motor tracts the reference speed
with negligible speed error even for high speed operation and steady state error is 1% and negligible peak overshoot.
The performance of closed loop speed control form high speed to low speed as shown in Table 2 where in the
absolute mean error is slightly increasing from low speed to high speed and maximum error is less than 5% for higher
speeds.

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx 11

Fig. 12. (a) Speed with step command at 100 rpm. (b) Rotor position at 100 rpm step command. (c) Duty ratio at 100 rpm step command speed.

Fig. 13. (a) Speed at sinusoidal command speed. (b) Position at sinusoidal reference speed. (c) Duty ratio at Sinusoid command.

Fig. 14. (a) Actual speed at 1500 rpm. (b) Rotor position (zoomed view).

Fig. 15. (a) Actual speed with set speed of 2500 rpm. (b) Rotor position (zoomed view).

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
12 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx

Table 2
Speed error in closed loop control.
Command speed Absolute mean error

15 rpm 0.6035
50 rpm 1.2193
100 rpm 2.5126
1000 rpm 4.8262
1500 rpm 5.2811
2500 rpm 6.2692

7. Conclusion

Rapid control prototyping implementation for closed loop speed control of a BLDC motor drive using dSPACE
DS1103 controller board has been considered. The developed scheme has been successfully tested from very low speed
of 15 rpm to high speed of 2500 rpm. The effectiveness of the presented approach has been studied for various reference
speeds. It is observed that in all the cases the performance of the proposed approach has shown good results. The main
advantage of the present work is that it reduces the testing time of proposed control algorithm for BLDC motor and
one can use similar procedure for any other electrical machine. Therefore, it can be conclude that implementation of
rapid control prototyping scheme for speed control of BLDC motor using dSPACE DS1103 reduces the time and effort
of experimentation.

References

DS1103 PPC Controller Board manual. 2011:290295. https://www.dspace.com/shared/data/pdf/2014/DS1103.pdfK.


Advanced Control Education Kit-Industry-proven tools for your labA special offer for universities dSPACE.
http://robin2.r.uni-mb.si/predmeti/seminar 1/teme/ales/ace01-e.pdf.
Aydogmus, O., Snter, S., 2012. Implementation of EKF based sensorless drive system using vector controlled PMSM fed by a matrix converter.
Int. J. Electr. Power Energy Syst. 43, 736743, http://dx.doi.org/10.1016/j.ijepes.2012.06.062.
Baratam, A., Karlapudy, A.M., Munagala, S., 2014. Implementation of thrust ripple reduction for a permanent magnet linear synchronous motor
using an adaptive feed forward controller. J. Power Electron. 14, 687694.
Bist, V., Singh, B., 2013. A reduced sensor PFC BL-Zeta converter based VSI fed BLDC motor drive. Electr. Power Syst. Res. 98, 1118,
http://dx.doi.org/10.1016/j.epsr.2013.01.006.
Bist, V., Member, S., Singh, B., 2014. A brushless DC motor drive with power factor correction using isolated zeta converter. IEEE Trans. Ind.
Inform. 10, 20642072.
Bose, B.K., 2005. Power electronics and motor drivestechnology advances, trends and applications. 2005 International Conference on Industrial
Technology, http://dx.doi.org/10.1109/ICIT.2005.1600874.
de Almeida, A.T., Ferreira, F.J.T.E., Baoming, G., 2014. Beyond induction motorstechnology trends to move up efficiency. IEEE Trans. Ind. Appl.
50, 21032114, http://dx.doi.org/10.1109/TIA.2013.2288425.
El Beid, S., Doubabi, S., 2014. DSP-based implementation of fuzzy output tracking control for a boost converter. IEEE Trans. Ind. Electron. 61,
196209, http://dx.doi.org/10.1109/tie.2013.2242413.
Gargouri, K., 2012. Electronic Commutator Direct Current (ECDC) machine. Int. J. Electr. Power Energy Syst. 42, 525532,
http://dx.doi.org/10.1016/j.ijepes.2012.03.014.
Ghaffari, A., 2012. dSPACE and Real-Time Interface in Simulink. http://flyingv.ucsd.edu/azad/dSPACE tutorial.pdf.
Gim, B., 1995. High Performance Sensorless Vector Control of Induction Motor Drives. Doctor.
Han, Q., Samoylenko, N., Jatskevich, J., 2008. Average-value modeling of brushless DC motors with 120 ; voltage source inverter. IEEE Trans.
Energy Convers. 23, 423432, http://dx.doi.org/10.1109/TEC.2008.918628.
Hughes, A., 2013. Electric Motors and Drives Fundamentals, Types and Applications, 3rd ed. Elsevier, pp. 1441,
http://dx.doi.org/10.1016/B978-0-08-098332-5.00001-2.
Im, W.S., Kim, J.P., Kim, J.M., Baek, K.R., 2010. Torque maximization control of 3-phase BLDC motors in the high speed region. J. Power Electron.
10, 717723, http://dx.doi.org/10.6113/JPE.2010.10.6.717.
Jayaram, 2009. Speed control of PMBLDC Motor using 8051 Microcontroller. M.Tech thesis.
Karthikeyan, J., Sekaran, R.D., 2011. Current control of brushless dc motor based on a common dc signal for space operated vehicles. Int. J. Electr.
Power Energy Syst. 33, 17211727, http://dx.doi.org/10.1016/j.ijepes.2011.08.014.
Kim, K.-H., Youn, M.-J., 2002. DSP-based high-speed sensorless control for a brushless DC motor using a DC link voltage control. Electr. Power
Compon. Syst. 30, 889906, http://dx.doi.org/10.1080/15325000290085190.
Krishnan, Ramu, 2009. Permanent Magnet Synchronous and Brushless DC Motor Drives. CRC Press.

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT-139; No. of Pages 13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2017) xxxxxx 13

Lee, B.-K., Ehsani, M., 2003. Advanced simulation model for brushless DC motor drives. Electr. Power Compon. Syst. 31, 841868,
http://dx.doi.org/10.1080/15325000390227191.
Lee, H.-I., Noh, M.D., 2011. Optimal design of radial-flux toroidally wound brushless DC machines. IEEE Trans. Ind. Electron. 58, 444449,
http://dx.doi.org/10.1109/TIE.2010.2054052.
Liu, C., Chau, K.T., Li, W., 2010. Comparison of fault-tolerant operations for permanent-magnet. IEEE Trans. Magn. 46, 13781381.
Monmasson, E., Cirstea, M.N., 2007. FPGA design methodology for industrial control systemsa review. IEEE Trans. Ind. Electron. 54, 18241842,
http://dx.doi.org/10.1109/TIE.2007.898281.
Monti, A., Santi, E., Dougal, R.A., Riva, M., 2003. Rapid prototyping of digital controls for power electronics. IEEE Trans. Power Electron. 18,
915923, http://dx.doi.org/10.1109/TPEL.2003.810864.
Moseler, O., Isermann, R., 2000. Application of model-based fault detection to a brushless DC motor. IEEE Trans. Ind. Electron. 47, 10151020,
http://dx.doi.org/10.1109/41.873209.
Pan, L., Sun, H., Wang, B., Su, G., Wang, X., Peng, G., 2015. Torque ripple suppression method for BLDCM drive based on four-switch three-phase
inverter. J. Power Electron. 15, 974986, http://dx.doi.org/10.6113/JPE.2015.15.4.974.
Pillay, P., Krishnan, R., 1988. Modeling of permanent magnet motor drives. IEEE Trans. Ind. Electron. 35, 537541,
http://dx.doi.org/10.1109/41.9176.
Pillay, P., Krishnan, R., 1989. Modeling, simulation, and analysis of permanent-magnet motor drives. II. The brushless DC motor drive. IEEE Trans.
Ind. Appl. 25, 274279, http://dx.doi.org/10.1109/28.25542.
Pillay, P., Krishnan, R., 1991. Application characteristics of permanent magnet synchronous and brushless DC motors for servo drives. IEEE Trans.
Ind. Appl. 27, 986996, http://dx.doi.org/10.1109/28.90357.
Potnuru, Devendra, Bharani Chandra, Kumar Pakki, Arasaratnam, Ienkaran, Gu, Da-Wei, Ksas, Alice Mary, Ch, Sai Babu, 2016.
Derivative-free square-root cubature Kalman filter for non-linear brushless DC motors. IET Electr. Power Appl. 10, 419429,
http://dx.doi.org/10.1049/iet-epa.2015.0414.
Quijano, N., Passino, K., Jogi, S., 2002. A Tutorial Introduction to Control Systems Development and Implementation with dSPACE. Tutorial, Ohio
State Univ.
Rubaai, A., Ofoli, A., Castro, M., 2006. dSPACE DSP-based rapid prototyping of fuzzy PID controls for high performance brushless servo drives.
IEEE Ind. Appl. Soc. 3, 13601364, http://dx.doi.org/10.1109/IAS.2006.256707.
Rubaai, A., Castro-Sitiriche, M.J., Ofoli, A.R., 2008. Design and implementation of parallel fuzzy PID controller for high-
performance brushless motor drives: an integrated environment for rapid control prototyping. IEEE Trans. Ind. Appl. 44, 10901098,
http://dx.doi.org/10.1109/TIA.2008.926059.
Shao, J., Nolan, D., Teissier, M., Swanson, D., 2003. A novel microcontroller-based sensorless brushless DC (BLDC) motor drive for automotive
fuel pumps. IEEE Trans. Ind. Appl. 39, 17341740, http://dx.doi.org/10.1109/TIA.2003.818973.
Shehata, E.G., 2013. Speed sensorless torque control of an IPMSM drive with online stator resistance estimation using reduced order EKF. Int. J.
Electr. Power Energy Syst. 47, 378386, http://dx.doi.org/10.1016/j.ijepes.2012.10.068.
Singh, B., Bist, V., 2013. A reduced sensor power factor corrected bridgeless flyback converter fed brushless DC motor drive. Electr. Power Compon.
Syst. 41, 11141128, http://dx.doi.org/10.1080/15325008.2013.809821.
Vasca, F., Iannelli, L., 2013. Dynamics and Control of Switched Electronic Systems. vol. 53. 10.1017/CBO9781107415324.004.
Wang, H.-B., Liu, H.-P., 2009. A novel sensorless control method for brushless DC motor. IET Electr. Power Appl. 3, 240246.
Xie, C., Ogden, J.M., Quan, S., Chen, Q., 2013. Optimal power management for fuel cell-battery full hybrid powertrain on a test station. Int. J.
Electr. Power Energy Syst. 53, 307320, http://dx.doi.org/10.1016/j.ijepes.2013.05.016.
Yildiz, A.B., 2012. Electrical equivalent circuit based modeling and analysis of direct current motors. Int. J. Electr. Power Energy Syst. 43, 10431047,
http://dx.doi.org/10.1016/j.ijepes.2012.06.063.

Please cite this article in press as: Potnuru, D., et al., Design and implementation methodology for rapid control prototyping of
closed loop speed control for BLDC motor. J. Electr. Syst. Inform. Technol. (2017), http://dx.doi.org/10.1016/j.jesit.2016.12.005

Potrebbero piacerti anche