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]

Filed under: EE — by johngineer, posted October 26, 2011 at 12:23 pm


Try Adafruit's new iPhone & iPad app for makers! Circuit Playground! "Incredibly handy for anyone working in electronics. Perfect for engineers and non-engineers alike."
Looking for engineers, makers and the builders of dreams? Try our Adafruit job boards.
Join our weekly Adafruit SHOW-AND-TELL at 9:30pm ET every Saturday night! Then at 10pm, ASK-AN-ENGINEER with Ladyada and the Adafruit team!

4 Comments

  1. I “inherited” several Arco-Mills drawer cabinets full of various electronic parts several years ago from a company that I had once interviewed with when they were closing up shop. Among the booty were several drawers full of hundreds of monolithic capacitors in the .01 to 1 uf range at 20-50v. These I now ‘sprinkle’ all over anything I build using one per IC to bypass the power leads. Even new at a few cents per cap they are CHEAP insurance against Mr. Edsel Murphy.

    Comment by K Scharf — October 26, 2011 @ 5:01 pm

  2. 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."

    Comment by L.A.W — October 26, 2011 @ 7:23 pm

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

    Comment by L.A.W. — October 27, 2011 @ 1:49 am

  4. Very clever title. Love it.

    Comment by Eric — October 27, 2011 @ 9:09 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool