Top Banner
Interfacing Stepper motor to 8051 microcontroller A A stepper motor stepper motor is a special type of is a special type of electric motor that moves in increments, electric motor that moves in increments, or steps, rather than turning smoothly as a or steps, rather than turning smoothly as a conventional motor does. conventional motor does. Typical increments are 0.9 or 1.8 Typical increments are 0.9 or 1.8 degrees, with 400 or 200 increments thus degrees, with 400 or 200 increments thus representing a full circle. representing a full circle. The speed of the motor is determined The speed of the motor is determined by the time delay between each incremental by the time delay between each incremental movement. movement. Stepper motor uses Stepper motor uses Permanent Magnet (PM) and Variable Permanent Magnet (PM) and Variable Reluctance (VR) Reluctance (VR)
23

Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Jan 02, 2016

Download

Documents

Erik Burke
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Interfacing Stepper motor to 8051 microcontroller

A A stepper motorstepper motor is a special type of electric motor that is a special type of electric motor that moves in increments, or steps, rather than turning smoothly as a moves in increments, or steps, rather than turning smoothly as a conventional motor does.conventional motor does.

Typical increments are 0.9 or 1.8 degrees, with 400 or Typical increments are 0.9 or 1.8 degrees, with 400 or 200 increments thus representing a full circle. 200 increments thus representing a full circle.

The speed of the motor is determined by the time delay The speed of the motor is determined by the time delay between each incremental movement.between each incremental movement.

Stepper motor usesStepper motor uses Permanent Magnet (PM) and Variable Reluctance (VR)Permanent Magnet (PM) and Variable Reluctance (VR)

Page 2: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Motor Moves Each Time a Pulse is Motor Moves Each Time a Pulse is ReceivedReceived

Can Control Movement (Direction and Can Control Movement (Direction and Amount) EasilyAmount) Easily

Can Force Motor to Hold Position Against Can Force Motor to Hold Position Against an Opposing Forcean Opposing Force

Page 3: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

ConstructionConstructionPermanent Magnet RotorPermanent Magnet Rotor– Also Called the Also Called the ShaftShaft

StatorStator– Surrounds the ShaftSurrounds the Shaft– Usually Four Stator Windings Paired with Usually Four Stator Windings Paired with

Center-Tapped CommonCenter-Tapped CommonKnown as Four-Phase or Unipolar Stepper MotorKnown as Four-Phase or Unipolar Stepper Motor

Page 4: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Stepper motorsStepper motors can be used in various areas of your can be used in various areas of your microcontroller projects such as making microcontroller projects such as making robots, robotic arm, robots, robotic arm, automatic door lock systemautomatic door lock systemTypes of Stepper motor:Types of Stepper motor:1 . Unipolar stepper motor 1 . Unipolar stepper motor – 6 wires= 4 coils and 2 common– 6 wires= 4 coils and 2 common2 . 2 . Bipolar stepper motor – 4 wires= 4 coils and no common Bipolar stepper motor – 4 wires= 4 coils and no common terminals. terminals.

Page 5: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Working of Stepper Motor Working of Stepper Motor

When only 1 coil is energizedWhen only 1 coil is energized When 2 coil is energizedWhen 2 coil is energized

Half SteppingHalf SteppingFull SteppingFull Stepping

Page 6: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Stepper motors can be driven in two different patterns or sequences. namely, Stepper motors can be driven in two different patterns or sequences. namely,

1. Full Step Sequence1. Full Step Sequence

2. Half Step Sequence2. Half Step Sequence

we will go through these sequences one by one.we will go through these sequences one by one.

Page 7: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

8051_Mazidi\stepper motor\8051_Mazidi\stepper motor\fig\3_full-step.giffig\3_full-step.gif

Page 8: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

8051_Mazidi\stepper motor\8051_Mazidi\stepper motor\fig\4_half-step.giffig\4_half-step.gif

Page 9: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Steps/RevolutionSteps/Revolution = 360° = 360° Step AngleStep AngleIn 1 full step sequence, motor rotates by 1 tooth pitch.In 1 full step sequence, motor rotates by 1 tooth pitch.So, So, Number of Rotor teethNumber of Rotor teeth = Steps/ Revolution = Steps/ Revolution 44

Page 10: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Construction (con’t)Construction (con’t)

Center Tapped CommonCenter Tapped Common

Page 11: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Moving the RotorMoving the Rotor

Unstable Stable

Rotor will ALWAYS seek a stable position.

Page 12: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Single-Coil ExcitationSingle-Coil Excitation - Each successive coil is energised in turn. - Each successive coil is energised in turn.

Page 13: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Two-Coil Excitation - Each successive pair of adjacent coils is Two-Coil Excitation - Each successive pair of adjacent coils is energised in turn. energised in turn.

Page 14: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Interleaving the two sequences will cause the motor to half-step 8 step sequence = normal 4 step + wave drive 4 step.

Page 15: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.
Page 16: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Two-Coil Excitation

                                                          

Single-Coil Excitation

Interleaved Single- and Two-Coil Excitation

                                                          

Half-Stepping

Page 17: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.
Page 18: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

How Far Does It Move?How Far Does It Move?

Step AngleStep Angle– Arc Through Which Motor Turns With ONE Arc Through Which Motor Turns With ONE

Step Change of the WindingsStep Change of the Windings– Varies With Model of Stepper MotorVaries With Model of Stepper Motor(Depending on the number of teeth on stator (Depending on the number of teeth on stator

and rotor)and rotor)– Normally in DegreesNormally in Degrees– Step angle = 360/No. of Steps per RevolutionStep angle = 360/No. of Steps per Revolution– Commonly available no. of steps per Commonly available no. of steps per

revolution are 500, revolution are 500, 200200, 180, 144, 72, 48, 24, 180, 144, 72, 48, 24

Page 19: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

How Fast?How Fast?Revolutions per Minute (RPM)Revolutions per Minute (RPM)

volutionperSteps

SecondperStepsrpm

Re

60

The top electromagnet (1) is turned on, attracting the nearest teeth of a gear-shaped iron rotor. With the teeth aligned to electromagnet 1, they will be slightly offset from electromagnet 2.

The top electromagnet (1) is turned off, and the right electromagnet (2) is energized, pulling the nearest teeth slightly to the right. This results in a rotation of 3.6° (1.8’)(1.8’)

in this example.

The bottom Electromagnet (3) is energized; another 3.6° (1.8’)(1.8’)

rotation occurs.

The left electromagnet (4) is enabled, rotating again by 3.6° (1.8’)(1.8’). When the top electromagnet (1) is again enabled, the teeth in the sprocket will have rotated by one tooth position; since there are 25(50)(50) teeth, it will take 100(200)(200) steps to make a full rotation in this example.

Page 20: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Common Stepper Motor TypesCommon Stepper Motor Types

Page 21: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

DriversDrivers

May Need a Driver CircuitMay Need a Driver Circuit– Same Problem as Relays – May Draw Too Same Problem as Relays – May Draw Too

Much CurrentMuch Current

TypesTypes– Transistor DriversTransistor Drivers

Usually a Darlington PairUsually a Darlington Pair

– Darlington ArraysDarlington Arrays– CanCan Build It Yourself Build It Yourself

Page 22: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

Using Using Transistors Transistors for Stepper for Stepper

Motor Motor DriverDriver

Page 23: Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.

ApplicationsApplications::Used inUsed in In instrumentation such as watches, clocks, etc.In instrumentation such as watches, clocks, etc.Computer peripherals such as card readers, teleprinters, teletypes, Computer peripherals such as card readers, teleprinters, teletypes, dot matrix printers, etc.dot matrix printers, etc.RoboticsRobotics