Comparator

A comparator takes two input signals and produces a positive output voltage if the first signal is greater than the second.

The second input can receive a signal from a connected module or be set to a constant reference.

Parameters

reference_voltage

Options
compare_to \( \in \{ \) GROUND \( , \) SECOND_INPUT \( , \) VARIABLE_REFERENCE \( \} \)

output_polarity \( \in \{ \) NONINVERTED \( , \) INVERTED \( \} \)

hysteresis \( \in \{ \) ZERO_MILLIVOLTS \( , \) TEN_MILLIVOLTS \( \} \)

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

output_sync \( \in \{ \) SYNC_DISABLED \( , \) SYNC_TO_PHASE1 \( , \) SYNC_TO_PHASE2 \( \} \)

sync_clock_edge \( \in \{ \) RISING_EDGE \( , \) FALLING_EDGE \( \} \)

Inputs

noninverting Half-Cycle

inverting Half-Cycle

Outputs

output Continuous

Transfer Function

$$ V_{out} = \begin{cases} +2V & \text{if $\> V_+ > V_-$} \\ -2V & \text{if $\> V_+ < V_-$} \\ \end{cases} $$

Analog Resource Usage

$$ \begin{array}{|c|c|} \hline \text{Comparators} & \text{1 of 4} \\ \hline \end{array} \\~\\ \text{If variable reference enabled:} \\ \begin{array}{|c|c|} \hline \text{Capacitors} & \text{2 of 32} \\ \hline \end{array} \\ $$

Privacy

© 2024 Zrna Research