Unit 5
Unit 5
Unit 5
The key to driving a stepper is realizing how the motor is constructed. A diagram
shows the representation of a 4 coil motor, so named because 4 coils are used to cause the
revolution of the drive shaft. Each coil must be energized in the correct order for the motor
to spin.
Stepper motor has 6 pins. In these six pins, 2 pins are connected to the supply of 12V
and the remaining are connected to the output of the stepper motor. Stepper rotates at a
given step angle. Each step in rotation is a fraction of full cycle. This depends on the
mechanical parts and the driving method.
Similar to all the motors, stepper motors will have stator and rotor. Rotor has
permanent magnet and stator has coil. The basic stepper motor has 4 coils with 90 degrees
rotation step. These four coils are activated in the cyclic order.
Step angle :
It is angle through which motor shaft rotates in one step. step angle is different for
different motor . selection of motor according to step angle depends on the application ,
simply if we require small increments in rotation choose motor having smaller step angle.
No of steps require to rotate one complete rotation = 360 deg. / step angle in
deg
Steps per second = (rpm x steps per revolution) / 60
Example: step angle = 2°
No of steps per revolution = 180
8051 interface to stepper motor
Program 1
Program 2
In most digital applications,PWM (Pulse Width Modulation) is generally used to controlthe speed of the DC
motor. It is relatively easier to generatepulses of varying duty cycles with a microcontroller ormicroprocessor. The
pulses with varying duty cycle whenapplied to the armature will result in variable torqueproportional to the duty
cycle.
The control methodology used is to apply an average voltage proportional to the error between actual
position and the set point and reduce the average voltage as the current position approaches the set point.
Schematic control