49
V11.0 | 2019-07-08 Course CANape Introduction

CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

V11.0 | 2019-07-08

Course

CANape Introduction

Page 2: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

u System Overview 3

Project Administration 7

Measuring 14

Logging 25

Offline Evaluation 32

Calibration Concept 38

Calibrating 41

Data Management 45

Agenda

2/49

Page 3: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Areas of use

System Overview

CAN node 1e.g.

engine control

CAN node 2e.g.

air conditioning

CAN node je.g. gear box

control

CAN node ke.g. ABS

CAN messagesCCP XCP CAN messages

for ECU internal measurement and calibration objects

for CAN Monitoring

CANapeA2L

DBC

CAN

3/49

Page 4: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Hardware Interfaces

System Overview

CANape

Input

DBC, ARXML (CAN) A2L (CCP/XCP) FIBEX, ARXML (FlexRay)

CDD/ODX (Diag.)

USB ExpressCard

CANLIN

FlexRayEthernet

Ethernet

Debugging Interface

4/49

Page 5: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview

System Overview

Device configuration

Measurement configuration

CAN

LIN

FlexRay

Device: CAN / CCP / XCP on CAN

Device: KWP / UDS on

CAN

Device: LIN / XCP on

LIN

Device: FLX / XCP on

FLX

Graphic window

Diagnostic console

CANape display pages

Calibration window

<F4>

CAN

CDD

A2L

DBC

LDF

Fibex

5/49

Page 6: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

u Project Administration 7

Measuring 14

Logging 25

Offline Evaluation 32

Calibration Concept 38

Calibrating 41

Data Management 45

Agenda

6/49

Page 7: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

How to set up new projects

Project Administration

New Project →New CANAPE.INI File

1.Create a new project via [File | New project...]

2.Define device list: device names, driver types, etc...

New CANape Configuration → New *.CNA-File

1. Prepare measurement configuration:

a) Configure the measurement objects and their measurement

modes

b) Activate recorder and configure its measuring options

2. Create display windows and insert measurement signals

3. Configure calibration windows

[File | Save configuration as]

7/49

Page 8: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Project Files - Overview

Project Administration

Project link

refers to

Canape.ini file

Content:

u Device list

Canape.ini

u The function [File | New project...] generates a new directory with a new canape.ini file.

u Start CANape via project link

u CANape starts always the last configuration

8/49

Page 9: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Device configuration

Project Administration

CCP / XCP driver

ECU

CCP / XCP driver

ECU Description File

Access protection

List of all variables in the source code

optional*

CANape

u Which files are required in the device configuration for a CCP \ XCP - driver?

A2L

Seed&Key.dll

Map file*

*

HEX file*

Flash file with Code + Data segments

9/49

Page 10: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Device configuration

Project Administration

u Device driver configuration:

u [Device | New…]: Enter all driver settings by hand

u [..|New from database…]: Driver settings are read from A2L-file

u [..|New from another project]: Import a device driver from another project

Logical CANape Application channels

10/49

Page 11: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Vector Hardware Configuration

Project Administration

Assignment between Hardware and Application Channels

u In the section Hardwareall Vector Interfaces connected to the system are displayed

u For every Application(e.g. CANape) the Application Channels canbe configured in Application

u General Information and License contain commonand license information

11/49

Page 12: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Exchange Database file

Project Administration

u Exchange of the ECU description files in the Device configuration

u A2L file

u Map file

u HEX file

u Seed&Key .DLL

12/49

Page 13: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

Project Administration 7

u Measuring 14

Logging 25

Offline Evaluation 32

Calibration Concept 38

Calibrating 41

Data Management 45

Agenda

13/49

Page 14: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview

Measuring

Device configuration

Measurement configuration

CAN

LIN

FlexRay

Device: CAN / CCP / XCP on CAN

Device: KWP / UDS on

CAN

Device: LIN / XCP on

LIN

Device: FLX / XCP on

FLX

Graphic window

Diagnostic console

CANape display pages

Calibration window

<F4>

CDD

A2L

DBC

LDF

Fibex

14/49

Page 15: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Measurement configuration

Measuring

u Definition of measurement signals

u Measurement modes

u Logging functionality is configured in the recorder list.

u Number of recorders, measurement file names, recording conditions

15/49

Page 16: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Measurement Modes

Measuring

u The data acquisition modes depend on the driver.

u The CANape CCP and XCP driver supports the following measurement modes:

u Polling (query/response)

> Delivers asynchronous data

u Cyclic event channels (e.g. 10ms, 100ms)

> Delivers synchronous data

u Event-driven event channels (e.g. crank shaft position)

> Delivers synchronous data

u On input (virtual signals)

> Delivers asynchronous data much like the polling mode

u On device.‘signal name‘

> Delivers asynchronous data much like the polling mode

16/49

Page 17: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Display Windows

Measuring

u The CANape interface allows you to place various display windows,

which can be configured via the right mouse button (popup menu).

17/49

Page 18: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Insert Measurement Signals in Display Window

Measuring

u [Insert measurement signal…] in popup menu

u Drag the desired signal from the Symbol explorer into the display window

D&D

18/49

Page 19: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Graphic Window

Measuring

u Y axis display

u Display for the focused signal only

u Display for all signals

19/49

Page 20: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Numeric window

Measuring

u The signal values are displayed numerically

u Various formats are possible like Phy, Dec, Hex or Bin

20/49

Page 21: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Digital window

Measuring

u Individual bits of a signal are displayed above the time

u Connection type ‘Status‘ for signals with symbolic conversion table

21/49

Page 22: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Bar and Data window

Measuring

u The signal values are displayed as bar values

u Structures can be visualized

u Bar window

u Data window

22/49

Page 23: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Display Pages

Measuring

u The CANape interface can be divided up in up to 63 freely definable display pages. This makes configuring clearer.

New display page

23/49

Page 24: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

Project Administration 7

Measuring 14

u Logging 25

Offline Evaluation 32

Calibration Concept 38

Calibrating 41

Data Management 45

Agenda

24/49

Page 25: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview

Logging

..Recorder 1:

*.MDF

Recorder n:

*.MDF

Device configuration

Measurement configuration

CAN

LIN

FlexRay

Device: CAN / CCP / XCP on CAN

Device: KWP / UDS on

CAN

Device: LIN / XCP on

LIN

Device: FLX / XCP on

FLX

<F4>

CDD

A2L

DBC

LDF

Fibex

25/49

Page 26: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview to the recording variations

Logging

t

Start Stop

t

Start Stop

start event

t

Start Stop

Start event

Pre trigger time Post trigger time

Stop event

t

Start Stop

t

Start Stop

Time limitation

u Trigger block with start

event

u Trigger block with start and

stop event

u Save all Trigger blocks into

seperate files

u Save all Trigger blocks into one

file

Pre trigger time Post trigger time

u Entire measurement

26/49

Page 27: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Multi-Recorder Concept

Logging

u Multi-recorder concept:

u Each recorder has its own signal list, trigger, measurement file name and measurement options.

u Each recorder can be started asynchronously.

27/49

Page 28: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Definition of recorder Signals

Logging

Definition within the overall

measurement list

28/49

Page 29: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Measurement file name

Logging

Definition of the measurement file name with Macros

Default Comments

29/49

Page 30: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Trigger Configuration

Logging

Activate Trigger

Define start event

u Use algebraic formulas for complex trigger conditions

30/49

Page 31: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

Project Administration 7

Measuring 14

Logging 25

u Offline Evaluation 32

Calibration Concept 38

Calibrating 41

Data Management 45

Agenda

31/49

Page 32: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview

Offline Evaluation

In the field of analysis of measurement files there are two different possibilities

u Possibility 1

u Representation of measurement files in the display windows which were created for the online measurement

> Pro: Use the online measurement display window as offline analysis display window.

> Con: Only one MDF-File can be analyzed at the same time.

u Possibility 2

u Representation of measurement files in display windows which are designed purely for the offline analysis.

> Pro: Different MDF-Files can be displayed at the same time

> Con: Offline Analysis windows have to be configured separately and can not be used for an online measurement.

32/49

Page 33: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Possibility 1: Reuse from a Measurement Configuration

Offline Evaluation

u Visualization of measurement files in existing *.CNA files

u Visualization in the original online display windows

u The function [Last measurement ] displays the last measurement out of the measurement buffer or out of the MDF-file.

33/49

Page 34: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Possibility 2: Functions Overview

Offline Evaluation

u Load

u Load a selected measurement file into the Symbol Explorer> Measurement file channels can be inserted into any display window by drag&drop

> MDF files are loaded across CANape configurations (*.CNA files).

u Display

u Display the selected file channels of a MDF file in a graphic window> MDF file is then also loaded in the Symbol Explorer but only in this CANape configuration and will be

unloaded when all signals are removed out of the display windows.

u Replace

u Replace an already loaded measurement file with another file file.

34/49

Page 35: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Load Measurement Files into the Symbol Explorer

Offline Evaluation

u Alternative method to menu icon

u Drag & Drop the file channels to a display window

u No Online measurement possible.

35/49

Page 36: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Display Measurement File Channel

Offline Evaluation

u Function for displaying a recorded signal in a Graphics window

u No online measurement possible

36/49

Page 37: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

Project Administration 7

Measuring 14

Logging 25

Offline Evaluation 32

u Calibration Concept 38

Calibrating 41

Data Management 45

Agenda

37/49

Page 38: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

General

Calibration Concept

ECUSensor signal

Controlledcomponent

(e.g. gearbox)

Calibrate

Measure

CCP / XCP

Actuator signal

Measurement and

Calibration Tool

Programming

code

Measurement

signals

Parameters / characteristic

maps

38/49

Page 39: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Common Concept

Calibration Concept

u Initialization values are copied from the Flash to the RAM and applied there.

u In CANape you can create a copy of the Calibration RAM.

Cache

(Mirror memory) in CANape

0x0000

0x03FF

0x0400

0x63FF

programming code, non-modifiable

characteristic curves and maps

Calibration parameters,

characteristic curves and maps

Flash

ROM

0x6400

0x87FF

0x83FF

RAM for program-internal purposes and measurement values

Calibration RAM

RAM

0x6400

0x63FF

0x2400

0x23FF

0x0400

0x8400

0x87FF

u The Calibration RAM is large enough for copying all Calibration parameters.

39/49

Page 40: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

Project Administration 7

Measuring 14

Logging 25

Offline Evaluation 32

Calibration Concept 38

u Calibrating 41

Data Management 45

Agenda

40/49

Page 41: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview

Calibrating

Cache(Mirror Memory)

Calibration RAM

CANape ECU

Parametercurves

maps

Parametercurves

maps

Online-/Offline Mode

Direct-/ Indirect Calibration Mode

41/49

Page 42: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Calibration Window Overview

Calibrating

u Parameter

( 1 to 1 dimension )

u Characteristic curves (1 to n dimension)

42/49

Page 43: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Calibration Window Overview

Calibrating

u Characteristic maps

Working point

Calibration object

Calibrated object

43/49

Page 44: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

System Overview 3

Project Administration 7

Measuring 14

Logging 25

Offline Evaluation 32

Calibration Concept 38

Calibrating 41

u Data Management 45

Agenda

44/49

Page 45: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Example for a calibration process

Data Management

Project Manager Calibration Engineers

Calibrate online with CANape

Deliver calibrated

parameters

Initiate calibration project

Generate Data Setsand authorize

calibration engineers

Fetch ECU program file

Merge calibrated parameters

Check-in Data Set

Release ECU program for

series

vCDM

Calibration successful?

Hex

A2l

CDF20

PAR

or

or

45/49

Page 46: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

Overview

Data Management

CANape *.PARASAM - CDF20 *.cdfxBosch/Siemens *.CSV

Bosch *.DCMBosch - PaCo-Datei *.xml

MatrixX *.MSCANape *.C

Matlab file *.M

Binary filesIntel-HEX *.HEX

Motorola S files *.MOTMotorola S files *.S*

Renault *.ulp

ASAP2 *.a2l

CANape *.PARASAM - CDF20 *.cdfxBosch/Siemens *.CSV

Bosch *.DCMBosch - PaCo-Datei *.xml

Binary filesMotorola S file *.S*

Motorola S file *.MOTIntel-HEX *.HEX

Renault *.ulp

Save as…Load parameter set from..

ECU

Calibration RAM

Flash storage

CCP/XCP

CANape or

CDM studio

46/49

Page 47: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

[Calibration | Save Parameter Set as..]

Data Management

Area selection

u Only data from the Calibration RAM (Cache)

u Selected via the A2l file

u Selected via label list

e.g. programming code, non-modifiable characteristic curves

and maps

Calibration parameters,

characteristic curves and maps

Flash

EEPROM

0xD0E68

RAM for program-internal purposes and measurement values

Calibration RAM

RAM

0xD0050

47/49

Page 48: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

[Calibration | Load parameter set from..]

Data Management

Read–only parameter are identified and are not selectable

Selected parameter will be loaded

u Parameter sets can be loaded in several ways:

u By selection list (default)

48/49

Page 49: CANape Introduction - Vector€¦ · CANape Introduction. u System Overview 3 Project Administration 7 Measuring 14 Logging 25 ... How to set up new projects Project Administration

[Calibration | Load parameter set from..]

Data Management

u Parameter sets can be loaded in several ways:

u Via CDM Studio Write changed values

49/49