IP Library Granted Patent US 9,836,384
Granted Patent B2
US 9,836,384 · App. 14/490,173 · Granted Dec 5, 2017

Testing device for real-time testing of a virtual control unit

Inventors: Robert Leinfellner (Paderborn, DE); Timo Kerstan (Gechingen, DE)
Assignee: dSPACE digital signal processing and control engineering GmbH
G06F11/3664G05B17/02G06F11/261G06F11/3688G06F17/5009G06F17/5095G05B2219/23445
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,836,384
App. No.
14/490,173
Granted
Dec 5, 2017
Kind
B2
Abstract

A testing device for real-time testing of at least a part of a virtual electronic control unit with an electronic control unit code is provided. The testing device has a computing unit of a first type, and a computing unit of a second type. The testing of a virtual electronic control unit with electronic control unit code, which is executable on the computing unit of the second type with a second instruction set, is made possible in that a computing unit of the first type executes an emulator for emulating the computing unit of the second type and the emulator executes the electronic control unit code. The emulator also has a simulation environment interface for exchanging data and/or events with the simulation environment.

Claims (28)

1. A testing device for real-time testing of at least a part of a virtual electronic control unit with an electronic control unit code, the testing device comprising:

at least one computing unit of a first type with a first instruction set;

at least one simulation environment for real-time simulation of an environment of the virtual electronic control unit, the simulation environment and the electronic control unit code being computed with at least one computing unit of the first type; and

a computing unit of a second type, the electronic control unit code being executable on the computing unit of the second type with a second instruction set, the second instruction set of the computing unit of the second type being different from the first instruction set of the computing unit of the first type,

wherein the computing unit of the first type executes an emulator for emulating the computing unit of the second type,

wherein the emulator executes the electronic control unit code,

wherein the emulator has a simulation environment interface for sending and receiving data and/or events directly with the simulation environment, and

wherein the electronic control unit code is directly executable in the emulator as the at least the part of the virtual electronic control unit without translation of the electronic control unit code into the first instruction set.

2. The testing device according to claim 1 , wherein the simulation environment includes at least one simulator and a process model, wherein the simulator is called by the emulator via the simulation environment interface.

3. The testing device according to claim 2 , wherein data is exchanged between the emulator and the process model via the simulation environment interface.

4. The testing device according to claim 2 , wherein, when the emulator is called by the simulator via the simulation environment interface, the emulator records the execution context of the electronic control unit code, the emulator executes the part of the electronic control unit code affected by the call, and the emulator updates the execution context of the electronic control unit code.

5. The testing device according to claim 4 , wherein the electronic control unit code is complete such that it includes an operating system, drivers, and all software components of the electronic control unit so that the execution context describes substantially the entire physical context of the virtual electronic control unit.

6. The testing device according to claim 4 , wherein the electronic control unit code is incomplete such that it does not include the operating system and drivers of the electronic control unit so that the execution context includes only software components of the virtual electronic control unit.

7. The testing device according to claim 3 , wherein a computation of the electronic control unit code by the emulator occurs in a data-driven fashion via the simulation environment interface between the emulator and the process model.

8. The testing device according to claim 2 , wherein a computation of the process model and an execution of the electronic control unit code by the emulator are controlled centrally by the simulator, and wherein the process model includes a timing coordination of the computations of the process model and the execution of the electronic control unit code.

9. The testing device according to claim 1 , wherein the emulator interprets each called-up command of the electronic control unit code in the second instruction set at runtime and then, on the computing unit of the first type, executes it such that is functionally identical to commands of the first instruction set.

10. The testing device according to claim 1 , wherein the emulator translates all or part of the electronic control unit code into the first instruction set just before execution, and wherein, prior to a translation, as much memory is allocated for the electronic control unit code to be translated into the first instruction set as is actually available in the virtual electronic control unit.

11. The testing device according to claim 1 , wherein the simulation environment includes at least one simulator and a process model, wherein the simulator is called by the emulator via the simulation environment interface and the emulator is called by the simulator via the simulation environment interface.

12. A virtual electronic control unit having an electronic control unit code, the virtual electronic control unit comprising:

a computing unit of a first type;

a computing unit of a second type, wherein the computing unit of the second type is emulated on the computing unit of the first type, the electronic control unit code executed on the computing unit of the second type with a second instruction set, the second instruction set of the computing unit of the second type being different from a first instruction set of the computing unit of the first type; and

at least one simulation environment for real-time simulation of inputs and outputs of the virtual electronic control unit, the simulation environment running on the computing unit of the first type,

wherein the computing unit of the first type executes an emulator for emulating the computing unit of the second type,

wherein the emulator executes the electronic control unit code,

wherein the emulator has a simulation environment interface for sending and receiving data and/or events directly from the inputs and outputs of the virtual electronic control unit to the simulation environment, and

wherein the electronic control unit code is executable in the emulator as the virtual electronic control unit without translation of the electronic control unit code into the first instruction set.

13. The testing device according to claim 1 , wherein execution of the simulation environment is separate from execution of the electronic control unit code of the virtual electronic control unit.

14. The testing device according to claim 1 , wherein the simulation environment code is separate from the electronic control unit code of the virtual electronic control unit.

Assignments (2)
CHANGE OF NAME Recorded Jun 7, 2022
From: DSPACE DIGITAL SIGNAL PROCESSING AND CONTROL ENGINEERING GMBH
To: DSPACE GMBH
Reel/Frame 060301/0215 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 6, 2015
From: LEINFELLNER, ROBERT; KERSTAN, TIMO
To: DSPACE DIGITAL SIGNAL PROCESSING AND CONTROL ENGINEERING GMBH
Reel/Frame 035157/0084 →
Priority Claims (1)
EP 13184920 · Sep 18, 2013 · regional
Continuity (1)
Related Publication 20150082289A1 · Mar 19, 2015