White paper: Root of Trust in the software-defined vehicle

Case · Veoneer · Autotech

One airbag ECU, three networks, one test framework

Automated verification of Veoneer's airbag control unit against CEVT's base-technology requirements, across CAN, FlexRay and LIN, with Diadrom Dolphin.

An airbag control unit on a test fixture, wired to three separate network harnesses, with automated test results on a screen behind it
Illustration, AI-generated

In brief

  1. 01 · Technical

    Diadrom Dolphin to be extended with FlexRay, LIN and gateway modules, alongside its CAN and CAN FD support.

  2. 02 · Verification

    The vehicle manufacturer's base-technology test specification as the basis for an automated DVM test suite.

  3. 03 · Scope

    Diagnostics, software download, Security Access, ECU identification, network management and error handling.

  4. 04 · Work

    Requirements analysis, test development, analysis of the results, reports for Veoneer's customer and on-site training.

Standards and products in this programme

Automated verification of Veoneer’s airbag control unit against CEVT’s base-technology requirements, across CAN, FlexRay and LIN, with Diadrom Dolphin.

An airbag control unit has to behave correctly on every network it is connected to. The requirements for that fill a specification. The work was to make every line of it testable automatically.

A safety ECU on three networks

The supplemental restraint system decides when the airbags fire. Its control unit is safety-critical, and it does not sit on one network. This one communicated mainly over FlexRay, with CAN and LIN as well, and the vehicle manufacturer’s diagnostic requirements applied on all three. Each network brings its own data link layer, its own network management and its own way for things to go wrong.

A base-technology specification to verify against

Veoneer was developing the SRS control unit for a CEVT vehicle platform. Before each software release, the unit had to be verified against CEVT’s base-technology test specification. It covered, among other things:

  • Diagnostics over UDS: diagnostic sessions, reading data by identifier, unsupported services and subfunctions, session timeouts and control routines
  • Software download, including the bootloader, download time and compatibility checks
  • Security Access, with seed and key, in both the application and the bootloader
  • ECU identification
  • Network management on CAN, FlexRay and LIN, including AUTOSAR network management
  • Missing frames, error handling and requirements that cross from one network to another
  • UDS on LIN and the LIN master and slave behaviour

The test cases were written at a detailed, low level. Doing them by hand for every release would be slow, and it would be hard to repeat in exactly the same way each time.

Extending the test framework

Diadrom Dolphin already supported CAN and CAN FD. The SRS work set out to extend it with three modules: FlexRay, LIN and a gateway module for the SRS architecture. The point was one test framework that talks to the control unit on every network it uses, instead of one tool per bus.

From specification to test suite

Diadrom’s task was to analyse CEVT’s test specification together with Veoneer’s verification engineers and build the DVM test suite from it: the specification’s test cases written as automated tests in Dolphin. When the test case identifiers Veoneer sent did not match the documents delivered earlier, Diadrom raised it, and the analysis moved to the updated specification. The work was planned around Veoneer’s software releases, and later releases were expected to need further test cases.

More than a tool

The scope did not stop at running the tests. It also covered analysing the results and preparing reports for Veoneer’s customer, and on-site training so that Veoneer’s own engineers could run and maintain the verification themselves. Further sprints and maintenance of Dolphin and the test suite were offered as options.

For the engineers in the room

  • ECU: Supplemental restraint system (airbag) control unit
  • Networks: FlexRay, CAN, CAN FD and LIN
  • Test framework: Diadrom Dolphin, with FlexRay, LIN and SRS gateway modules in scope
  • Requirements: the vehicle manufacturer’s base-technology test specification, as a DVM test suite
  • Diagnostics: UDS (ISO 14229), including UDS on LIN
  • Software download: bootloader, download time, compatibility, Security Access in application and bootloader
  • Network management: CAN, FlexRay, LIN and AUTOSAR NM
  • Scope of work: requirements analysis, test development, result analysis, customer reports, on-site training

Advice to peers

A control unit on several networks needs one way of testing all of them. Extend the test framework to every bus the ECU uses, then let the vehicle manufacturer’s specification drive the test cases. The specification stays the reference, and every release is checked against the same thing.

Details drawn from Diadrom’s reference material on the Veoneer SRS engagement. Programme and platform specifics beyond those stated are excluded.

Your programme next?

Tell us your context — we reply within one business day.

Tell us your context