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.
Tool/software:
I'm using the OPA387 as an integrator. It's part of a servo loop controlling the DC output of another amplifier. The power rails are +5 and GND. The non-inverting terminal is fixed at 2.5V. It correctly integrates up, but not down. In one example, it correctly integrated up to 4.15V. In the negative direction, it seems to have run out of room where it should have integrated down to 0.87V, but instead it stopped at 1.8V. Not even close. The + terminal sits at 2.5V and the - terminal is at 2.7V...so it's no longer running linear.
I replaced the OPA387 with TLV9061, and the integrator works as designed. There are some slight differences in the chip, but I don't see why the TLV9061 works and the OPA387 does not. Could it have something to do with amount of capacitance in the feedback loop? Maybe something else?
Please advise, thanks!
Gene,
A picture is worth thousand words - please attached schematic of your application showing values of the components used including feedback capacitance and load.
The OPA387 integrator seems to properly simulate its basic function. Please modified the attached Tina-TI schematic showing details of you application.
You may download a free copy of Tina-TI simulator by clicking on the following link: https://www.ti.com/tool/TINA-TI
This looks nice, but surely does not work that way on my bench. The TLV9061 works just like this, however.
Have you received my schematic snippet? I sent it via reply to the email. Maybe it did not get to you, and I should post it here?
No, I have no received your schematic - you may not replay by email. Please reply here and use Insert-> image/file to attached Tina schematic.
Gene,
With this kind of issues, a devil is in the details especially when it comes to circuit DC biasing. However, with almost all your schematic nodes floating in outer space, there is not much I can do here, other than to say to check the linearity of INA826 using our Vcm vs Vout calculator - see below.
You may download a free version of TI Analog Engineer's Calculator by clicking on a following link: https://www.ti.com/tool/ANALOG-ENGINEER-CALC
I didn't want to show you the stuff around it....some of that is experimental and is not populated. I can draw you a simplified schematic. At some level, I can't show you proprietary stuff in this open forum (it's nothing Earth shattering, just company private). That's partly why I chopped off the other stuff that really isn't connected.
Keep in mind, that it runs quite nicely with the TLV9061. The noise is higher on the TLV9061, but at least it integrates properly.
Also, the DC servo works fine with the OPA387 as long as there is little to no DC offset at the input to the INA826.
Yes, I'm right in the sweet spot on the input of the INA826. But this is all besides the point, I think. Go back to the original question....the OPA387 would not integrate down enough from 2.5V. I'm not seeing how the rest of the circuit matters. In the static case, there's a DC voltage on the non-inverting terminal and a pretty DC-ish signal on the inverting terminal. The OPA387 needed to integrate down to around 0.8V in order to keep closed-loop, but it only got down to around 1.8V. The integrator stopped integrating even though the 2 input terminals were not equal, and the output had not reached lower (it should be able to get close to the rail, according to the datasheet). It just didn't....like a spoiled kid, 'nope, I aint gonna do it...nope'....haha.. Maybe that chip was damaged? I didn't think to try another, but I had no reason to believe anything has happened to it.
Since you claim OPA387 will not integrate below 1.8V, the most likely culprit is a biasing circuit. But since you show most of the nodes floating, I'm not sure how one may expect for anyone to give a definite answer - all one can do here is to speculate.
Having said that, the main difference between TLV9061 and OPA387 is that the latter is a zero-drift amplifier (chopper) where its source resistance should be limited to 10k to prevent conversion of the input bias current spikes (caused by closing/opening front-end switches) across said resistor, into a large offset voltage (see table below). By this measure, your 330k resistor is 33x higher than maximum recommended for OPA387 and for this reason you should instead use a linear op amp like OPA392.
Simplified circuitry to show how I'm using the part.
Marek,
At first glance, I thought you were on to something. But on closer inspection, I think maybe you are wrong. My input resistor is 330K. On the graph, the offset voltage is ~100uV. It doesn't say if it's + or -, but that's not really important as this is a really small value relative to the voltage I need.
Integrator style opamps all do the same sort of thing. The output slews one way or the other in order to drive the inverting and non-inverting amplifier inputs to the same voltage. In the example I mentioned (not shown, but a small offset voltage applied to U1), U2 should have slewed to 0.8V, to make the DC output of U1 2.5V. Once that happens, U2.+ and U2.- would both be 2.5V and the integrator stops slewing....steady state reached. In this application, I'd never even notice the offset effect.
The offset voltage would have to be about 1 Volt, yes (1.8 - 0.8) ? Which the graph implies an impedance of several MegOhm (it's off the chart)
gene
Gene,
Marek is on business travel for the next few weeks so I will help continue the support for this question in his absence.
First, let me make sure I understand the goal of your circuit. I think you are trying to force use the integrator to drive Vref to a voltage that forces Vout of the INA826 to be equal to 2.5V. Below I illustrate this with a 0V differential input in the INA826 and a 100mV differential input. In both cases the output of the INA is forced to 2.5V and the integrator adjusts its output from 2.5V to 2.6V in the second case to compensate for the 100mV differential input. I think that is what you are trying to achieve but I want to confirm.
Assuming the above behavior is what you want, the question is why it works for the TLV9061 and not for the OPA387. Here are some comments and questions regarding the design that should help with this.
Long story short: I'm not completely sure why your not getting a good result with OPA387, but I think Marek was on the right track that this is related to chopping issues.
I hope the above comments helps you resolve the issue.
Best regards, Art
Hi there, Art.
The 1st picture looks like the Vin_diff = 3.0V, not 0V. Am I missing something? There's also no Rg, off-hand, I don't know if that's okay or not.
Your questions:
Assuming that the OPA392 can be used as an integrator, and that it has rail-to-rail IO, can run on 5V single supply, common mode input is okay to both rails....which it is supposed to be....and it integrates down to only 1.8V instead of 0.8V, then it sure looks like something bad is happening inside, and it's probably an offset that I cannot measure.
I just noticed figure 7-1 in the OPA392 datasheet. There are those pair of 450 Ohm resistors in between the chip input pins, and the "core" internal opamp. It's that 'core' amp that does the integration. The literature says the leakage is 30pA, and I figure in light of the stuff you and Marek showed me, is at least part of the reason that there's some offset.
In the end argument, this is just a crummy device to use in this application, and I'll have to find a more suitable amp.
You guys can try this circuit yourself. I gave you all the information you need to build it, I think. The simulation model does not seem to correctly model this application, so you can't rely on the TINA tool, in this case.
thanks,
gene
Gene,
The input voltage source is called "V3". In the first case V3 is set to 0V and in the second case V3 is set to 0.1V. TINA SPICE has a bad feature that the source name is very close to the value it is assigned to so that it looks like "V 3.0" when it is really "V3 0".
I now understand why you wanted the OPA387. Chopper amplifiers and auto-zero amplifiers are two types of amplifiers that use an internal calibration to minimize offset. These types of amplifiers are collectively categorized as "zero-drift" amplifiers. Generally, people select these types of amplifiers for the low input offset voltage and low offset drift. They also are the only types of amplifiers that do not have a 1/f noise region. That is, the noise is flat across frequency and doesn't increase at low frequencies. Unfortunately, most amplifiers that are optimized to operate at 5V are CMOS amplifiers and tend to have 1/f noise comparable to the OPA392. Bipolar amplifiers do better than CMOS for 1/f and can operate at 5V but generally have common mode and output swing limitations. If you do not need rail-to-rail I/O than a good low noise bipolar may work well for you.
Regarding your overall noise for the circuit. I believe that your INA826 is in a gain of 1 V/V. The INA626 is a bipolar device, so it has low 1/f noise. However, it does have 1/f noise (it's about 350nV/rtHz at 1Hz). Assuming the INA gain is 1V/V, the op amp noise will directly add to the INA noise. With this in mind is it really important to keep the 1/f noise of the op amp low as the INA will dominate? Maybe your concern is that that the noise gain of the integrator increases at low frequency, so the op amp is more critical. I am just trying to understand and justify this requirement.
If flat 1/f noise is really an important requirement, than we should consider a chopper. I don't see an issue in simulation with the OPA387, but the model does not cover the chopping bias current transients, so it may not see all the issues.
I think it would be worth while to try a non-chopper amplifier (besides TLV9061). The OPA392 is a good choice even if it does not meet your noise requirements. If this device would work well that does tend to indicate that chopping may be the issue.
Finally, depending on your timeline and urgency, I can look at this in the lab. I could test chopper amplifiers and see if I can reproduce the issues you are seeing. This would take some time, so if this is urgent I probably will not meet your schedule. If you want to follow this approach, send me an E2E friend request and we can exchange emails to communicate directly.
best regards, Art
Gene,
I just sent you my direct contact info. I will close this ticket as we can continue the discussion via email.
Art