Troubleshooting
Why a Quadruped Robot Sits Down During a Gait
Short answer
A 12-servo quadruped that walks when suspended but sits down under its own weight is starved for current, not weak: twelve hobby servos can demand 14 to 17 A against a 2 A supply. Fix the 5 V power budget and measure loaded servo voltage before replacing actuators.

On this page
A quadruped that runs its gait cleanly when suspended but sits down the moment its feet carry the chassis is telling you its 5 V rail collapses under load, and the servos are not necessarily too weak. Twelve hobby servos of the MG996R class can demand 14 to 17 A at stall against the 2 A supply in this build, a 7 to 8 times shortfall, and a position servo simply stops holding when its terminal voltage falls below its operating window. Fix the power budget first, measure voltage at the loaded servos, and only then decide whether the actuators themselves are short on torque.
The symptom pattern points at the power rail #
Four observations from this robot, one conclusion:
- Suspended, the gait matches the simulation. Controller, PWM driver, and kinematics are doing their job, so the fault is downstream of the commands.
- Standing still on the floor works. Quasi-static standing keeps joint currents low enough for the supply to hold voltage.
- The collapse starts exactly when the gait runs under body weight. The failure tracks mechanical load.
- A servo commanded to a fixed angle bends by hand. That joint cannot hold torque at the current it is actually receiving.
A stripped gear or a dead joint misbehaves unloaded too; a brownout does not. There is also a reason not to keep testing in this state: a servo held at or near stall cooks its motor and gears, the failure mode behind why a hobby servo robot arm smokes.
Where the current goes #
A position servo draws current roughly in proportion to the torque it produces, and stall, zero speed at full demand, is the ceiling at a given terminal voltage. That ceiling rises with voltage: the commonly quoted MG996R stall figures are about 1.2 A at 5 V and 1.4 A at 6 V. For orientation across classes, published guidance on servo electrical characteristics puts a micro servo at a few hundred milliamps, a standard servo around one amp, and a large one near ten amps.
Two consequences for a 12-joint legged robot:
- The supply has to survive the stall current of every servo that can demand at the same time. That is the published rule for multi-servo rigs, and it is why such rigs are commonly run from supplies in the 20 A class.
- If a datasheet quotes stall torque but not current, a widely used rule of thumb at 6 V is 400 mA plus 10 mA per in/oz of rated stall torque. Invert it, subtracting the 400 mA and dividing by 10 mA per in/oz, to cross-check a quoted current against a quoted torque. It is an estimate, not a rating.
Checks in order, cheapest first #
Work down this list and stop at the first check that fails.
- Read the servo supply's nameplate and its current-limit behavior. A fixed 2 A output against a multi-amp demand explains the whole symptom. Confirming check: the label, plus the next measurement.
- Measure DC voltage at the most heavily loaded servo connector during the failing gait, with a second meter on the supply terminals. Both readings sag together: the supply is at its limit. The servo sags while the supply holds: the distribution is dropping the volts. Confirming check: the two readings taken in the same second.
- Record the rail's peak current with a DC clamp ammeter while the robot walks on the floor. This turns the estimate into a number you can buy against. Confirming check: the recorded peak against the nameplate.
- Inspect the distribution: wire gauge, connectors, any breadboard section, and the servo-power terminal of the PCA9685-class driver board, whose documented limits you read before flowing 15 A through it. Confirming check: the board documentation and an end-to-end resistance measurement.
- Only now audit torque: chassis weight through the leg geometry against each servo's datasheet stall torque at the voltage you measured. Turning a required joint torque into the current it implies is the same calculation as calculating servo motor current from required torque.
Worked example: sizing the 5 V rail for a 3 kg, 12-servo quadruped #
Inputs, each with its source:
- Servo count and class: 12 units of the MG996R type fitted to this robot (the build as reported).
- Stall current: about 1.2 A per servo, or 1.4 A at the 6 V figure (commonly quoted figures for the type, not measurements of these twelve units).
- Present servo supply: 5 V, 2 A (the adapter on the rail).
- Operating window for standard servos: typically 4.8 to 6.0 V (published guidance for the class).
The rule in words: the rail must source servo count times stall current if all joints can demand together, and a supply's capability in watts is voltage times current.
The arithmetic, with the rail voltage from the input list:
- At the lower stall figure: 12 x 1.2 A = 14.4 A, or 72 W at the rail voltage.
- At the higher stall figure, the planning worst case: 12 x 1.4 A = 16.8 A, or 84 W.
- What the present adapter delivers: 10 W.
- Shortfall: 14.4 A / 2 A = 7.2 times, and 16.8 A / 2 A = 8.4 times.
Decision: buy a supply rated 17 to 20 A continuous, 85 to 100 W, which covers all twelve at the higher stall figure with margin. A 12 to 15 A unit will probably run this gait while peaks stay staggered, but it cannot cover the all-joint stall case. Then apply the servo-side threshold: with the new rail in, loaded terminal voltage at the worst joint must stay inside 4.8 to 6.0 V. If it does and the leg still folds, the actuator is genuinely short of torque and replacement is justified. Extra capacity is safe, since a supply does not push its rated current into a load, but voltage above the window can destroy the servo, so leave the rail at the nominal voltage, never above the 6.0 V top of the window.
Rebuild the rail, not just the adapter #
Keep the logic supplies off the servo rail. In this build the controller runs from its own 5.1 V, 2.5 A adapter and the orientation sensor from the controller's 3.3 V output; the new supply feeds servos only. Tie the grounds at one point so the PWM driver and the servos share a signal reference, and never route servo return current through logic ground.
Before connecting 17 A, read the driver board's documentation for the permitted voltage and current on the servo-power terminal, the traces, and the connectors. When the aggregate exceeds those limits, likely at this level, feed the servos from a separate rated distribution point and bring only control signals to the board.
Distribution obeys two quiet formulas: voltage drop is current times resistance, and heat is current squared times resistance. At 15 A, contact and wire resistance that was irrelevant at 2 A decides whether the farthest servo sees the bottom of its window, which is why a solderless breadboard section is not an acceptable high-current path. Verify polarity with the load disconnected and fit branch protection rated for the conductors before first power-on; reversed polarity at these currents destroys the whole rail.
If the robot must run untethered, the battery's capacity and discharge rating for exactly this servo class need their own pass, and sizing MG996R servo power for a 12-servo battery system works that calculation through.
Fix the supply or replace the actuators #
The symptom pattern, correct suspended gait plus load-dependent collapse on a 2 A supply, makes the rail rebuild the first purchase, not actuators. A stronger servo draws more current, so on a starved rail it collapses the same way and you have paid to keep the fault.
| Path | Choose it when | Verify first |
|---|---|---|
| Keep these servos, rebuild the rail | Unloaded gait is correct and loaded voltage sags | Supply 17 to 20 A, rated distribution, loaded voltage in window |
| Higher-torque hobby servos | Loaded voltage holds in window and a measured joint still folds | Torque at operating voltage, the higher stall current the rail must now carry, mounting and travel |
| Integrated smart actuators on a bus | You want per-joint feedback and telemetry in the leg | Torque and thermal limits, bus wiring, supply |
| BLDC motors with reduction | The torque gap is a multiple of the servo's output | Reduction ratio, drive current, feedback |
For the BLDC route, the reduction ratio and drive current follow from sizing BLDC torque and reduction for a robot joint.
The decision for this case: with the gait proven correct in the air, the 2 A supply is the fault until a loaded-voltage measurement says otherwise. Rebuild the rail, re-run the hand test on a commanded joint at correct voltage, and re-run the torque audit with the battery's weight included, since the roughly 3 kg chassis still lacks its pack. Condemn a servo only when it folds with proper voltage at its pins; until then the fix is electrical, and it is the cheaper half of the build.
Questions asked
How do I measure the gait's real current draw before buying a supply?
Clamp a DC ammeter around the servo rail's positive feed and record the peak while the robot runs the failing gait on the floor, then repeat with the chassis suspended. The difference between the two peaks is what body support costs. Buy a supply above the floor-test peak with margin; if the peak approaches the all-servos stall figure, buy to that figure instead.
Will a 5 V 15 A supply run a 12-servo quadruped?
Usually it runs the gait but not the worst case. Twelve servos at the commonly quoted 1.2 A stall want 14.4 A together, and the 6 V figure of 1.4 A puts the planning ceiling at 16.8 A. A 15 A unit holds up while gait peaks stay staggered; when a foot snags and several joints stall at once, expect the supply to current-limit and the robot to drop.
Why does the robot stand still fine but sit down during the gait?
Standing is quasi-static: joint torques settle near steady values and few servos peak at the same instant. A gait accelerates swinging legs while the support legs carry the full chassis, so several servos demand high current in the same fraction of a second, and dynamic torque adds to static holding torque. The demand crosses the supply's limit only during those transitions.
Can I run the servos from a 2-cell lithium pack instead of a 5 V supply?
Not with standard servos. Their typical operating window is 4.8 to 6.0 V, and a 2-cell pack spends most of its discharge above that window, so the servo's electronics and gears see overvoltage. Either choose servos whose datasheet explicitly allows the pack's full voltage range, or regulate the pack down to a 5 to 6 V rail sized for the same aggregate current.
How long can a servo hold the robot's weight once the supply is fixed?
Treat near-stall holding as a fault condition, not a duty cycle. Hobby servo torque figures are momentary stall values, and the motor heats as current squared times resistance while it holds. Plan standing poses so holding current stays well below stall, relieve constant loads mechanically where you can, and treat a case too hot to rest a finger on for a few seconds as a stop signal. That thermal threshold is a rule of thumb, not a rating.
