LM386 Output Impedance - Page 1
Forum section: electronics / beginners

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 09:14:30 am
content: Hi,Does anybody knows what is the impedance that the LM386 presents at its output pin?I want to know if by placing a capacitor from its output pin to ground, apart fromcreating a current bank, I am also creating a low pass filter.Thanks.

author: fcb
author_rank: Super Contributor
timestamp: March 27, 2014, 09:19:35 am
content: You needs a Zobel network on the LM386 when driving speakers). Don't rely on output impedance to form an LPF, you'll end up with a power oscillator!Form your LPF at the input, not the output of the part.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 09:21:17 am
content: Actually, I want to avoid making a low pass filter on the output, that is why I want to knowits impedance.

author: David_AVD
author_rank: Super Contributor
timestamp: March 27, 2014, 09:31:18 am
content: Maybe specify what you're trying to achieve and a diagram?

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 09:38:00 am
content: I've just told you.I want to avoid creating a low pass filterwhen I place a capacitor on theoutput of the LM386 and ground.For example the op amp's output impedance is almost zero.I cannot find the output impedance of the LM386 in any datasheet.

author: David_AVD
author_rank: Super Contributor
timestamp: March 27, 2014, 10:00:44 am
content: So, explain why you want to put a cap (to ground) on the output.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 10:03:23 am
content: I've also told you that as well...Quote

author: David_AVD
author_rank: Super Contributor
timestamp: March 27, 2014, 10:12:20 am
content: Quote from: hgg on March 27, 2014, 10:03:23 amSo what does that really mean?Do you want to low pass filter the output or "create a current bank" ?

author: Andy Watson
author_rank: Super Contributor
timestamp: March 27, 2014, 10:19:20 am
content: I do not understand why people ask questions and yet are evasive when asked to clarify the context. However, since you want a specific answer: The output impedance is irrelevant because strapping a capacitor to groundwillcreate a low pass filter. Whether this is significant to you requires more information. But, note FCB's warning.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 10:26:48 am
content: Quote1) I want to create a "current bank".By placing a capacitor on the output of the LM386 you are creating a "current reserve"which will help on sudden current surges.2) I want to avoid creating a low pass filterIf the LM386 presents a respectable amount of resistance on its output, then if youground that resistance with a cap you create a low pass filter which will decreasethe bandwidth of the output.That is why I want to know the LM386 output impedance, in order to choose the maximumcapacitor for the bandwidth I want.QuoteWhy is that so?If I understand correctly, if the impedance is not zero then the cut-off frequency could bepretty low and the bandwidth would be crippled.F = 1 / (2 * pi * R * C)

author: David_AVD
author_rank: Super Contributor
timestamp: March 27, 2014, 10:30:48 am
content: Quote from: hgg on March 27, 2014, 10:26:48 amCan you elaborate on the ultimate reason you want to do this? I'm guessing it's not being used as an audio amplifier?

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 10:38:47 am
content: It will be used as an audio amplifer driving an 8 ohms speaker, but it will also outputfrequencies greater than 20Khz. (100Khz max).But my initial question was much more simple than that.Does the LM386 present an output impedance unlike an op amp?Maybe this is not a known value and I am asking in vain.

author: Andy Watson
author_rank: Super Contributor
timestamp: March 27, 2014, 10:39:46 am
content: Quote from: hgg on March 27, 2014, 10:26:48 amBecause you can always take the frequency to a high value at which the capacitor impedance will cut-off the bandwidth. The frequency at which the cut-off occurs may be outside the range of you application. However, I don't think adding capacitance across the output is going to have the effect that you expect, also, if the capacitance is large enough to have an effect it will (almost by definition) impinge on the frequency response.

author: David_AVD
author_rank: Super Contributor
timestamp: March 27, 2014, 10:41:36 am
content: To be honest, I think you're going about this the wrong way.If the LM386 doesn't have enough output drive for the application, you'll need to use something else. Adding a capacitor to the output is not going to help.The LM386 data sheet will specify what impedance it will safely drive. Is your load less that this?

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 10:47:29 am
content: QuoteYes, I forgot. ESR... That is pretty low anyway, so it will not affect my application which needs abandwidth of 100Khz. Thanks.QuoteI don't know if you have tried it, but it actually does help.The load is an 8 ohms speaker.

author: David_AVD
author_rank: Super Contributor
timestamp: March 27, 2014, 10:50:00 am
content: I'm not sure if anyone can help you if you don't tell the whole story of what you're trying to achieve.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 10:55:54 am
content: ...Achieved...https://www.eevblog.com/forum/projects/pulsing-light-amplifier/Fine tuning now.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 12:00:36 pm
content: @Andy WatsonQuoteNow that I think about it, I am not sure that the above is correct.The ESR impedance presents itself in series with the capacitor,so it will not act as low pass filter. It will only limit the current toground at high frequencies.Anyway, what about the actual impedance of the LM386 output pin?Is this a known value?If not, can it be calculated somehow?

author: w2aew
author_rank: Super Contributor
timestamp: March 27, 2014, 01:15:38 pm
content: Maybe I'm missing something on what you're trying to accomplish...Using a large capacitor as a "current bank" is something you'd do on the power supply rails - to keep them from sagging during transient high-current demands from the circuit. Putting a large capacitor on the output of the audio amplifier only serves to make the amplifier work harder (push/sink more current) to charge/discharge the capacitor in order to change the output voltage at the speaker.In other words - you WANT the voltage to vary at the 386 output, and you DON'T want the voltage to vary on the supply. That's why you'd put the cap on the supply. Putting it on the output is counter-productive, placing a heavy load on the amplifier output.

author: Mark Hennessy
author_rank: Frequent Contributor
timestamp: March 27, 2014, 01:57:45 pm
content: Agreed. Slapping a capacitor across the output of an audio amplifier usually turns it into an oscillator. After which, the magic smoke often gets out. Bad, bad idea. Properly designed audio amplifiers have inductors in series with the output to reduce the risk of this, of course.Theopen-loopoutput impedance of an op-amp is a complex affair. But in the case of the LM386, which is designed to drive a loudspeaker, the short answer will be "as low as possible". Perhaps just a couple of ohms. Why don't you measure it? Not with a Fluke, obviously, but by applying Thevenin's Theorem?http://en.wikipedia.org/wiki/Th%C3%A9venin%27s_theoremYou'll probably have to close the loop to do this, in which case you'll have to calculate the open-loop Zout from your knowledge of the feedback factor at the test frequency.The responses you got on this thread were pretty reasonable - it's not an easy answer to give based on the information you gave. This stuff is actually quite involved - to get started I'd recommend reading Douglas Self's power amplifier design book, assuming you're happy with the basics of transistors. PDF versions can be found online.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 02:02:16 pm
content: Hello w2aewm,I used the capacitor because it was suggested in the LM386 datasheet.http://www.ti.com/lit/ds/symlink/lm386.pdfThey are using a 47nF capacitor.Now that you mention it, I did not take into account the 'sinking' part, and the capacitorwill indeed place an additional load on the output. Why are they using it, then?QuoteI am trying to create a flat frequency response and apart from the opamp bandwidth, I am tryingto find out what other components might act as low pass filters in my circuit. I liked the idea ofhaving small wireless light radios in the house by modulating the audio signal to the room LEDlighting. I will make very small versions of the L2S that will read the modulated light and reproducethe music.I have already done that, but it seems that the circuit acts like the following equivalent equalizeron the signal :Sample music transferred :http://chirb.it/dnPd4CIf I solve this problem, the transferred audio would be of a very respectable quality.I guess one thing is the opamp I used which has a low bandwidth but I am trying to findother possible causes as well.Mark, thank you for your suggestions.

author: qno
author_rank: Frequent Contributor
timestamp: March 27, 2014, 07:32:00 pm
content: This could be the light sensitive transistor.These are high impedance devices where capacitive load is influenncing the frequency charracteristic.You could try FM or PWM modulation

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 07:40:19 pm
content: Hi, its not a light sensitive transistor. I am using a the BPW34 photodiode which is supposedto be very fast. Its capacitance is 25-40pF @ 1Mhz.

author: qno
author_rank: Frequent Contributor
timestamp: March 27, 2014, 08:15:12 pm
content: Same thing with the diode.This is a high impedance device. Any capacitive load of the opamp it is connected to or PCBtrack or wire wiil form a low pass filter.Try some preemphase at the transmitter.

author: hgg
author_rank: Frequent Contributor
timestamp: March 27, 2014, 08:51:25 pm
content: Pre-emphasis. Interesting.I was looking exactly for something like that .Thank you!

author: fcb
author_rank: Super Contributor
timestamp: March 27, 2014, 09:20:48 pm
content: This thread is bizarre. Current banking...So you are trying to build a small "wire-less" amplified speaker.My suggestion would be use FM over your optical link, much much easier to get a flat response. Use a 4046 to demodulate the FM carrier (say 40-60KHz) - Philips did a great 4046 app note many years back. Once you've got good audio, then worry about the amplification.BTW the LM386 is shit.

author: Hideki
author_rank: Frequent Contributor
timestamp: March 27, 2014, 10:25:05 pm
content: I don't think you understand WHY they put a capacitor there in the data sheet. It's a zobel network, and in most of the drawings you may notice that the capacitor is in series with a 10 ohm resistor.The speaker may present about 8 ohms at lower frequencies (except for its resonance peak), but its impedance will rise at higher frequencies (it is a after all a big inductor) so the capacitor gradually shunts in the 10 ohms in parallel with the speaker to keep the total impedance seen by the LM386 about the same.It has nothing what so ever to do with "current banking" - whatever that means. It does have something to do with stability.

author: w2aew
author_rank: Super Contributor
timestamp: March 27, 2014, 10:45:58 pm
content: Quote from: hgg on March 27, 2014, 02:02:16 pmIt's there to ensure stability (part of a Zobel network, as mentioned previouslyhttp://en.wikipedia.org/wiki/Zobel_network). It does not affect the frequency response. 47nF has a capacitive reactance of about 170 ohms at 20kHz. This is not in the feedback path, and appears in parallel with your speaker (8 ohms?), so does not affect the frequency response to the speaker really at all, at least not as a low pass filter as you may have been expecting.I suspect, as the others have stated, that the rolloff you're seeing the frequency response is due either to your sound-light conversion scheme, or your light-to-sound conversion. Even though you're using a low capacitance photodiode to pickup the light, the circuit configuration will have a huge affect on the achievable BW (photoconductive mode vs. photovoltaic mode, etc.). I highly suspect that your BW limitations lie in the S2L and L2S circuits...

author: hgg
author_rank: Frequent Contributor
timestamp: March 28, 2014, 05:07:10 am
content: FCB, I thought of using FM as well but I am a newbie and I though that I would learn much more,if I try to find the cause of the problem. If I fail, I will try FM. (and mess up even more)Hideki, very good explanation! Thank you. When I was trying to figure out why they were usingthe capacitor/resistor to ground, I couldn't find any info. Then, one website was supposedlyexplaining the reason.http://www.learningaboutelectronics.com/Articles/How-to-connect-a-LM386-audio-amplifier-chipIt turns out that not only the explanation was wrong but the LM386 wiring was totally wrong as well...w2aew, yes the problem is definitely in the S2L part, because when I used the 555 to test thefrequency response, the result was much better. (but still there). I need to make a LED pulserthat will have the same amount of light intensity up to 100Khz and then look at the L2S circuitfor similar problems.Thank you very much for your help!

author: TonyStewart
author_rank: Contributor
timestamp: May 27, 2023, 12:11:25 pm
content: I know this is an old thread but this audio amp is intended for lower power from a battery. Yet at max Vout  vs V+ in , this output stages are based drive limited push-pull Darlington &https://www.wikiwand.com/en/Sziklai_pairoutput are limited on the high side which protects it but also makes the Rout very high for a power amp at Vmax out. My calculations show this rises from 4 to 6 ohms using the method of KVL at 50% load loss rising at maximum output power. This means damping factor is low in this condition.It would be better to use complementary Darlingtons driven from a Rail to Rail Op Amp with negative feedback as the excess gain lowers the output impedance reduces the error with effectively a lower regulated output impedance. Don't be fussy about biasing the 2.4V drop between the bases to prevent shoot thru as the GBW of R2R OA will eliminate any crossover distortion and not be visible or audible." alt="" class="bbc_img" />