Algorithm Search⌘K

Problemcore

Frequency offset estimation

Also called carrier frequency offset estimation, CFO estimation.

Estimate the difference between the carrier frequency of the received signal and the local oscillator from noisy samples.

Frequency offset estimation is the problem of finding how far the carrier frequency of a received signal is from the frequency of the receiver's local oscillator, from a finite block of noisy samples. With known or removed data, it is the estimation of the frequency of one complex tone in white noise. Single-carrier estimators work on the symbol samples: the Rife and Boorstyn estimator is the maximum likelihood method, a periodogram peak with a fine search; the Kay estimator averages the phase differences of consecutive samples with weights; the Luise and Reggiannini estimator takes the angle of a sum of autocorrelations. OFDM estimators measure the phase between repeated parts of the signal, in units of the subcarrier spacing: Schmidl-Cox synchronization uses a training symbol with two equal halves, the Moose estimator uses two repeated symbols, and the van de Beek estimator uses the cyclic prefix with no training. They trade cost, range and the SNR at which they fail. The frequency is the first step of carrier recovery, and the modified Cramer-Rao bound is the yardstick for all of them.

In plain words

The transmitter and the receiver each have an oscillator, and the two never run at exactly the same speed. Movement adds a Doppler shift too. So the received symbols seem to turn slowly, a little more at each step. The receiver must measure how fast they turn, so that it can turn them back. It does this from a short stretch of noisy samples, by checking how much the angle grows from one sample to a later one. A longer stretch gives a better measurement. If the turning is too fast, or the noise too strong, the measurement can be badly wrong.

Definition

Input. Samples rk=akej(2πνk+θ)+wkr_k = a_k e^{j(2\pi\nu k + \theta)} + w_k, k=0,…,N−1k = 0, \ldots, N - 1, at one sample per symbol, where ν\nu is the unknown frequency offset in cycles per symbol, θ\theta is an unknown phase, aka_k are the symbols and wk∼CN(0,N0)w_k \sim \mathcal{CN}(0, N_0) is white noise. In the data-aided case the aka_k are known, and zk=ak∗rk/∣ak∣2z_k = a_k^\ast r_k / |a_k|^2 is a tone ej(2πνk+θ)e^{j(2\pi\nu k + \theta)} in noise. The signal-to-noise ratio is SNR=E∣ak∣2/N0\mathrm{SNR} = E|a_k|^2/N_0.

Output. An estimate ν^\hat\nu of ν\nu, within a range ∣ν∣<νmax⁡|\nu| < \nu_{\max} that the method can resolve without ambiguity.

OFDM form. In OFDM, the offset is written as ε=Δf N/fs\varepsilon = \Delta f\, N / f_s in units of the subcarrier spacing, and the samples are those of the time-domain OFDM signal rather than of the symbols. An offset with a fractional part breaks the orthogonality of the subcarriers and causes inter-carrier interference, so it must be removed before the DFT.

Measures. The mean square error against the bound, the range νmax⁡\nu_{\max}, the threshold SNR below which outliers start, and the cost per block.

Variants

  • Data-aided, decision-directed or non-data-aided. With known pilots, the data are removed exactly. For M-PSK without known data, rkMr_k^M removes the modulation and becomes a tone at MνM\nu, so the range is divided by MM and the noise is enhanced.
  • Feedforward or feedback. A feedforward estimator gives one value per block, which suits bursts. A feedback frequency-locked loop drives a frequency error detector to zero, which suits continuous tracking; the Luise and Reggiannini statistic can serve as such a detector.
  • Coarse and fine. A large offset is often split into a coarse part, from a short-lag correlation with a wide range, and a fine part, from a long-lag correlation or a long block. In OFDM, this is the split into an integer and a fractional number of subcarrier spacings.
  • Constant or varying offset. A Doppler rate or oscillator drift makes ν\nu change in time, and the estimator must track it.

Examples

The phase step (theorem). Without noise and with ν=0.1\nu = 0.1, each product zk+1zk∗=ej2π⋅0.1z_{k+1} z_k^\ast = e^{j2\pi \cdot 0.1} has the angle 0.6280.628, and 0.628/(2π)=0.10.628/(2\pi) = 0.1. The Kay and the Rife and Boorstyn estimators return 0.10.1 on this input, and so does the Luise and Reggiannini estimator for L≤8L \le 8, where 0.1<1/(L+1)0.1 < 1/(L+1). With ν=0.6\nu = 0.6, the angle is 2π⋅0.6−2π2\pi \cdot 0.6 - 2\pi, and the lag-1 estimate is −0.4-0.4: offsets beyond the range wrap.

The size of the bound. With the phase unknown, the bound is 32π2 SNR N(N2−1)\frac{3}{2\pi^2\,\mathrm{SNR}\,N(N^2-1)} cycles2^2 per symbol2^2. For N=32N = 32 and SNR=10\mathrm{SNR} = 10 dB this is 4.64×10−74.64 \times 10^{-7}, a standard deviation of 6.8×10−46.8 \times 10^{-4} cycles per symbol, or 680 Hz at a symbol rate of 1 MHz.

Thresholds (measurements). The pages of the three single-carrier estimators measured the mean square error over the CRB at N=32N = 32, with their own seeds:

SNR Kay Rife and Boorstyn Luise and Reggiannini, L=16L = 16
−3-3 dB not measured 4.974.97 1.361.36
0 dB 185185 1.141.14 1.201.20
5 dB 1818 1.081.08 1.121.12
10 dB 0.990.99 1.051.05 1.091.09

The ML search works down to about 0 dB. The Luise and Reggiannini estimator with L=N/2L = N/2 is close to it at low SNR, at a range of ∣ν∣<1/17|\nu| < 1/17 instead of 1/21/2. The Kay estimator is at the bound only from about 10 dB.

Known algorithms

Algorithm Year Data Range Cost Note
Rife and Boorstyn 1974 tone ∣ν∣<1/2\lvert\nu\rvert < 1/2 O(Nlog⁡N)O(N\log N) maximum likelihood, lowest threshold
Kay 1989 tone ∣ν∣<1/2\lvert\nu\rvert < 1/2 O(N)O(N) weighted phase differences, high threshold
Luise and Reggiannini 1995 tone ∣ν∣<1/(L+1)\lvert\nu\rvert < 1/(L+1) O(NL)O(NL) angle of summed autocorrelations
Moose 1994 OFDM, two repeated symbols ∣ε∣<1/2\lvert\varepsilon\rvert < 1/2 O(Nlog⁡N)O(N\log N) ML, timing known
Schmidl-Cox 1997 OFDM, symbol with two halves ∣ε∣<1\lvert\varepsilon\rvert < 1, more with a second symbol O(N)O(N) per position also gives the timing
Van de Beek 1997 OFDM, cyclic prefix ∣ε∣<1/2\lvert\varepsilon\rvert < 1/2 O(Ncp)O(N_{cp}) per position blind, also gives the timing

Other methods fit a line to the unwrapped phase of zkz_k, apply linear prediction, or interpolate the three largest FFT values.

AlgorithmTimeSpacePropertiesCode
Kay frequency estimatorO(N) worstO(1) extradeterministicefficient above thresholdfeedforward1 language
Luise and Reggiannini frequency estimatorO(N L) worstO(1) extradata aideddeterministicfeedforward1 language
Moose frequency offset estimatorO(N log N) worstO(N) extradata aideddeterministicexact without noisemaximum likelihood1 language
Rife and Boorstyn frequency estimatorO(N log N + N I) worstO(N) extradeterministicfeedforwardmaximum likelihood1 language
Schmidl-Cox synchronizationO(D + N log N + G N) worstO(N) extradata aideddeterministictiming and frequency1 language
Van de Beek estimatorO(P + T) worstO(T) extrablinddeterministicmaximum likelihoodtiming and frequency1 language

Bounds

  • Cramer-Rao bound (theorem). With known data and unknown phase, every unbiased estimator from NN samples has the variance at least 32π2 SNR N(N2−1)\frac{3}{2\pi^2\,\mathrm{SNR}\,N(N^2-1)} in cycles per symbol. The variance falls as 1/N31/N^3: the longer the block, the larger the phase that the offset builds up. Without known data, this value is the MCRB, still a valid bound but not tight at low SNR.
  • Range and accuracy (theorem for the range, rule for the trade). An estimator from the angle of the correlation at lag DD cannot tell ν\nu from ν+1/D\nu + 1/D, so its range is ∣ν∣<1/(2D)|\nu| < 1/(2D), while its variance falls as 1/D21/D^2. A wider range costs accuracy, which is why coarse and fine stages are combined.
  • Threshold (rule). All nonlinear estimators have a threshold SNR below which the error is dominated by outliers to random frequencies, and the mean square error rises far above the bound. For the ML estimator it depends on N⋅SNRN \cdot \mathrm{SNR}; for the Kay estimator on the per-sample SNR.

Reductions

  • To tone frequency estimation. With known data, zk=ak∗rk/∣ak∣2z_k = a_k^\ast r_k/|a_k|^2 turns the problem into the frequency of one tone, which is the classical problem of spectral estimation. The ML estimate is the peak of the periodogram.
  • From M-PSK to a tone. Raising rkr_k to the power MM removes M-PSK data and gives a tone at MνM\nu.
  • From OFDM to a phase difference. A repeated part of the signal, DD samples apart, gives ri+Dri∗≈∣si∣2ej2πεD/Nr_{i+D} r_i^\ast \approx |s_i|^2 e^{j2\pi\varepsilon D/N}, so the offset is the angle of a correlation, as in Moose, Schmidl-Cox and van de Beek.
  • To linear regression. At high SNR, the unwrapped phase of zkz_k is θ+2πνk\theta + 2\pi\nu k plus nearly Gaussian noise, and a least squares fit of a line estimates ν\nu; the Kay estimator is the best linear unbiased form of this idea applied to the phase differences.

Applications

  • Burst modems. Satellite and terrestrial burst receivers estimate the offset from a preamble before the phase.
  • OFDM systems. Wi-Fi, LTE and DVB-T receivers estimate a coarse offset from short repeated training parts or the cyclic prefix, then a fine one from long training symbols or pilots.
  • Doppler. Satellite and aircraft links, and radar, measure the Doppler shift of a carrier or echo.
  • Navigation. GNSS acquisition searches over Doppler bins, then refines the frequency before the carrier loop takes over.
  • Measurement. Instruments and power systems estimate the frequency of a sinusoid from short records.

References

  1. Umberto Mengali and Aldo N. D'Andrea, Synchronization Techniques for Digital Receivers, Plenum Press, 1997, Chapter 3 (carrier frequency recovery with linear modulations: data-aided and non-data-aided, feedforward and feedback estimators)
  2. D. C. Rife and R. R. Boorstyn, Single-tone parameter estimation from discrete-time observations, IEEE Transactions on Information Theory 20(5), 1974, pages 591 to 598, the Cramer-Rao bound for the frequency of a tone, the maximum likelihood estimator and its threshold
  3. A. N. D'Andrea, U. Mengali and R. Reggiannini, The modified Cramer-Rao bound and its application to synchronization problems, IEEE Transactions on Communications 42(2/3/4), 1994, pages 1391 to 1399, the modified Cramer-Rao bound for the carrier frequency
  4. Steven M. Kay, Fundamentals of Statistical Signal Processing, Volume I: Estimation Theory, Prentice Hall, 1993, Chapter 3 (the Cramer-Rao lower bound, including the bound for the parameters of a sinusoid)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a contract.yaml