A capacitor’s primary function is to store electrical energy in an electric field and release it when needed. In practical circuit design, this core physics translates into four distinct operational jobs: smoothing voltage ripples in power supplies, blocking DC while passing AC signals in audio paths, filtering high-frequency noise off power rails, and providing instantaneous current bursts to ICs during switching events. Unlike a battery, which stores energy chemically and releases it slowly, a capacitor stores energy electrostatically, allowing it to charge and discharge in milliseconds or microseconds.
The Core Physics and Circuit Behavior
The energy stored in a capacitor is defined by the equation E = ½CV². If you place a 100µF capacitor across a 12V DC rail, it stores 7.2 millijoules of energy. While that number is tiny compared to a battery, the rate at which it can deliver that energy (power) is massive. This low equivalent series resistance (ESR) and high instantaneous current delivery is exactly why we place 100nF ceramic decoupling capacitors physically adjacent to the VCC pins of microcontrollers like the ESP32 or ATmega328P. The capacitor acts as a localized, high-speed energy reservoir, preventing the voltage rail from dipping (brownout) when the IC suddenly switches its GPIO pins or fires up its RF radio.
Capacitor Types and Selection Matrix
Choosing the right dielectric is where most hobbyist designs fail. A 10µF capacitor is not just a 10µF capacitor; the dielectric material dictates how it behaves under temperature, voltage bias, and frequency stress. According to All About Circuits, misunderstanding dielectric classes leads to severe capacitance loss in real-world operating conditions.
| Type / Dielectric | Construction | Tolerance | Tempco / Stability | Typical Use Case |
|---|---|---|---|---|
| Ceramic (C0G/NP0) | Class 1 Multilayer (MLCC) | ±1% to ±5% | 0 ±30 ppm/°C (Ultra-stable) | RF filters, oscillator timing, precision analog |
| Ceramic (X7R/X5R) | Class 2 Multilayer (MLCC) | ±10% to ±20% | ±15% over temp (Voltage derating applies) | General decoupling, bypass, bulk storage |
| Aluminum Electrolytic | Foil and liquid electrolyte | -20% to +80% | Poor (High tempco, dries out over time) | Power supply bulk filtering, low-freq audio coupling |
| Film (Polypropylene) | Metallized plastic film | ±1% to ±5% | Excellent (Self-healing properties) | AC motor run caps, high-voltage snubbers, audio crossovers |
| Tantalum | Sintered tantalum powder | ±10% to ±20% | Stable, but prone to thermal runaway | Space-constrained bulk decoupling, medical/military |
Decoding Capacitor Markings and Physical Codes
Reading capacitor markings depends entirely on the physical package size and dielectric type. Here is the framework for decoding what the markings mean on the bench:
1. The 3-Digit Ceramic Code (pF base)
Small through-hole and SMD ceramics use a three-digit EIA code. The first two digits are the significant figures, and the third digit is the multiplier (number of zeros), expressed in picofarads (pF).
- 104: 10 × 10⁴ pF = 100,000 pF = 100 nF = 0.1 µF. (The most common decoupling cap in electronics).
- 473: 47 × 10³ pF = 47,000 pF = 47 nF.
- 221: 22 × 10¹ pF = 220 pF.
2. Tolerance Letters
You will often see a letter trailing the numeric code. This indicates the capacitance tolerance:
- J = ±5%
- K = ±10%
- M = ±20%
- Z = +80% / -20% (Common for older electrolytics used only for bulk storage)
3. Electrolytic and Film Direct Printing
Larger radial electrolytics and film capacitors print values directly. A marking reading 470µF 25V is literal. However, watch for the stripe on electrolytic capacitors: this stripe, often accompanied by minus signs (-), designates the negative lead. Reversing polarity on an aluminum electrolytic will cause it to vent violently.
Failure Modes and Visual Diagnostics
Capacitors rarely fail silently. Knowing the visual and electrical symptoms of failure saves hours of troubleshooting time. The Cornell Dubilier Engineering Guides detail the chemical and mechanical breakdown mechanisms of these components.
- Aluminum Electrolytic (Drying Out / Venting): Visual Symptom: The top aluminum dome bulges upward, or the rubber bung at the bottom pushes out, leaving a crusty brown or black residue on the PCB. Electrical Symptom: Capacitance drops significantly, and Equivalent Series Resistance (ESR) spikes. The power supply will exhibit high ripple voltage and may trigger over-voltage protection.
- MLCC Ceramic (Flex Cracking): Visual Symptom: Usually invisible to the naked eye. Caused by PCB bending during depaneling or connector insertion. Electrical Symptom: A dead short between VCC and GND. The board will draw excessive current and the voltage rail will collapse. You must use a thermal camera or isopropyl alcohol evaporation trick to find the shorted, heating component.
- Tantalum (Thermal Runaway): Visual Symptom: The component cracks open, burns, or leaves a scorch mark on the board. Tantalum capacitors fail catastrophically (often catching fire) if subjected to reverse polarity, voltage spikes exceeding their rating, or high ripple current.
Safe Substitution Rules When the Exact Part Is Missing
When you are prototyping or repairing a board and lack the exact BOM component, follow this decision framework to substitute safely without compromising circuit stability.
- Voltage Rating: You can always substitute a higher voltage rating for a lower one (e.g., using a 50V cap in place of a 16V cap). Never substitute a lower voltage rating. Note that higher voltage caps are physically larger and may have higher ESR.
- Capacitance Value (Decoupling/Bypass): For power rail decoupling, substituting a slightly higher value (e.g., 220nF instead of 100nF) is generally safe and often beneficial for low-frequency noise suppression.
- Capacitance Value (Timing/Filters): If the capacitor sets an oscillator frequency (like in a 555 timer astable circuit) or an active filter cutoff frequency, the value must be exact. Substituting a 10% tolerance part for a 1% C0G part will shift your frequency response.
- The ESR Trap in Linear Regulators: Do not blindly replace an output electrolytic capacitor on an older Low Dropout (LDO) regulator (like the LM1117) with a low-ESR ceramic MLCC. Many legacy LDOs require a minimum ESR (often 0.3Ω to 3Ω) on the output to maintain control loop stability. Swapping to a ceramic will cause the regulator to oscillate and output high-frequency noise.
- Dielectric Class: Never substitute a Class 2 (Y5V/X7R) ceramic for a Class 1 (C0G/NP0) in RF, audio signal paths, or precision timing circuits. The piezoelectric effect and voltage coefficient of Class 2 parts will inject microphonic noise and distortion into the signal.
Frequently Asked Questions
What is the function of the capacitor in a single-phase AC motor?
Single-phase AC motors cannot generate a rotating magnetic field on their own; they need a phase shift to create starting torque. A start capacitor (typically high capacitance, electrolytic, intermittent duty) shifts the current phase in the auxiliary winding to get the rotor spinning, then disconnects via a centrifugal switch. A run capacitor (lower capacitance, oil-filled film, continuous duty) remains in the circuit to optimize the magnetic field, improve power factor, and reduce motor hum and heat during continuous operation.
What is the function of the capacitor on a microcontroller VCC pin?
It acts as a high-frequency decoupling (or bypass) reservoir. When a microcontroller's internal logic gates switch states simultaneously (like during a clock edge or RF transmission), they draw nanosecond spikes of current. The trace inductance of the PCB power plane prevents the main power supply from reacting fast enough. The 100nF ceramic capacitor, placed within 2mm of the IC pin, supplies this instantaneous current locally, preventing the VCC voltage from dipping below the IC's brownout detection threshold.
What is the function of the capacitor in an audio crossover network?
In a passive speaker crossover, a capacitor functions as a high-pass filter. Because capacitive reactance (Xc = 1 / 2πfC) decreases as frequency increases, the capacitor blocks low-frequency bass signals (which see high impedance) while allowing high-frequency treble signals to pass through to the tweeter. This protects the delicate tweeter voice coil from being destroyed by low-frequency power it cannot physically reproduce.
Can I substitute a polarized capacitor for a non-polarized one?
Yes, but only in specific DC scenarios. If the circuit node never sees a reverse voltage or an AC signal that swings below ground, you can use a polarized electrolytic in place of a non-polarized film cap to save space and cost. However, in AC coupling applications (like audio signal paths between amplifier stages) or across AC motor windings, you must use a non-polarized capacitor (like film or bipolar electrolytic). Applying a reverse voltage to a standard polarized electrolytic will cause the dielectric oxide layer to break down, leading to gas generation, venting, and explosion.






