Skip to main content

Module mueller_timing_detector

Module mueller_timing_detector 

Source
Expand description

Mueller & Müller timing error detector and symbol timing recovery.

A receiver samples at a rate that is a multiple of the symbol rate, but with an unknown timing phase and a slightly wrong clock. The Mueller & Müller detector measures the timing error from just one sample per symbol and the receiver’s own decisions:

e[n] = Re{ conj(d[n-1]) · y[n] − conj(d[n]) · y[n-1] }

where y[n] is the interpolated sample at symbol n and d[n] the symbol nearest to it. For a Nyquist pulse the expected value of e is proportional to the timing error and zero at the ideal instant, so it can drive a feedback loop. mueller_timing_detector is that detector; MuellerTimingRecovery wraps it into a complete second-order loop:

  • a FarrowFilter interpolates the oversampled input at the current (fractional) instant;
  • the error nudges the symbol-time estimate μ directly (proportional path) and the symbol period estimate ω (integral path), so the loop tracks both a timing offset and a clock-frequency error;
  • ω is limited to a small band around its nominal value so noise cannot drag it away.

The loop consumes the oversampled stream and emits one sample per symbol.

See the book entry Synchronisation: phase-locked loops, Costas loops and timing recovery.

Structs§

MuellerTimingRecovery
Symbol timing recovery with a Mueller & Müller detector.

Functions§

mueller_timing_detector
The Mueller & Müller timing error for consecutive symbol-rate samples y_prev, y_curr with decisions d_prev, d_curr. The sign convention is that of the loop in this module: a positive error moves the sampling instant later (it is added to the symbol-time estimate), a negative error moves it earlier, and zero means the instants are ideal.