FY3magic by JK4U.net
▶ Watch a pass
FY3magic / Demodulator & Viterbi in the FPGA / Carrier recovery: Costas + FLL
From Doppler to a locked constellation

Carrier recovery: Costas + FLL

Doppler, LNB drift and the downconverter's LO error put the carrier somewhere within a few hundred kHz. A frequency-locked loop pulls it in, a Costas loop locks the phase — the four QPSK clouds stand still.

Carrier range: ±2.4 MHz. Simulated without a single cycle slip at 20 MHz/s Doppler ramps — ten thousand times the real worst case of about 1.7 kHz/s.

QPSK leaves a 90° phase ambiguity after the loop locks. FengYun-3 handles it with differential coding, and the FPGA resolves the rest on its own (next chapter).

Costas QPSK phase detector
e_\varphi[k] = \operatorname{sgn}(I_k)\,Q_k - \operatorname{sgn}(Q_k)\,I_k
Fourth-power frequency detector (modulation removed)
e_f[k] = \arg\!\Big( z_k^{4}\,\big(z_{k-1}^{4}\big)^{*} \Big) \;\approx\; 8\pi\,\Delta f\,T_s
Lock quality
q = \frac{-\,\mathrm{Re}\{z^4\}}{|z^4|} \in [-1, 1]
Locked QPSK constellation in the FY-3 Station live view
Locked QPSK constellation in the FY-3 Station live view
← PreviousSymbol timing recovery
More in Demodulator & Viterbi in the FPGA

Open in the interactive tour →

← Back to
←→ chapters · ↑↓ sections