C2 · Lesson 4 · Capacitors in practice
Types, ESR, self-resonance, leakage and lifetime
The capacitor on a schematic is just C. The one on a board has a small resistance in series that heats it, a little inductance from its leads that makes it act like an inductor at high frequencies, and some leakage that slowly drains it. Ceramic capacitors can lose more than half their capacitance at their rated voltage, and electrolytics dry out, faster when hot. Good designs pick the right type and check these effects; most dead power supplies die of a tired electrolytic capacitor.
- The impedance of a real capacitor against frequency, on log scales: capacitance C in series with its equivalent series resistance (ESR) and inductance (ESL). The dashed line is an ideal capacitor.
- At low frequency it follows the ideal line. At the self-resonant frequency the C and L cancel and only the ESR is left. Above it, the capacitor is an inductor.
- Make it a 100 nF ceramic with 1 nH, then a 100 µF electrolytic with 20 nH and 0.1 Ω.
Predict
A 100 nF ceramic capacitor has 1 nH of inductance from its package and pads. Above what frequency does it stop behaving like a capacitor?
About 16 MHz. MHz. Above that, the inductance dominates and the impedance rises with frequency. That's why boards place small capacitors close to chips: shorter connections mean less inductance and a higher self-resonance.
Name it
A real capacitor
A practical model has the capacitance in series with an ESR (resistance of plates, leads and dielectric losses) and an ESL (inductance of the current path), all shunted by a large leakage resistance. Its impedance magnitude is
falling as at low frequency, bottoming out at ESR at the self-resonant frequency , and rising as above it.
Consequences
- Heat: a ripple current dissipates , and datasheets give a maximum ripple current.
- Ripple voltage: a current step makes a voltage step at once, before the capacitance does anything.
- Leakage: a capacitor left charged loses its voltage with time constant .
Types
| Type | Range | Strengths | Watch for |
|---|---|---|---|
| ceramic, C0G/NP0 | pF to nF | stable, low loss | small values only |
| ceramic, X7R/X5R | nF to tens of µF | tiny, very low ESR | loses capacitance with DC voltage and temperature, often more than half at rated voltage in small packages |
| aluminum electrolytic | µF to F | large C per volt, cheap | polarized, higher ESR, dries out |
| film | nF to µF | stable, low loss, self-healing | bulky |
| supercapacitor | F to kF | huge energy storage | low voltage per cell, high ESR |
Lifetime
Electrolytics are rated for a number of hours at their maximum temperature. A common rule of thumb doubles the life for every 10 °C cooler:
Worked example
A 100 nF ceramic capacitor with 1 nH of ESL and 10 mΩ of ESR decouples a chip. What is its impedance at 100 kHz and at its self-resonance?
Show the solution
- Impedance at 100 kHz. The inductance hardly matters here, so the impedance is the capacitor's reactance:
- Impedance at self-resonance. At 15.9 MHz the reactances cancel, leaving the ESR:
Answer 15.9 Ω at 100 kHz, and 10 mΩ (just the ESR) at its self-resonance of 15.9 MHz.
Worked example
An electrolytic capacitor is rated 2000 hours at 105 °C. About how long should it last at 65 °C?
Show the solution
- Count the doublings. 40 °C cooler is four doublings: about 3.7 years of continuous use.
- In a hot enclosure. At 95 °C it would get only 4000 hours.
Answer about 32,000 hours, or 3.7 years of continuous use.
Worked example
A 10 µF, 6.3 V X5R ceramic capacitor keeps only 40% of its capacitance at 5 V DC bias. What capacitance does it really give, and what's its reactance at 1 MHz?
Show the solution
- Capacitance under bias. 40% of 10 µF is
- Reactance at 1 MHz. 2.5 times what the label suggests.
- Why it happens. High-permittivity ceramics lose capacitance as DC voltage aligns their dielectric's domains.
- What designers do. They read the manufacturer's bias curves, or pick a higher voltage rating or a larger case to keep the capacitance they need.
Answer it really gives 4 µF, and its reactance at 1 MHz is 40 mΩ.
Check
A 1 µF capacitor has 0.5 nH of ESL. What is its self-resonant frequency?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A capacitor with 10 mΩ of ESR carries 2 A RMS of ripple current. How much power does it dissipate?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
Check
An electrolytic is rated 1000 hours at 85 °C. By the 10 °C rule, how long does it last at 65 °C?
Check
A load step of 0.5 A hits a capacitor with 20 mΩ of ESR. How big is the immediate voltage step?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A 10 µF capacitor has 100 MΩ of leakage resistance. What is its self-discharge time constant?
Check
What is the reactance of a 0.1 µF capacitor at 100 kHz, ignoring ESR and ESL?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
A 10 µF ceramic capacitor keeps 0.3 of its capacitance at its operating bias.
(a)
What capacitance does it really give?
Write units the way you normally would: 1.5 µF, 1500 nF and 0.0015 mF are the same answer.
(b)
What's its reactance at 1 MHz?
Check
A capacitor C has ESL L and ESR R.
Step 1
What's the reactance of C alone at f?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
At what frequency does it self-resonate?
Step 3
What's its impedance magnitude there?
Explain why
Why do boards often put a small ceramic capacitor right next to a large electrolytic one, across the same supply?
The electrolytic stores plenty of charge but has a fairly large ESR and ESL, so its impedance stops falling, and starts rising, at moderate frequencies. The small ceramic has far less inductance and resistance, so it keeps a low impedance up to much higher frequencies, though it holds little charge. In parallel, the electrolytic handles slow, large current changes and the ceramic handles fast ones, keeping the supply's impedance low across the whole range. Placing the ceramic close to the chip keeps the connection's inductance, which would undo its advantage, small.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.