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.

OPA2171 Input interaction I don’t understand?

Other Parts Discussed in Thread: OPA2171, OPA251, OPA2251, OPA227, OPA277, OPA244, LM324, TLV3702-Q1, LMC6762, TLV3702

I know this is long but please hang in there I need help on this please.

 We are using the two op-amps in an OPA2171 as a window comparator.

 This is the hardware setup.

VCC = 12VDC signal supply

MAX4080SASA current sensor amp with the output connected to the inputs of the OPA2171 on pins 3 and 6

Outputs of the OPA2171 pins 1 and 7 to a CD4001 setup as a Flip-Flop.

Two 20K ohm 25 turn trim pots connected to VCC and GRN with the wipers to inputs 2 and 5 of the OPA2171 to set references inputs.

 What I'm seeing and don’t understand is as follows?

With the output of ~0V from the MAX on pins 3 & 6 of the OPA2171.

Pin 2 of the OPA2171 is set at 1.85 using one of the 20K trim pots.

Pin 5 of the OPA2171 is set at 1.65 using one of the 20K trim pots.

 

As the voltage on the input pins 3 & 6 from the current sensor increase the reference voltages on pins 2 & 5 also increase?

It is like there is current flow between the two input pins (it’s like a low resistances between the each pair of pins)?

I have checked the pins of the OPA2171 not installed and pin 2 to 3 is ~ 48K ohms.

I have removed the OPA2171 from the PCB and checked the PCB and found nothing.

 

I am able to set the trip point of each op-amp without issues and the circuit works in our application but I need to understand what it is doing and why.

 

I found this trying to setup a test and cal procedure for production.

So I went back to my prototype and found out that it was using the OPA251 not the OPA2171!

Someplace along the line it was decided to change from an OPA2251 to a OPA2171 because of cost.

Notwithstanding I check the prototype and it did not have this quirk.

It worked as you would think the references inputs stayed the same all the time no manner what the other inputs where doing.

 

If I was to use just the outputs to setup the unit I would not even know this was going on.

 

Thanks for all your patience and your comments.

 

Tom

  • Thomas,

    The OPA2171 has clamps between the input terminals to protect the input transistors against large differential input voltages. Many types of op amps have similar input clamps and are not suited to use as a comparator.

    The type of transistors used in the OPA2251do not require input clamps and thus function successfully as a comparator in your circuit.

    Regards, Bruce.

  • Bruce

    Thanks for the reply.

    I did not see this in the data sheet what is this list as?

    Tom

  • Thomas,

    I regret that many of our data sheets (and those of our competitors) don't always make it clear that an op amp has differential input clamps. Our presumption is that an op amp will be used as an op amp, not a comparator. When used as an op amp, it's generally not noticed that these clamps are present (though there are exceptions). I admit it, I have used an op amp as a comparator (usually a case of one channel in a quad package). We should be more diligent in explaining this.

    In general, op amps with NPN transistors have input clamps. Examples would be OPA227, OPA277, etc. An exception would be the old '741 which has NPN input transistors but additional PNPs in series that provided inherent protection of the NPNs

    Op amps with lateral PNP inputs generally do not have input clamps. OPA2251, OPA244, OPA234, LM324, etc. These can often be identified as the input bias current is listed as a negative number.

    JFET and CMOS amplifiers that operate on higher voltage (greater than 20V, or so) may or may not have clamps. It depends on the characteristics of the process and the particular transistors used.

    Most low voltage CMOS op amps do not have clamps. There is a special exception for auto-zero or chopper types that may have behaviors that look like clamps.

    The bottom line... if you use an op amp as a comparator, know your op amp and validate its behavior. If in doubt, ask us.

    Hope this helps and regards, Bruce.

  • Bruce,

     Thanks for the fast reply!

     This helps to the point that I now understand what is going on but as you know now it brings up the issues of what do I do.

     This is funny though I have been doing EE work for 20 years and have used op-amp 100s of time as comparators and never had this issue.

     Will need figure out what to do with it now!

     Thanks for all the help!

     Tom

  • Tom,

    So far as your previous designs... you may have been lucky in your selection of the op amp. Or, your differential voltages may not have been enough to turn on the clamps. Or, perhaps the clamps worked as they should but it did not matter that the voltages were altered.

    You are using both channels of a dual as a comparator. Why not select a dual comparator rather than an op amp?

    Bruce

  • Bruce,

    That is what I'm doing now I'm looking at the TLV3702-Q1.

    I need the push-pull output because I cannot put pull up resistors on the board at this time.

    What is your though?

    Tom

  • Bruce,

    As it turns out the TLV3702-Q1 is a non-stock item by Digi-Key but they have some in stock at this time (i dont get that).

    The non-stock always gets me I need something that I can get a year from now.

    So in looking farther I found the LMC6762.

    This looks like it would work just fine.

    What is your though on these two?

    Tom

  • Tom,

    I don't have much personal knowledge of either of these parts but it appears they meet your basic requirements. You have not provided any other details that would appear to disqualify either product. Certainly a comparator will give you a much better speed/power ratio but I'm not sure that matters in your application.

    The "Q1" version of the TLV3702 is an automotive version and may be more difficult to find in distribution. (More expensive, too.) I'm not sure if you really need this version.

    Bruce

  • Thomas;

    This question comes up now and then, so a long time ago I created a PowerPoint presentation for our Burr-Brown field applications engineers about using op amps as comparators. You may be interested in the test data, so I'll attach it.

    Op amps have a few advantages over true comparators-- in general, their input offset voltage is lower and the output voltage can have a large bipolar swing, depending on power supply voltages. They are far slower, however, so they are NOT suitable for high-speed applications. On the other hand, their output slew rate is lower so they generate less RFI than a comparator.

    Comparator.ppt
  • Neil

    Would you see any issues with using the OPA2251 as a comparator?

    This is the op-amp I use for my prototype but it got changed do to cost.

     Tom

  • Thomas;

    Bruce can better answer this question; I have no test data on it-- sorry.

  • Thank you

    Bruce and Neil

    Tom

  • Tom,

    The OPA2251has lateral PNP inputs (notice that the input bias current is negative). Thus, it does not have a differential clamp.

    You will find that many op amps made on a bipolar process that can swing close to the rail on the output have another property that may affect you:  Their quiescent current goes up substantially when the output hits the rail. This is because the output stage must overdrive the base of the output transistor to swing close to the rail. On op amps, only a modest effort is made to control this current increase. On comparators it is a much more important issue. I don't know the magnitude of this current increase on the OPA2251 and I don't know whether it affects you. I suggest that you check it out.

    Regards, Bruce.