Effacer les filtres
Effacer les filtres

Time difference between two successive rising edges of a pulse train signal

3 vues (au cours des 30 derniers jours)
Gova ReDDy
Gova ReDDy le 28 Juil 2014
Hello,
I want to find the time difference between two successive rising edges of a pulse train signal. Can someone suggest me a method to do this.
Thanks.

Réponses (1)

Vijay Nahar
Vijay Nahar le 28 Juil 2014
1) save the pulse data as a .csv file
2) read the data into Matlab so column 1=amplitude and column2=time
3) using a loop, go through the amplitude data until the amplitude value, either side of the current value, is within a small variation
4) You should now be at the top of the first pulse. step back through the data until you find the pulse rising edge. This will be when the amplitude value, adjacent to the current value, drops significantly.
5) Note the corresponding time value in column 2.
6) Repeat procedure for 2nd pulse.
7) The difference in the two time values will give the rising edge propogation delay.
Good Luck!

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by