Autocorrelation technique

From HandWiki

The autocorrelation technique is a method for estimating the dominating frequency in a complex signal, as well as its variance. Specifically, it calculates the first two moments of the power spectrum, namely the mean and variance. It is also known as the pulse-pair algorithm in radar theory.

The algorithm is both computationally faster and significantly more accurate compared to the Fourier transform, since the resolution is not limited by the number of samples used.

Derivation

The autocorrelation of lag 1 can be expressed using the inverse Fourier transform of the power spectrum [math]\displaystyle{ S(\omega) }[/math]:

[math]\displaystyle{ R(1) = \frac{1}{2\pi} \int_{-\pi}^{\pi} S(\omega) e^{i\,\omega} d\omega. }[/math]

If we model the power spectrum as a single frequency [math]\displaystyle{ S(\omega) \ \stackrel{\mathrm{def}}{=}\ \delta(\omega - \omega_0) }[/math], this becomes:

[math]\displaystyle{ R(1) = \frac{1}{2\pi} \int_{-\pi}^{\pi} \delta(\omega - \omega_0) e^{i\,\omega} d\omega }[/math]
[math]\displaystyle{ R(1) = \frac{1}{2\pi} e^{i\,\omega_0} }[/math]

where it is apparent that the phase of [math]\displaystyle{ R(1) }[/math] equals the signal frequency.

Implementation

The mean frequency is calculated based on the autocorrelation with lag one, evaluated over a signal consisting of N samples:

[math]\displaystyle{ \omega = \angle R_N(1) = \tan^{-1}\frac{\text{im}\{ R_N(1) \}}{\text{re}\{ R_N(1) \}}. }[/math]

The spectral variance is calculated as follows:

[math]\displaystyle{ \text{var}\{ \omega \} = \frac{2}{N} \left( 1 - \frac{|R_N(1)|}{R_N(0)} \right). }[/math]

Applications

  • Estimation of blood velocity and turbulence in color flow imaging used in medical ultrasonography.
  • Estimation of target velocity in pulse-doppler radar

External links