Академический Документы
Профессиональный Документы
Культура Документы
and CANape
01.12.2010, Denis Eperonnier
Hoerbiger Drivetrain Mechatronics
01/12/201005/11/2010
Overview
Introduction
Future improvements
01/12/2010
Company
Hoerbiger Drivetrain Mechatronics
located in Loppem near Bruges
Belgium
Bruges
01/12/2010
Our core:
Innovative Complex Systems & Controls
for high performance automotive applications
Fields of expertise
Clutches
Hydraulics
Electronics
Software
System
Integration
01/12/2010
Timeline
2001 2002
2003
10 development
engineers start-up a
new Hoerbiger
division
2004
2005
2006
2007
2008
2009
2010
Start production of
DCT systems
Start of DCT
development @
HDM
01/12/2010
01/12/2010
01/12/2010
Model development
In other words, we take modules and functions from existing SW, and
convert them into simulatable Matlab models
01/12/2010
Model development
Manual code to Matlab model conversion involves
C modules, functions analysis for allocation in models
Signal names selection from a code model cross-reference
matrix
Adapt names to different naming convention
Reuse info from existing SW
Add/update type, class, scaling, min/max, description
Creation of initial model and Data Dictionary file
01/12/2010
Model development
Code generation involves Target Link properties changes (from GUI or
from Data Dictionary) for
Fixed point settings (LSB, offset)
Function blocks addition
Selection of proper variables/function classes
01/12/2010
10
Model development
AUTOSAR compliance involves
Import/export of SW-C .arxml spec
Assignment of the AUTOSAR interfaces to the correct
signals/functions
Code generation in AUTOSAR mode
01/12/2010
11
Model structure
Target is to be able to have stand-alone models which can be
simulated using real ECU data
We adopted a structure composed of 3 parts
Stimuli sub-system with a set of From Workspace blocks
Contains existing ECU data to replay the same test scenarios in
the model
01/12/2010
12
Model structure
Stimuli
Control model
01/12/2010
Scopes
13
Model development
Advantages of such process for us are:
Re-use of existing SW base, which is proven to work
01/12/2010
14
Model simulation
Simulation
Car measurement
Difference
01/12/2010
15
Model simulation
Still, even if scopes are useful for quick inspection, detailed analysis is
not handy for
Display format change (e.g. subdivide a graphic window, add
numeric windows, etc)
Correlation check between a lot of signals at the same time
Accurate timings check
Fast zoom-in/zoom-out operations
Also real-time change of calibration value is not easy
Alternative is to edit block values or create specific Matlab GUI to
modify values
01/12/2010
16
01/12/2010
17
Test points
01/12/2010
18
01/12/2010
19
CANape
Simulink
Change parameter
Visualize changed
behavior
01/12/2010
X
C
P
20
Ethernet
Ethernet
USB
XCP server license
CANape 8.0 license
21
Compatible with Target Link Model In the Loop (MIL) and Software In the
Loop (SIL) since CANape Matlab Integration Package 9.1
01/12/2010
22
01/12/2010
23
Future improvements
Use vehicle simulation model (from HIL system) + BSW stub on PC instead
of car measurements from existing SW (for new functionalities
development)
This could be done using Simulink XCP server + CANape Matlab DLL
Improve support of Target Link SIL to allow test points within the model to
be used by Simulink XCP server
01/12/2010
24
01/12/2010
25