Upload
stefano-carton
View
27
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Welcome To Thesis Presentation. CHALMERS. VOLVO TECHNOLOGY CORPORATION. Team Atul Yadav Tripti Saxena. Team Supervisors Volvo – Henrik Lönn, Magnus Hellring, Patrik Isaksson Chalmers – Jan Jonsson Linköping University – Paul Pop KTH – Martin Törngren. Two thesis. - PowerPoint PPT Presentation
Citation preview
Welcome
To
Thesis Presentation
Team SupervisorsVolvo – Henrik Lönn, Magnus Hellring, Patrik Isaksson
Chalmers – Jan Jonsson
Linköping University – Paul Pop
KTH – Martin Törngren
Team
Atul Yadav
Tripti Saxena
CHALMERSVOLVO TECHNOLOGY CORPORATION
Two thesis
System Modeling using the EAST ADL (SMA)
By : Tripti Saxena
Semi-Automatic Mapping of Automotive Electronic
Functionality (SAM)By : Atul Yadav
1980 2010
EMS ABS TransmissionControl ESP ACC BbW XbW
Automotive Electronic Features
Increased complexity, criticality, vehicle influence, cost, value, design effort, etc.
MOTIVATION
MOTIVATION
EAST EEA PROJECT
EAST ADL (Architecture Description Language)
Objectives
Describe Electronic and Electric Architechture such that :
• Complexity can be managed• Descriptions can be re-used• Function descriptions are HW independent
• Descriptions can be used for - Simulation
- Analysis- Synthesis- Allocation decisions- Documentation
Work package 3 The major goal of EAST-EEA is
to enable a proper electronic integration through definition of an open architecture. This will allow to reach hardware and software interoperability and re-use for mostly distributed hardware.
SMA Objective
The aim of this thesis is to study EAST ADL, a specific description language, in the context of an experimental X-by-Wire vehicle.
SAM Objective
The aim of this thesis is to investigate the mapping problem and to find out about the parameters and constraints to be considered when performing mapping of the automotive electronic functionalities to the electronic control units (ECU).
COMMONALITY BETWEEN BOTH THESIS
The FAR projectEAST ADL Modeling details
Vehicle View
Functional Analysis Architecture
Functional Design Architecture
Hardware Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Defines features in
Refined into
Refined into Appears as
Tentatively allocated to
Allocated to
Results in
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 8
System Modeling using the EAST ADL
System Modeling using the EAST System Modeling using the EAST ADL (SMA)ADL (SMA)
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 9
System Modeling using the EAST ADL
GoalGoal
The aim of this thesis is to study EAST ADL, a specific description language, in the context of an experimental X-by-Wire vehicle.
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 10
System Modeling using the EAST ADL
ContentsContents
• A: Requirements and specifications studyRequirements and specifications study
• B: Evaluation of EAST ADLB: Evaluation of EAST ADL
• C: Study models from the Far project C: Study models from the Far project
• D: Carry out a design case by use of the EAST ADL on D: Carry out a design case by use of the EAST ADL on the Far car.the Far car.
• E: Modify the East-ADLE: Modify the East-ADL
• F: F: Evaluate and summarize resultsEvaluate and summarize results
Parallel Work
Iterative
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 11
System Modeling using the EAST ADL
EAST ADL Abstraction levels
A profile, which extends UML 2 proposal
Domain specific notation
Domain specific modeling concepts
Abstraction Levels
Requirements Specification
Variant Handling
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 12
System Modeling using the EAST ADL
EAST ADL Abstraction LayersEAST ADL Abstraction Layers
• PurposePurpose
Entities describing User visible featuresEntities describing User visible features
Vehicle Type HeirarchyVehicle Type Heirarchy EFeaturesEFeatures
mandatory
optionalVariation
Decomposition
Vehicle View
Functional Analysis Architecture
Functional Design Architecture
Hardware Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Vehicle ViewVehicle View
• Top down Top down Approach Approach
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 13
System Modeling using the EAST ADL
Vehicle ViewVehicle View
EFeature RepositoryEFeature Repository
Functional Requirement
Design Constraints
Use-Case , MSC
• Basic FunctionalityBasic Functionality SteerSteer BrakeBrake AccelerateAccelerate
• Advanced FunctionalityAdvanced Functionality Cruise ControlCruise Control Vehicle SafetyVehicle Safety
Laser Distance SensorLaser Distance Sensor
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 14
System Modeling using the EAST ADL
ModeControl
MotionController
CruiseController
Vehicle SafetyController
OutputDistribution
WheelControl
4x
HMI
Vehicle View
Functional Analysis Architecture
Features in
Defines
Functional Analysis ArchitectureFunctional Analysis Architecture
• PurposePurpose
Behavior & algorithms of Behavior & algorithms of the functionalitythe functionality
Abstract ViewAbstract View EAST ADL StructureEAST ADL Structure
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 15
System Modeling using the EAST ADL
Functional Design Architecture
Refined into
Functional Design ArchitectureFunctional Design Architecture
PurposePurpose
Decomposition of functionality Decomposition of functionality to meet constraintsto meet constraints
Functional Analysis Architecture
Vehicle ViewDefines
features
in
Abstract ViewAbstract View EAST ADL StructureEAST ADL Structure
HMI
Global Control
Local Control (4X)
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 16
System Modeling using the EAST ADL
Functional Design ArchitectureFunctional Design ArchitectureEAST ADLEAST ADL
Device Interfacing<<Composite Software Function>>
Wheel Control
Signal
StructureStructure RequirementsRequirements BehaviorBehavior
Allocation ConstraintTiming Requirements
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 17
System Modeling using the EAST ADL
Hardware Architecture
Hardware ArchitectureHardware Architecture• Purpose
Physical entities of system
Tentatively allocated to
Functional Analysis Architecture
Functional Design Architecture
Vehicle ViewDefines
features in
Refined into
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 18
System Modeling using the EAST ADL
Hardware ArchitectureHardware Architecture
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 19
System Modeling using the EAST ADL
Functional Design Architecture
Hardware Architecture
Functional Analysis Architecture
Tentatively allocated to
Vehicle ViewDefines
features in
Refined into
PurposePurpose
Flat software structure for allocationFlat software structure for allocationLogical
Architecture
Refined into
Logical Architecture
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 20
System Modeling using the EAST ADL
Logical ArchitectureLogical Architecture
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 21
System Modeling using the EAST ADL
PurposePurpose
Operating System and Middleware APIOperating System and Middleware API
Appears as
Technical Architecture
Technical Architecture
LogicalArchitecture
Refined into
Functional Design Architecture
Hardware Architecture
Functional Analysis Architecture
Tentatively allocated to
Vehicle View
Features inDefines
OS-Processor AssociationHAF-Peripheral Association
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 22
System Modeling using the EAST ADL
OSTask carrying codeOSTask carrying code
Frames & Communication Buffer for communicationFrames & Communication Buffer for communication
Operational Architecture
Appears as
Technical Architecture
LogicalArchitecture
Refined into
Functional Design Architecture
Hardware Architecture
Functional Analysis Architecture
Tentatively allocated to
Vehicle View
Features inDefines
Operational Architecture
Allocated to
Results in
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 23
System Modeling using the EAST ADL
Operational Architecture
Intra ECU communication
Inter ECU communication
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 24
System Modeling using the EAST ADL
Summary &Conclusions
Systematic evalutation of EAST ADL
EAST ADL Modeling Structural Model of the FAR Hardware Structural Model of the FAR Software Limited Requirements Modeling
Future Work • Behavior Modeling of the FAR car• Complete requirements modeling of the FAR car• Verification and Validation
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 25
System Modeling using the EAST ADL
Thank You
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 26
Semi-Automatic Mapping of Automotive Electronic Functionality
SAM
Semi-Automatic Mappingof
Automotive Electronic Functionality(SAM)
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 27
Semi-Automatic Mapping of Automotive Electronic Functionality
Current Status
Specification
Implementation
ECU
ABS
Tool+Model
Tool+Model
Specification
Implementation
ECU
ACC
Tool+Model
Tool+Model
Specification
Implementation
ECU
SbW
Tool+Model
Tool+Model
One function - One ECU
-Suppler deliver ”Black – boxes”
-What happens ? ( Problem)
• Constant addition of H/W to vehicle
• Low flexibility
• No standards
• Requires knowledge about
different OS,H/W
• Everything from scratch
(time to market ?)
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 28
Semi-Automatic Mapping of Automotive Electronic Functionality
Specification
ABS
Tool+Model
Tool+Model
Specification
ACC
Tool+Model
Tool+Model
Specification
SbW
Tool+Model
Tool+Model
Functional Integration
Future Development Practice
Implementation
ECU
Implementation
ECU
Implementation
ECU
Implementation
ECU
X Functions - Y ECUs
What can be done:
Standardised middleware
Applications may be developed with no concerns about the underlying platform.
Advantage ?
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 29
Semi-Automatic Mapping of Automotive Electronic Functionality
Goal of the project
The goal of the project is ” to investigate the
mapping problem and to find out about the parameters and constraints to be considered when performing such a mapping”.
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 30
Semi-Automatic Mapping of Automotive Electronic Functionality
Steps Followed
• What are the different types of electronic applications ?
• What are the constraints they can impose ?
• Which of them are relevant for mapping ?
• Where should the mapping tool reside in EAST ADL ?
• What is the input that the mapping tool requires ?
• Semi-Automatic Integration of the tool with EAST ADL.
• Modeling FAR and applying it to the tool.
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 31
Semi-Automatic Mapping of Automotive Electronic Functionality
Constraints from the Applications
• Functional behavior
• Temporal
• Safety – Critical
• Cost
• Power consumption
• Physical
• Locality
• Security
• Flexibility
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 32
Semi-Automatic Mapping of Automotive Electronic Functionality
Relevant Attributes
• Timing (period, wcet, deadline, offset)
• Triggering
• Safety-Criticality
• Cost
• Power consumption
• ECU (speed, memory)
• Bus (speed,protocol)
• Locality
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 33
Semi-Automatic Mapping of Automotive Electronic Functionality
Placement of the Mapping Tool
Vehicle View
Functional Analysis Architecture
Functional Design Architecture
Hardware Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Defines features in
Refined into
Refined into Appears as
Tentatively allocated to
Allocated to
Results in
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 34
Semi-Automatic Mapping of Automotive Electronic Functionality
Tool Interface
Hardware Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Mapping Tool
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 35
Semi-Automatic Mapping of Automotive Electronic Functionality
Logical Architecture Level
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 36
Semi-Automatic Mapping of Automotive Electronic Functionality
Mapping of Functionality to the Platform
Mapping (”logical architecture”)
- What function on which ECU ?
Application: set of process graphs
...
...
Architecture: Multi-clusterMapping
Problem : The requirement is that the functionality be specified at process level.
Application: Logical Architecture Level
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 37
Semi-Automatic Mapping of Automotive Electronic Functionality
Algorithm
L1
L1
L1
L1
L2
L3
S
E
200
L4
L5
L4
L5
Logical Architecture level
Process Graph
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 38
Semi-Automatic Mapping of Automotive Electronic Functionality
S0 S1 S2 SG S0 S1 S2 SG
TDMA RoundCycle of two rounds
Slot
Time Triggered Protocol (TTP) Bus access scheme:
time-division multiple-access (TDMA) Schedule table located in each TTP
controller: message descriptor list (MEDL)
Controller Area Network (CAN) Priority bus, collision avoidance Highest priority message
wins the contention Priorities encoded in the frame
identifier
System Platform
Gateway
...
...
Time-triggered cluster Static cyclic scheduling Time-triggered protocol
Event-triggered cluster Fixed priority preemptive
scheduling Controller area network protocol
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 39
Semi-Automatic Mapping of Automotive Electronic Functionality
Input to the Tool
• Process {id, period, deadline, offset, memory}
• Message {id, src, dst, size, deadline}
• ECU {id, speed, memory}
• Bus {id, speed, protocol}
• StrictConstraint
• LooseConstraint
• ClusterConstraint
Process graph
Hardware resource
Locality constraint
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 40
Semi-Automatic Mapping of Automotive Electronic Functionality
After Mapping
P4P4 P5P5
P7P7
P13P13
P15P15
First ECU Second ECU Third ECU
P0
P18
P1P1
P2P2 P3P3
P6P6
P8P8 P9P9
P10P10
P11P11
P12P12
P14P14 P16P16
P17P17
P0
P18
P1
P2 P3
P6
P8 P9
P10
P11
P12
P14 P16
P17
P4 P5
P13P13
P7P7P15P15
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 41
Semi-Automatic Mapping of Automotive Electronic Functionality
Tool Integration with EAST ADL (Input Side)
Vehicle View
Functional Analysis Architecture
Functional Design Architecture
Hardware Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Defines features in
Refined into
Refined into Appears as
Tentatively allocated to
Allocated to
Results in
• Process {id, T, D, C, M} • Message {id, src, dst, size, d}• ECU {id, speed, memory}• Bus {id, speed, protocol}• StrictConstraint• LooseConstraint• ClusterConstraintXML Document
Parser DOM
Algo. ApplicationLogical
Architecture
XML Document
Parser DOM
Extract Attributes
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 42
Semi-Automatic Mapping of Automotive Electronic Functionality
Tool Integration with EAST ADL (Output Side)
How this is done ?
Operational Architecture
Mapping Tool
• Process {id, T, D, C, M} • Message {id, src, dst, size, d}• ECU {id, speed, memory}• Bus {id, speed, protocol}• StrictConstraint• LooseConstraint• ClusterConstraint
Hardware Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Mapping Tool
EAST ADL without OA
XML Document
Modify DOM Output from tool
Modified XML Document
EAST ADL with OA
proc.:P1<PR33> o=0 r=0<PR5> o=31 r=5............proc.:P4<PR15> priority=2 o=138 r=17<PR21> priority=1 o=99 r=32...............bus:CAN<ARC4> priority=1 o=29 r=2 size=2 PR4 --> PR5<ARC13> priority=2 o=105 r=2 size=2 PR12 --> PR13
Mapping ToolHardware
Architecture
Technical Architecture
LogicalArchitecture
Operational Architecture
Mapping Tool
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 43
Semi-Automatic Mapping of Automotive Electronic Functionality
MAPPING APPLIED TO FAR
Logical architecture level of FAR model in EAST ADL.
Hardware architecture level of FAR model in EAST ADL.
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 44
Semi-Automatic Mapping of Automotive Electronic Functionality
MAPPING APPLIED TO FAR
Loop free dataflow graph of FAR vehicle
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 45
Semi-Automatic Mapping of Automotive Electronic Functionality
MAPPING APPLIED TO FAR
ECU Mapped Logical Cluster(s)
HMI_ECU HMILogicalCluster
CentralNode FeedbackCluster
RadarNode DistanceMeasure
FLWheel_ECU FLWheelContolCluster, VehicleModeControl, Normal
RLWheel_ECU RLWheelContolCluster, OutputDistributionCluster
RRWheel_ECU RRWheelContolCluster
FRWheel_ECU FRWheelContolCluster, CC
Gateway Gateway1, Gateway2, Gateway3, Gateway4
Mapping Results
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 46
Semi-Automatic Mapping of Automotive Electronic Functionality
Discussion
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 47
System Modeling using the EAST ADL
EAST Modeling LayersEAST Modeling Layers
Generic Generic Modeling Modeling
EnvironmentEnvironment
Model execution, Model execution, data archive, file data archive, file
Definition of Definition of syntax and syntax and semanticsemantic
Model of FARModel of FAR
Meta ModelMeta ModelM2 (Meta Model)M2 (Meta Model)
M1 (Model)M1 (Model) ModelModel
GME MetaGME MetaM3 (MOF)M3 (MOF)
DataData
Volvo Technology Corporation
6200 / T. Saxena / 2004-04-19 / 48
System Modeling using the EAST ADL
EAST ADL , UMLEAST ADL , UML
EAST ADL
Definition of Definition of syntax and syntax and semanticsemantic
Model of the FAR Model of the FAR carcar
Model execution, Model execution, data archive, file data archive, file
Volvo Technology Corporation
6200 / A. Yadav / 2004-04-19 / 49
Semi-Automatic Mapping of Automotive Electronic Functionality
Thank You !