Jump to content

Precision rectifier

From Wikipedia, the free encyclopedia
(Redirected from Peak detector)

The precision rectifier, sometimes called a super diode, is an operational amplifier (opamp) circuit configuration that behaves like an ideal diode and rectifier.[1]

The op-amp-based precision rectifier should not be confused with the power MOSFET-based active rectification ideal diode.

Basic circuit

[edit]
A simple precision rectifier circuit

The basic circuit implementing such a feature is shown on the right, where can be any load. When the input voltage is negative, the opamp puts its most negative voltage on the diode's anode, so the diode is reverse biased and works like an open circuit. Since almost no current will flow through the diode, the output voltage will be pulled down to ground through . When the input becomes positive, it is amplified by the opamp, which switches the diode on. Because of the negative feedback, just enough current will flow through so that equals the input voltage.

The actual threshold is very close to zero, but is not zero. It equals the actual threshold of the diode, divided by the gain of the opamp.

This basic configuration has a problem, so it is not commonly used. When the input becomes (even slightly) negative, the opamp runs open-loop, as there is no feedback signal through the diode. For a typical opamp with high open-loop gain, the output saturates. If the input then becomes positive again, the op-amp has to get out of the saturated state before positive amplification can take place again. This change generates some ringing and takes some time, greatly reducing the frequency response of the circuit.

Improved circuit

[edit]
An improved precision rectifier circuit.

An alternative version is given on the right. In this case, when the input is greater than zero, D1 is off, and D2 is on, so the output is zero because the other end of is connected to the virtual ground and there is no current through . When the input is less than zero, D1 is on and D2 is off, so the output is like the input with an amplification of . Its input–output relationship is the following:

Super diode improved
Super diode improved

This circuit has the benefit that the op-amp never goes into saturation, but its output must change by two diode voltage drops (about 1.2 V) each time the input signal crosses zero. Hence, the slew rate of the opamp and its frequency response (gain–bandwidth product) will limit high-frequency performance, especially for low signal levels, although an error of less than 1% at 100 kHz is possible.

Similar circuitry can be used to create a precision full-wave rectifier circuit.

Peak detector

[edit]

With a little modification, the basic precision rectifier can be used for detecting signal level peaks. In the following circuit, a capacitor retains the peak voltage level of the signal, and a switch is used for resetting the detected level. When the input Vin exceeds Vc (voltage across capacitor), the diode is forward-biased and the circuit becomes a voltage follower. Consequently, the output voltage Vo follows Vin as long as Vin exceeds Vc. When Vin drops below Vc, the diode becomes reverse-biased and the capacitor holds the charge until the input voltage again attains a value greater than Vc.

Peak detector
Peak detector

References

[edit]
  1. ^ Paul Horowitz and Winfield Hill, The Art of Electronics. 2nd ed. Cambridge University Press, Cambridge, 1989 ISBN 0-521-37095-7.
[edit]