đ€ Week 7, Day 3: Stepper Motors and Brushless DC Motors
Theme: Actuators & Drive Systems
Topic: Stepper Motors and Brushless DC Motors
Learning Goal: Master stepper control principles, BLDC commutation strategies, and application-specific selection criteria.
Introduction
While servo motors dominate high-performance robotics, two other motor types fill critical niches: stepper motors for cost-sensitive precision applications, and brushless DC (BLDC) motors for high-efficiency, high-speed systems. Today weâll explore both.
Stepper Motors
Operating Principle
Stepper motors move in discrete angular steps (typically 1.8° or 0.9° per step) by energizing coils in sequence. A standard NEMA 17 stepper with 1.8° step angle requires:
200 steps/revolution = 360° / 1.8°
With microstepping (up to 1/256 step), effective resolution reaches:
200 Ă 256 = 51,200 steps/revolution
Types of Stepper Motors
| Type | Characteristics | Applications |
|---|---|---|
| Permanent Magnet (PM) | High torque at low speed, low cost | Printers, scanners |
| Variable Reluctance (VR) | High speed, lower torque | Textile machines |
| Hybrid | Best of both: high torque + precision | CNC, 3D printers, automation |
The Hybrid Stepper Construction
A hybrid stepper combines:
- Permanent magnet rotor: Provides detent torque (torque at rest)
- Toothed rotor and stator: Creates precise step positions
- Two-phase windings: Energized in sequence to create rotating magnetic field
Common configurations:
- Bipolar: 4 wires, higher torque, requires H-bridge driver
- Unipolar: 6 or 8 wires, simpler driver, ~30% less torque
Torque-Speed Characteristics
Stepper torque decreases with speed due to inductance:
Ï_available = Ï_hold Ă (V - K_e Ă Ï) / V
Where Ï_hold is holding torque (at standstill). The torque curve shows:
- High torque at low speeds (0-500 RPM)
- Rapid drop-off above ~1000 RPM
- Risk of missed steps if load exceeds available torque
Missed Steps and Position Error
The critical failure mode: if load torque exceeds motor torque at any point, the rotor fails to complete a step. The controller doesnât know this happened (open-loop), so position error accumulates.
Solutions:
- Oversize motor: 50-100% torque margin at maximum speed
- Closed-loop stepper: Add encoder + servo-like control
- Acceleration profiles: Limit acceleration to stay within torque envelope
Stepper vs. Servo Comparison
| Characteristic | Stepper | Servo |
|---|---|---|
| Control | Open-loop (usually) | Closed-loop |
| Cost | Lower ($20-80) | Higher ($50-500+) |
| Precision | Good with microstepping | Excellent with encoder |
| Speed | Limited (<2000 RPM) | High (>10,000 RPM) |
| Efficiency | Lower (current always on) | Higher (current proportional to load) |
| Complexity | Simpler | More complex |
| Missing steps | Possible | Impossible (encoder detects) |
Brushless DC Motors
Why âBrushlessâ?
Traditional DC motors use mechanical brushes and a commutator to switch current between rotor coils. This causes:
- Wear and arcing (limited lifespan: 1,000-5,000 hours)
- Electrical noise (EMI)
- Dust generation
- Speed limitations (brushes bounce at high RPM)
BLDC eliminates brushes by using:
- Permanent magnet rotor (fixed field)
- Stationary coils (stator)
- Electronic commutation (switches current based on rotor position)
Electronic Commutation
The controller must know rotor position to energize the correct coils. Three methods:
1. Hall Sensor Commutation
Hall effect sensors detect rotor magnet position:
- 3 sensors spaced 120° apart
- 6-step commutation sequence (one coil pair energized at a time)
- Simple, robust, but produces torque ripple (~14%)
Sensor pattern â Commutation state
001 â Phase A+ B-
011 â Phase A+ C-
010 â Phase B+ C-
110 â Phase B+ A-
100 â Phase C+ A-
101 â Phase C+ B-
2. Sensorless Commutation (Back-EMF)
Detect rotor position by measuring back-EMF on the unenergized phase:
- Zero-crossing of back-EMF indicates commutation point
- Requires minimum speed (~5-10% of max) for reliable detection
- Cannot start from standstill without âopen-loop kickstartâ
- Popular in drones and fans (cost reduction, reliability)
3. Field-Oriented Control (FOC)
The most advanced method, used in high-performance robotics:
Principle: Control the magnetic field vector directly
I_d = 0 (no field-weakening)
I_q = Ï / K_t (torque-producing current)
Process:
- Measure three-phase currents (I_a, I_b, I_c)
- Convert to rotating reference frame (Park transform)
- Control I_d and I_q independently (like DC motor!)
- Convert back to three-phase (Inverse Park + SVPWM)
Advantages:
- Maximum torque per ampere (optimal efficiency)
- Smooth torque (no commutation ripple)
- Full torque from zero speed (unlike sensorless)
- Field-weakening for speeds above base speed
BLDC in Robotics: Drone Motors
Application: Quadcopter propulsion
Requirements:
- High power-to-weight: >200 W/kg
- Fast response: <50 ms from 0 to max RPM
- Wide speed range: 2,000-15,000 RPM
Typical specs:
- Kv rating: 900-2600 RPM/V (higher Kv = more speed, less torque)
- Voltage: 4S-6S LiPo (14.8V-22.2V)
- Power: 200-1000W per motor
- Controller: ESC (Electronic Speed Controller) with sensorless FOC
Key insight: Drone motors are optimized for speed and power density, not precision. The same motor technology scales down to robot joint actuators when combined with high-ratio gearboxes.
Advanced Topics
Field Weakening
For speeds above the motorâs âbase speedâ (where back-EMF equals supply voltage):
I_d < 0 (weakens rotor field)
Ï_max = Ï_base Ă (V_max / (V_back + I_d Ă L))
Trade-off: Higher speed, but reduced torque and efficiency. Used in electric vehicles and high-speed spindles.
Regenerative Braking
When decelerating, the motor acts as a generator:
P_regen = Ï Ă Ï (mechanical power converted to electrical)
Implementation:
- Energy returned to battery (EVs, industrial drives)
- Dissipated in resistor (simple systems)
- Grid-tied regeneration (large industrial robots)
Motor Constant Trade-offs
The motor constant K_t (Nm/A) determines the fundamental performance envelope:
Ï = K_t Ă I
Ï = (V - IĂR) / K_e
For a given motor size:
- High K_t: More torque, less speed (good for direct-drive robots)
- Low K_t: Less torque, more speed (needs gearbox)
Design rule: Choose K_t such that motor operates near peak efficiency at the applicationâs typical operating point.
Selection Guidelines
Choose Stepper When:
- Cost is critical ($50-200 system cost)
- Speed is low (<500 RPM)
- Precision requirement is moderate (±0.1°)
- Open-loop acceptable or closed-loop stepper cost-effective
- Load is constant or slowly varying
Examples: 3D printers, CNC mills (lower-end), camera gimbals, linear stages
Choose BLDC When:
- Efficiency matters (battery-powered systems)
- Speed is high (>3000 RPM)
- Lifespan is critical (>10,000 hours)
- EMI must be minimized
- Power density is important
Examples: Drones, electric vehicles, hard drives, fans, high-speed spindles
Choose Servo (Brushed or Brushless) When:
- Precision is critical (±0.01°)
- Dynamic performance matters (fast acceleration)
- Load varies significantly
- Position must be maintained under load
Examples: Industrial robots, humanoids, CNC (high-end), surgical robots
Summary
| Key Point | Takeaway |
|---|---|
| Stepper motors | Discrete steps, open-loop control, cost-effective precision |
| Microstepping | Improves resolution but not accuracy; missed steps still possible |
| BLDC motors | Electronic commutation, high efficiency, long lifespan |
| Hall sensors | Simple commutation but torque ripple |
| FOC | Optimal torque/efficiency, smooth operation, complex implementation |
| Selection | Stepper for cost, BLDC for speed/efficiency, servo for precision |
Further Reading
- Application Note: Trinamic Motion Control â âStepper vs. Servo: Selection Criteriaâ
- TI Document: âSensorless Trapezoidal Control of BLDC Motorsâ (SLVA420)
- ST Micro: âField-Oriented Control (FOC) for PMSM Motorsâ â AN1078
Tomorrow (Day 4): Harmonic Drives and Planetary Gearboxes â the mechanical magic behind robot joint precision.