SNOA997A July   2018  – August 2019 TLV7031

 

  1.   1
  2.   2

Design Goals

Output Thresholds Supply
V0 = HIGH Vo = LOW VH VL VHYS Vcc VPU Vref
Vi < VL Vi > VH 2.5 V 2.2 V 300 mV 3 V 3 V 3 V

Design Description

Comparators are used to differentiate between two different signal levels. With noise, signal variation, or slow-moving signals, undesirable transitions at the output can be observed with a constant threshold. Setting upper and lower hysteresis thresholds eliminates these undesirable output transitions. This circuit example will focus on the steps required to design the positive feedback resistor network necessary to obtain the desired hysteresis for an inverting comparator application.

GUID-C3DD18F0-DE0A-424C-BFEA-DBC45BB5DE40-low.gif

Design Notes

  1. The accuracy of the hysteresis threshold voltages are related to the tolerance of the resistors used in the circuit, the selected comparator’s input offset voltage specification, and any internal hysteresis of the device.
  2. The TLV7041 has an open-drain output stage, so a pull-up resistor is needed.

Design Steps

  1. Select the lower biasing resistor, R2. This resistor can be modified for any design. In this case, it is assumed that power conservation is necessary, therefore, R2 is selected to be large.
    R 2   =   500 k
  2. Select the switching thresholds for when the comparator will transition from high to low (VL) and low to high (VH). VL is the necessary input voltage for the comparator output to transition low and VH is the required input voltage for the comparator to output high.
    GUID-CF35D202-DED3-400B-9448-1C75535924C8-low.gif
       V L =2.2V and V H = 2.5V
  3. Analyze the circuit when the input voltage is VH. At this point, Vo=3 V=VPU and the transition to a logic low is initiated in the comparator output. Using Kirchhoff's Current Law, solve for an equation for R1.
    GUID-9A3C9EEE-F627-4A79-AC9D-94DFA6100403-low.gif
          V PU - V H R 3 + R 4 + V REF - V H R 1 = V H R 2 R 1 = V REF - V H V H R 2 - V PU - V H R 3 + R 4
  4. Analyze the circuit when the input voltage is VL. At this point, Vo=0 V and the transition to a logic high is initiated in the comparator output. Using Kirchhoff's Current Law, solve for an equation for R1.
    GUID-3FBF4037-743C-4ECA-9FE9-C89A1A7E1336-low.gif
          V REF - V L R 1 = V L R 2 + V L R 4 R 1 = V REF - V L V L × R 2 + R 4 R 2 R 4
  5. After defining some constants, set the two equations for R1 equal to obtain a quadratic equation for R4.
    1. Constants :
            A   =   V REF V L - 1
            B   =   V REF - V H
            C   =   V H R 2
            D   =   V PU - V H
      Simplified   Quadratic   for   R 4 :
        B A - C × R 2   × R 4 2 +   B A ×   R 2 + R 3   - C × R 2 × R 3 + D × R 2   × R 4   +   B A × R 2 × R 3   = 0
    2. If the output stage is push-pull, then make the following modifications to the above equations:
            R 3   =   0
            V PU   =   V CC
            D   =   V CC - V H
  6. Solve the quadratic equation for R4 and pick the most logical result.
    R 4   =   808 . 88     809
  7. Calculate R1 by substituting the value for the A constant into the equation for R1 found in step 4.
    R 1   = V REF - V L V L × R 2 + R 4 R 2 R 4 =   V REF V L - 1 × R 2 × R 4 R 2 + R 4 = A × R 2 × R 4 R 2 + R 4
          R 1   =   112 . 36   112

DC Transfer Simulation Results

GUID-0CB053D8-456F-4060-9174-E6690362C244-low.gif

Transient Simulation Results

GUID-6506EECF-B40B-474D-B5AC-12EB9A36C78B-low.gif

Design References

See Analog Engineer's Circuit Cookbooks for TI's comprehensive circuit library.

See Comparator with Hysteresis Reference Design TIPD144.

See Circuit SPICE Simulation File SLVMCQ0, Inverting Comparator with Hysteresis Circuit Reference Design.

For more information on many comparator topics including hysteresis, propagation delay and input common mode range please see TI Precision Labs – Op amps.

Design Featured Comparator

TLV7031 / TLV7041
Output TypePP (7031) / OD (7041)
Vcc 1.6V to 6.5V
VinCM Rail-to-rail
Vos±100 µV
VHYS7 mV
Iq 335 nA/Ch
tpd3 µs
#Channels1 and 2
TLV7041

Design Alternate Comparator

TLV1701 TLV7011 / TLV7021
Output Type Open Collector PP (7011) / OD (7021)
Vcc 2.2 V to 36 V 1.6 V to 5.5 V
VinCM Rail-to-rail Rail-to-rail
VHYS N/A 4.2 mV
Vos ±500 µV ±500 µV
Iq 55 µA/Ch 5 µA
tpd 560 ns 260 ns
#Channels 1, 2, and 4 1 and 2
TLV1701 TLV7011