Decoupling Capacitors and grounding

Decoupling is all about reducing noise in your circuits and its main objective is to provide a low impedance path to short out high frequencies away from your integrated circuits and back to the power supply.

To provide a low impedance at high frequency (but high impedance at DC so filtered voltage/current is fed into the IC) a capacitor is used since its equation is:

Xc = 1/2.PI.f.C

...the higher the frequency (f) the lower that Xc (capacitive reactance) becomes i.e. at high frequency Xc is lower.

Note: At DC f=0 so Xc theorectically is infinite in a real device it can not be infinite due to current leakage.

You might think that placing electrolytic 10uF capacitors everywhere is a good idea since it will give the lowest Xc but large capacitors do not behave well at high frequencies.  This is where the real world asserts itself and you have to choose components based on how they work in the real world not on the 'Ideal'.

Generally for each IC you should use a polyester 100nF or a 10nF for each power/ground connection to the IC and use a few 10uF or 100uF to provide low frequency decoupling elsewhere.

Power supply decoupling

For general decoupling use an electrolytic 100uF or 10uF capacitor at the output of the power supply e.g. from a 7805 (also add to the input of a 7805).  Add more of these for a large board (spread around the board).

Note In a PCB design its easier to leave capacitors off rather than add them later!

Chip decoupling 

You have to ensure that you use decoupling on all chips so place a 100nF capacitor as close to the power supply of each device.  In general you should place one 100nF for every device power supply connection - some devices have two or more power supply connections.

High frequency decouping

To remove high frequency interference use a small capacitance in parallel with each 100nF e.g. a ceramic 10nF - not all capacitors are made the same so smaller ones have a better high frequency response.

Note: You only really need this on critical sections/boards e.g. if interfacing to an RF system it would be a good idea.

Add Series Inductance

Placing a series inductor in the power supply to each chip will also have a decoupling effect e.g. 100uH but ensure it can pass the maximum current the the device can supply.

Use a ground plane to improve decoupling response

This is easiest to do when creating a PCB but you can add insulated copper foil to the back of a prototype.  The ground plane reduces the inductance of the ground return paths and for e=L( di/dt) reducing L reduces e i.e. the induced noise voltage due to ground currents will be smaller - less noise. 

Connect this ground planes at the negative power supply connection only so that digital noise is kept in the digital ground plane and analogue noise is kept in the analogue ground plane.

Separate ground planes for decoupling analogue and digital.

Keep digital and analogue ground places separate. Connect the two grounds at the power supply ground so digital noise goes directly to the power supply negative pin and the analogue ground does not see the digital noise.

Ground Bounce

Digital noise is generally very strong as the signals pass through nearly the full supply voltage range and if driving current hungry devices, large current flows back to the power supply through the ground return path.

If there are analogue devices with their ground connected in the path of this ground return path current) then the small resistance of the device ground pin and inductance of the chip package itself will react to the current - causing ground bounce

The ground reference of the analogue device will change depending on digital signals - and it looks like digital noise at the output of the analogue device.

Jump from decoupling page to
Best Mirocontroller Projects Home Page

New! Comments

Have your say about what you just read! Leave me a comment in the box below.

Privacy Policy | Contact | About Me

Site Map | Terms of Use

Subscribe to the MicroZine Newsletter and collect your free microcontroller Ebooks, download project code and more...

Visit our Facebook Page:

   Click Here

Recent Articles

  1. The Essential I2C Tutorial: All you need to know about I2C...

    I2C tutorial: Learn all about the 2 wire I2C serial protocol. Learn how easy it is to use, how it works and when to use it...

    Read more

  2. [Arduino] : Using the 74HC595 shift register with shiftOut().

    The Essential Guide to the 74HC595; What it is and how you can easily use one in any of your projects.

    Read more

  3. How to use a DS18B20 on the Arduino for easy temperature measurement

    How to Easily Use the DS18B20 Maxim One-Wire thermometer with Arduino example code showing external or parasitic power modes.

    Read more

  4. Secrets of Arduino millis: How it works and how to use it.

    How to use Arduino millis() to make delays, one-shots and simple schedulers plus simple analysis of arduino millis() code; Find out how it works.

    Read more

  5. The TCS230 Color Sensing Chip: How it works and how to use it.

    How to use the TCS230 (/TCS3200) Color detector chip and easily add it to any of your projects.

    Read more

  6. Pic Programmer Types

    Which pic programmer do you need? This page discusses PIC programmers and gives some essential information on choosing or building your own programmer.

    Read more

Readers Comments

"I wanted to thank
you so so so much
for all the information
you have provided in
your site it's


- Ranish Pottath

"This site really is
the best and my favorite.
I find here many useful
projects and tips."

- Milan


"Awesome site,
very, very easy and nice
to navigate!"

- Matt

Learn Microcontrollers

"Interested in

Sign up for The
Free 7 day guide:


"I am a newbie to PIC
and I wanted to say
 how great your
site has been for me."

- Dave


"Your site is a great
and perfect work.

- Suresh


"I couldn't find the correct
words to define
yourweb site.

Very useful, uncovered,
honest and clear.

Thanks so much for
your time and works.

- Anon

Back to Top