A diode-less peak detector comprises first and second comparators (U 1 , U 2 ) for comparing an input signal (V) with a peak signal. The first comparator (U 1 ) is connected such that the peak signal functions as a reference and the second comparator (U 2 ) is connected such that the input signal functions as a reference. An inverter (U 4 ) is provided for inverting the output of one of the first and second comparators. Means, such as an AND gate (U 3 ) is provided responsive to the output of the inverter and the other of the first and second comparators so as to provide a switching signal. A MOSFET (Q 1 ) is provided responsive to the switching signal and adapted to adjust the magnitude of the peak signal towards the magnitude of the input signal only when the magnitude of the input signal is greater than the magnitude of the peak signal.
1. A peak detector comprising:
first and second comparators for comparing an input signal with a peak signal, the first comparator being connected such that the peak signal functions as a reference and the second comparator being connected such that the input signal functions as a reference;
an inverter for inverting the output of one of the first and second comparators;
means responsive to the output of the inverter and the other of the first and second comparators so as to provide a switching signal; and
a MOSFET responsive to the switching signal and adapted to adjust the magnitude of the peak signal towards the magnitude of the input signal only when the magnitude of the input signal is greater than the magnitude of the peak signal.
2. The peak detector of claim 1 , wherein the detector is adapted to function as a maximum peak detector and the inverter is connected to the output of the second comparator.
3. The peak detector of claim 1 , wherein the detector is adapted to function as a minimum peak detector and the inverter is connected to the output of the first comparator.
4. The peak detector of claim 1 , wherein the means for providing the switching signal comprises an AND gate.
5. The peak detector of claim 1 , wherein the means for providing the switching signal comprises a sequence of two NAND gates.
6. The peak detector of claim 5 , wherein one of the NAND gates is adapted to receive a signal for resetting the peak signal.
7. The peak detector of claim 1 , wherein a capacitor is provided for storing the peak signal.
8. The peak detector of claim 7 including a MOSFET connected across the capacitor for resetting the peak signal.