---
title: Power distribution networks
heading: Keeping a chip's supply steady when its current jumps, with a target impedance and a ladder of capacitors
eyebrow: C10 · Lesson 20 · Power distribution networks
xp: 40
---

::: hook
Lesson 19 kept signals clean. The supply they run on needs the same care: a processor core at 1 V may jump from 5 A to 15 A in a few nanoseconds when a block wakes up, and its voltage must stay within a few percent. Seen from the chip, the regulator, the board's planes, the capacitors and the package form one impedance, and Ohm's law says the voltage dip is that impedance times the current step. Power-integrity engineering sets a **target impedance** and keeps the network under it from DC to hundreds of megahertz, and the obstacle turns out to be inductance, not capacitance.
:::

::: play
- The impedance of a decoupling capacitor, 100 nF with 0.5 nH of mounting inductance (ESL) and 10 mΩ of resistance, against frequency, and of $N$ of them in parallel. The dashed line is the target impedance.
- Below its self-resonance the capacitor looks capacitive; above it, purely inductive, and more capacitance doesn't help. Only more capacitors in parallel, or less inductance per capacitor, lower the curve there.
:::

```sim plot
view: graph
x: f = 1e5..1e9 log
y: Z = 1e-4..10 log
slider: N = 1..100 step 1 = 10
slider: Zt = 1..20 step 1 = 3
plot: sqrt(0.01^2 + (2*pi*f*0.5e-9 - 1/(2*pi*f*100e-9))^2)/N | samples: 1500 | label: N capacitors, Ω
plot: Zt*1e-3 + 0*f | dashed | color: ch2 | label: target, Ω
readout: self-resonance in MHz = 1/(2*pi*sqrt(0.5e-9*100e-9))/1e6
readout: impedance of N at 100 MHz, mΩ = sqrt(0.01^2 + (2*pi*1e8*0.5e-9 - 1/(2*pi*1e8*100e-9))^2)/N*1e3
```

::: predict
## A 1.0 V core may sag by 3% when its current jumps by 10 A. What impedance must the supply network stay below?

- [ ] 30 mΩ
- [x] 3 mΩ
- [ ] 0.3 mΩ
- [ ] 100 mΩ

::: reveal
$Z_t = \Delta V/\Delta I = 0.03/10$ = 3 mΩ. The network must look like 3 milliohms or less at every frequency the current step contains, from the regulator's slow response up to the hundreds of megahertz of a nanosecond edge. A single decoupling capacitor at 100 MHz is about 300 mΩ, a hundred times too much.
:::
:::

::: nameit
## The target impedance

$$Z_t = \frac{V_{DD} \times \text{allowed ripple}}{\Delta I}$$

Below the regulator's loop bandwidth (tens to hundreds of kilohertz), the regulator holds the voltage. Above it, the bulk capacitors, then the ceramic decoupling capacitors, then the board's planes, the package and finally the capacitance on the die itself must each keep $|Z|$ under $Z_t$ in their own band.

## A real capacitor

A capacitor in a circuit is a series RLC: its capacitance $C$, its equivalent series resistance (ESR) and its equivalent series inductance (ESL), most of which comes from its pads, vias and the current loop to the planes. Its impedance

$$|Z| = \sqrt{\text{ESR}^2 + \left(\omega\,\text{ESL} - \frac{1}{\omega C}\right)^2}$$

falls to ESR at the self-resonant frequency $1/(2\pi\sqrt{\text{ESL}\cdot C})$ and rises as $\omega\,\text{ESL}$ above it. Above resonance, the capacitance value is irrelevant: a 1 µF and a 10 nF part with the same mounting have the same impedance.

## Many capacitors

$N$ identical capacitors in parallel divide the impedance by $N$. Capacitors of different values in parallel create **anti-resonances**, peaks where one is inductive and the other still capacitive; spreading values over each decade and keeping ESR from being too low damps them.

## Planes and beyond

A pair of power and ground planes is a capacitor with very little inductance: $C = \varepsilon_r\varepsilon_0A/d$. Thin dielectrics give more. Above a few hundred megahertz even the planes' spreading inductance and the package's leads are too much, and the chip relies on its own on-die capacitance. Each stage of the network covers the band where the previous one has become inductive.
:::

::: example
## Find the self-resonance of a 100 nF capacitor with 0.5 nH ESL and 10 mΩ ESR, its impedance at 100 MHz, and how many are needed in parallel to meet 3 mΩ there.

::: solution
1. **Self-resonance.**
   $$\begin{aligned} f_0 &= \frac{1}{2\pi\sqrt{0.5\ \text{nH} \times 100\ \text{nF}}} \\ &= 22.5\ \text{MHz} \end{aligned}$$
2. **Reactances at 100 MHz.**
   $$\omega\,\text{ESL} = 0.314\ \Omega, \quad \frac{1}{\omega C} = 0.016\ \Omega$$
3. **Impedance.** They cancel in part, leaving 0.298 Ω of net reactance:
   $$\begin{aligned} |Z| &= \sqrt{0.01^2 + 0.298^2}\ \Omega \\ &= 0.298\ \Omega \end{aligned}$$
4. **How many for 3 mΩ.** Meeting 3 mΩ would take about 100 of them, impossible to place close to a chip.
5. **The practical fix.** Lower the inductance per capacitor (better pads and vias, small or reverse-geometry parts) and leave the highest frequencies to the package and die.

**Answer:** it resonates at 22.5 MHz, its impedance at 100 MHz is 0.298 Ω, and about 100 would be needed in parallel.
:::
:::

::: example
## A board has a power-ground plane pair 10 cm × 10 cm with 100 µm of FR-4 ($\varepsilon_r$ = 4.3) between them. What capacitance does it add?

::: solution
1. **Parallel-plate capacitance.**
   $$\begin{aligned} C &= \frac{4.3 \times 8.854 \times 10^{-12} \times 0.01}{100 \times 10^{-6}}\ \text{F} \\ &= 3.8\ \text{nF} \end{aligned}$$
2. **Why it matters anyway.** That's small compared with the discrete capacitors, but its inductance is far lower, so it's the plane pair that carries the current at a few hundred megahertz.
3. **Thinner dielectrics.** Thinner dielectrics, down to a few micrometers in special laminates, raise it proportionally.

**Answer:** the plane pair adds 3.8 nF.
:::
:::

::: example
## A 0.9 V FPGA rail allows ±5% ripple and sees transient steps of 4 A. Its regulator is good to 100 kHz. Bulk capacitors of 470 µF with 5 mΩ ESR each cover the next band. How many are needed for the target impedance at 100 kHz?

::: solution
1. **Target impedance.**
   $$\begin{aligned} Z_t &= \frac{0.9 \times 0.05}{4}\ \Omega \\ &= 11.25\ \text{m}\Omega \end{aligned}$$
2. **One capacitor at 100 kHz.** It has $1/\omega C$ = 3.39 mΩ of reactance and 5 mΩ of ESR:
   $$\begin{aligned} |Z| &= \sqrt{5^2 + 3.39^2}\ \text{m}\Omega \\ &= 6.0\ \text{m}\Omega \end{aligned}$$
   ignoring its ESL, which matters little at 100 kHz.
3. **How many.** One meets the target; two give margin for tolerance and aging, which is how designers usually leave it.

**Answer:** one capacitor meets the 11.25 mΩ target; designers usually fit two for margin.
:::
:::

::: check
given: V = 0.8 | 1 | 1.8 | 3.3; r = 2 | 3 | 5; I = 2 | 10 | 30
answer: V*r/100/I*1e3
unit: mΩ
tolerance: 0.5%

## A {V} V rail may vary by {r}% when its current steps by {I} A. What's its target impedance?

::: right
Right. $Z_t = V \times r/\Delta I$ = {answer}.
:::

::: misses
- [V*r/I*1e3] The ripple is {r}%, a fraction of the rail.
- [V/I*1e3] Multiply by the allowed fraction.
- [any] Not yet. Allowed voltage change over the current step.
:::
:::

::: check
given: C = 10 | 100 | 1000; L = 0.3 | 0.5 | 1
answer: 1/(2*pi*sqrt(L*1e-9*C*1e-9))/1e6
unit: MHz
tolerance: 0.5%

## A {C} nF decoupling capacitor has {L} nH of ESL. Where does it self-resonate?

::: right
Right. $1/(2\pi\sqrt{LC})$ = {answer}.
:::

::: misses
- [1/sqrt(L*1e-9*C*1e-9)/1e6] That's the angular frequency; divide by $2\pi$.
- [any] Not yet. $f_0 = 1/(2\pi\sqrt{\text{ESL}\cdot C})$.
:::
:::

::: check
given: L = 0.3 | 0.5 | 1; f = 100 | 300 | 1000; Zt = 2 | 5 | 10
answer: ceil(2*pi*f*1e6*L*1e-9/(Zt*1e-3))
tolerance: 0.1%

## Well above self-resonance a capacitor's impedance is about $\omega\,\text{ESL}$. How many capacitors with {L} nH each are needed in parallel to reach {Zt} mΩ at {f} MHz?

::: right
Right: {answer}. Above resonance, lowering the inductance per capacitor is what helps; adding capacitance changes nothing.
:::

::: misses
- [any] Not yet. $N \ge \omega\,\text{ESL}/Z_t$.
:::
:::

::: check
given: e = 3.5 | 4.3; A = 25 | 100 | 400; d = 25 | 100 | 200
answer: e*8.854e-12*A*1e-4/(d*1e-6)*1e9
unit: nF
tolerance: 0.5%

## A plane pair of {A} cm² is separated by {d} µm of dielectric with $\varepsilon_r$ = {e}. What capacitance does it form?

::: right
Right. $\varepsilon_r\varepsilon_0A/d$ = {answer}.
:::

::: misses
- [8.854e-12*A*1e-4/(d*1e-6)*1e9] Multiply by $\varepsilon_r$.
- [any] Not yet. Parallel plates: $\varepsilon_r\varepsilon_0A/d$.
:::
:::

::: check
kind: parts
given: C = 470 | 1000 | 2200; R = 3 | 5 | 10; f = 50 | 100 | 500

## A {C} µF bulk capacitor has {R} mΩ of ESR (ignore its ESL).

::: part
answer: sqrt((R*1e-3)^2 + (1/(2*pi*f*1e3*C*1e-6))^2)*1e3
unit: mΩ
tolerance: 0.5%

### What's its impedance magnitude at {f} kHz?

::: misses
- [(R*1e-3 + 1/(2*pi*f*1e3*C*1e-6))*1e3] Resistance and reactance add as a right angle: root-sum-square.
- [1/(2*pi*f*1e3*C*1e-6)*1e3] Include the ESR.
- [any] Not yet. $\sqrt{\text{ESR}^2 + (1/\omega C)^2}$.
:::
:::

::: right
Right. At low frequency the capacitance matters; at higher ones, ESR and then ESL take over.
:::
:::

::: check
kind: choice

## A designer replaces a row of 100 nF decoupling capacitors with 1 µF parts in the same package and footprint, hoping to lower the supply impedance at 200 MHz. What happens there?

- [x] Almost nothing: above self-resonance the impedance is set by the mounting inductance, which hasn't changed
- [ ] The impedance drops tenfold
- [ ] The impedance rises tenfold
- [ ] The supply oscillates

::: right
Right. At 200 MHz both parts are far above resonance and look like the same ESL. The larger value helps only at lower frequencies, below about 5 MHz here.
:::

::: misses
- [2] Capacitance only matters below resonance.
- [3] Above resonance, more capacitance makes no difference either way.
- [4] Nothing in the change would make it oscillate.
:::
:::

::: check
kind: python
given: Zt = 2 | 5 | 10 | 25 | 50 | 80 | 100

## Find where a mix of decoupling capacitors misses the target. Write `z_cap(f, C, L, R)` (complex, series RLC) and evaluate a network of 4 × 10 µF (ESL 1 nH, ESR 5 mΩ), 10 × 100 nF (0.5 nH, 20 mΩ) and 20 × 10 nF (0.4 nH, 50 mΩ) in parallel, on `f = numpy.logspace(5, 9, 4001)`. Set `zmax`, the largest $|Z|$ in mΩ between 1 MHz and 100 MHz, `f_peak` (Hz) where it occurs, and `ok`, whether `zmax` is at most `Zt` = {Zt} mΩ.

```python starter
import numpy as np
zmax, f_peak, ok = 0.0, 1e6, True
```

```python solution
import numpy as np
def z_cap(f, C, L, R):
    w = 2 * np.pi * f
    return R + 1j * (w * L - 1 / (w * C))
f = np.logspace(5, 9, 4001)
groups = [(4, 10e-6, 1e-9, 5e-3), (10, 100e-9, 0.5e-9, 20e-3), (20, 10e-9, 0.4e-9, 50e-3)]
Y = sum(n / z_cap(f, C, L, R) for n, C, L, R in groups)
Z = np.abs(1 / Y) * 1e3
band = (f >= 1e6) & (f <= 1e8)
i = np.argmax(np.where(band, Z, -1))
zmax, f_peak = float(Z[i]), float(f[i])
ok = zmax <= Zt
```

```python tests
import numpy as np
f = np.logspace(5, 9, 4001)
w = 2 * np.pi * f
zc = lambda C, L, R: R + 1j * (w * L - 1 / (w * C))
Y = 4 / zc(10e-6, 1e-9, 5e-3) + 10 / zc(100e-9, 0.5e-9, 20e-3) + 20 / zc(10e-9, 0.4e-9, 50e-3)
Z = np.abs(1 / Y) * 1e3
band = (f >= 1e6) & (f <= 1e8)
i = np.argmax(np.where(band, Z, -1))
assert abs(zmax - Z[i]) < 1e-9 and abs(f_peak - f[i]) < 1e-6, f"The peak in band is {Z[i]:.4f} mΩ at {f[i]:.4g} Hz."
assert ok == (Z[i] <= Zt), "ok compares zmax with the target."
```

::: right
Right. The worst point is usually an anti-resonance between groups, or the top of the band where everything is inductive; the sweep finds it where a single formula wouldn't.
:::
:::

::: explain
## A processor board passes every test at idle but resets when a heavy workload starts. A scope on the core rail shows a 120 mV dip lasting about 50 ns at the moment the load begins. Explain what the power distribution network is doing, and what to change.

::: model
When the workload starts, the core's current steps up in nanoseconds. The regulator can't respond that fast, so for the first tens of nanoseconds the current comes from the decoupling capacitors, planes and package, and the voltage dips by the current step times the network's impedance in that frequency band. A 50 ns dip points to a frequency of several megahertz to tens of megahertz, where the network's impedance is too high, typically because the decoupling capacitors' mounting inductance makes them ineffective there, or an anti-resonance between groups of capacitors peaks there. The fix is to compute the target impedance from the allowed dip and the current step, sweep the network's impedance, and lower it in that band: more capacitors closer to the chip, lower-inductance mounting (short, wide connections and multiple vias), values chosen to avoid anti-resonance peaks, and enough damping from ESR.
:::
:::

::: practice

::: check
given: V = 1.2 | 5; r = 1 | 4; I = 0.5 | 3
answer: V*r/100/I*1e3
unit: mΩ
tolerance: 0.5%

## What target impedance keeps a {V} V rail within {r}% for a {I} A step?

::: misses
- [V/I*1e3] Multiply by the {r}% allowance.
- [any] $Z_t = V r/\Delta I$.
:::
:::

::: check
given: L = 0.4 | 1.2; f = 50 | 400
answer: 2*pi*f*1e6*L*1e-9*1e3
unit: mΩ
tolerance: 0.5%

## Far above resonance, what's the impedance of a capacitor with {L} nH of ESL at {f} MHz?

::: misses
- [f*1e6*L*1e-9*1e3] Use $\omega = 2\pi f$.
- [any] $\omega\,\text{ESL}$.
:::
:::
:::
