![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Looking over the LM386, I don't see the best way to use this in a circuit and could use some help.
I have a system which has a single 12v supply and an audio signal limited to 0 to 5v since it goes through some digital pots for mixing various sources. That signal is biased to 2.5v, I don't have the exact amplitude, this will be determined by pot settings later. Obviously less than 5v pp. Anyways, the LM386 is an amp but not an op amp. With the basic 20 gain circuit, the 2.5v bias means an output clipping far past the +12v rail. My first thought from an op-amp perspective is of course to put the inverting input on the 2.5v bias point, but the spec sheet says +/-0.4v is an absolute max input value. So I assume this means I will need to put the inverting to ground and capacitively couple the noninverting input? That will mean the input signal will be below ground for 1/2 the cycle- is this the intended operating mode? Now what about the output biasing? It needs to bias to around 6v ideally, before the speaker coupling cap. Does the 386 do this automatically somehow or what? Or does the DC bias of the input just get multiplied by the gain and set the output bias from there? I don't see where this seems to be addressed in schematics.
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes. |
|
|
|
|
|
|
(permalink) |
|
You seem to be somewhat confused?. The LM386 is an audio amp IC, as such the input should be (MUST! be?) AC coupled, so your worries don't apply.
The signal level from your digital volume controls are not related to their supply voltage (only limited by it), so that's not a problem either. The signal applied to the LM386 should be such that it doesn't clip the output - you should ensure that is so!. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Anyways, say I need a 6v output bias- does this chip just work off a straight DC gain, in which case I need to give the noninverting input a DC bias of 6v/20, or does it set the bias itself? I didn't see where the example circuits made any effort to set bias externally like that.
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes. |
||
|
|
|
|
|
(permalink) |
|
The LM386 biases itself to keep its output near half-supply if the input has 0V DC or has an input coupling capacitor as shown on every schematic in its datasheet.
Its inputs are actually at 0V. Make a search in Google for Headbanger and you will find some headphones amp projects using LM386's. :lol:
__________________
Uncle $crooge |
|
|
|
|
|
|
(permalink) |
|
Here's how the biasing works.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|