Skip to content

File estimation_core.h

FileList > doppler > estimation > estimation_core.h

Go to the source code of this file

Estimation module — public C API.

  • #include "doppler/clib_common.h"

Public Functions

Type Name
double dp_timing_mcrb (int pulse, double beta, double sps, double esn0_db, double symbols)
The modified Cramér-Rao bound on symbol timing: the least variance, in symbols squared, of any unbiased timing estimate.

Public Functions Documentation

function dp_timing_mcrb

The modified Cramér-Rao bound on symbol timing: the least variance, in symbols squared, of any unbiased timing estimate.

double dp_timing_mcrb (
    int pulse,
    double beta,
    double sps,
    double esn0_db,
    double symbols
) 

For symbols iid unit-power symbols of a pulse in white noise at Es/N0 esn0_db, the symbols' cross terms vanish in expectation and with gamma the linear Es/N0, L the symbols and xi the pulse's normalized mean-square bandwidth as the receiver samples it (docs/design/timing-estimator.md, 4.5):

  • RC_PULSE_RRC, roll-off beta: 1/12 + beta^2 (1/4 - 2/pi^2), the raised-cosine spectrum's second moment; sps is not read.
  • RC_PULSE_IANDD, the rectangle averaged over each sample's interval at sps samples a symbol: only the two samples a symbol edge falls in move with the timing, sps each per symbol, so 2 sps / (4 pi^2), against the transmitted symbol's unit energy that Es/N0 is referenced to; beta is not read.

A loop of one-sided noise bandwidth B_L T (cycles a symbol) sees the same bound with symbols 1 / (2 B_L T), so symbols is a double.

Parameters:

  • pulse RC_PULSE_IANDD (0, the rectangle) or RC_PULSE_RRC (1).
  • beta The RRC's roll-off, from 0 to 1.
  • sps The rectangle's samples a symbol, > 0.
  • esn0_db Es/N0 in dB, finite.
  • symbols The symbols observed, > 0.

Returns:

The bound in symbols squared, or NaN for a bad argument.

>>> from doppler.estimation import timing_mcrb
>>> round(timing_mcrb(0, 0.0, 4.0, 4.0, 128.0) ** 0.5, 4)  # rectangle
0.0139
>>> round(timing_mcrb(1, 0.35, 0.0, 4.0, 128.0) ** 0.5, 4)  # RRC 0.35
0.021


The documentation for this class was generated from the following file native/inc/doppler/estimation/estimation_core.h