TExcelTAD
Home › EE Foundations: Units, Measurement, Safety & the Lab Notebook › Capacitors and Inductors as Components

Capacitors and Inductors as Components

On paper a capacitor is a CC and an inductor is an LL. On the bench, a "10 μF10\ \mu\text{F}" ceramic chip may measure 4 μF4\ \mu\text{F} once 5 V5\ \text{V} is across it, an electrolytic fitted backwards bulges and vents, and an inductor that measured 22 μH22\ \mu\text{H} on the LCR meter behaves like a piece of wire at full load current. The physics is in Capacitance and Dielectrics and Magnetism, Induction and Inductance; this lesson is about the parts: the families, their markings and the few non-ideal numbers that decide which one to use.

Intuition: every real part is a small circuit

real capacitor ESRESLC 20 mohm1 nH100 nF real inductor L 22 uHDCR 0.1 ohmC_p ~ pF below its self-resonant frequency a capacitor is capacitive, above it inductive; an inductor the other way round. Typical values only.

Three numbers per part cover most of the surprises: the equivalent series resistance (ESR, heats the part with ripple current), the equivalent series inductance (ESL, set by the leads and the body), and for inductors the saturation current.

Capacitor families

Family Typical range Polarised? Strengths Watch out for
Ceramic Class 1 (C0G/NP0) 1 pF1\ \text{pF} to ∼100 nF\sim 100\ \text{nF} no stable with temperature, voltage and time; low loss small values only
Ceramic Class 2 (X7R, X5R; Y5V is a "Class 2" with wide drift) 100 pF100\ \text{pF} to 100 μF100\ \mu\text{F} no tiny, cheap, very low ESR and ESL: the default for decoupling capacitance falls with DC bias and temperature, cracks if the board bends
Film (polypropylene, polyester) 1 nF1\ \text{nF} to ∼100 μF\sim 100\ \mu\text{F} no low loss, self-healing, high voltage larger
Aluminium electrolytic 1 μF1\ \mu\text{F} to ∼1 F\sim 1\ \text{F} yes lots of CC per volume and cost higher ESR, wear out (life in hours at a temperature), vent or burst if reversed or over-voltaged
Tantalum / polymer 0.1 μF0.1\ \mu\text{F} to ∼1 mF\sim 1\ \text{mF} yes compact, stable manganese-dioxide tantalum can fail short and burn; follow the maker's voltage derating

The letter codes of Class 2 ceramics are from the EIA system: in X7R, "X" = −55 ∘C-55\,^\circ\text{C}, "7" = +125 ∘C+125\,^\circ\text{C}, "R" = ±15 %\pm 15\ \% change over that range. That ±15 %\pm 15\ \% is without DC bias: a small X5R chip at a good fraction of its rated voltage can lose half its capacitance or more. Use the manufacturer's DC-bias curve, not the nominal value.

Markings. Small capacitors use a three-digit code in picofarads: two digits, then the number of zeros. "104" is 10×104 pF=100 nF10 \times 10^4\ \text{pF} = 100\ \text{nF}, "472" is 4.7 nF4.7\ \text{nF}. A letter may follow for tolerance (J ±5 %\pm 5\ \%, K ±10 %\pm 10\ \%, M ±20 %\pm 20\ \%). Electrolytics print the value and voltage in full ("470 μF470\ \mu\text{F} 25 V"), with a stripe of minus signs on the negative lead; the negative lead is also the shorter one on new radial parts. Tantalum chips mark the positive end with a bar, the opposite convention: check every time.

Voltage derating. Never use a capacitor above its rated voltage. A common rule of thumb is to keep the working voltage at or below about 5050 to 80 %80\ \% of the rating (stricter for tantalum, where makers often ask for 50 %50\ \%), which also improves life.

Inductor ratings

An inductor's datasheet gives the inductance at a test frequency, the DC resistance (DCR) of the winding, a rated current (the current that raises its temperature by a stated amount, often 40 K40\ \text{K}), a saturation current IsatI_\text{sat} (the current at which LL has dropped by a stated fraction, commonly 2020 to 30 %30\ \%; the maker defines it), and the self-resonant frequency (SRF). Above IsatI_\text{sat} the core can carry no more flux, LL collapses and the current rises much faster than designed: in a switching converter that can destroy the switch. The energy stored is

EL=12LI2,EC=12CV2E_L = \frac{1}{2} L I^2, \qquad E_C = \frac{1}{2} C V^2

Worked example: choosing an electrolytic for a 12 V rail

Given: a rail at V=12 VV = 12\ \text{V} needs a 470 μF470\ \mu\text{F} reservoir capacitor; stock ratings are 16 V16\ \text{V}, 25 V25\ \text{V} and 35 V35\ \text{V}. Find: a rating that keeps the working voltage at or below about 50 %50\ \%, the energy stored, and the reactance at 100 Hz100\ \text{Hz}. Solve: 12 V/16 V=75 %12\ \text{V}/16\ \text{V} = 75\ \%, too high for the target; 12 V/25 V=48 %12\ \text{V}/25\ \text{V} = 48\ \%: choose 25 V25\ \text{V}. Energy: E=12(470×10−6 F)(12 V)2=0.0338 J=33.8 mJE = \tfrac{1}{2}(470 \times 10^{-6}\ \text{F})(12\ \text{V})^2 = 0.0338\ \text{J} = 33.8\ \text{mJ}. Reactance: XC=1/(2πfC)=1/(2π⋅100 Hz⋅470×10−6 F)=3.39 ΩX_C = 1/(2\pi f C) = 1/(2\pi \cdot 100\ \text{Hz} \cdot 470 \times 10^{-6}\ \text{F}) = 3.39\ \Omega. Check: F⋅V2=(C/V) V2=C⋅V=J\text{F} \cdot \text{V}^2 = (\text{C/V})\,\text{V}^2 = \text{C} \cdot \text{V} = \text{J}. Tens of millijoules will not hurt you but will spark and pit a screwdriver tip if the capacitor is shorted; see ESD, Stored Energy and Battery Hazards.

Code: decode markings and see the non-ideal capacitor

python · try it yourself
import numpy as np
import matplotlib.pyplot as plt

def cap_code(code):
    """Three-digit capacitor code: two digits and a power of ten, in picofarads."""
    pf = int(code[:2]) * 10 ** int(code[2])
    for unit, scale in (("uF", 1e6), ("nF", 1e3), ("pF", 1)):
        if pf >= scale:
            return f"{code} = {pf / scale:g} {unit}"

for code in ("104", "472", "220", "225"):
    print(cap_code(code))

def z_cap(f, C, esr, esl):
    """Impedance of a real capacitor: C, ESR and ESL in series."""
    w = 2 * np.pi * f
    return esr + 1j * w * esl + 1 / (1j * w * C)

parts = {"100 nF ceramic": (100e-9, 0.02, 1e-9),
         "100 uF electrolytic": (100e-6, 0.15, 10e-9)}
f = np.logspace(2, 8, 601)                       # 100 Hz .. 100 MHz
print(f"{'part':<20}{'|Z| 1 kHz':>13}{'|Z| 100 kHz':>13}{'|Z| 10 MHz':>13}{'f_srf':>12}")
for name, (C, esr, esl) in parts.items():
    z = [abs(z_cap(fx, C, esr, esl)) for fx in (1e3, 1e5, 1e7)]
    f_srf = 1 / (2 * np.pi * np.sqrt(esl * C))
    print(f"{name:<20}" + "".join(f"{v:>9.3g} ohm" for v in z) + f"{f_srf / 1e6:>9.3g} MHz")
    plt.loglog(f, abs(z_cap(f, C, esr, esl)), label=name)
plt.xlabel("frequency (Hz)"); plt.ylabel("|Z| (ohm)"); plt.grid(True, which="both", alpha=0.3)
plt.legend(); plt.title("Real capacitors: C, then ESR, then ESL")
plt.show()
104 = 100 nF
472 = 4.7 nF
220 = 22 pF
225 = 2.2 uF
part                    |Z| 1 kHz  |Z| 100 kHz   |Z| 10 MHz       f_srf
100 nF ceramic       1.59e+03 ohm     15.9 ohm   0.0984 ohm     15.9 MHz
100 uF electrolytic       1.6 ohm     0.15 ohm    0.646 ohm    0.159 MHz

The values of ESR and ESL are typical guesses, not taken from a datasheet. The plot shows why boards put a small ceramic next to a big electrolytic: the electrolytic has the lower impedance at low frequency, but above its self-resonance near 160 kHz160\ \text{kHz} it turns inductive, and the ceramic takes over up to about 16 MHz16\ \text{MHz}. Note "220" is 22 pF22\ \text{pF} (zero zeros), not 220 pF220\ \text{pF}.

Guided lab: measuring capacitors at low voltage

Hand calculation. A new aluminium electrolytic marked 100 μF100\ \mu\text{F} ±20 %\pm 20\ \% should read between 8080 and 120 μF120\ \mu\text{F}. An X7R ceramic marked 105 K is 1 μF±10 %1\ \mu\text{F} \pm 10\ \%: 0.90.9 to 1.1 μF1.1\ \mu\text{F} when measured with the small test signal of a meter (no DC bias).

Simulation. Run the code above with your own ESR and CC, for example the 100 μF100\ \mu\text{F} part with ESR 0.5 Ω0.5\ \Omega after ageing: its ∣Z∣\lvert Z \rvert at 100 kHz100\ \text{kHz} rises from 0.150.15 to about 0.5 Ω0.5\ \Omega, which is exactly what an ESR meter detects in a worn part.

What you would measure. Discharge each capacitor first (see below), then use the multimeter's capacitance range. Expect a reading inside the tolerance band plus the meter's capacitance accuracy (often a few percent plus some digits; check its manual). Electrolytics at room temperature often read a little high, ceramics close to nominal. An LCR meter at 1 kHz1\ \text{kHz} gives CC and ESR together.

Hazards and safe setup

  • Only capacitors from your own low-voltage parts kit. Never salvage capacitors from mains equipment or camera flashes: they can hold a dangerous charge for days.
  • Before handling or measuring, discharge through a resistor (for example 1 kΩ1\ \text{k}\Omega, 0.5 W0.5\ \text{W}), never with a screwdriver.
  • Respect polarity and voltage rating when you power an electrolytic from the bench supply (current limit set, at most the rating and never above 24 V24\ \text{V} here); a reversed electrolytic can vent hot electrolyte, so wear eye protection.

Pitfalls

  • Reading "104" as 104 pF104\ \text{pF}, or "220" as 220 pF220\ \text{pF}.
  • Designing with the nominal value of a Class 2 ceramic at high DC bias.
  • Mixing up the stripe conventions: electrolytic stripe = minus, tantalum bar = plus.
  • Choosing an inductor by LL alone and ignoring IsatI_\text{sat} and the rated current.

Practice

  1. Decode 473 J.
  2. A 10 μF10\ \mu\text{F} ceramic has ESL 1 nH1\ \text{nH}. Where is its self-resonance?
  3. An inductor is rated L=10 μHL = 10\ \mu\text{H}, Isat=2 AI_\text{sat} = 2\ \text{A}. The design peak current is 2.5 A2.5\ \text{A}. What happens?
Answer
  1. 47×103 pF=47 nF47 \times 10^3\ \text{pF} = 47\ \text{nF}, ±5 %\pm 5\ \%.
  2. f=1/(2πLC)=1/(2π10−9⋅10−5)=1.59 MHzf = 1/(2\pi\sqrt{LC}) = 1/(2\pi\sqrt{10^{-9} \cdot 10^{-5}}) = 1.59\ \text{MHz}.
  3. The core saturates near the peaks: LL drops sharply, the current ramps much faster than designed, and the switch and inductor overheat. Choose a part with IsatI_\text{sat} comfortably above 2.5 A2.5\ \text{A}.

Test yourself

What capacitance does the code 104 stand for?

  1. 104 pF104\ \text{pF}
  2. 10 nF10\ \text{nF}
  3. 100 nF100\ \text{nF}
  4. 1 μF1\ \mu\text{F}

On a new radial aluminium electrolytic, which lead is negative?

  1. The lead next to the printed stripe of minus signs, usually the shorter one
  2. The longer lead
  3. Either: electrolytics are not polarised
  4. The lead next to a bar, as on tantalum chips

Why does a 10 μF10\ \mu\text{F} X5R chip capacitor often measure much less in a circuit at 5 V5\ \text{V}?

  1. Its ESR rises
  2. Class 2 ceramics lose capacitance with DC bias
  3. It saturates like an inductor
  4. The meter is wrong

What does an inductor's saturation current tell you?

  1. The current at which the winding melts
  2. The current at which its inductance has dropped by a stated fraction because the core cannot carry more flux
  3. The fuse rating to use with it
  4. Its RMS current at the self-resonant frequency