Communication specification

Technical specification

Hardware

KRAKsat is equipped with two hardware redundant UHF transceivers - parts of SR-NANO-BUS platform.

Frequency

KRAKsat was assigned coordinated frequency for up- and downlink 435.500 MHz with emission designator 25K0D1D and EIRP 32 dBm. Downlink modulation is AFSK 1200bps and uplink is 2GFSK 9600bps. Satellite callsign is SR9KRA.

KRAKsat downlink communication can be one of three types:

  • beacon - emitted every 15 minutes

  • commands responses - specific to uplink type

  • payload logs transmission - on request, encoded in Base91

SR-NANO-BUS downlink can be distinguished by their frames format. Data transceived by UHF1 is decoded as APRS message (with a hardcoded callsign), while data from UHF2 contains frame in APRS telemetry format (without a callsign).

Beacon

Beacon is emitted every 15 minutes by SR-NANO-BUS platform OBC. It consists of 8 frames, sent one by one from both radios. Beacon frames are ASCII strings, terminated by \0, containing information about the status of crucial components.

Beacon frame

Data from frames 1-7 of the beacon status are calculated in SR-NANO-BUS platform OBC. Frame 8 with payload status is prepared in the payload software and updated every minute.

Beacon's first line, master status (M1;STS) is not properly implemented in SR-NANO-BUS platform, so data from 32-bit flags aren't generated correctly.

Payload status

Mode and Next mode values in beacon payload status were encoded as 3-bit numbers while having 9 possible values. This software error caused inability to properly distinguish the current payload state.

Commands responses

Every uplink command has a defined command response, based on which the operator knows if the request was successfully received.

SR-NANO-BUS platform contains IMU sensors for ADCS (gyroscope and magnetometer) but because of a software bug, IMU data can't be transmitted. It's connected with the fact that instead of being sent as ASCII, frames with IMU data are binary. '\0' sign that is used in APRS as the end of line can be anywhere in ADCS data, so if it's somewhere at the beginning, all the data behind won't be copied to AX.25 frame and transmitted.

Payload logs transmission on request

Payload logs are saved in the flash memory, part of SR-NANO-BUS platform. There is no special way of handling data e.g. filesystem - every new binary frame is just put into the first free memory address, depending on the payload mode (as described in logging logic).

Payload log frame

Every log frame contains 6 bytes of information - relative timestamp, register address (key) and register value. Its available parameters and logging interval are specific to the current payload mode. All log frames are prepared in the payload software and transmitted to the OBC as described in Logging logic chapter.

Log frames downlink is accomplished in form of a transaction. First, the transaction has to be initialized and a chosen address set. After that, 1 KB of logs can be downloaded. A part of data consists of chunks (typically 35-38 of them), numbered and encoded in Base91. Base91 algorithm used by SR-NANO-BUS platform is so-called rlyeh's modification.

Although UHF1 and UHF2 from SR-NANO-BUS are hardware redundant, their software has some differences. The biggest difference manifests itself in the fact that logs transmission can be provided only using UHF1. UHF2 can never transmit log frames.

Example of payload logs (1 kB)

19/07/18:00/12/23:SR9KRA-6:=PL;   0; 0;37;AABtWAAAAAOmUEAAC'WAAAAAOmUE5FAA5A
19/07/18:00/12/24:SR9KRA-6:=PL;   0; 1;37;BAUA^XHnZ4AA,'pB@AoI~+OtCAv|&DDHAA
19/07/18:00/12/25:SR9KRA-6:=PL;   0; 2;37;3+`AKAg@u^McAA`wyB@ArPP&LtCA2OfbDH
19/07/18:00/12/26:SR9KRA-6:=PL;   0; 3;37;uWGXFCoA\20^uWBAyE&MvDAAFAC'CAzDAA
19/07/18:00/12/27:SR9KRA-6:=PL;   0; 4;37;vDuWKAAAKA)_bWMcBtjtrB*B@Q/LRAFAv|
19/07/18:00/12/28:SR9KRA-6:=PL;   0; 5;37;^ADHC'yemAKAR`kpMcC'v~sAoAiay9wWBA
19/07/18:00/12/29:SR9KRA-6:=PL;   0; 6;37;tNiKvDN/YcxAKA?zpVMcBtNuUD*BBtCAC'
19/07/18:00/12/30:SR9KRA-6:=PL;   0; 7;37;CA,BAAvDXLFAC'HAj|1mJVuW#W(A8A5*~t
19/07/18:00/12/31:SR9KRA-6:=PL;   0; 8;37;,\BAk~dBZFBtpJHAPAR`pqSqC'`,QCdBrP
19/07/18:00/12/32:SR9KRA-6:=PL;   0; 9;37;m=LtHA&qEDJVuWGXICdB#TJ:OtHAJJkYJV
19/07/18:00/12/33:SR9KRA-6:=PL;   0;10;37;AAKAAAPALHAAJVBtUAAAoAr?xcuWD'jtrB
19/07/18:00/12/34:SR9KRA-6:=PL;   0;11;37;vD@QcebAKAv|9CMcAAZg#AoAg@^_uWBAr\
19/07/18:00/12/35:SR9KRA-6:=PL;   0;12;37;mA*BrPOVJAFAtx^UGOY4x4GB@Ao.J=BtCA
19/07/18:00/12/36:SR9KRA-6:=PL;   0;13;37;ZCtGDHC'CAAAFA,BAADHXLFAC'MAtZ~nPj
19/07/18:00/12/37:SR9KRA-6:=PL;   0;14;37;uW#W(AJBVx8xyWGA+}\B1RC';7XAZAR`'n
19/07/18:00/12/38:SR9KRA-6:=PL;   0;15;37;e+C'QmRBSCrPwPKtMAgw)RPjuWGXPCSC#T
19/07/18:00/12/39:SR9KRA-6:=PL;   0;16;37;ReBtMAJJZZPjAAKAAAZALHAAPjBtUAAA8A
19/07/18:00/12/40:SR9KRA-6:=PL;   0;17;37;|L$/,\D'jtpBZF@Qg\WAPAv|}BSqAAjyVA
19/07/18:00/12/41:SR9KRA-6:=PL;   0;18;37;8Ag@/]+\BACZKCZF{eFfSAPAV%!fSquWGX
19/07/18:00/12/42:SR9KRA-6:=PL;   0;19;37;OC6C#T-lD'HAyE&MJVAAFAAAPAzDAAJVuW
19/07/18:00/12/43:SR9KRA-6:=PL;   0;20;37;KAAAjA)_FLoICtjtrBOG@Q~(U'RAv|nEVx
19/07/18:00/12/44:SR9KRA-6:=PL;   0;21;37;AAH2.A+Ag@@=@QCAp0WDOG{eFfT'RAs-pT
19/07/18:00/12/45:SR9KRA-6:=PL;   0;22;37;VxuWGXVCHD#TJKKtRAJJ!aVxAAKAAAjALH
19/07/18:00/12/46:SR9KRA-6:=PL;   0;23;37;AAVxBtUAAA@A}4..CtE'jtrBDH@QK0JAUA
19/07/18:00/12/47:SR9KRA-6:=PL;   0;24;37;v||EY4AAtk8A@Ag@1\BtCAGNODDH{eFfRA
19/07/18:00/12/48:SR9KRA-6:=PL;   0;25;37;UA37XsY4uWGXaCvD#T-1EAKAyE3NMcAAFA
19/07/18:00/12/49:SR9KRA-6:=PL;   0;26;37;AAUAzDAAMcuWKAAAtA(n$,0kCtjtrB^H@Q
19/07/18:00/12/50:SR9KRA-6:=PL;   0;27;37;GUD'bAiqInh=uW#W(AmCVx5#2(NA+}bC!m
19/07/18:00/12/51:SR9KRA-6:=PL;   0;28;37;C'd1gA3AR`#o$$D'hD`B-ErP9}JtbA&q8I
19/07/18:00/12/52:SR9KRA-6:=PL;   0;29;37;h=uWGXSC-E#Tq|EtbAJJJZh=AAKAAA3ALH
19/07/18:00/12/53:SR9KRA-6:=PL;   0;30;37;AAh=BtUAAAdB_)FyEtHA,'rByK@QXpCAeA
19/07/18:00/12/54:SR9KRA-6:=PL;   0;31;37;v|&Dk_AAEvgAdB!+z)CtHA=H5KJV[9JRkA
19/07/18:00/12/55:SR9KRA-6:=PL;   0;32;37;8A`ROh+\CtMugEyKjn17CAeAJJUYk_AAKA
19/07/18:00/12/56:SR9KRA-6:=PL;   0;33;37;AA8ALHAAk_BtUAAAnB^X@|aLIA,'rBnL@Q
19/07/18:00/12/57:SR9KRA-6:=PL;   0;34;37;r=L'gAv|yDlBBAX+`AnB!+`!YLIASouD\W
19/07/18:00/12/58:SR9KRA-6:=PL;   0;35;37;[94_iA%A{!^m:CDtMuqEnLjn0WX'gAJJZZ
19/07/18:00/12/59:SR9KRA-6:=PL;   0;36;37;lBBAK

Last updated