Webinar slides: The Vector Embedded Ethernet Stack and its Use

Webinar slides: The Vector Embedded Ethernet Stack and its Use
 PES Solution Ethernet
The Vector Embedded Ethernet-Stack and its Use-Cases
© 2014. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 1.03.04
2014-10-07
PES Solution Ethernet Overview
The PES Solution Ethernet comprises:



Ethernet – MICROSAR.ETH

Service Discovery, SOME/IP

UDP Network Management

Signal- and PDU-based communication

Diagnostics over Internet Protocol, Flashbootloader

XCP on Ethernet, XCP Routing

Mirroring
Vehicle-to-Grid – MICROSAR.V2G

Smart Charge Communication

Customer-specific functions
Audio/Video Bridging – MICROSAR.AVB

Audio/Video Transport Protocol

Generalized Precision Time Protocol / Best Master Clock Algorithm
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 2/50
Agenda
PES Solution Ethernet Overview
> AUTOSAR and MICROSAR Software Architecture
2
4
MICROSAR.ETH
11
MICROSAR.V2G
35
MICROSAR.AVB
38
Summary
42
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 3/50
AUTOSAR and MICROSAR Software Architecture
E2E Protection
Wrapper
Application
RTE
SCHM
OS
SYS
DIAG
MEM
COM
OS
BSWM
DCM
EA
COM
LDCOM
IPDUM
NM
COMM
DEM
FEE
COMXF
SOMEIPXF
E2EXF
SECOC
CSM (CRY)
FIM
MEMIF
DET
J1939DCM
NVM
IOHWAB
CAL (CPL)
CRC
E2E
LIN
FR
ETH
V2G1
J1939TP
LINXCP1
FRXCP
ETHXCP
DNS
J1939NM
LINTP
FRTP
UDPNM
EXI
J1939RM
AMD
LINNM
FRARTP
SD
HTTP
CANXCP
LINSM
FRNM
DOIP
SCC
DBG
CANTP
LINIF
FRSM
SOAD
TLS
DLT
CANNM
FRIF
TCPIP
XML Security
RTM1
CANSM
FRTSYN
ETHSM
STBM
TM
WGDM
LIBS
CAN
ECUM
WGDIF
PDUR
IO
CANIF
ETHIF
CANTSYN
ETHTSYN
Complex
Driver
AVB1
AVTP
BMCA
XCP1
PTP
MCAL
EXT
ADCDRV
EEPDRV
FLSTST
IICDRV1
PORTDRV
SPIDRV
CANTRCV
CANDRV
ETHDRV
FRDRV
LINDRV
PMWDRV
WDGDRV
DRVEXT2
CORTST
ETHSWT
GPTDRV
MCUDRV
RAMTST
ETHTRCV
OCUDRV
SHEDRV1
FRTRCV
DIODRV
FLSDRV
ICUDRV
LINTRCV
Microcontroller
Vector Standard Software
3rd Party Software
1
2
Available extensions for AUTOSAR
Includes EXTADC, EEPEXT, FLSEXT, ETHSWTEXT and WDGEXT
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 4/50
AUTOSAR and MICROSAR Software Architecture
Ethernet Communication Stack

ETH – Ethernet Driver
>

COMM
ETHIF

ETHSWT
ETH
ETHTRCV – Ethernet Transceiver Driver
>
ETHSM
ETHTRCV


Uniform API to access all Ethernet controllers
of the same type
Uniform API to access all Ethernet transceivers
of the same type
ETHSWT – Ethernet Switch Driver
>
Configuration of Ethernet switches – e.g. Virtual
Local Area Networks (VLANs) and routing tables
>
Uniform API to access all Ethernet switches of the
same type (ETHSWTEXT for external switches
which are configured e.g. via SPI)
ETHIF – Ethernet Interface
>
Hardware independent interface to access all
Ethernet drivers and Ethernet transceiver drivers
>
Handling of different VLANs
ETHSM – Ethernet State Manager
>
Enabling and disabling of Ethernet controller and
Ethernet transceiver to switch on or off Ethernet
communication
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 5/50
AUTOSAR and MICROSAR Software Architecture
Ethernet Communication Stack

PDUR
TCPIP – TCP/IP stack
>
IPv4/IPv6 – Internet Protocol version 4/version 6
(IPv4 and IPv6 can be used in parallel on the
same ECU)
>
ARP – Address Resolution Protocol (IPv4)
>
NDP – Neighbor Discovery Protocol (IPv6)
>
ICMPv4/v6 – Internet Control Message Protocol
>
UDP – User Datagram Protocol
>
TCP – Transmission Control Protocol
>
DHCPv4/v6 – Dynamic Host Configuration
Protocol
SOAD
COMM
TCPIP
ETHSM
IPv4, ARP, ICMPv4
IPv6, NDP, ICMPv6
UDP, TCP, DHCPv4, DHCPv6
ETHIF
ETHSWT
ETH
ETHTRCV

>
v4: Client and Server
>
v6: Client only
SOAD – Socket Adaptor
>
Transformation of socket-based into AUTOSAR
PDU-oriented communication
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 6/50
AUTOSAR and MICROSAR Software Architecture
Supported Hardware



Microcontrollers / Ethernet controllers
>
MPC (FEC and ENET)
>
TriCore, Aurix
>
V850, RH850
>
Jacinto 6 (incl. switch functionality)
>
AR7000 (Powerline communication)
>
CANoeEmu (Simulating an Ethernet controller within a CANoe DLL)
Ethernet transceivers
>
BCM89810 (BroadR-Reach)
>
DP83848 (100BASE-TX)
>
AR7000 (Powerline communication)
>
CANoeEmu (Simulating an Ethernet transceiver within a CANoe DLL)
>
Generic (Support of all transceivers which have a MII interface)
Ethernet switches
>
BCM89501 (BroadR-Reach)
Further controllers, transceivers and switches can be supported on request!
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 7/50
AUTOSAR and MICROSAR Software Architecture
Supported Hardware
Ethernet Switches


Automotive Ethernet switches offer different configuration possibilities
>
VLAN
>
Forwarding tables
>
Queuing mechanisms
>
…
AUTOSAR architecture fits to all known Ethernet switch architectures
µC
µC
MAC
Switch Engine
µC
Switch Engine
MAC
MAC
SPI
MAC
(config.
only)
Switch
PHY
PHY
PHY
PHY
MAC
MAC
PHY
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 8/50
MAC
PHY
Agenda
PES Solution Ethernet Overview
2
AUTOSAR and MICROSAR Software Architecture
4
> MICROSAR.ETH
11
MICROSAR.V2G
35
MICROSAR.AVB
38
Summary
42
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 10/50
MICROSAR.ETH
In-Vehicle Ethernet Communication
Service Discovery (SD)

Service-oriented communication scheme instead of a classical signal-oriented
approach

What is a “Service”?


>
A Service can contain “Methods” which can be called by other ECUs, this mechanism is
known as Remote Procedure Call (RPC)
>
A Service can contain “Events” to which other ECUs can subscribe to be informed about
changes or updates
>
There are Service providers (servers) and Service consumers (clients)
What is the purpose of Service Discovery?
>
A provider announces the availability and implicitly the location of a Service via Service
Discovery to other ECUs
>
A consumer knows the availability of a Service, can call Methods and can subscribe to
offered Event groups
Service Discovery was first specified in AUTOSAR 4.1.1
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 11/50
MICROSAR.ETH
In-Vehicle Ethernet Communication

Advantages
>
Avoid sending of invalid signals
>
>

Server
Save bandwidth
Avoid sending multi- and broadcasts
but use unicast
>
Client
Save bandwidth on alternative
communication paths (use advantage
to Ethernet as a switched network)
>
Reduce CPU load
>
Dynamic relocation of Services possible
Modes
>
Announce on startup
>
Query/Announce
>
Publish/Subscribe
Offer service
Call method
Get return values (if available)
Query service
Offer service
Call method
Get return values (if available)
Offer service
Subscribe to event group
Get notifications automatically
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 12/50
MICROSAR.ETH
In-Vehicle Ethernet Communication
Scalable Service-Oriented Middleware over IP (SOME/IP)

SOME/IP is an automotive
serialization protocol
>
>
Definition of a header format which
supports RPCs, i.e. calling a function
on a remote server ECU like it would
be executed on the own ECU
Definition how application data
shall be serialized to the
on-the-wire payload
>
>
>
Support of basic data types,
complex data types (e.g. C-struct),
static and dynamic array data types
Byte stream
val1_1
Structured data
struct
uint32 val1
float32 val2
uint8 arr[1..3]
Independent on endianness
Designed for AUTOSAR and
non-AUTOSAR ECUs
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 13/50
val1_2
val1_3
val1_4
val2_1
val2_2
val2_3
val2_4
length arr
arr_1
(arr_2)
(arr_3)
MICROSAR.ETH
In-Vehicle Ethernet Communication

SOME/IP does not require Service
Discovery and vice versa; however,
they are designed to work together
>
Methods calls can be performed via
SOME/IP messages
>
Event notifications can be sent via
SOME/IP messages
>

Service Discovery messages like ‘Offer’
and ‘Query’ use the SOME/IP header
SOME/IP was specified by BMW
>
Auxiliary document in AUTOSAR 4.1.1
>
SOME/IP will be specified in AUTOSAR 4.2.1
Client
Server
Server_Add(1, 2);
Serialize(1, 2);
Send serialized parameters
(uint8[]) to server
Deserialize(uint8[]);
Add(1, 2);
Serialize(3);
Send serialized return value
(uint8[]) to client
Deserialize(uint8[]);
Server_Add_Result(3);
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 14/50
MICROSAR.ETH
In-Vehicle Ethernet Communication
UDP Network Management (UDPNM)


Coordination of the transition between normal operation and bus-sleep mode of
an Ethernet network
>
Periodic broadcast messages are sent by nodes which want to keep the NM-cluster awake
>
No master node
>
Node detection (detect all present nodes in a network)
>
Ready sleep detection (detect if all nodes in a network are ready for bus-sleep mode)
>
Partial Networking support added with AUTOSAR 4.1.1
>
Similar to network management on CAN
No wake-up based on Ethernet communication possible
>
Additional bus connection or wake-up line necessary
>
Transceiver support missing
>
Power consumption in sleep mode is too high (all switches have to be powered up)
>
New transceivers will be available soon (2014)
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 15/50
MICROSAR.ETH
In-Vehicle Ethernet Communication
Signal-/PDU-based communication

Mapping of Signals onto a PDU and a PDU onto a frame
>
Similar to classical communication on CAN
Signals

PDU
Frame
Transmission and reception of multiple PDUs in one Ethernet frame to save
resources
>
Fan-out mechanism allows to transmit one PDU to several destinations via unicast
>
Location of a PDU within a frame is dynamic
>
Socket Adaptor adds and removes a small header to differentiate between PDUs which
comprises a PDU identifier and a length field
>
Different frame triggering mechanisms available
Header
PDU
Header
Frame (UDP packet)
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 16/50
Header
MICROSAR.ETH
In-Vehicle Ethernet Communication

RTE
RTE
SOME/IP
COM
LDCOM
SD – Service Discovery
>
Management of service states
>
Configuring communication paths over the Socket
Adaptor e.g. disable routing if service is not
available
BSWM
PDUR
COMM
SD

UDPNM
SOAD
SOME/IP – Scalable Service-Oriented
Middleware over Internet Protocol
>
Serialization of application data and
deserialization of received data
>
Since AUTOSAR 4.2.1 specified as RTE
transformer
>
Large Data COM (LDCOM) can be used to save
resources
TCPIP
ETHSM
IPv4, ARP, ICMPv4
IPv6, NDP, ICMPv6
UDP, TCP, DHCPv4, DHCPv6
ETHIF
ETHSWT
ETH

ETHTRCV
UDPNM – UDP Network Management
>
Coordinated shut down of Ethernet ECUs
>
Connection to NMIF is not shown in the figure
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 17/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration
Diagnostics over Internet Protocol (DoIP)


Use-cases
>
Diagnostics (repair shop, legislator)
>
ECU re-programming
Manufacturer: End of line programming
Repair shop: Software update
Engineering
test equipment
:
Advantages
>
High-speed access to vehicle ECUs
>
Gateway to existing bus systems
like CAN and FlexRay
>
Parallel flash download
>
Ethernet, TCP/IP as well-known technology
>
New possibility for production and
repair shop infrastructure (WLAN)
DoIP Diag. Message
Eth
IP
TCP
Ethernet switch &
WLAN access point
DoIP
UDS
…
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 18/50
Handheld
scan-tool
…
Eth
MICROSAR.ETH
Diagnostics, Measurement and Calibration

In-vehicle
Test
Equipment
External Test
Equipment
Ethernet / VLAN1
>
Diagnostics of all DoIP Nodes, DoIP Gateways
and ECUs behind the DoIP Gateways
(addressing via logical DoIP address)
>
Use VLANs to encapsulate vehicle-internal from
vehicle–external communication
Ethernet / VLAN2
Switch
1
2
3
Ethernet
CAN
ISO 13400
4
…
VLAN1,
VLAN2
Ethernet
VLAN2
(VLAN1),
VLAN2
DoIP
Gateway
DoIP Node
FlexRay
ECU
ECU
>
Possibly re-configure the switch during runtime
to make DoIP Nodes visible to the external test
equipment – after authentication to the DoIP
Gateway, otherwise the DoIP Gateway has to
route messages
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 19/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration

External Test
Equipment
In-vehicle
Test
Equipment
Ethernet / VLAN1
ISO 13400 does not specify DoIP-to-DoIP
routing (Ethernet behind the gateway)
>
VLAN1-to-VLAN2 conversion on the same
Ethernet port is also considered as routing
>
There are different possible solutions
Ethernet / VLAN2
>
Use plain UDS over TCP/IP without
additional protocol
>
Use subset of DoIP or other OEM-specific
protocol
>
DoIP Gateway implements a diagnostic
tester (emulation)
Switch
1
2
3
Ethernet
Ethernet,
Plain UDS
…
VLAN1,
VLAN2
DoIP
Gateway
Ethernet,
ECU
4
Ethernet,
DoIP
e.g. DoIP subset
ECU
DoIP Node
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 21/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration

Application
RTE
DOIP – Diagnostics over Internet Protocol
>
Implementation of ISO 13400-2
>
The handling of the DoIP protocol was specified
as Socket Adaptor plug-in in AUTOSAR 4.0.x and
became a separate module in AUTOSAR 4.1.x
DCM
PDUR

>
DOIP
SOAD
CANTP
COMM
TCPIP
ETHSM
ETHIF
CANIF
ETHSWT
CAN
ETH
ETHTRCV
PDUR – PDU Router
CAN
TRCV

Central module for PDU forwarding and routing
e.g. DoIP  Dcm and DoIP  CanTp
DCM – Diagnostic Communication Manager
>
Implementation of the diagnostic protocol (UDS)
>
Interaction with the Diagnostic Event Manager
(DEM) to get diagnostic event information
>
Interaction with the application over the RTE to
query diagnostic information and execute
procedures
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 24/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration
Ethernet Flashbootloader (FBL)

Fast ECU (re-)programming over Ethernet via DoIP
>



100MBit/s instead of max. 1MBit/s with CAN
Use-cases
>
End-of-line (EOL) ECU programming
>
After-sales ECU re-programming
>
ECU development
Properties
>
Independent application which remains
permanently in the ECU
>
The FBL is based on the MICROSAR.ETH
BSW modules, but the source code cannot
be shared between FBL and normal
application
>
Because of the special flash driver, the
FBL is a hardware dependent application
Diagnostic tester
e.g. PC-based
ECUs with Ethernet
flashbootloader
Vehicle access via
Ethernet (DoIP)
Offered as additional service
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 25/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration

Flashbootloader
DOIP
SOAD
ETHSM
TCPIP
Flashbootloader
>
Communication (COMM and PDUR) wrapper
>
Flash/EEPROM driver
>
FBL security module
>
FBL diagnostics
>
FBL application
ETHIF
ETHSWT
ETH
ETHTRCV
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 26/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration
Universal (X) Measurement and Calibration Protocol (XCP)

Successor of CCP – CAN Calibration Protocol

Used for measurement, calibration, bypassing and ECU re-programming

The XCP protocol is split into transport and protocol layer

>
The protocol layer is identical for all network technologies i.e. CAN, FlexRay, Ethernet, USB
>
The transport layer is specific for each network technology (different header and trailer data)
ASAM AE MCD-1 XCP V1.1.0
>
ASAM AE MCD-1 XCP V1.2.0 only adds CAN-FD as new transport layer, no functional changes
XCP on Ethernet
Eth
IP
UDP/TCP
XCP H.
XCP H.
= XCP Header (transport layer specific)
XCP P.
= XCP Packet (protocol layer)
XCP P.
…
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 29/50
…
Eth
MICROSAR.ETH
Diagnostics, Measurement and Calibration

CANape
XCP Master
XCP Routing
>
Due to its different transport layers, XCP has no
native support for routing
>
Vector has developed a solution for XCP routing
(Ethernet to CAN/FlexRay) together with an
OEM including embedded software (MICROSAR
ETH) and calibration tool (CANape)
Ethernet
Switch
1
2
3
4
…
Ethernet
Ethernet
CAN
XCP Gateway
XCP Slave
ECU
XCP Slave
FlexRay
ECU
XCP Slave
ECU
XCP Slave
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 30/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration

XCP Routing
>
Route XCP data from a XCP master over a gateway to multiple ECUs and back
>
Send XCP on CAN/FlexRay messages over Ethernet from a XCP master to the gateway
>
UDP or TCP can be used as transport protocol
>
Cascading of XCP on X messages possible
XCP Header
XCP Message (generic)
XCP on CAN Message
XCP Header
XCP on Ethernet Message
XCP Routing
Message
Eth
IP
UDP/TCP
XCP Packet
XCP Trailer
XCP Packet
XCP Trailer
XCP Packet
XCP RH.
XCP on X
XCP RH.
= XCP Routing Header (Vector-specific extension)
XCP on X
= XCP on CAN/FlexRay message
…
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 31/50
…
Eth
MICROSAR.ETH
Diagnostics, Measurement and Calibration
Mirroring

How can vehicle internal bus traffic be logged and analyzed if Ethernet is the only
access point to the vehicle and without additional logging equipment?

Solution: Mirroring of CAN/LIN/FlexRay bus traffic to Ethernet
>
Mirroring of complete communication
>
Simultaneous mirroring of all
connected busses possible
>
Multiple CAN/LIN/FlexRay messages
are packed in one Ethernet packet
>
Additional information is added to
the mirrored messages
>
Mirror functionality can be switched
on/off e.g. by a diagnostic command
>

Ethernet
Data
Logger
Gateway
Implementation as CDD above the
Socket Adaptor with direct access
to bus drivers
Analysis of mirrored data in CANoe
CAN 1
CAN 2
FlexRay
LIN 1
LIN 2
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 32/50
MICROSAR.ETH
Diagnostics, Measurement and Calibration
ETHXCP
MIRROR

ETHXCP – XCP on Ethernet
>
SOAD
SOAD

COMM
TCPIP
ETHIF

ETHSWT
ETH
SOAD – Socket Adaptor
>
ETHSM
Vector specific extensions to the AUTOSAR
specification
to support XCP routing and Mirroring
MIRROR – Mirroring
>
ETHTRCV
Ethernet specific transport layer of
ASAM AE MCD-1 XCP V1.1.0
Complex Driver above the Socket Adaptor with
direct access to communication drivers
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 33/50
Agenda
PES Solution Ethernet Overview
2
AUTOSAR and MICROSAR Software Architecture
4
MICROSAR.ETH
11
> MICROSAR.V2G
35
MICROSAR.AVB
38
Summary
42
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 34/50
MICROSAR.V2G
Simulation of car/on-board charger
Test automation
Smart Charge Communication (SCC)
SUT
charge station



VT System
When and how to charge an electric vehicle?
>
How much energy is available/required?
>
How to pay?
CANoe
Control Pilot
Powerline Comm.
Ethernet
Charging Power
Control
ISO 15118
>
AC and DC charging
>
Profile: Plug and Charge (PnC) – charging in a public environment with billing
>
Profile: External Identification Means (EIM) – “simple” charging
>
Value Added Services (VAS)
Electronic Load
DIN 70121
>
DC charging (similar to ISO DC EIM – no encryption, no payment)
Customer Specific Functions

If the vehicle is connected to the Internet e.g. via a charge spot, additional webservices may be available or implemented by using e.g. HTTP
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 35/50
Optional:
sinking
real power
MICROSAR.V2G
RTE

RTE
TLS – Transport Layer Security
>
COM
COMM
COM
SCC
Customer Functions
V2GTP,
SCC, EXI,
XML Sec.
HTTP
TLS

IPv4, ARP, ICMPv4
IPv6, NDP, ICMPv6
UDP, TCP, DHCPv4, DHCPv6
>
Implementation of the V2GTP (Vehicle-to-Grid
transport protocol)
>
Efficient XML Interchange (EXI) and XML Security
are implemented in separate modules
DNSv4/v6 – Domain Name Service
>

ETHIF
ETHTRCV

Resolver only: Resolution of URLs into IP
addresses (IPv4/IPv6)
HTTP – Hypertext Transfer Protocol
>
ETHSWT
ETH
SCC – Smart Charge Communication
DNSv4/v6
TCPIP
ETHSM

Encryption and decryption of TCP streams
String-based communication with a server
Customer Functions
>
Customer specific functions, which e.g. are based
on HTTP communication
>
An implementation of XML Engine and JSON
(JavaScript Object Notation) is also available
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 36/50
Agenda
PES Solution Ethernet Overview
2
AUTOSAR and MICROSAR Software Architecture
4
MICROSAR.ETH
11
MICROSAR.V2G
35
> MICROSAR.AVB
38
Summary
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 37/50
42
MICROSAR.AVB
Audio/Video Bridging (AVB)

Transport audio and video streams
>
Through standard Ethernet
network technology
>
With simple cabling
>
Fast and in real-time
>
Well synchronized
and prioritized
Right
Front
Head Unit
(Bridge)
Rear
Left
Endpoint
t = 0
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 38/50
MICROSAR.AVB

Important IEEE specifications for bridging & management
>
Introduction and Overview
>
>
>
Generalized Precision Time Protocol (gPTP) and Best Master Clock Algorithm (BMCA)
>
IEEE 802.1AS – Timing and Synchronization for Time-Sensitive Applications
>
References IEEE 1588
Traffic shaping
>
>

IEEE 802.1BA – Audio Video Bridging (AVB) Systems
IEEE 802.1Qav – Forwarding and Queuing Enhancements for Time-Sensitive Streams
Stream management
>
IEEE 802.1Qat – Stream Reservation Protocol (SRP)
>
Dynamic stream announcement with admission control
>
Static implementation for automotive possible
Audio/Video data transmission and reception
>
Audio/Video Transport Protocol (AVTP)
>
IEEE 1722(a) – Layer 2 Transport Protocol for Time Sensitive Applications
(a): Automotive version in draft status – covers encryption, simple A/V streams and
formats, automotive message types within an A/V stream
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 39/50
MICROSAR.AVB
RTE
COMM
RTE / Appl.

STBM
AVTP
ETHSM
ETHTSYN – Ethernet Time Synchronization
>
Time synchronization between Ethernet ECUs
>
The Synchronized Time Base Manager (STBM)
acts as coordinator between different networks
ETHTSYN / PTP
>
ETHIF
>
ETHSWT
Implements the Generalized Precision Time
Protocol (gPTP)
>
ETH
ETHTRCV
IEEE 802.1AS
>
Is specified by AUTOSAR 4.2
>
Is part of MICROSAR.ETH but because it
implements gPTP, it is explained in context of
MICROSAR.AVB
>
Best Master Clock Algorithm (BMCA) to determine
the best clock in the system
>

ETHTSYN can also be used without STBM
Can be provided on request
AVTP – Audio/Video Transport Protocol
>
Transmission and reception of audio and video
streams
>
IEEE 1722(a)
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 40/50
Agenda
PES Solution Ethernet Overview
2
AUTOSAR and MICROSAR Software Architecture
4
MICROSAR.ETH
11
MICROSAR.V2G
35
MICROSAR.AVB
38
> Summary
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 41/50
42
Summary
Overall MICROSAR Ethernet Architecture
Application
SOME/IP
RTE
LDCOM
COMM
C
D
D
C
D
D
C
D
D
COM
BSWM
PDUR
SD
UDPNM
DOIP
ETHXCP
MIRROR
Customer Fcts
SCC
HTTP
V2GTP,
SCC, EXI,
XML Sec.
DNSv4/v6
SOAD
STBM
TLS
TCPIP
IPv4, ARP, ICMPv4
IPv6, NDP, ICMPv6
UDP, TCP, DHCPv4, DHCPv6
ETHSM
ETHTSYN
ETHIF
ETHSWT
ETH

MICROSAR.ETH is the basis of MICROSAR.V2G and MICROSAR.AVB
>
All clusters and use-cases can run in parallel
>
Figure does not show ETHSWTEXT and the flashbootloader
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 43/50
ETHTRCV
AVTP
Summary
ECU Configuration Flow for MICROSAR.ETH
DaVinci Developer
System Description / ECU Extract of System Description
 AUTOSAR 4.1.x / 4.2.x
.XML
Contains system information which are needed for the ECU
.xml
Embedded Coder
Software Component
Description files
TargetLink
DaVinci Configurator Pro 5
Configuration of RTE + BSW
.c
Editing and
Generation
.cdd/
.odx
Base ECUC
Generation
CANdela
Diagnostic Data
.xml
ECU Configuration
Description
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 44/50
.h
BSW module
configuration header
and code files
RTE header and code
files
SWC header files
Other AUTOSAR tools
Summary
Vector Ethernet Solution
Ethernet and TCP/IP in Vehicles

Ethernet and TCP/IP technologies have made their way into the vehicle and they
are expected to extend into new application areas

Automotive OEMs and suppliers are facing diverse challenges here

Vector supports you in meeting these challenges with professional tools,
embedded software and services
CANalyzer/CANoe
CANape
vFlash
Indigo
Development, Simulation,
Analysis and Test
Measurement
& Calibration
Reprogramming
Test vehicle /
ECU diagnostics
VN5610
XCP on Ethernet /
XCP routing
Network Interface
DoIP
DoIP
Vehicle
Ethernet
Charge
Spot
Charge Spot
Software
ECU
MICROSAR
VC121
AUTOSAR
Basic Software
Universal
Controller
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 45/50
Thank you for your attention.
For detailed information about Vector
and our products please visit
www.vector.com
Author:
Weber, Marc
Vector Informatik GmbH
© 2014 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 1.03.04. 2014-10-07.
Slide: 46/50
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising