# Stepper motor

> Source: https://aiwiki.ai/wiki/stepper_motor
> Updated: 2026-07-14
> Categories: AI Hardware, Robotics
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
> From AI Wiki (https://aiwiki.ai), the free encyclopedia of artificial intelligence. Reuse freely with attribution to "AI Wiki (aiwiki.ai)".

A **stepper motor** (also called a stepping motor) is an electric motor that converts a sequence of electrical pulses into discrete mechanical steps rather than smooth continuous rotation. Like the related [brushless DC motor](/wiki/brushless_dc_motor), it has no brushes or mechanical commutator; instead, a driver circuit energizes stator windings in sequence, and the rotor advances by a fixed angular increment with each step. Because the controller can determine the motor's position simply by counting the pulses it has sent, stepper motors are the classic choice for open-loop positioning in 3D printer gantries and desktop CNC machines, but the same open-loop design means the motor has no way of confirming it actually reached the commanded position, a limitation that keeps it out of most dynamic robot joints.

**In brief:** a stepper motor's rotor and stator are built with many fine teeth that create dozens of stable magnetic "detent" positions around the shaft. Switching current through the coils in a set sequence pulls the rotor from one detent to the next, one discrete step at a time. A controller can spin the shaft to a known angle just by sending the right number of pulses, no sensor required, as long as the motor never loses its footing.

## How a stepper motor works

A stepper motor is a type of synchronous motor: the rotor's speed and position are locked to the pattern of currents applied to the stator windings, rather than free-running the way an induction or simple DC motor does [1]. The stator is wound as a set of discrete magnetic poles (commonly 8 poles in a 2-phase design, or 10 in a 5-phase design), and each pole face, along with the rotor surface, is machined with many small teeth [1][2]. It is these fine teeth, not the handful of stator poles, that create the large number of stable rest positions a stepper motor is known for; sources describing "many magnetic poles" acting like detents are really describing this tooth structure. A standard hybrid stepper motor rotor carries 50 teeth, arranged as two magnetized cups offset from each other by half a tooth pitch; finer, higher-resolution hybrid designs use up to around 100 rotor teeth, and 5-phase motors achieve extra resolution from the same tooth geometry by dividing each tooth pitch into ten electrical steps instead of four [1][5].

When a pair of stator poles is energized, magnetic attraction pulls the nearest rotor teeth into alignment, the position of lowest magnetic reluctance. Energizing the next pole pair in sequence shifts that equilibrium point by a fixed fraction of the tooth pitch, so the rotor "steps" forward to the new alignment [1][2]. For the industry-standard hybrid design, that fraction is one-quarter of a 7.2-degree tooth pitch, giving the ubiquitous 1.8-degree step angle and exactly 200 steps per revolution [1]. Because each step corresponds to a real, repeatable mechanical detent, a controller that simply counts step pulses can track shaft position without a separate sensor, the defining trait of open-loop stepper control [12][13].

The variable-reluctance principle behind this (a toothed iron structure seeking the lowest-reluctance alignment with an energized electromagnet) traces back to Charles Wheatstone's mid-19th-century dial telegraph, which used electrical impulses to advance a remote pointer [1]. The hybrid stepper motor that dominates the market today, combining a permanent-magnet rotor with the fine, toothed construction of a variable-reluctance machine, was commercialized by the Superior Electric Company under the Slo-Syn brand starting in 1958 and was widely copied by other manufacturers within a decade [22].

## Types of stepper motor

Stepper motors are built around three rotor constructions, which trade off cost, step size, and torque when unpowered [3][4].

| Type | Rotor construction | Typical step angle | Detent torque when unpowered | Relative cost | Typical use |
|---|---|---|---|---|---|
| Variable reluctance (VR) | Toothed soft-iron rotor, no magnet | 5 to 15 degrees | None; the shaft freewheels | Low | Simple, low-precision positioning where free rotation when off is acceptable |
| Permanent magnet (PM), "can-stack" | Axially magnetized magnet rotor with relatively few poles | 7.5 or 15 degrees (also 3.75 or 18 on some models) | Present | Low | Low-cost, low-precision devices: valves, ATMs, small instruments |
| Hybrid | Two radially magnetized, toothed rotor cups offset by half a tooth pitch; combines PM and VR principles | 1.8 degrees standard (200 steps/rev); finer variants to about 0.9 or 0.72 degrees | Present, generally higher than PM types | Higher | 3D printers, CNC, industrial positioning; the dominant type today |

Variable-reluctance motors have no permanent magnet, so there is no magnetic attraction holding the rotor in place when the coils are de-energized; the shaft spins freely [3][9]. Permanent-magnet and hybrid motors, by contrast, exhibit detent torque (sometimes called cogging torque): even with no current applied, the magnet is weakly attracted to the nearest set of stator teeth, so the shaft "clicks" between a coarser set of rest positions and resists rotation slightly [9]. Hybrid motors focus magnetic flux more efficiently than either pure PM or pure VR designs, thanks to their small air gap and finely toothed rotor and stator, which is why they can deliver more torque in a smaller frame and dominate applications that need both precision and holding force [3][4].

## Step resolution: full step, half step, and microstepping

A driver can command a hybrid stepper motor in several resolutions without changing the motor itself; only the current pattern sent to the two (or more) phase windings changes [6][7].

| Mode | How it works | Steps per revolution (1.8-degree motor) | Character |
|---|---|---|---|
| Full step | Both phases driven at full, alternating current in a four-state sequence | 200 | Simple and torque-efficient, but the rotor snaps abruptly between positions, producing audible clicking and the strongest resonance |
| Half step | Alternates between one phase energized and two phases energized together | 400 | Smoother than full step, with somewhat uneven torque between the two state types |
| Microstepping | The two phase currents are modulated as interpolated sine and cosine waves; common drivers support 4x to 256x subdivision of a full step | Up to tens of thousands (256 x 200 = 51,200 on a 1.8-degree motor) | Smoothest and quietest operation, with reduced resonance and vibration |

Microstepping does not add real rotor teeth or increase the number of true mechanical detents; it interpolates the rotor to intermediate positions between them by proportioning current between two windings [6][7]. Because the restoring torque between two energized phases is not perfectly linear, individual microsteps are not evenly spaced with the same precision the pulse count implies, so microstepping is best understood as a smoothness and vibration-reduction technique rather than a way to multiply true positional accuracy by the same factor [6][7]. This is also where most of the drive electronics innovation in stepper systems has landed: modern driver chips, such as Analog Devices' (formerly Trinamic's) TMC2209 used in most current desktop 3D printers, interpolate a coarser step command up to 256 microsteps internally and use voltage-mode current control (marketed as "StealthChop") specifically to make hybrid stepper motors run near-silently at low speed [8].

## Torque, speed, and resonance

A stepper motor's torque is not constant; it depends heavily on how fast it is being stepped [10][11].

- **Holding torque** is the maximum torque the energized motor can resist before the rotor is forced out of its current step, measured at standstill with rated current applied. It is the number printed on most stepper motor datasheets and the motor's best-case torque figure [9][10].
- **Pull-in and pull-out torque** describe dynamic behavior: pull-in torque is the maximum load a stopped motor can start and synchronize to at a given step rate without losing steps; pull-out torque is the maximum load a motor already running in sync can carry before it slips out of step [10].
- **The torque-speed curve** stays close to the holding-torque rating at low step rates, then falls off after a "knee" frequency set largely by the coil's electrical time constant (inductance divided by resistance), and drops roughly in inverse proportion to step frequency at higher speeds as the driver runs out of voltage headroom to force current into the windings fast enough [10].
- **Resonance** is a mechanical side effect of stepping: at certain frequencies, typically in the tens to low hundreds of hertz for small motors, the discrete torque pulses excite the natural oscillation of the rotor and load inertia. When a step pulse arrives out of phase with that oscillation it can momentarily reduce available torque by 90 percent or more, causing rough motion, audible mid-band buzzing, or a full loss of synchronization if the load torque exceeds what remains [11].

Because stepper motors typically use conventional ferrite magnets rather than the rare-earth magnets common in servo and brushless drive motors, and because most commercial stepper frames top out around the NEMA 34 size, their torque ceiling is comparatively modest: one industrial motion-control tutorial puts the practical limit around 1,000 to 2,000 oz-in (roughly 7 to 14 newton-meters) before servo motors become the more efficient choice [13]. Stepper motors also run at fairly low mechanical efficiency, commonly cited in the 20 to 50 percent range at moderate load, because the winding current (and the resistive heating that comes with it) stays close to its rated value even while holding a position and doing no mechanical work, unlike a servo drive that can reduce current when the load is stationary and requires little holding torque.

## Open-loop control: strengths and limits

A stepper motor's defining trait is that its basic control scheme is open loop: the driver sends a pulse train, and the motor is simply assumed to have moved by one step per pulse [12][13]. This has real advantages. There is no encoder, no tuning loop, and no risk of control instability; the system is inherently stable as long as the motor keeps up with the commanded step rate, which makes steppers cheap, simple to wire, and predictable for lightly loaded, well-characterized motion [13][14].

The corresponding weakness is that the controller has no way to detect a problem. If the load torque briefly exceeds the motor's pull-out torque, if acceleration is too aggressive, or if the step rate wanders into a resonant band, the rotor can slip one or more teeth out of sync with the commanded position. Because there is no feedback path, the driver keeps counting pulses as if nothing happened, and the resulting position error is silent and permanent until the axis is re-homed against a physical reference [12]. This is the practical meaning of "losing steps": the motor does not stall visibly so much as quietly fall out of agreement with the position the controller believes it is at.

Manufacturers address this in two ways. "Closed-loop stepper" systems bolt a [rotary encoder](/wiki/rotary_encoder) onto an otherwise conventional hybrid stepper motor and use it purely to detect and correct step loss (and sometimes to adjust current dynamically), which recovers much of the reliability of a full servo system at a lower cost than one, though still short of a servo's dynamic performance [14][16]. Alternatively, sensorless techniques such as Trinamic/Analog Devices' StallGuard measure back-EMF to infer an approaching stall without a physical encoder, mainly for homing and load-detection rather than full closed-loop correction [8]. Either way, once feedback is added the distinction between a "stepper" and a "servo" becomes primarily one of motor construction rather than control philosophy.

## Stepper motors vs. servo motors

A [servo motor](/wiki/servo_motor) is not a distinct motor technology so much as a control arrangement: a motor (commonly a brushless or permanent-magnet synchronous design) paired with a position or velocity feedback device, usually an encoder or resolver, and a controller that continuously compares commanded and actual position and corrects the error [15]. That closed loop is the central difference from a stepper motor's open-loop design, and it drives most of the other contrasts between the two [13][14][16].

| Attribute | Stepper motor | Servo motor |
|---|---|---|
| Control loop | Open loop; no feedback in the base design | Closed loop; encoder or resolver feedback |
| How position is known | Inferred by counting commanded pulses | Measured directly and continuously corrected |
| Strongest torque | At standstill and low speed (holding torque) | Sustained across most of the rated speed range |
| High-speed torque | Falls off sharply, roughly as 1/frequency | Stays close to rated torque near top speed |
| Torque density | Lower; typically ferrite magnets, frames capped around NEMA 34 | Higher; often rare-earth magnets, scales to much larger frames |
| Response to overload | Silently skips steps; no fault signal from the motor itself | Raises a following-error fault the controller can act on |
| Efficiency | Lower, especially near standstill (current stays near rated value even while holding) | Higher; current scales with actual load |
| Cost and setup complexity | Low cost, simple driver, little or no tuning | Higher cost; needs feedback wiring and control-loop tuning |
| Typical use | 3D printers, desktop CNC, valve and instrument positioning, ATMs | Industrial CNC, production machinery, robot joints, humanoid actuators |

Neither design is strictly "better." A stepper motor is the more efficient engineering choice when the load is predictable, torque requirements are modest, and cost matters more than dynamic performance; a servo motor earns its extra cost and complexity when the system must hold accurate position under a varying or high load, run at higher speed without losing torque, or report a fault instead of silently drifting [13][16].

## Use in 3D printers, CNC machines, and robotics

### Desktop manufacturing and motion control

Stepper motors, especially the NEMA 17 frame size in a 1.8-degree hybrid configuration, are the standard actuator for the X, Y, and Z axes of virtually every mainstream desktop 3D printer design, typically driving a belt (for X/Y) or a [leadscrew](/wiki/leadscrew) (for Z) [17][18]. Desktop and light-duty CNC routers and mills follow the same pattern, usually coupling stepper motors to [ball screws](/wiki/ball_screw) or leadscrews for each axis [16]. The appeal in this niche is a direct match to stepper strengths: cutting or printing loads are light and fairly repeatable, the required speeds are modest, position accuracy of a few percent of one step is good enough (and step error famously does not accumulate from one step to the next), and the cost and simplicity of open-loop control matters a great deal in a consumer or hobbyist product [17][18]. Modern driver ICs with silent microstepping, sensorless homing, and load-based stall detection have also closed much of the old noise and reliability gap that used to separate hobby-grade stepper systems from more expensive alternatives [8].

Higher-end, production CNC machining is a different story: where uptime, cutting forces, and tolerance requirements are much higher, industrial machine tools overwhelmingly use servo motors (or closed-loop steppers as a middle-ground option) instead of open-loop steppers, because a servo's fault reporting and sustained high-speed torque are worth the added cost at that scale [16].

### Humanoid and legged robots

Stepper motors are almost never used to drive the main load-bearing joints of humanoid or legged robots, for three compounding reasons that echo the tradeoffs above [19][21].

First, dynamic balance and locomotion control depend on knowing, and often actively controlling, joint torque and position in real time; a joint actuator that can silently lose track of its own position is a poor fit for a control system built around continuous state feedback, whereas [quasi-direct-drive](/wiki/quasi_direct_drive) and geared brushless actuators are designed from the ground up around encoder feedback for exactly this purpose [20][21]. Second, torque density (torque delivered per unit of mass) is a first-order design constraint for a robot that has to carry its own actuators throughout its body; humanoid hip and knee joints today are commonly engineered toward peak torque densities upward of 30 newton-meters per kilogram, territory that requires rare-earth-magnet brushless motors, often combined with a [harmonic drive](/wiki/harmonic_drive) or a low-ratio planetary stage in a quasi-direct-drive layout, well beyond what a ferrite-magnet stepper motor of comparable size can deliver [19][20]. Third, a stepper motor's torque collapses at higher step rates and its detent structure is prone to resonance, which is a poor match for joints that must move quickly and smoothly through a wide, continuously varying speed range during walking or manipulation, rather than the slow, start-stop positioning steppers are built for [10][11].

The result is that production humanoid platforms such as [Tesla Optimus](/wiki/tesla_optimus), [Figure 02](/wiki/figure_02) and [Figure 03](/wiki/figure_03), and the [Unitree G1](/wiki/unitree_g1) drive their [degrees of freedom](/wiki/degrees_of_freedom) with brushless motors, commonly in quasi-direct-drive or harmonic-geared arrangements with integrated position feedback, rather than stepper motors [19][20][21]. Stepper motors' natural niche inside robotics stays close to their strengths elsewhere: light-duty, low-dynamic axes such as camera pan-tilt gimbals and other auxiliary mechanisms where cost and simplicity matter more than speed or torque density, rather than the main structural joints of a walking or manipulating robot [10].

## Suppliers and product landscape

The stepper motor supply base spans large motion-control conglomerates, specialist motor houses, and the semiconductor makers behind the driver chips that determine how smoothly a given motor actually runs.

| Manufacturer | Headquarters | Notes |
|---|---|---|
| Oriental Motor | Japan | Long-established motion-control supplier of stepper and servo motors; its technical publications are widely used as an industry reference for stepper motor fundamentals |
| MOONS' Industries | Shanghai, China | Listed on the Shanghai Stock Exchange (603728); describes itself as a top-tier global hybrid stepper motor maker shipping more than 10 million units a year |
| Nanotec | Feldkirchen, Germany | Founded in 1991; makes modular hybrid stepper and brushless motors, gearboxes, and controllers for automation and medical-device OEMs |
| Lin Engineering | California, United States | Hybrid stepper motor manufacturer serving motion-control OEM customers |
| StepperOnline (OMC) | China | High-volume maker and distributor of stepper motors and drivers aimed at the maker, hobbyist, and light-industrial market |
| Analog Devices (Trinamic) | United States / Germany | Semiconductor maker of the TMC-series stepper driver ICs (such as the TMC2209) used in most current desktop 3D printers for silent, interpolated microstepping |

## See also

- [Servo motor](/wiki/servo_motor)
- [Brushless DC motor](/wiki/brushless_dc_motor)
- [Actuator](/wiki/actuator)
- [Quasi-direct drive](/wiki/quasi_direct_drive)
- [Harmonic drive](/wiki/harmonic_drive)
- [Rotary encoder](/wiki/rotary_encoder)
- [Degrees of freedom](/wiki/degrees_of_freedom)
- [Humanoid robot](/wiki/humanoid_robot)

## References

1. Oriental Motor, "Stepper Motor Basics." https://www.orientalmotor.com/stepper-motors/technology/stepper-motor-basics.html
2. Douglas W. Jones, "Jones on Stepping Motor Physics," University of Iowa. https://homepage.divms.uiowa.edu/~jones/step/physics.html
3. Oriental Motor, "Stepper Motor Basics: PM vs VR vs Hybrid." https://blog.orientalmotor.com/stepper-motor-basics-pm-vs-vr-vs-hybrid
4. Linear Motion Tips, "Stepper motors: Permanent magnet, variable reluctance, and hybrid." https://www.linearmotiontips.com/stepper-motors-differences-between-permanent-magnet-variable-reluctance-and-hybrid-types/
5. Oriental Motor, "2-Phase vs. 5-Phase Hybrid Stepper Motor Comparison." https://www.orientalmotor.com/stepper-motors/technology/2-phase-vs-5-phase-stepper-motors.html
6. RS Online DesignSpark, "Stepper Motors and Drives: What is Full Step, Half Step and Microstepping." https://www.rs-online.com/designspark/stepper-motors-and-drives-what-is-full-step-half-step-and-microstepping
7. Analog Devices, "Mastering Precision: Understanding Microstepping in Motion Control." https://www.analog.com/en/resources/analog-dialogue/articles/mastering-precision-understanding-microstepping.html
8. Analog Devices, TMC2209 Datasheet (Rev. 1.09). https://www.analog.com/media/en/technical-documentation/data-sheets/tmc2209_datasheet_rev1.09.pdf
9. Motion Control Tips, "Detent Torque and Holding Torque: What's the difference?" https://www.motioncontroltips.com/faq-whats-the-difference-between-detent-torque-and-holding-torque/
10. Oriental Motor, "Speed-Torque Curves for Stepper Motors." https://www.orientalmotor.com/stepper-motors/technology/speed-torque-curves-for-stepper-motors.html
11. Zbotic, "Stepper Motor Resonance & Vibration: Diagnosis & Damping Tips." https://zbotic.in/stepper-motor-resonance-vibration-diagnosis-damping-tips/
12. Machine Design, "Why open-loop steppers lose steps, and how to solve the problem." https://www.machinedesign.com/motors-drives/article/21833271/why-open-loop-steppers-lose-steps-and-how-to-solve-the-problem
13. AMCI, "Tutorial: Stepper vs Servo." https://www.amci.com/industrial-automation-resources/plc-automation-tutorials/stepper-vs-servo/
14. Motion Control Tips, "What's the difference between servo and closed-loop stepper motors?" https://www.motioncontroltips.com/faq-whats-the-difference-between-servo-and-closed-loop-stepper-motors/
15. Wikipedia, "Servomotor." https://en.wikipedia.org/wiki/Servomotor
16. ShopSabre, "Servo vs. Stepper motors in CNC work." https://www.shopsabre.com/servo-vs-stepper-motors-in-cnc-work/
17. Components101, "NEMA17 Stepper Motor Datasheet, Wiring, Specs & Alternatives." https://components101.com/motors/nema17-stepper-motor
18. RepRap Wiki, "NEMA 17 Stepper motor." https://reprap.org/wiki/NEMA_17_Stepper_motor
19. Kollmorgen, "Build a Better Humanoid With Lightweight, Torque-Dense, Robot-Ready Motion." https://www.kollmorgen.com/en-us/blogs/build-better-humanoid-lightweight-torque-dense-robot-ready-motion
20. RobotWale, "Quasi-Direct-Drive Actuators: The Backbone of Modern Humanoid Compliance." https://robotwale.com/article/quasi-direct-drive-motors-qdd-actuators-humanoids-2
21. Firgelli, "Humanoid Robot Actuators: The Complete Engineering Guide." https://www.firgelli.com/pages/humanoid-robot-actuators
22. wimb.net, "History of Superior Electric (Slo-Syn)." https://www.wimb.net/index.php?page=0&s=slosyn
23. MOONS' Industries, "Company Profile: Trust, from Quality." https://www.moonsindustries.com/about-us/who-we-are/profile
24. Nanotec Electronic U.S. Inc., "Smart Motion Control for OEMs." https://www.nanotec.com/us/en

