0
\$\begingroup\$

I'm building a simple audio device, mostly out of ready-made modules.

I'm using a PCM1808 as an ADC and powering everything from a single +5 V supply. But I want the input accept a line-level signal and work with both balanced and single-ended inputs.

I'm using a CJMCU-1808 module:

enter image description here

I've found some example schematics based on TL072 and OPA1632: TL072 schematic OPA1632 schemataic

But both call for negative rail. I'm aware that some of the opamps can work from a single rail. But looking at the spec sheet, this seems to severely limit the input range and affect the rest of the device (ground reference?)

I've seen that there are devices called a 'negative voltage generator' but I'm not sure how noisy they are or if they're suitable for this.

\$\endgroup\$
1
  • \$\begingroup\$ You CAN adapt these circuits by AC coupling into them and generating a 0.5*V+ supply for their "GND" connection. (but with the TL072, watch its input and output voltage swing (see datasheet), you'll probably need to choose a better (rail to rail) opamp. Adding an -ve supply is better but make sure it's clean where you need it. Your choice. \$\endgroup\$
    – user16324
    Commented Oct 15, 2021 at 12:19

1 Answer 1

2
\$\begingroup\$

Yes, you are on the right track. In fact the example circuits you show are almost correct, however every pro circuit I've seen would include DC blocking caps at the input, and resistors of about 100k (it's not critical) to tie the input before the cap to 0V. That leaves you with something like this:

schematic

simulate this circuit – Schematic created using CircuitLab

This will do a pretty decent job. The 10u/10k input comniation sets the LF rollof to somewhere way below 20Hz, while the 330n/10k in the opamp feedback loop rolls off the high end somewhere around 40kHz. This is also advisable for stability, although at this gain with a TL07x that probably isn't an issue.

Yes, this circuit does require a midrail. You could do this with two resistors, a cap and the other op amp section as a unity gain buffer, or a "mid rail IC" such as the TLE2426. Using some kind of switcher to generate a negative rail is NOT advised for audio, unless you also include a linear negative regulator to get rid of switching noise. This link explains the problem and possible solutions quite well.

Note that you will also need to add a DC block capacitor and biassing to make sure that the output of this circuit is correct for the mid point of your ADC input range.

I did not include the extra RC stuff on the inputs of your example circuit. They don't do any harm, but they are not really needed. If you want to condition the input to get rid of HF, there are better ways, but if you are doing that kind of thing you would also want to include protection against overvoltage transients and so on, and that is probably outside the scope of what you are trying to do. If we are going there, using a good quality audio transformer starts to be a very attractive option anyway.

\$\endgroup\$
4
  • \$\begingroup\$ Would LM4562 be a right opAmp to use here? \$\endgroup\$
    – atok
    Commented Oct 16, 2021 at 10:44
  • \$\begingroup\$ Also, would be the right way to add biassing when using TLE2426 ? \$\endgroup\$
    – atok
    Commented Oct 16, 2021 at 11:12
  • \$\begingroup\$ @atok LM4562 is a very good audio opamp, but you need to take care about what supply voltage you have available, and the output voltage swing of whatever you choose. If you are running from a single +5V supply for example, things become quite constrained as your circuit is effective on +/-2.5V. So here an op amp that only goes to (say) within 1.5V of the power rails (many ones designed to run at higher voltages do something like this) would be a poor choice. \$\endgroup\$
    – danmcb
    Commented Oct 18, 2021 at 8:14
  • \$\begingroup\$ @atok biassing what? TLE chip is a mid rail generator, to create and artifcial "0V" in a single rail system. To bias the output of the opamp to match it to the ADC, you typically use a DC block capacitor and a pair of resistors to bias the ADC input at the mid point of its voltage range. You have to take care about the input impedance of the ADC though which can be quite high. Some ADC's also have a dedicated pin to provide this bias voltage. Read the data sheet for the ADC and see what is recommended. \$\endgroup\$
    – danmcb
    Commented Oct 18, 2021 at 8:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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