How to determine the delay between two signals representing a single transition
9 views (last 30 days)
Show older comments
Stefan Murvay
on 20 Jun 2019
Commented: Star Strider
on 23 Jun 2019
I am trying to use Matlab for determining the delay between two signals which represent transitions of two different lines from one voltage level to another. The available datasets contain samples acquired just before the beggining of the first transition and a bit after the second signal transition as illustrated in the below figure. It is also unknown which of the two signals transitioned first so it also has to be determined.
I tried cross-correlation (not autocorrelation as I initially wrote) and some other maybe less traditional approaches like dividing or subtracting the two signals and determining the delay as a measure of the maximum of the resulting signal. However, I was unable to identify an approach that works with all test inputs due to differences in signal shapes as can be seen in the figure below: Some have a more rapid transition times than others and also different transitory effects.
Any suggestion on how the delay can be determined under these circumstances is very welcomed.
Thanks in advance!
0 Comments
Accepted Answer
Star Strider
on 20 Jun 2019
Others are findchangepts and ischange. With these, you can find the transition points (regions), then do the appropriate calculations.
4 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!