Analog_Fan
Well-known member
circuit in the Falstad simulator
In order to control logic further down the line, I'm using a lm339/lm393 comparator powered from 5 V.
the input circuit is taken from another schematic used in a commercial product accept i added an upper limit of 5 V (diode clamp) as the voltage divider to set the threshold.
I have a pretty similar configured comparator in a other already soldered and finished device using the 22pF capacitor across the comparator.
this time i simulated it and the simulator shows hesitance on the rising edge.
if i try the same config as on page12 of the datasheet, i get ringing added.
the input circuit must remain the same including the 100pF.
could there be done anything to improve and get a clean rising edge?