TactivergeLite

Lite / Engineering Complex Systems / 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 · Full interactive version

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.

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?

  1. A (it's faster)
  2. B: 2 J against A's 3 J
  3. They are equal
  4. Impossible to tell
Guess first, then reveal

Energy = power × time: A uses 3 J, B uses 2 J. B is slower but more efficient per operation. If sleeping cost something, or if the rest of the system (radio, sensors) stayed awake while waiting, the answer could flip.

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.

What the interactive shows (text version)

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.

You can also open the interactive on the full site when you have a faster connection.

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

Intuitive

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.

Technical

E_op = P/(f·IPC·N). E_job = E_op·N_ops + P_static·T + E_transitions. Figures of merit: pJ/op, ops/J (TOPS/W for accelerators), energy-delay product E·T when both matter.

Mathematical

With leakage: E_op = α·C·V² + P_leak/(f·IPC). Lowering f to save dynamic energy raises the leakage share per operation; the minimum-energy point is where d(E_op)/dV = 0.

Applied

Earth-observation satellites process images on board and downlink only results, because the energy to transmit raw data can exceed the energy to compute a summary.

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

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

pJ

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?

pJ

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.

Reflect

Where in a device you use every day might 'race to idle' be happening without you noticing?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Power, performance, area: the chip designer's trianglePower, mass and data budgets with margins →