This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPA2192: Linearity problems

Part Number: OPA2192
Other Parts Discussed in Thread: OPA192, DUAL-DIYAMP-EVM, DIYAMP-EVM, OPA2388, TINA-TI, OPA2189

Hi,

We use the OPA2192 for precise current measurement.
The first OPAMP stage is a differential amplifier with a gain of 8.333. The second and third stage form a 4th order low pass filter with a total gain of 3 and an offset of 2.048V.
All the OPAMPS are supplied with +/-5V. Please see picture 1 attached.

Now we have the problem that our current measurement shows a significant non-linearity.

The problem has been isolated to the first OPAMP stage (all measurements have been made at the output of U1).
To be able to better measure I changed the resistor values as follows:

For a gain of 1:
- R1: from 180 to 1k5
- R2: from 180 to 1k5

For a gain of 0.06818
- R1: from 180 to 22k
- R2: from 180 to 22k


How it was measured and analysed:

I always took five measurements:
1. Input voltage close to 0V
2. Input voltage close to 1/4 of the range
3. Input voltage close to 1/2 of the range
4. Input voltage close to 3/4 of the range
5. Input voltage close to full range

Input voltage range was choosen so that the maximum ouput voltage of the first stange is always 0...0.6827V (2.048V/3).

All input voltage values and measured values have been corrected with the first value. Gain was calculated with the 5th measurement.
This gain was then applied to the input voltage values to get the theoretical values that sould be at the output of the OPAMP.
Difference of the theoretical and measured values are then plotted against the input voltage values.


Results:

Picture 2 shows this for the first OPAMP stage with a gain of 1.

Picture 3 shows this for the first OPAMP stage with a gain of 0.06818

With a gain of 1 we see an max. error of approx. 0.0005V. With a gain of 0.06818 it is 0.0001V. With the original gain of 8.3333 the error is much higher.
This leads to the assumption that a higher gain has a higher max. error.
But measuring an other differential OPAMP stage (voltage measurement) that has a gain of 0.17 shows a much better linearity (max. error in the range of 0.00001V).
This stage has much higher resistor values (e.g. R10/R11 is 150k).


Can an expert for precise measurement explain what affects the linearity of a differential amplifier stage or what we are doing wrong?

An error of 0.0001V would be acceptable for the original gain of 8.3333.


Any suggestions are highly appreciated.

Thanks and best regards,

Patrick

Picture 1:

Picture 2:

Picture 3:

  • Hi Patrick,

    I haven't understood why you are changing R1 and R2. What is the meaning of this:

    "For a gain of 1:
    - R1: from 180 to 1k5
    - R2: from 180 to 1k5

    For a gain of 0.06818
    - R1: from 180 to 22k
    - R2: from 180 to 22k"

    Hhm, when changing R1 and R2 you will change the gain, as well? No idea, what you mean :-)

    What shunt resistor do you use? And what is your measuring current range?

    Kai

  • Hi Kai,

    I try to isolate the problem and therefore there is no shunt connected. Instead I use a high precision adjustable voltage source to simulate the shunt voltage.
    As the adjustable voltage source has a range of -10V...10V  it is difficult to step the input voltage in a 0...80mV range.


    That is why I first reduced the gain from 8.3333 to 1 to get an input range of 0...0.6827V. As I have seen a linearity problem with the gain of 1 as well I have also tried a gain of 0.06818 (input range 0....10.012V). Also with this gain there is some non-linearity visible.

    So there is no shunt, just this first OPAMP stage. I try to figure out what affects the linearity of this first stage or how can I approve the linearity.

    Regards,

    Patrick

  • Hello Pruf,

    The linearity errors you are observing in your OPA192 circuit might be due to the P-channel, N-channel transition region of the input differential pairs in response to a wide common-mode voltage change. The common-mode voltage change at the non-inverting input is inversely proportional to the gain the circuit uses. The input common-voltage would have to cross within the transition region for this to be a contributor to the linearity error.

    One way to test if that is the cause is to increase the supply voltage from the current +/-5 V, to something considerably higher such as +/-12 V or +/-15 V and the run the linearity test again. If the linearity is much improved, then that pretty well points to input cross-over distortion as being the source of the non-linearity error. Using higher voltage supplies moves the transition region further away from the mid-scale range of the op amp as when low voltage supplies are used. 

    Regards, Thomas

    Precision Amplifiers Applications Engineering

  • Hi Thomas,

    Thanks for the answer. That was actually my first thought. But as of my understanding the voltage of the inputs should stay lower than the transition region when I have a gain of 1 (input voltage < 0.6826V and common voltage range is equal or close to GND which is the case).
    According to the datasheet the transition region is in the range of (V+)-3V to (V+)-1.5V. In my case 2V to 3.5V

    I now switched platform having the same first stage on a DUAL-DIYAMP-EVM board from TI. This allows me to be more flexible to change parameters (e.g. supply voltage).
    I also switched to better measurement equipment (same precision multimeter on input and output).

    Question: Is the linearity dependend in any way from the value of the resistors (keeping the same gain)? E.g. changing R10/R11 and R1/R2 from 1.5k to 15k (gain=1).

    Best regards,

    Patrick

  • Hi Patrick,

    I can't think of a reason why the OPA192 linearity itself would be affected by the external resistors used to set the gain. However, we do know that resistors have voltage and temperature coefficients that can introduce performance deviations in the electrical performance of a circuit.

    In the case of the voltage coefficient the resistance changes as a function of the voltage across the resistor. This effect is sometimes referred to as the VCR, or voltage coefficient resistance. The VCR is a direct function of the resistor technology and we have found often affected by the physical size of the resistor; smaller being more sensitive to voltage than larger. In the case of the temperature coefficient of resistance or TCR, it indicates how the resistance changes with temperature, which is directly related to the power dissipated by the resistor. The resistance changes in response to the resistor self heating.

    You may find that increasing the resistances by 10x does changes the linearity behavior. Certainly, increasing their value will much reduce the power dissipation and the resistance change due to TCR effects should be lower. Do keep in mind that increasing the resistors will come at some cost in increased thermal noise. Please let me know if you find that increasing the external resistances makes a difference in the OPA192 linearity results.

    Glad to hear the DIYAMP-EVM board is useful to you. That was one of our group's creations designed to help users evaluate their op amp circuits more easily.

    Regards, Thomas

    Precision Amplifiers Applications Engineering

  • Hey Patrick, 

    While Tom helps you with the first stage linearity I ran your filter design through some tools I have developed. Not sure where you got your RC values, and I am sure they are nominally fine for what your are trying to do. A lot of the legacy stuff based on 1970's text books leaves some dynamic range on the table - this is easy to improve as shown this attached file. Not a huge deal, but kind of free integrated noise reduction - two added things, (I have quite a range of published articles on these topics, but I won't bore you with those now). 

    1. You don't need that series resistor into the 2nd stage V+ input -the OPA192 does not have matched input bias currents

    2. You might consider a final RC filter to set an integration bound on the broadband noise, I was just guessing 100kHz for the noise markers I used. 

    Here is the design update discussion, 

    4th order MFB redesing to reduce noise.docx

    here is the updated TINA file, 

    OPA192 improved 4th order MFB.TSC

  • Hi Michael,

    That is very interesting. Thanks a lot for your explanations and the calculations. Although we have some other frame conditions (like the offset voltage of the last stage, that we have to change when altering the gain) we have to consider those inputs in future designs. Noise is also one of the topics we have to tightly monitor in this stages. Tutorials like the TIPL 1311 and following as well as inputs like yours are a great help. Especially if one is not doing precision amplifier designs every day.

    One question to your point 1:
    So I assume that the OPA2192 is internally bias current compensated. Is in this case the series ressitor into V+ input  counterproductive? Means not having this resistor improves behaviour?

    General question:
    I have seen that TI has the OPA2388 that, compared to OPA2192, has zero crossover. But supply range is only +/- 2.75V. Do you expect that TI has a new OPAMP like the OPA2388 with a higher supply range?
    Or is this technologically not possible?

    Best regards,

    Patrick

  • Thomas,

    I did some measurements on the DUAL-DIYAMP-EVM board. First with a gain of 1. Result: almost perfect linearity.

    Next I changed to a gain of 8.3333. I did two measurements. With the difficulty of stepping a 0...80mV input voltage I get also very acceptable results.
    Probably most of the error results from not beeing able to get the values from the multimeters (FLUKE 8845A) at exact the same time.
    Attached are the two results with the gain of 8.3333.
    I will now try to check the results against our real target board...

    Best regards,

    Patrick


  • Hi Patrick,

    hhm, how are you simulating the shunt voltage without introducing common mode noise? Or by other words, how the both signal grounds (of the voltage source and your circuit) are connected to each other? I hope you connect both signal grounds directly together and generate two different ultra precise voltages, one for R1 and the other for R2? But both voltages referenced to signal ground of voltage source which is connected to signal ground of your circuit?

    The OPA2192 is a modern state-of-the-art OPAmp offering 0.00008% THD. This corresponds to an unlinearity of 8 x 10^-7. Even if you take into account a gain of R10 / R1 = 15 and an increase of unlinearity by a factor of 15 you get an unlinearity of only 15 x 8 x 10^-7 = 1.2 x 10^-5. I think it can be excluded that your measured unlinearity of up to 5 x 10^-4 is caused by the OPA2192.

    Thomas has discussed a very interesting issue with the resistors. I aggree with him that you should increase the resistors R1, R2, R10 and R11 by a factor of 10. This will decrease the heating and the temperature drift. But also the linearity behaviour is the best for resistors in the 1k...30k range. It depends on the resistor type, of course. For your experiment I would choose state-of-the-art resistors, through hole, with +/-15ppm temperature drift and +/-0.1% manufacturing tolerances.

    Kai

  • Patrick,

    In your original problematic setup, are you using the same Fluke meter to measure the input and output sequentially?  Or are you using two different meters?  There's no right answer here...  Two meters leads towards seeing the mismatch of the linearity of the two meters but cancellation of the 1/f noise.  A single meter takes out the non-linearity mismatch of the meters, but adds susceptibility to 1/f noise since measurements taken at two different points in time.  On the noise topic, are you measuring at the output of the first stage or at the output of your entire circuit post-filters?  If the latter, I do wonder if the difference in noise content being not perfectly Gaussian is causing you grief in your meter(s).  You might even consider adding a low frequency RC LPF to the front of your meter to limit the bandwidth to near DC to see if this is noise contribution, or truly DC non-linearity.

    Thanks,
    Scott

  • No Patrick, the x192 I think are higher V CMOS devices, they do not have matched input bias currents - so adding a resistor on the V+ input does not cancel that error, just adds noise, The offset current is the same magnitude as the bias current - a clear indication of not matching in this term. 

  • Hi Patrick,

    why not running a TINA-TI simulation?

    IS1 and IS2 simulate the input bias currents of OPAmp. Here, the worst case is considered. VS1 simulates the input offset voltage of OPAmp which, for simplification, is assumed to be zero.

    patrick_opa2192.TSC

    Kai

  • While it is true that CMOS amplifiers have high input impedance at 25C and the addition of Ib cancellation resistors at the inputs provide no benefit, there is more to the story.  At hot temperatures, the leakage of the input ESD cells dominate.  Given that most amplifiers use similar/same ESD cells on each input, the leakage tends to track to the first order.  You can see that in the plot below.  So at hot temps, matching the input impedance leaves you subject to Ios errors, while unmatched leaves you subject to Ibp and/or Ibn currents.  So it is a resistor thermal noise vs Ib*R offset error decision for your application.    

  • Patrick,

    We have high voltage zero-drift parts like the OPA2189.  It is not a true "zero crossover" device like the OPA2388, but for an autozero/chopper amplifier this amounts to a difference in AC performance only.  At low frequencies, the autozero/chopper removes the offset almost completely, regardless of the source (package stress, 1/f noise, PMOS to NMOS transitions, etc).

    Thanks,
    Scott 

  • Hi Scott,

    a cap can be put in parallel to the 9k1 resistor to decrease the noise and improve the stability. A 100n cap would give a corner frequency of 175Hz.

    Kai

  • Yes Kai, good idea!  A cap in parallel on the non-inverting input would limit the thermal noise contribution, while improving the Ib*R error over temperature.  It won't have much effect on stability being that it is on the non-inverting input (maybe some small secondary effects such as improved EMI/crosstalk disturbance rejection).  The limited bandwidth on that input also shouldn't play a role since you can't change temperature (and hence Ib) 175 times in a second.  :O)  

    All that said, this is likely a nice solution on the OPA2192 due to its mux friendly input front end.  That means there are no back-to-back diodes across the inputs of the op-amp.  Had there been (like in many op-amps), you would have to charge/discharge that cap through those diodes in conditions such as slew events.  So just be thoughtful where you apply such tricks.  

  • Hi,

    It turns out that the Non-Linearity on our target board was due to a second current measurement circuit with 10 times higher gain that is connected parallel to the measurement circuit I was talking about (for 10 times higher sensitivity in the lower current range).
    At the point of approx. 60mV input voltage the output of the first stage of the second current measurement circuit went into its limit (~5V). This unlinearity disturbed the original measurement circuit due to cabling resistance in the range of 200mOhm.

    OPA2192 is not the problem!

    Thanks to all the contributors for their inputs in this thread. By the way I did learn a lot about input bias current and noise.

    Best regards,

    Patrick

  • Hi Patrick,

    nice to hear that you could solve the issue!

    Good luck :-)

    Kai