Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
QUADRANT OPERATION
ABSTRACT
DC Motor speed control is carried out by use of Four Quadrant
Chopper drive. Insulated Gate Bipolar Transistors are used for speed
control of the motor and the IGBT triggering is carried out by use of
PWM converters under various loading conditions and by varying
armature voltageand field voltage.Their Speeds below the base speed can
be controlled by armature voltage control. Speed above the base speed is
obtained by field-flux control. The output voltage and current can be
controlled both in magnitude as well as in direction so the power flow can
be in either direction.The ac supply in fed to the setup through an
isolation transformer and it is rectified to dc for its use. The above
mentioned project proposed carried out using thyristors and a
comparative made.
TABLE OF CONTENTS
CHAPTER NO.
TITLE
LIST OF TABLES
LIST OF FIGURES
LIST OF ABBREVIATIONS
1
INTRODUCTION
BLOCK DIAGRAM
POWER SUPPLY
3.1 INTRODUCTION
3.2 TRANSFORMER
3.3 BRIDGE RECTIFIER
3.4 FILTER CIRCUIT
PIC MICROCONTROLLER
4.1 FEATURES
4.2 DESCRIPTION
4.3 ARCHITECTURE
4.4 PIN DIAGRAM
4.5 PIN DESCRIPTION
DC MOTOR DETAILS
7.1 INTRODUCTION
7.2 OVER VIEW
SCHEMATIC DIAGRAMS
8.1
PIC MICROCONTROLLER
8.2
10
DATA SHEETS
10.1 PIC MICROCONTROLLER
10.2 LM358 OPERATIONAL AMPLIFIER
10.3 L293D MOTOR DRIVER
11
PROJECT IMAGE
11.1 ADVANTAGES
11.2 APPLICATION
12
CONCLUSION
13
REFERENCE
LIST OF SYMBOLS
1) Capacitor
2) Capacitor, polarized
3) Capacitor, variable
4) Diode
5) Zener diode
6) LED
7) Photodiode
8) Inductor
9) Transformer
12) Fuse
13) Battery
16) Relay
17) Resistor
PIC Microcontroller
IC2
IC3
IC4
IC5
Crystal oscillator
D1-D4
LED1
1-kilo-ohm,1W
R2
470ohm
R3
10-kilo-ohm
R4
2.2-kilo-ohm
R5
12-kilo-ohm
R6
330-ohm
R7
560-ohm
Capacitors:
C1
C2
C3
Miscellaneous:
X1
OUTPUT
Connectors
CHAPTER 1
INTRODUCTION
Objective of the project:
.
Embedded Systems:
Hardware Implementation of the
Project
This chapter briefly explains about the Hardware Implementation
of the project. It discusses the design and working of the design with the
help of block diagram and circuit diagram and explanation of circuit
diagram in detail. It explains the features, timer programming, serial
communication, interrupts of microcontroller. It also explains the various
modules used in this project.
Project Design
The implementation of the project design can be divided in two
parts.
Hardware implementation
Firmware implementation
Hardware implementation deals in drawing the schematic on the
plane paper according to the application, testing the schematic design
over the breadboard using the various ICs to find if the design meets the
objective, carrying out the PCB layout of the schematic tested on
breadboard, finally preparing the board and testing the designed
hardware.
The project design and principle are explained in this chapter using
the block diagram and circuit diagram. The block diagram discusses
about the required components of the design and working condition is
explained using circuit diagram and system wiring diagram.
CHAPTER 2
2.O Block diagram
The block diagram of the project is as shown in the figure
CHAPTER 3
POWER SUPPLY UNIT
3.1 INTRODUCTION
Power supply is an integral parts a vital role in every electronic
system and hence their design constitutes a major part in every
application. In order to overcome mal-operation which results due to
fluctuations in the load and discontinuity in the supply proper choice of
power supply is indeed a great need in this hour.
The present chapter introduces the operation of power supply
circuits built using filters, rectifiers, and then voltage regulators. Starting
with an AC voltage, a steady DC voltage is obtained by rectifying the AC
voltage, then filtering to a DC level, and finally, regulating to obtain a
desired fixed DC voltage. The regulation is usually obtained from an IC
voltage regulator unit, which takes a DC voltage and provides a
somewhat lower DC voltage, which remains the same even if the input
DC voltage varies, or the output load connected to the DC voltage
changes.
A block diagram containing the parts of a typical power supply and
the voltage at various points in the unit is shown in fig 19.1. The AC
voltage, typically 120 V RMS, is connected to a transformer, which steps
that AC voltage down to the level for the desired DC output.
A diode rectifier then provides a full-wave rectified voltage that is
initially filtered by a simple capacitor filter to produce a DC voltage. This
TRANSFORMER
FULLWAVE RECTIFIER
VOLTAGE REGULATOR
FILTER CIRCUIT
TRANSFORMER
RECTIFIER
FILTER
IC REGULATOR
LOAD
WORKING PRINCIPLE
3.1 TRANSFORMER
Transformer is a static device, which transfers electrical energy
from one alternating current circuit to another without change in
frequency. The working principle behind its operation is faraday laws of
electromagnetic induction, which states that, "whenever current carrying
conductor is moved in a magnetic field, flux linked with the conductor
changes and EMF is induced in the conductor".
The potential transformer will step down the power supply voltage
(0-230V) to (0-6V) level. Then the secondary of the potential transformer
will be connected to the precision rectifier, which is constructed with the
help of OP-AMP. The advantages of using precision rectifier are it will
give peak voltage output as DC, rest of the circuits will give only RMS
output.
and D3. Current flow will now be from point A through D4, up through
RL, through D2, through the secondary of T1, and back to point A. This
path is indicated by the broken arrows. Waveforms (3) and (4) can be
observed across D2 and D4. The current flow through RL is always in the
same direction. In flowing through RL this current develops a voltage
corresponding to that shown waveform.
One advantage of a bridge rectifier over a conventional full-wave rectifier
is that with a given transformer the bridge rectifier produces a voltage
output that is nearly twice that of the conventional full-wave circuit.
The maximum voltage that appears across the load resistor is nearly-but
never exceeds-500 volts, as result of the small voltage drop across the
diode. In the bridge rectifier shown in view B, the maximum voltage that
can be rectified is the full secondary voltage, which is 1000 volts.
Therefore, the peak output voltage across the load resistor is nearly 1000
volts. With both circuits using the same transformer, the bridge rectifier
circuit produces a higher output voltage than the conventional full-wave
rectifier circuit.
Switch Regulator
IC VOLTAGE REGULATORS:
THREE-TERMINAL VOLTAGE
REGULATORS:
Fig shows the basic connection of a three-terminal voltage
regulator IC to a load. The fixed voltage regulator has an unregulated DC
input voltage, Vi, applied to one input terminal, a regulated output DC
voltage, Vo, from a second terminal, with the third terminal connected to
ground.
IC Part
Minimum Vi (V)
(V)
7805
+5
7.3
7806
+6
8.3
7808
+8
10.5
7810
+10
12.5
7812
+12
14.6
7815
+15
17.7
7818
+18
21.0
7824
+24
27.1
regulator is located far from the filter capacitor of the power supply. For
output voltage other than 5V, 12V, 15V, the LM117 series provides an
output voltage range from 1.2V to 57V.
FEATURES:.
Output current in excess of 1A
Internal thermal overload protection
No external components required
Output transistor safe area protection
Internal short circuit current limits
Available in the aluminium T0-3 package.
Voltage Range
LM 7805 C 5V
LM 7812 C 12V
LM 7815 C 15 V
All the characteristics are measured with capacitor across the input of
0.22 f. All characteristics except noise voltage and ripple rejection ratio
are measured using pulse techniques (two 10 ms, duty cycle 5%)
output voltage changes due to changes in internal temperature must be
taken into account separately.
Absolute maximum ratings indicate limits beyond which damage to the
device may occur. For quaranted specifications and the test conditions,
see electrical characteristics.
CHAPTER 4
PIC MICROCONTROLLER
PIC MICROCONTROLLER 16F877A
4.1 FEATURES:
This powerful 200 nanosecond instruction execution yet easy-to program
only
35
single
word
instructions
CMOS
FLASH-based
8-bit
4.2 DESCRIPTION:
PIC 16F877 is one of the most advanced microcontroller from Microchip.
This controller is widely used for experimental and modern applications
because of its low price, wide range of applications, high quality, and
ease of availability. It is ideal for applications such as machine control
applications, measurement devices, study purpose, and so on. The PIC
16F877 features all the components which modern microcontrollers
normally have.
4.3 ARCHITECTURE:
Memory
This microcontroller has three types of memory- ROM, RAM and
EEPROM. All of them will be separately discussed since each has
specific functions, features and organization.
ROM Memory
ROM memory is used to permanently save the program being executed.
This is why it is often called program memory. The PIC16F887 has
8Kb of ROM (in total of 8192 locations). Since this ROM is made with
FLASH technology, its contents can be changed by providing a special
programming voltage (13V).
Anyway, there is no need to explain it in detail because it is automatically
performed by means of a special program on the PC and a simple
electronic device called the Programmer.
General-Purpose Registers
General-Purpose registers are used for storing temporary data and results
created during operation. For example, if the program performs a
counting (for example, counting products on the assembly line), it is
necessary to have a register which stands for what we in everyday life
call sum. Since the microcontroller is not creative at all, it is necessary
to specify the address of some general purpose register and assign it a
new function. A simple program to increment the value of this register by
1, after each product passes through a sensor, should be created.
Therefore, the microcontroller can execute that program because it now
knows what and where the sum which must be incremented is. Similarly
to this simple example, each program variable must be pre assigned some
of general-purpose register.
SFR Registers
Special-Function registers are also RAM memory locations, but unlike
general-purpose registers, their purpose is predetermined during
manufacturing process and cannot be changed. Since their bits are
physically connected to particular circuits on the chip (A/D converter,
serial communication module, etc.), any change of their contents directly
STACK
A part of the RAM used for the stack consists of eight 13-bit registers.
Before the microcontroller starts to execute a subroutine (CALL
instruction) or when an interrupt occurs, the address of first next
instruction being currently executed is pushed onto the stack, i.e. onto one
of its registers. In that way, upon subroutine or interrupt execution, the
microcontroller knows from where to continue regular program
execution. This address is cleared upon return to the main program
because there is no need to save it any longer, and one location of the
stack is automatically available for further use.
It is important to understand that data is always circularly pushed onto the
stack. It means that after the stack has been pushed eight times, the ninth
push overwrites the value that was stored with the first push. The tenth
push overwrites the second push and so on. Data overwritten in this way
is not recoverable. In addition, the programmer cannot access these
registers for write or read and there is no Status bit to indicate stack
overflow or stack underflow conditions. For that reason, one should take
special care of it during program writing.
Interrupt System
The first thing that the microcontroller does when an interrupt request
arrives is to execute the current instruction and then stop regular program
execution. Immediately after that, the current program memory address is
automatically pushed onto the stack and the default address (predefined
by the manufacturer) is written to the program counter. That location
from where the program continues execution is called the interrupt
vector. For the PIC16F887 microcontroller, this address is 0004h. As
seen in Fig. 1-7 below, the location containing interrupt vector is passed
over during regular program execution.
Part of the program being activated when an interrupt request arrives is
called the interrupt routine. Its first instruction is located at the interrupt
vector. How long this subroutine will be and what it will be like depends
on the skills of the programmer as well as the interrupt source itself.
Some microcontrollers have more interrupt vectors (every interrupt
request has its vector), but in this case there is only one. Consequently,
the first part of the interrupt routine consists in interrupt source
recognition.
Finally, when the interrupt source is recognized and interrupt routine is
executed, the microcontroller reaches the RETFIE instruction, pops the
address from the stack and continues program execution from where it
left off.
CHAPTER-5
LM-358 OPERATIONAL AMPLIFIER
INTRODUCTION
An Operational Amplifier, or op-amp for short, is fundamentally
a voltage amplifying device designed to be used with external
feedback components such as resistors and capacitors between its
output and input terminals. These feedback components determine
the resulting function or operation of the amplifier and by virtue
of the different feedback configurations whether resistive,
capacitive or both, the amplifier can perform a variety of different
operations, giving rise to its name of Operational Amplifier.
An Operational Amplifier is basically a three-terminal device
which consists of two high impedance inputs, one called
the Inverting Input, marked with a negative or minus sign, ( - )
and the other one called the Non-inverting Input, marked with a
positive or plus sign ( + ).
Pin Description:
o
o
o
o
o
Features:
o
o
o
o
o
o
o
o
o
Advantages:
o
o
o
o
o
Working of LM358:
The inverting input of the comparator LM358 i.e., pin 2 is given to the
fixed voltage i.e., in the ratio 47k:10k and the non inverting input of the
comparator is pulled down and is given to sensing terminal. When the
resistance between the positive supply and the non inverting input is high
then resulting is the non-inverting input less than the inverting input
making comparator output as logic low at pin1. And when the resistance
falls making available a voltage to the non-inverting input higher than
inverting input, so that the output of comparator is logic high.
CHAPTER 6
L293D MOTOR DRIVER CIRCUIT
6.1 INTRODUCTION
L293D is a dual H-bridge motor driver integrated circuit (IC). Motor
drivers act as current amplifiers since they take a low-current control
signal and provide a higher-current signal. This higher current signal is
used to drive the motors.
L293D contains two inbuilt H-bridge driver circuits. In its common mode
of operation, two DC motors can be driven simultaneously, both in
forward and reverse direction. The motor operations of two motors can be
controlled by input logic at pins 2 & 7 and 10 & 15. Input logic 00 or 11
will stop the corresponding motor. Logic 01 and 10 will rotate it in
clockwise and anticlockwise directions, respectively.
Enable pins 1 and 9 (corresponding to the two motors) must be high for
motors to start operating. When an enable input is high, the associated
driver gets enabled. As a result, the outputs become active and work in
phase with their inputs. Similarly, when the enable input is low, that
driver is disabled, and their outputs are off and in the high-impedance
state.
6.2 Features:
Easily compatible with any of the system
Easy interfacing through FRC (Flat Ribbon Cable)
External Power supply pin for Motors supported
Onboard PWM (Pulse Width Modulation) selection switch
2pin Terminal Block (Phoenix Connectors) for easy Motors Connection
Onboard H-Bridge base Motor Driver IC (L293D)
Pin Diagram:
CHAPTER 7
DC MOTOR DETAILS
DC motors consist of one set of coils, called armature winding,
inside another set of coils or a set of permanent magnets, called the stator.
Applying a voltage to the coils produces a torque in the armature,
resulting in motion. Stator The stator is the stationary outside part of a
motor.
The stator of a permanent magnet dc motor is composed of two
or more permanent magnet pole pieces.
Principle of operation
Consider a coil in a magnetic field of flux density B (figure 4).
When the two ends of the coil are connected across a DC voltage source,
current I flows through it. A force is exerted on the coil as a result of the
interaction of magnetic field and electric current. The force on the two
sides of the coil is such that the coil starts to move in the direction of
CHAPTER 8
SCHEMATIC DIAGRAMS
8.1 PIC MICRO CONTROLLER
CHAPTER 9
PROGRAMMING OF PIC MICROCONTROLLER
CODE:
/***** *****
PWM MODULE
#include<pic.h>
void main()
{
mc_init();
RC0=0;
RB6=0;
RB7=0;
do
{
if(RB0==1&&RB1==1)
{
ON=ON+1;
}
if(RB0==0&&RB1==1)
{
ON=ON-1;
}
if(ON>950)
{
ON=950;
}
if(ON<1)
{
ON=1;
}
RB6=1;
OFF=1000-ON;
for(i=0; i<=ON; i++)
{
RB5=1;
}
for(i=0; i<=OFF; i++)
{
RB5=0;
}
}while(1);
}
void mc_init()
{
TRISA=0xFF;
PORTD=0X00;
PORTC=0X00;
}
CHAPTER 10
10.1 DATA SHEET PIC MICRO CONTROLLER
CHAPTER 11
11.2 Advantages
11.3 APPLICATIONS
CHAPTER 12
Conclusion
The cycle speed of DC motor can be varied by the duty cycle of
PWM signal the controller can operate all four quadrant of DC motor
regenerative breaking can be studied easily by changing to be a bigger
size motor.
CHAPTER 13
REFERENCES
1. http://www.aimglobal.org/technologies/rfid/what_is_rfid.asp
2. http://www.rfidjournal.com/faq
3. http://www.technovelgy.com/ct/Technology-Article.asp
4. http://www.perada.eu/documents/articles-perspectives/anintroduction-to-rfid-technology.pdf
5. http://csrc.nist.gov/publications/nistpubs/800-98/SP80098_RFID-2007.pdf
6. www.ieee.org
7. http://www.zntu.edu.ua/base/lection/rpf/lib/zhzh03/8051_tu
torial.pdf
8. http://www.taltech.com/TALtech_web/resources/intro-sc.html
9. http://focus.ti.com/lit/ds/symlink/max232.pdf
10 http://www.kmitl.ac.th/~kswichit/89prog/index.html