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.

OPA227 as a precision rectifier

Other Parts Discussed in Thread: OPA227, THS4281, OPA627

Hello TI,

I am developing a circuit where a differential voltage is converted to single-ended, rectified, and then sampled by a peak detector to be compared against a threshold voltage.  The first iteration used the classic textbook peak detector and it worked as expected.  The issue concerns the diode drop which ruins the accuracy of the circuit so I put the diode in a feedback loop of an OPA227. 

The problem is that the voltage level droops significantly across the sampling cap if the voltage is >2V or more.  Ideally there is no path for the capacitor to discharge - the inverting input is high impedance, the input bias current is vanishingly low, and the leakage current of the 1N4184 is also very low when reverse biased. 

One thing I do notice is that there is a relatively large current flowing, ~1ma,  into the inverting input when the output voltage at the OPA227 is in negative saturation.  Since the input is sinusoidal the inverting input is held at the voltage level on the cap while the voltage on the non-inverting input is cycling between 0V and the peak voltage causing a large differential voltage at the inputs.

I don't think this in itself is the problem, but the OPA227 is not a rail to rail input op-amp.  So if I am outside of the input common mode range should I expect a "large" current to flow into the inputs - inevitably discharging the sampling cap?  I am still within the rails so the ESD diodes should not be conducting.

I used the THS4281 and there is no significant droop.  I also tried the OPA627 (not rail to rail like the OPA227), yet this works similar to the THS4281.

Is this an issue with the model or is this expected real life silicon behavior?

Thanks.

-Ken

Precision Rectifier.TSC
  • Hi Ken,

    What you are seeing in the simulation can be expected in the real life circuit behavior. When you apply a large differential input voltage to the OPA227 (anything greater than about 1.2V) you will turn on two internal clamping diodes.  This input protection scheme is discussed on page 11 of the OPA227 datasheet.

    The THS4281 datasheet doesn't mention this type of input protection. I would warn not to use the THS4281 in this type of circuit configuration as it has an absolute input differential voltage rating of 2V. Exceeding this rating may damage the part.

    Best regards,

    Chris

  • Well, another lesson teaching the adage "RTFD." I assumed the protection would have been clamps to their respective rail. Is there a particular op-amp that could handle a large differential voltage across the inputs? Lets say the full rail voltage? Low input bias currents 10nA or less, Slew rates around 2V/us, and a UGBW ~5-10MHz is ok. And/or is there a better circuit? This is a "cookbook" style circuit and may not be the best approach...like using an op-amp as a comparator I guess. -Ken