US 12,032,876 B2
Device and method for simulating a controlled machine or installation
Rene Ermler, Erlangen (DE); Cornelia Krebs, Rückersdorf (DE); Jörg Neidig, Nuremberg (DE); and Gustavo Arturo Quiros Araya, Princeton, NJ (US)
Assigned to Siemens Aktiengesellschaft, Munich (DE)
Filed by Siemens Aktiengesellschaft, Munich (DE)
Filed on Jan. 31, 2019, as Appl. No. 16/264,254.
Claims priority of application No. 18154633 (EP), filed on Feb. 1, 2018.
Prior Publication US 2019/0236224 A1, Aug. 1, 2019
Int. Cl. G06F 30/20 (2020.01); G05B 17/02 (2006.01); G05B 19/418 (2006.01); G06F 11/26 (2006.01)
CPC G06F 30/20 (2020.01) [G05B 17/02 (2013.01); G05B 19/41885 (2013.01); G05B 2219/13185 (2013.01); G05B 2219/13186 (2013.01); G05B 2219/23445 (2013.01); G05B 2219/23456 (2013.01); G06F 11/261 (2013.01)] 11 Claims
OG exemplary drawing
 
1. A device for simulating a controlled machine or installation, the device comprising:
a process simulation apparatus comprising a first virtual clock and an event receiver, the process simulation apparatus configured to perform first simulation steps as a function of a first virtual time so as to simulate a physical process of the machine or installation, and
a controller simulation apparatus comprising a second virtual clock and an event generator, the controller simulation apparatus configured to perform second simulation steps so as to simulate a controller of the machine or installation as a function of a second virtual time,
wherein the process simulation apparatus and the controller simulation apparatus exchange output values so as to simulate the controlled machine or installation in the respective first and second simulation steps,
wherein the controller simulation apparatus is configured to transmit an item of information to the process simulation apparatus, which item of information describes a virtual result time for an end of a second simulation step, said virtual result time based on the second virtual clock,
wherein the process simulation apparatus further comprises a device configured to adjust a duration of at least one of the first simulation steps based on the first virtual dock depending on the virtual result time such that the at least one of the first simulation steps ends at the virtual result time,
wherein the event generator is configured to generate an event signal describing the virtual result time when a second simulation step is terminated by the controller simulation apparatus, and the event receiver is configured to receive the event signal, and
wherein the controller simulation apparatus is configured to transmit the output values determined during the second simulation steps to the process simulation apparatus at the virtual time result, and wherein the process simulation apparatus is configured to use the transmitted output values from the controller simulation apparatus as input values for performing at least one subsequent first simulation step so that the process simulation apparatus and the controller simulation apparatus operate sequentially in a co-simulation with up-to-date input values, wherein the controller simulation apparatus comprises an emulator for the controller program to be executed in a software-emulated controller.