I am new to analog electronics and I am still learning about op amps. I am driving an 8ohm 15 watt speaker with just an op amp and my phone. What I do not understand is that I have a dual supply, 10V and -10V, more than enough voltage to handle audio being doubled from a cell phone. If the speaker is 15 watts, and there is sufficient supply voltages on both ends. How is there distortion when I turn up the volume or heavy bass occurs? When I run a sine wave from my function generator through the circuit I have no problems at all, I can turn up the amplitude until the output is clipped by the supply voltage. Does anyone know what is happening with my phone input/output though?
-
\$\begingroup\$ An op-amp is not a power amp but you can get some op-amps that are called power op-amps. \$\endgroup\$– Andy akaCommented Aug 27, 2017 at 17:12
-
\$\begingroup\$ With heavy bass, say 100Hertz, the power supply may not have the charge storage to provide current to the speaker, even if the OpAmp has the output current rating. Also, 1 volt across 8 ohms requires 120 milliAmps (0.12 amps) and no standard opamp will handle that (heatsinking required). \$\endgroup\$– analogsystemsrfCommented Aug 27, 2017 at 17:14
-
6\$\begingroup\$ -1 for not mentioning that what is crucial: what opamp you're using Almost no opamp can drive a low impedance speaker and certainly not 15 W. If you'd be using a suitable opamp then probably you would have mentioned that because then you'd know not all opamps are the same. \$\endgroup\$– BimpelrekkieCommented Aug 27, 2017 at 17:42
4 Answers
Since you're new to electronics I simplify here a little bit:
OpAmps don't have the current drive capability to drive speakers directly. Speakers usually have a impedance in the low ohms. 8 Ohm is typical.
A ordinary OpAmp won't drive much more than 50mA to 100mA. At 10V Signal that is roughly equal to an impedance of 1000 to 2000 Ohm. Much higher than your speakers.
If you connect speakers to your OpAmp output, the OpAmp will likely try to drive the speakers nonetheless, but after reaching the current limit it won't drive it any further. That will clip the waveform, and this is what you hear as distortion.
You need a power amplifier stage to drive your speakers. These can be built using an OpAmp and some extra transistors to handle the higher load.
On the other hand it's more economic if you just use an audio amplifier chip that handles the 15 watt directly. The TDA2030 chip for example will happily drive 10 to 14 watt and is really cheap.
In short: Think of OpAmps as pre-amplifiers, to drive anything bigger you need a power amplifier.
-
\$\begingroup\$ "These can be built using an OpAmp and some extra transistors to handle the higher load." Compensating such a circuit is a dog though :) \$\endgroup\$ Commented Aug 28, 2017 at 0:38
There are several things wrong here. You say you want to drive a 8 Ω speaker with 15 W. That means you need sqrt((15 W)(8 Ω)) = 11 V. Note that this is RMS. For a sine wave, that means that the peak voltage is sqrt(2) higher, or ±15.5 V. Clearly ±10 V supplies aren't good enough.
Then there is the issue of providing enough current. The RMS current needed is sqrt((15 W)/(8 Ω)) = 1.4 A. And again, that's RMS, so the peak current needs to be at least ±1.9 A. A typical "opamp" can't provide that kind of current, not even close.
What you need is a real power stage that runs from around 20 V and can source and sink 2 A.
Op-amps don't have the grunt for this
An ordinary op-amp is designed to drive small-signal loads such as small headphones, the inputs of other amplifiers, or other circuits. A 8Ω speaker simply requires too much current (amps vs millamps) for an op-amp to drive it alone.
But, boosting the output current is simpler than it sounds
Fortunately, it's possible to build a power amp around an op-amp, as follows:
simulate this circuit – Schematic created using CircuitLab
In this circuit, Q1 and Q2 act as a class-B emitter-follower current booster for OA1's output. Normally, a class-B or AB stage requires a bunch of biasing to keep crossover distortion down, but by placing the stage within OA1's feedback loop, the op-amp takes care of most of that funny business for us by way of feedback action, although it does require a fairly fast-slewing op-amp to do this. As long as the power supplies have enough grunt, and Q1 and Q2 are beefy enough and adequately heatsinked, this circuit is adequate to drive whatever speaker you throw at it, and cheap as chips to build. Of course, the sonic performance is mostly dependent on what op amp you're using, and if you need to, you can configure this as something other than a unity voltage gain amp by changing the feedback network, just like you would with a small-signal op amp stage.
-
1\$\begingroup\$ You need biassing. These designs have enormous slew-rate requirements across the dead zone of the two output devices. \$\endgroup\$ Commented Aug 27, 2017 at 20:44
-
1\$\begingroup\$ @EJP -- if you want super-low-distortion, yeah, you'll want biasing, but you can make the stage work acceptably well without it (I used this with half an OPA2134 for a school project and that passed our professor's not-quite-golden ears with flying colors.) \$\endgroup\$ Commented Aug 27, 2017 at 21:37
-
1\$\begingroup\$ To save others the datasheet lookup: that OPA2134 has almost twice the slew rate of a TL081 and about 40 times that of a 741 :) Sorry to repeat this but... this circuit can become unstable in many many ways also, since you tend to end up with something that is too slow for its own bandwidth - or that just straddles that line until temperature, transistor selection, or a similar factor changes. Gain >1 at the frequency where 180° phase shift occurs and you've done it... \$\endgroup\$ Commented Aug 28, 2017 at 0:42
-
2\$\begingroup\$ And for the cost of two 1N4148s it's not even worth debating. \$\endgroup\$ Commented Aug 28, 2017 at 4:42
-
1\$\begingroup\$ @EJP - "cost"? I consider using a 1N4148 a benefit, seeing as it doesn't make sense to buy them in quantities less than a hundred and then I need to store them... \$\endgroup\$– JulesCommented Aug 28, 2017 at 8:18
You should post more info about the opamp, but if it is one of the usual suspects like NE5532, you most likely missed the "maximum output current" line in the datasheets.
Some opamps will choke on 2k ohms loads (like TL072) because their output stage can only handle a minuscule amount of current, others will work fine in 600 ohm loads and go up to 60mA or even 100mA...
But for a 8 ohm load you really need something designed for the job. If you're a beginner, try a LM1875 for example, it's a cheap and easy to use amplifier chip (just an opamp really, but designed for the kind of current your speaker requires). It also needs a heat sink.
If the thing runs on batteries, consider purchasing Class-D amp module from aliexpress, like IRS2092 or the TI chips.