A distributed control system advanced algorithm access method, system, device and medium

By dividing the data area in the distributed control system and performing table processing, the problem of limited data interaction between DCS and advanced algorithms is solved, interaction with different protocol systems is realized, the dependence on the DCS system is reduced, and advanced algorithms are simplified access process.

CN116125924BActive Publication Date: 2025-01-21NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310031933.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-10
Publication Date
2025-01-21
Estimated Expiration
2043-01-10

AI Technical Summary

Technical Problem

In the prior art, the interaction between the DCS and advanced algorithms of the decentralized control system is limited, and effective data interaction cannot be achieved, resulting in insufficient control system optimization and real-time operation guidance.

Method used

By dividing the algorithm data area, system data area and interface data area in the data area, and converting the interactive data into a data table with mapping relationships based on the preset basic data table, data interaction between advanced algorithms, DCS systems and human-machine interfaces is realized. .

Benefits of technology

It realizes the ability to interact with decentralized control systems using different protocols, reduces the strong dependence of advanced algorithms on the DCS system, simplifies the access process of advanced algorithms, and can meet the requirements without increasing equipment investment and changing site conditions. Access requirements for advanced algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116125924B_ABST
    Figure CN116125924B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and medium for accessing advanced algorithms of a distributed control system. The method comprises the following steps: setting a data area, and dividing the data area into an algorithm data area, a system data area and an interface data area for storing interactive data of advanced algorithms, a DCS system and a human-machine interface; acquiring the interactive data of the advanced algorithms, the DCS system and the human-machine interface, and storing them in the algorithm data area, the system data area and the interface data area respectively; converting the interactive data in the algorithm data area, the system data area and the interface data area into an algorithm data table, a system data table and an interface data table with a mapping relationship based on a preset basic data table; and realizing data interaction between the advanced algorithms, the DCS system and the human-machine interface based on the algorithm data table, the system data table and the interface data table. The present invention can meet the demand for accessing advanced algorithms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a distributed control system advanced algorithm access method, system, device and medium, belonging to the technical field of data interaction. Background Art

[0002] The current distributed control system DCS of power plants, while meeting the basic production needs, has the need to access advanced algorithms in control system optimization, real-time operation guidance, real-time performance calculation and economic analysis.

[0003] The current safety instrument system SIS performs some data collection and performance calculations, but in the non-safe area network, the communication between SIS and DCS is generally one-way. It can only read data from DCS but cannot write data to DCS, making it impossible to realize the interaction between DCS and advanced algorithms.

[0004] Currently, advanced algorithms are implemented in the logic configuration of distributed control systems (DCS), but this requires third parties to master different distributed control system platform configuration methods, which takes a long time to cooperate, and some complex algorithms cannot be implemented in logic configuration. Opening the DCS manufacturer's data interface to third parties as part of the DCS manufacturer's upper-level monitoring program has a high degree of coupling with DCS, and the cooperation time is long and difficult.

[0005] There is also a method of implementing the algorithm on a third-party device, which can be a PLC, computer, etc., and then interacting with the distributed control system through communication. This method increases hardware investment and failure points. Summary of the invention

[0006] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method, system, device and medium for accessing advanced algorithms of a distributed control system. Without increasing equipment investment and changing on-site conditions, the present invention can rationally utilize existing resources to realize data interaction between advanced algorithms and distributed control systems using different protocols, thereby meeting the needs of advanced algorithm access.

[0007] To achieve the above object, the present invention is implemented by adopting the following technical solutions:

[0008] In a first aspect, the present invention provides a method for accessing an advanced algorithm of a distributed control system, comprising:

[0009] Set up a data area and divide it into an algorithm data area, a system data area and an interface data area for storing advanced algorithms, DCS system and human-machine interface interaction data;

[0010] Acquire the interactive data of advanced algorithms, DCS systems and human-machine interfaces, and store them in the algorithm data area, system data area and interface data area respectively;

[0011] Based on the preset basic data table, the interactive data in the algorithm data area, the system data area and the interface data area are converted into an algorithm data table, a system data table and an interface data table with a mapping relationship;

[0012] Data interaction between advanced algorithms, DCS systems and human-machine interfaces is achieved based on algorithm data tables, system data tables and interface data tables.

[0013] Optionally, the basic data table includes table name, ID, data point name, data structure, data value, data preset value, description, and external related data; the table name is the name of the data table, and is unique; the ID is the primary key of the data table, and is unique; the data point name is the data tag name; the data structure includes single data, array, stack, queue, linked list, tree, hash table and heap; the data value is the data value of the data; the data preset value is the preset value of the data; the description is the detailed information description of the data; and the external related data is the table name and ID of the data table where the data comes from.

[0014] Optionally, the algorithm data table adds whether the historical record is recorded on the basis of the basic data table, and when the historical record is recorded as yes, the corresponding data is stored as historical data.

[0015] Optionally, storing the corresponding data as historical data includes dividing a historical data area from the data area, and storing the historical data in the historical data area.

[0016] Optionally, the system data table adds a simulation mode based on the basic data table, and when the simulation mode is yes, the corresponding data is simulated.

[0017] Optionally, the data interaction among the advanced algorithm, DCS system and human-machine interface includes:

[0018] When the external associated data in the algorithm data table, the system data table or the interface data table is empty, data is read from the algorithm data table, the system data table or the interface data table;

[0019] When the external associated data in the algorithm data table, system data table or interface data table is a table name and an ID, the corresponding data is read according to the table name and the ID and written into the algorithm data table, system data table or interface data table.

[0020] Optionally, there are multiple advanced algorithms and algorithm data areas, and they correspond one to one.

[0021] In a second aspect, the present invention provides a distributed control system advanced algorithm access system, the system comprising:

[0022] The data storage module is used to set the data area and divide the data area into an algorithm data area, a system data area and an interface data area for storing the interaction data of the advanced algorithm, the DCS system and the human-machine interface;

[0023] Data acquisition module, used to acquire the interaction data of advanced algorithms, DCS system and human-machine interface, and store them into algorithm data area, system data area and interface data area respectively;

[0024] A table conversion module is used to convert the interactive data in the algorithm data area, the system data area and the interface data area into an algorithm data table, a system data table and an interface data table having a mapping relationship based on a preset basic data table;

[0025] The data interaction module is used to realize data interaction between advanced algorithms, DCS systems and human-machine interfaces based on algorithm data tables, system data tables and interface data tables.

[0026] In a third aspect, the present invention provides a distributed control system advanced algorithm access device, including a processor and a storage medium;

[0027] The storage medium is used to store instructions;

[0028] The processor is used to operate according to the instructions to execute the steps of the above method.

[0029] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements the steps of the above method when executed by a processor.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] The present invention provides a method, system, device and medium for accessing advanced algorithms of a distributed control system. By dividing different data areas for advanced algorithms, DCS systems and human-machine interfaces, and tabulating the interactive data in different data areas, the interaction is performed according to the tabulated data. The method can realize the ability to interact with distributed control systems using different protocols, can match DCS systems of different manufacturers, thereby realizing the separation of advanced algorithms from DCS systems, reducing the strong dependence on DCS systems during the implementation of advanced algorithms, and can encapsulate and protect advanced algorithms, making it easy to cooperate between advanced algorithm providers and DCS manufacturers. The method provided by the present invention can facilitate the continuous increase of advanced algorithms without the need for hardware connection, thereby reasonably utilizing existing resources to realize the interaction between advanced algorithms and distributed control systems without increasing equipment investment and changing on-site conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1is a flow chart of a method for accessing an advanced algorithm of a distributed control system provided in Embodiment 1 of the present invention;

[0033] Figure 2 This is a connection diagram of a distributed control system advanced algorithm access method provided by Embodiment 1 of the present invention;

[0034] Figure 3 It is a schematic diagram of data interaction among the advanced algorithm, DCS system and human-machine interface provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0035] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0036] Embodiment 1:

[0037] like Figure 1 As shown, an embodiment of the present invention provides a method for accessing an advanced algorithm of a distributed control system, comprising the following steps:

[0038] 1. Set up the data area and divide it into the algorithm data area, system data area and interface data area for storing advanced algorithms, DCS system and human-machine interface interaction data;

[0039] 1.1. There are multiple advanced algorithms and algorithm data areas, and they correspond one to one. Multiple advanced algorithms implement related algorithms according to different functional requirements. Advanced algorithms can be used to achieve distributed control system optimization, real-time operation guidance, real-time performance calculation and economic analysis. Advanced algorithms can be provided by the DCS system manufacturer itself or by a third party. The third party can encapsulate its specific algorithm to protect the implementation details of the algorithm.

[0040] If a new advanced algorithm x is added, the advanced algorithm x data area is opened in the data area, and the corresponding relationship of data points is defined between the advanced algorithm x and the advanced algorithm x data area. The variables required for the calculation of the advanced algorithm x and the calculation results generated can interact with the advanced algorithm x data area. Therefore, advanced algorithms can be continuously superimposed as needed, and different algorithms can be continuously integrated into the system to continuously increase the functions of the system. Users can check the required advanced algorithms according to their needs. Different advanced algorithms can be used to achieve different functions, thereby continuously increasing the functional options of the system. Different advanced algorithms can also be used to achieve the same function, so as to compare the effects of different algorithms.

[0041] 1.2. The human-machine interface can realize a variety of interface styles, and can display numerical values, graphs, tables, curves, three-dimensional, animations, etc. according to the characteristics of the algorithm and on-site requirements. It can be free from the limitations of the upper monitoring and display software of the DCS system, so as to display the effects of the advanced algorithm in an intuitive and effective manner. If the third-party advanced algorithm has its own interface, it can be directly connected to this application system by loading the human-machine interface library.

[0042] 1.3. The DCS system can run in both real-time mode and simulation mode. In real-time mode, real-time data continuously updates the data in the system data area in the data area for use by advanced algorithms and human-machine interfaces. In simulation mode, the data in the system data area is simulated, and the data variables can provide fixed values, random values, square waves, ramps, sine and other simulated values. In simulation mode, the advanced algorithms and human-machine interface programs can be debugged without communicating with the DCS system, and debugging can be performed under different working conditions based on data combinations, thereby enhancing the availability and ease of use of advanced algorithms without affecting the DCS system. The human-machine interface provides switching buttons for real-time mode and simulation mode.

[0043] The system data area includes both the library functions designed by this application and provided to the DCS manufacturer, and the library functions provided by the DCS manufacturer. The use of the data interaction library functions provided by the DCS manufacturer can reduce the modification of the relevant programs of the DCS manufacturer, and only the system of this application needs to call the data interaction library provided by the DCS manufacturer to obtain the DCS data. The use of the data interaction library provided by the system of this application requires the DCS manufacturer to use the library to realize data interconnection, so there is no need to open the DCS library itself, so that the DCS database itself is not called externally.

[0044] 2. Obtain the interaction data of advanced algorithms, DCS systems and human-machine interfaces, and store them in the algorithm data area, system data area and interface data area respectively.

[0045] 3. Based on the preset basic data table, the interactive data in the algorithm data area, the system data area and the interface data area are converted into an algorithm data table, a system data table and an interface data table with a mapping relationship; Figure 2 shown.

[0046] 3.1. The basic data table includes table name, ID, data point name, data structure, data value, data preset value, description, and external related data; table name is the name of the data table, and it is unique; ID is the primary key of the data table, and it is unique; data point name is the data tag name; data structure includes single data, array, stack, queue, linked list, tree, hash table, and heap; data value is the data value of the data; data preset value is the preset value of the data; description is the detailed information description of the data; external related data is the table name and ID of the data table where the data comes from. The mapping relationship between data tables is realized based on external related data.

[0047] 3.2. The algorithm data table adds historical records based on the basic data table, as shown in Table 1, which provides an example of an algorithm data table.

[0048] Table 1:

[0049]

[0050] When the historical record is yes, the corresponding data is stored as historical data; as in Table 1, if the historical record of the data with ID 1 is yes, the data with ID 1 is stored as historical data. Storing the corresponding data as historical data includes dividing a historical data area from the data area, and storing the historical data in the historical data area.

[0051] 3.3. The system data table adds simulation mode on the basis of the basic data table, as shown in Table 2, which provides an example of a system data table.

[0052] Table 2:

[0053]

[0054] When the simulation mode is yes, the corresponding data is simulated. As shown in Table 2, if the simulation mode of the data with ID 1 is yes, the data with ID 1 is simulated.

[0055] 3.4. The interface data table is consistent with the basic data table. As shown in Table 3, an example of an interface data table is provided.

[0056] Table 3:

[0057]

[0058] 4. Realize data interaction between advanced algorithms, DCS systems and human-machine interfaces based on algorithm data tables, system data tables and interface data tables.

[0059] Data interaction includes:

[0060] When the external associated data in the algorithm data table, the system data table or the interface data table is empty, data is read from the algorithm data table, the system data table or the interface data table;

[0061] When the external associated data in the algorithm data table, system data table or interface data table is a table name and ID, the corresponding data is read according to the table name and ID and written into the algorithm data table, system data table or interface data table.

[0062] like Figure 3 As shown, taking Table 1, Table 2, and Table 3 as examples:

[0063] The structure of the data table of senior algorithm 1 to senior algorithm n is the same. The data of the algorithm data table includes both the data read from the senior algorithm and the data to be written to the senior algorithm. When the external data field is empty, it is the data read from the senior algorithm. When it is filled in according to the "external data related data: table name and ID", it is the data written to the senior algorithm. For example, DCS.1 in Table 1 is the point with ID 1 in the DCS table. The value of SeniorData4 is always consistent with the data with ID 1 in the DCS table.

[0064] The data in the system data table includes data read from the DCS system and data written to the DCS system by the advanced algorithm. When the external data field is empty, it is the point read from the DCS system. When it is filled in according to "External data associated data: table name and ID", it is the point written to the DCS. For example, HMI.1 in Table 2 is the point with ID 1 in the HMI table. The value of DCSData4 is always consistent with the data with ID 1 in the Senior table.

[0065] The data in the interface data table includes data read from the human-machine interface and data written to the human-machine interface. When the external data association field is empty, it is the point read from the human-machine interface. When it is filled in according to "External data association data: table name and ID", it is the point written to the human-machine interface. For example, DCS.1 in Table 3 is the point with the primary key value of 1 in the DCS table. The value of HMIData3 is always consistent with the data with ID 1 in the DCS table.

[0066] Embodiment 2:

[0067] An embodiment of the present invention provides a distributed control system advanced algorithm access system, the system comprising:

[0068] The data storage module is used to set the data area and divide the data area into an algorithm data area, a system data area and an interface data area for storing the interaction data of the advanced algorithm, the DCS system and the human-machine interface;

[0069] Data acquisition module, used to acquire the interaction data of advanced algorithms, DCS system and human-machine interface, and store them into algorithm data area, system data area and interface data area respectively;

[0070] A table conversion module is used to convert the interactive data in the algorithm data area, the system data area and the interface data area into an algorithm data table, a system data table and an interface data table having a mapping relationship based on a preset basic data table;

[0071] The data interaction module is used to realize data interaction between advanced algorithms, DCS systems and human-machine interfaces based on algorithm data tables, system data tables and interface data tables.

[0072] Embodiment three:

[0073] Based on the first embodiment, the embodiment of the present invention provides a distributed control system advanced algorithm access device, including a processor and a storage medium;

[0074] The storage medium is used to store instructions;

[0075] The processor is used to operate according to the instructions to execute the steps of the above method.

[0076] Embodiment 4:

[0077] Based on the first embodiment, the embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, characterized in that the program implements the steps of the above method when executed by a processor.

[0078] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0079] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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.

[0080] 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.

[0081] 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.

[0082] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for accessing advanced algorithms in a distributed control system, characterized in that: include: Set up a data area and divide it into an algorithm data area, a system data area and an interface data area for storing advanced algorithms, DCS system and human-machine interface interaction data; Acquire the interactive data of advanced algorithms, DCS systems and human-machine interfaces, and store them in the algorithm data area, system data area and interface data area respectively; Based on the preset basic data table, the interactive data in the algorithm data area, the system data area and the interface data area are converted into an algorithm data table, a system data table and an interface data table with a mapping relationship; Realize data interaction between advanced algorithms, DCS systems and human-machine interfaces based on algorithm data tables, system data tables and interface data tables; The basic data table includes table name, ID, data point name, data structure, data value, data preset value, description, and external related data; the table name is the name of the data table and is unique; the ID is the primary key of the data table and is unique; the data point name is the data tag name; the data structure includes single data, array, stack, queue, linked list, tree, hash table and heap; the data value is the data value of the data; the data preset value is the preset value of the data; the description is the detailed information description of the data; the external related data is the table name and ID of the data table where the data comes from; The data interaction between the advanced algorithm, DCS system and human-machine interface includes: When the external associated data in the algorithm data table, the system data table or the interface data table is empty, data is read from the algorithm data table, the system data table or the interface data table; When the external associated data in the algorithm data table, system data table or interface data table is a table name and an ID, the corresponding data is read according to the table name and the ID and written into the algorithm data table, system data table or interface data table.

2. A distributed control system advanced algorithm access method according to claim 1, characterized in that: The algorithm data table adds whether the historical record is recorded on the basis of the basic data table, and when the historical record is recorded as yes, the corresponding data is stored as historical data.

3. A distributed control system advanced algorithm access method according to claim 2, characterized in that: The storing the corresponding data as historical data includes dividing a historical data area into a data area, and storing the historical data in the historical data area.

4. A distributed control system advanced algorithm access method according to claim 1, characterized in that: The system data table adds a simulation mode on the basis of the basic data table. When the simulation mode is yes, the corresponding data is simulated.

5. A distributed control system advanced algorithm access method according to claim 1, characterized in that: There are multiple high-level algorithms and algorithm data areas, and they correspond one to one.

6. A distributed control system advanced algorithm access system, characterized in that: The system comprises: The data storage module is used to set the data area and divide the data area into an algorithm data area, a system data area and an interface data area for storing the interaction data of the advanced algorithm, the DCS system and the human-machine interface; Data acquisition module, used to acquire the interaction data of advanced algorithms, DCS system and human-machine interface, and store them into algorithm data area, system data area and interface data area respectively; A table conversion module is used to convert the interactive data in the algorithm data area, the system data area and the interface data area into an algorithm data table, a system data table and an interface data table having a mapping relationship based on a preset basic data table; Data interaction module, used to realize data interaction between advanced algorithms, DCS system and human-machine interface based on algorithm data table, system data table and interface data table; The basic data table includes table name, ID, data point name, data structure, data value, data preset value, description, and external related data; the table name is the name of the data table and is unique; the ID is the primary key of the data table and is unique; the data point name is the data tag name; the data structure includes single data, array, stack, queue, linked list, tree, hash table and heap; the data value is the data value of the data; the data preset value is the preset value of the data; the description is the detailed information description of the data; the external related data is the table name and ID of the data table where the data comes from; The data interaction between the advanced algorithm, DCS system and human-machine interface includes: When the external associated data in the algorithm data table, the system data table or the interface data table is empty, data is read from the algorithm data table, the system data table or the interface data table; When the external associated data in the algorithm data table, system data table or interface data table is a table name and an ID, the corresponding data is read according to the table name and the ID and written into the algorithm data table, system data table or interface data table.

7. A distributed control system advanced algorithm access device, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Local control network processor (LCNP) emulator for multi-generation control systems

    CN103201690A

  • Detection and supervision information management system architecture and program design method

    CN107274326A