V1.0 | 2019-06-24 Vector GB Annual Conference 2019, Coventry TC8 Conformance Testing of Automotive Ethernet Networks
V1.0 | 2019-06-24
Vector GB Annual Conference 2019, Coventry
TC8 Conformance Testing of Automotive Ethernet Networks
2 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
u Motivation
OPEN Alliance SIG
TC8 ECU Test Specification
Exemplary Ethernet Test System
Summary
Agenda
3 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Backbone – Connect Domain Controllers
Motivation
…
Fle
xra
y
LIN
/CAN
4 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
In-Vehicle Computing Layer
High resources
(Virtual) ECUs / Function oriented
Environmental data model
Closed-loop controls
Smart Sensor/Actor
Infrastructure – Connect Application Server
Motivation
Offboard
Very high computing power
…
Fle
xra
y
LIN
/CAN
We might see Ethernet physical layers with < 100 Mbit/s and
multidrop capabilities like 10BASE-T1S
Next Generation Automotive Ethernet PHY offer multi Gbit/s
5 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Motivation
u OPEN Alliance SIG
TC8 ECU Test Specification
Exemplary Ethernet Test System
Summary
Agenda
6 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Standardisation: OPEN Alliance Special Interest Group (SIG)
OPEN Alliance SIG
Interoperability & Compliance Testsfor 100BASE-T1 PHYs
100BASE-T1 Ethernet Channel & Components
1000BASE-T1 CMC Requirements
Tools
Gap Identification
Common xMII Interface Definition
1000BASE-RH Gigabit Ethernet over Plastic-Optical-Fiber (GEPOF)
Automotive Ethernet ECU Test Specification
1000BASE-T1 Ethernet Channel & Components
Automotive Ethernet Sleep/Wake-Up
Ethernet switch requirements and qualification
Test specs for the compliance testing of future IEEE 1000BASE-T1… devices
TC1
TC2
TC3
TC4
TC5
TC6
TC7
TC8
TC9
TC10
TC11
TC12
http://www.opensig.org
7 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Standardisation: OPEN Alliance Special Interest Group (SIG)
OPEN Alliance SIG
Automotive Ethernet ECU Test Specification
TC8
http://www.opensig.org
u Shares requirements on Automotive Ethernet ECU testingof Conformance + Interoperability
u Defines specifications applicable to all ECUs in an Automotive Ethernet network based on these shared requirements.
u Defines test process and supports the establishment of test houses that can perform the ECU tests
u Establishes regular audits of the test specification and the partner requirements to increase the communication quality of the Ethernet ECUs and network in an automotive system
Target: Testing on ECU level as early as possible in the development phase
8 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Motivation
OPEN Alliance SIG
u TC8 ECU Test Specification
Exemplary Ethernet Test System
Summary
Agenda
9 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
AutomotiveEthernet
TCP/IP ProtocolFamily
Automotive Protocols
Automotive ISO/OSI Layer Model – Application Areas and TC8 Test Scopes
TC8 ECU Test Specification
TC8 ECU TestTest Scopes
7
Physical
Data Link
Network
Transport
Application
ISO/OSI Layer
SOME/IP DoIP XCP
TCP/UDP
IPv4/IPv6
AVB / TSN
IEEE Ethernet MAC + VLAN
Ethernet PHY(IEEE 100BASE-T1, IEEE100BASE-Tx, IEEE1000BASE-T)
6
5
4
3
2
1
Command / Control communication
Diagnostics andFlash Update
Measurement andCalibration
Audio/VideoTime Sync
10 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
AutomotiveEthernet
TCP/IP ProtocolFamily
Automotive Protocols
Application
Transport
Network
Data Link
Physical
Test Groups in the TC8 Tests
TC8 ECU Test Specification
TC8 ECU TestTest Scopes ISO/OSI Layer
11 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Motivation
OPEN Alliance SIG
TC8 ECU Test Specification
u Exemplary Ethernet Test System
Summary
Agenda
12 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Target
u One Test System for all ISO/OSI layers but layer 1
u Test is available on any workbench
u Information exchange with colleagues is simple since all can share the same configuration
u This is true for the partial test execution as well as discussion of test results
Test System CANoe + vTESTstudio
Exemplary Ethernet Test System
13 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Target
u One Test System for all ISO/OSI layers
u High level of test automation
Test System CANoe + vTESTstudio + VT System
Exemplary Ethernet Test System
14 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
u Implementation in vTESTstudio
u Test configuration
u One global parameter file (general settings for the DUT, e.g. IP address)
u One specific parameter file for each Test Group
TC8 Test Implementation
Exemplary Ethernet Test System
15 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
u Specific Test Code on ECU
u Specific Stub Functions
to prepare ECU for test
(typically CAPL)
u E.g. ARP-Test:
Stub Function
„Clear ARP Table“
ensures
cleaned MAC address table
before test execution
u Simulated Reference DUT
(„Golden Sample“) in CANoe
to run TC8 Tests fail free
TC8 Test Execution
Exemplary Ethernet Test System
16 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Test Spec Example OABR_CABLE_01: Cable diagnostics for near and far end open
Exemplary Ethernet Test System
Source: OPEN Alliance TC8 Automotive Ethernet ECU Test Specification v2.0
Test Steps
1. The DUT cable diagnostic feature is triggered. The DUT cable diagnostics has to be executed within terror
2. The test system creates a cable error for a defined time terror
3. After the wait time t the test system reads out all identified cable errors QC from the DUT
4. Repeat step 1 to 3 for all error combinations (alternately MDI+ and/or MDI- are open)
Test Goal
Ensure that the DUT’s cable diagnostic reliably detects an open of one or both of the bus lines
Test Setup for Far Open Test
17 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
VN5610A VN5640 VT6306 + piggy VN5620 VN5430
Ethernet Ports
100/1000BASE-T1 2x 100BASE-T1 12x 6x 4x 6x
10BASE-T/100BASE-Tx/1000BASE-T
2x 4x 2x -- --
CAN / CAN FD 2x 2x -- 2x --
I/O Channels 1x digital1x analog5x digital
Arbitrary number from VT System
1x digital --
Fault Injection on physical layer
no no yes no no
Host Connection USB2.0 USB3.0 PCI ExpressUSB3.1 Ethernet
Ethernet
Powersupply USB / External External via VT SystemUSB /
ExternalExternal
Automotive Ethernet Interfaces
Exemplary Ethernet Test System
18 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Motivation
OPEN Alliance SIG
TC8 ECU Test Specification
Exemplary Ethernet Test System
u Summary
Agenda
19 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
u Automotive Ethernet
u Occurrence in modern EE architectures
u Difference to classical Bus Protocols
u OPEN Alliance SIG
u Structure
u TC8 – Tests with Test Scopes for all ISO/OSI layers
u Exemplary TC8 Test System
u Test implementation in vTESTstudio: Parameter files to adapt to specific ECU
u Test execution with CANoe: Stub Functions acting on specific test code + Golden Sample
u DUT interfacing with VT System / various ETH interfaces
TC8 Testing - Summary
Summary
20 © 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-06-24
Author:Peter FellmethVector Germany
For more information about Vectorand our products please visit
www.vector.com