Author Topic: Op amp with diode and resistor in parallel in feedback  (Read 3172 times)

0 Members and 1 Guest are viewing this topic.

Offline injbTopic starter

  • Regular Contributor
  • *
  • Posts: 64
Op amp with diode and resistor in parallel in feedback
« on: April 01, 2020, 01:33:43 pm »
What kind of amplifier is this? It's an inverting op amp with a diode and a resistor in parallel in the feedback path. I haven't been able to find any examples like this, but I'm seeing it in a circuit. I've seen explanations of op amps that have just a diode in the feedback path (log amps), but how does the resistor change that? The input to this is AC coupled - I'm not sure if that makes any difference in how to understand the feedback path?

 

Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2333
  • Country: mx
Re: Op amp with diode and resistor in parallel in feedback
« Reply #1 on: April 01, 2020, 01:45:22 pm »
A precision half wave rectifier with gain.

This circuit is identical to one in the book Stout and Kaufmann's "Handbook of Operational Amplifier Circuit Design", Chapter 16.
 
The following users thanked this post: injb

Offline injbTopic starter

  • Regular Contributor
  • *
  • Posts: 64
Re: Op amp with diode and resistor in parallel in feedback
« Reply #2 on: April 01, 2020, 02:58:49 pm »
Thanks, that's a big help. I don't have that book, but I've been reading about precision rectifiers, and comparing what I have to examples. The closest I've found is a version that uses another diode in the opposite direction, like the one shown here:

https://www.circuitlib.com/index.php/lessons/94-precision-rectifiers

So if I understand this correctly, the only difference with my example is that when the output goes low and forward biases the diode, some current can still flow from the input through the resistor, but it would be extremely low because the diode would have almost no resistance - is that right? In that case, why would you ever bother with the second diode (from the example in that link)?
 

Offline Vovk_Z

  • Super Contributor
  • ***
  • Posts: 1454
  • Country: ua
Re: Op amp with diode and resistor in parallel in feedback
« Reply #3 on: April 01, 2020, 04:00:30 pm »
Doesn't it logarighmic amplifier?
 

Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2333
  • Country: mx
Re: Op amp with diode and resistor in parallel in feedback
« Reply #4 on: April 01, 2020, 04:13:02 pm »
As clearly shown in the attached LTSpice capture, the single diode amp does provide rectification to the waveform, but its output drops slightly below zero until the diode's starts conducting.

That is the reason for the second diode, if you want to have a rectified waveform that starts precisely from zero.
 
The following users thanked this post: injb

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 701
  • Country: gb
    • Electronic controls
Re: Op amp with diode and resistor in parallel in feedback
« Reply #5 on: April 01, 2020, 11:20:49 pm »
What kind of amplifier is this? It's an inverting op amp with a diode and a resistor in parallel in the feedback path. I haven't been able to find any examples like this, but I'm seeing it in a circuit. I've seen explanations of op amps that have just a diode in the feedback path (log amps), but how does the resistor change that? The input to this is AC coupled - I'm not sure if that makes any difference in how to understand the feedback path?


I use a similar circuit on an op amp just before an A2D converter to stop input to A2D going negative. Works a treat.
 

Offline injbTopic starter

  • Regular Contributor
  • *
  • Posts: 64
Re: Op amp with diode and resistor in parallel in feedback
« Reply #6 on: April 02, 2020, 01:14:22 am »

I use a similar circuit on an op amp just before an A2D converter to stop input to A2D going negative. Works a treat.

Interesting - that's what it's used for in the circuit I'm looking at. But what confuses me is that this circuit has 2 outputs that go to the ADC, and one of them uses this circuit, but the other one uses the 2 diode version described in the link I posted above. Now I'm pretty sure that of these 2 outputs, one is used for diagnostic,s to detect things like the sensor missing from the input, and the other one is actually used for important measurements. The 2-diode version is the one used for measurements. Would they really have decided that the diagnostic output could get by without the second diode, just to save a few cents? Or would there be some more practical reason?
 

Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2333
  • Country: mx
Re: Op amp with diode and resistor in parallel in feedback
« Reply #7 on: April 02, 2020, 02:33:47 pm »
Without seeing the schematic of the circuit which are fed these signals, is difficult to speculate.

I have used the single diode precision rectifier when I want to detect precisely a zero voltage crossing with a comparator.

The ubiquitous LM393 has an input common mode range which includes -300mV, even with a single supply. Thus by feeding a signal that slightly goes below zero, you can be certain that the exact zero volts, plus or minus the small offset voltage, is detected.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf