Method and device for synchronizing a simulation with a real-time system

US11610034B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11610034-B2
Application numberUS-201816637579-A
CountryUS
Kind codeB2
Filing dateAug 3, 2018
Priority dateAug 14, 2017
Publication dateMar 21, 2023
Grant dateMar 21, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for synchronizing a simulation of a simulation model on a computer with a real-time system, the simulation and the real-time system each having a computing clock having a matching macro increment. The method includes the following features: awaiting a message from the real-time system, measuring a receiving instant of the message by the simulation, awaiting at least one further message of the real-time system, measuring the receiving instant of the further message by the simulation; calculating an averaged receiving instant based on the receiving instants of the message and the at least one further message; determining a starting instant of the simulation based on the averaged receiving instant such that the results of a macro increment of the real-time system are available to the simulation at the start of a macro increment.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for synchronizing a simulation with a real-time system, the method comprising the following steps: awaiting a message from the real-time system; measuring a receiving instant of the message; awaiting at least one further message of the real-time system; measuring a receiving instant of the further message; forming a time difference between the receiving instant of the message and the receiving instant of the further message; ascertaining a deviation of the time difference with respect to a predefined macro increment of the simulation; and based on the deviation, determining a starting instant of the simulation; wherein the method further comprising the following steps: processing a plurality of awaited message including the message and the at least one further message, by measuring a receiving instant of each awaited message and awaiting a further awaited message, for as long as a number of awaited messages processed does not reach a predefined random sampling scope; forming an average value of respective deviations between receiving instants of the processed awaited messages as soon as the number of processing awaited messages corresponds to the predefined random sampling scope; and determining the starting instant based on the average value. 2. The method as recited in claim 1 , further comprising the following steps: forming a sum by accumulating the respective deviations; and determining the average value arithmetically by dividing the sum by the predefined random sampling scope. 3. The method as recited in claim 1 , wherein the real-time system includes an engine test stand. 4. The method as recited in claim 3 , wherein the message and the further message are transmitted via a controller area network (CAN) to the engine test stand. 5. The method as recited in claim 1 , wherein the simulation is performed using a single-user computer. 6. The method as recited in claim 1 , wherein the simulation is a co-simulation of a plurality of models. 7. A non-transitory machine-readable storage medium on which is stored a computer program for synchronizing a simulation with a real-time system, the computer program, when executed by a computer, causing the computer to perform the following steps: awaiting a message from the real-time system; measuring a receiving instant of the message; awaiting at least one further message of the real-time system; measuring a receiving instant of the further message; forming a time difference between the receiving instant of the message and the receiving instant of the further message; ascertaining a deviation of the time difference with respect to a predefined macro increment of the simulation; and based on the deviation, determining a starting instant of the simulation; wherein the steps further comprise the following steps: processing a plurality of awaited messages including the message and the at least one further message, by measuring a receiving instant of each awaited message and awaiting a further awaited message, for as long as a number of awaited messages processed does not reach a predefined random sampling scope; forming an average value of respective deviations between receiving instants of the processed awaited messages as soon as the number of processing awaited messages corresponds to the predefined random sampling scope; and determining the starting instant based on the average value. 8. A device configured to synchronize a simulation with a real-time system, the device configured to: await a message from the real-time system; measure a receiving instant of the message; await at least one further message of the real-time system; measure a receiving instant of the further message; form a time difference between the receiving instant of the message and the receiving instant of the further message; ascertain a deviation of the time difference with respect to a predefined macro increment of the simulation; and based on the deviation, determine a starting instant of the simulation; wherein the device is further configured to: process a plurality of awaited messages including the message and the at least one further message, by measuring a receiving instant of each awaited message and awaiting a further awaited message, for as long as a number of awaited messages processed does not reach a predefined random sampling scope; form an average value of respective deviations between receiving instants of the processed awaited messages as soon as the number of processing awaited messages corresponds to the predefined random sampling scope; and based on the average value determine the starting instant of the simulation.

Assignees

Inventors

Classifications

  • Time supervision arrangements, e.g. real time clock · CPC title

  • Synchronisation of different clock signals {provided by a plurality of clock generators} · CPC title

  • Testing of engines · CPC title

  • G06F9/52Primary

    Program synchronisation; Mutual exclusion, e.g. by means of semaphores · CPC title

  • Circuits relating to the driving or the functioning of the vehicle (monitoring tyres B60C23/00; indicating overspeed B60K31/00; for dash boards B60K37/00, B60Q3/10; for indicating emergencies B60Q1/52; brake control systems B60T; registering or indicating the working of vehicles G07C5/00; measuring distance G01C, e.g. combinations of speed and distance G01C23/00; engine indicators G01L; measuring speed or acceleration G01P) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11610034B2 cover?
A method for synchronizing a simulation of a simulation model on a computer with a real-time system, the simulation and the real-time system each having a computing clock having a matching macro increment. The method includes the following features: awaiting a message from the real-time system, measuring a receiving instant of the message by the simulation, awaiting at least one further message…
Who is the assignee on this patent?
Bosch Gmbh Robert
What technology area does this patent fall under?
Primary CPC classification G06F9/52. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 21 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).