Electronic – Line-in level from OpAmp

audiofpgaoperational-amplifier

This is a follow on question from here: Simple Audio Amp for FPGA audio to PC in which I'm trying to get audio from an FPGA -> delta-sigma DAC -> op-amp -> Line Level.

Following the advice given in the above mentioned question, I've come up with this:

circuit

By explanation:

  • Left side of circuit connects to 3.3V output pin on the FPGA
  • The 3.3K and 4.7nf form a simple RC filter as part of the delta-sigma DAC
  • The opamp is half of an opa2314

I've connected the RHS to microphone input on my PC and it records quite well, however…

I'd prefer to connect this to line-in. I've tried many different values for the two other resistors, including putting a 10K pot in for each, but can't seem to get enough gain for a line in signal.

Am I missing something, or am I simply hitting the limit of what this op-amp can do?

Best Answer

Imagine two scenarios: an AC signal which has such a high frequency that the 4.7 nF capacitor appears as a short. And a signal whose frequency is so low (or DC) that the 4.7 nF capacitor is open.

Signal that is blocked by the capacitor (i.e. that is in your filter's low pass band) sees a gain of \$-8/3.4\$.

Signal that is shorted to ground by the capacitor sees even less gain, because the inverting stage is a current-to-voltage amplifier, and flow through the capacitor robs the input of current.

So basically your amplifier tops out at a gain of \$-8/3.4\$ gain.

You might be thinking that there is somehow a gain of 80 due to the ratio between the 8K resistor and the 100 ohms. But that's not how it works! When you consider the input to be at the 100 ohm resistor, then you have to regard the 3.3K on the left as a source impedance. That source impedance matters because it restricts the current that flows to the current-to-voltage amp. The gain formula for an inverting stage assumes zero source impedance!