CN114167828B - Plug-in control method and related device of DCS controller - Google Patents

Plug-in control method and related device of DCS controller Download PDF

Info

Publication number
CN114167828B
CN114167828B CN202111470106.4A CN202111470106A CN114167828B CN 114167828 B CN114167828 B CN 114167828B CN 202111470106 A CN202111470106 A CN 202111470106A CN 114167828 B CN114167828 B CN 114167828B
Authority
CN
China
Prior art keywords
control
algorithm
copy
point data
data
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.)
Active
Application number
CN202111470106.4A
Other languages
Chinese (zh)
Other versions
CN114167828A (en
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.)
Rundian Energy Science and Technology Co Ltd
Original Assignee
Rundian Energy 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 Rundian Energy Science and Technology Co Ltd filed Critical Rundian Energy Science and Technology Co Ltd
Priority to CN202111470106.4A priority Critical patent/CN114167828B/en
Publication of CN114167828A publication Critical patent/CN114167828A/en
Application granted granted Critical
Publication of CN114167828B publication Critical patent/CN114167828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33273DCS distributed, decentralised controlsystem, multiprocessor
    • 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

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a plug-in control method of a DCS controller, which comprises the following steps: receiving measurement point data from a DCS controller; controlling a plurality of algorithm copy containers to perform control algorithm calculation on the measurement point data to obtain a plurality of control results; selecting a plurality of control results based on a chip selection strategy to obtain a target control result; and sending the target control result to the DCS for the DCS controller to perform process control by adopting the target control result. The control algorithm calculation is carried out on the measurement point data by controlling the plurality of algorithm copies to obtain a plurality of control results, and the target control result is selected instead of adopting a single algorithm to carry out calculation, so that the stability of algorithm execution is maintained, the optimal algorithm execution process control can be selected, and the reliability and the effectiveness of the process control are improved. The application also discloses a plug-in control device, computing equipment and a computer readable storage medium of the DCS controller, which have the beneficial effects.

Description

Plug-in control method and related device of DCS controller
Technical Field
The present application relates to the field of computer technologies, and in particular, to a plug-in control method, a plug-in control device, a computing device, and a computer readable storage medium for a DCS controller.
Background
With the implementation of denitration ultralow emission reconstruction of a thermal power plant, the actual NOx control effect of a plurality of thermal power units is not ideal, and even some thermal power units cannot normally input the denitration ammonia injection automatic control, so that serious problems of large fluctuation of NOx at an SCR outlet, exceeding of ammonia escape amount and the like are caused.
In the related art, a certain control algorithm is implemented in a DCS (Distributed Control System ) controller to control the process of the thermal power generating unit so as to improve the control effect of the environment. However, the conventional control algorithm of the DCS controller cannot realize the optimal control of the denitration system with nonlinear, time-varying and large disturbance characteristics. In addition, as the algorithm software has defects, the DCS controller fails, or the problems of software breakdown and the like occur after long-time operation, the effect of the DCS controller on process control is reduced, and the environment control is poor.
Therefore, how to improve the stability of the DCS controller for process control is a major concern for those skilled in the art.
Disclosure of Invention
The application aims to provide a plug-in control method, a plug-in control device, a computing device and a computer readable storage medium of a DCS controller, so as to improve the stability of DCS process control and reduce the probability of collapse of the control process.
In order to solve the technical problems, the application provides a plug-in control method of a DCS controller, which comprises the following steps:
Receiving measurement point data from a DCS controller;
controlling a plurality of algorithm copy containers to perform control algorithm calculation on the measuring point data to obtain a plurality of control results;
Selecting the plurality of control results based on a chip selection strategy to obtain a target control result;
And sending the target control result to the DCS to control so that the DCS controller can perform process control by adopting the target control result.
Optionally, receiving the site data from the DCS controller includes:
receiving the measuring point data from the DCS controller according to a preset period;
and saving the measuring point data into a source data pool.
Optionally, controlling the plurality of algorithm copy containers to perform control algorithm calculation on the measurement point data to obtain a plurality of control results, including:
the measurement point data are respectively sent to each algorithm copy container;
controlling each algorithm copy container to read key parameter values from a cache database;
and controlling each algorithm copy container to calculate the measuring point data based on the key parameter values, and obtaining a corresponding control result.
Optionally, selecting the plurality of control results based on a chip selection policy to obtain a target control result, including:
Performing effect prediction on the plurality of control results based on a chip selection strategy to obtain an effect value corresponding to each control result;
and selecting the control result with the largest effect value as the target control result.
Optionally, the method further comprises:
Counting the selection results of the target control results to obtain the selection frequency corresponding to each algorithm copy container;
taking the algorithm copy container with the largest selected frequency as a reference copy;
when a synchronization condition is triggered, the key parameter values of the basic copy are synchronized to other algorithm copy containers.
The application also provides a device for controlling the plug-in of the DCS, which comprises:
The data receiving module is used for receiving the measuring point data from the DCS controller;
The multi-algorithm copy calculation module is used for controlling the plurality of algorithm copy containers to perform control algorithm calculation on the measuring point data so as to obtain a plurality of control results;
the result selection module is used for selecting the plurality of control results based on a chip selection strategy to obtain a target control result;
And the result sending module is used for sending the target control result to the DCS control so that the DCS controller can perform process control by adopting the target control result.
Optionally, the data receiving module is specifically configured to receive the measurement point data from the DCS controller according to a preset period; and saving the measuring point data into a source data pool.
Optionally, the multi-algorithm duplicate calculation module is specifically configured to send the measurement point data to each algorithm duplicate container respectively; controlling each algorithm copy container to read key parameter values from a cache database; and controlling each algorithm copy container to calculate the measuring point data based on the key parameter values, and obtaining a corresponding control result.
The present application also provides a computing device comprising:
A memory for storing a computer program;
And a processor for implementing the steps of the plug-in control method as described above when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the plug-in control method as described above.
The application provides a plug-in control method of a DCS controller, which comprises the following steps: receiving measurement point data from a DCS controller; controlling a plurality of algorithm copy containers to perform control algorithm calculation on the measuring point data to obtain a plurality of control results; selecting the plurality of control results based on a chip selection strategy to obtain a target control result; and sending the target control result to the DCS to control so that the DCS controller can perform process control by adopting the target control result.
The control algorithm calculation is carried out on the measurement point data by controlling the plurality of algorithm copies to obtain a plurality of control results, and the target control result is selected instead of adopting a single algorithm to carry out calculation, so that the stability of algorithm execution is maintained, the optimal algorithm execution process control can be selected, and the reliability and the effectiveness of the process control are improved.
The application also provides a plug-in control device, a computing device and a computer readable storage medium of the DCS controller, which have the beneficial effects and are not described herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a plug-in control method of a DCS controller according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a system architecture of a method for controlling plug-in of a DCS controller according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a controller structure of a method for controlling plug-in of a DCS controller according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a chip select service flow of a plug-in control method of a DCS controller according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a synchronous service flow of a plug-in control method of a DCS controller according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a plug-in control device for DCS according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a plug-in control method, a plug-in control device, a computing device and a computer readable storage medium of a DCS controller, so as to improve the stability of DCS process control and reduce the probability of collapse of the control process.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the related art, a certain control algorithm is implemented in a DCS controller to control the process of the thermal power generating unit so as to improve the control effect of the environment. However, the conventional control algorithm of the DCS controller cannot realize the optimal control of the denitration system with nonlinear, time-varying and large disturbance characteristics. In addition, as the algorithm software has defects, the DCS controller fails, or the problems of software breakdown and the like occur after long-time operation, the effect of the DCS controller on process control is reduced, and the environment control is poor.
Therefore, the application provides a plug-in control method of a DCS controller, which is used for controlling a plurality of algorithm copies to simultaneously perform control algorithm calculation on measurement point data to obtain a plurality of control results, selecting a target control result instead of adopting a single algorithm to perform calculation, maintaining the stability of algorithm execution, selecting an optimal algorithm to perform process control, and improving the reliability and effectiveness of process control.
The method for controlling plug-in of a DCS controller according to the present application is described below by way of an embodiment.
Referring to fig. 1, fig. 1 is a flowchart of a plug-in control method of a DCS controller according to an embodiment of the application.
In this embodiment, the method may include:
S101, receiving measurement point data from a DCS controller;
As can be seen, this step is intended to receive site data from the DCS controller.
The measuring point data are mainly data obtained by the DCA controller from an execution environment.
The channel for transmitting the measurement point data may adopt any transmission mode provided in the prior art, which is not specifically limited herein.
Further, the step may include:
Step 1, receiving measurement point data from a DCS controller according to a preset period;
And 2, storing the measuring point data into a source data pool.
It can be seen that this alternative is mainly to explain how the measurement point data is received and saved. In the alternative scheme, the measuring point data are received from the DCS controller according to a preset period, and the measuring point data are stored in the source data pool. The source data pool is mainly used for storing the received measuring point data so as to improve the efficiency and the performance of storing the measuring point data and keep the high-speed data reading performance.
S102, controlling a plurality of algorithm copy containers to perform control algorithm calculation on the measurement point data to obtain a plurality of control results;
On the basis of S101, the step aims to control a plurality of algorithm copy containers to perform control algorithm calculation on the measurement point data, and a plurality of control results are obtained.
It can be seen that in this alternative, a plurality of algorithm sub-containers are mainly used for performing control calculation. Wherein the algorithms between each algorithm replica container are identical to maintain stability of the output result. Meanwhile, when one of the algorithm copies has a problem, the control results of the other algorithm copies can be adopted, so that the stability of process control is improved.
Further, the step may include:
step 1, measuring point data are respectively sent to each algorithm copy container;
Step 2, controlling each algorithm copy container to read key parameter values from the cache database;
And 3, controlling each algorithm copy container to calculate the measuring point data based on the key parameter values, and obtaining a corresponding control result.
It can be seen that this alternative is mainly to explain how to obtain multiple control results. In the alternative scheme, the measurement point data are mainly sent to each algorithm copy container respectively, each algorithm copy container is controlled to read key parameter values from a cache database, and each algorithm copy container is controlled to calculate the measurement point data based on the key parameter values, so that a corresponding control result is obtained.
S103, selecting a plurality of control results based on a chip selection strategy to obtain a target control result;
Based on S102, this step aims to select a plurality of control results based on a chip selection policy, so as to obtain a target control result.
It can be seen that the best control result is selected from the multiple control results in this alternative, and is used as the target control result.
Further, the step may include:
Step 1, performing effect prediction on a plurality of control results based on a chip selection strategy to obtain an effect value corresponding to each control result;
and 2, selecting the control result with the largest effect value as a target control result.
It can be seen that this alternative is mainly to explain how the target control result is selected. In the alternative scheme, effect prediction is carried out on a plurality of control results based on a chip selection strategy, an effect value corresponding to each control result is obtained, and the control result with the largest effect value is selected as a target control result.
S104, the target control result is sent to the DCS for the DCS controller to perform process control by adopting the target control result.
On the basis of S103, this step aims to send the target control result to the DCS control so that the DCS controller performs process control using the target control result.
In addition, the present embodiment may further include:
Step 1, counting the selection result of the target control result to obtain the corresponding selection frequency of each algorithm copy container;
Step 2, taking the algorithm copy container with the largest selected frequency as a reference copy;
And step 3, synchronizing key parameter values of the basic copy to other algorithm copy containers when a synchronization condition is triggered.
It can be seen that this alternative is mainly to explain how the synchronization of the algorithm copies is performed. In the alternative scheme, the selection result of the target control result is counted to obtain the selection frequency corresponding to each algorithm copy container, the algorithm copy container with the largest selection frequency is used as the reference copy, and when the synchronization condition is triggered, the key parameter value of the basic copy is synchronized to other algorithm copy containers. That is, the consistency of parameters between algorithm copies is maintained, and the stability of control result output is maintained.
In summary, in this embodiment, by controlling multiple algorithm copies to perform control algorithm calculation on measurement point data at the same time, multiple control results are obtained, and a target control result is selected instead of performing calculation by a single algorithm, so that stability of algorithm execution is maintained, and an optimal algorithm can be selected to perform process control, thereby improving reliability and effectiveness of process control.
Based on the above embodiment, the method for controlling plug-in of a DCS controller according to the present application is further described below by way of another specific embodiment.
Referring to fig. 2, fig. 2 is a schematic system structure diagram of a plug-in control method of a DCS controller according to an embodiment of the application.
In this embodiment, a system corresponding to a plug-in control method of a DCS controller is provided. The system comprises a DCS communication interface machine and an intelligent controller. The intelligent controller comprises a container operation scheduling environment, a source data pool, a cache database, a service registration center, a data chip selection service, a data synchronization service and a plurality of algorithm copies.
The overall architecture is shown in fig. 2, and the DCS side is connected to a communication interface machine through a modbus communication module and an OPC (OLE for Process Control, industrial standard) server, and represents a high-speed data channel and a standard data channel respectively. And the communication interface machine and the intelligent controller are in data communication with the control result channel through the source data channel.
The intelligent controller is internally provided with a redundant algorithm running environment based on a container technology, a cache database and a service registry are utilized, and the multi-copy running of the control algorithm is realized by adopting a data synchronization technology and a data chip selection technology, so that the high availability and fault tolerance of the control algorithm are ensured.
Referring to fig. 3, fig. 3 is a schematic diagram of a controller structure of a plug-in control method of a DCS controller according to an embodiment of the application.
The whole structure diagram of the intelligent controller is shown in fig. 3, the bottom layer is supported by a linux system, a container operation scheduling environment is deployed on the linux system, and a cache database, a service registry, a data synchronization service, a data chip selection service and multiple algorithm copies are deployed based on container technology.
The container operation scheduling environment provides a high-availability and relatively independent environment for the operation of a plurality of components, so that the problem of overall occurrence caused by the breakdown of a single component is avoided, the quick restarting of the components after the failure can be realized through the container technology, and the high availability is improved.
The role of the cache database is a key parameter of the cache control algorithm.
The service registration center is used for distributing IDs for all algorithm copies, registering the service, storing a service list, and the data synchronization service reads the service list from the service registration center to perform data synchronization operation.
The data synchronization service synchronizes key parameters of a plurality of algorithms, and ensures that errors can be corrected in time after errors occur in a single algorithm.
And the data chip selection service receives control results sent by the algorithm containers, performs data chip selection, and finally selects a final control result and transmits the final control result to the DCS side for control.
The algorithm container is used for packaging the control algorithm in one container, and simultaneously, a plurality of copies are pulled up to realize multi-copy redundancy, so that the fault tolerance of the algorithm is improved, and the whole set of control algorithm cannot cause a control terminal due to single copy faults.
The whole set of redundancy algorithm framework is that the DCS communication interface machine firstly sends measurement point data of the DCS to a source data pool of the intelligent controller in a fixed period, each source data has a unique identification data ID, the source data pool pushes one source data to three algorithm copies in a fixed period, after the three algorithm copies receive the source data, key parameter values are read from a cache database to carry out algorithm operation, a control result is sent to a data chip selection center, the data chip selection center selects a plurality of received control result data according to a chip selection strategy, and an optimal control result is selected and sent to the DCS communication interface machine to be further sent to the DCS for process control.
The data synchronization center can acquire the algorithm copy with the highest selected frequency in the current period of time from the data chip selection center as a synchronization reference, and keep the key parameters of the other two algorithm copies consistent with the key parameters of the reference copy, so that the consistency of the three copies is ensured, and the deviated algorithm can be corrected to a normal state in time.
Referring to fig. 4, fig. 4 is a schematic diagram of a chip selection service flow of a plug-in control method of a DCS controller according to an embodiment of the application.
Please refer to fig. 4, the data chip selection service refers to that three algorithm copies send three control results simultaneously, data is selected through the data chip selection service, and the optimal control result is returned to the DCS communication interface machine, and then returned to the DCS for control.
The data chip selection service comprises a data receiving queue, a data sending queue and a data chip selection service. The data receiving queue contains all control result data packets sent from the algorithm copy, the data sending queue contains data packets ready to be sent to the DCS communication interface machine through chip selection, and the data chip selection service is responsible for pulling data from the data receiving queue and selecting the data according to a chip selection strategy.
And the data chip selection service performs priority ranking according to the selected frequency of each algorithm copy, and controls the algorithm copy with the highest selected frequency to have the highest priority.
The data chip selection strategy comprises two strategies of free competition and CRC check.
Wherein, free competition strategy: each control result data packet sent by the control algorithm is provided with a self-increasing ID, the data chip selection center analyzes the ID of each piece of received control result data and stores the ID of the last processed result data, if the ID of the currently received control result data is smaller than or equal to the ID of the last processed result data, the control information related to the data ID is indicated to be processed, and the data is directly discarded; if the ID of the currently received control result data is larger than the ID of the last processed result data, the control information related to the data ID is not processed yet, and the data is placed in a data transmission queue and sent to a DCS communication interface machine.
CRC check strategy: each piece of control result data comprises a CRC (cyclic redundancy check) flag bit which is used for checking whether the control results of two control algorithms are consistent, a data chip selection service waits for a period of time T after receiving one piece of control result data, scans a data receiving queue, pulls all data packets consistent with the current control result data ID, and performs comparison analysis on CRC values of the data packets, wherein the comparison analysis is divided into the following three cases:
First, if only one piece of data is received, the data chip select service directly processes the data.
Second, if two data are received, the result data sent by the algorithm copy with the highest priority is selected for processing.
Third, if three data are received, three cases are again divided:
(1) And if the CRC values of the three pieces of data are consistent, the three pieces of data represent that the three pieces of control result data are the same, and the data sent by the algorithm copy with the highest priority are taken for processing.
(2) And if the CRC values of any two pieces of data in the three pieces of data are consistent, excluding the piece of data which is inconsistent, and processing the data with higher priority in the two pieces of data with consistent CRC values.
(3) And if the CRC values of the three pieces of data are inconsistent, the data sent by the algorithm copy with the highest priority are taken for processing.
Referring to fig. 5, fig. 5 is a schematic diagram of a synchronization service flow of a plug-in control method of a DCS controller according to an embodiment of the application.
Referring to fig. 5, after the system is started, three algorithm copies are started, firstly, a service registry is connected to obtain an ID allocated to the service registry, then the KEY value is spliced according to the ID to be used as a KEY value of a KEY parameter in a cache database, after normal operation, the algorithm copies continuously receive source data, the latest KEY parameter is pulled from the cache database according to the KEY value, algorithm operation is performed according to the KEY parameter, the KEY parameter value is changed by the algorithm operation, and the KEY parameter value after the algorithm operation is written back to the cache database.
After the data synchronization service is started, firstly connecting a service registration center to acquire currently registered algorithm information to form a service list, then connecting a cache database, monitoring the change of registration service of the service registration center by the algorithm synchronization center, and if a new algorithm service registration exists, performing key parameter synchronization operation on the newly registered service by the algorithm synchronization center. If a registered algorithm service is unregistered, the data synchronization service will delete the service from the service list.
For the service in the service list, the data synchronization service acquires the priority of the current algorithm from the data chip selection service, searches the algorithm ID with the highest priority, and then synchronously modifies the key parameters of the other two algorithm copies in the cache database by taking the key parameters of the algorithm in the cache database as the reference, so as to realize the synchronization of the key parameters.
Therefore, in the embodiment, the control algorithm calculation is performed on the measurement point data by controlling the plurality of algorithm copies at the same time to obtain a plurality of control results, and the target control result is selected instead of the calculation by adopting a single algorithm, so that the stability of algorithm execution is maintained, the optimal algorithm execution process control can be selected, and the reliability and the effectiveness of the process control are improved.
The following describes the plug-in control device provided by the embodiment of the present application, and the plug-in control device described below and the plug-in control method described above may be referred to correspondingly.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a plug-in control device of a DCS according to an embodiment of the application.
In this embodiment, the apparatus may include:
a data receiving module 100 for receiving measurement point data from the DCS controller;
the multi-algorithm copy calculation module 200 is used for controlling the plurality of algorithm copy containers to perform control algorithm calculation on the measurement point data so as to obtain a plurality of control results;
The result selection module 300 is configured to select a plurality of control results based on a chip selection policy, so as to obtain a target control result;
and a result transmitting module 400 for transmitting the target control result to the DCS control so that the DCS controller performs process control using the target control result.
Optionally, the data receiving module 100 is specifically configured to receive measurement point data from the DCS controller according to a preset period; and saving the measurement point data into a source data pool.
Optionally, the multi-algorithm copy calculation module 200 is specifically configured to send the measurement point data to each algorithm copy container respectively; controlling each algorithm copy container to read key parameter values from the cache database; and controlling each algorithm copy container to calculate the measurement point data based on the key parameter values, and obtaining a corresponding control result.
Optionally, the result selection module 300 is specifically configured to perform effect prediction on a plurality of control results based on a chip selection policy, so as to obtain an effect value corresponding to each control result; selecting the control result with the largest effect value as the target control result
Optionally, the apparatus may further include:
The duplicate synchronization module is used for counting the selection result of the target control result to obtain the selection frequency corresponding to each algorithm duplicate container; taking the algorithm copy container with the largest selected frequency as a reference copy; when the synchronization condition is triggered, key parameter values of the base replicas are synchronized to other algorithm replica containers.
The embodiment of the application also provides a computing device, which comprises:
A memory for storing a computer program;
and a processor, configured to implement the steps of the plug-in control method according to the above embodiment when executing the computer program.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the plug-in control method according to the above embodiment.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The application provides a plug-in control method, a plug-in control device, a computing device and a computer readable storage medium of a DCS controller. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present application and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.

Claims (8)

1. The plug-in control method of the DCS controller is characterized by comprising the following steps of:
Receiving measurement point data from a DCS controller;
controlling a plurality of algorithm copy containers to perform control algorithm calculation on the measuring point data to obtain a plurality of control results;
Selecting the plurality of control results based on a chip selection strategy to obtain a target control result;
The target control result is sent to the DCS for control, so that the DCS controller adopts the target control result to control the process;
the method comprises the steps of controlling a plurality of algorithm copy containers to perform control algorithm calculation on the measuring point data to obtain a plurality of control results, wherein the method comprises the following steps:
the measuring point data are respectively sent to each algorithm copy container;
controlling each algorithm copy container to read key parameter values from a cache database;
controlling each algorithm copy container to calculate the measuring point data based on the key parameter values to obtain corresponding control results;
the method further comprises the steps of:
Counting the selection results of the target control results to obtain the selection frequency corresponding to each algorithm copy container;
taking the algorithm copy container with the largest selected frequency as a reference copy;
when a synchronization condition is triggered, the key parameter values of the basic copy are synchronized to other algorithm copy containers.
2. The plug-in control method of claim 1, wherein receiving the measurement point data from the DCS controller comprises:
receiving the measuring point data from the DCS controller according to a preset period;
and saving the measuring point data into a source data pool.
3. The plug-in control method according to claim 1, wherein selecting the plurality of control results based on a chip selection policy to obtain a target control result comprises:
Performing effect prediction on the plurality of control results based on a chip selection strategy to obtain an effect value corresponding to each control result;
and selecting the control result with the largest effect value as the target control result.
4. An add-on control device of a DCS, comprising:
The data receiving module is used for receiving the measuring point data from the DCS controller;
The multi-algorithm copy calculation module is used for controlling the plurality of algorithm copy containers to perform control algorithm calculation on the measuring point data so as to obtain a plurality of control results;
the result selection module is used for selecting the plurality of control results based on a chip selection strategy to obtain a target control result;
the result sending module is used for sending the target control result to the DCS control so that the DCS controller can perform process control by adopting the target control result;
Wherein the device is further for: the measuring point data are respectively sent to each algorithm copy container; controlling each algorithm copy container to read key parameter values from a cache database; controlling each algorithm copy container to calculate the measuring point data based on the key parameter values to obtain corresponding control results; counting the selection results of the target control results to obtain the selection frequency corresponding to each algorithm copy container; taking the algorithm copy container with the largest selected frequency as a reference copy; when a synchronization condition is triggered, the key parameter values of the basic copy are synchronized to other algorithm copy containers.
5. The plug-in control device according to claim 4, wherein the data receiving module is specifically configured to receive the measurement point data from the DCS controller according to a preset period; and saving the measuring point data into a source data pool.
6. The plug-in control device according to claim 4, wherein the multi-algorithm copy calculation module is specifically configured to send the measurement point data to each of the algorithm copy containers respectively; controlling each algorithm copy container to read key parameter values from a cache database; and controlling each algorithm copy container to calculate the measuring point data based on the key parameter values, and obtaining a corresponding control result.
7. A computing device, comprising:
A memory for storing a computer program;
a processor for implementing the steps of the plug-in control method according to any one of claims 1 to 3 when executing the computer program.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the plug-in control method according to any of claims 1 to 3.
CN202111470106.4A 2021-12-03 2021-12-03 Plug-in control method and related device of DCS controller Active CN114167828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111470106.4A CN114167828B (en) 2021-12-03 2021-12-03 Plug-in control method and related device of DCS controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111470106.4A CN114167828B (en) 2021-12-03 2021-12-03 Plug-in control method and related device of DCS controller

Publications (2)

Publication Number Publication Date
CN114167828A CN114167828A (en) 2022-03-11
CN114167828B true CN114167828B (en) 2024-06-14

Family

ID=80482923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111470106.4A Active CN114167828B (en) 2021-12-03 2021-12-03 Plug-in control method and related device of DCS controller

Country Status (1)

Country Link
CN (1) CN114167828B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194645B2 (en) * 2005-02-09 2007-03-20 International Business Machines Corporation Method and apparatus for autonomic policy-based thermal management in a data processing system
US8190682B2 (en) * 2006-03-31 2012-05-29 Amazon Technologies, Inc. Managing execution of programs by multiple computing systems
JP2009536260A (en) * 2006-05-05 2009-10-08 プラスコエナジー アイピー ホールディングス、エス.エル.、ビルバオ シャフハウゼン ブランチ Control system for conversion of carbonaceous feedstock to gas
CN101751023A (en) * 2008-12-12 2010-06-23 北京航空航天大学 Main control part and method for multi-parameter real-time measurement and control system
US9280618B1 (en) * 2013-07-26 2016-03-08 Applied Predictive Technologies, Inc. Systems and methods for control strategy criteria selection
EP3343496A1 (en) * 2016-12-28 2018-07-04 Robotina d.o.o. Method and system for energy management in a facility
CN111858058A (en) * 2020-07-24 2020-10-30 成都成信高科信息技术有限公司 SGD load balancing method and device based on parallel computing and storage medium
CN112102111B (en) * 2020-09-27 2021-06-08 华电福新广州能源有限公司 Intelligent processing system for power plant data

Also Published As

Publication number Publication date
CN114167828A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN107295080B (en) Data storage method applied to distributed server cluster and server
CN110532247B (en) Data migration method and data migration system
CN108600353B (en) Parallel block synchronization method of block chain nodes
CN106354865B (en) Method, device and system for synchronizing master database and slave database
CN113987064A (en) Data processing method, system and equipment
CN112118315A (en) Data processing system, method, device, electronic equipment and storage medium
CN107623703B (en) Synchronization method, device and system for Global Transaction Identifier (GTID)
CN103580915A (en) Method and device for determining main control node of trunking system
CN107360233A (en) Method, apparatus, equipment and the readable storage medium storing program for executing that file uploads
US9367298B1 (en) Batch configuration mode for configuring network devices
CN110471692A (en) Over-the-air upgrade method, device, equipment and the storage medium of terminal program
CN112732756A (en) Data query method, device, equipment and storage medium
CN115185787A (en) Method and device for processing transaction log
CN114167828B (en) Plug-in control method and related device of DCS controller
CN111083016B (en) Polling table processing method and device, storage medium and equipment
CN114584452A (en) Method, device and system for processing fault
CN111880947A (en) Data transmission method and device
CN114866395B (en) Method and device for communication of heartbeat of multi-group distributed consistency protocol cluster
CN112540966A (en) File synchronization method and device
CN114019785B (en) Data synchronization method, system, equipment and medium of multiple redundant system
CN116938779A (en) Automatic detection method, single board, electronic device and storage medium
CN110086660B (en) Data processing method and device
CN111367740A (en) BMC debugging system and method and computer readable storage medium
CN112291299A (en) Synchronization method, device, equipment and storage medium based on AI Station inference platform
JP2004102493A (en) Contents distributing method and contents distribution controller

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
GR01 Patent grant
GR01 Patent grant