Capacitors

Capacitors store energy in an electric field between two conductive plates separated by an insulating dielectric. At first glance they look like resistors — two-terminal passive components — but their behaviour is fundamentally different. A capacitor blocks DC and passes AC, which makes them essential for filtering, coupling, decoupling, and timing circuits. After resistors, they're the most common component you'll work with.

How They Work

Apply voltage across a capacitor and charge builds up on the plates, creating an electric field across the dielectric. The basic formula for capacitance:

C = Q / V

C — capacitance in farads (F)
Q — charge in coulombs (C)
V — voltage in volts (V)

The voltage-current relationship in a capacitor:

I = C × dV/dt

Current flows only when voltage is changing. Steady DC? No current. Rapidly changing voltage? Large current. This is the key insight: capacitors are rate-sensitive, not level-sensitive. That's why they block DC (no change) and pass AC (constant change).

Capacitance Units

A 1 F capacitor is enormous — physically the size of a can, and rare outside of supercapacitor applications. Real circuits use much smaller values:

UnitSymbolValueTypical use
FaradF1 FSupercapacitors, backup power
MillifaradmF0.001 FLarge electrolytics
MicrofaradµF0.000001 FPower supply filtering, audio coupling
NanofaradnF10⁻⁹ FRF filters, timing circuits
PicofaradpF10⁻¹² FRF tuning, crystal load caps, stray capacitance

Types

TypePolarized?Value rangeKey characteristicWatch out for
Ceramic (MLCC)No1 pF – 100 µFCheap, small, widely available. The default for decoupling.Capacitance drops significantly with applied voltage (especially X5R/X7R — check the derating curve)
Electrolytic (aluminium)Yes1 µF – 100,000 µFHigh capacitance per dollar. Used in PSU bulk storage.Must get polarity right. Dry out over years. Swollen tops = end of life.
TantalumYes0.1 µF – 1,000 µFMore stable than electrolytic, smaller for same value.Reverse voltage or overcurrent → fire. Not a joke.
Film (polyester/PP)No1 nF – 100 µFStable over temperature, low loss (low ESR). Good for audio and precision filters.Larger and more expensive than ceramic for same value
Supercapacitor (EDLC)Yes0.1 F – 3,000 FStores much more energy than standard caps. Used as battery backup.Low voltage rating (2.5–2.7 V typical); must series-connect for higher voltages

Charging and Discharging

Through a resistor, a capacitor charges and discharges exponentially. The time constant τ (tau) = RC determines the speed:

Charging:    V(t) = V₀ × (1 - e^(-t/RC))
Discharging: V(t) = V₀ × e^(-t/RC)

τ = R × C   (in seconds, when R is in ohms and C in farads)
Time elapsedCharge (% of final voltage)Discharge (% of initial voltage)
63.2%36.8%
86.5%13.5%
95.0%5.0%
98.2%1.8%
99.3%0.7%

After 5τ the capacitor is considered fully charged or discharged for practical purposes.

Example:

R = 10 kΩ, C = 100 µF
τ = 10,000 × 0.0001 = 1 second
Fully charged in ~5 seconds

Combining Capacitors

The opposite rules to resistors:

Series (reduces total):
  1/C_total = 1/C1 + 1/C2 + ...
  Two equal caps in series: C_total = C/2

Parallel (adds together):
  C_total = C1 + C2 + C3 + ...
  Two equal caps in parallel: C_total = 2C

You series-connect capacitors to increase voltage rating (the voltage divides across them). You parallel-connect to increase capacitance. When series-connecting electrolytics, voltage-balancing resistors are needed across each cap to prevent one from seeing all the voltage.

ESR — Equivalent Series Resistance

A real capacitor isn't purely capacitive — it has a small resistance in series (ESR) from the leads and dielectric losses. ESR matters most in switching power supplies and RF circuits:

TypeTypical ESRImpact
Ceramic (MLCC)1–100 mΩNegligible for most circuits
Aluminium electrolytic10 mΩ – 10 ΩSignificant in switching supplies; use low-ESR types rated for ripple current
Tantalum100 mΩ – 1 ΩBetter than aluminium electrolytic; watch surge current
Film1–100 mΩLow, stable — good for audio and precision work

Common Applications

Decoupling

Place a 100 nF ceramic cap between VCC and GND as close to each IC's power pin as possible. When the IC switches, it draws a sudden burst of current. The decoupling cap supplies that burst locally, preventing voltage dips from propagating to other parts of the board. This is one of the most important habits in PCB layout — it's not optional.

Rule of thumb: 100nF ceramic per IC, plus one 10µF bulk electrolytic per power rail section

AC Coupling

A capacitor in series blocks DC but passes AC. Common in audio to connect stages that operate at different DC bias points:

AC Coupling Capacitor Schematic showing a capacitor between two stages, blocking 2.5V DC and passing the AC signal. Stage 1 output: 2.5V DC + AC signal Stage 2 input: 0V DC + AC signal only C ← blocks the 2.5V DC
A series capacitor blocks DC voltage offsets while allowing the AC signal to pass between stages.

Timing (RC Circuit)

555 timer astable oscillator (approximate):
f ≈ 1.44 / ((R1 + 2×R2) × C)

For f=1kHz with C=100nF:
(R1 + 2×R2) = 1.44 / (1000 × 0.0000001) ≈ 14,400Ω

Common Failure Modes

SymptomLikely causeCheck
Swollen or leaking electrolyticEnd of life, overvoltage, reversed polarityReplace — do not continue using
Circuit works intermittentlyDried-out electrolytic (increased ESR)Measure ESR with a capacitor ESR meter
Oscillator runs at wrong frequencyWrong capacitor value; capacitance deratingMeasure actual capacitance; check ceramic derating vs. voltage
Power rail voltage drops under loadInsufficient bulk capacitance or high ESRIncrease capacitance, use low-ESR type

References