CANoe.DiVa – Automated EOL Testing in Seconds at Knorr-Bremse

Case Study Knorr-Bremse

Case Study
Automotive
CANoe.DiVa
Diagnostics

The Customer

Knorr-Bremse is the global market and technology leader in braking systems and a leading provider of other innovative solutions for the rail and commercial vehicle industries. The Truck Division develops and supplies braking systems for trucks, buses, trailers, and agricultural machinery.

Knorr-Bremse’s Electronic Braking System (EBS) sets new standards in vehicle stability, braking control, ride comfort, and, in particular, driving safety. The fully electronically controlled air brake system (Brake-by-Wire) controls braking processes precisely and in a manner appropriate to the situation. Compared to conventional systems, it enables shorter stopping distances, more stable handling, and optimized coordination between the towing vehicle and the trailer.

The Challenge

The EBS consists of a ECU, a foot brake module, an electropneumatic two-channel modulator, and numerous sensors. Once this safety-critical system has been fully installed by the vehicle manufacturer (OEM), a systematic end-of-line test (EOL test) is essential. This test is performed via UDS using the OEM’s diagnostic tester. The goal is to detect installation-related deviations such as reversed wiring, early and reliably on the production line and to calibrate the sensors.

To ensure that EOL testing at the OEM runs smoothly and meets the required quality standards, Knorr-Bremse simulates the respective customer environments on an internal roller test bench equipped with a HIL control system from dSPACE. Prior to each EBS approval, the EOL tests are performed there in accordance with OEM specifications. Until now, these internal tests were conducted largely manually using text-based instructions and the company’s own diagnostic tester. This approach was time- and resource-intensive, error-prone, impossible to automate, and only reproducible to a limited extent.

Therefore, the goal was to find a test architecture that could be automated with minimal programming effort, seamlessly integrate with the existing HIL from dSPACE, and allow for easy transfer to other customer projects.

A manual EOL test used to take up to half an hour. Thanks to the automation provided by CANoe.DiVa, the test time was reduced to just a few seconds.
René Schoofs und Emil Schäuffele
Systemtest at Knorr-Bremse

The Solution

Thanks to its open architecture, CANoe is an ideal test platform; with CANoe.DiVa, it enables automated diagnostic tests as well as the validation of diagnostic functions in ECUs. The HIL works as an XIL API server and makes its model variables available via this standardized interface. CANoe offers convenient integration of the XIL API. The configuration code required for the one-time implementation and configuration of the HIL connection is created once by the responsible engineer. Test engineers can then perform the tests at an abstracted level without having to develop code themselves. At the same time, CANoe.DiVa automatically generates the specified UDS-based EOL tests.

Based on this architecture, Knorr-Bremse implemented a fully automated EOL test system within six engineering weeks.

Overall System Architecture - CANoe with CANoe.DiVa serves as a central integration platform between diagnostics, test automation, and HIL systems.
  • For the project-specific integration, CANoe automatically reads the available variables from the XIL API server. Based on a flexible configuration, a generator included with CANoe then creates abstracted variables in the form of so-called Distributed Objects (DO). These do not need to be created or maintained manually.
  • CANoe.DiVa generates the test units based on a diagnostic description file in the CANdelaStudio CDD format (from Knorr-Bremse’s software development) as well as the project-specific test configuration with access to the Distributed Objects. Alternatively, a diagnostic description in ODX format would be possible.
  • After importing the generated tests from CANoe.DiVa, automated test execution takes place in the CANoe test environment.

The Advantages

Thanks to the high degree of automation achieved by CANoe.DiVa, Knorr-Bremse was able to reduce the time required to run a test from up to half an hour to just a few seconds. Additional time savings result from minimal manual implementation effort.

Since CANoe.DiVa generates the test scope based on a digital diagnostic description, the adaptation of the HIL tests is also largely automated. This enabled Knorr-Bremse to quickly transfer the EOL tests to other customer projects and adapt them to specific project requirements.

This resulted in the following benefits for Knorr-Bremse:

  • Detailed and informative test reports
  • Efficient implementation of test cases with checks down to the protocol level, including State Transitions 
  • Flexibly adjustable timeout tolerances
  • Ability to extend automatically generated tests using CAPL, e.g., in the case of incomplete CDDs.
  • Flexible design of the test sequence through dynamically generated CAPL workflows, for example, for the wheel speed sensor calibration routine
At Knorr-Bremse, the EOL tests automated using CANoe.DiVa and CANoe are now an integral part of the regression testing process and thus play a key role in accelerating development.
René Schoofs und Emil Schäuffele
Systemtest, Knorr-Bremse
The Engine Behind This Case Study
CANoe.DiVa brings automated diagnostic testing directly into CANoe, helping diagnostic validation engineers and diagnostic developers validate ECU diagnostic implementations with confidence.
Let's Discuss Your Use Case
Whether you’re exploring options or already planning your next steps, share your requirements with us. We support you in finding the right solution.