By Tolerance Labs engineering team · Updated
When a joint slows down or lowers a load, its motor acts as a generator and pushes energy back onto the power bus. If nothing absorbs it, the bus voltage climbs until a driver trips, and the robot goes limp at the worst moment.
Where the energy comes from
A motor regenerates whenever its torque opposes its motion, so mechanical power flows into the motor instead of out of it. In a robot that happens in three common cases:
- Decelerating a moving link, which returns its kinetic energy.
- Lowering a load or the body under gravity, which returns potential energy.
- Being pushed: a landing, an impact, or a person moving a backdrivable joint.
The FOC driver’s bridge passes this power to the bus, but not all of it arrives. Copper loss, gearbox friction and driver loss take their share first. At low speed and high torque, copper loss can exceed the mechanical power, and nothing reaches the bus. At high speed with moderate torque, most of it does. Efficient, low-ratio joints return more, since their gearboxes waste less; see backdrivability in robot joints.
Estimating energy per event
Kinetic energy is ½Jω², and the rotor counts too. Seen from the output, rotor inertia is multiplied by the gear ratio squared, so in a high-ratio joint the rotor can hold more energy than the link it drives. Potential energy is mgh.
Worked example: an arm joint with a 50:1 reducer on a 48 V bus makes a fast downward move, lowering its payload, then stops from 6 rad/s.
- Link and payload inertia at the joint: 0.2 kg·m². Energy: ½ × 0.2 × 6² = 3.6 J.
- Rotor inertia: 2 × 10⁻⁴ kg·m², turning at 6 × 50 = 300 rad/s. Energy: ½ × 0.0002 × 300² = 9 J. Reflected to the output, the rotor looks like 0.0002 × 50² = 0.5 kg·m², more than the link.
- Kinetic total: 3.6 + 9 = 12.6 J.
- The same move lowers a 4 kg payload by 0.5 m: 4 × 9.81 × 0.5 ≈ 19.6 J.
- Total: 12.6 + 19.6 = 32.2 J. If about 75% reaches the bus, that is 0.75 × 32.2 ≈ 24 J.
The 75% is an assumption for a quick estimate. The real share depends on speed and losses, and is lower for slow moves. For the whole robot, add the joints that brake at the same time. A legged robot landing from a jump, or an arm stopping every axis at once, returns energy from several joints together.
Why bus capacitors are not enough
Each driver has capacitors across its bus input. Energy in a capacitor is ½CV², so absorbing energy E raises the bus from V1 to V2 = √(V1² + 2E ÷ C). Suppose six drivers give 2,000 µF in total, at 48 V:
- V2 = √(48² + 2 × 24 ÷ 0.002) = √(2,304 + 24,000) = √26,304 ≈ 162 V.
- To keep the bus below 60 V, the capacitors would need C = 2E ÷ (V2² − V1²) = 48 ÷ (3,600 − 2,304) = 48 ÷ 1,296 ≈ 0.037 F, or about 37,000 µF.
Other joints and the computer draw some of the energy as it arrives, so the real rise is smaller. The point holds: a few thousand microfarads cannot absorb a braking event of tens of joules. The energy has to go into a battery, a brake resistor or the motor windings.
Brake resistors and clamps
A brake resistor, also called a shunt or dump resistor, is switched across the bus by a transistor when the voltage passes a threshold, and switched off when it falls back. It turns the excess energy into heat. Some drivers have the switch built in. Otherwise, a separate shunt regulator board sits on the bus.
Size it for peak and average power. Continuing the example, suppose the joint stops in 0.1 s at constant deceleration. Braking power then falls in a straight line from its peak to zero, so the peak is about twice the average.
- Average: 0.75 × 12.6 J ÷ 0.1 s ≈ 95 W. Peak: about 190 W.
- With a switch-on threshold of 57 V, the resistor must draw at least 190 W at 57 V: R ≤ V² ÷ P = 57² ÷ 190 = 3,249 ÷ 190 ≈ 17 Ω. A 10 Ω resistor draws 57² ÷ 10 ≈ 325 W while on, which leaves margin.
- If the 24 J cycle repeats every 4 s, the average is 24 ÷ 4 = 6 W. Choose a resistor rated well above that, with a pulse rating that covers the peak.
Other options exist. Some drivers can burn energy in the motor windings by adding d-axis current while braking, which works for short events but heats the motor. TVS diodes clamp fast spikes but cannot absorb joules repeatedly. Limiting deceleration in the motion planner lowers peak power at the source.
Batteries and power supplies
A battery can absorb returned current, within limits. A bench supply usually cannot.
| Source | Absorbs regen? | Watch for |
|---|---|---|
| Battery, partly charged | Yes | The cells’ charge current limit, usually lower than discharge |
| Battery, full | Barely | Charge current pushes cells above their maximum voltage |
| Battery with a BMS | Depends | The BMS may open its charge switch when full or on charge overcurrent |
| Bench or switching supply | No | The bus rises, and the supply may trip or be damaged |
| Supply that can sink current | Yes, up to its sink rating | Sink rating and response time |
| Supply behind a series diode | No | The diode blocks reverse current, so add a brake resistor on the robot side |
The BMS case catches many teams. A protection board that disconnects charging also disconnects regeneration, so a robot can run well on a half-charged pack and trip its drivers on a full one. Fit a brake resistor even on battery robots that brake hard. Power supplies and batteries for robot joints covers the supply side.
Setting the voltage ladder
Each threshold on the bus must sit above the one below it, with margin for measurement error and transients. An example for a 13-cell, 48 V class bus:
| Level | Example | Why |
|---|---|---|
| Full battery | 54.6 V | 13 × 4.2 V |
| Brake resistor on | About 57 V | Above a full pack, so the resistor does not drain the battery |
| Driver overvoltage trip | About 60 to 65 V | Above the resistor threshold, so the resistor acts first |
| Component ratings | 80 to 100 V | Transistors and capacitors, with headroom for spikes |
These values are illustrative; use your parts’ numbers. When a driver trips on overvoltage, it usually turns off its bridge and the joint goes limp. An arm drops or a leg folds. If the falling joint spins fast enough that its back-EMF exceeds the bus voltage, the transistors’ body diodes still rectify that energy onto the bus, which can trip the next joint. Log bus voltage from the drivers during the hardest stops and landings, or watch it on an oscilloscope, before trusting the ladder. The FOC motor driver guide lists the other protections to check.
Checklist
- List the events that brake: stops, lowering, landings and being pushed.
- Estimate energy per event with ½Jω², including reflected rotor inertia, and mgh. Sum joints that brake together.
- Check the voltage rise against your bus capacitance; expect it to be too high.
- Size a brake resistor for peak power at its threshold and for average power over the cycle.
- Confirm whether your battery and BMS accept charge current when full.
- Set full battery below resistor-on below driver trip below component rating, with margin.
- Measure bus voltage during the worst stops and landings.
Send us your bus voltage and the joints that brake hardest, and we help you check which drivers and options handle the returned energy. Send a request.
More guides
Not sure what fits? Tell us what you're building.
We procure every part of the robot. Send a sentence or a BOM and we come back with options and a landed quote.
Send a request