US 12,367,036 B2
Method and system for testing at least one electronic control device as a virtual control device on a simulator, and corresponding simulator
Felix Engel, Paderborn (DE); and Andre Hildebrandt, Paderborn (DE)
Assigned to dSPACE GMBH, Paderborn (DE)
Filed by dSPACE GmbH, Paderborn (DE)
Filed on Sep. 25, 2023, as Appl. No. 18/372,340.
Claims priority of application No. 22197283 (EP), filed on Sep. 23, 2022.
Prior Publication US 2024/0103855 A1, Mar. 28, 2024
Int. Cl. G06F 8/71 (2018.01)
CPC G06F 8/71 (2013.01) 12 Claims
OG exemplary drawing
 
1. A method to test at least one electronic control device as a virtual control device on a simulator, which includes at least one simulator computing unit, the electronic control device having a hardware configuration with at least one computing unit and an external interface for exchanging data, and a software configuration assigned to the hardware configuration, the software configuration comprising an internal functionality and an external interface functionality, the method comprising:
mapping the electronic control device to the virtual control device in that the internal functionality of the software configuration of the electronic control device is taken over as the internal functionality of a software configuration of the virtual control device, and the external interface functionality of the electronic control device is replaced by a data transfer functionality of the software configuration of the simulator computing unit,
translating the software configuration of the virtual control device into executable code for the simulator computing unit;
executing the translated software configuration on the simulator;
providing the hardware configuration of the electronic control device with at least one first computing unit and a second computing unit of different types, the software configuration of the electronic control device comprising at least internal functionalities for the first computing unit and the second computing unit;
calling, via at least the internal functionality of the first computing unit, an internal function of the internal functionality of the second computing unit;
providing a description of the hardware configuration and the software configuration of the electronic control device, including an assignment of the internal functionalities of the software configuration of the electronic control device to the computing units of the electronic control device;
providing the internal functionalities of the computing units of the electronic control device;
mapping, via an evaluation of the description of the electronic control device, each computing unit of each type of electronic control device, including an assigned internal functionality, to a virtual computing subunit of the corresponding type;
transferring the internal functionality of the electronic control device of the mapped computing unit to an internal functionality of the virtual computing subunit executable on the simulator computing unit;
evaluating the provided internal functionalities of the first computing unit of the electronic control device and the second computing unit of the electronic control device to ascertain which computing units of the electronic control device are exchanging data with each other by accessing an internal function of another computing unit of the electronic control device; and
replacing the accesses to internal functions of another computing unit in the virtual control device by a data transfer functionality of the software configuration of the simulator computing unit.