Nothing Special   »   [go: up one dir, main page]

IJ82

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

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/271199015

MICROCONTROLLER BASED CONTROL OF THREE PHASE BLDC MOTOR

Article · December 2011

CITATIONS READS

4 5,005

4 authors, including:

Sai Babu Ch
Jawaharlal Nehru Technological University, Kakinada
180 PUBLICATIONS 1,142 CITATIONS

SEE PROFILE

All content following this page was uploaded by Sai Babu Ch on 22 January 2015.

The user has requested enhancement of the downloaded file.


Journal of Engineering Research and Studies E-ISSN0976-7916

Research Article
MICROCONTROLLER BASED CONTROL OF THREE
PHASE BLDC MOTOR
P. Devendra1*, 2Madhavi TVVS*, 3K Alice Mary, 4Ch. Saibabu

Address for Correspondence


1
Associate Professor, EEE dept, GMR Institute of Technology, Rajam, Andhrapradesh, India
2
PG Student, EEE dept, GMR Institute of Technology, Rajam, Andhrapradesh, India
3
Professor & Head, Electrical and Electronics Engineering Department, Vignan’s Institute of Information
Technology, Vishakhapatnam, India
4
Professor, Electrical and Electronics Engineering Department, Jawaharlal Nehru Technological University,
Kakinada, India
ABSTRACT
This paper introduces a novel method which is intended to assist in the design and control of cost effective, efficient
Brushless Direct Current (BLDC) motors with additional features like auto restart and auto power down while maintaining
constant speed. Speed Control of BLDC motor using 8051 micro controller requires more hardware, and with the
availability of PIC microcontrollers with versatile features motivated to develop a cost effective and reliable control with
variable speed range. In the present paper, an algorithm which uses the Hall sensor signals acquired from the motor is
developed and the program has been written using MPLABIDE v 7.52. This program generates the firing pulses required to
drive the MOSFETs of three phase fully controlled bridge converter driven by IR2101 FET drivers. Later the program has
been dumped on the PIC16F series device and tested on the 24V, 80 W, 1500 rpm BLDC motor which can make the motor
run at constant speed ranging from 6 to 1500 rpm. The proposed hardware and the program are found to be efficient and the
results are promising.
KEYWORDS Brushless Direct Current motor, PIC16Fseries, MPLABIDE, Hall sensor, IR2101 FET driver.
I. INTRODUCTION effectiveness of the work is shown through
PERMANENT magnet brushless dc (BLDC) motors hardware realization.
have used wide application due to their power II. REVIEW OF BLDC MOTOR CONTROL
density and ease of control. Moreover, the machines SCHEMES
have high efficiency over a wide speed range. The The control schemes of BLDC motor are mainly
highly efficient conventional DC motors are suitable classified in following two ways
for various applications because of their • Sensor based control
characteristics. They require commutator and • Sensor less control
brushes, for conversion of dc to ac which are subject In sensor based control, a Hall sensor is used which
to wear and require maintenance. This only detects the position of the rotor magnet and gives a
drawback of conventional DC motors makes us to signal which is used to give appropriate excitation to
shift to BLDC motors which are electronically the stator winding. Hall sensor works on Hall effect
commutated by using solid state .Recent legislation which states that when a current carrying conductor
imposing efficiency standards in appliances, has is placed in magnetic field, it exerts a transverse
forced appliance manufacturers to migrate to BLDC force on the conductor. The sensor based control
motors in their applications. In view of these scheme is shown in Fig.2.
enormous applications, researchers started
developing methods for efficient use of these motors
in diversified fields. To mention a few: Jianwen
Shao Nolan et.al [1] has developed a novel
microcontroller-based Sensorless brushless DC
(BLDC) motor drive for automotive fuel pumps in
2003. Also, they have developed an Improved
Microcontroller-Based Sensorless Brushless DC
(BLDC) Motor Drive for Automotive Applications,
in 2006[2]. Nikolay Samoylenko [3] studied the
Dynamic performance of Brushless DC motors with
Fig.2 Sensor based control
unbalanced Hall sensors.
Micro controller based control using Hall sensors
To the extent the authors have surveyed not much
gives effective control on BLDC motors.
work has been reported on micro controller driven
The sensor less drive principle is based on the
sensor based BLDC motors. Hence in this paper, an
detection of the rotor position using various
algorithm for sensor based micro controller driven
techniques one of which is the EMF detection.
BLDC motors with additional features like auto
There are various methods for position and velocity
restart and auto power down is presented and
estimation based on the induced Back EMF

JERS/Vol. II/ Issue IV/October-December, 2011/


Journal of Engineering Research and Studies E-ISSN0976-7916

detection. Various micro controllers and DSP windings are excited in the given sequence and once
controllers are available for sensor less control. the motor starts rotating, rotor position is sensed by
III. MICROCONTROLLER BASED the Hall sensor and then the motor is excited based
CONTROL SCHEME on the Hall signal and according to the direction of
The proposed control for BLDC motor control using rotation of the motor.
PIC microcontrollers of MICROCHIP with device The speed can be controlled in a closed loop by
name PIC16F690 is shown in the figure (3). measuring the actual speed of the motor. If the
speed is greater than the desired rated speed, then all
the transistors are turned off for a short duration and
then again excited based on the Hall position and
accordingly speed can be adjusted to get constant
speed. The ADC of the microcontroller is used to
convert the analog signal corresponding to the speed
of the motor to a digital value and comparison is
done with the calculated digital value which is
Fig.3 Micro Controller based Control proportional to the rated speed
The base drive to the MOSFETS in the Inverter A. PIC16Fseries Micro controller
circuit is given by the PIC16F690 micro-controller. PIC16Fseires microcontroller which is used for this
The Hall signals from the motor are fed as inputs to project is a 40-pin device, 8 bit CMOS
the PIC16Fseries device and based on the Hall Microcontroller which belongs to the MICROCHIP
position and the direction of rotation of the motor family of microcontrollers. It has 10-bit Analog to
specified by the manufacturer the corresponding Digital converter (ADC) and we have used only 8
gate drive is made active by the microcontroller and bits for our control so that the speed can be
fed to the stator of the BLDC motor. controlled in 255 steps ranging from 6 to 1500 rpm.
The commutation sequence for rotating the motor in The various features of this device make this device
clock wise direction when viewed from the non to be selected for the proposed control. Timer1 is
driving end is given in the Table (1). operated in external oscillator mode with an external
Table (1): Sequence for rotating motor in crystal oscillator of 20 MHz connected to the micro
clockwise direction controller device. An external Potentiometer is
connected to the ADC pin which provides the
required speed range.
B. Algorithm for Assembly language code written
using MPLAB IDE v7.52tool
MPLAB IDE v7.52tool of MICROCHIP has been
used to write the code in assembly language using
PIC16F690 data sheets provided by MICROCHIP.
The algorithm to run and maintain constant speed of
Based on the Hall sensor input to the
a BLDC motor is
microcontroller, the corresponding transistors are
made active and current flows through two windings • Set PORTE as digital hall input.
and the other winding is inactive and hence • Set PORTC as Outputs to transistors.
commutation is done electronically with the use of a • Generate interrupt on timer1 over flow and
microcontroller. also on completion of ADC conversion by
The commutation sequence for rotating the motor in setting the appropriate registers.
counter clock wise direction when viewed from the • Enable Global interrupt.
non driving end is given in the Table (2). • Give excitation to the motor windings
irrespective of the Hall signal according to
the direction of rotation of the motor (clock
wise or counter clock wise).
• Start TIMER1 which is operated with
external crystal oscillator at 20 MHz
frequency
• Generate LOOK-UP Table for clock wise
rotation of the motor irrespective of the
Thus by properly exciting the corresponding Hall signal.
winding based on the hall signal, the motor is • At the timer overflow interrupt service
commutated and is made to run at the desired speed. routing (ISR), generate LOOK-UP Table
Initially irrespective of the rotor position, the

JERS/Vol. II/ Issue IV/October-December, 2011/


Journal of Engineering Research and Studies E-ISSN0976-7916

for clock wise rotation of the motor based b) FET driver circuit:
on Hall signal.
• Set the motor speed using external
potentiometer connected to the ADC pin.
• Enable ADC to convert the analog voltage
into digital.
• Compare this digital value with the counter
value equivalent to the motor speed (rated).
• If motor speed is higher than the rated
speed then turn off all the transistors for
short duration in ADC conversion complete
ISR and return back from the ISR.
• Then repeat the excitation process based on
Hall signal. Fig (6) FET driver circuit
• This program drives the BLDC motor at The complete hardware set up for the motor control
constant speed and by varying the external is shown in Fig (7).
potentiometer value we can change the
motor speed and according make the motor
run at that constant speed.
This algorithm is used to write a program in
MPLAB IDE and is dumped on to the PIC16F690
device and tested on the 24 V, 80 W, and 1500 rpm
BLDC motor shown in the figure (4).

Fig (7) The complete Hardware set up


V RESULTS & DISCUSSIONS
The pulses generated from the microcontroller
control circuit are

Fig (4) 24 V, 80 W, 1500 rpm BLDC motor


IV. PROPOSED HARDWARE FOR BLDC
MOTOR
Proposed hardware consisting of mainly following
basic circuits
a) Microcontroller circuit
Fig.7 Pulses to drive the MOSFETs
The pulses shown in the figure (7) are fed to the
24V, 80 W, 1500 rpm BLDC motor and the motor
voltage equivalent to 1500 rpm speed is shown in
figure (8).

Fig.8 BLDC motor voltage waveform equivalent


Fig (5) Microcontroller circuit to 1500 rpm speed

JERS/Vol. II/ Issue IV/October-December, 2011/


Journal of Engineering Research and Studies E-ISSN0976-7916

V. CONCLUSION 11. L. X.Wang, “Fuzzy systems are universal


The proposed algorithm has been programmed in approximators,” in Proc. IEEE Int. Conf. Fuzzy
MPLABIDE v 7.52. and it generates the firing Systems, San Diego, CA, 1992, pp. 1163–1169.
12. J P. J. Costa Branco and J. A. Dente, “An
pulses required to drive the MOSFETs of three
experiment in automatic modeling an electrical
phase fully controlled bridge converter. The
drive system using fuzzy logic,” IEEE Trans.
program has been dumped on to the PIC16Fseries Syst.Man Cybern., vol. 28, no. 2, pp. 254–262,
device and fed to the MOSFETs of three phase fully Mar. 1998.
controlled bridge converter driven by IR2101 driver 13. J A. D. Cheok and N. Ertugrul, “Use of fuzzy
circuit. The output from the converter is fed to the logic for modeling, estimation,and prediction in
three phase stator winding of 24V, 80 W, 1500 rpm switched reluctance motor drives,” IEEE
BLDC motor and the motor is found to run at Trans.Ind. Electron., vol. 46, no. 6, pp. 1207–
constant speed which is set by the external 1223, Dec. 1999.
14. Cheok, A.D, Ertugrul, N , “High robustness and
potentiometer connected to the microcontroller
reliability of fuzzy logic based position
circuit. The program is found to be efficient and the
estimation for sensorless switched reluctance
results with the designed hardware are promising. motor drives,” IEEE Trans. Power Electron.,
REFERENCES vol. 15, no. 2, pp. 319–334, Mar. 2000.J. P.
1. K. Iizuka, H. Uzuhashi, M. Kano, T. Endo, and Wilkinson, “Nonlinear resonant circuit devices
K. Mohri, “Microcomputer control for (Patent style),” U.S. Patent 3 624 12, July 16,
sensorless brushless motor,” IEEE Trans. 1990.
Ind.Applicat., vol. IA-21, pp. 595–601, 15. Adrian David Cheok, Zhongfang Wang,, “Fuzzy
May/June 1985 Logic Rotor Position Estimation Based Switched
2. R. C. Beccerra, T. M. Jahns, and M. Ehsani, Reluctance Motor DSP Drive with Accuracy
“Four quadrant sensorless brushless motor,” Enhancement,” IEEE Trans .on Power Electronics ,
in Proc. IEEE APEC’91, 1991, pp. 202–209. Vol. 20, No. 4, July 2005.
3. S. Ogasawara and H. Akagi, “An approach to
position sensorless drive for brushless dc
motors,” in Conf. Rec. IEEE-IAS Annu.
Meeting, 1990,pp. 443–447.
4. J. C. Moriera, “Indirect sensing for rotor flux
position of permanent magnet AC motors
operating in wide speed range,” in Conf.
Rec.IEEE-IAS Annu. Meeting, 1994, pp. 401–
407.
5. N. Ertugrul and P. P. Acarnley, “A new
algorithm for sensorless operation of permanent
magnet motors,” IEEE Trans. Ind. Applicat.,
vol. 30,pp. 126–133, Jan./Feb. 1994.
6. J Bozo Terzic and Martin Jadric, “Design and
Implementation of the Extended Kalman Filter
for the Speed and Rotor Position Estimation of
Brushless DC Motor ,” IEEE Trans. Ind. .,
vol. 48,No.6, December 2001.
7. B.K. Lee and M. Ehsani, “Advanced Simulation
Model for Brushless DC Motor Drives, “
Electric Power Components and Systems 31,
841–868, 2003
8. P. Pillay and R. Krishnan, Modeling,
simulation, and analysis of permanent-magnet
motor drives, part II: the brushless DC motor
drive, IEEE Trans. on Industry Applications 25,
274–279, 1989.
9. J.-S. R. Jang, “ANFIS: Adaptive-network-based
fuzzy inference systems,” IEEE Syst., Man,
Cybern. C, vol. 23, no. 3, pp. 665–685, May
1993.
10. Wen Ding and Deliang Liang, “Modeling of a
6/4 Switched Reluctance Motor Using Adaptive
Neural Fuzzy Inference System,” IEEE
Transactions on Magnetics”, Vol.44,No.7,July
2008

JERS/Vol. II/ Issue IV/October-December, 2011/

View publication stats

You might also like