METHOD FOR THE DISTRIBUTED CALCULATION OF COMPUTATIONAL TASKS
20230195085 · 2023-06-22
Assignee
Inventors
Cpc classification
G05B2219/23463
PHYSICS
G05B2219/25229
PHYSICS
G05B2219/32328
PHYSICS
G05B2219/33273
PHYSICS
G05B2219/25421
PHYSICS
G05B2219/23289
PHYSICS
G05B19/41865
PHYSICS
International classification
Abstract
The invention relates to a method for the distributed calculation of calculation tasks by means of field devices of an industrial plant, wherein a plurality of field devices are coupled to a task distribution unit by means of a data link, the field devices effect a control of the industrial plant in an operating state in each case, at least one of the field devices receives a calculation task from the task distribution unit in an idle state and changes to a calculation state in which the calculation task is processed.
Claims
1. A method for the distributed calculation of calculation tasks by means of field devices of an industrial plant, wherein a plurality of field devices are coupled to a task distribution unit by means of a data link, the field devices effect a control of the industrial plant in an operating state in each case, at least one of the field devices, receives a calculation task from the task distribution unit and changes to a calculation state in which the calculation task is processed.
2. The method in accordance with claim 1, wherein the field devices report a current idle state to the task distribution unit and/or the task distribution unit polls the field devices for a current idle state, and the task distribution unit dynamically distributes calculation tasks to field devices currently in the idle state.
3. The method in accordance with claim 1, wherein the task distribution unit distributes the calculation tasks to the field devices in dependence on the bandwidth and/or processing capacity provided by the respective field devices and/or on the provisional duration of the idle state.
4. The method in accordance with claim 1, wherein the task distribution unit provides an interface for receiving new calculation tasks, and wherein the task distribution unit maintains a queue for new calculation tasks.
5. The method in accordance with claim 4, wherein the task distribution unit splits calculation tasks into a plurality of calculation tasks for different field devices and/or distributes calculation tasks as a container.
6. The method in accordance with claim 1, wherein the calculation tasks carried out in the calculation state are performed with a lower priority on the respective field device than the control of the industrial plant in the operating state.
7. The method in accordance with claim 1, wherein at least one of the field devices is real-time capable at least in the operating state and/or at least one of the field devices is coupled to the task distribution unit by means of a real-time capable field bus.
8. The method in accordance with claim 1, wherein the calculation task is a subtask of a larger task that was sent to the task distribution unit, and/or wherein the calculation task is part of a simulation, a prediction calculation, an application of artificial intelligence, a local analysis, or a self-optimization.
9. The method in accordance with claim 1, wherein at least one of the field devices changes from the calculation state to the operating state when an event or an interrupt occurs.
10. The method in accordance with claim 1, wherein at least one of the field devices and/or the task distribution unit makes/make a prediction as to when and/or how long the field device can be in the calculation state, whereupon the task distribution unit prepares a planning for calculation tasks to be distributed in the future based on the prediction.
11. A method in accordance with claim 1, wherein at least 100 field devices, are coupled to the task distribution unit.
12. A method in accordance with claim 1, wherein a plurality of the field devices cooperate in a machine of the industrial plant, wherein the machine comprises a secondary task distribution unit that distributes calculation tasks received from the task distribution unit to the field devices of the machine.
13. The method in accordance with claim 1, wherein the calculation task is independent of the control of the industrial plant.
14. An industrial plant, comprising a plurality of field devices and a task distribution unit, wherein the field devices are coupled to the task distribution unit by means of a data link, wherein the field devices are configured to effect a control of the industrial plant in an operating state in each case, at least one of the field devices is configured to receive a calculation task from the task distribution unit in an idle state and to change to a calculation state in which the calculation task is processed.
15. The method in accordance with claim 1, wherein at least one of the field devices, in an idle state, receives the calculation task.
16. The method in accordance with claim 5, wherein the task distribution unit splits calculation tasks, which are received via the interface.
17. The method in accordance with claim 5, wherein the task distribution unit distributes calculation tasks as a container for virtualization, as a script, or as an interpreter code to the field devices.
Description
[0044] The invention will be described purely by way of example with reference to the drawings in the following. There are shown:
[0045]
[0046]
[0047]
[0048]
[0049] The task distribution unit 16 comprises an interface in the form of an API 18. Via the API 18, the task distribution unit 16 receives calculation tasks from an external source (not shown). The calculation tasks are converted into a form suitable for the field devices 12 in the task distribution unit 16 by means of a translation layer 20. A provisioning module 22 receives the calculation tasks from the translation layer 20 and “packages”/transforms the calculation tasks into a form that can be processed by the respective field device 12. In
[0050] After the processing of the calculation tasks, the field devices 12 transmit the processed calculation tasks via the field bus connections 14 to the task distribution unit 16 that outputs a result of the respective calculation task via the API 18.
[0051]
[0052]
[0053] The operating state 120 has a higher priority than the calculation state 130. If the field device 12 now detects an event or an interrupt that indicate that the field device is required for the control of the industrial plant, the processing of the calculation task is immediately paused and the field device transitions from the calculation state 130 directly to the operation state 120 to effect the control of the industrial plant.
[0054] Once the control of the industrial plant has been completed again, a return can be made via the idle state 110 to the calculation state 130.
[0055] By providing for the calculation state 130, processing time that is typically not used can be sensibly used to increase the efficiency of the industrial plant with respect to the power consumption. The utilization of the field devices 12 can in this respect be dynamically reacted to by the task distribution unit 16.
REFERENCE NUMERAL LIST
[0056] 10 industrial plant [0057] 12 field device [0058] 14 field bus connection [0059] 16 task distribution unit [0060] 18 API [0061] 20 translation layer [0062] 22 provisioning module [0063] 24 container [0064] 26 script [0065] 28 interpreter code [0066] 30 container environment [0067] 32 script engine [0068] 34 interpreter [0069] 36 machine [0070] 38 secondary task distribution unit [0071] 100 start [0072] 110 idle state [0073] 120 operating state [0074] 130 calculation state