Understanding the basics of a motor goes far beyond knowing that it spins when voltage is applied. For DIY CNC builds, robotic arms, or automated conveyors, selecting the wrong motor leads to missed steps, melted drivers, or stalled production. The core triad of electromechanical design is the load profile, the motor type, and the drive electronics. If you mismatch any of these three, your system will fail under real-world conditions.
This guide skips the abstract physics and goes straight to the bench. We will break down motor selection using a specification matrix, walk through a real-world sizing calculation, decode terminal wiring, and diagnose the most common failure signatures you will encounter when pushing these machines to their limits.
The Core Motor Types: A Specification Matrix
Before you buy a motor, you must match its inherent torque curve to your mechanical load. A common mistake is treating steppers and servos as interchangeable position-control devices. They are not. Steppers excel at low-speed holding and open-loop positioning, while Brushless DC (BLDC) motors and servos dominate high-speed, high-dynamic applications.
The table below maps the four most common motors in the maker and light-industrial space to their actual operating characteristics.
| Motor Type | Torque Curve Profile | Control / Driver Needs | Typical DIY Cost (USD) | Ideal Load Profile |
|---|---|---|---|---|
| Bipolar Stepper (NEMA 17/23) | Maximum at stall (0 RPM); drops sharply as speed increases due to coil inductance. | Constant-current chopper drive (e.g., TB6600, TMC2209). Open-loop. | $15 – $35 | Low-to-medium speed positioning, high holding torque (CNC axes, 3D printer extruders). |
| Brushless DC (BLDC) | Flat, continuous torque up to base speed; drops in constant-power region above base speed. | 3-phase ESC or FOC controller (e.g., ODrive). Requires Hall sensors or sensorless back-EMF. | $45 – $120 | High-speed rotation, dynamic acceleration, continuous duty (robotic joints, traction drives). |
| Brushed DC (Coreless/Standard) | Linear drop from peak stall torque to zero torque at no-load max RPM. | Simple H-bridge or MOSFET PWM. Speed controlled by voltage duty cycle. | $5 – $20 | Low-cost, low-precision continuous rotation (conveyor belts, cooling fans, RC toys). |
| AC Induction (Single-Phase) | Low starting torque; peaks near synchronous speed (slip region). | Direct-on-line (DOL) contactor, VFD for speed control. Requires start/run capacitors. | $60 – $150 | Constant-speed, high-inertia loads (table saws, air compressors, industrial blowers). |
Sizing Rule of Thumb and Worked Load Example
The golden rule of motor sizing is to calculate your continuous and peak torque requirements, then apply a 2.5x to 3.0x safety factor. This margin accounts for unforeseen mechanical friction, inertia during acceleration, and the torque drop-off inherent in the motor's speed curve. For authoritative sizing methodologies, refer to Oriental Motor's sizing calculations guide, which details inertia matching and load torque formulas.
Worked Example: Sizing a CNC Z-Axis
Let’s size a motor for a vertical CNC router Z-axis. The load is a 10 kg (22 lb) router spindle assembly. We are using a T8x2 leadscrew (8mm diameter, 2mm lead/pitch) with an anti-backlash nut.
- Calculate Force: Mass (10 kg) × Gravity (9.81 m/s²) = 98.1 Newtons.
- Calculate Base Torque: The formula for leadscrew torque is
T = (Force × Lead) / (2 × π × Efficiency). Assuming 90% efficiency for a rolled ball screw or high-quality trapezoidal screw:
T = (98.1 N × 0.002 m) / (2 × 3.1415 × 0.9) = 0.034 Nm. - Add Friction and Inertia: Carriage friction and the torque required to accelerate the mass upward will roughly double this requirement. Let’s estimate a running torque of 0.08 Nm.
- Apply Safety Factor: 0.08 Nm × 3.0 = 0.24 Nm minimum required torque.
The Selection: A standard NEMA 17 motor (typically 0.4 Nm to 0.5 Nm holding torque) might technically hold the load, but it will lack the torque margin for rapid Z-axis plunges. Instead, we select a NEMA 23 stepper, such as the KL23H276-21-8A, which provides 1.2 Nm (170 oz-in) of holding torque. This massive overhead ensures the motor never stalls during aggressive acceleration and easily overcomes the sticky friction of the Z-axis linear rails.
Wiring, Terminals, and Driver Matching
A motor is only as good as the drive electronics commanding it. Supplying a constant voltage to a stepper motor will result in sluggish performance and missed steps; you must use a constant-current chopper driver. Here is how to identify and wire the two most common DIY motors.
Bipolar Stepper (4-Wire) Terminal Identification
NEMA steppers typically use a 4-wire bipolar configuration. The terminals on your driver will be labeled A+, A-, B+, and B-.
- Identifying Coils: Set your digital multimeter (DMM) to continuity or low-resistance mode. Probe the four wires. You will find two distinct pairs that show low resistance (typically 1.0Ω to 3.0Ω). These are your A coil and B coil. Wires from different coils will show infinite resistance (open loop).
- Determining Polarity: Stepper drivers do not strictly care if A+ and A- are swapped, or if coil A and coil B are swapped. If your motor spins backward, simply swap the two wires on the A terminals (e.g., swap A+ and A-). Never swap wires between the A and B groups while the driver is powered, as this can short the driver's internal H-bridge MOSFETs.
- Driver Matching: Pair a NEMA 23 with a chopper driver like the TB6600. You must set the DIP switches on the TB6600 to match the motor's rated current (e.g., 2.0A RMS) and your desired microstepping resolution (usually 1/8 or 1/16 for CNC work).
Brushless DC (BLDC) Terminal Identification
BLDC motors require 3-phase power and rotor position feedback.
- Power Terminals (U, V, W): These are the three thick phase wires. They connect to the corresponding U, V, W outputs on your 3-phase ESC or FOC (Field Oriented Control) driver. Swapping any two of these wires will reverse the motor's rotation direction.
- Hall Sensor Terminals: Most sensored BLDCs use a 5-pin JST connector: VCC (5V), GND, HA, HB, HC. These provide the controller with absolute rotor position at low speeds. For advanced FOC controllers like the ODrive v3.6, Hall sensors are mandatory for smooth startup and high-torque low-speed operation.
Failure Signatures: Diagnosing Hum, Overheat, and Stall
When a motor system fails, it rarely does so silently. Recognizing the acoustic and thermal signatures of a failing drive will save you from replacing perfectly good hardware.
1. The "Hum" (Resonance and Capacitor Failure)
Stepper Motors: A loud, vibrating hum at specific speeds (usually between 2 to 5 revolutions per second) is mid-band resonance. The rotor overshoots and oscillates around the magnetic detent. Fix: Increase microstepping on your driver, add a mechanical dampener to the rear shaft, or implement software acceleration ramps to push through the resonant frequency quickly.
AC Induction Motors: A 60Hz hum accompanied by a failure to start indicates a failed start capacitor. The motor has no phase shift to create a rotating magnetic field. Fix: Disconnect power, safely discharge the capacitor with a 20kΩ 5W resistor, and test it with a multimeter's capacitance mode. Replace if it reads more than 10% below its microfarad (µF) rating.
2. Overheat (Current Limits and Thermal Class)
It is a common misconception that a hot stepper motor is a failing motor. Most NEMA steppers use Class B insulation, rated for an 80°C temperature rise above a 40°C ambient environment. A motor casing at 90°C (194°F) is operating within spec. However, if the motor smells like burning ozone or the paint is blistering, your driver is pushing too much current.
Fix: Verify your driver's current limit. On a TB6600, ensure the DIP switches are set to the motor's RMS current, not its peak current. If your motor is rated for 2.8A Peak, set the driver to roughly 2.0A RMS (Peak / √2). For BLDC motors, overheating usually points to improper FOC tuning (high phase inductance or incorrect flux linkage values) causing excessive current ripple.
3. Stall and Missed Steps (Pull-Out Torque Violation)
If your CNC axis loses position or a robotic arm drops under load, the motor has stalled. This happens when the load torque exceeds the motor's pull-out torque at that specific RPM. Because stepper torque drops inversely with speed, a motor that holds 1.2 Nm at stall might only produce 0.4 Nm at 1000 RPM.
Fix: First, check your power supply voltage. Stepper drivers rely on high voltage (e.g., 48VDC) to force current quickly into the highly inductive motor coils. If you are running a 24V supply on a NEMA 23, upgrading to a 48V supply (assuming the driver supports it) will dramatically flatten the torque curve at higher RPMs. If voltage is maxed out, you must gear the motor down or switch to a closed-loop BLDC servo system.






