A capacitor is a passive electronic component that stores electrical energy in an electric field by accumulating charge on two conductive plates separated by an insulating dielectric.
The Core Physics: Storing Charge and Blocking DC
When you ask what is a capacitor doing in a circuit, the most accurate answer is that it opposes changes in voltage. In a real installation or PCB layout, a capacitor changes the behavior of the power delivery network by smoothing out voltage ripples, blocking DC while passing AC signals, and providing instantaneous current bursts to microcontrollers during switching events.
People commonly confuse capacitors with batteries because both store electrical energy. However, a battery stores energy chemically and releases it slowly over hours or days. A capacitor stores energy electrostatically and dumps it in milliseconds. A battery is a fuel tank; a capacitor is a pressurized accumulator.
The Water Pipe Analogy: Think of a capacitor as a flexible rubber membrane stretched tightly across a water pipe. Water (DC current) cannot flow through the membrane. But if the water pressure pulses rapidly (AC or voltage ripple), the membrane flexes back and forth, transmitting the pressure wave to the other side without any actual water crossing the barrier.
Worked Numeric Example: Sizing a Power Supply Filter Capacitor
Let's look at a real bench scenario. You are building a linear power supply for a Class-A audio preamp. Your full-wave rectified 60Hz AC source yields a peak DC voltage of 18V, and your circuit draws a steady 1.5A load. The preamp requires a highly stable rail, so you decide your maximum allowable voltage ripple (Vripple) is 0.5V.
To find the minimum required capacitance, we use the standard full-wave rectifier filter formula:
C = Iload / (fripple × Vripple)
- Iload = 1.5 Amperes
- fripple = 120 Hz (because a full-wave rectifier on 60Hz mains produces 120 pulses per second)
- Vripple = 0.5 Volts
Plugging in the numbers:
C = 1.5 / (120 × 0.5) = 1.5 / 60 = 0.025 Farads.
Converting to microfarads (µF), we get 25,000 µF. Since 25,000 µF is not a standard E12/E24 series value, you would select the next standard size up: a 33,000 µF aluminum electrolytic capacitor.
Bench Tip: Sizing the capacitance is only half the battle. At 1.5A, you must also check the capacitor's datasheet for its Ripple Current Rating. If the datasheet specifies a maximum ripple current of 1.2A RMS and your circuit draws 1.5A, the capacitor will overheat, dry out its internal electrolyte, and fail prematurely. You would need to parallel two 15,000 µF capacitors to share the thermal load.
Where You Meet Capacitors in Practice
You will rarely design a circuit that doesn't rely on capacitors. Here is where they show up on the jobsite and the workbench:
- Decoupling and Bypass: Every VCC pin on an ESP32, Arduino, or 74-series logic IC needs a 100nF (0.1µF) ceramic capacitor placed as close to the pin as possible. When the microcontroller switches internal transistors, it demands a spike of current. The local ceramic capacitor supplies this in nanoseconds before the main power supply can react, preventing brownouts and logic glitches.
- Motor Start and Run: Single-phase AC induction motors (like those in HVAC compressors or workshop table saws) cannot generate a rotating magnetic field on their own. They use a 40µF to 80µF oil-filled run capacitor wired to the start winding to shift the AC phase angle, creating the torque needed to keep the motor spinning smoothly.
- Power Factor Correction (PFC): Industrial facilities with massive inductive loads (conveyor motors, transformers) suffer from 'lagging' power factor, meaning they draw more apparent power than they actually use. Utilities penalize this. Facilities install banks of large film capacitors to inject leading reactive power, canceling out the inductive lag and lowering their electric bill.
Capacitor Dielectrics and Real-World Failure Modes
The insulating material between the plates (the dielectric) dictates the capacitor's behavior. According to SparkFun's component guides, choosing the wrong dielectric is a primary cause of prototype failure.
| Dielectric Type | Typical Range | ESR (Equivalent Series Resistance) | Common Failure Mode |
|---|---|---|---|
| Ceramic (MLCC) | 10pF – 100µF | Very Low (< 50mΩ) | Mechanical cracking from PCB flex or thermal shock; piezoelectric 'singing' in audio circuits. |
| Aluminum Electrolytic | 1µF – 100,000µF | Medium to High (50mΩ – 2Ω) | Electrolyte evaporation over time (drying out); catastrophic venting if reverse-biased or subjected to overvoltage. |
| Film (Polypropylene) | 1nF – 100µF | Extremely Low (< 10mΩ) | Dielectric breakdown from high dV/dt voltage spikes; physical swelling in AC motor run applications. |
Safety Warning: Never short a large electrolytic or film capacitor with a screwdriver to discharge it. The instantaneous current can weld the tool to the terminals and shower you with molten metal. Always use a properly rated high-wattage bleeder resistor (e.g., a 1kΩ 10W resistor) to safely bleed off the stored charge.
Frequently Asked Questions
What is a capacitor used for in a ceiling fan?
In a ceiling fan, the capacitor is wired in series with the auxiliary (start) winding. It shifts the phase of the AC current in that winding by roughly 90 degrees relative to the main winding. This phase shift creates a rotating magnetic field that gives the fan the initial torque to start spinning and keeps it running smoothly. If your fan hums but won't spin, or runs only on high speed, the run capacitor (usually 1.5µF to 3µF) has likely lost its capacitance and needs replacing.
Can I replace a capacitor with a higher uF rating?
It depends entirely on the application. In a power supply filter, a higher µF rating is generally fine and will reduce ripple voltage, provided the physical footprint fits and the inrush current doesn't blow your upstream fuse. However, in an AC motor run circuit, you must not deviate by more than ±5% from the original µF rating. A higher µF capacitor on a motor will cause excessive current flow through the start winding, leading to overheating and eventual motor burnout.
Why do capacitors explode on a circuit board?
Electrolytic capacitors explode or vent when their internal liquid electrolyte boils into gas, building immense pressure. This happens for three main reasons: 1) Reverse polarity (applying negative voltage to the positive terminal), which causes rapid chemical breakdown. 2) Overvoltage exceeding the rated WVDC (Working Voltage DC), causing dielectric breakdown and an internal short. 3) Exceeding the ripple current rating, which causes internal I²R heating. As noted in All About Circuits, always derate the voltage by at least 20% (e.g., use a 25V cap on a 12V rail) to ensure longevity.
What is the difference between a start capacitor and a run capacitor?
A start capacitor is designed for intermittent duty. It provides a massive phase shift and high starting torque for a few seconds until the motor reaches 75% of its rated speed, at which point a centrifugal switch disconnects it from the circuit. They are typically high capacitance (70µF–800µF) and use non-polarized electrolytic construction. A run capacitor remains in the circuit continuously while the motor operates. It is designed for continuous duty, uses a lower capacitance (1µF–80µF), and is usually constructed with oil-filled polypropylene film to handle constant AC current without overheating.






