当前位置:首页 >> 电子/电路 >>

汽车电子ECU 测试解决方案


ECU Testing Solution
Test Management, Test Design and Test Execution

V3.0 | 2014-11-14

Agenda
u Testing Overview Requirement and Specification Management Test Environment Setup Test Implementation Automatic and Manual Test Plan Execution and Report Report Analysis and Test Data Management Summary

2

Testing Overview

Small Test Projects

Test Designer

CANoe
Remaining Bus Simulation Requirements Test Implementation Test Execution Test Report

IOs

Bus

ECU

3

Testing Overview

Large Test Projects
Test Manager Test Designer System Engineers Diagrams Tables C# Test Traceability

Tester

CANoe CANoe
Remaining Bus Remaining Bus Simulation Simulation Test Execution Test Execution Test Reports

Requirements Test Design
CAPL

IOs

Bus Customer & Variants

Para

Libs

ECU ECU

Efficiency by:
u u u

Planning Libraries Optimal test means

u u u

Documents exchange Parameter Variant support

u u

Work split Reviews

4

Testing Overview

Vector Test Solution

Traceability

Diagrams

Tables C# Test

CANoe CANoe
Remaining Bus Remaining Bus Simulation Simulation Test Execution Test Execution

CAPL

IOs
Para Libs

Bus

ECU ECU

Test Management
u u u

Test Design
u u u

Test Execution
u u u

Requirements Planning Test progress

Implementation Suitable methods Flexibility

HIL Test Bench CANoe & optional VT System Remaining Bus Simulation

5

Testing Overview

Vector Testing Protfolio
vTESTstudio
u

CANoe + VT Modules + Bus Interfaces
u
Specification of Requirements & Tests Design & Implementation Planning & Execution Evaluation & Analysis

Test programming (CAPL, C#) Table based test design

Realtime execution of tests Access to SUT via
> > >

u

u

I/Os, bus systems and protocols (diagnostics, XCP, …) Debug Interface

u

Graphical test design (diagrams)
Definition of parameters & curves
Project & Test Data Management & Test Team Management

u

> u

Detailed automatic test reporting

vTESTcenter (or 3rd party)
u u u u

Management of testing projects Configuration management of test data Team collaboration by multi-user support Requirements and test engineering

u u u u

Bidirectional traceability Review & rework Import of test exec. reports High-level analysis of test results and trends

6

Agenda
Testing Overview u Requirement and Specification Management Test Environment Setup Test Implementation Automatic and Manual Test Plan Execution and Report Report Analysis and Test Data Management Summary

7

Requirement and Specification Management

Requirement and Specification Phase

Specification of Requirements & Tests

Design & Implementation

Planning & Execution

Evaluation & Analysis

Project & Test Data Management & Test Team Management

vTESTcenter
u
u

Configuration management of test data
Team collaboration by multi-user support Requirements and test engineering

u

8

Requirement and Specification Management

Requirement and Specification
Requirement:
The collection of functions and features those should be implemented by the DUT .

Test Item:

Use case path across several requirements + description of e.g. non-functional conditions

Requirement Structure ? Requirement A ? Rq A.0 ? Rq A.1 ? Rq A.2 ? Requirement B ? Rq B.1 ? Rq B.2

Test Specification:

Collection of cohesive Test Items

Test Specification X

? Test Item X.1

n:m

? Test Item X.2 ? Test Item X.3

Test Specification Y
? Test Item Y.1

9

Requirement and Specification Management

Requirement Management in vTESTcenter

10

Requirement and Specification Management

Test Specification Management and Requirement Mapping
Test Specs / Test Items ? Test Item: Textually described use case path through one or more requirements. Describes the circumstances of the test. Contains test engineering work.

11

Agenda
Testing Overview Requirement and Specification Management Efficient Test Environment Setup Test Implementation Automatic and Manual Test Plane Execution and Report Report Analysis and Test Data Management Summary

u

12

Efficient Testing Environment Setup

ECU in its natural environment

M

Actuators

Remaining ECUs ECU

Battery

Sensor

13

Efficient Testing Environment Setup

ECU Test with VT System

VT1004A VT2516A (digital)

M

V

CANoe
Remaining ECUs

Power Supply
Power Supply Control

ECU under Test

Network Interface

I

VT6204
D A

VT6000

VT7001A

VT System

VT2004A VT2516A (digital)

14

EtherCAT? is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.

Efficient Testing Environment Setup

Core requirements for an efficient test environment

u

Provide the simulated enviroment for the ECU that is the same as the real working environment Measure the output of the ECU

u

u
u u u u

Easy fault injection
Access via SW interfaces, such as diagnosis, CCP / XCP, ... Easy automation of the tests Separate the logic and parameter from the test project Ntuitive operation, easy maintenance, ... ->operating costs!

15

Overview VTSetup System Efficient Testing Vector Environment
Setup of Test Hardware – Conventional Test Systems Test System (PC)
DAQ Boards
0-10V

Signal Conditioning Boards
± 32V

Switching & Fault Injection Units
Short-circuits, Breaks, …
Under Test ) SUT (System SUT

u u

Hardware Horizontal integration of test components on hardware modules Lots of modules and extensive wiring needed

16

Efficient Testing Environment Setup

Setup of Test Hardware – VT System Test System (PC)
DAQ Functions & Preprocessing
VT System Moduls

Automotive specific Signal Conditioning

Switching & Fault Injection

SUT
u u u
17

Simple test setup,

Minimized wiring
Modular, off-the-shelf test system

Efficient Testing Environment Setup

VT System– A Modular System
Relays for switching and fault injection
Phoenix connectors for test harness

Plugs for manual measurement

Status LEDs for each channel

Backplane connector (control, supply power) Signal conditioning

Modules for 19” racks

18

Efficient Testing Environment Setup

VT Board Family

VT1004A

VT2516A

VT2004A

VT7001A

VT2816

VT2848

VT2820

VT6051

VT6204

VT7900

19

Efficient Testing Environment Setup

ECU I/O Modules
Module VT1004A Load and Measurement Module VT2004A Stimulation Module Purpose ECU actuator outputs Channels 4 Features differential inputs (two-wire) RMS and PWM measurement electronic load cont. current up to 16 A differential outputs (two-wire) decade resistor PWM output arbitrary wave form generator voltage, PWM measurement digital signal and PWM output output of bit sequences load or pull-up/down resistor

ECU sensor inputs

4

VT2516A Digital Module

digital ECU inputs and outputs ECU power supply inputs (terminals 15, 30)

16

VT7001A Power Module

2 outputs for 1 ECU

- control of ext. power supplies (incl. arbitrary wave forms) - internal power supply (2 A) - cont. current up to 70 A - current measurement (auto-range 5 ?A … 100 A)

20

Efficient Testing Environment Setup

General-Purpose Modules
Module VT2816 General-Purpose Analog I/O Module VT2848 General-Purpose Digital I/O Module VT2820 General-Purpose Relay Module Channels 12 In 4 Out Features differential inputs, 16 bit, ±60 or ±10 V measurement of RMS and average value current measurement ±5 A output, 14 bit, 0…28 V or ±10 V single-ended inputs/outputs, 0…60 V 200 mA output current PMW input (16 channels) PWM output (16 channels)

48 In/Out

20

- 12 normally open relays - 8 change over relays - maximum current 6 A

u u

I/O modules for general-purpose usage in the test system Contains basic VT functionality, especially signal conditioning, pre-processing of measurement data, status LEDs at front Increased number of channels per module

u

21

Efficient Testing Environment Setup

Typical Test Features – 3 Use Cases with 1 Hardware
u

Measurement
u u

ECU output voltage, PWM, high/low levels, … Current measurement of supply voltage in a wide range, e.g. to detect power saving modes

u

Environment simulation
u u u

Simulation of loads, e.g. by electronic load Sensor simulation by decade resistor, PWM, or voltage signals Relays to optionally switch to original loads and sensors

u

Fault injection
u u u

Short circuits between signal wires or ECU pin to ground/Vbatt Line interruption (open load/broken sensor) Simulation of faulty loads and sensor values

22

22

Efficient Testing Environment Setup

Real-time Modules VT6011 and VT6051
u

Dedicated PC Module for real-time execution u Software is completely installed u Running CANoe RT on Win Standard 7 embedded Ethernet 100/1000MB connection to user PC Dedicated Ethernet port for EtherCAT? for VT System Up to 4 PCI Express channels (x1 on cable) to connect e.g. VT6104/VT6204 network interfaces 2 front side USB ports Based on future-proof COM Express modules u VT6011: Intel? Celeron CPU, 2,0 GHz, 2 GB RAM, 8 GB flash, no fan, 2 x PCIe u VT6051: High-performance Intel? CoreTM i7 CPU, 2,5 GHz, 4 GB RAM, 8 GB Flash, 4 x PCIe u Other variants may be offered in the future, e.g. when new CPU families are available

u u u

u u

EtherCAT? is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. 23

Efficient Testing Environment Setup

User-Programmable FPGA – VT FPGA
u

VT modules with user-programmable FPGA
u
u u

All standard functions of VT module still available
Additional functions by user FPGA Full access to I/O hardware of VT module in user FPGA code

u

FPGA design by modeling
u u u

Using Matlab/Simulink? with Altera DSP Builder block set Simple design tool for FPGA handling ? VT FPGA Manager Done by user himself or Vector project team
VT1004A FPGA VT2004A FPGA VT2516A FPGA VT2816 FPGA VT2848 FPGA
Test Module user code test execution

u

Available modules with user FPGA:
u u u u u

CANoe

VT System
I/O Hardware

ECU
System under Test

FPGA/?C – firmware pre-processing FPGA - user code pre-processing model execution

24

Efficient Testing Environment Setup

Extension Module VT7900A
u

Base board for the realization of application-specific VT System modules
u

Contains connectors, controller, EtherCAT? interface and front panel Specific hardware added on piggyback (application board)

u

u

No firmware programming, simple configuration Digital and analog I/Os allow simple application boards Fully integrated in VT System and CANoe
VT7900A with VT7870 application board

u

u

EtherCAT? is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.

25

Efficient Testing Environment Setup

Modular Scalable System

26

Efficient Testing Environment Setup

Fully CANoe Integration
u u u u u u

I/O signals with accurate time stamps available as CANoe system variables Direct access to I/O signals in CAPL/.NET/CANoe.DiVa/vTESTstudio Individual name can be assigned to each VT System channel Used measurement signals are selected Parameters like integration time(e.g. for average value calculation ) are configured Constraints can be defined to protect the hardware (e.g. define the maximum output voltage)

29

Efficient Testing Environment Setup

Manual VT System Operation
u u u

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

30

Efficient Testing Environment Setup
Application Model in MATLAB

Measurement of ECU Internal Data
u

Application Model in CAPL

Access to ECU via bus or calibration interface (XCP, CCP, VX)
CANoe.XCP/AMD
(XCP Master)

ECU

Test Execution

SWC A (XCP Slave)

SWC B

SWC C

Analysis/Logging

(with measurement option)

RTE

iSystem
.XCP/.AMD

XCP Driver
Debug Interface

BSW

Debugger Vector VX Calibration Interface BUS Interface

Bus Interface

JTAG / Nexus / DAP

ECU

ECU

ECU

XCP / CCP CAN / FlexRay / Ethernet

31

Efficient Testing Environment Setup

CANoe/MATLAB? Interface for Remaining bus simulation
Application Model in MATLAB Application Model in CAPL

Application MATLAB/Simulink/ Stateflow IL TP NM CANoe

CANoe Application CAPL

IL TP

NM CANoe

physical bus
TP
real node CANoe

simulated bus

IL

NM

IL:
Application CAPL CANoe

Interaction Layer

NM: Network Management TP: Transport Protocol

32

Efficient Testing Environment Setup

Remaining bus simulation with Open Environment CANoe
Software Interfaces: INPUT:
u u

.NET, Microsoft COM MATLAB?/Simulink?

OUTPUT:

Databases Test Cases via
u u

vTESTstudio CANoe.DiVa

CANoe
CAN / LIN / FlexRay / Ethernet / MOST / Car2X...

u u

Logfiles Data export

(.mdf, .dat, .mat)
u

CAPL Data import
Analysis Simulation Diagnostic Testing

Configurations Test Reports Panels

u u

DLLs
u u

MATLAB?-dll Node layer-dll (TP, IL, NM) CAPL-dll

u

33

Agenda
Testing Overview Requirement and Specification Management Efficient Testing Environment Test Implementation

u

Test Plane Execution and Report Report Analysis and Test Data Management

Summary
34

Testing Design and Authoring Tool

Testing Implementation Phase

Specification of Requirements & Tests

Design & Implementation

Planning & Execution

Evaluation & Analysis

Project & Test Data Management & Test Team Management

vTESTstudio + vTESTcenter
u u u u u

Test programming (CAPL, C#) Table based test design Graphical test design (diagrams) Definition of parameters & curves Definition of manual test step

35

Testing Design and Authoring Tool

Schematic Overview: vTESTstudio and CANoe

Build

Load

CANoe

Test Editors Project View

?
? ? ? ?

Test Table Editor
Test Diagram Editor C#/CAPL Editor Parameter Editor Stimulation Curve Editor

Symbol Explorer

Test Units – Code – Parameters
Test Units

Test Automation Libraries View Interface Function Explorer

r/w

r/w

r/w

Stimulation Curves

C#, Test Table, CAPL, …

Common Symbol Databases: Parameter Files dbc, fibex, arxml, cdd, odx, a2l, … Test Reports

36

Testing Design and Authoring Tool

Test Table Editor
Test Table Editor:
u

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

u

u

37

Testing Design and Authoring Tool

Test Diagram Editor
u

Test sequence diagram for an clear and concise representation Direct calls to CAPL and C# test cases and functions possible

u

u

Test coverage easily to be reviewed
Easy reuse of test sequence parts

u

38

Testing Design and Authoring Tool

CAPL – Coding Editor
u

State of the art coding editor Coding support:
u u u u u

u

Autocomplete Syntax highlighting Error highlighting Symbol Explorer Function Explorer
Insert function call into the code by drag & drop

u



Support of symbols in Autocomplete

39

39

Testing Design and Authoring Tool

C# – Coding Editor
u

State of the art coding editor
u u

Autocomplete Syntax highlighting Error highlighting … Symbol Explorer Function Explorer

u u u

Drag & drop e.g. from
u u

40

40

Testing Design and Authoring Tool

Parameters and Test Vector Editors
u

Define parameters separated from test sequences
u u

ECU parameters Test vectors
Parameter definition in Excel-style editor

u

Standard file format (CSV), also directly editable in MS Excel Use parameters directly in code e.g. for value assignments, comparisons and variant decisions
Parameter overview in Symbol Explorer

u

Parameter access in coding editors

Parameter access in table-style editor 41

Testing Design and Authoring Tool

Stimulation Curve Editor
u

Define curves graphically with the Waveform Editor Use curves for the stimulation of the system under test Multiple stimulus curves can easily be synchronized within the same editor
Graphical support for synchronization of multiple curves

u

u

42

Testing Design and Authoring Tool

Handling of Variants and Platforms

u

Define variants based on variant properties (hierarchical dependency) Define variant specific parameter values Separate test logic from concrete variant dependent implementation

u

u

43

Testing Design and Authoring Tool

Traceability
u

Link trace items to test cases by Drag&Drop from the explorer Links are possible within all test design languages (test table, C#, CAPL, test diagram) m:n relations are possible between test cases and trace items

vTESTstudio

u

u

Link trace items to implemented test cases by drag & drop

46

Agenda
Testing Overview Requirement and Specification Management Test Environment Setup Test Implementation Automatic and Manual Test Plan Execution and Report

u

Report Analysis and Test Data Management

Summary
48

Test Plan Execution and Report

Testing plan and execution phase

Specification of Requirements & Tests

Design & Implementation

Planning & Execution

Evaluation & Analysis

Project & Test Data Management & Test Team Management

vTESTcenter + CANoe + VT Modules
u u u u u

Management of testing projects Testing plan Realtime execution of tests Access to SUT via Detailed automatic test reporting

49

Main Test Plan Concepts Execution and Report
Milestone Planning by using Test Increments
Test Increment sequence System construction & test construction

?

?

?

?

MS1

MS2

MS3

MS4

Internal Delivery of System under Test

V0.1

V0.2

V0.3

V1.0

Test Phase Test Tasks determine

Functional Test A+B
Impl1, Tester 1, HIL X
Impl2, Tester 2, SIM Y

Regression
Impl 3, Tester 1, HIL X Impl1, Tester 1, Vehicle

Re-Test
Impl4, Tester 1, Vehicle

Last Build Test
Impl2, Tester 3, Vehicle

? Test Implementation
? Tester ? Test Environment Adjust test planning Based on verdicts ??

Release

External Delivery

50

Test Plan Execution and Report

Milestone Planning by using Test Increments

51

Test Execution and Test Report

Test Execution
u u u u u u

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 Debugging supported for C# and CAPL code that is part of a test unit Option to additionally select a second style sheet for (custom) report transformation Possibility to activate/deactivate all passed/failed test cases Status bar information containing execution time, number of failed test cases…

53

Test Execution and Test Report

Automatic Report Generation
u u

u u u u u u

Creation of XML and HTML report files Automatic reporting of u Basic test execution information (start and end time, test module name, verdict, ...) u Configuration parameters (tester’s name, equipment, ...) u Sequence of executed test cases with results u Result of test patterns (expected and measured) Report is different to log ? Logs can be created by using logging feature Test engineers can enrich report with arbitrary information 1 File -> can be archived easily Printable Adaptable via xslt stylesheet Various xslt stylesheets available

54

Test Execution and Test Report

Test Report Sample

55

Test Execution and Test Report

Test Report Sample

56

Agenda
Testing Overview Efficient Testing Environment Testing Design and Authoring Tool Test Execution and Test Report Report Analysis and Test Data Management Summary

u

58

Test Plan Execution and Report

Testing plan and execution phase

Specification of Requirements & Tests

Design & Implementation

Planning & Execution

Evaluation & Analysis

Project & Test Data Management & Test Team Management

vTESTcenter
u u u u

Management of testing projects Configuration management of test data Team collaboration by multi-user support Requirements and test engineering

u u u u

Bidirectional traceability Review & rework Import of test exec. reports High-level analysis of test results and trends

59

Test Management and Test Data Management

Analysis test results and generate a report
Analyze verdicts and coverage for test project

? Based on requirements, or
? on test items, ? Or on test implementation

60

Example UseCases
Trend Charts
Select Base Display Trend in base of Requirements, TestItems or TestCases

Select Diagram Layout Display Trend as stacked bars, lines or stacked lines

Select Parameters Display time-base as daily, weekly, monthly

61

Test Management and Test Data Management

Generate Reports

62

Agenda
Testing Overview Efficient Testing Environment Testing Design and Authoring Tool Test Execution and Test Report Test Management and Test Data Management Report Analysis and Test Data Management

u Summary
64

Summary

Benefits
u

Integrated all-in-one hardware interface for ECU I/O u All basic test components included (relays, decade resistor, …) u Fills gap between standard I/O card and ECU under test Fulfills automotive test requirements concerning voltage, currents, latency, through-put, …

u

u u

Simplifies wiring of even complex test stands
Fully integrated in CANoe: direct and simple control of I/O for test, simulation, and analysis Scalable test solution: from compact off-the-shelf I/O box at developer’s desk to component HIL racks in the lab Test design can be track test coverage from system requirements to test reports One-stop shopping at Vector

u

u

u

? Complete and smart automotive testing solution from Vector

65

Testing Consulting and Engineering

CANoe Customer Applications
u

Development of Test Systems
u u u u u

Design and creation of custom test benches Integration of 3rd party hardware / instruments into CANoe Development of test specifications Design of automated and semi automated test cases Integration of CANoe test systems into existing test environments

u

Development of CANoe Remaining Bus Simulations
u

Implementing of customer specific protocols

u

Consulting
u u

Support customers to identify the ideal hard- and software for their needs Help with the design of CANoe based test systems

u

Workshop
u

Offer customer specific workshops

66

We are supporting you with testing tools and the optimal solution for design and development of your test system!

Contact us E-Mail: support@cn.vector.com Phone: +021 / 64325353

67


相关文章:
汽车电子中ECU的基础软件开发
汽车电子ECU 的基础软件开发。 主要有三个方向: 1.嵌入式软件的开发 2.Autosar 软件的开发 3.工具开发和测试用例开发 工作年限原则上两年以上,多多益善。 ...
符合ISO26262标准的软件测试解决方案
符合 ISO26262 标准的软件测试解决方案 随着汽车行业的迅速发展,汽车电子电器 E/E 系统在汽车中的作用不断提 高,ECU 开发所占用的时间和成本也越来越高。与此...
[NI技术]使用NI VeriStand 实现汽车ECU的 HIL测试
[NI技术]使用NI VeriStand 实现汽车ECU的 HIL测试_...Eldor 公司提供汽车电子组 件,如线圈、离子感 应...汽车公 司提出的 HIL 解决 方案,因为该方案的 ...
汽车ECU开发流程
汽车ECU开发流程_电子/电路_工程科技_专业资料。汽车...提供了一种自 动代码生成和快速原型的解决方案,它...断调试, 找到发动机最佳工作状态下一组参数的测试...
ecu测试的目的
ECU 测试系统与 PXI 平台 在汽车生产企业中,ECU ...电子控制单元(ECU)仿真与... 20页 7下载券 基于...硬件在环解决方案_HIL_E... 6页 免费 复杂ECU网络...
符合ISO26262标准的软件测试解决方案
符合ISO26262 标准的软件测试解决方案随着汽车行业的迅速发展,汽车电子电器 E/E 系统在汽车中的作用不断提高,ECU 开发所占用的时间和成 本也越来越高。 与此同时...
通用型汽车ECU耐久性测试系统ART1000
通用型的测试系统,适用于各种类型 的 ECU,如 BCM (车身控制模块)、ECU (发动机控制单元)、TCU (传动控制单元)、ACU (安全气囊 控制单元)、EPS (电子助力转向...
测试系统需求分析
测试系统需求分析_商业计划_计划/解决方案_应用文书。汽车电子控制器嵌入式软件平台...1引言车用电子控制单元(ECU),这种机电一体化的汽车电子产品,近几年在汽车领域...
咨询公司
1、博辉特科技:自动化、FPC 组装测试整体解决方案、电容式触摸屏整体解决方案、...ECU 电子控制组件为代 表的三大系列三十多个品种的高品质汽车电子产品 4、 ...
汽车电子控制系统检修
并列举了实际操作中面对 汽车故障的一系列解决方案及...汽车电子控制单元(ECU)中枢电路元件即微型计算机。...④进行自诊断测试,读取故障代码。如果有故障代码,则...
更多相关标签: