A four diode precision bridge rectifier example. An op amp is used to compensate for the diodes' forward voltage drop. This circuit also provides gain given by the ratio of the two resistances. In this example, the input waveform has 100mV, and the rectifier is configured for a gain of 10, yielding a peak output value of 1V. A voltage-controlled voltage source is used to plot the output waveform, which appears differentially across the bridge.