A method for locating power grid anomalies based on maximum eigenvector

By using the method based on the maximum eigenvector of the sample covariance matrix, the existing grid abnormal positioning methods are complex and slow calculation speed are solved, and the rapid and accurate positioning of the grid abnormal nodes is achieved, and the positioning accuracy and calculation efficiency are improved.

CN115032502BActive Publication Date: 2024-11-29WUXI LONGMAX TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210667135.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-14
Publication Date
2024-11-29
Estimated Expiration
2042-06-14

AI Technical Summary

Technical Problem

The existing grid abnormal positioning methods have problems such as complex modeling, difficulty in solving and slow calculation speed. In particular, although the method based on the augmented matrix can narrow the range of abnormal areas, the process of building a node augmented matrix is ​​complicated and the calculation time is long.

Method used

A grid abnormal positioning method based on the maximum feature vector of the sample covariance matrix is ​​proposed. By collecting grid state data from the wide-area measurement unit, constructing the data source matrix and window matrix, and after standardization processing, the sample covariance matrix and its maximum feature are calculated. Vector, construct exception positioning indicators and perform feature amplification processing to achieve rapid positioning of abnormal nodes.

Benefits of technology

It improves the accuracy and calculation speed of abnormal positioning, avoids the problem of matrix replication, takes less time to calculate, and has high abnormal positioning accuracy and fast positioning ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115032502B_ABST
    Figure CN115032502B_ABST
Patent Text Reader

Abstract

The present invention discloses a maximum eigenvector power grid anomaly location method, the steps of which include selecting sample nodes, constructing a data source matrix; collecting the anomaly detection time and its subsequent T W ‑1 moment state data, construct a window matrix; process the window matrix to obtain a standard non-Hermitian matrix; calculate the sample covariance matrix S of the non-Hermitian matrix and obtain the maximum eigenvector of the matrix S; calculate the anomaly location index, perform feature amplification processing on the elements in the anomaly location index, and obtain the improved anomaly location index l max , comparative analysis max The element value of the abnormal node is output. The advantages of the present invention are: the element distribution of the maximum eigenvector is more stable, not easily affected by noise, and has a higher positioning accuracy. In addition, the method directly calculates the sample covariance matrix within the fault period, avoids the problem of matrix duplication, shortens the calculation time, and improves the operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of power grid fault diagnosis, and in particular relates to a power grid anomaly positioning method based on a maximum eigenvector of a sample covariance matrix. Background Art

[0002] When the power grid is working, it is easy to fail due to the influence of the external environment and internal structure. After detecting the abnormality of the power grid, timely locating and eliminating the abnormal node can ensure the safe and stable operation of the power grid, prevent the fault from further expanding, and reduce the security threat of the fault to the power grid, which is of great significance to the safety of industrial production and people's lives.

[0003] The current grid anomaly location methods mainly include model-driven methods and data-driven methods. Among them, the model-driven method has problems such as complex modeling and difficult solution; the data-driven method is more suitable for analyzing and processing power data, effectively improving the speed and accuracy of grid anomaly location.

[0004] At present, the data-driven method is mainly based on random matrix theory. By integrating historical data and real-time data into the matrix, statistically analyzing eigenvalues ​​and eigenvectors, the characteristics of the system are revealed from a macro perspective. Anomaly location is achieved by analyzing the state matrix composed of power grid state data. When the power grid is in normal state, the elements of the sample covariance matrix S are independent and identically distributed random variables, and the element sizes of their eigenvectors are close; on the contrary, when the system is abnormal, the matrix elements show a certain correlation, and accordingly, the elements of the eigenvectors will change significantly, the randomness of the system is destroyed, and the elements of the sample covariance matrix S no longer satisfy the random matrix theory.

[0005] The existing methods for locating abnormal nodes in power grids based on random matrix theory are divided into two categories. Specifically, the method for locating abnormal nodes in power grids based on augmented matrices constructs the augmented matrices of each node; the method for locating abnormal nodes in power grids based on the eigenvector of the sample covariance matrix constructs the node number of the abnormal location index and its corresponding maximum element. The above-mentioned abnormal location methods based on augmented matrices can narrow the scope of the abnormal area, but the process of constructing the node augmented matrix is ​​complicated and the calculation time is long, so the analysis efficiency of this type of method needs to be improved. Compared with the abnormal location method based on augmented matrices, the abnormal location method based on the eigenvector of the sample covariance matrix has the advantages of high analysis efficiency and fast calculation speed, which is of great significance to improving the accuracy of the abnormal location method of power grids. Summary of the invention

[0006] In order to quickly locate abnormal nodes and improve the accuracy of abnormal location, the present invention proposes an abnormal node location method based on the maximum eigenvector of the sample covariance matrix, which effectively improves the accuracy of abnormal location.

[0007] In order to achieve the above object, the power grid anomaly locating method provided by the present invention comprises the following steps:

[0008] Step 1: Select sample nodes from the grid status data collected by the wide-area measurement unit and construct the data source matrix X S ;

[0009] Step 2: Collect the abnormality detection time t F And then T W -1 moment state data, construct the window matrix X, where T W is the number of columns of the window matrix X;

[0010] Step 3: Process the matrix X to obtain a standard non-Hermitian matrix

[0011] Step 4: Perform eigendecomposition: Calculate the matrix The sample covariance matrix S and its largest eigenvector v max ;

[0012] Step 5: According to the maximum eigenvector v max Construct anomaly location indicators, perform feature amplification on the elements in the anomaly location indicators, and obtain an improved anomaly location indicator l max , comparative analysis max , and output the number of the abnormal node.

[0013] Specifically, in step 1, the sample node data of all sampling moments are arranged in chronological order, and then the following data source matrix can be constructed:

[0014] x(t)=[x1(t),x2(t),…,x N (t)] T (1)

[0015] Among them, N is the number of variables selected in the system, x1(t) represents a column vector composed of the measurement data of the first variable, and so on, x(t) represents a column vector composed of the measurement data of N variables.

[0016] Specifically, the construction process of the window matrix in step 2 is: using a width of T W The sliding time window processes the data source matrix X S , intercept the abnormality detection time t F And then T W -1 moment state data, and use this to construct the window matrix X.

[0017] Specifically, in step 3, according to the constructed window matrix, the state data is normalized by row change through formula (2) to obtain N×T wThe non-Hermitian matrix

[0018]

[0019] In the formula, Representation Matrix elements, i = 1, 2, ..., N, N is the number of variables in the selected system, j = 1, 2, ..., T W ;x i,j represents the elements of the window matrix X, is the row vector of the window matrix X; For the matrix The row vector of μ(x i ) is the mean of the row vectors of matrix X, σ(x i ) is the standard deviation of the row vector of the window matrix X; For the matrix The mean of the row vector, For the matrix Standard deviation of the row vector.

[0020] Specifically, the feature decomposition process of step 4 is: according to the constructed non-Hermitian matrix, the sample covariance matrix S is obtained according to formula (3):

[0021]

[0022] in express The conjugate transposed matrix, T w is the number of columns of the window matrix X; further, the maximum eigenvector v of the matrix S is obtained by eigendecomposition max .

[0023] Step 5: According to the maximum eigenvector v of the matrix S in step 4 max Constructing anomaly location indicators S =(l 1S ,l 2S ,…,l iS ), whose element expression is shown in formula (4):

[0024] l iS =| <v max,i ,e i >| (4)

[0025] Where i is the node number of the power grid, i = 1, 2, ..., N, N is the number of variables selected in the system, l iS is the element corresponding to the i-th node in the abnormal location index of the power grid; e i is a unit vector of dimension N×1, with only the i-th element being 1; v max,i vmax The i-th element of ; |·| means taking the absolute value; <·> means the vector inner product; after the processing of formula (4), l iS are all real numbers greater than zero.

[0026] When the number of grid nodes is large or the fault characteristics are not obvious, the l corresponding to the adjacent nodes iS In order to accurately locate abnormal nodes, according to formula (5), l iS Perform feature amplification processing to obtain the improved anomaly location index l max =(l1,l2,…,l i ),

[0027]

[0028] Among them, l iS is the abnormal location index before feature amplification processing l S The i-th element of i is the abnormal location index l after feature amplification processing max The i-th element of m for l S The maximum value of the element, l dif for l S The difference between the largest and second largest elements of .

[0029] Based on the abnormal location indicator l max The abnormal node determination method is as follows:

[0030] 1) When l max When only one element in is significantly larger than the other elements, it indicates that only one node in the power grid has a fault, and the node number corresponding to the abnormal element is the number of the abnormal node;

[0031] 2) When l max When there are multiple non-adjacent elements in that are significantly larger than other elements, it indicates that multiple nodes in the power grid have failed. In this case, we can combine the topological structure of the system to max The elements that are obviously enlarged and topologically non-adjacent are determined to be abnormal elements, and their corresponding node numbers are the numbers of the abnormal nodes.

[0032] The beneficial effects of the present invention are:

[0033] 1. The present invention uses the maximum eigenvector method to analyze the distribution of eigenvector elements to achieve the purpose of abnormality location. The present invention directly calculates the sample covariance matrix within the fault period to avoid the problem of matrix replication. Compared with the spectral deviation method, which realizes abnormality location through matrix replication and splicing, the operation consumes less time and improves the operation efficiency.

[0034] 2. Before feature amplification processing, the elements corresponding to the abnormal node and its neighboring nodes may be similar in size. After feature amplification processing, the element corresponding to the abnormal node will be significantly larger than other elements.

[0035] 3. Compared with the minimum eigenvector method, the maximum eigenvector method in the present invention has a higher stability in the element distribution of the maximum eigenvector, is less susceptible to the randomness of noise, and has a higher anomaly positioning accuracy.

[0036] Therefore, the abnormality positioning method of the present invention has relatively accurate abnormality positioning, and the positioning consumes less time, and can quickly and accurately locate abnormal nodes in the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flow chart of the abnormality positioning method proposed by the present invention.

[0038] Figure 2 This is the topology diagram of the IEEE39 node system.

[0039] Figure 3 This is a simulation diagram of abnormal location under simple fault using the present invention.

[0040] Figure 4 This is a simulation diagram of anomaly location under simple faults using the minimum eigenvector method.

[0041] Figure 5 This is a simulation diagram of abnormal location under simple faults using the spectral deviation method.

[0042] Figure 6 This is the anomaly location result of the minimum eigenvector method. DETAILED DESCRIPTION

[0043] The present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

[0044] like Figure 1 As shown, the present invention generally includes the following steps:

[0045] Step 1: Collect grid status data in real time, select sample nodes, and construct the data source matrix X based on the measured data S ;

[0046] Step 2: Use sliding time window to collect abnormality detection time t F And then T W -1 time state data, and use it to construct the window matrix X. Abnormal detection time t F The system detects that F Grid anomalies occur all the time, but the system cannot determine where the anomaly occurs.

[0047] Step 3: Standardize the window matrix X to obtain a standard non-Hermitian matrix

[0048] Step 4: Calculate the matrix The sample covariance matrix S and its largest eigenvector v max .

[0049] Step 5: Calculate the anomaly location index l max , comparative analysis max The element value of the output node corresponds to the maximum element.

[0050] The following Figure 2 The IEEE39 node system shown in the figure is simulated and analyzed, and the power grid anomaly positioning method based on the maximum eigenvector of the covariance matrix proposed by the present invention is described in detail. The power grid state data includes bus voltage amplitude and phase angle, branch current, generator injected active power and reactive power, etc. Different state data can be selected after analyzing the needs to construct a data matrix. Each state data is analyzed separately. In the experiment, simple faults and multiple faults can be set for simulation analysis. According to the analysis requirements, the measurement data of the bus voltage is selected as the sample node.

[0051] Step 1: The IEEE 39-node network includes 39 buses. The voltage of each bus is sampled as the measured state variable, that is, N = 39. At the sampling time t, the measured data of N variables can form a column vector:

[0052] x(t)=[x1(t),x2(t),…,x N (t)] T (1)

[0053] For example:

[0054] Arranging the column vectors composed of the measurement data at each sampling moment in chronological order can form the data source matrix:

[0055] X S =(x(1),x(2),…,x(t),…) (2)

[0056] For example:

[0057]

[0058] Step 2 The process of constructing the window matrix X includes:

[0059] The sliding window model is used to process the data in real time. The sliding time window width is selected as T W, the window will move one sampling point backward at each sampling time, so the window contains the current time t=t F The data and subsequent T W -1 historical moment data. The corresponding window matrix of the state variables at the moment is shown in formula (3):

[0060] X(t)=(x(tT W +1),x(tT W +2),…,x(t)) (3)

[0061] Where: T W is the width of the sliding time window. W Usually the range is from tens to hundreds, which makes the initial conditions satisfy the random matrix assumption. W The selection range is 50≤T W ≤200.

[0062] In the embodiment, T is selected W =100, the window matrix X is as follows:

[0063]

[0064] Step 3: Normalize the state data of the window matrix X constructed in step 2 to obtain a non-Hermitian matrix

[0065] Using equation (4), the window matrix X is transformed row by row to obtain the standard non-Hermitian matrix

[0066]

[0067] Where i = 1, 2, ..., N, j = 1, 2, ..., T W ;x i,j represents the elements of the window matrix X, is the row vector of the window matrix X; Representation Matrix Elements of For the matrix The row vector of μ(x i ) is the mean of the row vectors of matrix X, σ(x i ) is the standard deviation of the row vector of the window matrix X; For the matrix The mean of the row vector, For the matrix Standard deviation of the row vector.

[0068] Step 4 Matrix The sample covariance matrix S of is obtained by formula (5):

[0069]

[0070] in express The conjugate transpose of W is the number of columns of the window matrix X, that is, the width of the sliding time window.

[0071] Then, the maximum eigenvector v of the sample covariance matrix S is calculated by eigendecomposition max .

[0072] In step 5, the largest eigenvector v of matrix S is selected according to step 4 max Constructing anomaly location indicators S =(l 1S ,l 2S ,…,l iS ), whose element expression is shown in formula (6):

[0073] l iS =| <v max,i ,e i >| (6)

[0074] Where i=1,2,…,N is the node number of the power grid, l iS is the element corresponding to the i-th node in the abnormal location index of the power grid; e i is a unit vector of dimension N×1, with only the i-th element being 1; v max,i v max The i-th element of ; |·| means taking the absolute value; <·> means the vector inner product. After the processing of formula (6), l iS are all real numbers greater than zero.

[0075] Because when the number of grid nodes is large or the fault characteristics are not obvious, the l corresponding to the adjacent nodes iS The sizes are close, so it is difficult to determine the abnormal node. In order to accurately locate the abnormal node, according to formula (7), l iS Perform feature amplification processing to obtain the improved anomaly location index l max =(l1,l2,…,l i )

[0076]

[0077] Among them, l iS is the abnormal location index before feature amplification processing l S The i-th element of i is the abnormal location index l after feature amplification processing max The i-th element ofm for l S The maximum value of the element, l dif for l S The difference between the maximum and second largest elements of the matrix X S After confirmation, m and l dif All are fixed values.

[0078] Based on the abnormal location indicator l max The abnormal node judgment is to find l max Are there any elements that are significantly enlarged?

[0079] 1) When l max When only one element in is significantly larger than the other elements, it indicates that only one node in the power grid has a fault, and the node number corresponding to the abnormal element is the number of the abnormal node;

[0080] 2) When l max When there are multiple non-adjacent elements in that are significantly larger than other elements, it indicates that multiple nodes in the power grid have failed. In this case, we can combine the topological structure of the system to max The elements that are obviously enlarged and topologically non-adjacent are determined to be abnormal elements, and their corresponding node numbers are the numbers of the abnormal nodes.

[0081] Specifically in the experiment, we set the judgment method as follows:

[0082] 1) When l max When only one element is three times or more than the other elements, it is determined that only one node in the power grid has a fault;

[0083] 2) When l max When there are multiple non-adjacent elements in the grid that are three times or more than the other elements, it indicates that multiple nodes in the grid have failed. Combined with the topological structure of the system, l max Elements that are three times or more than other elements and are not topologically adjacent are considered abnormal elements.

[0084] In order to verify the effectiveness of the anomaly location method proposed in the present invention, a simple fault is set on the experimental power grid model, and the method proposed in the present invention is compared and analyzed with the minimum eigenvector method and the spectral deviation method to verify the effectiveness of this anomaly location method.

[0085] For simple faults, it is assumed that the power grid is detected in three ways at t F =503, an abnormality occurs. The abnormality location method of the present invention is used to collect the status data at t=503-602 to analyze the abnormal node location. Node 9 is set as an abnormal node, and the abnormality type is three-phase short circuit grounding. The three abnormal location results under this fault are as follows: Figure 3 , Figure 4, Figure 5 As shown in the figure, at t F =503, the power grid is abnormal, and the system randomness is destroyed. In the maximum eigenvector and minimum eigenvector methods, the value of the 9th element of the abnormal location index is greater than other elements, so the abnormal node is determined to be 9, which is consistent with the actual situation. In the spectral deviation method, the spectral deviation of the sample covariance matrix corresponding to the augmented matrix composed of the voltage of node 9 is the largest, which indicates that the abnormality occurs at node 9, which is consistent with the actual situation, that is, all three methods can locate the abnormal node.

[0086] However, in practical applications, due to the randomness of white noise, even if the signal-to-noise ratio remains unchanged, the minimum eigenvector method may have inaccurate positioning due to the unstable distribution of the minimum eigenvector elements, such as Figure 6 As shown, in the minimum eigenvector method, the value of the abnormal location index of node 16 is larger, indicating that an abnormality occurs in node 16, which is inconsistent with the actual setting of node 9 as the faulty node.

[0087] Under the same signal-to-noise ratio, 10,000 simulation experiments were conducted for each method, and the anomaly location accuracy and average computation time of each method were statistically analyzed, as shown in Table 1.

[0088] Table 1

[0089]

[0090] As can be seen from Table 1, compared with the minimum eigenvector method, the maximum eigenvector has a high distribution stability of elements, is less affected by white noise, and has a high accuracy of anomaly location. The spectral deviation anomaly location method based on the augmented matrix has an anomaly location accuracy close to 100%, but compared with the maximum eigenvector method, the operation time is long, about 35 times that of the eigenvector method. Furthermore, if the matrix dimension increases, the operation time of the spectral deviation will continue to increase, and the operation time will be significantly greater than the eigenvector method.

[0091] The above embodiments are only used to illustrate the present invention, and are not intended to limit the present invention. The objects of application are not limited to the IEEE39 node network, and the abnormal types set are not limited to three-phase short circuit grounding. As long as they are within the scope of the present invention, changes and modifications to the above implementation examples will fall within the scope of the claims of the present invention.

Claims

1. A maximum eigenvector power grid anomaly location method, characterized in that: The following steps are involved: Step 1: Select sample nodes from the grid status data collected by the wide-area measurement unit and construct the data source matrix X S ; Step 2: Collect the abnormality detection time t F And then T W -1 moment state data, construct the window matrix X, where T W is the number of columns of the window matrix X; Step 3: Process the matrix X to obtain a standard non-Hermitian matrix Step 4: Perform eigendecomposition: Calculate the matrix The sample covariance matrix S and its largest eigenvector v max ; Step 5: According to the maximum eigenvector v max Construct anomaly location indicators, perform feature amplification on the elements in the anomaly location indicators, and obtain an improved anomaly location indicator l max , comparative analysis max The element value of , output the number of the abnormal node; Step 5: According to the maximum eigenvector v of the matrix S in step 4 max Constructing anomaly location indicators S =(l 1S ,l 2S ,…,l iS ), whose element expression is shown in formula (4): the iS =| <v max,i ,And i >| (4) Where i is the node number of the power grid, i = 1, 2, ..., N, N is the number of variables selected in the system, l iS is the element corresponding to the i-th node in the abnormal location index of the power grid; e i is a unit vector of dimension N×1, with only the i-th element being 1; v max,i v max The i-th element of ; |·| means taking the absolute value; <·> means the vector inner product; after the processing of formula (4), l iS are all real numbers greater than zero; When the number of grid nodes is large or the fault characteristics are not obvious, the l corresponding to the adjacent nodes iS In order to accurately locate abnormal nodes, according to formula (5), l iS Perform feature amplification processing to obtain the improved anomaly location index l max =(l1,l2,…,l i ), Among them, l iS is the abnormal location index before feature amplification processing l S The i-th element of i is the abnormal location index l after feature amplification processing max The i-th element of m for l S The maximum value of the element, l dif for l S The difference between the maximum value and the second largest value of the element; Based on the abnormal location indicator l max The abnormal node determination method is as follows: 1) When l max When only one element is three times or more than the other elements, it indicates that only one node in the power grid has a fault, and the node number corresponding to the abnormal element is the number of the abnormal node; 2) When l max When there are multiple non-adjacent elements in the grid that are three times or more than the other elements, it indicates that multiple nodes in the grid have failed. At this time, combined with the topological structure of the system, l max The elements that are three times or more than other elements and are not topologically adjacent are determined to be abnormal elements, and their corresponding node numbers are the numbers of the abnormal nodes.

2. The maximum eigenvector power grid anomaly location method according to claim 1, characterized in that: In step 1, the sample node data of all sampling moments are arranged in chronological order, and the following data source matrix can be constructed: x(t)=[x1(t),x2(t),…,x N (t)] T (1) Among them, N is the number of variables selected in the system, x1(t) represents a column vector composed of the measurement data of the first variable, and so on, x(t) represents a column vector composed of the measurement data of N variables.

3. The maximum eigenvector power grid anomaly location method as claimed in claim 2, characterized in that: The construction process of the window matrix in step 2 is: using a width of T W The sliding time window processes the data source matrix X S , intercept the abnormality detection time t F And then T W -1 moment state data, and use this to construct the window matrix X.

4. The maximum eigenvector power grid anomaly location method according to claim 1, characterized in that: T W The value range is 50≤T W ≤200.

5. The maximum eigenvector power grid anomaly location method as claimed in claim 3, characterized in that: Step 3: Based on the constructed window matrix, the state data is normalized by row change using formula (2) to obtain N×T w The non-Hermitian matrix In the formula, Representation Matrix elements, i = 1, 2, ..., N, N is the number of variables in the selected system, j = 1, 2, ..., T W ;x i,j represents the elements of the window matrix X, is the row vector of the window matrix X; For the matrix The row vector of μ(x i ) is the mean of the row vectors of matrix X, σ(x i ) is the standard deviation of the row vector of the window matrix X; For the matrix The mean of the row vector, For the matrix Standard deviation of the row vector.

6. The maximum eigenvector power grid anomaly location method according to claim 1, characterized in that: The characteristic decomposition process of step 4 is: according to the constructed non-Hermitian matrix, the sample covariance matrix S is obtained according to formula (3): in express The conjugate transposed matrix, T w is the number of columns of the window matrix X; further, the maximum eigenvector v of the matrix S is obtained by eigendecomposition max .

Citation Information

Patent Citations

  • Large-scale power grid abnormal load identification method based on a power method and a parallel computing technology

    CN109657613A

  • Voltage stability disturbance source localization method based on random matrix theory

    CN110137944A

  • Dual-threshold early fault detection method for a power grid

    CN114062850A

  • Power distribution network abnormity identification method based on data driving

    CN114116832A