Repository navigation
Mode COSPAS SARSAT 406 MHz
406 MHz distress beacons (EPIRB, ELT, PLB): first-generation messages decoded, receive only.
| Group | Satellite & navigation |
| Default frequency | 406.028 MHz |
| Default sample rate | 256 ksps |
| In the mode list | Distress beacons, 406 MHz |
New in 0.2.7. Tested on generated signals only so far; recordings of real signals are welcome.
Receive only. Mode "COSPAS-SARSAT 406 MHz", 406.028 MHz (the channels run 406.025 - 406.076 MHz). Code: core/src/sarsat/, panel: app/sarsat/, tests: tests/sarsat/.
A 406 MHz beacon (EPIRB on a boat, ELT in an aircraft, PLB carried by a person) sends a burst of about half a second roughly every 50 seconds. OnAir decodes the first-generation message format of the public specification C/S T.001. A real beacon means somebody may be in danger: report it to the rescue coordination centre of your country. The program shows test beacons and self-test bursts as such, and is not an alerting system.
| Item | How |
|---|---|
| Burst | 160 ms unmodulated carrier, then 24 sync bits (15 ones, 9 frame-sync bits 000101111, or 011010000 for a self-test) and a 112 bit (short) or 144 bit (long) message, 400 bit/s, Manchester coded, phase modulated +-1.1 rad |
| 15 hex ID | bits 26 - 85 |
| Country | bits 27 - 36, the maritime identification digits (MID); about 270 are named |
| Protocol | bit 26 (user / location) and bits 37 - 40: EPIRB, ELT, PLB, ship security, test, national |
| Identification | MMSI, serial number and certificate, 24-bit aircraft address, aircraft operator, aircraft marking and call sign (Baudot), as far as the protocol has them |
| Position | location protocols: 15 minute cells in bits 65 - 85, refined to 4 seconds by the long message's bits 113 - 132 |
| Homing flag | bit 111 (121.5 MHz) |
| Checks | BCH(82,61) over bits 25 - 106 (up to 3 bits repaired), BCH(38,26) over bits 107 - 144 (up to 2 repaired) |
Screens: the decoded beacons with a detail panel, a map of the ones with a position, and the raw bits.
The input is mixed to the dial offset and averaged to 32 kHz. Every 32 ms a windowed FFT looks for one narrow line standing 15 dB over the median bin that was not there a moment ago (radio DC spikes do not count); that is the preamble. The burst is cut from a ring buffer, its carrier frequency is the median of the first lines (any offset within +-14 kHz), and each bit is the angle between the vector sums of its two halves, which does not depend on the carrier phase. Bit timing, bit rate (+-1 %) and polarity are found by sliding the 24 sync bits over the burst; the best candidates are decoded and the one the BCH check repairs with the fewest changes wins.
makeSarsatSynth: five made-up beacons (EPIRB, PLB, ELT, a maritime user beacon, an EPIRB in the southern hemisphere), one burst every 3 seconds. Options: modeOpt[0] one beacon only, modeOpt[1] reversed polarity, modeVal[0] bit rate error in percent, modeVal[1] seconds between bursts. Nothing is transmitted and there is no transmit entry for this mode: sending on 406 MHz is forbidden.
No real recording was available. The message layout, the protocol code table, the position and offset fields, the Baudot table and the homing bit were written from public descriptions of T.001 and need checking against a real beacon or the current T.001 before the details are relied on. The two BCH generator polynomials (0x26D9E3, 0x1539) were checked to divide x^127+1 and x^63+1, as a BCH generator must. User protocols other than the aviation, maritime and serial ones show the raw identification field.
- Receive only; nothing is sent. Encrypted traffic is never decoded.
- Try it without a radio: the mode has a built-in synthetic test signal.
- Receiving and the law: see Legal.
Getting started
Using OnAir
Tools and guides (0.2.7)
- Band survey
- Message database
- Watchlists
- TV recorder
- Time machine
- Pass scheduler
- Plugin SDK
- Headless server
- All guides
Radios
Modes by group
- TV
- Broadcast radio
- Aviation
- Maritime
- Satellite & navigation
- Two-way radio
- Cellular & rail
- Pagers
- IoT & sensors
- Weather & science
- Amateur: digital
- Amateur: voice & packet
- HF utility
- General & tools
Tutorials
- DVB-T2 TV with a HackRF
- FM radio with RDS
- Aircraft with ADS-B and the map
- Ships with AIS
- DAB+ digital radio
- Weather satellite images
- HF digital: FT8 and WSPR
- Digital voice: DMR, D-STAR, P25
- Pagers: POCSAG and FLEX
- Time stations and the clock
- Record IQ, then the Signal workbench
- The signal sample library
- Control a rig with Hamlib
- Two receivers and the multi-decoder
Reference
Help
Legal and privacy
More