Skip to content
Tactiverge

School/□ Systems Engineer/Week 31

Energy per operation: the number that decides battery life

Chip A is twice as fast as chip B but draws three times the power. Which one empties a rover's battery first doing the same job?

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

Power is a rate; batteries hold energy. For a fixed amount of work, what drains the battery is joules per operation times the number of operations, plus whatever the chip burns while waiting. This one number lets you compare a microcontroller, a phone chip and a custom accelerator fairly.

  • ◇ Compute energy per operation from power and throughput, in picojoules.
  • ◇ Compare processors for a fixed job by total energy rather than power or speed alone.
  • ◇ Explain 'race to idle' and when sleeping fast beats running slow.

2.Discover

In Silicon Studio, compare a ripple-carry adder with a wider or parallel design: note the gate count (a proxy for area and switched capacitance) and the longest path (which sets the maximum clock). Estimate which uses less energy per addition and which finishes a batch of additions sooner.

Can't use the interactive? Read a description instead

In Silicon Studio the learner compares adder designs by gate count (a stand-in for area and switched capacitance) and longest path (which limits the clock). Fewer gates switching means less energy per addition; a shorter path means more additions per second. The lesson's worked numbers show energy per operation is power divided by operations per second.

3.Checkpoint: guided practice

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

Practice 1 · a fresh version every time

A processor draws 1.5 W while running at 48 MHz and completing 4 operations per clock cycle. What is the energy per operation, in picojoules (pJ)? (3 significant figures.)

pJ

4.Apply it

For the planetary rover, compare two hypothetical computers for a 10⁹-operation image-processing job: 0.5 W at 200 MOPS and 3 W at 3 GOPS, with 6 W of other systems awake while computing. Which saves more of the night reserve? State your assumptions.

5.Understand

The unit that matters

Energy per operation = power ÷ operations per second. A 0.3 W microcontroller doing 100 million operations a second spends 3 nJ per operation; a 12 W accelerator doing 2 trillion spends 6 pJ. For the same job, the accelerator uses 500 times less energy, even though it draws 40 times more power.

System energy, not chip energy

While the processor works, other parts stay awake: memory, sensors, voltage regulators, the radio. If they draw 2 W regardless, a slow chip keeps them awake longer. Total job energy = (P_chip + P_rest) × time + sleep energy. This is why 'race to idle' (finish fast, then put everything to sleep) often wins in real systems.

Memory moves cost more than maths

On modern chips, fetching a number from off-chip memory can cost hundreds of times the energy of adding it. Energy-efficient designs keep data close: small local memories, data reuse, fewer transfers. This is a hardware–software co-design question: the algorithm's data movement decides the energy.

Duty cycling

Many sensors spend 99% of their life asleep. Average power = d·P_active + (1 − d)·P_sleep. At low duty cycles the sleep current dominates: a 10 mW sleep draw can matter more than a 2 W active draw at 0.1% duty. Battery life = energy capacity ÷ average power.

Explain it another way

A sprinter and a walker both cross a room. The sprinter burns more per second but less overall if the walk takes long enough, and the lights stay on while the walker dawdles.

Worked example 1

A sensor node: 20 Wh battery, active 2% of the time at 1.2 W, asleep otherwise at 5 mW. Battery life?

P_avg = 0.02 × 1.2 + 0.98 × 0.005 = 0.024 + 0.0049 = 0.0289 W. Life = 20/0.0289 ≈ 692 h ≈ 29 days. Sleep is 17% of the average: worth optimising too.

Common mix-ups

  • The lowest-power chip always gives the longest battery life.
    ✓ Battery life depends on energy for the job, including everything kept awake while it runs, and on sleep power.
  • Computation is what costs energy.
    ✓ Moving data, especially off-chip, often costs far more energy than the arithmetic itself.

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 field sensor has a 5 Wh battery. It is active 1% of the time drawing 4.5 W, and asleep the rest of the time drawing 1 mW. Ignoring battery ageing and temperature, how many hours does the battery last? (3 significant figures.)

h

Practice 3

While the processor works, the rover's radio and sensors must stay on, drawing 4 W. Chip A: 2 W for 1 s. Chip B: 0.5 W for 3 s. Which uses less total energy?

Practice 4

An accelerator delivers 4 × 10¹² operations per second at 8 W. What is its energy per operation, in pJ?

pJ

7.Predict

Chip A: 3 W, finishes a job in 1 s. Chip B: 1 W, finishes in 2 s. Both sleep at 0 W afterwards. Which uses less energy for the job?

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

8.Reflect

Concepts: Power, performance and area (PPA) trade-offs · Electrical power and energy budgets