How to determine the delay between two signals representing a single transition

21 次查看(过去 30 天)
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!

采纳的回答

Star Strider
Star Strider 2019-6-20
There are several possibilities. One of course is the finddelay function and its friends.
Others are findchangepts and ischange. With these, you can find the transition points (regions), then do the appropriate calculations.
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by