Sorry, you need a Java-enabled browser to see the simulation.

This circuit outputs the peak voltage of the input. The capacitor stores the current peak voltage. If the input voltage is larger, the op-amp output goes positive until the capacitor is charged up to the new peak value. If the input voltage is smaller, the diode keeps the capacitor from being discharged. The second op-amp acts as a buffer.

Click the reset switch to discharge the capacitor and reset the peak value to zero.

Next: Integrator (inverting)
Previous: Full-Wave Rectifier
Index




java@falstad.com
Generated Tue Feb 23 2010