Ben Eater: why adding decoupling capacitors made a 5 V rail oscillate, and the one ground wire that fixed it
A viewer added decoupling caps to a breadboard computer, as every textbook says to, and the supply rail started oscillating. Ben Eater reproduces the fault on his own bench and works out why. For anyone who builds on breadboards or lays out a first PCB and has only been told that more capacitance is better.
The culprit was not the small caps at all. The big electrolytic on the output of the 7805 regulator had no direct ground path back to the regulator, so the return current wandered through a long loop of breadboard rails and jumper wire. That loop is an inductor, and an inductor next to a capacitor is a tank circuit. The decoupling caps near the chips then amplified the ringing instead of killing it. One short ground wire between the regulator and the electrolytic cured it. The lesson is to keep input and output caps tight to the regulator and give them a straight return.
#decoupling#capacitor#voltage-regulator#breadboard#oscillation
0 comments
Log in or sign up to join the discussion.