Professional Documents
Culture Documents
Microcontroller Based PMDC Motor Control For Driving 0.5KW Scooter
Microcontroller Based PMDC Motor Control For Driving 0.5KW Scooter
Abstract— In the recent years, the use of clean energy to reduce the various combinations of shunt, series, and separately
pollution and hence to save the environment is an urgent need to excited field windings they can be designed to display a wide
keep the communities against the dangers that began to show variety of the volt-ampere or speed-torque characteristics for
with huge negative consequences. This paper illustrates with full both dynamic and steady state operation systems. DC motors
details how to built DC scooter which can be used with solar cells have been frequently used in applications requiring a wide
to charge the DC batteries used to drive the scooter safely, range of motor speeds or precise control of motor output .In
economically and with negligible environmental effects. The old recent years, solid state driving technology has developed
variable speed drives, had various limitations, such as poor
efficiencies, larger space, lower speeds, etc., however, the
sufficiently and used to replace the old control systems of new
development of power electronic devices such as power DC motor control applications.
MOSFETs, IGBTs beside Micro-Controllers, overturned the
scene completely, today we can built a variable speed drive
systems with better comparable characteristics such as smaller in II. PMDC MOTOR CONTROL
size, higher efficiency, more reliable and meeting all demands
requirements for modern control applications. The aim of this
A PMDC motor is similar to an ordinary D.C. shunt
paper is to drive a scooter, by using a Permanent Magnet DC
Motor (PMDC), by using PIC16F877 microcontroller to produce motor except that its field is provided by permanent magnets
variable duty cycle pulse width modulation PWM through up instead of salient-pole wound-field structure. Fig.1 shows the
and down button to increase or decrease the speed with less- equivalent circuit of PMDC motor.
losses and with very low price. Also we intend to control the
mechanical speed, starting, braking, and 4-Quadrant directions
of the used PMDC motor safely and economically to increase the
half life of the battery used and to increase the working time
compared by other type of traditional controlled scooters. Also
we explain the starting of the scooter with and without starting
resistors to decrease the losses more and more.
,(((
Ȧ 02
III. PMDC SPEED CONTROL THEORY
Ȧ 03
Since PMDC motor is similar to an ordinary D.C. shunt
motor except that its field is provided by permanent magnets T (N.m)
instead of salient-pole wound-field structure. Then the only
speed control method that can be used is armature voltage
Fig. 3 Torque speed at different voltage.
control method either by using variable resistor at its armature
or using power electronic devices for developing variable
A. Starting of PMDC Motor
voltage across its armature. The two basic equations that are
common between all types of dc motor are [4]:
In practice, a starting resistor is made up of a series of
ࡱ ൌ ࡷ ࣓ כ ࣐ כሺሻ resistors that can be successively removed from the circuit as
ࢀ ൌ ࡷ ࡵ כ ࣐ כሺሻ the motor speeds up. As the motor speeds up, an internal back
emf Ea is generated. When the current falls to the rated value,
IA = armature current (amps) a section of the starting resistor is going out by means of
ĭ = field flux per pole (Weber) timers and relays to increase the value of the starting current.
E = developed back E.M.F voltage (volts) This process is repeated until the entire starting resistors are
Ȧ =angular speed of dc motor (rad/sec) removed. At this point, the only motor’s armature resistance
K = constant that relates to construction of dc motor will limit the current safely. Fig. 4 shows a cycle which
T = induced torque (N.m) repeats itself until motor can withstand the flow current by
Ra =armature resistance () itself. Also it shows a cycle corresponds to change in value of
From (1) and (2) we can deduce a relation between speed and E - I as function of time each time resistor exist from the bank
torque of the DC motor as in the following equation 3: of resistors. Fig. 5 shows circuit diagram where banks of
resistors in series with armature resistance are used and each
ࡱ ࢂିࡵࢇࢇࡾכ ࢂ ࢀࢇࡾכ time one of them is eliminated by means of relays.
࣓ൌ ൌ ቀ ቁ ൌ െ ሺࡷ࣐כሻ ൌ ࣓ െ ο࣓ሺሻ
ࡷ࣐כ ࡷ࣐כ ࡷ࣐כ
field flux cannot be increased beyond a rated value, so maximum speed. For the ratio of 1:3, the average output
regenerative braking is possible only when the speed of motor voltage of this signal is just 3v, so the motor runs at 1/4 of its
is higher than the rated value. The speed torque characteristic maximum speed.
is shown in Fig. 3. When regenerative braking occurs, the
terminal voltage rises and as a result the source is relieved
from supplying this amount of power. This is the reason why
loads are connected across the circuit. So, it is clear that
regenerative braking should be used only when there are
enough loads to absorb the regenerative power. Fig. 6 shows
regenerative braking circuit using PWM technique to drive the
MOSFET element
A. Functioning of control and the whole block diagram And if the speed is at rated speed, Green LED is turned ON
2) Starting circuit
The overall block diagram of Fig. 11 describes the full control Table (1) the logical ordering of PIC for starting circuit and forward driving of
dc motor
and power circuit of the proposed system. It consists of three
Duty Upper Middle Lower Active
main parts MOSFET MOSFET MOSFET
1) Speed Control
2) Starting circuit 0 1 0 0 R1,R2,Motor
3) Regenerative Braking
135 0 1 0 R2,Motor
The armature current is given by
ࢂିࡱ 214 0 0 1 Motor
ࡵࢇ ൌ ࡾࢇ
Since the armature resistance is very small and at starting E is
0, then the current is approximately 5 times the rated current.
To limit the high current we can increase the voltage step by
step using variable supply. Or another technique is by
inserting starting resistors. In this way we are controlling the
speed of the motor too.
1) Speed control
3) Regenerative braking
The purpose of the regenerative braking is to return the
kinetic energy on the motor into the DC source [7] (Batteries
must be rechargeable) when the brake button is pressed to stop
the motor a MOSFET and a diode will be introduced to restrict
the battery from sending energy, in the following way: the
MOSFET is initially ON. When the brake button is pressed the
MOSFET will turn OFF. Then the battery won’t send any
Fig. 12 LED responds to PIC energy to the motor because of the diode. Another MOSFET is
inserted to connect the motor second terminal to the ground Whenever PWM is given on the gate's of MOSFET that acts
when the brake button is pressed MOSFET Q8 is initially as the driver of PMDC motor, this motor will takes the
inactive and when the regenerative circuit is activated via the average power from the battery and drive the scooter in the
forward direction by using buck circuit converter. Some of
brake button, it turns ON. Then MOSFET Q8 is in opposite
this power can be resupplied to the battery whenever needed
operation with MOSFET Q7. Therefore Q7 will get its Gate just by making a brake and the reminder work can be
input from the PIC, and Q8 will get its Gate signal also from continued by boost converter. So, the development of
the same pin via “NOT” gate as shown in Fig. 14 semiconductor’s facilitating the field of control by using
devices of smaller sizes, cheaper with higher efficiency. In fig.
15 we can feed the 6v and the 36v from a photovoltaic cell
connected to the outer case of the scooter to make self
charging for the DC batteries instead of using external charger
or beside external charges feed from the main electric AC
source [9]. Experimentally the proposed full control scooter
serves around 90km when the three 12v batteries are fully
charged.
Fig. 14 Regenerative braking of PMDC motor with not gate
However the motor will never generate any power into the
battery unless the back emf E of the motor is bigger than the
average voltage applied on the motor terminals V [8]. In order
to reduce the average voltage of the motor we use boost
chopper circuit to have an average voltage equal to the battery
voltage multiplied by a factor (1-k) where k is the duty of the
second PWM. When the brake button is pressed D6, the LED
connected in series with Q8 the MOSFET which is playing the
role of chopper, will turn ON indicating the existence of
Fig. 15 Full controlled and power circuit of PMDC motor - scooter
PWM2.
Also in the case of braking, the LED D5 will glow slightly
indicates that the motor will act as generator until it stops.
Actually we will only use the variable voltage technique to VI. REFERNCES
control the speed and limit the starting current, hence we will [1] Mohamed El-Sharkawi “Fundamentals of Electric Drives”1st edition,
not use any additional resistors to decrease any additional 2000 Nelson Engineering ISBN 13: 9780534952228
[2] Anant Kumar, Sitanshu Mishra “Speed Control of DC motor using
losses then we can also eliminate the Opto-couplers and IGBT”, National Institute of Technology Rourkela 2007
MOSFETs which were used as selectors for the resistors. In [3] Gieras, Jacek F. and Wing, Mitchell. “Permanent magnet motor
this practical circuit we use three dc batteries each of 12 Volts technology: design and applications” 2nd edition. Marcel Dekker, Inc.
and 9AH. The batteries are connected in series to power a 2002.
[4] Mohamed El-Sharkawi “Fundamentals of Electric Drives”1st edition,
36Volts PMDC Motor. Under the above situation and 2000 Nelson Engineering ISBN 13: 9780534952228
calculation and in horizontal plane movements a scooter with [5] By Dr. Steve C. Hsiung “The Use of PIC Microcontrollers in Multiple
total mass of 30 kg and with 70kg driver it move around 90km DC Motors Control Applications” Journal of Industrial Technology
when the 3x12v battery are fully charged. Volume 23, Number 3 July 2007
[6] Stephen, Chapman “Electric Machinery Fndamintals” 4th Edition
MAGRAW-HILL 2007
[7] Su, G J., McKeever J.W. Samons K.S., “Design of a PM Brushless
V. CONCLUSION Motor Drive for Hybrid Electrical Vehicle Application.”
http://www.ornl.gov/~webworks/cpr/pres/10792. pdf, viewed: 15th
This paper illustrates with full details how to built a August 2008
control circuit and power circuit, for DC scooter purpose, by [8] Daniel Hart “power electronics” international edition 2011
Masahiro Hanazawa and Takashi Ohira, “Power Transfer for a Running
using 36v DC voltage source across 0.5KW PMDC motor Automobile” IEEE MTT-S International Microwave workshop series on
with starting, braking and all directional motions to have the Innovative wireless transmission IMWS-IWPT2011, pp.77-80, Kyoto, May
ability to drive the scooter in a desired and safe manner. Fig. 2011
15 shows the components and the connections of the power
circuit with the control circuit to drive the scooter. Control
circuit extracts PWM from PIC16F877A microcontroller
which is used to control the states of MOSFETS to drive the
PMDC motor that acts as a prime mover for the scooter.