Speed Control of DC Motor Using PWM Technique
Speed Control of DC Motor Using PWM Technique
ELECTRICAL ENGINEERING
DEPARTMENT
AS TERM WORK FOR THE SUBJECT
PROJECT
OF SEMESTER VIII
OF
BE (Electrical)
i
LUKHDHIRJI ENGINEERING COLLEGE
MORBI -363642
CERTIFICATE
This is to certify that the project work titled
“SPEED CONTROL OF DC MOTOR
USING PWM TECHNIQUE” is being
submitted by
NAME ROLL NO. EXAM. NO.
Mr. RAHUL PARMAR 30
Mr. SUSHIL RATHOD 46
Mr. HARSHAD PATEL 33
Mr. CHETAN KOTHIYA 22
Mr. VIKRAMSINH MALIVAD 24
ii
Place: MORBI Date:
ACKNOWLEDGEMENT
We express our deep and sincere thanks to our guide Mr. Hitarth Buch,
Lecturer in Electrical Engineering Department, L. E. College, Morbi. Initially he
helped us in selecting this project and then guided us throughout the project. He
also helped us by taking a lot of pain and sacrificing his personal valuable time in
completion of this practical project as well as the project report.
Next, we would like to express our deep gratitude towards Mr. K. B. Rathod,
Asst. Prof. in Electrical Engineering Department and Prof. S. P. Sapre, Head of
Electrical Engineering Department, who motivated us at one or another stage of
the project work.
iii
ABSTRACT
The aim of development of this project is towards providing efficient
and simple method for control speed of DC motor using pulse width modulation
technique. The modulation of pulse width is obtained using dual timer IC - NE556.
iv
TABLE OF CONTENTS
ACKNOWLEDGEMENT................................
................................................................
................................ ..........................................................
................................ .......................... iii
ABSTRACT iv
LIST OF TABLES................................................................
................................................................................................
................................ .................................
................................ . vi
1.1 GOAL.......................................................................................................9
1.2 Pulse Width Modulation (PWM) Basics ....................................................9
2.1 GOAL.....................................................................................................14
3.1 GOAL.........................................................................................................21
3.2 DESIGN OF ASTABLE MULTIVIBRATOR...................................................21
4.1 GOAL.....................................................................................................23
5.1 GOAL...........................................................................................................27
5.2 TESTING PROCEDURE AND CALIBRATION.............................................27
5.2.1 TESTING OF PULSE-WIDTH MODULATION CIRCUIT .........................27
6.1 GOAL.........................................................................................................29
6.2 WAVE-FORM OBSERVATION ..................................................................29
7.1 GOAL.....................................................................................................31
7.2 COMPONENT LIST .................................................................................31
8.1 GOAL.........................................................................................................33
8.2 TIME ANALYSIS........................................................................................33
8.3 COST ANALYSIS ......................................................................................34
9.1 GOAL..........................................................................................................36
9.2 CONCLUSION............................................................................................36
10.1 GOAL.....................................................................................................38
10.2 POSSIBLE MODIFICATIONS ................................................................38
APPENDIX 39
DATASHEETS...................................................................................................39
BIBLIOGRAPHY................................
BIBLIOGRAPHY................................................................
................................................................................................
....................................................................
.................................... 42
v
LIST OF TABLES
LIST OF FIGURES
vi
GLOSSARY OF TERMS
AC - Alternating Current
NPT - Non – Punch Through
CRO - Cathode Ray Oscilloscope
DC - Direct Current
IC - Integrated Circuit
PWM - Pulse Width Modulation
vii
1.
INTRODUCTION
TO PWM TECHNIQUE
8
1.1 GOAL
“To explain PULSE WIDTH MODULATION technique in brief.”
1. Linear Modulation
9
Fig. 1.2 Spectra of PWM
2. Sawtooth PWM
10
Fig. 1.4 Trailing Edge Modulation
11
There are many ways to generate a Pulse Width Modulated signal
other than fixed frequency sine sawtooth. For three phase systems the modulation of
a Voltage Source Inverter can generate a PWM signal for each phase leg by
comparison of the desired output voltage waveform for each phase with the same
sawtooth. One alternative which is easier to implement in a computer and gives a
larger modulation depth is using space vector modulation.
4. Modulation Depth
12
2.
THEORY
13
2.1 GOAL
“To study about Dual timer IC NE556 and its operation as Asteble and
Monostable Multivibrator.”
2.2 INTRODUCTION
The circuit symbol for a 556 is a box with the pins arranged to suit the
circuit diagram: for example 555 pin 8 at the top for the +Vs supply, 555 pin 3
output on the right. Usually just the pin numbers are used and they are not labeled
with their function.
The 556 can be used with a supply voltage (Vs) in the range 4.5 to
15V (18V absolute maximum).
The IC 556 is a dual timer 14 pin IC as shown in fig above. There are
two sets of six pins (pin no.1 – 6 and pin no. 8 - 13) are same as the pin no. 2 – 7
in IC 555. The brief description of each pin is as follows.
Pin 1 & 13: Discharge. This pin is connected internally to the collector of
transistor Q1. When the output is high Q1 is OFF and acts as an open circuit to
external capacitor C connected across it. On the other hand, when the output is
14
low, Q1 is saturated and acts as a short circuit, shorting out the external capacitor
C to ground.
Pin 3 & 11: Control. An external voltage applied to this terminal changes
the threshold as well as trigger voltage. Thus by imposing a voltage on this pin or
by connecting a pot between this pin and ground, the pulse width of the output
waveform can be varied. When not used, the control pin should be bypassed to
ground with a 0.01µF Capacitor to prevent any noise problems.
Pin 4 & 10: Reset. The 555 timer can be reset (disabled) by applying a
negative pulse to this pin. When the reset function is not in use, the reset terminal
should be connected to +VCC to avoid any possibility of false triggering.
Pin 5 & 9: Output. There are two ways by which a load can be connected
to the output terminal: either between pin 3 and ground or between pin3 and
supply voltage +VCC. When the output is low the load current flows through the
load connected between pin3 and +VCC into the output terminal and is called sink
current. The current through the grounded load is zero when the output is low. For
this reason the load connected between pin 3 and +VCC is called the normally on
load and that connected between pin 3 and ground is called normally off-load. On
the other hand, when the output is high the current through the load connected
between pin 3 and +VCC is zero. The output terminal supplies current to the
normally off load. This current is called source current. The maximum value of sink
or source current is 200mA.
Pin 6 & 8: Trigger. The output of the timer depends on the amplitude of the
external trigger pulse applied to this pin. The output is low if the voltage at this pin
is greater than 2/3 VCC. When a negative going pulse of amplitude greater than 1/3
VCC is applied to this pin, comparator 2 output goes low, which in turn switches the
output of the timer high. The output remains high as long as the trigger terminal is
held at a low voltage.
Pin 7: Ground. All voltages are measured with respect to this terminal.
Pin 14: +VCC. The supply voltage of +5V to + 18V is applied to this pin with
respect to ground.
Trigger input: when < 1/3 Vs ('active low') this makes the output high
(+Vs). It monitors the discharging of the timing capacitor in an astable
circuit. It has a high input impedance > 2M .
15
Threshold input: when > 2/3 Vs ('active high') this makes the output low
(0V)*. It monitors the charging of the timing capacitor in astable and
monostable circuits. It has a high input impedance > 10M .
Reset input: when less than about 0.7V ('active low') this makes the output
low (0V), overriding other inputs. When not required it should be connected
to +Vs. It has an input impedance of about 10k .
Control input: this can be used to adjust the threshold voltage which is set
internally to be 2/3 Vs. Usually this function is not required and the control
input is connected to 0V with a 0.01µF capacitor to eliminate electrical
noise. It can be left unconnected if noise is not a problem.
The discharge pin is not an input, but it is listed here for convenience. It is
connected to 0V when the timer output is low and is used to discharge the
timing capacitor in astable and monostable circuits.
The output of a standard 556 can sink and source up to 200mA. This
is more than most chips and it is sufficient to supply many output transducers
directly, including LEDs (with a resistor in series), low current lamps, piezo
transducers, loudspeakers (with a capacitor in series), relay coils (with diode
protection) and some motors (with diode protection). The output voltage does not
quite reach 0V and +Vs, especially if a large current is flowing.
2.6 APPLICATION
16
Fig. 2.2 Astable Operation
In this mode, the initial pulse when power is first applied is a bit
longer than the others, having duration of T= 1.1( Ra + Rb ) * C .
t1 = 0.693( Ra + Rb ) * C
t 2 = 0.693Rb * C
1.45
f =
( R a + 2 Rb ) * C
Note that the duty cycle of the 555 timer circuit in astable mode
cannot reach 50%. On time must always be longer than off time, because Ra must
have a resistance value greater than zero to prevent the discharge transistor from
directly shorting VCC to ground. Such an action would immediately destroy the 555
IC.
17
One interesting and very useful feature of the 555 timer in either
mode is that the timing interval for either charge or discharge is independent of the
supply voltage, VCC. This is because the same VCC is used both as the charging
voltage and as the basis of the reference voltages for the two comparators inside
the 555. Thus, the timing equations above depend only on the values for R and C
in either operating mode.
18
Time period, T = 1.1RC
The value of 1.1RC isn't exactly precise, of course, but the round off
error amounts to about 0.126%, which is much closer than component tolerances
in practical circuits, and is very easy to use. The values of R and C must be given
in Ohms and Farads, respectively, and the time will be in seconds. You can scale
the values as needed and appropriate for your application, provided you keep
proper track of your powers of 10. For example, if you specify R in megohms and
C in microfarads, t will still be in seconds. But if you specify R in kilohms and C in
microfarads, t will be in milliseconds. It's not difficult to keep track of this, but you
must be sure to do it accurately in order to correctly calculate the component
values you need for any given time interval.
19
3.
CIRCUIT DESIGN
20
3.1 GOAL
“To design circuit this gives square pulse of modulated pulse width as
output.”
T = 1.1*R1*C1
T
R1 =
1.1 * C1
0.00242
=
1.1 * 0.00000001
= 220KΩ .
21
4.
CIRCUIT DESCRIPTION
AND WORKING
22
4.1 GOAL
“To explain working of the PWM circuit.”
• Driving Circuit: This block provides power required to drive the motor. As the
frequency of output pulses of Monostable multivibrator changes, the average voltage
supplied to motor changes. Hence, the speed of motor changes.
23
4.3 PULSE WIDTH MODULATION TECHNIQUE:
Modulation means to vary something. Pulse Width modulation means
to vary the width of pulses to obtain desired output voltage.
As shown in the diagram above we have used IC556 for the generation
of pulses. The left part of IC is used as astable mode to generate square pulses of
frequency 549Hz and right part of IC is used as monostable mode. The output of
astable mode is fed to the trigger pin (Pin no. 8) of the monostable circuit. This
monostable circuit generates pulses of variable width. The Figure shows three
different pulse-width modulation signals. Fig. shows a pulse-width modulation output
at a 10% duty-cycle i.e. the signal is ON for 10% of period and 90% OFF. Figure also
shows Pulse-width modulation output at 50 % and 90 % duty-cycle respectively
24
Fig. 4.3 PWM signal of varying duty-cycles
25
5.
TESTING AND
CALIBARATION
26
5.1 GOAL
“To give details about testing procedure.”
2) Connect the power supply to the ICs from the linear regulator circuit
3) Measure each output speed for each case and take observation in
observation table.
27
6.
RESULTS
28
6.1 GOAL
“To give obtained results of the project.”
1.
2.
3.
4.
5.
29
7.
BILL OF MATERIAL
30
7.1 GOAL
“To give details of components used in project.”
31
8.
32
8.1 GOAL
“To give time and cost analysis of the project”
33
8.3 COST ANALYSIS
34
9.
CONCLUSION
35
9.1 GOAL
“To conclude the work carried out.”
9.2 CONCLUSION
From the project work, following points can be concluded.
36
10.
FUTURE
MODIFICATIONS
37
10.1 GOAL
“To highlight possible modifications that can be made in the project for
improving performance”.
TABLE 10-
10-1 FUTURE MODIFICATIONS
38
APPENDIX
DATASHEETS
39
40
41
BIBLIOGRAPHY
1) Electronics For You – EFY Enterprises Pvt. Ltd.
2) OPAMP and Linear Integrated Circuit – R. A. Gayakwad.
3) Power Electronics Circuits, Devices and Applications - Rashid M. H.
4) Power Electronics - P. S. Bhimbara.
5) Texas Instruments Linear IC Data Book
6) WEB SITE SUPPORT - www.kpsec.freeuk.com
- www.datasheetcatelog.com
42