+ All Categories
Home > Documents > ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System...

ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System...

Date post: 19-Jul-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
20
V2.2 | 2019-11-12 Software Testing TechDay – November 19, 2019 ECU System Testing with VectorCAST/QA, vTESTstudio, CANoe & VT System Hardware 1 / 6
Transcript
Page 1: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

V2.2 | 2019-11-12

Software Testing TechDay – November 19, 2019

ECU System Testing with VectorCAST/QA, vTESTstudio, CANoe & VT System Hardware

1 / 6

Page 2: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

1. Introduction

2. Testing

3. Demo Information

Agenda

2

Page 3: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

CANoe, vTESTstudio, VT System,

vVIRTUALtarget,VectorCAST/QA

System Testing

Change-Based Testing

ECU System Testing

Introduction

Test ECUs thoroughly by connecting the communication networks and I/O interfaces to the test system using CANoe

and Vector’s VT System Hardware.

3

Page 4: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

CANoe is the comprehensive software tool for development, test and analysis. Using CANoe, you can create simulations of entire networks or the remaining bus:

CANoe – Simulation of Entire Networks or Remaining Bus

Introduction

Usage of a single CANoe model in all phases of development

CANoe models can be distributed by the OEM or created on the supplier side

Function development and regression testing is supported

Gateway simulation for different bus systems is possible

4

Page 5: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

> Log Files

> Test Reports

> Etc.

CANoe – One Tool for Everything

Introduction

System Under Test

Test Units

Network Interface

Network

CANoe

Simulation Kernel

Analysis

Test Execution

Engine

Diagnostics

APIs

Test Hardware

CANoe is a comprehensive software tool for development, test and analysis of entire ECU networks and individual ECUs.

One tool for all development and testing tasks

Easy automated testing

Simulate and test ECU diagnostics

Open environment: various APIs allow tool coupling

5

Page 6: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

VT System Concept: I/O Access for ECU Testing

Introduction

ECU needs to be tested in its “natural” environment

Other ECUs in network

Battery

Sensors

Actuators

M

Battery

ECU

Remaining ECUs

6

Page 7: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

VT System Concept: I/O Access for ECU Testing

Introduction

Test system needs access and control to all connections of the ECU

Remaining bus

I/O lines

Power supply

M

Power Supply

CANoe

ECU

under Test

Remaining ECUs

VT System

7

Page 8: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

VT System Concept: I/O Access for ECU Testing

Introduction

VT System provides this interface

Connected between the ECU and the original peripherals, or

Simulating all peripherals

Vector VT System is a modular system of interface hardware to access the I/O lines of an automotive ECU for testing purposes with CANoe

Power Supply

CANoe

ECU

under Test

Remaining ECUs

VT System

V

I

D

A

Power

Supply

Control

8

Page 9: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

Module Overview

Introduction

Load + Measurement ModuleVT1004A

Power ModuleVT7001A

Real-Time ModulesCeleron VT6011core i7 VT6051A

Network Interface Modules VT6104 / VT6204VT2710 / VT6306

Extension ModuleVT7900

Stimulation Modulesanalog VT2004Adigital VT2516A

General Purpose Modulesanalog VT2816 / digital VT2848

Relay VT2820 / Switch Matrix VT2832

Backplanes & HousingsVT8006VT8012

9

Page 10: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

vTESTstudio

Introduction

Test Table Editor for tabular editing of test sequences

Test Sequence Diagram Editor for graphical design of test cases in diagrams

Programming Editors for CAPL and C#

vTESTstudio provides various editors for specifying test automation

These editors address specific use-cases, skills and preferences of the test designer

Different test notations can be combined easily - even within the same test case

State Diagram Editor for automatic generation of test cases out of state transition diagrams

10

Page 11: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

1. Introduction

2. Testing

3. Demo Information

Agenda

11

Page 12: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

One of the primary use cases of CANoe is to test ECUs and networks. These tests are used to verify individual development steps, test prototypes or to perform regression and conformance tests. CANoe services the System Under Test at all interfaces. This assures the fullest possible test coverage.

The Test Feature Set in CANoe consists of the following components:

Test Modules/Test Units

Constraints and Conditions

Collection of test functions

(Test Service Library)

Automatic report generation

Direct control of I/O hardware

Overview

Testing

Network

CANoe

Measu

rem

en

t an

dTest

Hard

ware

System Under Test

VN

In

terfa

ces

12

Page 13: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

Accessing the System Under Test

Testing

Network

CANoe

VN Interfaces

Sensor Protocols

Higher Layer Protocols

Interaction Layers OEM specific

Network ManagementAUTOSAR, OSEK NM, OEM specific

Ethernet, GPIB, RS232 etc.

XCP Diagnostics

Measurement &

Test Hardware

VT System, IOpiggy, DAQ, etc.

System Under Test

Network Interface Digital/Analog I/O

Memory0100101111010010

Fault Memory0110011010011010

SENT/ PSI5/…

Test Execution

13

Page 14: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

vTESTstudio and CANoe

Testing

vTESTstudio

Design & Implementation

CANoe + VT Modules + Bus Interfaces

Execution & Reporting

Test programming (CAPL, C#)

Table based test design

Graphical test design

Parameters and variants

Stimulation curves

Traceability

Real-time execution of tests

Access to SUT via

IOs

bus systems

protocols (diagnostics, XCP, …)

debug interfaces

Automatic detailed reporting

Analysis of test run

Test Units:

- Code

- Parameter

- Traceability Information

- …

Build Load

Symbol databases:

- DBC

- ARXML

- CDD

- …

Classification tree method

14

Page 15: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

Test Reporting

Testing

Automatic detailed reporting by test execution in CANoe

Vector CANoe Test Report Viewer for an easy and comfortable analysis of a test run

Filtering on failed test cases, test steps, …

Grouping by verdict

Comprehensive user-defined queries on report data, e.g. “all requirements linked to a failed test case”

define and execute query, view result set

15

Page 16: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

1. Introduction

2. Testing

3. Demo Information

Agenda

16

Page 17: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

Using vVIRTUALtarget to generate code for a real ECU Hardware

Demo Information

SWC A SWC B SWC C

RTE

BSW

OS

MCAL

Auto-Sync of VTT modules

ECU integration for virtual hardware

ECU integration for real hardware

DaVinci Configurator Pro

Dual-Target Configuration

MICROSAR SIP

+ SIP Add-On VTT

GenerateCode

Application source code

.c/.h

.c/.h

.c/.h

.c/.h

.HEX

.c/.h

Real target

Virtual target

Both targets

.DLL

Target IDE

vVIRTUALtargetpro/basic

SWC Implementation

17

Page 18: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

ECU development and remaining bus simulation

The CANoe model created in system design and modeling phase can now be used for remaining bus simulation:

Usage of a single CANoe model in all phases of the development

ECU function and diagnostics development is supported

Functional, diagnostics and regression testing of ECUs

Using CANoe to test a real ECU

Demo Information

Simulated Node 2

Simulated Node 3

physical bus simulated bus

18

Page 19: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

ECU System Testing with VectorCAST/QA, vTESTstudio, CANoe, & VT System Hardware

Demo Information

CANoevTESTstudio Generated Test UnitsvTESTstudio Generated Test Report

Vector VT System Real ECU19

Page 20: ECU System Testing - Vector · VT System Concept: I/O Access for ECU Testing Introduction VT System provides this interface Connected between the ECU and the original peripherals,

© 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V2.2 | 2019-11-12

Author:White, SamerVector North America

For more information about Vectorand our products please visit

www.vector.com


Recommended