I have the following situation: I have a signal with periodic, short (~2ns), ~1.5V pulses spaced ~10-20ns apart. I would like to detect when the pulses disappear, i.e. when there is no pulse for ~1us or so.
I am currently planning on using a first comparator to detect the pulses, then a low-pass filter to followed by a second comparator to keep the output on as long as the pulses arrive frequently enough. Something like the following:
Here, V3 is the pulse source, V1 is the threshold for the "pulse-detection" comparator, and also for the output of the low-pass filter. (I understand that the threshold for U2 might need to be different from the one for U1, let's just assume that the thresholds work out)
I tried to simulate this in KiCADs spice simulator, but ran into errors regarding singularities in the system, which makes me a bit worried.
As I understand it, the first comparator should just charge the capacitor C6 through R5, and drain it again in between the pulses (so it should work, even if there is no actual load attached to the RC filter). Will this circuit work as designed?