PeakDetector

A peak detector with programmable rise and fall times.

Parameters

decay

peak_rate

Options
decay_shape \( \in \{ \) LINEAR \( , \) EXPONENTIAL \( \} \)

peak_to_detect \( \in \{ \) POSITIVE_PEAK \( , \) NEGATIVE_PEAK \( \} \)

comparator_output \( \in \{ \) REFERENCE_VOLTAGE_OUTPUT \( , \) DIGITAL_OUTPUT \( \} \)

input_phase \( \in \{ \) PHASE1 \( , \) PHASE2 \( \} \)

opamp_mode \( \in \{ \) DEFAULT \( , \) CHOPPER_STABILIZED \( \} \)

Inputs

input Half-Cycle

Outputs

output Continuous

Transfer Function

$$ \frac{\Delta V_{out}}{\Delta t} = \begin{cases} \text{Peak} & \text{if $\> V_{out} < V_{in}$} \\ -\text{Decay} & \text{if $\> V_{out} > V_{in}$} \end{cases} $$

Analog Resource Usage

$$ \begin{array}{|c|c|} \hline \text{Opamps} & \text{2 of 8} \\ \hline \text{Comparators} & \text{1 of 4} \\ \hline \text{Capacitors} & \text{5 of 32} \\ \hline \end{array} $$

Privacy

© 2024 Zrna Research