SpaceWire EGSE: Real-Time Simulation of SpaceWire Instruments in a Day 1 Stephen Mudie, Steve Parkes, Martin Dunstan.

Slides:



Advertisements
Similar presentations
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advertisements

1 SpaceWire Update NASA GSFC November 25, GSFC SpaceWire Status New Link core with split clock domains complete (Much faster) New Router core.
SYSTEM PROGRAMMING & SYSTEM ADMINISTRATION
Operating-System Structures
1 SpaceWire Router ASIC Steve Parkes, Chris McClements Space Technology Centre, University of Dundee Gerald Kempf, Christian Toegel Austrian Aerospace.
MotoHawk Training Model-Based Design of Embedded Systems.
Fundamentals and a Brief History of Computer Systems.
TAC Vista Security. Target  TAC Vista & Security Integration  Key customer groups –Existing TAC Vista users Provide features and hardware for security.
RUAG Aerospace 11 Using SpaceWire as EGSE Interface Anders Petersén, Torbjörn Hult RUAG Aerospace Sweden AB (Saab Space) International SpaceWire Conference.
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
ESA UNCLASSIFIED – For Official Use Deterministic Communication with SpaceWire Martin Suess CCSDS Spring Meeting /03/2015.
November 2011 At A Glance GREAT is a flexible & highly portable set of mission operations analysis tools that increases the operational value of ground.
March 2004 At A Glance ITOS is a highly configurable low-cost control and monitoring system. Benefits Extreme low cost Database driven - ITOS software.
SpaceWire RMAP IP Core Steve Parkes, Chris McClements, Martin Dunstan
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
EstiNet Network Simulator & Emulator 2014/06/ 尉遲仲涵.
SpaceFibre A Multi-Gigabit/s Network for Spaceflight Applications
Automated Production Report Generation with OPC DataHub Your Host Today: Colin Winchester, Director of Support Presenter: Win Worrall, Application Engineer.
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Aerospace Testing 2006 A Centralized Approach To Ground Support Software To Reduce Technical Risk and Overall Mission Costs Thomas Hauck GSE Software,
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Project Management November.
1.eCognition Overview. 1 eCognition eCognition is a knowledge utilisation platform based on Active Knowledge Network technology eCognition covers the.
SpaceWire-RT Steve Parkes, Albert Ferrer-Florit
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
1 Lunar Reconnaissance Orbiter (LRO) CRaTER Technical Interchange Meeting C&DH Flight Software April 14, 2005.
Chris Taylor TEC-EDS 1 SOIS Prototyping Activities CCSDS SOIS Berlin 2008 C. Taylor ESA- ESTEC.
CCSDS Fall Meeting From Bespoke to Standard Solid State Mass Memories Aitor Viana Sánchez Data Handling Systems ESTEC, 27 th Oct 2009.
CS 8903 Demo Wireless Interface for the Bioloid Robot Chetna Kaur.
MACCE and Real-Time Schedulers Steve Roberts EEL 6897.
SpaceWire Plug-and-Play: A Roadmap Peter Mendham, Albert Ferrer Florit, Steve Parkes Space Technology Centre, University of Dundee 1.
Simulation of Distributed Application and Protocols using TOSSIM Valliappan Annamalai.
Eye-Sat : an astronomy student nanosatellite CCSDS meeting, March 23, 2015.
Real-Time Systems Presented by: Stuart D Fowell SciSys SOIS Prototyping Activities CCSDS Spring 2008 Meeting, Washington D.C, USA.
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
March 2004 At A Glance NASA’s GSFC GMSEC architecture provides a scalable, extensible ground and flight system approach for future missions. Benefits Simplifies.
Lecture 12: Reconfigurable Systems II October 20, 2004 ECE 697F Reconfigurable Computing Lecture 12 Reconfigurable Systems II: Exploring Programmable Systems.
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
Test-as-You Fly SpaceWire for Solar Probe Plus
Design and Implementation of Spacecraft Avionics Software Architecture based on Spacecraft Onboard Interface Services and Packet Utilization Standard Beijing.
CCSDS SOIS Working Group Meeting – Berlin, Germany 14th of October 2008 Prototyping of CCSDS SOIS services on 1553 Bus Sev Gunes-Lasnet, Olivier Notebaert.
Field Programmable Port Extender (FPX) 1 NCHARGE: Remote Management of the Field Programmable Port Extender (FPX) Todd Sproull Washington University, Applied.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
Performance Testing Test Complete. Performance testing and its sub categories Performance testing is performed, to determine how fast some aspect of a.
1 FESA architecture v.1.0 Framework Configuration & Data-entry Tool 5 th December 2003.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
Reconfigurable Communication Interface Between FASTER and RTSim Dec0907.
12006 MAPLD International ConferenceSpaceWire 101 Seminar SpaceWire Plug and Play (PnP) 2006 MAPLD International Conference Washington, D.C. September.
SpaceWire Remote Memory Access Protocol
March 2004 At A Glance ITPS is a flexible and complete trending and plotting solution which provides user access to an entire mission full-resolution spacecraft.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
March 2004 At A Glance The AutoFDS provides a web- based interface to acquire, generate, and distribute products, using the GMSEC Reference Architecture.
Field Programmable Port Extender (FPX) 1 Remote Management of the Field Programmable Port Extender (FPX) Todd Sproull Washington University, Applied Research.
LonWorks Introduction Hwayoung Chae.
SpaceWire and SpaceFibre on the Microsemi RTG4
By Kundang K Juman Hardware & Software. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
CompSci 143A1 1. Introduction 1.1 The Role of Operating Systems - Bridge the “Semantic Gap” between Hardware and Application - Three Views of Operating.
SOIS Prototyping Activities
Operating System.
z/Ware 2.0 Technical Overview
From Bespoke to Standard Solid State Mass Memories
Chapter 2: System Structures
CIMConnect Tools to enable equipment suppliers to efficiently develop powerful SECS/GEM interfaces.
Introduction to Operating System (OS)
Introduction to Opnet Mobile Networks Introduction to Opnet
Washington University, Applied Research Lab
Remote Management of the Field Programmable Port Extender (FPX)
Hardware & Software Programming. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing unit.
Presentation transcript:

SpaceWire EGSE: Real-Time Simulation of SpaceWire Instruments in a Day 1 Stephen Mudie, Steve Parkes, Martin Dunstan

SpaceWire EGSE  What is SpaceWire EGSE: –SpaceWire test and development unit developed by STAR-Dundee  Purpose: –Rapidly emulate instruments or other SpaceWire equipment –In real-time for test and integration  Generates user defined packets –In pre-defined sequences at specific times and data rates –E.g. packet 1 followed 10ms later by packet 2 at 100Mbps 2

SpaceWire EGSE 3 Camera Mass Memory SpW

SpaceWire EGSE 4 EGSE (simulating camera) Mass Memory SpW

SpaceWire EGSE  How it works: –User defines instrument behaviour in a script –Software used to compile script and load resulting configuration file into EGSE unit –Hardware functions independent of software resulting in real-time performance  Benefits: –Reduce time and costs associated with traditional EGSE development –All real-time behaviour is handled by hardware 5

SpaceWire EGSE Hardware 6  2 SpaceWire interfaces  4 external triggers (3 IN, 1 OUT)  128MB memory  2 Mictor logic analyser connectors  USB connection to host PC  Indicator LEDs

SpaceWire EGSE Front Panel 7

SpaceWire EGSE Rear Panel 8

SpaceWire EGSE Software  Compiler –Compiles scripts into EGSE configuration files  Loader –Loads EGSE configuration files onto hardware  Software API –Create custom applications to control and interact with the EGSE  GUI –Combines a text editor with most of the functions provided by the compiler, loader and API 9

SpaceWire EGSE Software GUI 10

SpaceWire EGSE Scripting Language  Packet Definitions  Variables –Used to define packets with dynamic data  Packet Generation Schedules  State Machines –Control current packet generation schedule  Events –State machine reacts to events, controlling the packet generation schedule 11

SpaceWire EGSE: Simple Script 12 config spw_tx_rate(1, 200Mbps) spw_tx_rate(2, 200Mbps) end config packet pkt1 dec( ) eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Set line rates to 200Mbit/s

SpaceWire EGSE: Simple Script 13 config spw_tx_rate(1, 200Mbps) spw_tx_rate(2, 200Mbps) end config packet pkt1 dec( ) eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Define packet named “pkt1” with 4 decimal bytes followed by EOP

SpaceWire EGSE: Simple Script 14 config spw_tx_rate(1, 200Mbps) spw_tx_rate(2, 200Mbps) end config packet pkt1 dec( ) eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Define schedule named “schedule1” that sends “pkt1” after 500ms at 100Mbit/s

SpaceWire EGSE: Simple Script 15 config spw_tx_rate(1, 200Mbps) spw_tx_rate(2, 200Mbps) end config packet pkt1 dec( ) eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine SpW link 1 state machine has a single state that executes “schedule1” repeatedly

SpaceWire EGSE: Simple Script 16

SpaceWire EGSE: Simple Script 17

SpaceWire EGSE: Simple Script ms

SpaceWire EGSE: Variables Script 19 variables random = rnd08() header = int08(2) id = inc08(0) crc = crc08() end variables packet pkt1 start(crc) header id random * 8 stop(crc) crc eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Declare random variable

SpaceWire EGSE: Variables Script 20 variables random = rnd08() header = int08(2) id = inc08(0) crc = crc08() end variables packet pkt1 start(crc) header id random * 8 stop(crc) crc eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Declare constant variable value 2

SpaceWire EGSE: Variables Script 21 variables random = rnd08() header = int08(2) id = inc08(0) crc = crc08() end variables packet pkt1 start(crc) header id random * 8 stop(crc) crc eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Declare incrementing variable value 0

SpaceWire EGSE: Variables Script 22 variables random = rnd08() header = int08(2) id = inc08(0) crc = crc08() end variables packet pkt1 start(crc) header id random * 8 stop(crc) crc eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Declare CRC variable

SpaceWire EGSE: Variables Script 23 variables random = rnd08() header = int08(2) id = inc08(0) crc = crc08() end variables packet pkt1 start(crc) header id random * 8 stop(crc) crc eop end packet schedule 100Mbps 500ms send pkt1 end schedule statemachine 1 initial state state1 do schedule1 repeatedly end state end statemachine Define packet named “pkt1”:  Constant header  Incrementing ID  8 random bytes  CRC calculation

SpaceWire EGSE: Variables Script 24

SpaceWire EGSE: Variables Script 25 Constant header

SpaceWire EGSE: Variables Script 26 Incrementing ID

SpaceWire EGSE: Variables Script 27 Random bytes

SpaceWire EGSE: Variables Script 28 CRC

SpaceWire EGSE: Schedules Script 29 packet pkt1 hex( ) eop end packet packet pkt2 hex( ) eop end packet packet pkt3 hex( ) eop end packet Define 3 packets named “pkt1”, “pkt2” and “pkt3” each with unique data.

SpaceWire EGSE: Schedules Script 30 schedule schedule1 1s send pkt1 * 5 end schedule schedule schedule2 500ms send pkt1 1000ms send pkt2 1500ms send pkt3 end schedule schedule schedule3 0ms send pkt3 +1s send pkt2 +1s send pkt1 end schedule “schedule1” sends “pkt1” 5 times, 1s after schedule starts

SpaceWire EGSE: Schedules Script 31 schedule schedule1 1s send pkt1 * 5 end schedule schedule schedule2 500ms send pkt1 1000ms send pkt2 1500ms send pkt3 end schedule schedule schedule3 0ms send pkt3 +1s send pkt2 +1s send pkt1 end schedule “schedule2” sends “pkt1” 500ms, “pkt2” 1000ms and “pkt3” 1500ms after schedule starts

SpaceWire EGSE: Schedules Script 32 schedule schedule1 1s send pkt1 * 5 end schedule schedule schedule2 500ms send pkt1 1000ms send pkt2 1500ms send pkt3 end schedule schedule schedule3 0ms send pkt3 +1s send pkt2 +1s send pkt1 end schedule “schedule3” sends “pkt3” immediately, “pkt2” 1s after “pkt3” tx begins and “pkt1” 1s after “pkt2” tx begins

SpaceWire EGSE: Schedules Script 33 statemachine 1 initial state state1 do schedule1 goto state2 end state state state2 do schedule2 goto state3 end state state state3 do schedule3 goto state1 end state end statemachine “state1” executes “schedule1”once then transitions to “state2” “state2” executes “schedule2”once then transitions to “state3” “state3” executes “schedule3”once then transitions to “state1”

SpaceWire EGSE: Schedules Script 34

SpaceWire EGSE: Schedules Script 35 schedule1

SpaceWire EGSE: Schedules Script 36 schedule2

SpaceWire EGSE: Schedules Script 37 schedule3

SpaceWire EGSE: FSM and Events Script 38 events swEvent0 = software_in(0) end events statemachine 1 initial state state1 do schedule1 on swEvent0 goto state2 end state state state2 do schedule2 on swEvent0 goto state3 end state state state3 do schedule3 on swEvent0 goto state1 end state end statemachine Declare software event named “swEvent0”

SpaceWire EGSE: FSM and Events Script 39 events swEvent0 = software_in(0) end events statemachine 1 initial state state1 do schedule1 on swEvent0 goto state2 end state state state2 do schedule2 on swEvent0 goto state3 end state state state3 do schedule3 on swEvent0 goto state1 end state end statemachine Change state when “swEvent0” is detected.

Other Features  Software events  Triggering on SpaceWire received packets  Triggering on received time-codes 40

Solar Orbiter Simulation  Project Aims –STAR-Dundee SpaceWire-EGSE unit  Able to perform real-time instrument simulation in a day –Wanted to explore its  Capabilities  Limitations –With a view to enhancing its capabilities –Simulate a complete on-board data-handling system 41

Spacecraft selection  Evaluated missions for simulation –Requirement: Extensive SpW OBDH network  Selected: ESA Solar Orbiter –Routed SpaceWire Network –Standard CCSDS packets –Standard ECSS PUS services –Documents available through BepiColombo heritage Image Credit: ESA

Solar Orbiter Mission Profile  ESA M-class mission –ESA’s Cosmic Vision –Contractor: Astrium UK Ltd.  Remote sensing  EUI,  METIS,  PHI,  SoloHI,  SPICE,  STIX  In situ  EPD,  MAG,  RPW,  SWA Image Credit: ESA

Solar Orbiter SpaceWire Network Image Credit: Paul Norridge, Astrium UK

Solar Orbiter Mass Memory

Solar Orbiter SSMM Simulation I

Solar Orbiter SSMM Simulation II

Solar Orbiter simulated OBDH network

Demonstration Network

EGSE Summary  New concept for SpaceWire instrument real-time emulation  Minimal development time –A day or two for a instrument real-time emulation  Integrate with other test equipment via external triggers  Interacts with host software via –Software events from host to EGSE –Software events from EGSE to host –Received SpaceWire packets can be passed to the host software  Real-time simulation of the Solar Orbiter –Designed and developed by MSc Student –Using STAR-Dundee SpaceWire-EGSE unit –Some limitations on the simulation to make it realisable –Results being used to enhance the SpaceWire-EGSE functionality