What is a decoupling capacitor?
A decoupling (or bypass) capacitor is a small ceramic capacitor connected between a chip's power pin and ground, placed as close to the pin as the layout allows. It supplies the short bursts of current the chip draws every time its logic switches, so the voltage at the pin stays steady instead of dipping while current arrives from the regulator through the inductance of traces and planes. The usual starting point is a 100 nF (0.1 µF) capacitor per power pin or pin pair, backed by a larger bulk capacitor nearby.
Why does a chip need decoupling capacitors?
A regulator cannot react to fast changes in load. TI's BGA decoupling note splits the power distribution network into bands: the power supply itself responds from DC to roughly 30 kHz, bulk capacitors cover about 70 Hz to 40 kHz, secondary bulk capacitors near the chip cover about 15 kHz to 1 MHz, the small decoupling capacitors cover about 1 MHz to 250 MHz, and above 250 MHz only plane-to-plane and on-die capacitance helps.
The decoupling capacitor's job is the 1 to 250 MHz band. At those frequencies the limiting factor is inductance, not capacitance: every millimeter of trace and every via between the capacitor and the pin adds inductance, which is why placement matters more than the exact value.
What value and how many decoupling capacitors?
For microcontrollers, Microchip's getting-started guides ask for a capacitor on every VDD/VSS pair: 0.1 µF, rated 10 to 20 V, low ESR ceramic, with a self-resonant frequency of 200 MHz or more. For dense BGAs, where one capacitor per pin no longer fits, TI recommends one 0.1 µF capacitor in the smallest package your assembler can place (0402 or smaller) for every two power pins, plus at least one bulk capacitor of about 15 µF or more for every ten or so power pins.
Practice varies on mixing values. Microchip suggests adding a 0.01 to 0.001 µF capacitor in parallel when noise reaches tens of MHz. TI argues the opposite for modern parts: in the same body size, a 0.1 µF and a 0.01 µF capacitor have the same inductance, mixed values can resonate against each other, and its simulations found values below 0.1 µF rarely help. The chip's own datasheet or hardware design guide overrides both.
Where should a decoupling capacitor be placed?
As close to the power pin as possible, ideally on the same side of the board. Microchip's guideline is that if a via is unavoidable, the trace from the pin to the capacitor should still be no longer than 6 mm (0.25 in). On a two-layer board without planes, route the supply to the capacitor first and then on to the pin, so the capacitor sits in the current path.
On boards with a solid ground plane, TI's advice is to take both the chip's power and ground balls straight down to the planes with short vias, and connect the capacitor to the planes just as directly, rather than wiring the ball to the capacitor first. Under fine-pitch BGAs, sharing one via between two power or ground balls frees room for 0402 capacitors directly underneath the part; TI discourages sharing a via among more than two balls. See BGA fanout for how that fits with escape routing.
Does a 10 µF capacitor really give 10 µF?
Not always. Murata notes that high dielectric constant ceramics such as X5R and X7R lose effective capacitance as DC voltage is applied, and the loss grows with the voltage; C0G types have no such DC bias effect. The size of the drop depends on the part, so check the manufacturer's bias curve (Murata publishes them through its SimSurfing tool) whenever a bulk or regulator output capacitor matters. For tantalum and electrolytic bulk capacitors, TI suggests a voltage rating about twice the applied voltage to allow for derating.
Common decoupling mistakes
- Placing the capacitor where it fits rather than at the pin, then connecting it with a long thin trace.
- Giving the capacitor's ground end a long route to ground instead of a short via to the plane.
- Forgetting analog, PLL or USB supply pins, which datasheets often decouple separately.
- Adding so much bulk capacitance that a rail ramps up slowly and the chip's required power-up sequence changes, a risk TI calls out explicitly.
- Choosing a ceramic whose capacitance collapses at the working voltage.
Sources
- Texas Instruments: General hardware design/BGA PCB design/BGA decoupling (SPRABV2)ti.com
PDN frequency bands, one 0.1 µF per two BGA power pins, bulk capacitor count, single-value advice, via sharing, power sequencing and derating
- Microchip: Guidelines for Getting Started with PIC18(L)F24/25K40, Decoupling Capacitorsonlinedocs.microchip.com
0.1 µF per VDD/VSS pair, 10 to 20 V rating, 200 MHz resonance, 6 mm trace limit, parallel small capacitor and routing order
- Murata: FAQ, DC bias characteristics of ceramic capacitorsmurata.com
DC bias loss in X5R and X7R ceramics, none in C0G
