Configuration of an SIL simulation of a control unit running on a computer
AssigneedSPACE GmbH
InventorsTobias Sielhorst, Artur Wolf
Life of this patent
Estimating the term…
Abstract
A method is provided for configuring an SIL simulation of a control unit running on a computer, software modules for the control unit, which have a plurality of tasks, being installed on the computer for the SIL simulation of the control unit, the tasks being processed in a predetermined clock cycle having a periodic period between the individual clock time points, and the computer including a plurality of processor cores, on which a plurality of virtual machines run, which each process predetermined tasks. A possibility is thus provided for minimizing the computing time of an SIL test.
Claims8
A method for configuring a software-in-the-loop (SIL) simulation of a control unit running on a computer, the SIL simulation of the control unit, software modules for the control unit, which have a plurality of tasks, being installed on the computer for the SIL simulation of the control unit, the tasks being processed in a predetermined clock cycle having periodically consecutive clock time points, and the computer including a plurality of processor cores, on which a plurality of virtual machines run, which each process predetermined tasks, the method comprising:
- a) ascertaining sporadic model components and periodic model components of the software modules;
- b) creating a group of parallelizable tasks from the periodic model components of the software models;
- c) determining the individual clock time points of the parallelizable tasks down to the smallest common multiple of all periods between the clock time points of the parallelizable tasks;
- d) ascertaining the calculation duration of the individual tasks at their particular clock time points;
- and
- e) ascertaining the distribution of the tasks to the individual virtual machines and the distribution of the virtual machines to the individual processor cores on the basis of the determined smallest common multiple of all periods between the clock time points of the parallelizable tasks and the ascertained calculation duration of the individual tasks at their particular clock time points in such a way that the computing time of the SIL simulation is minimal,
- wherein step e) comprises transferring a portion of the SIL simulation to at least one further computer if the number of tasks exceeds the number of processor cores of the computer used up to now for the SIL simulation.
A method for configuring a software-in-the-loop (SIL) simulation of a control unit running on a computer, the SIL simulation of the control unit, software modules for the control unit, which have a plurality of tasks, being installed on the computer for the SIL simulation of the control unit, the tasks being processed in a predetermined clock cycle having periodically consecutive clock time points, and the computer including a plurality of processor cores, on which a plurality of virtual machines run, which each process predetermined tasks, the method comprising:
- a) ascertaining sporadic model components and periodic model components of the software modules;
- b) creating a group of parallelizable tasks from the periodic model components of the software models;
- c) determining the individual clock time points of the parallelizable tasks down to the smallest common multiple of all periods between the clock time points of the parallelizable tasks;
- d) ascertaining the calculation duration of the individual tasks at their particular clock time points;
- and
- e) ascertaining the distribution of the tasks to the individual virtual machines and the distribution of the virtual machines to the individual processor cores on the basis of the determined smallest common multiple of all periods between the clock time points of the parallelizable tasks and the ascertained calculation duration of the individual tasks at their particular clock time points in such a way that the computing time of the SIL simulation is minimal,
- wherein step e) comprises dividing a computationally more intensive task into at least two computationally less intensive tasks.
A method for configuring a software-in-the-loop (SIL) simulation of a control unit running on a computer, the SIL simulation of the control unit, software modules for the control unit, which have a plurality of tasks, being installed on the computer for the SIL simulation of the control unit, the tasks being processed in a predetermined clock cycle having periodically consecutive clock time points, and the computer including a plurality of processor cores, on which a plurality of virtual machines run, which each process predetermined tasks, the method comprising:
- a) ascertaining sporadic model components and periodic model components of the software modules;
- b) creating a group of parallelizable tasks from the periodic model components of the software models;
- c) determining the individual clock time points of the parallelizable tasks down to the smallest common multiple of all periods between the clock time points of the parallelizable tasks;
- d) ascertaining the calculation duration of the individual tasks at their particular clock time points;
- and
- e) ascertaining the distribution of the tasks to the individual virtual machines and the distribution of the virtual machines to the individual processor cores on the basis of the determined smallest common multiple of all periods between the clock time points of the parallelizable tasks and the ascertained calculation duration of the individual tasks at their particular clock time points in such a way that the computing time of the SIL simulation is minimal,
- wherein step e) comprises combining at least a portion of the tasks which communicate with each other.
Dependencies are inferred from the claim text.