FY3magic by JK4U.net
▶ Watch a pass
FY3magic / Frames to images / CCSDS frames, repaired and sorted
Derandomise · Reed-Solomon · demux

CCSDS frames, repaired and sorted

On the laptop the CADUs are derandomised, Reed-Solomon corrected and sorted by virtual channel — MERSI to the image engine, everything (optionally) on to SatDump for the other instruments.

Frames the Reed-Solomon code cannot repair are not simply thrown away: a new concept recovers the usable part of them. On deliberately damaged test data that roughly halved the image error.

Repeated and missing frames are detected from the frame counter, so a lost frame never shifts the rest of a scan line.

Reed-Solomon (255, 223), interleave 4
n = 255,\ k = 223 \;\Rightarrow\; t = \frac{n-k}{2} = 16\ \text{symbol errors per codeword}
Pseudo-random derandomiser
h(x) = x^8 + x^7 + x^5 + x^3 + 1
USB 3CADUsDerandomiseCCSDS PNReed-Solomon(255,223) × 4VCID demuxper instrumentMERSIimage engineOther instruments→ SatDump 2ImagesTIFF · KMZ · JSONfailed codewords are not discarded blindly — repeated and missing frames found from the frame counter
← PreviousNothing on the board is ever written
More in Frames to images

Open in the interactive tour →

← Back to
←→ chapters · ↑↓ sections