lm4766: Discrete changes in gain?

Status
Not open for further replies.
Can anyone tell me how to make discrete changes in gain on the lm4766? The data sheet says gain is determined by resistors Rf and Ri, but does not explain how to design for a particular gain.

I'd like to have a set of resistors controlled by dip switches to replace Rf or Ri so I can bring the gain of whatever tweeter I happen to be using to the level of the woofer. I intend to size the resistors so I can get 1db or 2db increments over a small range.

Thanks!

An externally hosted image should be here but it was not working when we last tested it.
 

Attachments

  • lm4766sch.jpg
    lm4766sch.jpg
    21.4 KB · Views: 294
The closed loop gain determines the stability compensation required to allow the chipamp to accurately reproduce the signal.

If you have switchable gain you are introducing a high risk of instability and even oscillation.

The gain of a non-inverting amplifier is 1+ Rf/Ri at frequencies where the impedance of the capacitor is very small relative to Ri. Check datasheet for minimum closed loop gain for stability into a resistive load.
Now, increase the gain to make it adequately stable into a reactive (speaker) load.

Don't use that schematic. It has omitted many of of what National term "optional" components. They are not optional, unless you have a lot of experience in how to troubleshoot potentially unstable amplifiers.
 
Thanks Andrew.

Somehow I missed the equations for determining gain on pg 17 of the data sheet.

As for optional components, I assume you mean figure 4:

An externally hosted image should be here but it was not working when we last tested it.


1.Can anyone tell me if I need Rsn and Csn? The amps will be driving 8 ohm speakers with no passive components in line. The inductance of the woofer is ~1mH while the tweeter is very low, on the order of 0.001mH. I'm guessing the tweeter does not need these while the woofer might.

2.No Idea what C1 does, but I'll just assume I need it.

As for the other parts, I think I can get away without them. Please correct me if I'm wrong:

3. I don't think I need Rin or Cin since I'm going to have an input buffer with a decoupling capacitor.

4. I think I can get away without the inductor and the 10 ohm resistor since a.) there will be no passive components/capacitors and b.) the capacitance of the speaker wire should be 170pf (15ft of 18 ga zip), less than the 0.2 uf that the data sheet says is the threshold for ringing. That is assuming the voice coil has no capacitance. Anyone have any experience with this?
 
Do not omit any of those components until you know what effect removing will have.
Add RF attenuation to the input.
Check again what National say about Cs !

There is a lot of leeway for altering values of components, but that is very different from omitting components.
 
Thanks Andrew.

Somehow I missed the equations for determining gain on pg 17 of the data sheet.

As for optional components, I assume you mean figure 4:

An externally hosted image should be here but it was not working when we last tested it.


1.Can anyone tell me if I need Rsn and Csn? The amps will be driving 8 ohm speakers with no passive components in line. The inductance of the woofer is ~1mH while the tweeter is very low, on the order of 0.001mH. I'm guessing the tweeter does not need these while the woofer might.

2.No Idea what C1 does, but I'll just assume I need it.

As for the other parts, I think I can get away without them. Please correct me if I'm wrong:

3. I don't think I need Rin or Cin since I'm going to have an input buffer with a decoupling capacitor.

4. I think I can get away without the inductor and the 10 ohm resistor since a.) there will be no passive components/capacitors and b.) the capacitance of the speaker wire should be 170pf (15ft of 18 ga zip), less than the 0.2 uf that the data sheet says is the threshold for ringing. That is assuming the voice coil has no capacitance. Anyone have any experience with this?


I have tested the chip with the configuration in attached file few days back and I got good enough power and a decent output. You can try this.

Supply voltage: +-28V DC
Filter Cap: 9,400 mfd(4700 X 2) per rail
Xformer current: 2 amp per rail
input: P-P 3V RMS max, from computer sound card
Output: not measured accurately, around 35W in 4 ohm
Heatsink: Xeon server hetsink
Ambient temp: Around 24 - 27 Deg C


You can try and please share your opinion.
 

Attachments

Last edited:
Status
Not open for further replies.