Conformance Testing with CANoe - Vector · 2019-08-01 · 5 Open Alliance Tech Committee 8 (TC8)...

Preview:

Citation preview

V0.1 | 2019-06-24

For Ethernet (TC8), J1939, LIN, Smart Charging Communications, Car2x, CANopen, and Diagnostics

Automated Protocol Conformance/Compliance Testing with CANoe

2

u CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

3

The Vector Testing Toolset

CANoe, vTESTstudio, Network Interfaces and the VT System

vTESTstudio

Automated TestDesign & Implementation

CANoe + VT Modules + Bus Interfaces + External HW

Execution & Reporting

u Test programming (CAPL, C#)

u Table based test design

u Graphical test design

u Parameters and variants

u Stimulation curves

u Traceability

u Real-time execution of tests

u Access to SUT via

u IOs

u bus systems

u protocols (diagnostics, XCP, …)

u debug interfaces

u Automatic detailed reporting

u Analysis of test run

Test Units:

- Code

- Parameter

- Traceability Information

- …

Build Load

Symbol databases:

- DBC

- ARXML

- CDD

- …

u Classification tree method

4

CANoe, vTESTstudio, Network Interfaces and the VT System

u CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

5

Open Alliance Tech Committee 8 (TC8) Ethernet Conformance

CANoe.Ethernet (TC8)

Device Under Test

CANoe

ARP Request ARP Response

Stub: Clear ART

Stub: Return Codeu Test Procedure defined in vTESTstudio (required)

u easily configurable via Test Parameters

u easy selection of Test Cases

u different Test Variants (must, may)

u Upper Tester Stub Functions

u allows individual implementation

u Autosar Testability Protocol as default implementation

u sample of non-standard Service Primitives

u Includes a Golden Simulated Node

u Delivered as Demo with CANoe.Ethernet

u allows continuous testing during development

6

Current release of CANoe

CANoe.Ethernet (TC8)

Test Group CANoe 12.0 SP2

Physical Layer partially

TC8 Switch Tests ✔

TC11 Switch Tests

ARP (Address Resolution Protocol) ✔

ICMPv4 ✔

IPv4 ✔

Dynamic IPv4 Link Local Address ✔

UDP (User Datagram Protocol) ✔

TCP (Transmission Control Protocol) ✔

DHCPv4 ✔

SOME/IP Server ✔

SOME/IP ETS ✔

Layer 1

Layer 2

Layer 3

Layer 4

Layer 7

7

CANoe.Ethernet (TC8)

TC8 Example Configuration

8

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

u CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

9

J1939-82 Compliance Test: 2008 and 2015 specification have been implemented

CANoe.J1939 (J1939-82)

u Easy configuration with panel:

u Well structured report:

10

J1939 Compliance Test Help Page and Tutorial

CANoe.J1939 (J1939-82)

u J1939-82 Tables A3-A8 and A10 are implemented

11

Test Feature Set (CANoe)

CANoe.J1939 (J1939-82)

u J1939 Test Service Library

u J1939 specific test functions and extensions

u J1939 XML Test Module Manager

u Test Management

u Configuration of test cases

u Generation of compliance tests according to J1939-82

u Step by step example how to create compliance tests

12

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

u CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

13

LIN Slave Conformance Tests

CANoe.LIN (LIN Slave)

u Slave Conformance Test Module

u Preconfigured XML test module can be added to the Test Setup

u Automated conformance testing of any Slave in your Simulation Setup

u Automatic configuration of conformance tests according to LDF (or optionally NCF)

u Create a reference trace or logging by testing the simulated version of your Slave

u Full support of the LIN1.3, LIN2.x and J2602 Slave conformance tests (Data Link Layer)

u Optional hardware reset prior to each test case using VH1150 or VT System with a VT7001 (no extra configuration required)

u All settings automatically saved with the configuration

u Test cases can be repeated at any number of times

u Detailed XML-report automatically translated to HTML

14

5 Steps to Insert a LIN Slave Conformance Tester

CANoe.LIN (LIN Slave)

CANoe Test Report Viewer

23

4

5

1

15

LIN Slave Conformance Test Module (Number 4 in previous slide)

CANoe.LIN (LIN Slave)

Start / Pause / Stopp

Feedback during test sequence

Test reportTest

specification

Selection oftest cases

16

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

u CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

17

u ISO15118 & DIN70121 (requires Option Ethernet)

u Vehicle and charge point simulation

u Analysis and monitoring> Man-in-the-middle and Offline analysis of the smart charging communication

> Interpretation of the messages in the trace window

u Support for SLAC and Vehicle2Grid protocols

u Transport Layer Security (TLS) via Security Manager (only ISO 15118)> TLS communication with automatic encryption and decryption

> Public Key Infrastructure (PKI) support and management of certificates

u GB/T 27930 (requires Option J1939)

u Trace window analysis> Clear and compact presentation of the message flow

> Interpretation of each individual GB/T 27930 message

u CHAdemo (requires Option CAN)

u Currently no special support

Features

CANoe.SCC (Smart Charging Communications)

18

SCC Testing configurations

CANoe.SCC (Smart Charging Communications)

CANoe.Eth.SCC

vTESTstu

dio

CANoe.Eth.SCC

vTESTstu

dio

EV Test Configuration

EVSE Test Configuration

19

Standard Region Connector Standards

CCS (AC/DC) US + EU IEC 62196-2 IEC 61851 (PWM) ISO15118, DIN70121, SAE J2847 (Ethernet)

GB/T (DC) China GB/T 20234.3 GB/T 27930 (J1939)

CHAdeMO (DC) Japan CHAdeMO CHAdeMo (CAN)

Smart Charging Communication Standards and Test Packages

CANoe.SCC (Smart Charging Communications)

Standard VT-Modules Required CANoe Options CANoe Test Packages*

CCS (AC/DC) 7900A7870

Smart ChargingEthernet

CCS EV CCS EVSE (Next year)

GB/T (DC) 6104A/62042004A

Smart ChargingJ1939

GB/T EV (Next year)GB/T EVSE (Next year)

CHAdeMO (DC) 6104A/62042004A

Smart Charging (planned)CAN

CHAdeMO 2.0 EV (planned)CHAdeMO 2.0 EVSE (planned)

* vTESTstudio required

20

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

u CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

21

Analysis, Simulation and Test of V2X Communications

CANoe.Car2x (Scenario Simulation)

22

Simulation, analysis and test of C-V2X applications

CANoe.Car2x (Scenario Simulation)

u Quick and easy test case development with CANoe.Car2x scenario editor

u Simulation of multiple vehicles and infrastructure elements (e.g. traffic light)

u Generation of ITS frames following European or US standards (ETSI, WAVE/SAE)

u With Rohde & Schwarz Hardware

u CMW500 for LTE-PC5 communication

u SMBV100A for GNSS simulation

u Testing of DUT applications

u CAN, Automotive Ethernet traffic

23

CANoe.Car2x with with Rohde and Schwarz Test Equipment

CANoe.Car2x (Scenario Simulation)

R&S®CMW500

Multi-technology (LTE, WCDMA, GSM and CDMA2000®) protocol tester with a layer 1 to layer 3 stack implementation

R&S®SMBV100A

Fully fledged GNSS simulator with GPS, Glonass, Galileo, BeiDou and QZSS/SBAS

Up to 24 satellites

24

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

u CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

25

CiA CANopen Conformance Test Tool

CANoe.CANopen

26

CANoe during Conformance Test

CANoe.CANopen

27

CiA Test Report

CANoe.CANopen

28

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

u CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Application and hardware requirements

Agenda

29

The Diagnostics Tool chain

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

Diag Specification

ECUSystem under Test

CDD

CANoe Test

.net/CAPL

CANoe.DiVaCANdelaStudio

DiagnosticAuthoring Tool

ODX

Configurator

Generator

DiVaTest Extension

ReportAnalyzer

CANoeTest Feature Set

Test Report

xml/HTML

Much more information at 2:15 this afternoon with PDG BDM, Vivek Jolly

30

CANoe, vTESTstudio, Network Interfaces and the VT System

CANoe.Ethernet (TC8)

CANoe.J1939 (J1939-82)

CANoe.LIN (LIN Slave)

CANoe.SCC (Smart Charging Communications)

CANoe.Car2x (Scenario Simulation)

CANoe.CANopen

CANoe.DiVa (Diagnostic Integration and Validation Assistant)

u Application and hardware requirements

Agenda

31

Application and hardware requirements

Ethernet (TC8)

J1939 LIN SCC Car2x CANopen DiVa (Diagnostics)

CANoe ✓ ✓ ✓ ✓ ✓ ✓ ✓

.Ethernet ✓ ✓

.J1939 ✓✓

GB/T

.LIN ✓

.SCC ✓

.Car2x ✓

.CANopen ✓

.DiVa ✓

vTESTstudio ✓ ✓ ✓ ✓ ✓ ✓ ✓

VT SystemOptional

or VH1150

VT7870 (+2) ✓

R & S Test Equipment

Network Interface(s)

✓ ✓ ✓ ✓ ✓ ✓ ✓

SCC Test Package(s)

CiA Test Tool ✓

✓ ✓= required = recommended for additional test development

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

Author:Koncsol, JeffVector North America

For more information about Vectorand our products please visit

www.vector.com

Recommended