Automotive Architectures
Automotive Architectures
Software Architecture
Yanja Dajsuren
25-3-2014 PAGE 1
Why more software?
25-3-2014 PAGE 2
Automotive supply chain software integration
Document-centric: Architecture-driven:
• Manual • (Partially) Automated
• Error prone • Early detection of errors
• Costly to change • Less effort/cost to change
Automotive architecture modeling
• EAST-ADL
• Timing Augmented Description Language
(TADL)
• EAST-ADL
• Advancing Traffic Efficiency and Safety through Software
Technology 2 (ATESST) project
• Refined EAST-ADL2 language, profile, methodology, tools
• It provides means to represent the embedded system in several
abstraction levels.
• Main source: http://www.east-adl.info/
http://maenad.eu/
25-3-2014 PAGE 7
EAST-ADL Abstraction Levels
25-3-2014 PAGE 16
SysML Diagram Taxonomy
SysML Diagram
Activity Sequence State Machine Use Case Block Definition Internal Block
Package Diagram
Diagram Diagram Diagram Diagram Diagram Diagram
25-3-2014 PAGE 17
Blocks are Basic Structural Elements
19
Block Definition vs. Usage
Definition Usage
• Block is a definition/type – Part is the usage of a block
• Captures properties, etc. in the context of a
composing block
• Reused in multiple contexts
– Also known as a role
20
Internal Block Diagram (ibd)
Blocks, Parts, Ports, Connectors & Flows
Enclosing
Block
Connector
Item Flow
Port Part
21
Reference Property Explained
22
SysML Ports
• Specifies interaction points on blocks and parts
• Integrates behavior with structure
• portName:TypeName
• Kinds of ports
• Standard (UML) Port
− Specifies a set of required or provided operations
and/or signals
− Typed by a UML interface
• Flow Port
− Specifies what can flow in or out of block/part
− Typed by a block, value type, or flow specification
− Atomic, non-atomic, and conjugate variations
Standard Port and Flow Port
Support Different Interface Concepts 23
Port Notation
provided interface
(provides the operations)
Standard
Port part1: part2:
required interface
(calls the operations)
Flow Port
24
State Machines
25
Operational States (Drive)
stm HSUVOperationalStates
Off keyOff/
Operate
Transition notation:
trigger[guard]/action
Idle
accelerate/
when (speed = 0)
releaseBrake/
Accelerating/
Braking
Cruising
engageBrake/
26
DEMO
Image: http://www.extremetech.com/
25-3-2014 PAGE 30
Source: Artisan Software Tools
Use Case diagram
• Provides means for
describing basic
functionality in terms of
usages of system by
actors
• Generally elaborated via
other behavioral
representations to
describe detailed
scenarios
25-3-2014 PAGE 32
System integration
• Software
• Hardware
25-3-2014 PAGE 33
Running ACC_UI on Freescale board
25-3-2014 PAGE 34
SysML summary
ECU
• Hardware dependent SW
• Not efficient software reuse and exchange
ECU • Costly integration
AUTOSAR (AUTomotive Open System
Architecture)
• An open and standardized automotive
software architecture
• Architecture
• Methodology
• Application Interfaces
AUTOSAR Milestones
http://autosar.org/
http://autosar.org/
AUTOSAR Methodology
http://autosar.org/
AUTOSAR Application Interface
http://autosar.org/
25-3-2014 PAGE 41
AUTOSAR Use Case
http://autosar.org/
AUTOSAR Benefits
http://autosar.org/
25-3-2014 PAGE 43
Automotive Standards
• ISO 26262:
• Absence of unreasonable risk due to hazards caused by
malfunctioning behavior of E/E systems
• IEC 61508:
• Part of the overall safety related to the equipment under
control (EUC) that depends on the correct functioning of
the safety-related system.
• MISRA C:
• Software development standard
25-3-2014 PAGE 44
ISO 26262
25-3-2014 PAGE 47
KoenLeekens, ISO-26262 introduction, 2012
MISRA C
Tel: +31(0)402475052
Email: [email protected]
Address:
MF 7.123, Eindhoven University of Technology
5612 AZ Eindhoven, The Netherlands
Automotive Modeling Exercise