Electrical – Bypass capacitor theory

amplifiercurrentpowervoltage

The bypass capacitor is seen on almost every amp out there but is it really necessary? As in many text book, it serve 2 purpose:
1. Act as short to ground at high frequency which shunt noise from other noise source that couple into the power supply through the power supply trace.
2. Act as a power source for fast transient current at high frequency.
But in reality, i see many amps connect the power supply directly to the V+ or V- leg of the opamp, if we want to maximize effect (1), it should be power supply -> bypass cap -> ic legs. So i think most of the time, the bypass cap is there to serve for purpose (2) but, here is the impedance plot of a 0.1uf x7r capacitor from kemet:
enter image description here
You can see that at audio frequency, the impedance of the capacitor is very high, so when a "high" frequency audio signal need to be produce by the amp, the current should flow from the power supply because it has much lower output impedance at audio frequency, not the capacitor. The capacitor is only good at 1->100Mhz which is far above audio frequency. So what is the real benefit of a by pass capacitor?

Edit: the bypass here is some 100nf or 1uf ceramic capacitor from V+ or V- of opamp to ground. I just want to disscus the benefit of bypass capacitor in audio application, especially with opamp as headphone amplifier. Here is my simulation which take account of trace impedance and inductance, the load is about 5cm from the power supply and is bypass by a 10uf 70mR esr tantalum and 1uf ceramic which is the bypass strategy often seen in headphone amplifier. The blue trace is without bypass and green trace is bypassed. As you can see, the bypass capacitor only has effect from 300khz which is far above audio frequency.
enter image description here

Best Answer

A typical opamp used in audio has a gain bandwidth product somewhere in the one to a few tens of MHz, so the things usually have quite some gain outside the audio band.

Also, it is instructive to remember the current flows in loops, and that typically the opamps output is referenced to some 'ground return' which is NOT directly connected to one of the opamps power pins (They are often +-15V or so), the bypass caps near the opamp serve to close this loop and minimise the potential for magnetic coupling (proportional to loop area).

A further bit of nastyness is that a class AB opamp will impose half wave rectified current pulses onto the tow power rails as the output switches from sourcing to sinking and vice versa, the local caps help minimise these loop areas too.

Now 100nF was sort of standard for ceramics, back in the day but these days 1uF is readily available in 0603 X7R and is worth using, and wise designers tend to use a local electrolytic as well, a few 10s of uF is useful, do not go for overly low ESR here. Some of us like a modest series resistor before this arrangement as well, it both adds a pole and helps to damp any resonances between the power network and the rather large caps back at the board entry, 10 ohms or so is usually ok.

It is surprising how little series inductance it takes when you have 1000uF across the input to give a resonance in the audio or low ultrasonic region.

I only really got this stuff once I stopped thinking about voltage as somehow being the primary thing and started thinking about current (and its loops) as being at least as big a consideration, for all that the schools seem to concentrate of voltages as being the thing.