**broken link removed**
The peak detector is a circuit that "remembers" the peak value of a signal. As shown in Fig. 9-a, when a positive voltage is fed to the noninverting input after the capacitor has been momentarily shorted (reset), the output voltage of the op-amp forward biases the diode and charges up the capacitor. This charging last until the inverting and noninverting inputs are at the same voltage, which is equal to the input voltage. When the noninverting input voltage exceeds the voltage at the inverting input, which is also the voltage across the capacitor, the capacitor will charge up to the new peak value. Consequently, the capactor voltage will always be equal to the greatest positive voltage applied to the noninverting input.
Once charged, the time that the peak detector "remembers" this peak value is typically several minutes and depends on the impedance of the load that is connected to the circuit. Consequently, the capacitor will slowly discharge towards zero. To minimize this rate of discharge, a voltage follower can be used to buffer the detector's output from any external load, as shown in Fig. 9-b. Momentarily shorting the capacitor to ground will immediately set the output to zero.
**broken link removed**
Best regards,
Peter