Electricity from the wall swings back and forth, 50 times a second in Europe and 60 in North America. Electronics wants a steady push in one direction. A phone charger, or the black box on a cable that came with your router, gets from one to the other in three steps.
First, a transformer or a switching circuit brings the voltage down. Then four diodes, arranged as a bridge, flip the backward half of every swing forwards, so the current only ever flows one way. That is the rectifying job from part 4. But the result is not steady. It is a string of bumps, 100 a second on 50 Hz mains, falling to zero between each one.
The third step is a big electrolytic capacitor across the output. At the top of each bump it fills up. As the bump falls away, the diodes stop conducting and the capacitor feeds the load on its own, sagging a little until the next bump tops it up. The leftover sag is called the , and a rule of thumb gives its size:
Ripple ≈ current ÷ (100 × capacitance), with 100 bumps a second
A load of 100 mA on a 1,000 µF capacitor: 0.1 ÷ (100 × 0.001) = 1 volt of ripple. Double the capacitor and the ripple halves. When radios that ran from the mains instead of batteries arrived in the late 1920s, they created the first big demand for capacitors like these.
Do not build this part yourself. Everything on the mains side of a power supply can kill. Ready-made plug-in adapters do the job safely, and everything else in this series runs from batteries.
Smooth the ripple
Choose a smoothing capacitor and a load. The dashed line is what comes out of the rectifier, the orange line what the load gets.
Ripple of 0.85 V: smoother, but a regulator chip would be needed to make it truly steady.
Rule of thumb: ripple ≈ current ÷ (100 × capacitance) = 100 mA ÷ (100 × 1000 µF) ≈ 1.00 V.
Ideal diodes and 9 V peaks, from 50 Hz mains. The bracket at the right edge shows the ripple. Real capacitors are often up to 20 % off their marked value, so the ripple on the bench is approximate.
A logic chip is made of thousands or millions of transistors working as switches, which is how computers make decisions; Logic on a Breadboard opens one up to show those switches. Every time a group of them switches, the chip takes a short, sharp gulp of current, billionths of a second long.
The power has to come down wires and tracks, and wires resist sudden changes of current. Not because of their resistance, but because of their inductance: any loop of wire behaves a little like a coil, and a coil fights any change in the current through it. Part 9 shows what a large coil does. A small one is enough to make the voltage at the chip dip briefly at every gulp. A logic chip whose supply dips too far can miscount, lose a bit of memory or reset.
The cure is a : a 100 nF ceramic placed right next to the chip’s power pins, between + and −. It holds a small reserve of charge only millimetres away, and supplies each gulp itself; the wires then only have to top it up gently. The rule in electronics is simple: one 100 nF capacitor per chip, as close to its power pins as you can get it. Look at any circuit board and you will find them, little brown or yellow rectangles beside every chip.
Where the power comes into a board, designers usually add a bigger electrolytic too, 10 to 100 µF, as a reserve for the whole board. The two work as a team: the big one covers slower changes, and the small ones respond fastest.
Where the capacitor goes
The chip switches at every tick of its clock. Watch the voltage at its power pin, then add a 100 nF capacitor at the far end of the wire, or right next to the chip.
Each gulp of current makes the supply at the chip dip to about 3.7 V and ring. A logic chip can miscount or reset when that happens.
Illustrative values for a fast 5 V logic chip fed through long breadboard wires.
The same trick quietens motors. A small DC motor makes sparks inside as it turns, and every spark sends a burst of electrical noise down its wires. A 100 nF capacitor soldered straight across the motor’s terminals soaks most of it up. Part 9 does exactly this.
Part 5 showed that a capacitor charging through a resistor takes a predictable time: about R × C to get 63 percent of the way. That makes the pair a simple clock. Let a capacitor charge until its voltage crosses some threshold, then make something happen, and you have a delay whose length you can set with two parts.
That is how a bathroom fan can run on for a few minutes after the light goes off, how a gadget’s power light can fade, and how the most famous timing chip of all works. The 555 timer, designed by Hans Camenzind in 1971 and sold by Signetics from 1972, does nothing but watch a capacitor charge and discharge between one third and two thirds of its supply. By some estimates, more than a billion are still made every year.
Part 10 builds a timer from two transistors and two capacitors. Its blink rate is set, as always, by R × C.
The same pair can sort signals by how fast they wiggle. Put a resistor in the signal’s path and a capacitor from the far side of it to the − rail. A slow change has plenty of time to charge the capacitor through the resistor, so it passes almost untouched. A fast wiggle is over before the capacitor has charged, so it barely shows up on the other side. Slow signals through, fast noise out: a low-pass filter.
Where it starts cutting is called the cut-off frequency, 1 ÷ (2π × R × C). For 10 kΩ and 100 nF that is about 160 wiggles a second. Swap the two parts round, capacitor in the path and resistor to the − rail, and you get the opposite, a high-pass filter. That arrangement also blocks steady voltages completely, while letting changes through. Part 8 uses one, called a coupling capacitor, to pass music into an amplifier without upsetting its settings.
One part, four jobs: smoothing, decoupling, timing and filtering. Each one comes down to filling a tank and emptying it again. The next part brings in the third component of the series’ title, the one that lets a small current take control of a large one.
Sources for this part
Power supplies and smoothing
Decoupling, timing and filters