A method for detecting abnormal power supply failure in rural power grid

By calculating initial saliency, cluster analysis and merging clusters in rural power grid fault detection, the problem of not considering transmission distance and circuit distribution errors in detection is solved, achieving higher detection accuracy and reliability.

CN118035916BActive Publication Date: 2024-09-10JIAMUSI POWER IND BUREAU +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410233619.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-09-10
Estimated Expiration
2044-03-01

AI Technical Summary

Technical Problem

Existing technologies fail to effectively consider long transmission distances and circuit distribution errors in rural power grid fault anomaly detection, resulting in poor detection results, low accuracy, and insufficient objectivity and reliability.

Method used

By periodically obtaining the power grid output voltage data, calculating the initial significance, cluster analysis, merging clusters, correcting the significance, determining the abnormality judgment threshold, performing anomaly detection, and reducing the impact of power grid line loss and circuit distribution on detection.

Benefits of technology

It improves the accuracy and reliability of abnormality detection, enhances the objectivity of detection, reduces the impact of power grid line loss and circuit distribution on detection results, and improves detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118035916B
    Figure CN118035916B
Patent Text Reader

Abstract

The present invention relates to the technical field of big data resource services, and in particular to a method for detecting abnormalities in power supply failures in rural power grids. The method comprises: obtaining output voltage data, determining the initial significance of each output voltage data; clustering according to the initial significance to obtain cluster clusters, and determining relevant indicators according to the difference, value and distribution of the initial significance of the output voltage data in the cluster clusters; merging all cluster clusters according to the relevant indicators to obtain a target cluster, and determining the target significance according to all output voltage data in the target cluster; determining an abnormality judgment threshold according to the target significance, and performing abnormality detection on the output voltage data of power grids in different regions according to the abnormality judgment threshold to determine abnormal voltage data. The present invention can reduce the influence of the error of power grid line loss on actual abnormality detection, so that the abnormality detection effect is better and the accuracy is stronger, and the objectivity and reliability of abnormality detection are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of big data resource services, and in particular to a method for detecting abnormal power supply failures in rural power grids. Background Art

[0002] Electricity supply in rural areas is crucial for residents, agriculture and other production activities. Unstable power supply or abnormal faults may lead to production interruption, equipment damage and inconvenience in life. The special environment of rural power grids includes long transmission distances, uneven distribution of users, aging equipment and other factors, which requires fault detection methods to consider more complex situations, making the analysis of rural power big data affected by multiple environments.

[0003] The related technology directly detects anomalies based on the magnitude of the voltage value, but does not actually take into account the influence of errors such as circuit loss caused by long transmission distances and circuit distribution in rural areas, resulting in poor anomaly detection results, low accuracy of anomaly analysis, and insufficient objectivity and reliability of anomaly detection. Summary of the invention

[0004] In order to solve the technical problems that the related art does not take into account the circuit loss caused by the long transmission distance and the error influence of the circuit distribution in rural areas, resulting in poor anomaly detection effect, low anomaly analysis accuracy, and insufficient objectivity and reliability of anomaly detection, the present invention provides a rural power grid power supply fault anomaly detection method, and the technical scheme adopted is as follows:

[0005] The present invention proposes a method for detecting abnormal power supply failure in a rural power grid, the method comprising:

[0006] Periodically obtain output voltage data of power grids in different regions, and determine the initial significance of each output voltage data according to the value of each output voltage data and the difference between the output voltage data and other output voltage data within a preset neighborhood range;

[0007] Clustering all output voltage data according to the initial significance of each output voltage data to obtain a preset number of clusters, determining a first correlation degree corresponding to the two clusters according to the difference in the initial significance of all output voltage data in any two clusters, determining a second correlation degree corresponding to the two clusters according to the distribution of the values ​​and initial significance of all output voltage data in any two clusters, and determining a related index according to the first correlation degree and the second correlation degree of any two clusters;

[0008] Merging all clusters according to the relevant index to obtain a target cluster, and performing numerical correction on the initial significance of each output voltage data in the target cluster according to the values ​​of all output voltage data in the target cluster to obtain a target significance;

[0009] According to the target significance of all output voltage data, an abnormality judgment threshold is determined, and according to the abnormality judgment threshold, an abnormality detection is performed on the output voltage data of power grids in different regions to determine abnormal voltage data.

[0010] Furthermore, determining the initial significance of each output voltage data according to the difference between the value of each output voltage data and other output voltage data within a preset neighborhood of the output voltage data includes:

[0011] Calculate the mean of all output voltage data as the output voltage mean, select any one output voltage data as the data to be tested, and normalize the absolute value of the difference between the data to be tested and the output voltage mean to obtain a first significant impact indicator of the data to be tested;

[0012] A preset number of other regions closest to the region corresponding to the data to be tested are taken as adjacent regions, the average of the absolute values ​​of the differences between the region where the data to be tested is located and the output voltage data of all the adjacent regions is calculated, and a second significant impact index of the data to be tested is obtained by normalization processing;

[0013] Using the variance of the output voltage data of all adjacent regions as a third significant impact indicator of the data to be measured;

[0014] According to the first significant influence indicator, the second significant influence indicator and the third significant influence indicator, the initial significance of the data to be tested is determined, the data to be tested is updated, and the initial significance of each output voltage data is obtained, wherein the first significant influence indicator, the second significant influence indicator and the third significant influence indicator are all positively correlated with the initial significance of the data to be tested, and the value range of the initial significance is the normalized value.

[0015] Furthermore, clustering all output voltage data according to the initial significance of each output voltage data to obtain a preset number of clusters includes:

[0016] A two-dimensional coordinate system is constructed with the output voltage data value as the horizontal axis and the initial significance vertical axis, and data points of the output voltage data of all regions in the two-dimensional coordinate system are determined;

[0017] The preset number is used as the k value, and the k-means clustering algorithm is used to cluster all the data points to obtain a preset number of clusters.

[0018] Furthermore, the determining of the first correlation degree between two clusters according to the difference in initial significance of all output voltage data in any two clusters includes:

[0019] Calculate the mean of the initial significance of all output voltage data in each cluster to obtain the cluster significance mean;

[0020] The absolute value of the difference between the cluster significance means of two clusters is negatively correlated to obtain the first correlation degree of the two clusters.

[0021] Furthermore, the determining of the second correlation degree corresponding to the two clusters according to the distribution of the values ​​of all output voltage data in any two clusters and the initial significance includes:

[0022] The mean of all output voltage data of each cluster is taken as the cluster voltage mean; the variance of the initial significance of all output voltage data in each cluster is taken as the cluster significance variance;

[0023] Calculate the product of the cluster voltage mean and the cluster significance variance of the same cluster to obtain the cluster distribution index of the corresponding cluster;

[0024] The absolute values ​​of the differences of the cluster distribution indicators of the two clusters are negatively correlated and mapped to obtain the second correlation degree corresponding to the two clusters.

[0025] Furthermore, the first correlation degree and the second correlation degree of the two clusters are both positively correlated with the correlation indexes of the corresponding two clusters, and the value of the correlation index is a normalized value.

[0026] Furthermore, merging all clusters according to the relevant indicators to obtain a target cluster includes:

[0027] The clusters whose correlation index is greater than a preset correlation threshold are merged to obtain a target cluster.

[0028] Furthermore, the step of performing numerical correction on the initial significance of each output voltage data in the target cluster according to the values ​​of all output voltage data in the target cluster to obtain the target significance includes:

[0029] Taking the mean of all output voltage data in the target cluster as the target mean, and taking the absolute value of the difference between any output voltage data in the target cluster and the target mean as the voltage value correction difference of the corresponding output voltage data;

[0030] Obtaining the maximum and minimum values ​​of all output voltage data in the target cluster;

[0031] Calculate the absolute value of the difference between any output voltage data in the target cluster and the maximum value to obtain the maximum difference; calculate the absolute value of the difference between any output voltage data in the target cluster and the minimum value to obtain the minimum difference; take the absolute value of the difference between the maximum difference and the minimum difference as the extreme value difference;

[0032] Calculating the product of the voltage value correction difference and the extreme value difference, and normalizing them to obtain a significance weight;

[0033] The product of the significance weight of each output voltage data and the corresponding initial significance is taken as the target significance.

[0034] Furthermore, determining the abnormality judgment threshold according to the target significance of all output voltage data includes:

[0035] Calculate the mean of all target significance as the abnormality judgment threshold.

[0036] Further, the abnormality detection is performed on the output voltage data of power grids in different regions according to the abnormality judgment threshold to determine the abnormal voltage data, including:

[0037] The output voltage data whose target significance is greater than the abnormality determination threshold is regarded as abnormal voltage data.

[0038] The present invention has the following beneficial effects:

[0039] The embodiment of the present invention determines the initial significance of each output voltage data by the difference between the value of each output voltage data and other output voltage data of the output voltage data within a preset neighborhood range. The initial significance characterizes the value difference of the output voltage data itself. The value difference does not take into account the normal situation of line loss during transmission, and thus classification analysis is required. Classification is performed by clustering, and then, based on the difference in the initial significance, the first correlation degree of two clusters is determined, and the second correlation degree is determined based on the difference in the value of the output voltage data and the distribution of the initial significance. The relevant index is determined in combination with the first correlation degree and the second correlation degree. The relevant index characterizes the similarity of the clusters, and all clusters are classified in combination with the relevant index. The rows are merged to obtain a target cluster that is more in line with the current actual voltage distribution. The target significance is obtained according to the distribution of the values ​​of the output voltage data in the target cluster and the initial significance. The target significance is the significance value determined by combining the numerical anomaly of the output voltage data itself, the numerical distribution of the output voltage data within the local area and the significant effect of the output voltage data. The target significance has a higher objective effect, and can detect anomalies in the output voltage data of power grids in different regions according to the target significance of all output voltage data, reduce the error of power grid line loss and the influence of circuit distribution in rural areas on actual anomaly detection, make the anomaly detection effect better and more accurate, and enhance the objectivity and reliability of anomaly detection. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1 A flow chart of a rural power grid power supply fault anomaly detection method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a rural power grid power supply fault abnormality detection method proposed by the present invention, its specific implementation method, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0043] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0044] The specific scheme of the rural power grid power supply fault anomaly detection method provided by the present invention is described in detail below with reference to the accompanying drawings.

[0045] See also Figure 1 , which shows a flow chart of a rural power grid power supply fault anomaly detection method provided by an embodiment of the present invention, the method comprising:

[0046] S101: periodically acquiring output voltage data of power grids in different regions, and determining the initial significance of each output voltage data according to the difference between the value of each output voltage data and other output voltage data within a preset neighborhood range.

[0047] A specific implementation scenario of the present invention is to analyze the abnormal situation of the power supply of the power grid by obtaining the output voltage of the power grid in different rural areas. It should be noted that compared with urban areas, the distance between different villages in rural areas is longer, and the loss of electric energy during transmission is also larger, which will cause voltage fluctuations. When transmitting electricity in rural areas, voltage fluctuations are normal. Therefore, when performing abnormal detection, it is necessary to combine the voltage fluctuation situation to avoid erroneous abnormal analysis.

[0048] It should be noted that since the power supply data of the rural power grid is designed with multiple output points, the corresponding collection frequency is faster, so the data volume is large, that is, the output voltage data is usually big data information at the million level. The output voltage data can be analyzed using big data analysis.

[0049] In an embodiment of the present invention, the acquisition period of the output voltage data can be specifically, for example, 0.5 seconds, that is, the output voltage data of different areas is acquired once every 0.5 seconds. It should be noted that the present invention is applicable to different rural areas, but the same rural area may use multiple different transmission lines due to the jurisdiction and allocation of the power grid. Therefore, the area in the embodiment of the present invention refers to the area using the same transmission line to facilitate subsequent voltage analysis.

[0050] Further, in some embodiments of the present invention, the initial significance of each output voltage data is determined according to the difference between the value of each output voltage data and other output voltage data within a preset neighborhood range of the output voltage data, including: calculating the mean of all output voltage data as the output voltage mean, selecting any output voltage data as the data to be tested, and normalizing the absolute value of the difference between the data to be tested and the output voltage mean to obtain a first significant impact index of the data to be tested; taking a preset number of other areas closest to the area corresponding to the data to be tested as adjacent areas, and calculating the output voltage difference between the area where the data to be tested is located and all adjacent areas. The average of the absolute values ​​of the differences of the output voltage data and the output voltage data are normalized to obtain the second significant influence index of the data to be tested; the variance of the output voltage data of all adjacent areas is used as the third significant influence index of the data to be tested; according to the first significant influence index, the second significant influence index and the third significant influence index, the initial significance of the data to be tested is determined, the data to be tested is updated, and the initial significance of each output voltage data is obtained, wherein the first significant influence index, the second significant influence index and the third significant influence index are all positively correlated with the initial significance of the data to be tested, and the value range of the initial significance is the normalized value.

[0051] In the embodiment of the present invention, the mean of all output voltage data represents the average level of all corresponding regions, that is, the value can effectively represent the normal output voltage value. Therefore, the output voltage data that differs greatly from the output voltage mean has a greater corresponding abnormal probability and a greater first significant influence index, and thus, has a stronger significance.

[0052] In the embodiment of the present invention, since rural areas are far apart, the losses generated in the area where the power grid is distributed are relatively large. Therefore, in the abnormal calculation process, the output voltage data of other areas within the corresponding local range can be analyzed, wherein the preset neighborhood range can be specifically, for example, a circular area with a diameter of 5km, or it can also be divided according to the actual distribution of rural power grid areas, and there is no restriction on this. Other areas within the range are regarded as adjacent areas, and then the second significant impact index is calculated. The larger the second significant index is, the more abnormal the distribution of the measured data in the actual space is.

[0053] In an embodiment of the present invention, the variance of the output voltage data of all adjacent areas represents the fluctuation of all voltages within the preset neighborhood range. The larger the value is, the more abnormal the voltage fluctuation within the preset neighborhood range is. Therefore, the larger the third significant influence index is, the more abnormal the numerical distribution of the overall output voltage data within the local spatial range corresponding to the data to be tested is, and the greater the possibility of abnormality of the data to be tested itself is.

[0054] Among them, a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the power of an exponential function, which is determined by actual application; a negative correlation means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by actual application.

[0055] In one embodiment of the present invention, the normalization processing can be specifically, for example, maximum and minimum value normalization processing, and the normalization in subsequent steps can all adopt maximum and minimum value normalization processing. In other embodiments of the present invention, other normalization methods can be selected according to the specific range of numerical values, which will not be described in detail.

[0056] In combination with the above content, the normalized value of the product of the first significant impact index, the second significant impact index and the third significant impact index can be calculated as the initial significance. In the embodiment of the present invention, the initial significance characterizes the abnormality of the corresponding output voltage data. When the output voltage data is larger or smaller, the corresponding initial significance will be larger.

[0057] S102: Cluster all output voltage data according to the initial significance of each output voltage data to obtain a preset number of clusters; determine the first degree of association between any two clusters according to the difference in the initial significance of all output voltage data in any two clusters; determine the second degree of association between any two clusters according to the distribution of the values ​​and initial significance of all output voltage data in any two clusters; and determine relevant indicators according to the first degree of association and the second degree of association between any two clusters.

[0058] In the embodiment of the present invention, the initial significance represents the abnormality degree of the corresponding output voltage data, and thus, cluster analysis can be performed according to the initial significance.

[0059] Furthermore, in some embodiments of the present invention, all output voltage data are clustered according to the initial significance of each output voltage data to obtain a preset number of clusters, including: constructing a two-dimensional coordinate system with the numerical value of the output voltage data as the horizontal axis and the initial significance as the vertical axis to determine the data points of the output voltage data of all regions in the two-dimensional coordinate system; taking the preset number as the k value, using the k-means clustering algorithm to cluster all data points to obtain a preset number of clusters.

[0060] The preset number is the number obtained by clustering, and the preset number of the present invention can be specifically, for example, 5, that is, all output voltage data are divided into 5 clusters. It should be noted that since the k-means clustering algorithm is a density clustering algorithm well known to those skilled in the art, the clusters with a greater degree of abnormality can be determined by density clustering.

[0061] Furthermore, in some embodiments of the present invention, the first degree of association corresponding to two clustering clusters is determined based on the difference in the initial significance of all output voltage data in any two clustering clusters, including: calculating the mean of the initial significance of all output voltage data in each clustering cluster to obtain the cluster significance mean; and performing negative correlation mapping on the absolute value of the difference between the cluster significance means of the two clustering clusters to obtain the first degree of association corresponding to the two clustering clusters.

[0062] In an embodiment of the present invention, the cluster significance mean represents the overall level of significance of each cluster cluster. The greater the difference between the cluster significance means of two cluster clusters, the smaller the correlation between the two cluster clusters. Therefore, the present invention performs a negative correlation mapping on the absolute value of the difference between the cluster significance means of the two cluster clusters to obtain a first degree of correlation.

[0063] Among them, the negative correlation mapping can be specifically, for example, the inverse of the absolute value of the difference between the cluster significance means of two cluster clusters, or a negative number is calculated and normalized to obtain the first degree of association, that is, the larger the absolute value of the difference between the cluster significance means of two cluster clusters, the smaller the corresponding first degree of association.

[0064] Furthermore, in some embodiments of the present invention, the second degree of association corresponding to two cluster clusters is determined based on the distribution of the numerical values ​​and initial significance of all output voltage data in any two cluster clusters, including: taking the mean of all output voltage data of each cluster cluster as the cluster voltage mean; taking the variance of the initial significance of all output voltage data in each cluster cluster as the cluster significance variance; calculating the product of the cluster voltage mean and the cluster significance variance of the same cluster cluster to obtain the cluster distribution index of the corresponding cluster cluster; and negatively correlating the absolute value of the difference in the cluster distribution indicators of two cluster clusters to obtain the second degree of association corresponding to the two cluster clusters.

[0065] In the embodiment of the present invention, the cluster voltage mean represents the overall level of the output voltage data within the cluster, and the cluster significance variance represents the distribution fluctuation of the initial significance. Therefore, the cluster distribution index of the cluster calculated can be combined with the numerical characteristics of the output voltage data and the fluctuation characteristics of the initial significance, and then the absolute value of the difference in the cluster distribution index of the two clusters is negatively correlated, which can further represent the degree of association between the corresponding two clusters. The smaller the absolute value of the difference, the greater the corresponding association.

[0066] The first correlation degree and the second correlation degree of the two clusters are both positively correlated with the correlation indexes of the corresponding two clusters, and the value of the correlation index is a normalized value.

[0067] In an embodiment of the present invention, the product of the first degree of association and the second degree of association of two clusters can be calculated and normalized to obtain a relevant index, or the sum of the first degree of association and the second degree of association of two clusters can be calculated and normalized to obtain a relevant index, and there is no limitation on this.

[0068] The correlation index represents the correlation degree between two clusters, that is, when the initial significance is not in the same cluster, the characteristics of the two clusters can be analyzed by the correlation degree.

[0069] S103: merging all clusters according to relevant indicators to obtain a target cluster, and performing numerical correction on the initial significance of each output voltage data in the target cluster according to the values ​​of all output voltage data in the target cluster to obtain a target significance.

[0070] It should be noted that due to the different distributions in different regions, the objectivity of clustering analysis using a preset number of clusters is low and cannot effectively characterize the actual characteristics of the power grid distribution. Therefore, the present invention merges the clusters to be more in line with the actual regional characteristics of the power grid.

[0071] Furthermore, in some embodiments of the present invention, all clusters are merged according to relevant indicators to obtain a target cluster, including: merging clusters whose relevant indicators are greater than a preset relevant threshold to obtain a target cluster.

[0072] Among them, the preset correlation threshold is the threshold value of the correlation index. The preset correlation threshold of the embodiment of the present invention can be specifically 0.8, that is, the clusters with correlation indicators greater than 0.8 are merged to obtain the target cluster. Thus, all clusters are traversed and merged to obtain at least one target cluster.

[0073] In the embodiment of the present invention, after the target cluster is determined, the distribution characteristics of the power grid in the target cluster may be analyzed.

[0074] Furthermore, in some embodiments of the present invention, the initial significance of each output voltage data in the target cluster is numerically corrected according to the numerical values ​​of all the output voltage data in the target cluster to obtain the target significance, including: taking the mean of all the output voltage data in the target cluster as the target mean, and taking the absolute value of the difference between any output voltage data in the target cluster and the target mean as the voltage value correction difference of the corresponding output voltage data; obtaining the maximum and minimum values ​​of all the output voltage data in the target cluster; calculating the absolute value of the difference between any output voltage data in the target cluster and the maximum value to obtain the maximum difference; calculating the absolute value of the difference between any output voltage data in the target cluster and the minimum value to obtain the minimum difference; taking the absolute value of the difference between the maximum difference and the minimum difference as the extreme value difference; calculating the product of the voltage value correction difference and the extreme value difference, and normalizing them to obtain the significance weight; taking the product of the significance weight of each output voltage data and the corresponding initial significance as the target significance.

[0075] In an embodiment of the present invention, the voltage value correction difference of each output voltage data in the target cluster is calculated to determine the difference characteristics of the output voltage data in the target cluster, that is, the difference between any output voltage data and the overall value of the target cluster. The voltage value correction difference can characterize the difference between the output voltage data and the overall value of the target cluster. The larger the voltage value correction difference, the more abnormal the corresponding output voltage data is in the target cluster.

[0076] In the embodiment of the present invention, the actual output voltage data may also have a certain bias. The characteristics of the bias are analyzed, that is, the absolute value of the difference between the maximum difference and the minimum difference is calculated to obtain the extreme value difference. The larger the extreme value difference, the more biased the representation is toward a certain extreme value, and the corresponding abnormality is greater.

[0077] Therefore, the embodiment of the present invention calculates the product of the voltage value correction difference and the extreme value difference, and normalizes them to obtain the significance weight, that is, the larger the significance weight value is, the more abnormal the corresponding output voltage data is.

[0078] The embodiment of the present invention performs weighted analysis of the initial significance based on the significance weight, and takes the product of the significance weight of each output voltage data and the corresponding initial significance as the target significance. The target significance not only combines the actual regional voltage data fluctuation, but also combines the voltage fluctuation conditions of other similar regions, thereby avoiding the influence of normal output loss and improving the objectivity of the target significance.

[0079] S104: determining an abnormality judgment threshold according to the target significance of all output voltage data, performing abnormality detection on the output voltage data of power grids in different regions according to the abnormality judgment threshold, and determining abnormal voltage data.

[0080] After determining the target significance, the embodiment of the present invention can perform abnormality judgment according to the target significance.

[0081] Furthermore, in some embodiments of the present invention, determining the abnormality judgment threshold value according to the target significance of all output voltage data includes: calculating the average value of all target significances as the abnormality judgment threshold value.

[0082] In an embodiment of the present invention, the mean of all target prominences may be calculated as the abnormality judgment threshold, or, in other embodiments of the present invention, the target prominences may be sorted in descending order, and the target prominences at the top 10% positions may be used as the abnormality judgment threshold, without limitation.

[0083] Furthermore, in some embodiments of the present invention, anomaly detection is performed on output voltage data of power grids in different regions according to an abnormality judgment threshold to determine abnormal voltage data, including: taking output voltage data with a target significance greater than the abnormality judgment threshold as abnormal voltage data.

[0084] In the embodiment of the present invention, when the target significance of the output voltage data is greater than the abnormality judgment threshold, the corresponding output voltage data is regarded as abnormal voltage data, otherwise, it is regarded as normal voltage data, thereby achieving abnormality detection.

[0085] The embodiment of the present invention determines the initial significance of each output voltage data by the difference between the value of each output voltage data and other output voltage data of the output voltage data within a preset neighborhood range. The initial significance characterizes the value difference of the output voltage data itself. The value difference does not take into account the normal situation of line loss during transmission, and thus classification analysis is required. Classification is performed by clustering, and then, based on the difference in the initial significance, the first correlation degree of two clusters is determined, and the second correlation degree is determined based on the difference in the value of the output voltage data and the distribution of the initial significance. The relevant index is determined in combination with the first correlation degree and the second correlation degree. The relevant index characterizes the similarity of the clusters, and all clusters are classified in combination with the relevant index. The rows are merged to obtain a target cluster that is more in line with the current actual voltage distribution. The target significance is obtained according to the distribution of the values ​​of the output voltage data in the target cluster and the initial significance. The target significance is the significance value determined by combining the numerical anomaly of the output voltage data itself, the numerical distribution of the output voltage data within the local area and the significant effect of the output voltage data. The target significance has a higher objective effect, and can detect anomalies in the output voltage data of power grids in different regions according to the target significance of all output voltage data, reduce the error of power grid line loss and the influence of circuit distribution in rural areas on actual anomaly detection, make the anomaly detection effect better and more accurate, and enhance the objectivity and reliability of anomaly detection.

[0086] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0087] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A method for detecting abnormal power supply failure in a rural power grid, characterized in that: The method comprises: Periodically obtain output voltage data of power grids in different regions, and determine the initial significance of each output voltage data according to the value of each output voltage data and the difference between the output voltage data and other output voltage data within a preset neighborhood range; Clustering all output voltage data according to the initial significance of each output voltage data to obtain a preset number of clusters, determining a first correlation degree corresponding to the two clusters according to the difference in the initial significance of all output voltage data in any two clusters, determining a second correlation degree corresponding to the two clusters according to the distribution of the values ​​and initial significance of all output voltage data in any two clusters, and determining a related index according to the first correlation degree and the second correlation degree of any two clusters; Merging all clusters according to the relevant index to obtain a target cluster, and performing numerical correction on the initial significance of each output voltage data in the target cluster according to the values ​​of all output voltage data in the target cluster to obtain a target significance; Determine an abnormality judgment threshold according to the target significance of all output voltage data, perform abnormality detection on output voltage data of power grids in different regions according to the abnormality judgment threshold, and determine abnormal voltage data; The step of performing numerical correction on the initial significance of each output voltage data in the target cluster according to the values ​​of all the output voltage data in the target cluster to obtain the target significance includes: Taking the mean of all output voltage data in the target cluster as the target mean, and taking the absolute value of the difference between any output voltage data in the target cluster and the target mean as the voltage value correction difference of the corresponding output voltage data; Obtaining the maximum and minimum values ​​of all output voltage data in the target cluster; Calculate the absolute value of the difference between any output voltage data in the target cluster and the maximum value to obtain the maximum difference; calculate the absolute value of the difference between any output voltage data in the target cluster and the minimum value to obtain the minimum difference; take the absolute value of the difference between the maximum difference and the minimum difference as the extreme value difference; Calculating the product of the voltage value correction difference and the extreme value difference, and normalizing them to obtain a significance weight; The product of the significance weight of each output voltage data and the corresponding initial significance is taken as the target significance.

2. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The step of determining the initial significance of each output voltage data according to the value of each output voltage data and the difference between the output voltage data and other output voltage data within a preset neighborhood range comprises: Calculate the mean of all output voltage data as the output voltage mean, select any one output voltage data as the data to be tested, and normalize the absolute value of the difference between the data to be tested and the output voltage mean to obtain a first significant impact indicator of the data to be tested; A preset number of other regions closest to the region corresponding to the data to be tested are taken as adjacent regions, the average of the absolute values ​​of the differences between the region where the data to be tested is located and the output voltage data of all the adjacent regions is calculated, and a second significant impact index of the data to be tested is obtained by normalization processing; Using the variance of the output voltage data of all adjacent regions as a third significant impact indicator of the data to be measured; According to the first significant influence indicator, the second significant influence indicator and the third significant influence indicator, the initial significance of the data to be tested is determined, the data to be tested is updated, and the initial significance of each output voltage data is obtained, wherein the first significant influence indicator, the second significant influence indicator and the third significant influence indicator are all positively correlated with the initial significance of the data to be tested, and the value range of the initial significance is the normalized value.

3. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The step of clustering all output voltage data according to the initial significance of each output voltage data to obtain a preset number of clusters includes: A two-dimensional coordinate system is constructed with the output voltage data value as the horizontal axis and the initial significance vertical axis, and data points of the output voltage data of all regions in the two-dimensional coordinate system are determined; The preset number is used as the k value, and the k-means clustering algorithm is used to cluster all the data points to obtain a preset number of clusters.

4. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The determining of the first correlation degree between two clusters according to the difference in the initial significance of all output voltage data in any two clusters includes: Calculate the mean of the initial significance of all output voltage data in each cluster to obtain the cluster significance mean; The absolute value of the difference between the cluster significance means of two clusters is negatively correlated to obtain the first correlation degree of the two clusters.

5. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The determining of the second correlation degree between two clusters according to the distribution of the values ​​of all output voltage data in any two clusters and the initial significance degree includes: The mean of all output voltage data of each cluster is taken as the cluster voltage mean; the variance of the initial significance of all output voltage data in each cluster is taken as the cluster significance variance; Calculate the product of the cluster voltage mean and the cluster significance variance of the same cluster to obtain the cluster distribution index of the corresponding cluster; The absolute values ​​of the differences of the cluster distribution indicators of the two clusters are negatively correlated and mapped to obtain the second correlation degree corresponding to the two clusters.

6. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The first correlation degree and the second correlation degree of the two clusters are both positively correlated with the correlation indexes of the corresponding two clusters, and the values ​​of the correlation indexes are normalized values.

7. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The step of merging all clusters according to the relevant indicators to obtain a target cluster includes: The clusters whose correlation index is greater than a preset correlation threshold are merged to obtain a target cluster.

8. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The step of determining an abnormality judgment threshold according to the target significance of all output voltage data includes: Calculate the mean of all target significance as the abnormality judgment threshold.

9. A rural power grid power supply fault anomaly detection method as claimed in claim 1, characterized in that: The performing abnormality detection on the output voltage data of power grids in different regions according to the abnormality judgment threshold to determine the abnormal voltage data includes: The output voltage data whose target significance is greater than the abnormality determination threshold is regarded as abnormal voltage data.