Capacitors store electrical energy in an electric field between two conductive plates separated by a dielectric. In practical circuits, they perform four specific jobs: block DC while passing AC (coupling), smooth power supply voltage ripple (filtering), absorb high-frequency transient noise (decoupling), and set precise timing constants alongside resistors (RC networks). Think of a capacitor like a pressurized water accumulator on a plumbing line: it absorbs sudden pressure spikes and releases stored volume when demand outpaces the pump. If you need to pass a 1kHz audio signal but block a 12V DC bias, you use a 1µF film capacitor in series. If you need to smooth a 120Hz ripple on a 5V rail, you place a 470µF electrolytic in parallel.
The Core Jobs: Which Capacitor Type for Which Task?
Selecting the right capacitor is not just about matching the microfarad (µF) value. The dielectric material dictates the component's equivalent series resistance (ESR), temperature stability, and voltage derating characteristics. Using an aluminum electrolytic for high-frequency decoupling will fail because its internal inductance (ESL) makes it act like a choke at 50MHz. Conversely, using a ceramic MLCC for bulk energy storage is physically and economically unfeasible past a few hundred microfarads.
| Type | Construction | Tolerance | Tempco (Temp. Coefficient) | Typical Use |
|---|---|---|---|---|
| Ceramic (MLCC) | Alternating layers of ceramic and metal | ±5% to +80/-20% | C0G (Stable), X7R (Moderate), Y5V (Poor) | High-freq decoupling, RF matching, bypass |
| Aluminum Electrolytic | Etched aluminum foil with liquid/polymer electrolyte | ±20% typical | Wide variance, degrades at high temp | Bulk filtering, power supply smoothing, audio coupling |
| Tantalum | Porous tantalum anode with manganese dioxide cathode | ±10% to ±20% | Stable over temp, but highly voltage-sensitive | Space-constrained bulk decoupling, medical/military |
| Film (Polypropylene) | Metallized plastic film wound or stacked | ±1% to ±5% | Highly stable, low dielectric absorption | Audio crossovers, AC line filtering, snubber circuits |
For a deeper look at the physics governing these dielectrics, the All About Circuits textbook on capacitors provides excellent foundational math on capacitance and electric fields.
Decoding the Silk Screen: How to Read Capacitor Markings
Through-hole and large surface-mount capacitors usually print their values directly, but small MLCCs and ceramic disc capacitors rely on the EIA 3-digit code. Misreading this code is a primary cause of bench errors.
The 3-Digit EIA Code:
Take a ceramic disc capacitor marked 104K 50V.
- First two digits (10): The significant figures.
- Third digit (4): The multiplier (number of zeros to add), in picofarads (pF).
- Calculation: 10 followed by four zeros = 100,000 pF.
- Conversion: 100,000 pF = 100 nF = 0.1 µF.
Tolerance Letters:
The 'K' in our example means ±10% tolerance. Other common codes include 'J' (±5%), 'M' (±20%), and 'Z' (+80% / -20%, common for older Y5V decoupling caps).
Never substitute a Y5V or Z5U dielectric for an X7R or C0G/NP0 in a circuit exposed to temperature swings or high DC bias. A 10µF Y5V capacitor rated at 10V will physically lose up to 80% of its capacitance when 5V DC is applied across it, and another 50% at 85°C. Always check the manufacturer's DC bias derating curves—Murata's MLCC technical guides are the industry standard for this data.
Bench War Story: When a 100nF Decoupling Cap Killed an ESP32
The Setup: I was debugging a custom carrier board for an ESP32-WROOM-32 module. The 5V input was routed through a switching buck converter to generate the 3.3V rail. Following standard practice, I placed a 0805-size 100nF X7R MLCC directly on the VDD pin of the ESP32, and a 10µF X5R on the buck converter output.
The Numbers: The 5V rail was nominal, but the buck converter layout had a long, inductive ground return path. During switching transitions, this inductance caused a 14V ringing spike on the 5V rail, which coupled into the 3.3V rail. Furthermore, due to DC bias derating, the 10V-rated 100nF X7R cap was only providing about 65nF of actual capacitance at 3.3V.
The Outcome: The ESP32 kept brownout-resetting whenever the WiFi radio transmitted (drawing ~250mA pulses). Probing with an oscilloscope showed the 3.3V rail dipping to 1.9V under load. The decoupling network was failing to supply the transient current.
What Went Wrong: Two compounding failures. First, the X7R DC bias derating starved the circuit of the expected 100nF. Second, the board was subjected to mechanical flexure when plugging in a tight USB-C connector. MLCCs are brittle; the flexure caused a micro-crack in the 0805 ceramic body. This crack eventually shorted the internal electrodes, dragging the LDO enable pin low and locking the board in a dead state. The fix: Switched to a 220nF C0G/NP0 cap (immune to DC bias derating), added a 100µF low-ESR polymer bulk cap near the module, and improved the ground vias under the buck converter.
Visual Autopsy: Capacitor Failure Modes and Symptoms
Capacitors rarely fail silently. Knowing what a dying component looks like saves hours of oscilloscope probing.
- Aluminum Electrolytic (Venting & Drying): The most common failure in aging power supplies. The liquid electrolyte boils due to high ripple current or ambient heat, building internal pressure. Visual symptom: The scored cross on 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. Electrically, the ESR skyrockets and capacitance drops.
- MLCC (Flex Cracking): Ceramic caps fail mechanically. Visual symptom: Usually invisible to the naked eye. Under a microscope, you will see a hairline fracture near the solder pad, often at a 45-degree angle. Electrically, it presents as a dead short circuit, blowing the upstream fuse or causing a localized PCB burn mark.
- Tantalum (Thermal Runaway): Tantalums have very low tolerance for voltage spikes and reverse polarity. Visual symptom: Catastrophic failure. The epoxy case splits, the component catches fire, and leaves a charred, blackened crater on the FR4 board. It smells distinctly like burning plastic and ozone.
- Film Capacitors (Internal Arcing): Used in AC line applications, these can suffer from partial discharge. Visual symptom: The plastic case may bulge or melt slightly at the seams. In oil-filled variants, a distinct 'fishy' odor indicates dielectric breakdown.
The Substitution Matrix: How to Swap Parts Safely
When your parts bin is missing the exact BOM component, you can substitute safely if you follow the physics of the circuit. Never guess; use this decision matrix.
1. Voltage Rating: Always Go UP
You can safely replace a 16V capacitor with a 25V or 50V part. Never go down. However, be aware that higher voltage electrolytics often have higher ESR and larger physical footprints, which might not fit the PCB pad.
2. Capacitance Value: Context is Everything
For decoupling and bypass (e.g., a 100nF cap on an IC VCC pin), you can safely substitute a higher value, like 1µF or 2.2µF. The IC will just see a larger local energy reservoir. For timing, oscillators, and active filters (e.g., the RC network on a 555 timer or an audio crossover), the value must be exact. A 10% variance in a 10nF timing cap will shift your oscillator frequency by 10%, potentially pushing a PWM signal out of spec for a motor driver.
3. ESR and Ripple Current: The Switching Regulator Rule
Never substitute a standard aluminum electrolytic for a 'Low-ESR' polymer or ceramic capacitor on the output of a switching buck/boost converter. Modern switching regulators rely on the specific ESR zero of the output capacitor to stabilize their internal control loop. Swapping in a standard high-ESR cap will cause the regulator output to oscillate wildly; swapping in a zero-ESR ceramic without adding a series resistor can cause phase-margin collapse and ringing.
4. Dielectric Temperature Coefficient
Never swap a C0G/NP0 (Class 1) ceramic for an X7R (Class 2) in a high-precision analog filter or a VCO (Voltage Controlled Oscillator). X7R exhibits microphonics (piezoelectric effect) and capacitance shift with temperature, which will inject noise and drift into your analog signal path.






