What Capacitors Do in a Circuit
Open almost any circuit board and you will find capacitors. They are the small ceramic chips scattered near integrated circuits, the cylindrical cans on power supplies, and the little parts in timing and filter networks. They look like simple components, yet they do several different jobs depending on how they are connected.
This article explains what a capacitor is, how it behaves, and the most common roles it plays.
What a Capacitor Is
A capacitor stores energy in an electric field. Inside are two conductive plates separated by an insulating material called the dielectric. When a voltage is applied, charge collects on the plates, positive on one and negative on the other. No current flows through the dielectric, but the charge that gathers on the plates represents stored energy.
The amount of charge a capacitor holds for a given voltage is its capacitance, measured in farads. Real parts are much smaller than one farad, so you will see microfarads, nanofarads and picofarads. Capacitance increases with larger plate area, thinner dielectric and a dielectric material that supports a stronger field.
How a Capacitor Behaves
The behavior can be summarized in two rules.
- The voltage across a capacitor cannot change instantly. It rises and falls gradually as charge flows in or out.
- Current through a capacitor is proportional to how fast the voltage is changing.
That leads to a useful picture. For a steady direct voltage, a charged capacitor passes no current, so it acts like a break in the circuit. For a quickly changing signal, current flows easily, so the capacitor acts like a short. A capacitor therefore blocks DC and passes AC, and the higher the frequency, the less it resists. That resistance to alternating current is called reactance.
Charging and the RC Time Constant
When a capacitor charges through a resistor, the voltage does not jump to its final value. It follows a smooth curve with a speed set by the time constant, which is resistance multiplied by capacitance. After one time constant, the capacitor has reached about 63 percent of the final voltage, and after roughly five time constants it is effectively full.
A 10 kilohm resistor with a 100 microfarad capacitor gives a time constant of 1 second. This is the basis of delays, debouncing circuits and simple oscillators.
Common Jobs
Decoupling and bypassing
Digital chips draw current in sharp bursts as transistors switch. Long supply wires cannot supply those bursts instantly, so the supply voltage dips locally. A decoupling capacitor placed right next to the chip's power pin acts as a tiny local reservoir that supplies the burst. Typical practice is a small ceramic capacitor close to each integrated circuit supply pin, often with a larger one nearby.
Smoothing
After a rectifier turns alternating current into pulses, a bulk capacitor fills the gaps between peaks. It charges at the peaks and discharges into the load in between, leaving a smoother direct voltage with a small ripple.
Filtering
Combined with a resistor, a capacitor forms a simple filter. In a low-pass filter, the capacitor shunts high frequencies to ground and lets slow signals pass. In a high-pass filter, the capacitor is in series and lets fast changes through while blocking steady levels. The cutoff frequency depends on the resistor and capacitor values.
Coupling and blocking
A coupling capacitor in series with a signal path passes the alternating signal and blocks the direct current offset. This lets stages with different bias voltages connect without disturbing each other.
Timing and energy storage
Timers, oscillators and sample-and-hold circuits use the predictable charging behavior. Large capacitors can also hold up a supply for a short time during a brief interruption, or deliver a quick pulse, such as in a camera flash circuit.
Types of Capacitors
- Ceramic: Small, cheap, nonpolarized and good at high frequencies. Some ceramic types lose capacitance when a direct voltage is applied or when temperature changes.
- Aluminum electrolytic: Large capacitance in a small space, but polarized, so they must be connected the right way round, and they age and dry out over time.
- Tantalum: Compact and stable, polarized, and sensitive to surges.
- Film: Stable and accurate, used where low distortion and long life matter.
Choosing and Using Capacitors
- Pick a voltage rating well above the maximum voltage the capacitor will see.
- Respect polarity on electrolytic and tantalum parts. Reversing them can cause failure.
- Consider tolerance and temperature behavior if the value matters, such as in filters and timers.
- Place decoupling capacitors as close as possible to the pins they serve.
- Remember that real capacitors have small internal resistance and inductance, which limit how well they work at very high frequencies.
Frequently Asked Questions
Why do capacitors block DC?
Once a capacitor charges to the applied voltage, there is no further change in voltage, and current through a capacitor depends on the rate of voltage change. With a steady voltage, that rate is zero, so no current flows.
What happens if I connect an electrolytic capacitor backwards?
The thin oxide layer that forms the dielectric can break down, current rises, and the capacitor may heat up, leak, vent or burst. Always match the marked negative stripe to the lower voltage side of the circuit.
Why are there often several capacitors of different values next to each other?
Different sizes work best at different frequencies. A larger capacitor handles slower changes, while a small ceramic one handles very fast ones. Placing them in parallel covers a wider range of noise frequencies.