Fact-checked by Grok 2 weeks ago

Comparator

A comparator is an or device that compares two analog input voltages and produces a output signal indicating which input is greater, typically switching to a high if the non-inverting input exceeds the inverting input and low otherwise. Often implemented using an (op-amp) in open-loop configuration without , this setup exploits the op-amp's high to create a sharp transition at the point where the inputs are equal. Comparators serve as fundamental building blocks in analog and mixed-signal systems, functioning essentially as a one-bit by quantizing the input difference into a decision. Key performance parameters include delay, which measures the time from input crossing to output change, and , representing the differential input needed for zero output due to device mismatches. To mitigate noise-induced oscillations near the threshold, many comparators incorporate , creating different switching thresholds for rising and falling inputs via . Notable applications encompass analog-to-digital converters (ADCs), where arrays of comparators form the core of flash architectures for high-speed conversion; in ; zero-crossing detectors for phase-locked loops; and circuits. Comparators are also integral to relaxation oscillators and window comparators, which use dual thresholds to detect signals within a specified range. Modern integrated comparators, available from manufacturers like and , offer features such as low power consumption, rail-to-rail inputs, and push-pull or open-collector outputs to suit diverse supply voltages and interfacing needs.

Fundamentals

Basic Operation

A comparator is an that compares two input voltages and produces a output signal indicating which input is greater. This output is typically a high (often near the positive supply voltage) when the non-inverting input exceeds the inverting input, and a low (near or the negative supply) otherwise. Comparators serve as fundamental building blocks in analog-to-digital interfaces, such as within analog-to-digital converters (ADCs), where they enable the quantization of continuous analog signals into discrete representations. The core operation of a comparator centers on , where the output state changes abruptly when the relative magnitudes of the two inputs cross a decision point—specifically, when the voltage at the non-inverting input (denoted V_{in+}) surpasses that at the inverting input (denoted V_{in-}), or vice versa depending on the configuration. In its ideal form, this yields a perfect response, with no transition region or delay, though real devices approximate this with finite and speed limits. The relies on the voltage between the inputs, amplifying any difference to drive the output to one of its saturated states. The basic block diagram of a comparator consists of two input terminals for receiving V_{in+} and V_{in-}, an internal logic stage that evaluates their difference, and a single output terminal that reflects the result of the . Transistorized comparators emerged in the alongside the development of technology, facilitating their integration into early and systems during the shift from tube-based to solid-state designs. The voltage transfer characteristic of an ideal comparator is a discontinuous , mathematically expressed as: V_{out} = \begin{cases} V_{high} & \text{if } V_{in+} > V_{in-} \\ V_{low} & \text{otherwise} \end{cases} where V_{high} and V_{low} represent the supply rail voltages defining the output levels.

Differential Input Stage

The differential input stage of a comparator processes the between the two input voltages, defined as V_{\text{diff}} = V_{\text{IN+}} - V_{\text{IN-}}, which serves as the primary parameter determining the output state. This stage amplifies even minute differences in V_{\text{diff}} to drive the output to its full rail-to-rail swing, such as from to the supply voltage, enabling a decision. In contrast to linear amplifiers, where the output scales proportionally with the input within the linear , the comparator's input stage pushes the signal into for rapid switching, prioritizing decision speed over proportional fidelity. The core architecture of the differential input stage typically employs a differential pair of matched transistors, such as NPN or bipolar transistors (BJTs), with their emitters (or sources in MOSFET variants) connected to a source. This configuration provides high gain while achieving excellent common-mode rejection, as common-mode signals applied equally to both inputs produce balanced currents that cancel out at the output. The unbalanced currents resulting from V_{\text{diff}} are then converted to a voltage difference, often via active loads like current mirrors, to initiate the amplification process. In an ideal comparator, the output transitions at V_{\text{diff}} = 0, but the high A ensures that the output voltage approximates V_{\text{out}} \approx A \cdot V_{\text{diff}} for small |V_{\text{diff}}|, rapidly saturating to the supply rails as |V_{\text{diff}}| exceeds a few millivolts. Here, A is the voltage gain, often on the order of 200 V/mV or higher, determined by the of the input transistors and the load impedance, though exact values depend on the specific implementation without requiring detailed derivation. However, practical limitations arise from input offset voltage and common-mode input range. The input offset voltage V_{\text{OS}}, typically a few millivolts, represents the inherent V_{\text{diff}} needed to balance the stage and trigger switching, arising from mismatches and biasing errors. Additionally, the common-mode input range defines the allowable voltage span for both inputs where the stage maintains proper operation and rejection, often limited by saturation or , such as from near to near the positive supply in rail-to-rail designs. Exceeding this range can lead to phase inversion or .

Circuit Implementations

Operational Amplifier-Based Comparators

Operational amplifiers (op-amps) can be configured as comparators by operating them in open-loop mode, where the high amplifies the input voltage to produce a output that switches between the supply rails based on whether the input signal exceeds a reference threshold. In this setup, no is applied, allowing the op-amp to function as a element for voltage comparison tasks. The non-inverting configuration applies the input signal to the non-inverting (+) and the voltage to the inverting (-) ; the output goes high (positive ) when the input exceeds the and low (negative ) otherwise. Conversely, the inverting configuration connects the input signal to the inverting (-) and the to the non-inverting (+) , resulting in the output going high when the input is below the and low when above, thereby inverting the comparison logic. A basic schematic for setting the threshold uses a two-resistor voltage divider on the reference input. For the non-inverting setup, connect resistor R_1 from the reference voltage V_{ref} to the inverting input and R_2 from the inverting input to ; the is given by V_{th} = \frac{R_2}{R_1 + R_2} V_{ref} This divides V_{ref} to create a precise level at the inverting terminal. One key advantage of op-amp-based comparators is their low cost, as general-purpose op-amps are ubiquitous and readily available for prototyping or low-volume applications without needing specialized components. However, they suffer from slower response times compared to dedicated comparators, primarily due to internal compensation capacitors designed for stable closed-loop operation, which introduce phase lag and limit slew rates to around 0.5 V/μs in typical devices. Additionally, potential instability can arise from input overdrive or capacitive loading, and the output swing may not directly interface with digital logic levels without buffering. In the inverting configuration, phase inversion occurs because the output polarity is opposite to the input signal's relation to the threshold, which can complicate downstream logic. This can be mitigated by adding an additional inverter stage, such as a second op-amp in a simple inverting buffer configuration, to restore the desired output polarity without significantly impacting speed. The μA741 op-amp, introduced by in 1968, exemplifies early use of general-purpose op-amps in comparator applications during the late and , where its internal compensation and offset null capability made it suitable for basic voltage detection in analog systems despite its modest 1 MHz .

Dedicated Integrated Comparators

Dedicated integrated comparators represent purpose-built integrated circuits optimized specifically for voltage comparison tasks, offering superior performance in speed and efficiency compared to adapting general-purpose operational amplifiers. The LM339, introduced by in the early 1970s, marked a significant milestone as one of the first dedicated quad comparator ICs, designed for multi-channel applications with low power consumption and compatibility with logic levels. This development addressed the limitations of earlier discrete or op-amp-based designs by integrating multiple independent comparators on a single chip, enabling compact and cost-effective solutions for . Internally, these employ optimized input stages, typically using pairs for high and , followed by output stages without the compensation capacitors required in op-amps for in closed-loop operation. This absence of compensation allows for rapid signal transitions, as the circuit prioritizes and over linear amplification, resulting in switching speeds unsuitable for but ideal for binary decisions. Key examples include the LM311 single comparator, the LM393 dual comparator, and the LM339 quad comparator, all part of the enduring LMx39 family originally from National Semiconductor (now Texas Instruments). The LM311 features an 8-pin DIP package with pin 1 as balance, pin 2 as the inverting input, pin 3 as the non-inverting input, pin 4 as V- / strobe, pin 5 as balance / strobe, pin 6 as emitter output, pin 7 as collector output (open-collector), and pin 8 as V+. In a basic application, the inputs connect to the voltages to be compared, the output pulls low when the non-inverting input exceeds the inverting, and a pull-up resistor (e.g., 10 kΩ to V+) converts the open-collector to a logic-high signal. The LM393, in an 8-pin package, has dual channels with pins 1 and 7 as outputs, pins 2/3 and 5/6 as inverting/non-inverting inputs for each, pin 4 for GND, and pin 8 for VCC; a simple circuit mirrors the LM311 but supports two comparisons per IC. The LM339 extends this to four channels in a 14-pin package with the following pinout: pin 1 (output 1), pin 2 (output 2), pin 3 (V+), pin 4 (inverting input 2), pin 5 (non-inverting input 2), pin 6 (inverting input 1), pin 7 (non-inverting input 1), pin 8 (inverting input 3), pin 9 (non-inverting input 3), pin 10 (inverting input 4), pin 11 (non-inverting input 4), pin 12 (GND), pin 13 (output 4), pin 14 (output 3). Basic circuit uses similar input connections and pull-ups on each output for multi-comparison setups. These dedicated provide advantages such as higher switching speeds, lower quiescent power (often under 1 mA total), and wide common-mode input ranges approaching rail-to-rail operation in many variants, facilitating direct interfacing without level shifters. Unlike op-amp configurations requiring external components for speed optimization, dedicated designs minimize propagation delay through streamlined architecture. Propagation delay (t_pd) is the time from the input voltage crossing zero to the output reaching 50% of its transition; for the LM339, it typically measures 1.3 μs under 5 mV overdrive. A representative timing for this is shown below, where the inputs cross at t=0, and the output transitions after t_pd:
Time axis →
 
V_IN+ ───┐         ┌──
         │         │
         └─────────┘  (rising edge)
 
V_IN- ───┴         └─
         │         │
         └──┐     └── (falling edge, cross at t=0)
 
V_DIFF ───────┐   (overdrive starts)
              └─
 
V_OUT  ───────┴────────── (falls after t_pd)
              └ (50% point defines t_pd)
The following table compares key specifications for these common ICs:
ICChannelsSupply Voltage Range (V)Input Offset Voltage (mV, max)Propagation Delay (ns, typ)
LM31115 to 30 (single)4200
LM39322 to 3691300
LM33942 to 3691300

Design Features

Output Configurations

Comparators employ various output configurations to interface with subsequent circuitry, each offering distinct electrical characteristics and trade-offs in capability, speed, and . These configurations determine how the comparator drives the output high or low in response to input comparisons, influencing factors such as voltage swing, current handling, and the ability to connect multiple devices. The standard push-pull output, also known as totem-pole, utilizes complementary transistors—one to source current (pull up) and another to current (pull down)—enabling full rail-to-rail voltage swing without an external . This configuration provides symmetrical rise and fall times, typically under 100 ns, and supports both sourcing and sinking currents up to several milliamperes, making it suitable for driving logic gates or loads directly from the supply rails. In totem-pole implementations, often using two NPN transistors in a stacked arrangement for the upper stage, the output actively drives to V+ (high) or (low), achieving low for both states but preventing direct tying of multiple outputs due to potential short-circuit risks. Quasi-complementary outputs represent a variant of push-pull where the complementary stages are asymmetric, such as using a pair of NPN transistors for the upper (sourcing) stage paired with a single NPN for the lower (sinking) stage, to simplify fabrication while approximating full complementary performance. This approach offers advantages in cost and integration for processes but may introduce slight nonlinearity or reduced sourcing efficiency compared to true complementary push-pull, though it still provides rail-to-rail and active drive in both directions. In contrast, the open-collector (or open-drain in CMOS equivalents) output relies on a single NPN transistor whose collector is left open, allowing the output to sink current to ground when low but float high when off, necessitating an external pull-up resistor to define the high state. Schematically, the output transistor connects between the output pin and ground, with the pull-up resistor tied from the output to a termination voltage, enabling level-shifting if the pull-up voltage exceeds the comparator's supply (e.g., up to 36 V for devices like the LM139). The pull-up resistor value is selected as R_{\text{pullup}} = \frac{V_{\text{supply}} - V_{\text{OL}}}{I_{\text{load}}}, where V_{\text{OL}} is the low output voltage (typically 0.4 V) and I_{\text{load}} is the required drive current, balancing speed against power dissipation and rise time influenced by load capacitance. This configuration excels in wired-OR logic, where multiple open-collector outputs can be tied together to a single pull-up, allowing any active low to pull the bus low while inactive outputs float, facilitating multi-device connections like error detection buses or window comparators without additional gating. Open-collector outputs gained popularity in TTL-compatible designs, such as the SN54/7400 series, due to their versatility in wired-OR applications and compatibility with expanding digital systems, as detailed in early TTL design guides. For protection, many comparators incorporate output clamping diodes or ESD structures to limit voltage excursions, preventing damage from overvoltage on open-collector pins (e.g., clamping to + 0.3 V) or shorts in push-pull stages. Similar to dedicated comparator outputs, operational amplifier-based designs often use push-pull stages for comparable drive but may lack the optimized speed of specialized comparators.

Hysteresis Mechanisms

Hysteresis in comparators is introduced through , which establishes two distinct switching s: a lower (Vth-) for rising input signals and an upper (Vth+) for falling signals. This mechanism prevents rapid output oscillations caused by around a single , as the output remains until the input crosses the appropriate in the opposite direction. The implementation typically involves a network that feeds a portion of the output voltage back to one of the comparator inputs. In a basic inverting configuration, the input signal is applied to the inverting input (with V_ref also considered at the inverting input or adjusted); a (R1) connects the output to the non-inverting input, while a second (R2) connects the non-inverting input to (or a reference voltage). The voltage (Vhys) is given by: Vhys = \frac{R2}{R1 + R2} \times V_{out_{swing}} where V_{out_{swing}} is the output voltage swing (e.g., from 0 V to the supply voltage). The thresholds are derived as follows: for a rising input, when the output is low (0 V), V_{th-} = V_{ref} - Vhys; for a falling input, when the output is high (V_{out_{swing}}), V_{th+} = V_{ref} + Vhys, assuming a voltage V_{ref} effectively at the inverting input. This positive feedback shifts the effective reference based on the output state, creating the dual-threshold behavior. Two primary configurations exist: non-inverting and inverting Schmitt triggers. In the non-inverting type, the input signal is applied to the non-inverting terminal, and feedback adjusts the threshold there, resulting in an output that follows the input logic with hysteresis. The inverting configuration applies the input to the inverting terminal, with feedback to the non-inverting terminal, inverting the logic while providing the same threshold separation. Both types achieve noise rejection but differ in signal polarity handling. The primary benefit of hysteresis is enhanced noise immunity, particularly for slowly varying or noisy input signals, where it avoids false triggering and ensures clean transitions. However, it introduces a drawback of reduced resolution, as the effective input range is narrowed by the hysteresis width, potentially limiting precision in applications requiring fine detection. For example, consider R1 = 1 MΩ (), R2 = 10 kΩ (to ), and V_{out_{swing}} = 5 V, with V_{ref} = 2.5 V. Then, Vhys = \frac{10 \times 10^3}{1 \times 10^6 + 10 \times 10^3} \times 5 \approx 0.05 V, yielding V_{th+} \approx 2.55 V and V_{th-} \approx 2.45 V.

Performance Specifications

Speed and Power Characteristics

Propagation delay in comparators is defined as the time interval from the (50%) of the input voltage transition to the (50%) of the corresponding output voltage transition. This metric quantifies the device's response speed to input changes and is influenced by factors such as input overdrive voltage (the excess beyond the ) and the input signal's . For instance, lower overdrive increases delay due to reduced input, while slower input transitions can extend the effective delay by limiting the rate at which the internal stage responds. In the LM393 dual comparator, typical propagation delay is 300 ns under conditions of logic swing input, 1.4 V reference, and 5 V supply with a 5.1 kΩ load. Faster bipolar comparators like the LM311 achieve around 200 ns propagation delay with similar overdrive. Slew rate for comparators refers to the maximum rate of change of the output voltage (dV/dt), typically expressed in V/µs, which determines how quickly the output can swing between logic levels during transitions. Rise and fall times, measured from 10% to 90% of the output swing, are closely related and often limited by this ; for example, rise time can be approximated as 0.8 × (output voltage swing) / . To avoid errors from slew limiting or integration during slow inputs, the minimum input transition time should exceed the comparator's inherent delay but remain fast enough to minimize from thermal —ideally, input above 1 V/µs for high-speed devices to ensure accurate crossing without prolonged uncertainty. Bipolar comparators like the LM311 exhibit around 30 V/µs, resulting in rise/fall times of ~0.2 µs for full 5 V swings, while modern CMOS designs can achieve higher rates up to 10 V/µs in optimized processes. Power consumption in comparators comprises quiescent current (Iq, the steady-state draw with no input switching) and dynamic power from output transitions, calculated as P_dynamic ≈ V_supply × I_switch × f_switch, where I_switch is the switching current and f_switch is the transition frequency. Low-power comparators prioritize minimal Iq, often in the nA to µA range, enabling battery-operated applications; for example, the LMC6762 draws 12 µA typical total (6 µA per comparator) at 5 V. In contrast, traditional designs like the LM393 consume 0.4 mA typical Iq (2 mW at 5 V), with dynamic contributions adding during high-frequency operation. A fundamental exists between speed and in comparator : faster delays require higher currents, increasing both quiescent and dynamic , while low- variants sacrifice speed. Bipolar processes excel in speed due to higher but incur higher (e.g., several mA Iq for ns delays), whereas offers superior efficiency with µA Iq but typically slower responses (µs range) unless scaled to advanced nodes. BiCMOS hybrids mitigate this by combining bipolar speed for critical paths with CMOS low- logic, achieving sub-100 ns delays at mW levels.
IC Family/ExampleTypical Propagation DelayTypical Iq (at 5 V)Notes/Source
Bipolar (LM393)300 ns0.4 mAStandard dual comparator
Bipolar (LM311)200 ns5.1 mAHigh-speed single
CMOS (LMC6762)0.42 µs6 µA (per comparator)Micropower rail-to-rail
CMOS (MCP65R41)4 µs2.5 µALow-power push-pull output
BiCMOS (LT1011)150 ns3.2 mAUltrafast with adjustable

Operational Modes and References

Comparators operate in either continuous or clocked modes, depending on the application requirements for response or . In continuous mode, the comparator continuously monitors the input signals and produces an output that reflects the instantaneous comparison, making it suitable for analog signals without timing constraints. Clocked, or , comparators incorporate a sample-and-hold mechanism that captures the input at clock edges, followed by a regeneration where the output is resolved and latched until the next clock cycle; this mode includes a finite regeneration time determined by the latch circuitry's gain and load. Many integrated comparators feature internal reference voltages to simplify circuit design and improve precision, often generated using bandgap circuits that produce stable outputs around 1.2 V or other fixed levels. These references are derived from the silicon bandgap energy, combining proportional-to-absolute-temperature (PTAT) and complementary-to-absolute-temperature (CTAT) components to minimize thermal drift. The accuracy of such a reference over a temperature change ΔT is approximated by V_{\text{ref}} \pm \Delta T \times \text{tempco}, where tempco is the temperature coefficient typically expressed in ppm/°C or V/°C. For instance, Microchip's comparator modules include selectable internal bandgap references of 1.2 V, 0.6 V, or 0.2 V for threshold comparison. Window comparators extend basic functionality by defining an acceptable input range between upper and lower , typically implemented using two comparators whose outputs are combined with logic gates such as AND or OR. The first comparator monitors the upper (output high if input < upper ), while the second handles the lower (output high if input > lower ); a logical AND of these outputs asserts when the input falls within the , providing over/under-voltage detection. Clocked comparators offer advantages in synchronized systems like analog-to-digital converters (ADCs), where they reduce risks by sampling inputs at precise times and allowing regeneration to resolve near-threshold decisions without . Continuous modes, conversely, excel in where immediate response is critical, avoiding clock-related latency. Examples include LVDS-output comparators like the LMH7220, which maintain a 1.2 V internal for output common-mode stability, and devices with built-in thresholds for differential signaling applications.

Applications

Signal Detection Circuits

Comparators play a crucial role in signal detection circuits by providing rapid thresholding decisions to identify specific voltage levels, transitions, or deviations in input signals, enabling applications in processing and measurement systems. These circuits leverage the comparator's ability to compare an input signal against a reference voltage, producing a output that indicates whether the signal meets predefined criteria, such as crossing zero or falling within a . A zero-crossing detector uses a comparator to convert an sine wave into a square wave by detecting points where the input signal crosses the zero-voltage . In this configuration, the comparator's inverting input is connected to (0 V), while the noninverting input receives the AC signal, often attenuated for protection; the output toggles high or low each time the input crosses zero, effectively marking transitions. This setup is particularly useful for detection in circuits, where the square wave output can drive counters or timers to measure timing relative to a . In null detection applications, such as measurements, a comparator serves as a sensitive indicator of deviations from by detecting the of the differential null voltage (Vnull), which represents the imbalance between bridge arms. The output indicates the direction of the imbalance (high or low based on sign of Vnull), allowing adjustment or monitoring in precision resistance or systems. This configuration operates to discriminate polarities for balance correction. A window detector employs two comparators to determine if an input signal lies within a defined voltage band, providing an output only when the signal is between upper (Vhigh) and lower (Vlow) thresholds. The first comparator has the signal at its noninverting input and Vlow at the inverting input, outputting high if the signal exceeds Vlow; the second has Vhigh at its noninverting input and the signal at the inverting input, outputting high if the signal is below Vhigh; their outputs are logically ANDed to yield high when Vlow < Vin < Vhigh. This dual-threshold approach is essential for in-range detection in circuits, such as over/under-voltage . An absolute-value detector, functioning as a , uses a to sense the of the input and analog switches that route the or its inverted version (via an op-amp stage) to the output, ensuring only the positive is produced. The compares the input to ground, driving switches (e.g., FETs or transistors) to select the appropriate path: for positive inputs, the passes directly; for negative, it is inverted before switching. This is valuable for where information is needed without , such as in power monitoring. Practical considerations in these detection circuits include implementing input filtering to mitigate and prevent false triggers from transient spikes or slow-rising edges. Low-pass filters, such as networks at the comparator inputs, attenuate high-frequency while preserving the signal's relevant transitions, reducing erroneous outputs in noisy environments. Additionally, incorporating , as discussed in comparator design features, enhances stability by creating distinct switching thresholds, further minimizing false detections from input fluctuations.

Conversion and Generation Circuits

Comparators play a key role in signal generation circuits, particularly in relaxation oscillators that produce square waves using an timing . In such a circuit, the comparator's output drives the , while a resistive divider provides to the non-inverting input, establishing upper and lower switching thresholds for . When the voltage exceeds the upper threshold during charging, the output switches low, reversing the capacitor's discharge through the toward the lower supply rail; it then switches high upon reaching the lower threshold, completing the cycle and generating a periodic square wave. This configuration ensures stable oscillations without requiring precise component matching, making it suitable for low-frequency applications like timing circuits. The oscillation can be derived from the exponential charging and discharging dynamics of the . Consider a unipolar supply V_{CC} with lower V_{low} = \beta V_{CC} and upper V_{high} = (1 - \beta) V_{CC}, where $0 < \beta < 0.5. During charging from V_{low} toward V_{CC}, the voltage follows V_C(t) = V_{CC} - (V_{CC} - V_{low}) e^{-t / RC}; setting V_C(t_{charge}) = V_{high} yields t_{charge} = RC \ln \left( \frac{V_{CC} - V_{low}}{V_{CC} - V_{high}} \right) = RC \ln \left( \frac{1 - \beta}{\beta} \right). Similarly, during discharging from V_{high} toward ground (0 V), V_C(t) = V_{high} e^{-t / RC}, and setting V_C(t_{discharge}) = V_{low} gives t_{discharge} = RC \ln \left( \frac{V_{high}}{V_{low}} \right) = RC \ln \left( \frac{1 - \beta}{\beta} \right). The total is thus T = 2 RC \ln \left( \frac{1 - \beta}{\beta} \right), and the frequency is f = \frac{1}{T} = \frac{1}{2 RC \ln \left( \frac{1 - \beta}{\beta} \right)}. For the typical symmetric case \beta = 1/3, this simplifies to f \approx \frac{0.72}{RC}, as \ln(2) \approx 0.693. In analog-to-digital , comparators form the core of , enabling high-speed quantization of analog signals. A employs $2^n - 1 comparators, each referencing a unique voltage tap from a resistive divider ladder spanning the input range, to simultaneously compare the input signal against these levels. The comparator outputs produce a thermometer code—a representation where outputs above the input level are high and below are low—indicating the quantization bin. This code is then converted to n-bit via an encoder, allowing rapid conversion rates up to gigasamples per second, though at the cost of exponential hardware growth with resolution; for instance, an 8-bit requires 255 comparators. Comparators also facilitate level shifting for interfacing disparate logic families, leveraging open-collector or open-drain outputs to adapt to different voltage domains without active translation. In a -to- interface, for example, an open-collector comparator like the LM311 compares the TTL signal (typically 0-5 V) to a , pulling the output low when active; an external connected to the CMOS supply (e.g., 3.3 V or 15 V) ensures the high state matches the target , preventing damage and enabling seamless communication. This passive configuration supports mixed-voltage systems in and control applications. Schmitt trigger comparators, incorporating built-in , are widely applied in switch debouncing to suppress mechanical contact , which can generate erroneous multiple transitions lasting 10-50 ms. The circuit typically includes the switch in series with an RC low-pass filter to the comparator input, where the width exceeds the noise amplitude from , ensuring a single clean edge per actuation. For example, using a Schmitt-trigger inverter like the SN74LVC1G14 with a 10 kΩ and 0.1 μF sets a of about 1 ms, filtering transients while the (typically 0.5-1.5 V) stabilizes the output as a reliable square wave for inputs. The application of comparators evolved significantly in the early 1980s with the emergence of oscilloscopes, where they enabled precise ing for stable waveform display. In models such as the HP 1980A (introduced in 1982), comparator-based circuits detected signal edges against programmable levels, supporting rising/falling slopes and external sources to initiate sampling in systems. This advancement facilitated the transition from analog to scopes, improving accuracy in capturing transient events for .

References

  1. [1]
    Comparator - Analog Devices
    A comparator compares two input voltages, outputting a binary signal indicating which is larger. It often compares a voltage to a stable reference.
  2. [2]
    [PDF] Hello, and welcome to the TI Precision Labs video
    A comparator gets its name because it compares the voltages applied to its inputs and sets its output voltage based on the input levels. One input is considered ...Missing: definition | Show results with:definition
  3. [3]
    [PDF] Operational Amplifier Circuits Comparators and Positive Feedback
    The basic comparator circuit is an op-amp arranged in the open-loop configuration as shown on the circuit of Figure 1. The op-amp is characterized by an ...
  4. [4]
    6.3 Open Loop Voltage Comparator
    This circuit compares two input voltages and produces a binary output voltage (that is, a voltage that can have only one of two possible values) to indicate ...
  5. [5]
    Curing Comparator Instability with Hysteresis - Analog Devices
    In effect, a comparator can be thought of as a one-bit analog-to-digital converter. Besides being key components of A/D converters, comparators are also widely ...Missing: definition | Show results with:definition
  6. [6]
    [PDF] What are Comparators?
    What are Comparators? A 1-Bit Analog-Digital Converter or. A 1-Bit Quantizer. Inputs Analog Signals and ...
  7. [7]
    [PDF] Comparators - Analog Integrated Circuit Design 2nd Edition
    The input offset voltage of a comparator is the input voltage at which its output changes from one logic level to the other. It may be caused by device mismatch ...
  8. [8]
    [PDF] Module 9C: The Voltage Comparator
    A voltage comparator compares two voltage waveforms, outputting a binary signal indicating which is larger. It outputs high if A is larger, low if B is larger.
  9. [9]
    ECE 392 Experiment No.6 - Non Linear Circuits; Positive Feedback
    A comparator is a circuit which senses input voltage level with respect to some threshold and changes its output state between "low" and "high" which are the ...
  10. [10]
    Window Comparator - Analog Devices
    Definition. A device, usually consisting of a pair of voltage comparators, in which output indicates whether the measured signal is within the voltage range ...
  11. [11]
    Selecting the Right Comparator - Analog Devices
    Dec 13, 2001 · A comparator accepts two analog signals and produces a binary signal at the output, a function of which input voltage is higher. The output ...Missing: definition | Show results with:definition
  12. [12]
    [PDF] Comparator Output Types - Texas Instruments
    In most cases, the comparator allows the output to be pulled above the comparator supply voltage up to a maximum voltage. However, some devices have an upper ...Missing: definition | Show results with:definition
  13. [13]
    [PDF] MT-083 TUTORIAL | Comparators - Analog Devices
    A comparator compares voltages between two inputs, outputting a logic "1" if the non-inverting input exceeds the inverting input, and "0" otherwise.Missing: definition | Show results with:definition
  14. [14]
    [PDF] ANALOG-DIGITAL CONVERSION - 1. Data Converter History
    Commercial Data Converter History: 1960s. During the mid 1950s through the early 1960s, electronic circuit designs began to migrate from vacuum tubes to ...
  15. [15]
    [PDF] Introduction to comparators, their parameters and basic applications
    Oct 9, 2012 · The input offset voltage (VIO) can be defined as the differential input voltage to apply in order to be at the toggling level. Input offset ...
  16. [16]
    [PDF] AN-849 Using Op Amps as Comparators - Analog Devices
    A comparator is a device with two input terminals, inverting and noninverting, and an output that usually swings from rail to rail. So is an op amp. V+. V–. V+.Missing: tutorial | Show results with:tutorial
  17. [17]
    [PDF] Op-Amp/Comparator Application Note - ROHM Semiconductor
    The input stage is configured with a differential amplification stage that amplifies the differential voltage between the two terminals.
  18. [18]
    Differential Pair Amplifiers - All About Circuits
    Differential pair amplifiers use a pair of transistors to create an amplifier with gain, connecting passive or active loads. The output can be differential or ...
  19. [19]
  20. [20]
    Op-amp Comparator Circuit Compares Voltage Levels
    Op-amp Comparator circuit compares the voltage levels of two inputs to each other and produces an output depending on which one is higher.
  21. [21]
    Pros and cons of using an op-amp as a comparator | Video | TI.com
    Jun 8, 2017 · We'll move on to discussing the use of op amps as comparators, and the pros and cons of doing this. We will finish this video series on ...
  22. [22]
    1964: The First Widely-Used Analog Integrated Circuit is Introduced
    Examples of 40 year-old designs that remain widely used today include Fullagar's µA741 op-amp and the 555 timer created by Hans Camenzind for Signetics.
  23. [23]
    Opamps - A Short History - Elliott Sound Products
    The μA741 is quite possibly the most popular opamp of all time. When it was released in 1968, everyone loved the fact that no external parts were needed for ...
  24. [24]
    Solid-State Scene: IC Comparators and Op Amps - RF Cafe
    Prior to an IC solution, comparators needed to be constructed from opamps and a handful of peripheral biasing components. As with other integrated circuits, not ...
  25. [25]
    [PDF] Application Note 74 LM139/LM239/LM339 A Quad of Independently ...
    Resistors R1 and R2 are used to set the input threshold trip voltage (VREF) at any value desired within the input common mode range of the comparator.Missing: 1972 | Show results with:1972
  26. [26]
    [PDF] Application Design Guidelines for LM339, LM393, TL331 Family ...
    The simplified classic LM339 Family comparator internal schematic is shown in Figure 6-1. Minus a few devices in the biasing circuitry, the schematic is a ...
  27. [27]
    [PDF] LM111, LM211, LM311 Differential Comparators - Texas Instruments
    The LM111, LM211, and LM311 devices are single high-speed voltage comparators. These devices are designed to operate from a wide range of power- supply voltages ...
  28. [28]
    [PDF] LM339B, LM2901B, LM339, LM239, LM139, LM2901 Quad ...
    The LM339B and LM2901B are quad differential comparators with improved specs, including lower offset voltage, higher supply voltage, and lower supply current.
  29. [29]
    Difference between push-pull and totem-pole
    Feb 24, 2018 · A Totem-Pole output is often used for logic gates and some op-amps because it allows the output to approach ground potential, or zero volts.Missing: comparator quasi- advantages
  30. [30]
    [PDF] Designing with TTL Integrated Circuits - Bitsavers.org
    This book is devoted exclusively to TTL circuits. It will familiarize the reader with the entire TTL family, their basic descriptions, electrical per- formance, ...
  31. [31]
    Ask The Applications Engineer—31: Amplifiers as Comparators?
    The basic function of a high-gain comparator is to determine whether an input voltage is higher or lower than a reference voltage—and to present that decision ...
  32. [32]
    [PDF] Comparator with Hysteresis Reference Design - Texas Instruments
    Comparators are used to differentiate between two different signal levels. For example, a comparator may differentiate between an over temperature and.Missing: definition | Show results with:definition
  33. [33]
    [PDF] Non-inverting comparator with hysteresis circuit - Texas Instruments
    Calculate VTH using the equation derived in step 2. VTH = VH ×. R2. R1 + R2. VTH = 1 . 4958V.
  34. [34]
    [PDF] Inverting comparator with hysteresis circuit - Texas Instruments
    Calculate R1 by substituting the value for the A constant into the equation for R1 found in step 4. R1 = VREF − VL. VL ×. R2 + R4. R2R4. =.
  35. [35]
    Parameters that Affect Comparator Propagation Delay Measurements
    Nov 4, 2015 · Let's assume an ideal comparator (no offset voltage). The comparator basically compares the two input signals and trips the output when one ...Missing: definition | Show results with:definition
  36. [36]
    [PDF] LM393 - Low Offset Voltage Dual Comparators - onsemi
    The LM393 series are dual independent precision voltage comparators capable of single or split supply operation. These devices are designed to permit a common ...
  37. [37]
    LM311 data sheet, product information and support | TI.com
    Propagation delay time (µs) 0.115 ; Vs (max) (V) 30 ; Vs (min) (V) 3.5 ; Rating Catalog ; Features Strobe, Vos Adj Pin ...
  38. [38]
    [PDF] lecture 31 – open-loop comparators - AICDESIGN.ORG
    If the rate of rise or fall of a comparator becomes large, the dynamics may be limited by the slew rate. Slew rate comes from the relationship, i = C dv dt.
  39. [39]
    [PDF] LMC6762 Dual MicroPower Rail-To-Rail Input CMOS Comparator ...
    An input common-mode voltage range that exceeds the supplies, 20 fA input currents (typical), and a high input impedance makes the LMC6762 ideal for sensor ...
  40. [40]
    [PDF] Basics of Operational Amplifiers and Comparators
    Mar 26, 2021 · The comparator, also known as a voltage comparator, has a function to detect the high or low voltage with respect to the reference signal.
  41. [41]
    [PDF] MCP65R41/6 - Microchip Technology
    • Low Quiescent Current: 2.5 µA (typical). • Propagation Delay: 4 µs ... Quiescent Current per Comparator. IQ. —. 2.5. 4. µA. IOUT = 0. Input. Input Voltage ...
  42. [42]
    [PDF] LT1011/LT1011A - Voltage Comparator - Analog Devices
    The response time of a comparator is typically measured with a 100mV step and a 5mV to 10mV overdrive. Unfor- tunately, this does not simulate many real ...
  43. [43]
    [PDF] Lecture 13 - RX Circuits
    Mar 12, 2010 · • Comparator can be implemented with static amplifiers or clocked ... • Samples the continuous input at clock edges and resolves the ...
  44. [44]
    [PDF] Design techniques for high-speed, high-resolution comparators
    Abstract—This paper describes precision techniques for the design of comparators used in high-performance analog-to-dig- ital converters employing parallel ...
  45. [45]
    [PDF] Voltage Reference Selection Basics - Texas Instruments
    A bandgap reference is created when a specific Proportional To Absolute. Temperature (PTAT) voltage is added to the. Complementary To Absolute Temperature (CTAT).
  46. [46]
    [PDF] Section 20. Comparator Voltage Reference - Microchip Technology
    Aug 4, 2010 · The Band Gap Reference Source Select bits (BGSEL<1:0>) allow voltage selection of 1.2V,. 0.6V, or 0.2V, which is generated internally. Refer to ...
  47. [47]
    Adding Test Capability to a Window Comparator - Analog Devices
    This article takes a representative dual comparator from ADI and shows how to add an externally controlled test function to the basic circuitry.
  48. [48]
    [PDF] Comparator Metastability Analysis - Designer's Guide Community
    May 11, 2006 · So. Q is the maximum amount of change in the voltage at the input that can be made with- out causing a transition in the output of an ADC.
  49. [49]
    [PDF] LMH7220 High Speed Comparator with LVDS Output
    When the differential input signal crosses the reference level from L to H, both outputs will switch to their new state with some delay. This is defined as tPDH ...
  50. [50]
    [PDF] Zero crossing detection using comparator circuit - Texas Instruments
    This is done by setting the comparator inverting input to the zero reference voltage and applying the attenuated input to the noninverting input.
  51. [51]
    AN-43: Bridge Circuits - Analog Devices
    When the bridge is operating off null, the excitation's magnitude sets output sensitivity. The bridge output is nonlinear for a single variable resistor.
  52. [52]
    [PDF] Chapter 2: Interfacing Considerations-Bridges - Analog Devices
    Because the null is independent of the excitation, the null mode may also be used to discriminate between the two polarities of output, ie., as a comparator.
  53. [53]
    [PDF] Window comparator circuit (Rev. A) - Texas Instruments
    This circuit uses two comparators to check if a signal is between two reference voltages. If within the window, the output is high; otherwise, it's low.
  54. [54]
    [PDF] TPS3701 High voltage (36V) window voltage detector with internal ...
    The TPS3701 combines two comparators (referred to as A and B) and a precision reference for over- and undervoltage detection. The TPS3701 features a wide supply ...
  55. [55]
  56. [56]
    [PDF] Zero-Crossing Detection with False Trigger Avoidance
    Hysteresis is used in ZCD comparator circuits, shown in Figure 4, to prevent multiple zero-crossing detection, as shown in Figure 5. The limitations of this.<|separator|>
  57. [57]
    [PDF] Relaxation oscillator circuit (Rev. A) - Texas Instruments
    The oscillator circuit generates a square wave at a selected frequency. This is done by charging and discharging the capacitor, C1 through the resistor, R1. ...
  58. [58]
    [PDF] Verified Design Pipeline ADC Code Error Rate Analysis and ...
    Jun 2, 2016 · The output of the comparators is in “thermometer” format. ... Inside a high-speed flash ADC, the comparators are typically required to provide ...
  59. [59]
    [PDF] SN74LVC1G14 Single Schmitt-Trigger Inverter datasheet (Rev. AA)
    One potential solution to mitigating these multiple inputs is by utilizing a Schmitt-trigger to create a debounce circuit. Figure 7-1 shows an example of ...
  60. [60]
    Oscilloscope, Digitizer and TDR - HP Memory Project
    The Oscilloscope Product Line Evolution from 1980 to 2000. The Digital Revolution. The 1980 - 1990 decade was a transition period for HP oscilloscopes.