Development Diagnostics: Automated Data-driven Validation of the Diagnostic Implementation
Case Study Claas

The Customer
CLAAS is one of the world’s leading manufacturers of agricultural machinery. As a family-owned company with a history dating back to 1913, CLAAS develops machines such as tractors, combine harvesters, forage harvesters, telescopic handlers and balers for agricultural customers worldwide. In its diagnostic data, CLAAS describes the interrelationships between diagnostic parameters and ECU inputs and outputs.
The Challenge
Tthe interdependencies between the diagnostic and ECU environments are typically not described formally in the diagnostic data. As a result, further processing by automated methods is generally not possible. This is relevant for both fault memory tests and diagnostic parameter tests. Fault memory tests require a known setting condition for each DTC, while diagnostic parameter tests need a clear relationship between diagnostic parameters and ECU pins. In both cases, function-specific preconditions must be considered during test execution.
The Solution
In cooperation with Vector, Claas links diagnostic parameters and ECU I/O information with existing network and hardware descriptions. Based on specification data such as CDD or ODX, fully automated diagnostic implementation tests are generated and executed in the existing CANoe test environment. For this purpose, Claas uses the CANoe.DiVa tool from Vector.
The I/O information in the diagnostic description and from other sources is imported into CANoe.DiVa to parameterise a test generator. The test environment stimulates a sensor pin of the ECU, writes a new value to the ECU, or reads values at the diagnostic service. Fault memory tests verify whether the correct DTC was stored in fault memory.
The Advantages
Automated generation and execution of tests offer great potential for increasing depth of testing while reducing test effort. The approach enables broader validation of diagnostic implementation based on existing specification data.
- The ECU’s diagnostic interface can be efficiently tested in a verifiable way, supporting reliable validation of the diagnostic protocol implementation.
- Automated diagnostic implementation tests contribute to an improvement in product quality.
- Diagnostic parameters and error codes can be validated automatically, depending on how complete the diagnostic description is.
- Automated generation and execution of implementation tests reduces the effort required for validation of the ECUs tremendously.
- OEM-specific extension of the test tool at Claas enables greater test coverage by automated tests of fault memory and diagnostic parameters: from a previous 55 % to 95 % currently.