A power budget is the engineering document that lets you guarantee, on paper, that your robot will not brown out. The principle: the battery and wiring can only sustain so much current, so you allocate that budget across mechanisms and enforce the allocation in software.
Step 1: Establish the ceiling. WPILib cites ~180A as a reasonable sustainable total current draw on a good battery before voltage sag becomes a brownout risk, and warns that drawing ~240A for more than a second or two is likely to cause problems even with a fresh battery. Your real number depends on battery health and wiring, so treat 180A as a planning figure and verify with measurement.
Step 2: Benchmark each mechanism. Using the PowerDistribution dashboard from the worked-examples module, log getCurrent(channel) for each subsystem while you exercise it. Record realistic numbers, for example:
- Swerve drive (4 drive motors), hard acceleration: hundreds of amps uncapped, the dominant consumer.
- Elevator, lifting under load: 60-80A.
- Intake: 15-25A.
- Shooter spin-up: 40-60A transient. These are illustrative ranges; always measure your own robot.
Step 3: Allocate and cap. Assign a supply current limit to each mechanism so the worst-case simultaneous draw stays under your ceiling. A worked allocation toward a ~180A budget:
- Drive: 4 x 40A supply = 160A worst case (often less because not all four peak together).
- Elevator: 30A supply.
- Intake: 20A. That sums to 210A worst case, which is over budget, so you also add a software interlock.
Step 4: Enforce mutually-exclusive high-draw actions. Do not allow full-speed drive and a max-effort elevator climb at the same instant. In command-based code, you can gate the elevator's available current on drivetrain demand, or simply forbid the combination:
if (drivetrain.isAtHighDemand() && elevator.wantsMaxLift()) {
elevator.setCurrentLimit(15); // throttle the elevator while driving hard
} else {
elevator.setCurrentLimit(30);
}
Step 5: Verify under realistic conditions. Run a full practice match and graph total current and battery voltage. If voltage never sags below ~9-10V under your worst combination and isBrownedOut() stays false, the budget holds. Re-test on a mid-life battery, not just a fresh one, because eliminations happen on tired batteries.
The payoff: a robot designed to a power budget is fast and aggressive within its envelope and simply never browns out, instead of a robot that is fast for one match and unreliable the rest of the day.
Key takeaways
- Plan around a sustainable ceiling (WPILib cites ~180A) and allocate supply current limits per mechanism so worst-case draw stays under it.
- Benchmark each subsystem's real current with the PowerDistribution dashboard before assigning limits.
- Enforce mutually-exclusive high-draw actions in software and verify the budget on a mid-life battery, not just a fresh one.
Keep going
Take the quiz · +10 XP with an accountMore in Advanced Techniques & Case Studies
Sources & corrections
This lesson is AI-assisted: drafted from primary sources, then reviewed and edited by hand. Errors still get through. When one is reported we fix it and write down what changed — publicly, in the corrections log.
Sources and further reading
- WPILib: Understanding Current Draw / Power Budgetdocs.wpilib.org
- CTRE: Improving Performance with Current Limitsv6.docs.ctr-electronics.com
Read next
Articles on this, for competition day
The lesson covers how it works. These cover what to do when it breaks.
- 7 min read
FRC LED Lights: Wiring, Power Budgeting, and the WPILib AddressableLED API
How to wire addressable LEDs off the PDH's switchable channel, budget their current draw, and use WPILib's AddressableLED API to signal robot state.
Read - 16 min read
FRC Elevator and Arm Design: Staging, Rigging, Motors, Gravity, and Safety
A primary-source FRC guide to designing elevators and arms: cascade vs continuous rigging, staging, motor and gear-ratio sizing, gravity math, and safe holding.
Read - 7 min read
FRC Brownout: Why Your Robot Goes Limp and How to Actually Fix It
The exact roboRIO brownout voltage stages, how to spot one in the Driver Station log, and the fixes ranked by payoff: current limits, battery health, gearing, and compressor scheduling.
Read
Lesson quiz
RequiredAll 4 right completes the lesson. Miss one and only that question comes back — anything you already answered correctly stays banked.
0 of 4 answered
01.When establishing the ceiling for a power budget, what sustainable total current figure is commonly used as a planning number?
02.How should you benchmark each mechanism's real current draw before assigning supply limits?
03.When a worst-case allocation sums to more than the budget, what software interlock is recommended?
04.Under what battery conditions should you verify that the power budget actually holds?
Answer every question to submit.
All 35 lessons in Electrical & Wiring
- Not started:Mini-Project 1: A Single-Motor Test Stand from Battery to Spin
- Not started:Mini-Project 2: Current-Limited Drivetrain (CTRE and REV)
- Not started:Mini-Project 3: A Live Power-Monitoring Dashboard
- Not started:Mini-Project 4: A Switchable Channel for Lights and Vision
- Not started:Mini-Project 5: CAN Device Bring-Up with Tuner X and the Hardware Client