vector webinar autosar basics 20121009 en
TRANSCRIPT
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01 2012-09-27
Webinar 2012-10-09
“ECU development with AUTOSAR” An introduction for AUTOSAR beginners
Your speaker today:
Marco Gerschek
General Information
Working for the Vector Product Line Embedded Software as Team Leader Sales
MICROSAR, CANbedded, Flashing, Real-Time Operating Systems and related services
Contact:
Phone: +49 711 80670-3836
Email: [email protected]
General Information
Duration: approx. 30 minutes
Questions:
> Please use the Q&A features of Webex
> Question will be answered after the presentation
> Or send us later on your questions
A link to the presented slides will be sent by e-mail to all registered participants after this event
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
Agenda
General Information
> Why AUTOSAR
Introduction to AUTOSAR
Vector AUTOSAR Solution
OEM Solutions
Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
Why AUTOSAR
The challenge:
E/E complexity is growing fast
Quantity of software is exploding
Many different hardware platforms are used
Development processes and data formats are not harmonized
The main objective of AUTOSAR:
Improve software quality and reduce costs by re-use
Re-use of functions across carlines and across OEM boundaries
Re-use of basic software
Re-use of development methods and tools
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
Why AUTOSAR
History Embedded Software at Vector
Diagnostics
OS
CAN + NM
FBL
LIN
Projects
FlexRay
MEM
1994 1998 2000 2002 2004 2006 2008 2010 1996 2012 2014
AUTOSAR 3
Safety
Smart Charging
Monitor & Debug
Ethernet/IP
OBD
Security
AUTOSAR 4
Vector was the first independent vendor of
Basic Software
2004: AUTOSAR Member
2007: 1st AUTOSAR Release
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
Why AUTOSAR
Example CANbedded Communication Stack
HIS (German: Hersteller Initiative Software) ('OEM software initiative') an interest group consisting of the car manufacturers Audi, BMW, DaimlerChrysler HIS (German: Hersteller Initiative Software) ('OEM software initiative') an interest group consisting of the car manufacturers Audi, BMW, DaimlerChrysler
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Agenda
General Information
Why AUTOSAR
> Introduction to AUTOSAR
Vector AUTOSAR Solution
OEM Solutions
Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Introduction to AUTOSAR
AUTOSAR Partnership
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
Standardize Development Process and exchange formats
>>> Methodology + Templates
Standardize Functionality
>>> Functional Interfaces
Specify a clear interface between basic software modules and application
>>> RTE
Define open reference architecture for ECU software
>>> Basic Software
AUTOSAR Runtime Environment (RTE)
Application Layer
Complex Drive
rs
Microcontroller
SYS Drivers
Memory Drivers
I/O Drivers
I/O Hardware
MEM
MEM
SYS
COM Drivers
CAN/LIN /FR
Communication
Services
System Services
Targets and Goals
Introduction to AUTOSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
VFB
Virtual Function Bus
SWC1
SWC2 SWC3
ECU1
SWC1
SWC2
ECU2
SWC3
System Description*
Extract of System Description* ECU Configuration Description (ECUC)*
Introduction to AUTOSAR
Software Component Description*
*
SWC1 SWC2
Basic Software (BSW)
RTE
Complete SW functionality of the vehicle is defined as a system of SWCs...
..and distributed to ECUs
An extract is created for each ECU...
The ECU is configured based on the ECU Extract.
ECU1
SWC1
SWC2
AUTOSAR Workflow
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
Introduction to AUTOSAR
AUTOSAR …
… is a key enabler for high performance electronic systems
… is a broadly used standard in Europe
AUTOSAR 3.x:
First specification: 2007
Mature solution used for series production 2010ff
Adaptations necessary OEM-specific extensions
AUTOSAR 4.x:
First specification: 2009
First mature specification: 2012 (4.0.3)
4.0.3 is the right version for development start in 2012
New functions: safety, variant handling, Ethernet/IP, multicore, …
AUTOSAR Status
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13
Agenda
General Information
Why AUTOSAR
Introduction to AUTOSAR
> Vector AUTOSAR Solution
OEM Solutions
Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14
Vector AUTOSAR Solution
RTE Configuration BSW Configuration
DaVinci Configurator Pro
ECU Monitoring and Debugging
CANoe.AMD
ECU-/System-Test
CANoe
Calibration
CANape
SWC Unit Test
DaVinci Component Tester
SWC1
SWC2
SWC3
SWC1
SWC2
SWC3
SWC1
Basic Software (BSW)
RTE
AUTOSAR ECU
SWC Detailed Design
(RTE Configuration)
DaVinci Developer
Logical & Software Architecture Design
PREEvision
Development of Application Software
Virtual Integration Platform (VIP)
SWC2
AUTOSAR Toolset
S1 S2
S1 S2
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15
VFB
Virtual Function Bus
SWC1
SWC2 SWC3
ECU1
SWC1
SWC2
ECU2
SWC3
System Description*
Extract of System Description* ECU Configuration Description (ECUC)*
Vector AUTOSAR Solution
Software Component Description*
*
SWC1 SWC2
Basic Software (BSW)
RTE
Complete SW functionality of the vehicle is defined as a system of SWCs...
..and distributed to ECUs
An extract is created for each ECU...
The ECU is configured based on the ECU Extract.
ECU1
SWC1
SWC2
AUTOSAR Workflow
PR
EEvis
ion
PR
EEvis
ion
PR
EEvis
ion
D
aV
inci D
evelo
per
DaV
inci D
evelo
per
DaV
inci C
on
fig
urato
r P
ro
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16
Vector AUTOSAR Solution
Workflow AUTOSAR 4.x
DBCLDF
Input files provided by OEM
Contains communicationinformation, neededfor the ECU
.c .hRTE header and code filesSWC header files
Software Component Description files
.xmlEmbedded Coder
TargetLink
.cdd/.odx
CANdela Diagnostic Data
Other AUTOSAR tools
.c .hBSW module configuration header and code files
Fibex
.XML
ECU Extract of System Description provided by OEM
Contains system information, needed for the
ECU
DaVinci Developer
PREEvision
DaVinci Configurator Pro
Configuration of RTE + BSW
ECU Extract of System Description
ECU ConfigurationDescription
.xml
.xml
SystemDesc Conversion
Base ECUC Generation
Editing and
Generation
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17
Vector AUTOSAR Solution
MICROSAR Basic Software – Architecture
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 19
The following slides shall give an overview about Vector‘s AUTOSAR Basic Software to be used in safety related ECUs
Assumptions
ECU contains SW that fulfills safety requirements: „ASIL Software“
ECU contains SW that is developed acc. lower ASIL than the Safety Software: „QM Software“
The general considerations can be carried over from this simplified example to more complex systems with different ASILs (e.g. QM + ASIL-B + ASIL-D)
Goal
Find an optimal architecture to minimize the amount of software that has to be developed acc. to the highest ASIL
Avoid “ASIL lift-up”
Vector AUTOSAR Solution
MICROSAR Safe - Introduction
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 20
Vector AUTOSAR Solution
MICROSAR Safe - Introduction
ASIL Software needs to have a sufficiently low rate of systematic failures - ensured by measures like
process & development methods and
additional safety mechanisms (redundancy / plausibility-checks) in case of complex algorithms
as defined in ISO 26262 Part 6
Functional Safety Requirements for ECU SW
ECU Safety Concept
Safety Software
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 21
Safety Software
Vector AUTOSAR Solution MICROSAR Safe - Safety Software is Object to interference Threats of other elements
Functional Safety Requirements for ECU SW
ECU Safety Concept
Freedom from Interference has to be ensured
QM Software
HW
syst. faults random faults
syst. faults
1. Memory
2. CPU Time
3. Communication
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 22
Project specific qualification
1. Qualification
SilentBSW
QM Sub-elements do not interfere with ASIL sub-elements
4. Silence
2. Defense
ASIL Software protects itself against interference
Vector AUTOSAR Solution
MICROSAR Safe - Options to ensure Freedom from Interference
QM Software
Safety Software
HW
Additional mechanisms block/detect interference
SafeContext SafeWatchdog SafeCOM
3. Barriers
syst. faults random faults
syst. faults
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 23
Vector AUTOSAR Solution
MICROSAR Safe Modules - Cooperation TTTech & Vector
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 25
Agenda
General Information
Why AUTOSAR
Introduction to AUTOSAR
Vector AUTOSAR Solution
> OEM Solutions
Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 26
OEM Solutions
SOP of a complete AUTOSAR solution (BSW + RTE)
2010 2011 2012 2013 2014 2015 2016 …
AUTOSAR 3.x
AUTOSAR 4.x
AUTOSAR 3.x is used in serial production projects by: Audi & Volkswagen BMW Daimler Fiat / Chrysler Volvo Trucks…
AUTOSAR 4.x is used in serial production projects by: BMW Volvo Car
Use of AUTOSAR 4.x is announced by
Ford GM PSA Toyota
Current Status
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 27
Application M
IC
RO
SA
R O
S
MICROSAR RTE
MIC
RO
SA
R I
O
Complex
Drivers
MIC
RO
SA
R S
YS
MICROSAR COM
MIC
RO
SA
R M
EM
MIC
RO
SA
R C
AN
MIC
RO
SA
R L
IN
MIC
RO
SA
R F
R
MICROSAR CAL3
Microcontroller
OS
COMM
CRC
DET
ECUM
SCHM
WDGM
WDGIF
NVM
MEMIF
EA
FEE
COM IPDUM NM PDUR
J1939TP1
CANTP
CANNM
CANSM
CANIF
LINTP2
LINSM
LINIF
FRTP
FRNM
FRSM
FRIF
IOH
WAB
GPTD
RV
WD
GD
RV
MC
UD
RV
FLSD
RV
EEPD
RV
CAN
DRV
LIN
DRV
SPID
RV
FRD
RV
ICU
DRV
PW
MD
RV
AD
CD
RV
DIO
DRV
PO
RTD
RV
1Available extensions for AUTOSAR 3.x 2Option included in LINIF
3 Hardware dependent
Daimler SLP
Daimler HLP available for preferred platforms
Vector MICROSAR product
Service by Vector
Flash
Boot
Loader
Flash
Boot
Loader
Not used for OEM
DEMSC ROELITE
MICROSAR EXT3
DRVEXT
3
CAN
TRC
V
LIN
TRC
V
FRTRC
V
XC
P1
XCP
MIC
RO
SA
R D
IA
G
DCM
DEM
FIM
MIC
RO
SA
R I
P1
SOAD
IPBASE
ETHIF
ETHSM
ETH
TRC
V1
ETH
DRV
1
ETHXCP1 FRXCP1
CANXCP1
Daimler SLP10 Overview
OEM Solutions
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 28
BMW BAC4.0 Overview
OEM Solutions
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 29
Application
MIC
RO
SA
R D
IA
G
XC
P1
XCP
MICROSAR RTE
MIC
RO
SA
R I
O
Wrapper
MIC
RO
SA
R C
AN
MIC
RO
SA
R L
IN
MIC
RO
SA
R I
P1
MIC
RO
SA
R F
R
CANTP
CANNM
CANSM
CANIF
CANXCP1
LINTP2
LINSM
LINIF
FRTP
FRNM
FRSM
FRIF
SOAD
ETHXCP
IPBASE
ETHIF
FRXCP1
ETHSM
MIC
RO
SA
R M
OS
T1
MOST IF
DISP
SMSC Net Services
E2E Protection Wrapper
1 Available extensions for AUTOSAR 3.1 2 Option included in LINIF
3rd Party Vector Product
3rd Party distributed by VW
Flash
Boot
Loader
MIC
RO
SA
R O
S
MIC
RO
SA
R S
YS
OS MIC
RO
SA
R M
EM
NVM
MEMIF
EA
FEE
MICROSAR COM
COM IPDUM NM PDUR
Complex
Drivers
BAP
KS
MICROSAR CAL MICROSAR EXT
DRVEXT
1
CAN
TRC
V
LIN
TRC
V1
FRTRC
V
GPTD
RV
WD
GD
RV
MC
UD
RV
FLSD
RV
EEPD
RV
CAN
DRV
LIN
DRV
SPID
RV
FRD
RV
ICU
DRV
PW
MD
RV
AD
CD
RV
DIO
DRV
PO
RTD
RV
ETH
DRV
1
ETH
TRC
V1
MO
ST D
RV
1
Microcontroller
Wrapper
IOH
WAB
FIM
VW MQB Overview
COMM
CRC
DET
ECUM
SCHM
WDGM
WDGIF
E2E Lib
Crypto Lib
BSWM
UDS
SDS
DEH
OEM Solutions
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 30
Application
MIC
RO
SA
R D
IA
G
XC
P1
XCP
MICROSAR RTE
MIC
RO
SA
R I
O
Wrapper
UDS
SDS
MIC
RO
SA
R C
AN
MIC
RO
SA
R L
IN
MIC
RO
SA
R I
P1
MIC
RO
SA
R F
R
CANTP
CANNM
CANSM
CANIF
CANXCP1
LINTP3
LINSM
LINIF
FRTP
FRNM
FRSM
FRIF
SOAD
ETHXCP
IPBASE
ETHIF
FRXCP1
ETHSM
MIC
RO
SA
R M
OS
T1
MOST IF
DISP
SMSC Net Services
E2E Protection Wrapper
3rd Party AUTOSAR Stack MLBevo
3rd Party distributed by Audi
MIC
RO
SA
R O
S
MIC
RO
SA
R S
YS
OS
COMM
CRC
DET
ECUM
SCHM
WDGM
WDGIF
MIC
RO
SA
R M
EM
NVM
MEMIF
EA
FEE
MICROSAR COM
COM IPDUM NM PDUR
Complex
Drivers
BAP
KS
MICROSAR CAL MICROSAR EXT
DRVEXT
1
CAN
TRC
V
LIN
TRC
V1
FRTRC
V
GPTD
RV
WD
GD
RV
MC
UD
RV
FLSD
RV
EEPD
RV
CAN
DRV
LIN
DRV
SPID
RV
FRD
RV
ICU
DRV
PW
MD
RV
AD
CD
RV
DIO
DRV
PO
RTD
RV
ETH
DRV
1
ETH
TRC
V1
MO
ST D
RV
1
Microcontroller
Wrapper
DEH
IOH
WAB
E2E Lib
Crypto Lib
FIM
AUTOSAR Modules Vector
BSWM
1 Available extensions for AUTOSAR 3.x
2 BAM and CMDT Option available
3 Option included in LINIF
Not used for OEM
Flash
Boot
Loader
Audi MLBevo Overview
OEM Solutions
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 31
Application
MIC
RO
SA
R O
S
MICROSAR RTE
MIC
RO
SA
R I
O
Complex
Drivers
MIC
RO
SA
R S
YS
MIC
RO
SA
R D
IA
G MICROSAR COM
MIC
RO
SA
R M
EM
MIC
RO
SA
R C
AN
MIC
RO
SA
R L
IN
XC
P1
MIC
RO
SA
R I
P1
MIC
RO
SA
R F
R
MICROSAR CAL MICROSAR EXT
Microcontroller
OS
COMM
DET
ECUM
SCHM
WDGM
WDGIF
DCM
DEM
FIM
XCP
NVM
MEMIF
EA
FEE
COM IPDUM NM PDUR
J1939TP1,2
LINTP3
LINSM
LINIF
FRTP
FRNM
FRSM
FRIF
SOAD
ETHXCP
IPBASE5
ETHIF
IOH
WAB
DRVEXT
1
CAN
TRC
V
LIN
TRC
V1
FRTRC
V
GPTD
RV
WD
GD
RV
MC
UD
RV
FLSD
RV
EEPD
RV
CAN
DRV
LIN
DRV
SPID
RV
FRD
RV
ICU
DRV
PW
MD
RV
AD
CD
RV
DIO
DRV
PO
RTD
RV
ETH
DRV
1
FRXCP1
ETH
TRC
V1
ETHSM
1 Available extensions for AUTOSAR 3.x
2 BAM and CMDT Option available
3 Option included in LINIF
4 Includes CAL, CPL and CRC
5 Includes Socket, DHCP (Client), UDP, TCP, ICMP, ARP and IPV4
FRISOTP1
MIC
RO
SA
R M
OS
T1
MOST IF
MO
ST D
RV
1
DISP
Network Services Library
FGA AUTOSAR Stack
Vector MICROSAR product
FGACDD
BSWM Flash
Boot
Loader
CRC
Service by Vector
CANTP
CANNM
CANSM
CANIF
CANXCP1
ClassB NM
FGA module Not used by FGA
OEM Solutions
FIAT FGA – Overview (II)
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 32
Agenda
General Information
Why AUTOSAR
Introduction to AUTOSAR
Vector AUTOSAR Solution
OEM Solutions
> Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 33
Services related to MICROSAR
Overview
Embedded Standard Software Technical Consulting
Engineering Services Product Services
Extend of service
Customer specific projects
Training, Installation,
Support, Reviews
Coaching
Workshops, Concepts
System Functions and Software Integration
CANbedded, MICROSAR
CANbedded, MICROSAR
CANbedded, MICROSAR
Complete ECU Software
CANbedded, MICROSAR
Extended Integration
Package
CANbedded, MICROSAR
CANbedded, MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 34
Legacy
“Zugspitze ” “Mount Everest”
“Great view from the top -
worth climbing up!”
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 35
35
Webinar Series
The webinar series about AUTOSAR (http://www.vector.com/vi_autosar_webinars_en.html):
2012-10-09 ECU development with AUTOSAR - An introduction for AUTOSAR beginners
2012-10-16 Introduction to the AUTOSAR Method for ECU development
2012-10-23 AUTOSAR Configuration Process - How to handle 1000s of parameters
2012-10-30 Reliable Testing of AUTOSAR ECUs (in preparation)
2012-12-10 MICROSAR Safe: AUTOSAR basic software for safety-relevant ECUs (ISO 26262)
Various Webinars on MICROSAR OS – the AUTOSAR operating system from Vector http://www.vector.com/vi_operatingsystems_webinars_en.html
Registration to the upcoming Webinars and the list of recorded Webinars: http://www.vector.com/vi_webinars_en.html
The overview of Vector’s training services: http://www.vector.com/vi_training_en.html
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 36
Thank you for your attention.
For detailed information about Vector and our products please visit
www.vector.com
Author:
Marco Gerschek
Vector Informatik GmbH