V2.2 | 2019-11-12
Software Testing TechDay – November 19, 2019
ECU System Testing with VectorCAST/QA, vTESTstudio, CANoe & VT System Hardware
1 / 6
1. Introduction
2. Testing
3. Demo Information
Agenda
2
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
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
> 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
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
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
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
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
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
1. Introduction
2. Testing
3. Demo Information
Agenda
11
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
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
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
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
1. Introduction
2. Testing
3. Demo Information
Agenda
16
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
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
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
© 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