SOIS EDS ADCSS 2013 v1.0 - for CCSDS

Download Report

Transcript SOIS EDS ADCSS 2013 v1.0 - for CCSDS

SOIS Electronic Data Sheets for Onboard Devices
Current Status
Stuart Fowell
22nd October 2013
Overview
•
•
•
•
Why SOIS EDS are useful
How will SOIS EDS be applied
Current Status of Prototyping
Specification by CCSDS
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
2
Why SOIS EDS are useful
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
3
Electronic Data Sheets replacing Device ICDs
• Function Interface information for a device is today typically
provided within an ICD
» Paper document
› Different formats from different organisations
› With potentially different levels of information provided
» Requires extensive testing for inconsistencies with implemented
device
» Requires manual translation
Presenter to:
1 & Presenter 2
›
›
›
›
›
OBSW development
Wednesday, 13 July 2016
Spacecraft databases
Simulators
Mission Control System databases
Others?
• Define Electronic Data Sheets to replace ICDs
»
»
»
»
Capture electronically all information
Include associated semantic meaning
Allows for checking that information is consistent and complete
Allows for automatic transformation into OBSW, test harnesses,
databases, ICDs, etc.
23rd October 2012
Progress in the Definition of Electronic Data Sheets for Onboard Devices
4
How will SOIS EDS be applied
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
5
CCSDS SOIS Reference Communications Architecture
Electronic Data
Sheets
for Onboard
Devices
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
6
SOIS Command and Data Handling Services
• Generic Functional
Interface
OBC
Onboard
Application
Virtual Device
Device Virtualisation Service
Hardware Device
Functional Interface
Device
Abstraction
Control Procedure
Device
Functionality
Device Access Service
Device-specific
Access Protocol
Device-specific
Access Protocol
» Functionality common to a
device type
• Device Abstraction
Control Procedure
» How the Functional
Interface is mapped onto
the device-specific access
protocols
» Type conversions,
operations, state-machine
• Device-specific Access
Protocol
» How to command and
acquire raw data for
specific devices using
subnetwork-specific
protocols, e.g. packet
structures
» State machine
• Subnetwork-specific
Protocol
Subnetwork Service
SubnetworkSpecific Protocols
22 October 2013
SubnetworkSpecific Protocols
SOIS Electronic Data Sheets for Onboard Devices - Current Status
» How to transfer data
to/from device across
subnetwork
» QoS: ack, retransmit,
priority etc.
7
Where can EDS be used: The Onion Diagram
EDS
EDS
D1 FI
EDS
D1+D2
+RIU1 VFI
SpW
Access
D1+D2
+RIU1 FI
D1+D2
+RIU1 FI
1553
Access
D1
SpW
D2
RIU
1
1553
DVS
DAS
Sub PS
1553
Access
API
RS422
Software
Bus
Adaptor
EDS
D2 FI
RS422
Access
D3
EDS
OBC 1
DVS
DAS
Sub
MAS
SpW
D3 FI
EDS
EDS
D1+D2
+RIU1 VFI
D1+D2+D
3+RIU1 FI
MTS
Access
SW Bus
EDS
Spacecraft
Interface
(Data
Handling)
TM/TC
Access
TM/TC
D3 VFI
MTS
Access
API
EDS
D3 VFI
SpW
Access
D3 FI
SpW
Access
EDS describes
Concrete
interfaces of
Physical Devices
EDS describes
interfaces of SOIS
implementation API
virtual device
transformation
22 October 2013
EDS describes
interfaces of SW
Components
transformation
Into s/w bus component
SOIS Electronic Data Sheets for Onboard Devices - Current Status
EDS describes
interfaces of
Spacecraft
transformation
Into partial S/C TM/TC
8
Mission
Control
System
Planned Usage in SAVOIR (ESA)
Applications
AOCS
System FDIR
SOIS Command and
Data Acquisition
Services part of the
SAVOIR-FAIRE
Execution Platform
• Auto-generation of
implementation
from EDS
Libraries:
mathematical,
etc.
Abstract
component
services
22 October 2013
Satellite Conf
and Eqpt Mgmt
System mode
mgmt
Power
SSMM Mgmt
OBT Mgmt
P/L Manager
Connector
services
Container
services
Component
services
OBCP
interpreter
PUS specific
PUS monitoring
Avionics
Equipment
virtual devices
=SOIS DVS
Context
Mgmt
On-board time
=SOIS TAS
Communication
services
addressing
physical
distribution
across nodes
= SOIS MTS
SOIS Subnetwork layer (1553, CAN, SpW)
(including HDSW)
Solid State
Mass Memory
File/
Compress/
Encrypt
Security
Unit
Thermal
Software bus
PUS
Telemetry
Telecommand
Plan/ Autonomy
Framework
Pseudo-components represent
Application software
devices in component model
Execution platform
On board computer
Possibly:
Hardware
• EDS Functional Interface
Hardware functions
mapping onto PseudoBuses
Component I/F
• Auto-generation of
implementation from EDS
Standardized
devices
RTOS
CAN
CPU
UART
MIL-1553
RAM
Sensors &
actuators
BSP
Remote Terminal Unit
Remote Interface Unit
SGM
OBTimer
EEPROM
Boot
PROM
HW
watchdog
SOIS Electronic Data Sheets for Onboard Devices - Current Status
Computation
Application
SOIS
Layers
ADCs / DACs
SOIS
Layers
Space
Linux
microcontroller
Digital
Sensorbus
CPU
Payload
Computer
Standardisation of
device-class interfaces
by SAVOIR-SAFI using
EDS functional
Onboard Communications H/W (e.g. MIL-STD-1553B, SpaceWire, CAN RS422)
interfaces
SpW
Payloads &
Instruments
Intelligent
devices
CPU
SOIS
Layers
Legacy
devices
9
How and When are EDS Used (1/2)
•
•
•
•
•
•
•
Device Manufacture
OBSW Development
Spacecraft databases
Simulators
MCS databases
Others?
SEDS
Spec. &
Toolkit
Custom
Device
Manufacture
System
Design
Device
Functional
Interface
Device
Device
Design
Test
Device
Device
Data
Sheet
Device data sheets can be
•
Auto-generated from
Device design models
•
Auto-generation from
interface information, e.g.
spreadsheet
•
Hand-written using EDS
Editor
Device Manufacture
»
»
»
»
»
Off-the-shelf device, e.g. most platform devices
Custom device, e.g. most payload devices
Implementation of formally or informally agreed standardised device type
Aggregate Device assembled from lower-level components, i.e. RTU
Can be used by test tools to validate that the manufactured device and the device data sheet
agree upon the behaviour of the device as exposed on the subnetwork interface
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
10
How and When are EDS Used (2/2)
•
•
•
•
•
•
•
Device Manufacture
OBSW Development
Spacecraft databases
Simulators
MCS databases
Others?
Device
Data
Sheet
OBSW
Development
Design
OBSW
Code
Generator
Test
Harness
Generator
OBSW
S/C
DACP &
DAP S/W
Simulated
Devices
SOIS S/W
Suite
Build
OBSW
Test
OBSW
OBSW Development
»
»
»
»
Eliminates the interpretation of behaviour
OBSW automatic generation is dependent upon software architecture used for OBSW
Clearly it will only generate a fragment of the OBSW
Other system issues need to be addressed, e.g. determining a MIL-STD-1553B schedule
›
Of course, this can make use of a device data sheet too as this encodes the communication patterns
» Also test harnesses can be generated
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
11
Current Status of Prototyping
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
12
Prototyping Projects
Derived from ontology in xTEDS
and AFRL SPA
AFRL SPA &
AIAA xTEDS
Starting point:
US Airforce Research Lab
Spacecraft Plug-and-Play
Architecture
XML Transducer EDS
22 October 2013
Device EDS &
Schema
NPAL Camera
AFRL Common DoT project
SOIS PoC
Device EDS &
auto-generating
into SOIS PoC s/w
NPAL Camera,
Hydra Star Tracker,
FOG Gyro
ESA YGT
Small amount of
analysis and
ESA TRP
exploratory
prototyping as
part of prior
SOIS project
NASA-GSFC
S/W bus EDS & autogenerating into cFE
NPAL Camera & GPS
Receiver
SOIS Electronic Data Sheets for Onboard Devices - Current Status
13
ESA TRP Project
• Project
» Follow-on from SOIS Proof of Concept TRP study
» SCISYS supported by Astrium (F) and TAS-F
» 15 month TRP study, kicked on September 2012
• Objectives
»
»
»
»
EDS Use Cases Capture and resulting Requirements
Definition of EDS XML Schema and Specification
Test with defining EDS from real-world ICDs
Proof of Concept demonstration of code generation from EDS
• Outputs
» EDS XML Schema & draft CCSDS SOIS standard
› In cooperation with CCSDS SOIS WG and SAVOIR-SAFI WG
» Example Functional Interfaces and EDS for selected real-world devices
› Hydra Star Tracker, FOG Gyro, NPAL Camera
› Use of draft Common Dictionary of Terms from AFRL
› Using SAVOIR-SAFI generic Functional Interfaces, where possible
» Proof of Concept Demonstration on RASTA
› EDS-generation toolkit
› SOIS and ICD documentation auto-generation
› Demonstration of OBSW using auto-generated SOIS to interface to simulated devices
- Based on SOIS Proof of Concept software
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
14
Standards, ontologies, schemas and data sheets
Common DoT
(OWL)
Provided to
device manufacturer
by CCSDS SOIS
Translated
Instantiated
Core Dictionary
of Types
(proposed)
SEDS Schema
(XSD)
Instantiated
Included
Common DoT
(XSD)
Instantiated
Included
Custom Dictionary
of Types
Included
Device
Data Sheet
(XML Document)
Written by
device manufacturer
Normative elements indicated in red
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
15
Contents of a device data sheet: Hydra Star Tracker
seds_hydra_
star_tracker.
xml
Common & Hydra
Dictionary of Types
Hydra
DVS Func. I/F
Star Tracker
DVS Func. I/F
implements
Star Tracker
DACP
implements
uses
uses
Hydra
DACP
uses
Hydra
DAS Func. I/F
implements
Hydra
Ancillary Information
Hydra
DAP
uses
Hydra
Subnetwork (1553)
Information
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
16
Auto-generated Documentation: Hydra Star Tracker
seds_hydra_
star_tracker.
xml
Common & Hydra
Dictionary of Types
Functional_Interf
ace_Specificatio
n_STAR_TRACK
ER_DVS.html
Dictionaryn_of_
Types_HYDRA.
html
Functional_Interf
ace_Specificatio
n_HYDRA_DVS.
html
Hydra
DVS Func. I/F
Star Tracker
DVS Func. I/F
implements
Star Tracker
DACP
Dictionaryn_of_
Types_SEDS.ht
ml
implements
uses
uses
Hydra
DACP
uses
Functional_Interf
ace_Specificatio
n_HYDRA_DAS.
html
Hydra
DAS Func. I/F
implements
Hydra
Ancillary Information
Hydra
DAP
uses
Hydra
Subnetwork (1553)
Information
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
17
Auto-generated OBSW: Hydra Star Tracker
RASTA System
RASTA representing
OBC
SOIS Software Suite
from SOIS PoC
project containing
auto-generated code
from device data
sheets
E.g.
- Interfaces
- State machines
LEON2/3
RASTA representing
simulated Hydra Star
Tracker
Hand-coded from
paper ICD
Test Application
RASTA System
SOIS Software Suite
LEON2/3
Auto-generated from
Device data sheet
Device simulation
RASTA/RTEMS 1553 Driver
RASTA/RTEMS 1553 Driver
1553 BC
1553 RT
1553 Bus
• Demonstrate that device data sheets can be used to automatically
generate OBSW
• Proof of concept code generator toolset for SOIS Software Suite
framework from SOIS Proof of Concept project
• Test Applications call DVS or DAS to command and acquire data from
e.g. simulated Hydra Star Tracker
• Successful demonstration
» Now into refinement & improvement of how data is captured in data sheets
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
18
Technical and Process Issues Identified
• Balance readability of data sheets with sufficient
complexity to capture all sensible patterns
» XML is unreadable in all but most simple cases
» Most simple cases are too simple to test schema is sufficiently
rich enough
» Viewer, editor support tools required (beyond standard XML)
• Need to explore multiple use cases to iron out issues
» Coverage of all device classes and sufficient examples
» Test interfacing to real rather than simulated devices
» Different uses, different processes
• Handling access to legacy devices
» Little or no implementation of ECSS 1553 services
» NPAL camera doesn’t use SpW protocol IDs
• Not enough standardisation of SpW protocols yet
» Need e.g. SpW-D & defined protocol stack
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
19
Specification by CCSDS
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
20
Specification by CCSDS
Supported by
• ESA
• UKSA
• NASA:
• GSFC, JSC, SUMO,
AIAA
Charter
CESG Review
CESG Review
Prototyping
& Interoperability
Testing
Red Book 1
CMC Review
White Book
1st Agency
Review
WG Review
Draft Red Book 1
Red Book 2
2nd Agency
Review
Draft Blue Book
1
Blue Book 1
• CCSDS Standards
» CCSDS 876.0 XML Specification for Electronic Data Sheets for Onboard Devices
› Blue Book, EDS XML schema
» CCSDS 876.1 Common Dictionaries of Terms & Types for Onboard Devices
› Blue Book, OWL ontology, Common Dictionary of Terms XML schema, Common Dictionary of
Types XML document
» Items in Red managed and online access provided by CCSDS SANA
• Electronic Data Sheets informational report (Green Book)
» Overview of structure and expected usage of Electronic Data Sheets
› More detailed that forthcoming general SOIS Informational Report Issue 2
• Standardisation of device class-specific generic Functional Interfaces
» In EDS format
» Extensible set of device classes, perhaps derived from SAVOIR-SAFI work
» Which standards organisation should own this?
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
21
Planned Roadmap to CCSDS Standardisation
Q3 2012
01/07/2012
Q4 2012
01/10/2012
Q1 2013
01/01/2013
Q2 2013
01/04/2013
Q3 2013
01/07/2013
Q4 2013
01/10/2013
Q1 2014
01/01/2014
Q2 2014
01/04/2014
Q3 2014
01/07/2014
Q4
01/10/2014
01/06/2012
01/12/2014
CCSDS
Meetings
Fall 2012
Meeting
Spring 2013
Meeting
Fall 2013
Meeting
Spring 2014
Meeting
Fall 2014
Meeting
Exploratory Prototyping
EDS Schema
Standard
Common DoT
Standard
01/04/2014
White Book
01/10/2014
Red Book 2
31/12/2014
Blue Book
01/06/2014
Red Book 1
01/10/2014
Red Book 2
31/12/2014
Blue Book
01/10/2014
Draft Green Book
31/12/2014
Green Book
Exploratory Prototyping
05/10/2013
White Book
EDS
Informational
Report
•
01/06/2014
Red Book 1
WG Write Up
Items to address at Fall 2013 meeting
»
»
Consider feedback from exploratory prototyping
Further experimentation with different devices
›
Different communication patterns, types, terms?
»
»
Other uses, e.g. ancillary information, use in SCDB
Merge different schemas, respecting different usages
»
Identifying what else should be provided:
›
Common types & functional interfaces, but different protocols?
›
›
Interoperability Testing
Reference toolset and worked examples to supplement standards
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
22
Thank you
Any questions?
22 October 2013
SOIS Electronic Data Sheets for Onboard Devices - Current Status
23