# Question of an absolute value circuit

Status
Not open for further replies.

#### bhl3302

##### Full Member level 6
Hi All, I am reading one application notes from https://www.analog.com/library/analogDialogue/archives/44-04/absolute.pdf.

They use two op amps to realize absolute value circuit without using diode. But I have a question of its operating. Could someone give me some explanation of it?

Like this circuit

As the author decribed, when A pint has a negative input(for example, -5V), B point will be around 0V. Then A2 will be used to invert this negative voltage to positive.

I do not understand why when A node has a negative input, B node will be 0. It seems like A1 op amp does not work in this circumstances.

#### barry

I suspect the first opamp is running off a single supply; thus as the input goes negative, the output is forced to ground.

#### bhl3302

##### Full Member level 6
Hi Barry, yes both opamp are in a single supply. I did some simulation and it showed that in steady state Vin+ of first opamp will be kept at -5V while Vin- is kept at 0V (the same as Vout of first opamp).
Could you tell me more about "output forced to GND"?

I suspect the first opamp is running off a single supply; thus as the input goes negative, the output is forced to ground.

#### barry

First of all, that's a pretty goofy schematic. Why are there parallel resistors? Why is there a resistor in the feedback path of the 1st opamp-it's just a voltage follower-resistor not really needed.

Anyway, when the input to the first opamp (gain of 1) goes negative, the output 'wants' to go negative but can't; it can only go as low as ground, right?

bhl3302

### bhl3302

Points: 2

#### FvM

##### Super Moderator
Staff member
The application circuit in the original post can be better understood by looking at the AD8277 datasheet, I think. It's one of those far-fetched design ideas that can be only found in manufacturer's suggestions. If we talk about simple full wave rectifier circuits, I would rather think of a classical example from CA3140 datasheet. Of course you can design many other circuits utilizing single supply saturation instead of diodes. But are they better than a standard two-OP full-wave rectifier from analog design textbooks?

Interesting parameters of full-wave rectifiers (or "absolute value" circuits) are dynamic range versus operation frequency and offset errors. Without referring to specific parameters in this regard, advantages and drawbacks of different topologies, the discussion isn't really motivating for me.

tpetar and bhl3302

Points: 2

Points: 2