Capturing and Holding a Voltage Peak

A peak detector captures an input voltage extreme and retains a voltage representing it after the input changes. You encounter this circuit when a brief sensor pulse must remain measurable after the pulse has ended. In a basic positive peak detector, a diode charges a capacitor, then isolates it when the input falls sufficiently. The stored output depends on the diode model, available charging time, and paths through which the capacitor loses charge.

How a peak is captured


A positive peak detector has a series diode feeding a capacitor and parallel load resistor.


The output is the capacitor voltage measured relative to ground. The diode's anode faces the input and its cathode faces the capacitor. Using a constant-drop model, the input can charge the capacitor when it exceeds the stored voltage by enough to forward-bias the diode.


vin>vout+VDv_{\text{in}}>v_{\text{out}}+V_D


Here, VDV_D is the assumed forward voltage drop. With sufficient charging time and a sufficiently strong source, the output near the positive input peak approaches


V0≈Vpk−VD.V_0\approx V_{\text{pk}}-V_D.


An ideal diode has VD=0V_D=0. A real diode's forward voltage depends on current and temperature; a supplied constant drop is a circuit model, not a universal material constant.


Circuit condition

Diode behavior

Capacitor behavior

Input can supply forward current through the diode

Conducting

Receives charge from the source

Input is below the stored voltage plus the modeled drop

Off

Supplies the load from stored charge



Reversing the diode orientation produces a detector for negative peaks, with the output polarity reversed. The same storage and discharge reasoning applies.

Why the held voltage falls

Droop is the decrease in stored output voltage during a holding interval. In the circuit shown, the load resistor discharges the capacitor while the diode is off. Assume that resistance is constant and other leakage paths are negligible. Starting from voltage V0V_0, the output after an elapsed holding time tt is


vout(t)=V0e−t/(RLC),τhold=RLC.v_{\text{out}}(t)=V_0e^{-t/(R_LC)},\qquad \tau_{\text{hold}}=R_LC.


The voltage lost during that interval is therefore


ΔV=V0−vout(t)=V0(1−e−t/(RLC)).\Delta V=V_0-v_{\text{out}}(t) =V_0\left(1-e^{-t/(R_LC)}\right).


Apply this exponential only while the diode remains off. If another input pulse recharges the capacitor, begin a new holding interval from the updated voltage.


When t≪RLCt\ll R_LC, the small-droop approximation is useful:


ΔV≈V0tRLC.\Delta V\approx\frac{V_0t}{R_LC}.


For repeated equal peaks, you can approximate the holding interval by the period if charging occupies only a small fraction of each cycle. The resulting peak-to-trough variation is called ripple. A stated single-pulse holding time is more precise than automatically substituting a waveform period.

Choosing a capacitor and accounting for the source

Increasing CC reduces droop for a fixed load and holding time. However, a larger capacitor also takes longer to acquire a new peak when the source resistance limits charging current.


For a constant positive pulse, an initially discharged capacitor, and negligible loading during charging, the constant-drop model gives


vout(t)=(Vpk−VD)(1−e−t/(RsC)).v_{\text{out}}(t)=(V_{\text{pk}}-V_D) \left(1-e^{-t/(R_sC)}\right).


This expression assumes the pulse exceeds the diode drop and the diode conducts during charging. A short pulse may end before the capacitor approaches its target voltage. Thus, good holding behavior alone does not guarantee accurate peak capture.



For two parallel resistive loads, use their equivalent resistance in the discharge equation. Additional diode leakage or capacitor leakage can also increase droop; neglect them only when the problem permits it. A reset switch across the capacitor deliberately removes the stored voltage before a new measurement.

What to remember

  • Compare the input with the stored voltage plus the diode drop to assess charging.
  • Subtract the modeled diode drop only when charging has had enough time.
  • Calculate droop over the actual interval without recharging.
  • Include every significant discharge path.
  • Check both acquisition speed and holding accuracy when selecting the capacitor.

Example: Retaining a Short Sensor Pulse

A sensor produces an isolated positive pulse with a peak of 6.00 V. A positive peak detector has a 1.00 μF storage capacitor and a 150 kΩ load. Model the diode with a constant forward drop of 0.65 V. The capacitor is initially discharged, the source resistance is negligible, and the pulse lasts long enough to charge the capacitor fully under this model.


After the pulse, the input remains at zero for 15.0 ms. Neglect diode and capacitor leakage. You will calculate the captured voltage, the droop, meaning the voltage lost during holding, and a revised capacitance.


A positive peak detector has a storage capacitor and a 150 kilohm parallel load.


a) Find the output voltage immediately after the pulse.


The positive pulse charges the capacitor through the diode. Because the source resistance is negligible and the pulse is sufficiently long, the output reaches the input peak minus the modeled forward drop.


V0=Vpk−VD=6.00−0.65=5.35 V.V_0=V_{\text{pk}}-V_D =6.00-0.65 =5.35\ \text{V}.


The captured output is 5.35 V. This is the initial capacitor voltage for the holding calculation, so the diode drop will not be subtracted again.


b) Calculate the output after 15.0 ms and the voltage lost during that interval.


The input has returned to zero, leaving the diode off. The capacitor discharges through the load. In SI units, the resistance is ________ and the capacitance is ________.


τ=RLC=(150000)(0.000001)=0.150 s.\tau=R_LC=(150000)(0.000001)=0.150\ \text{s}.


The holding time constant is ________, and the ratio of elapsed time to time constant is ________. Apply exponential decay over the entire interval because no new pulse arrives.


vout(15.0 ms)=5.35e−0.0150/0.150=4.84088… V.v_{\text{out}}(15.0\ \text{ms}) =5.35e^{-0.0150/0.150} =4.84088\ldots\ \text{V}.


Subtract this value from the initial stored voltage to obtain the droop.


ΔV=5.35−4.84088…=0.509120… V.\Delta V=5.35-4.84088\ldots =0.509120\ldots\ \text{V}.


The output is 4.84 V, and the voltage lost is 0.509 V. The positive loss and lower final voltage agree with a capacitor supplying a resistive load.


c) Keeping the same load and holding interval, find the minimum capacitance that limits the voltage loss to 2.00% of the captured voltage. Assume the pulse still lasts long enough to charge the revised capacitor fully.


A maximum loss of 2.00% requires a retained fraction of ________. Use the exact exponential relation rather than the small-droop approximation. The load resistance and holding interval remain unchanged.


voutV0=e−t/(RLC)≥0.980.\frac{v_{\text{out}}}{V_0}=e^{-t/(R_LC)}\ge0.980.


At the minimum permitted capacitance, the retained fraction equals the limit. Taking natural logarithms gives


−tRLC=ln⁡(0.980).-\frac{t}{R_LC}=\ln(0.980).


The natural logarithm is approximately ________. Solve for the capacitance using the unrounded logarithm in the numerical calculation.


Cmin⁡=−tRLln⁡(0.980)=−0.0150(150000)ln⁡(0.980)=4.94983…×10−6 F.C_{\min}=\frac{-t}{R_L\ln(0.980)} =\frac{-0.0150}{(150000)\ln(0.980)} =4.94983\ldots\times10^{-6}\ \text{F}.


The minimum capacitance is 4.95 μF, to three significant figures. A practical selection must also allow for component tolerance and adequate charging time; this result uses the exact component values and charging assumptions stated in the problem.

A positive peak detector's capacitor initially holds 3.20 V. The input then becomes 3.60 V. Use a constant diode drop of 0.60 V, and neglect leakage, loading, and source resistance. What happens immediately after this input change?


A diode connects a voltage source to a precharged capacitor with no load resistor.


Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Immediately after a pulse ends, a positive peak detector's 2.2 μF capacitor holds 3.80 V. Its only discharge path is an 82 kΩ resistor. The input remains at zero and the diode stays off for the next 12.0 ms. Neglect leakage and, using the exact exponential discharge, calculate the output at the end of this interval, in volts to two decimal places.


A peak detector capacitor is connected in parallel with a load resistor.


Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A positive peak detector captures a sufficiently long 8.00 V pulse through a diode modeled with a 0.70 V forward drop. The 4.7 μF capacitor has a permanent 300 kΩ load and a connected instrument with 600 kΩ input resistance. Source resistance is negligible. After the pulse, the input becomes zero for 20.0 ms; neglect all leakage.


Find the effective discharge resistance in kΩ to one decimal place, the holding time constant in seconds to three decimal places, and the output after 20.0 ms, using exact exponential discharge rather than the small-droop approximation, in volts to two decimal places.


A peak detector has a capacitor, load resistor, and instrument input resistance connected in parallel.


Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors