Author Topic: Op am as a rectifier  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

Offline MrOmnosTopic starter

  • Frequent Contributor
  • **
  • Posts: 260
  • Country: np
  • BE in Electronics and Communication
Op am as a rectifier
« on: April 15, 2016, 02:54:27 pm »
Hi, I was watching Dave's videos on op amps and was confused when he started talking about offsets. If I take an op amp in closed loop configuration with a gain of 1 and the negative power rail connected to ground and feed a sine wave, will it function as a half wave rectifier? I was thinking that since, the negative rail is connected to ground, the output can't swing to negative. So output will show only the positive part of the signal.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Op am as a rectifier
« Reply #1 on: April 15, 2016, 03:00:32 pm »
Yes and no.

1) No if OpAmp has phase reversal problems when its input is taken below ground.
Note you have to make sure your input R limits injection current(reverse current).

2) Yes if OpAmp is RRIO (preferred) and does not suffer 1) above.

One possibility - http://www.linear.com/solutions/1608

Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Op am as a rectifier
« Reply #2 on: April 16, 2016, 12:55:56 am »
Hi

As you feed the (say 10V) sine wave into the input of the op amp, you will drive that input below ground (by say 5V). As with all semiconductors ... they don't like this. The most likely outcome is that you will blow the input of the op amp. There are circuits that will turn an op amp into an "ideal diode". You still use dual supplies and keep all the signals in bounds.

Bob
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Op am as a rectifier
« Reply #3 on: April 16, 2016, 03:29:44 am »
Take an opamp that has inputs and an output that go all the way down to ground when there is no negative supply like an LM358, LM324, MC3307x or a rail-to-rail opamp. Make it an inverting opamp. When the input to the input resistor goes negative then the output of the opamp goes positive and the inverting input of the opamp stays at 0V without going into a not allowed negative voltage. When the input to the input resistor goes positive and the inverting input pin also goes positive then the output of the opamp normally goes to ground. It makes a good rectifier.
 

Offline Carl_Smith

  • Frequent Contributor
  • **
  • Posts: 288
  • Country: us
    • MegaMicroWatt - Carl Smith's Blog
Re: Op am as a rectifier
« Reply #4 on: April 16, 2016, 04:30:34 am »
Google "absolute value amplifier" or "absolute value circuit."   
Here's one:  http://www.ti.com/lit/an/sboa068/sboa068.pdf
It has several appropriate circuits with explanations.

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Op am as a rectifier
« Reply #5 on: April 16, 2016, 11:11:16 pm »
LM324 or 358 will not drive to its negative rail, see attached.

Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 
The following users thanked this post: MrOmnos

Offline munkeyman1985

  • Contributor
  • Posts: 11
  • Country: us
Re: Op am as a rectifier
« Reply #6 on: April 16, 2016, 11:52:16 pm »
Yes, in one Dave's examples it was acting as a rectifier. Good job recognizing the wave form.  As Dave said the more common functions of an opamp are comparator, amplifier, and buffer. If wave shaping is needed, there are more efficient ways to do that.
 
The following users thanked this post: MrOmnos

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Op am as a rectifier
« Reply #7 on: April 17, 2016, 01:08:07 am »
LM324 or 358 will not drive to its negative rail
The typical output is 0.01V when it is sinking a few uA so do not let it sink current, instead let it source current like a normal load to ground.
 
The following users thanked this post: MrOmnos


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf