Company Profile
Technology changes drastically within the counts of time and it have become vicissitude of
life. To survive in the air of cutthroat competition, one needs to be fully cognizant with the
changing trends of the technology, the needs of the clients and the employers, in brief,
with almost all the aspects o f the industry. There is great demand for system designing
engineers working on the embedded systems. This demand is going to rise further in the
coming years. Other factor favorable for this is the incursion of foreign especially
American companies in India.
EEAST is a complete R & D Organization dedicated to provide Electronics and
Advanced Software Products and Solutions to its Clients. Achieving the needs of our
customer and converting their ideas to real models is our motto. We are working in the field of
Embedded Systems, Automation and Advanced System design for the last four years with the
vision of becoming a center of Excellence to provide Solutions, Services and Training in
various fields of technologies.
EEAST has the distinction of being a pioneer among the embedded companies in India,
engaged in imparting high-end training in all aspects of Embedded Systems Design and
Project development in various fields of engineering and technology for graduates,
undergraduates and postgraduates of the appropriate discipline, the training at EEAST is not
merely passing knowledge but build intelligence among the participants to achieve goals in
their life by thoroughly exposing them to industrial environment and projects. We work
on overall development of our employees and trainees.
EEAST is an organization providing advanced projects, complete electronic solutions in
development systems like microprocessor, micro - controllers, wireless communications,
optical fiber communications, real time operating systems, digital signal processing,
Embedded Systems and Micro - Sensors including software solution, solutions in C, C++,
Java, .Net, Visual, C++ Visual basic, embedded C and Embedded LINUX. We have been
roviding projects and solutions professionally to various industries, academically to
innumerable number of students. In our endeavor for excellence and manpower
developments in this field, we are providing on these technologies specially customized for
individual needs.
Introduction
Microcontroller are widely used in Embedded System products. An Embedded product uses
the microprocessor(or microcontroller) to do one task & one task only. A printer is an example
of Embedded system since the processor inside it perform one task only namely getting the
data and printing it. Contrast this with Pentium based PC. A PC can be used for any no. of
applications such as word processor, print server, bank teller terminal, video game player,
network server or internet terminal. Software for variety of applications can be loaded and run.
Of course the reason a PC can perform multiple task is that it has RAM memory and an
operating system that loads the application software into RAM & lets the CPU run it. In and
Embedded system there is only one application software that is typically burn into ROM. An
x86PC Contain or its connected to various Embedded Products such as keyboard, printer,
modem, Disc controller, Sound card, CD-Rom Driver, Mouse & so on. Each one of these
peripherals as a microcontroller inside it that performs only one task. For example inside every
mouse there is microcontroller to perform the task of finding the mouse position and sending it
to PC.
Although microcontroller are preferred choice for many Embedded systems, There are times
that a microcontroller is inadequate for the task. For this reason in recent years many
manufactures of general purpose microprocessors such as INTEL, Motorolla, AMD & Cyrix
have targeted their microprocessors for the high end of Embedded market. While INTEL,
AMD, Cyrix push their x86 processors for both the embedded and desktop pc market,
Motorolla is determined to keep the 68000 families alive by targeting it mainly for high end of
embedded system.
One of the most critical needs of the embedded system is to decrease power consumptions and
space. This can be achieved by integrating more functions into the CPU chips. All the
embedded processors based on the x86 and 680x0 have low power consumptions in additions
to some forms of I/O, Com port & ROM all on a single chip. In higher performance Embedded
system the trend is to integrate more & more function on the CPU chip & let the designer
decide which feature he/she wants to use.
MICROPROCESSOR (MPU)
A microprocessor is a general-purpose digital computer central processing
unit (CPU). Although popularly known as a computer on a chip is in no
sense a complete digital computer. The block diagram of a microprocessor
CPU is shown, which contains an arithmetic and logical unit (ALU), a
program counter (PC), a stack pointer (SP),some working registers, a clock
timing circuit, and interrupt circuits.
ARITHMETIC
AND
LOGICAL UNIT
ACCUMULATOR
WORKING REGISTERS
PROGRAM
COUNTER
STACK
POINTER
CLOCK
CIRCUIT
INTERRUPT
CIRCUITS
MICROCONTROLLERS (MCU)
Figure shows the block diagram of a typical microcontroller, which is a true
computer on a chip. The design incorporates all of the features found in
micro-processor CPU: ALU, PC, SP, and registers. It also added the other
features needed to make a complete computer: ROM, RAM, parallel I/O,
serial I/O, counters, and clock circuit.
ALU
TIMER / COUNTER
I/O
PORT
ACCUMULATOR
I/O
PORT
REGISTERS
INTERNAL
RAM
INTERNAL
ROM
Interrupt
Circuits
CLOCK
CIRCUIT
ALU
PROGRAM COUNTER
MICROCONTROLLER ARCHITECTURE
VARIOUS MICROCONTROLLERS
FEATURES
(i) It is Intels product. Neither a microprocessor nor a microcontroller.
(ii) It is a 8-bit controller.
(iii) Internally no ROM is provided i.e. code is outside the chip.
FEATURES
(i) It is a first complete 8-bit microcontroller.
(ii) It is a name of a family. In which the instruction set, pin configuration,
architecture are same, only memory storage capacity is different.
(iii) Internally PROM (programmable read only memory) is provided so it
called one time programmable (OTP).
FEATURES
(i) It is a similar to 8051 microcontroller i.e. having same instruction set,
pin configuration, architecture.
(ii) It is a also 8-bit microcontroller. Its cost is only Rs10 more than 8051.
(iii) It uses EPROM (erasable programmable read only memory) or
FLASH memory.
(iv) it is Multiple time programmable (MTP)i.e. 1000 times. So it is better
than 8051.
ATMEL 89C51
It is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash
programmable and erasable read only memory (PEROM). The device is manufactured using
Atmels high-density nonvolatile memory technology and is compatible with the industrystandard MCS-51 instruction set and pin out. The on-chip Flash allows the program memory to
be reprogrammed in system or by a conventional nonvolatile memory programmer. By
combining a versatile 8- bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a
powerful microcomputer, which provides a highly flexible and cost-effective solution to many
embedded control applications
PIN DESCRIPTION
GND -- Ground.
Port 1 -- Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. The
Port1 output buffers can sink/source four TTL inputs. When 1s are written
to Port1 pins they are pulled high by the internal pull-ups and can be used
as inputs. As inputs, Port 1 pins that are externally being pulled low will
source current (IIL) because of the internal pull-ups. Port 1 also receives
the low-order address bytes during ROM programming and verification.
Port 2 -- Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. The
Port2 output buffers can sink/source four TTL inputs. When 1s are written
to Port2 pins they are pulled high by the internal pull-ups and can be used
as inputs. As inputs, Port 2 pins that are externally being pulled low will
source current (IIL) because of the internal pull-ups. Port2 emits the highorder address byte during fetches from external program memory and
during accesses to external data memory that use 16-bit addresses
(MOVX @ DPTR). In this application it uses strong internal pull-ups when
emitting 1s. During accesses to external data memory that use 8-bit
addresses(MOVX @ RI), Port 2 emits the contents of the P2 Special
Function Register. Port 2 also receives the high-order address bits and
some control signals during Flash programming and verification.
Port 3 -- Port 3 is an 8-bit bi-directional I/O port with internal pull-ups. The
Port3 output buffers can sink/source four TTL inputs. When 1s are written
to Port3 pins they are pulled high by the internal pull-ups and can be used
as inputs. As inputs, Port 3 pins that are externally being pulled low will
source current (IIL) because of the pull-ups. Port 3 also receives some
control signals for ROM programming and verification. Port 3 also serves
the functions of various special features of the 8051.
RST -- Reset input. A high on this pin for two machine cycles while the
oscillator is running resets the device.
ALE/PROG -- Address Latch Enable output pulse for latching the low
byte of the address during accesses to external memory. This pin is
also the program pulse input (PROG) during ROM programming. In
normal operation ALE is emitted at a constant rate of 1/6 the oscillator
frequency, and may be used for external timing or clocking purposes.
Note, however, that one ALE pulse is skipped during each access to
external Data Memory. If desired, ALE operation can be disabled by
setting bit 0 of SFR location 8EH. With the bit set, ALE is active only
during a MOVX or MOVC instruction. Otherwise, the pin is weakly
pulled high. Setting the ALE - disable bit has no effect if the
microcontroller is in external execution mode.
Memory Organization
There are two types of memory in microprocessor devices.
Program Memory
Data Memory
Each memory type has different addressing mechanism, different control signals and different
function. The Program Memory (ROM or EPROM) is extremely large, read only and nonvolatile. This has a 16-bit address bus, whose elements are accessed by program counter or
instructions that generates 16-bit address.
The Data Memory is a read/write memory space, which is smaller and hence quicker than
program memory. It goes into random state when the electric power is applied. On chip data
RAM is used for variables, which are determined or may change while program is running.
Up to 64KB of
External
ROM/PROM
Up to
60KB of
External
ROM/
PROM
Up to 64KB of
External
RAM
4KB of
Internal
ROM/
EPROM
SFRs and
128 bytes
RAM
Program Memory
Data Memory
Memory Mapping
VARIOUS REGISTERS
CY
AC
FO
5
RS1
4
RS0
3
OV
___
1
Bit Description
P
Bit No.
Bit description
BIT
SYMBOL
FUNCTION
CY
AC
FO
User Flag 0
RS1
RS0
OV
___
The 8051 operations that do not use the internal 128-byte Ram addresses
from 00h to 7Fh are done by a group of specific internal register, each
called a special function register (SFR).
NAME
A
B
FUNCTION
INTERNALRAM ADD.
ACCUMULATOR
ARITHMETIC
0E0
0F0
DPH
DPL
83
82
IE
IP
P0
0A8
0B8
80
P1
P2
P3
PCON
PSW
90
0A0
0B0
87
0D0
SCON
SBUF
98
99
WHAT
SP IS INTERNETWORK?
STACK POINTER
TMOD
TCON
TL0
81
89
88
8A
TH0
TL1
8C
8B
TH1
8D
][
TIMER1
GATE
7
C/T
6
M1
5
M0
4
TIMER0
GATE
3
2
C/T
1
M1
0
M0
Bits
Bit No.
BIT DESCRIPTION
The various bits of TMOD register are explained below:
BIT
SYMBOL
FUNCTION
7/3
GATE
6/2
C/T
5/1
M1
4/0
M0
TF1 TR1
7
TF0
5
TR0
4
IE1
IT1
IE0
IT0
Bits
Bit No.
BIT DESCRIPTION
The various bits of TCON registers are explained below:
BIT
SYMBOL
FUNCTION
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0
ADDRESSING MODES
The various addressing mode are immediate, register, direct and indirect.
Data is stored at a source address and moved (copied) to a destination
address. The ways by which these addresses are specified are called the
addressing modes. The 8051 mnemonics are written with the (data)
destination address named first, followed by the source address.
Instruction using #
source of
data only
Instruction using R0 to R7
Register R0 to R7 in current bank
Source or
destination of data
Source or destination
data
Source or destination
data
Keil Software
Keil software is used for the software implementation of the developed system. Vision2
Integrated Development Environment is an IDE that encapsulates a project manager, make
facility, tool configuration, editor and a powerful debugger. Vision2 is used to write and
compile the programs using the tools. It can transfer the assembly language as well as, C code
into the hex file. Keil software consists of a Linker Control File, Map File, Project Target,
Source File Group, Toolset. Linker Control File
v) Toolset:
A toolset include an assembler, compiler, linker, HEX converter, debugger, and the other
associated tools for a particular device family like the 8051. All of the tools or programs in a
toolset are dedicated to generating target code for a specific family of chips [27].
To evaluate the software for correct operation the file was programmed into the
microcontroller on the relevant development board. Programming of the microcontroller was
achieved using the VPL-SPROG programmer. It is a handy serial programmer. This permits
hexadecimal files to be loaded into the microcontroller. Initially the microcontroller was
programmed by removing it from the socket on the board and inserting it into the multi-pin
socket on the programmer.
Section 4.2 describes the programming model and instruction set and section 4.3 describes the
algorithm.
Power Supply
The power supply supplies the required energy for both the microcontroller and the associated
circuits. It is the most essential part of the circuit because to run its constituent ICs circuit has
to be provided with power. These ICs can run on DC power. Hence the required D.C supply
has to be generated. The main parts of a power supply unit and their function are as follows:
D1
LM7805
1N4007
1000uf
D2
3
2
1
gnd
VOUT
+5V
C1
J1
VIN
GND
V
D3
D4
DESCRIPTION
Power supply is the main requirement of every project. The various parts of a
power supply
Transformer: The function of the transformer is to step down the voltage level from
the available A.C.220V to the desired voltage. The 9-0-9 rating of the transformer upon
the requirements of the ICs in the circuit is used. The secondary has a center tapping
which forms the neutral terminal.
Bridge rectifier: The function of the rectifier is to convert the alternating voltage
signal into a unidirectional one. This function is provided by semiconductor diodes
connected in bridge configuration. Diodes 1N4007 are used as rectifier.
Ripple Rejection: The output voltage of the rectifier is unidirectional but pulsating. A
capacitor of 1000f is used for ripple rejection.
Regulation: To obtain a constant voltage specific ICs are used as voltage regulator.
Voltage regulator LM7805 is used. These ICs have three terminals an input, an output
and a ground terminal.
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Gnd
Vcc
D7
D6
D5
D4
D3
D2
D1
D0
E
R/W
RS
Contrast
Vcc
Gnd
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
IN3
28
IN2
IN4
27
IN1
IN5
26
IN6
25
IN0
ADD A
IN7
24
ADD B
START
23
ADD C
EOC
2-5
22
ALE
21
2-1 MSB
OUTPUT ENABLE
CLOCK
20
2-2
10
19
2-3
VCC
11
18
2-4
VREF (+)
12
17
GND
13
16
2-8 LSB
VREF (+)
Some of the specifications of ADC (0808) are, Resolution of 8 bits, 100 s Conversion
time, Radiometric Conversion, Monotonic Over the entire A/D Conversion Range, No
Missing Codes, Clock range 50 to 800 kHz. It is Easy Interface to all Microprocessors,
Microcontroller and Operates ratio metrically or with 5 VDC or analog span adjusted
voltage reference. The 8bit A /D converter uses successive approximation as the
conversion technique. The converter features a high impedance chopper stabilized
comparator, a 256R voltage divider with analog switch tree and a successive approximation
register.
signals. The device eliminates the need for external zero and full-scale adjustments. Easy
interfacing to microprocessor, microcontroller is provided by the latched and decoded
multiplexer address inputs and latched TTL Tri-State outputs.
desirable aspects of several A/D conversion techniques has optimized the design of the
ADC 0808. The ADC 0808 offers high speed, high accuracy, minimal temperature
the low state for a maximum of 40 clock periods to indicate busy. A START pulse that
occurs while the A/D is BUSY will reset the SAR and start a new conversion with the EOC
signal remaining in the low state until the end of this new conversion. When the conversion
The 555 Timer is used to provide frequency to ADC. The 555 timer IC was first introduced
around 1971 by the signetics corporation as the SE555/NE555 and was called The IC Time
Machine and was also the very first and only commercial timer IC available. It provided
circuit designers with the relatively cheep, stable and user friendly IC for both monostable and
astable applications. The 555 timer use on both analog and digital electronics techniques to
perform its function, but if we consider its o/p only it can be thought of as a digital device. The
o/p of 555 timer can be in one of the two states at any time, which mean it is a digital O/p.
6
22
START
ALE
25
24
23
A0
A1
A2
13
ADC0809
30
11
EA/VPP
AT89C52
U?
20
OE
EOC
ALE/PROG
29
CLK
C?
CAP NP
PSEN
10
11
12
13
14
15
16
17
9
7
31
CRYSTAL
XTAL1
XTAL2
RST
P3.0/RXD
P3.1/TXD
P3.2/INTO
P3.3/INT1
P3.4/TO
P3.5/T1
P3.6/WR
P3.7/RD
SW3
REF+
REF-
Y?
P1.0/T2
P1.1/T2-EX
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
SW2
21
22
23
24
25
26
27
28
10
19
18
9
SW1
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
P2.5/A13
P2.6/A14
P2.7/A15
12
16
1
2
3
4
5
6
7
8
VCC
40
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
17
14
15
8
18
19
20
21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
39
38
37
36
35
34
33
32
D0
D1
D2
D3
D4
D5
D6
D7
U?
LCD
CON16
IN0
IN1
IN2
IN3
IN4
IN5
IN6
IN7
J?
26
27
28
1
2
3
4
5
Buzzer
+ 2
C?
LM555
R?
R
7805
+
0
CV
VOUT
TR
VIN
U?
4 4
1
T?
TRANSFORMER
220V AC
0-12V
1
THR
VS+ VOUT
DIS
LM 35
1
Output 5V DC
Title
<Title>
DIODE BRIDGE
Size
A
Date:
Document Number
<Doc>
Friday , May 18, 2007
Rev
<Rev Code>
Sheet
of
VCC
D1
LED
D2
U?
LED
39
38
37
36
35
34
33
32
D3
LED
D4
1
2
3
4
5
6
7
8
LED
D5
LED
Y?
19
18
9
CRY STAL
31
D6
LED
D7
C?
CAP NP
R1
R
D8
LED
P1.0/T2
P1.1/T2-EX
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
XTAL1
XTAL2
RST
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
P2.5/A13
P2.6/A14
P2.7/A15
P3.0/RXD
P3.1/TXD
P3.2/INTO
P3.3/INT1
P3.4/TO
P3.5/T1
P3.6/WR
P3.7/RD
PSEN
ALE/PROG
EA/VPP
AT89C52
LED
40
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
20
21
22
23
24
25
26
27
28
10
11
12
13
14
15
16
17
29
30
The electromagnetic relay consists of a multi-turn coil, wound on an iron core, to form an electromagnet. When
the coil is energised, by passing current through it, the core becomes temporarily magnetised. The magnetised
core attracts the iron armature. The armature is pivoted which causes it to operate one or more sets of contacts.
When the coil is de-energised the armature and contacts are released. The coil can be energised from a low power
source such as a transistor while the contacts can switch high powers such as the mains supply. The relay can also
be situated remotely from the control source. Relays can generate a very high voltage across the coil when
switched off. This can damage other components in the circuit. To prevent this a diode is connected across the
coil.
As there are always some chances of high voltage spikes back from the switching circuit i.e. heater so an
optocoupler/isolator MCT2e is used. It provides and electrical isolation between the microcontroller and the
heater. MCT2e is a 6-pin IC with a combination of optical transmitter LED and an optical receiver as
phototransistor. Microcontroller is connected to pin no 2 of MCT2e through a 470-ohm resistor. Pin no.1 is given
+5V supply and pin no.4 is grounded.
To handle the current drawn by the heater a power transistor BC-369 is used as a current driver. Pin no.5 of
optocoupler is connected to the base of transistor. It takes all its output to Vcc and activates the heater through
relay circuit. The electromagnetic relay consists of a multi-turn coil, wound on an iron core, to form an
electromagnet. When the coil is energized, by passing current through it, the core becomes temporarily
magnetized. The magnetized core attracts the iron armature. The armature is pivoted which causes it to operate
one or more sets of contacts. When the coil is de-energised the armature and contacts are released. Relays can
generate a very high voltage across the coil when switched off. This can damage other components in the circuit.
To prevent this a diode is connected across the coil. Relay has five points. Out of the 2 operating points one is
permanently connected to the ground and the other point is connected to the collector side of the power transistor.
J4
phase
5 NC
3
D11
4
1
2
6
5
VCC
2
R2
From P3.0 of
microcontroller
4
MCT2E
R4
BC-369
1
2
RELAY
VCC
NO
HEATER
To drive the display, the RA0 and RA1 bits are configured as
outputs.To input from the two switches, the RA0 and RA1 bits
are configured as inputs. The two 10K resistors prevent
damage to the port when configured as outputs and a switch
is closed.
30
The user interface is the aggregate of means by which people (the users)
Interact with a particular machine, device, computer program or other
complex tool (the system). The user interface provides means of: * Input,
allowing the users to control the system* & Output, allowing the system
to inform the users (also referred to as feedback). A good user interface
makes it easy for users to do what they want to do.
The junction between a user and a computer program. An interface is a
set of commands or menus through which a user communicates with a
program. A command-driven interface is one in which you enter
commands. A menu-driven interface is one in which you select command
choices from various menus displayed on the screen. The user interface
is one of the most important parts of any program because it determines
how easily you can make the program do what we want to. It is widely
accepted that the user interface can make a critical difference in the
perceived utility of a system regardless of the system's performance.
D.C. MOTOR
Working Principle:
The principle upon which the d.c. motor works is very simple . If a
current carrying conductor is placed in a magnetic field, mechanical
force is experienced on the conductor, the direction of which is given
by the Fleming's left hand rule and hence the conductor moves in the
direction of force. The magnitude of the mechanical force experienced
on the conductor is given by:
F = B Ic Lc newtons
The split phase arrangement of the motor creates two fluxes B1and B2 which
induces voltage around them in the rotor and under the influence of these induced
voltages current flows in the rotor. The current i1 produced by flux B1 reacts with flux
B2 and develops force F1.The quantities are going to be expressed as :
B1=B1max . sin(wt)
B2=B2max . sin(wt + )
It may be assumed with negligible error thet the paths in which the
rotor current flow has negligible self-inductance and hence the rotor
currents are in phase with their respective voltages.
i1(db1/dt)=.B1max.cos wt
.Therefore the net force F acting on the movable element is given as:
F=F2-F1(B2.i1-i2.b1)
F=K B1 max.B2 max sin r)
EMF Equation:
Back EMF, Eb=Flux *ZNP/60A
where
Z= total number of armature cunductors
N= Speed in r.p.m
P= total number of poles
A= Total number of parallel paths.
V= Eb + IaRa
.
Ia= (V - Eb)/Ra
where
V = Terminal voltage
Ia= Armature current
(ii) Seperately excited D.C. motors: These motors have field coils
similar to those of a shunt wound machine, but the armature and field
coils are fed from diferent supply sources and may have different
voltage ratings.
(iii) Series wound D.C. motor: As the name indicates, the field coils,
consisting of few turns of a thick wire are connected in series with the
armature. The cross-sectional area of the wire used for the field has to
be fairly large to carry the armature current ,but owing to the higher
current , the number of turns of wire in them need not be large.
(iv) Shunt wound D.C. motor: These motors are so named because
they basically operate with field coils connected in parallel with the
armature.
The field winding consists of a large number of turns of comparatively
fine wire so as to provide large resistance. The field current is much
less than the armature current, sometimes as low as 5%.
motor has both shunt and series field coils. The shunt field is normally
stronger of the two. Compound wound motors are of two types:.
(a) Cumalative compound wound motor.
(b) Differential compound wound motor.
Stepper Motor
Motion Control, in electronic terms, means to accurately control the movement of an object based on either speed,
distance, load, inertia or a combination of all these factors. There are numerous types of motion control systems,
including; Stepper Motor, Linear Step Motor, DC Brush, Brushless, Servo, Brushless Servo and more.
A stepper motor is an electromechanical device which converts electrical pulses into discrete mechanical
movements. Stepper motor is a form of ac. motor .The shaft or spindle of a stepper motor rotates in discrete step
increments when electrical command pulses are applied to it in the proper sequence. The motors rotation has
several direct relationships to these applied input pulses. The sequence of the applied pulses is directly related to
the direction of motor shafts rotation. The speed of the motor shafts rotation is directly related to the frequency of
the input pulses and the length of rotation is directly related to the number of input pulses applied [39].
For every input pulse, the motor shaft turns through a specified number of degrees, called a step. Its
working principle is one step rotation for one input pulse. The range of step size may vary from 0.72 degree to 90
degree. In position control application, if the number of input pulses sent to the motor is known, the actual
position of the driven job can be obtained.
A stepper motor differs from a conventional motor (CM) as under:
a.
Input to SM is in the form of electric pulses whereas input to a CM is invariably from a constant voltage
source.
b.
A CM has a free running shaft whereas shaft of SM moves through angular steps.
c.
In control system applications, no feedback loop is required when SM is used but a feedback loop is
required when CM is used.
d.
fixed movement is possible as a result of basic magnetic theory where poles of the Same polarity repel and
opposite poles attract. The direction of the rotation is dictated by the stator poles. The stator poles are determined
by the current sent through the wire coils. As the direction of the current is changed, the polarity is also changed
causing the reverse motion of the rotor. The stepper motor used here has a total of 5 leads: 4 leads representing the
four stator windings and 1 common for the center tapped leads. As the sequence of power is applied to each stator
winding, the rotor will rotate. There are several widely used sequences where each has a different degree of
precision. Table shows the normal 4-step sequence. For clockwise go for step 1 to 4 & for counter clockwise go
for step 4 to 1.
Winding A
1
2
3
Winding C
Winding B
Winding D
Step
Winding A
Winding B
Winding C
Winding D