AutomateDirectUSAMotion LibraryShop the parts catalog

Selection guide

Positional Servo or Stepper for a Lightweight Positioning Axis

Servo and stepper motion Published 9 min read

Short answer

Start with a small positional servo: its feedback and position control are built in, so a bounded back-and-forth swing needs only a command signal and a supply. Size it with pivot torque equal to mass times 9.81 times the center-of-mass offset, and demand at least twice that in datasheet stall torque. Go to a NEMA 17 stepper and driver only when the servo cannot hold or reverse the load.

On this page
  1. Which motor should I start with for a head that swings back and forth?
  2. How much torque does the head need at the pivot?
  3. What does stall torque mean on the servo datasheet?
  4. When is the stepper the right call instead?
  5. What parts do I need for each approach?
  6. How do I bench-test the axis before trusting it?
  7. Why does the position drift after a while?
  8. How do I get more turning force without a bigger motor?
  9. Questions asked

For a light part that swings back and forth through a bounded arc — a display head, a sensor bracket, an indicator pointer — start with a small positional servo: its feedback and position control are built in, so the electronics around it reduce to one command signal and a power supply. The decision then rests on a single number, the torque the load creates about the pivot, compared with the stall torque stated in the datasheet of the exact actuator. Go to a NEMA 17 stepper with its own driver only when the servo cannot hold or reverse the load, or when the axis needs continuous rotation. The arithmetic, the rating definitions, the parts list for each route and the bench procedure that proves the choice follow.

Which motor should I start with for a head that swings back and forth? #

Start with a small positional servo: it contains its own feedback and position control, so a bounded swing of roughly 90 to 180 degrees needs only a command signal and a power supply, and it needs the least hardware to prove the motion.

A positional servo is an angle-following device: it reads one commanded angle, drives its output shaft to that angle and holds it against disturbance, using feedback built into the case. Its travel is bounded by an internal stop, commonly around half a turn. A stepper is an increment follower: it turns a fixed step for every pulse a driver passes it, knows nothing about absolute angles, and needs a controller to generate the pulse train, a driver between controller and motor, and a homing move if the axis must recover its position after power-up.

For slow looking-around motion of a light head, that stack buys nothing the servo does not already do, and it is more wiring to debug. The conductor count tells the story: three wires for the servo, against a motor cable, driver logic, driver supply and limit wiring for the stepper.

How much torque does the head need at the pivot? #

Multiply the head mass by 9.81 m/s² and by the perpendicular offset from pivot to center of mass: a 0.30 kg head whose center of mass sits 60 mm from the pivot demands 0.18 N·m, about 1.8 kgf·cm, to hold horizontal, and that number decides the actuator.

Calculated example, using those illustrative inputs:

  • Mass m = 0.30 kg, offset r = 0.060 m, g = 9.81 m/s²
  • Gravity torque: τ = m · g · r = 0.30 × 9.81 × 0.060 = 0.18 N·m
  • In datasheet units, kgf·cm is simply mass × offset in cm: 0.30 × 6.0 = 1.8 kgf·cm, about 25 oz·in

The horizontal position is the worst case; with the arm upright the offset lines up with gravity and the term falls to zero.

Friction check: with the actuator detached, the head should swing from a light fingertip push at 60 mm. If it takes a deliberate pull, fix the pivot before sizing any motor.

Acceleration, same example: model the head as a point mass at its center of mass, so I = m · r² = 0.30 × (0.060)² = 0.0011 kg·m². A 90° sweep (1.57 rad) in 1.0 s on a triangular speed profile peaks at α = 4θ/T² = 6.3 rad/s², giving τ = I · α = 0.0011 × 6.3 = 0.007 N·m, under 4 percent of the gravity term. At looking-around speeds gravity and friction dominate; acceleration overtakes them only as you shorten the sweep time, because that term grows with 1/T². The acceleration side of sizing is worked in calculating servo axis acceleration for torque sizing, and the same pivot arithmetic on a tilt axis appears in how much load a mini servo can actually carry on a tilt axis.

Decision, as a rule of thumb rather than a measured limit: require a datasheet stall torque, at the supply voltage you will run, of at least twice the calculated hold torque — here 0.36 N·m (3.6 kgf·cm). The margin covers friction, reversals and the sag in real torque under load. If the axis parks horizontal for long stretches, counterbalance it rather than buy a bigger actuator.

What does stall torque mean on the servo datasheet? #

Stall torque is the torque the servo produces at zero output speed — the load at which the shaft stops turning — and it is the figure you compare with the calculated pivot torque, taken at the supply voltage you will actually run.

The number is stated at a specific supply voltage, and a given datasheet lists one figure per allowed voltage, the higher voltage giving the higher figure. Read which kind of limit the word marks: some datasheets treat stall torque as a momentary maximum, others use it for the maximum continuous torque. The sheet for your exact part is the authority, and the two readings can differ enough to change the selection.

Operationally, a servo held at stall draws its maximum current and turns most of it into heat, so an axis parked under load with no margin cooks a small servo slowly. That thermal reality, as much as reversal loads, is why the sizing rule above demands a 2:1 margin instead of a few percent.

When is the stepper the right call instead? #

Switch to a NEMA 17 stepper and driver when the servo cannot hold the head with margin, when the axis must turn continuously or past the servo's travel stop, or when it must hold torque at standstill for long periods — a stepper is rated for exactly that state.

NEMA 17 names a 1.7 in (43 mm) square faceplate, the usual small frame for this class of axis. Its standstill rating is holding torque: the torque the energized motor resists at zero speed with rated winding current, and sitting energized at standstill is a normal state for a stepper, set by the current configured on its driver. What the servo buys with integrated feedback, the stepper gives back in standstill torque and unlimited travel.

Two costs come with it. Torque falls as speed rises, so check the motor's torque-speed curve at your peak sweep rate, not just the holding figure. And the axis is open-loop: asking for more torque than the motor has at that speed loses steps silently. If your question is really torque margin across a duty cycle rather than one worst-case hold, stepper versus servo motor selection by torque and duty works that comparison.

What parts do I need for each approach? #

The servo route needs the actuator, a controller output that sends its position command, and a supply sized to the servo's stall current; the stepper route adds a driver between controller and motor and, if position after power-up matters, a homing sensor.

Route What surrounds the motor Where it fits
Small positional servo Controller command output, supply sized to stall current, horn or linkage to the head Bounded swing of about half a turn, light pivot torque, feedback inside the case
Larger positional servo Same, with a bigger supply Same bounded swing with more torque margin, still no extra electronics
NEMA 17 stepper plus driver Driver, controller pulse source, supply per driver rating, homing sensor if needed Continuous rotation, indexed moves, long standstill holds, more torque for the size

On the stepper route the motor usually drives the head through a separate pivot shaft; join the two with a flexible coupling so a little shaft misalignment does not bind the pivot. On the servo route, remember that the command line is a signal, not a power path: route actuator power from the supply and join the grounds.

How do I bench-test the axis before trusting it? #

Prove the swing in five steps: free the pivot by hand, run the actuator unloaded, attach the head at reduced range and slow speed, widen the sweep, then run the full back-and-forth duty for an hour while watching case temperature and supply voltage.

Cut power before your fingers go near the linkage: a positional servo drives toward its commanded angle the instant it sees power and does not know your hand is in the way. On a machine that will run, the swing gets a guard decided by that machine's risk assessment.

  1. Power off, then move the assembled head through its intended range by hand; it should swing freely with no binding and no rock at the ends.
  2. Run the actuator alone; command a small move and confirm direction, endpoints and response to a mid-range command.
  3. Attach the head, command about ±20° at slow speed, and listen: buzzing at this stage means the torque budget is thin.
  4. Widen to the full range and add a short dwell at each end so the head settles instead of ringing on reversal.
  5. Run the intended duty for an hour. A case you cannot rest a finger on for a few seconds is roughly 60 °C — a rule of thumb, and your signal to add margin or counterbalance.

Why does the position drift after a while? #

A stepper that loses steps stops where the load left it while the controller keeps counting, so commanded and actual angles diverge until you re-home; a servo under the same overload instead buzzes, heats and finally stalls, but never misreports its position.

For the stepper, check the cheap causes first. Run the same sweep at half speed: if it now holds position, the load exceeded the torque available at the original speed, so slow the profile or add margin. If it still loses steps unloaded, halve the acceleration; if it is clean then, the reversals were too abrupt. Last, confirm the driver's configured current matches the motor's rated current — a deliberately low setting is quiet torque theft. If absolute angle matters after any power loss, add the homing switch rather than trusting the count, and read does an encoder make a stepper motor closed loop before assuming an encoder alone fixes it.

For the servo, buzzing near the horizontal position plus a hot case is the signature of working near stall. Reduce the load, counterbalance the head, or move up one torque class; a servo left buzzing also chews its gear train.

How do I get more turning force without a bigger motor? #

Move the load closer to the pivot or trade speed for torque: torque is force times distance, so halving the offset halves the demand, and a 2:1 gear or linkage doubles output torque at half the speed while adding a little backlash.

Four levers, cheapest first. Shorten the arm so the head sits nearer the pivot — for the example above, a 40 mm offset drops the demand from 0.18 N·m to 0.12 N·m. Counterbalance the head with mass on the opposite side until the center of mass sits on the pivot axis; gravity torque then approaches zero and hold current with it, which is the single best fix for an axis that parks. Add a linkage or gear ratio when the swing must stay slow anyway, accepting the backlash. Only then buy the bigger actuator.

The decisions, then: calculated demand at or below half the servo's datasheet stall torque — build the servo axis. Demand above that even after shortening and counterbalancing — NEMA 17 and driver. Continuous or unbounded rotation — stepper. Long parked holds under load — counterbalanced servo, or the stepper.

Questions asked

Can I power the servo from the controller board's 5 V pin?

No. Size the supply on the servo's stall current from its datasheet, which is several times its moving current. A stall or hard reversal fed through a shared logic pin browns out the controller and resets it mid-move. Feed the servo from its own supply, join that supply's ground and the controller ground at one point, and leave the command line as the only connection to the board.

Why does the servo buzz when the head is horizontal but stay quiet upright?

Gravity torque is mass times offset times the sine of the angle from vertical: zero when the center of mass sits directly above or below the pivot, maximum when the arm is horizontal. Buzzing near horizontal means the servo is working close to its torque limit there. Counterbalance the head so the center of mass lands on the pivot axis, shorten the offset, or move to a higher-torque servo.

How many steps does a NEMA 17 stepper need per degree?

Take the step angle from the motor datasheet first. A common 1.8 degree stepper gives 200 full steps per revolution; with sixteenth microstepping that becomes 3200 microsteps per revolution, or about 8.9 microsteps per degree. Your controller's commanded count must use the same microstep setting the driver is configured for, or every commanded angle scales off by the ratio between them.

Does the axis need a homing move at startup?

A positional servo does not: its internal feedback reports the shaft angle the moment it is powered, anywhere inside its travel. A stepper does, if anything downstream cares about absolute angle, because it only counts pulses from wherever it woke up. Fit a homing switch and drive the axis onto it once at power-up to re-zero the count.

Is a continuous-rotation servo the same as a positional servo?

No. A continuous-rotation servo turns the position command into a speed command: mid-range means stop, each side of mid-range means spin that way, and it neither holds nor reports an angle. For a bounded looking-around swing you want the standard positional type; the continuous type only earns its place on an axis that spins indefinitely, where a stepper is usually the stronger choice anyway.

Keep reading

  • Explainer

    Servo Positioning Resolution Versus Stepper Step Angle Explained

    A 0.018° move needs 360 ÷ 0.018 = 20,000 usable feedback counts per revolution, which come from the encoder and the drive's decoding and scaling, not from the servo label. Matching 3,000 command pulses per revolution on a stepper and a servo only matches command scaling; short-time overload capacity and high-speed performance still differ.

    Servo and stepper motion

  • Selection guide

    Choosing Servo or Stepper for a 1% Speed Regulation Pinch Wheel

    Pick the servo: behind a 45:1 planetary reducer, a velocity-mode servo meets a 1% wheel-speed tolerance with margin, because 200-300 lb-in at 80 rpm needs only 4.9-7.4 lb-in at the motor and the loop corrects load-induced error. A stepper qualifies only when its torque-speed curve clears the load with margin at the required motor speed and a measured ripple test holds the wheel inside 0.8 rpm.

    Servo and stepper motion

  • Comparison

    Servo or Stepper for Fast Start-Stop Feed Rollers

    At 28 in feeds and 100 bags/min, a 2 in roller peaks near 1,337 RPM with about 1,400 rad/s² of angular acceleration; through the 5:3 belt drive the motor sees about 2,230 RPM. That is deep in the torque cliff where a hybrid stepper keeps only a fraction of its low-speed torque and loses steps silently, so this machine takes a servo.

    Servo and stepper motion