EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

LM386 power amp IC question

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Electronic for beginners - LM386 power amp IC question

Goto page Previous  1, 2

Kaz Kylheku
Guest

Wed Aug 31, 2011 8:29 pm   



On 2011-08-30, Tim Wescott <tim_at_seemywebsite.com> wrote:
Quote:
On Tue, 30 Aug 2011 02:14:49 +0000, Kaz Kylheku wrote:

I found an old LM386 chip in one of my piles of junk, and I'm thinking
of putting it into use.

All the schematics in the data sheet use an idiotic, large output
coupling capacitor between the chip and the speaker, which just makes me
cringe.

I'm thinking that since the IC references the output at halfway between
its power rails, and since I'm using a virtual reference in the rest of
my circuit at V/2, can't I just tie the speaker's return to the virtual
ground?

There is a chance that the two voltages may differ, causing some current
to flow at quiescence, and any such current should be kept well below
what the device can deliver.

Any other gotchas with this IC?

It's a crappy chip, but it'll make a noise on a speaker.

Yes it is, but this is not a hi-fi application. I've looked at lots of
datasheets for possible alternatives, such as the RC4580.

Next project, maybe.

Quote:
It used to be popular with the amateur radio crowd, so I bought a bunch
before I knew any better.

That "1/2 VCC" is going to be very approximate -- use the cap.

Right. Since the 1/2 VCC has caps to either power rail, that is
more or less taken care of.

Quote:
I've noticed that unless it is very well bypassed it'll tend to have a
high-frequency oscillation (several hundred kHz or a few MHz, I can't
remember which) on the audio.

I will watch for that. I do have the 0.05 uF cap + 10 ohm resistor at the
output to pull high frequencies down, right from the datasheet example.

Kaz Kylheku
Guest

Wed Aug 31, 2011 8:35 pm   



On 2011-08-30, Rich Grise <richg_at_example.net.invalid> wrote:
Quote:
Michael Black wrote:

Dig further and find a second one. Then feed one 180degrees out of phase
with the first one,

No, don't phase-shift your signal. Just feed the inversion of the signal
to the other input. There should be no appreciable phase shift, just an
inversion of polarity.

Of course what Michael is talking about is a polarity reversal.

This is often called "180 degrees out of phase" by electronic
hobbyists. It's a kind of jargon.

I know, it makes me cringe too, but as long as everyone understands
that what is being discussed is a polarity reversal, it isn't an issue.

Kaz Kylheku
Guest

Wed Aug 31, 2011 8:39 pm   



On 2011-08-30, David Eather <eather_at_tpg.com.au> wrote:
Quote:
The LM386 was/is a great chip for what it was designed for which was low
cost audio at *modest* output levels. It is not HiFi. Using the cap will
not degrade the sound in anyway if the cap is of suitable size. The cap
will in fact provide some protection to the speaker if things go pear
shaped.

I think that this protection is taken care of by the voltage divider
with bypass caps.

The divider has enough resistance such that any DC flowing through the
speaker to the V/2 reference is going to be quite limited.

(Of course there could be a fault in that V/2 network somewhere,
and the speaker is exposed to that.)

Ah well, I have some airline headphones here that can be sacrificed for
a smoke test, and before that, I can measure DC current at the output
terminals.

Phil Allison
Guest

Wed Aug 31, 2011 11:32 pm   



"Kaz Kylheku"

Quote:
Actually, I already have a capacitance there: the two capacitors (with
balancing resistors) forming a divider which establish the reference
voltage.

So if the speaker is based off the reference voltage, there is
AC coupling to ground already.

I just bumped these caps up to 100uF each, which makes 200uF (since we
can consider them to be parallel, looking from the p.o.v. of AC at the
middle reference.)

This is good: use the caps we already have, avoding the introduction
of redundant ones.


** Our smug friend here is about to discover what the term "motor boating "
refers to .


..... Phil

David Eather
Guest

Thu Sep 01, 2011 7:14 pm   



On 1/09/2011 4:39 AM, Kaz Kylheku wrote:
Quote:
On 2011-08-30, David Eather<eather_at_tpg.com.au> wrote:
The LM386 was/is a great chip for what it was designed for which was low
cost audio at *modest* output levels. It is not HiFi. Using the cap will
not degrade the sound in anyway if the cap is of suitable size. The cap
will in fact provide some protection to the speaker if things go pear
shaped.

I think that this protection is taken care of by the voltage divider
with bypass caps.

The divider has enough resistance such that any DC flowing through the
speaker to the V/2 reference is going to be quite limited.

(Of course there could be a fault in that V/2 network somewhere,
and the speaker is exposed to that.)

Ah well, I have some airline headphones here that can be sacrificed for
a smoke test, and before that, I can measure DC current at the output
terminals.

Consider:

Your weird biasing arrangement capacitively couples to the speaker - so
you do not get the benefit you wanted by avoiding the standard circuit
configuration - so on that front it is an outright failure.

In addition to this you introduce a whole bunch of problematic biasing
arrangements which solve *no* problems and introduce others - so that is
a outright failure.

Your new arrangement needs more board space and more components to work
and at *best* it will be only as good as the standard configuration - so
that is a bust too.

Just use the standard configuration and use the extra power supply cap
from the other configuration as the speaker coupling cap.

Kaz Kylheku
Guest

Tue Sep 06, 2011 4:00 am   



On 2011-09-01, David Eather <eather_at_tpg.com.au> wrote:
Quote:
On 1/09/2011 4:39 AM, Kaz Kylheku wrote:
On 2011-08-30, David Eather<eather_at_tpg.com.au> wrote:
The LM386 was/is a great chip for what it was designed for which was low
cost audio at *modest* output levels. It is not HiFi. Using the cap will
not degrade the sound in anyway if the cap is of suitable size. The cap
will in fact provide some protection to the speaker if things go pear
shaped.

I think that this protection is taken care of by the voltage divider
with bypass caps.

The divider has enough resistance such that any DC flowing through the
speaker to the V/2 reference is going to be quite limited.

(Of course there could be a fault in that V/2 network somewhere,
and the speaker is exposed to that.)

Ah well, I have some airline headphones here that can be sacrificed for
a smoke test, and before that, I can measure DC current at the output
terminals.

Consider:

Your weird biasing arrangement capacitively couples to the speaker - so

You are right about this. I did not introduce this weird biasing for the
sake of that LM386; it was in the cicuit already.

I got that idea from other people's dumb designs.

However, after doing some analysis on it, prompted by experimentation
and comments here, I understand why it is completely moronic---and
unnecessary in, and easily removable from, those other designs where I
have seen it used. For instance, in one design I was looking at, this
reference network is used as an AC ground by a number of places in the
circuit, such as voltage dividers in op-amp feedbacks, and attenuation
voltage dividers between op-amp stages. But this is completely silly,
because the real ground can be used instead, since this VREF is an AC
short to the real ground anyway. Moreover, all of those couplings use a
capacitor! I.e. the signal drops through the voltage divider, then
through a small cap (say 0.5 uF), and then into VREF, which has two big
caps (100 uF) going to the power rails. Pointless! Why not just go
through the small cap, right to ground? The one or two places which
actually use VREF for a voltage, rather than abusing it as a ground, can
be satisified by a simple voltage divider (with no caps), which sits
between the regulated power rails, and whose resistance is low enough
with respect to the op-amp inputs that it's rock solid. A spare op-amp,
if available, could be used as a buffer to fortify that voltage.

I understand where people are going with that: they are translating a
two-supply design to a single supply circuit. The mistake is creating
this middle reference network and then treating it if it were the ground
in a two-supply. But it is not such a ground. Single supply requires
some adjustments. The voltage divider reference is susceptible to a
disturbance from low impedance couplings such as voltage sources, so you
never want to couple it to such outputs. It's for "reference" only.
Reference means "you can sample this voltage with a sufficiently high
impedance input which won't disturb it". No such caveat applies to a
real ground.

In the design I have now, I used a pair of fairly large (100K) resistors
to generate a reference voltage. There are no pointless capacitors.
This reference is connected to the noninverting input of an op-amp
buffer (previously unused op-amp put to use). The output of this op-amp
is used as a voltage reference in a couple of places (and never as a
current sink or source).

The LM386 is coupled through a 300 uF resistor to the speaker, obeying
the data sheet. Coupling it to the reference network would have been
dumb, because even thugh the LM386 sits nicely at 4.5V, the slightest DC
drift will be readily impressed upon the voltage divider (since the
LM386 has a lower impedance than the divider), and therefore be fed back
to earlier points in the signal chain which use the reference. This
could lead to oscillations at a low frequency that isn't shunted well
through the VREF caps. Or, for that matter, even oscillation at a very
high frequency that also isn't shunted well through large caps due to
their parasitic inductance.

David and everyone, thanks for all the comments.

Goto page Previous  1, 2

elektroda.net NewsGroups Forum Index - Electronic for beginners - LM386 power amp IC question

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony