Delay estimation using cross correlation

Click For Summary

Discussion Overview

The discussion revolves around the use of cross-correlation techniques to estimate delays between two continuous signals of the same frequency, specifically focusing on the challenges of accurately estimating delays that exceed one cycle length. The context includes theoretical considerations and practical implications for applications such as bearing estimation using sensor data.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions whether cross-correlation can accurately estimate a delay of 4010 µs, given that it exceeds one cycle of the 4 KHz signal.
  • Another participant highlights the difficulty in distinguishing delays that are exact multiples of the signal's cycle time, suggesting that noise and algorithm tolerance could complicate the estimation.
  • Concerns are raised about the impact of noise on delay estimation and the necessity for high accuracy in calculations.
  • Some participants propose that delays greater than one cycle length may lead to spatial aliasing, making unambiguous delay determination challenging without additional assumptions.
  • It is noted that if more information about the wave is known, it may be possible to "de-alias" the signal to obtain a delay estimate.
  • One participant suggests that knowledge of the wave speed could help narrow down possible delays, while another emphasizes the need for contextual awareness in such estimations.

Areas of Agreement / Disagreement

Participants express differing views on the ability to accurately estimate delays greater than one cycle length, with some arguing that spatial aliasing complicates this process. There is no consensus on the effectiveness of cross-correlation techniques under these conditions, and the discussion remains unresolved regarding the implications of noise and contextual factors.

Contextual Notes

Participants acknowledge that the accuracy of delay estimation is highly dependent on the specific context, including the relationship between sensor spacing and wave properties. Assumptions about wave propagation direction and the influence of noise are also noted as critical factors that may affect the outcomes.

nauman
Messages
98
Reaction score
5
Hi

Suppose there are two continuous signals of same frequency say 4 KHz. The time corresponding to its one cycle is around 250 us. If we delay one signal by 4010 us (i.e >> one cycle delay), can we use cross correlation techniques to estimate this delay accurately?

Thanks
 
Physics news on Phys.org
We need to be careful here. If you said that the delay of a 4 KHz signal was 4000, then there would be no way to distinguish that from a zero delay or from any delay of multiple of 1/4,000 = 250 us.
Since you specified 4010 rather than 4000, that delay could be detected if extreme accuracy was possible. But there are many shorter delays that would be very close to a perfect match. So there is a question of whether the algorithms you use apply a tolerance that would make it appear that a shorter delay is close enough to give for the answer. The presence of any noise would make the calculation much trickier.
 
FactChecker said:
But there are many shorter delays that would be very close to a perfect match. So there is a question of whether the algorithms you use apply a tolerance that would make it appear that a shorter delay is close enough to give for the answer. The presence of any noise would make the calculation much trickier.
These two signals are from two sensors which are some distance apart and the delays estimated using cross correlation will be utilised for bearing estimation. I am stuck here how to proceed? According to literature, bearing estimation using delay measurements is a standard technique being used.
 
  • Informative
Likes   Reactions: FactChecker
nauman said:
These two signals are from two sensors which are some distance apart and the delays estimated using cross correlation will be utilised for bearing estimation. I am stuck here how to proceed? According to literature, bearing estimation using delay measurements is a standard technique being used.
I see. Then you will just have to be very accurate in the calculations and have enough data to minimize the influence of noise.
 
FactChecker said:
I see. Then you will just have to be very accurate in the calculations and have enough data to minimize the influence of noise.
Yes you are right that noise will have to be catered.
However, what about delays which are greater than one cycle length?
As I have understood so far, cross correlation techniques can measure only those delays accurately which are less than one cycle length in case of single frequency signals. Am i right in my understanding?
 
In theory, with unlimited data and accuracy and a sample frequency small enough, the cross-correlation will be greatest at the correct delay. Of course, there is no way to distinguish it if the delay is an exact number of wavelengths since the signals will overlay.
 
FactChecker said:
In theory, with unlimited data and accuracy and a sample frequency small enough, the cross-correlation will be greatest at the correct delay. Of course, there is no way to distinguish it if the delay is an exact number of wavelengths since the signals will overlay.
I disagree with this. A delay of larger than one oscillation period (i.e., the signal wavelength is shorter than the sensor spacing) results in a sort of spatial aliasing. You can no longer unambiguously determine delay absent further assumptions.

On the other hand, if you know more information about the wave being measured you can sometimes "de-alias" the signal and get an answer. The problem there is generalizing it.
 
boneh3ad said:
I disagree with this. A delay of larger than one oscillation period (i.e., the signal wavelength is shorter than the sensor spacing) results in a sort of spatial aliasing. You can no longer unambiguously determine delay absent further assumptions.
Yes. I think that is what I was trying to say.
boneh3ad said:
On the other hand, if you know more information about the wave being measured you can sometimes "de-alias" the signal and get an answer. The problem there is generalizing it.
He knows that both the original and the delayed signal are 4 KHz. In that case, I don't see how he can detect an additional delay of any multiple of that wavelength unless he has subject matter knowledge that limits the delay.
 
Last edited:
FactChecker said:
Yes. I think that is what I was trying to say.

He knows that both the original and the delayed signal are 4 KHz. In that case, I don't see how he can detect an additional delay of any multiple of that wavelength unless he has subject matter knowledge that limits the delay.
One example is if you know the wave speed should fall in some range that lets you narrow down  which multiple.
 
  • Like
Likes   Reactions: FactChecker
  • #10
boneh3ad said:
One example is if you know the wave speed should fall in some range that lets you narrow down  which multiple.
I stand corrected. I forgot about the setup described in post #3. Assuming that his sensors have delays less than one wave time, he should be able to determine the delay due to the distance and use the cross-correlation to correctly determine the delay.
 
  • #11
FactChecker said:
I stand corrected. I forgot about the setup described in post #3. Assuming that his sensors have delays less than one wave time, he should be able to determine the delay due to the distance and use the cross-correlation to correctly determine the delay.
Yeah my point is extremely context-specific and requires a level of context awareness that usually doesn't exist.

Also, even the situation where a wave has a wavelength between 1 and 2 times the spacing of the sensors has contextual assumptions baked in. That assumes a wave propagation direction. In situations where you do not know which direction the wave travels, you need to have a wavelength at least 2 times the sensor spacing to unambiguously determine delay/speed.
 
  • Like
Likes   Reactions: FactChecker

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 58 ·
2
Replies
58
Views
5K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 11 ·
Replies
11
Views
13K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 23 ·
Replies
23
Views
4K