This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LM393: Slew Rate Requirement

Part Number: LM393
Other Parts Discussed in Thread: TLV1702, , TLV7012, TLV7022, LMV393

Dear Team,

My customer would like to find a single part voltage compactor.

The requirements are as below. Could you help to check if LM393 could meet the slew rate requirement or not?

Supply voltage: Vcc =3.3V

Vs > Vref, Vo=Vcc

Vs < Vref, Vo=0V

Slew rate > 1V/ms

Thank you.

Jim

  • Hello Jim,

    A slew rate of 1V/ms would be equivalent to a 3.3ms rise or fall time. All of our comparators can meet that.

    The LM393 can meet that, but I caution against using the LM393 at low supply voltages. The specified input range is up to Vcc-2V, so the maximum input voltage would be +1.3V. So make sure the input voltages are between 0V and 1.3V, or use a R-R input device such as the TLV1702.

  • Hi Paul,

    Thanks for the reply.

    I found that there is a LM393B. Is this the same? 

    Jim

  • Hi Jim,

    The "B" versions are improved versions done in "modern" process technologies. They have higher max supply voltage, better offset voltage, lower bias current and faster.

    They are meant to be drop-in improved replacements. "P" samples are available now, with full release in December.


  • Hi Paul,

        Can I add capacitors on the inputs of comparator, V+ or V-?

    previously I was told that it can cause oscillation by adding capacitor on the input of comparator?

    Thanks,

    Tony

  • Hi Tony,

    It depends on the circuit configuration, resistor values and the size of the capacitor. Why do you want to add capacitors between the inputs?

    It is common to add small (~30pF) capacitors to provide EMI/RF protection. We also see larger capacitors (1nF to 1uF) added to "filter" the input signals to prevent chatter.

    You do NOT want to add a (large) capacitor to the positive input node *IF* the circuit contains hysteresis feedback (positive feedback). The cap will negate the feedback action by slowing the feedback response (causing "chirping").

    Adding a capacitor to the negative input is usually okay, but it will slow down the reaction time (all filters have a delay) if the negative input is the measured signal.

    Adding capacitors between the inputs of an op-amp is a nice way to create an oscillator, but usually does not cause an oscillation for a comparator (again, depends on the circuit - you may accidentally create a relaxation oscillator). But that can seriously affect the response time for a comparator, and, depending on the size of the capacitor, can couple signals from the positive input to the negative input, creating other issues.

    Reference voltages should be filtered, and we recommend adding hysteresis if the monitored signal is noisy.

  • Hi Paul,

    Thanks,

    Tony

  • Hi Paul,

       one more question,

     I saw oscillations on the output of comparator, can you give me some suggestions to overcome this issue?

    I can either add Hysteresis or capacitors on the input of comparator, which way is better?

    someone told me if I use fast slew rate comparator, I can solve this issue without additional changes, is it right?

    Thanks,

    Tony

  • Hi Tony,

    A faster comparator will just oscillate faster.

    Capacitors will only filter source noise, they will not stop "oscillations" (technically "chatter").

    How slow is the input signal? If the "oscillation" is just before the transition, then hysteresis is recommended. All comparators will chatter on slow moving input signals when the inputs are close if they do not have hysteresis.

     Please see the following appnotes on hysteresis:

    Inverting comparator with hysteresis circuit (Rev. A)

    Non-inverting comparator with hysteresis circuit (Rev. A)

    Comparator With and Without Hysteresis Circuit (Rev. A)

    Comparator with Hysteresis Reference Design

    TI Precision Labs - Op Amps: Comparator Applications (4)

  • Hi Paul,

      Our input signal slew rate is about 300mV/ms. The chatter is on the middle of output signal going from high to low? 

    can this problem being solved by adding Hysteresis?

    Thanks,

    Tony

  • Hi Tony,

    Yes. As the inputs come closer together (almost equal), they will trigger on internal noise until the difference overcomes the internal offset voltage.. A little hysteresis should fix that.

    But also make sure that the supplies are properly bypassed, both at the supply pins (0.1uF ceramic) and also at the supply point of the pull-up resistor (if located elsewhere).. Also make sure the inputs are routed away from the output trace and that the ground pin is returned to a solid ground.

    Do you have a schematic you can share?

  • Tony

    We have not seen any response on this thread in a while so I will be closing the thread.  If you need any additional support, please reply to reopen the thread or create a new post.

    Thanks

    Chuck

  • Hi Tony,

    problem solved? If not, can you show a schematic of your circuit?

    Kai

  • I am seeing multiple questions being asked on this post. Jim was the last to ask a question regarding a slew rate of 1V/ms. Jim for an open-collector device, the answer to slew rate depends on the size of the pullup resistor and the capacitive load. If you have slew rate requirements, it my be better to use a device with a push-pull output which can drive high faster than a pullup resistor. However, if you are only concerned with pulling low, open collector devices such as the lm393 can meet the 1v/ms slew rate requirement. But please note that the LM393 has a limited common mode range of (VCC - 2V) over temperature. That limits the useful input range when operating at 3.3V. You may be better off using a low voltage device which is less limiting. Even the LMV393 has a wider common mode range. We also have newer CMOS devices which are rail to rail such as the TLV7012 (push pull) and TLV7022 (open drain) for you to consider using. www.ti.com/.../tlv7011.pdf Chuck