A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Cross-Correlation Applications and Time Delay Estimation

Graduate Depth 82 in the knowledge graph ☐ I know this ☆ Set as goal
10topics build on this
361prerequisites beneath it
See this on the map →
Convolution in Continuous and Discrete Time→→Autocorrelation Function Properties and EstimationMatched Filter for Signal Detection
correlation cross-correlation time-delay estimation

Core Idea

Cross-correlation between two signals measures their similarity as a function of relative time delay. The peak of the cross-correlation function indicates the delay of maximum similarity, enabling time-delay estimation and synchronization. Normalized cross-correlation (correlation coefficient) is independent of signal amplitudes. Applications include radar/sonar target detection, audio alignment, and template matching.

How It's Best Learned

Cross-correlate a known template with a signal containing the template at unknown delay. Find the delay by locating the correlation peak. Add noise and observe robustness.

Common Misconceptions

Explainer

From your study of convolution, you know how to compute the output of a linear system when you know its impulse response: slide the input across the impulse response, multiply, and sum at each lag. Cross-correlation is the same sliding-and-summing operation, but with a different goal — instead of computing a system output, you are measuring *similarity between two signals as a function of relative time shift*. Formally, R_xy(τ) = ∫ x(t) y(t + τ) dt for continuous signals. The key difference from convolution is that one signal is *not* time-reversed before sliding. Where convolution asks "how does a system respond to this input?", cross-correlation asks "at what delay does signal y most resemble signal x?"

The core application is time delay estimation. Suppose a sonar pulse travels from a transmitter, reflects off an underwater object, and arrives at two hydrophones spaced some distance apart. The reflected signal arrives at the nearer hydrophone first, then at the farther one. If you cross-correlate the two hydrophone recordings, the result will be a function that peaks at the lag equal to the travel time difference between the two paths. That peak lag, multiplied by the speed of sound in water, gives you the difference in path lengths — enough to triangulate the target's position. This is the operating principle behind sonar, GPS multipath analysis, seismic source location, and audio source localization in room acoustics.

Normalized cross-correlation divides by the product of the signals' energies (or standard deviations), producing values between −1 and +1. This matters when comparing signals of different amplitudes: the unnormalized peak could be large simply because one signal has high energy, not because they are particularly similar. The normalized version tells you about *shape* similarity rather than magnitude. In template matching — finding a small image patch within a larger image, or detecting a known waveform in noisy data — normalized cross-correlation is the standard tool because it is insensitive to illumination changes or amplitude variations in the target.

One subtlety worth internalizing: cross-correlation and convolution are related by time-reversal of one signal. R_xy(τ) = x(−τ) * y(τ), where * denotes convolution. This means all the computational machinery you know for convolution — the convolution theorem in the frequency domain, FFT-based fast computation — applies directly. In practice, cross-correlating long signals is always done via the FFT: transform both signals, multiply X*(ω)·Y(ω) (the conjugate of one by the other), then inverse transform. This reduces an O(N²) sliding-dot-product computation to O(N log N), making correlation of long audio recordings, long sensor streams, or large images computationally feasible. The correlation peak may be sharpened further with whitening (pre-filtering to flatten the power spectrum), which is valuable when the shared signal has a narrow spectral peak that would otherwise spread the correlation lobe.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Pythagorean Trigonometric Identities → Fourier Series Representation of Periodic Signals → Fourier Transform: Definition and Properties → Convolution Theorem and Frequency Domain Applications → Convolution in Continuous and Discrete Time → Cross-Correlation Applications and Time Delay Estimation

Longest path: 83 steps · 361 total prerequisite topics

Prerequisites (1)

Leads To (2)