SCADE Suite in Space Applications at EADS Astrium Space - - PowerPoint PPT Presentation

scade suite in space applications
SMART_READER_LITE
LIVE PREVIEW

SCADE Suite in Space Applications at EADS Astrium Space - - PowerPoint PPT Presentation

SCADE Suite in Space Applications at EADS Astrium Space Transportation Astrium Space Transportation David Lesens 09/10/2008 Astrium Space Transportation Overview Introduction Historical use of SCADE at EADS Astrium ST Why using


slide-1
SLIDE 1

David Lesens – 09/10/2008

Astrium Space Transportation

SCADE Suite in Space Applications

at EADS Astrium Space Transportation

slide-2
SLIDE 2

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p2

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-3
SLIDE 3

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p3

Astrium: part of EADS, a global leader in aerospace and defence

Commercial Aircraft Helicopters Missile Systems Military Transport Aircraft Military Air Systems No.1 No.1 Astrium No.3 No.3 No.4 No.2

slide-4
SLIDE 4

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p4

Astrium’s activities are based in three key areas

Astrium Services Astrium Satellites Astrium Space Transportation

The European prime contractor for civil and military space transportation and manned space activities A world leader in the design and manufacture of satellite systems At the forefront of satellite services in the secure communications, Earth

  • bservation and

navigation fields

slide-5
SLIDE 5

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p5

An impressive product and capability portfolio

  • Launchers: Ariane, Soyuz, Rockot, Vega
  • Ballistic missiles, missile defence
  • Future launchers
  • Orbital systems: Columbus, ATV, Operations, Atmospheric

re-entry systems

  • Propulsion & equipment
  • System design, system integration & production
slide-6
SLIDE 6

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p6

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-7
SLIDE 7

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p7

The classical V development cycle Late detection of errors

Code Design GNC studies Specification Unitary tests Integration Validation Qualification Error Error detection Delay for the error detection Delay for the error correction Data

Spacecraft management

slide-8
SLIDE 8

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p8

GNC studies Data Spacecraft management Code Software Model Early validation  Simulation  Proof Validation Automatic test generation Test replay Immediate correction Automatic Code Generation

Unitary & integration testing at model level Fusion of specification & design Qualification

Decrease the number

  • f late errors

Reduction of delays and costs

slide-9
SLIDE 9

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p9

Model Driven Engineering

A model shall allow :

  • The communication between the different teams
  • System teams (GNC, vehicle, thermal, operations,…)
  • Software teams (architect, specification, design, development,…)
  • And also customers and external reviewers
  • An early verification via a strong semantic, insuring
  • Consistency
  • Completeness “Formal” model, and possibility of proof
  • Non ambiguity
  • Model simulation
  • And automatic code generation
slide-10
SLIDE 10

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p10

Model or programming language ?

Abstraction & semantic

Scade Simulink Ada C++ C

Matlab or S_functions

Assembly language Binary code

slide-11
SLIDE 11

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p11

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-12
SLIDE 12

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p12

The Automated Transfer Vehicle (ATV)

  • It supplies onward the following services to the ISS:
  • Refuelling
  • ISS orbit correction,
  • Freight delivery,
  • ISS trash destruction.
  • The ATV mission in 2008
  • 9th of March

Launch by Ariane 5

  • 3rd of April

Automatic Docking on the ISS

  • 5th of September

Dedocking from the ISS

  • 29th of September

Deorbitation

  • Safety software specified using SCADE V3
slide-13
SLIDE 13

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p13

Description of software architecture

Static description

Description of types and constants

slide-14
SLIDE 14

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p14

Behavioural description

Description of (very) Simple automaton Description of sequences

slide-15
SLIDE 15

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p15

Automatic documentation generation

slide-16
SLIDE 16

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p16

Formal proofs on the ATV safety Software

SCADE model Environment description Logical Property Exhaustive verification LESAR tools

The LESAR tool is developed by the VERIMAG laboratory (the same results has now been reached with Prover)

True property Diagnostic

slide-17
SLIDE 17

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p17

Examples of proved properties

  • Specification of the environment by “regular expressions”
  • Use of the “reglo” tool

cam_arm( on, arm, cam_cmd, tc, hltc ) = prefix( [-on, -arm, -cam_cmd, -tc, -hltc]*. [ on, -arm, -cam_cmd, -tc, -hltc]. [-on, -arm, -cam_cmd, -tc, -hltc]*. ~~ ) ;

(the same result has now been reached with SCADE 6 automata)

  • Properties
  • A “red button” implies eventually a CAM triggering before 4 cycles
  • Real time property
  • The two MSU chains can not triggered both a CAM at the same time
  • Mutual exclusion property
slide-18
SLIDE 18

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p18

SCADE V3 on the ATV: Conclusion

  • Improvement of the specification quality
  • Suppression of ambiguity (formal semantics)
  • Early detection of errors by simulation
  • Exhaustive proofs of some critical properties

 Formal proof has allowed detecting errors (even if formal proof does not replace tests)

  • Why shall we go further?
  • Modelling limited to very simple automata
  • The ATV code has not been automatically generated
slide-19
SLIDE 19

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p19

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-20
SLIDE 20

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p20

Other uses

  • SCADE V3 has also been used to formalize the

specifications:

  • Of the M51 software
  • Of the Vega software
slide-21
SLIDE 21

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p21

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-22
SLIDE 22

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p22

ATV Evolution ? Suborbital flight ?

R&T: SCADE 6 for future projects

slide-23
SLIDE 23

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p23

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-24
SLIDE 24

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p24

GNC(*) Mission management GNC(*) prototype System requirement capture UML/SysML Rhapsody SCADE and Ada or C++ KCG Matlab/Simulink

Astrium process

Need of refinement Need of refinement

(*) Guidance, Navigation, Control

slide-25
SLIDE 25

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p25

From SysML or AADL to SCADE

AADL SCADE model automatically generated SCADE

slide-26
SLIDE 26

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p26

From Simulink to SCADE

Simulink SCADE model automatically generated SCADE

slide-27
SLIDE 27

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p27

Conclusion: Will we use automatic model transformation?

  • The tools work correctly…
  • …but our process of use is today not clear!
  • The software model (in SCADE) needs more details than the

system model (in SysML/AADL/)

  • Numerical protections
  • Telemetry / Telecommand
  • Real time aspects
  • The software and system architectures are often different

The use of automatic model transformation tools is not foreseen today

(we remain today in a manual refinement process)

slide-28
SLIDE 28

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p28

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-29
SLIDE 29

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p29

Assessment of SCADE V6 on a case study

Test of the whole software on validation platform ATV main software Ada Automatic code generation with KCG SGS Solar Generation System redeveloped in SCADE V6 (automata & data flows) Our objectives

slide-30
SLIDE 30

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p30

Modelling of data flow architecture

The initial architecture in SART The new architecture in SCADE V6

slide-31
SLIDE 31

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p31

Modelling of Finite State Machine

Use of powerful hierarchical automata Initial representation

  • f FSM
slide-32
SLIDE 32

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p32

Modelling of activation condition

Specification of activation condition in SART (Process Activation Table) Formalization of activation condition by SCADE 6 automata

slide-33
SLIDE 33

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p33

Modelling of simple mathematical equation

Specification of simple monitoring Modelling of monitoring in SCADE V6

slide-34
SLIDE 34

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p34

Assessment of SCADE 6: Conclusion

  • A complete functionalities of the ATV has been

redeveloped in SCADE V6

  • Architecture and data flows
  • Complex hierarchical automata and sequences
  • Verified by simulation (coverage checked by MTC)
  • Remaining work for 2008
  • Test on validation platform
  • Integration to our Software Development Environment (SDE)
  • Configuration management, traceability
  • Windows / Unix

We will be ready to start an operational development in SCADE 6 in 2009

slide-35
SLIDE 35

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p35

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-36
SLIDE 36

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p36

SCADE 6 has very powerful automata

slide-37
SLIDE 37

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p37

… but not very intuitive for reviewers(*)!

State7 State6 State5 State4 State3 State2 State1 <SM1> true

1

true

1 1

*

true

1

*

true

1

*

1

Strong without history Weak without history Synchronized without history Strong with history Weak with history Synchronized with history

(*) Non SCADE users

slide-38
SLIDE 38

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p38

Graphical or textual ?

z = (a * x) + (b * y) + c; Some times… a textual description is better … than a graphical one But operators “+”, “-”, “*”, “/”… can not be overloaded  Equations with vectors and matrixes are not naturally written

slide-39
SLIDE 39

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p39

The textual editor can be improved!

The layout is modified after saving

slide-40
SLIDE 40

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p40

SCADE generates today only C

  • A textual description/programming language is

needed

  • SCADE and C are not enough
  • Automatic Ada code generation would be a solution
  • Adapted to embedded software
  • Would improve the typing?

POSITION ACCELERATION VELOCITY

Name Type ACCELERATION T_ ACCELERATION POSITION T_POSITION VELOCITY T_ VELOCITY

KCG for Ada is in the Esterel Technologies roadmap

slide-41
SLIDE 41

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p41

A library is supplied for integer 8, 16, 32 bits But the user shall developed its own library for simple and double float precisions

Basic data types are missing!

slide-42
SLIDE 42

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p42

Use of clock activate

2

A3

MODE MODE3 2

A2

MODE MODE2 2

A1

MODE MODE1

Output1

MODE

Input1 Y1 Y2 Y3

switch (MODE) { case MODE2 : Output1 = A2(Input1); break; case MODE1 : Output1 = A1(Input1); break; case MODE3 : Output1 = A3(Input1); break;

The generated code is very good Too much variables shall be defined

slide-43
SLIDE 43

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p43

No multithreading code generation

10 ms 50 ms Frequency 100 Hz Thread end Thread end Thread end Thread end Thread end Thread end Frequency 20Hz Thread end Frequency 10Hz RDV

A Rate Monotonic Scheduling is compatible with the synchronous approach and would be useful

slide-44
SLIDE 44

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p44

Overview

  • Introduction
  • Historical use of SCADE at EADS Astrium ST
  • Why using SCADE?
  • The Automatic Transfer Vehicle (ATV)
  • M51 and Vega
  • R&T preparing the future
  • Model transformation
  • Assessment of SCADE 6
  • Points to be improved
  • Conclusion
slide-45
SLIDE 45

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p45

Conclusion

  • SCADE V3 has been successfully used in the past
  • On a limited scope
  • A full SCADE V6 development is foreseen for future

projects…

  • Editor, Simulator
  • Model Test Coverage (MTC)
  • Design Verifier
  • Qualified Code Generator (KCG)
  • … with the hope of some improvements / additional

features in future versions!

  • Especially Ada qualified code generator
slide-46
SLIDE 46

This document is the property of Astrium. It shall not be communicated to third parties without prior written agreement. Its content shall not be disclosed.

Astrium Space Transportation

29/04/2010 p46

Thank you for your attention Any question ?

david.lesens@astrium.eads.net