Broadband oscillation positioning method combining system topology and attenuation direct current component
The method of combining system topology and attenuated DC components through graph neural networks solves the problem of poor accuracy of traditional oscillation positioning methods in complex power systems, achieves higher-accuracy broadband oscillation source positioning, and improves the stability of the power system.
Patent Information
- Application Number
- CN202410687433.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
Traditional oscillation positioning methods have poor accuracy in complex power systems and fail to effectively consider the impact of the attenuated DC component on the current waveform, resulting in inaccurate positioning.
A broadband oscillation positioning method based on graph neural network is used to combine system topology and attenuated DC components. Through data collection, signal preprocessing, Taylor expansion and model training, a broadband oscillation disturbance source positioning model based on graph neural network is constructed, using the multi-dimensional attenuated DC component. Data matrix for precise positioning.
It improves the accuracy and timeliness of oscillation source positioning, has higher accuracy and performance, reduces the amount of data, and retains the system oscillation distribution characteristics.
Smart Images

Figure CN118611098A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power systems, and in particular to a broadband oscillation positioning method combining system topology with an attenuated direct current component. Background Art
[0002] In the study of power system planning and new power system stability, oscillation source location is a crucial issue, which aims to identify and locate the source of oscillation in the power system, that is, the disturbance source.
[0003] When dealing with oscillation problems in power systems, traditional oscillation location methods, such as the energy method and the traveling wave detection method, are mainly based on the inherent mechanism of oscillation occurrence. They locate the oscillation source by establishing a mathematical model of the system and using the real-time measurement data of the system to calculate specific indicators. These traditional methods rely on a series of physical assumptions and simplified conditions, which makes them limited in applicability and accuracy in the face of actual complex power systems, especially in the case of "double high" systems (high proportion of new energy access and high proportion of power electronic equipment use). When the dynamic behavior of the power system does not fully match these assumptions and simplified conditions, the effectiveness of traditional methods may be greatly reduced.
[0004] In a faulty system, the influence of the attenuated DC component contained in the current on phasor measurement cannot be ignored. When an abnormal situation such as a short circuit fault occurs in the power system, the fault current is often accompanied by an attenuated DC component in addition to the AC component. This DC component is generated by the inductance and capacitance elements of the power system at the moment of the fault. Its characteristic is that it rises rapidly to a peak value after the fault occurs and then decays exponentially. The existence of the attenuated DC component will cause the current waveform to deviate from its normal AC periodic change, thus posing a challenge to the accuracy of the traditional phasor measurement algorithm based on the sinusoidal steady-state assumption. However, the traditional oscillation positioning method does not take into account the influence of the attenuated DC component. Summary of the invention
[0005] In order to solve the problems of poor accuracy of traditional oscillation positioning methods and failure to consider the attenuated DC component, the present invention proposes a broadband oscillation positioning method that combines system topology with the attenuated DC component, and uses a graph neural network to extract the correlation between the fundamental frequency change of the system line current and the broadband oscillation disturbance source. The fundamental frequency change of each line is Taylor expanded to obtain the derivative values of each order, and the input matrix is formed by combining the system topology and input into the graph neural network to achieve accurate positioning of the broadband oscillation disturbance source and solve the above problems.
[0006] The present application discloses a broadband oscillation positioning method combining system topology with attenuated DC components, comprising the following steps:
[0007] S1, data acquisition, collecting the current timing operation data of each line during the system fault and the location label of the disturbance source;
[0008] S2, signal processing, preprocessing the collected time series signal, extracting the preprocessed attenuated DC component and performing Taylor expansion on the attenuated DC component, extracting derivatives of various orders to construct a multi-dimensional data matrix of the attenuated DC component;
[0009] S3, model construction, using the multidimensional data matrix of the attenuated DC component obtained in S2 as the input of the graph neural network model, constructing a broadband oscillation disturbance source positioning model based on the graph neural network, and locating the disturbance source;
[0010] S4. Model training: Combine the multi-dimensional data matrix of the attenuated DC component to train the broadband oscillation disturbance source localization model based on the graph neural network, and optimize the graph neural network model parameters to improve performance;
[0011] S5. Model deployment and evaluation iteration: deploy the trained graph neural network-based broadband oscillation disturbance source location model to the power system monitoring platform, establish a confusion matrix to evaluate the performance of the graph neural network-based broadband oscillation disturbance source location model, perform small sample stochastic gradient optimization on the model according to the performance evaluation results, and update the graph neural network model parameters.
[0012] Preferably, the preprocessing includes extracting discrete components, filtering, and denoising.
[0013] Preferably, performing Taylor expansion on the attenuated DC component comprises the following steps:
[0014] The low-frequency band-limited signal and the rotation modulation signal are used to describe the time-varying characteristics of the fundamental component, and the attenuated DC component of the fundamental component is characterized by the attenuated exponential function. The power signal containing the attenuated DC component is obtained as follows:
[0015]
[0016] Where a(t) is the low-frequency band-limited signal, is the rotation modulation signal, f0 is the fundamental frequency, b is the initial value of the amplitude of the decaying DC component, t is the time, and τ is the decay time constant of the decaying DC component;
[0017] The Taylor approximation for the attenuated DC component is:
[0018]
[0019] Among them, b (k) to be -t / τ The k-th derivative of , Δb is expressed in Taylor series as be -t / τ The error caused by
[0020] The discrete sequence model of a dynamic signal with a decaying DC component is:
[0021]
[0022] Where, n = tf s , ω0 is the sampling angular frequency, α (k) represents the k-th derivative of a(t) at the reference time, β (k) for b (k) The discretized value of f s is the sampling frequency.
[0023] Preferably, the multidimensional data matrix of the attenuated DC component is:
[0024]
[0025] Among them, I k is the kth dimension of the data matrix, is the discretized value of the k-th derivative of the attenuation DC component of the line between the i-th node and the j-th node, if This means that there is no line between the i-th node and the j-th node.
[0026] Preferably, the graph neural network model includes nodes, edges and global information, and the three realize information transmission and aggregation through convergence operation, and finally obtain a graph with unchanged structure after information extraction.
[0027] Preferably, the locating of the disturbance source comprises the following steps:
[0028] The Taylor expansion multi-order derivative values of the attenuated DC component are used as the edge information in the graph neural network. The graph neural network model is used to aggregate the information of each line to the adjacent node, that is, the unit, to update the node information. The node information is input into the next fully connected layer, and the output results are classified by the softmax function to locate the disturbance source.
[0029] Preferably, the updating rule of the broadband oscillation disturbance source localization model based on graph neural network is:
[0030]
[0031] in, is the representation of node v at the l+1th node, is the representation of node i in layer l, with I v For example, I v =[b v1 ,b v2 ,…b vn ], b vi is the attenuated DC component between nodes i, W (l) is the weight matrix of the lth layer, and σ is the activation function.
[0032] Beneficial effects of the present invention:
[0033] (1) The present invention adopts a graph neural network model, aggregates information between adjacent nodes, and combines system topology information to achieve better performance and higher accuracy.
[0034] (2) The present invention uses a multi-dimensional data matrix of attenuated DC components as the input of the model, which has better timeliness and better positioning performance.
[0035] (3) The present invention first converts the system topology into a two-dimensional adjacency matrix, then extracts the attenuated DC component of each line and Taylor expands it, and fills each order derivative value of the expansion result into the adjacency matrix to obtain a multidimensional data matrix. Compared with the traditional time series data set used to locate the oscillation disturbance source, the multidimensional data matrix has a greatly reduced data volume and retains the system oscillation distribution characteristics. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of a broadband oscillation positioning method combining system topology with attenuated DC component according to an embodiment of the present invention;
[0037] Figure 2 This is a schematic diagram of locating disturbance sources using a broadband oscillation disturbance source localization model based on a graph neural network according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and examples.
[0039] The embodiment of the present application discloses a broadband oscillation positioning method combining system topology and attenuated DC component, such as Figure 1 As shown, the following steps are included:
[0040] S1. Data collection: Establish a simulation example, obtain the example topology, set the position disturbance source in the example, and collect the current timing operation data of each line during the system fault and the disturbance source location label.
[0041] S2, signal processing, preprocessing the collected time series signals, including extraction of discrete components, filtering, denoising, etc., to improve the accuracy and efficiency of model training. Then extract the preprocessed attenuated DC component and perform Taylor expansion on the attenuated DC component, and extract derivatives of each order to construct a multi-dimensional data matrix of the attenuated DC component.
[0042] Broadband oscillations are dynamic interactions involving multiple modes, wide ranges, and multiple regions in the power system, and their measurement signals exhibit complex and high-dimensional dynamic characteristics. If the measurement signals of these broadband oscillations are directly input into the neural network model, it may cause excessive information redundancy, thereby reducing the generalization ability and efficiency of the neural network model. Therefore, the embodiment of the present application aims to achieve accurate extraction of key features by extracting the attenuated DC component in the measurement signal as the input of the neural network, so as to optimize and improve the performance of the neural network model. This method helps to streamline the input information and ensure that the model can more effectively learn and identify key broadband oscillation dynamic characteristics, thereby improving overall performance.
[0043] In this embodiment, a low-frequency band-limited signal and a rotation modulation signal are used to describe the time-varying characteristics of the fundamental component, and the attenuated DC component of the fundamental component is characterized by an attenuated exponential function, and the power signal containing the attenuated DC component is obtained as follows:
[0044]
[0045] Where a(t) is the low-frequency band-limited signal, is the rotation modulation signal, f0 is the fundamental frequency, b is the initial value of the amplitude of the decaying DC component, t is the time, and τ is the decay time constant of the decaying DC component.
[0046] The Taylor approximation for the attenuated DC component is:
[0047]
[0048] Among them, b (k) to be -t / τ The k-th derivative of , Δb is expressed in Taylor series as be -t / τ The error caused by
[0049] The discrete sequence model of a dynamic signal with a decaying DC component is:
[0050]
[0051] Where, n = tf s , ω0 is the sampling angular frequency, α (k) represents the k-th derivative of a(t) at the reference time, β (k) for b (k) The discretized value of f s is the sampling frequency.
[0052] In this implementation, the system topology is first converted into a two-dimensional adjacency matrix, and then the attenuated DC component of each line is extracted and Taylor expanded. Each derivative value of the expansion result is filled into the adjacency matrix to obtain a multidimensional data matrix of the attenuated DC component:
[0053]
[0054] Among them, I k is the kth dimension of the data matrix, is the discretized value of the k-th derivative of the attenuation DC component of the line between the i-th node and the j-th node, if It means that there is no line between the i-th node and the j-th node.
[0055] S3, model construction, using the multi-dimensional data matrix of the attenuated DC component obtained in S2 as the input of the graph neural network model, constructing a wide-band oscillation disturbance source positioning model based on the graph neural network to locate the disturbance source.
[0056] Since broadband oscillations cover a wide area, the coupling relationship between each unit is serious and the frequency band is wide, it is difficult to accurately locate the source of disturbance. When oscillation occurs, it propagates to other units with the disturbance source as the center, further expanding the scope of influence. Therefore, through the current measurement of the system, the attenuated DC component is used as the line oscillation characteristic. Since the propagation of oscillations is closely related to the system topology, it is more difficult to directly use neural networks to capture the correlation between the attenuated DC components between different lines and the location of the disturbance source. Therefore, the embodiment of the present application combines the system topology to construct a multidimensional data matrix of the attenuated DC component, and constructs a broadband oscillation disturbance source positioning model based on a graph neural network. The model uses the multidimensional data matrix of the attenuated DC component as input, and considering that neurons are more convenient for numerical input, this embodiment first establishes a two-dimensional adjacency matrix between all nodes, and then uses the corresponding n-order b of each line. (k) Create k adjacency matrices and merge them as input to the Graph Neural Network (GNN) model.
[0057] GNN is a deep learning model for processing graph-structured data, which can learn and infer the relationships and features between nodes in the graph. In GNN, each node has a feature vector, and edges can be used to represent the connection relationship between nodes. The goal of GNN is to learn the representation of nodes by utilizing the feature information of nodes and edges, and use these representations to perform various graph-related tasks, such as node classification, graph classification, link prediction, etc. Mathematically, suppose we have a graph where V is the set of nodes and E is the set of edges. Each node v i There is a eigenvector x i , and each edge e ij may have a weight w ij To represent the node v i and v jThe core idea of GNN is to extract graph information by making structural changes to the graph information (nodes, edges, global information), where all types of information can be transmitted to each other.
[0058] This embodiment is based on GNN and updates the representation of nodes in the network through information transmission and aggregation. Figure 2 As shown in the figure, three graphs with the same structure represent the nodes, edges, and global information of the graph respectively. The three realize information transmission and aggregation through the pooling operation, and finally obtain a graph with unchanged structure after information extraction. In the problem of locating the disturbance source, the multi-order derivative values of the Taylor expansion of the attenuated DC component are used as the information of the edge in the graph. The information of each line is aggregated to the adjacent node, that is, the unit, through GNN to update the node information. The node is input into a fully connected layer (FC), and the output result is classified by the Softmax function, and finally the disturbance source is accurately located.
[0059] The traditional update rule is:
[0060]
[0061] in, and are the representations of node v and node u at the l+1 layer and the l layer respectively, is the set of neighboring nodes of node v, u is a point in the set, c(v) is the normalization coefficient, W (l) is the weight matrix of the lth layer, and σ is the activation function. By iteratively applying this update rule, the representation of the node h v Gradually, information from neighboring nodes is gathered, and this information can be transferred and integrated between multiple layers to obtain a richer representation. Such an update rule enables GNN to fully utilize the feature information of nodes while considering the topological structure of the graph, so that it can effectively cope with various graph data-related tasks.
[0062] Different from the traditional update rules, the broadband oscillation disturbance source localization model based on the graph neural network in the embodiment of the present application takes the multidimensional data matrix of the attenuated DC component as input, and the obtained update rule is:
[0063]
[0064] in, and are the representations of node v and node i at the l+1 layer and the l layer, respectively, with I v For example, I v =[b v1 ,b v2 ,…bvn ], b vi is the attenuated DC component between nodes i.
[0065] S4. Model training. Combined with the multi-dimensional data matrix of the attenuated DC component, the broadband oscillation disturbance source localization model based on the graph neural network is trained offline to optimize the graph neural network model parameters to improve performance. The training is divided into four steps: forward propagation, loss calculation, back propagation, and parameter update. In the forward propagation, the input data passes through the network to obtain the prediction result. The loss calculation stage calculates the difference between the model's prediction and the true label. Back propagation calculates the gradient of each parameter based on the loss value. The parameter update stage adjusts the parameters according to the gradient to reduce the loss. These steps are iterated continuously until the model converges or the stopping condition is reached. The model is then verified and tested to evaluate its performance in locating broadband oscillation disturbance sources.
[0066] S5. Model deployment and evaluation iteration, and online application of the model. The trained graph neural network-based broadband oscillation disturbance source location model is deployed to the power system monitoring platform, and a confusion matrix is established to evaluate the performance of the graph neural network-based broadband oscillation disturbance source location model. According to the performance evaluation results, the model is optimized with small sample stochastic gradient, and the graph neural network model parameters are updated.
[0067] Based on the small sample stochastic gradient optimization algorithm, the disturbance source localization performance of the model is improved, including reducing latency, improving accuracy and response speed. The implementation mechanism enables the model to be continuously updated and optimized according to the newly collected data, improving the generalization of the model. Small sample stochastic gradient optimization is an optimization algorithm for training neural networks. Compared with traditional stochastic gradient descent, small sample stochastic gradient optimization does not use the data of the entire training set in each iteration, but divides the training set into small batches, and only uses a small batch of data for parameter update each time. The positioning performance of the model is comprehensively evaluated, and a confusion matrix for evaluating the performance of the model is established to show the classification accuracy of the model on different categories. In the confusion matrix, the rows represent the true categories and the columns represent the predicted categories. The value of each cell represents the number of samples predicted by the model as a certain category. According to the results of the model performance evaluation, the model is iteratively optimized to improve its stability and reliability.
[0068] In a specific embodiment, the performance of broadband oscillation positioning using the GNN model and other models is compared, and the results are shown in Table 1:
[0069] Table 1 Performance comparison of broadband oscillation positioning using GNN model and other models
[0070] index GNN CNN DNN DT Accuracy 97.2% 93.1% 92.7% 74.6% False positive rate 0.97% 3.65% 4.01% 12.74% Classification Error 0.07 0.15 0.13 0.57
[0071] As can be seen from Table 1, 2. Using the GNN model, aggregating information between adjacent nodes and combining system topology information, compared with using CNN, DNN, DT, etc. for broadband oscillation positioning, the obtained accuracy is higher, while the misjudgment rate and classification error are lower, achieving better performance.
[0072] In another specific embodiment, the model parameters, performance, etc. when using the multidimensional data matrix and the oscillation current time series data as the model input are compared, and the results are shown in Table 2:
[0073] Table 2 Comparison results using multidimensional data matrix and oscillation current time series data as model input
[0074] index Multidimensional Data Matrix Oscillation current timing data Parameter quantity 27378 711828 Inference speed 2.429ms 4.318ms Accuracy 97.2% 96.8%
[0075] It can be seen from Table 2 that using multidimensional data matrix as model input not only has better timeliness but also has better positioning performance.
[0076] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A broadband oscillation positioning method combining system topology and attenuated DC component, characterized in that: The following steps are involved: S1, data acquisition, collecting the current timing operation data of each line during the system fault and the location label of the disturbance source; S2, signal processing, preprocessing the collected time series signal, extracting the preprocessed attenuated DC component and performing Taylor expansion on the attenuated DC component, extracting derivatives of various orders to construct a multi-dimensional data matrix of the attenuated DC component; S3, model construction, using the multidimensional data matrix of the attenuated DC component obtained in S2 as the input of the graph neural network model, constructing a broadband oscillation disturbance source positioning model based on the graph neural network, and locating the disturbance source; S4. Model training: Combine the multi-dimensional data matrix of the attenuated DC component to train the broadband oscillation disturbance source localization model based on the graph neural network, and optimize the graph neural network model parameters to improve performance; S5. Model deployment and evaluation iteration: deploy the trained graph neural network-based broadband oscillation disturbance source location model to the power system monitoring platform, establish a confusion matrix to evaluate the performance of the graph neural network-based broadband oscillation disturbance source location model, perform small sample stochastic gradient optimization on the model according to the performance evaluation results, and update the graph neural network model parameters.
2. The broadband oscillation positioning method combining system topology and attenuated DC component according to claim 1, characterized in that: The preprocessing includes extracting discrete components, filtering, and denoising.
3. The broadband oscillation positioning method combining system topology and attenuated DC component according to claim 2, characterized in that: The Taylor expansion of the attenuated DC component comprises the following steps: The low-frequency band-limited signal and the rotation modulation signal are used to describe the time-varying characteristics of the fundamental component, and the attenuated DC component of the fundamental component is characterized by the attenuated exponential function. The power signal containing the attenuated DC component is obtained as follows: Where a(t) is the low-frequency band-limited signal, is the rotation modulation signal, f0 is the fundamental frequency, b is the initial value of the amplitude of the decaying DC component, t is the time, and τ is the decay time constant of the decaying DC component; The Taylor approximation for the attenuated DC component is: Among them, b (k) to be -t / τ The k-th derivative of , Δb is expressed in Taylor series as be -t / τ The error caused by The discrete sequence model of a dynamic signal with a decaying DC component is: Where n = tf s , ω0 is the sampling angular frequency, α (k) represents the k-th derivative of a(t) at the reference time, β (k) for b (k) The discretized value of f s is the sampling frequency.
4. The broadband oscillation positioning method combining system topology and attenuated DC component according to claim 3, characterized in that: The multidimensional data matrix of the attenuated DC component is: Among them, I k is the kth dimension of the data matrix, is the discretized value of the k-th derivative of the attenuation DC component of the line between the i-th node and the j-th node, if This means that there is no line between the i-th node and the j-th node.
5. The broadband oscillation positioning method combining system topology and attenuated DC component according to claim 4, characterized in that: The graph neural network model includes nodes, edges and global information. The three realize information transmission and aggregation through convergence operations, and finally obtain a graph with unchanged structure after information extraction.
6. The broadband oscillation positioning method combining system topology and attenuated DC component according to claim 5, characterized in that: The positioning of the disturbance source comprises the following steps: The Taylor expansion multi-order derivative values of the attenuated DC component are used as the edge information in the graph neural network. The graph neural network model is used to aggregate the information of each line to the adjacent node, that is, the unit, to update the node information. The node information is input into the next fully connected layer, and the output results are classified by the softmax function to locate the disturbance source.
7. The broadband oscillation positioning method combining system topology and attenuated DC component according to claim 6, characterized in that: The update rule of the broadband oscillation disturbance source localization model based on graph neural network is: in, is the representation of node v at the l+1th node, is the representation of node i at layer l, b vi is the attenuated DC component between nodes i, W (l) is the weight matrix of the lth layer, and σ is the activation function.
