Jump to content

Stepper motor

From Wikipedia, the free encyclopedia
(Redirected from NEMA stepper motor)
Animation of a simplified stepper motor turned on, attracting the nearest teeth of the gear-shaped iron rotor. With the teeth aligned to electromagnet 1, they will be slightly offset from right electromagnet (2).
Frame 2: The top electromagnet (1) is turned off, and the right electromagnet (2) is energized, pulling the teeth into alignment with it. This results in a rotation of 3.6° in this example.
Frame 3: The bottom electromagnet (3) is energized; another 3.6° rotation occurs.
Frame 4: The left electromagnet (4) is energized, rotating again by 3.6°. When the top electromagnet (1) is again enabled, the rotor will have rotated by one tooth position; since there are 25 teeth, it will take 100 steps to make a full rotation in this example.

A stepper motor, also known as step motor or stepping motor,[1] is an electric motor that rotates in a series of small angular steps, instead of continuously.[2] Stepper motors can be set to any given step position without needing a position sensor for feedback. The step position can be rapidly increased or decreased, creating continuous rotation, or the motor can be ordered to actively hold its position at one given step. Motors vary in size, speed, step resolution, and torque.

Switched reluctance motors are very large stepping motors with a reduced pole count. They generally employ closed-loop commutators.

Mechanism

[edit]
A stepper motor
A bipolar hybrid stepper motor

Brushed DC motors rotate continuously when DC voltage is applied to their terminals. The stepper motor is known for its property of converting a train of input pulses (typically square waves) into a precisely defined increment in the shaft’s rotational position. Each pulse rotates the shaft through a fixed angle.

Stepper motors effectively have multiple "toothed" electromagnets arranged as a stator around a central rotor, a gear-shaped piece of iron. The electromagnets are energized by an external driver circuit or a micro controller. To make the motor shaft turn, first, one electromagnet is given power, which magnetically attracts the gear's teeth. When the gear's teeth are aligned to the first electromagnet, they are slightly offset from the next electromagnet. This means that when the next electromagnet is turned on and the first is turned off, the gear rotates slightly to align with the next one. From there the process is repeated. Each of the partial rotations is called a "step", with an integer number of steps making a full rotation. In that way, the motor can be turned by a precise angle.

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

[edit]

There are three main types of stepper motors: permanent magnet, variable reluctance, and hybrid synchronous. [1][3]

Permanent magnet motors use a permanent magnet (PM) in the rotor and operate on the attraction or repulsion between the rotor magnet and the stator electromagnets. Pulses move the rotor clockwise or anticlockwise in discrete steps. If left powered at a final step, a strong detent remains at that shaft location. This detent has a predictable spring rate and specified torque limit; slippage occurs if the limit is exceeded. If current is removed, a lesser detent still remains, holding shaft position against spring or other torque influences. Stepping can then be resumed while reliably being synchronized with control electronics.

Permanent magnet stepper motors have simple DC switching electronics, a power-off detent, and no position readout. These qualities are ideal for applications such as paper printers, 3D printers, and robotics. Such applications track position simply by counting the number of steps that each motor has been instructed to take.

Variable reluctance (VR) motors have a soft iron rotor[4] and operate based on the principle that minimum reluctance occurs with minimum gap, so the rotor points are attracted toward the stator's magnetic poles. Variable reluctance motors have detents when powered on, but not when powered off.

Hybrid synchronous motors are a combination of the permanent magnet and variable reluctance types, to maximize power in a small size.[5]

Phases

[edit]

Two phase

[edit]

There are two basic winding arrangements for the electromagnetic coils in a two phase stepper motor: bipolar and unipolar.

Unipolar stepper motor coils

Unipolar motors

[edit]

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

The 28BYJ-48, accompanied by a ULN2003 driver, is one of the most popular stepper motors among hobbyists.

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.

Stepper motors like this are often accompanied by a reduction gear mechanism to increase the output torque. The one shown here was used in a flatbed scanner.

Bipolar motors

[edit]
A bipolar stepper motor used in DVD drives for moving the laser assembly.

Bipolar motors have a pair of single winding connections per phase. The current in a winding needs to be reversed in order to reverse a magnetic pole, so the driving circuit must be more complicated, typically with an H-bridge arrangement (however there are several off-the-shelf driver chips available to make this a simple affair). There are two leads per phase, none is common.

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, then remove current from coil B; then drive coil A with negative 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.

A bipolar stepper motor with gear reduction mechanism used in a flatbed scanner.

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.
  • Bipolar with a single winding per phase. This method will run the motor on only half the available windings, which will reduce the available low speed torque but require less current

Higher-phase count

[edit]

Multi-phase stepper motors with many phases tend to have much lower levels of vibration.[7] While they are more expensive, they do have a higher power density and with the appropriate drive electronics are often better suited to the application[citation needed].

Driver circuits

[edit]
Stepper motor with Adafruit Motor Shield drive circuit for use with Arduino

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.

An additional limitation, often comparable to the effects of inductance, is the back-EMF of the motor. As the motor's rotor turns, a sinusoidal voltage is generated proportional to the speed (step rate). This AC voltage is subtracted from the voltage waveform available to induce a change in the current.

L/R driver circuits

[edit]

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

[edit]

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.

Phase current waveforms

[edit]
Different drive modes showing coil current on a 4-phase unipolar stepper motor.

A stepper motor is a polyphase AC synchronous motor (see Theory below), and it is ideally driven by sinusoidal current. A full-step waveform is a gross approximation of a sinusoid, and is the reason why the motor exhibits so much vibration. Various drive techniques have been developed to better approximate a sinusoidal drive waveform: these are half stepping and microstepping.

Wave drive (one phase on)

[edit]

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 360100 = 3.6°.

Full-step drive (two phases on)

[edit]

This is the usual method for full-step driving the motor. Two phases are always on so the motor will provide its maximum rated torque. As soon as one phase is turned off, another one is turned on. Wave drive and single phase full step are both one and the same, with same number of steps but difference in torque.

Half-stepping

[edit]

When half-stepping, the drive alternates between two phases on and a single phase on. This increases the angular resolution. The motor also has less torque (approx 70%) at the full-step position (where only a single phase is on). This may be mitigated by increasing the current in the active winding to compensate. The advantage of half stepping is that the drive electronics need not change to support it. In animated figure shown above, if we change it to half-stepping, then it will take 8 steps to rotate by 1 tooth position. So there will be 25×8 = 200 steps per full rotation and each step will be 360/200 = 1.8°. Its angle per step is half of the full step.

Microstepping

[edit]

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 smoother, 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

[edit]

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

[edit]

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

[edit]

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

[edit]

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.

Ringing and resonance

[edit]

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:

where is the holding torque in N·m, is the number of pole pairs, and is the rotor inertia in 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.

Ratings and specifications

[edit]

Stepper motors' nameplates typically give only the winding current and occasionally the voltage and winding resistance. The rated voltage will produce the rated winding current at DC: but this is mostly a meaningless rating, as all modern drivers are current limiting and the drive voltages greatly exceed the motor rated voltage.

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]

NEMA stepper motors

[edit]

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

[edit]

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]

Stepper motor system

[edit]

A stepper motor system consists of three basic elements, often combined with some type of user interface (host computer, PLC or dumb terminal):

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

[edit]
  • 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

[edit]
  • Resonance effect often exhibited at low speeds and decreasing torque with increasing speed.[14]

See also

[edit]

References

[edit]
  1. ^ a b 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". doi:10.1093/acref/9780198832102.001.0001. ISBN 978-0-19-883210-2. {{cite journal}}: Cite journal requires |journal= (help)
  3. ^ Liptak, Bela G. (2005). Instrument Engineers' Handbook: Process Control and Optimization. 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".
  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".
  8. ^ zaber.com, microstepping
  9. ^ "Microstepping: Myths and Realities - MICROMO". 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 [bare URL PDF]
  12. ^ "Yakety Sax - Stepper Motor music". YouTube.
  13. ^ "Arduino MIDI Stepper Synth".
  14. ^ "Advanced Micro Systems - stepper 101". www.stepcontrol.com.

Final Drive Motors

[edit]