PROCESS CONTROL USING DIGITAL TWINS
The present invention aims at providing an approach to digital twin-based process control for efficient and accurate achievement of process objectives. Heretofore, a controller service module (18) runs an event-driven control process in a digital twin domain for control of process entities operated in a process domain. The behavior of process entities is modeled through execution of state machine models. Event data is communicated asynchronously to the controller service module (18) for storage in a process cycle buffer (26). A model-based process controller (24) reads input information in processing cycles and controls process entities by operating state machine models to reflect the input of event data. It is checked whether the operation of state machine models triggers the generation of external control commands which are then output by an outbound interface (32) to process entities for control processing.
Latest ASCon Systems Holding GmbH Patents:
The present invention relates to a controller service system implementing an event-driven process control in a digital twin domain for control of process entities operated in a process domain, to controller service modules operated in the controller service system, and methods of operating the controller service system and the controller service modules.
BACKGROUND OF INVENTIONToday digital twins are used as digital counterpart of physical assets, processes, or even in-material objects in a real-world environment. Digital twins are also used to virtually represent operative data like movements, forces or interactions that physical assets can undergo in the real-world environment.
Today deployments of digital twins mainly focus on data interaction in real time, e.g., to improve access to data, to reduce maintenance costs, to enhance process decisions, to improve operational efficiency or to support quality control.
However, while digital twins allow to gather extensive data in real time the use of gathered for process control in an efficient for process domains like manufacturing, automotive, healthcare, etc. still is a technical field under development.
SUMMARY OF INVENTIONIn view of the above, the technical problem underlying the present invention is to provide an approach to digital twin-based process control for efficient and accurate achievement of process objectives.
According to a first aspect of the present invention this technical problem is achieved by a controller service module running an event-driven control process in a digital twin domain for control of process entities operated in a process domain, wherein in the digital twin domain a behavior of process entities is modeled through execution of state machine models.
According to the first aspect the controller service module comprises an inbound interface adapted to asynchronously receive event data created with respect to process entities in the process domain and/or event data created through execution of state machine models in the digital twin domain.
According to the first aspect the controller service module further comprises an inbound buffer adapted to distribute received event data to a process cycle buffer such that every distributed event datum is represented as an input state according to an instance of a state in a relevant state machine model that maps to the event datum.
According to the first aspect the controller service module further comprises a model-based process controller adapted to read at least one input state from the process cycle buffer in processing cycles and to control the selected process entities. The model-based process controller operates a state machine execution module adapted to operate at least one relevant state machine model to reflect the input of at least one input state. The model-based process controller further operates a process control module adapted to which is check whether the operation of the at least one relevant state machine model triggers generation of an external control command to instruct an external control operation in the process domain.
According to the first aspect the controller service module further comprises an outbound interface adapted to output every generated external control command to at least one process entity processing the external control command.
According to a second aspect of the present invention the technical problem outlined above is achieved by a controller service system implementing an even-driven process control in a digital twin domain for control of process entities operated in a process domain, wherein in the digital twin domain the behavior of process entities is modeled through execution of state machine models as referenced by digital twins.
According to the second aspect the controller service system comprises at least one controller service module according to the first aspect of the present invention, wherein each digital twin representing a process entity is assigned to exactly one controller service module for execution thereof.
According to the second aspect the controller service system further comprises at least one messaging communication channel per controller service module for loosely coupling controller service modules through exchange of state messages over messaging communication channels connecting the controller service modules.
According to a third aspect of the present invention the technical problem outlined above is achieved by a control method of running an event-driven control process in a digital twin domain for control of process entities operated in a process domain, wherein in the digital twin domain the behavior of process entities is modeled through execution of state machine models. Here, the control method operates in processing cycles to continuously execute first to fifth steps.
According to the third aspect a first step executes asynchronous receipt of event data created with respect to process entities in the process domain and/or event data created through execution of state machine models in the digital twin domain and of storing received event data in an inbound buffer.
According to the third aspect a second step executes distribution of received event data from the inbound buffer to a process cycle buffer at the beginning of every process cycle, wherein every distributed event datum is represented in the process cycle buffer as an input state according to an instance of a state in a relevant state machine model that maps to the event datum.
According to the third aspect a third step relates to execution of a model-based control process for control of selected process entities by reading at least one input state from the process cycle buffer as stored for the processing cycle and of operating at least one relevant state machine model to reflect the input of at least one input state.
According to the third aspect a fourth step checks whether the operation of the at least one relevant state machine model triggers an external control operation in the process domain.
According to the third aspect a fifth step generates an external control command to instruct the external control operation in the process domain and of outputting the generated external control command to at least one process entity processing the external control command when the operation of the at least one relevant state machine model triggers the external control operation.
According to a fourth aspect of the present invention the technical problem outlined above is achieved by a method of operating a controller service system implementing an even-driven process control in a digital twin domain for control of process entities operated in a process domain.
According to the fourth aspect a first step assigns an operation of a digital twin representing a process entity to exactly one controller service module for execution thereof.
According to the fourth aspect a fourth step operates the at least one controller service modules for implementation of the even-driven process control of process entities while loosely coupling the at least one controller service module through exchange of state messages over at least one messaging communication channel connecting the at least one controller service module.
In the following examples illustrating the implementation of the present invention will be explained with reference to the drawing in which:
In the following, the present invention will be explained in detail with reference to the drawing. Here, it should be understood that such explanation is related to examples of the present invention only and not binding to the scope of the present invention as defined by the claims.
As far as reference is made to specific procedural or structural components, this is to be considered as example for the underlying functionality, where the procedural or structural components are clearly exchangeable as long as the same functionality is achieved. Thus, the present invention will be explained using generic terminology to avoid restriction of the scope of protection.
As shown in
As shown in
As shown in
Therefore, the present invention achieves active implementation of control logic and interoperability with the process domain by forwarding of control commands to process domain in observation of process objectives.
As shown in
Heretofore, in the modelling domain, process entities are described by their behavior with behavioral models. This description allows to prepare libraries of model templates, which are then used to model existing process entities by referencing the model libraries.
As shown in
Overall, according to the present invention operation of digital twins may be highly interactive, both, with respect to the modelling domain and the process domain. Bi-directional data exchange between the modelling domain and the digital twin domain allows for model updating and continued model deployment.
Further, gathering of process data in digital twins allows operation of control logic embedded into the digital twin for subsequent control of process entities in the process domain and achievement of process objects.
As shown in
As shown in
According to the present invention states may have different types of abstraction for representation of process conditions like representation on a meta level, representation on a semantic level, indication of ranges, and/or specification of a data value.
These different types of abstraction for state representation reduce complexity in control of process entities. E.g., to specify a control of a process entity one could set a specific target value out of an infinite number of values. Nevertheless, an abstraction of real number to a range of real values like low value, medium value, high vale may reduce the complexity of control significantly.
As shown in
Here, any perspective on the digital twin is modelled by a related state machine model running at least a subset of all states which are used to model the behavior of the digital twin under a certain perspective. For every perspective there is set-up a related state machine model having state transition activities which are defined independently from other perspectives.
In conclusion, the present invention uses behavioral models in the form of at least one state machine model. Here, every state machine model is a model of computation that is in one of a plurality of states at any time. Further, the state machine model can transit from a source state to a target state through execution of the related state transition activity.
Further, the introduction of perspectives on state machine models allows for independent operation of state machine models having a different perspective and therefore supports parallelization. Typically, at a point in time per perspective there exits exactly one state that is active or in words valid.
As shown in
As indicated with respect to
According to the present invention sensor data is received continuously and asynchronously in real-time and parallel manner. Asynchronous communication is a prerequisite to parallelization of receipt of sensor data and related parallel operation of controller service modules 18-1, . . . , 18-n.
Further, according to the present invention, controller service modules 18-1, . . . , 18-n are adapted to analyze input data for identification of deviations between actual behavior of process entities and process objectives. This triggers generation of control commands which are forwarded to the actuators 14 and the controlled system 16 in real-time and in asynchronous manner.
According to the present invention, such control commands are output to the control system immediately upon generation thereof, in asynchronous and over a plurality of communication channels to achieve parallelization of outbound communication.
From this, the present invention allows to transfer control logic previously hard coded into process entities to the controller service system 10 which is of particular benefit for cloud applications. Controller services may be configured flexibly according to need and may be extended remotely over the course of time.
As shown in
As shown in
Similarly, according to the present invention any outbound communication from the controller service system 10 to the actuators 14 is realized in the controller service system 10 using states as defined for the behavioral models.
Further, according to the present invention any internal communication between controller service modules 18-1, . . . , 18-n in the controller service system 10 is also implemented using states through exchange of state messages over the state message communication channel 20.
As shown in
As shown in
As shown in
As shown in
As shown in
Such direct setting of external states in the behavioral model allows to achieve improved coupling between the digital twin domain and the process domain. This particularly applies in view of the asynchronous communication avoiding delay in submission of information to the digital twin domain and in view of a parallel execution of asynchronous communication.
As shown in
As shown in
Generally, the controller service module 18 shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
According to the present invention the output of control commands is initiated upon generation thereof or at least within a specified allowable delay range. This increases significantly a responsiveness of the event-driven control process to sensor data input from the process domain.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
In view of the above, according to the present invention schemes for a digital twin or for a state in a state machine model are used as instructions for memory allocation and subsequent filling of the allocated memory with data.
It is important to note that according to the present invention digital twins carry control logic so that a digital twin may execute any control operation for process entities in the process domain. This active role of digital twins for control of process entities allows to implement a master-slave-scheme between a digital twin operated in the digital twin domain and its related process entity in the process domain and empowers digital twins with control capabilities previously hard coded into process entities.
As shown in
As shown in
It should be noted that according to the present invention the application of state contexts as a trigger for state transition activities is optional such that also an empty state template is conceivable.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
Generally, according to the present invention every input state processed during a process cycle will lead to the creation of a state in the digital twin domain. Then, every created state may lead to an execution of a state transition activity, to a direct setting of a state if the input state represents an external state to be considered during the event-driven process control, or to an update of an already prevailing state with respect to change of operative data in the process domain.
As shown in
As shown in
As shown in
As shown in
As shown in
According to the present invention operative data is related to representation of the at least one digital twin, to representation of at least one state machine model as referenced by the at least one digital twin, and/or to representation of control logic embedded into the at least one digital twin.
As shown in
As shown in
It should be noted that initial deployment is driven by the modelling of the process domain and its process entities as executed in the modelling domain. Initial deployment relates to representation of digital twins, to representation of state machine models as referenced by the at least one digital twin, to representation of control logic embedded into the at least one digital twin, and/or to representation of state transition activities.
As shown in
As shown in
As shown in
As shown in
Such direct setting of external state events increases accuracy of behavioral modelling during runtime and increases flexibility in representation of the process domain within the digital twin domain.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
Generally, according to the present invention a context reference points from a digital twin to an applicable state transition activity and a related input template.
As shown in
It should be noted that according to the present invention the update of context references is executed in a similar manner, both, for external state event direct setting and for execution of state transition activities.
As shown on the left side of
Further, digital twins carry all contexts necessary to access related state transition activities. From this, during update of related context references for every relevant twin object it will be checked whether the list of context references also has a reference to relevant state transition activities, and if so, the related pair of state transition activity NS_i, ref_i, . . . , NS_j, ref_j will be removed from the list of context references.
As shown on the right side of
As shown in
As shown the lower part of
Assuming that for each state transition states are created then the operation of the behavioral model will lead to a change log which may be used for documentation purposes or for update of behavioral models, as an example.
As shown in
As shown in
It should be noted that according to the present invention the application of state contexts as a trigger for execution of state transition activities is optional such that also an empty state template is conceivable. Further, the definition of a state template is a matter of modelling the process domain and may vary with respect to a same state machine model for different applications thereof.
As shown in
Further, once all entry slots for the at least one pre-determined state other than the source state are marked the state transition from source state to target state is executed by the state transition activity. Thus, each state context forms a control flow triggering execution of a related state transition activity.
Overall, the present invention supports contextualized state transition activities where a state transition for one digital twin and one perspective thereon may be dependent from activation of a state with respect to the same or a different digital twin.
As explained in more detail in the following, the concept of input templates and related state contexts as a trigger for execution of state transition activities supports parallelization in event-driven process. The reason for this is that upon existence of a state context the related state transition activity may be executed immediately and in parallel to other state transition activities waiting for a state transition trigger.
Further, granularity of input templates may vary to increase or decrease the level of contextualization for a state transition activity in a state space model according to a specific application scenario.
As shown in
As shown in
According to the present invention the provision of activity groups facilitates the handling of state machine models. Assuming that a state transition activity is operating on a same input constellation with respect to a source state but has different target states depending on the data flow then activity groups allow for a simplified modelling and execution of the state transition activity.
As already explained above, for the operation of digital twins it is necessary to effectively identify related state transition activities. It is also necessary to effectively access input templates of state transition activities for accelerated execution of even-driven process control.
To achieve this according to the present invention context references are formed from pairs of activity references and input template references, wherein each activity reference points to a state transition activity and each input template reference points to an input template which is stored in a state context store of the state transition activity. Context references are carried by states and digital twins. To interoperate digital twins must carry at least one identical context reference.
As shown in
As shown in
As shown in
In conclusion, according to the present invention contextualization on a specification of the outer contexts using <Namespace> in combination with a values, i.e. ref_1, . . . , ref_n for access of a digital twin to its related state transition activities and its related relevant inner contexts.
Further, the concept of contextualization supports parallelization of execution of state transition activities which have independent access for different digital twins. Also, the use of contextualization avoids relational search for information and thus significantly accelerates the process of event-driven control.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
It should be noted that the context processing module 66 is adapted to prepare context store memories 58 prior to update of input templates. Here, every relevant context store memory 58 is checked to find out whether for requested context reference updates related input templates are already stored. If this is the case the context store memory 58 remains unchanged. If this is not the case the context processing module 66 will allocate additional memory in the context state memory 58 according to requested context reference updates.
As shown in
As shown in
As shown in
Preferably, state transition activities are filtered by comparing activity references of state transition activities with activity references carried by input states. Further, filter input templates are filtered by comparing input template references assigned to input templates with input template references carried by input states.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
Preferably, state creator module 76 is adapted to allocate state memory in the digital twin memory module according to the state scheme, to create at least one context reference for assignment to the target state and to store data in relation to the target state in the allocated state memory.
As shown in
As outlined above with respect to
As shown in
As shown in
As shown in
As indicated above, according to the present invention the activity operator may also realize control logic and related functionality which empowers a digital twin with active control capabilities having impact on process entities in the process domain.
According to the present invention a digital twin is not only a functional unit gathering data from a process domain actively executes control logic for process entities in the process domain.
As shown in
As shown in
As shown in
As shown in
According to the present invention the data processing in step S62 may implement a control logic for generation of a control command for control of at least one process entity in the process domain. Preferably, the control command may be generated using persistent data available from the digital twin operating the data processing module and using event data describing process domain dynamics.
As shown in
It should be noted that an alternative to the creation of a new state could be the update of an existing data with data made available through an input state when the data made available does not lead to a change of a valid state in a relevant state machine model, i.e. if the valid state is maintained and only operative data in relation thereto changes.
As shown in
As shown in
It should be noted that according to the present invention one inbound process interface is operated per pair of process entity and related input state for parallel asynchronous communication of event data from the process domain to the digital twin domain.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
Generally, the inbound service interface 92 is adapted to read at least one messaging communication channel for receipt of state messages as generated by the model-based process controller of the controller service module or by a model-based process controller of at least one further controller service module operated in the digital twin domain.
As shown in
As shown in
As shown in
As shown in
As shown in
Preferably, the state message reader 94 reads at least one messaging communication channel for receipt of state messages as generated by the model-based process controllers 18 in the service controller system 10.
Preferably, the state message reader 94 reads a plurality of messaging communication channels setup for exchange of state messages carrying states having a dedicated state type.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
According to the present invention one outbound process interface may be operated per pair of output state and related at least one controlled process entity for parallel asynchronous communication of control commands from the digital twin domain to the process domain.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
According to the present invention each digital twin representing a process entity is assigned to exactly one controller service module 18 for execution thereof. This assures data integrity and according to the concept of single point of truth.
As shown in
It should be noted that for the case of a single controller service module state messages serve for feedback of the output of the single controller service module to its related inbound interface.
It should be noted that according to the present invention state messages may carry event data as created in the process domain and as received by a controller service module for distribution of the event data to a plurality of controller service module 18-1, . . . , 18-n in the digital twin domain.
As shown in
As shown in
According to the present invention the number of set-up communication channels may be selected freely and only depends on the routing topology selected for an architecture of a controller service system.
While in the above, the present invention has been described with reference to the drawings and figures of preferred embodiments of the invention, it should be noted that clearly the present invention may also be implemented using variations and modifications thereof which will be apparent and can be readily made by those skilled in the art without departing from the scope and spirit of the present invention. E.g., functionalities described above may be realized in software, in hardware, or a combination thereof.
Accordingly, it is not intended that the scope of claims appended hereto is limited to the description as set forth herein, but rather that the claims should be construed to encompass all features of presentable novelty that preside in the present invention, including all features that would be treated as equivalent thereof by those skilled in the art to which the present invention pertains.
Claims
1. Controller service module running an event-driven control process in a digital twin domain for control of process entities operated in a process domain, wherein in the digital twin domain the behavior of process entities is modeled through execution of state machine models, the controller service module comprising:
- an inbound interface adapted to asynchronously receive event data created with respect to process entities in the process domain and/or event data created through execution of state machine models in the digital twin domain;
- an inbound buffer adapted to distribute received event data to a process cycle buffer such that every distributed event datum is represented as an input state according to an instance of a state in a relevant state machine model that maps to the event datum;
- a model-based process controller adapted to read at least one input state from the process cycle buffer in processing cycles and to control selected process entities by operating
- a state machine execution module adapted to operate at least one relevant state machine model to reflect the input of at least one input state;
- a process control module adapted to check whether the operation of the at least one relevant state machine model triggers generation of an external control command to instruct an external control operation in the process domain;
- an outbound interface adapted to output every generated external control command to at least one process entity processing the external control command.
2. Controller service module according to claim 1, wherein the state machine execution module comprises a digital twin execution module adapted to operate at least one digital twin in a digital twin domain and in relation to at least one selected process entity, wherein the at least one digital twin embeds control logic for the at least one process entity, ingests operational data of the at least one selected process entity and references at least one state machine model to represent the behavior of the at least one selected process entity for observation and/or control thereof.
3. Controller service module according to claim 2, wherein the digital twin execution module comprises a digital twin memory module adapted to store operative data for processing of the at least one digital twin in real time, wherein operative data is related to representation of the at least one digital twin, to representation of at least one state machine model as referenced by the at least one digital twin, and/or to representation of control logic embedded into the at least one digital twin.
4. Controller service module according to claim 2, wherein the digital twin execution module comprises a digital twin processing module adapted to update the operative data in real time upon creation of a state with respect to the at least one state machine model referenced the by at least one digital twin or upon change of configuration of the at least one state machine model as referenced by the at least one digital twin.
5. Controller service module according to one of the claim 1, wherein the state machine execution module comprises a state machine execution controller adapted to check whether an input state triggers execution of a state transition activity in a state machine model or whether an input state represents an external state which is directly set in the state machine model.
6. Controller service module according to claim 1, wherein the state machine execution module comprises an event state setting module adapted to directly set an external state in a related state machine model.
7. Controller service module according to claim 6, wherein the event state setting module comprises an event state creator module adapted to create a state by
- allocating a state memory in the digital twin memory module according to a state scheme applicable to the external state;
- filling the allocated state memory with operative data as carried by the input state corresponding to the external state;
- invalidating the current state in the related state machine model; and
- validating the created state as current state of the related state machine model.
8. Controller service module according to claim 7, wherein the event state setting module comprises a context processing module adapted to update context references, wherein a context reference points from a digital twin to an applicable state transition activity and a related input template and wherein every input template models operational co-existence of predetermined states in one or more state machine models across the digital twin domain as trigger for execution of the state transition activity.
9. Controller service module according to claim 8, wherein the context processing module is adapted to cancel entries representing an invalidated current state in related input templates and adapted to enter entries representing a validated current state in related input templates.
10. Controller service module according to claim 1, wherein the state machine execution module comprises an activity execution module adapted to execute at least one state transition activity in relation to a state transition from a source state to a target state in at least one state machine model, wherein the state transition activity uses an input template that models a state context as operational co-existence of predetermined states in one or more state machine models across the digital twin domain as trigger for execution of the state transition activity.
11. Controller service module according to claim 10, wherein each state context forms a control flow triggering execution of a related state transition activity.
12. Controller service module according to claim 10, wherein the at least one state transition activity has a data template to form a data flow underlying the execution the at least one state transition activity and wherein the activity execution module is adapted to operate on data stored in the data template for transformation of data and for consideration of data-driven conditions during execution of the at least one state transition activity.
13. Controller service module according to claim 10, wherein the activity execution module comprises an activity memory module adapted to store state transition activities and a state flow processer adapted to process state transition activities as triggered by the control flow and/or the data flow.
14. Controller service module according to claim 13, wherein the activity memory module is adapted to store per state transition activity an activity operator and a state context store, wherein the state context store is adapted to store all input templates referenced by the state transmission activity due to parallel execution of the state transition activity for multiple digital twins.
15. Controller service module according to claim 13, wherein the state flow processor comprises
- an activity filtering module adapted to filter state transition activities of relevance for input states and adapted to filter input templates of filtered state transition activities being of relevance for input states;
- a context processing module adapted to update filtered input templates in at least one state context store of at last one state transition activity to reflect the input of input states and to instruct a validation of updated input templates with respect to completeness of coverage; and
- an activity processing module adapted to execute state transition activities with respect to successfully validated updated input templates.
16. Controller service module according to claim 15, wherein state contexts stored in state context stores are accessed by context references formed from pairs of activity references and input template references such that
- each activity reference points to a state transition activity,
- each input template reference points to an input template which is stored in a state context store of the state transition activity referenced by an activity reference paired with the input template reference;
- input states carry at least one context reference;
- the activity filtering module is adapted to filter state transition activities by comparing activity references of state transition activities with activity references carried by input states;
- the activity filtering module is adapted to filter input templates by comparing input template references assigned to input templates with input template references carried by input states and to validate updated input templates with respect to completeness of coverage.
17. Controller service module according to claim 13, wherein the state flow processor comprises a context processing module adapted to update input templates stored in the state context store by cancelling entries representing invalidated states in related input templates and by entering entries representing validated states in related input templates.
18. Controller service module according to claim 15, wherein the activity processing module comprises an activity selector module adapted to select one state transition activity from a group of state transition activities as a function of conditional data in a data flow.
19. Controller service module according to claim 15, wherein the activity processing module comprises a control flow evaluation module adapted to evaluate whether a control flow as represented by an input template triggers an execution of a state transition.
20. Controller service module according to claim 15, wherein the activity processing module comprises a data flow evaluation module adapted to evaluate whether at least one condition as represented by a data flow triggers an execution of a state transition.
21. Controller service module according to claim 15, wherein the activity processing module comprises a data processing module adapted to execute an activity operator of a state transition activity upon trigger of the state transition activity, wherein execution of the activity operator transforms a source state into a target state optionally under operative conditions as specified in a related data flow.
22. Controller service module according to claim 21, wherein the data processing module is adapted to execute a data transformation of data in the data flow into state data for assignment to the target state.
23. Controller service module according to claim 15, wherein the activity processing module comprises a state creator module adapted to create a target state according to a state scheme representing data elements in relation to the target state and according to data as processed by the data processing module.
24. Controller service module according to claim 23, wherein the state creator module is adapted to allocate state memory in the digital twin memory module according to the state scheme, to create at least one context reference for assignment to the target state and to store data in relation to the target state in the allocated state memory.
25. Controller service module according to claim 21, wherein the data processing module is adapted to execute a control logic for generation of a control command according to the control logic for control of a process entity in the process domain.
26. Controller service module according to claim 25, wherein the control command is generated using persistent data available from the digital twin operating the data processing module and using event data describing process domain dynamics.
27. Controller service module according to claim 1, wherein the inbound interface comprises an inbound process interface comprising
- at least one communication endpoint adapted to terminate a communication channel established between a process entity and the inbound interface according to a predetermined communication protocol; and
- at least one inbound processing line adapted to analyze payload data received at the communication endpoint and to transform relevant payload data into at least one input state for output to the inbound buffer.
28. Controller service module according to claim 27, wherein the at least one inbound processing line comprises
- a payload identification module adapted to identify payload data carried by communication data received at the communication endpoint;
- a payload separation module adapted to separate payload data into at least one payload item to be forwarded to the digital twin domain;
- a sender/receiver identification module adapted to identify a pair of process entity and digital twin object as sender and receiver of every payload item;
- a signal forming module adapted to form a signal per payload item which represents information which is relevant for processing in digital twin domain;
- a signal state mapping module adapted to map the signal onto an input state carrying the information represented by the signal and to execute a data transformation with respect to the payload item; and
- an inbound communication port adapted to forward the input state to the inbound buffer.
29. Controller service module according to claim 27, wherein one inbound process interface is operated per pair of process entity and related input state for parallel asynchronous communication of event data from the process domain to the digital twin domain.
30. Controller service module according to claim 1, wherein the inbound interface comprises an inbound service interface adapted to read at least one messaging communication channel for receipt of state messages as generated by the model-based process controller of the controller service module or by a model-based process controller of at least one further controller service module operated in the digital twin domain.
31. Controller service module according to claim 30, wherein the inbound service interface is adapted to read at least one messaging communication channel setup for exchange of state messages carrying states having a dedicated state type.
32. Controller service module according to claim 30, wherein the inbound service interface comprises a state message reader adapted to read state messages exchanged on the at least one messaging communication channel and a state filter adapted to filter state messages to be processed by the controller service module.
33. Controller service module according to claim 1, wherein the inbound buffer comprises a process cycle line adapted to store input states and a state distributor adapted to check whether a type of a next input state is identical to a type of state stored in the process cycle line at an entry position and to update the process cycle line accordingly.
34. Controller service module according to claim 33, wherein the state distributor is adapted to overwrite the process cycle line at an entry position with a next input state when the type of the next input state and a type of an input state pre-stored at the entry position are identical.
35. Controller service module according to claim 33, wherein the process cycle line operates a line of state queues and wherein the state distributor is adapted to store a next input state in a next state queue when the type of the next input state is different form the types of all pre-stored input states.
36. Controller service module according to claim 1, wherein the outbound interface comprises a outbound process interface including
- at least one outbound processing line adapted to receive an output state representing a control command and to transform relevant control information into at least one payload datum for output to a process entity in the process domain; and
- at least one outbound communication port adapted to output a communication signal which carries information being relevant for control of operation in the process domain.
37. Controller service module according to claim 36, wherein every outbound processing line comprises:
- a state signal mapping module adapted to map the output state onto a signal carrying the information represented by the output state and to execute a related data transformation;
- a payload identification module adapted to identify payload data carried by the signal carrying the information represented by the output state;
- a payload assembly module adapted to assemble the payload data into at least one payload item; and
- a communication signal forming module adapted to form a communication signal representing at least one payload item and related receiver for output to a communication end point.
38. Controller service module according to claim 36, wherein one outbound process interface is operated per pair of output state and related controlled process entity for parallel asynchronous communication of control commands from the digital twin domain to the process domain.
39. Controller service module according to claim 1, wherein the outbound interface comprises an outbound service interface adapted to write to at least one messaging communication channel for forwarding of state messages as generated in the model-based process controller.
40. Controller service module according to claim 39, wherein at least one messaging communication channels is provided per controller service module for exchange of state messages carrying state information having a dedicated state type.
41. Controller service system implementing an event-driven process control in a digital twin domain for control of process entities operated in a process domain, wherein in the digital twin domain the behavior of process entities is modeled through execution of state machine models referenced by digital twins, the controller service system comprising:
- at least one controller service modules according to claim 1, wherein each digital twin representing a process entity is assigned to exactly one controller service module for execution thereof;
- at least one messaging communication channel per controller service module for loosely coupling the at least one controller service module through exchange of state messages over the at least one messaging communication channel.
42. Computer service system according to claim 41, wherein one messaging communication channel is assigned to every computer service module of the least two control service modules such that every controller service module is adapted to output state messages to its assigned messaging communication channel and is adapted to read communication messages from message communication channels other than its assigned message communication channel.
43. Controller service system according to claim 41, wherein at least one messaging communication channel is provided per controller service module for exchange of state messages carrying state information having a dedicated state type.
44. Controller service system according to claim 41, wherein state messages carry event data as created in the process domain and as received by a controller service module.
45. Control method of running an event-driven control process in a digital twin domain for control of process entities operated in a process domain, wherein in the digital twin domain the behavior of process entities is modeled through execution of state machine models, the control method operating in processing cycles to continuously execute
- a step of asynchronously receiving event data created with respect to process entities in the process domain and/or event data created through execution of state machine models in the digital twin domain and of storing received event data in an inbound buffer;
- a step of distributing received event data from the inbound buffer to a process cycle buffer at the beginning of every process cycle, wherein every distributed event datum is represented in the process cycle buffer as an input state according to an instance of a state in a relevant state machine model that maps to the event datum;
- a step of executing a model-based control process for control of selected process entities by reading at least one input state from the process cycle buffer as stored for the processing cycle and of operating at least one relevant state machine model to reflect the input of at least one input state;
- a step of checking whether the operation of the at least one relevant state machine model triggers an external control operation in the process domain; and
- a step of generating an external control command to instruct the external control operation in the process domain and of outputting the generated external control command to at least one process entity processing the external control command when the operation of the at least one relevant state machine model triggers the external control operation.
46. Control method according to claim 45, comprising a step of processing at least one digital twin in a digital twin domain and in relation to at least one selected process entity, wherein the at least one digital twin embeds control logic for the at least one process entity, ingests operational data of the at least one selected process entity and references at least one state machine model to represent the behavior of the at least one selected process entity for observation and/or control thereof.
47. Control method according to claim 46, comprising a step of storing operative data for processing of the at least one digital twin in real time, wherein operative data is related to representation of the at least one digital twin, to representation of at least one state machine model as referenced by the at least one digital twin, and/or to representation of control logic embedded into the at least one digital twin.
48. Control method according to claim 46, comprising a step of updating the operative data in real time upon creation of a state with respect to the at least one state machine model referenced the by at least one digital twin or upon change of configuration of the at least one state machine model as referenced by the at least one digital twin.
49. Control method according to claim 45, wherein the step of executing the model-based control process comprises a step of checking whether an input state triggers execution of a state transition activity in a state machine model or whether an input state represents an external state which is directly set in the state machine model.
50. Control method according to claim 45, wherein the step of executing the model-based control process comprises a step of directly setting an external state in a related state machine model.
51. Control method according to claim 50, wherein the step of directly setting an external state in a related state machine model comprises
- a step of allocating a state memory in the digital twin memory module according to a state scheme applicable to the external state;
- a step of filling the allocated state memory with operative data as carried by the input state corresponding to the external state;
- a step of invalidating the current state in the related state machine model; and
- a step of validating the created state as current state of the related state machine model.
52. Control method according to claim 50, comprising a step of updating context references, wherein a context reference points from a digital twin to an applicable state transition activity and a related input template and wherein every input template models operational co-existence of predetermined states in one or more state machine models across the digital twin domain as trigger for execution of the state transition activity.
53. Control method according to claim 52, wherein step of updating context references cancels entries representing an invalidated current state in related input templates and enters entries representing a validated current state in related input templates.
54. Control method according to claim 45, wherein the step of operating a state machine model comprises a step of executing at least one state transition activity in relation to a state transition from a source state to a target state in the state machine model, wherein the state transition activity uses an input template that models a state context as operational co-existence of predetermined states in one or more state machine models across the digital twin domain as trigger for execution of the state transition activity.
55. Control method according to claim 54, wherein each state context forms a control flow triggering execution of a related state transition activity.
56. Control method according to claim 54, wherein the state transition activity has a data template that forms a data flow underlying the execution the state transition activity and wherein the step of executing the state transition activity operates on data stored in the data template for transformation of data and for consideration of data-driven conditions during execution of the state transition activity.
57. Control method according to claim 54, wherein the step of processing state transition activities is executed as soon as all entries of its input template are validated.
58. Control method according to claim 54, comprising a of storing for every state transition activities an activity operator and a state context store, wherein the state context store is adapted to store all input templates referenced by the state transmission activity due to parallel execution of the state transition activity for multiple digital twins.
59. Control method according to claim 57, wherein the step of processing state transition activities comprises
- a step of filtering state transition activities of relevance for input states and of filtering input templates of filtered state transition activities being of relevance for input states;
- a step of updating filtered input templates in at least one state context store of at last one state transition activity to reflect the input of input states and to instruct a validation of updated input templates with respect to completeness of coverage; and
- a step of executing state transition activities with respect to successfully validated updated input templates.
60. Control method to claim 59, wherein state contexts stored in state context stores are accessed by context references formed from pairs of activity references and input template references such that
- each activity reference points to a state transition activity,
- each input template reference points to an input template which is stored in a state context store of the state transition activity referenced by an activity reference paired with the input template reference;
- input states carry at least one context reference; wherein
- the step of filtering state transition activities compares activity references of state transition activities with activity references carried by input states;
- the step of filtering input templates compares input template references assigned to input templates with input template references carried by input states.
61. Control method according to claim 57, wherein a step of processing state transition activities comprises a step of updating input templates stored in the state context store by cancelling entries representing invalidated states in input templates and by entering entries representing validated states in input templates.
62. Control method according to claim 54, wherein the step of executing state transition activities comprises a step of selecting one state transition activity from a group of state transition activities as a function of conditional data in a data flow.
63. Control method according to claim 54, wherein the step of executing state transition activities comprises a step of evaluating whether a control flow as represented by an input template triggers an execution of a state transition.
64. Control method according to claim 54, wherein the step of executing state transition activities comprises a step of evaluating whether at least one condition as represented by a data flow triggers an execution of a state transition.
65. Control method according to claim 54, wherein the step of executing state transition activities comprises a step of executing an activity operator of a state transition activity upon trigger of the state transition activity, wherein execution of the activity operator transforms a source state into a target state optionally under operative conditions as specified in a related data flow.
66. Control method according to claim 65, wherein the step of executing an activity operator executes a data transformation to generate state data for assignment to the target state.
67. Control method according to claim 54, wherein the step of executing state transition activities comprises a step of creating a target state according to a state scheme representing data elements in relation to the target state and according to data as processed by a related activity operator.
68. Control method according to claim 67, wherein the step of creating a target state allocates state memory in the digital twin memory module according to the state scheme, creates at least one context reference for assignment to the target state and stores data in relation to the target state in the allocated state memory.
69. Control method according to claim 69, wherein the step of executing an activity operator executes a control logic for generation of a control command according to the control logic for control of a process entity in the process domain.
70. Control method according to claim 69, wherein the control command is generated using persistent data available from the digital twin operating the data processing module and using event data describing process domain dynamics.
71. Control method according to claim 45, wherein the step of asynchronously receiving event data created with respect to process entities in the process domain comprises
- a step of operating at least one communication endpoint adapted for termination of a communication channel established from a process entity according to a predetermined communication protocol; and
- a step of operating at least one inbound processing line for analyzing payload data received at the communication endpoint and for transforming relevant payload data into at least one input state for output to the inbound buffer.
72. Control method according to claim 71, wherein the step of operating at least one inbound processing line comprises:
- a step of identifying payload data carried by communication data received at the communication endpoint;
- a step of separating payload data into at least one payload item to be forwarded to the digital twin domain;
- a step of identifying a pair of process entity and digital twin object as sender and receiver of every payload item;
- a step of forming a signal per payload item which represents information which is relevant for processing in digital twin domain;
- a step of mapping the signal onto an input state carrying the information represented by the signal;
- a step of executing a data transformation with respect to the payload item; and
- a step of forwarding the input state to the inbound buffer.
73. Control method according to claim 71, wherein the step of operating an inbound process interface is executed per pair of process entity and related input state for parallel asynchronous communication of event data from the process domain to the digital twin domain.
74. Control method according to claim 45, wherein the step of asynchronously receiving event data created through execution of state machine models in the digital twin domain comprises a step of reading at least one messaging communication channel for receipt of state messages.
75. Control method according to claim 74, wherein at least one messaging communication channels is provided for exchange of state messages setup for exchange of state messages carrying states having a dedicated state type.
76. Control method according to claim 74, wherein step of reading at least one messaging communication channel for receipt of state messages comprises a step of reading state messages exchanged on the at least one messaging communication channel and a step of filtering state messages to be processed by the control method.
77. Control method according to claim 45, comprising a step of storing input states in a process cycle line of the inbound buffer, wherein a step of distributing checks whether a type of a next input state is identical to a type of state stored in the process cycle line at an entry position and the step of storing input states updates the process cycle line accordingly.
78. Control method according to claim 77, wherein the step of storing input states overwrites the process cycle line at an entry position with a next input state when the type of the next input state and a type of an input state pre-stored at the entry position are identical.
79. Control method according to claim 77, wherein the process cycle line operates a line of state queues and wherein the step of storing input states stores a next input state in a next state queue when the type of the next input state is different form the types of all pre-stored input states.
80. Control method according to claim 45, wherein an outbound process interface is operated by
- a step of operating at least one outbound processing line for receipt of an output state representing a control command and to transform relevant control information into at least one payload datum for output to a process entity in the process domain; and
- a step of operating an outbound communication port adapted to output a communication signal carrying information being relevant for control of operation in the process domain.
81. Control method according to claim 80, wherein the step of operating at least one outbound processing line every outbound processing line comprises
- a step of mapping output state onto a signal carrying the information represented by the output state and to execute a related data transformation;
- a step of identifying payload data carried by the signal carrying the information represented by the output state;
- a step of assembling the payload data into at least one payload item; and
- a step of forming a communication signal representing at least one payload item and of forwarding the communication signal to a communication end point.
82. Control method according to claim 80, wherein one outbound process is operated per pair of output state and related controlled process entity for parallel asynchronous communication of control commands from the digital twin domain to the process domain.
83. Control method according to claim 45, comprising a step of operating an outbound service interface to write state messages to at least one messaging communication channel.
84. Control method according to claim 83, wherein the step of operating an outbound service interface operates at least one messaging communication channel per controller service module for exchange of state messages carrying state information having a dedicated state type.
85. Method of operating a controller service system implementing an event-driven process control in a digital twin domain for control of process entities operated in a process domain, wherein the controller service system comprises at least one controller service module according to claim 1 and wherein in the digital twin domain the behavior of process entities is modeled through execution of state machine models referenced by digital twins, the method comprising
- a step of assigning an operation of a digital twin representing a process entity to exactly one controller service module for execution thereof;
- a step of operating the at least one controller service module for implementation of the even-driven process control of process entities while loosely coupling the at least one controller service module through exchange of state messages over at least one messaging communication channel.
86. Method of operating a computer service system according to claim 85, wherein one messaging communication channel is assigned to every computer service module of the least two control service modules, wherein every controller service module executes a step of outputting state messages to its assigned messaging communication channel and a step of reading state messages from message communication channels other than its assigned message communication channel.
87. Method of operating a computer service system according to claim 85, wherein at least two messaging communication channels are provided per controller service module for exchange of state messages carrying state information having a dedicated state type.
88. Method of operating a computer service system according to claim 85, wherein state messages carry event data as created in the process domain and as received by a controller service module.
Type: Application
Filed: Aug 5, 2022
Publication Date: Feb 8, 2024
Applicant: ASCon Systems Holding GmbH (Stuttgart)
Inventor: KILIAN GREFEN (Schwieberdingen)
Application Number: 17/882,074