The Core Physics: How a Capacitor Actually Works
At its most fundamental level, a capacitor stores electrical energy in an electric field. It consists of two conductive plates separated by an insulating material called a dielectric. When a DC voltage is applied, electrons accumulate on one plate, creating a negative charge, while the electric field repels electrons from the opposite plate, leaving it with a positive charge. Because the dielectric prevents the electrons from crossing the gap, the charge remains stored even after the voltage source is removed, until a discharge path is provided.
The capacitance value (measured in Farads) is dictated by the physical geometry and the dielectric material, expressed by the formula:
C = εrε0(A / d)
- A = overlapping area of the plates
- d = distance between the plates
- εr = relative permittivity (dielectric constant) of the insulating material
- ε0 = permittivity of free space (8.854 × 10-12 F/m)
Numeric Example: If you charge a 100µF (0.0001 F) capacitor to 12V, the energy stored is calculated using E = ½CV². Therefore, E = 0.5 × 0.0001 × (12)² = 0.0072 Joules (7.2 mJ). While 7.2 mJ seems small, releasing it in a microsecond through a low-resistance short yields a massive instantaneous current spike, which is exactly why we use them for decoupling high-speed ICs.
The Water Analogy: Imagine a water pipe with a flexible rubber membrane stretched completely across the inside. If you apply steady water pressure (DC), the membrane stretches and holds a volume of water (charge), but eventually, steady flow stops. However, if you rapidly pulse the water pressure back and forth (AC), the membrane flexes continuously, transferring the pressure waves to the other side without any actual water crossing the barrier. This is precisely how capacitors block DC while passing AC signals.
Which Type for Which Job? (Comparison Matrix)
Selecting the right dielectric is just as critical as selecting the right capacitance value. Using an X7R ceramic in a precision analog filter will introduce microphonic noise and voltage coefficient errors, while using a C0G in a bulk power supply filter is physically and economically impossible. Here is the bench-level breakdown of the four primary capacitor families.
| Type | Construction / Dielectric | Typical Tolerance | Tempco / Stability | ESR Range | Typical Use Case |
|---|---|---|---|---|---|
| MLCC (Ceramic) | Multi-layer ceramic (X7R, C0G/NP0) | ±0.5% (C0G) to ±20% (Y5V) | C0G: Near zero. X7R: ±15% over temp. | Ultra-low (<10mΩ) | High-freq decoupling, RF matching, snubbers. |
| Aluminum Electrolytic | Etched aluminum foil with liquid/polymer electrolyte | -20% / +80% | Poor. Capacitance drops heavily below -20°C. | High (20mΩ - 1Ω) | Bulk DC filtering, AC/DC power supply smoothing. |
| Film (Polypropylene) | Metallized plastic film wound or stacked | ±1% to ±10% | Excellent. Highly linear, no piezoelectric effect. | Low to Moderate | Audio crossovers, AC line filtering, high-voltage snubbers. |
| Tantalum | Porous tantalum pellet with manganese dioxide/polymer | ±10% to ±20% | Moderate. Better low-temp performance than Al-elec. | Low (50mΩ - 200mΩ) | Space-constrained DC decoupling, medical/aerospace. |
Decoding Physical Markings and EIA Codes
Through-hole resistors use color bands, but small surface-mount and radial ceramic capacitors rely on the EIA (Electronic Industries Alliance) 3-digit code system due to limited surface area. Misreading these codes is a primary cause of bench errors.
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). The resulting value is always in picofarads (pF).
- 104 = 10 × 104 pF = 100,000 pF = 100 nF = 0.1 µF. (The most common decoupling cap in existence).
- 222 = 22 × 102 pF = 2,200 pF = 2.2 nF.
- 473 = 47 × 103 pF = 47,000 pF = 47 nF.
Tolerance Letters: You will often see a letter trailing the numeric code. J = ±5%, K = ±10%, M = ±20%. A marking of 104K is a 0.1µF capacitor with a 10% tolerance.
Voltage Codes: Many tantalum and electrolytic capacitors print the voltage directly (e.g., 16V, 50V). However, some SMD codes use a letter-number system. For example, 1E = 25V, 1H = 50V, 2A = 100V. Always verify the specific manufacturer's voltage code chart before soldering a salvaged part into a 48V circuit.
Failure Modes and Visual Symptoms on the Bench
Capacitors rarely fail without leaving forensic evidence. According to KEMET's technical resources on MLCC failures, mechanical stress and thermal runaway are the primary culprits in modern PCB assemblies. Here is what to look for when troubleshooting.
Unlike ceramics, manganese-dioxide tantalum capacitors fail as a dead short. If the power supply can deliver high current, the short causes localized heating, which lowers the dielectric resistance further, creating a thermal runaway loop. This results in literal fire, smoke, and a distinct, acrid chemical smell. Always use current-limiting resistors or fuses when prototyping with solid tantalum caps, or switch to polymer tantalums which are self-healing and flame-retardant.
1. Aluminum Electrolytic: Bulging and Venting
Visual Symptom: The cross-scored top dome is pushed upward (bulging), or the rubber bung at the bottom is extruded. You may see dried, crusty brown/black residue on the PCB.
Root Cause: The liquid electrolyte slowly evaporates over time, accelerated by heat (ripple current or ambient). As the electrolyte degrades, internal Equivalent Series Resistance (ESR) rises, generating more heat. Eventually, the electrolyte boils, generating hydrogen gas that pops the pressure relief vent. A bulging 1000µF cap in an ATX power supply or LED driver is a guaranteed failure point.
2. MLCC (Ceramic): Flex Cracking
Visual Symptom: Often invisible to the naked eye. Under a microscope, you will see a diagonal crack starting from the edge of the solder fillet and propagating up into the ceramic body. Sometimes accompanied by a localized scorch mark on the PCB.
Root Cause: PCB bending. When a board is depanelized, screwed into an enclosure with uneven standoffs, or subjected to connector insertion force, the board flexes. Because the ceramic is rigid and brittle, the mechanical strain cracks the dielectric layers, causing an internal short circuit. All About Circuits notes that placing MLCCs parallel to the direction of board bend significantly reduces this risk.
3. Film Capacitors: Dielectric Absorption and Corona
Visual Symptom: The outer epoxy or plastic casing may show melting, charring, or a split seam. In high-voltage AC applications, you might hear a faint buzzing or hissing sound before failure.
Root Cause: In AC line applications, voltage spikes exceed the dielectric's breakdown voltage, causing internal partial discharges (corona). This slowly erodes the metallization until a hard short occurs.
Safe Substitution Rules for Missing Parts
When you are repairing a board or building a prototype and lack the exact BOM component, you can substitute, but you must follow strict electrical rules to avoid secondary failures.
- Voltage Rating: The substitute MUST have a voltage rating equal to or greater than the original. A 50V cap can safely replace a 25V cap. However, in high-frequency switching regulators, drastically oversizing the physical package of an electrolytic cap can increase ESL (Equivalent Series Inductance) due to longer internal foil leads, potentially causing ringing. Stick to the next logical voltage step up (e.g., 35V instead of 25V).
- Capacitance Value:
- Decoupling/Bypass: You can substitute within ±50%. A 0.22µF can replace a 0.1µF for general IC decoupling.
- Timing/Filters: Do NOT substitute. RC and LC time constants dictate the exact frequency response. A 10% deviation will shift your cutoff frequency.
- Bulk Power Filtering: Going higher is generally fine and will reduce ripple voltage, provided the inrush current doesn't trip your upstream breaker or blow the rectifier diodes.
- ESR Requirements: If replacing a cap in the output filter of a switching buck converter or a motherboard VRM, the original design likely relies on a specific ESR to maintain control loop stability. Substituting a low-ESR polymer cap for a standard high-ESR aluminum electrolytic can cause the regulator to oscillate. Always check the datasheet for "Low ESR Required" notes.
Frequently Asked Questions
How does a capacitor work in a DC circuit vs an AC circuit?
In a pure DC circuit, a capacitor acts as a temporary energy reservoir. It draws a high inrush current while charging to the source voltage, and once fully charged, it blocks all further DC current flow (acting as an open circuit). In an AC circuit, the continuous reversal of voltage polarity causes the capacitor to constantly charge and discharge. This continuous movement of electrons in and out of the plates allows AC current to effectively "flow" through the circuit, with the opposition to this flow (capacitive reactance, Xc) decreasing as the AC frequency increases.
Why does my replacement capacitor keep failing immediately?
If a newly soldered capacitor fails within hours or days, you are likely dealing with one of three issues: 1) Excessive ripple current. The RMS ripple current in the circuit exceeds the replacement part's rated ripple current, causing internal overheating. 2) Reverse polarity. Aluminum electrolytic and tantalum capacitors are polarized. Applying even a small reverse voltage (as little as 1-2V) degrades the oxide dielectric layer, leading to a rapid short. 3) High-frequency impedance. You replaced a high-frequency, low-ESR cap with a standard general-purpose electrolytic, which cannot react fast enough to the switching transients, leading to thermal breakdown.
Can I safely use a higher voltage capacitor than the original?
Yes, electrically, a higher voltage rating is always safer as it provides a larger dielectric margin against voltage spikes. However, there are physical and high-frequency trade-offs. Higher voltage capacitors are physically larger, which may not fit the PCB footprint or enclosure. Furthermore, in RF or high-speed digital circuits, larger physical packages have higher parasitic inductance (ESL), which can degrade the capacitor's ability to filter high-frequency noise. For power supplies, upgrading from 25V to 35V is standard practice; upgrading from 25V to 400V on a 12V rail is unnecessary and detrimental to high-frequency performance.
How does a capacitor work to smooth out rectified AC voltage?
When AC mains voltage passes through a bridge rectifier, it is converted into a pulsating DC waveform that drops to zero volts 120 times a second (in a 60Hz system). A large bulk capacitor (often 2200µF to 10000µF) is placed in parallel with the load. During the voltage peaks, the capacitor charges and stores energy. During the valleys between peaks, when the rectifier output drops, the capacitor discharges its stored energy into the load. This charge/discharge cycle fills in the "valleys" of the waveform, converting the harsh pulsating DC into a relatively flat, steady DC voltage with only a small residual AC ripple.






