HADES-SA GRC Implementation
#1, #2, #3
(Part #1)
HADES-SA GRC: Plan for Future Experiments
(Direct suggestion from N6RFM)
[60923hda.wav: Findings from the period around the start of the burst]
11.006 seconds The training pattern begins.
11.166 seconds The first synchronization signal, 0xBF35, appears.
Difference of 0.160 seconds 800 baud × 0.160 seconds = 128 bits.
(Supplement) 60923hda.wav
As indicated by this filename, this is an AFSK audio WAV recording from SatNOGS, dated
September 23, 2026. The SatNOGS observation logs for the period around September 21–23,
contain an entry labeled "GENESIS FSK 800". The SoundModem that successfully performed
the decoding is UZ7HO's "FSK GENESIS 800bd" v0.05.
[DPLL Correction Parameters]
Phase correction: t += 0.15 * e
Symbol period correction during training: T += 0.01 * e
Symbol period correction during data reception: T += 0.0005 * e
Symbol period limit during training: +/- 3% of the nominal symbol period.
Symbol period limit during data reception: +/- 0.5% of the symbol period estimated during training.
For 800 baud: Nominal symbol period: 60 samples.
During training: 58.2 to 61.8 samples (+/- 3% of 60).
During data reception: within +/- 0.5% of the symbol period estimated during training.
Note, t: Estimated symbol-center time (timing phase)
T: Estimated symbol period (samples per symbol)
[Specific GRC Experimental Plan]
(1) Role of the Training Pattern
At the beginning of each HADES-SA burst, a 128-bit training pattern (0xAA repeated 16 times)
is transmitted. Using this regular pattern, the receiver estimates the symbol timing and symbol
period.
(2) Timing Initialization for Each Burst
According to N6RFM's explanation, the symbol period is reset to its nominal value (60 samples at
800 baud) at the beginning of each burst. The symbol period is then adjusted using the training
pattern.
(3) Symbol Period Stabilization During Data Reception
After the training period, the period correction is reduced to avoid excessive tracking of data
transitions. The symbol period is kept within +/- 0.5% of the value estimated during training.
(4) Implementation and Verification in GRC
In GNU Radio Companion (GRC), we will first implement training pattern detection and symbol period
estimation, and then implement the DPLL method described by N6RFM. Finally, we will verify that
the sync word "0xBF35" is correctly detected at intervals of 320 bits (0.4 seconds at 800 baud).
(Part #2)
HADES-SA GRC: Implementation Detection
https://www.ne.jp/asahi/hamradio/je9pel/HADES_SA_800bps_FSK_WAV_CHECK28.grc
Text for configuring Hidemaru in "config.conf" to enable "Open in Editor"
TEXT for detection: Embedded Python Block -> Training Pattern Detector
(Part 3)
Successful Recovery of CODEC2 Voice from GRC Reception Data!
[Introduction]
Experiments have been carried out to receive and analyze the 800 baud FSK
signals from HADES-SA (SpinnyONE) using GNU Radio Companion (GRC).
In this experiment, CODEC2 frames were extracted from the received bitstream
obtained using CHECK28.grc. The data was then converted into audio using the
CODEC2 utilities published by AMSAT-EA.
As a result, intelligible human voice audio was finally recovered from the
data processed through GRC. This section records the procedures and successful
results of the RUN2 audio recovery experiment. (28 Nov 2026)
HADES_SA_800bps_FSK_WAV_CHECK28.grc
[Acquisition of the Received Bitstream Using CHECK28.grc]
The original data was the HADES-SA WAV file "60923hda.wav", previously
received and recorded through SatNOGS. (See the link below.)
The CHECK28.grc flowgraph in GNU Radio Companion (GRC) was used to process
the 800 baud FSK signal and extract the demodulated bitstream.
Using the synchronization pattern as a reference, frame candidates appearing
at intervals of 320 bits (40 bytes) were examined.
Next, 40-byte frames were extracted from the RUN2 data, using the detected
synchronization positions as starting points. After bit-polarity inversion
and header verification, the data corresponding to HADES-SA CODEC2 voice
packets was selected.
[Conversion to the Official AMSAT-EA CODEC2 Format]
From each extracted 40-byte received frame, the first three bytes,
corresponding to the synchronization word and size information, were removed
to obtain a 37-byte data block.
The data was processed using procedures based on the official AMSAT-EA
source code. XOR processing was applied to the 35-byte CODEC2 data, followed
by alignment and padding in 28-bit units, producing 40 bytes of CODEC2 data.
These 40-byte CODEC2 frames were then merged using the official utility
"codec2-merge-windows-x86.exe".
The audio conversion procedure was as follows:
(1) Merge CODEC2 frames: codec2-merge-windows-x86.exe
(2) Convert to RAW audio: c2dec.exe 700C
(3) Convert to WAV format: ffmpeg.exe
[Folder Structure]
AMSAT-EA_HADES-SA_SpinnyONE_CODEC2_utilities_new
|
+-- codec2-merge-windows-x86.exe
+-- c2dec.exe
|
+-- ffmpeg
| `-- bin
| `-- ffmpeg.exe
|
`-- HADES_SA_CHECK28_merge_package
|
+-- RUN2_23A
| +-- run_RUN2_23A.bat
| +-- codec2_file_list_RUN2_23A.txt
| +-- manifest.csv
| `-- sat_RUN2_23A (used in this experiment)
| `-- 40-byte BIN files
|
+-- RUN2_23B (also used in this experiment)
+-- RUN3_23A (planned for the next experiment)
`-- RUN3_23B (ditto)
Operation performed:
(1) Open the HADES_SA_CHECK28_merge_package folder.
(2) Open the RUN2_23A folder.
(3) Double-click run_RUN2_23A.bat.
[RUN2_23A: Human Voice Successfully Recovered!]
First, the RUN2_23A data was used for the conversion.
The following three files were automatically generated:
- hades_sa_RUN2_23A.c2
- hades_sa_RUN2_23A.raw
- hades_sa_RUN2_23A.wav
The generated WAV file was opened in Audacity to examine its waveform.
Although the audio was intermittent and contained silent sections, playback
revealed intelligible human voice.
This was the first successful experiment in which human voice was recovered
from the HADES-SA received bitstream obtained through GRC.
[Comparison with RUN2_23B]
Two candidate synchronization positions were detected in the received data.
To compare which candidate should be selected, two sets of data were prepared:
- RUN2_23A: Candidate at bit position 16934
- RUN2_23B: Candidate at bit position 17254
These two candidates are separated by 320 bits (40 bytes).
The same procedure was applied to RUN2_23B to generate a WAV file.
When the audio from A and B was compared, both sounded smooth, and it was
difficult to distinguish a clear difference by listening.
The Audacity waveforms showed a slight difference in amplitude in the
middle section. However, amplitude differences alone are not sufficient
to determine which audio has better quality.
RUN2_23A.wav Successfully recovered audio file from this experiment
RUN2_23B.wav Recovered audio file for comparison
[Results and Future Work]
The following sequence of operations was successfully completed in this
experiment:
(1) Extraction of the HADES-SA received bitstream using GRC
(2) Detection of synchronization positions and extraction of 40-byte frames
(3) Preparation of 37-byte input data for the official decoder
(4) Generation of 40-byte CODEC2 data using the AMSAT-EA official processing
(5) Merging of CODEC2 frames using the official utility
(6) Audio decoding with c2dec.exe
(7) Conversion from RAW audio to WAV format using FFmpeg.exe
(8) Waveform inspection in Audacity and confirmation of human voice playback
Until now, the main achievements had been the extraction of CODEC2 frames
and their recognition by the official decoder.
Reaching the point where actual human voice could be heard through the
complete processing chain starting with GRC represents a major step forward.
The next task is to process the remaining RUN3 candidates in the same way
and examine the reproducibility of the results between RUN2 and RUN3.
Another goal is to reduce the number of missing frames and recover more
continuous audio.
* HADES-SA received signals have now been analyzed using GRC, and human
voice has finally been confirmed. This result marks an important milestone
in the GRC implementation of HADES-SA.
File name Description
--------- -----------
60923hda.wav Audio file serving as the starting point
HADES_SA_800bps_FSK_WAV_CHECK28.grc GNU Radio Companion(GRC) flowgraph
HADES_SA_CHECK28_extracted_37byte_frames.zip Extracted 37-byte frames
HADES_SA_CHECK28_official_CODEC2_outputs.zip 40-byte data after official processing
HADES_SA_CHECK28_CODEC2_merge_candidates.zip Candidate frame files for audio conversion
hades_sa_RUN2_23A.wav Successfully recovered audio file
hades_sa_RUN2_23B.wav Recovered audio file for comparison
Back to Top
Back to Home Page