Wideband peak detector operates over wide input-frequency range

Texas Instruments LM6171 TL084

This Design Idea builds on a previous one (Reference 1) to realize a precision peak detector with a bandwidth of 15 to 30 MHz or more, depending on the maximum input-signal level of your application. The crucial feature of this Design Idea is an ultrafast comparator that provides the high slew rate and low propagation delay that this application requires. The comparator in this design is the Analog Devices AD8561, a 7-nsec device. This peak detector provides accuracy from 100 Hz to more than 14 MHz at input-signal levels of 100 mV p-p to 6 V p-p. At higher frequencies, the maximum usable input-signal level decreases. The circuit exhibits an accuracy of ±3% over much of the input-level range. Also, its high input impedance of about 100 kΩ in parallel with 3 pF does not significantly load the circuit under test in many applications; 3 pF results in an impedance of 3.5 kΩ at 15 MHz.

Referring to Figure 1, the high-input-impedance buffer comprising IC1 and its associated components provides the ac signal to the ultrafast comparator, IC3. The output of IC1 centers on 0 V dc by the action of op amp IC2A and its associated components, which sample the dc level at Pin 6 of IC1 and then provide a dc-correction voltage to Pin 3 of IC1. This action virtually eliminates the effects of IC1’s input-offset voltage and input-bias currents. R1, R4, and C1 provide a small amount of gain boost as the frequency increases to 25 MHz, and C5 then begins to roll off the gain.

This precision peak detector uses an ultrafast comparator to achieve high accuracy over a wide input-frequency range.
Figure 1. This precision peak detector uses an ultrafast comparator to achieve high accuracy over a wide input-frequency range.

The input signal capacitively couples to the input buffer, so, for proper operation, the input-ac signal must have a symmetrical waveform, such as a sine wave. An unsymmetrical waveform has a shift in its peak value after passing through C2, and, as a result, the output of the peak detector will be inaccurate. The output of comparator IC3 swings high when the input at Pin 2 is higher than the dc level at Pin 3. This action, in turn, charges holding capacitor C19 through R17, D4, D5, D6, and R23. When the voltage on C19 is higher than the peak signal level at Pin 2 of IC3, the comparator stops providing charging pulses at its output. At equilibrium, the comparator provides output pulses with the correct amplitude and width to maintain the voltage on C19 at approximately the peak level of the input signal. The high-input-impedance dc buffer, IC2B, minimizes the discharging of C19 between charging pulses.

The network comprising R24, R25, and C20 filters and attenuates the dc output by 2.1%. This attenuation is necessary because the output tends to be slightly higher than the actual peak level of the input signal at Pin 3 of IC1. The circuitry comprising IC2C and its associated components provides a novel feature: a voltage boost at Pin 14 of IC2C as the voltage on holding capacitor C19 increases. The circuitry then applies this voltage boost to R16, which in turn causes the voltage swing at the junction of R16 and R17 to increase as the charge on C19 increases. This action causes the amplitude of the pulses driving D4 to increase. This action maintains a relatively constant drive to C19 as its charge increases.

Diode D1 keeps the voltage at the output of IC3 from exceeding its supply voltage. Diode D2 keeps the boost voltage from going to a large negative level at start-up, which could cause the circuit to latch up. The switching action of the comparator and diode D3 prevents latch-up due to a large positive-boost transient. This circuit exhibits no indication or tendency for instability. The maximum input signal is 6 V p-p because of the input common-mode-voltage specification of the AD8561 comparator. The supply voltages for the input buffer are ±6.5 V to avoid the possibility of severely overdriving the comparator.

You can improve the precision of the circuit by substituting a 100-kΩ potentiometer for R4 to provide an output-level adjustment, and a dc-offset adjustment would improve accuracy at low signal levels.

Table 1. Measured results for wideband peak detector
Frequency (Hz) 50 100 200 500 1000 5k 10k 20k 50k 100k
% error (100 mV p-p input) –0.8 4.2 6 1 0.8 1 0.2 0.4 –1 –1.2
% error (400 mV p-p input) –4.7 –1.4 0.9 1.9 2.2 2.8 2.8 3.7 3.8 3.4
% error (1 V p-p input) –7 –4 –2.2 –0.6 –0.6 0 0.4 0.8 1.2 1.2
% error (2 V p-p input) –6.4 –3.3 –1.4 –0.3 –0.3 –3.3 0.9 0.1 1.7
% error (4 V p-p input) –6.1 –3.9 –2.1 –0.3 –0.1 0.5 0.6 1.1 1.7 1.6
% error (6 V p-p input) –8.3 –5.2 –3.4 –1.9 –1.6 –1.5 –1.5 –1.5 0.2
Frequency (Hz) 200k 500k 1M 2M 5M 10M 15M 20M 25M 30M
% error (100 mV p-p input) –2.4 –2.6 –3 –3.4 –0.6 –2.4 1.6 4.2 4 3.8
% error (400 mV p-p input) 3.5 2.3 0.9 0.8 2.3 5.4 3.7 6.6 7.4 6.7
% error (1 V p-p input) 0.4 0.2 –1 –1.2 3.4 2.6 3.8 2.8 0.6 –1.6
% error (2 V p-p input) 1.5 –3.3 –0.8 –1 0.3 0.1 0.1 –1.2 –4.9 –10
% error (4 V p-p input) 1.4 0.9 –0.2 –0.5 0.5 4 1.8 31.6
% error (6 V p-p input) 0 –0.4 –1.1 –1.7 –0.1 –0.2 –13.3 –20.7

This circuit used a 300-MHz-bandwidth oscilloscope to make the performance measurements. As a result, the data in Table 1 may include some measurement errors. Therefore, take the results in the table as representing the circuit’s performance rather than as precise data. The data is simply the result of the best equipment on hand when the measurements were made.


  1. Jim McLucas, “Precision peak detector uses no precision components“.

Materials on the topic

  1. Datasheet Analog Devices AD8561
  2. Datasheet Texas Instruments LM6171
  3. Datasheet Texas Instruments TL084
  4. Datasheet Vishay SD101A
EMS supplier