Skip to content

Data Path Diagram

Rafael Pintar Alevato edited this page Dec 15, 2017 · 8 revisions

Data Path Diagram

The image above shows the CubeSat data path. In the following text, each channel/bus will be explained in detail.

Table of Contents:


BUS 0 - Main I²C Bus of the Satellite

Description

The main purpose of this bus is to exchange data between the OBDH, EPS and the payloads.

Communication Protocol

It will use I²C, at 100 kbps. The OBDH will be the Master and the other modules will be slaves.

Commentary

OBDH <--> EPS

The OBDH will send the Start Condition every second, the EPS will return 69 Bytes. The bytes sequence is the following (big-endian):

  • ADC solar panel current - 12 bytes
  • ADC solar panel voltage - 6 bytes
  • ADC mppt output voltage - 2 bytes
  • ADC regulators input voltage - 2 bytes
  • ADC beacon/eps current - 2 bytes
  • ADC MSP internal temperature - 2 bytes
  • Batteries average current - 2 bytes
  • Batteries monitor temperature - 2 bytes
  • Batteries voltage - 4 bytes
  • Batteries current - 2 bytes
  • Batteries accumulated current - 2 bytes
  • Batteries monitor protection register - 1 byte
  • Batteries monitor status register - 1 byte
  • Batteries monitor cycle counter register - 1 byte
  • Batteries remaining active absolute capacity register - 2 bytes
  • Batteries remaining standby absolute capacity register - 2 bytes
  • Batteries remaining active relative capacity - 1 byte
  • Batteries remaining standby relative capacity - 1 byte
  • 7 RTDs measurements via ADS1248 - 21 bytes
  • EPS status - 1 byte

Back To Top


BUS 1 - OBDH and Solar Panels (SPI)

Description

The main purpose of this bus is to exchange data between the OBDH and the three solar panels: -X, -Y, -Z. The OBDH will read from the temperature sensors.

Communication Protocol

It will use SPI, at 8 Mbps to read from the temperature sensor in the solar panels. The full description of the pins and wires can be found in the OBDH section.

Commentary

These data will be used to map the solar panels temperature.

Back To Top


BUS 2 - OBDH and Microcontroller 1 on the Antenna Module

Description

In this bus the OBDH will send the commands to the microcontroller 1, to deploy the main radio antennas, read the deploy status and other sensors located at the antenna module. The antenna microcontroller 1 controls the deploy circuit of the two antennas of the main radio.

Communication Protocol

It will be used I²C, at 100 kbps. The OBDH will be the Master and the microcontroller 1 the slave. The OBDH will start the communication once, on the first boot (deploy), and after each reset to read the deploy status. It will not have a deterministic frequency of transactions.

Commentary

The communication process is To Do.

Back To Top


BUS 3 - OBDH Microcontroller and TT&C Microcontroller

Description

This SPI bus has three main purposes:

  • When a shutdown command is received, the OBDH must warn the TT&C to do the same, both have to sleep for 24 hours.
  • To perform the handshake (synchronization/mutex) between the OBDH microcontroller and Beacon microcontroller allowing only one radio to transmit at a time
  • Transmit some data to the TT&C microcontroller send these data through Beacon Radio.

Communication Protocol

SPI at 2 kbps will transfer the bytes from the OBDH microcontroller (master) to the TT&C microcontroller and vice-versa.

Commentary

If It is a data transfer the OBDH will send the following data:

Information Bytes Quantity Description
Vbat1, Vbat2 4 Batteries Voltage
Tbats 6 Batteries Temperatures
QBat 2 Total charge of batteries
Isolarpanel 12 Solar Panels Currents
Vsolarpanel 6 Solar Panels Voltages
FSat Status 2 Overall Status of cubesat
IMU 12 Accelerometer and Gyroscope
System Time 4 Time since boot
Reset Counter 2 Number of OBDH resets since launch

In a shutdown request the TT&C microcontroller must return an acknowledge for the OBDH.

In a RF channel request the OBDH asks the TT&C if the main radio can do a transmission. The TT&C must respond with Free or Busy. Every new transmission on the Transceiver the OBDH must do a RF channel request.

Back To Top


BUS 4 - OBDH and Main Radio Bus

Description

In this bus the OBDH will send and receive data to the main radio at the TT&C board.

Communication Protocol

SPI at 8Mbps will transfer the bytes from the OBDH (master) to the Radio and vice-versa. The GPIO is to enable the PA.

Commentary

Once per second the OBDH will read the radio buffer, to see if the cubesat received a telecommand. When this happens it will read, decode and interpret. If the telecommand is a downlink, the OBDH will:

  • Packet the data (NGHam).
  • Take the mutex (Transmission permission) from the beacon.
  • Enable the PA regulator.

After its done will:

  • Disable the PA regulator.
  • Release the Mutex (Transmission permission).

Telecommands are asynchronous, thus the GPIO will not have a deterministic frequency of transactions only the SPI bus, as stated above.

Back To Top


BUS 5 - Beacon Microcontroller and Microcontroller 2 on the Antenna Module

Description

In these bus the Beacon microcontroller will send the commands to the microcontroller 2, to deploy the beacon antennas, read the deploy status and other sensors located at the antenna module. This microcontroller controls the deploy circuit of the two antennas of the beacon radio.

Communication Protocol

It will be used I²C, at 100 kbps. The Beacon microcontroller will be the Master and the microcontroller 2 the slave. The Beacon microcontroller will start the communication once on the first boot (deploy), an then after each reset to read the deploy status. It will not have a deterministic frequency of transactions.

Commentary

The communication process is To Do.

Back To Top


BUS 6 - EPS Microcontroller and Beacon Microcontroller Communication

Description

This bus has a redundancy purpose. It will send EPS data (Batteries voltages) to the Beacon microcontroller.

Communication Protocol

It will be used UART (9600 bps) , where the EPS will interrupt the Beacon microcontroller every 10 seconds.

Commentary

The EPS will send 31 bytes in this order:

Information Bytes Quantity Description
Vbat1, Vbat2 4 Batteries Voltage
Tbats 6 Batteries Temperatures
QBat 2 Total Charge of Batteries
Isolarpanel 12 Solar Panels Currents
Vsolarpanel 6 Solar Panels Voltages
Energy level 1 Overall Status of Satellite

Back To Top


BUS 7 - Radio Signals to the Antennas

Description

Analog cables to send the signal to the antennas, to spread it.

Communication Protocol

There are three SMA connector present in the TT&C board, two of them for UHF operation and one for VHF operation. The final solution will use only one or two cables to connect the TT&C to the antennas, depending on the engineering model tests results.

Commentary

The main radio will use 2 antennas and and the beacon other 2. The antenna module contains two UHF monopoles and two VHF monopoles.

Back To Top


BUS 8 - OBDH and Solar Panels (Analog Channel)

Description

The main purpose of this bus is to exchange data between the OBDH and the three solar panels: -X, -Y, -Z. The OBDH will read analog data from the photodiodes.

Communication Protocol

The photodiodes will only use 2 wires to circulate its current. The full description of the pins and wires can be found in the OBDH section.

Commentary

These data will be used to map the light distribution on solar panels.

Back To Top


Debug Buses - External Interface Busses

Description

Debug the satellite and update the firmware.

Communication Protocol

Four Wires for the Spy Bi-Wire (JTAG), 2 wires for debug for all the three modules.

Commentary

The 2 wires for debug will use the UART(@ 9600 bps). The spy bi-wire is defined here.

Back To Top

Clone this wiki locally