why autosar - vector

37
V0.1 | 2019-07-09 Why AUTOSAR

Upload: others

Post on 24-Mar-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Why AUTOSAR - Vector

V0.1 | 2019-07-09

Why AUTOSAR

Page 2: Why AUTOSAR - Vector

2

u Motivation for AUTOSAR

AUTOSAR roadmap and history

Vector and AUTOSAR

Advantages of MICROSAR

Agenda

Page 3: Why AUTOSAR - Vector

3

Growing E/E Complexity

Motivation for AUTOSAR

1975 1985 2005 20151995

Electronic Injection control

Cruise Control

Electronic Injection control

Cruise Control

Gearbox ControlTraction ControlAnti Lock Breaks

Gearbox ControlTraction ControlAnti Lock BreaksElectronic Injection controlCruise Control

AirbagsElectronic Stability ControlActive Body ControlAdaptive Cruise ControlEmergency Call

AirbagsElectronic Stability ControlActive Body ControlAdaptive Cruise ControlEmergency CallGearbox ControlTraction ControlAnti Lock BreaksElectronic Injection controlCruise Control

Adaptive headlightsActive steeringCurve warningStop and GoLane Keeping assistanceAutomated ParkingCollision mitigationElectronic Break ControlCar 2 Car communicationTele-diagnosticsSoftware updates over the air

Page 4: Why AUTOSAR - Vector

4

Quantity of Software rising very steeply

Motivation for AUTOSAR

1990 2000 2015 2020

Single Electronic

Control Unit

Multiple Electronic

Control UnitsDomain Control Units

*In 2010, some vehicles had about 10 million SLOC and

by 2016 this expanded by a factor of 15, to roughly 150 million lines*McKinsey&Company Report Feb’18‘Rethinking car software and electronic architecture’

HPC (High Performance Computing )

CAN MOST LIN FLEXRAY ETHERNET

Multicore8 Bit 16 bit 32 bit 64 bit

Page 5: Why AUTOSAR - Vector

5

Hardware / Software Platforms

Motivation for AUTOSAR

Multicore

u Many different hardware platforms are used

u Embedded systems traditionally do not support full hardware abstraction

u Limited modularity of the software

u Poor reusability: Software must often be rewritten from scratch when hardware (processor type) is changed

u Variability: Suppliers have to support a large variety of OEMs and vehicle platform variants with their software

Hardware

Software

Page 6: Why AUTOSAR - Vector

7

AUTOSAR Slogan

Motivation for AUTOSAR

Two different AUTOSAR statements:

“Cooperate on standards – compete on implementation”

Hardware

Software

Hardware

Software

Page 7: Why AUTOSAR - Vector

8

Objectives

Motivation for AUTOSAR

u Serviceability over the entire product life cycle

u Software updates and upgrades over the entire life of a vehicle

u Abstraction of hardware from software, making development more flexible.

u Shift development activities from implementation to configuration

u Improvement in software quality by standardized BSW

u Competition is focused onto OEM-relevant features

u Reusability of functions across vehicle networks and across OEM boundaries.

Page 8: Why AUTOSAR - Vector

9

Objective

Motivation for AUTOSAR

AUTOmotive Open System ARchitecture

u Improve software quality and reduce costs by RE-USE

u Re–use of functions across carlines and across OEM boundaries

u Re–use of development methods and tools

u Re–use of basic software

Page 9: Why AUTOSAR - Vector

10

Standardization

Motivation for AUTOSAR

Interfaces MethodologyExchange Formats

Page 10: Why AUTOSAR - Vector

11

Layered View: Simplified

Motivation for AUTOSAR

Run Time Environment

Application Layer

Complex(Device)

Drivers/ CDD

Microcontroller

Service Layer

ECU Abstraction Layer

Microcontroller Abstraction Layer

Page 11: Why AUTOSAR - Vector

12

Layered View: Detailed

Motivation for AUTOSAR

Application

AUTOSAR Runtime Environment (RTE)

ComplexDeviceDrivers

I/OHardware

Abstraction

Comm.Services

MemoryServices

Comm.Hardware

Abstraction

MemoryHardware

Abstraction

SystemService

OnboardDevice

Abstraction

Micro-contoller

Drivers

MemoryDrivers

Comm.Drivers

I/ODrivers

Microcontroller

Microcontroller Abstraction Layer

ECU AbstractionLayer

ServiceLayer

Page 12: Why AUTOSAR - Vector

13

Standardization of Interfaces

Motivation for AUTOSAR

ECU Hardware

RTE

ActuatorSoftware

Component

AUTOSARInterface

ApplicationSoftware

Component

SensorSoftware

Component

ApplicationSoftware

Component

..............

AUTOSARSoftware

Basic Software

StandardizedInterface

AUTOSARInterface

AUTOSARInterface

AUTOSARInterface

MicrocontrollerAbstraction

StandardizedAUTOSARInterface

Services

StandardizedInterface

ECUAbstraction

AUTOSARInterface

StandardizedInterface

ComplexDeviceDrivers

AUTOSARInterface

StandardizedInterface

Communication

StandardizedInterface

StandardizedInterface

OperatingSystem

Sta

nd

ard

ize

dIn

tefa

ce

AUTOSARSoftware

Component

Interface

ECUFirmware

StandardSoftware

Source: http://www.autosar.org

Page 13: Why AUTOSAR - Vector

14

Standardization of Exchange Formats

Motivation for AUTOSAR

BUS Protocols

LDF

DBC

FIBEX

DBC

FIBEX

System Description/ECU Extract

(AutosaR XMLformat)

(AutosaR XML format)

ECUC Configuration

ECUC Configuration

ECUC Configuration

ECUC Configuration

ECUC Configuration

Page 14: Why AUTOSAR - Vector

16

Standardization of Methodology

Motivation for AUTOSAR

VFB

Virtual Function Bus

SWC1

SWC2 SWC3

Software Component Description*

SW functionality of the vehicle is defined as a

system of SWCs ...

ECU1

SWC1

SWC2

ECU2

SWC3

System Description*

… and mapped to ECUs

An extract is created for each

ECU...

ECU1

SWC1

SWC2

Extract of System Description*ECU Configuration

Description (ECUC)* *

SWC1 SWC2

Basic Software (BSW)

RTE

The ECU is configured in detail

Page 15: Why AUTOSAR - Vector

17

AUTOSAR Workflow with OEM and TIER1

Motivation for AUTOSAR

u Interface between OEM* and TIER1*: ECU Extract of System Description (ECUEX)

u OEM creates ECUEX based on vehicle system design

u TIER1 configures AUTOSAR ECU based on ECUEX

TIER1xml

ECU Extract of System

Description

OEM

*Note: “OEM” and “TIER1” may also be organizational units within one company (“System Responsible” vs. “ECU responsible”)

Page 16: Why AUTOSAR - Vector

18

Objectives - Achieved

Motivation for AUTOSAR

u Reusability of functions over different vehicles.

Function Library

Seat Adjustment A

Seat Adjustment B

Lighting

Seat Heating

Air Conditioning

Vehicle A

Code Generation

Vehicle B

Hardware Topology

Distributed System

Software Configuration

Page 17: Why AUTOSAR - Vector

19

Motivation for AUTOSAR

u AUTOSAR roadmap and history

Vector and AUTOSAR

Advantages of MICROSAR

Agenda

Page 18: Why AUTOSAR - Vector

20

AUTOSAR roadmap and history

(AUTomotive Open System ARchitecture)

is a worldwide development partnership of car manufacturers, suppliers and other companies from the electronics, semiconductor and software industry.

Page 19: Why AUTOSAR - Vector

21

AUTOSAR Partnership

AUTOSAR roadmap and history

Core Partners

Development Partners

Associate Partners

Premium Partners

Generic TIER 1

Attendees

Tools and Services

Semi-conductor

Standard Software

Vector Informatik GmbH

Page 20: Why AUTOSAR - Vector

22

AUTOSAR Partnership

AUTOSAR roadmap and history

2010.10.19: up-to-date status see www.autosar.org

Page 21: Why AUTOSAR - Vector

23

History

AUTOSAR roadmap and history

u AUTOSAR 2.0

u specifications on components (BSW and RTE)

u AUTOSAR 2.1

u includes specifications on development methodology and templates

u first descriptions for application interfaces (body and interior electronics)

u AUTOSAR 3.0

u > 20 compositions from the body, powertrain, and chassis domain

u Specifications of standardized application interfaces (powertrain, chassis domain)

u harmonized the concept for wakeup of ECUs and startup of networks

u state managers for the bus systems CAN, LIN, and FlexRay added

u AUTOSAR 3.1

u OBDII (new revisions of the DCM, DEM, FIM specifications,…)

Release 2.090 files

Release 2.1120 files

Release 3.0 Release 3.1141 files

Release 4.0183 files

2006-05 2007-03 2008-05 2008-09 2009-122002-08

Initialdiscussions

Future

Maintenance

existing Releases

Page 22: Why AUTOSAR - Vector

24

History

AUTOSAR roadmap and history

u AUTOSAR 4.0 Rev1 (2009-12)

u Functional Safety (Memory Partitioning, Time Determinism, Program Flow Monitoring, E2E, BSWM Defensive Behavior, Dual µC, E-Gas Monitoring)

u Architectural Improvements (Error Handling, Multi Core, Boot loader Interaction)

u RTE enhancement (Triggered Events, Integrity and Scaling at Ports, API Enhancement)

u COM (LIN 2.1 Spec, FR 3.0 Spec , FlexRay ISO TP, XCP for ASR, Large Data Types, TCP/IP + DoIp, J1939Tp, TTCAN)

u Functional (NM coordination, ASR Scheduler)

u Conformance Test specifications (CT Specs, only Rev1 and Rev2, but not >Rev2)

u AUTOSAR 3.2 Rev1 (2011-05)

u Partial Networking

u Robustness Features (state manager modules)

u Improvement of error handling (e.g. production vs. development errors)

u Back-porting of AUTOSAR 4.0 features into AUTOSAR 3.2> Parts of the Safety Concept (E2E communication protection) > Extended CDD Concept > BSW Mode Manager > FlexRay ISO TP

Release 4.0Rev1

Release 4.0Rev2

2009-12 2011-04

Future

Maintenance

existing Releases

Release 3.2Rev1

2011-05

Release 4.0Rev3

2012-01

Release 3.2Rev2

2012-06

Release 4.1Rev1

2013-03

Release 4.2Rev1

2014-10

Release 4.2Rev2

2014-07

Page 23: Why AUTOSAR - Vector

26

Motivation for AUTOSAR

AUTOSAR roadmap and history

u Vector and AUTOSAR

Advantages of MICROSAR

Agenda

Page 24: Why AUTOSAR - Vector

27

History/Facts

Vector and AUTOSAR

u History

u AUTOSAR Premium Member since 2004

u Support AUTOSAR 3 solution since 2008

u Support AUTOSAR 4 solution since 2013

u Facts

u Contribution in 16 work packages

u More than 1500 person years of engineering invested

u 1st delivery of AUTOSAR 3 BSW in Mar.2008 and 1st SOP in 2010

u > 500 serial production projects

u Most used solution in the world

u More than 250 engineers are working on Vector AUTOSAR solution

2004 2006 2008 2010 2012 2014 2016

AUTOSAR Premium Member

AUTOSAR 3

AUTOSAR 4

2018

Page 25: Why AUTOSAR - Vector

28

Motivation for AUTOSAR

AUTOSAR roadmap and history

Vector and AUTOSAR

u Advantages of MICROSAR

Agenda

Page 26: Why AUTOSAR - Vector

29

MICROSAR – The Vector Solution for AUTOSAR ECU Software

Advantages of MICROSAR

RTE

Service Layer

ECU Abstraction Layer

Microcontroller Abstraction Layer

u MICROSAR Consists of RTE and Basic Software Modules

u Covers all aspects of the AUTOSAR Standard

u Many Extensions and Add-Ons.

Page 27: Why AUTOSAR - Vector

30

MICROSAR Basic Software at a glance

Advantages of MICROSAR

V4.3

Page 28: Why AUTOSAR - Vector

31

MICROSAR Basic Software at a glance

Advantages of MICROSAR

V4.3

Page 29: Why AUTOSAR - Vector

32

The MICROSAR Solution consists of packages that contain the

BSW ModulesContent

MICROSAR MCAL Driver for driving the microcontroller periphery

MICROSAR CAN Basic software modules for CAN communication

MICROSAR COM Basic software modules for network-independent communication and gateways

MICROSAR EXT Driver for driving external chips

MICROSAR FR Basic software modules for FlexRay communication

MICROSAR DIAG Basic software modules for diagnostics

MICROSAR IO Interface between the microcontroller periphery and the application

MICROSAR AVB Basic software modules for Audio/Video communication via Ethernet

MICROSAR AMD Monitoring and debugging of application and MICROSAR BSW

… …

… …

MICROSAR Basic Software Packages

Advantages of MICROSAR

Page 30: Why AUTOSAR - Vector

33

u Full range of AUTOSAR BSW modules

u Available for production use

u Available for AUTOSAR 4.x and 3.x

u Safety-relevant projects up to ASIL-D

u With security features according to AUTOSAR 4.3

u User-selectable configuration (pre-compile, link-time or post-build)

u Supports multiple ECUs for many platforms incl. multicore microcontrollers

Vector Product for Classic AUTOSAR

Advantages of MICROSAR

MICROSAR

Page 31: Why AUTOSAR - Vector

34

Features Recently Developed

Advantages of MICROSAR

MICROSAR4

u BSW-Split Option

u Allows Ethernet Stack to be mapped to a dedicated core

u Software Download (Over-the-air)

u Allows flash image download at application runtime

u Interaction with the Vector Bootloader for image activation

u Solution available for several OEMs

u Security

u AUTOSAR 4.3 Security Solution (incl. CSM, SECOC, CRYIF, CRYPTO)

u Key- and Freshness Value Management available for all relevant OEMs

u vHSM: execution of algorithm on a dedicated crypto core

u SOME/IP Transport Protocol

u Smart Charging

u Protocol ISO15118 BPT (Bi-directional Power Transfer)

u Protocol ISO15118 WPT (Wireless Power Transfer)

u ETH

u support of QBV according IEEE802.1

u support of RTP (Realtime Transport Protocol)

MICROSAR

Page 32: Why AUTOSAR - Vector

35

Features Under Development

Advantages of MICROSAR

MICROSAR4

u vHSM Firmware Update

u Mirroring according to AUTOSAR 4.4

u CAN-CAN

u CAN-LIN

u ETH: SJA1105Q SRP Brige (Stream Reservation Protocol)

u Optimized message routing in PduR

MICROSAR

19Q3 19Q4

2019

20Q1 20Q219Q219Q1

2020

20Q3

Page 33: Why AUTOSAR - Vector

36

Features Coming Next

Advantages of MICROSAR

MICROSAR4

u Secure communication using IPSec and IKIv2

u ECU authentication according to IEEE802.1x

u AUTOSAR 4.4 KeyM (certificate parsing)

MICROSAR

19Q3 19Q4

2019

20Q1 20Q219Q219Q1

2020

20Q3

Page 34: Why AUTOSAR - Vector

37

AUTOSAR Workflow

Advantages of MICROSAR

VFB

Virtual Function Bus

SWC1

SWC2 SWC3

Software Component Description*

Complete SW functionality of the

vehicle is defined as a system of

SWCs...

ECU1

SWC1

SWC2

ECU2

SWC3

System Description*

… and distributed to ECUs

An extract is created for each

ECU...

ECU1

SWC1

SWC2

Extract of System Description*ECU Configuration

Description (ECUC)**

SWC1 SWC2

Basic Software (BSW)

RTE

The ECU is configured based on the ECU Extract.

PR

EEvis

ion

DaV

inciD

evelo

per

DaV

inciC

on

fig

urato

r P

ro

PR

EEvis

ion

DaV

inciD

evelo

per

PR

EEvis

ion

Page 35: Why AUTOSAR - Vector

38

Complete tool chain for all phases of the development

Advantages of MICROSAR

Basic Software (BSW)

RTE

Application Software Development

PREEvision

DaVinci Developer

SWC Design

vVIRTUALtarget pro

SWC Execution and Test

ECU SW Integration

DaVinci Configurator Pro

vVIRTUALtarget basic

BSW/RTE Configuration

Virtual Integration

Application Software Verification

CANoe & VT System

vVIRTUALtarget pro

SWC Verification in Virtual Environment

SWC Verification within Real ECU

AUTOSAR ECU/System

AUTOSAR ECU/System

AUTOSAR ECU

System Design

PREEvision

CANdelaStudio

Architecture and Communication Design

Diagnostics Design

SWC1 SWC3

SWC2

SWC1 SWC3

SWC2

SWC1 SWC2ECU SW Verification

CANoe.AMD

ECU Monitoring and Debugging

System Verification

CANape

ECU Calibration

CANoe & CANoe.DiVa

Verification of Network Communication and Diagnostic Behavior

Page 36: Why AUTOSAR - Vector

39

Workflow for ECU development

Advantages of MICROSAR

DaVinciConfigurator ProProject

Setup and Update

ECU-C

BSW/RTEConfiguration,SWC Integration

LegacyFiles

arxml

Input Files

SWC Design, SWC Integration

ECU-EX

DaVinciConfigurator Pro

DaVinci Tools

Gen.Code Files

Report Files

Output Files

BSWModules

bswmd

PREEvision

Script

Code Generation

CANdelaStudio

StaticCode Files

DaVinci DEV

MICROSARor custom modules

SYS-EX

Project Files

Report Files

Page 37: Why AUTOSAR - Vector

40 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V0.1 | 2019-07-09

Author:Mullangi, DivyakanthVector Germany

For more information about Vectorand our products please visit

www.vector.com