Power failure data governance method and system based on non-contact sampling

By constructing a fault response propagation deviation index and a coupling deviation index-corrected LOF algorithm, the problem of real fault data being misjudged as abnormal in power fault data is solved, realizing accurate identification and integrity management of power fault data, and providing high-quality power grid fault analysis data.

CN123179253APending Publication Date: 2026-11-27NANJING NEW HOPE ELECTRIC POWER TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611685059.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Traditional LOF anomaly detection algorithms struggle to reliably distinguish between real fault characteristics and abnormal interference data in power fault data processing, leading to real fault data being misjudged as abnormal data and affecting the data quality of subsequent power system fault analysis.

Method used

By constructing a fault response propagation deviation index and a fault response coupling deviation index, the local outlier factor of the LOF anomaly detection algorithm is corrected. Combined with the power grid topology and the response characteristics of zero-sequence current and zero-sequence voltage, abnormal power fault data is identified and eliminated, and data interpolation is performed using the moving average interpolation method.

Benefits of technology

It enables accurate identification and management of power fault data, ensuring the purity and integrity of the data, providing a high-quality foundation for fault analysis of the power grid system, and avoiding the accidental deletion of real fault data and the destruction of the purity of the dataset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179253A_ABST
    Figure CN123179253A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of electric power data governance, in particular to an electric power fault data governance method and system based on non-contact sampling, which comprises the following steps: constructing a fault response propagation deviation index according to the attenuation characteristics of the response characteristics of electric power fault data in the line propagation in a power grid topology structure; constructing a fault response coupling deviation index according to the coupling change characteristics of zero sequence current and zero sequence voltage in a power grid node; correcting a local outlier factor in a LOF anomaly detection algorithm based on the fault response propagation deviation index and the fault response coupling deviation index; performing anomaly detection on electric power fault data based on the corrected local outlier factor; and performing governance on abnormal electric power fault data. The application can eliminate abnormal interference data while avoiding the misdeletion of real fault data, and provides a high-quality data basis for subsequent fault analysis of a power grid system based on electric power fault data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power data governance technology, specifically to a power fault data governance method and system based on non-contact sampling. Background Technology

[0002] Non-contact sampling devices are data acquisition units that can be installed under power and are flexibly expanded. They are widely used in power grid nodes such as substations for status sensing. They acquire voltage, current and transient fault signals of lines through electromagnetic induction. The collected fault data is transmitted to a data platform via a communication link for integration, management and storage, providing a data foundation for fault analysis and operation and maintenance tracing of the power system.

[0003] During the sampling and transmission process described above, abnormal data inevitably gets mixed in with the fault data due to factors such as measurement deviation and transmission interference. Therefore, abnormal data detection is a crucial step in data governance to ensure data quality. The LOF (List of Faults) anomaly detection algorithm, commonly used in data processing, identifies anomalies based on the distribution characteristics of statistical samples, but it relies on the formation of concentrated and stable statistical features in the data. However, power fault data is characterized by its suddenness and non-periodicity; the data distribution varies significantly depending on the fault type and severity, making it difficult to form concentrated and stable statistical features. Furthermore, after the fault signal propagates along the line, the fault response characteristics of different nodes naturally deviate due to propagation differences. These factors make it difficult for traditional algorithms to reliably distinguish between genuine fault features and abnormal interference data features, easily misjudging genuine fault data as abnormal data and discarding it, making the processed data unsuitable for subsequent power system fault analysis. Summary of the Invention

[0004] To address the aforementioned technical problems, the purpose of this application is to provide a power fault data management method and system based on non-contact sampling, and the specific technical solution adopted is as follows: In a first aspect, embodiments of this application provide a power fault data management method based on non-contact sampling, the method comprising the following steps: Step 1: Obtain the power grid topology of the power system and the power fault data of the grid nodes, including zero-sequence current and zero-sequence voltage; Step 2: Based on the attenuation characteristics of the response characteristics of zero-sequence current and zero-sequence voltage propagating along the lines in the power grid topology, construct the fault response propagation deviation index for each power grid node; based on the coupling change characteristics of zero-sequence current and zero-sequence voltage within the power grid node, construct the fault response coupling deviation index for each power grid node. Step 3: Based on the fault response propagation deviation index and the fault response coupling deviation index, the local outlier factor in the LOF anomaly detection algorithm is corrected. Based on the corrected local outlier factor, anomaly detection is performed on the power fault data, and the abnormal power fault data is managed.

[0005] Optionally, the process for constructing the fault response propagation deviation index is as follows: In the power grid topology, identify the faulty nodes of the same origin in each power grid node; Based on the distribution of the effective value of the zero-sequence current and the distribution of the effective value of the zero-sequence voltage before and after the fault detection time of each power grid node, the zero-sequence current response characteristic value and the zero-sequence voltage response characteristic value of each power grid node are calculated respectively. Based on the topology propagation difference of transmission lines between any two grid nodes, a topology propagation difference factor is constructed, and combined with the difference in zero-sequence current response characteristic value and the difference in zero-sequence voltage response characteristic value between any two grid nodes, the fault response characteristic difference between any two grid nodes is obtained. The average difference in fault response characteristics between each power grid node and all its nodes with the same source fault is used as the fault response propagation deviation index for each power grid node.

[0006] Optionally, the zero-sequence current response characteristic value of each power grid node is the average of a preset number of zero-sequence current effective values ​​after the fault detection time of each power grid node divided by the average of a preset number of zero-sequence current effective values ​​before the fault detection time; for the zero-sequence voltage effective value, the zero-sequence voltage response characteristic value is calculated according to the calculation process of the zero-sequence current response characteristic value.

[0007] Optionally, the construction of the topology propagation difference factor includes: Topology propagation difference factor between the nth and mth power grid nodes The expression is: In the formula, This represents the line impedance between the nth power grid node and the mth power grid node; This represents the maximum value of the line impedance of the longest path between all grid nodes without upstream grid nodes and all grid nodes without downstream grid nodes in the power grid topology.

[0008] Optionally, the process for obtaining the differences in fault response characteristics is as follows: The result of multiplying the fault response difference between any two grid nodes by the value of an exponential decay function with the topology propagation difference factor as the independent variable is taken as the fault response characteristic difference.

[0009] Optionally, the process for constructing the fault response coupling deviation index is as follows: For each power grid node, before and after the fault detection time, based on the relative change rate between adjacent effective values ​​of zero-sequence current and the relative change rate between effective values ​​of zero-sequence voltage, a relative change sequence of effective value of zero-sequence current and a relative change sequence of effective value of zero-sequence voltage are constructed respectively. The difference between the relative change sequence of the effective value of zero-sequence current and the relative change sequence of the effective value of zero-sequence voltage is used as the fault response coupling deviation index of each power grid node.

[0010] Optionally, the relative change rate of the effective value of the zero-sequence current is the result of dividing the difference between the effective values ​​of adjacent zero-sequence currents in time sequence by the maximum effective value of the zero-sequence current.

[0011] Optionally, the correction of the local outlier factor in the LOF anomaly detection algorithm includes: The sum of the fault response propagation deviation index and the fault response coupling deviation index of each power grid node is calculated and denoted as the deviation index. The deviation index of each power grid node is calculated and divided by the maximum value among all deviation indices of all power grid nodes. The result of this division is used to correct the local outlier factor.

[0012] Optionally, the process of managing abnormal power fault data includes: Abnormal data in the identified power fault data are removed, and the missing data is filled in using the moving average interpolation method.

[0013] Secondly, embodiments of this application also provide a power fault data management system based on non-contact sampling, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of any of the above-described power fault data management methods based on non-contact sampling.

[0014] This application has at least the following beneficial effects: This application constructs a fault response propagation deviation index by analyzing the attenuation characteristics of fault response features propagating along the power grid topology and a fault response coupling deviation index by analyzing the coupling change characteristics of zero-sequence current and zero-sequence voltage within nodes. It characterizes the degree to which power fault data deviates from the actual fault response pattern from two dimensions: the consistency constraint of propagation between power grid nodes and the physical coupling constraint within nodes. This provides a physical criterion that integrates knowledge from the power field for subsequent correction of the local outlier factor of the LOF anomaly detection algorithm. This makes anomaly detection no longer solely dependent on statistical distribution characteristics, thereby avoiding the misjudgment and rejection of real fault data due to the dispersion of statistical characteristics. This application corrects the local outlier factor of the LOF anomaly detection algorithm by using two deviation indices, and incorporates the physical constraints of topology propagation consistency between power grid nodes and the coupling changes of zero-sequence components within power grid nodes into statistical detection, thereby achieving accurate identification of abnormal power fault data. Furthermore, the identified abnormal data is removed, and a moving average interpolation method is used to complete the data in the feature vector space rather than the original waveform space. This overcomes the problem that the original waveforms of adjacent power grid nodes are not portable due to differences in operating states, ensuring that the power fault data of each power grid node after treatment has complete and pure feature vectors. This effectively removes abnormal interference data while avoiding the accidental deletion of real fault data, providing a high-quality data foundation for subsequent fault analysis of the power grid system based on power fault data. Attached Figure Description

[0015] Figure 1 A flowchart illustrating the steps of a power fault data management method based on non-contact sampling, as provided in one embodiment of this application; Figure 2 This is a local power grid topology diagram provided in one embodiment of the present application, wherein the black circles represent power grid nodes, the arrows indicate the direction of power transmission, and a single power grid node has multiple directly connected upstream or downstream power grid nodes. Figure 3 This is a schematic diagram illustrating an example of the process for obtaining the maximum line impedance according to an embodiment of this application, wherein the black circle represents a power grid node and the arrow points in the direction of power transmission. Detailed Implementation

[0016] The following description, in conjunction with the accompanying drawings, details the specific scheme of the power fault data management method and system based on non-contact sampling provided in this application.

[0017] Please see Figure 1 The diagram illustrates a flowchart of a power fault data management method based on non-contact sampling according to an embodiment of this application. The method includes the following steps: Step 1: Obtain the power grid topology of the power system and the power fault data of the grid nodes, including zero-sequence current and zero-sequence voltage; Step 2: Based on the attenuation characteristics of the response characteristics of zero-sequence current and zero-sequence voltage propagating along the lines in the power grid topology, construct the fault response propagation deviation index for each power grid node; based on the coupling change characteristics of zero-sequence current and zero-sequence voltage within the power grid node, construct the fault response coupling deviation index for each power grid node. Step 3: Based on the fault response propagation deviation index and the fault response coupling deviation index, the local outlier factor in the LOF anomaly detection algorithm is corrected. Based on the corrected local outlier factor, anomaly detection is performed on the power fault data, and the abnormal power fault data is managed.

[0018] In this embodiment, the data acquisition process in step one needs to be specifically explained, as follows: Power system-related data includes two main categories: power fault data and power grid topology data. The acquisition paths and data content of these two categories are described below: (a) Collection of power fault data: Power fault data is acquired through a non-contact sampling device. This device uses a non-contact open Hall element and collects power data in the line using the principle of electromagnetic induction. The acquired power fault data is as follows: Power fault data of power grid nodes in a power system includes zero-sequence current and zero-sequence voltage data when a fault occurs in the power line where the power grid node is located; the collection time of the collected power fault data includes 3 cycles before the time of the power grid fault and 7 cycles after the time of the power grid fault, and the data sampling frequency is 1.28kHz.

[0019] (II) Acquisition of power grid topology data: Power grid topology data includes the electrical connections between transmission lines in nodes such as substations and ring main units in the power system. Based on these electrical connections, the power supply path and upstream and downstream hierarchical relationships in the power system can be obtained.

[0020] In this embodiment, the construction process of the fault response propagation deviation index and the fault response coupling deviation index in step two needs to be explained in detail as follows: (I) Characteristic analysis of power fault data and the shortcomings of traditional algorithms: 1. Recording characteristics of power fault data: Power fault data includes fault waveform data for several cycles before and after a fault occurs on a transmission line during operation, before the protection devices at the nodes execute their protective actions. It should be noted that protection devices in the power grid (such as circuit breakers) have a fixed execution delay, typically tens to hundreds of milliseconds. The data time of the several cycles after the fault in the fault waveform data is on the order of magnitude smaller than the execution delay of the protection devices. Therefore, this fault waveform data records in detail the entire evolution of the line's power data from steady state to the appearance of fault characteristics within a very short period before and after the fault occurs.

[0021] Furthermore, when a fault occurs at a certain line in the power system, before the protection device in the power grid node has fully executed the protection action, the fault signal propagates in the form of electromagnetic waves to upstream and downstream nodes in the line, causing upstream and downstream nodes of the transmission line node to record the fault characteristics generated by the fault source with a response delay of milliseconds or even microseconds.

[0022] 2. Deficiencies of traditional LOF anomaly detection algorithms in power fault data scenarios: Traditional LOF anomaly detection algorithms directly quantify the density differences of samples relative to their local neighborhoods based on the statistical characteristics of different sample data to determine the degree of data anomaly. However, in power fault data processing scenarios, due to the propagation of power fault signals through lines and the influence of line impedance, the response characteristics of fault signals recorded in different nodes differ. Traditional LOF anomaly detection algorithms ignore the response coupling characteristics of fault data within different nodes in the power grid system and the consistency characteristics of propagation along the power grid topology. This may lead to some fault data samples being misjudged as anomaly data due to large differences in statistical characteristics, resulting in the destruction of the purity of power fault data in the power grid system and making it difficult to meet the needs of power grid system fault analysis.

[0023] To address the aforementioned problems, this invention constructs two deviation indices to correct the LOF anomaly detection algorithm. The specific process is as follows: i. Constructing the fault response propagation bias index: The fault response propagation deviation index is constructed by analyzing the attenuation characteristics of power fault data propagating along the lines in the power grid topology by analyzing the response characteristics of power fault data at different power grid nodes. The specific process is as follows: (1) Graph structure modeling of power grid topology: For the obtained power grid topology It can be represented as a graph structure of power grid nodes, specifically as follows: ,in, Representing the first in the power grid Each power grid node Indicates the first in the power grid The first power grid node and the first Power grid nodes ( for The edge between the downstream nodes, Indicates the first The first power grid node and the first The edge weights between power grid nodes include the line impedance parameters and line length information between the two nodes.

[0024] The local power grid topology provided in this embodiment is as follows: Figure 2 As shown.

[0025] (2) Division of fault nodes with the same source: When a power grid fault occurs, the timestamp of the moment when each power grid node receives the fault signal is obtained. Considering that the fault signal propagates at almost the speed of light in the power line (the influence of different line impedance parameters on the propagation speed of the fault wave is negligible), and the spatial distance between different power grid nodes is on the order of several kilometers to tens of kilometers, the timestamp difference of the fault data of each power grid node triggered by the same fault event is only on the order of microseconds to milliseconds, which is much smaller than the time interval between independent fault events.

[0026] Therefore, power grid nodes that record fault characteristics are classified according to the following criteria: if the power grid node Fault detection time and grid node The time interval between fault detection moments is less than a preset time interval threshold (in this embodiment, the preset time interval threshold is set to 0.01s), and the power grid node With grid nodes If there is a spatial topological connection in the power grid topology, then the power grid nodes will be... With grid nodes Grid nodes that are determined to be affected by the same fault event are mutually recorded as nodes with the same source of fault.

[0027] (3) Extraction of zero-sequence current and zero-sequence voltage response characteristic values: The effective values ​​of zero-sequence current and zero-sequence voltage at each grid node are calculated according to the cycle (power frequency cycle, i.e., the reciprocal of 50Hz). Since the acquired zero-sequence current and voltage data include the zero-sequence current and zero-sequence voltage of the cycle in which the fault is detected, as well as the zero-sequence current and zero-sequence voltage of the three cycles before the fault detection time, the cycle in which the fault is detected, and the seven cycles after the fault detection time, a total of 11 effective values ​​of zero-sequence current and 11 effective values ​​of zero-sequence voltage are obtained. The calculation process of the effective values ​​of current and voltage is a well-known technique and will not be described in detail here.

[0028] Based on this, and considering the distribution of the effective value of the zero-sequence current before and after the fault detection time at each power grid node, the characteristic value of the zero-sequence current response is calculated, specifically: The zero-sequence current response characteristic value of the nth power grid node The expression is: In the formula, , These represent the average of a preset number of zero-sequence current effective values ​​before the fault detection time of the nth power grid node and the average of a preset number of zero-sequence current effective values ​​after the fault detection time, respectively. In this embodiment, the preset number and the preset quantity are 3 and 7, respectively. This represents a preset constant greater than 0, used to prevent the denominator from being 0. In this embodiment... The value is 0.1% of the rated operating current of the power grid node under normal operating conditions. In actual applications, as other implementation methods, implementers can also set it according to specific circumstances. This embodiment does not impose any special restrictions.

[0029] Similarly, based on the distribution of the effective value of the zero-sequence voltage before and after the fault detection time at each power grid node, the characteristic value of the zero-sequence voltage response is calculated, specifically: The zero-sequence voltage response characteristic value of the nth grid node The expression is: In the formula, , , representing the mean of the three effective values ​​of zero-sequence voltage before the fault detection time of the nth power grid node, and the mean of the seven effective values ​​of zero-sequence voltage after the fault detection time, respectively. This represents a preset constant greater than 0, used to prevent the denominator from being 0. In this embodiment... The value is 0.1% of the rated operating voltage of the power grid node under normal operating conditions. In actual application, as other implementation methods, implementers can also set it according to specific circumstances. This embodiment does not impose any special restrictions.

[0030] (4) Differences in response characteristics between nodes and correction for propagation attenuation: Construction of topology propagation difference factor: Based on the topology propagation difference of transmission lines between any two power grid nodes, a topology propagation difference factor is constructed, specifically: Calculate the topology propagation difference factor between any two grid nodes based on the line impedance parameters included in the edge weights between them. Specifically: Topology propagation difference factor between the nth and mth power grid nodes The expression is: In the formula, This represents the line impedance between the nth power grid node and the mth power grid node; This represents the maximum value of the line impedance of the longest path (the longest path being the path with the maximum number of hops between two nodes) between all nodes in a power grid topology that have no upstream nodes and all nodes have no downstream nodes. For example, if nodes a and b are two nodes with no upstream nodes, and nodes y and z are two nodes with no downstream nodes, then ay can be used to obtain the longest path. Figure 3As shown, the dashed line represents the longest path with the maximum number of hops between ay and bz. Then, the line impedance of the longest path from ay to bz can be calculated. Similarly, the line impedance of the longest path between az, by, and bz can be calculated. That is, the maximum value among the line impedances ay, az, by, and bz.

[0031] Explanation of the calculation principle: The topology propagation difference factor is used to characterize the relative magnitude of the electrical obstruction of the transmission line between two grid nodes to the propagation of fault signals. It is constructed in the form of the ratio of the line impedance between the two grid nodes to the maximum value of the line impedance of the longest line between all grid nodes without upstream and all grid nodes without downstream in the grid topology. It eliminates the interference of dimensions and magnitudes and normalizes the line impedance to a dimensionless quantity in the interval [0,1]. The topology propagation difference factor reflects the source of the difference in response attenuation at each node due to the different electrical distances of the line during the propagation of the fault signal of the same fault event from the fault source to different power grid nodes. The larger the topology propagation difference factor, the larger the proportion of the line impedance between the two grid nodes in the whole network and the greater the electrical distance. The stronger the attenuation effect of the fault signal when propagating between the two grid nodes, the greater the inherent difference in the fault response characteristics recorded by the two grid nodes due to the propagation effect. If no processing is done, this propagation attenuation difference caused by the topology will be mistakenly identified as a response difference caused by data anomalies, interfering with subsequent anomaly judgment. Conversely, the smaller the topology propagation difference factor, the smaller the line impedance and the closer the electrical distance between the two grid nodes. The weaker the attenuation effect of the fault signal propagating between the two grid nodes, the less the fault response characteristics recorded by the two grid nodes are affected by the propagation effect. If the difference in their response characteristics is still large, it is more likely to be caused by the abnormality of the data itself rather than by the propagation factor. Therefore, the topology propagation difference factor provides a corrective basis for distinguishing between "inherent differences caused by propagation" and "intrinsic differences caused by data abnormalities".

[0032] Construct the fault response difference between any two nodes: the fault response difference between the nth power grid node and the mth power grid node. The expression is: In the formula, , These represent the zero-sequence current response characteristic values ​​of the nth and mth grid nodes, respectively; , Let represent the zero-sequence voltage response characteristic values ​​of the nth and mth grid nodes, respectively; max() represents the maximum value function.

[0033] In particular, when and When both are 0, then Set it directly to 0; similarly, when and When both are 0, then Set it directly to 0.

[0034] Explanation of the calculation principle: Fault response difference is used to characterize the relative deviation of power fault data of two grid nodes in terms of fault response severity under the same fault event. It is constructed in the form of the ratio of the absolute value of the difference between the zero-sequence current response characteristic values ​​of the two grid nodes to the larger of the two values, and the sum of the ratio of the absolute value of the difference between the zero-sequence voltage response characteristic values ​​to the larger of the two values. The absolute value is taken because the magnitude relationship of the response characteristic values ​​of the two nodes cannot be determined when the fault source location is uncertain. The normalization process with the larger value as the denominator converts both current and voltage components into dimensionless relative deviations, ensuring that the two are additive, thereby reflecting the response deviation of the two grid nodes in the process of zero-sequence component development and evolution before and after the fault. The greater the difference in fault response, the more obvious the deviation in the response characteristics of the two power grid nodes to the same fault event. The further the power fault data of one (or two) power grid nodes deviates from the normal response state, the higher the probability that it is abnormal power fault data. If it is not identified, the abnormal data will be mixed into the dataset and destroy the statistical consistency of the fault data. Conversely, the smaller the difference in fault response, the closer the response characteristics of the two power grid nodes to the same fault event, the more consistent the changes in the effective values ​​of zero-sequence current and zero-sequence voltage of each power grid node before and after the fault, the more consistent the response consistency that the fault signal should have when propagating along the power grid, and the more likely the corresponding power fault data is to be normal and real fault data.

[0035] It should be noted that at this time, the fault response difference still contains inherent differences caused by line propagation attenuation, and cannot be directly used as an anomaly criterion. It needs to be corrected by the topology propagation difference factor before it can characterize the intrinsic difference.

[0036] Differences in response characteristics after eliminating propagation attenuation interference: Differences in fault response characteristics between the nth and mth power grid nodes The expression is: In the formula, This represents an exponential function with the natural constant as its base.

[0037] Explanation of the calculation principle: The fault response characteristic difference is used to characterize the intrinsic fault response difference between two grid nodes to the same fault event after correction for topology propagation difference. It is constructed as the product of the response characteristic difference and an exponential decay function with the topology propagation difference factor as the independent variable. It reflects the degree of response deviation determined purely by the node's own data state after stripping away the influence of line propagation decay. When a fault signal caused by the same fault event propagates along the line between different power grid nodes, it is affected by the line impedance. The larger the line impedance, the greater the impact on the propagation of the fault signal. The difference in response characteristics between two power grid nodes may be caused by the propagation attenuation due to the larger line impedance, or it may be caused by the presence of abnormal power fault data in either node. Therefore, by multiplying the difference in response characteristics by a factor that decays exponentially with the topology propagation difference factor, the larger the topology propagation difference factor (the stronger the propagation attenuation effect), the greater the correction attenuation magnitude. This eliminates the interference of the line impedance factor on the difference in response characteristics, making the difference in fault response characteristics more focused on characterizing the intrinsic response differences of different power grid nodes to the same fault event. The greater the difference in fault response characteristics, the more significant the deviation in response characteristics between the two power grid nodes remains after propagation correction. This deviation cannot be explained by line propagation effect. The higher the possibility that the power grid node data is affected by factors such as measurement deviation of non-contact sampling devices or abnormal data transmission, the more likely there is abnormal power fault data. Conversely, the smaller the difference in fault response characteristics, the more likely the deviation in response characteristics between the two power grid nodes can be fully explained by the propagation attenuation effect. The power fault data of the two power grid nodes maintain good consistency in response to the same fault event, and the higher the probability that the data is normal.

[0038] Constructing the fault response propagation bias index: In this embodiment, the average difference in fault response characteristics between each power grid node and all its faulty nodes originating from the same source is used as the fault response propagation deviation index of each power grid node.

[0039] Explanation of the calculation principle: The fault response propagation deviation index is used to characterize the overall deviation of the power fault data of a single grid node from the topology propagation consistency of all its peer fault nodes. It is constructed in the form of the mean of the fault response characteristics differences between the grid node and all peer fault nodes. The purpose of taking the mean is to integrate the intrinsic differences between the node and each peer fault node, avoid the overall assessment imbalance caused by interference from individual nodes, and reflect whether the fault data of the grid node conforms to the response consistency that the fault signal should have when propagating along the line in the grid topology. When power fault data at a power grid node is affected by factors such as measurement deviation of non-contact sampling devices or abnormal data transmission, the intrinsic response differences between the corresponding power grid node and each fault node from the same source will produce a significant overall deviation. The fault response propagation deviation index is large, indicating that the fault response characteristics at the corresponding power grid node do not conform to the propagation consistency of power fault signals in the power grid topology. The higher the probability that it is an abnormal power fault data, the more likely it is to be an abnormal power fault data. If it is not identified and removed, it will destroy the purity of the data set and mislead subsequent fault analysis. Conversely, when the fault response propagation deviation index is small, it indicates that the difference between the power fault data of the corresponding grid node and the response of the same fault node is mainly due to the propagation effect and the overall consistency of the fault signal propagation. Even if there are individual local abnormal nodes that interfere with the difference between them and individual grid nodes, the mean value processing can keep the overall evaluation result at a low level, and the power fault data of the corresponding grid node is more likely to be normal data.

[0040] ii. Construct the fault response coupling deviation index: Based on the above processing, the fault response coupling deviation index is constructed by analyzing the coupling change characteristics of zero-sequence current and zero-sequence voltage within the power grid node. The specific process is as follows: (1) Coupling mechanism of zero-sequence current and zero-sequence voltage: When a fault occurs in a line, the balance of three-phase current and voltage at the fault point is disrupted, resulting in significant changes in zero-sequence current and zero-sequence voltage. Zero-sequence current reflects the response of the zero-sequence component in the fault path, while zero-sequence voltage reflects the change in the system's zero-sequence potential under fault conditions. Although their magnitudes differ due to the system's grounding method and operating parameters, they exhibit a strong temporal correlation during the evolution of the same fault event; that is, zero-sequence current and voltage show the same trend within the time period in which significant changes occur.

[0041] (2) Construction of the sequence of relative changes in effective values: For each power grid node, the maximum value is selected from the three zero-sequence current RMS values ​​at and before the fault detection time and the seven zero-sequence current RMS values ​​after the fault detection time. The difference between each zero-sequence current RMS value and its adjacent preceding zero-sequence current RMS value is divided by the maximum value, and this result is used as the relative change rate of each zero-sequence current RMS value. The sequence of relative change rates of all zero-sequence current RMS values ​​is denoted as the zero-sequence current RMS value relative change sequence. Similarly, for the zero-sequence voltage RMS value, the zero-sequence voltage RMS value relative change sequence is constructed according to the construction process of the zero-sequence current RMS value relative change sequence. The specific process will not be elaborated here.

[0042] It should be noted that, in order to prevent the denominator from being 0 when calculating the ratio, a preset zero-prevention factor is added to the maximum value before calculating the ratio. In this embodiment, the preset zero-prevention factor is 0.01. In actual application, as other implementation methods, implementers can also set it according to specific circumstances. This embodiment does not impose any special restrictions.

[0043] (3) Calculation of the fault response coupling deviation index: Furthermore, the difference between the relative change sequence of the effective value of zero-sequence current and the relative change sequence of the effective value of zero-sequence voltage is used as the fault response coupling deviation index of each grid node.

[0044] It should be noted that there are many commonly used methods for measuring the differences between data. In this embodiment, the Euclidean distance between the relative change sequence of the effective value of zero-sequence current and the relative change sequence of the effective value of zero-sequence voltage is used as the difference between the relative change sequence of the effective value of zero-sequence current and the relative change sequence of the effective value of zero-sequence voltage. In practical applications, implementers may also choose other methods to measure the differences between sequences according to specific circumstances. This embodiment does not impose any special restrictions.

[0045] The calculation process for Euclidean distance is a well-known technique and will not be elaborated further.

[0046] Explanation of the calculation principle: The fault response coupling deviation index is used to characterize the consistency of the coupling changes of zero-sequence current and zero-sequence voltage within a single power grid node during the fault evolution process. It is constructed in the form of the Euclidean distance between the relative change sequence of the effective value of zero-sequence current and the relative change sequence of the effective value of zero-sequence voltage. The relative change rate is normalized with the maximum value of the cycle effective value sequence as the denominator, which eliminates the influence of the difference in magnitude between the zero-sequence current and zero-sequence voltage, making their change characteristics comparable. It reflects the degree of synchronization of the change trends of zero-sequence current (zero-sequence component response of the fault channel) and zero-sequence voltage (change in system zero-sequence potential) between cycles before and after the fault within the same node. Although the zero-sequence current and zero-sequence voltage have different amplitudes due to the influence of system grounding method and operating state parameters during the evolution of the same fault event, they have a strong time correlation and the same trend of change. When the trends of change of the two are consistent and the coupling response relationship is stable, the difference between the sequences is small and the fault response coupling deviation index is small. This indicates that the power fault data of the corresponding grid node can better reflect the coupling change characteristics of zero-sequence current and zero-sequence voltage under fault conditions, and is normal data. Conversely, the larger the fault response coupling deviation index, the more obvious the deviation between the changing trends of zero-sequence current and zero-sequence voltage within the power grid node, and the higher the degree of decoupling of their changing characteristics. This decoupling state cannot be explained by the physical mechanism of the actual fault, and is more likely to be caused by the measurement deviation of the sampling device or the abnormal transmission, resulting in the distortion of one of the data components. The higher the probability of abnormality in the power fault data of the corresponding power grid node, the more it needs to be identified and addressed in subsequent detection.

[0047] In this embodiment, the process of correcting local outlier factors in step three and the process of managing abnormal power fault data are specifically explained as follows: (a) Optimize the LOF anomaly detection algorithm: i. Feature vector extraction and standardization: Feature vectors are extracted from power fault data. The feature vectors of each power grid node include the normalized values ​​of the mean of the zero-sequence current RMS values ​​at the fault detection time and the three preceding and seven following times, the normalized value of the mean of the zero-sequence voltage RMS values, the normalized value of the maximum absolute difference between adjacent zero-sequence current RMS values, the normalized value of the maximum absolute difference between adjacent zero-sequence voltage RMS values, the proportion of non-power frequency components in the total energy of the spectrum of the zero-sequence current RMS values, and the proportion of non-power frequency components in the total energy of the spectrum of the zero-sequence voltage RMS values. The normalized components in the above feature vectors are normalized using the sigmoid function. Since the process of normalizing data using the sigmoid function is a well-known technique, it will not be described in detail here.

[0048] It should be noted that the process of acquiring the spectrum is a well-known technique and will not be described in detail here.

[0049] ii. Calculation of local outlier factor: Calculate the Euclidean distance between each power grid node and the feature vector of any node with the same source fault. Sort the Euclidean distances in ascending order. The nodes with the same source fault corresponding to the first k Euclidean distances in the sorted results are denoted as the neighboring nodes with the same source fault. When the total number of nodes with the same source fault is less than or equal to k, all such nodes with the same source fault are selected as the neighboring nodes with the same source fault. Calculate the sum of the Euclidean distances between each power grid node and the feature vectors of all its neighboring nodes with the same source fault, and divide it by the number of each power grid node and all its neighboring nodes with the same source fault. This is denoted as the average reachable distance in the neighborhood. The reciprocal of the average reachable distance in the neighborhood is denoted as the local reachability density of each power grid node. Finally, take the average of the ratios of the local reachability density of all neighboring nodes with the local reachability density of each power grid node, and denot it as the local outlier factor of each power grid node. A local outlier factor close to 1 indicates that the zero-sequence current and zero-sequence voltage of the corresponding power grid node are normal. A local outlier factor greater than 1 and the larger the value, the higher the probability that the corresponding power grid node is an outlier.

[0050] iii. Correction of local outlier factors based on deviation index: Based on the fault response propagation bias index and the fault response coupling bias index, the local outlier factor is corrected as follows: The sum of the fault response propagation deviation index and the fault response coupling deviation index of each power grid node is calculated and denoted as the deviation index. ; In the formula, This represents the local outlier factor correction value for the nth power grid node; This represents the deviation index of the nth power grid node; This represents the maximum value among all the deviation indices of the power grid nodes; This represents the local outlier factor of the nth power grid node.

[0051] Explanation of the calculation principle: The essence of local outlier correction is to use the relative magnitude of the deviation index as weight to perform scaling and calibration on the purely statistical local outliers based on the power physics mechanism. The deviation index comprehensively characterizes the degree of deviation of the fault data of the node in two aspects: topology propagation consistency (inter-node dimension) and zero-sequence current and zero-sequence voltage coupling change consistency (intra-node dimension). When the deviation index of a power grid node is large, it indicates that the data of that power grid node is poor in terms of propagation consistency and coupling characteristics, and does not conform to the physical laws of power fault data. It is more likely to be abnormal data. The correction will appropriately increase its local outlier factor, amplify its abnormality score in density comparison, improve the accuracy of the LOF anomaly detection algorithm in identifying abnormal power fault data, and avoid missed detection due to the dispersion of statistical features caused by the suddenness and non-periodicity of fault data. Conversely, when the deviation index of a power grid node is small, its power fault data conforms to the characteristics of topological propagation consistency and fault coupling change. It belongs to real fault data that may be statistically skewed but is physically normal. The correction will appropriately reduce its local outlier factor and lower its anomaly score, avoiding the misjudgment and erroneous removal of normal real fault data due to large differences between its statistical distribution characteristics and its neighborhood. Thus, power domain knowledge constraints are incorporated into statistical detection, ultimately improving the accuracy and reliability of anomaly detection in power fault data scenarios.

[0052] (ii) Processing power fault data: i. Anomaly detection based on a topology-aware LOF anomaly detection algorithm: The zero-sequence currents and zero-sequence voltages of each grid node and all its corresponding fault nodes are used as inputs to the LOF anomaly detection algorithm. The local outlier factor in the LOF anomaly detection algorithm is corrected using the local outlier factor of the corresponding grid node. The algorithm ultimately outputs abnormal data in the zero-sequence current and abnormal data in the zero-sequence voltage, respectively. The process of using the LOF anomaly detection algorithm to detect anomalies in the data is a well-known technique and will not be elaborated further.

[0053] ii. Removal and interpolation preprocessing of abnormal power fault data: The identified abnormal data is removed. Considering that the fault data of the node will be missing after the removal, in order to meet the data integrity requirements of subsequent power grid system fault analysis, the missing data needs to be interpolated and completed.

[0054] It should be noted that the interpolation object is the feature vector of the power fault data rather than the original waveform, for the following reasons: the zero-sequence current and voltage waveform data are closely related to the real-time operating status of each node (such as the load level and operating mode at that time). The original waveforms between adjacent nodes are not directly comparable or portable, and the waveform data of the nodes in this power grid cannot be directly interpolated based on the zero-sequence current and voltage waveforms of adjacent nodes. On the other hand, the feature vector represents the response characteristics in the fault evolution process. The response characteristics of adjacent nodes under the same fault event are consistent after the line propagation difference interference is eliminated in step two, thus providing a physical basis for interpolation.

[0055] iii. Data interpolation and completion based on moving average interpolation: The power fault data of each power grid node are used to obtain the corresponding feature vectors using the feature vector extraction method described in step two.

[0056] Furthermore, the feature vectors of zero-sequence current and zero-sequence voltage are interpolated and completed using the moving average interpolation method. The data used for interpolation is the feature vector of the adjacent power grid nodes of the power grid node corresponding to the abnormal data. In this embodiment, the range of the sliding window step size is set to [5,11], specifically 7. That is, the feature vectors of the three adjacent power grid nodes before and after the power grid node corresponding to the abnormal data (a total of six) are used for interpolation. The mean value of the corresponding position elements of the feature vectors of the adjacent power grid nodes is taken as the interpolation value to obtain the completed feature vector.

[0057] iv. Output of governance results: After the above interpolation and completion, the power fault data of each power grid node has a complete and pure feature vector, which can be used by the subsequent power grid system to perform fault analysis based on the feature vector of the power fault data, thus completing the governance of power fault data.

[0058] Based on the same inventive concept as the above methods, this application also provides a power fault data management system based on non-contact sampling, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of any one of the above-described power fault data management methods based on non-contact sampling.

Claims

1. A power fault data management method based on non-contact sampling, characterized in that, The method includes the following steps: Step 1: Obtain the power grid topology of the power system and the power fault data of the grid nodes, including zero-sequence current and zero-sequence voltage; Step 2: Based on the attenuation characteristics of the response characteristics of zero-sequence current and zero-sequence voltage propagating along the lines in the power grid topology, construct the fault response propagation deviation index for each power grid node; based on the coupling change characteristics of zero-sequence current and zero-sequence voltage within the power grid node, construct the fault response coupling deviation index for each power grid node. Step 3: Based on the fault response propagation deviation index and the fault response coupling deviation index, the local outlier factor in the LOF anomaly detection algorithm is corrected. Based on the corrected local outlier factor, anomaly detection is performed on the power fault data, and the abnormal power fault data is managed.

2. The power fault data management method based on non-contact sampling as described in claim 1, characterized in that, The process of constructing the fault response propagation deviation index is as follows: In the power grid topology, identify the faulty nodes of the same origin in each power grid node; Based on the distribution of the effective value of the zero-sequence current and the distribution of the effective value of the zero-sequence voltage before and after the fault detection time of each power grid node, the zero-sequence current response characteristic value and the zero-sequence voltage response characteristic value of each power grid node are calculated respectively. Based on the topology propagation difference of transmission lines between any two grid nodes, a topology propagation difference factor is constructed, and combined with the difference in zero-sequence current response characteristic value and the difference in zero-sequence voltage response characteristic value between any two grid nodes, the fault response characteristic difference between any two grid nodes is obtained. The average difference in fault response characteristics between each power grid node and all its nodes with the same source fault is used as the fault response propagation deviation index for each power grid node.

3. The power fault data management method based on non-contact sampling as described in claim 2, characterized in that, The zero-sequence current response characteristic value of each power grid node is the average of a preset number of effective zero-sequence current values ​​after the fault detection time of each power grid node divided by the average of a preset number of effective zero-sequence current values ​​before the fault detection time. For the effective value of zero-sequence voltage, the characteristic value of zero-sequence voltage response is calculated according to the calculation process of the characteristic value of zero-sequence current response.

4. The power fault data management method based on non-contact sampling as described in claim 2, characterized in that, The construction of the topology propagation difference factor includes: Topology propagation difference factor between the nth and mth power grid nodes The expression is: In the formula, This represents the line impedance between the nth power grid node and the mth power grid node; This represents the maximum value of the line impedance of the longest path between any two nodes in the power grid topology that have no upstream nodes and any two nodes that have no downstream nodes.

5. The power fault data management method based on non-contact sampling as described in claim 2, characterized in that, The process for obtaining the differences in fault response characteristics is as follows: The result of multiplying the fault response difference between any two grid nodes by the value of an exponential decay function with the topology propagation difference factor as the independent variable is taken as the fault response characteristic difference.

6. The power fault data management method based on non-contact sampling as described in claim 1, characterized in that, The process of constructing the fault response coupling deviation index is as follows: For each power grid node, before and after the fault detection time, based on the relative change rate between adjacent effective values ​​of zero-sequence current and the relative change rate between effective values ​​of zero-sequence voltage, a relative change sequence of effective value of zero-sequence current and a relative change sequence of effective value of zero-sequence voltage are constructed respectively. The difference between the relative change sequence of the effective value of zero-sequence current and the relative change sequence of the effective value of zero-sequence voltage is used as the fault response coupling deviation index of each power grid node.

7. The power fault data management method based on non-contact sampling as described in claim 6, characterized in that, The relative change rate of the effective value of the zero-sequence current is the result of dividing the difference between adjacent effective values ​​of the zero-sequence current in time sequence by the maximum effective value of the zero-sequence current.

8. The power fault data management method based on non-contact sampling as described in claim 1, characterized in that, The correction of the local outlier factor in the LOF anomaly detection algorithm includes: The sum of the fault response propagation deviation index and the fault response coupling deviation index of each power grid node is calculated and denoted as the deviation index. The deviation index of each power grid node is calculated and divided by the maximum value among all deviation indices of all power grid nodes. The result of this division is used to correct the local outlier factor.

9. The power fault data management method based on non-contact sampling as described in claim 1, characterized in that, The process of managing abnormal power fault data includes: Abnormal data in the identified power fault data are removed, and the missing data is filled in using the moving average interpolation method.

10. A power fault data management system based on non-contact sampling, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the power fault data management method based on non-contact sampling as described in any one of claims 1-9.