astrodynamics tools and techniques -...
TRANSCRIPT
Prepared by: Slide 12nd ESA Workshop on Astrodynamics Tools and Techniques
Introduction
w History
w What is EuroSim?
w Scope
w Applications
w EuroSim simulator development life cycle
Prepared by: Slide 22nd ESA Workshop on Astrodynamics Tools and Techniques
History
w Initially developed by Dutch Space (Fokker Space).
w On-going development as joint effort by EuroSim consortium partners:- Dutch Space,- NLR,- Atos Origin.
w Early releases only available on IRIX (SGI) platform.
w Port to Linux and Windows NT platforms.
Prepared by: Slide 32nd ESA Workshop on Astrodynamics Tools and Techniques
What is EuroSim?
w A set of tools that support all phases of space andnon-space programs through real-time simulations
w Supports person and/or hardware-in-the-loop
w Allows re-use of existing model software
Prepared by: Slide 42nd ESA Workshop on Astrodynamics Tools and Techniques
Users
Hardwarein-the-loop
ApplicationModel SW
EuroSimSW Libraries
OperatingSystem & Device Drivers
Computer Hardware
Manin-the-loop
ConfigurableOperator Deck
Eur
oSim
Too
ls
Scope
APIGUI
Prepared by: Slide 52nd ESA Workshop on Astrodynamics Tools and Techniques
Applications
w Mission Preparation and Training Equipment (MPTE) for the European Robotic Arm (ERA)
w Automated Transfer Vehicle (ATV) Test Facilities
w Grid assist (OASE)
w Herschel/Planck
w Virtual Spacecraft Reference Facility (VSRF)
w European Drawer Rack (EDR)
w And many more… (see www.eurosim.nl)
Prepared by: Slide 62nd ESA Workshop on Astrodynamics Tools and Techniques
Simulator developmentlife cycle
Project Management
ModelEditor
ScheduleEditor
Simulation Controller
Test Analyzer
Development Preparation and Execution Analysis
dictionary
schedules executable
simulationresults
Model code
Prepared by: Slide 72nd ESA Workshop on Astrodynamics Tools and Techniques
What is a Model
Organizational nodes
File nodes
Entry nodes
Variable nodes
File properties
Model Editor window
LoggingWindow
Prepared by: Slide 82nd ESA Workshop on Astrodynamics Tools and Techniques
Editing the API
API selector
Parameter indicator Minimum and Maximum bounds unit
Initial valuein source
Descriptionfield
output of source parsing
Prepared by: Slide 92nd ESA Workshop on Astrodynamics Tools and Techniques
Simulator Development TasksPart 4: defining schedule
Create modelframework
Attach files toframework
Include APIcalls Identify API
items
Buildtasks
Defineschedule
Buildsimulator
Create Schedule• defining tasks from API entrypoints• combining tasks with timing information and events
Purpose:• achieve Real-Time, parallel Simulation• achieve requested changes in Simulator State
Prepared by: Slide 102nd ESA Workshop on Astrodynamics Tools and Techniques
state trigger activated scheduling graph standby standby
executing executing init initialising stop exit reset exit, followed by initialising
Scheduling Tasks and Simulation States
UNCONFIGURED
STANDBY
EXECUTING
abort
abort go
pause
resetINIT STOP
EuroSim States and Transitions
Steady States
Transition States
Relations between states, triggers and scheduling graphs
Prepared by: Slide 112nd ESA Workshop on Astrodynamics Tools and Techniques
Schedule - initialization
Schedule Editor Window: Initializing State
Predefined input events:• External Interrupt• Notice• Warning• Error• Fatal• State Entry• State Exit• RT error• RT mode entry• NRT mode entry
Predefined output events:• Initialize• Pause• Go• Abort• Reset• Stop• Quit• RT mode• NRT mode
Input event Output eventTask
Prepared by: Slide 122nd ESA Workshop on Astrodynamics Tools and Techniques
Scheduling of Tasks
Task:zero or moreentrypoints
Frequencychanger
Externalevent
Timers
Asynchronous Store
Prepared by: Slide 132nd ESA Workshop on Astrodynamics Tools and Techniques
Task Characteristics
Task Dialog Window
API Entrypoints
List of Entrypointsin task
Re-ordering
Derived fromschedule
Prepared by: Slide 142nd ESA Workshop on Astrodynamics Tools and Techniques
Scheduler Timing
Basic Cycle (5ms)
P1
P2
P3
P0
Processor
Realtime
NonRealtime
Schedule Configuration:Frequency 200HzProcessors: 3
2Hz/15ms100Hz/10ms
InternalEvent
ExternalEvent
Prepared by: Slide 152nd ESA Workshop on Astrodynamics Tools and Techniques
Test preparation and execution
Project Management
ModelEditor
ScheduleEditor
Simulation Controller
Test Analyzer
Development Preparation and Execution Analysis
dictionary
schedules executable
simulationresults
Model code
Prepared by: Slide 162nd ESA Workshop on Astrodynamics Tools and Techniques
Test Preparation and Execution tasks
Create emptymission
Reference to a model
Reference toa schedule
DefineActions
DefineInit condition
Executing
•Recording•Stimuli•Scripts
Link to modeldefinition (API)
To run a simulation Initial state
of the model
DefineMMI
Prepared by: Slide 172nd ESA Workshop on Astrodynamics Tools and Techniques
Simulation Controller Overview
Simulation Controller overview: Input Files tab page
Various Tab Pages
Execution Controls
The Message Pane
Input Files tab page:for Simulation definition
Prepared by: Slide 182nd ESA Workshop on Astrodynamics Tools and Techniques
Scenarios:Creating MDL scripts
Script Action Editor
DictionaryBrowser
(ref: SUM Appendix E Model Definition Language)
Prepared by: Slide 192nd ESA Workshop on Astrodynamics Tools and Techniques
Recorders
DictionaryBrowser
Recorder Action Editor
Prepared by: Slide 202nd ESA Workshop on Astrodynamics Tools and Techniques
Stimuli files
.stim file
.rec fileDictionaryBrowser
Stimuli Action Editor
time data0.9 101.9 152.9 173.9 194.9 205.9 18
simtime Zat 0.5 Hz0 102 154 176 19
simtime Zat 0.5 Hz0 02 154 196 18
soft hard
stimuli
Prepared by: Slide 212nd ESA Workshop on Astrodynamics Tools and Techniques
Creating Monitors and MMI’s(MMI tab page)
MMI tab page
MMI tab page
.mmi file
Run-timemessages window
(on-line) Monitors
Prepared by: Slide 222nd ESA Workshop on Astrodynamics Tools and Techniques
Simulation Execution
Heater=off
raiseheater failure
Simulator
Simulation
DataDict
initresetgo
pausestopabort
On-LineMonitoring
DataRecording
StimuliData Files
On-LineInteractions
Schedule
Prepared by: Slide 232nd ESA Workshop on Astrodynamics Tools and Techniques
Output files
During a simulation run files are generated:
wJournal File
wTimings file
wRecording file(s)
wTest result file
Created in directory with a name like 2002-07-18/23:33:17, which includes the date and time of simulation run
Prepared by: Slide 242nd ESA Workshop on Astrodynamics Tools and Techniques
Test Analysis
Project Management
ModelEditor
ScheduleEditor
Simulation Controller
Test Analyzer
Development Preparation and Execution Analysis
dictionary
schedules executable
simulationresults
Model code
Prepared by: Slide 252nd ESA Workshop on Astrodynamics Tools and Techniques
================================================================Sim: thermo.simUser: qw75503, Test ConductorSimulation: non realtimeHostname : troiDate of test: Fri Jul 19 12:03:21 MDT 2002================================================================/projects/spades/users/quirien/EUROSIMCURSUS/EfoCourse/model/thermo.IRIX64/thermo.dict with loader valuesstartup message: async-main applying default settings from datadict: "thermo.dict"startup message: async-main applied initial condition file: "/projects/spades/users/quirien/EUROSIMCURSUS/EfoCourse/model/thermo.init" no comment"/projects/spades/users/quirien/EUROSIMCURSUS/EfoCourse/model/thermo.mdl"
Test analysis
SimulatorFilename Variablecelltemp.rec /simulation_timecelltemp.rec /Hardware/thermo.f/thermo$celltemp
# EuroSim recording fileVersion: Mk3-rev0Date recorded: Fri-Jul-19-12:03:21-MDT-2002Mission: ../../thermo.mdlRecord size: 56Dict: ../../thermo.IRIX64/thermo.dictSimTime: /simulation_timeTimeFormat: relativeNumber of variables: 2/simulation_time: struct timespec/Hardware/thermo.f/thermo$celltemp: float[3][4]
Journal File/2002-07-19/12:03:021/EsimJournal
Data Files*.rec
Index File*.tr
Prepared by: Slide 262nd ESA Workshop on Astrodynamics Tools and Techniques
Test Analysis Tools,Test Analyzer:
Test Analyzer main window
Plot Canvas
Plot Properties
Variable Browser
PLOTTING:•PV-Wave•GNU plot
Status bar
Create Plot file: * .plt
Prepared by: Slide 272nd ESA Workshop on Astrodynamics Tools and Techniques
Test analysis results
gnuplot
PV-WAVE