Docsity

Understanding the Operation of Stepper and Servo Motors - Prof. Stephen Kuyath, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Understanding the Operation of Stepper and Servo Motors - Prof. Stephen Kuyath and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ETEE 3285

Topic 18: Motion Control

Embedded Systems Programming

Objectives

 To gain an understanding of the operation of

a stepper motor

 To develop a means to control a stepper

motor

 To gain an understanding of servo motors

 Speed control

 Position control

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.

f e fm

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.

f e fm

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

“It is common to find two -phase steppers
with anywhere between 12 and 200 poles,
which results in a stepping resolution of
anywhere between 15º^ and 0.9º .” [1]

[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

H-Bridge [2]

[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

H-Bridge [2]

[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.