condensadores-bypass-filtrado

Bypass, Filtering and Timing Capacitors

  • 4 min

An capacitor is a component that stores energy in an electric field. This ability to exchange charge allows it to sustain a power supply during transients, filter signals, and create delays.

If you look for the theoretical definition, they’ll tell you it “stores energy in an electric field.” Okay, great. But what use is that to me in practice?

In practice, think of a capacitor as an inertia tank or a voltage buffer. The capacitor hates sudden voltage changes. If the voltage tries to jump up, the capacitor absorbs energy to slow the rise. If the voltage drops, the capacitor releases its energy to support it.

Today, we’ll look at its three real-world uses: bypass, filtering, and timing.

Bypass Capacitor

This is, without a doubt, the most widespread use and, at the same time, the one most beginners forget.

In many schematics, you’ll see small 100 nF capacitors next to each integrated circuit. These are bypass capacitors.

The Problem: Hungry Chips

Digital circuits (like a microcontroller) don’t consume current constantly. They are frantic. Millions of transistors turn on and off simultaneously with the clock rhythm.

This causes instantaneous current demand spikes. The power supply might be far away (through long wires), and wires have inductance (resistance to current change).

Result: The current doesn’t arrive in time. The voltage at the chip’s pin drops momentarily (a “voltage sag”), and the microcontroller resets or makes errors.

The Solution: A Local Reservoir

We place a small capacitor (ceramic, fast) as close as possible to the power supply pins of the chip.

It acts as an emergency water tank. When the chip needs a quick gulp of current, the capacitor provides it instantly, without having to wait for it to come from the main source.

As a starting point, place a 100 nF ceramic capacitor between VCC and GND, near each power supply pair of the integrated circuit.

Filtering Power Supplies

If bypassing is for fast changes (high frequency), filtering is usually for slow changes or large amounts of energy (low frequency).

When we convert Alternating Current (AC) to Direct Current (DC) using a diode bridge, what we get is not a flat line, but a signal full of “humps” (rectified signal). No digital circuit would survive on that.

For this task, we use larger capacitors, usually electrolytic (the cylindrical ones with a negative stripe).

  • How it works: when the source voltage rises, the capacitor charges close to the peak value. When it drops between one hump and the next, the capacitor discharges into the load, reducing the gap.
  • Result: The voltage line becomes almost flat (though a small “ripple” remains).

The larger the capacitance (microfarads, µF), the more charge it can store and the smoother the resulting voltage. For a typical power supply, values from 470µF to 2200 µF are common.

Timing with RC Circuits

As we saw when discussing the Tau (𝜏) constant, capacitors take a predictable time to charge through a resistor.

is the time constant: during an ideal charge towards a step, after a time the voltage has covered approximately 63.2% of the total change. The circuit’s threshold determines the actual delay.

Example: Automatic Reset Circuit

Many chips need, upon power-up, the RESET pin to be held low for a few milliseconds to start correctly. Using a simple RC circuit (Resistor + Capacitor), we can make the voltage on the RESET pin rise slowly when power is connected, giving the chip time to stabilize.

Example: Oscillators

If we combine a capacitor that charges and discharges cyclically with a comparator (like in the famous 555 chip), we get a wave or pulse generator. The capacitor sets the rhythm of the circuit’s “heartbeat.”

Which Capacitor to Choose

Not all capacitors are the same. To keep things simple, remember this basic distinction:

TypeMaterialTypical CapacitancePolarityMain Use
CeramicCeramicFrom pF to µF, depending on typeNoBypass, high frequency and filtering.
ElectrolyticAluminum/LiquidHigh (µF to mF)YES (+/-)Power supply filtering, Energy storage.

Watch out for polarity. A polarized electrolytic can heat up, vent, or burst if connected backwards. The stripe usually indicates the negative terminal; always check the marking.

Standard ceramic capacitors have no polarity.