Substation equipment image-based abnormality detection method and abnormality detection device

By constructing an anomaly detection method based on substation equipment profiling, and using a deep learning model to detect anomalies in primary and secondary equipment, and comprehensively considering the correlation between equipment, the method solves the problem of low detection accuracy in existing technologies and achieves higher-precision equipment status monitoring.

CN119004330BActive Publication Date: 2026-11-27GUANGDONG POWER GRID CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411123672.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2026-11-27
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

Existing technologies fail to effectively consider the correlation between primary and secondary equipment, resulting in low accuracy in substation equipment condition monitoring.

Method used

An anomaly detection method based on substation equipment profiling is constructed. A first deep learning model is used to detect anomalies in primary equipment, and a second deep learning model is used to detect anomalies in secondary equipment. The correlation between equipment is taken into account. The model is trained by recurrent neural network and long short-term memory network, and prediction is made using equipment operating parameters, environmental information and historical data.

Benefits of technology

This improved the accuracy of substation equipment condition monitoring, ensuring the safe and stable operation of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004330B_ABST
    Figure CN119004330B_ABST
Patent Text Reader

Abstract

The application provides an abnormality detection method and device based on substation equipment image, the method comprising: acquiring first equipment data and second equipment data in real time; inputting the first equipment data into a first deep learning model to obtain a first equipment state probability value; inputting the second equipment data into a second deep learning model to obtain a second equipment state probability value; verifying primary equipment and secondary equipment according to the first equipment state probability value and the second equipment state probability value to determine whether the primary equipment and the secondary equipment have abnormal conditions; and performing abnormality repair processing on the primary equipment or the secondary equipment if the primary equipment or the secondary equipment has an abnormal condition. The application solves the problem of low detection accuracy in the prior art, in which the correlation of primary equipment and secondary equipment is not considered simultaneously, and the correlation between equipment is ignored to directly detect the equipment state, resulting in low detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of substation anomaly detection, and more specifically, to anomaly detection method, anomaly detection device, computer-readable storage medium, and computer program product based on substation equipment profiling. Background Technology

[0002] In power systems, substations, as key nodes for power conversion and transmission, are crucial for safe and stable operation. Primary and secondary equipment within substations together constitute the core components of the power system. Primary equipment is primarily responsible for power transmission and conversion, while secondary equipment is responsible for monitoring, protecting, and controlling the operation of primary equipment. Therefore, accurate detection of the status of primary and secondary equipment in substations is of great significance for ensuring the safe and stable operation of the power system. There is a close relationship between equipment profiling and historical equipment status. Equipment profiling is a comprehensive description and characterization of equipment features, performance, and behavior, including static attributes and dynamic behavioral information. Historical equipment status refers to records of the equipment's operating status, performance, and fault occurrences over a past period. Currently, model-based equipment status detection methods have become a research hotspot, automatically learning the normal operating status of equipment and predicting its future normal operating status. Compared to simple threshold setting methods, this eliminates the need for manual threshold adjustment, saving manpower.

[0003] However, existing technologies, such as the patent with publication number CN117033913A, do not specifically address the complexity and interrelationships between primary and secondary equipment. This poses a challenge to equipment status detection. Primary and secondary equipment differ in structure and function, and there is also a close interrelationship between them. This interrelationship also affects the detection of equipment status. Ignoring the interrelationships between equipment and directly detecting the equipment status reduces the detection accuracy and results in a large detection error, failing to meet the standards for intelligent anomaly detection. Summary of the Invention

[0004] The main objective of this application is to provide an anomaly detection method, anomaly detection device, computer-readable storage medium, and computer program product based on substation equipment profiling, so as to at least solve the problem that the correlation between primary and secondary equipment is not considered simultaneously in the prior art, and the equipment status is directly detected by ignoring the correlation factors between equipment, resulting in low detection accuracy.

[0005] To achieve the above objectives, according to one aspect of this application, an anomaly detection method based on substation equipment profiling is provided, comprising: real-time acquisition of first equipment data and second equipment data, wherein the first equipment data is real-time data of primary equipment in the substation at the current moment, and the second equipment data is operating status data of secondary equipment in the substation at the current moment and related information between the secondary equipment and the corresponding primary equipment; inputting the first equipment data into a first deep learning model to perform anomaly detection of the primary equipment using the first deep learning model, thereby obtaining a first equipment state probability value, wherein the first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm, each set of first training data including first sample equipment data of the primary equipment and a corresponding second sample state probability value of the primary equipment, wherein the first sample equipment data includes at least the equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, interval duration of equipment anomalies, and equipment fault records of the primary equipment collected within the same time interval, and the first equipment state probability value is the probability value of the equipment state of the primary equipment; inputting the second equipment data into a first deep learning model to perform anomaly detection of the primary equipment using the first deep learning model, thereby obtaining a first equipment state probability value; inputting the first ... Device data is input into a second deep learning model to perform anomaly detection on the secondary device data, obtaining a second device state probability value. The second deep learning model is trained using multiple sets of second training data through a Long Short-Term Memory (LSTM) network algorithm. Each set of second training data includes second sample device data of the secondary device and a corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and sample operation data of the second device. The target label is the normal and abnormal device state information obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device. The primary device and the secondary device are verified based on the first and second device state probability values ​​to determine whether an anomaly has occurred. If an anomaly occurs in the primary device or the secondary device, an anomaly repair process is performed on the primary device or the secondary device.

[0006] Optionally, before acquiring the first and second equipment data in real time, the method further includes: acquiring historical data of the substation, wherein the historical data includes at least equipment information data, equipment operation data, event record data, and maintenance management data; the equipment information data includes at least the equipment name, equipment type, rated voltage, current, frequency, power, and control parameters of each piece of equipment in the substation; the equipment operation data includes at least various parameter data of each piece of equipment during power transmission and discharge processes, as well as the equipment status information of each piece of equipment at each point in time within a historical time period; the event record data includes at least the accident type, accident time, and various parameter data at the time of the accident when the equipment malfunctions or becomes abnormal; and the maintenance management data includes records of regular equipment inspection, maintenance, and calibration, historical records of equipment malfunctions or abnormalities, cause analysis and processing results, and information on parts repaired and replaced; filtering out state-related data from the historical data, wherein the state-related data is data related to the status of the primary equipment and the status of the secondary equipment; and performing preprocessing operations on the state-related data to obtain a training set, wherein the training set includes first training data and second training data, and the preprocessing operations include at least data cleaning.

[0007] Optionally, before inputting the second device data into a second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value of the secondary device, the method further includes: calculating the correlation coefficient of each parameter pair in the primary device and the secondary device according to a first formula, wherein the first formula is: r i Let x be the correlation coefficient of the i-th parameter pair, and n be the total number of parameter pairs, i = (1, 2, 3, ..., n). i For the observation value of the primary device in the i-th parameter pair, y i Let x be the observed value of the secondary device in the i-th parameter pair, where the observed value is a data value randomly sampled from the historical data, and x is the average of the observed values ​​of the primary device in all parameter pairs. The parameter pair represents the average of the observations of the secondary equipment in all parameter pairs, where each parameter pair represents a combination of the observations corresponding to the primary equipment and the secondary equipment. Each parameter pair is assigned to a corresponding correlation parameter based on its correlation coefficient; the correlation parameters are categorized into strongly correlated parameters, weakly correlated parameters, and uncorrelated parameters. Corresponding weights are assigned to the strongly correlated parameters, weakly correlated parameters, and uncorrelated parameters. The sample target correlation coefficient between the primary equipment and the secondary equipment is calculated using a second formula, where the second formula is... R is the target correlation coefficient of the sample, ω i The weight of the i-th parameter to the associated parameter.

[0008] Optionally, classifying each parameter pair into corresponding correlated parameters based on the correlation coefficient of each parameter pair includes: forming a correlation matrix based on all correlation coefficients of all parameter pairs in the primary device and the secondary device, wherein the columns of the correlation matrix represent the observed values ​​of the primary device, the columns of the correlation matrix represent the observed values ​​of the secondary device, and the elements of the correlation matrix represent the correlation coefficients; drawing a heatmap based on the correlation matrix, wherein each cell in the heatmap represents the correlation coefficient of a parameter pair, and the color intensity in the heatmap represents the strength and direction of the correlation; identifying parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to a first threshold as strongly correlated parameters; identifying parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to a second threshold and less than the first threshold as weakly correlated parameters; and identifying parameter pairs whose absolute values ​​of the correlation coefficients are less than the second threshold as uncorrelated parameters.

[0009] Optionally, the primary device and the secondary device are verified based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device are in an abnormal state, including: determining that the primary device is in a normal state when the first device state probability value is greater than or equal to a first state threshold; issuing a first prompt message when the first device state probability value is less than the first state threshold but greater than or equal to the second state threshold, the first prompt message being used to prompt preventive maintenance measures for the primary device; and determining that the first device is in an abnormal state and the abnormal situation has occurred when the first device state probability value is less than the second state threshold. If the probability value of the second device's state is greater than or equal to a third state threshold, the secondary device is determined to be in a normal state. If the probability value of the second device's state is less than the third state threshold but greater than or equal to a fourth state threshold, a third prompt is issued, prompting preventative maintenance measures for the secondary device. If the probability value of the second device's state is less than the fourth state threshold, the second device is determined to be in an abnormal state and the abnormal situation has occurred, and a fourth prompt is issued, prompting the secondary device to undergo abnormal handling.

[0010] Optionally, before verifying the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have an abnormal situation, the method further includes: adjusting the first state threshold value and the second state threshold value in real time based on the historical data and real-time data corresponding to the primary device; and adjusting the third state threshold value and the fourth state threshold value in real time based on the historical data and real-time data corresponding to the secondary device.

[0011] Optionally, in the event of the abnormal situation occurring in the primary device or the secondary device, an abnormal repair process is performed on the primary device or the secondary device, including: in the event of the abnormal situation occurring in the primary device, determining a first abnormal repair strategy based on the abnormal situation, and performing abnormal repair process on the primary device according to the first abnormal repair strategy; in the event of the abnormal situation occurring in the secondary device, determining a second abnormal repair strategy based on the abnormal situation, and performing abnormal repair process on the secondary device according to the second abnormal repair strategy.

[0012] According to another aspect of this application, an anomaly detection device based on substation equipment profiling is provided. The device includes: a first acquisition unit, configured to acquire first equipment data and second equipment data in real time, wherein the first equipment data is real-time data of primary equipment in the substation at the current moment, and the second equipment data is the operating status data of secondary equipment in the substation at the current moment and related information between the secondary equipment and the corresponding primary equipment; a first input / output unit, configured to input the first equipment data into a first deep learning model to perform anomaly detection of the primary equipment using the first deep learning model, and obtain a first equipment state probability value, wherein the first deep learning model is trained using a recurrent neural network algorithm with multiple sets of first training data, each set of first training data including first sample equipment data of the primary equipment and a corresponding second sample state probability value of the primary equipment, wherein the first sample equipment data includes at least the equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, interval duration of equipment anomalies, and equipment fault records of the primary equipment collected within the same time interval, and the first equipment state probability value is the probability value of the equipment state of the primary equipment; and a second input / output unit, configured to... The second device data is input into a second deep learning model to perform anomaly detection on the secondary device data using the second deep learning model, thereby obtaining a second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes second sample device data of the secondary device and a corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device. A verification unit is used to verify the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have an abnormal situation. An anomaly handling unit is used to perform anomaly repair processing on the primary device or the secondary device when the anomaly situation occurs.

[0013] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any of the methods described.

[0014] According to another aspect of this application, a computer program product is provided, including computer instructions that, when executed by a processor, implement any of the methods described.

[0015] Applying the technical solution of this application, in the anomaly detection method based on substation equipment profiling, firstly, first equipment data and second equipment data are acquired in real time. The first equipment data is the real-time data of primary equipment in the substation at the current moment, and the second equipment data is the operating status data of secondary equipment in the substation at the current moment, as well as relevant information between the secondary equipment and the corresponding primary equipment. The first equipment data is input into a first deep learning model to perform anomaly detection on the primary equipment using the first deep learning model, obtaining a first equipment state probability value. The first deep learning model is trained using a recurrent neural network algorithm with multiple sets of first training data. Each set of first training data includes first sample equipment data of the primary equipment and a corresponding second sample state probability value of the primary equipment. The first sample equipment data includes at least the equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, interval duration of equipment anomalies, and equipment fault records collected within the same time interval. The first equipment state probability value is the probability value of the equipment state of the primary equipment. The second equipment data is then input into... In the second deep learning model, anomaly detection of the secondary device is performed on the second device data to obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes second sample device data of the secondary device and a corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device. The primary device and the secondary device are verified based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have an abnormal situation. If the primary device or the secondary device has an abnormal situation, anomaly repair processing is performed on the primary device or the secondary device.This application constructs a first deep learning model and a second deep learning model. The first deep learning model predicts the state of primary equipment and outputs a probability value for the equipment state. The second deep learning model predicts the state of secondary equipment and outputs a probability value for the equipment state of the secondary equipment. The equipment state is determined based on the probability values. During the training process of the second deep learning model, parameters related to the secondary equipment and its state, as well as the correlation coefficient between the secondary and primary equipment in terms of their operating states, are comprehensively considered as second training data. The resulting second deep learning model, trained using the final correlation coefficient, is more accurate in equipment state detection, thus improving detection precision. This application solves the problem in existing technologies where the correlation between primary and secondary equipment is not considered simultaneously, ignoring the correlation factors between devices and directly detecting the equipment state, leading to low detection accuracy. Attached Figure Description

[0016] Figure 1 A hardware structure block diagram of a mobile terminal for performing an anomaly detection method based on substation equipment profiling, according to an embodiment of this application, is shown.

[0017] Figure 2 A flowchart illustrating an anomaly detection method based on substation equipment profiling according to an embodiment of this application is shown.

[0018] Figure 3 A flowchart illustrating an anomaly detection method based on substation equipment profiling, according to an embodiment of this application, is shown.

[0019] Figure 4 A structural block diagram of an anomaly detection device based on substation equipment profiling, according to an embodiment of this application, is shown.

[0020] The above figures include the following reference numerals:

[0021] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation

[0022] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0025] As described in the background section, existing technologies do not specifically address the complexity and interrelationships of primary and secondary equipment, which poses a challenge to equipment status detection. To address the issue that existing technologies do not simultaneously consider the interrelationships between primary and secondary equipment, ignoring inter-equipment factors and directly detecting equipment status, resulting in low detection accuracy, embodiments of this application provide an anomaly detection method, anomaly detection device, computer-readable storage medium, and computer program product based on substation equipment profiling.

[0026] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0027] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for an anomaly detection method based on substation equipment profiling, according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0028] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the device information display method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0029] This embodiment provides an anomaly detection method based on substation equipment profiling that runs on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0030] Figure 2 This is a flowchart of an anomaly detection method based on substation equipment profiling according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:

[0031] Step S201: Real-time acquisition of first device data and second device data. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and related information between the secondary equipment and the corresponding primary equipment.

[0032] Specifically, before accurately detecting the status of primary and secondary equipment in a substation, it is necessary to acquire real-time equipment data and their specific values ​​(i.e., the aforementioned first equipment data and the aforementioned second equipment data) generated by the primary and secondary equipment.

[0033] Step S202: The first device data is input into the first deep learning model to perform anomaly detection on the primary device using the first device data, and obtain the first device state probability value. The first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm. Each set of first training data includes first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomalies, and device fault records collected within the same time interval. The first device state probability value is the probability value of the device state of the primary device.

[0034] Specifically, the equipment data generated in real time by the primary equipment in the substation and its specific values ​​are input into the first deep learning model after training in the form of a dataset for prediction, and the probability value of the state of the primary equipment in the substation is output, namely the first equipment state probability value mentioned above.

[0035] It should also be noted that substations include primary and secondary equipment. Different types of equipment exhibit different fault / abnormal modes due to their different structures, designs, working principles, and operating environments. Primary equipment includes transformers, circuit breakers, disconnect switches, and instrument transformers, which are mainly used for power transmission. On the one hand, transformers, circuit breakers, disconnect switches, and instrument transformers are exposed to the outside air and are easily affected by wear and corrosion due to external factors, thus causing faults or abnormalities. On the other hand, when the equipment in the substation exceeds its rated value during power consumption, faults or abnormalities may occur due to factors such as overload, short circuit, and overvoltage.

[0036] The state of primary equipment in a substation changes over time. The first training set uses time-series data as the dataset. Therefore, the first deep learning model uses a recurrent neural network (RNN) to predict the state of the primary equipment. RNNs are particularly effective at handling long-term relationships in time-series data. The equipment operating parameters in the first training data include equipment current, equipment voltage, equipment active power, equipment reactive power, insulation class, equipment temperature, equipment switch status, equipment manufacturing date, equipment model, equipment material, and equipment physical parameters. Since transformers, circuit breakers, disconnectors, and instrument transformers can flexibly adjust their operating parameters during power transmission, they are crucial for the stable operation of the substation power grid. Therefore, the equipment current, equipment voltage, equipment active power, equipment reactive power, insulation class, equipment temperature, and equipment switch status of transformers, circuit breakers, disconnectors, and instrument transformers are collected. The first training data constitutes the time-series dataset. The reasons for considering equipment operating parameters are as follows: equipment current and voltage can assess the equipment's load and power quality; equipment reactive power and active power reflect the equipment's heat conversion efficiency and power quality; insulation level directly relates to the equipment's safe and stable operation; equipment temperature can assess the equipment's thermal performance and heat dissipation efficiency; equipment overheating is also a major factor in equipment failure / abnormality; equipment switch status is used to ensure the on / off state of the equipment switch and thus determine the equipment's operating status; the equipment's manufacturing date has a certain correlation with predicting the equipment's status (equipment performance, failure rate, maintenance cycle), and different models of equipment have different... Design, performance parameters, and applicable scenarios help the model differentiate between various models, thereby more accurately predicting or analyzing the equipment's operating status. Different materials used in the equipment vary in their high-temperature resistance, wear resistance, and corrosion resistance, significantly impacting operation and maintenance. Physical parameters are closely related to the equipment's operating mode, heat dissipation performance, and installation requirements, making them crucial factors to consider in model analysis. Environmental information includes rainfall, dust concentration, corrosive gas concentration, temperature, humidity, wind speed, light intensity, and icing. As rainfall increases, rainwater seeps into the equipment, causing short circuits. Excessive dust and corrosive gas concentrations... High humidity can cause poor contact due to corrosion, and can also lead to aging or even breakdown of the equipment's insulation layer. Temperature is one of the key factors affecting equipment performance. High temperatures can cause equipment to overheat, accelerate component aging, and even cause failures. Low temperatures can make equipment difficult to start or cause unstable operation. Therefore, understanding temperature information can help models predict the operating status and possible failure modes of equipment at different temperatures. Humidity has a significant impact on the electrical and insulation performance of equipment. High humidity can cause condensation inside the equipment, resulting in short circuits or corrosion. Low humidity can lead to static electricity accumulation, increasing the risk of equipment failure. Therefore, humidity information is crucial for predicting the electrical performance and lifespan of equipment.Wind speed affects the heat dissipation and dustproof performance of equipment. High wind speeds can accelerate heat dissipation but also bring more dust and pollutants; while low wind speeds lead to poor heat dissipation and increase the risk of failure. Therefore, understanding wind speed information can help models predict the heat dissipation and dustproof performance of equipment under different wind speed conditions. For equipment, light intensity can affect its operating status. For example, the photoelectric conversion efficiency of solar panels is closely related to light intensity; some sensors or display devices may experience performance degradation or damage under strong light. Therefore, light intensity information is crucial for predicting the performance of these devices. Icing mainly affects the normal operation of outdoor equipment. Icing increases the weight of the equipment, leading to structural damage. Icing can also affect the heat dissipation and electrical performance of the equipment. Therefore, understanding icing conditions can help models predict the operational risks of equipment in cold and humid environments. Normal equipment status information includes normal status time and normal status markers. Abnormal equipment status information includes abnormal status time and abnormal status markers. When equipment malfunctions... The normal interval duration reflects the time interval between normal and abnormal operation of equipment. By analyzing this characteristic, we can understand the health status of the equipment and the probability of anomalies. On the other hand, if the equipment anomaly interval duration is short, it may indicate a defect or problem in the equipment, which may lead to frequent failures. By analyzing the equipment anomaly interval duration in the training data, these failure patterns can be extracted, providing useful information for the prediction model. Equipment failure records include the failure time, equipment failure type, and operating parameters before the failure. These three pieces of information can capture important information about equipment failures / anomalies. Since the first training data uses a time series dataset, time series analysis can capture the temporal dependence of equipment anomalies. That is, anomalies may be affected by equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, the interval duration of equipment anomalies, and equipment failure records. This analysis method can reveal the trend of equipment status changes over time and better predict and prevent future failures.

[0037] Step S203: The second device data is input into the second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes the second sample device data of the secondary device and the corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device.

[0038] Specifically, the equipment data and its specific values ​​generated in real time by the secondary equipment in the substation are input into the trained second deep learning model in the form of a dataset for prediction, and the probability value of the state of the secondary equipment in the substation is output, namely the above-mentioned second equipment state probability value.

[0039] It should also be noted that, since the equipment status of secondary equipment is influenced by historical data, the second training data is collected from historical data. The second deep learning model uses a Long Short-Term Memory (LSTM) network to predict the equipment status of secondary equipment. Substation secondary equipment includes protection devices, measurement and control devices, automation systems, and communication equipment, used for real-time detection and control of primary equipment. Secondary equipment plays a crucial role in substations; when secondary equipment malfunctions, it may lead to malfunctions, failures to operate, or escalation of faults in primary equipment, thus affecting the safe and stable operation of the substation. Therefore, the second training data of the second deep learning model for detecting the equipment status of secondary equipment includes the target label of the primary equipment, the sample target correlation coefficient between primary and secondary equipment, equipment current, equipment voltage, equipment temperature, communication delay duration, packet loss rate, and the deviation between the target value and the feedback value. Protection devices, monitoring and control devices, automation systems, and communication equipment are responsible for monitoring, controlling, protecting, and communicating with primary equipment in substations to ensure the safe, stable, and efficient operation of the power system. The power supply is the foundation for the stable operation of secondary equipment; therefore, data such as equipment current, voltage, temperature, communication delay, packet loss rate, and deviation between target and feedback values ​​are collected from protection devices, monitoring and control devices, automation systems, and communication equipment. The current and voltage of the power supply reflect its operating status; abnormal power parameters can lead to equipment failure. Furthermore, current and voltage also reflect the load condition of the equipment. For example, current and voltage data from protection devices can interpret the operating status of the power grid, indicating whether there are overloads or short circuits. Secondary equipment generates heat during operation; its temperature reflects its operating status and heat dissipation performance. Excessively high equipment temperature indicates overload or other issues. Poor heat dissipation and the operating status of communication equipment have a significant impact on the overall performance of secondary equipment. Parameters such as communication delay and packet loss rate can reflect the performance and stability of communication equipment. The measurement and control device has target values ​​and feedback values. The target value of the measurement and control device refers to the output value or status expected by the operator or automatic control system. The target value is obtained based on the substation's operating requirements and the equipment's operating parameters. The feedback value is the output value or status actually detected by the measurement and control device, reflecting the current operating status of the equipment. The operating status of the equipment is reflected by calculating the deviation between the target value and the feedback value. If the deviation is too large, it means that the equipment is not responding correctly to the control signal, or there is a fault or interference, which leads to a decrease in equipment performance or instability. The deviation between the target value and the feedback value can be determined according to the deviation data range set by the equipment and parameters. If the deviation is not within the deviation data range, it means that the deviation is too large.

[0040] It is worth noting that since secondary devices are used to detect the status of primary devices, there is a certain correlation between the two. When detecting the status of secondary devices, it is crucial to consider the correlation between the status of primary and secondary devices. Therefore, the target label of the primary device and the correlation coefficient between the primary and secondary devices are considered in the second training data. This helps the model predict the status of the secondary devices more accurately, especially when the status of the primary device changes. The target label of the primary device refers to the normal and abnormal status information acquired by the primary device. The status and function of the secondary device usually depend on the status of the primary device. If the primary device malfunctions, the secondary device will record abnormal data and trigger an alarm. Therefore, there is a certain correlation between the primary and secondary devices. Thus, the correlation coefficient between the primary and secondary devices is used to realize the correlation between them.

[0041] Step S204: Verify the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have any abnormal conditions.

[0042] Specifically, the probability values ​​of the first and second equipment states are compared with the state definition range. If the probability value of the first or second equipment state is not within the state definition range, the current equipment state is considered to be in an abnormal state, requiring increased vigilance or maintenance. Alternatively, if the probability value of the first or second equipment state exceeds the state definition value, the equipment state is considered to be in a normal state; if it is below the state definition value, the equipment state is considered to be in an abnormal state, i.e., an abnormal situation has occurred.

[0043] Step S205: In the event of the above-mentioned abnormal situation in the primary equipment or the secondary equipment, perform abnormal repair processing on the primary equipment or the secondary equipment.

[0044] Specifically, in the event of the aforementioned abnormal situation in the primary or secondary equipment, preventive maintenance measures should be taken to reduce the probability of equipment failure. Operators should immediately take measures to repair and handle the situation to prevent the failure from escalating or affecting production.

[0045] In this embodiment, a first deep learning model and a second deep learning model are constructed. The first deep learning model predicts the status of primary devices and outputs a probability value for the device status. The second deep learning model predicts the status of secondary devices and outputs a probability value for the device status. The device status is determined based on the probability values. During the training process of the second deep learning model, parameters related to the secondary devices and their status, as well as the correlation coefficient between the secondary and primary devices in terms of their operating status, are comprehensively considered as second training data. Therefore, the second deep learning model, trained using the final correlation coefficient, is more accurate in device status detection, thus improving detection precision. This application solves the problem in the prior art where the correlation between primary and secondary devices is not considered simultaneously, ignoring the correlation factors between devices and directly detecting the device status, resulting in low detection precision.

[0046] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the anomaly detection method based on substation equipment profiling will be described in detail below with reference to specific embodiments.

[0047] To consider the correlation between primary and secondary equipment and reduce detection errors, in an optional embodiment, prior to step S201 above, the method further includes:

[0048] Step S301: Obtain historical data of the substation. The historical data includes at least equipment information data, equipment operation data, event record data, and maintenance management data. The equipment information data includes at least the equipment name, equipment type, rated voltage, current, frequency, power, and control parameters of each piece of equipment in the substation. The equipment operation data includes at least various parameter data of each piece of equipment during the power transmission and discharge process, as well as the equipment status information of each piece of equipment at each point in time within the historical time period. The event record data includes at least the accident type, accident time, and various parameter data when the equipment malfunctions or becomes abnormal. The maintenance management data includes records of regular equipment inspection, maintenance, and calibration, historical records of equipment malfunctions or abnormalities, cause analysis and handling results, and information on parts repaired and replaced.

[0049] Step S302: Filter out status-related data from the above historical data. The status-related data is data related to the status of the primary equipment and the status of the secondary equipment.

[0050] Step S303: Perform preprocessing operations on the aforementioned state-related data to obtain a training set. The training set includes the first training data and the second training data. The preprocessing operations include at least data cleaning.

[0051] In the above embodiments, the sample data of the substation is the historical data generated during the use of the substation. The historical data includes equipment information data, equipment operation data, event record data, maintenance management data, etc. The historical data is obtained from the substation automation system. The equipment information data mainly includes basic equipment information and technical parameters of the equipment, such as equipment name, equipment type, equipment rated voltage, current, frequency, power and control parameters, etc. The equipment operation data includes equipment operation parameter data and equipment operation status data, mainly including various parameter data of the equipment transmission and discharge process and equipment status information at each time point in the historical time period. The event record data mainly includes the accident type, accident time and various parameter data when the equipment fails or is abnormal. The maintenance management data includes the record data of the equipment's regular inspection, maintenance and calibration, the historical data of equipment failure or abnormality, the cause analysis and handling results, and the information of the parts repaired and replaced by the equipment, etc. Due to the large amount of sample data obtained, it is considered to detect the status of primary and secondary equipment in the substation. Therefore, the sample data needs to be preprocessed. First, data related to the status of primary and secondary equipment is filtered from the sample data. Data that is not related to equipment type, equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, the interval of abnormal equipment occurrence, and equipment fault records is deleted. Data with missing values ​​and duplicate values ​​are deleted from the filtered sample data to obtain the training set mentioned above.

[0052] To more accurately assess the degree of correlation between primary and secondary equipment, in an optional implementation, prior to step S203 above, the method further includes:

[0053] Step S401: Calculate the correlation coefficient for each parameter pair in the primary equipment and the secondary equipment according to the first formula, whereby the first formula is: r i Let x be the correlation coefficient of the i-th parameter pair, and n be the total number of parameter pairs, i = (1, 2, 3, ..., n). i For the i-th parameter pair, the observed value of the primary device mentioned above, y i Let x be the observed value of the secondary device in the i-th parameter pair, where the observed value is a randomly selected data value from the historical data, and x is the average of the observed values ​​of the primary device in all parameter pairs. The average value of the observations of the secondary equipment in all the above parameter pairs, where each parameter pair represents a combination of the observations corresponding to the primary equipment and the secondary equipment.

[0054] Step S402: Based on the correlation coefficient of each of the above parameter pairs, classify each of the above parameter pairs into corresponding correlation parameters. The correlation parameters are divided into strongly correlated parameters, weakly correlated parameters, and uncorrelated parameters.

[0055] Step S403: Assign corresponding weights to the above-mentioned strongly correlated parameters, weakly correlated parameters, and uncorrelated parameters;

[0056] Step S404: Calculate the sample target correlation coefficient between the primary equipment and the secondary equipment according to the second formula, whereby the second formula is: R is the target correlation coefficient of the above samples, ω i The weight of the i-th parameter relative to the associated parameter.

[0057] In the above embodiments, the correlation coefficient of each parameter pair in the primary and secondary equipment is calculated according to the first formula. Based on the obtained correlation coefficient values ​​between the primary and secondary equipment, different parameter pairs are divided into strongly correlated parameters, weakly correlated parameters, or uncorrelated parameters. Corresponding weights are assigned to each parameter pair as strongly correlated, weakly correlated, or uncorrelated parameters. Since strong correlation plays an important role in the correlation assessment of primary and secondary equipment, implying a close and significant correlation between them, to more accurately assess the degree of correlation between primary and secondary equipment, the weight of strongly correlated parameters can be assigned as 2, the weight of weakly correlated parameters as 0.5, and the weight of uncorrelated parameters as 0.1. The final correlation coefficient between the primary and secondary equipment, i.e., the aforementioned sample target correlation coefficient, is calculated based on the correlation coefficient and weight of each parameter pair.

[0058] In order to specifically detect the status of primary and secondary equipment, in an optional implementation, step S402 above includes:

[0059] Step S4021: Form an association matrix based on all the association coefficients of all the parameter pairs in the primary device and the secondary device. The columns of the association matrix represent the observed values ​​of the primary device, the columns of the association matrix represent the observed values ​​of the secondary device, and the elements of the association matrix represent the association coefficients.

[0060] Step S4022: Draw a heat map based on the above correlation matrix. Each cell in the heat map represents the correlation coefficient of the above parameter pair. The color intensity in the heat map indicates the strength and direction of the correlation.

[0061] Step S4023: The parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to the first threshold are determined as the strong correlation parameters.

[0062] Step S4024: The parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to the second threshold and less than the first threshold are determined as the weak correlation parameters.

[0063] Step S4025: The parameter pairs whose absolute values ​​of the correlation coefficients are less than the second threshold are determined as the uncorrelated parameters.

[0064] In the above embodiment, firstly, an association matrix is ​​formed based on the correlation coefficients between primary and secondary equipment, including the correlation coefficients between all parameter pairs. A heatmap is then drawn based on the association matrix, where each cell represents the correlation coefficient of a parameter pair. The color intensity indicates the strength and direction of the association: red indicates a strong association, yellow indicates a weak association, and white indicates no association. Then, the strongly correlated parameters and their coefficients (red), the weakly correlated parameters and their coefficients (yellow), and the uncorrelated parameters and their irrelevant correlation coefficients (white) are obtained. Through comprehensive analysis of the strongly correlated coefficients, weakly correlated coefficients, and irrelevant correlation coefficients, the correlation coefficients of strongly correlated parameters are defined as having an absolute value greater than 0.7, the correlation coefficients of weakly correlated parameters are defined as having an absolute value between 0.3 and 0.7, and the correlation coefficients of uncorrelated parameters are defined as having an absolute value less than 0.3. Based on the range of the correlation coefficients corresponding to the parameter pairs, the parameter pairs are determined as specific correlated parameters. This allows for targeted detection of the status of primary and secondary equipment, thereby better determining the status of primary and secondary equipment based on the strength of the relationship between them.

[0065] In order to handle anomalies in a timely manner, in one optional embodiment, step S204 includes:

[0066] Step S2041: If the probability value of the first device state is greater than or equal to the first state threshold, the primary device is determined to be in a normal state.

[0067] Step S2042: When the probability value of the first device state is less than the first state threshold and greater than or equal to the second state threshold, a first prompt message is issued. The first prompt message is used to prompt the primary device to take preventive maintenance measures.

[0068] Step S2043: If the probability value of the first device state is less than the second state threshold, it is determined that the first device is in an abnormal state and the above-mentioned abnormal situation has occurred, and a second prompt message is issued. The second prompt message is used to prompt the first device to perform abnormal handling.

[0069] Step S2044: If the probability value of the second device state is greater than or equal to the third state threshold, the secondary device is determined to be in a normal state.

[0070] Step S2045: If the probability value of the second device state is less than the third state threshold and greater than or equal to the fourth state threshold, a third prompt message is issued. The third prompt message is used to prompt the second device to take preventive maintenance measures.

[0071] Step S2046: If the probability value of the second device state is less than the fourth state threshold, it is determined that the second device is in an abnormal state and the above-mentioned abnormal situation has occurred, and a fourth prompt message is issued. The fourth prompt message is used to prompt the abnormal handling of the second device.

[0072] In the above embodiments, a sigmoid function is set in the input layer of the deep learning model as the activation function of the deep learning model, mapping any input to a probability distribution and converting the output of the deep learning model into probability values. For example, the probability value output by the deep learning model ranges from 0.1 to 1. The closer the probability value output by the model is to 1, the higher the degree to which the device is in a normal state; the closer the probability value output by the model is to 0.1, the higher the degree to which the device is in an abnormal state, and immediate rescue measures should be taken. A state threshold or state threshold range can be set for the probability value output by the model. The state threshold can be fixed or one or more. When the prediction result output by the model is not within the state threshold range, the current device is considered to be in an abnormal state, requiring increased vigilance or maintenance. Alternatively, if the prediction result exceeds the state threshold, the device is considered to be in a normal state; if it is below the state threshold, the device is considered to be in an abnormal state. The probability values ​​of the first and second deep learning models do not necessarily have to be in the same range. That is, the first state threshold does not need to be the same as the third state threshold, and the second state threshold does not need to be the same as the fourth state threshold. However, the second and fourth state thresholds are usually both set to 1. The first state threshold is less than the second state threshold, and the second state threshold is less than the fourth state threshold.

[0073] To improve the accuracy of anomaly detection, in an optional implementation, before step S204 above, the method further includes:

[0074] Step S501: Adjust the first state definition value and the second state definition value in real time based on the historical data and real-time data corresponding to the primary equipment.

[0075] Step S502: Adjust the third state definition value and the fourth state definition value in real time based on the historical data and real-time data corresponding to the secondary equipment.

[0076] In the above embodiments, the state boundary value or state boundary range is not a fixed value, but is adjusted in real time based on the historical data and real-time data of the device operation. Multiple trials and adjustments are required to find the most suitable state boundary value or state boundary range setting, which can improve the accuracy of anomaly detection.

[0077] To prevent the malfunction from escalating or affecting production, in one optional embodiment, step S205 includes:

[0078] Step S2051: When the above-mentioned abnormal situation occurs in the primary equipment, a first abnormal repair strategy is determined according to the above-mentioned abnormal situation, and the abnormal repair process is performed on the primary equipment according to the above-mentioned first abnormal repair strategy.

[0079] Step S2052: When the above-mentioned abnormal situation occurs in the secondary equipment, a second abnormality repair strategy is determined according to the above-mentioned abnormality situation, and the abnormality repair process is performed on the secondary equipment according to the above-mentioned second abnormality repair strategy.

[0080] In the above embodiments, after the fused data generated in real time in the substation and its specific values ​​are input into the trained deep learning model in the form of a dataset for prediction, and the probability value of the substation equipment status is output, the equipment status includes the normal equipment status and the abnormal equipment status. When the abnormal equipment status is predicted, it means that the substation equipment may enter an abnormal state at some point in the future. By capturing certain abnormal situations, the operators should pay attention to the current substation equipment status and verify whether there are any abnormal signs. Preventive maintenance measures can also be adopted to reduce the probability of equipment failure. If the primary or secondary equipment has an abnormal situation, the operators should immediately determine the repair strategy according to the abnormal situation and take measures to repair and handle it according to the repair strategy to prevent the fault from expanding or affecting production.

[0081] This embodiment relates to a specific anomaly detection method based on substation equipment profiling, such as... Figure 3 As shown, it includes the following steps:

[0082] Step S1: Obtain sample data from the substation. The sample data from the substation is historical data generated during the operation of the substation. Historical data includes equipment information data, equipment operation data, event log data, maintenance and management data, etc. The historical data is obtained from the substation automation system.

[0083] Step S2: Preprocess the above sample data, filter the data related to the status of primary equipment and secondary equipment from the sample data, and delete the data that is not related to equipment type, equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, the interval of equipment abnormality, and equipment fault records. In the filtered sample data, delete the data with missing values ​​and duplicate values.

[0084] Step S3: Establish a deep learning model, which includes a first deep learning model and a second deep learning model. The first deep learning model is used to detect the equipment status of the primary equipment in the substation, and the second deep learning model is used to detect the equipment status of the substation.

[0085] Step S4: Obtain the training set of the deep learning model. The training set includes a first training set and a second training set. The first training set is used to train the first deep learning model, and the second training set is used to train the second deep learning model.

[0086] Step S5: Input the training set into the deep learning model for training to obtain the trained deep learning model;

[0087] Step S6: Input the substation data to be predicted into the trained deep learning model and output the prediction results, namely the first equipment state probability value and the second equipment state probability value.

[0088] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0089] This application also provides an anomaly detection device based on substation equipment profiling. It should be noted that this anomaly detection device based on substation equipment profiling can be used to execute the anomaly detection method based on substation equipment profiling provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0090] The following describes the anomaly detection device based on substation equipment profiling provided in the embodiments of this application.

[0091] Figure 4This is a structural block diagram of an anomaly detection device based on substation equipment profiling, according to an embodiment of this application. Figure 4 As shown, the device includes:

[0092] The first acquisition unit 10 is used to acquire first device data and second device data in real time. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and the relevant information between it and the corresponding primary equipment.

[0093] Specifically, before accurately detecting the status of primary and secondary equipment in a substation, it is necessary to acquire real-time equipment data and their specific values ​​(i.e., the aforementioned first equipment data and the aforementioned second equipment data) generated by the primary and secondary equipment.

[0094] The first input / output unit 20 is used to input the first device data into the first deep learning model, so as to use the first deep learning model to perform anomaly detection on the first device data and obtain the first device state probability value. The first deep learning model is trained by a recurrent neural network algorithm using multiple sets of first training data. Each set of the first training data includes the first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomaly occurrence, and device fault records of the primary device collected within the same interval. The first device state probability value is the probability value of the device state of the primary device.

[0095] Specifically, the equipment data generated in real time by the primary equipment in the substation and its specific values ​​are input into the first deep learning model after training in the form of a dataset for prediction, and the probability value of the state of the primary equipment in the substation is output, namely the first equipment state probability value mentioned above.

[0096] It should also be noted that substations include primary and secondary equipment. Different types of equipment exhibit different fault / abnormal modes due to their different structures, designs, working principles, and operating environments. Primary equipment includes transformers, circuit breakers, disconnect switches, and instrument transformers, which are mainly used for power transmission. On the one hand, transformers, circuit breakers, disconnect switches, and instrument transformers are exposed to the outside air and are easily affected by wear and corrosion due to external factors, thus causing faults or abnormalities. On the other hand, when the equipment in the substation exceeds its rated value during power consumption, faults or abnormalities may occur due to factors such as overload, short circuit, and overvoltage.

[0097] The state of primary equipment in a substation changes over time. The first training set uses time-series data as the dataset. Therefore, the first deep learning model uses a recurrent neural network (RNN) to predict the state of the primary equipment. RNNs are particularly effective at handling long-term relationships in time-series data. The equipment operating parameters in the first training data include equipment current, equipment voltage, equipment active power, equipment reactive power, insulation class, equipment temperature, equipment switch status, equipment manufacturing date, equipment model, equipment material, and equipment physical parameters. Since transformers, circuit breakers, disconnectors, and instrument transformers can flexibly adjust their operating parameters during power transmission, they are crucial for the stable operation of the substation power grid. Therefore, the equipment current, equipment voltage, equipment active power, equipment reactive power, insulation class, equipment temperature, and equipment switch status of transformers, circuit breakers, disconnectors, and instrument transformers are collected. The first training data constitutes the time-series dataset. The reasons for considering equipment operating parameters are as follows: equipment current and voltage can assess the equipment's load and power quality; equipment reactive power and active power reflect the equipment's heat conversion efficiency and power quality; insulation level directly relates to the equipment's safe and stable operation; equipment temperature can assess the equipment's thermal performance and heat dissipation efficiency; equipment overheating is also a major factor in equipment failure / abnormality; equipment switch status is used to ensure the on / off state of the equipment switch and thus determine the equipment's operating status; the equipment's manufacturing date has a certain correlation with predicting the equipment's status (equipment performance, failure rate, maintenance cycle), and different models of equipment have different... Design, performance parameters, and applicable scenarios help the model differentiate between various models, thereby more accurately predicting or analyzing the equipment's operating status. Different materials used in the equipment vary in their high-temperature resistance, wear resistance, and corrosion resistance, significantly impacting operation and maintenance. Physical parameters are closely related to the equipment's operating mode, heat dissipation performance, and installation requirements, making them crucial factors to consider in model analysis. Environmental information includes rainfall, dust concentration, corrosive gas concentration, temperature, humidity, wind speed, light intensity, and icing. As rainfall increases, rainwater seeps into the equipment, causing short circuits. Excessive dust and corrosive gas concentrations... High humidity can cause poor contact due to corrosion, and can also lead to aging or even breakdown of the equipment's insulation layer. Temperature is one of the key factors affecting equipment performance. High temperatures can cause equipment to overheat, accelerate component aging, and even cause failures. Low temperatures can make equipment difficult to start or cause unstable operation. Therefore, understanding temperature information can help models predict the operating status and possible failure modes of equipment at different temperatures. Humidity has a significant impact on the electrical and insulation performance of equipment. High humidity can cause condensation inside the equipment, resulting in short circuits or corrosion. Low humidity can lead to static electricity accumulation, increasing the risk of equipment failure. Therefore, humidity information is crucial for predicting the electrical performance and lifespan of equipment.Wind speed affects the heat dissipation and dustproof performance of equipment. High wind speeds can accelerate heat dissipation but also bring more dust and pollutants; while low wind speeds lead to poor heat dissipation and increase the risk of failure. Therefore, understanding wind speed information can help models predict the heat dissipation and dustproof performance of equipment under different wind speed conditions. For equipment, light intensity can affect its operating status. For example, the photoelectric conversion efficiency of solar panels is closely related to light intensity; some sensors or display devices may experience performance degradation or damage under strong light. Therefore, light intensity information is crucial for predicting the performance of these devices. Icing mainly affects the normal operation of outdoor equipment. Icing increases the weight of the equipment, leading to structural damage. Icing can also affect the heat dissipation and electrical performance of the equipment. Therefore, understanding icing conditions can help models predict the operational risks of equipment in cold and humid environments. Normal equipment status information includes normal status time and normal status markers. Abnormal equipment status information includes abnormal status time and abnormal status markers. When equipment malfunctions... The normal interval duration reflects the time interval between normal and abnormal operation of equipment. By analyzing this characteristic, we can understand the health status of the equipment and the probability of anomalies. On the other hand, if the equipment anomaly interval duration is short, it may indicate a defect or problem in the equipment, which may lead to frequent failures. By analyzing the equipment anomaly interval duration in the training data, these failure patterns can be extracted, providing useful information for the prediction model. Equipment failure records include the failure time, equipment failure type, and operating parameters before the failure. These three pieces of information can capture important information about equipment failures / anomalies. Since the first training data uses a time series dataset, time series analysis can capture the temporal dependence of equipment anomalies. That is, anomalies may be affected by equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, the interval duration of equipment anomalies, and equipment failure records. This analysis method can reveal the trend of equipment status changes over time and better predict and prevent future failures.

[0098] The second input / output unit 30 is used to input the second device data into the second deep learning model, so as to use the second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of the second training data includes the second sample device data of the secondary device and the corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device.

[0099] Specifically, the equipment data and its specific values ​​generated in real time by the secondary equipment in the substation are input into the trained second deep learning model in the form of a dataset for prediction, and the probability value of the state of the secondary equipment in the substation is output, namely the above-mentioned second equipment state probability value.

[0100] It should also be noted that, since the equipment status of secondary equipment is influenced by historical data, the second training data is collected from historical data. The second deep learning model uses a Long Short-Term Memory (LSTM) network to predict the equipment status of secondary equipment. Substation secondary equipment includes protection devices, measurement and control devices, automation systems, and communication equipment, used for real-time detection and control of primary equipment. Secondary equipment plays a crucial role in substations; when secondary equipment malfunctions, it may lead to malfunctions, failures to operate, or escalation of faults in primary equipment, thus affecting the safe and stable operation of the substation. Therefore, the second training data of the second deep learning model for detecting the equipment status of secondary equipment includes the target label of the primary equipment, the sample target correlation coefficient between primary and secondary equipment, equipment current, equipment voltage, equipment temperature, communication delay duration, packet loss rate, and the deviation between the target value and the feedback value. Protection devices, monitoring and control devices, automation systems, and communication equipment are responsible for monitoring, controlling, protecting, and communicating with primary equipment in substations to ensure the safe, stable, and efficient operation of the power system. The power supply is the foundation for the stable operation of secondary equipment; therefore, data such as equipment current, voltage, temperature, communication delay, packet loss rate, and deviation between target and feedback values ​​are collected from protection devices, monitoring and control devices, automation systems, and communication equipment. The current and voltage of the power supply reflect its operating status; abnormal power parameters can lead to equipment failure. Furthermore, current and voltage also reflect the load condition of the equipment. For example, current and voltage data from protection devices can interpret the operating status of the power grid, indicating whether there are overloads or short circuits. Secondary equipment generates heat during operation; its temperature reflects its operating status and heat dissipation performance. Excessively high equipment temperature indicates overload or other issues. Poor heat dissipation and the operating status of communication equipment have a significant impact on the overall performance of secondary equipment. Parameters such as communication delay and packet loss rate can reflect the performance and stability of communication equipment. The measurement and control device has target values ​​and feedback values. The target value of the measurement and control device refers to the output value or status expected by the operator or automatic control system. The target value is obtained based on the substation's operating requirements and the equipment's operating parameters. The feedback value is the output value or status actually detected by the measurement and control device, reflecting the current operating status of the equipment. The operating status of the equipment is reflected by calculating the deviation between the target value and the feedback value. If the deviation is too large, it means that the equipment is not responding correctly to the control signal, or there is a fault or interference, which leads to a decrease in equipment performance or instability. The deviation between the target value and the feedback value can be determined according to the deviation data range set by the equipment and parameters. If the deviation is not within the deviation data range, it means that the deviation is too large.

[0101] It is worth noting that since secondary devices are used to detect the status of primary devices, there is a certain correlation between the two. When detecting the status of secondary devices, it is crucial to consider the correlation between the status of primary and secondary devices. Therefore, the target label of the primary device and the correlation coefficient between the primary and secondary devices are considered in the second training data. This helps the model predict the status of the secondary devices more accurately, especially when the status of the primary device changes. The target label of the primary device refers to the normal and abnormal status information acquired by the primary device. The status and function of the secondary device usually depend on the status of the primary device. If the primary device malfunctions, the secondary device will record abnormal data and trigger an alarm. Therefore, there is a certain correlation between the primary and secondary devices. Thus, the correlation coefficient between the primary and secondary devices is used to realize the correlation between them.

[0102] The verification unit 40 is used to verify the primary device and the secondary device based on the first device state probability value and the second device state probability value, so as to determine whether the primary device and the secondary device have an abnormal situation.

[0103] Specifically, the probability values ​​of the first and second equipment states are compared with the state definition range. If the probability value of the first or second equipment state is not within the state definition range, the current equipment state is considered to be in an abnormal state, requiring increased vigilance or maintenance. Alternatively, if the probability value of the first or second equipment state exceeds the state definition value, the equipment state is considered to be in a normal state; if it is below the state definition value, the equipment state is considered to be in an abnormal state, i.e., an abnormal situation has occurred.

[0104] The anomaly handling unit 50 is used to perform anomaly repair processing on the primary equipment or the secondary equipment when the above-mentioned anomaly occurs.

[0105] Specifically, in the event of the aforementioned abnormal situation in the primary or secondary equipment, preventive maintenance measures should be taken to reduce the probability of equipment failure. Operators should immediately take measures to repair and handle the situation to prevent the failure from escalating or affecting production.

[0106] In this embodiment, a first deep learning model and a second deep learning model are constructed. The first deep learning model predicts the status of primary devices and outputs a probability value for the device status. The second deep learning model predicts the status of secondary devices and outputs a probability value for the device status. The device status is determined based on the probability values. During the training process of the second deep learning model, parameters related to the secondary devices and their status, as well as the correlation coefficient between the secondary and primary devices in terms of their operating status, are comprehensively considered as second training data. Therefore, the second deep learning model, trained using the final correlation coefficient, is more accurate in device status detection, thus improving detection precision. This application solves the problem in the prior art where the correlation between primary and secondary devices is not considered simultaneously, ignoring the correlation factors between devices and directly detecting the device status, resulting in low detection precision.

[0107] To account for the correlation between primary and secondary equipment and reduce detection errors, in one optional embodiment, the device further includes:

[0108] The second acquisition unit is used to acquire historical data of the substation before acquiring the first equipment data and the second equipment data in real time. The historical data includes at least equipment information data, equipment operation data, event record data and maintenance management data. The equipment information data includes at least the equipment name, equipment type, rated voltage, current, frequency, power and control parameters of each piece of equipment in the substation. The equipment operation data includes at least various parameter data of each piece of equipment during the power transmission and discharge process and the equipment status information of each piece of equipment at each point in time within the historical time period. The event record data includes at least the accident type, accident time and various parameter data when the equipment fails or is abnormal. The maintenance management data includes the record data of the equipment's regular inspection, maintenance and calibration, the historical data of the equipment's failure or abnormality, the cause analysis and handling results and the information of the parts repaired and replaced by the equipment.

[0109] The filtering unit is used to filter out status-related data from the above historical data. The status-related data is data related to the status of the primary equipment and the status of the secondary equipment.

[0110] The preprocessing unit is used to perform preprocessing operations on the aforementioned state-related data to obtain a training set, wherein the training set includes the first training data and the aforementioned second training data, and the aforementioned preprocessing operations include at least data cleaning.

[0111] In the above embodiments, the sample data of the substation is the historical data generated during the use of the substation. The historical data includes equipment information data, equipment operation data, event record data, maintenance management data, etc. The historical data is obtained from the substation automation system. The equipment information data mainly includes basic equipment information and technical parameters of the equipment, such as equipment name, equipment type, equipment rated voltage, current, frequency, power and control parameters, etc. The equipment operation data includes equipment operation parameter data and equipment operation status data, mainly including various parameter data of the equipment transmission and discharge process and equipment status information at each time point in the historical time period. The event record data mainly includes the accident type, accident time and various parameter data when the equipment fails or is abnormal. The maintenance management data includes the record data of the equipment's regular inspection, maintenance and calibration, the historical data of equipment failure or abnormality, the cause analysis and handling results, and the information of the parts repaired and replaced by the equipment, etc. Due to the large amount of sample data obtained, it is considered to detect the status of primary and secondary equipment in the substation. Therefore, the sample data needs to be preprocessed. First, data related to the status of primary and secondary equipment is filtered from the sample data. Data that is not related to equipment type, equipment operating parameters, environmental information, normal equipment status information, abnormal equipment status information, the interval of abnormal equipment occurrence, and equipment fault records is deleted. Data with missing values ​​and duplicate values ​​are deleted from the filtered sample data to obtain the training set mentioned above.

[0112] To more accurately assess the degree of correlation between primary and secondary equipment, in one optional embodiment, the device further includes:

[0113] The first computing unit is configured to, before inputting the second device data into the second deep learning model to perform anomaly detection on the secondary device data using the second deep learning model and obtaining the second device state probability value of the secondary device, calculate the correlation coefficient of each parameter pair between the primary device and the secondary device according to a first formula, wherein the first formula is: r i Let x be the correlation coefficient of the i-th parameter pair, and n be the total number of parameter pairs, i = (1, 2, 3, ..., n). i For the i-th parameter pair, the observed value of the primary device mentioned above, y i Let x be the observed value of the secondary device in the i-th parameter pair, where the observed value is a randomly selected data value from the historical data, and x is the average of the observed values ​​of the primary device in all parameter pairs. The average value of the observations of the secondary equipment in all the above parameter pairs, where each parameter pair represents a combination of the observations corresponding to the primary equipment and the secondary equipment.

[0114] A partitioning unit is used to partition each of the above parameter pairs into corresponding correlation parameters based on the correlation coefficient of each of the above parameter pairs. The correlation parameters are divided into strongly correlated parameters, weakly correlated parameters, and uncorrelated parameters.

[0115] The setting unit is used to set corresponding weights for the above-mentioned strongly correlated parameters, the above-mentioned weakly correlated parameters and the above-mentioned uncorrelated parameters;

[0116] The second calculation unit is used to calculate the sample target correlation coefficient between the primary equipment and the secondary equipment according to a second formula, wherein the second formula is: R is the target correlation coefficient of the above samples, ω i The weight of the i-th parameter relative to the associated parameter is given by the i-th parameter.

[0117] In the above embodiments, the correlation coefficient of each parameter pair in the primary and secondary equipment is calculated according to the first formula. Based on the obtained correlation coefficient values ​​between the primary and secondary equipment, different parameter pairs are divided into strongly correlated parameters, weakly correlated parameters, or uncorrelated parameters. Corresponding weights are assigned to each parameter pair as strongly correlated, weakly correlated, or uncorrelated parameters. Since strong correlation plays an important role in the correlation assessment of primary and secondary equipment, implying a close and significant correlation between them, to more accurately assess the degree of correlation between primary and secondary equipment, the weight of strongly correlated parameters can be assigned as 2, the weight of weakly correlated parameters as 0.5, and the weight of uncorrelated parameters as 0.1. The final correlation coefficient between the primary and secondary equipment, i.e., the aforementioned sample target correlation coefficient, is calculated based on the correlation coefficient and weight of each parameter pair.

[0118] In order to specifically detect the status of primary and secondary equipment, in one optional embodiment, the above-mentioned division unit includes:

[0119] The matrix forming module forms an association matrix based on all the association coefficients of all the parameter pairs in the primary device and the secondary device. The columns of the association matrix represent the observed values ​​of the primary device, the columns of the association matrix represent the observed values ​​of the secondary device, and the elements of the association matrix represent the association coefficients.

[0120] The drawing module draws a heatmap based on the above correlation matrix. Each cell in the heatmap represents the correlation coefficient of the above parameter pair. The color intensity in the heatmap indicates the strength and direction of the correlation.

[0121] The first determining module determines the parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to the first threshold as the strong correlation parameters.

[0122] The second determining module determines the parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to the second threshold and less than the first threshold as the weak correlation parameters.

[0123] The third determining module determines the parameter pairs whose absolute values ​​of the correlation coefficients are less than the second threshold as uncorrelated parameters.

[0124] In the above embodiment, firstly, an association matrix is ​​formed based on the correlation coefficients between primary and secondary equipment, including the correlation coefficients between all parameter pairs. A heatmap is then drawn based on the association matrix, where each cell represents the correlation coefficient of a parameter pair. The color intensity indicates the strength and direction of the association: red indicates a strong association, yellow indicates a weak association, and white indicates no association. Then, the strongly correlated parameters and their coefficients (red), the weakly correlated parameters and their coefficients (yellow), and the uncorrelated parameters and their irrelevant correlation coefficients (white) are obtained. Through comprehensive analysis of the strongly correlated coefficients, weakly correlated coefficients, and irrelevant correlation coefficients, the correlation coefficients of strongly correlated parameters are defined as having an absolute value greater than 0.7, the correlation coefficients of weakly correlated parameters are defined as having an absolute value between 0.3 and 0.7, and the correlation coefficients of uncorrelated parameters are defined as having an absolute value less than 0.3. Based on the range of the correlation coefficients corresponding to the parameter pairs, the parameter pairs are determined as specific correlated parameters. This allows for targeted detection of the status of primary and secondary equipment, thereby better determining the status of primary and secondary equipment based on the strength of the relationship between them.

[0125] To enable timely anomaly handling, in one optional implementation, the verification unit includes:

[0126] The first determination module determines that the primary device is in a normal state when the probability value of the first device state is greater than or equal to the first state threshold value.

[0127] The second determination module issues a first prompt message when the probability value of the first device state is less than the first state threshold and greater than or equal to the second state threshold. The first prompt message is used to prompt the primary device to take preventive maintenance measures.

[0128] The third determination module determines that the first device is in an abnormal state and the above-mentioned abnormal situation has occurred when the probability value of the first device state is less than the second state threshold value, and issues a second prompt message. The second prompt message is used to prompt the first device to handle the abnormality.

[0129] The fourth determination module determines that the secondary device is in a normal state when the probability value of the second device state is greater than or equal to the third state threshold value.

[0130] The fifth determination module issues a third prompt message when the probability value of the second device state is less than the third state threshold and greater than or equal to the fourth state threshold. The third prompt message is used to prompt preventive maintenance measures to be taken for the secondary device.

[0131] The sixth determination module determines that the second device is in an abnormal state and the above-mentioned abnormal situation has occurred when the probability value of the second device state is less than the fourth state threshold value, and issues a fourth prompt message. The fourth prompt message is used to prompt the abnormal handling of the second device.

[0132] In the above embodiments, a sigmoid function is set in the input layer of the deep learning model as the activation function of the deep learning model, mapping any input to a probability distribution and converting the output of the deep learning model into probability values. For example, the probability value output by the deep learning model ranges from 0.1 to 1. The closer the probability value output by the model is to 1, the higher the degree to which the device is in a normal state; the closer the probability value output by the model is to 0.1, the higher the degree to which the device is in an abnormal state, and immediate rescue measures should be taken. A state threshold or state threshold range can be set for the probability value output by the model. The state threshold can be fixed or one or more. When the prediction result output by the model is not within the state threshold range, the current device is considered to be in an abnormal state, requiring increased vigilance or maintenance. Alternatively, if the prediction result exceeds the state threshold, the device is considered to be in a normal state; if it is below the state threshold, the device is considered to be in an abnormal state. The probability values ​​of the first and second deep learning models do not necessarily have to be in the same range. That is, the first state threshold does not need to be the same as the third state threshold, and the second state threshold does not need to be the same as the fourth state threshold. However, the second and fourth state thresholds are usually both set to 1. The first state threshold is less than the second state threshold, and the second state threshold is less than the fourth state threshold.

[0133] To improve the accuracy of anomaly detection, in one optional embodiment, the device further includes:

[0134] The first adjustment unit is used to adjust the first state threshold and the second state threshold in real time based on the historical data and real-time data corresponding to the primary device before verifying the primary device and the secondary device according to the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have an abnormal situation.

[0135] The second adjustment unit is used to adjust the third state boundary value and the fourth state boundary value in real time based on the historical data and real-time data corresponding to the secondary equipment.

[0136] In the above embodiments, the state boundary value or state boundary range is not a fixed value, but is adjusted in real time based on the historical data and real-time data of the device operation. Multiple trials and adjustments are required to find the most suitable state boundary value or state boundary range setting, which can improve the accuracy of anomaly detection.

[0137] To prevent the malfunction from escalating or affecting production, in one optional embodiment, the fault handling unit includes:

[0138] The first processing module determines a first anomaly repair strategy based on the anomaly situation when the primary equipment experiences the aforementioned anomaly, and performs anomaly repair processing on the primary equipment according to the first anomaly repair strategy.

[0139] The second processing module determines a second anomaly repair strategy based on the anomaly situation when the secondary equipment experiences the aforementioned anomaly, and performs anomaly repair processing on the secondary equipment according to the second anomaly repair strategy.

[0140] In the above embodiments, after the fused data generated in real time in the substation and its specific values ​​are input into the trained deep learning model in the form of a dataset for prediction, and the probability value of the substation equipment status is output, the equipment status includes the normal equipment status and the abnormal equipment status. When the abnormal equipment status is predicted, it means that the substation equipment may enter an abnormal state at some point in the future. By capturing certain abnormal situations, the operators should pay attention to the current substation equipment status and verify whether there are any abnormal signs. Preventive maintenance measures can also be adopted to reduce the probability of equipment failure. If the primary or secondary equipment has an abnormal situation, the operators should immediately determine the repair strategy according to the abnormal situation and take measures to repair and handle it according to the repair strategy to prevent the fault from expanding or affecting production.

[0141] The aforementioned anomaly detection device based on substation equipment profiling includes a processor and a memory. All the aforementioned units are stored as program units in the memory, and the processor executes these program units to achieve the corresponding functions. All the aforementioned modules reside in the same processor; alternatively, the modules may be located in different processors in any combination.

[0142] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured. By adjusting kernel parameters, the problem of low detection accuracy caused by the lack of simultaneous consideration of the correlation between primary and secondary devices in existing technologies, and the direct detection of device status while ignoring inter-device correlation factors, can be addressed.

[0143] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0144] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the anomaly detection method based on substation equipment profiling.

[0145] Specifically, anomaly detection methods based on substation equipment profiling include:

[0146] Step S201: Real-time acquisition of first device data and second device data. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and the relevant information between it and the corresponding primary equipment.

[0147] Step S202: Input the first device data into the first deep learning model to perform anomaly detection on the first device data and obtain the first device state probability value. The first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm. Each set of first training data includes first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomalies, and device fault records collected within the same time interval. The first device state probability value is the probability value of the device state of the primary device.

[0148] Step S203: The second device data is input into the second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes the second sample device data of the secondary device and the corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device.

[0149] Step S204: Verify the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have any abnormal conditions.

[0150] Step S205: In the event of the above-mentioned abnormal situation in the primary equipment or the secondary equipment, perform abnormal repair processing on the primary equipment or the secondary equipment.

[0151] This invention provides a processor for running a program, wherein the program executes the anomaly detection method based on substation equipment profiling.

[0152] Specifically, anomaly detection methods based on substation equipment profiling include:

[0153] Step S201: Real-time acquisition of first device data and second device data. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and the relevant information between it and the corresponding primary equipment.

[0154] Step S202: Input the first device data into the first deep learning model to perform anomaly detection on the first device data and obtain the first device state probability value. The first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm. Each set of first training data includes first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomalies, and device fault records collected within the same time interval. The first device state probability value is the probability value of the device state of the primary device.

[0155] Step S203: The second device data is input into the second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes the second sample device data of the secondary device and the corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device.

[0156] Step S204: Verify the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have any abnormal conditions.

[0157] Step S205: In the event of the above-mentioned abnormal situation in the primary equipment or the secondary equipment, perform abnormal repair processing on the primary equipment or the secondary equipment.

[0158] This invention provides a substation equipment profiling anomaly detection system. The substation equipment profiling anomaly detection system includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:

[0159] Step S201: Real-time acquisition of first device data and second device data. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and the relevant information between it and the corresponding primary equipment.

[0160] Step S202: Input the first device data into the first deep learning model to perform anomaly detection on the first device data and obtain the first device state probability value. The first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm. Each set of first training data includes first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomalies, and device fault records collected within the same time interval. The first device state probability value is the probability value of the device state of the primary device.

[0161] Step S203: The second device data is input into the second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes the second sample device data of the secondary device and the corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device.

[0162] Step S204: Verify the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have any abnormal conditions.

[0163] Step S205: In the event of the above-mentioned abnormal situation in the primary equipment or the secondary equipment, perform abnormal repair processing on the primary equipment or the secondary equipment.

[0164] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0165] Step S201: Real-time acquisition of first device data and second device data. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and the relevant information between it and the corresponding primary equipment.

[0166] Step S202: Input the first device data into the first deep learning model to perform anomaly detection on the first device data and obtain the first device state probability value. The first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm. Each set of first training data includes first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomalies, and device fault records collected within the same time interval. The first device state probability value is the probability value of the device state of the primary device.

[0167] Step S203: The second device data is input into the second deep learning model to perform anomaly detection on the second device data and obtain the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes the second sample device data of the secondary device and the corresponding first sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the second device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device.

[0168] Step S204: Verify the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have any abnormal conditions.

[0169] Step S205: In the event of the above-mentioned abnormal situation in the primary equipment or the secondary equipment, perform abnormal repair processing on the primary equipment or the secondary equipment.

[0170] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0171] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0172] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0173] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0174] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0175] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0176] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0177] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0178] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0179] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0180] 1) The anomaly detection method based on substation equipment profiling in this application constructs a first deep learning model and a second deep learning model. The first deep learning model predicts the status of primary equipment and outputs probability values ​​for the equipment status of the primary equipment. The second deep learning model predicts the status of secondary equipment and outputs probability values ​​for the equipment status of the secondary equipment. The equipment status is determined based on the probability values. During the training process of the second deep learning model, parameters related to the secondary equipment and its status, as well as the correlation coefficients between the secondary and primary equipment in terms of equipment operating status, are comprehensively considered as second training data. The trained second deep learning model, using the final correlation coefficients, is more accurate in equipment status detection, thus improving detection precision. This application solves the problem in existing technologies where the correlation between primary and secondary equipment is not considered simultaneously, ignoring the correlation factors between equipment and directly detecting the equipment status, resulting in low detection precision.

[0181] 2) The anomaly detection device based on substation equipment profiling in this application constructs a first deep learning model and a second deep learning model. The first deep learning model predicts the status of primary equipment and outputs probability values ​​for the equipment status of the primary equipment. The second deep learning model predicts the status of secondary equipment and outputs probability values ​​for the equipment status of the secondary equipment. The equipment status is determined based on the probability values. During the training process of the second deep learning model, parameters related to the secondary equipment and its status, as well as the correlation coefficients between the secondary and primary equipment in terms of equipment operating status, are comprehensively considered as second training data. The trained second deep learning model, using the final correlation coefficients, is more accurate in equipment status detection, thus improving detection precision. This application solves the problem in the prior art where the correlation between primary and secondary equipment is not considered simultaneously, ignoring the correlation factors between equipment and directly detecting the equipment status, resulting in low detection accuracy.

[0182] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. An anomaly detection method based on substation equipment profiling, characterized in that, include: Real-time acquisition of first device data and second device data, wherein the first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and related information between the secondary equipment and the corresponding primary equipment; The first device data is input into the first deep learning model to perform anomaly detection on the primary device data using the first deep learning model, thereby obtaining a first device state probability value. The first deep learning model is trained using multiple sets of first training data through a recurrent neural network algorithm. Each set of first training data includes first sample device data of the primary device and the corresponding first sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, the interval duration of device anomalies, and device fault records collected within the same time interval. The first device state probability value is the probability value of the device state of the primary device. The second device data is input into the second deep learning model to perform anomaly detection on the secondary device data using the second deep learning model, thereby obtaining the second device state probability value. The second deep learning model is trained using multiple sets of second training data through a long short-term memory network algorithm. Each set of second training data includes the second sample device data of the secondary device and the corresponding second sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient, and the sample operation data of the secondary device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device. The primary device and the secondary device are verified based on the first device status probability value and the second device status probability value to determine whether the primary device and the secondary device have any abnormal conditions. In the event of the abnormal situation in the primary equipment or the secondary equipment, abnormal repair processing shall be performed on the primary equipment or the secondary equipment. Before inputting the second device data into the second deep learning model to perform anomaly detection on the secondary device data using the second deep learning model and obtaining the probability value of the second device state, the method further includes: calculating the correlation coefficient of each parameter pair in the primary device and the secondary device according to a first formula, wherein the first formula is: , Let be the correlation coefficient of the i-th parameter pair, and n be the total number of parameter pairs. , For the observation value of the primary device in the i-th parameter pair, The observed value of the secondary equipment in the i-th parameter pair is a data value randomly selected from the historical data of the substation. The average of the observed values ​​of the primary device across all said parameter pairs. The parameter pair is the average of the observations of the secondary device in all parameter pairs, where each parameter pair represents a combination of the observations of the primary device and the secondary device; each parameter pair is assigned to a corresponding correlation parameter based on the correlation coefficient, where the correlation parameters are divided into strongly correlated parameters, weakly correlated parameters, and uncorrelated parameters; and corresponding weights are assigned to the strongly correlated parameters, the weakly correlated parameters, and the uncorrelated parameters. The sample target correlation coefficient between the primary device and the secondary device is calculated according to the second formula, which is: , The correlation coefficient between the sample target and the target is denoted as . The weight of the i-th parameter in relation to the correlation coefficient.

2. The method according to claim 1, characterized in that, Before acquiring the first device data and the second device data in real time, the method further includes: The historical data of the substation is acquired. The historical data includes at least equipment information data, equipment operation data, event record data, and maintenance management data. The equipment information data includes at least the equipment name, equipment type, rated voltage, current, frequency, power, and control parameters of each piece of equipment in the substation. The equipment operation data includes at least various parameter data of each piece of equipment during the power transmission and discharge process, as well as the equipment status information of each piece of equipment at each point in time within the historical time period. The event record data includes at least the accident type, accident time, and various parameter data when the equipment malfunctions or abnormalities occur. The maintenance management data includes records of regular equipment inspection, maintenance, and calibration, historical records of equipment malfunctions or abnormalities, cause analysis and handling results, and information on parts repaired and replaced by the equipment. Status-related data is filtered out from the historical data, and the status-related data is data related to the status of the primary equipment and the status of the secondary equipment; The state-related data is preprocessed to obtain a training set, which includes first training data and second training data. The preprocessing operation includes at least data cleaning.

3. The method according to claim 1, characterized in that, Based on the correlation coefficient of each parameter pair, each parameter pair is divided into corresponding correlation parameters, including: An association matrix is ​​formed based on all the association coefficients of all parameter pairs in the primary device and the secondary device, wherein the rows of the association matrix represent the observed values ​​of the primary device, the columns of the association matrix represent the observed values ​​of the secondary device, and the elements of the association matrix represent the association coefficients. A heatmap is drawn based on the correlation matrix, where each cell in the heatmap represents the correlation coefficient of a parameter pair, and the color intensity in the heatmap indicates the strength and direction of the correlation. The parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to a first threshold are determined as the strongly correlated parameters; The parameter pairs whose absolute values ​​of the correlation coefficients are greater than or equal to the second threshold and less than the first threshold are determined as the weak correlation parameters; The parameter pairs whose absolute value of the correlation coefficient is less than the second threshold are determined as the uncorrelated parameters.

4. The method according to claim 1, characterized in that, The primary device and the secondary device are verified based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have encountered any abnormal conditions, including: If the probability value of the primary device state is greater than or equal to the first state threshold, the primary device is determined to be in a normal state. If the probability value of the primary equipment state is less than the first state threshold and greater than or equal to the second state threshold, a first prompt message is issued. The first prompt message is used to prompt the primary equipment to take preventive maintenance measures. If the probability value of the primary device state is less than the second state threshold, it is determined that the first device is in an abnormal state and the abnormal situation has occurred, and a second prompt message is issued. The second prompt message is used to prompt the abnormal handling of the primary device. If the probability value of the secondary device state is greater than or equal to the third state threshold, the secondary device is determined to be in a normal state. If the probability value of the secondary equipment status is less than the third status threshold and greater than or equal to the fourth status threshold, a third prompt message is issued, which is used to prompt preventive maintenance measures to be taken for the secondary equipment. If the probability value of the secondary device status is less than the fourth status threshold, it is determined that the second device is in an abnormal state and the abnormal situation has occurred, and a fourth prompt message is issued. The fourth prompt message is used to prompt the abnormality handling of the secondary device.

5. The method according to claim 4, characterized in that, Before verifying the primary device and the secondary device based on the first device state probability value and the second device state probability value to determine whether the primary device and the secondary device have encountered an abnormal situation, the method further includes: The first state threshold and the second state threshold are adjusted in real time based on the historical and real-time data corresponding to the primary equipment. The third state threshold and the fourth state threshold are adjusted in real time based on the historical and real-time data corresponding to the secondary equipment.

6. The method according to claim 1, characterized in that, In the event of the aforementioned abnormality in the primary or secondary equipment, an abnormality repair process is performed on the primary or secondary equipment, including: In the event of the abnormal situation in the primary equipment, a first abnormality repair strategy is determined based on the abnormality situation, and the primary equipment is repaired according to the first abnormality repair strategy. In the event of the abnormal situation in the secondary equipment, a second abnormality repair strategy is determined based on the abnormality situation, and the abnormality repair process is performed on the secondary equipment according to the second abnormality repair strategy.

7. An anomaly detection device based on substation equipment profiling, characterized in that, The device includes: The first acquisition unit is used to acquire first device data and second device data in real time. The first device data is the real-time data of the primary equipment in the substation at the current moment, and the second device data is the operating status data of the secondary equipment in the substation at the current moment and related information between the secondary equipment and the corresponding primary equipment. The first input / output unit is used to input the first device data into the first deep learning model, so as to use the first deep learning model to perform anomaly detection of the primary device on the first device data and obtain the first device state probability value. The first deep learning model is trained by a recurrent neural network algorithm using multiple sets of first training data. Each set of first training data includes the first sample device data of the primary device and the corresponding second sample state probability value of the primary device. The first sample device data includes at least the device operating parameters, environmental information, normal device status information, abnormal device status information, interval duration of device anomaly occurrence, and device fault records of the primary device collected within the same interval. The first device state probability value is the probability value of the device state of the primary device. The second input / output unit is used to input the second device data into the second deep learning model, so as to use the second deep learning model to perform anomaly detection of the secondary device on the second device data and obtain the second device state probability value. The second deep learning model is trained by a long short-term memory network algorithm using multiple sets of second training data. Each set of second training data includes the second sample device data of the secondary device and the corresponding second sample state probability value. The second sample device data includes at least a sample target label, a sample target correlation coefficient and the sample operation data of the secondary device. The target label is the normal state information and abnormal state information of the device obtained by the primary device. The sample target correlation coefficient is used to determine the degree of correlation between the primary device and the corresponding secondary device. The second device state probability value is the probability value of the device state of the secondary device. The verification unit is used to verify the primary device and the secondary device based on the first device state probability value and the second device state probability value, so as to determine whether the primary device and the secondary device have an abnormal situation. An anomaly handling unit is used to perform anomaly repair processing on the primary device or the secondary device when the anomaly occurs. The device further includes a first computing unit, configured to calculate, before inputting the second device data into a second deep learning model to perform anomaly detection on the second device data using the second deep learning model and obtaining the second device state probability value of the secondary device, a correlation coefficient for each parameter pair in the primary device and the secondary device according to a first formula, wherein the first formula is: , Let be the correlation coefficient of the i-th parameter pair, and n be the total number of parameter pairs. , For the observation value of the primary device in the i-th parameter pair, The observed value of the secondary equipment in the i-th parameter pair is a data value randomly selected from the historical data of the substation. The average of the observed values ​​of the primary device across all said parameter pairs. The parameter pair represents the average of the observations from the secondary devices in all parameter pairs, where each parameter pair represents a combination of the observations from the primary devices and the secondary devices. A partitioning unit is used to partition each parameter pair to a corresponding correlation parameter based on its correlation coefficient; the correlation parameters are categorized as strongly correlated, weakly correlated, and uncorrelated. A setting unit is used to set corresponding weights for the strongly correlated, weakly correlated, and uncorrelated parameters. A second calculation unit is used to calculate the sample target correlation coefficient between the primary devices and the secondary devices according to a second formula, where the second formula is... , The correlation coefficient between the sample target and the target is given. The weight of the i-th parameter in relation to the correlation coefficient.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 6.

9. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Anomaly detection method and device based on electrical equipment portrait, and storage medium

    CN117033913A

  • Big data analysis method and system applied to substation inspection

    CN118467975A

  • Electrical grid anomaly detection, classification, and prediction

    WO2024118550A1