logo elektroda
logo elektroda
X
logo elektroda

Schmitt Trigger Comparator Output Not Snapping Cleanly, Output Varies 5V to 4.5V

9 10
ADVERTISEMENT
  • #1 21681747
    Graham Rounce
    Anonymous  
  • ADVERTISEMENT
  • #2 21681748
    Rick Curl
    Anonymous  
  • ADVERTISEMENT
  • #3 21681749
    David Ashton
    Anonymous  
  • ADVERTISEMENT
  • #4 21681750
    Aubrey Kagan
    Anonymous  
  • #5 21681751
    Elizabeth Simon
    Anonymous  
  • #6 21681752
    PeterTraneus Anderson
    Anonymous  
  • #7 21681753
    Graham Rounce
    Anonymous  
  • ADVERTISEMENT
  • #8 21681754
    Elizabeth Simon
    Anonymous  
  • #9 21681755
    PeterTraneus Anderson
    Anonymous  
  • #10 21681756
    PeterTraneus Anderson
    Anonymous  
  • #11 21681757
    David Ashton
    Anonymous  

Topic summary

The discussion addresses an issue with an LM393 comparator circuit where the output voltage does not snap cleanly between high and low states, instead varying between 5V and 4.5V near the switching threshold. Key points include verifying correct wiring of the 100K feedback resistor to the non-inverting input, ensuring proper bypassing with a 0.1µF ceramic capacitor between Vcc and ground to prevent oscillations, and confirming correct power and ground connections on the LM393 pins. The LM393's open-collector output and relatively low gain (typical 200, minimum 50) can cause the output to hover in a linear region near threshold, resulting in intermediate voltages. The comparator inputs should be properly referenced, including defining the unused comparator inputs. The problem may also stem from both comparator inputs being connected to the same varying voltage source, causing threshold voltages to shift with input changes and preventing clean switching. Adding a zener diode in the threshold-setting resistor network can stabilize the switching points by fixing one side of the voltage divider. Alternatively, using an operational amplifier with push-pull output instead of a comparator can eliminate the need for a pull-up resistor and improve output behavior. The output voltage range between 4.2V and 5V is acceptable for CMOS logic inputs such as a 74HC04 inverter powered at 5V. Detailed datasheet consultation is recommended to understand LM393 input common-mode range, required overdrive voltage (~5mV), and output characteristics.
Summary generated by the language model.
ADVERTISEMENT