IP Library Granted Patent US 12,447,982
Granted Patent B2
US 12,447,982 · App. 18/337,540 · Granted Oct 21, 2025

Deterministic simulation of discrete block diagrams for vehicular control system

Inventor: Mohamed Babaali (Shrewsbury, MA)
Assignee: Magna Electronics Inc.
B60W50/04B60W2050/041
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 12,447,982
App. No.
18/337,540
Granted
Oct 21, 2025
Kind
B2
Abstract

A method for testing a vehicular control system includes receiving, at a simulator, a discrete diagram identifying a plurality of tasks to be simulated and connections between the plurality of tasks, and receiving, at the simulator, a requested determinism level selected at a user device from a plurality of determinism levels. An optimal execution policy based on the simulator, the discrete diagram and the requested determinism level is selected from a plurality of execution policies. The plurality of tasks are simulated, by the simulator, using the selected optimal execution policy to simulate operation of the vehicular control system on a vehicle.

Claims (35)

1. A method for testing a vehicular control system, the method comprising:

receiving, at a simulator, a discrete diagram comprising (i) a plurality of nodes and (ii) a plurality of edges, wherein each node of the plurality of nodes represents a task of the vehicular control system to be simulated, and wherein each edge of the plurality of edges connects two respective nodes of the plurality of nodes and represents data transfer between the two respective nodes;

receiving, at the simulator, a requested determinism level selected at a user device from a plurality of determinism levels;

selecting, from a plurality of execution policies, an execution policy based on (i) the simulator, (ii) the discrete diagram (iii) and the received requested determinism level; and

simulating, by the simulator, each task represented by the plurality of nodes using the selected execution policy to simulate operation of the vehicular control system on a vehicle.

2. The method of claim 1 , further comprising receiving, at the simulator, an execution model selected at the user device, and wherein selecting the execution policy is further based on the execution model selection.

3. The method of claim 2 , wherein the execution model selection comprises one selected from the group consisting of (i) a default model, (ii) a snapshot model, (iii) an isolated write model, (iv) a read/process/write model and (iv) a time-informed model.

4. The method of claim 1 , wherein the received requested determinism level comprises one selected from the group consisting of (i) none, (ii) flow and (iii) fast.

5. The method of claim 1 , further comprising receiving, at the simulator and from the user device, a requested causality selection, wherein the requested causality selection comprises of one selected from the group consisting of (i) strong causality, (ii) weak causality and (iii) semi-weak causality.

6. The method of claim 1 , wherein simulating each task represented by the plurality of nodes comprises delaying at least one data transfer between a pair of nodes of the plurality of nodes.

7. The method of claim 6 , further comprising determining the pair of nodes based on heuristics.

8. The method of claim 6 , further comprising determining the pair of nodes based on a requested edge selection received at the simulator.

9. The method of claim 8 , further comprising receiving the requested edge selection in response to a user interaction with a graphical user interface.

10. The method of claim 6 , wherein the at least one data transfer comprises a minimal number of data transfers that satisfies the requested determinism level.

11. The method of claim 1 , wherein the user device executes a graphical user interface, and wherein the requested determinism level is received responsive to a user interaction with the graphical user interface.

12. The method of claim 1 , wherein the discrete diagram indicates a frequency that each executes at.

13. The method of claim 1 , further comprising determining a clique cover for the discrete diagram, and wherein simulating each task represented by the plurality of nodes is based on the determined clique cover.

14. A method for testing a vehicular control system, the method comprising:

receiving, at a simulator, a discrete diagram comprising (i) a plurality of nodes and (ii) a plurality of edges, wherein each node of the plurality of nodes represents a task of the vehicular control system to be simulated, and wherein each edge of the plurality of edges connects two respective nodes of the plurality of nodes and represents data transfer between the two respective nodes;

receiving, at the simulator, a requested determinism level selected at a user device from a plurality of determinism levels, wherein the received requested determinism level comprises one selected from the group consisting of (i) none, (ii) flow and (iii) fast;

receiving, at the simulator, an execution model selected at the user device;

selecting, from a plurality of execution policies, an execution policy based on (i) the simulator, (ii) the discrete diagram, (iii) the received requested determinism level and (iv) the execution model; and

simulating, by the simulator, each task represented by the plurality of nodes using the selected execution policy to simulate operation of the vehicular control system on a vehicle.

15. The method of claim 14 , wherein the execution model selection comprises one selected from the group consisting of (i) a default model, (ii) a snapshot model, (iii) an isolated write model, (iv) a read/process/write model and (iv) a time-informed model.

16. The method of claim 14 , further comprising receiving, at the simulator and from the user device, a requested causality selection, wherein the requested causality selection comprises of one selected from the group consisting of (i) strong causality, (ii) weak causality and (iii) semi-weak causality.

17. The method of claim 14 , wherein simulating each task represented by the plurality of nodes comprises delaying at least one data transfer between a pair of nodes of the plurality of nodes.

18. A method for testing a vehicular control system, the method comprising:

receiving, at a simulator, a discrete diagram comprising (i) a plurality of nodes and (ii) a plurality of edges, wherein each node of the plurality of nodes represents a task of the vehicular control system to be simulated, and wherein each edge of the plurality of edges connects two respective nodes of the plurality of nodes and represents data transfer between the two respective nodes;

receiving, at the simulator, a requested determinism level selected at a user device from a plurality of determinism levels, wherein the user device executes a graphical user interface, and wherein the requested determinism level is received responsive to a user interaction with the graphical user interface;

selecting, from a plurality of execution policies, an execution policy based on (i) the simulator, (ii) the discrete diagram (iii) and the received requested determinism level; and

simulating, by the simulator, each task represented by the plurality of nodes using the selected execution policy to simulate operation of the vehicular control system on a vehicle, wherein simulating each task represented by the plurality of nodes comprises delaying at least one data transfer between a pair of nodes of the plurality of nodes.

19. The method of claim 18 , further comprising determining the pair of nodes based on heuristics.

20. The method of claim 18 , further comprising determining the pair of nodes based on a requested edge selection received at the simulator.

21. The method of claim 20 , further comprising receiving the requested edge selection in response to a second user interaction with the graphical user interface.

22. The method of claim 18 , wherein the at least one data transfer comprises a minimal number of data transfers that satisfies the requested determinism level.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 20, 2023
From: BABAALI, MOHAMED
To: MAGNA ELECTRONICS INC.
Reel/Frame 063993/0213 →
Continuity (2)
Provisional Application 63366925 · Jun 24, 2022
Related Publication 20230415759A1 · Dec 28, 2023
References Cited (17)
US 5550677A · Schofield et al. · 1996 [cited by applicant]
US 5670935A · Schofield et al. · 1997 [cited by applicant]
US 5949331A · Schofield et al. · 1999 [cited by applicant]
US 7038577B2 · Pawlicki et al. · 2006 [cited by applicant]
US 7720580B2 · Higgins-Luthman · 2010 [cited by applicant]
US 7855755B2 · Weller et al. · 2010 [cited by applicant]
US 11511762B2 · Huang et al. · 2022 [cited by applicant]
US 20050177353A1 · Slater · 2005 [cited by examiner]
US 20190359222A1 · Huang et al. · 2019 [cited by applicant]
US 20200353949A1 · Huang et al. · 2020 [cited by applicant]
US 20210061303A1 · Huang et al. · 2021 [cited by applicant]
US 20210339767A1 · Karaman et al. · 2021 [cited by applicant]
US 20210341941A1 · Karaman et al. · 2021 [cited by applicant]
US 20230410573A1 · Babaali · 2023 [cited by applicant]
CN 108230817A · 2018 [cited by examiner]
CN 111177893A · 2020 [cited by examiner]
WO WO2010104135A1 · 2010 [cited by examiner]