Stepper Motor
Stepper Motor
The circular arrangement of electromagnets is divided into groups, each group called a phase, and there is
an equal number of electromagnets per group. The number of groups is chosen by the designer of the
stepper motor. The electromagnets of each group are interleaved with the electromagnets of other groups to
form a uniform pattern of arrangement. For example, if the stepper motor has two groups identified as A or
B, and ten electromagnets in total, then the grouping pattern would be ABABABABAB.
Electromagnets within the same group are all energized together.
Because of this, stepper motors with more phases typically have
more wires (or leads) to control the motor.
Types
There are three main types of stepper motors:[1][3]
Variable reluctance (VR) motors have a soft-iron rotor[4] and operate based on the principle that minimum
reluctance occurs with minimum gap, hence the rotor points are attracted toward the stator magnet poles.
Whereas hybrid synchronous are a combination of the permanent magnet and variable reluctance types, to
maximize power in a small size.[5]
Variable reluctance motors have detents when powered on, but not when powered off.
Unipolar motors
A unipolar stepper motor has one winding with center tap per phase. Each
section of windings is switched on for each direction of magnetic field.
Since in this arrangement a magnetic pole can be reversed without
switching the polarity of the common wire, the commutation circuit can be
simply a single switching transistor for each half winding. Typically, given a
phase, the center tap of each winding is made common: three leads per
Unipolar stepper motor coils
phase and six leads for a typical two phase motor. Often, these two phase
commons are internally joined, so the motor has only five leads.
A microcontroller or stepper motor controller can be used to activate the drive transistors in the right order,
and this ease of operation makes unipolar motors popular with hobbyists; they are probably the cheapest
way to get precise angular movements. For the experimenter, the windings can be identified by touching the
terminal wires together in PM motors. If the terminals of a coil are connected, the shaft becomes harder to
turn. One way to distinguish the center tap (common wire) from a coil-end wire is by measuring the
resistance. Resistance between common wire and coil-end wire is always half of the resistance between
coil-end wires. This is because there is twice the length of coil between the ends and only half from center
(common wire) to the end. A quick way to determine if the stepper motor is working is to short circuit every
two pairs and try turning the shaft. Whenever a higher-than-normal resistance is felt, it indicates that the
circuit to the particular winding is closed and that the phase is working.
Bipolar motors
A typical driving pattern for a two coil bipolar stepper motor would
be: A+ B+ A− B−. I.e. drive coil A with positive current, then
remove current from coil A; then drive coil B with positive current, A bipolar stepper motor used in DVD
drives for moving the laser
then remove current from coil B; then drive coil A with negative
assembly.
current (flipping polarity by switching the wires e.g. with an H
bridge), then remove current from coil A; then drive coil B with
negative current (again flipping polarity same as coil A); the cycle is
complete and begins anew.
Static friction effects using an H-bridge have been observed with certain drive topologies.[6]
Dithering the stepper signal at a higher frequency than the motor can respond to will reduce this "static
friction" effect.
Because windings are better utilized, they are more powerful than a unipolar motor of the same weight.
This is due to the physical space occupied by the windings. A unipolar motor has twice the amount of wire
in the same space, but only half used at any point in time, hence is 50% efficient (or approximately 70% of
the torque output available). Though a bipolar stepper motor is more complicated to drive, the abundance of
driver chips means this is much less difficult to achieve.
An 8-lead stepper is like a unipolar stepper, but the leads are not
joined to common internally to the motor. This kind of motor can be
wired in several configurations:
Unipolar.
Bipolar with series windings. This gives higher
inductance but lower current per winding.
Bipolar with parallel windings. This requires higher
current but can perform better as the winding inductance
is reduced. A bipolar stepper motor with gear
Bipolar with a single winding per phase. This method will reduction mechanism used in a
run the motor on only half the available windings, which flatbed scanner.
will reduce the available low speed torque but require
less current
Driver circuits
Stepper motor performance is strongly dependent on the driver
circuit. Torque curves may be extended to greater speeds if the
stator poles can be reversed more quickly, the limiting factor being a
combination of the winding inductance. To overcome the
inductance and switch the windings quickly, one must increase the
drive voltage. This leads further to the necessity of limiting the
current that these high voltages may otherwise induce.
L/R driver circuits are also referred to as constant voltage drives because a constant positive or negative
voltage is applied to each winding to set the step positions. However, it is winding current, not voltage that
applies torque to the stepper motor shaft. The current I in each winding is related to the applied voltage V
by the winding inductance L and the winding resistance R. The resistance R determines the maximum
current according to Ohm's law I=V/R. The inductance L determines the maximum rate of change of the
current in the winding according to the formula for an inductor dI/dt = V/L. The resulting current for a
voltage pulse is a quickly increasing current as a function of inductance. This reaches the V/R value and
holds for the remainder of the pulse. Thus when controlled by a constant voltage drive, the maximum speed
of a stepper motor is limited by its inductance since at some speed, the voltage U will be changing faster
than the current I can keep up. In simple terms the rate of change of current is L / R (e.g. a 10 mH
inductance with 2 ohms resistance will take 5 ms to reach approx 2/3 of maximum torque or around 24 ms
to reach 99% of max torque). To obtain high torque at high speeds requires a large drive voltage with a low
resistance and low inductance.
With an L/R drive it is possible to control a low voltage resistive motor with a higher voltage drive simply
by adding an external resistor in series with each winding. This will waste power in the resistors, and
generate heat. It is therefore considered a low performing option, albeit simple and cheap.
Modern voltage-mode drivers overcome some of these limitations by approximating a sinusoidal voltage
waveform to the motor phases. The amplitude of the voltage waveform is set up to increase with step rate. If
properly tuned, this compensates the effects of inductance and back-EMF, allowing decent performance
relative to current-mode drivers, but at the expense of design effort (tuning procedures) that are simpler for
current-mode drivers.
Chopper drive circuits are referred to as controlled current drives because they generate a controlled current
in each winding rather than applying a constant voltage. Chopper drive circuits are most often used with
two-winding bipolar motors, the two windings being driven independently to provide a specific motor
torque CW or CCW. On each winding, a "supply" voltage is applied to the winding as a square wave
voltage; example 8 kHz. The winding inductance smooths the current which reaches a level according to
the square wave duty cycle. Most often bipolar supply (+ and - ) voltages are supplied to the controller
relative to the winding return. So 50% duty cycle results in zero current. 0% results in full V/R current in
one direction. 100% results in full current in the opposite direction. This current level is monitored by the
controller by measuring the voltage across a small sense resistor in series with the winding. This requires
additional electronics to sense winding currents, and control the switching, but it allows stepper motors to
be driven with higher torque at higher speeds than L/R drives. It also allows the controller to output
predetermined current levels rather than fixed. Integrated electronics for this purpose are widely available.
In this drive method only a single phase is activated at a time. It has the same number of steps as the full-
step drive, but the motor will have significantly less torque than rated. It is rarely used. The animated figure
shown above is a wave drive motor. In the animation, rotor has 25 teeth and it takes 4 steps to rotate by one
tooth position. So there will be 25 × 4 = 100 steps per full rotation and each step will be 360 ⁄100 = 3.6°.
Half-stepping
Microstepping
What is commonly referred to as microstepping is often sine–cosine microstepping in which the winding
current approximates a sinusoidal AC waveform. The common way to achieve sine-cosine current is with
chopper-drive circuits. Sine–cosine microstepping is the most common form, but other waveforms can be
used.[8] Regardless of the waveform used, as the microsteps become smaller, motor operation becomes
more smooth, thereby greatly reducing resonance in any parts the motor may be connected to, as well as the
motor itself. Resolution will be limited by the mechanical stiction, backlash, and other sources of error
between the motor and the end device. Gear reducers may be used to increase resolution of positioning.
Step size reduction is an important step motor feature and a fundamental reason for their use in positioning.
Example: many modern hybrid step motors are rated such that the travel of every full step (example 1.8
degrees per full step or 200 full steps per revolution) will be within 3% or 5% of the travel of every other
full step, as long as the motor is operated within its specified operating ranges. Several manufacturers show
that their motors can easily maintain the 3% or 5% equality of step travel size as step size is reduced from
full stepping down to 1/10 stepping. Then, as the microstepping divisor number grows, step size
repeatability degrades. At large step size reductions it is possible to issue many microstep commands before
any motion occurs at all and then the motion can be a "jump" to a new position.[9] Some stepper controller
ICs use increased current to minimise such missed steps, especially when the peak current pulses in one
phase would otherwise be very brief.
Theory
A step motor can be viewed as a synchronous AC motor with the number of poles (on both rotor and stator)
increased, taking care that they have no common denominator. Additionally, soft magnetic material with
many teeth on the rotor and stator cheaply multiplies the number of poles (reluctance motor). Modern
steppers are of hybrid design, having both permanent magnets and soft iron cores.
To achieve full rated torque, the coils in a stepper motor must reach their full rated current during each step.
Winding inductance and counter-EMF generated by a moving rotor tend to resist changes in drive current,
so that as the motor speeds up, less and less time is spent at full current—thus reducing motor torque. As
speeds further increase, the current will not reach the rated value, and eventually the motor will cease to
produce torque.
Pull-in torque
This is the measure of the torque produced by a stepper motor when it is operated without an acceleration
state. At low speeds the stepper motor can synchronize itself with an applied step frequency, and this pull-in
torque must overcome friction and inertia. It is important to make sure that the load on the motor is frictional
rather than inertial as the friction reduces any unwanted oscillations.
The pull-in curve defines an area called the start/stop region. Into this region, the motor can be
started/stopped instantaneously with a load applied and without loss of synchronism.
Pull-out torque
The stepper motor pull-out torque is measured by accelerating the motor to the desired speed and then
increasing the torque loading until the motor stalls or misses steps. This measurement is taken across a wide
range of speeds and the results are used to generate the stepper motor's dynamic performance curve. As
noted below this curve is affected by drive voltage, drive current and current switching techniques. A
designer may include a safety factor between the rated torque and the estimated full load torque required for
the application.
Detent torque
Synchronous electric motors using permanent magnets have a resonant position holding torque (called
detent torque or cogging, and sometimes included in the specifications) when not driven electrically. Soft
iron reluctance cores do not exhibit this behavior.
When the motor moves a single step it overshoots the final resting point and oscillates round this point as it
comes to rest. This undesirable ringing is experienced as motor rotor vibration and is more pronounced in
unloaded motors. An unloaded or under loaded motor may, and often will, stall if the vibration experienced
is enough to cause loss of synchronisation.
Stepper motors have a natural frequency of operation. When the excitation frequency matches this
resonance the ringing is more pronounced, steps may be missed, and stalling is more likely. Motor
resonance frequency can be calculated from the formula:
Mh
Holding torque N·m
p
Number of pole pairs
Jr
Rotor inertia kg·m²
The magnitude of the undesirable ringing is dependent on the back EMF resulting from rotor velocity. The
resultant current promotes damping, so the drive circuit characteristics are important. The rotor ringing can
be described in terms of damping factor.
Datasheets from the manufacturer often indicate Inductance. Back-EMF is equally relevant, but seldom
listed (it is straightforward to measure with an oscilloscope). These figures can be helpful for more in-depth
electronics design, when deviating from standard supply voltages, adapting third party driver electronics, or
gaining insight when choosing between motor models with otherwise similar size, voltage, and torque
specifications.
A stepper's low-speed torque will vary directly with current. How quickly the torque falls off at faster
speeds depends on the winding inductance and the drive circuitry it is attached to, especially the driving
voltage.
Steppers should be sized according to published torque curve, which is specified by the manufacturer at
particular drive voltages or using their own drive circuitry. Dips in the torque curve suggest possible
resonances, whose impact on the application should be understood by designers.
Step motors adapted to harsh environments are often referred to as IP65 rated.[10]
The US National Electrical Manufacturers Association (NEMA) standardises various dimensions, marking
and other aspects of stepper motors, in NEMA standard (NEMA ICS 16-2001).[11] NEMA stepper motors
are labeled by faceplate size, NEMA 17 being a stepper motor with a 1.7 by 1.7 inches (43 mm × 43 mm)
faceplate and dimensions given in inches. The standard also lists motors with faceplate dimensions given in
metric units. These motors are typically referred with NEMA DD, where DD is the diameter of the
faceplate in inches multiplied by 10 (e.g., NEMA 17 has a diameter of 1.7 inches). There are further
specifiers to describe stepper motors, and such details may be found in the ICS 16-2001 standard.
Applications
Computer controlled stepper motors are a type of motion-control positioning system. They are typically
digitally controlled as part of an open loop system for use in holding or positioning applications.
In the field of lasers and optics they are frequently used in precision positioning equipment such as linear
actuators, linear stages, rotation stages, goniometers, and mirror mounts. Other uses are in packaging
machinery, and positioning of valve pilot stages for fluid control systems.
Commercially, stepper motors are used in floppy disk drives, flatbed scanners, computer printers, plotters,
slot machines, image scanners, compact disc drives, intelligent lighting, camera lenses, CNC machines, and
3D printers. Some programming hobbyists have used arrays of stepper motors as electronic musical
instruments by programming the motors to rotate at the frequencies of different musical tones, in a sequence
that imitates that found in a MIDI file.[12][13]
Indexers
The indexer (or controller) is a microprocessor capable of generating step pulses and
direction signals for the driver. In addition, the indexer is typically required to perform many
other sophisticated command functions.
Drivers
The driver (or amplifier) converts the indexer command signals into the power necessary to
energize the motor windings. There are numerous types of drivers, with different voltage
and current ratings and construction technology. Not all drivers are suitable to run all
motors, so when designing a motion control system, the driver selection process is critical.
Stepper motors
The stepper motor is an electromagnetic device that converts digital pulses into
mechanical shaft rotation.
Advantages
Low cost for control achieved
High torque at startup and low speeds
Ruggedness
Simplicity of construction
Can operate in an open loop control system
Low maintenance (high reliability)
Less likely to stall or slip
Will work in any environment
Can be used in robotics in a wide scale.
High reliability
The rotation angle of the motor is proportional to the input pulse.
The motor has full torque at standstill (if the windings are energized)
Precise positioning and repeatability of movement, since good stepper motors have an
accuracy of 3–5% of a step and this error is non-cumulative from one step to the next.
Excellent response to starting/stopping/reversing.
Very reliable since there are no contact brushes in the motor. Therefore, the life of the motor
is simply dependent on the life of the bearing.
The motor's response to digital input pulses provides open-loop control, making the motor
simpler and less costly to control.
It is possible to achieve very low-speed synchronous rotation with a load that is directly
coupled to the shaft.
A wide range of rotational speeds can be realized, as the speed is proportional to the
frequency of the input pulses.
Disadvantages
Resonance effect often exhibited at low speeds and decreasing torque with increasing
speed.[14]
See also
Electronics portal
References
Final Drive Motors (https://www.finaldrivemotors.com/)
External links
Controlling a stepper motor without microcontroller (https://www.instructables.com/id/Stepper
-Motor-Speed-and-Direction-Control-Without-/)
Zaber Microstepping Tutorial (http://www.zaber.com/wiki/Tutorials/Microstepping). Retrieved
on 2007-11-15.
Stepper System Overview (http://www.stepcontrol.com/stepping101/). Retrieved on 2023-7-
20.
Control of Stepping Motors - A Tutorial (http://www.cs.uiowa.edu/~jones/step/) – Douglas W.
Jones, The University of Iowa
NEMA motor (http://reprap.org/wiki/NEMA_Motor), RepRapWiki
Stepping Motor Drive Guide from Dover Motion (https://dovermotion.com/resources/motion-c
ontrol-handbook/stepping-motor-drives/)
1. Clarence W. de Silva. Mechatronics: An Integrated Approach (2005). CRC Press. p. 675.
"The terms stepper motor, stepping motor, and step motor are synonymous and are often
used interchangeably."
2. Escudier, Marcel; Atkins, Tony (2019). "A Dictionary of Mechanical Engineering" (https://dx.d
oi.org/10.1093/acref/9780198832102.001.0001).
doi:10.1093/acref/9780198832102.001.0001 (https://doi.org/10.1093%2Facref%2F9780198
832102.001.0001). {{cite journal}}: Cite journal requires |journal= (help)
3. Liptak, Bela G. (2005). Instrument Engineers' Handbook: Process Control and Optimization
(https://books.google.com/books?id=TxKynbyaIAMC&q=Instrument+Engineers%27+Handb
ook&pg=PP1). CRC Press. p. 2464. ISBN 978-0-8493-1081-2.
4. Clarence W. de Silva. Mechatronics: An Integrated Approach (2005). CRC Press. p. 675.
5. Tarun, Agarwal (24 October 2013). "Stepper Motor – Types, Advantages & Applications" (http
s://www.elprocus.com/stepper-motor-types-advantages-applications/).
6. See "Friction and the Dead Zone" by Douglas W Jones
https://homepage.divms.uiowa.edu/~jones/step/physics.html#friction
7. "electricmotors.machinedesign.com" (http://www.electricmotors.machinedesign.com/guiEdit
s/Content/bdeee4/bdeee4_1-1.aspx).
8. zaber.com (http://www.zaber.com/wiki/Tutorials/Microstepping), microstepping
9. "Microstepping: Myths and Realities - MICROMO" (http://www.micromo.com/microstepping-
myths-and-realities). www.micromo.com.
10. More on what is an IP65 step motor: http://www.applied-motion.com/videos/intro-amps-ip65-
rated-motors-motordrives
11. http://www.cncitalia.net/file/pdf/nemastandard.pdf
12. https://www.youtube.com/watch?v=-yEuYGodNLo&list=PLkY8-UOMZQ0_S1d5x9e6bpIRV-
4yxKlLx
13. https://projecthub.arduino.cc/JonJonKayne/arduino-midi-stepper-synth-162864
14. "Advanced Micro Systems - stepper 101" (http://www.stepcontrol.com/stepping101/).
www.stepcontrol.com.