Polled Device Data Aquisitions

Slides:



Advertisements
Similar presentations
CESG, Fall 2011, 5 th November 2011 Stuart Fowell, SciSys Device Virtualisation and Electronic Data Sheets.
Advertisements

1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
1 An Approach to Real-Time Support in Ad Hoc Wireless Networks Mark Gleeson Distributed Systems Group Dept.
REDUNDANT ARRAY OF INEXPENSIVE DISCS RAID. What is RAID ? RAID is an acronym for Redundant Array of Independent Drives (or Disks), also known as Redundant.
Embedded and Real Time Systems Lecture #4 David Andrews
OS Spring’03 Introduction Operating Systems Spring 2003.
Objectives of the Lecture :
Spacecraft Onboard Interface Services Application Support Services Working Group (SOIS-APP WG) CCSDS Spring 2013 Meeting.
Cesg-1 June 2010 Chris Taylor (AD) Stuart Fowell (DAD) SPACECRAFT ONBOARD INTERFACES SERVICES (SOIS) AREA.
Spacecraft Onboard Interface Services Application Support Services Working Group (SOIS-APP WG) Use Cases Identified in ESA TRP Project CCSDS Spring 2013.
ESA UNCLASSIFIED – For Official Use SOIS Evaluation by the Primes F. Torelli (ESA) Software Reference Architecture - Focus on the Execution Platform ADCSS.
ESA UNCLASSIFIED – For Official Use Metadata in SOIS Service Primitives F. Torelli & P. Skrzypek CCSDS Spring Meeting /4/2013.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
SOIS APP Working Group Overview. Presentation Overview Application Support Services Electronic Datasheets ESA Project History and Plans Standards Documentation.
Time Management.  Time management is concerned with OS facilities and services which measure real time, and is essential to the operation of timesharing.
ESA UNCLASSIFIED – For Official Use Recap of SOIS Evaluation by the Primes F. Torelli (ESA) CCSDS Spring Meeting, 23/03/2015.
RIU as related to SOIS EDS Glenn Rakow CCSDS SOIS Spring Meeting 2013.
1 CCSDS 2007 Fall Meeting SOIS Plenary Chris Taylor Estec (27/09/2007.
SOIS EDS and Onboard Architectures. ESA ‘de-facto’ Architecture PUS Services Mission Applications Data Handling PUS TM/TC Internal Datapool API System.
Design and Implementation of Spacecraft Avionics Software Architecture based on Spacecraft Onboard Interface Services and Packet Utilization Standard Beijing.
1Ben ConstanceFONT Meeting 1st August 2008 ATF2 digital feedback board 9 channel board with replaceable daughter board (RS232 etc.) − Board will log data.
CCSDS SOIS Working Group Meeting – Berlin, Germany 14th of October 2008 Prototyping of CCSDS SOIS services on 1553 Bus Sev Gunes-Lasnet, Olivier Notebaert.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
1 SOIS P&P input. 2 Introdcution As part of the work to standardise onboard communication services, the CCSDS SOIS WG has recently delivered new draft.
Spacecraft Onboard Interface Services Application Support Services Working Group (SOIS-APP WG) CCSDS Spring 2013 Meeting.
Protocols and layering Network protocols and software Layered protocol suites The OSI 7 layer model Common network design issues and solutions.
Group Members Hamza Zahid (131391) Fahad Nadeem khan Abdual Hannan AIR UNIVERSITY MULTAN CAMPUS.
Computer System Structures
Event Sources and Realtime Actions
SOIS and Software Reference Architecture
DIRECT MEMORY ACCESS and Computer Buses
The CCSDS Spacecraft Onboard Interface Services (SOIS) Standards An Introduction Stuart Fowell 6th October 2009.
Introduction To DBMS.
Generic Remote Interface Unit (RIU) Interface Control Document (ICD)
Kernel Design & Implementation
SOIS APP Working Group Overview
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
EDS Demo SOIS WG Autumn 2016.
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
Prototyping of CCSDS SOIS services on 1553 Bus
SciSys SOIS Prototyping Activities
SOIS Application Support Services WG – Fall 2009 Meeting
CSE Retargeting to AE, IPE, and NoDN Hosted Resources
Chapter 8: Main Memory.
Exemplar CFS Architecture
SOIS Standard Services for Communications over 1553 Implementation with ECSS-E-ST-50-13C defined services and protocols CCSDS-SOIS Fall Meeting 2008, Berlin,
Input/Output Devices ENCE 360
SPACECRAFT ONBOARD INTERFACES SERVICES
ITEA3 Project: ACOSAR Advanced Co-Simulation Open System Architecture
SOIS Plug-and-Play Architecture and Proposed Mapping onto SpaceWire
From Bespoke to Standard Solid State Mass Memories
SOIS architecture to handle RIUs
Add intro to concept of electronic data sheets
SOIS-APP Working Group Report Jonathan Wilmot (WG Chair)
Recap of SOIS Evaluation by the Primes
Input to CCSDS P&P WG Chris Taylor CCSDS 2011 Berlin.
& Mapping of the Device Discovery service onto the MIL-STD-1553
Design and Implementation of Spacecraft Avionics Software Architecture based on Spacecraft Onboard Interface Services and Packet Utilization Standard Beijing.
SPACECRAFT ONBOARD INTERFACES SERVICES
SPACECRAFT ONBOARD INTERFACES SERVICES
Real-time Software Design
O.S Lecture 13 Virtual Memory.
Design pattern for cloud Application
CSC3050 – Computer Architecture
Terms: Data: Database: Database Management System: INTRODUCTION
Banafsheh Hajinasab Based on presentation by K. Strnisa, Cosylab
Page Cache and Page Writeback
Chapter 13: I/O Systems.
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

Polled Device Data Aquisitions Using SOIS on MIL-STD-1553B Stuart Fowell, Richard Melvin, Olivier Notebaert, Felice Torelli CCSDS Spring 2013 Meeting

MIL-STD-1553B Communication Scheduling Time Synchronisation Cycle (1Hz) Communication Cycle (8Hz) Communication Frame #0 Communication Frame #1 Communication Frame #2 Communication Frame #3 Communication Frame #4 Communication Frame #5 Communication Frame #6 Communication Frame #7 Sync Sync Sync Sync Sync Sync Sync Sync CF Sync Msg Pre-allocated bandwidth, populated content Pre-allocated bandwidth, populated content Pre-allocated bandwidth, populated content Pre-allocated bandwidth, un-populated content Pre-allocated bandwidth, un-populated content Pre-allocated bandwidth, un-populated content Spare 1553 Message #1 1553 Message #2 … 1553 Message #N Spare Polled data acquisitions pre-planned = populated content. Typically request written to RT early in frame, response data read from RT later in frame & made immediately available to applications Time-slots set aside for sporadic commands and data acquisitions CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Old Approach with no Hardware Support Applications Frame N Read Data Frame N+1 Read Data 1553 Schedule Data Pool Interrupt Data Write Data Write Data Read Data Read Interrupt Data Write Data Write Data Read Data Read Clock MIL-STD-1553B BC Hardware RT Device Applications directly implements time-slots and framing, writing & reading data for each time-slot and frame RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Now with Hardware Support Applications Frame N Read Data Frame N+1 Read Data 1553 Schedule Data Pool Interrupt Frame N Data Write(s) Frame N Data Read(s) Interrupt Frame N+1 Data Write(s) Frame N+1 Data Read(s) Clock MIL-STD-1553B BC Hardware RT Device BC Hardware sends/receives next frame of data Application prepares next communication frame & reads data retrieved from last communication frame RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Introduction of ECSS 1553 Services Applications Frame N Read Data Frame N+1 Read Data Data Acq Schedule Data Pool Sync Frame N Data Write(s) Frame N Data Read(s) Sync Frame N+1 Data Write(s) Frame N+1 Data Read(s) Data Acquisition and 1553 Schedules need to be coordinated 1553 Schedule ECSS 1553 Services Interrupt Frame N PDU Write(s) Frame N PDU Read(s) Interrupt Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) Clock MIL-STD-1553B BC Hardware Standardise protocol across MIL-STD-1553B Protocol implemented by ECSS 1553 Services instead of Application Application still prepares next communication frame & reads data retrieved from last communication frame RT Device RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Addition of SOIS Subnetwork Services Applications Frame N Read Data Frame N+1 Read Data Data Acq Schedule Data Pool Sync Frame N Data Write(s) Frame N Data Read(s) Sync Frame N+1 Data Write(s) Frame N+1 Data Read(s) Data Acquisition and 1553 Schedules need to be coordinated SYS MAS SYS MAS Sync Frame N PDU Write(s) Frame N PDU Read(s) Sync Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) 1553 Schedule ECSS 1553 Services Interrupt Frame N PDU Write(s) Frame N PDU Read(s) Interrupt Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) Clock MIL-STD-1553B BC Hardware Applications isolated from subnetwork-specific protocols; however still need to understand polled rather than async. nature of underlying subnetwork Application still prepares next communication frame & reads data retrieved from last communication frame RT Device RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Addition of SOIS Device Access Service Applications Frame N Read Data Frame N+1 Read Data Data Acq Schedule Data Pool Sync Frame N Data Read(s) Frame N Read Ind Sync Frame N+1 Data Read(s) Frame N+1 Read Ind Data Acquisition and 1553 Schedules need to be coordinated DAS DAS Frame N PDU Write(s) Frame N PDU Read(s) Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) SYS MAS SYS MAS Sync Frame N PDU Write(s) Frame N PDU Read(s) Sync Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) 1553 Schedule ECSS 1553 Services Interrupt Frame N PDU Write(s) Frame N PDU Read(s) Interrupt Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) Clock MIL-STD-1553B BC Hardware If required by device interface, Applications no longer need to perform writes to trigger data being acquired from RT device, as this is handled by DAS RT Device RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Addition of SOIS Device Data Pooling Service Applications Frame N Acq Ind Frame N Read Sample(s) Frame N+1 Acq Ind Frame N+1 Read Sample(s) Data Acq Schedule DDPS Sync Frame N Data Read(s) Frame N Read Ind Sync Frame N+1 Data Read(s) Frame N+1 Read Ind DAS DAS Data Acquisition and 1553 Schedules need to be coordinated Frame N PDU Write(s) Frame N PDU Read(s) Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) SYS MAS SYS MAS Sync Frame N PDU Write(s) Frame N PDU Read(s) Sync Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) 1553 Schedule ECSS 1553 Services Interrupt Frame N PDU Write(s) Frame N PDU Read(s) Interrupt Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) Clock MIL-STD-1553B BC Hardware Applications no longer need to synchronise to subnetwork, as this is handed by DDPS DDPS periodically acquires data and pools RT Device RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Use Case: Polled and Sporadic Data Acquisitions (1/2) Majority of applications, e.g. AOCS, use pooled data from DDPS acquired using polling Sporadically individual application, e.g. OBCP, requires ad-hoc data directly acquired using DAS If data happens to be already polled, results in a duplicate acquisition Probably OK as such cases are relatively rare and budgeted for by an overhead within the communications schedule Better to keep DDPS data polled at consistent frequency than occasionally slightly have more up to date in pool However, how to distinguish requests at ECSS 1553 Services API? Type 1 = pre-allocated populated vs. Type 2 = pre-allocated unpopulated Could use different channels on PS/MAS API to imply different ECSS 1553 APIs/Types However DDPS and Applications need to also distinguish to ensure correct channels used… CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Use Case: Polled and Sporadic Data Acquisitions (2/2) Applications Frame N Acq Ind Frame N Read Sample(s) Ad-hoc Frame N Data Read(s) Ad-hoc Frame N+1 Read Ind Data Acq Schedule DDPS Sync Frame N Data Read(s) Frame N Read Ind DAS DAS Data Acquisition and 1553 Schedules need to be coordinated Frame N PDU Write(s) Frame N PDU Read(s) Frame N PDU Write(s) Frame N+1 PDU Read(s) SYS MAS MAS Sync Frame N PDU Write(s) Frame N PDU Read(s) Frame N PDU Write(s) Frame N+1 PDU Read(s) 1553 Schedule ECSS 1553 Services Interrupt Frame N PDU Write(s) Frame N PDU Read(s) Frame N+1 PDU Write(s) Frame N+1 PDU Read(s) Clock MIL-STD-1553B BC Hardware Application sporadically requests data acquisition. Data returned in next frame How to determine between polled and ad-hoc acquisition 1553 API calls? RT Device RT Device CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B

Use Case: Polled DDPS using DVS implies use of DAS One DVS request may expand to multiple DAS requests. Hard to predict overall bandwidth usage Hard to predict impact of config. change that causes an extra DVS value to be sporadically read/polled As DVS is required for calibration and translation of AOCS inputs, usage may be high. Possible solutions: Have DAS do merging of redundant requests (working assumption in EDS TRP project) Straightforward given a trivial or standardised Device-specific Access Protocol (DAP) Problematic if the DAP is complex and defined in external datasheet. Move DVS above DDPS Requires ability to store calibration results in DDPS via an interface, as pooling calibrated values is of benefit => also allowing (e.g.) storing software status information from applications Fits within de-facto ESA and SAVOIR OBSW architectures with DDPS replacing datapool – how well does it fit other architectures? Expose a polling service from subnetwork layer Can be implemented in hardware, lower level software, or internally depending on the nature of the lower layer. Lot of rework to all layers above subnetwork Get rid of DVS as a device responsibility: Never actually completely solved device management problems (e.g. power switching, HPCs, software mode changes) Requires coordination of multiple devices and/or non-device state information Has complex, persistent internal state which cannot be made visible to ground or onboard automation Complex mission-specific logic un-necessarily in hard(ish) real-time part of OBSW; extra costs for system testing Implementation of (e.g.) common interfaces to different models of AOCS sensors may require AOCS-domain logic (coordinate transformations, time references, etc.) Duplication with CCSDS MO (e.g. calibration) CCSDS Spring 2013 Meeting Polled Data Acquisitions using SOIS and MIL-STD-1553B