SILS Testing Using CAN — Vehicle-Wide Simulation and Test Case Reuse

SILS is a development-support environment primarily for ECU software. Because it lets you verify software on a PC even before real hardware is complete, it supports easy CI, reduces development rework, and improves reliability through automated testing. GSIL, sold by Ubiquitous AI, is a CAN-capable SILS tool — and CAN support significantly widens its range of applications.

1. Application 1: Integration Testing Combining Real Hardware and Simulation

One common use case is wanting to run an integration test across multiple ECUs, combining real hardware with simulation.

1-1. Integration testing including a real ECU, using CAN — example 1

For an OEM wanting to simulate the whole vehicle, in-house source code or models can be tested with MILS or SILS — but obtaining a model or source code for a supplier-provided ECU may not be possible. If it can't be obtained, that ECU must be tested using real hardware. Even so, CAN makes it possible to run an integrated test combining simulation and a real ECU.

The following can be connected over real CAN and simulated together

  • hand-written-code ECU
  • real ECU
  • HILS

(a pattern without HILS is also possible

1-2. Integration testing including a real ECU, using CAN — example 2

When adding a feature to a real ECU, even without HILS available, a counterpart device with a plant model built in can be constructed easily and inexpensively in place of HILS.

Using GSIL loaded with a plant model as the counterpart device

  • useful when adding functionality to a real ECU and HILS is difficult to prepare.

Using Vector's USB-connected CAN hardware with GSIL enables communication over a real CAN bus.

2. Application 2: Automated Testing with CANoe

Automated testing with CANoe is also possible. By running trace data captured from a real ECU, or test cases written in CAPL, teams can reuse test assets and achieve automated testing easily.

2-1. Rest-bus testing with CANoe

CANoe's virtual CAN node

  • run test cases on the virtual CAN node
    • real-ECU trace data or CAPL-written test cases
  • check GSIL's behavior against those test cases

Even without HILS, a counterpart device with a plant model built in can be constructed easily and inexpensively in place of HILS when adding a feature to a real ECU.

3. Summary

Using CAN significantly broadens the range of SILS applications. If you're interested, please get in touch using the button below — we'd be happy to explain GSIL in more detail.

Author
Hiroshi Ueda

Ubiquitous AI Corporation

Embedded Business Unit 3, Deputy General Manager

Hiroshi Ueda

After university, Ueda joined a Tier 1 supplier and worked on ECU software development. He later worked overseas as an embedded software development engineer before returning to Japan, where he has been engaged in technical sales for automotive software since 1998. Drawing on his own experience, he sources overseas software products that help solve customers' development challenges and delivers them to engineers in Japan.

Related Insights

Get in Touch

For more details on GSIL

Contact Us

Want to learn more about GSIL or have challenges in automotive ECU software development?

Try GSIL for Free

Try GSIL for Free

We offer a free trial for corporations, including training and setup support.

Back to Product Page