Is there a simple way to make a triggerable one shot which's square wave length depends on the interval between two other pulses?

Lets assume that there is a pulse signal, I call it P, with a varying interval from 1.6mS to 54 mS.

I would like to make a one shot firing at each pulse P (eg P at timePn and timePn+1) and producing a square wave of the length of the interval between tPn and tPn+1, substracted by e.g. 1mSec.

E.g. if the interval was 30mS then the square wave should be 29mS. If there is a time needed for the calculation then this time should be substracted from the 1mSThis should be realised without using a microprocessor.

The square wave length should be tPn+1 - tPn - (1mS-calculation time).

If possible the 1mS should be slightly adjustable.

Lets assume that there is a pulse signal, I call it P, with a varying interval from 1.6mS to 54 mS.

I would like to make a one shot firing at each pulse P (eg P at timePn and timePn+1) and producing a square wave of the length of the interval between tPn and tPn+1, substracted by e.g. 1mSec.

E.g. if the interval was 30mS then the square wave should be 29mS. If there is a time needed for the calculation then this time should be substracted from the 1mSThis should be realised without using a microprocessor.

The square wave length should be tPn+1 - tPn - (1mS-calculation time).

If possible the 1mS should be slightly adjustable.

Last edited: