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.
the part worth keeping
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.
Electrical & WiringAdvanced Techniques & Case Studieslesson 1 of 5
Keep going
Take the quiz+10 XP with an accountMore in Advanced Techniques & Case Studies
where this came from
Sources and 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, in public, in the corrections log.
sources and further reading
- docs.wpilib.orgWPILib: Understanding Current Draw / Power Budget
- v6.docs.ctr-electronics.comCTRE: Improving Performance with Current Limits
clipped to this lesson
Articles that go further on this
The lesson gets you through the topic. These go wider on it, and they read in one sitting.
- 7 min readFRC LED Lights: Wiring, Power Budgeting, and the WPILib AddressableLED APIHow to wire addressable LEDs off the PDH's switchable channel, budget their current draw, and use WPILib's AddressableLED API to signal robot state./blogread it
- 16 min readFRC Elevator and Arm Design: Staging, Rigging, Motors, Gravity, and SafetyA primary-source FRC guide to designing elevators and arms: cascade vs continuous rigging, staging, motor and gear-ratio sizing, gravity math, and safe holding./blogread it
- 7 min readFRC Brownout: Why Your Robot Goes Limp and How to Actually Fix ItThe 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./blogread it
answer sheet
Lesson quiz
All 4 right completes the lesson. Miss one and only that question comes back, anything you already answered correctly stays banked.
0 of 4 answered
01When establishing the ceiling for a power budget, what sustainable total current figure is commonly used as a planning number?
02How should you benchmark each mechanism's real current draw before assigning supply limits?
03When a worst-case allocation sums to more than the budget, what software interlock is recommended?
04Under what battery conditions should you verify that the power budget actually holds?
Answer every question to submit.
All 35 lessons in Electrical & Wiringopenclose
01 / prerequisites
02 / control-system-components
03 / power-battery-breakers
04 / motor-controllers-can-bus
05 / connections-rules-troubleshooting
06 / worked-examples-mini-projects
- Not read yet:Mini-Project 1: A Single-Motor Test Stand from Battery to Spin
- Not read yet:Mini-Project 2: Current-Limited Drivetrain (CTRE and REV)
- Not read yet:Mini-Project 3: A Live Power-Monitoring Dashboard
- Not read yet:Mini-Project 4: A Switchable Channel for Lights and Vision
- Not read yet:Mini-Project 5: CAN Device Bring-Up with Tuner X and the Hardware Client
07 / common-mistakes-troubleshooting
08 / advanced-techniques-case-studies