I have one input, which will swing from -5V to +5V, and an inverting op amp, so there will always be one positive voltage output. The inverting amplifier have a gain of 1. So if the input is +2V, the inverting op amp will be -2V, and vice versa.
I want to compare the two values using an op amp and therefore only get the positive output, but I am not sure how to design the diagram.
What do you mean by compare the two? The input and the output of the inverter? And waht do you want to output? Do you want 5V and -5V to both output 5V?
Where is that signal coming from? Can't you just rectify it?
Bassusour:
I have one input, which will swing from -5V to +5V, and an inverting op amp, so there will always be one positive voltage output. The inverting amplifier have a gain of 1. So if the input is +2V, the inverting op amp will be -2V, and vice versa.
I want to compare the two values using an op amp and therefore only get the positive output, but I am not sure how to design the diagram.