Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Hardware-Software allocation specification of IMA systems for early simulation
1. Budapest University of Technology and Economics
Department of Measurement and Information Systems
Hardware-Software
Allocation Specification of IMA Systems
For Early Simulation
Ákos Horváth, Ábel Hegedüs, Márton Búr and Dániel Varró
BME
Rodrigo R. Starr and Samoel Mirachi
Embraer
DASC 2014
2. Overview of the Talk
Goals Overview
Key Enabling
Technologies
Next Steps
and Future
Directions
Other Contributors
András Ökrös
István Ráth
Zoltán Ujhelyi
Ákos Menyhért
Lincoln de Oliveira Campos Nascimento
3. Goals to achieve
On what abstraction level are we working
Goals Overview
Key Enabling
Technologies
Next Steps
and Future
Directions
5. Federated
RTOS
Functions to partition allocation – User-Driven
Pack
Controller
Zone
Controller
Aft Zone
Forward
Zone
Flight
DeckAir
Conditioning
panel
System
Display
Zone
Controller
Pack
Controller
Pack
Pack
Pack
Controller
SW functions
System
Display
AirCond
Panel
1
5
3
6
Partitions
ARINC 653
RTOS
Constraints
Only one function per
partition
2
4
6. Federated
RTOS
Functions to partition allocation – User-Driven
Pack
Controller
Zone
Controller
Aft Zone
Forward
Zone
Flight
DeckAir
Conditioning
panel
System
Display
Zone
Controller
Pack
Controller
Pack
Pack
Pack
Controller
SW functions
System
Display
AirCond
Panel
1
5
3
6
Partitions
ARINC 653
RTOS
Constraints
2
4
Modify HW architecture
for more resources
7. Allocating communication channels – Semi-automated
SW functionality
1
2
6
4
3
5
HW Communication
channels
Aft Zone
Forward
Zone
Flight
DeckAir
Conditioning
panel
System
Display
Zone
Controller
Pack
Controller
Pack
Pack
Pack
Controller
Pack
Controller
Zone
Controller
System
Display
AirCond
Panel
AFDX
ARINC 429
ARINC 653
ports
All paths are
calculated
Selection based
on weight
functions
9. Overview of the TRANS-IMA project
A tool to allocate system
functionalities to different HW
platforms using model-driven
development techniques
o Early validation:
Find design flaws as early as possible
• Directly on model level
• Simulating the IAM in Simulink
o Model Transformation: Generate
• Communication paths
• Integrated Architecture Model
o Traceability:
Complex traceability links as models
o Integrated Development Environment:
Eclipse based
o Tool Integration:
MATLAB Simulink – Eclipse
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
“Study and development of
Model Transformation (MT) methods
applied to the design of
Integrated Modular Avionics Systems”
Knowledge + Techn. Readiness
10. Design of HW-SW allocation
Inputs: (Simulink)
• Functional Architecture Model (FAM)
•Simple Component Library
(Simulink library)
• Automated import
Output:
• Integrated HW/SW model
• ready for simulation in Matlab
• End-to-end traceability links
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
Allocation:
• Reuses existing Simulink models
• Generates required simulation elements
• Batch model transformation
Tooling: (Eclipse)
• Platform Descr. Model (PDM) Editor
• Extensibility by plug-in infrastructure
11. Model Driven Development of HW-SW allocation
Allocation steps:
• Designer-guided manual steps
• Automated steps:
• Communication channels calculation
• Integrated Architecture Model
• Continuous validation of design rules
Capture
constraints
Explore
alternatives
Human
decision
Automate
consequences
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
13. Overview: MDD Infrastructure
Model Driven Development =
Languages, Models and Transformations
Modeling
Languages
(EMF)
Model
Queries
(EMF-IncQuery)
Model
Transformations
(VIATRA)
14. MDD Infrastructure: Eclipse Modeling Framework
A tool to allocate system
functionalities to IMA platforms
using model-driven development
techniques
o Early validation:
Find design flaws as early as possible
o Model Transformation: Generate
• Communication channels
• Integrated Architecture Model
o Traceability:
Complex traceability links as models
o Open source technologies: Evaluation
of Eclipse framework
o Tool Integration:
MATLAB Simulink – Eclipse
Eclipse Modeling Framework
(EMF):
• open source platform
• model representation & dev.tools
• for domain-specific langauges
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
15. Eclipse Modeling Framework
Eclipse Modeling Framework
Matlab Simulink
Matlab Simulink
Functional
Architecture
Component
Library
Model
Component
Library
Integrated Arch.
Model
Platform
Description
Model
Functional
Architecture
Model
Allocation
Specification
import
InstanceOf
transform
import
uses
uses
transform
Traceability Document
16. Eclipse Modeling Framework
Eclipse Modeling Framework
Matlab Simulink
Matlab Simulink
Functional
Architecture
Component
Library
Model
Component
Library
Integrated Arch.
Model
Platform
Description
Model
Functional
Architecture
Model
Allocation
Specification
import
InstanceOf
transform
import
uses
uses
transform
Traceability Document
Value for Users:
• Helps avoid vendor lock-in
• Knowledge based tool integration
• Future integration with open
standard simulation techniques
(Modelica)
Technical Advantages of EMF:
• Open source modeling standard for
(Eclipse based) modeling tools
• Design metamodel auto-generate
interface, implementation, editor…
• Examples: UML, AADL, SysML,
BPMN, AUTOSAR
17. Customizable views for EMF model
Goal: Hide irrelevant information
from detailed models
17
PilotControl
SubS1
Navigation
FMS
SubS2
EMS
tag: func
tag: func
tag: func
tag: func
InPort/OutPort
Simulink
Id
Id Other SubSystem without tag
Function SubSystem with "func" tag)
Port Blocks
View
View:
• Defined by queries
• Navigable as a model
• Maintained
Incrementally +
Immediately
18. Customizable views for EMF model
Goal: Hide irrelevant information
from detailed models
18
PilotControl
SubS1
Navigation
FMS
SubS2
EMS
tag: func
tag: func
tag: func
tag: func
InPort/OutPort
Simulink
Id
Id Other SubSystem without tag
Function SubSystem with "func" tag)
Port Blocks
View
View:
• Defined by queries
• Navigable as a model
• Maintained
Incrementally +
Immediately
EMF-IncQuery Viewers:
• Capture visualization rules as
model queries
• Incremental update of rules over
large models
• Layouting based on industry
leader yWorks libraries
Value for Users:
• Custom views extendable by
domain experts
• Reusable visualization module
• Integration to EMF-based tools
(UML, SysML, AADL, TOPCASED)
19. MDD Infrastructure: Model Queries
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
A tool to allocate system
functionalities to IMA platforms
using model-driven development
techniques
o Early validation:
Find design flaws as early as possible
o Model Transformation: Generate
• Communication channels
• Integrated Architecture Model
o Traceability:
Complex traceability links as models
o Open source technologies: Evaluation
of Eclipse framework
o Tool Integration:
MATLAB Simulink – Eclipse
EMF-IncQuery (open source)
• model queries for design constraints
• incremental eval. over EMF models
• violations immediately reported
• supports dynamic model
synchronization
20. Early validation of design rules/constraints
Input-to-Input port connection design rule
21. Early validation of design rules/constraints
Input-to-Input port connection design rule
22. Early validation of design rules/constraints
Input-to-Input port connection design rule
On-the-fly
validation
Erroneous model
element
selection
Integrated into
Problems view
EMF-IncQuery approach:
• Capture design constraints as
model queries
• Incremental re-validation of
constraints over large models
(>100k)
• Immediate error reporting
Value for Users:
• Design constraints extendable by
domain experts
•Definition of structural constraints
• Reusable validation library
• Integration to EMF-based tools
(UML, SysML, AADL, TOPCASED)
23. Traceability based on queries
Model-based Traceability
o Complex M-N traceability
o Traceability models
• Automated generation
• Automated maintenance
both based on
query technology
o Auto-generate
traceability
document/matrix
(AIR 6110)
o OSLC based integration
TRACEBILITYMODEL
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
System Model
24. A tool to allocate system
functionalities to IMA platforms
using model-driven development
techniques
o Early validation:
Find design flaws as early as possible
o Model Transformation: Generate
• Communication channels
• Integrated Architecture Model
o Traceability:
Complex traceability links as models
o Open source technologies: Evaluation
of Eclipse framework
o Tool Integration:
MATLAB Simulink – Eclipse
MDD Infrastructure: Model Transformations
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
Role of Model Transformations:
• rule based generate&merge
• automated synthesis of
traceability links
25. Integrated Architecture
Role of model transformations: Synthesis
Complex MT:
o „Merge and extend”
o Output Simulink model:
• Use FAM and PDM as is
• Generate allocation parts
o Smooth integration with
Simulink
• Reuse available models
• Bus handling
Used open source
technologies
o Xtend
o EMF-IncQuery + Viatra
Functional
Architecture
[Simulink]
Component
Library
[EMF Model]
Component
Library
[Simulink]
Allocation
Specific Parts
[Simulink]
Platform
Description
[EMF Model]
Functional
Architecture
[EMF Model]
Allocation
Specification
[EMF Model]
import
Platform
Description
[Simulink]
import
InstanceOf uses
uses
transform
26. Next Steps and Future Directions
Goals Overview
Key Enabling
Technologies
Next Steps
and Future
Directions
27. Summary and Future Directions
A tool to allocate system
functionalities to IMA platforms
using model-driven development
techniques
Future directions
o Semi-automated allocation
o Polarsys initiative
• Long term support for open source
technologies
• EMF-Simulink bridge
o Standalone OSLC based traceability
framework
Functional
Architecture
Model
Platform
Description
Model
Component
Library
Allocation
Integrated
Architecture
Model
“Study and development of
Model Transformation (MT) methods
applied to the design of
Integrated Modular Avionics Systems”
Knowledge + Techn. Readiness
Editor's Notes
TODO: Show different potential solution!
(Link to Andrea’s Michael Jackson animation)
Design rule is broken design new configs
Automation is not yet integrated
Future: automatically explore alternatives
Critical = Level A and B
Non-critical = Level D and E
TODO: Show different potential solution!
(Link to Andrea’s Michael Jackson animation)
Design rule is broken design new configs
Automation is not yet integrated
Future: automatically explore alternatives
Critical = Level A and B
Non-critical = Level D and E