Delay estimation using cross correlation

Click For Summary
SUMMARY

This discussion centers on the use of cross-correlation techniques to estimate delays between two 4 KHz signals, specifically when one signal is delayed by 4010 microseconds. It is established that while cross-correlation can detect delays greater than one cycle length, such as 4000 microseconds, the ability to distinguish these delays becomes ambiguous due to spatial aliasing and noise interference. Accurate calculations and sufficient data are crucial for minimizing noise effects. Additionally, contextual knowledge about wave propagation can aid in resolving ambiguities in delay estimation.

PREREQUISITES
  • Understanding of cross-correlation techniques in signal processing
  • Knowledge of signal frequency and wavelength relationships
  • Familiarity with noise reduction methods in data analysis
  • Basic principles of wave propagation and sensor spacing
NEXT STEPS
  • Research advanced cross-correlation algorithms for delay estimation
  • Explore methods for noise reduction in signal processing
  • Study the principles of spatial aliasing in wave signals
  • Learn about wave propagation and its impact on sensor data interpretation
USEFUL FOR

Signal processing engineers, data analysts, and researchers involved in delay estimation and sensor data interpretation will benefit from this discussion.

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 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
  • · Replies 23 ·
Replies
23
Views
3K