Professional Documents
Culture Documents
Abstract—This paper demonstrates the Field Programmable Gate System flexibility must be high to facilitate market modifications
Arrays (FPGAs) of design methodologies with a focus on motor drive and to reduce development time. All these improvements must be
applications. Motor is the heart of many industrial automation and achieved while, at the same time decreasing the system cost.
motion/drive control applications, but major problem arise in Brushless DC motor technology makes it possible to achieve these
controlling the speed of the motor. Brushless DC (BLDC) motor is specifications. Such motor combine high reliability with high
new and reliable motor because it has high efficiency, high torque to efficiency.
power ratio, lower maintenance due to brushless architecture and
compact size, etc. This work presents FPGAs implementation for II. CONTRIBUTIONS AND LIMITATIONS OF FPGAS USED
PWM based speed control of inverter-fed BLDC motor. The IN ELECTRICAL SYSTEM CONTROLLERS
proposed methodology is first simulated for open loop and closed
First introduction of FPGAs to the market was in 1985 by the
loop speed control. These simulation results are further verified
through lab scale experimental set up. It has been observed that Xilinx company. FPGAs hardware technologies have attracted an
FPGAs based closed loop method improves the transient and steady increasing interest and have significantly disrupted the early
state response in speed control of BLDC motor. digital development process trends. It allows the development of
hardware architectures within a flexible programmable
Index Terms -- Brushless DC (BLDC) motor, field programmable environment [2] [6]. These features gives the designer an
gate arrays (FPGAs), intelligent power module (IPM) and speed additional degree of freedom compared to software
control. implementation based on microcontrollers and DSPs [1]. This is
I. INTRODUCTION because of FPGAs are outperforming software solutions by
exploiting the inherent parallelism of the algorithm.
Due to fast progress of very large scale integration technology
and electronic design automation techniques the industrial motor The tradeoff DSP and FPGA domain is shown in fig. 1. It is
speed control applications are widely using electronic devices, illustrates in a qualitative way the reasons of such a choice. The x-
such as microcontrollers and DSP [1]. These devices are designed axis of fig. 1 represent timing constraints of the algorithm. These
with fixed hardware, leaving software as the only method for constraints mainly rely on the type of data dependence. The higher
designers to update designs and limiting the development of this dependence is the more sequential the algorithm.
application specific functions [2]. Field programmable gate arrays
(FPGAs) give designers the freedom to create custom functions
(c) Algorithm complexity (d)
completely adapted to their specific application requirements by (a):- High data dependency
enabling both hardware and software customization. It provides (b):- High level of parallelism of the algorithm
the capability to implement functions in hardware, accelerating (c):- Homogenous functions
performance and simplifying the software porting effort. These (d):- Heterogeneous functions
additional freedom opens up new avenues of enhanced system DSP
performance, especially for motor speed control and energy
efficiency.
FPGAs technology is used in many applications such as wired FPGA
& wireless telecommunications [1] and image processing, etc.
Finally, the motor speed control systems are also of great interest
because of an ever increasing level of expected performance while (a) Algorithm timing constraints (b)
at the same time reducing the cost of the control systems. Indeed,
FPGAs have already been used with success in many different Fig. 1. DSP and FPGAs domains of use
electric system applications such as power converter control (pulse
width modulation (PWM) as an inverters [4], soft switching, Development is made according to the design methodology.
STATCOM and electrical machines control). New generations of FPGAs based controller design methodology is shown in fig. 2.
equipment must have higher performance parameters such as The particularity of this methodology consists in providing a top-
better efficiency and reduced electromagnetic interference [5]. down design process that start from the
preliminary system specification to the final experimental major problem face an industry is how to effectively control speed
validation [6]. of the BLDC motor. A proportional and integral (PI) controller can
be used to modified the speed error and dynamically adjust the
Preliminary system specification PWM duty cycle for closed loop speed control. For low cost and
low resolution speed control requirements, the hall sensor can be
used to measure the speed for feedback signal [10]. An equivalent
circuit for speed control of BLDC motor is shown in fig. 3. The
Algorithm development back electro motive force (EMF) vs. speed relation is expressed as
Modular partitioning follows,
Continuous time functional validation ݀߆ሺݐሻ
Digital realization ܧ ሺݐሻ ൌ ܭ ൬ ൰ ൌ ܭ ߱ሺݐሻሺͳሻ
݀ݐ
Algorithm optimization
Discrete time & fixed point validation
݀ܫ ሺݐሻ
ܧ ሺݐሻ ൌ ܴ ܫ ሺݐሻ ܮ ൬ ൰ ܧ ሺݐሻሺʹሻ
Experimentation ݀ݐ
మ
Hardware in the loop validation ௗ ௵ሺ௧ሻ ௗ௵
ܶ ሺݐሻ ൌ ܬቀ మ ቁ ܤቀ ቁ ൌ ܫ ்ܭ ሺ͵ሻ
Experimental validation ௗ௧ ௗ௧
Eqs. (2) & (3) can be derived from KVL and Newton’s law.
Fig. 2. FPGAs based controller design methodology [6] Transfer function of BLDC motor speed with respect to the input
voltage can be written as,
Some of the most significant benefits are the cost, the power
߱ሺݏሻ ்ܭ
consumption and the application performance. Presently the two ܩሺݏሻ ൌ ൌ ሺͶሻ
main hardware solutions are available for implementing a ܧ ሺݏሻ ሺܮ ݏ ܴ ሻሺ ݏܬ ܤሻ ܭ ்ܭ
controllers like DSPs and FPGAs. Therefore, according to the As the armature inductance is very small in practices hence, the
nature of the algorithm to implement, the designer has to choose transfer function of BLDC motor speed to the input voltage can be
between these two possibilities [7]. Motor control is a nonlinear simplified as,
and time-varying parameter application. Many of today’s
microcontroller and DSPs devices implement motor control using ߱ሺݏሻ ܭ
ൌ ሺͷሻ
a simplistic software control loop and a generic one size fits all ܧ ሺݏሻ ߬ݏ ͳ
PWM block. However, this kind of system architecture cannot
provide the optimal power, performance and integration needed Where,
for efficient motor control applications. Using FPGAs device offer
advantages in power efficiency, performance, safety, reliability, ୫ ൌ is the motor gain
ୖ ାౘ
system cost, system integration and implementation flexibility [6]- ୖ
[8]. A PWM technique controls the power converter transistor ɒ ൌ is the motor time constant
ୖ ାౘ
states to meet the time average value of the voltage command. This
techniques can reduce losses in the motor and power converter The schematic layout for speed control of BLDC motor is
while optimizing the voltage utilization of the DC bus. The true shown in fig. 4. It is mainly consists of 3 phase power supply,
advantage of using FPGAs is the ability to customize what was rectifier & inverter (six IGBT switches) circuits, BLDC motor,
previously fixed generic hardware in microcontroller or DSPs. data acquisition cum dashboard, FPGAs board, isolation and
driver circuit. Here three hall sensors are used for sensing the rotor
III. BLDC MOTOR AND IT’S SPEED
CONTROL position of the motor, which is given as feedback signal for closed
control system. Mostly used hall sensor for the sensing the speed
BLDC motor is one of the types of motor which is rapidly of BLDC motor. Because of his output response is good and very
gaining popularity in many applications. It is used in industries
easy to implement circuit on side of non-rotating part of motor.
such as appliances, automotive, aerospace, consumer, medical,
industrial automation equipment and instrumentation [9]. But The flow chart for speed control of BLDC motor is shown in fig.
5. It is an indicated the speed of BLDC motor can be controlled by In this technique, a high frequency chopper signal with
two topologies, (1) open loop and (2) closed loop. specific duty cycle is multiplied by switching signals of voltage
source inverter [11]. Therefore, it is possible to adjust output
Rectifier voltage of inverter by controlling duty cycle of switching pulses of
BLDC
3 motor inverter. PWM signals are generated from the Spartan-3A
Ø processor by writing verilog hardware description language
Hall sensor
s program to control gate pulse for the inverter switches. An average
u output voltage is controlled through duty cycle of PWM. The
p
p
relationship between average output voltage, duty cycle and input
l voltage is, Vavg = DVinput.
y
V. SIMULATION RESULTS & EXPERIMENTAL
VERIFICATION
Isolation &
driver The aforementioned control strategy was first implemented
through MATLAB simulink model. This has been done using
FPGA kit PC variation of PWM duty cycle according to error signal. Thereafter,
the verification of the same is done by hardware setup for speed
Fig. 4. Schematic layout for speed control of BLDC motor control of BLDC motor using FPGAs. Table I & II shown the
experimental parameters and sensors signals, respectively. Table
IV. CONTROL STRATEGY II depicts three hall sensor and six switches sequence. HA, HB, HC,
is three hall sensors and S1 to S6 is six switches. Simulation model
PWM technique is one of the most popular techniques for of speed control of a BLDC motor using input DC voltage source
speed control BLDC motor. and PI controller for error reduction [11] is shown in fig. 6.
Start The simulation results are shown in fig. 7 and fig. 8 depicts
the stator current and back EMF waveform of BLDC motor,
respectively. Three phase stator currentsሺܫ ǡ ܫ ǡ ܫ ) and back
Set value EMFsሺܧ ǡ ܧ ǡ ܧ ሻ are 120q phase shifted with respect to each
other. Back EMFs is constant for each 60q interval.
Closed loop
No Table I Experimental parameters
If open
Actual speed Terminal voltage V 310
loop
calculate Rated current A 4.52
No. of poles 4
Yes
Rated torque Nm 2.2
PI controller Resistance Ohms 3.07
Check hall sensor
signals Inductance mH 6.57
Rotor inertia kgm 1.4 - 1.8
Error =
IPM module PEC16D5M01
Reference value & (set speed – actual
Spartan 3A Kit FPGAs
carrier value speed)
Voltage constant V 5
Torque constant Nm 0.49
Compare reference Auto transformer
A 4
value & carrier Value PI output & current rating
generate PWM
pulses Table II Clockwise sensor and drive
PWM pulses output
Sensor Clockwise direction
HA HB HC S1 S2 S3 S4 S5 S6
3 phase Inverter 0 0 1 0 0 0 1 1 0
0 1 0 1 0 0 0 0 1
BLDC motor 0 1 1 1 0 0 1 0 0
1 0 0 0 1 1 0 0 0
1 1 0 0 0 1 0 1 0
End
1 1 1 0 0 1 0 0 1
BLDC motor
VII. REFERENCES
[1] E. Monmasson, M. N. Cirstea, “FPGA Design Methodology for Industrial
Control System- A Review,” IEEE Trans. On Indus. Electron., vol.54, no.
4, pp. 1824-1842, Aug.2007.
[2] T. Trimberger, J. A. Rawson, C. R. Lang, and J. P. Gray, “A structured
design methodology and associated software tools,” IEEE Trans. Circuits
and Systems, vol. 28, no. 7, pp. 618–634, Jul. 1981.
[3] E. Monmasson, L. Idkhajine, I. Bahri, M. W. Naouar, and L. Charaabi,
“Design methodology and FPGAs-based controllers for empower
electronics and drive applications,” in Proc. ICIEA’2010 Conf., Taichung,
Taiwan, pp. 2328–2338, 2010.
Fig. 13. Actual (993 RPM) and set speed (1000 RPM) (reverse to forward)
[4] Y. Y. Tzou and H. J. Hsu, “FPGAs realization of space-vector PWM control
IC for three-phase PWM inverters,” IEEE Trans. Power Electron., vol. 12,
no. 6, pp. 953–963, Nov. 1997.
[5] S. J. Ovaska and O. Vainio, “Evolutionary- programming-based op-
timization of reduced-rank adaptive filters for reference generation in active
power filters,” IEEE Trans. Ind. Electron., vol. 51, no. 4, pp. 910–916, Aug.
2004.
[6] E. Monmasson, L. Idkhajine, M. N. Cirstea, I. Bahri, A. Tisan, and M. W.
Naouar “FPGAs in Industrial Control Applicalication” IEEE Trans. on Ind.
Informatics, vol. 7, no. 2, pp. 224-243, May 2011.
[7] E. Monmasson, M. W. Naouar, and L. Idkhajine, “FPGAs-based controllers
for power electronics and drive applications,” IEEE Ind. Electron. Mag., vol.
5, no. 1, pp. 1–13, Mar. 2011.
[8] J. J. Rodriguez-Andina, M. J. Moure, and M. D. Valdes, “Features, design
tools, and application domains of FPGAs,” IEEE Trans. Ind. Electron., vol.
54, no. 4, pp. 1810–1823, Aug. 2007.
[9] J. W. Dixon and I. A. Leal, “Current Control Strategy for Brushless DC
Motors Based on a Common DC Signal”, IEEE Trans. on Power
Electronics, vol. 17, no. 2, Mar. 2002.
[10] G. J. Silva, A. Datta, and S. P. Bhattacharyya, “New results on the synthesis
of PID controller” IEEE Trans. on Automatic Control, vol. 47, no. 2, Feb.
2002.
[11] A. Sathyan,, N. Milivojevic, Y. J. Lee, M. Krishnamurthy, and A. Emadi,
“An FPGA-Based Novel Digital PWM Control Scheme for BLDC Motor
Drives” IEEE Trans. on Ind. Electron., vol. 56, no. 8, Aug. 2009.