Op am as a rectifier - Page 1
Forum section: electronics / beginners

author: MrOmnos
author_rank: Frequent Contributor
timestamp: April 15, 2016, 02:54:27 pm
content: 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.

author: danadak
author_rank: Super Contributor
timestamp: April 15, 2016, 03:00:32 pm
content: 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/1608Regards, Dana.

author: uncle_bob
author_rank: Unknown
timestamp: April 16, 2016, 12:55:56 am
content: HiAs 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

author: Audioguru
author_rank: Super Contributor
timestamp: April 16, 2016, 03:29:44 am
content: 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.

author: Carl_Smith
author_rank: Frequent Contributor
timestamp: April 16, 2016, 04:30:34 am
content: Google "absolute value amplifier" or "absolute value circuit."Here's one:http://www.ti.com/lit/an/sboa068/sboa068.pdfIt has several appropriate circuits with explanations.

author: danadak
author_rank: Super Contributor
timestamp: April 16, 2016, 11:11:16 pm
content: LM324 or 358 will not drive to its negative rail, see attached.Regards, Dana.

author: munkeyman1985
author_rank: Contributor
timestamp: April 16, 2016, 11:52:16 pm
content: 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.

author: Audioguru
author_rank: Super Contributor
timestamp: April 17, 2016, 01:08:07 am
content: Quote from: danadak on April 16, 2016, 11:11:16 pmThe 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.