A method and system for fault line selection in distribution network based on source-load zero-sequence current
By performing variational mode decomposition and Markov transfer field processing on the source-charge zero-sequence current of the distribution network, combined with the convolutional neural network model, the problem of low accuracy of fault line selection in the distribution network is solved and high accuracy is achieved. Fault line selection with high efficiency and anti-interference ability.
Patent Information
- Application Number
- CN202410896752.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-05
AI Technical Summary
In the distribution network, with the access of distributed power sources, the accuracy of fault line selection is low. Existing deep learning methods are difficult to process weak fault signals, resulting in low accuracy of fault line selection.
A distribution network fault line selection method based on source-charge zero-sequence current is adopted. By collecting and storing the source-charge zero-sequence current signal of the feeder, variational mode decomposition and Markov transfer field processing are performed to form a two-dimensional image and utilize The convolutional neural network model is used for fault feature mining and line selection.
It improves the accuracy of fault line selection in the distribution network, enhances the anti-interference ability, and achieves accurate identification and line selection of weak fault signals.
Smart Images

Figure CN118425692B
Abstract
Description
Technical Field
[0001] The invention provides a distribution network fault line selection method and system based on source-load zero-sequence current, belonging to the technical field of distribution network fault line selection. Background Art
[0002] In order to ensure the safe and reliable operation of the distribution network, low-voltage and medium-voltage distribution networks widely use low-current grounding methods. In the low-current grounding system, the incidence of single-phase grounding faults is as high as over 80%. Since the fault signal characteristics are weak and susceptible to noise interference, accurate fault line selection becomes more difficult. With the access of a large number of distributed power sources, the structure of the distribution network has become increasingly complex, and the characteristics and distribution of zero-sequence current under fault conditions have also changed significantly. Therefore, it is necessary to further analyze the fault characteristics of the new distribution network and conduct in-depth research on effective methods for fault line selection in the new distribution network.
[0003] With the rapid development of artificial intelligence technology, deep learning has achieved outstanding results in areas such as image recognition. Deep learning has the ability to extract deep features and can autonomously mine fault features from raw data. However, the deep learning methods currently used still have the defect of being difficult to accurately select fault lines when facing weak fault signals, resulting in a low accuracy rate of fault line selection. Summary of the invention
[0004] In order to solve the problem of low accuracy of fault line selection in an active distribution network including distributed power sources, the present invention proposes a distribution network fault line selection method and system based on source-load zero-sequence current.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a distribution network fault line selection method based on source-load zero-sequence current, comprising the following steps:
[0006] S1.1: Collect the source-load zero-sequence current signal of each feeder in the distribution network; store the collected source-load zero-sequence current signal in a circular data format; judge the fault event by the threshold; and trigger the line selection process if the conditions are met;
[0007] S1.2: Perform variational modal decomposition on the source-load zero-sequence current signal of each feeder to obtain a series of intrinsic mode functions; calculate the time series of the best alignment path of the source-load zero-sequence current intrinsic mode function; construct a Markov transfer field to form a two-dimensional image that characterizes the distance characteristics of the source-load zero-sequence current; and splice the longitudinal and transverse two-dimensional images to obtain the full network image;
[0008] S1.3: Use the distribution network simulation tool to model and simulate the target distribution network, and generate feeder source-load zero-sequence current samples under various fault scenarios; perform variational mode decomposition, time series calculation of the optimal alignment path, and two-dimensional image conversion processing on the simulated feeder source-load zero-sequence current samples obtained in step S1.2 to form a two-dimensional image training data set, obtain training data, and use the training data to perform offline training on the machine learning model;
[0009] S1.4: Use the full network image obtained in step S1.2 as input data and use the trained machine learning model to implement distribution network fault line selection online.
[0010] In step S1.1, a zero-sequence current acquisition device is deployed on each feeder connected to the distribution network bus to obtain a source-end zero-sequence current signal; at the same time, a zero-sequence current acquisition device is also deployed on the load end of each feeder to obtain a load-end zero-sequence current signal, and the sampled source-load zero-sequence current signal is stored in a ring memory.
[0011] In step S1.1, the source-load zero-sequence current threshold is set and the threshold is compared to determine whether a fault has occurred; as long as the source-load zero-sequence current of any feeder exceeds the set threshold, the machine learning algorithm is immediately triggered to start the line selection process.
[0012] In step S1.2, the NGO-VMD method is used to perform variational mode decomposition on the source-load zero-sequence current signal of each feeder to obtain a series of intrinsic mode functions IMFs, and the IMFs are used as characteristic components of the source-load zero-sequence current.
[0013] The specific process of calculating the time series of the optimal alignment path of the source-load zero-sequence current eigenmode function in step 1.2 is as follows:
[0014] A series of intrinsic mode functions IMF of the source-load zero-sequence current signal are sequentially source-load aligned one by one;
[0015] For the time series corresponding to the IMF component of the source zero-sequence current signal and the IMF component of the load zero-sequence current signal, the Euclidean distance is calculated point by point to obtain a distance matrix;
[0016] The distance matrix is represented as a directed weighted graph. The nodes of the directed weighted graph correspond to the matrix elements in the distance matrix. The directed edges of the directed weighted graph correspond to the positions of increasing matrix elements. The weight of the directed edge of the directed weighted graph is equal to the value of the source node element, that is, the Euclidean distance.
[0017] The shortest path method is used to calculate the shortest path between the starting point and the end point, which is the optimal alignment path. The values of each element on the optimal alignment path constitute the time series of the optimal alignment path.
[0018] The steps for constructing the Markov transfer field in step S1.2 to form a two-dimensional image representing the source-charge zero-sequence current distance characteristics are as follows:
[0019] The cumulative distribution characteristics of the time series of the optimal alignment path are analyzed using statistical histograms, and the frequency of data occurrence is divided into Q quantile boxes at equal intervals, and the number of data in each quantile box is guaranteed to be the same. If the amount of data is different, the data is supplemented;
[0020] The Markov transfer field matrix is calculated by using the Markov chain principle. Each element in the Markov transfer field matrix is regarded as a pixel point. The Markov transfer field matrix corresponds to a two-dimensional image, which is used to represent the time series characteristics of the source-load zero-sequence current signal IMF.
[0021] All IMF components of the source-load zero-sequence current signals of all feeders are converted into Markov transfer field matrices, thus realizing a two-dimensional image expression of all source-load zero-sequence current signals;
[0022] The steps of splicing the longitudinal and transverse two-dimensional images to obtain the full network image in step S1.2 include: splicing all IMF components of a feeder longitudinally to form a time series characteristic sub-graph of the source-load zero-sequence current signal of the feeder;
[0023] By further horizontally splicing the time series characteristic subgraphs of multiple feeders of the distribution network, the time series characteristic graph of the entire distribution network source-load zero-sequence current signal can be obtained.
[0024] The machine learning model specifically adopts a convolutional neural network model.
[0025] A distribution network fault line selection system based on source-load zero-sequence current, comprising:
[0026] Feeder source load zero-sequence current acquisition and storage module: includes zero-sequence current acquisition equipment and ring storage respectively deployed on the source load side of each feeder in the distribution network, to acquire and store the source load zero-sequence current signal of each feeder;
[0027] Fault line selection process trigger module: used to perform real-time threshold comparison on the source-load zero-sequence current signal collected on each feeder according to the preset source-load zero-sequence current threshold. Once the source-load zero-sequence current of a feeder exceeds the threshold, it is considered that a fault has occurred in the distribution network, and the module triggers the line selection process;
[0028] Zero-sequence current concentration module: used to centrally store the source and load zero-sequence current signals before and after the fault after triggering the line selection;
[0029] Data preprocessing module: used to process the source-load zero-sequence current signal and finally obtain a two-dimensional image of the entire distribution network, including:
[0030] Zero-sequence current modal decomposition module: used to perform variational modal decomposition of source-load zero-sequence current signals using the NGO-VMD method to obtain a series of intrinsic mode functions IMF;
[0031] Time series generation module for optimal alignment path: used to obtain the time series of the optimal alignment path according to the IMF of the source-load zero-sequence current signal;
[0032] Two-dimensional image generation module: used to convert the time series of the optimal alignment path into a two-dimensional image through the Markov chain principle;
[0033] Image stitching module: used to stitch the two-dimensional images on each feeder vertically first, and then stitch the two-dimensional images on all feeders horizontally, to obtain the whole network time sequence characteristic diagram of the source-load zero-sequence current signal of the overall distribution network;
[0034] Machine learning model training module: used to generate training data sets and train convolutional neural network models, including:
[0035] Distribution network fault scenario simulation model: used to generate source-load zero-sequence current samples for various fault scenarios, and process them through the data preprocessing module to obtain a training data set, and train the model based on the training data set;
[0036] Convolutional neural network model: used to input the full network time series feature map output by the image stitching module into the trained convolutional neural network model and output the fault line selection result;
[0037] Fault line selection and result display module: used to display the fault line selection results using data visualization technology.
[0038] The ring memory transmits the stored 5-cycle source-load zero-sequence current signal to the zero-sequence current concentration module, wherein the 5-cycle source-load zero-sequence current signal includes data of 1 cycle before the fault and data of 4 cycles after the fault.
[0039] The beneficial effects of the present invention compared to the prior art are as follows: the present invention first performs NGO-VMD adaptive decomposition on the zero-sequence current on both sides of the source and load to obtain IMF, refines the time-frequency characteristics of the signal, and improves the anti-interference ability. Then, the corresponding IMFs on both sides of the source and load are aligned to the optimal path to eliminate load interference. The Markov transfer field matrix is then used to convert the one-dimensional time series into a two-dimensional image, enriching the fault feature information and visualizing it. In order to fully consider the time and space correlation, a series of IMF images are spliced to obtain a timing feature diagram of the entire network. Finally, the fault line of the timing feature diagram of the entire network is marked and input into the convolutional neural network for autonomous mining of fault features to complete the fault line selection. This method can effectively improve the accuracy of fault line selection in the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The present invention will be further described below in conjunction with the accompanying drawings:
[0041] Figure 1 is a flow chart of a method according to an embodiment of the present invention;
[0042] Figure 2 This is a schematic diagram of the optimal alignment path of the present invention;
[0043] Figure 3 A schematic diagram of a two-dimensional image expressing the source-load zero-sequence current characteristics of a distribution network generated by the present invention;
[0044] Figure 4 The structure diagram of the convolutional neural network designed for the present invention;
[0045] Figure 5 It is the structural diagram of the convolution module;
[0046] Figure 6 It is the structural diagram of the cross-stage local network fusion module;
[0047] Figure 7 This is the structural diagram of the spatial pyramid pooling module;
[0048] Figure 8 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0049] like Figures 1 to 8 As shown, the present invention provides a distribution network fault line selection method based on source-load zero-sequence current, comprising the following steps:
[0050] S1.1: Collect the source-load zero-sequence current signal of each feeder in the distribution network; store the collected source-load zero-sequence current signal in a circular data format; judge the fault event by the threshold; and trigger the line selection process if the conditions are met.
[0051] By deploying zero-sequence current acquisition equipment on each feeder connected to the distribution network bus, the source-end zero-sequence current signal is obtained; at the same time, zero-sequence current acquisition equipment is also deployed on the load end of each feeder to obtain the load-end zero-sequence current signal.
[0052] The process of storing the collected source-load zero-sequence current signal in a ring data format is as follows: sample the source-load zero-sequence current signal, set the sampling rate to 12.8kHz, and store the sampled source-load zero-sequence current signal in a ring memory. The length of the ring memory is the amount of collected data for one 50Hz power frequency signal cycle. The purpose of using a ring memory is to obtain the source-load zero-sequence current signal for one cycle before the fault once the fault line selection process is triggered. This is conducive to the training of the later machine learning model and improves the accuracy of fault line selection.
[0053] The present invention divides the fault line selection process into two stages. In the first stage, the source-load zero-sequence current threshold is set, and by comparing the threshold, it is quickly determined whether a fault has occurred; in the second stage, as long as the source-load zero-sequence current of any feeder exceeds the set threshold, the machine learning algorithm is immediately triggered to start the line selection process. This can improve the line selection efficiency.
[0054] S1.2: Perform variational modal decomposition on the source-load zero-sequence current signal of each feeder to obtain a series of intrinsic mode functions; calculate the time series of the optimal alignment path of the source-load zero-sequence current intrinsic mode function; construct a Markov transfer field to form a two-dimensional image that characterizes the distance characteristics of the source-load zero-sequence current; splice the longitudinal and transverse two-dimensional images to obtain the full network image, thereby obtaining the real fault line selection data.
[0055] Specifically, the present invention adopts a variational multi-mode decomposition (VMD) method based on Northern Goshawk Optimization (NGO), referred to as the NGO-VMD method, to perform variational mode decomposition on the source-load zero-sequence current signal of each feeder, and obtain a series of intrinsic mode functions (IMF). IMF is used as the characteristic component of the source-load zero-sequence current signal. The time length of the source-load zero-sequence current is set to 0.1 seconds.
[0056] The mathematical model of the basic VMD method is:
[0057] ;
[0058] in, k is the number of IMF components; u k ( t ) is the k IMF components; ω k For the k The center frequency of the IMF component; For t Find partial derivatives; t For time; δ ( t ) is the Dirac distribution function; j is an imaginary unit; f ( t ) is the original signal, that is, the decomposed source-load zero-sequence current signal.
[0059] In order to solve the above formula, the quadratic penalty factor is introduced α and Lagrange multipliers λ . By using the alternating direction multiplication method, we can obtaink IMF components and their center frequencies. The expression is:
[0060] ;
[0061] in, is the Wiener filtering result of the current residual after Fourier transform of the IMF component; For the k The center frequency of the IMF component n +1 iteration value; is the frequency domain value of the original signal after Fourier transform; is the frequency domain value of the time series of the IMF component after Fourier transformation; is the frequency domain value of the Lagrange multiplier after Fourier transformation; For the k The frequency domain value of the time series of the IMF components after Fourier transformation; ω is the frequency; n is the number of iterations.
[0062] To choose the right k and α The present invention adopts the NGO algorithm to optimize the VMD parameters, realizes the effective separation of the frequency components of the original signal, improves the anti-interference ability, and avoids the modal aliasing phenomenon.
[0063] Calculating the optimal alignment path time series of the source-load zero-sequence current intrinsic mode function includes: performing source-load alignment on a series of intrinsic mode functions of the source-load zero-sequence current signal one by one in sequence.
[0064] The specific steps to achieve the optimal alignment path time series are: for the time series corresponding to the IMF component of the source zero-sequence current signal and the IMF component of the load zero-sequence current signal, calculate the Euclidean distance point by point to obtain the distance matrix. The distance matrix is represented as a directed weighted graph. The nodes of the directed weighted graph correspond to the matrix elements in the distance matrix, and the directed edges of the directed weighted graph correspond to the positions of the increasing matrix elements in the distance matrix. The increasing matrix is due to the input discrete sequence A , B It is a time series. In order to preserve the time order of the input discrete sequence, the position of the distance matrix element increases monotonically over time. In order to reflect the monotonicity of the directed edge direction, the concept of increasing matrix is proposed. The weight of the directed edge of the directed weighted graph is equal to the value of the source node element, that is, the Euclidean distance. The shortest path method is used to calculate the shortest path between the starting point and the end point, which is the best alignment path. The values of each element on the best alignment path constitute the time series of the best alignment path.
[0065] The specific implementation steps are as follows:
[0066] Assume that the number of IMF components N of the source and load zero-sequence current signals is the same, N=8. Align the IMF components of the source zero-sequence current signal with the IMF components of the load zero-sequence current signal one by one in order. Assume that the first i The time series of the IMF components are expressed as A ={ a 1, a 2,…, a m}and B ={ b 1, b 2,…, b n}. The Euclidean distance between any two points is d ( a j , b k )=| a j - b k |, construct time series A and B The distance matrix is:
[0067] ;
[0068] The distance matrix D Represented as a directed weighted graph. The nodes of the directed weighted graph correspond to the distance matrix D Each element in . The directed edges of a directed weighted graph correspond to the positions of increasing matrix elements. For example, when the element d ( a j , b k ) as the destination node, the possible incoming edges are: d ( a j-1 , b k-1 )→ d ( a j , b k ), d ( a j-1 , b k )→ d ( a j , b k )and d ( a j , b k-1)→ d ( a j , b k ). When the element d ( a j , b k ) as the source node, the possible outgoing edges are: d ( a j , b k )→ d ( a j+1 , b k+1 ), d ( a j , b k )→ d ( a j , b k+1 )and d ( a j , b k )→ d ( a j+1 , b k ). The weight of a directed edge in a directed weighted graph is equal to the value of the corresponding element of the source node, that is, the Euclidean distance. d ( a j , b k )→ d ( a j+1 , b k+1 ) has a weight of d ( a j , b k ). According to the directed weighted graph, the starting point is calculated using the shortest path method d ( a 1, b 1) and the end point d ( a m , b n ) is the best alignment path. The values of each element on the best alignment path constitute the time series of the best alignment pathD C If the IMF components of the source-load zero-sequence current signal are 8, then the time series of the optimal alignment path is D C There are also 8.
[0069] The steps for constructing a Markov transfer field to form a two-dimensional image that characterizes the source-load zero-sequence current distance characteristics are as follows: Use statistical histograms to analyze the cumulative distribution characteristics of the time series of the optimal alignment path, divide the data occurrence frequency into Q quantile boxes at equal intervals, and ensure that the number of data in each quantile box is the same. If the amount of data is different, the data is supplemented. Using the Markov chain principle, calculate the Markov transfer field matrix. Treat each element in the Markov transfer field matrix as a pixel point. The Markov transfer field matrix corresponds to a two-dimensional image, which is used to represent the time series characteristics of the source-load zero-sequence current signal IMF.
[0070] Set up i Time series of the best alignment paths for the IMF components D C ={ x 1, x 2,…, x N}, the bin set is S Q ={ q 1, q 2,…, q Q}, a quantile box constructed based on the transition probability between each quantile in the quantile box set Q × Q The transfer matrix W , which is expressed as follows:
[0071] ;
[0072] in, w ij = P ( x t ∈ q j | x t-1 ∈ q i ) is the bin q i arrive q j The transition probability of t =2,3,…, N , i,j =1,2,…, Q Since the transfer matrixW The time dependency of the original timing sequence cannot be maintained, so the transfer matrix W The probability information along the time axis of the time series is expressed in the Markov transition field matrix M Above, the Markov transition field matrix M The size is N × N , which is expressed as follows:
[0073] ;
[0074] in, m ij For x i arrive x j The transition probability, i,j =1,2,…, N ;when x i ∈ q k and x j ∈ q l hour, m ij = w kl , k,l =1,2,…, Q Because the transition probability m ij ∈[0, 1], so m ij Can be regarded as a pixel. Markov transition field matrix M Can be viewed as a two-dimensional image.
[0075] All IMF components of the source-load zero-sequence current signals of all feeders are converted into Markov transfer field matrices, thus realizing a two-dimensional image expression of all source-load zero-sequence current signals;
[0076] The steps for splicing the vertical and horizontal two-dimensional images to obtain the whole network image include: splicing all the IMF components of a feeder vertically to form a time series characteristic subgraph of the source-load zero-sequence current signal of the feeder; further splicing the time series characteristic subgraphs of multiple feeders of the distribution network horizontally to obtain the whole network time series characteristic graph of the source-load zero-sequence current signal of the entire distribution network.
[0077] S1.3: Use the distribution network simulation tool to model and simulate the target distribution network to generate feeder source and load zero-sequence current samples under various fault scenarios; perform variational mode decomposition, time series calculation of the optimal alignment path, two-dimensional image conversion and other processing in step S1.2 on the simulated feeder source and load zero-sequence current samples to form a two-dimensional image training data set, obtain training data, and use the training data to perform offline training on the machine learning model.
[0078] Specifically, a distribution network simulation tool is used to establish a target distribution network simulation model including network structure, line parameters, load conditions, operation mode, etc., and a set of feeder source-load zero-sequence current samples is generated under different operation scenarios including normal and fault conditions.
[0079] The simulated network structure is radial and the neutral point is not grounded. The network topology contains 5 feeders, and the lengths of different feeders are given. Three distributed power models are deployed at the corresponding locations. The line parameters per kilometer include: zero-sequence resistance, zero-sequence inductance, zero-sequence capacitance, positive-sequence resistance, positive-sequence inductance and positive-sequence capacitance. In order to simulate the operation of the distribution network under actual working conditions, the fault phase, fault initial phase angle, fault distance and fault grounding resistance of different lines are set respectively.
[0080] The NGO-VMD variational mode decomposition is performed on the feeder source-load zero-sequence current sample set under different operation scenarios obtained by simulation. The optimal alignment path is calculated through directed weighted graph conversion. The Markov transfer field matrix is used to represent the time series of the optimal alignment path, and the IMF component is expressed in two-dimensional images. The two-dimensional images of multiple IMF components are spliced vertically and horizontally to form a complete two-dimensional image training data set. The training data preprocessing process is consistent with the fault line selection data preprocessing process.
[0081] S1.4: Use the full network image obtained in step S1.2 as input data and use the trained machine learning model to implement distribution network fault line selection online.
[0082] The machine learning model of the present invention adopts a convolutional neural network model, and the convolutional neural network model adopts a YOLOv8 network, which is composed of four parts: an input layer, a backbone network, a neck network, and a detection layer. The input layer allows the input of a 640*640 image, and the mosaic data enhancement function is turned off in the last 10 rounds of model training, effectively improving the training accuracy. The backbone network is used to extract image features, including a 3*3 convolution module (Conv), a cross-stage local network fusion module (C2f), and a spatial pyramid pooling module (SPPF); the neck network is used to perform multi-scale feature fusion and transmit image features to the detection layer, including a 3*3 convolution module, a C2f module, an upsampling module (Upsample), and a splicing module (Contact); the detection layer includes three detection modules, which can simultaneously detect feature maps of different sizes, and adopts a decoupled head structure (Decoupled-Head) to separate the classification and detection heads, so as to facilitate the separate processing of the output of each task, and adopt an anchor-free strategy, and the detection reduces the number of box predictions, thereby accelerating non-maximum suppression.
[0083] Among them, the convolution module (Conv) is mainly composed of two-dimensional convolution (conv2d), batch normalization (BN) and logistic linear unit (SiLU) activation function, such as Figure 5 As shown in the figure, conv2d is a two-dimensional convolutional neural network (CNN) used to extract image spatial features; BN is a data normalization operation, so that the data will not be too large before the activation function, which will cause the network performance to be unstable; SiLU activation function is used to improve the nonlinear expression ability of the model. The cross-stage local network fusion module (C2f) is the main module for residual feature learning. The C2f module is used to replace the C3 module in YOLOv5. By parallelizing more gradient flow branches, richer gradient flow information is obtained, and the idea of cross-stage local network (CSP) is further lightweight while maintaining the idea of cross-stage local network (CSP). It has fewer parameters and better feature extraction capabilities. Its structure is as follows Figure 6 As shown in the figure, the input of C2f is first processed by a 1*1 convolution module, and then the number of input channels is reduced to 1 / 2 of the original through a split module to reduce the amount of calculation and memory consumption. Feature information is then extracted through multiple bottleneck layers, and the results of the split module and multiple bottleneck layers are concatenated. Finally, a 1*1 convolution module is used to restore the number of channels of the feature map. The spatial pyramid pooling module (SPPF) can implement faster pyramid pooling operations on feature maps based on receptive fields of different scales, fuse the pooled features to obtain a more comprehensive feature representation, enhance the model's detection capabilities for targets of different scales, and further improve the model's detection accuracy. Its structure is as follows: Figure 7As shown in the figure, SPPF processes the input through a 1*1 convolution module, and then performs a maximum pooling layer downsampling operation through three serial 5*5 maximum pooling layers. The sampling results are concatenated and then passed through a 1*1 convolution module to output the feature map. The main purpose of the upsampling module (Upsample) is to enlarge the size of the feature map, and to convert the lower-resolution feature map into a higher-resolution feature map through the upsampling operation to better capture the detail information; the connection module (Concat) can fuse feature maps at different levels, which helps the model extract the detail information and global information of the target.
[0084] The two-dimensional image training data set is annotated using labeling software, the fault line is selected, and a label file is generated for the convolutional neural network model to read. The label file consists of a custom fault line number and the coordinates of the rectangular frame position. A total of 6006 sets of fault feature images were collected. According to the proportion of fault types of different lines, the sample data was randomly divided into training set, validation set and test set images in a ratio of 8:1:1. The two-dimensional image and the corresponding label are input into the convolutional neural network model to train the convolutional neural network model. The model training goal is mainly to ensure that the accuracy, recall rate and average precision mean are stable.
[0085] The present invention also proposes a distribution network fault line selection system based on source-load zero-sequence current, comprising:
[0086] Feeder source load zero-sequence current acquisition and storage module: includes zero-sequence current acquisition equipment and ring storage respectively deployed on the source load side of each feeder in the distribution network, to acquire and store the source load zero-sequence current signal of each feeder;
[0087] Fault line selection process trigger module: used to perform real-time threshold comparison on the source-load zero-sequence current signal collected on each feeder according to the preset source-load zero-sequence current threshold. Once the source-load zero-sequence current of a feeder exceeds the threshold, it is considered that a fault has occurred in the distribution network. The module triggers the line selection process and transmits the stored 5-cycle source-load zero-sequence current signal to the zero-sequence current concentration module, where the 5-cycle source-load zero-sequence current signal includes data of 1 cycle before the fault and data of 4 cycles after the fault;
[0088] Zero-sequence current concentration module: used to centrally store the source and load zero-sequence current signals before and after the fault after triggering the line selection;
[0089] Data preprocessing module: used to process the source-load zero-sequence current signal and finally obtain a two-dimensional image of the entire distribution network, including:
[0090] Zero-sequence current modal decomposition module: used to perform variational modal decomposition of source-load zero-sequence current signals using the NGO-VMD method to obtain a series of intrinsic mode functions IMF;
[0091] Time series generation module for optimal alignment path: used to obtain the time series of the optimal alignment path according to the IMF of the source-load zero-sequence current signal;
[0092] Two-dimensional image generation module: used to convert the time series of the optimal alignment path into a two-dimensional image through the Markov chain principle;
[0093] Image stitching module: used to stitch the two-dimensional images on each feeder vertically first, and then stitch the two-dimensional images on all feeders horizontally, to obtain the whole network time sequence characteristic diagram of the source-load zero-sequence current signal of the overall distribution network;
[0094] Machine learning model training module: used to generate training data sets and train convolutional neural network models, including:
[0095] Distribution network fault scenario simulation model: used to generate source-load zero-sequence current samples for various fault scenarios, and process them through the data preprocessing module to obtain a training data set, and train the model based on the training data set;
[0096] Convolutional neural network model: used to input the full network time series feature map output by the image stitching module into the trained convolutional neural network model and output the fault line selection result;
[0097] Fault line selection and result display module: used to display the fault line selection results using data visualization technology.
[0098] See also Figure 2 , Figure 2 middle d 11 and d 45 The best alignment path between time series D C ={ d 11 , d 22 , d 23 , d 34 , d 44 , d 45 If the IMF components of the source-load zero-sequence current signal are 8, then the time series of the optimal alignment path is D C There are also 8.
[0099] See also Figure 3 The two-dimensional image schematic diagram of the source-load zero-sequence current signal in the embodiment of the present invention includes:
[0100] In the figure, MTF stands for Markov transition field matrix, which is a square matrix and is the time series feature subgraph corresponding to the IMF component. The scale of MTF depends on the time series of the best alignment path. D C The length of the 8 IMF components of the same feeder is vertically spliced to form a time series characteristic subgraph of the feeder. Then the time series characteristic subgraphs of the 5 feeders are horizontally spliced to obtain the full network time series characteristic graph of the source-load zero-sequence current signal of the entire distribution network, which is a two-dimensional image. The two-dimensional image is input into the machine learning model to output the fault line selection result.
[0101] The present invention decomposes the zero-sequence current on both sides of the feeder source and load by using the NGO-VMD method, and then converts the one-dimensional time series into a two-dimensional image by the optimal path alignment of the source-load IMF distance and the Markov transfer field matrix, and then uses the convolutional neural network model to realize the online distribution network fault line selection. The present invention has the advantages of strong anti-interference ability, accurate fault line selection, fast calculation speed, etc., and solves the fault line selection problem of the active distribution network including distributed power sources.
[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for fault line selection in a distribution network based on source-load zero-sequence current, characterized in that: The following steps are involved: S1.1: Collect the source-load zero-sequence current signal of each feeder in the distribution network; Storing the collected source-load zero-sequence current signal in a circular manner; Determine fault events through thresholds; trigger line selection if conditions are met; S1.2: Perform variational mode decomposition on the source-load zero-sequence current signal of each feeder to obtain a series of intrinsic mode functions; Calculate the time series of the best alignment path of the source-load zero-sequence current intrinsic mode function; construct a Markov transfer field to form a two-dimensional image that characterizes the distance characteristics of the source-load zero-sequence current; and obtain a full-network image by splicing the longitudinal and transverse two-dimensional images; S1.3: Use the distribution network simulation tool to model and simulate the target distribution network, and generate feeder source-load zero-sequence current samples under various fault scenarios; perform variational mode decomposition, time series calculation of the optimal alignment path, and two-dimensional image conversion processing on the simulated feeder source-load zero-sequence current samples obtained in step S1.2 to form a two-dimensional image training data set, obtain training data, and use the training data to perform offline training on the machine learning model; S1.4: Use the full network image obtained in step S1.2 as input data and use the trained machine learning model to implement distribution network fault line selection online.
2. A method for fault line selection in a distribution network based on source-load zero-sequence current according to claim 1, characterized in that: In step S1.1, a zero-sequence current acquisition device is deployed on each feeder connected to the distribution network bus to obtain a source-end zero-sequence current signal; at the same time, a zero-sequence current acquisition device is also deployed on the load end of each feeder to obtain a load-end zero-sequence current signal, and the sampled source-load zero-sequence current signal is stored in a ring memory.
3. A method for fault line selection in distribution network based on source-load zero-sequence current according to claim 1, characterized in that: In step S1.1, the source-load zero-sequence current threshold is set and the threshold is compared to determine whether a fault has occurred; as long as the source-load zero-sequence current of any feeder exceeds the set threshold, the machine learning algorithm is immediately triggered to start the line selection process.
4. A method for fault line selection in distribution network based on source-load zero-sequence current according to claim 3, characterized in that: In step S1.2, the NGO-VMD method is used to perform variational mode decomposition on the source-load zero-sequence current signal of each feeder to obtain a series of intrinsic mode functions IMFs, and the IMFs are used as characteristic components of the source-load zero-sequence current.
5. A method for fault line selection in distribution network based on source-load zero-sequence current according to claim 4, characterized in that: The specific process of calculating the time series of the optimal alignment path of the source-load zero-sequence current eigenmode function in step 1.2 is as follows: A series of intrinsic mode functions IMF of the source-load zero-sequence current signal are sequentially source-load aligned one by one; For the time series corresponding to the IMF component of the source zero-sequence current signal and the IMF component of the load zero-sequence current signal, the Euclidean distance is calculated point by point to obtain a distance matrix; The distance matrix is represented as a directed weighted graph. The nodes of the directed weighted graph correspond to the matrix elements in the distance matrix. The directed edges of the directed weighted graph correspond to the positions of increasing matrix elements. The weight of the directed edge of the directed weighted graph is equal to the value of the source node element, that is, the Euclidean distance. The shortest path method is used to calculate the shortest path between the starting point and the end point, which is the optimal alignment path. The values of each element on the optimal alignment path constitute the time series of the optimal alignment path.
6. A method for fault line selection in distribution network based on source-load zero-sequence current according to claim 5, characterized in that: The steps for constructing the Markov transfer field in step S1.2 to form a two-dimensional image representing the source-charge zero-sequence current distance characteristics are as follows: The cumulative distribution characteristics of the time series of the optimal alignment path are analyzed using statistical histograms, and the frequency of data occurrence is divided into Q quantile boxes at equal intervals, and the number of data in each quantile box is guaranteed to be the same. If the amount of data is different, the data is supplemented; The Markov transfer field matrix is calculated by using the Markov chain principle. Each element in the Markov transfer field matrix is regarded as a pixel point. The Markov transfer field matrix corresponds to a two-dimensional image, which is used to represent the time series characteristics of the source-load zero-sequence current signal IMF.
7. A method for fault line selection in distribution network based on source-load zero-sequence current according to claim 6, characterized in that: All IMF components of the source-load zero-sequence current signals of all feeders are converted into Markov transfer field matrices, thus realizing a two-dimensional image expression of all source-load zero-sequence current signals; The steps of splicing the longitudinal and transverse two-dimensional images to obtain the full network image in step S1.2 include: splicing all IMF components of a feeder longitudinally to form a time series characteristic sub-graph of the source-load zero-sequence current signal of the feeder; By further horizontally splicing the time series characteristic subgraphs of multiple feeders of the distribution network, the time series characteristic graph of the entire distribution network source-load zero-sequence current signal can be obtained.
8. A method for fault line selection in a distribution network based on source-load zero-sequence current according to any one of claims 1 to 7, characterized in that: The machine learning model specifically adopts a convolutional neural network model.
9. A distribution network fault line selection system based on source-load zero-sequence current, characterized by: include: Feeder source load zero-sequence current acquisition and storage module: includes zero-sequence current acquisition equipment and ring storage respectively deployed on the source load side of each feeder in the distribution network, to acquire and store the source load zero-sequence current signal of each feeder; Fault line selection process trigger module: used to perform real-time threshold comparison on the source-load zero-sequence current signal collected on each feeder according to the preset source-load zero-sequence current threshold. Once the source-load zero-sequence current of a feeder exceeds the threshold, it is considered that a fault has occurred in the distribution network, and the module triggers the line selection process; Zero-sequence current concentration module: used to centrally store the source and load zero-sequence current signals before and after the fault after triggering the line selection; Data preprocessing module: used to process the source-load zero-sequence current signal and finally obtain a two-dimensional image of the entire distribution network, including: Zero-sequence current modal decomposition module: used to perform variational modal decomposition of source-load zero-sequence current signals using the NGO-VMD method to obtain a series of intrinsic mode functions IMF; Time series generation module for optimal alignment path: used to obtain the time series of the optimal alignment path according to the IMF of the source-load zero-sequence current signal; Two-dimensional image generation module: used to convert the time series of the optimal alignment path into a two-dimensional image through the Markov chain principle; Image stitching module: used to stitch the two-dimensional images on each feeder vertically first, and then stitch the two-dimensional images on all feeders horizontally, to obtain the whole network time sequence characteristic diagram of the source-load zero-sequence current signal of the overall distribution network; Machine learning model training module: used to generate training data sets and train convolutional neural network models, including: Distribution network fault scenario simulation model: used to generate source-load zero-sequence current samples for various fault scenarios, and process them through the data preprocessing module to obtain a training data set, and train the model based on the training data set; Convolutional neural network model: used to input the full network time series feature map output by the image stitching module into the trained convolutional neural network model and output the fault line selection result; Fault line selection and result display module: used to display the fault line selection results using data visualization technology.
10. A distribution network fault line selection system based on source-load zero-sequence current according to claim 9, characterized in that: The ring memory transmits the stored 5-cycle source-load zero-sequence current signal to the zero-sequence current concentration module, wherein the 5-cycle source-load zero-sequence current signal includes data of 1 cycle before the fault and data of 4 cycles after the fault.
