Cooperative control method and device
By building a relationship network and a unified information model in the industrial control system, the problem of heterogeneous control information sharing caused by inconsistent communication protocols is solved, standardization of information and functional block control are realized, and the automation and flexibility of the system are improved.
Patent Information
- Application Number
- CN202410557150.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-08-30
AI Technical Summary
The communication protocols in existing industrial control systems are inconsistent, resulting in the inability to share heterogeneous control information and the inability to achieve effective communication of information and unification of data.
Using collaborative control methods, by receiving control targets and disassembling them into elements, building a relationship network, including tree and mesh structures, determining the correlation between elements, designing a unified information model and data communication architecture, and realizing the standardization of information Modeling and functional block control.
It realizes information sharing and data unification between different control systems, optimizes the organization of control information, improves the automation and flexibility of industrial control, and reduces system complexity.
Smart Images

Figure CN118567307A
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial control technology, and in particular to a collaborative control method and device. Background Art
[0002] Industrial control refers to the use of a combination of electronic, electrical, mechanical, and software methods to achieve automation, efficiency, and precision in the factory manufacturing process. The current mainstream control systems include fieldbus control systems (FCS) and distributed control systems (DCS). These systems contain a variety of equipment, communication protocols, and heterogeneous data. Customized private networks and protocols are used between various industrial elements. Interface standards are not unified, application software information cannot be shared, and systems or instruments from different manufacturers cannot be directly connected. Taking fieldbus as an example, the currently widely used protocols include FF, LONWORKS, FIP, PROFIBUS, CAN, profinet, Modbus, etc.
[0003] With the continuous deepening of industrial digitalization, the production and management of industrial enterprises require the close integration of the enterprise's business decision-making, management, planning, scheduling, process optimization, fault diagnosis, and automatic control of the production process. The multi-level systems such as production process automatic control, office automation, business management, and marketing are interconnected into a network to form a composite network, realize the communication and collection of information and data sharing, and thus form an integrated management and control system.
[0004] One of the existing technologies is to use a single-node network control technology, in which one driver controls one hardware, and the control system has a large number of redundant programs.
[0005] The second existing technology is to adopt hybrid networking control technology, but this technology requires signal interconnection at the communication level, but there are problems with gateways and cross-networks.
[0006] Therefore, there is an urgent need for a collaborative control technology that can overcome the problems of inconsistent communication protocols and lack of coordination of heterogeneous control information. Summary of the invention
[0007] The present application proposes a collaborative control method and device to solve the problem in the prior art that inconsistent communication protocols and non-mutual recognition of heterogeneous control information lead to the inability to share information.
[0008] In a first aspect, an embodiment of the present application provides a collaborative control method, including:
[0009] Receiving a first control target, and decomposing the first control target into elements according to functional requirements and / or type enumeration; the computer receives the first control target for constructing a relationship network;
[0010] Determine a relationship network according to the relationship between elements; the relationship network includes a tree structure and a mesh structure;
[0011] The tree structure is composed of control target, element, and first subclass of element from root to leaf.
[0012] The second subclass of the element and the first subclass determine a network structure through a relationship;
[0013] The relationship network is a template for output data of the control target that is subsequently input.
[0014] In one of the embodiments, the elements include attributes, events, parameters and relationships; the relationships include: association, combination, dependency, aggregation, inheritance, and realization.
[0015] In one embodiment, the method further comprises the steps of:
[0016] determining a second control target in response to the input data;
[0017] The second control object is brought into the relationship network to determine output data.
[0018] In one of the embodiments, the relationship further includes a service.
[0019] In a second aspect, an embodiment of the present application further provides a collaborative control device for implementing the collaborative control method described in any one of the embodiments of the first aspect, comprising: an acquisition module for receiving a first control target; a disassembly module for disassembling the first control target into elements according to function and type; and a determination module for determining a relationship network based on the relationship between the elements.
[0020] In one embodiment, it further comprises: an input module for receiving input data to determine the second control target; and an output module for bringing the second control target into the relationship network to determine output data.
[0021] In one of the embodiments, the collaborative control device includes a unique identifier.
[0022] In one of the embodiments, the acquisition module is further used to determine a second control target.
[0023] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods described in the first aspect.
[0024] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any of the methods described in the first aspect is implemented.
[0025] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0026] This application designs information standardization modeling templates and control function blocks to model industrial control information, and optimizes the organization of control information according to the association relationship during the modeling process. A unified information model is used to uniformly model control information, and a one-stop data communication architecture based on dedicated Ethernet is designed. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0028] Figure 1 It is a schematic diagram of the strong coupling between the driver and the control device in the prior art;
[0029] Figure 2 It is a schematic diagram of the hybrid networking control technology of the prior art;
[0030] Figure 3 A flow chart is constructed for a collaborative control method according to an embodiment of the present application;
[0031] Figure 4 This is a schematic diagram of the organization structure of underground root information in an embodiment of the present application;
[0032] Figure 5 This is a schematic diagram of the information model of the control function block according to an embodiment of the present application;
[0033] Figure 6 This is a schematic diagram of the composite control function block information model of an embodiment of the present application;
[0034] Figure 7 A flowchart of a collaborative control method used in an embodiment of the present application;
[0035] Figure 8 This is a structural diagram of a collaborative control device according to an embodiment of the present application;
[0036] Fig. 9 This is a schematic diagram of a microservice control component according to an embodiment of the present application;
[0037] Fig.10 This is a schematic diagram of modular control based on a collaborative control device according to an embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0039] The technical solution of the prior art is a single-node network control technology. Figure 1 As shown in the figure, in the production system and management system, the goal is to achieve a single point or a single control task, and a portable product is used. An independent controller can be used to connect a control host with a TCP / IP interface, or a field device with an RS-232 or RS-485 interface. In this network system, information sharing between intelligent devices and any HMI application software (such as trend chart software, etc.) is achieved through the driver, and the driver corresponds to the device one by one. There are a lot of redundant programs in the control system.
[0040] The technical solution of the second prior art is a hybrid networking control technology. Figure 2 As shown in the figure, due to the rapid expansion of Ethernet, TCP / IP protocol has become the de facto industrial standard. Since PCs and industrial PCs have become the mainstream machines in enterprises, the network architecture of enterprises has also been completely influenced by the structure of Ethernet. The structure of multi-layer distributed subnets has gradually been replaced by Ethernet. It is a common method currently adopted by enterprises to directly connect the field bus to Ethernet through a communication controller. Ethernet is centered on a network switch, and this networking method adopts a star topology. The field bus realizes the interconnection between intelligent field instruments and devices, and can accommodate multiple field buses as long as the gateway device supports it. This technology requires signal interconnection at the communication level, but there are problems with gateways and cross-networks.
[0041] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0042] Figure 3 This is a flow chart of a collaborative control method according to an embodiment of the present application, including steps 110 to 120.
[0043] Step 110: Receive a first control target, and decompose the first control target into elements according to functional requirements and / or type enumeration; the elements include attributes, events, parameters and relationships;
[0044] The control target is a standardized expression of all control instructions and other information. The relationship between control information is established through functional block modeling. The system spontaneously triggers the software and hardware equipment programs according to flexible production tasks, and each link is coordinated and controlled to achieve intelligent and modular control.
[0045] The computer receives a first control target for building a relationship network;
[0046] Control elements are enumerated according to the control target type and functional requirements. The enumeration process should consider the six key elements: identification, attributes, events, services, parameters, and relationships.
[0047] The identifier corresponds to the control target, and each control target has an independent identifier. Therefore, the identifier is an element that must exist in the enumeration process and is used to determine the control target.
[0048] The attributes refer to the professional description of the static physical information and dynamic operation data of the controlled target.
[0049] For example, instructions.
[0050] The events refer to various states generated after the controlled target receives the control information.
[0051] For example, the instruction triggers the state.
[0052] The parameters refer to the data used by the control.
[0053] For example, opening.
[0054] The relationship refers to the logical association of control information.
[0055] In one embodiment, the relationship further includes a service, wherein the service refers to actions and behaviors executed by the control target.
[0056] For example, visit.
[0057] It should be noted that the service elements may not be present.
[0058] Step 120, determining a relationship network according to the relationship between the elements;
[0059] The relationship network includes a tree structure and a mesh structure;
[0060] The tree structure is composed of control target, element, and first subclass of element from root to leaf.
[0061] The second subclass of the element and the first subclass determine a network structure through a relationship;
[0062] It should be noted that the relationship network constructed in Example 1 is a template for the output data of the control target subsequently input into the computer.
[0063] Furthermore, the relationships between the elements include: association, combination, dependency, aggregation, inheritance, and realization.
[0064] The association refers to the reference and referenced relationship between control targets.
[0065] For example, there is a reference-reference relationship between control target A and control target B.
[0066] For example, control target A (low pipeline pressure) refers to control target B (pipeline pressure);
[0067] The combination refers to the relationship of inclusion and only inclusion of the control target.
[0068] For example, control target A includes control target B, and control target B is only included in control target A.
[0069] For example, to control target A (pipeline flow), target B (valve opening) needs to be controlled.
[0070] The dependency refers to a relationship between control targets where one party requires all information of the other party.
[0071] For example, control target A uses all the information of control target B, and changes in control target B will affect the results of control target A.
[0072] For example, to control target A (valve opening), target B (valve stem rotation angle) needs to be controlled.
[0073] The aggregation refers to the existence of a relationship of inclusion and more than inclusion between control targets.
[0074] For example, control target A includes control target B, but control target B is not only included in control target A.
[0075] For example, to control target A (pipeline pressure), target B (pipeline flow) needs to be controlled, and to control C (pipeline temperature), target B (pipeline flow) also needs to be controlled.
[0076] The inheritance refers to a relationship in which some information is inherited between control targets and new control information can be added.
[0077] For example, part of the information of control target A inherits from control target B, and control target A can add new control information.
[0078] For example, control target A (pipeline status) inherits control target B (pipeline pressure), and control target A can add new information, such as pipeline temperature.
[0079] The implementation refers to the instantiation of the control information of the control target and the triggering command of the computer program.
[0080] For example, control target A (low pipeline pressure) is sent and the program runs.
[0081] The relationship network determined according to the relationship between the elements includes a tree structure and a network structure;
[0082] The enumerated control elements are organized in an underground root structure, and the elements with relationships are combined into a network to complete the modeling representation. The relationships include association, combination, dependency, aggregation, inheritance, and realization.
[0083] The tree structure is composed of control targets, elements, and first subclasses of elements layer by layer from root to leaves;
[0084] The second subclass of the element and the first subclass determine a network structure through a relationship. The second subclass and the first subclass are not at the same level.
[0085] The existing information organization forms mainly include tree-like hierarchical structure, network structure and classification structure. Different from the tree-like hierarchical structure, network structure and classification structure, the underground roots are basically on the same plane and are not completely hierarchical structures. The underground roots support cross-layer connections and can make semantic connections horizontally or across any number of levels as needed, and connect elements of different natures and cross categories when appropriate.
[0086] The underground root structure is a fusion of the tree structure and the network structure. Figure 4 As shown, the first three layers belong to a tree structure. Starting from the fourth layer, the information with related relationships forms a network, and the extended attributes of each attribute of each layer can be organized in a network manner.
[0087] This application is based on the information model modeling template of the underground root structure. The template defines the basic framework of the object and abstracts some information that can be described by the class template into a standard class. The first layer is the object class, and the second layer includes specification class, process class, control class, management class, business class and custom class. Custom classes are used to describe some attributes that are not easy to abstract. The model modeling structure contains at least 3 layers. The layers above 3 are combination relationships, and the layers below 3 can be aggregation relationships. When calling the object class template, only the instantiation of the template is considered, and there is no need to consider the circumstances under which the template is called. At the same time, multiple object classes can be combined into larger objects.
[0088] According to steps 110 to 120, an underground root information organization structure is constructed, and a control function block is constructed according to the underground root information organization structure. The control function block is the basic unit of the control information resource, and software encapsulation and reuse are realized through event flow and data flow. In view of the modular control requirements, a function block information model is designed to unify the input and output control data. The function block information model 51 is as follows Figure 5 shown.
[0089] The function block information model consists of identification, execution control table, algorithm and internal variables, input events and outputs, input data and outputs.
[0090] The identification is used to mark the function block. The identification is unique in a control system.
[0091] The identifier is the name of the underground root information organization structure model.
[0092] Since the identifier corresponds to the control target, and the relationship network is constructed according to the first control target, each relationship network corresponds to a unique identifier.
[0093] Furthermore, a said functional block information model supports a said underground root-like information organization structure model.
[0094] The execution control table (execution control variables) is used to drive events, determine the state transition rules of events, the relationship between the current state of the function block and the input event, and the relationship between the execution algorithm and the event issued when entering a new state;
[0095] The execution control table executes different control programs, ie, algorithms, according to different input events and the status of the current function block.
[0096] The algorithm: reads input data, generates a second internal variable and output data according to the input data and a first internal variable, and finally triggers an output event.
[0097] Further preferably, the algorithm is hidden from the outside of the control function block.
[0098] For example, the algorithm may be in a language such as Java or C++.
[0099] The internal variable is used to modify the control execution program;
[0100] The input event is used to trigger the control target and edit the control target;
[0101] The input data refers to the data inputted to achieve the control target;
[0102] The output data is the data outputted to achieve the control target;
[0103] The output event: the issuance of a control instruction.
[0104] Furthermore, the method of the present application determines the relationship through the output event. The output event issues a control instruction, and the information with the relationship forms a relationship network.
[0105] In order to meet the complex control requirements, a composite function block information model61 was designed, such as Figure 6As shown, it is composed of several functional block information models.
[0106] Furthermore, the composite function block has no execution control table nor internal variables and algorithms, and the connection of events and data specifies the execution order of the composite function block information model.
[0107] Furthermore, the composite function block information model may also include a composite function block information model.
[0108] Figure 7 This is a flow chart of the method for using the underground root information organization structure according to an embodiment of the present application, including steps: 710 to 720.
[0109] The method described in steps 110 to 120 is used to construct an underground root information organization structure, and when processing a new control target, the steps specifically include:
[0110] Step 710, determining a second control target in response to input data;
[0111] Step 720: Bring the second control target into the relationship network to determine output data.
[0112] Determine the second control target and bring it into the design function block information model. Decompose the second control target into elements according to functional requirements and / or type enumeration;
[0113] Using the output of the second control target as a trigger, the elements of the second control target are input into the underground root information organization structure, and the result data is output.
[0114] Figure 8 This is a structural diagram of a collaborative control device according to an embodiment of the present application, which is used to implement the collaborative control method described in any embodiment of the first aspect, including:
[0115] The acquisition module 81 is used to receive a first control target.
[0116] The acquisition module specifically receives input events and input data
[0117] The disassembly module 82 is used to disassemble the first control target into elements according to function and type.
[0118] The determination module 83 is used to determine the relationship network between the relationships between the elements.
[0119] The determination module specifically drives the input event execution algorithm through the execution control table, reads the input data through the execution algorithm, and obtains the output data.
[0120] The output event is triggered by the output data, and the relationship is determined according to the output event. The output event issues a control instruction, and the information with the relationship forms a relationship network.
[0121] In one embodiment, it also includes:
[0122] The input module 84 is used to receive input data to determine the second control target.
[0123] The output module 85 is used to bring the second control target into the relationship network to determine output data.
[0124] In one of the embodiments, the collaborative control device includes a unique identifier.
[0125] In one of the embodiments, the acquisition module is further used to determine a second control target.
[0126] Fig. 9 This is a schematic diagram of a microservice control component according to an embodiment of the present application, including a communication unit and a functional block information model (i.e., a collaborative control device).
[0127] The communication unit is developed by the hardware developer according to the hardware characteristics and is used to send and upload control instructions to the human-machine interface HMI.
[0128] The human-machine interface can be any application software such as HMI.
[0129] For example, the human-machine interface can be Fig. 9 IntellutionFIx, wonderware Intouch, trend chart / report application software, etc.
[0130] The functional block information model is used to determine the type of control object, integrate functional requirements, aggregate control information and model it to form the relationship network described in the first aspect.
[0131] like Fig. 9 As shown, the hardware of the device layer and the microservice control component operate independently, the control software and hardware are loosely coupled, and the control information can be freely combined at the software level.
[0132] Furthermore, the microservice control component includes multiple communication units and function block information models.
[0133] The communication units and the function block information models correspond one to one.
[0134] like Fig.10 As shown, modular collaborative control based on the function block information model (i.e., collaborative control device):
[0135] One or more of the multiple function block information models are set on different node devices of the network.
[0136] This embodiment distributes the function block information model to each node device in the network, no longer restricting all control functions to a single device, thereby improving the flexibility of the automation system and deploying the control program in a distributed model.
[0137] Further, the function block information models of different node devices use the same set of input interfaces and outputs;
[0138] The input interface and the output interface both include an event interface and a data interface.
[0139] For example, this application proposes a modular control method based on a functional block information model. A unified control interface is adopted, and all functional modules use the same design interface. The interface types are divided into four categories: input events, output events, input data, and output data.
[0140] Based on event and data flow drive, the execution of function blocks in the control system is driven by events. The execution control table in the function block executes different control programs according to different input events and the current state of the function block.
[0141] This embodiment is compatible with existing programming languages, and supports multiple programming languages such as IEC61131-3 ST, LD, and IEC 61499.
[0142] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0143] Therefore, the present application also proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present application is implemented.
[0144] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0147] Furthermore, the present application also proposes an electronic device (or computing device), comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.
[0148] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0149] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0150] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A collaborative control method, characterized in that: include: Receiving a first control target, and decomposing the first control target into elements according to functional requirements and / or type enumeration; The computer receives a first control target for building a relationship network; Determine a relationship network according to the relationship between elements; the relationship network includes a tree structure and a mesh structure; The tree structure is composed of control target, element, and first subclass of element from root to leaf. The second subclass of the element and the first subclass determine a network structure through a relationship; The relationship network is a template for output data of the control target that is subsequently input.
2. The collaborative control method according to claim 1, characterized in that: The elements include attributes, events, parameters and relationships; The relationships include: association, combination, dependency, aggregation, inheritance, and realization.
3. The collaborative control method according to claim 1, characterized in that: Also includes the steps: determining a second control target in response to the input data; The second control object is brought into the relationship network to determine output data.
4. The collaborative control method according to claim 1, characterized in that: The relationship also includes services.
5. A collaborative control device, characterized in that: The method for implementing the collaborative control method according to any one of claims 1 to 4 comprises: An acquisition module, configured to receive a first control target; A disassembly module, used for disassembling the first control target into elements according to functions and types; The determination module is used to determine the relationship network between the elements.
6. The cooperative control device according to claim 5, characterized in that: Also includes: An input module, used for receiving input data to determine a second control target; The output module is used to bring the second control target into the relationship network to determine output data.
7. The cooperative control device according to claim 5, characterized in that: The collaborative control device includes a unique identifier.
8. The cooperative control device according to claim 5, characterized in that: The acquisition module is also used to determine a second control target.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
10. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Field bus control system-oriented edge computing intelligent gateway
CN112910766A
Control and information model fusion method in industrial automation system
CN113268888A
Internet of Things system communication resource decoupling and sharing method
CN115695143A
Scientific and technological innovation function zoning method
CN116431743A
Design supporting device
JP2000172739A
