inca-mce v7.2 user's guide en - etas · 6 inca-mce v7.2 - user’s guide introduction etas 1...

64
INCA-MCE V7.2 User’s Guide

Upload: buingoc

Post on 29-May-2018

230 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

INCA-MCE V7.2User’s Guide

Page 2: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

2

Copyright

The data in this document may not be altered or amended without special noti-fication from ETAS GmbH. ETAS GmbH undertakes no further obligation in rela-tion to this document. The software described in it can only be used if thecustomer is in possession of a general license agreement or single license. Usingand copying is only allowed in concurrence with the specifications stipulated inthe contract.

Under no circumstances may any part of this document be copied, reproduced,transmitted, stored in a retrieval system or translated into another languagewithout the express written permission of ETAS GmbH.

© Copyright 2011 - 2016 ETAS GmbH, Stuttgart

The names and designations used in this document are trademarks or brandsbelonging to the respective owners.

Document AM015001 V7.2 R01 EN - 03.2016

Page 3: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

Inhalt

ETAS Inhalt

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1.1.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.1.2 Labeling of Safety Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

1.2 Safety Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2 New Features in INCA-MCE V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.1 New Features in INCA-MCE V2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.1.1 Enhanced Experiment View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.1.2 Adding Variables used in the Experiment to MCE in one Step . . . . 112.1.3 Enhanced Information in MCE Variable Selection Window. . . . . . . 122.1.4 Support of XETK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.1.5 Support of ETK/XETK with Dynamic Emu RAM. . . . . . . . . . . . . . . . 132.1.6 Optimization for ASAM-MCD-3MC: Automatic Selection of All Variab-

les . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.1 Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.1.1 Delivery Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.1.2 System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.1.3 Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.2 Installing the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.3 Licensing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

4 Overview of INCA-MCE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174.1 Standard Calibration Systems at the Test Bench . . . . . . . . . . . . . . . . . . . . . 174.2 Fast ECU Access with INCA-MCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4.2.1 Working Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.2.2 MCE Protocols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204.2.3 INCA-MCE in Comparison to ASAP3/ASAM MCD-3 MC . . . . . . . . 21

INCA-MCE V7.2 - User’s Guide 3

Page 4: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

4

Inhalt ETAS

4.3 Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

5 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.1 INCA-MCE-Interface Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

5.1.1 iLinkRT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.1.2 EtherCAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

5.2 MCE Device Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265.2.1 iLinkRTTM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265.2.2 EtherCAT Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.2.3 Ethernet Layer-2 Software Bridge Configuration . . . . . . . . . . . . . . 28

5.3 MCE Interface Configuration in INCA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285.3.1 Configuring MCE Interfaces via iLinkRTTM . . . . . . . . . . . . . . . . . . . 295.3.2 Configuring MCE Interfaces via EtherCAT . . . . . . . . . . . . . . . . . . . 315.3.3 Assigning XETK to the MCE Interface . . . . . . . . . . . . . . . . . . . . . . 32

5.4 Multicast Network Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345.5 Setup INCA and iLinkRT System on same PC . . . . . . . . . . . . . . . . . . . . . . . . 35

6 MCE Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376.1 Manual MCE Configuration via INCA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

6.1.1 Assigning Complete Sets of Variables for MCE Use . . . . . . . . . . . . 386.1.2 Selecting Individual Variables via the MCE Variable Selection Window

386.2 MCE Configuration via Automation Interfaces . . . . . . . . . . . . . . . . . . . . . . 43

6.2.1 Tool API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436.2.2 ASAP3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446.2.3 MCD-3MC V1.0.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466.2.4 MCD-3MC V2.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

6.3 Order to be Adhered to in the Overall System . . . . . . . . . . . . . . . . . . . . . . . 496.3.1 When Using Measurement and Calibration Variables. . . . . . . . . . . 496.3.2 When Using the External Master Clock (EtherCAT Distributed Clocks

[DC]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

7 Measuring and Calibrating with INCA-MCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517.1 Measuring with INCA-MCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

7.1.1 Special Features of iLinkRT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517.1.2 Special Features of EtherCAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527.1.3 Measure Data Types not supported . . . . . . . . . . . . . . . . . . . . . . . . 537.1.4 Behavior with Configuration Changes . . . . . . . . . . . . . . . . . . . . . . 53

7.2 Calibrating with INCA-MCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547.2.1 Prerequisites for Calibration Access . . . . . . . . . . . . . . . . . . . . . . . . 547.2.2 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557.2.3 Transfer of INCA-MCE Calibration Actions to INCA (Back Animation)

557.2.4 Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567.2.5 iLinkRTTM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577.2.6 EtherCAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

8 ETAS Contact Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

INCA-MCE V7.2 - User’s Guide

Page 5: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Inhalt

Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

INCA-MCE V7.2 - User’s Guide 5

Page 6: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

6

Introduction ETAS

1 Introduction

Over the last few years, the complexity of engine and transmission ECUs hascontinuously increased with no sign that this trend will stop. There are variousdrivers for this: the most dominant ones are the increasing stringency of emissionand CO2 regulations and the customer demand for cars with the lowest con-sumption possible. The automotive industry reacts to these challenges by devel-oping new engines with optimized combustion and the downsizing of enginesas well as efficiency-improving transmissions.

Improved Functions of Engine and Transmission Control

At the same time, the control, regulation and diagnostic algorithms of engineand transmission control are being adapted and improved. The complexity oftoday’s vehicle electronics becomes obvious looking at the number of interactivesubsystems, the count of signals exchanged between these subsystems, theincreasing computing power and scope of the ECU software.

Increasing Calibration Effort

Along with the system complexity, the calibration effort is also rising – somethingthat is reflected in the number of calibration labels in an ECU and the number ofdegrees of freedom of control algorithms. ECU software for the latest generationof larger engines contains over 10000 calibration labels.

New, More Efficient Calibration Methods

To master these increasing calibration efforts while facing permanent cost cut-ting, OEMs and suppliers are introducing new, more efficient calibration meth-ods and are frontloading more and more calibration work to earlier developmentphases.

The main goals in the introduction of the new calibration methods are:

• Performance increase to reduce calibration times

• Moving from steady-state experiments to quasi stationary or even dynamic experiments

• Quality improvement of the measurement and calibration data

• Better reproducibility of test runs

• Identification and validation of mathematical models for computer-based development in virtual environments

To reach these goals, the following prerequisites must be fulfilled:

• Fast reaction and calibration times (~1 ms)

• Real-time reactions (e.g. on limit violations)

• Continuous variation of calibration parameters

• Multidimensional step excitation in the system

• Very reliable test run stability (e.g. avoidance of system shutdown in the case of limit violations)

Calibration systems at the test benches of today either cannot meet theserequirements or can only meet them in part. New solutions are thereforerequired.

INCA-MCE V7.2 - User’s Guide

Page 7: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Introduction

See the chapter "Overview of INCA-MCE" on page 17 for an overview of thefeatures and functions of INCA-MCE.

1.1 About this Manual

This manual addresses qualified personnel working in the fields of automobileECU development and calibration.

Specialized knowledge in the areas of measurement and control unit technologyis required. Moreover users need to be able to work with INCA and know thebasic functionality of INCA.

1.1.1 Contents

The manual consists of the following chapters:

• "Introduction" on page 6

This chapter

• "New Features in INCA-MCE V2" on page 10

This chapter contains a summary of the new features and changes.

You should read this section even if you are an experienced INCA-MCE user.

• "Installation" on page 14

This chapter contains information on the delivery scope, hardware and software requirements for the installation, as well as on the preparation and execution of the installation.

• "Overview of INCA-MCE" on page 17

This chapter contains an overview of the features and functions of INCA-MCE.

• "System Configuration" on page 24

This chapter contains information on how to configure interfaces and MCE devices.

• "MCE Configuration" on page 37

This chapter contains information and tips on MCE configuration.

• "Measuring and Calibrating with INCA-MCE" on page 51

This chapter contains information and tips on measuring and calibrating with INCA-MCE.

INCA-MCE V7.2 - User’s Guide 7

Page 8: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

8

Introduction ETAS

1.1.2 Labeling of Safety Instructions

The safety instructions contained in this manual are shown with the standard danger sym-bol shown below:

The following safety instructions are used. They provide extremely important information.Please read this information carefully.

CAUTION!

indicates a low-risk danger which could result in minor or less serious injury or damage if not avoided.

WARNING!

indicates a possible medium-risk danger which could lead to serious or even fatal injuries if not avoided.

DANGER!

indicates a high-risk, immediate danger which could lead to serious or even fatal injuries if not avoided.

INCA-MCE V7.2 - User’s Guide

Page 9: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Introduction

1.2 Safety Instructions

Be sure to observe the following safety instructions when working with INCAand INCA-MCE.

WARNING!

Calibration activities influence the behavior of the ECU and the sys-tems controlled by the ECU. This may result in unexpected behavior of the vehicle and thus can lead to safety critical situations. Only well trained personnel should be allowed to perform calibration activities.

WARNING!

Sending out CAN messages influences the behavior of the CAN bus network and the systems connected to it. This may result in unex-pected behavior of the vehicle and thus can lead to safety critical sit-uations.Only well trained personnel should be allowed to perform CAN mes-sage sending activities.

INCA-MCE V7.2 - User’s Guide 9

Page 10: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

10

New Features in INCA-MCE V7.2 ETAS

2 New Features in INCA-MCE V7.2

This section contains a summary of the new features that have been introducedin INCA-MCE V2. You should read this section even if you are already an experi-enced INCA-MCE user. The latest changes are listed on top.

2.1 New Features in INCA-MCE V7.2

The following functional extensions and improvements are contained inINCA-MCE V7.2:

• "Enhanced Experiment View" on page 11

• "Adding Variables used in the Experiment to MCE in one Step" on page 11

• "Enhanced Information in MCE Variable Selection Window" on page 12

• "Optimization for ASAM-MCD-3MC: Automatic Selection of All Vari-ables" on page 13

• "Support of ETK/XETK with Dynamic Emu RAM" on page 13

• "Optimization for ASAM-MCD-3MC: Automatic Selection of All Vari-ables" on page 13

INCA-MCE V7.2 - User’s Guide

Page 11: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS New Features in INCA-MCE V7.2

2.1.1 Enhanced Experiment View

The INCA Database Manager provides an experiment view showing the structureand elements of an experiment without the need to open it. Starting with SP6,this view also includes the MCE configuration included in the experiment.

2.1.2 Adding Variables used in the Experiment to MCE in one Step

To set up an MCE configuration in INCA, you had to open an MCE VariableSelection Window and select the measure and calibration variables required forMCE individually in a multi-step process.

INCA-MCE now offers additional menu entries in the Variables menu of theexperiment environment, thus providing a fast and efficient one-step procedure:

• MCE – Add all variables of experiment

• MCE – Add all calibration variables of experiment

• MCE – Add all measure variables of experiment

The corresponding set of variables is added for MCE use without any furtherinteraction.

For details see "Manual MCE Configuration via INCA" on page 37.

INCA-MCE V7.2 - User’s Guide 11

Page 12: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

12

New Features in INCA-MCE V7.2 ETAS

2.1.3 Enhanced Information in MCE Variable Selection Window

In addition to names of the variables that are assigned for MCE use and thecorresponding devices, the MCE Variable Selection Window now also providesthe following information:

• A green checkmark marks all variables that have already been successfully registered for MCE use. Variables without a checkmark are marked for MCE use, but have not yet been registered.

They will finally be registered when clicking OK in this dialog. If it is not possible to use all of the selected variables for MCE, a corresponding mes-sage will be shown.

• An additional column shows the raster used for the measure variable.

For further information on raster assignments of MCE variables, see "Variableand Raster Selection for INCA-MCE Variables" on page 42.

2.1.4 Support of XETK

Starting with INCA-MCE V7.2, XETK are also supported with MCE.

As XETK cannot be connected directly to the ES910 in an INCA-MCE application,they need to be assigned to an ES910 system (MCE-Link) in the INCA HardwareConfiguration Editor.

To assign the XETK to the ES910 system used as MCE-Link, select MCE Assign sources to system.

A dialog box opens where you can assign an XETK device that you want to useas ECU interface to the MCE output device. This makes the XETK measurementand calibration variables available for MCE.

For further details, see "Assigning XETK to the MCE Interface" on page 32.

Note

If you want to change the raster, close this window and open the Vari-able Selection dialog.

Note

This feature has been introduced with INCA V7.1 / INCA-MCE V7.2.

INCA-MCE V7.2 - User’s Guide

Page 13: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS New Features in INCA-MCE V7.2

2.1.5 Support of ETK/XETK with Dynamic Emu RAM

ETK and XETK with emulation RAM may support limited emulation with experi-ment preparation and / or dynamic emulation, where the available emulationRAM is used on demand.

The first versions of INCA-MCE only supported the limited emulation mode withexperiment preparation. Starting with SP4, INCA-MCE also supports the dynamicemulation mode.

Main benefit for test bench users:

The selection of calibration variables for INCA-MCE by the automation systemautomatically ensures their emulation. Neither a pre-configuration, nor a compli-cated synchronization of an INCA experiment pre-configuration and the automa-tion system configuration is required.

For further details on limited and dynamic emulation RAM see the document"Serial (X)ETK Calibration Concepts - Limited Emulation RAM"1.

2.1.6 Optimization for ASAM-MCD-3MC: Automatic Selection of All Variables

For a better MCE support, the INCA user options provide on the General tab thenew option If available, always use FULI device.

This option defines whether INCA shall attempt to configure all measure andcalibration variables used by the MCD3 client automatically for INCA-MCEusage, thus maximising the reuse of existing testbench automation scripts. Usingthis mode the FULI LUNs are not available.

Note

This feature has been introduced with SP4 of INCA V7.1 / INCA-MCE V7.2

1. You will find this document in the Manuals folder of your INCA installation under INCA_LimitedEmuRAM_EN.pdf.

INCA-MCE V7.2 - User’s Guide 13

Page 14: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

14

Installation ETAS

3 Installation

This chapter contains information on the delivery scope, hardware and softwarerequirements for the installation, as well as on the preparation and execution ofthe installation.

The chapter contains information on the following topics:

• "Preparation" on page 14

– "Delivery Scope" on page 14

– "System Requirements" on page 14

• "Installing the Program" on page 15

• "Licensing the Software" on page 16

3.1 Preparation

Check that the delivery package is complete and that your system meets thenecessary system requirements before starting the installation procedure.Depending on the operating system used and your network connection, youmust also check that you have the necessary authorization.

3.1.1 Delivery Scope

The following components are part of the delivery scope of INCA-MCE:

• INCA-MCE CD-ROM with

– INCA-MCE program files

– The most recent Hardware Service Pack (see the Release Notes for details on the required HSP version)

– INCA-MCE manual in PDF format

– What’s New, Release Notes and other current documentation

– iLinkRTTM XCP Implementation Description

– INCA-MCE EtherCAT Implementation Description

• A document ("License Entitlement") that describes how you get the licenses for the software components purchased.

3.1.2 System Requirements

The system requirements for operating INCA are also sufficient for operating theadd-on INCA-MCE.

3.1.3 Software Requirements

Make sure that your INCA software as well as other required add-ons and toolsare installed and are the most recent versions. This is particularly the case for:

• INCA

Note

Before starting the installation procedure and using the software, check you have the necessary access rights to the Windows Registry. If in doubt, ask your system administrator.

INCA-MCE V7.2 - User’s Guide

Page 15: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Installation

• INCA Service Pack

• ES9xx add-on

• HSP

3.2 Installing the Program

This section describes how to install INCA-MCE.

To execute installation

• Insert the CD with the installation program into the drive of your computer.

• If the installation program does not start automati-cally, run the autostart.exe program from the installation CD.

The INCA-MCE installation program is launched.

The installation program starts.

• Follow the instructions displayed to you by the installation program and confirm them with Next in each case.

You must then check that a license for INCA-MCE is installed.

Note

It is possible to work offline with INCA-MCE without a license – the manual configuration of INCA-MCE variables and storing them in the experiment envi-ronment do not require a license. A valid license is, however, necessary when this configuration is to be trans-ferred to an MCE device!

INCA-MCE V7.2 - User’s Guide 15

Page 16: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

16

Installation ETAS

3.3 Licensing the Software

A valid license is required for using INCA. You can obtain the license file requiredfor licensing either from your tool coordinator or through a self service portal onthe ETAS Internet Site under http://www.etas.com/support/licensing. To requestthe license file you have to enter the activation number which you received fromETAS during the ordering process.

In the Windows Start menu, select Programs ETAS LicenseManagement ETAS License Manager.

Follow the instructions given in the dialog. For further information about, forexample, the ETAS license models and borrowing a license, press F1 in the ETASLicense Manager.

INCA-MCE V7.2 - User’s Guide

Page 17: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Overview of INCA-MCE

4 Overview of INCA-MCE

This chapter contains an overview of the features and functions of INCA-MCE.

The chapter contains information on the following topics:

• "Standard Calibration Systems at the Test Bench" on page 17

• "Fast ECU Access with INCA-MCE" on page 18

– "Working Process" on page 19

– "MCE Protocols" on page 20

– "INCA-MCE in Comparison to ASAP3/ASAM MCD-3 MC" on page 21

• "Application Examples" on page 21

4.1 Standard Calibration Systems at the Test Bench

Fig. 4-1 shows a schematic of a calibration system as it is commonly used todayat most engine and transmission test benches.

Calibration access to the ECU is accomplished by using measurement and cali-bration software connected to the ECU using appropriate hardware.

Serial protocols such as CCP and XCP are used at the ECU interface. Specific ECUinterfaces for development purposes, such as the ETK, perform particularly well.

A test bench control system controls the test bench hardware and special mea-surement equipment via one or more automation buses such as PROFIBUS, Eth-erCAT and CANopen.

Fig. 4-1 Typical Test Bench Setup

The automation software/auto-calibration tool accesses the calibration tool viathe ASAM MCD-3 MC interface or the ASAP3 interface and thus makes a closedcontrol loop.

Calibration HW,e.g. ES592

ECU Interface,e.g. ETK

ECU

Automation Bus /Busses

Engine, Dynamometer,Specific Measurement Equipment

Test Bench ControlSystem,

Automation Software

Measurement andCalibration Tool

e.g. INCA ASAM MCD-3 MC/ASAP3

INCA-MCE V7.2 - User’s Guide 17

Page 18: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

18

Overview of INCA-MCE ETAS

The automation software on the test bench system accesses control values basedon their name and physical value. In the ECU, this data is stored according to itsaddress and in hexadecimal form. The necessary conversion of the data takesplace in the calibration tool.

Calibration systems of this kind can be found at almost every engine and trans-mission test bench today.

Limitations

The limitations of this system which make the introduction of new, advancedcalibration methods difficult are:

• Relatively slow calibration cycles1: The calibration time for a map of the magnitude "16*16 calibration values" is about 100 ms in the setup described above.

• As the calibration is carried out via a non-real-time-capable protocol and the calibration tool runs on a Windows operating system, the calibration time can vary significantly (jitter).

• ASAP3 is a blocking communication protocol. The automation software therefore cannot receive measurement data from the ECU during a cali-bration task.

• ASAP3 does not support multi-master architecture. The automation soft-ware and the auto-calibration tool therefore cannot access ECU values via ASAP3 simultaneously.

To overcome these limitations, ETAS has developed INCA-MCE which providesfast measurement and calibration access to the ECU.

4.2 Fast ECU Access with INCA-MCE

Besides the main aim of overcoming the limitations of ASAP3 and ASAM MCD-3 MC, the development of INCA-MCE has also had the following requirementsto cope with:

• The new test bench solution should be compatible with today’s existing test bench systems (see "Standard Calibration Systems at the Test Bench" on page 17).

• The test bench software should still be able to access ECU values based on their name and physical value.

• Low migration costs: Especially expensive test bench hardware already in use today should still be able to be used.

The core idea of INCA-MCE is to replace the standard measurement and calibra-tion hardware by an intelligent, real-time-capable hardware and to shift parts ofthe MC-tool INCA to this hardware.

1. The time between the calibration request being sent by the automation soft-ware and the positive response to the automation software that the calibration was successfully performed

INCA-MCE V7.2 - User’s Guide

Page 19: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Overview of INCA-MCE

This allows the direct connection of the test bench to the INCA-MCE hardwareusing a real-time-capable protocol and thus provides extremely fast measure-ment and calibration access to the ECU (see Fig. 4-2 on page 19). The data con-version between the test bench and the ECU takes place in real time on the MCEhardware.

Fig. 4-2 Test bench System Using the MC Embedded Solution

4.2.1 Working Process

The working process with INCA-MCE can be divided into a configuration phase(see "System Configuration" on page 24 and "MCE Configuration"on page 37) and a measurement and calibration phase ("Measuring and Cali-brating with INCA-MCE" on page 51).

Preconfiguring the Real-Time-Capable Hardware

The MCE hardware must be preconfigured to ensure that the relevant necessaryinformation from the ASAM MCD-2 MC ECU description file is available for real-time operation.

To carry out this preconfiguration, the user must select the required measure-ment and calibration variables (manually in INCA or using the automation inter-face). Once the configuration has been completed, the test bench control systemdownloads a list of the selected variables via the MCE protocol.

Measuring and Calibrating with INCA

During the measurement and calibration phase, the MCE hardware continuouslycollects the ECU values to be measured and forwards these directly to the testbench via the MCE protocol.

Any calibration that has taken place is displayed in the INCA calibration tool –regardless of which calibration path was used. This ensures that the test benchengineer always knows what state the ECU is currently in.

ECU Interface,e.g. ETK

ECU

ASAM MCD-3 MC/ASAP3

Automation Bus /Busses

Engine, Dynamometer,Specific Measurement Equipment

Test Bench ControlSystem,

Automation Software

Measurement andCalibration Tool

e.g. INCA

Partial shift of MCfunctionality from the PC to

a realtime application

Fast ECU Access via realtime MCE protocol

MCE HW withRealtime Capability,

e.g. ES910.3

INCA-MCE V7.2 - User’s Guide 19

Page 20: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

20

Overview of INCA-MCE ETAS

4.2.2 MCE Protocols

For faster ECU access for measurement and calibration access, INCA-MCE sup-ports two alternative protocols: iLinkRTTM and EtherCAT.

iLinkRT

iLinkRTTM was jointly developed by AVL List GmbH and ETAS GmbH specificallyfor INCA-MCE. It is based on the automotive standard XCP-on-Ethernet,although it only uses the commands for measurement and calibration access. Ituses both standard XCP commands and additional commands that were realizedusing the USER_CMD mechanism of XCP.

The key benefits of iLinkRTTM are:

• An optimized command set, focusing on measurement and calibration

• Performance-optimized calibration access

• Name-based, physical representation

• Non-blocking protocol

• Open protocol based on XCP, an existing automotive standard

• Multi-master and multi-slave support

• Simple implementation for the migration of existing test bench systems to INCA-MCE

EtherCAT

EtherCAT is a real-time-capable automation bus based on Ethernet. In additionto fast ECU access, it also enables the automation of test bench componentssuch as the combustion analyzer, exhaust gas measurement system and specialmeasurement equipment. A global clock synchronizing the different compo-nents makes it possible to merge decentrally recorded data and to perform jointanalysis.

EtherCAT was initiated by the company Beckhoff as an open, real-time-capableprotocol for automation purposes. Today, it is developed and maintained by theEtherCAT Technology Group with more than 1500 members. It is characterizedby outstanding performance (e.g. transfer of 1000 I/Os in 30 μs), a very simplewiring concept and openness for other protocols.

Comparison of iLinkRT and EtherCAT for Fast ECU Access

iLinkRTTM and EtherCAT are different types of protocol and are thus difficult tocompare with each other. While iLinkRTTM is a protocol specially designed forINCA-MCE, EtherCAT is an automation field bus with very complex functionsthat cover a wide application range.

INCA-MCE V7.2 - User’s Guide

Page 21: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Overview of INCA-MCE

Regarding INCA-MCE, both protocols provide similar functionality and thus com-parable performance. When looked at in detail, both protocols have theirstrengths and weaknesses (see Tab. 4-1). Which protocol is to be preferreddepends very much on the use at the particular test bench.

Tab. 4-1 Comparison of iLinkRTTM and EtherCAT when using with INCA-MCE

It is therefore impossible to give a general recommendation for one or otherprotocol. As a rule of thumb, it can be said that iLinkRTTM, due to its low migra-tion effort, should be the preferred choice when realizing fast ECU access withINCA-MCE at existing test benches. EtherCAT is the right choice when the com-plete test bench with its components is to be automated via EtherCAT.

4.2.3 INCA-MCE in Comparison to ASAP3/ASAM MCD-3 MC

The interfaces ASAP3 and ASAM MCD-3 MC both allow the calibration systemto be controlled remotely from the test bench.

In contrast to these ASAM standard interfaces, the function scope of the INCA-MCE protocols focuses exclusively on the fast measuring and calibration of ECUvalues. The MCE protocols can thus be seen as an addition to ASAP3 orASAM MCD-3 MC enabling fast measurement and calibration access with time-critical applications.

In addition, INCA-MCE can be used for partial automation independently ofASAP3/ASAM MCD-3 MC – in this case, the system is configured manually usingthe calibration tool.

4.3 Application Examples

The largest benefit of INCA-MCE is the much faster ECU calibration access: Incomparison to an ASAP3 interface with an RS232 connection, a single map ofthe magnitude 16*16 can be calibrated 400 times faster with INCA-MCE. It is160 times faster in comparison to ASAP3 with an Ethernet connection or anASAM MCD-3 MC interface.

Looking at the system setup, it becomes obvious that with INCA-MCE the limit-ing factor is no longer the connection of the test bench to the calibration tool butthe ECU interface (CCP, XCP, ETK…). If the increase in performance with a high-

Criterion iLinkRT EtherCAT

Measurement and calibration performance ++ ++

Supported calibration methods + o

Real-time-capability for measurement and calibration tasks

+ ++

Capability to automate all components of the test bench

- +

Ease of implementation ++ -

Cost and effort of migration for existing test bench systems

+ -

Communication type Triggered by ECU and test bench

Triggered by EtherCAT bus master

++ very well suited; + well suited; 0 suited; - less suited; -- not suited

INCA-MCE V7.2 - User’s Guide 21

Page 22: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

22

Overview of INCA-MCE ETAS

performance ECU interface such as the ETK is 100 - 500 times faster, theincrease in performance with a serial interface such as CCP is only 10 - 20 timesfaster.

By using fast ECU access with INCA-MCE, the following results could be achievedin an evaluation phase:

• Running real-time controllers on the test bench system

In early phases of development, not all ECU functionality is implemented or calibrated. It is therefore often difficult to start up an engine in this phase. This is particularly the case if functions for component protection (e.g. exhaust gas temperature control, knock control, …) are missing.

The fast ECU connection via INCA-MCE allows you to substitute missing functions by generic real-time controllers running on the test bench sys-tem. Controllers running on the test bench system in parallel to the man-ual calibration (e.g. combustion controller, Lambda controller, etc.), also help to decrease the level of freedom and thus reduce the complexity of calibration tasks.

• Avoidance of limit violations

In order to guarantee the stability of measurements, it is important to adjust a large number of calibration variables simultaneously to avoid crit-ical limits being exceeded. Due to the sequential adjustment of maps, vari-ations can lead to unstable operation (Fig. 4-3 - on the left).

With its fast ECU access, INCA-MCE makes it possible to adjust the maps in a number of smaller intermediate steps (Fig. 4-3 - on the right) and thus avoid limit violations.

Fig. 4-3 The Advantage of Fast Ramps in Terms of a Stable Operating Range1

• Improved data quality and reduced overshooting of the system

At the change of operating point with fast ramps, it is important that the intermediate steps are as small as possible and that the different parame-ters are adjusted as fast as possible. The key benefits of INCA-MCE are obvious:

When examining a test run in which after 15 seconds of stabilization time the next variation point is approached, one can observe that when using the standard ASAP3 interface seven maps can be changed with three intermediate steps in 13 seconds (Fig. 4-4 - on the left). In contrast, by

1. Source: ATZ elektronik 2/2008, "iLinkRT High Performance ECU Calibration"

INCA-MCE V7.2 - User’s Guide

Page 23: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Overview of INCA-MCE

using INCA-MCE and iLinkRTTM, these same seven maps can be overwrit-ten in steps of 10 Hz so that a virtually continuous interpolation is possible (Fig. 4-4 - on the right).

In addition to the advantage of a shorter overall calibration time (approx. 30%), there is also a significant improvement of data quality. If, in partic-ular, one examines the soot traces in Fig. 4-4, one can see that the dynamic excitation is significantly lower due to the smaller intermediate steps during calibration. This means that overshooting of the response (especially soot) hardly ever happens.

Fig. 4-4 ECU Parameter Ramps with ASAP3 or iLinkRTTM 1

1. Source: ATZ elektronik 2/2008, "iLinkRT High Performance ECU Calibration"

INCA-MCE V7.2 - User’s Guide 23

Page 24: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

24

System Configuration ETAS

5 System Configuration

This chapter contains information on how to configure interfaces and MCEdevices.

In particular:

• "INCA-MCE-Interface Configuration" on page 24

– "iLinkRT" on page 24

– "EtherCAT" on page 25

• "MCE Device Configuration" on page 26

– "iLinkRTTM Configuration" on page 26

– "EtherCAT Configuration" on page 27

– "Ethernet Layer-2 Software Bridge Configuration" on page 28

• "MCE Interface Configuration in INCA" on page 28

– "Configuring MCE Interfaces via iLinkRTTM" on page 29

– "Configuring MCE Interfaces via EtherCAT" on page 31

– "Assigning XETK to the MCE Interface" on page 32

• "Multicast Network Configuration" on page 34

5.1 INCA-MCE-Interface Configuration

For fast measurement and calibration access of ECU data, INCA-MCE supportsthe two alternative protocols iLinkRTTM and EtherCAT. ECU data is accessed on aname-based basis in physical representation.

5.1.1 iLinkRT

iLinkRTTM is a proprietary, open protocol specially developed for fast ECU access.

Note

When choosing the protocol, please ensure that all system components sup-port the relevant protocol.

Note

To find out more about iLinkRT, read the protocol specification "iLinkRT XCP Implementation Description" that you can obtain from ETAS GmbH. This document can be opened once INCA-MCE has been installed via the Start menu (Programs ETAS INCA X.Y Manuals and Tutorials).

INCA-MCE V7.2 - User’s Guide

Page 25: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS System Configuration

To be able to use iLinkRTTM, the protocol version must be compatible with theINCA-MCE version. The following table shows which protocol version of iLink-RTTM is compatible with your installed INCA-MCE version:

Tab. 5-1 INCA-MCE Version and Version of the iLinkRTTM Protocol

The test bench applications of various manufacturers already support iLinkRTTM.ETAS provides the "iLinkRT Master COM Server for Windows" as an alternative.It makes available an API for linking iLinkRTTM for proprietary applications.

5.1.2 EtherCAT

EtherCAT is a standardized, real-time-capable automation bus based on Ether-net.

INCA-MCE Version iLinkRT Protocol Version

Compatible with

INCA-MCE "AS" (calibration-specific evaluation kit)

iLinkRT PV1.1 –

INCA-MCE V1.0 iLinkRT PV1.2 iLinkRT PV1.2, PV1.3

INCA-MCE V1.1 iLinkRT PV1.3 iLinkRT PV1.2, PV1.3

INCA-MCE V1.1.1 iLinkRT PV1.3 iLinkRT PV1.2, PV1.3

INCA-MCE V7.2 iLinkRT PV1.3 iLinkRT PV1.2, PV1.3

Note

To find out whether the test bench application you are using supports iLinkRT, contact the Customer Service Department of the relevant manufacturer – con-tact ETAS for information on "iLinkRT Master COM Server for Windows".

Note

For more information on EtherCAT, refer to the homepage of the EtherCAT Technology Group (ETG) that is responsible for the development of the proto-col.

Note

To find out more about EtherCAT, please read the specifications on ECU data representation and implementation details in connection with the EtherCAT protocol that you can obtain from ETAS.

INCA-MCE V7.2 - User’s Guide 25

Page 26: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

26

System Configuration ETAS

To be able to use EtherCAT, the protocol version must be compatible with theINCA-MCE version. The following table shows which protocol version of Ether-CAT is compatible with your installed INCA-MCE version:

Tab. 5-2 INCA-MCE Version and EtherCAT Specification

The electronic description of the EtherCAT device (ESI file, EtherCAT Slave Infor-mation File) is available on the INCA-MCE device and can be loaded onto the PCvia the web interface. For more details on the web interface, refer to the ES910.3Prototyping and Interface Module manual.

5.2 MCE Device Configuration

5.2.1 iLinkRTTM Configuration

MCE devices do not need to be configured for iLinkRTTM.

INCA-MCE Version EtherCAT Specification

ETG.1000 ETG.2000

INCA-MCE "AS" (calibration-specific evaluation kit)

V1.0.2 V1.0.1

INCA-MCE V1.0 V1.0.2 V1.0.1

INCA-MCE V1.1 V1.0.2 V1.0.1

INCA-MCE V1.1.1 V1.0.2 V1.0.1

INCA-MCE V7.2 V1.0.2 V1.0.1

Note

For INCA-MCE to be able to support EtherCAT, the system components (e.g. the automation system) must be integrated in the EtherCAT Master. The rele-vant manufacturer can provide information on support and versions.

Note

To be able to configure an MCE device, up-to-date firmware must be available on the device. Use the HSP Update Tool to check the firmware status of the device. Refer to the Download section of the ETAS homepage (search for "HSP") for the current version of the Hardware Service Pack.

INCA-MCE V7.2 - User’s Guide

Page 27: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS System Configuration

5.2.2 EtherCAT Configuration

As the EtherCAT slave controller for the MCE devices is hardware-oriented, theMCE devices need to be configured.

To configure an MCE device for EtherCAT

1. Open the web interface of the MCE device (see ES910.3 Prototyping and Interface Module man-ual).

2. Select Device Configuration Port Settings.

3. For the Micro I/O Interface port enable the setting Ethercat slave.

4. Click Save config.

5. Reboot the MCE device.

INCA-MCE V7.2 - User’s Guide 27

Page 28: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

28

System Configuration ETAS

5.2.3 Ethernet Layer-2 Software Bridge Configuration

An XETK cannot be connected directly to the ES910 in an INCA-MCE applicationbut must be linked via a module (ES510, ES511 or ES512).

Fig. 5-1 Connecting an XETK for MCE

To configure Ethernet Layer-2 software bridge

1. Select Device Configuration Ethernet configuration.

2. Select "L2 Bridge off" with L2 bridge configura-tion.

3. Click Save config.

4. Reboot the MCE device.

5.3 MCE Interface Configuration in INCA

For an MCE device to be able to be configured via INCA, it has to be used in thehardware configuration of INCA.

To use an MCE device in INCA

1. Create a new workspace in the Database Man-ager.

2. Open the Hardware Configuration.

3. Add a device that supports INCA-MCE (e.g. ES910.3).

3.1 Select one or more ECU interfaces for the device (e.g. ETKC).

Note

It is not possible to use EtherCAT and ES4xx Daisy Chain devices (incl. ES63x) simultaneously on an MCE device.

iLinkRT / EtherCAT

ASAM MCD-3MC / ASAP3

ES910.3

XETK ECU

ES5xx (Switch)

INCA

INCA-MCE V7.2 - User’s Guide

Page 29: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS System Configuration

3.2 Select the MCE interface (e.g. MCE via iLinkRT).

4. Click OK.

5. Configure the ECU interface(s).

6. Configure the MCE interface.

5.3.1 Configuring MCE Interfaces via iLinkRTTM

The MCE interface MCE via iLinkRT must be configured.

To configure an MCE interface via iLinkRT

1. Select the MCE interface in the INCA Hardware Configuration.

2. Select the iLinkRT Parameters tab.

3. Set the following parameters in the Server Com-munication Parameters section:

– IP Address:

Enter the IP address under which the iLinkRT server is available for the client.

– Subnet Mask:

Enter the subnet for iLinkRT communication.

– UDP Port:

Enter the UDP port of the iLinkRT server.

4. Set the following parameters in the Data Acquisi-tion Communication Parameters section:

Note

Only one MCE interface can be selected per MCE device.

INCA-MCE V7.2 - User’s Guide 29

Page 30: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

30

System Configuration ETAS

– DAQ Communication Mode:

Specify whether data transfer should take place according to Multicast or Unicast method.

– DAQ Multicast IP Address:

Enter the multicast IP address here.

– DAQ UDP Port:

Enter the multicast UDP port here.

5. Click Apply.

The settings are checked for validity and possible conflicts with other connected devices.

Note

If several clients are logged on at the server, it is more efficient to use the Multicast method.

Note

DAQ Multicast IP Address and DAQ UDP Port only have to be set if Multicast was defined as DAQ Communication Mode.

Note

The permissible range for multicast IP addresses is 239.0.0.1 – 239.063.255.255.

INCA-MCE V7.2 - User’s Guide

Page 31: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS System Configuration

Default Settings for the iLinkRT Configuration

It is possible to save default values for the iLinkRT configuration in an XML file. Ifthe XML file

iLinkRTServerCommunicationDefaultSettings.xml

is stored under ..\ETASData\INCA7.0\mce, the iLinkRT configuration data(IP address, etc.) is used for a new iLinkRT device from this file.

A sample file is also installed (with the correct name and at the correct location).

Hardware Initialization

Please note the following during initialization of the hardware in the hardwareconfiguration (Hardware Initialize hardware or <F3>):

The iLinkRT interface is displayed as "connected" (= green) when an MCE deviceis connected and operational (i.e. powered on and booted). This does not, how-ever, necessarily mean that, for example, an iLinkRT master is connected.

The EtherCAT interface is displayed as "connected" (= green) when an MCEdevice is connected, is operational and the web interface settings for the I/O Portare set to EtherCAT (see "EtherCAT Configuration" on page 27). This does not,however, necessarily mean that, for example, an EtherCAT master is connected.

5.3.2 Configuring MCE Interfaces via EtherCAT

It is not necessary to configure the MCE interface MCE via EtherCAT. You canonly assign a name.

INCA-MCE V7.2 - User’s Guide 31

Page 32: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

32

System Configuration ETAS

5.3.3 Assigning XETK to the MCE Interface

When XETK ECUs are used, they need to be assigned to an ES910 system (MCE-Link). Once the INCA-MCE interface has been configured and the XETK has beenselected and configured, proceed as follows:

To assign XETK to the MCE interface

• Select MCE Assign sources to system.

The "MCE assign sources" window opens.

• Mark the XETK and the ES910.3 system you want to assign.

INCA-MCE V7.2 - User’s Guide

Page 33: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS System Configuration

• Click Assign.

The XETK:2 is now assigned to the ES910.3:1 system.

• Press OK to accept the assignment.

The values of the XETK can now be used in INCA-MCE.

INCA-MCE V7.2 - User’s Guide 33

Page 34: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

34

System Configuration ETAS

5.4 Multicast Network Configuration

The ETAS Multicast Address Manager assigns the multicast addresses used by theETAS system. Any overlapping with other applications could cause disturbancesin the system. In this kind of conflict, the multicast addresses assigned by theETAS Address Manager can be limited to avoid overlapping with other systems.

In principle, the ETAS system can use multicast addresses in the range 239.64.0.1- 239.127.255.255 (INCA default).

Further limitation can be configured in the

...\ETASData\ResourceManager\MulticastConfig.cfg

file.

The file is structured as follows:

<?xml version="1.0" encoding="UTF-8"?>

<MulticastConfig>

<!--<PortNumber>18007</PortNumber>-->

<!--<ExcludeAddresses>

<Singles>

<Address>239.64.0.1</Address>

<Address>239.64.0.3</Address>

</Singles>

<Ranges>

<AddressRange>

<LowerBound>239.127.0.1</LowerBound>

<UpperBound>239.127.0.255</UpperBound>

</AddressRange>

<AddressRange>

<LowerBound>239.127.250.1</LowerBound>

<UpperBound>239.127.255.255</UpperBound>

</AddressRange>

</Ranges>

</ExcludeAddresses>-->

</MulticastConfig>

The XML tags have the following meaning:

<PortNumber>

This is where a different port can be specified (INCA default is port 18007).

<ExcludeAddresses>

This is where individual multicast addresses can be excluded for INCA.

Note

The comment characters "<!— TEXT -->" disable the area between them!

INCA-MCE V7.2 - User’s Guide

Page 35: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS System Configuration

These can be defined in the area

<Singles>

<Address>239.64.0.1</Address>

</Singles>

<Address>...</Address> can occur more than once.

Entire ranges can also be excluded.

This can take place in the range

<Ranges>

<AddressRange>

<LowerBound>239.127.0.1</LowerBound>

<UpperBound>239.127.0.255</UpperBound>

</AddressRange>

</Ranges>

Several ranges can be defined. The range is always defined using the first and lastaddress of the range to be excluded.

INCA-MCE V7.2 - User’s Guide 35

Page 36: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

36

System Configuration ETAS

5.5 Setup INCA and iLinkRT System on same PC

It is possible to use iLinkRT COM Master and INCA/INCA-MCE on the same PC.For this setup it is important that two separated Network Interface Connectors(NIC) for INCA Host and iLinkRT must be used on PC Side. They have to be con-figured in a way that the SubNets are separated for INCA Host and iLinkRT.

Fig. 5-2 Setup INCA and iLinkRT System on same PC

Example Configuration:

SubNet Interface IP Adress SubNetMask

ETAS Hardware(192.168.10.*)

INCA HOST PC NIC 192.168.10.1 255.255.255.0

iLinkRT(192.168.20.*)

iLinkRT NIC 192.168.20.1 255.255.255.0

INCA Hardware configu-ration ES910.3 --> iLinkRT

192.168.20.2 255.255.255.0

INCA-MCE V7.2 - User’s Guide

Page 37: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

6 MCE Configuration

This chapter contains information and tips on MCE configuration.

"MCE configuration" is the term used to describe the selection of measurementand calibration variables available at the MCE interface (iLinkRTTM or EtherCAT)during a test sequence.

MCE configuration can take place either manually via the INCA experiment envi-ronment or via one of the following automation interfaces:

• Tool API

• ASAP3

• MCD3 V2.2

In particular, this chapter contains information on the following topics:

• "Manual MCE Configuration via INCA" on page 37

– "Assigning Complete Sets of Variables for MCE Use" on page 38

– "Selecting Individual Variables via the MCE Variable Selection Win-dow" on page 38

• "MCE Configuration via Automation Interfaces" on page 43

– "Tool API" on page 43

– "ASAP3" on page 44

– "MCD-3MC V1.0.1" on page 46

– "MCD-3MC V2.2" on page 47

• "Order to be Adhered to in the Overall System" on page 49

– "When Using Measurement and Calibration Variables" on page 49

– "When Using the External Master Clock (EtherCAT Distributed Clocks [DC])" on page 50

6.1 Manual MCE Configuration via INCA

Before you can use variables in measurement and calibration access via the MCEinterface, you must assign them for MCE use in the experiment environment.You have the following options:

• Assigning complete sets of variables for MCE use, without selecting them individually (see "Assigning Complete Sets of Variables for MCE Use" on page 38).

This method is fast and efficient; however, it can happen that not all vari-ables can be assigned, e.g. because the number of configurable measure-ment and calibration variables is limited with EtherCAT.

• Explicitly selecting individual variables for MCE use (see "Selecting Individ-ual Variables via the MCE Variable Selection Window" on page 38).

With this method, you have the possibility to select only those variables that you want to measure or calibrate via MCE.

Note

Before you can run MCE configuration, you first have to configure the system (MCE devices, ECUs) (see "System Configuration" on page 24).

INCA-MCE V7.2 - User’s Guide 37

Page 38: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

38

MCE Configuration ETAS

6.1.1 Assigning Complete Sets of Variables for MCE Use

You can assign either all variables that are part of the experiment, all measurevariables, or all calibration variables:

1. In the experiment environment, open the Variables menu. Depending on the set of variables that you want to use for MCE, select one of the following menu entries:

– MCE – Add all variables of experiment

– MCE – Add all calibration variables of experiment

– MCE – Add all measure variables of experi-ment

The corresponding set of variables is added for MCE use without any furtherinteraction.

6.1.2 Selecting Individual Variables via the MCE Variable Selection Window

The configuration window is opened in the experiment environment usingVariables Select MCE variables.

The MCE Variable Selection window is divided into the following areas:

• Device

Displays all devices for which an MCE interface and an ECU interface sup-ported by INCA-MCE were configured in the hardware configuration.

• Measurement Variables tab

Displays the measurement variables selected for the MCE device.

• Calibration Variables tab

Displays the calibration variables selected for the MCE device.

Note

If it is not possible to assign the complete set of variables at once, a dialog is shown informing you which variables could not be added. You can then open the MCE Variable Selection window to adapt the variable assignment by removing and/or adding variables (see "Selecting Individual Variables via the MCE Variable Selection Window" on page 38).

INCA-MCE V7.2 - User’s Guide

Page 39: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

To open the MCE configuration

1. In the experiment environment, select Variables MCE – Select variables for MCE.

The MCE Variable Selection window opens.

To select measurement or calibration variables

You are now in the MCE Variable Selection window.

1. Under Device, select the MCE device to which you want to add variables.

2. Select the Measurement Variables (Calibration Variables) tab.

3. Click Add.

The variable selection window opens (see "Variable Selection in INCA-MCE" on page 40).

Note

The MCE configuration cannot be changed during measurement. Stop mea-suring before you change the configuration.

INCA-MCE V7.2 - User’s Guide 39

Page 40: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

40

MCE Configuration ETAS

The variable list displays the measurement/calibra-tion variables available for the MCE device.

4. Highlight the measurement variables/calibration variables you want to add.

5. Click OK.

The selected measurement/calibration variables are added to the MCE configuration.

Variable Selection in INCA-MCE

The variable selection window for INCA-MCE corresponds to the variable selec-tion window of INCA.

The variable selection window for INCA-MCE has the following features:

• Depending on whether you want to add a variable in the Measurement Variables or Calibration Variables tab in the MCE Variable Selection window, the variable list will show either measurement or calibration vari-ables.

• Only the measurement and calibration variables available for the selected MCE device are displayed.

INCA-MCE V7.2 - User’s Guide

Page 41: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

No raster can be selected and no raster filling level is displayed in the variableselection window for INCA-MCE.

To filter the variable list with a LAB file

You are in the variable selection window for INCA-MCE.

1. In the shortcut menu of All Sources or one MCE device, select Add LAB File.

A dialog box for file selection opens.

2. Select the LAB file.

The variable list only shows variables that are con-tained in the LAB file.

To remove a variable from the MCE configuration

You are in the MCE Variable Configuration dialog box.

1. Highlight a variable you want to remove.

2. Click Remove.

The variable is removed from the MCE configura-tion.

Note

If you want to know more about the variable selection window, read the sec-tion variable selection window in the INCA online help.

INCA-MCE V7.2 - User’s Guide 41

Page 42: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

42

MCE Configuration ETAS

To terminate MCE configuration

You are in the MCE Variable Configuration dialog box.

1. Click OK to accept the configuration.

The configuration is part of the experiment environ-ment and is saved with it.

Variable and Raster Selection for INCA-MCE Variables

When selecting in the variable configuration of INCA-MCE, the variables areassigned to their default rasters (from the project description), unless the vari-ables have already been selected for the experiment environment – in this case,the raster that has already been selected is valid. If there are no default rasters inthe project description, the variable is assigned to the slowest raster.

The raster used in the experiment and therefore also in MCE is also shown in theMCE Variable Selection window (opened by selecting Variables MCE -Select variables for MCE). However, it can only be changed in the INCA vari-able selection window (<ALT-T>): The "MCE Signal" block is directly beside the"Experiment" – all measurement variables selected for MCE are displayed here.As with all standard INCA measurement variables, the raster can be changed. Ifthe measurement variables are also registered in the experiment environment(for display or recording), the change of raster also applies there (i.e. the variablescan only be assigned to one raster).

Activating the Measurement or Calibration Configuration

If calibration variables were selected or rejected for an MCE interface, the MCEconfiguration for the calibrations is enabled with OK in the variable selectionwindow (i.e. the calibration variables can be accessed immediately via the MCEinterface). If a different configuration already exists and there are changes, theexisting configuration is deleted and replaced by the new one.

The measurement configuration is saved in the experiment environment whenthe MCE variable selection window is closed and stored with the experiment. Themeasurement configuration is not available at the MCE interface until measuringstarts (e.g. with <F11> or <F12>).

Note

If MCE variables are configured with an automation interface, these are dis-played in the variable selection window ("Variable Configuration" tab) under the "MCE Signal" block. These variables are not displayed in the "MCE Variable Selection" – only variables that were selected here are actually shown here.

INCA-MCE V7.2 - User’s Guide

Page 43: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

6.2 MCE Configuration via Automation Interfaces

It is not only possible to create an MCE configuration manually via INCA, but alsovia various automation interfaces. The section below describes which automa-tion interfaces can be used to configure INCA-MCE.

6.2.1 Tool API

The INCA Tool API (COM interface) provides methods for configuring INCA-MCE.

Verifying whether a Device supports INCA-MCE

Use the

IsFULISupported

method to check whether a device in the hardware configuration supports thecurrent INCA-MCE-interface (iLinkRTTM, EtherCAT). The result of this requesttakes the form of a Boolean value.

Registering INCA-MCE Variables

Use the

EnableFULIAccess(Name, Device)

method to register a measurement or calibration variable at the FULI interface.

Deregistering INCA-MCE Variables

Use the

DisableFULIAccess(Name, Device)

method to deregister a measurement or calibration variable at the FULI interface.

Activating the INCA-MCE Configuration at the INCA-MCE Interface

Use the

SwitchCalibrationAccessOn

method to switch on calibration access. This enables the INCA-MCE calibrationconfiguration at the INCA-MCE interface.

To read changes made to the calibration configuration in to the INCA-MCE inter-face, disable the calibration configuration using the

SwitchCalibrationAccessOff

Note

Before INCA-MCE can be used via an automation interface, a workspace has to be created with a valid hardware configuration and experiment.

Note

To find out more about the INCA Tool API, refer to the reference manual "INCA Tool API Documentation.chm" which is installed in the folder <drive>:/ETAS/INCA_x/cebra/.

INCA-MCE V7.2 - User’s Guide 43

Page 44: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

44

MCE Configuration ETAS

method and then activate it again using the method

SwitchCalibrationAccessOn

Use the

StartMeasurement

method to start measuring. This enables the INCA-MCE configuration at theINCA-MCE interface.

6.2.2 ASAP3

The ASAP3 interface can be operated with implicit or explicit INCA-MCE con-figuration.

Implicit Configuration

All values registered with ASAP3 are automatically registered by INCA withINCA-MCE.

To set the ASAP3 option

• In the experiment, select Components ASAM-3MC - Open ASAM-3MC Interface.

The "ASAM MCD 3MC 4 INCA" window opens.

• Select Extras Options.

The "Options" window opens.

• Select the "Compatibility" tab.

Note

Before you can carry out any calibration tasks using INCA-MCE, the general conditions described under "Prerequisites for Calibration Access" on page 54 must have been fulfilled.

Note

If you are using measurement and calibration variables at the same time, please read the section "Order to be Adhered to in the Overall System" on page 49.

INCA-MCE V7.2 - User’s Guide

Page 45: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

• To use the implicit configuration, enable the ASAP3 option "If available, always use FULI device".

Explicit Configuration

To configure the MCE interface, what are referred to as FULI LUNs must be cre-ated for every device that is to transfer variables via INCA-MCE.

An LUN (Logical Unit Number) is the representation of a device (in the ASAP3context). A FULI LUN is a special second representation of the device that exclu-sively represents the INCA-MCE configuration.

The LUN itself is created in ASAP3 using the commands

SELECT DESCRIPTION FILE AND BINARY FILE

or

DEFINE DESCRIPTION FILE AND BINARY FILE

Note

To find out more about FULI LUNs, read the following chapters in the ASAP3 documentation INCA_IF_ASAM-ASAP3_EN.pdf(in the directory <drive>:/ETAS/INCA_x/Manuals):

• FULI-Fast Upper Level Interface (INCA-MCE)

• SELECT DESCRIPTION FILE AND BINARY FILE COMMAND:3

• DEFINE DESCRIPTION FILE AND BINARY FILE COMMAND:30

INCA-MCE V7.2 - User’s Guide 45

Page 46: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

46

MCE Configuration ETAS

Registering INCA-MCE Variables

Measurement variables are registered at the FULI LUN using the command

PARAMETER FOR VALUE ACQUISITION

Calibration variables are registered at the FULI LUN using the command

GET PARAMETER FROM AP-S

Activating the INCA-MCE Configuration at the INCA-MCE Interface

The measurement configuration is activated at the start of measuring using thecommand

GET ONLINE VALUE

The calibration configuration is activated using the command

SWITCHING ONLINE

For this reason, we recommend the following procedure when updating calibra-tion configurations:

• Select all measurement variables with the commandPARAMETER FOR VALUE ACQUISITION

• Select all calibration variables with the commandGET PARAMETER FROM AP-S

• Activate the calibration configuration with the commandSWITCHING ONLINE

• Activate the measurement configuration with the commandGET ONLINE VALUE

6.2.3 MCD-3MC V1.0.1

INCA-MCE can only be configured via MCD-3MC V1.0.1 using an implicit con-figuration.

To set the ASAP3 option

• In the experiment, select Components ASAM-3MC - Open ASAM-3MC Interface.

The "ASAM MCD 3MC 4 INCA" window opens.

• Select Extras Options.

The "Options" window opens.

• Select the "General" tab.

Note

Do not register measurement variables that are registered via the FULI LUN via the regular device LUN. Otherwise, the measurement variables will be trans-ferred twice via GET ONLINE VALUE.

Note

If a new calibration configuration is added, the measurement configuration is disabled for a short time (see "Order to be Adhered to in the Overall System" on page 49).

INCA-MCE V7.2 - User’s Guide

Page 47: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

• To use the implicit configuration, enable the ASAP3 option "If available, always use FULI device".

6.2.4 MCD-3MC V2.2

The MCD-3MC V2.2 interface can be operated with implicit or explicit INCA-MCE configuration.

Implicit Configuration

All values registered with ASAP3 are automatically registered by INCA withINCA-MCE.

To set the ASAP3 option

• In the experiment, select Components ASAM-3MC - Open ASAM-3MC Interface.

The "ASAM MCD 3MC 4 INCA 2" window opens.

• Select Extras Options.

The "Options" window opens.

• Select the "General" tab.

INCA-MCE V7.2 - User’s Guide 47

Page 48: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

48

MCE Configuration ETAS

• To use the implicit configuration, enable the ASAP3 option "If available, always use FULI device".

Explicit Configuration

The registering of INCA-MCE variables at the MCD-3MC V2.2 interface of INCAtakes place by registering them at a special FULI logical link.

The description that follows assumes knowledge of ASAM MCD-3MC and thusonly describes the basic principle of registering INCA-MCE measurement and cal-ibration variables via MCD-3MC V2.2.

INCA-MCE Logical Link (FULI-LogicalLink)

For every device in the selected MCD-3MC project (corresponds to the INCAworkspace) that can transfer values via INCA-MCE, INCA makes available anadditional logical link with the extension "#FULI" for representing the MCEconfiguration.

The registration of the measurement and calibration variables to be transferredvia INCA-MCE takes place at this special FULI logical link. The FULI logical link isa copy of the original logical link that has the following form:

<Description File Name>_<Device Name>#FULI_<ASAM MCD-3MCLogical Link Extension>

Note

Details on the INCA MCD-3MC interface and the registration of MCE variables can be found in the INCA_IF_ASAM-MCD-3MC_V2.2_EN.pdf manual (in the directory <drive>:/ETAS/INCAx.y/Manuals) in the sections - 3.3.5 MCDbLogicalLink(s) - 3.2.3 Measurement Objects

INCA-MCE V7.2 - User’s Guide

Page 49: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS MCE Configuration

Example:

DEFAULT\0400_ETKC:1#FULI_ETK

This enables a client to recognize the INCA-MCE logical links.

If values are to be used simultaneously via MCD-3MC and INCA-MCE, the clientmust create both logical links.

Registering the INCA-MCE Variables

The registration of measurement and calibration variables takes place in thesame way as the normal registration of MCD-3MC at the FULI logical link.

Activating the INCA-MCE Configuration on the INCA-MCE Hardware

The INCA-MCE measurement configuration is activated when the first collectoris started. The calibration configuration is activated with

IMCDMCLogicalLink.ConnectToModule().

6.3 Order to be Adhered to in the Overall System

Using INCA-MCE at an automated test bench is a challenging linking of manysystem components. To ensure the function of the INCA-MCE interface in theoverall system, orders for configuration have been defined for the followingapplications.

6.3.1 When Using Measurement and Calibration Variables

INCA-MCE treats the configuration of measurement variables and calibrationvariables separately to be able to represent the following application cases:

• Only measuring

• Only calibrating

• Calibrating and measuring

Note

If measurement and calibration are to be used via INCA-MCE, proceed as fol-lows:- Create the calibration objects at the FULI logical link- Create the collector objects at the FULI logical link (measurement variables)

- Check - Activate

- Switch to WP- ConnectToModule- Start Collector (start measurement)The INCA-MCE interface can then be used.

Note

If another calibration variable is to be added, DisconnectFromModulemust be run beforehand.

INCA-MCE V7.2 - User’s Guide 49

Page 50: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

50

MCE Configuration ETAS

The INCA-MCE interface can only be used when all subconfigurations have beencompleted.

6.3.2 When Using the External Master Clock (EtherCAT Distributed Clocks [DC])

The EtherCAT DC signal is only transferred in the EtherCAT state Safe-Oper-ational or Operational. Once a measurement has been started and theMCE device put into the state Safe-Operational or Operational by themaster, the MCE device determines the central DC time once. The internal MCEdevice clock is then adjusted continuously ("Drift Correction").

In the case of reconfiguration, the MCE device is reset to Pre-Operational –the clocks are not synchronized during this time. This is why it is recommendedthat overall configuration is completed before measuring is started.

Note

Please note that when configuring via GUI or automation interfaces, corre-sponding steps also have to be run before the MCE interface can be accessed. For more information, refer to the sections "Manual MCE Configuration via INCA" on page 37 and "MCE Configuration via Automation Interfaces" on page 43.

INCA-MCE V7.2 - User’s Guide

Page 51: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Measuring and Calibrating with INCA-MCE

7 Measuring and Calibrating with INCA-MCE

This chapter contains information and tips on measuring and calibrating withINCA-MCE.

The topics focused on are:

• "Measuring with INCA-MCE" on page 51

– "Special Features of iLinkRT" on page 51

– "Special Features of EtherCAT" on page 52

– "Measure Data Types not supported" on page 53

– "Behavior with Configuration Changes" on page 53

• "Calibrating with INCA-MCE" on page 54

– "Prerequisites for Calibration Access" on page 54

– "General Information" on page 55

– "Transfer of INCA-MCE Calibration Actions to INCA (Back Anima-tion)" on page 55

– "Arbitration" on page 56

– "iLinkRTTM" on page 57

– "EtherCAT" on page 57

Usually INCA uses one connection for every connected ECU – the INCA interfaces(GUI or automation interfaces) then access a set of ECU connections.

For reasons of data consistency and synchronization, INCA-MCE does not estab-lish a second connection to the relevant ECU but acts as a co-user of the existingconnection.

7.1 Measuring with INCA-MCE

INCA-MCE measure data transfer is linked to the measuring function of INCA –if measuring is started in INCA, INCA-MCE is configured and the measure dataof the INCA-MCE interface (iLinkRTTM, EtherCAT) is made available. When mea-suring is stopped, the INCA-MCE interface has no more measure data at its dis-posal. The measurement configuration itself, however, is still available: Whenmeasuring is restarted in INCA without the measurement or calibration configu-ration being changed, measure data is once again available at the INCA-MCEinterface and can be sent.

Measuring can be started and/or stopped manually in INCA or via an automationinterface.

7.1.1 Special Features of iLinkRT

The measure data configuration for INCA-MCE in INCA defines the measure datathat can be made available at the iLinkRTTM interface. The measure data is orga-nized in what are referred to as DAQ lists. START_STOP_DAQ_LIST starts/stopsDAQ list transfer at the iLinkRTTM interface.

Note

As INCA is used for configuring and controlling ECU communication, it is abso-lutely necessary for the MCE devices to be connected to the INCA system and for INCA to be in operation.

INCA-MCE V7.2 - User’s Guide 51

Page 52: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

52

Measuring and Calibrating with INCA-MCE ETAS

At the iLinkRTTM interface, measure data transfer is driven by the data receivedfrom the ECU. The data received at the MCE device is transferred directly to theiLinkRTTM interface. That means that not all configured measure data has to betransferred all the time. This behavior means that the raster of a measurementvariable selected in the measurement configuration has an immediate effect atthe INCA-MCE interface.

A change in the INCA-MCE configuration means that the iLinkRTTM interfaceinterrupts the connection and sends a EV_SESSION_TERMINATED to the iLink-RTTM client. Once configuration has been completed, the iLinkRTTM client re-establishes the connection (CONNECT) and then reads in the available measuredata.

7.1.2 Special Features of EtherCAT

The measure data configuration for INCA-MCE in INCA defines the measure datathat is transferred at the EtherCAT interface. The measurement variables config-ured in INCA-MCE are entered in the CAN-Open-Dictionary. When the MCEdevice is in the state Operational or Safe-Operational, all measurementvariables entered in the CAN-Open-Dictionary are transferred.

At the EtherCAT interface, measure data transfer is driven by the bus frequencyconfigured at the EtherCATmaster.

If, for example, you acquire data at the ECU with a raster of just 1 ms and trans-fer it to the EtherCAT interface at 100 ms, this results in unnecessary resourcesbeing used in the MCE device. This is referred to as undersampling at the Eth-erCAT interface.

The following graphic shows a schematic of undersampling. You can see that themeasure data at the ECU is requested and processed in INCA and the MCEdevice ten times as often as it is transferred to the EtherCAT bus.

Fig. 7-1 Undersampling at the EtherCAT Interface

Note

Make sure that you select the EtherCAT bus clock so no unnecessary resources are used at the MCE device or that no unnecessary bandwidth of the EtherCAT bus is used.For example, incoming data causes interrupts – if the clock at the EtherCAT bus is unnecessarily high, the interrupt load in the ES910.3 also increases unneces-sarily and thus limits the computing power available for other tasks.

Time

Data AcquisitionECU

Data transferred toEtherCAT Bus

INCA-MCE V7.2 - User’s Guide

Page 53: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Measuring and Calibrating with INCA-MCE

If, for example, you acquire data at the ECU with a raster of 100 ms and transferit to the EtherCAT interface at just 1 ms, this results in unnecessary bandwidth ofthe EtherCAT bus being used. This is referred to as oversampling at the Ether-CAT interface.

The following graphic shows a schematic of oversampling. You can see that themeasure data is transferred ten times as fast at the EtherCAT bus as it is acquiredby the ECU and processed in INCA and the MCE device.

Fig. 7-2 Oversampling at the EtherCAT Interface

Generally speaking, a slight oversampling is what is being aimed for. This ensuresthat changes are available extremely dynamically at the INCA-MCE interface andthat the automation system can react quickly.

This perspective, however, only takes the requirements made of measure datatransfer of the EtherCAT bus into consideration. Optimum EtherCAT bus fre-quency and ECU data acquisition raster depend on other factors such as otherEtherCAT bus sharing units, parallel recording of measure data in INCA, latencyrequirements with regard to calibration via the EtherCAT interface, etc..

A change to the INCA-MCE configuration results in the EtherCAT interface of theMCE device interrupting measure data transfer and changing to Pre-Opera-tional state. This is why an automation system should disable the interface ofan MCE device before a configuration is changed.

7.1.3 Measure Data Types not supported

INCA-MCE does not support measurement variables of the type "ASCII" or "vir-tual" and "dependent" measurement variables. The selection is already limitedor rejected in the GUI or in the automation interfaces.

7.1.4 Behavior with Configuration Changes

The configuration of the measurement and calibration variables for iLinkRTTM

and EtherCAT is static in operation. In other words, the position in the CAN-Open-Dictionary (EtherCAT) or in the order of the DAQ lists and calibration lists(iLinkRTTM) is fixed once MCE interface communication has started (CONNECT orOperational state). This is why it is recommended to configure the measure-ment and calibration variables before recording starts.

A change in the configuration can be triggered by an automation interface(ASAP3, MCD3 or Tool API) or in the INCA experiment environment. For exam-ple, a new calibration variable (GET_PARAMETER_FROM_AP-S for an MCEdevice) is requested in this case in ASAP3.

Time

Data AcquisitionECU

Data transferred toEtherCAT Bus

INCA-MCE V7.2 - User’s Guide 53

Page 54: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

54

Measuring and Calibrating with INCA-MCE ETAS

The following happens in this case:

• The INCA-MCE interface goes offline (Pre-Operational with EtherCAT, EV_SESSION_TERMINATED with iLinkRTTM).

• The new configuration of the calibration variable is generated and down-loaded to the INCA-MCE device.

• The Object-Dictionary is recreated in the INCA-MCE device and made available to the INCA-MCE interface.

• The INCA-MCE interface is available once again.

• The reconfiguration is acknowledged at the automation interface with the completion of the triggering command.

During this time, measure data transfer at the INCA-MCE interface is interrupted– calibration is no longer possible.

Measure data transfer can only be restarted when the connection has been re-established and the new configuration read in at the INCA-MCE interface (readCAN-Open-Dictionary and change of state to Operational with EtherCAT orCONNECT, READ_DAQ_EXTENDED and START_STOP_DAQ_LIST with iLink-RTTM).

Multi-Raster

The measurement variables to be selected for INCA-MCE can only be assigned toone raster.

7.2 Calibrating with INCA-MCE

The following section describes the general conditions for calibrating with INCA-MCE.

7.2.1 Prerequisites for Calibration Access

The following general conditions must be fulfilled to be able to access calibrationvariables at the INCA-MCE interface:

• The ECU can be accessed

• The content of the INCA dataset and the ECU match (checksum verifica-tion was successful)

• The working page in the experiment environment is active

• Calibration access is activated

If all these general conditions are fulfilled, the calibration variables of the ECUcan be changed via the INCA-MCE interface.

If the general conditions are not fulfilled, the INCA-MCE interface will return anerror (e.g. as a response to CAL_DOWNLOAD_ADVANCED with iLinkRTTM).

If the hard limits of a calibration variable are violated, the variable is acceptedinto the ECU according to its hard limit. The soft limits are not monitoredbecause it is pointless to assume a sensible reaction (real time) of the user inautomated operation.

INCA-MCE V7.2 - User’s Guide

Page 55: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Measuring and Calibrating with INCA-MCE

7.2.2 General Information

Supported Data Types

INCA-MCE supports 1-, 2- and 4-byte "signed integers", "unsigned integers"and 4-byte "floating point numbers" (IEEE format).

Supported Calibration Types (ASAM-MCD-2 MC)

INCA-MCE supports the following ASAM-MCD-2 MC types:

• VALUE (scalar)

• CURVE (1D array with physical axes)

• MAP (2D array with physical axes)

• VAL_BLK (1D or 2D arrays without physical axes)

Calibration Data Types Not Supported

The following data types are not supported and cannot be configured for INCA-MCE:

• VIRTUAL_CHARACTERISTIC

• DEPENDENT_PARAMETER

• ADAPTIVE_CHARACTERISTIC

Grouped ECUs

Grouped ECUs are not supported. Every ECU is seen as an entity. To set a calibra-tion variable on several ECUs, each one has to be calibrated with iLinkRTTM orEtherCAT.

Special Calibration Methods

When using Limited EMU RAM and InCircuit 2 with characteristic curves andmaps, you have to ensure manually that the corresponding axes are emulated(even if the axes are not to be calibrated).

7.2.3 Transfer of INCA-MCE Calibration Actions to INCA (Back Animation)

Calibrations via INCA-MCE are executed fast directly in the ECU – as the fre-quency of the calibrations can be very high, there is no point in displaying everycalibration action in the user interface.

To measure up to all requirements, an intelligent back animation of the calibra-tion parameters was implemented. Basically, every change at the INCA-MCEinterface is reported back to INCA. With iLinkRTTM, every calibration procedure isa change – with EtherCAT, only a change of the calibration variable in compari-son to the previous one is seen as a change.

INCA-MCE V7.2 - User’s Guide 55

Page 56: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

56

Measuring and Calibrating with INCA-MCE ETAS

To keep the PC load as low as possible, change frequencies that are not visibleto the eye are automatically reduced. As all calibrations are reported back toINCA, the data in the dataset match the data in the ECU at the end of the ses-sion.

7.2.4 Arbitration

As the ECU can be accessed via various interfaces (INCA, INCA-MCE and auto-mation system) and this does not have to be synchronized, overlapping requestscould lead to inconsistent data exchange with the ECU.

An arbitration mechanism was implemented in INCA-MCE to avoid this. Thismechanism ensures that sequences that logically cannot be interrupted are notinterrupted by other interfaces.

In this case, the sequence already running is ended before the sequence ofanother interface is started.

Note

To ensure data consistency, the MCE device must report every calibration action to the INCA-PC – the transfer takes place via the Ethernet host connection between the MCE device and INCA-PC.In the case of very fast and continuous calibrations (particularly over the high-performance ETK interface), there can be a backlog when it comes to slow or poorly connected PC network cards, i.e. the MCE device reports calibration actions faster than the network card can receive the messages. Before messages are lost, resulting in data inconsistency, the MCE device reduces the speed of calibration!

Uninterruptablesequence:

STARTSetMTADownloadDownloadDownloadEND

Uninterruptablesequence:

STARTSetMTAUploadEND

INCA-MCE V7.2 - User’s Guide

Page 57: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Measuring and Calibrating with INCA-MCE

This results, for example, in INCA blocking access via the INCA-MCE interfaceduring download until download has been completed.

To be able to guarantee the expected time response, please ensure that there areno collisions as regards ECU accesses during automation.

7.2.5 iLinkRTTM

With iLinkRTTM, you can configure virtually any number of calibration variablesfor calibration (the protocol itself allows 65536 variables per ECU; in INCA, thisnumber is limited to 5000 variables).

Each individual calibration access is triggered by a command (e.g. withCAL_DOWNLOAD_ADVANCED) and acknowledged by the INCA-MCE hardware.It is also possible to read out the currently valid value in the ECU (e.g. withCAL_UPLOAD_ADVANCED).

Calibrating 1D and 2D Parameters

When calibrating CURVES, MAPS and VAL_BLK, iLinkRTTM supports two modes:

• Flat

Here, all entries are calibrated to a single value (i.e. a 2D map is thus "flat").

• Area

Here, values in one part of the CURVE, MAP or VAL_BLK can be calibrated individually.

Axes and Data Points

When an array with physical axes (CURVE, MAP) is configured for INCA-MCE,the number and the values of the data points are kept fixed.

This is also true, for example, with changes to the underlying curve with CUR-VE_AXIS.

Modifying data points values via iLinkRTTM is not possible either.

Troubleshooting

Every calibration request via iLinkRTTM is acknowledged (as with XCP) – if calibra-tion fails, the iLinkRTTM master is notified.

7.2.6 EtherCAT

With EtherCAT, the number of configurable measurement and calibration vari-ables is limited.

Note

If an element with axes (characteristic curve, map) is selected in the overall MCE configuration (interactive or remote configuration), the user can no lon-ger modify the axes in the experiment!

Note

Contact ETAS for a description of the specifics of ECU data representation and necessary implementation details in the EtherCAT context.

INCA-MCE V7.2 - User’s Guide 57

Page 58: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

58

Measuring and Calibrating with INCA-MCE ETAS

Calibrating 1D and 2D Parameters

When calibrating CURVES, MAPS and VAL_BLK, EtherCAT supports just onemode:

• Flat

– Here, all entries are calibrated to a single value (i.e. a 2D map is thus "flat").

Troubleshooting

As the calibration variables are sent cyclically with EtherCAT, there are no com-mands for calibrations and no subsequent sequence of acknowledgements.

If calibration is attempted, even though the last calibration procedure is not yetcompleted, there is no queue either. However, the INCA-MCE hardware providesa status variable via EtherCAT that

• shows whether the relevant ECU interface is free for calibrations

and

• provides a response when a calibration is successful or has failed.

If this variable is ignored and there is still an attempt to carry out calibration1

(although the ECU is still busy with the previous calibration procedure), this cali-bration request is rejected. An evaluation as to whether a further, new changeshould be requested takes place at the next bus clock and only when the currentcalibration procedure has been completed.

Special Features with EtherCAT when Calibration Variables are used by Several Interfaces

With standard ECU and automation protocols, it is customary that a value is onlysent if it is to be changed.

With EtherCAT, however, all calibration variables configured at the EtherCATmaster are sent cyclically via the EtherCAT bus. This also takes place for valuesthat have not changed. For example, target values are sent cycle-controlled evenif the parameter has already adopted the EtherCAT target value.

To ensure the ECU interface is not unnecessarily occupied, the MCE device onlytransfers the changed values from the EtherCAT bus.

That means that the determination of the change is not linked to the actual valuein the ECU, but just to the values that were sent at the EtherCAT bus.

This leads to problems when the value of a variable calibrated via EtherCAT iscalibrated, for example, via the interface of an automation system (ASAP3). Thiscalibration is not registered by the EtherCAT bus interface – this prevents thevalue of the calibration variable being overwritten with the configured value inthe next EtherCAT bus cycle.

Note

If an element with axes (characteristic curve, map) is selected in the overall MCE configuration (interactive or remote configuration), the user can no lon-ger modify the axes in the experiment!

1. "Calibration" can refer to an entire set of calibrations as EtherCAT makes it possible to request a simultaneous change of all parameters.

INCA-MCE V7.2 - User’s Guide

Page 59: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Measuring and Calibrating with INCA-MCE

Example:

The calibration variable "x" is calibrated to the value "n" via EtherCAT. Then, thecalibration variable "x" is calibrated to the value "m" via ASAP3.

If calibration variable "x" is to be recalibrated to the value "n", this can takeplace as follows:

• Directly via ASAP3

• In two steps via EtherCAT: Calibrate the variable to the value "k" and then to the value "n".

This is why it is recommended that a calibration variable only be calibrated viaINCA-MCE and another interface deliberately and when absolutely necessary.

INCA-MCE V7.2 - User’s Guide 59

Page 60: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

INCA-MCE V7.2 - User’s Guide60

ETAS Contact Addresses ETAS

8 ETAS Contact Addresses

ETAS HQ

ETAS GmbH

ETAS Subsidiaries and Technical Support

For details of your local sales office as well as your local technical support teamand product hotlines, take a look at the ETAS website:

Borsigstraße 14 Phone: +49 711 3423-0

70469 Stuttgart Fax: +49 711 3423-2106

Germany WWW: www.etas.com

ETAS subsidiaries WWW: www.etas.com/en/contact.php

ETAS technical support WWW: www.etas.com/en/hotlines.php

Page 61: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Index

Index

Symbols“Variable selection” window 39AApplication examples 21Arbitration 56ASAP3 44CCalibrating with INCA-MCE 54Calibration access 54Configuration changes 53DDelivery scope 14EETAS Contact Addresses 60EtherCAT 20, 25, 57, 58Ethernet Layer-2 Software Bridge

configuration 28Explicit Configuration

ASAP3 45MCD-3MC V2.2 48

IiLinkRT 20, 24, 57Implicit Configuration

ASAP3 44MCD-3MC V1.1 46MCD-3MC V2.2 47

INCA-MCE interface configuration24Installation

preparation 14system requirements 14

LLicensing 16MMCD-3MC V2.2 47MCE configuration 37, 43MCE device configuration 26MCE interface configuration 28, 31MCE protocols 20Measuring with INCA-MCE 51Multicast Network Configuration 34SSpecial data types 53TTool API 43XXETK

assigning to MCE interface 32

INCA-MCE V7.2 - User’s Guide 61

Page 62: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

62

Index ETAS

INCA-MCE V7.2 - User’s Guide

Page 63: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

ETAS Figures

Figures

Fig. 4-1 Typical Test Bench Setup............................................................................. 17Fig. 4-2 Test bench System Using the MC Embedded Solution................................. 19Fig. 4-3 The Advantage of Fast Ramps in Terms of a Stable Operating Range .......... 22Fig. 4-4 ECU Parameter Ramps with ASAP3 or iLinkRTTM ........................................ 23Fig. 5-1 Connecting an XETK for MCE ..................................................................... 28Fig. 5-2 Setup INCA and iLinkRT System on same PC ............................................... 35Fig. 7-1 Undersampling at the EtherCAT Interface ................................................... 52Fig. 7-2 Oversampling at the EtherCAT Interface ..................................................... 53

INCA-MCE V7.2 - User’s Guide 63

Page 64: INCA-MCE V7.2 User's Guide EN - ETAS · 6 INCA-MCE V7.2 - User’s Guide Introduction ETAS 1 Introduction Over the last few years, ... for cars with the lowest con-sumption possible

64

Figures ETAS

INCA-MCE V7.2 - User’s Guide