TactivergeLite

Lite / Engineering Complex Systems / Week 23

Where a chip's power goes

Halve a processor's supply voltage and its switching power drops by three quarters. Why the square?

About 35 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Battery life, fan noise and data-centre electricity bills are all set by CMOS power. Every phone constantly adjusts its voltage and clock using exactly the formula you derive here.

Predict

A chip's clock frequency is doubled with nothing else changed. What happens to its dynamic power?

  1. Stays the same
  2. Doubles
  3. Quadruples
  4. Halves
Guess first, then reveal

Dynamic power is proportional to f: twice as many charge-and-discharge cycles per second means twice the power. Voltage, by contrast, enters squared.

Discover

In the Silicon Studio, pick a small logic block and look at how many nodes switch per clock. Estimate α (the fraction switching each cycle) for an idle input and for a busy one, then use P = αCV²f to compare their power.

What the interactive shows (text version)

The silicon activity compares an idle input, where few nodes switch (small α), with a busy one where many do (large α). Power from αCV²f scales directly with α and f and with the square of V.

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

Watch (optional)

Watch for: Notice the scale: billions of transistors, each with tiny capacitance. Multiply that by gigahertz and you get watts.

Detailed animations of how billions of doped-silicon transistors are patterned onto a chip, layer by layer.

“How are Microchips Made? 🖥️🛠️ CPU Manufacturing Process Steps” by Branch Education (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

Understand

Static and dynamic

Static power is leakage: P_static = V·I_leak, small per transistor but significant with billions of them and rising with temperature. Dynamic power is the cost of switching: P ≈ αCV²f. In most busy logic, dynamic power dominates.

The four knobs

Lower α by not switching what you don't need (clock gating). Lower C with smaller transistors and shorter wires. Lower f when there is less work. Lower V for the biggest win, because it is squared, but transistors switch more slowly at low voltage, so f must fall too.

Voltage and frequency scaling

Since lower V forces lower f, reducing both together cuts power roughly with V³ while performance falls only with f. Phones run in a ladder of (V, f) operating points and jump between them many times per second. Energy per operation, CV², falls with V²: slow-and-low is efficient.

Explain it another way

Intuitive

Every time a wire flips from 0 to 1 and back, you fill and empty a tiny bucket of charge. Bigger buckets, more flips, or a higher water level (voltage) all cost more.

Technical

Short-circuit current during transitions adds a few percent. Leakage grows as threshold voltage is lowered, which limits how far V can be reduced.

Mathematical

P = αCV²f. With α = 0.1, C = 1 nF, V = 1 V, f = 1 GHz: P = 0.1 × 10⁻⁹ × 1 × 10⁹ = 0.1 W. At V = 0.8 V: × 0.64 = 0.064 W.

Applied

A laptop throttling under heat lowers f and V together; a smartwatch processor spends most of its time at its lowest operating point, waking briefly at a higher one when you tap the screen.

Derivation: Dynamic power P ≈ αCV²f
  1. A gate's output drives a load capacitance C. Charging it from 0 to V through the pMOS draws charge Q = CV from the supply at voltage V: energy taken = QV = CV².

  2. Half of that, ½CV², ends up stored on the capacitor; the other half is lost as heat in the pMOS.

  3. Discharging through the nMOS dumps the stored ½CV² as heat. So one full 0 → 1 → 0 cycle costs CV² from the supply.

  4. If the node completes such a cycle on a fraction α of clock cycles (the activity factor), at clock frequency f, cycles per second = αf.

  5. Power = energy per cycle × cycles per second: P = αCV²f. Summed over all nodes, C is the total switched capacitance.

Worked example 1

A block has C = 2 nF switched capacitance, α = 0.15, V = 1.2 V, f = 500 MHz. Find P, then P at 0.9 V and 375 MHz.

P = 0.15 × 2×10⁻⁹ × 1.44 × 5×10⁸ = 0.216 W. New: 0.15 × 2×10⁻⁹ × 0.81 × 3.75×10⁸ ≈ 0.091 W, a 58 % cut for a 25 % slowdown.

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.

W

Practice 2. Halving V (with α, C, f unchanged) changes dynamic power by a factor of…

W

Practice 4. Clock gating switches off the clock to idle blocks. Which term does it reduce?

pJ

Apply it

A sensor node runs at 1.2 V, 48 MHz, using 20 mW when busy. Estimate its power at 0.9 V and 24 MHz. If the task takes 10 ms at full speed, compare the energy per task at both operating points.

Reflect

Why can't chip designers just keep lowering V for ever?

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

← Building gates from switchesSpecifying a state machine →