A high-precision integration method and system for distributed control system alarm event signals

By storing and transmitting real-time data and alarm event information on the DCS database server, and combining the OPC-AE/OPC-DA protocol and the InfluxDB database, the redundant coding problem between the DCS and SIS systems is solved, high-precision alarm event integration is achieved, and the efficiency and safety of power production are improved.

CN118584882BActive Publication Date: 2025-01-07LUCULENT SMART TECHNOLOGIES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411053599.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2025-01-07
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

In the existing power production information system construction, the distributed control system (DCS) and the plant-level monitoring system (SIS) exist independently, resulting in redundant encoding and decoding processes, low accuracy, low efficiency, and the SIS needs to repeatedly implement alarm thresholds and logical condition judgments, which is a huge workload.

Method used

By storing real-time data and alarm event information on the DCS database server, a physical data link is constructed to transmit the data to the management information area. The OPC-AE and OPC-DA protocols are used, combined with data forwarding services and one-way gateways for encrypted transmission. The InfluxDB database is used for data matching and processing to achieve high-precision integration of alarm events.

Benefits of technology

It significantly reduces the workload of repeatedly performing alarm monitoring condition judgment and alarm level judgment in SIS, improves the accuracy and timeliness of alarm events, enhances the safety and stability of the power production process, and reduces implementation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584882B_ABST
    Figure CN118584882B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-precision integration method and system for alarm event signals of a distributed control system, which relates to the technical field of signal data integration, including storing real-time data and generated alarm event information on a DCS database server; constructing a physical data link to transmit the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone; and calling the real-time data of the measuring points in the real-time library database and the alarm event message queue data in the corresponding InfluxDB database. The high-precision integration method for alarm event signals of a distributed control system provided by the present invention integrates the distributed control system DCS and the plant-level monitoring system SIS, ensuring that the measuring point alarm event information in the SIS is consistent with that in the DCS, which can avoid the workload of repeatedly implementing the alarm monitoring condition judgment and the alarm level judgment in the plant-level monitoring system, and significantly reduce the implementation cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal data integration, and in particular to a high-precision integration method and system for alarm event signals of a distributed control system. Background Art

[0002] The business systems of energy and power enterprises based on computer and network technology are usually divided into production control areas and management information areas. The production control area can be further divided into control areas (safety area I) and non-control areas (safety area II). In the existing power production information construction system, the distributed control system DCS and the plant-level monitoring system SIS are two systems in different business areas. The distributed control system DCS is located in the control area and is mainly used for automatic control of the continuous production process of electricity, while the plant-level monitoring system SIS is generally located in the management information area and is mainly used for data collection and real-time monitoring. Usually, the SIS system only receives real-time data (including analog, digital and packaging points) in the DCS, and it is necessary to set real-time data alarm thresholds and logical conditions in the plant-level monitoring system SIS to judge the alarm status of the real-time data measurement points. The number of real-time measurement points in the distributed control system DCS is generally between tens of thousands and hundreds of thousands, so the workload of repeatedly implementing the measurement point alarm module in the plant-level monitoring system SIS is huge.

[0003] With the development of industrial automation in the energy and power industry, comprehensive and real-time monitoring and response to alarm events generated in daily production processes have become an important means to improve production efficiency and ensure production safety. Therefore, the native alarm event signal generated in the distributed control system DCS is integrated into the plant-level monitoring system SIS to achieve real-time transmission and complete reproduction of the DCS alarm event signal to the SIS, which can avoid the repeated implementation of alarm thresholds and logical conditions for real-time measurement point alarms in the SIS, and is also of great practical significance for improving the accuracy and timeliness of alarm events in the plant-level monitoring system. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is: the existing data decentralized control method has the problem that the monitoring system is relatively independent and there is redundancy in the encoding and decoding processes, low accuracy, low efficiency, and how to directly use DCS data to display the equipment status and avoid the problem of SIS reproducing data.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a high-precision integration method for alarm event signals of a distributed control system, including storing real-time data and generated alarm event information on a DCS database server; constructing a physical data link to transmit the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone; and calling the real-time data of the measuring points in the real-time library database and the corresponding alarm event message queue data in the InfluxDB database.

[0007] As a preferred solution of the high-precision integration method of alarm event signals of distributed control systems described in the present invention, the real-time data stored and the alarm event information generated on the DCS database server include real-time data and alarm event signals, the real-time data include analog quantities, digital quantities and packaging points, and the alarm event signals include alarm events, system numbers, alarm point names, alarm point descriptions, alarm types, current values, units, set values, alarm states, quality codes, alarm levels and record type field information.

[0008] As a preferred solution of the high-precision integration method of the distributed control system alarm event signal of the present invention, the physical data link includes the DCS transmitting the generated alarm event signal to the first interface machine through the OPC-AE protocol, and transmitting the real-time data signal to the first interface machine through the OPC-DA protocol, which is expressed as:

[0009] T sync (t ae ,t da ) = t da +δ

[0010]

[0011] Among them, t ae and t da represent the timestamps received from OPC-AE and OPC-DA protocols respectively, and δ is the time offset.

[0012] Mingham codes are used to detect and correct errors or losses introduced when using different protocols.

[0013] The real-time measurement point quality code in the alarm event information is transmitted to the first interface machine through the OPC-DA protocol along with the real-time data, which is expressed as:

[0014]

[0015] Among them, d t and q t are the time series of real-time data and quality code, and are data points di and quality code q j The timestamp, Q sync The output is the data point and quality code pairs that correspond in time.

[0016] As a preferred solution of the high-precision integration method of distributed control system alarm event signals described in the present invention, wherein: the physical data link also includes a data forwarding service installed on the first interface machine to receive real-time data and alarm event signals transmitted by the DCS database, the data forwarding service stores the received data in the interface machine cache, the data forwarding service on the first interface machine parses the received data quality code, and obtains the real-time measurement point quality code according to the DCS-SIS interface protocol. The DCS-SIS interface protocol stipulates that the data quality code is represented by the lower eight bits of the Quality field, corresponding to four quality codes: Good, Fair, Poor, and Bad, respectively, where Good corresponds to binary 11000000, Fair corresponds to binary 00001000, Poor corresponds to binary 01000000, and Bad corresponds to binary 00000000.

[0017] As a preferred solution of the high-precision integration method of the distributed control system alarm event signal of the present invention, wherein: the data forwarding service on the first interface machine will receive the real-time data and the alarm event and forward it to the second interface machine in the non-control area through the one-way network gate 1, and encrypt it based on the security level of the data. If the quality code is Good or Fair, AES-256 encryption is selected. If the quality code is Poor, AES-128 encryption is selected. If the data code is Bad, TripleDES encryption is selected. The data forwarding service on the second interface machine will receive the real-time data and the alarm event and forward it to the third interface machine in the management information area through the one-way network gate 2. The one-way network gate realizes the one-way transmission of data through physical isolation and security strategy. During the transmission, the encrypted data will be subjected to priority judgment and queue judgment. According to the quality code type, the quality code value is determined, which is expressed as:

[0018]

[0019] Wherein, l represents the quality code, and p(l) represents the quality code value.

[0020] The data queue priority is determined based on the quality code value and the expected response time, expressed as:

[0021] P(d)=ω1·p(l)+ω2·(Tt d )

[0022] Where T represents the current time or deadline, t dis the generation time of the data, ω1 and ω1 represent the weights.

[0023] After completing the priority judgment, the queue capacity is checked. If the queue is not full, the data is added to the queue directly. If the queue is full, the data to be added is compared with the lowest priority data in the queue. When the priority of the new data is higher than the lowest priority in the queue, it is replaced. When the priority of the new data is lower than the lowest priority in the queue, the lower priority data of the two data items is temporarily stored. When there is temporary data, the priority of each temporarily stored data item will be re-evaluated according to the original priority and temporary storage round. Each time an item of data is added to the temporary storage area as temporary data, the quality code value of the original temporary data is reduced by one. When the temporary storage area is full, the quality code value of the original temporary data is reduced by one. The lowest priority data is compared, and the AlarmName field is used to determine the time name. The name is transmitted to the third interface machine in the management information area for priority judgment. If there is data with the same priority, the new data is regarded as having a lower priority than the data in the queue or storage area.

[0024] As a preferred solution of the high-precision integration method of alarm event signals of distributed control systems described in the present invention, the transmission from security zone I to the management information zone also includes the data forwarding service of the third interface machine forwarding the received real-time data to the real-time database, pushing the received alarm event signal to the Kafka service on the Linux server, and the Kafka service pushing the alarm event message queue to the InfluxDB database through the data forwarding service. The data forwarding service uses Confluent.Kafka technology, and writes the received message into the InfluxDB database through preprocessing by subscribing to the Kafka message queue containing the alarm information.

[0025] As a preferred solution of the high-precision integration method of alarm event signals of distributed control systems described in the present invention, wherein: the real-time data of measuring points in the real-time library database and the alarm event message queue data in the corresponding InfluxDB database are called by the plant-level monitoring system SIS service, and the alarm events of the corresponding measuring points are matched in the InfluxDB database at the same time, and then the alarm type and alarm level of the measuring point are judged according to the values ​​of the corresponding fields in the alarm events corresponding to the measuring points. The AlarmName field is used to judge the alarm type, the limit alarm corresponds to four-level high limit alarms H4, H3, H2, H1 and four-level low limit alarms L1, L2, L3, L4, the rate alarm corresponds to Rate, the increment alarm corresponds to Increment, the digital quantity alarm corresponds to CFN, and the packing point alarm corresponds to PACK CFN.

[0026] In the SIS monitoring screen of the plant-level monitoring system, a single measuring point text box consists of real-time data and data quality code. The real-time data and data quality code of the measuring point come from the real-time database, and the alarm event information of the measuring point is matched in InfluxDB through the measuring point name. In the monitoring screen, the background color of the corresponding measuring point real-time data text box is set according to the different alarm levels in the matched alarm event information.

[0027] Another object of the present invention is to provide a high-precision integrated system for alarm event signals of a distributed control system, which can realize the monitoring of DCS native alarm signals by integrating the native alarm signal data in the distributed control system DCS into the plant-level monitoring system SIS system, thereby solving the problem that the current data distributed control technology contains the need for SIS to reproduce the alarm signals generated by DCS.

[0028] As a preferred solution of the distributed control system alarm event signal high-precision integration system described in the present invention, it includes: a data storage and acquisition module, a data transmission module, and a data matching module. The data storage and acquisition module is used to store real-time data and generated alarm event information on the DCS database server. The data transmission module is used to construct a physical data link to transmit the real-time data generated in the DCS and the corresponding alarm signal information from the safety zone I to the management information zone. The data matching module is used to call the real-time data of the measuring point in the real-time library database and the corresponding alarm event message queue data in the InfluxDB database.

[0029] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a method for high-precision integration of alarm event signals of a distributed control system.

[0030] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a high-precision integration method for alarm event signals of a distributed control system.

[0031] Beneficial effects of the present invention: The high-precision integration method of the distributed control system alarm event signal provided by the present invention integrates the distributed control system DCS and the plant-level monitoring system SIS to ensure that the measurement point alarm event information in the SIS is consistent with that in the DCS, which can avoid the workload of repeatedly implementing the alarm monitoring condition judgment and alarm level judgment in the plant-level monitoring system, and significantly reduce the implementation cost. By integrating the native alarm signal data in the distributed control system DCS into the plant-level monitoring system SIS system, the monitoring of the DCS native alarm signal can be realized, which significantly improves the production efficiency and management efficiency, and timely and accurately detects and responds to abnormal alarm situations that occur in the power production process, thereby improving the safety and stability of the power production process. The present invention achieves better results in reducing costs, accuracy and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0033] Figure 1 An overall flow chart of a method for high-precision integration of alarm event signals of a distributed control system provided by the first embodiment of the present invention.

[0034] Figure 2 A schematic diagram of integrating alarm event signals in a monitoring screen of a plant-level monitoring system SIS according to a high-precision integration method for alarm event signals of a distributed control system provided in a first embodiment of the present invention.

[0035] Figure 3 This is an overall flow chart of a high-precision integration system for alarm event signals of a distributed control system provided by the third embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0037] Example 1

[0038] Reference Figure 1 , as one embodiment of the present invention, provides a high-precision integration method for alarm event signals of a distributed control system, comprising:

[0039] S1: Store real-time data and generated alarm event information on the DCS database server.

[0040] Furthermore, the real-time data and the generated alarm event information stored on the DCS database server include real-time data and alarm event signals. The real-time data includes analog quantity, digital quantity and packaging point. The alarm event signal includes alarm event, system number, alarm point name, alarm point description, alarm type, current value, unit, set value, alarm status, quality code, alarm level and record type field information.

[0041] S2: The constructed physical data link transmits the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone.

[0042] Furthermore, the physical data link includes the DCS transmitting the generated alarm event signal to the first interface machine through the OPC-AE protocol, and transmitting the real-time data signal to the first interface machine through the OPC-DA protocol, which is expressed as:

[0043] T sync (t ae ,t da ) = t da +δ

[0044]

[0045] Among them, t ae and t da represent the timestamps received from OPC-AE and OPC-DA protocols respectively, and δ is the time offset.

[0046] Mingham codes are used to detect and correct errors or losses introduced when using different protocols.

[0047] The real-time measurement point quality code in the alarm event information is transmitted to the first interface machine through the OPC-DA protocol along with the real-time data, which is expressed as:

[0048]

[0049] Among them, d t and q t are the time series of real-time data and quality code, and are data points d i and quality code q j The timestamp, Q sync The output is the data point and quality code pairs that correspond in time.

[0050] It should be noted that the physical data link also includes a data forwarding service installed on the first interface machine to receive real-time data and alarm event signals transmitted by the DCS database. The data forwarding service stores the received data in the interface machine cache. The data forwarding service on the first interface machine parses the received data quality code and obtains the real-time measurement point quality code according to the DCS-SIS interface protocol. The DCS-SIS interface protocol stipulates that the data quality code is represented by the lower eight bits of the Quality field, corresponding to the four quality codes of Good, Fair, Poor, and Bad, respectively. Among them, Good corresponds to binary 11000000, Fair corresponds to binary 00001000, Poor corresponds to binary 01000000, and Bad corresponds to binary 00000000.

[0051] It is also quite clear that the data forwarding service on the first interface machine will receive real-time data and alarm events transmitted from the security zone I to the management information zone, and will be forwarded to the second interface machine in the non-control zone through the one-way network gate 1. The data will be encrypted based on the security level. If the quality code is Good or Fair, select AES-256 encryption. If the quality code is Poor, select AES-128 encryption. If the data code is Bad, select TripleDES encryption. The data forwarding service on the second interface machine will receive real-time data and alarm events and forward them to the third interface machine in the management information zone through the one-way network gate 2. The one-way network gate implements one-way data transmission through physical isolation and security policies. During the transmission process, the encrypted data will be prioritized and queued. According to the quality code type, the quality code value is determined, which is expressed as:

[0052]

[0053] Wherein, l represents the quality code, and p(l) represents the quality code value.

[0054] The data queue priority is determined based on the quality code value and the expected response time, expressed as:

[0055] P(d)=ω1·p(l)+ω2·(Tt d )

[0056] Where T represents the current time or deadline, t d is the generation time of the data, ω1 and ω1 represent the weights.

[0057] After completing the priority judgment, the queue capacity is checked. If the queue is not full, the data is added to the queue directly. If the queue is full, the data to be added is compared with the lowest priority data in the queue. When the priority of the new data is higher than the lowest priority in the queue, it is replaced. When the priority of the new data is lower than the lowest priority in the queue, the lower priority data of the two data items is temporarily stored. When there is temporary data, the priority of each temporarily stored data item will be re-evaluated according to the original priority and temporary storage round. Each time an item of data is added to the temporary storage area as temporary data, the quality code value of the original temporary data is reduced by one. When the temporary storage area is full, the quality code value of the original temporary data is reduced by one. The lowest priority data is compared, and the AlarmName field is used to determine the time name. The name is transmitted to the third interface machine in the management information area for priority judgment. If there is data with the same priority, the new data is regarded as having a lower priority than the data in the queue or storage area.

[0058] By judging the priority of the data in the queue, the system can ensure that the most important alarm information is processed first when resources are limited. When the queue is full and the priority of the new data is lower than the lowest priority data in the queue, the data will not be discarded immediately, but will be temporarily stored, and the priority will be re-evaluated over time to ensure that every data of every device can be displayed. When there is too much data, the data stored in the temporary storage area can also display its own name to the operation and maintenance personnel. The operation and maintenance personnel only need to check it simply to obtain real-time data, ensuring that the data can scroll quickly while ensuring that the information of each device can be displayed.

[0059] S3: by calling the real-time data of the measuring points in the real-time library database and the corresponding alarm event message queue data in the InfluxDB database.

[0060] Furthermore, the data forwarding service of the third interface machine that transmits from the security zone I to the management information zone also forwards the received real-time data to the real-time database, and pushes the received alarm event signal to the Kafka service on the Linux server. The Kafka service pushes the alarm event message queue to the InfluxDB database through the data forwarding service. The data forwarding service uses Confluent.Kafka technology to subscribe to the Kafka message queue containing the alarm information, and writes the received message into the InfluxDB database through preprocessing.

[0061] It should be noted that the real-time data of the measuring points in the real-time library database and the alarm event message queue data in the corresponding InfluxDB database are called by the plant-level monitoring system SIS service. The real-time data in the real-time database is called, and the alarm events of the corresponding measuring points are matched in the InfluxDB database. Then, the alarm type and alarm level of the measuring point are judged according to the values ​​of the corresponding fields in the alarm events corresponding to the measuring points. The AlarmName field is used to judge the alarm type. The limit alarm corresponds to the four-level high limit alarm H4, H3, H2, H1 and the four-level low limit alarm L1, L2, L3, L4, the rate alarm corresponds to Rate, the incremental alarm corresponds to Increment, the digital alarm corresponds to CFN, and the packing point alarm corresponds to PACK CFN.

[0062] In the SIS monitoring screen of the plant-level monitoring system, a single measuring point text box consists of real-time data and data quality code. The real-time data and data quality code of the measuring point come from the real-time database, and the alarm event information of the measuring point is matched in InfluxDB through the measuring point name. In the monitoring screen, the background color of the corresponding measuring point real-time data text box is set according to the different alarm levels in the matched alarm event information.

[0063] Example 2

[0064] An embodiment of the present invention provides a high-precision integration method for alarm event signals of a distributed control system. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0065] First, a plant transmits the DCS alarm signal generated in Zone 1 to Zone 3 through a data link. The plant-level monitoring system in Zone 3 can match the real-time data of the measuring points in the real-time library with the alarm events in the InfluxDB in the real-time database by matching the measuring point information, and obtain complete measuring point alarm information, which is convenient for real-time monitoring of DCS native alarms and timely response and processing. A single measuring point text box consists of real-time data and data quality code, where the real-time data and quality code of the measuring point come from the real-time database. Data collection is carried out for 10 days. The traditional method is suspended, independent monitoring system, DCS and SIS operate independently.

[0066] Table 1 Experimental data table

[0067]

[0068] Referring to Table 1, it can be seen that our invention basically completes data processing once per second. This is because the native data is directly presented on the SIS system, which saves the process of reproducing the alarm in the SIS system. The data information throughput of the equipment in the entire plant is huge, and there are data errors in the encoding and transcoding process. This is why the accuracy of our invention is much higher than the existing technology. At the same time, the precise synchronization of the two protocols significantly reduces the possibility of mismatch between alarm information and real-time data, further improving the alarm accuracy of our invention.

[0069] Example 3

[0070] Reference Figure 3 , as an embodiment of the present invention, provides a high-precision integrated system for alarm event signals of a distributed control system, including a data storage and acquisition module, a data transmission module, and a data matching module.

[0071] Among them, the data storage and acquisition module is used to store real-time data and generated alarm event information on the DCS database server; the data transmission module is used to construct a physical data link to transmit the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone; the data matching module is used to call the real-time data of the measuring points in the real-time library database and the alarm event message queue data in the corresponding InfluxDB database.

[0072] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0073] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0074] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0075] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

[0076] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A high-precision integration method for alarm event signals of a distributed control system, characterized in that: include: Store real-time data and generated alarm event information on the DCS database server; The constructed physical data link transmits the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone; By calling the real-time data of the measuring points in the real-time database and the corresponding alarm event message queue data in the InfluxDB database; The physical data link includes the DCS transmitting the generated alarm event signal to the first interface machine through the OPC-AE protocol, and transmitting the real-time data signal to the first interface machine through the OPC-DA protocol, which is expressed as: T sync (t ae ,t da )=t da +δ Among them, t ae and t da They represent the timestamps received from the OPC-AE and OPC-DA protocols, respectively, and δ is the time offset; Minghan code is used to detect and correct errors or losses introduced when using different protocols; The real-time measurement point quality code in the alarm event information is transmitted to the first interface machine through the OPC-DA protocol along with the real-time data, which is expressed as: Among them, d t and q t are the time series of real-time data and quality code, and are data points d i and quality code q j The timestamp, Q sync The output is the data point and quality code pairs that correspond in time; The physical data link also includes a data forwarding service installed on the first interface machine to receive real-time data and alarm event signals transmitted by the DCS database, the data forwarding service stores the received data in the interface machine cache, and the data forwarding service on the first interface machine parses the received data quality code, and obtains the real-time measurement point quality code according to the DCS-SIS interface specification. The DCS-SIS interface specification stipulates that the data quality code is represented by the lower eight bits of the Quality field, corresponding to four quality codes: Good, Fair, Poor, and Bad, respectively, where Good corresponds to binary 11000000, Fair corresponds to binary 00001000, Poor corresponds to binary 01000000, and Bad corresponds to binary 00000000; The data transmission from the security zone 1 to the management information zone includes the data forwarding service on the first interface machine forwarding the received real-time data and alarm events to the second interface machine in the non-control zone through the one-way network gate 1, encrypting the data based on the security level. If the quality code is Good or Fair, AES-256 encryption is selected. If the quality code is Poor, AES-128 encryption is selected. If the data code is Bad, TripleDES encryption is selected. The data forwarding service on the second interface machine forwards the received real-time data and alarm events to the third interface machine in the management information zone through the one-way network gate 2. The one-way network gate realizes the one-way transmission of data through physical isolation and security strategy. Priority judgment and queue judgment are performed on the encrypted data during the transmission process. According to the quality code type, the quality code value is determined, which is expressed as: Wherein, l represents the quality code, and p(l) represents the quality code value; The data queue priority is determined based on the quality code value and the expected response time, expressed as: P(d)=ω1·p(l)+ω2·(T-t d ) Where T represents the current time or deadline, t d is the generation time of the data, ω1 and ω2 represent weights; After completing the priority judgment, the queue capacity is checked. If the queue is not full, the data is added to the queue directly. If the queue is full, the data to be added is compared with the lowest priority data in the queue. When the priority of the new data is higher than the lowest priority in the queue, it is replaced. When the priority of the new data is lower than the lowest priority in the queue, the lower priority data of the two data items is temporarily stored. When there is temporary data, the priority of each temporarily stored data item will be re-evaluated according to the original priority and temporary storage round. When each data item is added to the temporary storage area as temporary data, the quality code value of the original temporary data is reduced by one. When the temporary storage area is full, the quality code value of the original temporary data is reduced by one. The lowest priority data is compared, and the AlarmName field is used to determine the time name. The name is transmitted to the third interface machine in the management information area for priority judgment. If there is data with the same priority, the new data is regarded as having a lower priority than the data in the queue or storage area. The transmission from the security zone I to the management information zone also includes the data forwarding service of the third interface machine forwarding the received real-time data to the real-time database, pushing the received alarm event signal to the Kafka service on the Linux server, and the Kafka service pushing the alarm event message queue to the InfluxDB database through the data forwarding service. The data forwarding service uses Confluent.Kafka technology to subscribe to the Kafka message queue containing the alarm information and write the received message into the InfluxDB database through preprocessing; The real-time data of the measuring points in the real-time library database and the alarm event message queue data in the corresponding InfluxDB database are called by the plant-level monitoring system SIS service. The real-time data in the real-time database is matched in the InfluxDB database at the same time. Then, the alarm type and alarm level of the measuring point are judged according to the value of the corresponding field in the alarm event corresponding to the measuring point. The AlarmName field is used to judge the alarm type. The limit alarm corresponds to the four-level high limit alarm H4, H3, H2, H1 and the four-level low limit alarm L1, L2, L3, L4. The rate alarm corresponds to Rate, the incremental alarm corresponds to Increment, the digital alarm corresponds to CFN, and the packing point alarm corresponds to PACKCFN. In the SIS monitoring screen of the plant-level monitoring system, a single measuring point text box consists of real-time data and data quality code. The real-time data and data quality code of the measuring point come from the real-time database, and the alarm event information of the measuring point is matched in InfluxDB through the measuring point name. In the monitoring screen, the background color of the corresponding measuring point real-time data text box is set according to the different alarm levels in the matched alarm event information.

2. The high-precision integration method for alarm event signals of a distributed control system according to claim 1, characterized in that: The real-time data stored and the alarm event information generated on the DCS database server include real-time data and alarm event signals, the real-time data include analog quantity, digital quantity and packaging point, the alarm event signal includes alarm event, system number, alarm point name, alarm point description, alarm type, current value, unit, set value, alarm status, quality code, alarm level and record type field information.

3. A system using the high-precision integration method for alarm event signals of a distributed control system as claimed in any one of claims 1 to 2, characterized in that: It includes data storage and acquisition module, data transmission module and data matching module; The data storage and acquisition module is used to store real-time data and generated alarm event information on the DCS database server; The data transmission module is used to construct a physical data link to transmit the real-time data and corresponding alarm signal information generated in the DCS from the safety zone I to the management information zone; The data matching module is used to call the real-time data of the measuring points in the real-time library database and the alarm event message queue data in the corresponding InfluxDB database.

4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method for high-precision integration of alarm event signals of a distributed control system according to any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for high-precision integration of alarm event signals of a distributed control system according to any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Private cloud platform architecture suitable for smart power plant

    CN114760302A