Calculators

Servo power budget calculator

Add up the worst moment: the joints that can stall at once draw their full stall current while the rest move at about 30% of it. Rate the supply at least 25% above that peak, at a voltage inside the servos' rated range, and keep the wire drop under 5%.

Ipeak = s × Istall + (N − s) × k × IstallIavg = N × (d × k × Istall + (1 − d) × Iidle)rating = 1.25 × Ipeak, Vdrop = Ipeak × 2L × R

Check the label or datasheet of your servo; numbers vary by batch and supplier. Moving current (30% of stall) and the share of time moving (50%) are assumptions: change them to match your robot.

Supply rating (25% margin)1.25 × 8.64 A10.8 A
Peak current2 × 2.7 A + 4 × 0.3 × 2.7 A8.64 A
Average current6 × (0.5 × 0.81 A + 0.5 × 0.2 A)3.03 A
Stall current at the supply voltageSTS3215, 12 V version: 2.7 A × 12 V ÷ 12 V = 2.7 A2.7 A
Voltage versionSTS3215, 12 V version: 6 to 12.6 VInside the rated range
Wire voltage drop8.64 A × 2 × 1 m × 53 mΩ/m = 0.915 V915 mV (7.63%), over 5%
Thinnest wire for 5% dropDrop ≤ 5% × 12 V = 0.6 V20 AWG
Current in the first chain linkEvery servo's current passes through the first link8.64 A, over the 3 A connector

The wire drops 0.915 V at the peak current, 7.63% of the supply, over the 5% limit. Use 20 AWG or thicker, or a shorter run. The first link of the chain carries the whole chain's 8.64 A, over the 3 A connector rating, so it can run hot. Feed power in at more than one point along the chain (power injection), or wire each servo back to a terminal block.

A stalled motor draws many times its running current. Size the supply, wires and driver for the stall current, fit a fuse, and keep fingers clear of moving parts.

Calculated with ideal parts, not tested hardware. Check ratings, tolerances and heat before you build. Do not use for mains voltage or anything safety critical. Building safely

The circuit, running liveOpen in the playground →

The servos are drawn as one load taking the peak current through the supply lead; the voltmeter reads what reaches them. The supply is ideal here, so a real supply that sags or limits its current gives less.

Worked example

An SO-101 style follower arm: six STS3215 12 V servos on a 12 V supply, two joints stalled at once, the rest moving at 30% of stall, wired as a daisy chain through 1 m of 22 AWG. Each servo stalls at 2.7 A, so the peak is 2 × 2.7 + 4 × 0.3 × 2.7 = 8.64 A and the supply should be rated 1.25 × 8.64 = 10.8 A. Moving half the time, the average is 6 × (0.5 × 0.81 + 0.5 × 0.2) = 3.03 A. The lead (2 × 1 m × 52.96 mΩ/m = 0.106 Ω) drops 0.915 V, 7.6% of 12 V, so use 20 AWG (0.576 V, 4.8%). The first link of the chain carries all 8.64 A, far over a 3 A connector, so feed power in at more than one point.

Questions

Why count stall current?

A servo draws close to its stall current when it starts, pushes against a load or holds a weight it cannot lift. When two or three joints do that together, the supply sags and the servos or the controller reset. That moment, not the average, sets the supply.

Why does a 7.4 V servo report an input voltage error on 12 V?

The STS3215 is sold in a 7.4 V version (rated 4 to 7.4 V) and a 12 V version (6 to 12.6 V) under one name. A 12 V supply is above the 7.4 V version's range. Read the label on the servo before connecting it.

Does an SO-101 setup need two supplies?

It can. The SO-101 README says the leader arm always uses 7.4 V servos, with a 5 V supply, while a 12 V follower needs a 12 V supply of 5 A or more. One setup can need both.

What does daisy chaining change?

In a chain, every servo's current passes through the first link and its connectors, so that link carries the whole arm's peak. Star wiring gives each servo its own lead from a terminal block, so each lead carries one servo. Feeding power in at more than one point along a chain also helps.

How is the stall current at my supply voltage worked out?

In proportion to voltage: a stalled motor's current is set mostly by its winding resistance. For the STS3215 7.4 V version this gives 2.03 A at 6 V against the 2 A its listing gives, within 3%.

What is the idle current?

The current a servo draws while powered and not moving. The figures used here are the no-load currents from the distributor pages, 150 mA for the 7.4 V version and 200 mA for the 12 V version, which is on the safe side for a joint that is holding still.

Sources

Related calculators

More calculators

Want a whole circuit rather than one value? Describe it and the AI designs and simulates it.