Author Topic: Can you buffer a differential signal with two op-amps?  (Read 1646 times)

0 Members and 1 Guest are viewing this topic.

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Can you buffer a differential signal with two op-amps?
« on: June 09, 2023, 02:17:13 pm »
I want to use use an OPA1632 to amplify a differential signal and feed it into an ADC, but this draws current from the signal depending on the feedback resistors, which changes based on the gain configuration.

To deal with this, I want to use an op-amp configuration like this (though with two OPA1656 instead), to buffer the input before sending it to the OPA1632.

I'm worried about the input and output offset of the op-amps messing up my signal. Is this a valid concern? If so, what should I do instead? Should I pick a specific kind of op-amp? Or use a different approach altogether?
 

Offline MarginallyStable

  • Regular Contributor
  • *
  • Posts: 66
  • Country: us
Re: Can you buffer a differential signal with two op-amps?
« Reply #1 on: June 09, 2023, 03:34:26 pm »
I think adding a matching 10K resistor in the feedback's of your voltage followers is a common way to help balance offset currents.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 7948
  • Country: us
  • Retired, now restoring antique test equipment
Re: Can you buffer a differential signal with two op-amps?
« Reply #2 on: June 09, 2023, 03:36:58 pm »
Your two 10 k\$\Omega\$ resistors from the inputs to ground will draw current from the source:  what is their function?  Is the source truly galvanically isolated from ground?
 

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #3 on: June 09, 2023, 03:58:34 pm »
Your two 10 k\$\Omega\$ resistors from the inputs to ground will draw current from the source:  what is their function?  Is the source truly galvanically isolated from ground?
The input will be capacitively coupled (because of phantom power). The resistors make sure the common voltage doesn't drift from ground. I think I should make them 100k instead. But this is negligible. I intend to control the gain of the differential op-amp (OPA1632) by making Rg and Rf a dual-gang potentiometer. This would mean that the current from Vin+ and Vin- would vary depending on the gain, and would thus vary the input impedence. This is why I want to use buffers.

I think adding a matching 10K resistor in the feedback's of your voltage followers is a common way to help balance offset currents.
Between the outputs and ground?
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 7948
  • Country: us
  • Retired, now restoring antique test equipment
Re: Can you buffer a differential signal with two op-amps?
« Reply #4 on: June 09, 2023, 04:02:20 pm »
If the input bias current through your input resistance is a substantial voltage error in your application, you can balance it partially by inserting an equal resistor from the output to the inverting input of the op amp.
This works if the "offset current" (difference between bias currents at the two inputs of the op amp) is much less than the bias current (typically true for bipolar op amps, not so good for fets).
However, that resistance will add thermal noise to your circuit:  presumably the two input resistors (10 or 100 k\$\Omega\$) will be "shorted out" at high frequencies by the actual impedance of your floating source.
(You never improve SNR by adding a resistor to the circuit.)
 
The following users thanked this post: MarginallyStable

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #5 on: June 09, 2023, 10:12:05 pm »
I'm considering just using an instrumentation amplifier instead. Though I need to figure out which ones are suitable for audio applications.
 

Offline srb1954

  • Super Contributor
  • ***
  • Posts: 1091
  • Country: nz
  • Retired Electronics Design Engineer
Re: Can you buffer a differential signal with two op-amps?
« Reply #6 on: June 09, 2023, 10:30:26 pm »
The input will be capacitively coupled (because of phantom power). The resistors make sure the common voltage doesn't drift from ground. I think I should make them 100k instead. But this is negligible. I intend to control the gain of the differential op-amp (OPA1632) by making Rg and Rf a dual-gang potentiometer. This would mean that the current from Vin+ and Vin- would vary depending on the gain, and would thus vary the input impedence. This is why I want to use buffers.
Consider using the standard 3 op-amp differential amp circuit. This will provide the high impedance inputs you require and you can change the gain using a single pot rather than a dual gang pot.

Using a dual gang pot to change the gain of a single op-amp differential amplifier is not a good idea as you will never get good enough matching between the elements of a standard dual-gang pot to maintain good common-mode rejection over a wide gain range.
 

Offline John B

  • Frequent Contributor
  • **
  • Posts: 800
  • Country: au
Re: Can you buffer a differential signal with two op-amps?
« Reply #7 on: June 09, 2023, 11:24:56 pm »
I'm currently building a balanced mixer using INA1650 for the balanced inputs and OPA1632 to drive outputs.
 

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #8 on: June 10, 2023, 01:12:21 am »
Consider using the standard 3 op-amp differential amp circuit. This will provide the high impedance inputs you require and you can change the gain using a single pot rather than a dual gang pot.

Using a dual gang pot to change the gain of a single op-amp differential amplifier is not a good idea as you will never get good enough matching between the elements of a standard dual-gang pot to maintain good common-mode rejection over a wide gain range.
So basically an instrumentation amplifier? Because I'm currently looking at the INA851, which has a differential output, as well as a VOCM pin (required for my ADC). This one IC can be the entire input stage for my application. It's a bit expensive, but it replaces multiple components so it might even pay for itself. The only concern I have is if I can find a potentiometer with a reasonable taper for my application. I need a gain from 0.5 to 600, which corresponds to a resistance between 4k and 2 ohms.
A linear pot would result in a very skewed scale. This chart is already logarithmic.

Using a reverse logarithmic pot helps, but it's still pretty inconsistent.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16611
  • Country: us
  • DavidH
Re: Can you buffer a differential signal with two op-amps?
« Reply #9 on: June 10, 2023, 07:09:40 am »
I'm worried about the input and output offset of the op-amps messing up my signal. Is this a valid concern? If so, what should I do instead? Should I pick a specific kind of op-amp? Or use a different approach altogether?

That will work fine and it is commonly done in a 3 operational amplifier instrumentation amplifier.

Another approach uses two instrumentation or difference amplifiers which are cross coupled as shown below.  This is commonly used to convert single ended to differential however it also works as a differential amplifier.

« Last Edit: June 10, 2023, 07:11:52 am by David Hess »
 

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1060
  • Country: us
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 
The following users thanked this post: ROT

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2391
  • Country: gb
  • Recovering Electrical Engineer
Re: Can you buffer a differential signal with two op-amps?
« Reply #11 on: June 11, 2023, 05:49:52 pm »
You can save yoursef a fully diff amp and get some common mode rejection as an added bonus.
Use the front end from a traditional instrumentation amplifier. So simple it hurts. The ADC performs the same fucntion as the third difference amp stage would.
www.allaboutcircuits.com/technical-articles/learn-about-three-op-amp-instrumentation-amplifiers/

Its got a common mode gain of one and diff gain of what ever you like. Set with a single resistor or resistor + pot.

Even if its doesn't solve all your problems its worth keeping for another day.
 
The following users thanked this post: Zipdox

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #12 on: June 12, 2023, 11:17:37 pm »
You can save yoursef a fully diff amp and get some common mode rejection as an added bonus.
Use the front end from a traditional instrumentation amplifier. So simple it hurts. The ADC performs the same fucntion as the third difference amp stage would.
www.allaboutcircuits.com/technical-articles/learn-about-three-op-amp-instrumentation-amplifiers/

Its got a common mode gain of one and diff gain of what ever you like. Set with a single resistor or resistor + pot.

Even if its doesn't solve all your problems its worth keeping for another day.
So I've got three options
  • Fully differential instrumentation amp IC (INA851)
  • Discrete fully differential instrumentation amp using 2 regular op-amps and 1 fully differential op-amp for output
  • Front end of an instrumentation amp (as you suggest)
Option 1 has the advantage of being a single solution with laser-trimmed resistors and output over-voltage clamping. But it's the most expensive, the INA851 isn't in stock on LCSC so I'd have to solder a QFN package manually.
Option 2 is cheaper, but no laser-trimmed resistors, and output clamping has to be added separately. But it can be assembled by JLC as the parts are in stock on LCSC.
Option 3 is really interesting. As I understand it, it relies entirely on the capacitive coupling and the input resistors for the common mode voltage offset. This is acceptable, as my input will be capacitively coupled. Of course I have to do output clamping myself. Are there any drawbacks? For example, does it work properly with a single-ended input signal?
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16611
  • Country: us
  • DavidH
Re: Can you buffer a differential signal with two op-amps?
« Reply #13 on: June 12, 2023, 11:26:01 pm »
The 4th option is the last one I gave.  A pair of instrumentation amplifiers can be cross coupled to operate as a differential amplifier, and no matched resistors are required.
 

Offline donlisms

  • Frequent Contributor
  • **
  • Posts: 280
  • Country: us
Re: Can you buffer a differential signal with two op-amps?
« Reply #14 on: June 13, 2023, 12:25:05 am »
I speculate a bit, but think you might find the data sheet for the SSM2019 differential preamp chip interesting as another perspective on similar issues.
 

Offline RogerThat

  • Regular Contributor
  • *
  • Posts: 83
  • Country: se
Re: Can you buffer a differential signal with two op-amps?
« Reply #15 on: June 13, 2023, 08:45:41 am »
Zipdox, look at reply #11 from Terry Bites, that's what you want to do assuming your ADC takes differential input. That circuit buffers and amplifies your differential signal. A dual op amp and three resistors. I use this to feed ADCs with differential signals from pressure sensors (wheatstone bridge). Gain can be adjustable by replacing Rb with a potentiometer.

Instrument amplifiers is mainly used when you want to convert diff to single ended.
 

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #16 on: June 13, 2023, 10:22:18 am »
Zipdox, look at reply #11 from Terry Bites, that's what you want to do assuming your ADC takes differential input. That circuit buffers and amplifies your differential signal. A dual op amp and three resistors. I use this to feed ADCs with differential signals from pressure sensors (wheatstone bridge). Gain can be adjustable by replacing Rb with a potentiometer.

Instrument amplifiers is mainly used when you want to convert diff to single ended.
I think I'll do that. Now I just have to pick the op-amps. Also, wouldn't electrolytic capacitors be problematic in this case? The negative pins go towards the op-amps because the other end can be at 48V (phantom power), but if phantom power is disabled, the capacitors will be at -2.5V.
 

Offline RogerThat

  • Regular Contributor
  • *
  • Posts: 83
  • Country: se
Re: Can you buffer a differential signal with two op-amps?
« Reply #17 on: June 13, 2023, 11:06:47 am »
electrolytic capacitor? Yes, they should not have reverse polarity. Ignore everything to the left of the op amps in Terrys's picture.
 

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #18 on: June 13, 2023, 11:08:08 am »
Ignore everything to the left of the op amps in Terrys's picture.
I need a 2.5V Vocm for the ADC though.
 

Offline RogerThat

  • Regular Contributor
  • *
  • Posts: 83
  • Country: se
Re: Can you buffer a differential signal with two op-amps?
« Reply #19 on: June 13, 2023, 11:40:28 am »
Ok. Terry's picture is then lacking two capacitors to AC couple the input signal.
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2391
  • Country: gb
  • Recovering Electrical Engineer
Re: Can you buffer a differential signal with two op-amps?
« Reply #20 on: June 13, 2023, 01:48:03 pm »
This twin opamp thing will only work for balanced inputs, if you grounded one input the outputs are no longer balanced.
Maybe not such a useful thing for your project.

Note that fully diff amps can be used to create a diff output with correct Vcm with one inpur grounded. So the same (but less DC accurate) function as a line driver, SSM2142, DRV134 etc
When you run them from the same rail as the ADC you need no further input protection for it.
You could go down the route attached- full flexibility and gain distribution options.
You might even use a single supply inst amp and ac couple it to the diff amp. Go all 5V.
If you can, get Vcm from your micro system. It lets you do an easy DC cal. Maybe well filtered PWM?

 

Offline ZipdoxTopic starter

  • Regular Contributor
  • *
  • Posts: 170
  • Country: nl
Re: Can you buffer a differential signal with two op-amps?
« Reply #21 on: June 13, 2023, 03:33:06 pm »
This twin opamp thing will only work for balanced inputs, if you grounded one input the outputs are no longer balanced.
Maybe not such a useful thing for your project.

Note that fully diff amps can be used to create a diff output with correct Vcm with one inpur grounded. So the same (but less DC accurate) function as a line driver, SSM2142, DRV134 etc
When you run them from the same rail as the ADC you need no further input protection for it.
You could go down the route attached- full flexibility and gain distribution options.
You might even use a single supply inst amp and ac couple it to the diff amp. Go all 5V.
If you can, get Vcm from your micro system. It lets you do an easy DC cal. Maybe well filtered PWM?
I'm leaning towards option 2: building a fully differential instrumentation amplifier with two discrete op-amps and one fully differential op-amp. Basically copy the internals of the INA851.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf