Skip to content
Tactiverge

School/△ Builder/Week 14

Battery budgets: peak, average and run time

A robot's motors draw 1.5 A, but only for a tenth of the time. Do you size the battery for 1.5 A, or for something much smaller?

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

Battery choice shapes a whole robot: its weight, size, cost and how long it works. A power budget, a simple table of currents and times, is one of the first documents a robotics team writes.

  • ◇ Convert battery capacity between mAh and Wh.
  • ◇ Compute an average current from a duty cycle and estimate run time.
  • ◇ Explain why both the peak and the average current matter.

Safety: Everything here is a low-voltage simulation. Never experiment with mains electricity or high-current batteries; real circuits are built only under supervision with a small, current-limited low-voltage supply.

2.Discover

In the Electronics Studio, build a low-voltage supply feeding two loads in parallel: a small constant one (like a microcontroller) and a larger one you switch on and off (like a motor). Record the supply current with the big load on and off. Use your two readings and a duty cycle of 10% to work out the average current.

Can't use the interactive? Read a description instead

In the Electronics Studio, a supply feeds a small constant load and a larger switched load in parallel. With the large load off, the supply current is just the small load's; with it on, the two currents add. Weighting the large load by a 10% duty cycle gives the average current, for example 50 mA + 10% of 1500 mA = 200 mA.

3.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

A controller draws a constant 50 mA and a motor draws 1500 mA for 10% of the time. What is the average total current, in mA?

mA

4.Apply it

Write a power budget table for a small simulated robot: controller (50 mA, always on), two sensors (10 mA each, always on), drive motors (1.2 A, 15% of the time) and a buzzer (30 mA, 1% of the time). Calculate the average and peak current, then choose a battery from 1000, 2000 or 5000 mAh for at least 8 hours of running.

5.Understand

Capacity: mAh and Wh

Battery capacity is often quoted in milliamp-hours (mAh): 2000 mAh can supply 2000 mA for 1 hour, or 200 mA for 10 hours, ideally. Energy capacity in Wh = mAh × voltage ÷ 1000. A 2000 mAh, 3.7 V cell holds 7.4 Wh.

Average from a duty cycle

If a load draws a large current only part of the time, the average is current × fraction of time on. A 1.5 A motor running 10% of the time averages 150 mA. Add the constant loads: a 50 mA controller plus that motor averages 200 mA.

Peak still matters

Run time depends on the average, but the battery, wiring and regulator must survive the peak: here 50 + 1500 = 1550 mA. A battery that cannot deliver the peak will sag in voltage and may reset the controller just as the motor starts.

Explain it another way

Your phone battery lasts a day even though the screen and radio occasionally gulp power. What matters for 'how long' is the average; what matters for 'does it crash' is the biggest gulp.

Worked example 1

A sensor node draws 20 mA for 1 second, then sleeps at 0.1 mA for 59 seconds, repeating. What is its average current?

Per minute: 20 mA × 1 s + 0.1 mA × 59 s = 20 + 5.9 = 25.9 mA·s. Divide by 60 s: ≈ 0.43 mA. A 1000 mAh battery would last about 1000 ÷ 0.43 ≈ 2300 hours, roughly three months.

Common mix-ups

  • A battery rated 2000 mAh will always give exactly 2000 mA for an hour.
    ✓ That is an ideal figure. Real capacity is lower at high currents, low temperatures and as batteries age.
  • Only the average current matters.
    ✓ The peak decides whether the battery, wiring and regulator can supply bursts without the voltage collapsing.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2 · a fresh version every time

A robot's 1000 mAh battery feeds an average current of 400 mA. Ignoring losses, roughly how many hours will it run?

h

Practice 3

A 2000 mAh battery has a voltage of 3.7 V. How much energy does it store, in Wh?

Wh

Practice 4

Which number decides whether the battery and wires can cope when the motor starts?

Practice 5 · a fresh version every time

A 47 Ω resistor has 3 V across it. How much power does it dissipate, in watts?

W

7.Predict

A 5000 mAh battery powers a robot whose average current is 200 mA. Roughly how long will it run?

Guess first. Being wrong here is how the surprise works.

8.Reflect

Concepts: Electrical power and energy budgets