Parallelized program control based on scheduled expiry of time signal generators associated with respective processing units
AssigneeBeckhoff Automation GmbH
InventorRamon Barth
Life of this patent
Estimating the term…
Abstract
A processor comprises a plurality of processing units operating in parallel. Each processing unit is associated with a time signal generator upon the expiry of which the corresponding processing unit is capable to set expired time signal generator to a predefined duration of time. In case an end of the predefined duration of time deviates less than a predefined duration of time from a scheduled expiry of a time signal generator assigned to a different processing unit; predefined duration of time is modified.
Claims17
A control method for executing programs on a plurality of processing units operating in parallel, each processing unit being associated with a respective time signal generator upon expiry of which the control method is carried out on the processing unit associated with the respective expired time signal generator, the control method comprising:
- selecting a program from a plurality of programs available for execution on the processing unit associated with the respective expired time signal generator;
- determining a predefined duration of time being provided to the selected program before the control method is accessed again on the associated processing unit;
- setting the respective expired time signal generator to the predefined duration of time;
- starting the selected program on the associated processing unit;
- determining whether an end of the predefined duration of time collides with an end of a different duration of time of the respective time signal generator assigned to a different processing unit;
- modifying, if a result of the determining is positive, the predefined duration of time by taking into account a periodicity of points in time at which each processing unit is interrupted;
- and
- preventing further accesses of the control method to another of the processing units when executing the control method on the processing unit associated with the respective expired time signal generator.
A control method for executing programs on a plurality of processing units operating in parallel, each processing unit being associated with a respective time signal generator upon the expiry of which the control method is carried out on the processing unit associated with the respective expired time signal generator, the control method comprising:
- selecting a program from a plurality of programs available for execution on the processing unit associated with the respective expired time signal generator;
- determining a predefined duration of time being provided to the selected program before the control method is accessed again on the processing unit associated with the respective expired time signal generator;
- setting the respective expired time signal generator to the predefined duration of time starting the selected program on the processing unit;
- comparing whether an end of the predefined duration of time deviates less than a predefined length of time from a scheduled expiry of a time signal generator assigned to a different processing unit;
- and
- modifying the predefined duration of time, if a result of the comparing is positive, by taking into account a periodicity of points in time at which each processing unit is interrupted;
- preventing further accesses of the control method to another of the processing units when executing the control method on the processing unit associated with the respective expired time signal generator.
A processor comprising:
- a plurality of processing units operating in parallel according to a control method, each processing unit being associated with a respective time signal generator upon the expiry of which the processing unit associated with the respective expired time signal generator is configured to:
- select a program from a plurality of programs available for execution,
- determine a predefined duration of time being provided to the selected program before the control method is accessed again by the processing unit associated with the respective expired time signal generator,
- set the respective expired time signal generator to the predefined duration of time, and
- determine whether an end of the predefined duration of time deviates less than a predefined length of time from a scheduled expiry of a time signal generator assigned to a different processing unit;
- wherein, if the end of the predefined duration of time deviates less than the predefined length of time from the scheduled expiry of the time signal generator assigned to the different processing unit, the predefined duration of time is modified;
- wherein scheduled expiry times of all the time signal generators are stored in a memory area which can be accessed by each of the plurality of processing units for preventing further accesses of the control method to another of the processing units when executing the control method on the processing unit associated with the respective expired time signal generator.
Dependencies are inferred from the claim text.