





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































Embedded Systems Programming
4/7/2009 (^2) 4/7/20094/7/2009 22
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
Stator (stationary part of the motor)
Teeth with wire wound around them. The wire wound around the teeth is referred to as the winding, coil, or phase
The rotor is a permanent magnet that is free to rotate about the center of the motor
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
Because the current is flowing in this direction through the winding, an electromagnet is produced in these teeth, with the North end pointing up.
This magnetic field causes the rotor to rotate to this point, aligning itself with the magnetic field.
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
And now, if current is applied to winding 1 again, but in the opposite direction as before, the rotor will turn to this new position
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
And now we have made one complete revolution by applying current (in the opposite direction as before) through winding 2
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
We have completed one cycle of the electrical stimulation to the windings and at the same time, have made one revolution (cycle) of the rotor.
In general:
f f
p e m 2 where p is the number of equally-spaced magnetic poles on the rotor
and:
Step p
180
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
We have completed one cycle of the electrical stimulation to the windings and at the same time, have made one revolution (cycle) of the rotor.
In general:
f f
p e m 2 where p is the number of equally-spaced magnetic poles on the rotor
and:
Step p
180
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
This is a two-phase, six-pole motor:
It has two windings (two-phase) for the four teeth
and
six equally spaced permanent magnet poles
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
Voltage is applied to stator windings #1 with a polarity such that current will flow in a direction that causes a North magnetic field at the top and South at the bottom.
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
Voltage is applied to stator windings #1 with a polarity such that current will flow in a direction that causes a North magnetic field at the top and South at the bottom.
If we remove that voltage and apply a voltage to windings 2 such that a North polarity forms on the left (South on the right), the rotor will rotate clockwise one position.
And then reapply voltage to winding one, but with the opposite polarity we get another clockwise rotation of one position.
[1] Simon, D., 2003, Get Your Motor Running, Embedded Systems Design, April 10, 2003
Voltage is applied to stator windings #1 with a polarity such that current will flow in a direction that causes a North magnetic field at the top and South at the bottom.
If we remove that voltage and apply a voltage to windings 2 such that a North polarity forms on the left (South on the right), the rotor will rotate clockwise one position.
And then reapply voltage to winding one, but with the opposite polarity we get another clockwise rotation of one position.
And finally, reapply voltage to winding 2 with the opposite polarity as before, we get one more step.
4/7/20094/7/20094/7/2009 191919
[2] Freescale, 2007, Stepper Motor, downloaded 3/16/08 from: http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=02nQXGrrlPZh3C
This image shows two H-Bridges, one to control each of the two phases of the stepper motor.
Note: +V can be whatever is required for the stepper motor and transistors.
4/7/20094/7/20094/7/2009 202020
[2] Freescale, 2007, Stepper Motor, downloaded 3/16/08 from: http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=02nQXGrrlPZh3C
This image shows two H-Bridges, one to control each of the two phases of the stepper motor.
If a small voltage is applied to the bases of Q1 and Q4, then current will flow DOWN through phase 1.
The AVR voltages are only used to turn on the transistors. The output port pins should be tied through a resistor to the base of the transistors.