Escolar Documentos
Profissional Documentos
Cultura Documentos
de 2005
74
ECU Testing
ECU Testing with
dSPACE Simulator
Real-1ime IhIer!ace
CohIrolDesk /
AuIomaIiohDesk / MoIiohDesk
Modular Hardware
SimulaIor-
Speci!ic
Hardware
MA1LA8
/ Simulihk
/ SIaIe!low
OIhers
eaI-Time Hardvare
ImpIemenIaIion 5ofIvare ExperimenI 5ofIvare
eaI-Time ModeIs
CohIroller / LCU
Cutting-edge systems
for ECU/controller testing
Original equipment manufacturers (OEMs) today face pressures on multiple fronts.
The time to market is shrinking while the content and complexity of the vehicle
electronics is rapidly increasing. Almost every automotive innovation effects the
electronics in the vehicle.
Test drives in test vehicles can scarcely cope with the volume of systematic testing
needed, especially close to start of production. The growing number of recalls is a
clear indication of this. It is little wonder that testing and error nding have become
key tasks in the development process.
Systematic and Reproducible
Testing in Hardware-in-the-loop (HIL) simulation is a viable alternative, allowing new
electronic control units (ECUs) and software to be tested largely in a virtual environ-
ment, without real vehicles or prototypes. Such tests are very systematic and also
completely safe, even when critical thresholds are exceeded, while allowing ECU
errors to be reproduced whenever and however required.
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de
2005
75
2005
77
2005
79
2005
81
Experiment Software:
ControlDesk for Experiment Management
dSPACE Simulator gives you complete control of your experiments. ControlDesk is
a graphical front-end tool that forms the interactive experiment and visualization
interface of dSPACE Simulator.
Graphical user interface for experiment and platform management
Generation of virtual instrument panels
Precongured layouts for HIL applications
Design of user-specic layouts
ControlDesk offers powerful analysis tools, such as instruments to set up virtual
instrument panels.
With the integrated experiment and test environment and ControlDesks Simu-
link interface, you can monitor your experiments in Simulink and later in real-time
simulation, using the same tools and the same user interfaces.
ControlDesk (p. 128)
dSPACE Simulator Software
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de 2005
82
ECU Testing
Experiment Software:
ControlDesk Failure Simulation
Using ControlDesk Failure Simulation, you can simulate failures in the wiring of
an electronic control unit (ECU). For example, you can simulate that an ECU pin is
short-circuited to ground or the battery voltage, or that an ECU pin is not connected
(cable break).
Extension of ControlDesk Standard
Remote control of the failure insertion unit in dSPACE Simulator
Mid-Size or Full-Size
Import of ECU pin description les
Central Failure Management
ControlDesk Failure Simulation is software for driving the electrical failure simula-
tion in the ECU cable harness. The failure simulation hardware, failure patterns, and
ECU signal channels are all handled centrally via software. Electrical failures are also
activated and deactivated centrally. When networked ECUs are tested, each ECU is
displayed separately with its signal channels. ControlDesk Failure Simulation runs on
existing dSPACE Simulators Mid-Size (p. 88) and Full-Size (p. 90). It also works hand
in hand with AutomationDesk, our test automation software (p. 140).
Handling Failure Simulation Hardware
The Failure Simulation Navigator provides access to the failure simulation system:
Access to all connected ECU signal channels enabled for
electrical failure simulation
Administration of failure patterns (failures to be simulated at the same time)
Handling Failure Patterns
The Failure Pattern window visualizes failure patterns and the status of the failure
simulation hardware, and allows the failure patterns to be edited and saved.
ControlDesk Failure Simulation (p. 139)
The Failure Simulation Navigator
in ControlDesk Failure Simulation:
Central handling of failure simulation
hardware, failure patterns and
all ECU channels.
Failure Pattern window: Every failure
pattern is shown in a layout.
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de
2005
83
Test Software:
AutomationDesk
AutomationDesk facilitates the task of developing and managing tests.
Automated testing in HIL simulation
Graphical user interface for managing test projects
Graphical editor for describing automation sequences
AutomationDesk is ideal for automating hardware-in-the-loop tests. AutomationDesk
offers a convenient test automation environment, which supports the development
and handling of large test projects and test sequences. With AutomationDesk, the sys-
tematic structure, reusability, and reproducibility of test sequences are unequalled.
AutomationDesk (p. 140)
Typical Automation Tasks Executed with AutomationDesk
Setting up operating point ECU initialization (e.g., failure memory
reset) and simulator environment
Stimulus signal generation (to switch
short circuit failures or to input
reference trajectories)
Access to real-time variables during
run time
Measurement Access to ECU internal variables via
diagnostic or calibration interfaces
Data capturing of simulator variables
Evaluation and test reporting Access to MATLABs mathematical
test validation capabilities or direct
calculations in Python
Automated report generation based
on XML with standard style sheets for
HTML and PDF
Data management Organization and storage of
test sequences, parameter sets,
measurement data and test reports
dSPACE Simulator Software
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de 2005
84
ECU Testing
Experiment Software:
3-D Online Animation with MotionDesk
MotionDesk provides 3-D animation of mechanical systems in a virtual world.
3-D online animation of HIL simulation in real time
Graphical user interface similar to other dSPACE tools
Graphical interactive scene design
Scalable number of MotionDesk PCs for multichannel visualization,
e.g., for interactive test drives
Time-stamping and AVI le generation
Simulation comparison: for example, transparent or shadow vehicles
In vehicle dynamics simulation, maneuvers and critical behaviors are particularly hard
to detect by conventional methods such as time histories and display instruments.
A much better impression of what is happening with the vehicle is given by 3-D
online animation.
MotionDesk performs such 3-D animation for all objects simulated on dSPACE
Simulator in real time. With MotionDesk, the results of any action in the simulation
that is running become visible on your PC immediately.
MotionDesk (p. 154)
Full-brake simulation or braking on different surfaces: MotionDesk makes the
cars behavior visible.
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de
2005
85
2005
87
2005
89
2005
91
2005
93
2005
95
Signal Conditioning
Real components usually cannot be connected directly to the real-time hardware.
The signal level of the ECU and other connected components must rst be adapted
to the I/O interfaces of the real-time hardware. The signal conditioning necessary
for adaptation is an important part of dSPACE Simulator and includes protection
circuits, signal preparation, etc., in addition to level adaptations.
CAN Gateway
In large-scale CAN networks, the testing of bus communication plays a key role.
Engineers need to test the behavior of ECUs and distributed functions when an
expected CAN message fails to arrive or contains unexpected signals.
To simulate errors, a CAN gateway is inserted into the CAN network (see graphic).
Each ECU can be connected individually to one of the two CAN controllers. Signal
manipulation by software allows you to manipulate any CAN messages from any
ECU, with a predened effect on the other ECUs in the CAN network. The CAN
software (RTI CAN MultiMessage Blockset) generates error situations right up to
message or individual signal level.
CAN gateway for simulating errors in large ECU networks.
Simulation of Linear Lambda Probes
LSU is a new signal conditioning module for dSPACE Simulator Full-Size and
Mid-Size that simulates the behavior of linear lambda probes. These probes mea-
sure the air-fuel ratio in a cars catalytic converter. The engine ECU reacts continu-
ously to this information so that the catalytic converter can operate at an optimal
performance rate.
The LSU module allows Nernst cell voltage to be generated on two independent
channels, according to pump current and Nernst cell inner resistance. The module
functions as a linear probe or as a jump probe. Parameters such as maximum/
minimum Nernst cell voltage can be adjusted.
Simulator-Specic Hardware
Signal manipulalion
CAN gaIeway so!Iware
Signal
manipulalion
Px Px Tx Tx
CAN -
cohIroller 1
CAN -
cohIroller 2
LCU 1 LCU 2
LCU h
CAN gaIeway hardware
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de 2005
96
ECU Testing
Real-Time Models for dSPACE Simulator
Models from MATLAB/Simulink/Stateow
For hardware-in-the-loop simulation, you need real-time models to simulate the real
environment. dSPACE Simulator is optimally equipped for integrating simulation
models from MATLAB/Simulink/Stateow. Thanks to years of cooperation between
The MathWorks and dSPACE, the tools from these two companies are perfectly
tailored to each other. This way, you can can use your own real-time models or
third-party models. For example, our partner TESIS DYNAware, Munich, Germany,
offers Simulink-based simulation models for HIL simulators that really make your
dSPACE Simulator come alive.
Model-Based Development
After you develop your simulation model, you can test it with Simulink and
ControlDesks Simulink interface and then in real time on dSPACE Simulator with
the same layouts, test scripts and parameter sets.
Services for Real-Time Models
Based on years of know-how in hardware-in-the-loop simulation, dSPACE also offers
modeling services such as
Integration of models into dSPACE Simulator
Parameterization of models based on customer data
Model interfaces
Integration of different modeling tools (Dymola, AmeSim, C-Code, others)
Adaptation of customer models
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de
2005
97
Conguration Examples
O!!-Ihe-shel! hardware
lailure lnserlion Unils
Load Cards
Oll-lhe-shell hardware
lailure lnserlion Unils
Load Cards
PC
dSPACL SimulaIor Mid-Size
Modeling sollware
lmplemenlalion sollware
Lxperimenl sollware
LCU
Modular hardware
(o!!-Ihe-shel!)
DS!005
DS22!!
Power supplies
Peal-Time model
(execuled by DS!005)
Conguration Example:
dSPACE Simulator for Testing Single ECUs
dSPACE Simulator Mid-Size is the perfect choice for testing single ECUs or for test
projects with xed ECU wiring.
Possible ECU Testing Tasks for This Conguration
Functional tests for single ECUs
Integration tests for single ECUs
Acceptance tests for single ECUs
Release tests for single ECUs
Virtual vehicles (when networked with other dSPACE Simulators)
Possible Test Areas for This Conguration
Gasoline engine
Diesel engine
Transmission
Vehicle dynamics
Climate control
Comfort functions
12 42 V applications
Components (Example)
Third-Party Components Further Details
PC
Modeling software MATLAB / Simulink /
Stateow from The
MathWorks
p. 35
Real-time model Real-time models for
dSPACE Simulator
p. 96
Real-time code generation Real-Time Workshop p. 36
Software Components Further Details
Implementation software Real-Time Interface p. 108
PowerPC compiler p. 127
Experiment software ControlDesk p. 128
ControlDesk Failure
Simulation
p. 139
AutomationDesk p. 140
Catalog 2005 dSPACE Technologiepark 25 33100 Paderborn Germany info@dspace.de www.dspace.de 2005
98
ECU Testing
O!!-Ihe-shel! hardware
lailure lnserlion Unils
Load Cards
Signal condilioning
Olhers
PC
d5PACE 5imuIaIor fuII-5ize
Modeling sollware
lmplemenlalion sollware
Lxperimenl sollware
ECUs
Modular hardware
(o!!-Ihe-shel!)
Processor boards
l/O boards
Power supplies
Real-1ime model
(execuled by processor boards)
Hardware Components Further Details
Modular hardware Processor Board:
DS1005 PPC Board
p. 230
I/O boards:
DS2211 HIL I/O Board
p. 254
Off-the-shelf hardware Failure insertion units p. 87
Load boards p. 87
One or two power
supplies (two for
2-voltage system
simulation)
p. 94
Others
Conguration Example:
dSPACE Simulator for Testing Networked ECUs
dSPACE Simulator Full-Size is perfect for projects with higher I/O requirements. The
hardware is expandable and exible, and can be quickly adapted, for example, for
system tests with changing ECU wiring.
Possible ECU Testing Tasks for This Conguration
Function tests for single or networked ECUs
Integration tests for single or networked ECUs
Acceptance tests for single or networked ECUs
Release tests for single or networked ECUs
Virtual vehicles with greatest possible exibility
Possible Test Areas for this Conguration
Gasoline engine
Diesel engine
Transmission
Vehicle dynamics
Climate control
Comfort function
Tests with high currents
12 42 V applications
Power consumption test (airport test)
Very complex real-time models (multiprocessing or networked simulators)