Professional Documents
Culture Documents
Testing
Functional testing of a vehicle ECU requires testing of the most significant error conditions as well as actual functional-
ity in the vehicle. Systems used for this type of testing must fulfill stringent testing requirements. Vector’s VT System is
a modular test system tailored specifically to meet the needs of the passenger, commercial and agricultural vehicle in-
dustries. It allows the engineer to perform effective functional testing during the early development phases of the vehicle.
The complexity of electronic and software systems installed In many cases, ECUs automatically check sensors and actua-
in today‘s automobiles requires comprehensive testing in the tors so it is imperative that they are connected during the test.
developmental phases of the ECU. Generally, errors detect- If these external components are missing, the ECU will gener-
ed early on are easier and cheaper to correct than errors ate faults or deactivate certain functions. As a result, real ac-
found in the later phases of development. In this process, tuators and sensors are usually connected to the ECU for test-
ECUs are rigorously tested individually in functional tests ing. An alternative would be to simulate the loads and sensors.
with special attention given to the numerous error cases. The great advantage of sensor and actuator simulation lies in
Faulty behavior detected in rare cases or in situations that the potential for automating test flows with suitable models,
are impossible to reproduce in normal operation represent a Hardware-In-The-Loop (HIL) test is also possible.
a tremendous problem for manufacturers if those errors
are not discovered before the ECU has reached the field. ECU Testing in Error Situations
Additional devices are necessary to simulate error condi-
Functional Testing of ECUs tions during an ECU test; like the VT System from Vector.
To test its functionality, the ECU is stimulated via its hard- They are inserted in the circuit between the ECU pin and
ware and software interfaces and its reactions are evalu- the sensors and/or actuators to which it is connected
ated. It is important to present the ECU with a test envi- (Figure 1). Specifically, these test components enable test-
ronment that matches the environment in the real vehicle ing of the following error conditions:
as closely as possible. This can be accomplished in a number >>Damage to the electrical wiring: Line breaks, short
of different ways. What is most important here is that the circuits to ground or battery voltage, short circuits
ECU should not be able to perceive any difference between between connection lines
the simulated environment on the test bench and the ac >>Sensors or actuators are damaged: Sensors do not
tual environment in the vehicle. output any values, the values lie outside of the accept-
1
Figure 1: The VT System is placed
between the ECU and the actuators/
sensors for testing.
able value range, electrical properties of the components The PC with CANoe is connected via the computer’s
– such as internal resistance or current consumption – Ethernet port using the real-time capable EtherCAT protocol.
do not conform to specification This means that flexible test systems can be constructed
>>Incorrect input values, especially incorrect sensor data: with minimal integration and wiring effort.
From the ECU’s perspective the sensor is working Different modules are available for driving the various ECU
properly and measured values lie within the allowable inputs and outputs. However, all modules share these prop-
range. However, they are implausible or contradict other erties:
sensor values. >>The ECU’s I/O lines are connected directly to the
VT System. Each module provides all circuits for the I/O
The ECU must react in a defined way in these cases and channel, thus substantially simplifying the test bench
generate appropriate diagnostic entries. In turn, these en- setup (Figure 3).
tries can be checked by the test system – in this case over
the diagnostic interface.
2
Figure 3:
Modules of the
VT System
integrate all of
the I/O channels
needed for the
test.
>>If necessary, real sensors and actuators can be duced with high precision. The module can also generate
connected to the module. Using relays on the VT module, PWM signals and simulate a potentiometer on a channel
users can toggle between the use of externally how it is used for fuel level sensors, for example.
connected original equipment components and the The VT2516 digital module controls ECU inputs or outputs
simulation residing in the module. that utilize digital signals, e.g. lines in the vehicle that are
>>On each ECU pin, relays can be used to generate errors connected to switches, encoding jumpers, small indicator
such as line break and short circuits between lines, to lamps or LEDs. ECU inputs are stimulated by digital signals
ground or to supply voltage. with configurable levels; besides bit sequences stored on
>>All modules and measurement devices are designed for the module, PWM signals may also be output here. In the
voltages and currents typically used in vehicle elec- opposite direction, the module can measure digital or PWM
tronics. Additional signal conditioning hardware is not signals and voltages output by the ECU at each channel.
required. Using selectable resistors, loads can be simulated or pull-
>>VT System modules are automatically registered onto up or pull-down circuits implemented.
CANoe and are ready for use after a minimal configura- An ECU’s power supply lines are connected to a power
tion effort. All measurement, output and control signals source through the VT7001 module (Figure 4). Precise cur-
can be accessed through CANoe and may be used in test rent measurements are acquired over a wide range making
scripts together with bus signals, or evaluated in analysis it possible to check quiescent states, for example, or ana-
windows.
3
Flexible Test Systems for Efficient ECU Testing
Image rights:
Vector Informatik GmbH
Links:
Homepage Vector: www.vector.com
Product information VT System: www.vector.com/vt-system
Product information CANoe: www.vector.com/canoe
Stefan Krauß
studied Computer Science at the University of Stuttgart from
1990 to 1995. After graduating, he worked as a scientific
assistant in the Software Engineering department of the
university’s Institute for Computer Science until 2001. Since
2002, he has been employed at Vector Informatik GmbH in
Stuttgart where he is currently Product Manager for the
VT System.