The Core Function of a Capacitor in DC and AC Circuits

At the bench, the primary function of a capacitor is to store electrical energy in an electric field and release it when the circuit demands it. Physically, it consists of two conductive plates separated by an insulating dielectric. In a DC circuit, a capacitor blocks steady-state current but passes transient spikes, making it the standard tool for decoupling noise and smoothing power rails. In an AC circuit, it passes alternating current while introducing a frequency-dependent resistance called capacitive reactance.

The reactance ($X_c$) dictates how much a capacitor resists AC flow, calculated as $X_c = 1 / (2 * \pi * f * C)$. For a concrete example: a standard 100nF (0.1µF) ceramic bypass capacitor facing a 10kHz noise signal presents an impedance of roughly 159 ohms. If that noise spikes to 1MHz, the impedance drops to 1.59 ohms, effectively shorting the high-frequency noise to ground while leaving the DC supply untouched. This frequency-dependent behavior is why we use capacitors for everything from audio crossover filters to high-speed digital decoupling.

Capacitor Types: Which Dielectric for Which Job?

Selecting the wrong dielectric is a common rookie mistake that leads to circuit instability or catastrophic failure. The dielectric material determines the capacitor's stability, equivalent series resistance (ESR), and temperature coefficient (tempco). Here is the selection matrix for the four most common families you will encounter.

Type / Dielectric Typical Tolerance Tempco / Temp Range Best Application Avoid Using For
MLCC (X7R / X5R) ±10% to ±20% ±15% over -55 to +125°C General decoupling, bypass, bulk storage on logic rails. Precision timing, audio signal paths (microphonic/piezoelectric noise).
MLCC (C0G / NP0) ±1% to ±5% 0 ±30ppm/°C (Highly stable) RF filters, precision oscillators, high-fidelity audio coupling. High-capacitance bulk storage (values rarely exceed 100nF).
Aluminum Electrolytic ±20% High drift; rated 85°C or 105°C Power supply reservoirs, low-frequency smoothing, motor start/run. High-frequency switching (high ESR), reverse-polarity circuits.
Film (Polypropylene) ±1% to ±5% Very stable; self-healing Snubber circuits, AC mains filtering, high-current audio crossovers. Tight PCB spacing (physically massive for their capacitance).
Tantalum ±10% to ±20% Stable; highly sensitive to heat Compact bulk decoupling in space-constrained medical/aerospace boards. High inrush current rails, unregulated power supplies (fire risk).
Bench Tip: When designing or repairing switch-mode power supplies (SMPS), always specify Low-ESR aluminum electrolytics or polymer capacitors for the output filter. Standard electrolytics will overheat and vent within hours due to the high ripple current.

Decoding Capacitor Markings and 3-Digit Codes

Through-hole and large SMD capacitors usually have their values printed plainly (e.g., "10µF 50V"). However, small ceramic MLCCs and older disc ceramics rely on a standardized 3-digit EIA code and a tolerance letter. Misreading these is the fastest way to accidentally put a 10pF cap where a 100nF cap belongs.

How to read the 3-digit code:
The first two digits are the significant figures. The third digit is the multiplier (number of zeros to add), and the base unit is always picofarads (pF).

  • 104: 10 + four zeros = 100,000 pF = 100nF = 0.1µF (The most common bypass cap in electronics).
  • 103: 10 + three zeros = 10,000 pF = 10nF.
  • 221: 22 + one zero = 220 pF.
  • 479: The '9' is a special case meaning multiply by 0.1. So, 47 * 0.1 = 4.7 pF.

Tolerance and Voltage Codes:
Following the numeric code, a letter denotes tolerance: J (±5%), K (±10%), or M (±20%). Voltage is sometimes denoted by a letter-number combo (e.g., 1H = 50V, 1E = 25V, 0J = 6.3V), though modern SMD parts often omit voltage markings entirely, requiring you to check the manufacturer reel or measure the circuit's rail voltage to infer the minimum rating.

Failure Modes: Visual Symptoms and Bench Testing

Capacitors fail more often than any other passive component. According to SparkFun's component guides, electrolytics and tantalums are the primary culprits in aging hardware. Here is what to look for when troubleshooting a dead board.

1. Aluminum Electrolytic: Electrolyte Boil-Off

Visual Symptom: The top of the can bulges upward, or the rubber bung at the bottom pushes out, leaving a crusty brown or black residue on the PCB.
The Physics: The internal electrolyte degrades over time, especially in high-heat environments. As it breaks down, it generates gas. The internal pressure triggers the K-shaped vent on top to prevent an explosion.
Bench Test: A standard multimeter capacitance test will often read normal, but an ESR meter will show a massive spike in Equivalent Series Resistance. If ESR is >5 ohms on a 1000µF cap, it is dead.

2. MLCC (Ceramic): Mechanical Micro-Cracking

Visual Symptom: Often invisible to the naked eye. Under a 10x loupe, you may see a hairline fracture near the PCB pad, or a tiny scorch mark if it shorted.
The Physics: MLCCs are brittle. If the PCB flexes (e.g., from being screwed into a chassis or dropped), the board bends but the ceramic does not, causing a crack that bridges the internal plate layers.
Bench Test: Reads as a dead short (near 0 ohms) across the pads. To confirm, desolder it; if the short disappears from the board and the cap remains shorted off-board, the MLCC is cracked.

3. Tantalum: Thermal Runaway

Visual Symptom: A charred, melted black crater on the PCB, sometimes with the component completely vaporized.
The Physics: Tantalum capacitors are polarized and highly intolerant of reverse voltage or high inrush currents. A voltage spike causes a localized short in the dielectric, which heats up, lowering its resistance further, drawing more current until it literally catches fire.

WARNING: Never substitute a tantalum capacitor with a higher value on an unregulated rail without adding series resistance to limit inrush current. Always observe strict polarity; the stripe on a tantalum indicates the positive anode (opposite of aluminum electrolytics).

Safe Substitution: What to Do When the Exact Part is Missing

When you are repairing a board and the exact OEM part is discontinued or out of stock, you must substitute intelligently. Reference the Cornell Dubilier technical guides for deep-dive derating curves, but follow these four bench rules for immediate substitutions:

  1. Voltage Rating: The substitute's voltage rating must be equal to or greater than the original. However, for aluminum electrolytics and tantalums, always derate by at least 20%. If the rail is 12V, use a 25V cap, not a 16V cap.
  2. Capacitance Value: For power supply decoupling and bulk filtering, a value up to 30% higher is generally safe and often beneficial. For timing circuits (like a 555 timer oscillator) or active audio filters, the exact value is critical; do not substitute outside ±5%.
  3. ESR and Ripple: Never replace a Low-ESR polymer or specialized switching electrolytic with a standard general-purpose electrolytic. The substitute will overheat and fail prematurely.
  4. Temperature Rating: Never downgrade the temperature rating. Replacing a 105°C rated cap with an 85°C cap in a power supply will reduce its operational lifespan by a factor of four.

Frequently Asked Questions

What is the primary function of a capacitor in a DC power supply?

In a DC power supply, the capacitor acts as a reservoir. After the AC mains voltage is stepped down by a transformer and rectified into pulsing DC by diodes, the voltage still drops to zero 120 times a second (in a 60Hz full-wave rectified system). The capacitor charges during the voltage peaks and discharges into the load during the valleys, smoothing the pulsing DC into a relatively flat, usable DC voltage. The larger the capacitance (and the lower the load current), the smaller the residual "ripple" voltage.

Can I substitute a ceramic capacitor for an electrolytic one?

Rarely, and only under specific conditions. Ceramic MLCCs have virtually zero ESR and are non-polarized, which is great for high frequencies, but they are physically limited in maximum capacitance. You cannot easily find a through-hole or standard SMD ceramic capacitor above 100µF. If you need 1000µF for a power rail reservoir, you must use an electrolytic. However, in modern high-frequency switching regulators, engineers often parallel several 22µF or 47µF X5R/X7R ceramics to replace a single bulk electrolytic, achieving lower total ESR and better transient response.

How do I test the function of a capacitor with a standard multimeter?

Most modern digital multimeters (DMMs) have a dedicated capacitance setting (usually marked with an 'F' or a capacitor symbol). Discharge the capacitor safely with a bleeder resistor first, then connect the DMM probes. Note that this only measures the gross capacitance; it will not detect a high-ESR failure in an electrolytic cap. For a functional "go/no-go" test on power supply caps, an dedicated ESR meter (like the Peak ESR70 or DER EE DE-5000) is mandatory. If your DMM lacks a capacitance mode, you can use the resistance (Ω) mode to watch the cap charge (resistance climbs to OL) and then swap the probes to watch it discharge (resistance spikes negative, then climbs back to OL), but this only proves the cap isn't shorted or completely open.