Sizing, Testing and Troubleshooting

 

How to Size, Test and Troubleshoot a Stepper Motor

Key Takeaways

  • Size a motor in four moves: load torque, margin, torque-speed curve, then driver and supply voltage.

  • Use a margin of at least 50%. Many engineers use 2x for an open-loop axis.

  • Compare your needed torque to the curve at your speed and supply voltage. Do not compare it to holding torque.

  • Most faults come from a few causes: wrong current, low voltage, too much acceleration, wiring and mechanical binding.

  • If missed steps or heat will not go away, move to a closed-loop stepper or a servo.

Step-by-Step Sizing Process

Sizing means finding a motor that can move your load at your speed with room to spare. Work in this order: load torque, margin, torque-speed curve, then driver and supply.

Keep all units in SI while you calculate: newtons (N), meters (m) and N·m. Convert at the end. 1 N·m is 141.6 oz·in.

Quantity Plain-text formula
Load torque torque = force x radius
Lead screw torque T = F x lead / (2 x pi x efficiency)
Acceleration torque inertia x angular acceleration
Total torque load + friction + acceleration
Design torque total torque x margin (2x)

Calculate Load Torque and Add a Safety Margin

Start with the force the motor must create. For a wheel or pulley, torque is the force times the radius. For a lead screw, use the lead screw formula. The lead is how far the nut moves in one turn of the screw.

Then add friction and the torque to accelerate the load. Add them all up. Last, multiply by a safety margin. The margin covers friction that drifts, wear and supply dips.

Worked example: a lead-screw axis

Assumptions. Carriage mass 10 kg, moving flat. Friction coefficient 0.1. Process force 30 N. Lead 8 mm (0.008 m). Screw efficiency 0.4. Acceleration 1 m/s². Rotating inertia of rotor, screw and coupler 0.00001 kg·m². Top speed 100 mm/s.

1. Friction force. 0.1 x 10 kg x 9.81 = 9.8 N. Steady force = 30 + 9.8 = 39.8 N.

2. Steady torque. T = 39.8 x 0.008 / (2 x 3.1416 x 0.4) = 0.318 / 2.513 = 0.127 N·m.

3. Acceleration torque. The carriage needs 10 kg x 1 m/s² = 10 N. That is 10 x 0.008 / 2.513 = 0.032 N·m. The rotating parts need an angular acceleration of 1 x 2 x 3.1416 / 0.008 = 785 rad/s². Torque = 0.00001 x 785 = 0.008 N·m. Total = 0.040 N·m.

4. Total, then margin. 0.127 + 0.040 = 0.167 N·m. Times 2 = 0.334 N·m, about 47 oz·in.

5. Speed. 100 mm/s / 8 mm = 12.5 rev/s = 750 rpm. At 200 steps per rev that is 2,500 full steps per second.

Result. Pick a motor whose torque at 750 rpm, on your supply voltage, is above 0.33 N·m on the torque-speed curve. The holding torque must be higher still.

Notice that efficiency matters a lot here. A low efficiency screw needs much more torque than a ball screw for the same force. Use the maker's efficiency value, and check it.

Watch out: do not skip the margin

A common mistake we see is sizing to the exact number. A motor with no spare torque will miss steps the first time friction rises or the supply sags.

Check the Torque-Speed Curve

Holding torque only applies at standstill. As speed rises, torque falls, because the coil inductance slows how fast current builds up. Read the curve to see what you really get.

Find your speed on the horizontal axis. Go up to the curve. The value there must be above your design torque. In the example, that is 0.33 N·m at 750 rpm.

Use the curve for your supply voltage. Curves are drawn for a stated voltage and driver setting, so check the note on the chart. Our torque guide explains how to read it.

Also check torque during acceleration. If you ramp quickly, the motor needs the torque at the top of the ramp, not only at the cruise speed.

Pick the Driver and Supply Voltage

Pick a driver that can give the motor's rated phase current. Set the driver current to that rating. Remember that peak current is 1.414 x the RMS value, so check which one your driver uses.

A higher supply voltage gives more torque at speed. Stay within the limits of both the driver and the motor. Typical supply ranges are 12-48 V for NEMA 17, 24-60 V for NEMA 23 and 36-80 V for NEMA 34. Check the datasheets.

The motor's rated voltage is only a few volts. It is the rated current times the winding resistance. The supply is much higher, and the chopper driver limits the current. See our stepper driver guide.

Last, choose the frame. Start from the frame sizes in our stepper motor sizes guide. A NEMA 17 often fits light axes. A NEMA 23 or NEMA 34 suits heavier ones.

Stepper Motor Calculator

This page does not include an online calculator. You can do the sizing by hand with the table below. An online stepper motor calculator may be added later.

Fill in the right-hand column with your own numbers. The middle column shows the formula. The example column repeats the lead-screw case above.

Step Formula Example Your value
1. Friction force coefficient x mass x 9.81 9.8 N ____
2. Steady force process force + friction 39.8 N ____
3. Steady torque F x lead / (2 x pi x eff.) 0.127 N·m ____
4. Acceleration torque inertia x angular accel. 0.040 N·m ____
5. Total torque step 3 + step 4 0.167 N·m ____
6. Design torque step 5 x 2 0.334 N·m ____
7. Speed in rpm travel speed / lead x 60 750 rpm ____

Then open the datasheet. Find the torque at your rpm on the curve for your supply voltage. It must be above step 6.

Engineer's tip

Do the sum twice, once for the cruise speed and once for the fastest move. Then size for the worse case. Write down every assumption so a colleague can check it.

First Power-Up Checklist

A careful first start saves drivers and motors. Go through this list before you apply full power.

  • Check the wiring against the datasheet. Wire colors vary by maker.

  • Find the coil pairs with a multimeter. Two wires of one coil show a few ohms. Wires of different coils show open circuit.

  • Set the driver current to the motor's rated phase current. Start lower if unsure.

  • Check that the supply voltage is within the driver and motor limits.

  • Unload the motor. Take the belt or screw off for the first test, if you can.

  • Never connect or disconnect the motor while the driver is powered. Voltage spikes can destroy the driver.

  • Make sure the enable pin is in the right state, and the STEP and DIR signals share a common ground.

  • Turn the shaft by hand with power off, then on. It should feel firm when powered.

  • Send slow steps first. Check direction, then raise speed in small stages.

  • Run for ten minutes and feel the motor and driver. Add airflow or a heatsink if the driver is hot.

Troubleshooting Common Problems

Most stepper faults trace back to a small group of causes. Change one thing at a time, and note the result.

Overheating

A stepper motor runs warm by design. A case temperature of 60-90 °C can be normal. Check the insulation class in the datasheet. Class B has a 130 °C winding limit. The case can burn skin, so do not touch it to judge the heat. Use a thermometer.

Likely causes

  • Driver current set too high.

  • No heatsink or airflow on the motor mount or the driver.

  • Motor holds current at standstill for long periods.

  • High duty cycle with a load near the limit.

What to try

  • Set the current to the rated phase value, no higher.

  • Mount the motor to a metal plate and add airflow.

  • Use a driver idle-current reduction setting, if it has one.

  • If load is near the limit, use a larger motor or a closed-loop stepper.

Missed Steps and Stalling

A missed step happens when the rotor does not follow the driver. In open loop, the driver cannot know. The position is then wrong, but step errors do not add up on their own.

Likely causes

  • Load torque too high for the speed.

  • Acceleration too fast.

  • Supply voltage too low.

  • Driver current set too low.

  • Resonance at some speeds.

  • Mechanical binding or a loose coupler.

What to try

  • Lower the acceleration and top speed, then raise them slowly.

  • Raise the supply voltage within limits.

  • Check the current setting against the datasheet.

  • Turn the axis by hand to find tight spots.

  • Re-check torque against the curve at your speed.

Watch out: a motor with no spare torque

If the motor only works at low acceleration, the margin is too small. Do not hide that with slow settings. Re-size or add feedback.

Noise and Vibration

Stepper motor noise comes from the stepping action. The rotor moves in jumps, and each jump can ring the frame. Resonance is shaking at certain speeds, where the step rate matches the natural frequency of the motor and load.

Likely causes

  • Running at a resonant speed.

  • Full-step or half-step mode.

  • Current set too high for the load.

  • Loose or thin mounting that acts like a speaker.

  • A bent shaft or poor coupler alignment.

What to try

  • Turn on microstepping. It smooths motion and cuts noise and resonance.

  • Pass quickly through the resonant speed, or change the speed.

  • Lower the current if the load allows.

  • Mount on a stiff plate. Add a rubber isolator or a flexible coupler.

  • Add a small inertial damper on the shaft if it is allowed.

Motor Does Not Turn

If the shaft does not move at all, check the simple things first. The cause is often power, enable or wiring.

Likely causes

  • No power or wrong supply voltage.

  • The enable pin holds the driver off.

  • A coil wire is open or wired to the wrong pair.

  • Current set to zero or too low.

  • No STEP pulses, or DIR and STEP wired wrong.

  • The load is jammed.

What to try

  • Measure the supply at the driver terminals.

  • Check the enable logic level in the driver manual.

  • Test each coil with a multimeter for a few ohms.

  • Remove the load and try again.

  • Watch the STEP input with a scope or a logic probe.

Our wiring guide shows how to find the coil pairs.

When to Move to Closed-Loop or Servo

Open-loop steppers are simple and low cost, but they have no feedback. Move up when the cost of a missed step is high or the load changes a lot.

  • Try a closed-loop stepper if you need a guard against missed steps at low speed. It adds an encoder and can raise an alert on a stall. It does not add torque.

  • Choose a servo if you need high speed with high torque, fast response or a high duty cycle. A servo is also the better pick for heavy, fast and changing loads.

Size a closed-loop stepper the same way as an open-loop one, since its torque and top speed stay about the same. For the full comparison, read our stepper vs. servo guide.

How Apexwell Can Help

Send us your load, speed and supply voltage. Our engineers can check a motor and driver pair before you order. Browse our stepper motors and stepper drivers.

If a standard model is close but not exact, we can change the shaft, connector or winding. Talk to an engineer.

Frequently Asked Questions

How do I size a stepper motor?

Find the load torque, add friction and acceleration torque, and multiply by a margin of at least 1.5, often 2. Then check that the motor curve shows more than that at your speed and supply voltage.

Why does my stepper motor get so hot?

Case temperatures of 60-90 °C can be normal. If it is hotter, the driver current may be too high, or there may be no airflow. Check the current setting and the insulation class in the datasheet.

Why is my stepper motor so noisy?

The causes are usually resonance, full-step mode, high current or a loose mount. Microstepping, a stiff mount and a lower current often help.

Can I use holding torque to size a motor?

No. Holding torque only applies at standstill. Use the torque at your running speed from the torque-speed curve.

Sources and Further Reading

  • Stepper motor (encyclopedia article); en.wikipedia.org/wiki/Stepper_motor

  • Stepper Motor Drive Circuit Basics, Texas Instruments; ti.com

  • Stepper Motor Basics, Pololu

  • Apexwell motor datasheets and engineering practice

Quick Inquiry