CN115755810A - Distributed control device based on cooperative control - Google Patents

Distributed control device based on cooperative control Download PDF

Info

Publication number
CN115755810A
CN115755810A CN202211479589.9A CN202211479589A CN115755810A CN 115755810 A CN115755810 A CN 115755810A CN 202211479589 A CN202211479589 A CN 202211479589A CN 115755810 A CN115755810 A CN 115755810A
Authority
CN
China
Prior art keywords
function block
control
soft
distributed control
control apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211479589.9A
Other languages
Chinese (zh)
Inventor
梁辉
王超君
苏宇杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC Potevio Science and Technology Co Ltd
Original Assignee
CETC Potevio Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC Potevio Science and Technology Co Ltd filed Critical CETC Potevio Science and Technology Co Ltd
Priority to CN202211479589.9A priority Critical patent/CN115755810A/en
Publication of CN115755810A publication Critical patent/CN115755810A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a distributed control device based on cooperative control, which comprises: at least one execution unit, at least one soft controller, a function block management program and a function block programming tool; the function block programming tool is used for arranging function block files according to field control logic requirements and downloading the function block files to the function block management program; the function block management program is used for deploying the function block file to the function block runtime in a specified container; the soft controller is used for controlling the function block file operation when the function block in the designated container operates. The invention can solve the problem of cooperative real-time control among a plurality of control systems, and is beneficial to the rapid deployment, iteration, operation and maintenance of the control logic program when the containerized function block is adopted for operation.

Description

Distributed control device based on cooperative control
Technical Field
The invention relates to the technical field of industrial Internet of things, in particular to a distributed control device based on cooperative control.
Background
With the rapid development of the internet of things technology and the cloud computing technology, various technologies such as containers, micro-services, message systems, edge computing and the like are in the endlessly. However, today with the rapid development of "5G + industrial internet", industrial control field scenes still remain in the traditional PLC era.
The existing technical scheme mainly adopts a SoftPLC technology, and a design method for realizing functional logic control by matching a common single chip microcomputer with a PLC instruction set resolver is adopted, because the equipment environments in various factories are complex and diverse, the protocols of control equipment are not uniform, development tools are not uniform, different control systems operate independently and are difficult to control cooperatively, control logic programs depend on hardware seriously, and the requirements cannot be updated online when changed, particularly in a large control system, the control systems operate independently, the data points have different formats, and data cannot be shared; the traditional control mode cannot meet the requirement of cooperative control real-time performance of a plurality of complex systems in modern digital factory construction.
Disclosure of Invention
The invention provides a distributed control device based on cooperative control, which deploys control logic function blocks of different control systems on a distributed gateway in a containerization mode during operation and issues the control logic function blocks to each actuator according to control requirements, thereby realizing equipment division cooperation of different control systems.
In order to achieve the above object, an embodiment of the present invention provides a distributed control apparatus based on cooperative control, including: at least one execution unit, at least one soft controller, a function block management program and a function block programming tool; wherein in the distributed control apparatus, each of said soft controllers is communicatively coupled to said function block manager, one of said execution units, each of said soft controllers is communicatively coupled to each other, and said function block manager is communicatively coupled to said function block programming tool; each soft controller comprises a container, and a micro service function logic program formed by running functional blocks is deployed in the container;
the function block programming tool is used for arranging function block files according to field control logic requirements and downloading the function block files to the function block management program;
the function block management program is used for deploying the function block file to the function block runtime in a specified container;
the soft controller is used for controlling the function block file operation when the function block in the designated container operates.
Further, the soft controller is used for controlling the micro service function logic program which is triggered based on the event to run when the function block in the designated container runs.
Further, the distributed control device based on cooperative control further comprises a local data center; wherein, in a distributed control arrangement, the local data center is communicatively connected to each of the soft controllers;
and the local data center is used for storing the data information of each soft controller, the south access control equipment and the sensing equipment after data formatting.
Further, the distributed control device based on cooperative control further comprises an internet of things agent program and a cloud platform; in the distributed control device, a north access interface of the agent program of the internet of things is in communication connection with each soft controller and the local data center, and a south access interface of the agent program of the internet of things is in communication connection with the cloud platform;
the Internet of things agent program is used for uploading data information of each soft controller, the south access control equipment and the sensing equipment after data formatting according to a uniform protocol standard to the cloud platform;
and the cloud platform is used for storing the data information uploaded by the Internet of things agent program.
Furthermore, the soft controllers are in communication connection through a message bus, each soft controller is in communication connection with the function block management program through the message bus, the local data center is in communication connection with each soft controller through the message bus, and a north access interface of the internet of things agent program is in communication connection with each soft controller and the local data center through the message bus; the message bus adopts MQTT browser technology to subscribe and publish for message interaction.
Wherein, the micro-service function logic program adopts a periodic event based on a clock to trigger the execution of the function logic program; the functional logic programs comprise logic control programs responsible for different industrial control processes or different control systems;
the micro-service comprises message routing, data analysis, cloud service, real-time logic control, a Web server and an AI algorithm.
Further, the triggering the execution of the functional logic program based on the periodic event of the clock specifically includes:
generating a periodic event by using a clock function block, stringing an input function block and an output function block in an event chain, and establishing a normally open function block; the routine is run from the clock function block once each cycle event is generated.
And the execution unit is used for responding to the command of the soft controller to execute the corresponding control function after the soft controller accesses the hardware resource of the execution unit in the form of the device symbol.
Furthermore, the function block programming tool is deployed on the cloud platform, and updates the function block files of the distributed control device during function block operation in a remote programming mode on line.
Furthermore, the function block programming tool is deployed on a local computer, and updates the function block file when the function block runs in the distributed control device on line in a local programming mode.
Compared with the prior art, the invention has the following beneficial effects:
the invention is beneficial to controlling the quick deployment, iteration, operation and maintenance of the logic program by adopting containerization deployment when the function block based on event trigger operates; the SQLite database is adopted to realize the localization of the data center, and data support is provided for the edge calculation of the multi-control system; the multi-core ARM processor is adopted to respectively realize functions of a soft PLC multi-controller distributed real-time control task, cloud access to the Internet of things, artificial intelligence and the like, and the problem that the existing PLC can only be executed independently and cannot be cooperatively controlled in real time among a plurality of control systems is solved; the hard decoupling of industrial control software is realized, and the industrial control field standard is unified; meanwhile, the method is beneficial to the deployment of large-scale, complex and multi-system industrial control solutions and the promotion of the realization of digital and intelligent control in the industrial control field.
Drawings
Fig. 1 is a block diagram of a distributed control apparatus based on cooperative control according to a first embodiment of the present invention.
Fig. 2 is a block diagram of a distributed control apparatus based on cooperative control according to a second embodiment of the present invention.
Fig. 3 is a block diagram of a distributed control apparatus based on cooperative control according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a structural diagram of a distributed control apparatus based on cooperative control according to a first embodiment of the present invention.
The distributed control device based on cooperative control comprises: at least one execution unit 1, at least one soft controller 3, a function block management program 4 and a function block programming tool 5; in the distributed control device, each soft controller 3 is in communication connection with the function block management program 4 and one execution unit 1, the soft controllers 3 are in communication connection with each other, and the function block management program 4 is in communication connection with the function block programming tool 5; each soft controller comprises a container 2, and a micro service function logic program formed by running functional blocks is deployed in the container;
the function block programming tool 5 is used for arranging function block files according to field control logic requirements and downloading the function block files to the function block management program 4;
the function block management program 4 is configured to deploy the function block file to a function block runtime in a specified container;
and the soft controller 3 is used for controlling the function block file operation when the function block in the specified container operates.
Further, the soft controller 3 may be further configured to control the micro service function logic program based on event trigger to run when the function block in the designated container runs.
It should be noted that the soft control can control the operation of the functional logic program in two modes through Realtime control and Anytime control; the first is to compile or update the required logic program on line according to the logic requirement of field control, and the second is to perform containerized deployment on the required micro-service function logic program in the distributed control device when the function block runs in advance; the system control of the execution units of a plurality of control systems is realized through two modes, and the fusion of different control systems and the fusion of heterogeneous networks such as wired access, wireless access and the like are realized.
The method comprises the steps of utilizing a Docker container to conduct containerization, namely packaging micro-service logic programs into a Docker mirror image when function blocks run, achieving containerization deployment of the function blocks, and completing decoupling between a function block diagram and hardware.
Wherein, the micro-service function logic program adopts a periodic event based on a clock to trigger the execution of the function logic program; the functional logic programs comprise logic control programs responsible for different industrial control processes or different control systems;
the micro-services include message routing, data analysis, cloud services, real-time logic control, web servers, AI algorithms, and the like.
Fig. 2 is a structural diagram of a distributed control apparatus based on cooperative control according to a second embodiment of the present invention.
The distributed control device based on cooperative control further comprises a local data center 6; wherein, in a distributed control device, the local data center 6 is connected with each soft controller 3 in a communication way;
and the local data center 6 is used for storing the data information of each soft controller, the south access control equipment and the sensing equipment after data formatting.
In a specific embodiment, an SQLite database is adopted to collect and store data information of each soft controller, south access control equipment, sensing equipment and the like, and data support is provided for edge calculation.
Fig. 3 is a structural diagram of a distributed control apparatus based on cooperative control according to a third embodiment of the present invention.
The distributed control device based on cooperative control further comprises an internet of things agent program 7 and a cloud platform 8; in the distributed control device, a north access interface of the agent program 7 of the internet of things is in communication connection with each soft controller 3 and the local data center 6, and a south access interface of the agent program 7 of the internet of things is in communication connection with the cloud platform 8;
the internet of things agent program 7 is used for uploading data information of each soft controller, the south access control equipment and the sensing equipment after data formatting according to a uniform protocol standard to the cloud platform 8;
and the cloud platform 8 is used for storing the data information uploaded by the internet of things agent 7.
Further, the soft controllers 3 are in communication connection through a message bus 9, each soft controller 3 is in communication connection with the function block management program 4 through the message bus 9, the local data center 6 is in communication connection with each soft controller 3 through the message bus 9, and a north access interface of the agent program 7 of the internet of things is in communication connection with each soft controller 3 and the local data center 6 through the message bus 9; the message bus 9 adopts the subscription and publication mode of the MQTT broker technology to perform message interaction.
It should be noted that, in the specific embodiment, the MQTT browser technology is adopted to subscribe and publish to perform message interaction between the controllers, so as to complete the cooperative control function of the soft controllers 3; the data center 6 can be interacted to complete the functions of data acquisition and edge calculation; the system can interact with the cloud platform 8 to complete the cloud access and management functions of external control equipment; and the software can interact with a function block programming tool 5 to complete the cloud management functions of installation, upgrade, uninstallation and the like of the control logic program when the function blocks in each soft controller run.
Specifically, the internet of things agent 7 is responsible for data interaction with the cloud platform 8, and can upload data of the southbound access control device and the sensing device to the internet of things cloud platform 8 according to a unified protocol standard; unified standards can be GB/T19769.4-2015 function Block, IEC 61499-1, industrial Internet information model (3 IM), and so on.
Further, the triggering the execution of the functional logic program based on the periodic event of the clock specifically includes:
generating a periodic event by using a clock function block, stringing an input function block IX and an output function block QX in an event chain, and establishing a normally open function block; the routine is run from the clock function block once each cycle event is generated.
Wherein, the execution unit 1 is used for responding to the command of the soft controller 3 to execute the corresponding control function after the soft controller 3 accesses the hardware resource of the execution unit 1 in the form of the device symbol.
Further, the function block programming tool 5 is deployed on the cloud platform 8, and updates a logic control program of the distributed control device when the function block runs on line in a remote programming manner;
specifically, the function block management program 4 may manage a logic control program when all the soft controller function blocks in the distributed control apparatus run; the logic control program can be communicated with a function block programming tool 5, and all function blocks in the distributed control device of the operation and maintenance cost run; the functional block programming tool 5 can be responsible for field control programming, can be deployed on a cloud platform, and updates a functional block file in the distributed control device when the functional block runs on line in a remote programming mode; the function block programming tool can be deployed on a local computer, and updates the function block files in the distributed control device when the function blocks run on line in a local programming mode.
In a specific embodiment, when the distributed control apparatus is deployed, the function block programming tool 5 arranges function block files according to field control logic requirements, downloads the function block files into the function block management program 4, and stores the function block files into system-specific folders as required, for example: usr/local/default/apps/XXX, where XXX is the folder name of the function block, the function block manager responds to the container install command to install and deploy the tar packet of the function block runtime function block file into the specified container 2 through the MQTT Broker message bus 9, the corresponding soft controller 3 executes the function logic control program, and the runtime packages the input and output interfaces involved in the function logic control program, for example: the functional logic control program arranged in the container can normally access the corresponding execution unit 1 hardware access interface when running so as to complete the signal acquisition and control functions of the control logic.
Furthermore, when the function blocks in the soft controller operate, data information of the soft controller, the access device, the sensing device and the like can be acquired, the data is formatted in a physical model mode and stored in the data center 6 through the MQTT Broker message bus 9, the data can also be reported to a cloud platform through a northbound interface of the agent program 7 of the internet of things, and the cloud platform 8 can also access the micro-service function logic program or the local data center 6 when the function blocks in the soft controller 3 operate through the agent program of the internet of things.
Further, in a specific embodiment, the functions of distributed real-time control tasks in the soft controller, cloud access to the internet of things, artificial intelligence and the like are respectively realized by the multi-core ARM processor.
To sum up, the invention provides a distributed control device based on cooperative control, which utilizes a Docker container to containerize control logic function blocks of different control systems during operation and deploy required function logic requirements, thereby effectively realizing deployment, operation, iteration and operation and maintenance of heterogeneous control software; the soft controller, the function block management program, the local data center, the function block management program and the Internet of things agent program which are formed based on the operation of the containerized function blocks adopt MQTT Broker for communication, so that the cooperative joint control function among different functional programs is realized; the SQLite database is adopted to realize the localization of the data center, and data support is provided for the edge calculation of the multi-control system; in addition, the multi-core ARM processor is adopted to respectively realize functions of a soft controller distributed real-time control task, cloud access to the Internet of things, artificial intelligence and the like.
The distributed control device based on cooperative control also solves the problems that the traditional PLC controller can only be independently executed and a plurality of control systems cannot be cooperatively controlled in real time; the language and interface standard of the PLC control logic are unified, and the hard decoupling of different PLC controllers manufacturers is realized; the method is beneficial to large-scale, complex and multi-system industrial control solution deployment; the method is favorable for promoting the field of industrial control to realize digital and intelligent control.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and may also be implemented by hardware entirely. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A distributed control apparatus based on cooperative control, characterized by comprising: at least one execution unit, at least one soft controller, a function block management program and a function block programming tool; wherein in the distributed control apparatus, each of said soft controllers is communicatively coupled to said function block manager and to one of said execution units, each of said soft controllers is communicatively coupled to each other, and said function block manager is communicatively coupled to said function block programming tool; each soft controller comprises a container, and a micro service function logic program formed by running functional blocks is deployed in the container;
the function block programming tool is used for arranging function block files according to field control logic requirements and downloading the function block files to the function block management program;
the function block management program is used for deploying the function block file to the function block runtime in the specified container;
and the soft controller is used for controlling the function block file to run when the function block in the specified container runs.
2. A distributed control apparatus based on cooperative control according to claim 1,
the soft controller is used for controlling the micro service function logic program which is triggered based on the event and is used for controlling the function blocks in the designated container to run.
3. The cooperative control based distributed control apparatus according to claim 1 or 2, wherein the cooperative control based distributed control apparatus further comprises a local data center; wherein, in a distributed control apparatus, the local data center is in communication connection with each of the soft controllers;
and the local data center is used for storing the data information of each soft controller, the south access control equipment and the sensing equipment after data formatting.
4. The cooperative control based distributed control apparatus according to claim 3, wherein the cooperative control based distributed control apparatus further comprises an agent for internet of things and a cloud platform; in the distributed control device, a north access interface of the agent program of the internet of things is in communication connection with each soft controller and the local data center, and a south access interface of the agent program of the internet of things is in communication connection with the cloud platform;
the Internet of things agent program is used for uploading data information of each soft controller, the south access control equipment and the sensing equipment after data formatting according to a uniform protocol standard to the cloud platform;
and the cloud platform is used for storing the data information uploaded by the Internet of things agent program.
5. The distributed control apparatus based on cooperative control as claimed in claim 4, wherein each of the soft controllers is communicatively connected with each other through a message bus, each of the soft controllers is communicatively connected with the function block management program through a message bus, the local data center is communicatively connected with each of the soft controllers through a message bus, and the northbound access interface of the internet of things agent program is communicatively connected with each of the soft controllers and the local data center through a message bus; the message bus adopts MQTT browser technology to subscribe and publish for message interaction.
6. The distributed control apparatus based on cooperative control as claimed in claim 1, wherein the micro service function logic program uses a clock-based periodic event to trigger the execution of the function logic program; the functional logic programs comprise logic control programs responsible for different industrial control processes or different control systems;
the micro-service comprises message routing, data analysis, cloud service, real-time logic control, a Web server and an AI algorithm.
7. The distributed control apparatus based on cooperative control as claimed in claim 6, wherein the triggering of the execution of the functional logic program based on the clock-based periodic event specifically includes:
generating a periodic event by using a clock function block, stringing an input function block and an output function block in an event chain, and establishing a normally open function block; the routine is run from the clock function block once each cycle event is generated.
8. A distributed control apparatus based on cooperative control as set forth in claim 1 or 2, wherein the execution unit is configured to execute the corresponding control function in response to a command of the soft controller after the soft controller accesses the hardware resource of the execution unit in the form of a device character.
9. The distributed control apparatus based on cooperative control as claimed in claim 3, wherein the function block programming tool is deployed on a cloud platform, and updates the function block file when the function block runs in the distributed control apparatus on line by means of remote programming.
10. The distributed control apparatus based on cooperative control as claimed in claim 3, wherein the function block programming tool is deployed on a local computer, and updates the function block file when the function block in the distributed control apparatus runs on line by means of local programming.
CN202211479589.9A 2022-11-24 2022-11-24 Distributed control device based on cooperative control Pending CN115755810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211479589.9A CN115755810A (en) 2022-11-24 2022-11-24 Distributed control device based on cooperative control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211479589.9A CN115755810A (en) 2022-11-24 2022-11-24 Distributed control device based on cooperative control

Publications (1)

Publication Number Publication Date
CN115755810A true CN115755810A (en) 2023-03-07

Family

ID=85336624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211479589.9A Pending CN115755810A (en) 2022-11-24 2022-11-24 Distributed control device based on cooperative control

Country Status (1)

Country Link
CN (1) CN115755810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117118981A (en) * 2023-10-19 2023-11-24 广州翼辉信息技术有限公司 Industrial cloud platform communication method based on CODESYS programming environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117118981A (en) * 2023-10-19 2023-11-24 广州翼辉信息技术有限公司 Industrial cloud platform communication method based on CODESYS programming environment

Similar Documents

Publication Publication Date Title
JP7257329B2 (en) Open architecture industrial control system
CN112383416A (en) Kubeedge and EdgeX fountain based intelligent edge device control platform
CN105487892B (en) GIS service deployment system in a kind of cloud under Linux environment
CN115102827B (en) Real-time monitoring universal internet platform for digital products of small and medium-sized manufacturing industry
CN108737463A (en) A kind of software deployment method, server and system
CN109983411B (en) Flow control of program modules
CN113612820A (en) Cloud edge device platform control architecture and method based on Superedge and edgeXFioutry
CN111611054B (en) Application deployment method and device
Theiss et al. Software agents in industry: A customized framework in theory and praxis
CN105430094A (en) Agricultural Internet of things control method and system
CN113900794A (en) Industrial data acquisition platform and method
CN115755810A (en) Distributed control device based on cooperative control
CN115442202A (en) 5G network cloud-end cooperative virtual PLC control method and system
Lin et al. Integration of robot and IIoT over the OPC unified architecture
Shi et al. Construction of industrial internet of things based on MQTT and OPC UA protocols
Ioana et al. VSOMEIP-OPC UA gateway solution for the automotive industry
Wang et al. A low-latency and interoperable industrial Internet of Things architecture for manufacturing systems
CN113362037A (en) Coal mine intelligent management system and method based on edge cloud
CN117331614A (en) On-line detection configuration file management method for aviation manufacturing production site
CN117215818A (en) Cloud edge collaboration-based lightweight application collaboration method for Internet of things
CN112486666A (en) Model-driven reference architecture method and platform
CN113954679B (en) Edge control equipment applied to ordered charging control of electric automobile
Dias et al. Deployment of industrial agents in heterogeneous automation environments
CN112600867B (en) Information processing integrated system for hidden engineering networking monitoring audit
Padilla Self-adaptation for Internet of things applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination