Decoupling Capacitors Explained -or- If You Like It Then You Shouldn’t Let It Ring Like That

If you’ve ever wondered how decoupling and bypass capacitors work, or why you should use them on every digital circuit, you need to check out Bertho’s excellent tutorial on the subject. He writes:

While enjoying the 7400 contest, it occurred to me that many of the submitted logic designs lacked some of the most elementary safeties to ensure a working result. One of the most disregarded aspects of the designs was the lack of bypass capacitors. Then, with an article about Murphy’s law linking a Maxim application note, it was decided to write a bit about decoupling and bypass capacitors.

As a person, who can be considered “old” in this line of work, I have experienced the problems of missing decoupling first hand. My first high-speed build was in the mid-eighties as an apprentice at a large electronics firm. The design I was building, a digital frequency measurement, used 74Fxx logic at a speed of 11MHz (which was very fast for the time). It was wire-wrapped on a double euro-card size board and used about 40 logic chips. When the time came to turn it on, I noticed that it didn’t work as expected and all kinds of stuff happened all over the place. After checking the build several times I talked to my supervisor about the problem and he just looked at it and said: “There are no bypass capacitors; mount them on all chips over the power supply and we’ll talk then.”. Completely bewildered I did what he said and, as a miracle, everything just worked. Why would seemingly inert capacitance on the power supply make things work?
My supervisor then told me all about switch/surge currents and inductance of the wiring and went on to tell the tale of decoupling. I admit that it took several years before I really understood what he was talking about, but the lesson was learned: always put capacitors on the power supply of logic chips.

This is probably one of the best discussions of the topic that I’ve ever seen: thorough, well-written, and easy to understand, even for a beginner. The reactive spaghetti monster is a wily beast, and it creeps up everywhere. Many thanks to Bertho for writing this great article about how to defeat him.

[via HaD/Twitter]


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



3 Comments

  1. You have to be careful sprinkling bypass caps all over a design. Resonance from the cap and lead/trace inductance tends to creep in if you are not careful.
    Intersil had an excellent 3 part article, which I believe is a stand alone application note discussing bypass capacitors. I think it was called, "Choosing and using bypass capcitors."

  2. Intersil has a really good app note on the subject of bypass capacitors:
    http://www.intersil.com/data/an/an1325.pdf

  3. Very clever title. Love it.

Sorry, the comment form is closed at this time.