Sub topic 13
Real capacitors: leakage, ESR, and voltage ratings
This chapter assumes you know Q = CV, i = C dv/dt, E = ½CV², and first-order RC behavior with τ = RC. It also assumes basic Ohm's law and Kirchhoff's laws. Up to now the capacitor has been ideal: it stores charge with no loss, holds that charge forever, and tolerates any voltage. Real parts differ in three main ways. They leak charge, they have internal series resistance, and they fail if the voltage is too high. Each effect can be modeled with a small addition to the ideal component.
The practical model of a capacitor
A real capacitor behaves like an ideal capacitance C combined with three parasitic elements:
- Leakage resistance (R_leak) is a large resistance in parallel with C. It lets charge slowly drain through the dielectric.
- Equivalent series resistance (ESR) is a small resistance in series with C. It represents the resistance of the leads, the electrodes, and the dielectric losses.
- Equivalent series inductance (ESL) is a small inductance in series with C. It comes from the leads and the internal winding or layout.
ESR, ESL, and leakage are not separate components that you buy. They are properties of one part, and they vary with capacitor type, temperature, frequency, and age.
Leakage
No dielectric is a perfect insulator. A small current flows through it even when the voltage is constant. This is leakage current. Modeled as R_leak in parallel with C, it makes a charged capacitor discharge on its own, with a time constant
τleak = Rleak · C
Self-discharge example
Suppose a 100 µF capacitor has Rleak = 10 MΩ. Then τleak = 10 × 10⁶ × 100 × 10⁻⁶ = 1000 s, about 17 minutes. After 1000 s, the voltage has fallen to 36.8% of its starting value. A part with this leakage cannot hold a charge for hours.
The next program computes the voltage over time for a self-discharging capacitor.
import math
C = 100e-6 # capacitance in farads
R_leak = 10e6 # leakage resistance in ohms
V0 = 5.0 # starting voltage in volts
tau = R_leak * C # self-discharge time constant in seconds
for t in (0, 500, 1000, 2000, 3000):
v = V0 * math.exp(-t / tau)
print(f"t = {t:5d} s: v = {v:.3f} V")Typical leakage by type
Leakage varies enormously between technologies. The values below are rough and depend on the specific part, so check the datasheet.
| Capacitor type | Leakage | Notes |
|---|---|---|
| Film (polypropylene, polyester) | Very low | Good for sample-and-hold and timing circuits |
| Ceramic C0G/NP0 | Very low | Stable and low loss |
| Ceramic X7R, Y5V | Low to moderate | Insulation resistance drops at high temperature |
| Aluminum electrolytic | Moderate to high | Specified as a leakage current in µA, often scaled by C and V |
| Tantalum | Low to moderate | Leakage rises sharply with temperature and voltage |
Electrolytic datasheets often give a maximum leakage current such as 0.01·C·V or 3 µA, whichever is larger. A capacitor sitting unused for a long time may show higher leakage until it is "reformed" by applying its rated voltage.
ESR
ESR is the resistance you would measure in series with an ideal capacitor. It has two effects.
- Voltage drop under current. When current i flows, the terminal voltage differs from the voltage across the ideal C by i · ESR.
- Heating. The power lost is P = I_rms² · ESR. This heat limits how much ripple current a capacitor can carry.
Effect on a current step
Take a 100 µF capacitor with ESR = 0.5 Ω. If a load suddenly draws 2 A from it, the terminal voltage drops immediately by 2 A × 0.5 Ω = 1 V. The ideal capacitor voltage cannot jump, but the ESR voltage appears the instant the current changes. After that, the ideal capacitor voltage falls gradually at dv/dt = −i/C = −2/100×10⁻⁶ = −20,000 V/s, or −20 mV/µs.
C = 100e-6 # farads
ESR = 0.5 # ohms
I = 2.0 # load current in amperes
dt = 10e-6 # time after the step in seconds
step_drop = I * ESR # immediate drop due to ESR
slope = I / C # rate of fall of the ideal capacitor voltage
cap_drop = slope * dt # drop of ideal C after dt
print(f"Immediate ESR drop: {step_drop:.3f} V")
print(f"Droop rate: {slope * 1e-6:.3f} V/us")
print(f"Total drop after {dt * 1e6:.0f} us: {step_drop + cap_drop:.3f} V")The result shows the ESR step of 1.000 V, a droop rate of 0.020 V/µs, and a total drop of 1.200 V after 10 µs. In this example ESR dominates the early drop.
Why ESR matters in power supplies
In a switching power supply, the output capacitor sees a pulsing current. The ripple voltage has two parts: a term from charge moving on and off C, and a term I_ripple · ESR. For electrolytic capacitors the ESR term often dominates. This is why a designer may pick a larger capacitor not for more capacitance but for lower ESR, or may place a low-ESR ceramic in parallel.
Parallel capacitors combine ESR like parallel resistors, so two identical capacitors in parallel halve the ESR as well as doubling C.
ESR and frequency
The ideal impedance magnitude is X_C = 1/(2πfC), which falls as frequency rises. A real capacitor does not keep falling. ESR sets a floor on the impedance, and ESL adds a rising term at high frequency. The impedance reaches a minimum near the self-resonant frequency
f_SR = 1/(2π√(L·C))
where L is the ESL. Above f_SR the part behaves like an inductor. This is a common failure of intuition: a large capacitor is not necessarily better at high frequency.
import math
C = 100e-9 # 100 nF
ESR = 0.05 # ohms
ESL = 5e-9 # 5 nH
f_sr = 1 / (2 * math.pi * math.sqrt(ESL * C))
print(f"Self-resonant frequency: {f_sr / 1e6:.2f} MHz")
for f in (1e5, 1e6, 5e6, 20e6, 100e6):
w = 2 * math.pi * f
x = w * ESL - 1 / (w * C)
z = math.hypot(ESR, x)
print(f"f = {f / 1e6:7.2f} MHz: |Z| = {z:.3f} ohm")At f_SR the reactances cancel and |Z| equals the ESR alone, about 0.05 Ω. Below it the part is capacitive. Above it, the impedance rises with frequency like an inductor.
Voltage ratings
Every capacitor has a rated voltage, the maximum DC voltage it should see continuously over its life. Exceeding it can break down the dielectric, causing a short circuit, venting, or fire.
What happens when the rating is exceeded
- Ceramic and film: the dielectric can puncture. Some film capacitors are self-healing, meaning a small breakdown vaporizes the metal around the fault and the part keeps working at slightly lower C.
- Aluminum electrolytic: the oxide layer fails, leakage current rises, and gas builds up inside. The part can bulge or vent. Electrolytics are also polarized, so reverse voltage can damage them.
- Tantalum: failure is often a short that can run away and ignite. Designers commonly derate tantalum parts heavily, for example using only 50% of rated voltage.
Derating
Engineers use a part below its rating to gain margin and life. A common starting point is to keep the working voltage, including ripple and spikes, at or below 50 to 80% of the rating, depending on the type and the reliability needed. For a 12 V rail, a 25 V electrolytic is a typical choice, and a 35 V one gives more margin.
Capacitance changes with voltage and temperature
Class II ceramics (X5R, X7R) and Class III (Y5V, Z5U) use ferroelectric dielectrics. Their capacitance falls as DC bias increases. A 10 µF, 6.3 V X5R in a 0805 package may supply less than half of 10 µF when biased at 5 V. Temperature also shifts the value, and the tolerance can be ±10% to ±80% depending on the code.
| Dielectric | Capacitance stability | Typical use |
|---|---|---|
| C0G / NP0 | Very stable, tiny drift | Timing, filters, RF |
| X7R | Moderate, varies with bias and temperature | Decoupling, general purpose |
| Y5V | Poor, large drop with bias and temperature | Cost-sensitive bulk use only |
Other real-world limits
- Dielectric absorption: after a capacitor is discharged and its terminals are opened, some voltage returns. This matters in sample-and-hold circuits and precision integrators.
- Ripple current rating: the maximum RMS AC current, set by how much heat ESR can dissipate.
- Lifetime: electrolytic life roughly halves for each 10 °C rise in temperature. A part rated for 2000 hours at 105 °C may last many times longer at 65 °C.
- Polarity: electrolytic and tantalum capacitors must be connected with the marked positive terminal at the higher voltage.
Choosing a capacitor
Use the following checks in order.
- Choose the capacitance after accounting for bias, temperature, and tolerance.
- Check the voltage rating with derating margin.
- Check ESR and ripple current against the load.
- Check leakage if the circuit holds charge for long periods.
- Check size, cost, and lifetime at the operating temperature.
Exercise
A 220 µF aluminum electrolytic capacitor has an ESR of 0.2 Ω and a leakage resistance of 5 MΩ. (a) A load suddenly draws 3 A. What is the immediate voltage drop at the terminals, and at what rate does the ideal capacitor voltage then fall? (b) How long is the self-discharge time constant?
Show answer
(a) The immediate drop is I × ESR = 3 × 0.2 = 0.6 V. The ideal capacitor voltage then falls at dv/dt = −I/C = −3 / 220×10⁻⁶ ≈ −13,600 V/s, or about −13.6 mV/µs. (b) τleak = Rleak × C = 5×10⁶ × 220×10⁻⁶ = 1100 s, about 18 minutes.
Exercise
A 12 V supply rail has 1 V of ripple and spikes on top, so the capacitor sees up to 13 V. You want to keep the peak voltage at or below 60% of the rated voltage. What is the smallest rated voltage you need, and which standard value (16 V, 25 V, 35 V) do you pick?
Show answer
Rated voltage ≥ 13 V / 0.6 ≈ 21.7 V. The smallest standard value that meets this is 25 V.
Exercise
A 100 nF capacitor has an ESL of 10 nH. Find its self-resonant frequency, and say whether it behaves as a capacitor or an inductor at 20 MHz.
Show answer
fSR = 1/(2π√(10×10⁻⁹ × 100×10⁻⁹)) = 1/(2π√(1×10⁻¹5)) ≈ 1/(2π × 3.16×10⁻⁸) ≈ 5.03 MHz. At 20 MHz, which is above fSR, the part behaves as an inductor.