Vous êtes sur la page 1sur 44

 ECU Testing Solution

V8.5.013 | 2015-09-22
Agenda

 Testing Overview
HIL Test Bench: CANoe + VT System
Testing Design: vTESTstudio
Test Data Management: vTESTcenter
Testing Engineering Services
Summary

2/44
Testing Overview

What do I need for Testing an ECU?

Remaining ECUs

ECU

Battery

3/44
Testing Overview
What should be tested for ECU?
 Application Layer Test  Communication Test
 Functionality logic test  Physical Layer
> Working mode > CAN/LIN Bus output voltage level
> Control behavior > DUT Ground shift tolerance
> …… > Electric capacity and resistance characteristics
> ……
 Diagnostic functionality test(DTCs)  Data Link Layer
> Bit timing parameters
> DLC check

 Electrical Test > Cycle time check

> Over voltage or Under voltage test > ……

> Starting profile  Interaction Layer


> … > Message transmission(e.g. Periodic/on event/if active)
> Default value check

 System Integration Test  Network Management Test


> ECUs Interaction Behaviors > Establish ring

> … > Bus sleep & wake up


> Loss of node in a running network test
 Diagnostic Protocol Test
> P2,P2*
> …

4/44
Testing Overview

Overview Vector Test Solution

vTESTstudio CANoe + VT Modules + Bus Interfaces


 Test programming  Realtime execution of
(CAPL, C#) tests
Specification of
Design & Execution & Evaluation &
 Table based test Requirements &
Implementation Reporting Analysis  Access to SUT via
Tests
design
> I/Os,
 Graphical test
> bus systems and
design (diagrams)
> protocols
 Definition of
(diagnostics, XCP, …)
parameters &
curves > Debug Interface
 Detailed automatic test
reporting
Project Management
Test Data Management (Collaboration & Versioning)

vTESTcenter
 Management of testing projects: Planning &  Bidirectional traceability
Tracking
 Review & rework
 Configuration management of test data
 Import of test exec. reports
 Team collaboration by multi-user support  High-level analysis of test results and
 Requirements and test engineering trends

5/44
Agenda

Testing Overview
 HIL Test Bench: CANoe + VT System
Testing Design: vTESTstudio
Test Data Management: vTESTcenter
Testing Engineering Services
Summary

6/44
HIL Test Bench: CANoe + VT System

Served SUT Interfaces, Served Interfaces of HIL test bench


Application Model in MATLAB Application Model in CAPL

Fault Memory Memory


01101100 01101100
11001101 11001101

7/44
HIL Test Bench: CANoe + VT System

VT System – A Modular System

Phoenix connectors
Relays for switching for test harness
and fault injection

Plugs for manual


measurement

Status LEDs for


each channel
Backplane connector
(control, supply power)

Signal conditioning

Modules for 19” racks

8/44
HIL Test Bench: CANoe + VT System

Load Module Stimulation Modules General Purpose Modules Extension Module


VT1004A(FPGA) analog VT2004A(FPGA) analog VT2816(FPGA) VT7900
digital VT2516A(FPGA) digital VT2848(FPGA)
Relais VT2820

Real-Time Modules Network Interface Module Power Module Backplanes & Chassis
ATOM VT6010 VT6104 VT7001A VT8006
CoreTM i7 VT6051A VT6204 VT8012
9/44
HIL Test Bench: CANoe + VT System

Open Environment CANoe


VN1640A

Analysis Simulation Test


Application Layer Test Support
Logging
MATLAB/Simulink® MATLAB/Simulink®

Application Languages / Panels


Graphical Signal Representation
Signal Based
Application Language
ASCII
User defined Panels Interaction Layer (OEM Specific)
VN1630A
Wait Functionality VN1610/VN1611

Binary Diagnostics / TP / NM Layer Test Execution Control

Application Language
Protocol Observers
Layer Specific (OEM Specific)
Standard Formats
Report Generation
e.g. MDF

Communication Layer
Application Language /
Trace / Scope Generators
Frame Based VN8912 System

Hardware Layer

CAN FD CAN LIN MOST FlexRay Ethernet K-Line others I/O Test HW

VN5610
CANoe.SCOPE、CANoe.XCP、CANoe.AMD、CANoe.DiVa……
10/44
HIL Test Bench: CANoe + VT System

Fully CANoe Integration

 Graphical user interface to control all VT module settings


 Relay switching apply directly on the schematic + code generation
 Display current state, settings and measurement values

11/44
HIL Test Bench: CANoe + VT System

CANoe.SCOPE
 Decode/analysis of bus voltage signals: CAN, CAN-FD, FlexRay, LIN
 External triggering via sync line of bus interface
 Typical use cases: protocol error analysis, automated physical layer tests

12/44
HIL Test Bench: CANoe + VT System

CANstress
 Disturb on CAN protocol level(Digital) – Bit level & BTL(Bit Timing Logic=tq) cycles

1 bit
1 bit

n*tq

Bus-off Test Sample Point Test

 Disturb on CAN physical level(Analog)

13/44
HIL Test Bench: CANoe + VT System

Test Run with CANoe

 Possibility to observe and analyze a test during the test run in the Test Trace Window
 Detailed information about executed test cases and test steps
 Automatic Report Generation

14/44
HIL Test Bench: CANoe + VT System

Data Logger
 GL1000 Family
 Compact fleet logger for 2 CAN, 2 LIN and I/Os
 GL1010 as waterproof IP65 variant

 GL2000
 Handy fleet logger for 4 CAN, 2 LIN and I/Os
 Fast wake-up to record the first message
 Slim and cost-efficient GPS receiver

 GL3000/GL4000 Family
 Flexibly expandable multi bus fleet logger for
9 CAN, 2 LIN, 2 FlexRay, 1 MOST150 and I/Os
 2 independent logging memories for separate configuration
 High storage capacities on CF card, SSD or external USB hard disk
 Wireless data exchange via WiFi
15/44
Agenda

Testing Overview
HIL Test Bench: CANoe + VT System
 Testing Design: vTESTstudio
Test Data Management: vTESTcenter
Testing Engineering Services
Summary

16/44
Testing Design: vTESTstudio

Comfortable Design of Automated Test Sequences for Embedded Systems


 Vector vTESTstudio is a test design environment that enables the user
 to simplify test design by combining different programming languages and graphical
notations in one integrated design environment
 to efficiently increase test coverage by specific test design features
 to define and reuse test cases for and across product lines by supporting parameters, ECU
variants and test variants
 to track test coverage from system requirements to test reports

17/44
Testing Design: vTESTstudio

Schematic Overview: vTESTstudio and CANoe

Build Load

CANoe
Test Editors
• Test Table Editor
Test Units
• Test Diagram Editor
• C#/CAPL Editor – Code Test Units
Project – Parameters
• Parameter Editor Symbol
View Explorer
• Stimulation Curve
Editor Test
Automation

Libraries Interface
View Function
Explorer

r/w r/w r/w r/w Common


Symbol
Databases:
dbc, fibex,
arxml,
Stimulation Test Tables, C#, Parameter cdd, odx, Test
a2l, … Reports
Curves Diagrams CAPL Files

18/44
Testing Design: vTESTstudio

vTESTstudio: Test Table Editor

Test Table Editor:


 Easily define
test sequences
without
programming
knowledge
 Comfortable
support of test
step
parameterizati
on by drag &
drop
 Direct calls to
CAPL, and C#
test cases and
functions
possible

19/44
Testing Design: vTESTstudio

vTESTstudio: Test Diagram Editor

 Test sequence
diagram for an
clear and
concise
representation
 Direct calls to
CAPL and C#
test cases and
functions
possible
 Test coverage
easily to be
reviewed
 Easy reuse of
test sequence
parts

20/44
Testing Design: vTESTstudio

vTESTstudio: Parameters and Test Vector Editors

 Define parameters
separated from test
sequences
 ECU parameters
 Test vectors Parameter definition in
Excel-style editor
 Standard file format
(CSV), also directly
editable in MS Excel
 Use parameters
directly in code e.g.
for value Parameter overview
assignments, in Symbol Explorer
comparisons and
variant decisions

Parameter access
in coding editors

Parameter access in
table-style editor

21/44
Testing Design: vTESTstudio

vTESTstudio: Stimulation Curve Editor

 Define curves
graphically with the
Waveform Editor
 Predefined segment
types (sinus, pulse,
..) enable easy
definition of e.g.
voltage curves
defined by test
standards like LV124
norm
 Use curves for the
stimulation of the
system under test
 Multiple curves can
easily be
synchronized within
the design and for
test execution

22/44
Testing Design: vTESTstudio

vTESTstudio: Parameterized Test Case Lists

 Quick definition of
a large number of
test cases to
increase test
coverage
 Combinations
 Sequential
 All possible
permutations
 Value definitions
 Lists of values
 Value ranges
 Direct use of
parameters from
parameter files as
test case
parameters

23/44
Testing Design: vTESTstudio

vTESTstudio: Traceability
REQM/TDM-System vTESTstudio

> vTESTcenter
> IBM DOORS Export
items
> … for test
tracea-
bility Trace Item
> Define require- Exchange Import
ments and/or test Format
specifi- cations
> Perform test
coverage analysis
Link trace items
(requirements or test
specifications) to test
case implementations

Import test Build


execution executable
results test units

CANoe
Report Executable
test unit

Generate Test Execution Configure


Contains
Contains
Engine information
information on trace
on trace items
items

24/44
Testing Design: vTESTstudio

vTESTstudio: Traceability Matrix

25/44
Agenda

Testing Overview
HIL Test Bench: CANoe + VT System
Testing Design: vTESTstudio
 Test Data Management: vTESTcenter
Testing Engineering Services
Summary

26/44
Test Data Management: vTESTcenter

Major Market Challenges

 Tons of data:
 1000‘s of requirements,
 100‘s of test scripts,
 many SUT versions, many test executions
 Allow / detect changes
 Address relevant roles
 Stakeholders external & internal: Customers, Requirements Engineers, Management
 Project members: Project leaders, Test Designers, Testers, Quality Engineers, …
 External contributors: Suppliers, service providers, …
 Collaboration – all users access the same data
 Consider roles & rights to derive permissions for viewing / editing
 Different locations
 Configuration management with versioning
 Tracking of progress & quality
 Review & release of each data element ( ‘artifact’)
 Informative reports with flexible level of details, graphical representations

27/44
Test Data Management: vTESTcenter

vTESTcenter: Information Flow

Specification of
Design & Execution & Evaluation &
Requirements & Planning
Implementation Documentation Analysis
Tests

Test implementations Test plan, test tasks


vTESTcenter
Metrics
Manual test Report
sequence a
Require- Test r analyze
ments specs
Report Report
Report
Test Script a Report

import & check-in & check in, parse for


traceability
update check-out verdicts and req-/ test
information
test scripts spec associations

File System

Requirements Test Design & Test


Source (opt.) Implementation Tool Execution Tool
Vector Vector Vector

28/44
Test Data Management: vTESTcenter

vTESTcenter: Example Analysis of Test Results

29/44
Agenda

Testing Overview
HIL Test Bench: CANoe + VT System
Testing Design: vTESTstudio
Test Data Management: vTESTcenter
 Testing Engineering Services
Summary

30/44
Testing Engineering Services

Range of Engineering Services

Customer specific: Customer specific: Customer specific:


Test Design & Reporting Hardware Connection Housing & Wiring
 Access to customer Individual wiring,
 Test programming / test patterns 
Hardware & Interfaces connectors, front panels
(CAPL, XML,.NET,C#)
 Integration of 3rd party
 Test reports hardware
Design & Execution & Other HIL Measurement &
Implementation Reporting Systems Test Hardware
Test Test
Test & Vector VT System
Specification Modules
Report
XML
a
r
Measurement
Equipment
Measurement
Equipment
CAPL
Interfaces Customer Hardware
Customer specific:
Simulation and Protocols

I/O, Power
 CAPL / NodeLayer DLLs ASAM XIL API, FDX

 .NET panels

Remaining Bus Test Feature Set Interfaces System under Test


Simulation (SUT)

GPIB, RS232, UDP, TCP Digital/Analog I/O

DAQ, IOpiggy, … Memory Fault Memory

XCP

VN1640, VN8900, … Bus Interface

XCP on CAN

Bus communication (CAN, LIN, Ethernet, FlexRay, MOST, K-Line, …)

31/44
Testing Engineering Services

Types of Tests

 We support you with various kinds of


tests
 Functional Tests of ECUs with stimulation
/ measurement of IOs
> Integration of network communication and
electronic signals
 Gateway Tests
> Routing of messages and signals
 Diagnostic Tests (ECU functional
behavior)
> E.g. check of fault memory entries
 Conformance Tests  For various application areas
> For standard protocols, based on OEM specific  Interactive Tests
specifications > With graphical user interface
 Automated Tests
> With monitoring of test progress
 Endurance Tests
> E.g. with different environmental
conditions (control of climate chamber)

32/44
Testing Engineering Services

Functional ECU Tests with VT System

SUT

Analog/Digital IO
CANoe
CAN, LIN,
Test VT System
Test FlexRay
Cases
Cases

EtherCAT

Power Supply SUT

Test VT System Extensions


Report  Specific modules (e.g.
relay modules for
connection of measure-
ment devices)
 Industrial PC
 19” rack with connectors
for SUT, wiring

33/44
Testing Engineering Services

VT System Based Test Solutions For…

Headlights ABS Control Tire Pressure


Energy / Battery Power
Control Unit Unit Control Unit
Management Steering
Module Module

Braking Multiplex
System System

Wiper Rain Sensor


Module Module

Electric Park
Sunroof Distance
Control Control
Unit Unit
Passive Valve
Safety Central Body Cockpit Exhaust Control
Module Component Module Door Unit

34/44
Testing Engineering Services

Gateway Tests / Conformance Tests

|X
Common
Symbol Routing
Databases: Test Case
Information
Generator
dbc, fibex, & Test
arxml,
cdd, odx, Requirements
a2l, …

Test
Cases
 Development of Test Package and
Test Case Generator

CANoe CAN

LIN
Gateway ECU
FlexRay

Ethernet

Test
Report

35/44
Testing Engineering Services

Example VAG Test Package Cover VW80118 & VW80119

36/44
Testing Engineering Services

Automated Test Process With CANoe.DiVa

CANdelaStudio Runtime Report


Diagnostic Configurator CANoe.DiVa Library Analyzer
Authoring Tool

CDD

Generator CANoe
CANoe CANoe
ODX XML/
Test Feature Set HTML/
CAPL XML

ECU Specification Test Module Test Report

ECU
System under Test

Enhance quality, reduce cost!


37/44
Testing Engineering Services

Automated Test Process With CANoe.DiVa

CANoe control
control .DiVa
measure check

IO Read
Control (19,22)
(2F)

CANoe IL
ECU
Temp. System under Test
Sensor
VT System
txMsgTemp

38/44
Testing Engineering Services

CANoe.XCP - Comprehensive ECU Access for Testing and Analysis

39/44
Testing Engineering Services

CANoe.XCP - Comprehensive ECU Access for Testing and Analysis

1. Creation of XCP devices, assign an a2l


2. Select parameters directly from the a2l file

3. Configure selected parameters with DAQ, OnConnect or


polling mode
40/44 4. CANoe system variables are created implicitly
Testing Engineering Services

Test bench with VT System example

41/44
Agenda

Testing Overview
HIL Test Bench: CANoe + VT System
Testing Design: vTESTstudio
Test Data Management: vTESTcenter
Testing Engineering Services
 Summary

42/44
Summary

Vector Test Solution in the V-Model

43/44
Visit our Website:

vector.com/vTESTcenter
vector.com/vTESTstudio
vector.com/VTsystem
vector.com/CANoe

Author:

Kevin Fan (范科发)

Vector China

© 2015. Vector Automotive Technology (Shanghai) Co., Ltd.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V8.5.013 | 2015-09-22

Vous aimerez peut-être aussi