Sub topic 3
Reading a stepper motor's ratings
This chapter assumes you can apply Ohm's law (V = I × R), read a simple wiring diagram, and run a basic Arduino sketch. You don't need to know how drivers work yet. By the end you should be able to take a datasheet and decide whether a motor suits your project and which driver settings it implies.
Why the label matters
A stepper motor has no feedback. The driver sends current and the shaft goes where the magnetic field pulls it. Nothing tells the controller if the motor was too weak for the load. The ratings printed on the motor and in its datasheet are therefore the only specification you can design against. Two ratings in particular, rated current and winding resistance, are widely misread and cause most overheating and weak-torque problems.
The ratings that matter
A typical datasheet for a NEMA 17 bipolar motor lists values like these:
| Rating | Example value | What it tells you |
|---|---|---|
| Step angle | 1.8° | Resolution: 360 / 1.8 = 200 full steps per revolution |
| Rated current per phase | 1.5 A | The current to set on the driver |
| Winding resistance per phase | 2.8 Ω | Heat and the "rated voltage" figure |
| Winding inductance per phase | 4 mH | How fast current can rise, so how much supply voltage the motor can use |
| Holding torque | 0.44 N·m | Torque with both phases energized at rated current and the shaft at rest |
| Detent torque | 0.02 N·m | Torque with no current, from the permanent magnets |
| Rotor inertia | 54 g·cm² | How hard the rotor is to accelerate |
| Number of leads | 4 | Winding configuration |
Step angle and steps per revolution
The step angle is the rotation produced by one full step. The common values are 1.8° (200 steps per revolution) and 0.9° (400 steps per revolution). Datasheets usually quote an accuracy of about ±5% of one step, and this error does not accumulate. After 200 steps you are back at the same position within ±5% of a step, not 200 times that error.
Microstepping divides each full step into smaller moves, but it doesn't make the motor more accurate than that ±5% figure. The extra positions are mostly smoothness, not precision.
Rated current per phase
This is the current each winding can carry continuously without exceeding the motor's temperature rating. It is the number you set on the driver's current limit, which is the subject of a later chapter. Note the words "per phase". A bipolar motor has two phases, and the driver regulates each one separately. You don't add the two together.
Some datasheets quote the current for two phases energized in series or parallel (common with 6-lead and 8-lead motors). Check the wiring condition printed beside the figure before you use it.
Winding resistance and the "rated voltage" trap
The datasheet may list a rated voltage, for example 4.2 V. This is just rated current times winding resistance:
V = I × R = 1.5 A × 2.8 Ω = 4.2 V
It is the DC voltage that would push the rated current through the coil. It is not the supply voltage you should use. Modern drivers are current-chopping drivers. They apply a much higher supply voltage and switch it off quickly to hold the current at the set limit. A 4.2 V supply would work, but the motor could not reach high speeds, as a later chapter on torque versus speed explains.
Resistance also tells you the heat. At rated current, each energized phase dissipates I²R:
P = 1.5² × 2.8 = 6.3 W per phase
With both phases on, that is about 12.6 W inside a small can. This is why a motor held at full current feels hot to the touch even when it isn't turning.
Inductance and the supply voltage ceiling
Inductance limits how quickly current can rise in a coil after the driver switches it on. At higher step rates the current has less time to reach its target, torque falls, and you eventually miss steps. A higher supply voltage makes the current rise faster, so it extends the usable speed range.
A commonly quoted rule of thumb for the upper bound on supply voltage is:
V_max ≈ 25 × √L, with L in millihenries
For the 4 mH motor above, that gives about 25 × 2 = 50 V. Treat this as a ceiling for the motor, not a target. Your driver's own maximum supply voltage is usually lower (for example 35 V for a driver of the A4988 class on its datasheet's absolute maximum, with a safe working margin below it). Choose a supply that satisfies all three limits: the driver's rating, the motor's ceiling, and your safety margin.
A low-inductance, low-resistance motor generally reaches higher speeds. A high-inductance, high-resistance motor tends to give more torque at low speed but runs out of torque sooner as speed rises.
Holding torque and detent torque
Holding torque is the most quoted figure and also the least useful for real motion. It is measured at standstill. Torque available while the shaft turns is lower, and it keeps falling as speed rises. You should read the torque-versus-speed curve if the datasheet provides one. For sizing, a practical rule is to choose a motor whose holding torque is well above the load you need, often by a factor of two or more, because the working torque at speed is a fraction of the holding value.
Detent torque (also called cogging torque) is the small resistance you feel when you turn an unpowered shaft by hand. It adds a little useful holding force when the power is off, but it is not a brake. A loaded axis will still back-drive.
Lead count and winding configuration
The number of leads tells you how the coils are brought out:
- 4 leads: bipolar, two independent coils.
- 6 leads: each coil has a center tap, so you can use it as unipolar, or as bipolar with the center taps left unconnected.
- 8 leads: two half-windings per phase, which you can connect in series or in parallel.
The ratings change with the connection. In series, the resistance and inductance double and the current rating halves relative to the parallel connection. If the datasheet gives a table for each connection, use the row that matches your wiring.
Applying the numbers
The sketch below stores a motor's datasheet values as constants and prints the derived figures. It is a quick check before you wire anything.
const float STEP_ANGLE_DEG = 1.8f; // degrees per full step
const float RATED_CURRENT_A = 1.5f; // per phase
const float WINDING_OHMS = 2.8f; // per phase
const float INDUCTANCE_MH = 4.0f; // per phase
void setup() {
Serial.begin(115200);
float stepsPerRev = 360.0f / STEP_ANGLE_DEG;
float ratedVolts = RATED_CURRENT_A * WINDING_OHMS;
float phasePowerW = RATED_CURRENT_A * RATED_CURRENT_A * WINDING_OHMS;
float supplyCeilingV = 25.0f * sqrt(INDUCTANCE_MH);
Serial.print("Full steps per revolution: ");
Serial.println(stepsPerRev);
Serial.print("Rated voltage (I x R), V: ");
Serial.println(ratedVolts);
Serial.print("Heat per energized phase, W: ");
Serial.println(phasePowerW);
Serial.print("Supply voltage ceiling (rule of thumb), V: ");
Serial.println(supplyCeilingV);
}
void loop() {
}For the example motor this prints 200 steps, 4.2 V, 6.3 W, and a 50 V ceiling.
Common reading errors
- Using the rated voltage as the supply. Covered above. Use I × R only to understand the coil, and set the driver to the rated current.
- Mixing up per-phase and total current. Setting the limit to the sum of two phases doubles the current each coil receives and overheats the motor.
- Ignoring the connection. An 8-lead motor wired in series has different ratings than the same motor wired in parallel.
- Sizing by holding torque alone. The motor must deliver the load torque at your target speed, so check the torque curve.
- Trusting unmarked motors. Salvaged motors often lack a label. You can measure winding resistance with a multimeter to identify coil pairs, but you cannot read the rated current from it, so look up the part number or run it well below any likely rating and watch the temperature.
Exercise
A motor has a 0.9° step angle, a rated current of 1.2 A per phase, and a winding resistance of 3.3 Ω. (a) How many full steps per revolution does it have? (b) What is its "rated voltage"? (c) How much heat does one energized phase dissipate at rated current? (d) Should you set the driver's current limit to 1.2 A or 2.4 A?
Show answer
(a) 360 / 0.9 = 400 full steps per revolution. (b) 1.2 A × 3.3 Ω = 3.96 V, which is a coil figure and not the supply voltage to use. (c) P = I²R = 1.2² × 3.3 = 4.75 W. (d) 1.2 A, because the rating is per phase and the driver regulates each phase separately.