Instructions for Decoding SOC-i’s Radio Transmissions
Background
The Satellite for Optimal Control and Imaging (SOC-i) will use a Pacific Crest XDL Micro Transceiver. The XDL radio can only transmit using a limited number of transmission protocols, none of which are commonly used and have little to no publicly available documentation. This document describes how anyone can decode SOC-i’s telemetry.
How to Receive a Beacon
SOC-i will transmit its telemetry beacon once per minute if it is in a nominal operating mode.
Finding SOC-i
Thanks to NORAD, a two line element (TLE) for SOC-i will be available at celstrak.com after SOC-i launches. With a TLE, one can how to point your antenna to receive SOC-i’s transmission. The AMSAT website explains how to do this.
Link Margin
To accurately demodulate SOC-i’s beacon, a signal to noise ratio of about 10 dB is required. SOC-i will be in a 555 km orbit, and will transmit with an EIRP between 23.2 dBm and 27.7 dBm (depending on where SOC-i is pointing its antenna). It will transmit between 435 MHz and 438 MHz. This should provide enough information to determine if a ground station will have enough gain to demodulate SOC-i’s beacon. You will need to factor in the gains and losses of your ground station. Also note that SOC-i is only555 km when it is directly overhead, and is actually over 2,000 km away when it is near the horizon, so keep this in mind when you calculate free space path losses. For a comparison, this link describes our link margin calculations in greater detail. We plan on using an ICOM 9100 radio with a 13 dBi Yagi antenna, and our calculations show that we have a suitable signal to noise ratio.
Sample Recording
Check out our GitHub page where you can use our code to test out receiving a sample recording from SOC-i’s radio! This page includes our code to demodulate and unpackage transmissions from SOC-i and describes this process with the sample recording.
Demodulation
There are many ways to demodulate a signal from SOC-i. One way would be to usea radio which is already capable of demodulating FM signals, such as the ICOM-9100. Another way will be to simply record the baseband signal, using a software defined radio, and submit the IQ signal to our website where it will be automatically demodulated and decoded. This feature is currently a work in progress, however. An IQ signal can also be demodulated using GNU Radio companion, which can be downloaded at this link or any other demodulation software.
The baseband signal (absolute value of IQ vectors):
The demodulated packet:
Decoding
Once you have demodulated the signal into bits, you need to decode the bits to determine the message sent by SOC-i. Each transmission is sent as a single packet. The start of the packet is the preamble, which is a series of 142 alternating pairs of 1’s and 0’s (284 total):
Preamble: [1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 ...]
The full preamble is shown in figure 3.
After the preamble, the radio sends 5 header bytes (the team is communicating with Trimble to learn what these 5 bytes are used for), and 49 data bytes, for a total of 54 bytes. The 54 bytes are sent 18 bytes at a time in three blocks, and are interleaved together. The interleaving pattern for one block of 18 bytes is described below:
Bytes Sent = [A B C D E F G H I J K L M N O P Q R]
Bits Received = [× × A1 B1 C1 ... × × A2 B2 C2 ... × × A3 B3 C3 ... × × P8 Q8 R8]
For the first block, bytes A,B,C,D and E are the header bytes. The subscripts on each byte represent the bit number in the byte. The ×represents separating bits (the pairsof separating bits are a 1 and a 0 or a 0 and a 1), and can be ignored. Therefore, 18 interleaved bits form a block of 160 bits. The algorithm in figure 5 shows how the bits can be de-interleaved:
Each packet contains three of these blocks. With the de-interleaving algorithm, the message from figure 2 can be decoded! For example, the first block (bits 285-445) in hexadecimal is:
[90 00 09 1F 7C 92 FF F8 00 50 49 72 8C AF 6C 80 17 06 06 62]
And when de-interleaved becomes:
[01 E0 0C 00 24 48 65 6C 6C 6F 20 77 6F 72 6C 64 21 20]
The first 5 bytes here are the header bytes, and can be ignored for now. The two remaining blocks after being de-interleaved become:
[54 68 69 73 20 69 73 20 53 30 43 2D 49 21 20 47 6F 6F]
[64 62 79 65 21 66 66 66 66 66 66 66 66 66 66 66 66 66]
We ignore the final 13 bytes in block 3, since our message is only 36 bytes long. Thus our message is decoded! If we convert the bytes to ASCII characters, we recover SOC-i’s message:
The packet also contains reed-solomon error correction bytes at the end of the packet. The team is currently working on a code which will use these bytes for error correction.
Parsing Telemetry
The bytes in the telemetry beacon will include information about the cubesat’s battery voltages, operating mode, attitude, rotation rate and more. You will be able to parse these bytes using a table from our website. However, this is still a work in progress.
Submitting Telemetry to the AACT Website
You will also be able to submit this telemetry to our website. This feature is still a work in progress.