Torque, speed and gearing
Read a motor's torque–speed curve, see how a gearbox trades speed for torque, and size a motor and gear ratio for a robot joint with a complete worked example.
Lesson 6 of 6 · 40 min · Self-paced · Free
Strong enough and fast enough
A robot joint has two jobs at once. It must be strong enough to lift and hold its load, and fast enough to finish a motion in reasonable time. An actuator that is too weak sags or stalls; one that is too slow makes the robot useless; one that is oversized wastes money, mass and energy, and the extra mass makes every other joint's job harder. This lesson gives you the tools to size an actuator: torque, the torque–speed curve, gear ratios and a margin for uncertainty.
Torque
Torque is the turning effect of a force. Push on a spanner and the torque on the nut is the force times the perpendicular distance from the nut to where you push:
τ = F × rTorque is measured in newton-metres (N·m). Pushing with 20 N at 0.25 m gives 5 N·m. Pushing at twice the distance with half the force gives the same torque.
For a robot arm the main force is gravity. A mass m weighs m × g newtons (g ≈ 9.81 m/s²), and the torque it creates on a joint depends on how far out horizontally it is. Worst case is when the arm is horizontal, because the full length acts as the lever.
The torque–speed curve
A brushed DC motor cannot deliver its maximum torque and maximum speed at the same time. The relationship is close to a straight line:
- At no load, it spins at its no-load speed but delivers almost no torque.
- Held still, it delivers its stall torque at zero speed.
- In between, speed falls steadily as load torque rises:
speed = no_load_speed × (1 − torque / stall_torque)Mechanical power is torque times angular speed (in radians per second). It is zero at both ends of the line and greatest in the middle, at half the stall torque and half the no-load speed:
P_max = stall_torque × no_load_speed / 4There is a further practical limit. Current, and therefore heat, rises with torque. Running continuously near stall will overheat most small motors. Datasheets often give a rated or continuous torque well below stall torque, and that is the number to respect for loads held for long periods.
Gearing: trading speed for torque
Small motors typically spin at thousands of revolutions per minute (rpm) with a small fraction of a newton-metre of torque. Robot joints need tens of rpm and newton-metres of torque. A gearbox bridges that gap.
A gear ratio N : 1 means the motor turns N times for each turn of the output. Ideally the output turns N times slower and N times stronger, because power in equals power out. Real gears lose some energy to friction, captured by an efficiency η (eta) between 0 and 1:
output speed = motor speed / N
output torque = motor torque × N × ηA 100 : 1 gearbox with 70% efficiency turns 0.05 N·m of motor torque into 0.05 × 100 × 0.7 = 3.5 N·m, and 5000 rpm into 50 rpm.
Gearboxes bring side effects, too. They add backlash, a little free play when the direction reverses, which hurts precision. High ratios multiply friction, and some (such as worm gears) cannot be back-driven, so the joint holds its position with the power off but cannot be pushed out of the way by a person. The motor's own inertia also appears much larger at the output, which affects how quickly the joint can accelerate.
Worked example: sizing a shoulder joint
Here is a full sizing calculation. All motor figures are made up for illustration; real values come from a datasheet.
The task. A small arm's shoulder joint must lift a 0.5 kg payload held 0.30 m from the joint. The arm link itself has a mass of 0.2 kg with its centre of mass 0.15 m from the joint.
Step 1: worst-case static torque. With the arm horizontal:
τ = g × (0.5 × 0.30 + 0.2 × 0.15)
= 9.81 × (0.15 + 0.03)
= 9.81 × 0.18
≈ 1.77 N·mStep 2: add a margin. Moving the arm needs extra torque to accelerate it, the payload might be heavier than planned, and gear efficiency varies. We will require a peak output torque of at least 2 × 1.77 ≈ 3.53 N·m. Choosing that factor of 2 is a judgement call; record it so others can question it.
Step 3: speed requirement. The joint should swing 90° in about a second. Allowing for speeding up and slowing down, we ask for at least 20 rpm at the output while carrying the 1.77 N·m load.
Step 4: the candidate motor (hypothetical): stall torque 0.06 N·m, no-load speed 5000 rpm, gearbox efficiency 70%.
Step 5: try several gear ratios. For each ratio, compute the peak output torque, how hard the motor works to carry the load, and the resulting output speed from the torque–speed line:
g = 9.81
load_torque = g * (0.5 * 0.30 + 0.2 * 0.15) # N·m, static worst case
needed_peak = 2 * load_torque # design margin of 2
stall, no_load_rpm, eff = 0.06, 5000, 0.7 # made-up motor and gearbox
print(f"load torque {load_torque:.2f} N·m, peak needed {needed_peak:.2f} N·m")
for N in [50, 75, 100, 150, 200]:
peak = stall * N * eff
fraction = load_torque / (N * eff) / stall # share of motor stall torque
rpm = no_load_rpm * (1 - fraction) / N if fraction < 1 else 0.0
ok = peak >= needed_peak and rpm >= 20
print(f"N={N:3d} peak {peak:4.2f} N·m motor at {fraction:4.0%} of stall"
f" speed {rpm:4.1f} rpm {'OK' if ok else 'no'}")load torque 1.77 N·m, peak needed 3.53 N·m
N= 50 peak 2.10 N·m motor at 84% of stall speed 15.9 rpm no
N= 75 peak 3.15 N·m motor at 56% of stall speed 29.3 rpm no
N=100 peak 4.20 N·m motor at 42% of stall speed 29.0 rpm OK
N=150 peak 6.30 N·m motor at 28% of stall speed 24.0 rpm OK
N=200 peak 8.40 N·m motor at 21% of stall speed 19.7 rpm noStep 6: interpret. Too low a ratio (50 or 75) cannot provide the peak torque; at 50 : 1 the motor would be working at 84% of stall just to hold the arm up, and would overheat. Too high a ratio (200) is strong but too slow. Both 100 : 1 and 150 : 1 meet the requirements. Notice that the speed is not simply highest at the lowest ratio: at low ratios the motor is so heavily loaded that it slows down on its own torque–speed line.
Between the two, 150 : 1 runs the motor at only 28% of stall, so it draws less current and runs cooler when holding the arm, while 100 : 1 is faster. If the arm will often hold its load still for long periods, 150 : 1 is the safer choice, provided the motor's continuous torque rating supports 28% of stall. That is the sort of check you would now make on the datasheet.
Common mistakes
- Forgetting the link's own mass. Here it added 9.81 × 0.2 kg × 0.15 m ≈ 0.29 N·m, about 17% of the total.
- Using stall torque as if it were usable. Stall is a limit, not an operating point.
- Ignoring efficiency. Gearboxes are never 100% efficient, and high ratios are often less efficient.
- Mixing units. rpm and rad/s differ by a factor of 2π/60; grams and kilograms by 1000.
Recap
Torque is force times lever arm; gravity on a horizontal arm sets the worst static case. A DC motor's speed falls linearly as torque rises, with peak power at half stall torque and half no-load speed. A gear ratio N divides speed by N and multiplies torque by N × η. To size a joint: find the worst-case torque, add a stated margin, set a speed requirement, then test gear ratios against the motor's torque–speed line and its continuous rating.
Project
Calculator or Python project: size an elbow joint
Using the same hypothetical motor (stall torque 0.06 N·m, no-load speed 5000 rpm, gearbox efficiency 70%), size the elbow of the same arm.
The elbow sits 0.15 m from the shoulder, so it carries the payload (0.5 kg) at 0.15 m and a forearm link of 0.1 kg with its centre 0.075 m from the elbow.
- Compute the worst-case static torque at the elbow.
- Apply a margin of 2 and require at least 30 rpm under the static load.
- Test gear ratios of 30, 50, 75 and 100, by hand or by adapting the Python program.
- Recommend a ratio and explain the trade-off you made.
This is a calculation exercise; no hardware is needed.
Deliverables
- The elbow's static torque calculation with units
- A table of peak torque, motor load fraction and output speed for each ratio
- A recommended gear ratio with a short justification
Adult supervision requiredThis is a paper and computer exercise. If you later build a powered joint, work only with adult supervision, use low-voltage supplies, keep fingers clear of gears and moving links, and never hold a motor stalled for long because it can overheat.
Knowledge check
Check your understanding
Go further
- Wikipedia — Gear train ↗
Gear ratios, mechanical advantage and how torque and speed trade off.
Lesson materials · free to download
Sign in to track your progress. Reading is free without an account.