SNOAA35D April   2023  – December 2023 LM2901 , LM2901B , LM2901B-Q1 , LM2903 , LM2903-Q1 , LM2903B , LM2903B-Q1 , LM339 , LM339-N , LM393 , LM393-N , LM393B , LM397 , TL331 , TL331-Q1 , TL331B

 

  1.   1
  2.   Application Design Guidelines for LM339, LM393, TL331 Family Comparators Including the New B-versions
  3.   Trademarks
  4. Devices Covered in Application Note
    1. 1.1 Base Part Numbers
    2. 1.2 Input Voltage Offset Grades
    3. 1.3 Maximum Supply Voltage
    4. 1.4 High Reliability Options
  5. The New TL331B, TL391B, LM339B, LM393B, LM2901B and LM2903B B Versions
    1. 2.1 PCN to Change Classic Die to a New Die Design
      1. 2.1.1 Determine Die Used for Single TL331 and Dual LM293, LM393, and LM2903
      2. 2.1.2 Determine Die Used for Quad LM139, LM239, LM339, and LM2901
      3. 2.1.3 Device PCN Summary
    2. 2.2 Changes to Package Top Markings
  6. Input Considerations
    1. 3.1  Input Stage Schematic – The Classic LM339 Family
    2. 3.2  Input Stage Schematic - New B Devices
    3. 3.3  Differences Between the Classic and B Die Devices
    4. 3.4  Input Voltage Range
    5. 3.5  Input Voltage Range vs. Common Mode Voltage Range
    6. 3.6  Reason for Input Range Headroom Limitation
    7. 3.7  Input Voltage Range Feature
      1. 3.7.1 Both Inputs Above Input Range Behavior
    8. 3.8  Negative Input Voltages
      1. 3.8.1 Maximum Input Current
      2. 3.8.2 Phase Reversal or Inversion
      3. 3.8.3 Protecting Inputs from Negative Voltages
        1. 3.8.3.1 Simple Resistor and Diode Clamp
        2. 3.8.3.2 Voltage Divider with Clamp
          1. 3.8.3.2.1 Split Voltage Divider with Clamp
    9. 3.9  Power-Up Behavior
    10. 3.10 Capacitors and Hysteresis
    11. 3.11 Output to Input Cross-Talk
  7. Output Stage Considerations
    1. 4.1 Output VOL and IOL
    2. 4.2 Pull-Up Resistor Selection
    3. 4.3 Short Circuit Sinking Current
    4. 4.4 Pulling Output Up Above VCC
    5. 4.5 Negative Voltages Applied to Output
    6. 4.6 Adding Large Filter Capacitors To Output
  8. Power Supply Considerations
    1. 5.1 Supply Bypassing
      1. 5.1.1 Low VCC Guidance
      2. 5.1.2 Split Supply use
  9. General Comparator Usage
    1. 6.1 Unused Comparator Connections
      1. 6.1.1 Do Not Connect Inputs Directly to Ground
      2. 6.1.2 Unused Comparator Input Connections
      3. 6.1.3 Leave Outputs Floating
      4. 6.1.4 Prototyping
  10. PSPICE and TINA TI Models
  11. Conclusion
  12. Related Documentation
    1. 9.1 Related Links
  13. 10Revision History

Power-Up Behavior

At power-up, while the comparator supply (Vcc) is below the minimum supply voltage (< 2V), there can be transitions on the output depending on the supply voltage and input voltages applied at that point-in-time. This can cause problems with designs that require a known start-up state, such as a latching circuit or oscillator. Some existing designs can have inadvertently relied on this behavior.

GUID-20231010-SS0I-M853-N9SN-59VX2MN0ML4Q-low.svgFigure 3-9 Start-up for Classic die, Output set HIGH
GUID-20231010-SS0I-QHXS-56JW-CGBTBVWPZPMX-low.svgFigure 3-10 Start-up Behavior for Classic die, Output set LOW

Starting from Vcc = 0 V up until approximately 0.55 V, the output is high-impedance as there is not yet enough supply voltage to bias the output driver current source (Q12) and the output transistor (Q8) base-emitter junctions. The output tracks the pull-up supply through the pull-up resistor.

When the supply reaches the range of 0.55 V, the output stage now has just enough bias to become active, but the input stage still does not have enough voltage to operate. This is show as Output Awakens in Figure 3-9 and Figure 3-10.

With the output stage functioning and the input stage still inoperative (cut-off), the output behavior in this region is similar to when Section 3.7. This is shown as Out Of VCM Behavior in Figure 3-9 and Figure 3-10. The "classic" die output will go low, and theb version will remain high-impedance (high).

When the VCC supply reaches the range of 1 V, there is just enough supply voltage to weakly bias the input stage. At this point, the output can start responding to input signals, but proper output is still not ensured. This is shown as Input Stage Starts Functioning in Figure 3-9 and Figure 3-10.

Once the supply reaches 2 V, the input and output stage are fully biased, but the input voltage range is essentially zero (Vcc-2V). The inputs can properly respond to input voltages around zero volts. The input voltage range will now increase proportionally with the increasing supply voltage.

GUID-20231010-SS0I-N2HR-G9ML-V23KHKPGGPM3-low.svgFigure 3-11 Start-up for B die, Output set high
GUID-20231010-SS0I-JX5D-5MKK-MPS90S2SHCCP-low.svgFigure 3-12 Start-up for B die, Output set low

For the B device, shown in Figure 3-11 and Figure 3-12, the behavior is similar, but the output goes high during the out of VCM range. Due to differences in the B process, the output awakens is a little higher at 0.7 V, and the input stage starts functioning at 1.2 V.

For circuits with a slow supply start-up ramp, it is a good idea to keep the operating threshold voltages low to make sure they are within the proper operating range as quickly as possible.

Similar effects can occur during power-down, but in reverse sequence. The remedies can be similar to power-up.

One way to make sure that the comparator is operational during power-down is to add a diode in series with the comparator circuit power supply (including any reference dividers), along with a large comparator bypass capacitor for storage. This way, when the main supply drops, the diode isolates the comparator from the main supply and holds up the comparator circuit supply allowing it to still function until the capacitor discharges. Since the LM339 family is an open collector output, the supply current is constant regardless of output state. Thought will be needed as to the pull-up and any reference divider voltage source sequence during power down.