🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Actuators: Motors, Servos, and Drives

Robotics & MechatronicsHardware and AutomationđŸŸĸ Free Lesson

Actuators: Motors, Servos, and Drives

What You'll Learn

  • 1Write the DC motor voltage and torque equations and read a torque-speed line
  • 2Size a motor and gearbox combination for a stated output torque and speed
  • 3Compute stall current, no-load speed, and PWM duty for a chosen bus voltage
  • 4Convert stepper step angle and microstepping into output angular resolution

A joint that cannot deliver torque at the required speed is a design failure discovered at commissioning, and the motor datasheet already predicts it. Actuator selection is arithmetic: back emf fixes the speed limit, torque constant fixes the current, gearbox trades speed for torque with a loss, and the drive must supply the resulting current without overheating. This lesson derives the torque-speed line from the motor equations and runs a complete selection for a geared joint, then does the same for a stepper-driven axis.

Theory and Foundations

A brushed DC motor is one electrical loop coupled to one magnetic field. The drive applies a voltage, the current produces torque, and the spinning armature generates a back emf that opposes the supply.

At steady state the inductance term vanishes, so speed and current split the supply voltage. Two extreme points then follow immediately: stall, where , and no load, where the current and torque fall toward zero.

Between those points the torque falls linearly with speed, which is the line every drive graph shows.

The drive controls this line by pulse-width modulation: chopping the bus voltage at tens of kilohertz changes the average applied voltage without changing the supply.

A gearbox multiplies torque and divides speed, losing a fixed efficiency along the way, and it is where most robot joints get their torque.

The same ratio rescales inertia seen by the motor, which is why a heavy load behind a high ratio can still be driven by a small rotor.

Steppers move in fixed increments, so resolution comes from the mechanics rather than a feedback setting. A 1.8 deg motor under microstepping and gearing gives

with the microstep divisor and the gear ratio. The price is that torque falls sharply with speed and no encoder catches a missed step, which limits them to low-bandwidth positioning.

Key Formulas

Worked Examples

ActuatorTypical torqueSpeed rangeFeedbackBest fit
Brushed DC with gear0.05 to 5 N mhigh speedencoder optionalsmall joints, mobile bases
BLDC or PMSM servo0.5 to 40 N mwideencoder requiredindustrial robot joints
Stepper with gearbox1 to 3 N m holdlow to midopen looppick heads, screws, axes
Direct-drive torque motor5 to 100 N mlowencoder requiredheavy wrists, gimbal axes
Hydraulic cylinder1 to 20 kNlimitedposition valvehigh-force pressing

Real-World Examples

  • Industrial AC servos - PMSM motors with 4 kHz PWM drives deliver peak torque three to five times rated torque for a few hundred milliseconds, letting a 25 kg payload arm accelerate at 10 m/s2.
  • Strain wave gearing - Harmonic Drive units at 50:1 to 160:1 hold under 1 arcmin of backlash, about 0.017 deg, where sub-0.05 mm robot repeatability comes from.
  • Stepper axes - A 1.8 deg motor at 16 microsteps gives 0.1125 deg per microstep before gearing, plenty for screw feeders where low-speed torque dominates.
  • Safety-rated drives - Safe Torque Off functions to ISO 13849-1 remove power in about 10 ms, and coast distance follows from the reflected inertia of the train.

💡Stall current is a thermal number, not a supply rating

At 24 V and 0.6 ohm a motor draws 40 A at stall; the drive survives that only for a few hundred milliseconds, so verify RMS current over the duty cycle rather than the peak.

Reading the Datasheet Limits in Code

Four constants from the motor page, one function, and the whole envelope appears: stall current sets what the wiring and the drive must survive for a few hundred milliseconds, stall torque pushed through the gearbox sets the emergency holding capability, and no-load speed bounds the fastest move the axis can ever make. Running the arithmetic before parts are ordered is cheaper than discovering at commissioning that the continuous rating sits below the standing torque of the joint, a shortfall no amount of control tuning will fix.

python
def motor_limits(V, R, Kt, Ke, N=1, eta=1.0):
    i_stall = V / R
    tau_stall = Kt * i_stall
    w0 = V / Ke                                  # rad/s at no load
    return i_stall, tau_stall, w0, eta * N * tau_stall, w0 / N

I_s, tau_s, w0, tau_joint, w_out = motor_limits(24, 0.60, 0.045, 0.045, 100, 0.75)
print(round(I_s, 1), round(tau_s, 2), round(w0 * 9.5493, 1),
      round(tau_joint, 1), round(w_out * 9.5493, 1))
# 40.0 1.8 5093.0 135.0 50.9

Writing the PWM Registers in C

The drive answers a voltage command with a duty cycle, and the duty cycle answers with two integer registers, so the quantization of the output is fixed the moment the timer clock and the switching frequency are chosen. A prescaler and an auto-reload value set the period, the compare register sets the pulse width, and the smallest step the actuator can resolve is the bus voltage divided by the number of ticks in a period. Fifty ticks gives 0.48 V per step, which is plenty for a current loop but coarse for a precision linear stage.

#include <stdint.h>

struct pwm_setup { uint16_t psc; uint16_t arr; uint16_t ccr; };

struct pwm_setup pwm_for(double v_cmd, double v_bus,
                         uint32_t f_clk, uint32_t f_pwm) {
    uint32_t tick = f_clk / 1000000u;          /* 1 us time base */
    uint32_t period = (f_clk / tick) / f_pwm;  /* ticks per period */
    double duty = v_cmd / v_bus;
    struct pwm_setup s;
    s.psc = (uint16_t)(tick - 1);
    s.arr = (uint16_t)(period - 1);
    s.ccr = (uint16_t)(duty * period + 0.5);
    return s;
}

/* 84 MHz, 20 kHz, 14.75 V of 24 V  ->  psc 83, arr 49, ccr 31 */

Common Mistakes

Ignoring gear efficiency in torque budgets

Fix: A 100:1 stage at 0.75 efficiency eats 25 percent of the torque, so 0.400 N m at the motor is needed for 30 N m out, not 0.300.

Selecting on stall torque alone

Fix: Stall is a dead-heat condition; continuous torque at the working speed on the torque-speed line is the number that matters.

Assuming microstepping adds precision

Fix: Microstepping divides the commanded step but not the detent accuracy, so resolution numbers must still be checked against holding torque, which falls with microstep count.

Key Takeaways

  • Motor voltage splits as back emf plus IR, and tau equals Kt times I, so the torque-speed line is a straight drop from stall to no load.
  • Gearboxes trade speed for torque: 100 to 1 at 0.75 efficiency turns 0.400 N m into 30 N m and reflects load inertia down by N squared.
  • Stall current equals V over R and is a thermal limit; 24 V on 0.6 ohm means 40 A that only short pulses tolerate.
  • A 1.8 deg stepper at 16 microsteps through 50:1 gives 0.00225 deg per pulse and 0.039 mm at a 1 m tool tip.

Frequently Asked Questions

Why do Kt and Ke have the same numerical value?

They are two faces of one energy conversion. In SI units, power balance between electrical input and mechanical output forces , so a datasheet giving 0.045 N m/A implies 0.045 V s/rad as well.

What actually sets the top speed of a joint?

The bus voltage against the back emf. Speed stops rising when plus the resistive drop equals the supply, which is why doubling the bus voltage roughly doubles the no-load speed.

Why not use steppers everywhere?

Steppers lose torque as speed rises, resonate at certain rates, and cannot detect a lost step without an encoder. They shine at low speed with high holding torque and vanish once the application needs a servo bandwidth above a few hertz.

Interview Questions

Q1: What motor torque is needed for 40 N m at the output of a 100:1 gearbox with 80 percent efficiency?

tau in = 40/(0.80 x 100) = 0.50 N m, and the motor must supply the matching current at the working speed.

Q2: How does a 0.05 kg m2 load look behind a 50:1 gearbox?

Reflected inertia is J over N squared, so 0.05/2500 = 2.0 x 10-5 kg m2 at the rotor, letting a small motor accelerate it quickly.

CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-16

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert Robotics & Mechatronics Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement