juz_ad
Full Member level 2
- Joined
- Dec 17, 2011
- Messages
- 130
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 2,541
I have a requirement to generate two pulses of approx. μSec length from a triangle wave. One pulse is at the highest peak of the rising edge and the other pulse is at the lowest trough of the falling edge.
The triangle wave is fixed amplitude but varies in frequency between approx. 20Hz and 20KHz.
My current solution is manually setting two VRefs - one just below the peak and the other just above the trough which each triggers a comparator as shown below.
These pulses then trigger a SR Flip Flop that is High (or Low) on rising signals and Low (or High) on falling signals.
My concerns IRL is that any fluctuation in biasing or amplitude of the triangle waveform could put one Vref out of the voltage swing range of the VRefs and that with a manually set VRef there is a slight phase difference between triangle and pulse.
Can anyone suggest improvements or a better way to approach this.
Many thanks.
The triangle wave is fixed amplitude but varies in frequency between approx. 20Hz and 20KHz.
My current solution is manually setting two VRefs - one just below the peak and the other just above the trough which each triggers a comparator as shown below.
These pulses then trigger a SR Flip Flop that is High (or Low) on rising signals and Low (or High) on falling signals.
My concerns IRL is that any fluctuation in biasing or amplitude of the triangle waveform could put one Vref out of the voltage swing range of the VRefs and that with a manually set VRef there is a slight phase difference between triangle and pulse.
Can anyone suggest improvements or a better way to approach this.
Many thanks.