FY3magic by JK4U.net
▶ Watch a pass
FY3magic / Demodulator & Viterbi in the FPGA / Differential decoding and frame sync
From bits to 1024-byte CADUs

Differential decoding and frame sync

After the Viterbi decoders, FengYun-3's differential coding is undone and the stream is searched for the CCSDS attached sync marker. Out come 1024-byte CADUs — exactly what a software decoder would produce.

  • Sync on the normal and the inverted marker — the 180° ambiguity costs nothing
  • Flywheel: a frame that arrives a little damaged is still delivered in place, so no scan line slides
  • Lock times measured end-to-end: about 1.5 – 4.5 ms from noise to frames
Attached sync marker
\mathrm{ASM} = \texttt{0x1ACFFC1D}, \qquad d_H(\text{window},\ \mathrm{ASM}) \le t
CADU
1024\ \mathrm{B} = \underbrace{4\ \mathrm{B}}_{\mathrm{ASM}} + \underbrace{4 \times 255\ \mathrm{B}}_{\text{RS}(255,223)\ \text{interleaved}}
← PreviousTwo Viterbi decoders in hardware
More in Demodulator & Viterbi in the FPGA

Open in the interactive tour →

← Back to
←→ chapters · ↑↓ sections