Back to Fprime

Reference Deployment

Ref/docs/sdd.md

4.2.27.0 KB
Original Source

Reference Deployment

1. Description

The reference deployment application is to demonstrate a collection of ISF components interconnected to form a deployment. The deployment represents a "reference" spacecraft that includes commanding, events, telemetry channels and parameters.

The application illustrates some example application components:

ComponentDescriptionLink
SendBuffAppA component that sends a bufferSDD
RecvBuffAppA component that receives a bufferSDD
BlockDriverA notional driver that relays buffers from SendBuffApp to RecvBuffAppSDD
SignalGenA component that generates telemetry following a waveformSDD
PingReceiverA test component that gets health pings that can be turned offSDD

It interconnects those application components with reusable service components:

ComponentDescriptionLink
EventManagerLogs events for downlinkSDD
ActiveRateGroupExecutes a rate group by calling componentsSDD
BufferManagerManages a pool of buffersSDD
CmdSequencerLoads a set of commands from a binary file and executes themSDD
CmdDispatcherDispatches commands from a ground system to registered componentsSDD
FileDownlinkComponent to downlink files to ground systemSDD
FileManagerComponent to perform various file operationsSDD
FileUplinkComponent to receive uplinked files from ground systemSDD
HealthPings active components in the topology to verify their alivenessSDD
PrmDbLoads sets of parameters from storage at startup and provides them to componentsSDD
RateGroupDriverSends messages to ActiveRateGroup instances to run a cycleSDD
TlmChanProvides storage for telemetry channels and periodically sends them to the ground systemSDD
PolyDbManages a database of polymorphic data valuesSDD

There is a set of useful utility components that can be used on supported operating systems:

ComponentDescriptionLink
PosixTimeProvides time stamps for telemetry on a posix systemsSDD
PassiveConsoleTextLoggerPrints the text form of events to standard outputSDD

2. Topology

The topology of the reference example is the interconnection of all the components used in the reference deployment (a deployment is a set of components connected together and compiled into a binary). There are a large number of connections so it is not feasible to show them all in one diagram. The following sections have views of the topology that show the connections for a particular purpose. The topology diagrams will be broken down into the core set of Command and Data Handling (C&DH) connections that would be reused from project to project as well as the connections unique to the reference example. The diagrams were generated using MagicDraw, while the FPP defining the topology connections was generated using the MagicDraw plug-in developed for ISF.

2.1 Commanding

The commanding view consists of connections for components to register commands, the dispatching of commands and the return of command execution status.

2.1.1 C&DH Commanding

The connections for the C&DH commanding are as follows:

2.1.2 Reference Deployment Commanding

The connections for the reference deployment commanding are as follows:

2.2 Telemetry

The telemetry view consists of connections for components to update telemetry channels in the TlmChan component.

2.2.1 C&DH Telemetry

The connections for the C&DH telemetry are as follows:

2.2.2 Reference Deployment Telemetry

The connections for the reference deployment telemetry are as follows:

2.3 Logging

The logging view consists of connections for components to send events for logging to the EventManager component.

2.3.1 C&DH Logging

The connections for the C&DH logging are as follows:

2.3.2 Reference Deployment Logging

The connections for the reference deployment logging are as follows:

2.4 Parameters

The parameters view consists of connections for components to retrieve and update parameters stored in the PrmDb component.

2.3.1 C&DH Parameters

The core C&DH components do not have any parameters.

2.3.2 Reference Deployment Parameters

The connections for the reference deployment parameters are as follows:

2.5 Time

The time view consists of connections for components to get time for time-tagging events and telemetry.

2.5.1 C&DH Time

The connections for the C&DH time are as follows:

2.5.2 Reference Deployment Time

The connections for the reference deployment time are as follows:

2.6 Health

The health view consists of connections for components to respond to pings from Healthto verify their threads are alive.

2.6.1 C&DH Time

The connections for the C&DH health are as follows:

2.6.2 Reference Deployment Health

The connections for the reference deployment health are as follows:

2.7 Rate Groups

The rate group view consists of connections for components to be executed at different rates in the reference topology.

The connections for the rate groups are as follows:

2.8 Ground

The ground view consists of connections for C&DH components to receive commands from and send telemetry to a ground system. The ground system in the reference example is communicated with via a TCP/IP socket.

The connections for the ground system are as follows:

2.9 Drivers

The drivers view consists of connections for the reference components to send packets to and from the example "driver." The driver also provides ticks to the RateGroupDriver component that cycles the rate groups.

The connections for the drivers are as follows:

3. Change Log

DateDescription
6/19/2015Initial version
4/20/2017Rel1.9