01 EAST-ADL Overview and Structure

41
“Advancing Traffic Efficiency and Safety through Software Technology phase 2 (ATESST2)” EAST-ADL Overview ATESST2 Concept presentation 2010 Q2

Transcript of 01 EAST-ADL Overview and Structure

Page 1: 01 EAST-ADL Overview and Structure

“Advancing Traffic Efficiency and Safety through Software Technology phase 2 (ATESST2)”

EAST-ADL Overview

ATESST2 Concept presentation 2010 Q2

Page 2: 01 EAST-ADL Overview and Structure

The ChallengeProduct Related Challenges- Functionality increase- Complexity increase- Increased Safety-criticality- Quality concerns

Challenges Related to Development Process- Supplier-OEM relationship- Multiple sites & departments- Product families- Componentization- Separation of application from infrastructure- Safety Requirements, ISO 26262

Page 3: 01 EAST-ADL Overview and Structure

Architecture Description Language for Handling all engineering information required to sustain the evolution of vehicle electronics

The Response - EAST-ADL

Page 4: 01 EAST-ADL Overview and Structure

EAST-ADLA System Modeling Approach/Architectural Framework that• Is a template for how engineering information is organized and

represented• Provides separation of concerns• Embrace the de-facto

representation of automotive software – AUTOSAR

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Feature content

Abstract functional architecture

Functional architecture,HW architecture, platform abstractions

AUTOSAR Software architecture

Embedded system in produced vehicle (not in model)

Page 5: 01 EAST-ADL Overview and Structure

EAST-ADL Characteristics

Alignment/integration:•(SysML, AADL)•AUTOSAR•ISO26262

EAST-ADL has been developed in:• EAST-EAA (ITEA 2000-2004)• ATESST (EC FP6 2006-2008)• ATESST2 (EC FP7 2008-2010)• TIMMO (ITEA 2007-2009)

EAST-ADL • Language Metamodel • UML2 Profile• Prototype Tool

Extended compared to traditional ADL as it covers:

• Variability• Requirements• Safety• Behavior• Environment Modelling• Design methodology

Page 6: 01 EAST-ADL Overview and Structure

EAST-ADL Contributors 2000-2009AUDI AG

BMW AG

Carmeq GmbH

CRF

Daimler AG

ETAS GmbH

Mecel AB

Mentor Graphics

OPEL GmbH

PSA

Renault

Robert Bosch GmbH

Siemens, Continental

Valeo

Vector

Volvo Car Corporation

Volvo Technology AB

ZF

CEA-LIST

INRIA

LORIA

Paderborn Univerisity-C-LAB

Technical University of Darmstadt

Technische Universität Berlin

The Royal Institute of Technology

The University of Hull

Page 7: 01 EAST-ADL Overview and Structure

Relation to other modeling languages and approaches?Why Not UML?• EAST-ADL is domain-specific but its UML2 profile gives access to UML2 tools.

Why not SysML?• EAST-ADL takes up applicable SysML concepts but provides additional domain-specific

support

Why not Autosar?• EAST-ADL complements Autosar with respect to feature content, functional structure, safety

properties, etc.

Why not AADL• AADL represent the software implementation of a system while EAST-ADL starts on a more

abstract level.

Why not proprietary tools (Simulink, Statemate, Modelica, ASCET, …)?• EAST-ADL provides an information structure for the engineering data and integrates

external tools

Page 8: 01 EAST-ADL Overview and Structure

EAST-ADL EvolutionEEA AIL

UML2Titus

SYSMLAADL

...

EAST ADL AUTOSAR

ATESST Partners

UML2SYSML

AADL...

EA

ST A

DL V

2.1(M

etamodel+M

ethodology+UM

L2 Profile)

Page 9: 01 EAST-ADL Overview and Structure

Related ProjectsAUTOSARCESAR• ARTEMIS is a EC framework• Starts 2009• Safety-focused multi-domain (aerospace, auto, rail, automation) project• Modeling approach potentially based on EAST-ADL

EDONA• French automotive project on embedded systems tooling and methodology• EAST-ADL and AUTOSAR

MeMVaTex• French national project• Addresses requirement modeling based on EAST-ADL

TIMMO• Extends EAST-ADL and AUTOSAR with Timing aspects• In synchronization with AUTOSAR timing team• In synchronization with ATESST2

Page 10: 01 EAST-ADL Overview and Structure

Some Typical Engineering Scenarios The Vehicle Manufacturer decides what to include in the

next product

A Chassis engineer analyses a novel control algorithm

Application expert defines detailed design

Software engineer defines software architecture

Packaging and allocation, Integration on ECU

Early phase validation and verification

Page 11: 01 EAST-ADL Overview and Structure

Product Planners decide what to put in the next product

Features represent the properties/functionality/traits (Brake, Wiper, CollisionWarning,... )

Vehicle Feature Model organize Features for the vehicle

Variability mechanism supports the definition of rules for inclusion in different vehicles – Product Line Architecture

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Page 12: 01 EAST-ADL Overview and Structure

A Chassis engineer analyses a novel control algorithm

Control algorithm is defined as a Function connected to a plant Function in the Environment model

EAST-ADL defines structure, legacy tools can be used for behavior definition, simulation, etc.

Realization details are omitted:• Functional validation and verification can be

done with respect to key aspects • Understanding of key aspects is possible

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Page 13: 01 EAST-ADL Overview and Structure

An OEM and Supplier agree on specification

A model of the supplied system provides a clear and effective information exchange

Functions can be integrated and validated before SW and HW exists

Requirements are explicit and traceable to model elements

Interfaces and interaction clarified, avoiding common specification bugs

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Page 14: 01 EAST-ADL Overview and Structure

Application expert defines detailed design

A detailed functional architecture is defined, addressing e.g.

• Hardware architecture• Allocation• Fault tolerance• Implementation concerns• Sensor, actuator constraints• Interfaces to middleware

Focus on behavior and interaction of functions

Abstract system architecture is defined and assessed

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Page 15: 01 EAST-ADL Overview and Structure

Software engineer defines SW Architecture

AUTOSAR Application SW Components are defined

The set of SW components together realizes the Functional Architecture

Software organization and functional organization is decoupled and optimization of the SW architecture is possible.

Legacy, sourcing, allocation, performance, verification, responsibility, re-use, etc. influence which functions are realized by each SW component

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Page 16: 01 EAST-ADL Overview and Structure

Outline

•Example usage of EAST-ADL

•Model Structure

•Example Model

•AUTOSAR Relation

•Areas covered by EAST-ADL

•Conclusion

Page 17: 01 EAST-ADL Overview and Structure

How is an EAST-ADL model structured?An EAST-ADL model is organized in several levels of abstraction, where the software and electronics based artifacts are modeled.

The abstraction levels are “views” on the model and a complete representation of the system.

The contents on an abstraction level forms a complete representation of the vehicle embedded system, with respect to the concerns of that abstraction level

The levels are refined top-down starting at the vehicle level.

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Page 18: 01 EAST-ADL Overview and Structure

How is an EAST-ADL model structured?

• On vehicle level the features of the vehicle

• On analysis level the abstract functions

• On design level the hardware topology, concrete functions and their allocation to nodes

• On Implementation level the software architecture as represented by AUTOSAR

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Realizes

Realizes

Realizes

Page 19: 01 EAST-ADL Overview and Structure

Vehicle Level• A Vehicle is characterized by a set of Features• Features are stakeholder requested functional or non-

functional characteristics of a vehicle• A Feature describes that "what",

but shall not fix the "how" • A Feature is specified by

requirements and use cases• From a top-down architecture

approach the features are the configuration points to create a vehicle variant

Page 20: 01 EAST-ADL Overview and Structure

Analysis LevelAnalysis Level is the abstract Functional description of the

EE system• Realizes functionality based on the features and requirements• Captures abstract functional

definition while avoiding implementation details

• Defines the system boundary• Environment model and

stakeholders define context• Basis for safety analysis

Page 21: 01 EAST-ADL Overview and Structure

Design LevelDesign Level captures the concrete functional definition with

a close correspondance with the final implementation• Captures functional definition of application software• Captures functional abstraction of

hardware and middleware • Captures abstract hardware

architecture • Defines Function-to-hardware

allocation

Page 22: 01 EAST-ADL Overview and Structure

Implementation LevelThe Implementation Level represents the software-based

implementation of the system • Software components represent application functionality• AUTOSAR Basic software represents platform• ECU specifications and topology

represent hardware• Model is captured in AUTOSAR

• Software component template• ECU resource template• System Template

Page 23: 01 EAST-ADL Overview and Structure

Analysis Level

Design Level

Implementation Level

Operational Level

Vehicle Level

SystemModel

AnalysisLevel

DesignLevel

ImplementationLevel

Env

ironm

entM

odel

FunctionalAnalysisArchitecture

Functional Design Architecture

AUTOSAR System

Hardware Design Architecture

VehicleLevel

TechnicalFeatureModel

SW components or runnables on implementation level realizes functions on design level

Functions on design level realizes functions on analysis level

Functions on analysis level realizes features on vehicle level

Traceability between abstraction levelsRealization relations identify which abstract element is realized by a more concrete entity

Page 24: 01 EAST-ADL Overview and Structure

Environment ModelThe Environment model captures the plant

that the EE system control and interact with• In-vehicle, near and far environment is covered

• Same Environment Model may be used on all abstraction levels

• Different Environment models may be used depending on validation scenario

Page 25: 01 EAST-ADL Overview and Structure

Outline

•Example usage of EAST-ADL

•Model Structure

•Example Model

•AUTOSAR Relation

•Areas covered by EAST-ADL

•Conclusion

Page 26: 01 EAST-ADL Overview and Structure

HW Functionality

<<FunctionalDesignarchitectureLevel>> DemonstratorFDA

<<HWFunction>>PedalSensor

<<HWFunction>>BrakeActuatorFrontLeft

<<HWFunction>>WheelSensorFrontLeft

Application Functionality BSW Functionality

<<LocalDeviceManager>>BrakePedal

<<Function>>BrakeController

<<Function>>ABSFrontLeft <<LocalDeviceManager>>

BrakeActuatorFL<<BSWFunction>>

BrakeIO

<<BSWFunction>>PedalIO

<<LocalDeviceManager>>WheelSensorFL

<<BSWFunction>>WSensIO

VehicleSpeed

Function interaction – end-to-end

Model structure supports interaction with the environment and end-to-end functional definitions

Page 27: 01 EAST-ADL Overview and Structure

<<ECUNode>>ABS_1

<<HardwareDesignArchitecture>>DemoHDA

<<Sensor>>WheelSensorFrontLeft

<<Sensor>>WheelSensorFrontRight

<<Sensor>>WheelSensorRearLeft

<<Sensor>>WheelSensorRearRight

<<ECUNode>>ABS_2

<<ECUNode>>ABS_3

<<ECUNode>>ABS_4

<<ECUNode>>Brake

<<Sensor>>BrakePedal

<<Actuator>>BrakeFrontLeft

<<HWFunction>>BrakePedal

<<HWFunction>>BrakeFrontLeft

<<HWFunction>>BrakeFrontRight

<<HWFunction>>BrakeRearLeft

<<HWFunction>>BrakeRearRight

<<HWFunction>>WheelSensorFrontLeft

<<HWFunction>>WheelSensorFrontRight

<<HWFunction>>WheelSensorRearLeft

<<HWFunction>>WheelSensorRearRight

<<Actuator>>BrakeRearLeft

<<Actuator>>BrakeFrontRight

<<Actuator>>BrakeRearRight

Hardware Design ArchitectureHardware architecture support hardware design and functional allocation

Behavior of HW entites is defined for use in Functional DesignArchitecture

Page 28: 01 EAST-ADL Overview and Structure

Outline

•Example usage of EAST-ADL

•Model Structure

•Example Model

•AUTOSAR Relation

•Areas covered by EAST-ADL

•Conclusion

Page 29: 01 EAST-ADL Overview and Structure

EAST-ADL Complements AUTOSAR EAST-ADL is an information structure including aspects beyond the Software Architecture

Requirements, traceability, feature content, variability, safety, etc.

Provides means to define what the software doesAn AUTOSAR specification defines the software architecture and information required for SW integration - but is neutral to its functionality

Provides means to model strategic properties Key vehicle aspects is captured independently of the software architecture

Supports modelling of error behavior and the representation of safety-related information and requirements

Page 30: 01 EAST-ADL Overview and Structure

AUTOSAR vs. EAST-ADL System Model

AnalysisLevel

DesignLevel

ImplementationLevel

OperationalLevel

Vehicle Level

SystemModel

AnalysisLevel

DesignLevel

ImplementationLevel

Env

ironm

entM

odel

FunctionalAnalysisArchitecture

Functional Design Architecture

AUTOSAR System

Hardware Design Architecture

VehicleLevel

TechnicalFeatureModel

Page 31: 01 EAST-ADL Overview and Structure

Relation between Model entitiesExample of Mapping

Design Level << ADLFunction >> C1

<< ADLFunction >>

E3

ADLFunction

E2

Implementation Level

<<ADLFunction>> C2

In_A : SCS1

out_A : SCS1 ADLFunction E1

out_B : SCS2 out_D : C_1

In_B : SCS2

In_D : C_1

ADLFunction

E4 ADLFunction

E5

Runnable E1

Runnable E4 Runnable E2

Runnable E3

ApplicationSWC A1

ApplicationSWC A3

ApplicationSWC A2

out_D

out_A : SCS1

out_B : SCS2 In_B : SCS2

In_D : C_1

Vehicle Level

Analysis Level

Design Level

Implementation Level

Operational Level

Realizes

Page 32: 01 EAST-ADL Overview and Structure

Outline

•Example usage of EAST-ADL

•Model Structure

•Example Model

•AUTOSAR Relation

•Areas covered by EAST-ADL

•Conclusion

Page 33: 01 EAST-ADL Overview and Structure

VariabilityDefinition of Feature Content of Vehicle using Feature Trees• Definition of Product Line in terms of mandatory and optional features

for each vehicle category

Definition of Variability rules for realization• Optional/mandatory functions and components• Definition on how to resolve variability based on feature content

Basic Model

<<refers>> <<refers>>

Page 34: 01 EAST-ADL Overview and Structure

Requirements and V&VDefinition of Requirement modelling framework based on

SysML• Concepts for capturing requirements and components in same model• Traceability between requirements, components and V&V

V&V constructs to capture test case, test outcome, etc.

Integration of RIF concepts (Requirement Interchange Format)

Page 35: 01 EAST-ADL Overview and Structure

Safety Aspects & ISO 26262ASIL Categorization through

requirements

Support for Safety Case – Use of model entities to argue safety

Organization of information in line with ISO 26262

Support for methods required by ISO26262

Item definition

Hazard and risk analysis

Functional safety concept

System development

Hardware development

Software development

Validation

Preliminary Safety Analysis

Detailed Safety Analysis

Page 36: 01 EAST-ADL Overview and Structure

Error modelling & failure analysisModelling Concepts for Hazards and Error Propagation

Basis for Hazard Analysis and Fault Tree and Failure Modes and Effects Analysis

Tool Interface for Automatic FTA/FMEA

Page 37: 01 EAST-ADL Overview and Structure

BehaviorDefinition of Behavioral semantics to allow legacy tool

integration• Ascet, Simulink, legacy code, etc.

Definition of relation to AUTOSAR behavior

Behavioral Semantics for Environment model (Plant)

«AnalysisFunction»F1

«AnalysisFunction»F1.1a

«AnalysisFunction»F1.2

«AnalysisFunction»F1.3

«AnalysisFunction»F1.1b

«AnalysisFunction»Voter

«AnalysisFunction»Voter

«FunctionBehavior»AB1

Page 38: 01 EAST-ADL Overview and Structure

TimingFormalization of timing requirements and properties in

relation to structural model elements

Approach is symmetric w.r.t AUTOSAR V4 timing constructs

Reaction, age, synchronization and repetitions can be defined

Braking

BrakeForce

Actuation

Brake Controller

Response 4

BrakePedal

Position

Stimulus

Delay ConstraintD

BrakeForce

Actuation

Response 1

Page 39: 01 EAST-ADL Overview and Structure

EAST-ADL ToolingUML-based Tooling• Based on CEA Papyrus• Integrated Eclipse

application with 5 ATESST plugins

AUTOSAR-based Tooling• MentorGraphics VSA

DSL Tooling• MetaEdit+

Page 40: 01 EAST-ADL Overview and Structure

Outline

•Example usage of EAST-ADL

•Model Structure

•Example Model

•AUTOSAR Relation

•Areas covered by EAST-ADL

•Conclusion

Page 41: 01 EAST-ADL Overview and Structure

ConclusionEAST-ADL provides an information structure

for design of automotive embedded systems• Architecture Description Language and Architectural Framework

Use of abstraction levels is a fundamental concept • entities on lower levels realize entities on higher levels

EAST-ADL is a fully aligned complement to AUTOSAR• AUTOSAR is the SW architecture definition enabling SW component

integration on ECU• EAST-ADL supports the successful integration of AUTOSAR

components• EAST-ADL Supports additional engineering steps including

feature definition, requirements engineering, V&V , safety analysis, functional modeling/integration, product line engineering