Speed Control of DC Motor
Speed Control of DC Motor
Team Leader:
Group Supervisor:
Nisar Ahmed Rana
Maj Aabis Raza Group Members:
M Shaban
Bilal Mushtaq
Department of Electrical Engineering
Muhammad Mohsin
HITEC University Taxila
8/22/2009
August 22, 2009 [SPEED CONTROL OF DC MOTOR]
Acknowledgement
First of all, we will thank our Allah, The Most Beneficent The Most Merciful who made us able to
complete this project.
No words are sufficient to express our gratitude to our loving parents for their exemplary patience,
understanding and cooperation during the preparation of this book.
Those at Tank manufacturing factory, who had, contributed a great amount of time, talent and effort to
move this project through its many phases in order To Design The Circuit For Controlling Speed Of Shunt
Type 22kW DC Motor as you see it, include but are not limited to MD Tank factories, Maj. Abbis Raza
and AFM Abdul Sittar. Without the help of staff of Tank manufacturing factories, we would probably be
___ well; we don’t want to think about that…
In completion of this project, we depend on expert input from our project adviser, MAJ. ABBIS RAZA
who guided us in each step to make our project a better one.
We hope that you will find the circuit designed by us better than that of electronic circuit implemented
by Chinese experts earlier, because we had used latest technology including Digital Display which will
show the Speed of DC Motor.
Table of Content
1 Heavy Industries Taxila 4
2 Introduction 7
2.1 Background 8
2.2 Scope 8
2.3 Recommendation 9
2.4 Procedure 9
3 Circuit Explanation 13
4 Parts Explanation 16
4.7 Resonator 17
6 DC Motor 19
6.1 Magnetism 19
6.5.5 Yoke 23
6.5.6 Commutator 23
6.5.8 Interpoles 23
6.14 Losses 27
6.15 Efficiency 27
7 Conclusion 29
8 Appendices 30
8.1 Appendix A 30
8.2 Appendix B 33
8.3 Appendix C 35
8.4 Appendix D 36
9 References 38
HIT has facilities for overhaul, rebuild and progressive manufacturing of main battle tanks (MBT),
armored recovery vehicles (ARV), armored personnel carriers (APC) and other armored vehicles of both
eastern and western armored vehicles. HIT has developed and currently manufactures the Al-Khalid
MBT.
APC Factory
The most famous of the M113 Family of vehicles are manufactured in this factory using state-of-the-art
CNC machines CAD/CAM system and manufacturing technology unique in the world on MIG and TIG
aluminum welding, radiographic inspection, chemical cleaning, coating and painting according to
military specifications.
Gun Factory
The Gun factory has the capability of machining barrels ranging from 105 mm to 203 mm caliber. It has a
longstanding experience in the manufacture of 105mm gun barrels for upgraded T-59 & T-69 tanks from
steel of very high quality using Electro Slag Refining. Each barrel is auto-frottage and subjected to high
precision work on state of the art machines.
Tank Factory
A modern outfit with latest tank manufacturing facilities which includes seven axis CNC machines for
heavy duty flexible machining operations and a complete infrastructure for hull and turret manufacture.
Tank design
Tank modernization
[1]
2 Introduction
Of late, solid state circuits using semiconductor diodes, transistors (MOSFET) and thyristors
have become very popular for controlling the speed of AC as well as DC motors and are
progressively replacing the traditional electric power control circuits based on thyratrons,
ignitrons, mercury arc rectifier, magnetic amplifier and motor generator sets etc. As
compared to electrical and electromechanical speed control system, the electronic methods
have higher accuracy, greater reliability, quick response and also higher efficiency as there
are no I2R loses and moving parts. Moreover, full four quadrant speed control is possible to
meet precise high speed standards.
All electronic speed control circuits control the speed of motor by adjusting either
DC motors can run from DC supply if available or from AC supply after it has been converted
into DC supply with the help of rectifier which can be either half wave or full wave and
either controlled by varying conduction angle of the thyristors used or uncontrolled.
As stated above, the average output voltage of a thyristors controlled rectifier can be
changed by changing its conduction angle and hence the armature voltage of the DC motor
can be adjusted to control its speed.
When runs on a DC supply the armature DC voltage can be changed with the help of
thyristors chopper circuit which can be made to interrupt DC supply at different rates to give
different average values of DC voltage.
MOSFET are used to control the average DC power delivered to the motor by using Pulse
Width Modulation technique. The PWM waveform will be generated from MCU and then
after amplification is applied to the base of MOSFET. It will control the field current of motor
to control its speed.[2]
2.1 Background
We were required to do a project during our internship in Tank Manufacturing factory. We
have visited different shops and decided to make an electronic speed control for DC motor.
The main reason behind it was we have just studied DC motors in our Electrical Machinery
course in 4th semester. Also the electronic speed controls which are already in use have
older technology. We decided to make an electronic speed control by using a
microcontroller. We also wanted to show the speed of motor on the LCD screen and also
make some emergency protection switches. Due to our limited knowledge we were not able
to complete all the proposed tasks but we have tried our best to complete them.
2.2 Scope
The characteristics of a shunt-wound motor give it very good speed regulation, and it is
classified as a constant speed motor, even though the speed does slightly decrease as
load is increased. Shunt-wound motors are used in industrial and automotive applications
where precise control of speed and torque are required.
DC motors are widely used in industry in Robots, CNC Machines, Drilling Motors,
helicopters; Food processors and grinders spin blades and Toaster ovens, tanks, heavy
machinery, vehicles etc. They are also used in fans, turbines, drills, the wheels on electric
cars, locomotives and conveyor belts. Also, in many vibrating or oscillating machines, an
electric motor spins an irregular figure with more area on one side of the axle than the
other, causing it to appear to be moving up and down
Sometimes the speed of the dc machines e.g. universal motors tend to go to destructive
speeds, these speed may damage the equipment so speed control system is used in them.
Speed control is used to set a desired torque to speed ratio for a desired load.
2.3 Recommendation
We have made the speed control system of a DC motor by using PWM pulse width
modulation. There are some recommendations about the control system that are described
briefly:
This circuit is so simple as compared to the previous one so it’s easy to dig out the
error in the circuit.
The circuit is programmed by using the micro controller so there is more accuracy in
this circuit.
Previous circuits were very large and complex and this circuit is too simple to
understand.
Many DC motors are used in industry so we need their control system so it’s good to
use this circuit because it’s more accurate and reliable.
10 Internship Report by (HITEC University) Students| Heavy Industries Taxila
August 22, 2009 [SPEED CONTROL OF DC MOTOR]
In previous switch there was no protection i.e. when the speed increases from the
required there was no switching off system but in this circuit we have the system
that when the speed will increase from the required speed the circuit will control it.
2.4 Procedure
The whole project was divided into four portions:
Circuit Designing
Programming of MCU
Circuit Simulation
PCB Designing
Another technique which can be implanted was the voltage controlled rectifier. It uses a
three phase rectifier circuit implemented by using SCR. The firing angle of the SCR can be set
by changing voltage at the gate terminal of SCR. When the voltage is increased SCR is fired
at low input AC voltage when the voltage is decreased the SCR is fired at higher input AC
voltage. So the average output voltage can be adjusted by changing the firing angle of SCR.
Finally we have decided to use voltage controlled rectifier to control the speed of the motor.
Capture: this is the function to capture the 16 bits value of timer1 register when an
event occurs on pin RC2/CCP1. This can be used for the measurement of the period
time of the signal like the frequency counter and so on.
Compare: this is the function to compare constantly the 16 bits value of timer1
register against the CCPR1 register value. This is convenient when it makes
interruption occur periodically.
PWM: this is the function to make a periodic pulse generate. This function is used to
control an external circuit with changing pulse duration (Duty).
The timer resource of the capture and compare is timer1 and the timer resource of
PWM is timer2.
CCP1 and CCP2 can be worked at the same time. However, because they are using
the same timer resources, the interaction occurs.
PWM PWM The PWMs will have the same frequency and update rate.
CCP1 register is comprised of two 8 bits registers: CCPR1L for low byte and CCPR1H for high
byte. The CCP1CON register controls the operation of CCP1. The special event trigger is
generated by compare match and will reset Timer1.
CCP2 register is comprised of two 8 bits registers: CCPR2L for low byte and CCPR2H for high
byte. The CCP2CON register controls the operation of CCP2. The special event trigger is
generated by compare match and will reset Timer1 and start an A/D conversion if the A/D
modules are enabled.
3 Circuits Explanation
3.1
of rotations is lowered. When the control voltage reaches a regulation value, an drive
electric current at the point is held.
DB1 is used to make not conscious of the polarity of the motor. When never making a
mistake in the connection, to use isn't necessary. When the voltage of the motor for the
speed detection is small, it is better not to put.
D1 is used to protect PIC when the voltage of the detection motor is high. C1 is to make
bypass the noise of the detection motor. VR1 is the variable resistor to set the number of
rotations of the main motor. The input voltage of PIC becomes low when bringing VR1 close
to the side 1 and PIC increases the drive electric current of the motor. That is, the revolution
of the motor rises. The input voltage of PIC becomes high when bringing VR1 close to the
side 3 and PIC reduces the drive electric current of the motor. That is, the revolution of the
motor slows down.
The duty of the pulse of CCP1 is controlled in the voltage (the control voltage) which was
taken in with the control voltage input circuit. When the control voltage is higher than the
regulation value, the H level time of the CCP1 pulse is made long and the number of
rotations of the motor is lowered. When the control voltage is lower than the regulation
value, the H level time of the CCP1 pulse is made short and the number of rotations of the
motor is raised.
I used N-channel MOS FET for the drive of the motor. The P-channel MOS FET can be used,
too. In the case, the duty control of the CCP1 pulse becomes opposite. It becomes low-
speed when the H level of the pulse is short and when long, it becomes high-speed. The way
of connecting between the motor and the FET becomes opposite. In this case, the power of
the transistor for the FET drive should be connected with the source terminal of P-FET.
Because the output of the motor which was used this time is big, there is a gravity that the
motor for the speed detection breaks. Therefore, an electric current is suppressed by the
resistor to have put in series.
There is not directly relation but it is related with the taking-in period with control voltage,
the period of the motor driving pulse to the number of rotations of the motor.
At the equipment this time, the LED of the bar type with seven LEDs is used. The circuit can
control eight LEDs. However, at the equipment this time, LED1 isn't used and seven LEDs
from LED2 to LED8 are used. An LED is lit up when RBx is H level.
The about 70-mA electric current flows when seven LEDs are lit up at the same time. I used
a 1 A-type regulator for the safety.[3]
4 Parts Explanation
4.1 PIC16F873 MCU
PIC16F873 MCU is used. The control of the drive
electric current of the motor is done using the
PWM function of the CCP. The voltage according
to the number of rotations of the motor is taken
in to the analog-to-digital converter and has the
control of the drive electric current. This time, it is
using a motor for the speed detection. Also, LEDs
for the monitor are lit up to know the situation of the motor drive.
4.7 Resonator
We have used a 10MH Crystal to produce resonance frequency. When changing the
frequency of resonator, the value with all kinds on the software must be changed.
6 DC Motor
It has been said that if the Ancient Romans, with their advanced civilization and knowledge of the
sciences, had been able to develop a steam motor, the course of history would have been much
different. The development of the electric motor in modern times has indicated the truth in this theory.
The development of the electric motor has given us the most efficient and effective means to do work
known to man. Because of the electric motor we have been able to greatly reduce the painstaking toil of
man's survival and have been able to build a civilization which is now reaching to the stars. The electric
motor is a simple device in principle. It converts electric energy into mechanical energy. Over the years,
electric motors have changed substantially in design; however the basic principles have remained the
same.
6.1 Magnetism
We all know that a permanent magnet will attract and hold metal objects when the object is
near or in contact with the magnet. The permanent magnet is able to do this because of its
inherent magnetic force which is referred to as a "magnetic field".
Figure-6.1 The lines of flux of a magnetic field travel from the N-pole to the S-pole.
These lines of flux help us to visualize the magnetic field of any magnet even though they
only represent invisible phenomena. The number of lines of flux varies from one magnetic
field to another. The stronger the magnetic field, the greater the number of lines of flux
which are drawn to represent the magnetic field. The lines of flux are drawn with a direction
indicated since we should visualize these lines and the magnetic field they represent as
having a distinct movement from N-pole to S-pole as shown in Figure-6.1. Another but
similar type of magnetic field is produced around an electrical conductor when an electric
current is passed through the conductor as shown in Figure6.2
Figure-6.2 The flow of electrical current in a conductor sets up concentric lines of magnetic
flux around the conductor.
These lines of flux define the magnetic field and are in the form of concentric circles around
the wire. Some of you may remember the old "Left Hand Rule" as shown in Figure-6.2. The
rule states that if you point the thumb of your left hand in the direction of the current, your
fingers will point in the direction of the magnetic field.
Figure-6.3 The magnetic lines around a current carrying conductor leave from the N-pole and
re-enter at the S-pole.
When the wire is shaped into a coil as shown in Figure-6.3, all the individual flux lines
produced by each section of wire join together to form one large magnetic field around the
total coil. As with the permanent magnet, these flux lines leave the north of the coil and re-
enter the coil at its south pole. The magnetic field of a wire coil is much greater and more
localized than the magnetic field around the plain conductor before being formed into a coil.
This magnetic field around the coil can be strengthened even more by placing a core of iron
or similar metal in the center of the core. The metal core presents less resistance to the lines
of flux than the air, thereby causing the field strength to increase.
If, however, the direction of currents in the electromagnetic coils was suddenly reversed,
thereby reversing the polarity of the two coils, then the poles would again be opposites and
repel each other. (Figure-2.4 C). The movable permanent magnet would then continue to
rotate. If the current direction in the electromagnetic coils was changed every time the
magnet turned 180 degrees or halfway around, then the magnet would continue to rotate.
This simple device is a motor in its simplest form. An actual motor is more complex than the
simple device shown above, but the principle is the same.
Since the motor is the reverse of the generator, Fleming's left hand rule can be used. If the
thumb and first two fingers of the left hand are extended at right angles to one another, the
thumb will indicate the direction of motion, the forefinger will indicate the direction of the
magnetic field, and the middle finger will indicate the direction of current. In either the
motor or generator, if the directions of any two factors are known, the third can be easily
determined.
1. An armature core
2. An air gap
3. Poles
4. A yoke
5. An armature winding
6. A field winding
7. Brushes
8. A commutator
9. A frame
11. Bearings
13. A shaft
6.5.5 Yoke
The yoke is a circular steel ring, which supports the field, poles mechanically and provides
the necessary magnetic path between the poles. The yoke can be solid or laminated. In
many DC machines, the yoke also serves as the frame.
6.5.6 Commutator
The commutator is the mechanical rectifier, which changes the AC voltage of the rotating
conductors to DC voltage. It consists of a number of segments normally equal to the number
of slots. The segments or commutator bars are made of silver bearing copper and are
separated from each other by mica insulation.
6.5.8 Interpoles
Interpoles are similar to the main field poles and located on the yoke between the main
field poles. They have windings in series with the armature winding. Interpoles have the
function of reducing the armature reaction effect in the
commutating zone. They eliminate the need to shift the
brush assembly.
Series wound motors have the armature connected in series with the field. While it offers
very high starting torque and good torque output per ampere, the series motor has poor
speed regulation. Speed of DC series motors is generally limited to 5000 rpm and below.
Series motors should be avoided in applications where they are likely to lose their load
because of their tendency to "run away" under no-load conditions. These are generally used
on crane and hoist applications.
result in a reduction of the field flux. Another effect is that if the brushes are shifted far
enough, it is possible to reduce the number of effective turns because there will be voltages
in opposition to each other between two brushes.
In a series motor the drop in speed with increased torque is much greater. This is due to the
fact that the field flux increases with increased current, thus tending to prevent the
reduction in back EMF that is being caused by the reduction in speed. The field flux varies in
a series motor and the torque varies as the square of the armature current until saturation
is reached. Upon reaching saturation, the curve tends to approach the straight line trend of
the shunt motor. The no load speed of a series motor is usually too high for safety and,
therefore, it should never be operated without sufficient load.
A compound motor has a speed torque characteristic which lies between a shunt and series
motor.
A shunt motor has good speed regulation while a series motor has poor speed regulation.
For some applications such as cranes or hoists, the series motor has an advantage since it
results in the more deliberate movement of heavier loads. Also, the slowing down of the
series motor is better for heavy starting loads. However, for many applications the shunt
motor is preferred.
6.14 Losses
6.14.1 Friction and Windage
These losses include bearing friction, brush friction, and windage. They are also known as
mechanical losses. They are constant at a given speed but vary with changes in speed.
Power losses due to friction increase as the square of the speed and those due to windage
increase as the cube of the speed.
6.15 Efficiency
For generations or motors, the efficiency is equal to the output divided by the input.
However, in a generator, the input is mechanical while the output is electrical. In a motor
the opposite is true, therefore:
however, by the name of James Watt, who in 1769 improved the steam engine making it
truly workable and practical. In his attempt to sell his new steam engines, the first question
coal mine owners asked was "can your engine out work one of my horses?" Watt didn't
know since he didn't know how much work a horse could do. To find out, Watt and his
partner bought a few average size horses and measured their work. They found that the
average horse worked at the rate of 22,000 foot pounds per minute. Watt decided, for some
unknown reason, to add 50% to this figure and rate the average horse at 33,000 foot
pounds per minute.
What's important is that there is now a system in place for measuring the rate of doing
work. And there is a unit of power, horsepower.
If steam engines had been developed someplace else in the world, where the horse was not
the beast of burden, we might be rating motors in oxen power or camel power. Today,
motors are also rated in Watts output.
Horsepower as defined by Watt is the same for AC and DC motors, gasoline engines, dog
sleds, etc.
7 Conclusion
Our internship project was that to design a speed control circuit for a DC Motor. The simulations
indicate that this circuit is very easy to implement, in this circuit. Fewer components are used due to
which troubleshooting is made easy. As MCU is used in this circuit so it is more precise, accurate and
reliable.
That’s why this circuit is clearly the better design. This design requires minimal cost to implement the
circuit, it is relatively easy to debug and its maintenance is easy due to simple and short design. In
addition, it is cheaper to build and more durable.
8 Appendices
Appendix A
Programming Code of MCU
include p16f873.inc
goto init
goto int
init
wait
int
ad_check
check1
led_cont
int_end
retfie
;********************************************************
;********************************************************
End
Appendix B
PIC16F87XA Data Sheet
28 Pin Enhanced Flash Microcontrollers
All single-cycle instructions except for program branches, which are two-cycle
Timer1: 16-bit timer/counter with prescaler, can be incremented during Sleep via external
crystal/clock
Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler
Universal Synchronous Asynchronous Receiver Transmitter (USART/SCI) with 9-bit address detection
Parallel Slave Port (PSP) – 8 bits wide with external RD, WR and CS controls (40/44-pin only)
Analog Features
10-bit, up to 8-channel Analog-to-Digital Converter (A/D)
Programmable input multiplexing from device inputs and internal voltage reference
Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable operation
CMOS Technology
Low-power, high-speed Flash/EEPROM technology
Low-power consumption
Appendix C
MOSFET FA57SA50LC Data Sheet
Appendix D
Bridge Rectifier 2W005G Datasheet
9 References
[1]Web: http://www.wikipedia.org
[2] Book “Electrical Technology” by “BL Theraja” and “AK Theraja”, 23rd Edition, Volume 1
Web: http://downloads.labcenter.co.uk
Web: http://www.google.com
Web: http://www.images.google.com
Web: http://www.alldatasheets.com