Hi,
The attached comparator circuit takes in some pulsing and turns it into a rail to rail pulsing.
(LTspice and PNG attached)
However, when no pulses come, the signals at the input to the comparator are just 100mV apart.
Also, it is the comparator inside the STM32L073 microcontroller, which has unspecified input bias current,
which may be higher than the 50nA shown here.
Also, the input divider resistances are MegOhm+ and could vary with moisture/dirt ingress.
Would you say this is a reliable design.?
Academically speaking it works, but its shoddy and has no need to be like this.
The circuitry could be easily changed to make the pulsing be rail to rail to the comparator input for example.
Would you go forward with this?....specially since input bias current of the comparator is unknown and may be
significantly higher than the 50nA shown and result in those inputs being even closer in voltage when no pulsing?