System noise has become a critical issue for both analog and digital devices. The requirement for speedy interfaces and lower power consumption has resulted in devices being sensitive to disturbances from power and signal lines. A decoupling capacitor or bypass capacitor in a circuit provides high transient currents to an IC and reduces power ripples. Such capacitors are placed close to the power pins of an IC.

Analog circuits such as audio amplifiers produce a hum or a crackling noise during operation, while digital circuits such as microcontrollers exhibit erratic and unpredictable behavior. It happens because the input voltage is not stable. Any device will perform accurately if variations such as glitches, voltage spikes, and AC components remain within the tolerance. A good PCB design must ensure smooth input voltage by addressing intra-system power noise with adequately placed decoupling and bypass capacitors.

### Controlled Impedance Design Guide

6 Chapters - 56 Pages - 60 Minute Read##### What's Inside:

- Understanding why controlled impedance is necessary
- Stack-up design guidelines
- How to design for impedance
- Common mistakes to avoid

##### Download Now

## Why is decoupling necessary?

Decoupling provides a low impedance path from the power supply to the ground. Therefore, choosing a low-inductance but high-value capacitor (low impedance) is very important.

The graph given below is depicting both positive and negative power supplies. It shows how the power supply rejection (PSR) of a high-performance amplifier deteriorates with frequency around 20 dB/decade. Around 90 dB at DC, the PSR drops rapidly at higher frequencies which signifies coupling of unwanted energy on the power line to the output. That’s why it is obligatory to avoid this high-frequency energy from entering the IC. It can be done by incorporating electrolytic capacitors (for low-frequency decoupling) and ceramic capacitors (for high-frequency decoupling).

Power supply rejection specifications are not necessarily specified in the datasheets. But you can always find the recommended power supply decoupling circuits in the applications section of the datasheet. These recommendations should always be followed customarily to ensure the proper operation of the device.

### Sensitivity of an IC

The sensitivity of an IC to power supply fluctuations is represented by power supply rejection ratio (PSRR) or PSR (in dB). **PSRR is the ratio of the change in output voltage to the change in power supply voltage.**

### What is a decoupling capacitor?

A decoupling capacitor is a passive component capable of storing energy in a localized manner. Because of its very nature, it takes time to charge and discharge. It prevents quick changes in the voltage, protecting the system or IC by providing proper DC supply.

The decoupling capacitor is connected in between the power supply and load/IC in parallel. To inhibit the voltage disturbances for each IC, they must be placed locally, i.e., as close as possible to the IC. All power distribution networks have actual impedance and inductance that prevents the instantaneous supply of current, the capacitor controls voltage supply dips and ringing and ensures stability in the circuit voltage.

### What is a bypass capacitor?

A bypass capacitor is used to prevent noise from entering the system by bypassing it to the ground. It is connected between the supply voltage (Vcc) and ground (GND) pins to reduce power supply noise and voltage spikes on the supply lines.

### What is the difference between decoupling and bypass capacitor?

Decoupling capacitor stores energy and dissipates it back into the power rail to maintain the smooth flow of current. The bypass capacitor provides the AC signal return path to switch between the power and ground rail.

Considering their purpose and function, both bypass and decoupling capacitors can be used interchangeably. When powering any device, the primary objective is to provide a very low impedance path with respect to the input power ground. Some of the few noticeable differences are:

- Bypass capacitors are used to provide a low impedance shunt path to the high-frequency noise signals. They ensure high-frequency noise is mitigated before it flows into the entire circuit, resulting in circuit malfunction and an EMI problem. On the other hand, decoupling capacitors are used to stabilize the voltage variations.
- For the function of low impedance shunting, a single electrolytic capacitor is sufficient, but for stabilizing the signal, two different types of capacitors are required.

Also read, how to handle current return path for better signal integrity.

### High-Speed PCB Design Guide

8 Chapters - 115 Pages - 150 Minute Read##### What's Inside:

- Explanations of signal integrity issues
- Understanding transmission lines and controlled impedance
- Selection process of high-speed PCB materials
- High-speed layout guidelines

##### Download Now

## What is the purpose of a decoupling capacitor?

Decoupling capacitors are used to isolate or decouple two circuits. In other words, they decouple AC signals from DC signals or vice versa.

- In the case of input voltage drop, a it provides adequate power to an IC to maintain the voltage level.
- In the case of voltage increase, a decoupling capacitor prevents the excess current from flowing through the IC to keep the voltage stable.

## What type of capacitors are used for decoupling?

### Electrolytic capacitors

Larger electrolytic capacitors (1 to 100 μF) are used to decouple low-frequency noise. These capacitors act as charge reservoirs to fulfill the instantaneous charge requirements of the circuit. Such capacitors should not be placed more than 2 inches away from the IC. Since all electrolytic capacitors are polarized, they cannot withstand more than 1 volt of reverse bias without damage. They have relatively high leakage currents, which depend upon the design, electrical size, and voltage rating vs. applied voltage. Nonetheless, leakage current does not significantly affect decoupling.

### Ceramic capacitors

Low inductance surface-mount ceramic capacitors (0.01 μF – 0.1 μF) are used to decouple high-frequency power supply noise. These capacitors are connected directly to the power supply pins of the IC.

Ceramic capacitors are compact and have a low loss. They have wide temperature tolerance, low ESR/ESL, stability, reliability, and can withstand wide voltage ranges. X7R, Z5U, and Y5V capacitor types are available in values up to several μF with high dielectric constant and voltage ratings up to 200 V. The X7R-type ceramic capacitor is preferred because it shows less change in capacitance as a function of DC bias voltage compared to Z5U and Y5U.

Additionally, NP0 (COG) ceramic capacitors (0.1 μF or less) are also used because of their lower dielectric constant formulation and low voltage coefficient.

### Multilayer ceramic (MLCC) surface-mount capacitors

MLCCs are used for bypassing and filtering at 10MHz or more because of their low inductance design.

In order to be more effective, all decoupling capacitors must be connected directly to a low impedance ground plane. It is advisable to connect these capacitors using short traces or vias to minimize the series inductance.

## How do you place a decoupling capacitor?

The placement of the decoupling capacitor is crucial because it reduces the impedance of power supply rails. Ideally, it should maximize the capacitance and minimize the resistance and inductance. Components like ICs depend on their input voltage for being as steady as possible while operating.

- It should be placed as close as possible to an IC because it protects these sensitive chips by filtering out any excessive noise. The farther away they are, the less effective they will be.

In the figure on the left (as shown above), the connection to both the power pin and the ground is made as short as possible. It is the most effective arrangement. In the figure on the right (as shown above), the PCB trace may cause interference issues by forming a loop. This arrangement is less effective because of the excess inductance and resistance of the PCB trace.

- Always connect decoupling capacitors between the power source and load/IC in parallel to one another.
- Placing a capacitor in series with input and output signal traces removes low-frequency transients from the input and output signals.
- Placing a capacitor in parallel with a resistor reduces high-frequency EMI.
- When using vias to reach the power plane, connect the capacitor to the component pin, then to the via to ensure current flows through the plane.

- Decoupling capacitors are also effective for isolating analog and digital signals. It is achieved by connecting a capacitor between AC and digital PCB ground pours.
**Make sure that power and ground planes are continuous and adjacent:**Placing**The symmetrical placement of adjacent power and ground planes:**Adjacent power and ground planes should be placed symmetrically. It is also advised to minimize the number of layers between the planes and the decoupling capacitors.

For more information, read our blog on Decoupling capacitor placement guidelines for PCB design.

## How do you choose the value of a decoupling capacitor?

The number of capacitors to be used in a circuit depends on the number of power and ground pins and I/O signals present. Choose decoupling capacitors with sufficiently high self-resonant frequencies based on the signal bandwidth or operating frequency.

**Understand the self-resonant frequency: **The capacitor remains capacitive up to this frequency and starts to appear as an inductor above this frequency. The impedance of a decoupling capacitor reaches the minimum impedance at the frequency ω =1 / √LC. This frequency is known as the resonant frequency of a decoupling capacitor.

Lower capacitance and lower inductance yield higher resonant frequency. A higher self-resonant frequency is achieved by selecting a smaller surface-mount component because, typically, a smaller component package has lower parasitic inductance.

The low-frequency noise decoupling capacitor value should lie between 1 µF to 100 µF. The high-frequency noise should lie between 0.01 µF to 0.1 µF.

**Low equivalent series resistance (ESR) and equivalent series inductance (ESL):**Since a capacitor needs to provide current quickly, choose a capacitor with low ESR and ESL.**Smaller package size:**Compact capacitors give the benefit of reducing loop size which further reduces the inductance.

### How to choose the size of a decoupling capacitor for digital PDN?

The size of the decoupling capacitor is evaluated based on the impedance of the power distribution network (PDN) and the charge required by the switching IC. Evaluating accurate capacitor size and placing it correctly helps to reduce ripples and noise on the PDN.

Calculating decoupling capacitor size based on the current drawn during switching and IC voltage.

Where: T_{rise }is the rise time, V_{IC }is the IC voltage, and ΔI is the current drawn.

**Note: **The above formula is valid if the signal bandwidth is less than the self-resonance frequency of the decoupling capacitor. Signal bandwidth is given by: (0.35/signal rise time).

### How to choose the size of a decoupling capacitor for analog PDN?

When providing stable power for an analog IC, the decoupling capacitor constantly charges and discharges to provide stable power as an analog IC operates.

**The size of the decoupling capacitor for an analog IC is given by:**

The current drawn by the IC would be an increasing function of the IC voltage and frequency.

Where: f is the frequency, V_{IC }is the IC voltage, and I is the current drawn.

### How to choose the size of a decoupling capacitor based on PDN impedance?

Decoupling capacitors provide the required charge in a timely manner and reduce the output impedance of the overall PDN. Practically, a it is only effective over a particular frequency range. Its impedance decreases linearly with the decrease in frequency and increases with the increase in frequency. This increase in the impedance of a practical decoupling capacitor is due to the its parasitic inductance.

Also read, How to reduce parasitic capacitance in PCB layout.

One of the best ways to determine decoupling capacitor size is based on the target PDN impedance.

Its size is based on the required voltage ripple, target PDN impedance, and target PDN voltage.

Where: f is the frequency, V_{IC }is the IC voltage, V_{ripple }is the voltage ripple, and Z_{PDN }is the target PDN impedance.

Target PDN impedance and the PDN ripple voltage are functions of the capacitance, making it a very complex problem to solve. Calculating ‘C’ requires several iterations. The above equation is more accurate because it can incorporate the effect of the resonance frequency of the decoupling capacitor and resonances that arise due to parasitics in the PCB layout.

While calculating Z_{PDN }for different values of C and f, we arrive at the best values of C to get the lowest Z_{PDN }for all the frequency ranges.

**Note: **The exact value of the decoupling capacitors to be used is always provided with the ICs datasheet.

## How do you choose the value of a bypass capacitor?

The reactance of the capacitor added to the circuit should be 1/10th or lesser than the resistance in parallel. Current always takes the lowest resistance path, so if you want to switch the AC signal to the ground, the capacitor should have a lower resistance. The capacitance value of the bypass capacitor to be used is :

Where: f is the frequency and X_{C }is the reactance. ‘f’ depends on the operating frequency of the board.

Capacitors are one of the most versatile components used on PCB assemblies, and one of their most important functions is decoupling. In fact, your board’s signal and power integrity may well depend on how effectively you place decoupling capacitors and bypass capacitors.

**Stay tuned for our next blog in the decoupling capacitor series.** **Let us know in the comment section if there is anything specific to PCBs you would like to read about.**