Vector - Webinar - Introduction To Ethernet and IP
Vector - Webinar - Introduction To Ethernet and IP
V1.10 | 2019-10-28
Agenda
u Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
2
Introduction
u Part 2: The Vector Embedded Ethernet Stack and Its Use Cases in Motor Vehicles
> Moderator: Markus Helmling, Bernd Jesse
> Montag, 25. November 2019
3
Introduction
Application area
5 TSN
4 TCP/UDP
3 IPv4/IPv6
Ethernet PHY
1
(IEEE 100Base-T1, IEEE 1000Base-T1, IEEE 100Base-TX, IEEE 1000Base-T)
4
Agenda
Introduction 3
u Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
5
Physical layers
6
Physical layers
Components of an ECU
µC: HOST
µC u Contains application and basic
Digital I/O MII software
u Needs an IEEE Ethernet MAC for
Ethernet communication
MII
Ethernet
MII: Medium Independent Interface
PHY u Connection between µC and PHY
MDI
7
Physical layers
Clock recovery/Synchronization:
MASTER SLAVE
IEEE 100Base-T1 u Master-slave behavior IEEE 100Base-T1
PHY u Configured in PHY PHY
MDI MDI
100 Mbit/s
FULL DUPLEX
8
Physical layers
IEEE 1000Base-T1
Coding/Decoding:
ECU 1 ECU 2
u 80B/81B, 3B2T, PAM3
u FEC (Forward Error Correction)
1000 Mbit/s
FULL DUPLEX
9
Physical layers
IEEE 100Base-TX
Coding/Decoding:
u NRZI, 4B5B, MLT-3
ECU 1 ECU 2
Clock recovery/Synchronization:
u Each path is activated by
transmitter
MDI MDI
Tx Rx Tx Rx
100 Mbit/s
FULL DUPLEX
10
Physical layers
IEEE 1000Base-T
Coding/Decoding:
u 4D-PAM5, 8B1Q4
1000 Mbit/s
FULL DUPLEX
11
Agenda
Introduction 3
Physical layers 6
u IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
12
IEEE Ethernet MAC + VLAN
Properties
Ethernet Medium
Access Control + VLAN
4
u Detailed sub-layers of layer 2:
3 > LLC: Logical Link Control
Controls different connections of higher layers
2
Ethernet MAC > MAC: Medium Access Control
+ VLAN Provides above-named functions
1 Ethernet PHY
13
IEEE Ethernet MAC + VLAN
MAC address
MAC address
AA:BB:CC:DD:EE:01
AA:BB:CC:DD:EE:02
VLAN 1, VLAN 2
VLAN 2, VLAN 3
Switch
MAC
14
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
u Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
15
Internet Protocol (IPv4/IPv6)
Properties
Internet Protocol
v4/v6
4
u Is using Ethernet Frames:
> IPv4: Type 0x0800
3 IPv4/IPv6 > IPv6: Type 0x86DD
Ethernet MAC
2
+ VLAN
1 Ethernet PHY
16
Internet Protocol (IPv4/IPv6)
17
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
u TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
18
TCP and UDP
Introduction
6
UDP: User Datagram Protocol
u Allows connectionless communication
5
19
TCP and UDP
TCP/UDP ports
20
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
u DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
21
DoIP
u Application areas:
7
> Diagnostics over Ethernet and IP
3 IPv4/IPv6
u Description file: CDD, ODX, etc.
Ethernet MAC +
> Describes available diagnostic services
2
VLAN
1 Ethernet PHY
22
DoIP
Diagnostic Tester
Logical address:
u For each ECU and Tester an own logical
Tester address has to be defined
Activation
Ethernet
Line
GW Door
CAN
Roof Seat
23
DoIP
Diagnostic Gateway
Logical addresses:
u For each ECU and Tester an own logical
address has to be defined
UDP/IP or TCP/IP:
u Layer 3: IP addresses (e.g. 192.168.1.20)
u Layer 4: UDP/TCP ports (e.g. 13400)
Activation Line
GW Door
Ethernet CAN
Roof Seat
24
DoIP
Tester
0x0E00 Diagnostics Gateway
Ethernet
0x0200
25
DoIP
[UDP] DHCP-based
IP address assignment
26
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
u Signal/PDU 28
SOME/IP 32
TSN 37
Summary and outlook 42
27
Signal/PDU
u Application areas :
7
> Classical signal transmission via PDUs
1 Ethernet PHY
28
Signal/PDU
Central Gateway
1 2 3 4
Ethernet
GW A GW B GW C GW D
29
Signal/PDU
u Static Layout
> Comparable to classical bus systems (CAN, FlexRay, etc.)
u Dynamic Layout
> Each PDU gets an own unique Header (Identifier and Length)
> A PDU has no fixed position in a Frame
30
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
u SOME/IP 32
TSN 37
Summary and outlook 42
31
SOME/IP
u Application areas:
7
> SOME/IP: Service-oriented data transmission for
controlled communication
6 SOME/IP
> SOME/IP-SD: SOME/IP Service Discovery
32
SOME/IP
Types of Services
owle
dge men
t
> Subscribe Event Group: Client
Ackn
subscribes to service on Server
> Notification: Server sends updated
Noti
ficat
ion information automatically to Client
33
SOME/IP
u Data transmission:
C S
> Communication relationships are
built up during runtime
> Data are transmitted if there is a Offer service
minimum of one receiver
> Data serialization is done Call method (Request)
dynamically during runtime
Get return values (Response)
34
SOME/IP
35
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
u TSN 37
Summary and outlook 42
36
TSN
u Use cases:
7
> Multimedia/Infotainment: Transmission of
Audio/Video streams via Ethernet
6
> Synchronization of sensor data streams
(Camera, Radar, Lidar) for adaptive and
5 TSN autonomous driving
4
u Qualitiy of Service (QoS):
> Time synchronous data transmission
3
> Guaranteed worst case latency for data
Ethernet MAC + transmission
2
VLAN
> Bandwidth reservation for guaranteed worst
case latency
1 Ethernet PHY
37
TSN
Bridge/Switch
Talker Listener
Endpoint Endpoint
TSN Domain
Ethernet LAN
38
TSN
AV AV
Appl. Appl.
39
TSN
6
u Stream Reservation Protocol (SRP):
PTP SRP AVTP > Dynamic stream announcement with
5 admission control
> IEEE 802.1Qat
40
Agenda
Introduction 3
Physical layers 6
IEEE Ethernet MAC + VLAN 13
Internet Protocol (IPv4/IPv6) 16
TCP and UDP 19
DoIP 22
Signal/PDU 28
SOME/IP 32
TSN 37
u Summary and outlook 42
41
Summary and outlook
Application areas
5 TSN
4 TCP/UDP
3 IPv4/IPv6
Ethernet PHY
1
(IEEE 100Base-T1, IEEE 1000Base-T1, IEEE 100Base-TX, IEEE 1000Base-T)
42
Summary and outlook
CANoe/CANalyzer.Ethernet
CANoe/CANalyzer.Ethernet
43
Summary and outlook
u Part 2: The Vector Embedded Ethernet Stack and Its Use Cases in Motor Vehicles
> Moderator: Markus Helmling, Bernd Jesse
> Montag, 25. November 2019
44
For more information about Vector
and our products please visit
www.vector.com
Author:
Bossert, Jan
Vector Informatik GmbH
45 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.10 | 2019-10-28