Design of BLDC

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

+Model

JESIT 139 1–13 ARTICLE IN PRESS


Available online at www.sciencedirect.com

ScienceDirect
Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

1 Design and implementation methodology for rapid control


2 prototyping of closed loop speed control for BLDC motor
3 Q1 Devendra Potnuru a,∗ , Alice Mary K. b , Saibabu Ch. c
Q2 a Dept. of Electrical & Electronics Engg., GMR Institute of Technology, Rajam, AP, India
4
Q3 b Dept. of Electrical & Electronics Engg., Gudlavalleru Engineering College, Gudlavalleru, AP, India
5
6
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

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

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


20

21 1. Introduction

22 Q4
Q5 Electrical drives are important mechanical energy source component in all industrial, commercial and residential
23 applications such as pumps, fans, mills, conveyer belts, elevators, riders, compressors, packaging equipment and many
24 others (Bose, 2005; Hughes, 2013). These systems consume approximately 35% of generated electrical power through-
25 out the world. Hence demand for energy efficient, less maintenance, good speed range, less noisy, high power,higher
26 torque density and cost effective electric motor drives are emerging in the market (Bose, 2005; Gim, 1995; Jayaram,
27 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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
2 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

Fig. 1. BLDC motor drive scheme.

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

28 has given tough competition to the existing motors due to its superior characteristics like higher toque by current ratio,
29 power density, speed range and noise less operation (Xie et al., 2013; Aydogmus and Sünter, 2012; Gargouri, 2012;
30 Karthikeyan and Sekaran, 2011; Shehata, 2013). The three phase BLDC motors are increasingly being used in many
31 industrial applications and more importantly in automotives over the past several years to reduce the carbon dioxide
32 emissions, fuel consumption and control complexity.
33 The BLDC motor is a combination of a permanent magnet synchronous motor, a solid state inverter, electronic
34 control circuitry and rotor position sensors (Singh and Bist, 2013; Kim and Youn, 2002). The inverter together with its
35 control unit and rotor position sensor of BLDC motor imitates the mechanical commutation of DC motor and which
36 is named as electronic commutation (Pillay and Krishnan, 1989; Pillay and Krishnan, 1988). There are basically two
37 categories of BLDC motor viz. permanent magnet synchronous motor (PMSM) and BLDC motors depending on their
38 back-emf wave shape. The one which has six-step trapezoidal wave shape is called as BLDC motors in which stator
39 consists of three phase concentrated winding and rotor with permanent magnets and the PMSM has sinusoidal back-emf
40 where in stator consists of three phase distributed winding and rotor with permanent magnets (Pillay and Krishnan,
41 1989). To improve the performance of the drive, the researchers are mainly concentrating on speed control methods,
42 torque ripple minimization, inverter topologies and design of the front converters (Xie et al., 2013; Aydogmus and
43 Sünter, 2012; Gargouri, 2012; Yildiz, 2012; Liu et al., 2010; Lee and Noh, 2011; Im et al., 2010; Baratam et al., 2014;

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx 3

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

Table 1
Q11 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

44 Pan et al., 2015; Shao et al., 2003; Wang and Liu, 2009; Moseler and Isermann, 2000; Potnuru et al., 2016). Further
45 to reduce the testing time, the rapid control prototyping plays, a greater role in designing the control strategies and
46 interfacing to the existing electronic control unit. The rapid control prototyping is a process where in the mathematical
47 models developed in MATLAB/Simulink can be easily imported on the real-time computer, with the RTI (Real Time
48 Interface) blocks to connect the real-world systems.
49 A significant amount of work has been done on digital control of BLDC motor drive. The concept of an integrated
50 environment for rapid control prototyping for BLDC motor using Fuzzy controller given by Rubaai et al. (2008),
51 design methodology for industrial control systems using FPGA is given by Monmasson and Cirstea (2007) and
52 rapid control prototyping development of BLDC motor using DS1103 in Rubaai et al. (2006). At present dSPACE
53 DS1104, dSPACE DS1103 and opal-RT are the famous hardware and real-time software tools which operate through
54 MATLAB/Simulink interface programming for rapid control prototyping (Vasca and Iannelli, 2013). However they
55 differ in the number of ADC and DAC ports, internal memory and number of input/output ports etc. The cost involved
56 in Opal-RT implementation for rapid control prototyping is slightly higher for similar facilities. One can read (Anon,
57 2016) for comparison of the specifications of the DS1104 and DS1103 boards.
58 However, the detailed design and development methodology of Rapid Control Prototype implementation for speed
59 control BLDC motor drive is not available to the authors’ knowledge in the existing literature. As the real challenge of
60 hardware implementation lies in selecting appropriate hardware equipment and perfect configuration of the equipment
61 with controller board.
62 The present paper deals with description of various hardware implementation aspects of BLDC drive control
63 and creating an experimental test bed in the laboratory using dSPACE DS1103 controller board. The DS1103 has
64 greater flexibility in converting the MATLAB/Simulink blocks into to the real-time DSP enabled embedded code.
65 The embedded code can be dumped in to the DSP processor provided in the DS1103 board and to control power

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
4 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

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

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

66 electronic devices. The Real-Time Interference (RTI) provided in dSPACE is a link between the software development
67 and dSPACE hardware which is a necessary criteria for faster and accurate speed response. Moreover, on-line data
68 acquisition and monitoring could be done using dSPACE control desk software. If any function modifications are
69 desirable during the test, it can simply be corrected in the MATLAB/Simulink, and flash it to hardware again (Ghaffari,
70 2012; Quijano et al., 2002; El Beid and Doubabi, 2014; Monti et al., 2003). The dSPACE rapid prototyping system can
71 be a substitute to any controller during the development process and its advantages are: (i) online modification of the
72 model; (ii) the executed model parameters can be read and updated online; (iii) and model quantity is accessible during
73 the execution time. These advantages enable the researches and engineers to test and iterate their control algorithms
74 in less time.

75 2. Drive scheme

76 The overall three-phase BLDC motor drive scheme is shown in Fig. 1. The shaft speed of motor is measured using
77 an incremental encoder and is compared with a reference speed and the speed error is fed to PID speed controller.
78 Further, torque reference is obtained by restricting the output of PID controller using a limiter. Based on load torque
79 requirement the reference current generator produces the reference currents ia ∗ , ib ∗ and ic ∗ and these values are actually
80 being obtained by scaling the torque reference T ∗ with kt and it is nothing but ia ∗ = ib ∗ = ic ∗ = T ∗ /kt . For uniform torque
81 control, the stator winding need to be excited based rotor position at six discrete positions. Therefore, the current exactly

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx 5

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

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

82 follows the flat portion of trapezoidal shaped back-EMF waveform to obtain uniform torque. The torque and speed
83 control of this drive is considered as two-phase turn on control by inverter and hence it will work like dc separately
84 excited motor. Now these reference currents and actual stator phase currents are compared in the hysteresis controller,
85 then the hysteresis current controller generates control signals to turn on the inverter switches (Pillay and Krishnan,
86 1988; Krishnan, 2009).

87 3. Modeling of BLDC motor

88 In this subsection, modeling of BLDC motor is described and is based on five state variables viz. three stator phase
89 currents (ia ,ib ,ic ), speed (ωm ), and rotor position (θr ). The Eqs. (1)–(5) are the dynamic state equations (Lee and Ehsani,
90 2003) and developed based on following assumptions, such as iron and stray losses are neglected and induced currents
91 Q6 in the rotor due to stator harmonic fields are being neglected (Pillay and Krishnan, 1988; Krishnan, 2009; Han et al.,
92 2008; Pillay and Krishnan, 1991; Lee and Ehsani, 2003).
dia 1  
93 = vas − Rs ia − kp ωm eas (θr ) (1)
dt L−M

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
6 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

dib 1  
94 = vbs − Rs ib − kp ωm ebs (θr ) (2)
dt L−M
dic 1  
95 = vcs − Rs ic − kp ωm ecs (θr ) (3)
dt L−M
dωm −B 1
96 = (ωm ) − (Te − Tl ) (4)
dt J J
dθr P
97 = [ωm ] (5)
dt 2
98 where eas (θr ) is function of rotor angular position (in radians/second) with magnitude as shown in Fig. 2 and is
99 represented mathematically in (6), however the same can be extended for ebs (θr ) and ecs (θr ). Further vas , vbs and
100 vcs are the phase voltages fed to the stator of BLDC motor and similarly ia , ib and ic are stator phase currents, Te is
101 electromagnetic torque, Tl is load torque and kp is back-EMF constant and its value is 2NlrBmax . Where B is flux
102 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

103 eas (θr ) = − (6E/π) θr + 6E; 5π/6 < θr < 7π/6 (6)





⎪ −E; 7π/6 < θr < 11π/6



(6E/π) θr − 12E; 11π/6 < θr < 2π
104 where J is the moment of Inertia, B is viscous friction coefficient, P the number of poles and λp ωm is peak value of
105 the trapezoidal back-EMF and is denoted by in E.

106 4. Simulation of BLDC motor drive

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

108 (1) BLDC motor


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

111 4.1. BLDC motor

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

120 4.2. Speed controller

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

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx 7

Fig. 8. interfacing of incremental encoder with DS1103.

Fig. 9. Interfacing of Current sensor with DS1103.

126 4.3. Inverter and hysteresis current blocks

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

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

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

135 where LL and UL represent the lower and upper limits of the hysteresis current controller and similarly switching
136 control logic can be extended for the remaining two phases. The Inverter phase voltages are as given in Eqs. (9)–(14)
137 and switching of inverter devices based on rotor position is shown in Table 1

138 da = [(θ > pi/6)(θ < 5pi/6)]S1 + [(θ > 7pi/6)(θ < 11pi/6)]S2 ; (9)

139 db = (θ > 0) (θ < pi/2)]S1 + (θ > 5pi/6) (θ < 9pi/6)]S1 + (θ > 11pi/6)(θ < 2pi)S2 ; (10)

140 dc = (θ > 0)(θ < pi/6)S1 + (θ > pi/2)(θ < 7 ∗ pi/6)S2 + (θ > 9pi/6) ∗ (θ < 2pi)S1 ; (11)

141 va = 0.5Vdc · da (12)

142 vb = 0.5Vdc · db (13)

143 vc = 0.5Vdc · dc (14)

144 where s1, s2 belongs to phase-A of stator winding. Similarly (s3,s4) and (s5,s6) are for switching Phase-B and Phase-C
145 respectively.

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
8 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

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

146 5. Hardware implementation

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

149 1. BLDC motor with mechanical load arrangement and incremental Encoder
150 2. dSPACE DS1103 controller board
151 3. Voltage Source Inverter with Hall Effect based sensors for current, voltage measurements

152 5.1. BLDC motor with hall sensors/incremental encoder

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

157 5.2. dSPACE DS1103 controller board

158 The rapid control prototyping implementation using dSPACE DS1103 is having greater flexibility of interfacing
159 MATLAB/Simulink functional blocks with real-time I/O block sets. The controller board consists of a high speed slave

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx 9

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

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.

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

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
10 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

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

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

171 5.3. Voltage Source Inverter

172 The intelligent power module (IPM) with hybrid IC-PM25RSB120 is used as a Voltage Source Inverter(VSI)
173 which is designed for power switching applications operating at frequencies up to 20 kHz with built-in control circuits
174 provide optimum gate drive and protection for the IGBTs. It has ratings of 1200 V, 25 A with integrated thermal load,
175 short-circuit, under voltage lockout protection systems. The IPM is nowadays replacing the conventional bulky and
176 expensive Inverter by providing interface with optocoupled transistors with a minimum of external components. The
177 Voltage Source Inverter is fed with a three phase diode bridge rectifier for getting the DC input voltage. A capacitor
178 filter is connected across the bridge rectifier to remove AC ripples in the output. The Fig. 8 shows the interfacing of
179 incremental encoder with dSPACE controller and similarly Fig. 9 shows interfacing of current sensors.

180 5.4. Interfacing of incremental encoder

181 Interfacing of incremental encoder with controller board is as shown in Fig. 6 and which is used for obtaining the
182 speed and position of the BLDC motor drive. The RTI block, DS1103ENC POS C1 used for interfacing the encoder
183 with the controller board and is consisting of two channels. First channel is used for accessing rotor angular position
184 information and whereas second channel is used for accessing the rotor. Now the position data in degrees need to be
185 converted into radians (in electrical) as shown in Fig. 8 in which “delta pos (deg) is first scaled to encoder tics, and
186 then divided by sampling time Ts, where Ts is a fixed step time value used to obtain the speed of the motor.

187 5.5. Interfacing of current sensor

188 The connector panel of dSPACE CLP DS1103 consists of 16 ADC (Analog to Digital Control) channels and in
189 which any three channels can be used for the measurement of three phase currents. As the voltage level of each input
190 signal is scaled down by 10 by the dSPACE ADC RTI blocks and hence output of the ADC block should be multiplied
191 with 10 for getting the actual signal. The offset voltage generally is given by the Hall Effect current transducer need to
192 be removed. Further, the value of the current should be multiplied with appropriate gain to obtained correct value of
193 current measurement.

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx 11

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

194 However, the gain and offset values should be obtained using extensive measurements using actual ammeter and
195 dSPACE provided measurement block. Interfacing of current sensor with the DS1103 controller for phase-A is shown
196 in Fig. 9. The DS1103ADC C17 block is an Analog to Digital Converter (ADC) RTI block used to sense the phase
197 current of the motor which is placed in MATLAB/Simulink model by drag and drop and then the channel number is
198 selected. Now in this case channel 17 is selected. As the dSPACE scale down the physical signal of [−10 10] range to
199 [–1 1] range, the scaled physical signal is corrected my multiplying with ‘10’. Then the noise of physical signal may
200Q7 be filtered using appropriate filter. In this case a low pass filter with gains A, B, C and D are selected as 200, −200,
201 1 and 0 respectively. Further, DS1103ADC C17 block is mapped to Hall Effect based current sensor, so the sensor
202 characteristics and actual measurements need to be calibrated. In this case, the constant block is used for removing
203 offset voltage of the current sensor and then final value is obtained by multiplying with appropriate gain. Fig. 10 shows
204 the overall dSPACE digital implementation diagram in closed loop control of the BLDC motor drive.

205 6. Experimental results and analysis

206 6.1. Scenario-1: step speed command

207 In order to check performance of the proposed speed control using dSPACE DS1103 controller, various test runs
208 form very low speeds to high speeds also with different types of reference speeds have been performed on BLDC
209 motor. Fig. 11(a) shows the actual speed of the motor for command speed of 15 rpm and it is observed that motor
210 tracks reference speed with negligible speed error as illustrated in speed error plot as shown subplot of Fig. 11(a). Now
211 Fig. 11(b) shows the corresponding rotor position when motor is running at 15 rpm.
212 The performance of the drive also is tested at 100 rpm for step change in speed and also for sinusoidal reference
213 speeds. The Fig. 12(a) shows the actual speed of the motor at reference speed of 100 rpm step and one can observe that
214 the motor tracks the set speed with negligible speed error. Fig. 12(b) shows the corresponding rotor position at 100 rpm
215 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).

216 6.2. Scenario-2: sinusoidal speed command

217 The dynamic performance of the drive has been validated at sinusoidal command speed. The Fig. 13(a) shows the
218 actual speed of the motor for sinusoidal command speed which consists of offset of 100 rpm and frequency of 1 rad/s.
219 The speed error is also illustrated for corresponding closed loop speed control and is calculated with respect to the
220 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
221 (c) respectively.

222 6.3. Scenario-3: ramp command speed

223 The reference speeds of 1500 rpm and also 2500 rpm are considered for high speed operation of the drive with ramp
224 reference in order to check the drive performance from zero speed to very high speed. The performance of the drive for

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
12 D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx

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

231 7. Conclusion

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

240 References

241 DS1103 PPC Controller Board manual. 2011:290–295. https://www.dspace.com/shared/data/pdf/2014/DS1103.pdfK.


242 Advanced Control Education Kit-Industry-proven tools for your lab—A special offer for universities dSPACE.
243 http://robin2.r.uni-mb.si/predmeti/seminar 1/teme/ales/ace01-e.pdf.
244 Aydogmus, O., Sünter, S., 2012. Implementation of EKF based sensorless drive system using vector controlled PMSM fed by a matrix converter.
245 Int. J. Electr. Power Energy Syst. 43, 736–743, http://dx.doi.org/10.1016/j.ijepes.2012.06.062.
246 Baratam, A., Karlapudy, A.M., Munagala, S., 2014. Implementation of thrust ripple reduction for a permanent magnet linear synchronous motor
247 using an adaptive feed forward controller. J. Power Electron. 14, 687–694.
248 Bist, V., Singh, B., 2013. A reduced sensor PFC BL-Zeta converter based VSI fed BLDC motor drive. Electr. Power Syst. Res. 98, 11–18,
249 http://dx.doi.org/10.1016/j.epsr.2013.01.006.
250Q9 Bist, V., Member, S., Singh, B., 2014. A brushless DC motor drive with power factor correction using isolated zeta converter. IEEE Trans. Ind.
251 Inform. 10, 2064–2072.
252 Bose, B.K., 2005. Power electronics and motor drives—technology advances, trends and applications. 2005 International Conference on Industrial
253 Technology, http://dx.doi.org/10.1109/ICIT.2005.1600874.
254 de Almeida, A.T., Ferreira, F.J.T.E., Baoming, G., 2014. Beyond induction motors—technology trends to move up efficiency. IEEE Trans. Ind. Appl.
255 50, 2103–2114, http://dx.doi.org/10.1109/TIA.2013.2288425.
256 El Beid, S., Doubabi, S., 2014. DSP-based implementation of fuzzy output tracking control for a boost converter. IEEE Trans. Ind. Electron. 61,
257 196–209, http://dx.doi.org/10.1109/tie.2013.2242413.
258 Gargouri, K., 2012. Electronic Commutator Direct Current (ECDC) machine. Int. J. Electr. Power Energy Syst. 42, 525–532,
259 http://dx.doi.org/10.1016/j.ijepes.2012.03.014.
260 Ghaffari, A., 2012. dSPACE and Real-Time Interface in Simulink. http://flyingv.ucsd.edu/azad/dSPACE tutorial.pdf.
261 Gim, B., 1995. High Performance Sensorless Vector Control of Induction Motor Drives. Doctor.
262 Han, Q., Samoylenko, N., Jatskevich, J., 2008. Average-value modeling of brushless DC motors with 120◦ ; voltage source inverter. IEEE Trans.
263 Energy Convers. 23, 423–432, http://dx.doi.org/10.1109/TEC.2008.918628.
264 Hughes, A., 2013. Electric Motors and Drives Fundamentals, Types and Applications, 3rd ed. Elsevier, pp. 1–441,
265 http://dx.doi.org/10.1016/B978-0-08-098332-5.00001-2.
266 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.
267 10, 717–723, http://dx.doi.org/10.6113/JPE.2010.10.6.717.
268 Jayaram, 2009. Speed control of PMBLDC Motor using 8051 Microcontroller. M.Tech thesis.
269 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.
270 Power Energy Syst. 33, 1721–1727, http://dx.doi.org/10.1016/j.ijepes.2011.08.014.
271 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
272 Compon. Syst. 30, 889–906, http://dx.doi.org/10.1080/15325000290085190.
273 Krishnan, Ramu, 2009. Permanent Magnet Synchronous and Brushless DC Motor Drives. CRC Press.
Q10 Lee, B.-K., Ehsani, M., 2003. Advanced simulation model for brushless DC motor drives. Electr. Power Compon. Syst. 31, 841–868,
274
275 http://dx.doi.org/10.1080/15325000390227191.
276 Lee, H.-I., Noh, M.D., 2011. Optimal design of radial-flux toroidally wound brushless DC machines. IEEE Trans. Ind. Electron. 58, 444–449,
277 http://dx.doi.org/10.1109/TIE.2010.2054052.
278 Liu, C., Chau, K.T., Li, W., 2010. Comparison of fault-tolerant operations for permanent-magnet. IEEE Trans. Magn. 46, 1378–1381.

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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005
+Model
JESIT 139 1–13 ARTICLE IN PRESS
D. Potnuru et al. / Journal of Electrical Systems and Information Technology xxx (2016) xxx–xxx 13

279 Monmasson, E., Cirstea, M.N., 2007. FPGA design methodology for industrial control systems—a review. IEEE Trans. Ind. Electron. 54, 1824–1842,
280 http://dx.doi.org/10.1109/TIE.2007.898281.
281 Monti, A., Santi, E., Dougal, R.A., Riva, M., 2003. Rapid prototyping of digital controls for power electronics. IEEE Trans. Power Electron. 18,
282 915–923, http://dx.doi.org/10.1109/TPEL.2003.810864.
283 Moseler, O., Isermann, R., 2000. Application of model-based fault detection to a brushless DC motor. IEEE Trans. Ind. Electron. 47, 1015–1020,
284 http://dx.doi.org/10.1109/41.873209.
285 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
286 inverter. J. Power Electron. 15, 974–986, http://dx.doi.org/10.6113/JPE.2015.15.4.974.
287 Pillay, P., Krishnan, R., 1988. Modeling of permanent magnet motor drives. IEEE Trans. Ind. Electron. 35, 537–541,
288 http://dx.doi.org/10.1109/41.9176.
289 Pillay, P., Krishnan, R., 1989. Modeling, simulation, and analysis of permanent-magnet motor drives. II. The brushless DC motor drive. IEEE Trans.
290 Ind. Appl. 25, 274–279, http://dx.doi.org/10.1109/28.25542.
291 Pillay, P., Krishnan, R., 1991. Application characteristics of permanent magnet synchronous and brushless DC motors for servo drives. IEEE Trans.
292 Ind. Appl. 27, 986–996, http://dx.doi.org/10.1109/28.90357.
293 Potnuru, Devendra, Bharani Chandra, Kumar Pakki, Arasaratnam, Ienkaran, Gu, Da-Wei, Ksas, Alice Mary, Ch, Sai Babu, 2016.
294 Derivative-free square-root cubature Kalman filter for non-linear brushless DC motors. IET Electr. Power Appl. 10, 419–429,
295 http://dx.doi.org/10.1049/iet-epa.2015.0414.
296 Quijano, N., Passino, K., Jogi, S., 2002. A Tutorial Introduction to Control Systems Development and Implementation with dSPACE. Tutorial, Ohio
297 State Univ.
298 Rubaai, A., Ofoli, A., Castro, M., 2006. dSPACE DSP-based rapid prototyping of fuzzy PID controls for high performance brushless servo drives.
299 IEEE Ind. Appl. Soc. 3, 1360–1364, http://dx.doi.org/10.1109/IAS.2006.256707.
300 Rubaai, A., Castro-Sitiriche, M.J., Ofoli, A.R., 2008. Design and implementation of parallel fuzzy PID controller for high-
301 performance brushless motor drives: an integrated environment for rapid control prototyping. IEEE Trans. Ind. Appl. 44, 1090–1098,
302 http://dx.doi.org/10.1109/TIA.2008.926059.
303 Shao, J., Nolan, D., Teissier, M., Swanson, D., 2003. A novel microcontroller-based sensorless brushless DC (BLDC) motor drive for automotive
304 fuel pumps. IEEE Trans. Ind. Appl. 39, 1734–1740, http://dx.doi.org/10.1109/TIA.2003.818973.
305 Shehata, E.G., 2013. Speed sensorless torque control of an IPMSM drive with online stator resistance estimation using reduced order EKF. Int. J.
306 Electr. Power Energy Syst. 47, 378–386, http://dx.doi.org/10.1016/j.ijepes.2012.10.068.
307 Singh, B., Bist, V., 2013. A reduced sensor power factor corrected bridgeless flyback converter fed brushless DC motor drive. Electr. Power Compon.
308 Syst. 41, 1114–1128, http://dx.doi.org/10.1080/15325008.2013.809821.
309 Vasca, F., Iannelli, L., 2013. Dynamics and Control of Switched Electronic Systems. vol. 53. 10.1017/CBO9781107415324.004.
310 Wang, H.-B., Liu, H.-P., 2009. A novel sensorless control method for brushless DC motor. IET Electr. Power Appl. 3, 240–246.
311 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.
312 Electr. Power Energy Syst. 53, 307–320, http://dx.doi.org/10.1016/j.ijepes.2013.05.016.
313 Yildiz, A.B., 2012. Electrical equivalent circuit based modeling and analysis of direct current motors. Int. J. Electr. Power Energy Syst. 43, 1043–1047,
314 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. (2016), http://dx.doi.org/10.1016/j.jesit.2016.12.005

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy