4
\$\begingroup\$

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?

\$\endgroup\$
  • \$\begingroup\$ Is your pc setup for recording line inputs? \$\endgroup\$ – Andy aka Aug 5 '13 at 7:33
  • \$\begingroup\$ What are you actually expecting? It looks like you are expecting a 10kHz LPF followed by a gain of 80 ... in which case it won't work. \$\endgroup\$ – MikeJ-UK Aug 5 '13 at 7:48
  • \$\begingroup\$ Check this out: windows.microsoft.com/en-us/windows-vista/… \$\endgroup\$ – Vasiliy Aug 5 '13 at 7:57
  • \$\begingroup\$ What level of peak-to-peak voltage are you seeing at the input, the - terminal of the opamp, and the output? \$\endgroup\$ – pjc50 Aug 5 '13 at 9:20
  • \$\begingroup\$ @Andyaka Yes, there's a gui for specifying the jack as line-in or microphone. \$\endgroup\$ – Brad Robinson Aug 5 '13 at 11:42
2
\$\begingroup\$

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!

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.