ccsds time critical onboard application services

22
Real-Time Systems Presented by: www.scisys.co.uk Stuart D Fowell CCSDS Time Critical Onboard Application Services Stuart D. Fowell, Keith L. Scott, Chris Plummer & Massimiliano Ciccone

Upload: jewell

Post on 08-Jan-2016

56 views

Category:

Documents


0 download

DESCRIPTION

CCSDS Time Critical Onboard Application Services. Stuart D. Fowell, Keith L. Scott, Chris Plummer & Massimiliano Ciccone. Overview. SOIS Objectives SOIS Architecture SOIS Application Services Command and Data Acquisition Services Time Access Service Message Transfer Service File Services - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CCSDS Time Critical Onboard Application Services

Real-Time Systems

Presented by:

www.scisys.co.uk

Stuart D Fowell

CCSDSTime Critical

Onboard Application Services

Stuart D. Fowell, Keith L. Scott, Chris Plummer & Massimiliano Ciccone

Page 2: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

2

Overview

SOIS Objectives SOIS Architecture SOIS Application Services

Command and Data Acquisition Services Time Access Service Message Transfer Service File Services

Services Required from the Underlying Layers Usage Examples

Simple Spacecraft Complex Spacecraft

Current Status of Recommendations

Page 3: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

3

SOIS Objectives

CCSDS developing recommendations for communication services onboard a spacecraft, handled by the Spacecraft Onboard Interface Services (SOIS) area

Aims to provide a consistent interface to various low-level access methods, enabling a common interface to the application software

Eventual goal is reusable software that can be easily ported to new missions and run on a range of onboard buses without substantial modification

Late configuration changes, e.g. relocation of thermistor, can be accommodated through simple spacecraft database changes without affecting onboard software

Consistent interface should provide an enabler for more complex, higher-level software architectures, e.g. fault-tolerant, distributed, software frameworks and autonomous, onboard mission planners

Page 4: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

4

Physical Layer

Data Link Layer

Network Layer

Transport Layer

Application Layer

Man

agem

ent

Applications

Application Services

Network Services

Mappings onto Buses and LANs

SOIS Architecture

Page 5: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

5

Service-Oriented Architecture

Each service defined in terms of Service Access Point provided to service users Service Data Units exchanged between service

implementations Expected Service provided by underlying layers

The service is then mapped onto any processor type, programming language, operation system and underlying communications protocol to provide a concrete implementation

Service

Service Access Point

Expected Service(provided by

underlying layer)

Service Data Unit

Page 6: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

6

SOIS Application Services

SOIS Application Services provide common services required by applications on any processing node of the spacecraft

They isolate the applications from the underlying topology and communications architecture of the spacecraft

These services rely upon SOIS Network Services to provide abstract communication services, that are themselves mapped onto individual onboard buses, mesh networks and LANs

Page 7: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

7

SOIS Application Services

Command and Data Acquisition Services – commanding and data acquisition by applications for transducers and simple instruments independent of their locations

Time Access Service – access for applications to the onboard time with bounded accuracy independent of their locations

Message Transfer Service – enables applications hosted onboard a spacecraft to communication with each other using asynchronous, ad-hoc, discrete messages with a bounded latency, including multicast and broadcast, independent of their locations

File Services – access by applications to, management of, and transfer of files within a (nominal) global onboard file store

ApplicationServices

MessageTransferService

TimeAccessService

Command & Data AcquisitionServices

FileServices

Underlying Services

Applications

Page 8: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

8

Command and Data Acquisition Services Provides a low overhead

access method for spacecraft hardware devices such as sensors and actuators, regardless of location

Split into a number of capability sets:

Device Access Service – basic reading from and writing to devices regardless of location

Device Virtualisation Service – provides reference to virtual, i.e. generic, image of a physical device

Device Data Pooling Service – maintains an image of the states of a number of devices

Command & Data AcquisitionServices

DeviceAccessService

DeviceData Pooling

Service

DeviceVirtualisation

Service

Underlying Services

Applications

Page 9: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

9

Device Access Service

Provides standard interface between service users and hardware devices

Basic device read and write capability

Service user is isolated from the physical location or the detailed knowledge of the electrical interface

Be it accessed via direct IO, analogue, digital, pulsed etc, or across a bus or across a network

Service user must still know the format of and is responsible for correctly composing commands written to and interpreting data read from the device

Can be used directly be applications or basis for more capable services, e.g. engineering unit conversions on raw data or monitoring services

Page 10: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

10

Device Virtualisation Service

Provides standard interface to virtual, i.e. generic, image of a physical device

Service user interacts with virtual image of the physical device and service handles translation of commands to the virtual image into commands to the physical device, and vice versa for data

Allows for application to be implemented to interact with “standard” devices, with the service providing the translation into particular devices

Replacement of a particular device type only requires modification to the service and not the application

Page 11: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

11

Device Data Pooling Service

Maintains an image of the states of a number of devices

Service user can access the state of a device in the pool without having to generate explicit data acquisition from the actual device

Service periodically samples the devices at predetermined sampling rate or caches state from devices that asynchronously generate data

Provides guarantees on maximum age of each parameter in pool and that software image is accurate

Page 12: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

12

Time Access Service

Provides users with a consistent interface to a local time source that is correlated to some centrally maintained master on-board time source

Wall-clock – ability to read the time on demand Alarm-clock – request notification at a particular time Metronome – periodic notifications with a specified interface and

starting at a particular time Not concerned with mechanism used to correlate time between time

sources as diverse implementation on different spacecraft

Application

Local Time Source 1

Application

Local Time Source n

Application

Local Time Source 2

Application

Master On-board Time Source

Application

Local Time Source n-1

On-board Bus

Scope of TAS

Page 13: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

13

Message Transfer Service

Enables applications to communicate with each other using asynchronous, ad-hoc, discrete messaging with a bounded latency, including multicast and broadcast

Provides basis for variety of communication frameworks, e.g. distributed PUS, Real-Time/Embedded CORBA

Page 14: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

14

File Services

Used to access, manage and transfer files Files could contain any type of data, e.g.

telemetry, commands and command sequences, software updates, imagery and other science observations

In addition to meeting the general SOIS goal of more reusable applications and tolerance for change in the spacecraft hardware configurations…

… also makes it easier to control access and management of shared hardware resources (e.g. Mass Memories)

Page 15: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

15

File Services

File Services

FileTransferService

FileAccessService

FileManagement

Service

Underlying Services

Applications

Filestore

Basic concept is files reside in a File Store, that consists of: Mass Memory in which files reside Associated File System providing functionality for managing the files

Split into a number of capability sets: File Access Service – allows access to files and portions of their

contents File Management Service – allows manipulating existing files on

local or remote file stores (onboard the same spacecraft) File Transfer Service – allows a service user to transfer files

between file stores (onboard the same spacecraft)

Page 16: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

16

File Access Service

Provides access to files and portions of their contents, in a file store regardless of its location

Primitives include Open, Close file Read, Write, Append, Insert, Remove Find first, find last, find next

Page 17: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

17

File Management Service

Provides manipulation of existing files in a file store regardless of ocation

Primitives include: Make, destroy, rename, lock, unlock directory Create file in, delete file from, delete all types of

files from directory Copy file, concatenate file Rename, lock, unlock file Find file List directory contents Operate specific algorithm on file

Page 18: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

18

File Transfer Service

Allows transfer of files between file stores on the same spacecraft

Primitives include: Initiate transmission of files between file stores Write produced data into file in local or remote file store Initiate file store operations on local and remote file stores Receive events related to operation of current transactions Request status information related to current transactions Send or receive messages associated with current

transactions Suspend, resume, or cancel transmission of current

transaction Does not include transfer of files between file stores

residing on different nearby spacecraft or between spacecraft and ground – this is provided by CFDP

Page 19: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

19

Services Required from the Underlying Layers

Services: Packet Transfer Service Get/Set Parameter Service Memory/Register Read/Write Service Time Correlation/Distribution Service

Common QoS: Unique identification of each nodes access point to

access method, i.e. address Segmentation and Prioritised delivery of PDUs

Page 20: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

20

TM/TC Transceiver

Thruster

Star Tracker

Solid State Mass Memory

FlightComputer

SpaceWireRouter

FlightComputer

Instrument DPU

Solid State Mass Memory

TM/TC TransceiverSpaceWire

Router

Gyro

Star Tracker

Thruster

Simple Spacecraft Usage Example

App

DVSFMS

Page 21: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

21

Current Status of Recommendations

SOIS Overview - Green Book issued for Agency Review June 06

Device Access Service – Red Book issued for Agency Review June 06

Device Virtualisation Service – Red Book expected to be issued for Agency Review Jan 07

Device Data Pooling Service - Red Book issued for Agency Review June 06

Time Access Service – Red Book issued for Agency Review June 06

Message Transfer Service – Red Book expected to be issued for Agency Review Jan 07

File Services – Red Book issued for Agency Review June 06

Page 22: CCSDS Time Critical Onboard Application Services

SpaceOps 2006 - 42-OS-20 - CCSDS TCOAS21st June 2006

22

Conclusions

SOIS Application Services… Command and Data Acquisition Services Time Access Services Message Transfer Services File Services

… isolate applications from the location of spacecraft components and their access methods

Benefits Improves software re-use Accommodates late configuration changes, and Enables more complex higher-level software

architecture