I was wondering if anyone on here had experience with using a digital twin system for software validation/QA of an embedded system? For example ECUs on CANbus or multiple nodes on UART or Modbus. I work for one of the largest and oldest RTOS companies in the industry and we are interested to hear your thoughts. When I found MOT, I immediately realized this would be a perfect set of subject matter experts to ask.
I am curious about use cases, tools, experience, even potential partnerships….please educate me!
I have experience in testing enbebbed systems in Vehicles.
In my case, the way of work is test the applications installed in one of the multiple ECUs of one car. For instance, I have tested the application that controls the pneumatic suspension system in some Iveco trucks (in this case there is a dedicated ecu to do this). Also I have tested Infotainment systems of some Mercedes models (in this case the application that controls Infotainment is installed in the head unit)
The way I use to test this and the way is normal in the indistry is to use a test bench. So you have the phisical ECU, your app installed on her and some kind of Equipment that simulates de rest of the car. This equipment includes a can interface that is connected in one side to your ecu and in the other side to a Laptop. In the Laptop you hace a software that simulates the CAN bus, with this your ECU thinks that it is installed in a real car.
CANoe is the Software that I used all the time and I know is standard in Germany Industry. With it you can ofsimulate the input signals to your ECU (vehicle speed, engine speed, exterior temperatur,… whatever you ECU reads from the CAN bus) and observe the ouputs, read logs or create automatic test. This allows you to find defects and correct them.
Of course test in real car is also quite common but nowadays an early erification using the mentionetd setup is quite common.