The fundamental purpose of a capacitor is to store electrical energy in an electric field and release it when the circuit demands it. In practical electronics and electrical wiring, this physical property translates into four distinct jobs: decoupling (smoothing local high-frequency voltage dips), filtering (blocking DC while passing AC signals), bulk energy storage (smoothing rectified power supply ripple), and timing (paired with resistors in RC oscillators). Choosing the wrong component for these jobs leads to circuit instability, excessive heat, or catastrophic failure.
Which Capacitor Type for Which Job?
Selecting the right dielectric material is the most critical decision in passive component design. The dielectric dictates the capacitance density, temperature stability, equivalent series resistance (ESR), and voltage derating requirements. Below is a selection matrix for the most common types you will encounter on a PCB or in a power supply.
| Dielectric / Type | Construction | Typical Tolerance | Tempco / Stability | Best Application (Selection Criteria) |
|---|---|---|---|---|
| MLCC (C0G/NP0) | Multilayer Ceramic | ±1% to ±5% | 0 ±30 ppm/°C (Ultra-stable) | RF matching, precision timing, audio signal paths. Zero piezoelectric noise. |
| MLCC (X7R/X5R) | Multilayer Ceramic | ±10% to ±20% | ±15% over temp range | General decoupling, bypassing IC VCC pins. Avoid in precision analog due to microphonics. |
| Aluminum Electrolytic | Wound foil with liquid/polymer electrolyte | ±20% (often -10% / +50%) | Poor (High tempco, dries out over time) | Bulk power supply filtering, low-frequency smoothing. High capacitance-per-dollar ratio. |
| Tantalum (MnO2) | Sintered tantalum powder pellet | ±10% to ±20% | Moderate | Space-constrained bulk filtering on low-voltage rails (e.g., 3.3V/5V). High fire risk if failed. |
| Metallized Polypropylene (Film) | >Wound plastic film with vapor-deposited metal±1% to ±5% | Excellent, self-healing | AC line filtering (X/Y safety caps), audio crossovers, high-current snubber circuits. |
Decoding Physical Markings and Codes
Reading capacitor markings is a mandatory bench skill, especially when salvaging parts or replacing unmarked through-hole components. The encoding scheme changes entirely depending on the physical package and chemistry.
Ceramic Disc and MLCC 3-Digit Codes
Small ceramics use a three-digit EIA code measured in picofarads (pF). The first two digits are the significant figures, and the third digit is the multiplier (number of zeros).
- 104: 10 × 104 pF = 100,000 pF = 100 nF = 0.1 µF. (The most common decoupling cap in existence).
- 472: 47 × 102 pF = 4,700 pF = 4.7 nF.
- 221: 22 × 101 pF = 220 pF.
If a letter follows the numbers (e.g., 104K), it indicates the tolerance: J = ±5%, K = ±10%, M = ±20%, Z = +80%/-20%.
Radial and Axial Electrolytics
Electrolytics usually print the value directly (e.g., 470µF 25V). The critical marking here is the polarity stripe. On an aluminum electrolytic capacitor, the painted stripe with minus signs (-) indicates the negative terminal. This is the exact opposite of diode markings, where the stripe indicates the cathode. Reversing polarity on an electrolytic will cause the internal dielectric oxide layer to break down, generating gas and leading to a violent venting explosion.
Film Capacitor Voltage Codes
Film caps often use a letter to denote the DC voltage rating before the capacitance code. For example, on a 2J104J capacitor:
- 2J: 63V DC rating (1J = 50V, 2A = 100V, 2E = 250V).
- 104: 100 nF capacitance.
- J: ±5% tolerance.
Visual Failure Modes and Bench Diagnostics
Capacitors are the most common point of failure in aging power electronics. According to reliability data from Cornell Dubilier Technical Papers, electrolytic capacitor wear-out accounts for over 30% of power supply field failures. Here is how to identify them on the bench.
Aluminum Electrolytic Failures
- Domed Top (Venting): The internal pressure relief cross on the top of the can bulges outward. This happens when the electrolyte boils due to excessive ripple current or reverse voltage, generating hydrogen gas.
- Base Leaking: A crusty, brownish-black residue on the PCB beneath the capacitor. The rubber bung at the bottom has dried out and failed, allowing electrolyte to seep out and corrode the copper traces.
- Hidden ESR Degradation: The capacitor looks perfectly fine visually, but the circuit fails to start. The liquid electrolyte has slowly evaporated over 10+ years, increasing the Equivalent Series Resistance (ESR). A standard multimeter will still read the correct capacitance, but an ESR meter will show a value >1.0Ω (a healthy 1000µF cap should be <0.05Ω).
Ceramic and Tantalum Failures
- MLCC Flex Cracking: Invisible to the naked eye. Bending the PCB during assembly or operation causes the rigid ceramic body to fracture, often resulting in a dead short between the internal layers. Look for micro-cracks near the solder fillets under 10x magnification.
- Tantalum Thermal Runaway: If subjected to a voltage spike exceeding its derated limit, a MnO2 tantalum capacitor will ignite. Visually, this leaves a charred, black scorch mark on the board and a distinct smell of burnt sugar and ozone. Always derate tantalum caps by at least 50% (e.g., use a 10V cap on a 5V rail).
Safe Substitution Rules When the Exact Part is Missing
When you are troubleshooting a board at 2 AM and lack the exact BOM part, you can substitute components if you follow strict electrical boundaries. For deeper theory on how these components interact in DC networks, refer to the All About Circuits DC Textbook.
- Voltage Rating (Always Go Up): You can safely replace a 16V capacitor with a 25V or 50V part. Never substitute a lower voltage rating. Edge case: In high-frequency switching regulators, a much larger physical can (from a higher voltage rating) will have higher ESL (Equivalent Series Inductance), which might destabilize the control loop.
- Capacitance Value (Context Dependent): For bulk power filtering, going up 50% (e.g., swapping 470µF for 680µF) is usually fine and may even reduce ripple. For timing circuits (555 timers, RC oscillators) or active filters, you must stay within 1% to 5% of the original value, or the frequency will shift.
- ESR Matching (Critical for SMPS): Never replace a low-ESR polymer or specialized high-ripple electrolytic with a standard general-purpose electrolytic in a switching power supply output. The standard cap will overheat and vent within hours due to the high-frequency ripple current.
- Dielectric Swaps: You can swap an X7R ceramic for an X5R in most non-precision roles. Never swap a Y5V or Z5U for an X7R; Y5V loses up to 80% of its capacitance at room temperature under rated DC bias, which will starve your IC of decoupling current.
Frequently Asked Questions
What is the purpose of a capacitor in a single-phase AC motor?
Single-phase AC power creates a pulsating magnetic field, not a rotating one, meaning the motor has zero starting torque. The purpose of the capacitor here is to create a phase shift. By placing a capacitor in series with a secondary start winding, the current in that winding is shifted out of phase with the main winding. This simulates a two-phase system, creating a rotating magnetic field that 'kicks' the rotor into motion. Once the motor reaches roughly 75% of operating speed, a centrifugal switch disconnects the start capacitor.
What is the purpose of a bypass capacitor on a microcontroller VCC pin?
When an ESP32 or ATmega328P microcontroller switches its GPIO pins or fires up its RF transmitter, it draws sudden, high-frequency spikes of current (transients). The parasitic inductance of the PCB traces and the power supply's wiring prevents the main voltage regulator from reacting fast enough to supply this current, causing the local VCC voltage to dip (brownout). A 100nF ceramic bypass capacitor placed within 2mm of the IC's VCC pin acts as a localized, high-speed energy reservoir. It supplies the instant transient current, keeping the power delivery network (PDN) impedance low at high frequencies and preventing the MCU from resetting.
What is the purpose of a run capacitor versus a start capacitor?
While both are used in AC motor circuits, their purposes and physical constructions are entirely different. A start capacitor is typically an electrolytic type designed for intermittent duty; it provides a massive phase shift for high starting torque but must be disconnected by a relay within seconds to prevent overheating. A run capacitor is usually an oil-filled or metallized polypropylene film capacitor designed for continuous duty. It remains in the circuit while the motor runs to improve the motor's power factor, reduce running current, and smooth out torque pulsations, thereby increasing overall electrical efficiency and motor lifespan.






