Electronic – In an audio circuit, with an LM386 chip – how does the DC electric power and the AC audio work

acamplifieraudiodcwaveform

I am currently putting together a simple audio amplifier using an LM386 chip. In the midst of studying how this chip works, and the proper circuit analysis behind it, I began thinking about how conventional current would flow in this particular case.

I understand that there is an audio input that produces an AC waveform across the copper into the LM386 chip. There is also a Direct Electric current flowing from a battery into the LM386 chip – utilized for amplification.

It is when these two signals meet that confuses me… The DC current flows with the Audio Waveform on the output of the chip. Based on the picture of the circuit below, I noticed that there are two capacitors, one a high pass and the other a low pass.

From what I have gathered, the capacitors are there to block the DC current, but allow the Audio AC waveform to pass through – clipping waves too high or too low.

What I want to know – how does the DC current boost an alternating waveform if the DC current is only pushing in one direction? When the wave would push one way I would think there would be more power (flows with the current), but then when it pushed the other way, wouldn't it flow up stream?

What does this look like prior to hitting the capacitors? Would the DC current be in a wave pattern, or would it still be a line with the audio waveform alternating around it? I would assume that there would be a solid line of DC flow at a voltage level, with the Audio waveform alternating back and forth with the DC voltage at its mid-point.

Finally, I assume when the capacitors are removed you hear that electric hum… But with the capacitors there, would it not muffle the amplification?

It is a bit of a noob question, and unfortunately I am in the midst of getting an Oscilloscope, but do not have one yet.

I'd appreciate any help on this! Thank you.

enter image description here

Best Answer

The output stage of the LM386 can be simplified to two transistors (NPN & PNP) for examining current flow. I have re-arranged output to show R1, a 10-ohm resistor in series with the 250 uf capacitor C1. Since they're in series, it doesn't matter which goes to ground from an electrical point-of-view. The usual safer practice grounds the speaker rather than the capacitor. For this discussion, it may be easier to see how the capacitor gets charged, if one of its ends is ground-referenced....
LM386 simplified output stage
C1 must start off discharged. Both its ground end and its "hot" end (node 0004 in the schematic) are at zero volts initially at t=0. But eventually, C1 must charge up to about half the supply voltage: this is the bias condition imposed by the internal structure of the LM386: in this case it will charge to +5v. When you first apply power, you may hear a "pop" from the speaker - this will be the charge current that gets C1 up to +5v.
Your question involves the simultaneous AC and DC currents that flow. So I've included an AC source (V2) that drives a sine wave into Q1 & Q2. In the SPICE transient analysis, this 1 KHz sine wave is superimposed onto the charge current for C1. C1's voltage is plotted (red trace). The AC voltage amplitude is small compared to the AC voltage amplitude across R1:
transient analysis:turn-on
Q1 must initially work hard (green trace), because it is burdened with both charge current for C1, as well as supplying the AC load current for R1. Q2 is lightly burdened initially (dark blue trace). Of course, nearly all the charge current is supplied by V1, the DC supply.

Note that current only flows one way from V1 supply (through Q1). When Q1 is off, Q2 drags current in the opposite direction, using C1 as the source of current.

Once C1 is finally charged to +5V, Q1 and Q2 are equally burdened with current flow. Since these currents dominate current flowing into LM386 pin 6, you could monitor current flow there - it would appear similar to the green trace.
Since the current pulled from the DC supply varies from near zero to a large value, it is a good idea to add a big bypass capacitor from pin 6 to ground to smooth any supply variations.