A kind of online fault analysis method and control system of substation
Through the online fault analysis method and dynamic model combined with the double-end detection method, the problem of poor accuracy in fault location and type identification of substation transmission lines under severe weather is solved, fast and accurate fault location and type identification are achieved, and operation and maintenance costs are reduced. Improved the stability of the power system.
Patent Information
- Application Number
- CN202411110966.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-14
AI Technical Summary
The accuracy of fault location and type identification of substation transmission lines under severe weather conditions is poor. The existing technology calculates the traveling wave speed through empirical formulas, resulting in a fault point location error of hundreds of meters, which cannot meet the needs of fast and accurate maintenance.
The online fault analysis method is used to collect historical environmental data and fault data, perform feature engineering to generate a three-dimensional array, input the dynamic model to classify fault types and calculate traveling wave parameters, and combine the double-end detection method to obtain the fault location to improve the accuracy of fault location. sex.
It achieves accurate fault location and type identification under severe weather conditions, shortens fault response time, reduces operation and maintenance costs, improves the stability and reliability of the power system, and reduces unnecessary inspections and repairs.
Smart Images

Figure CN118655419B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of line fault location, and more specifically, to an online fault analysis method and a control system for a substation. Background Art
[0002] When a transmission line in a substation fails, it is necessary to locate the fault point and identify the fault type so that the operation and maintenance personnel can quickly reach the fault point for repair;
[0003] At present, the fault location and fault type identification of transmission lines are carried out by using traveling wave technology to analyze the collected traveling wave data, process the information of the traveling wave head, and calculate the fault location based on the line parameters and the propagation speed of the traveling wave in the line. Then, the specific fault type is identified based on the traveling wave head information and spectrum characteristics combined with the known fault type characteristics.
[0004] However, since the transmission line is affected by the environmental factors of the external temperature and humidity in the substation area, especially in severe weather, the line parameters of the transmission line vary to varying degrees, especially the inductance and capacitance of the transmission line change, which directly affects the propagation speed of the traveling wave. In addition, the waveform, propagation speed and attenuation characteristics of the traveling wave will change accordingly. The existing calculation method is to calculate the traveling wave speed through an empirical formula. In actual situations, the traveling wave speed is affected by various comprehensive factors such as weather, environment, and load. The traveling wave speed calculated by the empirical formula has uncertain errors. The location of the fault point is calculated based on the time difference when the traveling wave arrives at both ends and the propagation speed of the traveling wave in the conductor. At present, the error between the calculated fault point location and the actual fault point can only be controlled within a hundred meters. Summary of the invention
[0005] The present invention provides an online fault analysis method and a control system for a substation, which solve the technical problem in the related art that the fault location and type of a substation transmission line under severe weather conditions are poorly accurate.
[0006] The present invention provides an online fault analysis method for a substation, comprising the following steps:
[0007] Step 101, collecting historical environmental data and historical fault data of the transmission line, the historical environmental data includes the environmental data of each day in the past year, the daily environmental data includes the temperature, humidity and soil conductivity of the transmission line recorded every hour, and the historical fault data of the transmission line includes the fault type, fault timestamp, fault point location, traveling wave parameters and the current peak and valley values when the fault occurs;
[0008] Step 102, performing feature engineering on historical environmental data and historical transmission line fault data to generate a three-dimensional array;
[0009] Step 103, input the three-dimensional array generated by feature engineering into the dynamic model, output the classification probability distribution representing the type of transmission line fault and output the result representing the traveling wave parameters, the transmission line fault types include no fault, single-phase ground short circuit, two-phase short circuit, two-phase ground short circuit, three-phase short circuit, line break fault, flashover fault, freezing fault, wind disaster fault, and the traveling wave parameters include traveling wave propagation speed, reflection coefficient, refraction coefficient, traveling wave frequency component and traveling wave amplitude;
[0010] Step 104: According to the traveling wave parameters output by the dynamic model, a two-terminal detection method is applied to obtain the fault location of the transmission line.
[0011] In a preferred embodiment, the method for performing feature engineering on historical environmental data and historical transmission line fault data comprises the following steps:
[0012] Historical environmental data is represented as:
[0013]
[0014] in, Represents historical environmental data, and Respectively represent the environmental data of the 1st and wth line segments at the 1st time point in history; and They represent the environmental data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0015]
[0016] in, represents the environmental data of the wth line segment at the tth time point in history, , and They represent the temperature, humidity and soil conductivity of the area projected by the w-th line segment at the t-th time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0017] The historical fault data is represented as:
[0018]
[0019] in, Indicates historical fault data. and They represent the fault data of the 1st and wth line sections at the 1st time point in history, and They represent the fault data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0020] ;
[0021] in, represents the fault data of the wth line section at the tth time point in history, represents the fault type of the wth line segment at the tth time point in the history;
[0022] , , denote the 1st, 2nd and nth traveling wave parameters of the wth line segment at the tth time point in history respectively;
[0023] , They represent the peak and valley current values of the w-th line segment at the t-th time point in history when the fault occurs;
[0024] The historical environmental data and historical fault data are combined to obtain a three-dimensional array, which is represented as
[0025]
[0026] in, represents a three-dimensional array, and Respectively represent the comprehensive characteristic data of the 1st and wth line segments at the 1st time point in history, and They represent the comprehensive characteristic data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0027]
[0028] in, represents the comprehensive characteristic data of the w-th line segment at the t-th time point in history, represents vector concatenation, represents the environmental data of the wth line segment at the tth time point in history, Represents the fault data of the wth line section at the tth time point in history.
[0029] In a preferred embodiment, the dynamic model includes an input layer, a convolution layer, a pooling layer, an attention layer and a fully connected layer. The input layer inputs a three-dimensional array into the convolution layer. The convolution layer includes a first convolution layer and a second convolution layer. The first convolution layer outputs a group of first feature maps, and the second convolution layer outputs a group of second feature maps. The pooling layer inputs a group of first feature maps and outputs a group of pooling feature maps. The group of pooling feature maps and the group of second feature maps are respectively input into the attention layer, and the first weighted feature vector and the second weighted feature vector are respectively output. The fully connected layer includes a first fully connected layer and a second fully connected layer. The first fully connected layer inputs the first weighted feature vector and outputs the classification probability distribution of the transmission line fault type. The second fully connected layer inputs the second weighted feature vector and outputs the result representing the traveling wave parameters.
[0030] The convolution layer includes a RELU activation function, which is used to introduce nonlinear transformation into the dynamic model and optimize the accuracy of the dynamic model output results for transmission line fault type detection and fault point location.
[0031] In a preferred embodiment, the calculation formula of the convolutional layer is:
[0032] ;
[0033] in, Represents the output feature map Channels at position The value at Represents the output feature map The position of the i-th row and j-th column of the channel, Indicates that the cth channel of the input feature map is at position The value at represents the convolution kernel The position between the input channel and the cth output channel is The weight value at represents the bias term, represents the index of the feature map channel, , Represent the height and width of the convolution kernel respectively, , Respectively represent the row index and column index of the convolution kernel, Represents the index of the input 3D array channel, Represents the multiplication and accumulation operation between the weights and the input data in the convolution operation.
[0034] In a preferred embodiment, the calculation formula of the RELU activation function of the convolutional layer is:
[0035]
[0036] in, Represents the output feature map Channels at position The value at is the output value after being processed by the activation function. represents the RELU activation function, Represents the output feature map Channels at position The value at
[0037] The calculation formula of the pooling layer is:
[0038] ;
[0039] in, Represents the first Channels at position The value at Represents the first The channels are located within the pooling window. The value at , Respectively represent the starting position of the pooling window in the i and j directions, and Represent the index within the pooling window respectively.
[0040] In a preferred embodiment, the calculation formula of the first weighted feature vector is as follows:
[0041]
[0042]
[0043]
[0044] in, represents the score of the i-th position in the pooled feature map, represents the score of the jth position in the pooled feature map, represents the first learnable weight matrix, represents the feature vector at the i-th position in the pooled feature map, represents the first bias term of the attention layer, represents the attention weight of position i in the pooled feature map, represents the natural exponential function, N represents the number of positions in the pooled feature map, represents the first eigenvector after weighted summation;
[0045] The calculation formula of the second weighted eigenvector is as follows:
[0046]
[0047]
[0048]
[0049] in, represents the score of the dth position in the second feature map, represents the score of the vth position in the second feature map, represents the second learnable weight matrix, represents the feature vector at the dth position in the second feature map, represents the second bias term of the attention layer, represents the attention weight of the dth position in the second feature map, represents the natural exponential function, M represents the number of positions in the second feature map, represents the second eigenvector after weighted summation, and d and v represent the indexes used to traverse each position in the second feature map.
[0050] In a preferred embodiment, the calculation formula of the first fully connected layer is:
[0051]
[0052] in, represents the classification probability vector of the transmission line fault type, represents the first weight of the fully connected layer, represents the first bias term of the fully connected layer, Represents the sigmoid function;
[0053] The calculation formula of the second fully connected layer is:
[0054]
[0055] in, represents the traveling wave parameters, represents the second weight of the fully connected layer, represents the second bias term of the fully connected layer, Represents the sigmoid function.
[0056] In a preferred embodiment, the method for obtaining the fault location of a power transmission line using a two-terminal detection method comprises the following steps:
[0057] Step 1: Obtain the arrival time of the fault traveling wave at the two end detection points, the length of the transmission line, the positions of the two end points and the traveling wave propagation speed output by the dynamic model;
[0058] Step 2: By comparing the arrival time of the traveling wave recorded at the detection points at both ends, the time difference of the arrival of the traveling wave at the detection points at both ends is calculated;
[0059] Step 3: Calculate the propagation distance difference of the traveling wave from the fault point to the detection points at both ends according to the traveling wave speed and time difference;
[0060] The calculation formula for the propagation distance difference is:
[0061]
[0062] in, It represents the difference in propagation distance from the fault point to the detection points at both ends. is the speed of traveling wave propagation, It represents the time difference of the traveling wave arriving at the detection points at both ends;
[0063] Step 4: Calculate the fault point of the transmission line according to the distance formula;
[0064] The distance formula is:
[0065]
[0066]
[0067] in, Indicates the distance between the detection point at end A and the fault point. Indicates the distance between the detection point at end B and the fault point. represents the total length of the transmission line, Indicates the propagation distance difference from the fault point to the detection points at both ends.
[0068] An online fault analysis and control system for a substation includes the following modules:
[0069] Data collection module, used to collect historical environmental data and historical transmission line fault data;
[0070] A data preprocessing module, used for preprocessing historical environmental data and historical transmission line fault data;
[0071] Feature engineering module, used to perform feature engineering on historical environmental data and generate three-dimensional arrays;
[0072] A model building module is used to build a dynamic model, input the three-dimensional array generated by feature engineering into the dynamic model, and output the classification probability distribution representing the type of transmission line fault and the result representing the traveling wave parameters;
[0073] The fault location module is used to obtain the fault location of the transmission line using a double-terminal detection method based on the traveling wave parameters output by the dynamic model.
[0074] A storage medium stores non-transitory computer-readable instructions. When the non-transitory computer-readable instructions are executed by a computer, the steps in the above-mentioned online fault analysis method for a substation can be executed.
[0075] The beneficial effects of the present invention are:
[0076] The present invention can analyze the status of the power transmission line in real time by online monitoring of the environmental data of the power transmission line. Once an abnormality is detected, the fault analysis process can be quickly started, thus shortening the fault response time and improving the stability of the power system.
[0077] The present invention can not only accurately identify various types of transmission line faults, but also output traveling wave parameters, which are crucial for in-depth understanding of the fault cause and subsequent maintenance work;
[0078] The present invention uses a large amount of historical data to learn the traveling wave pattern when a fault occurs. Compared with the method of calculating the traveling wave speed through empirical formulas, it can improve the calculation accuracy of the traveling wave parameters, thereby improving the accuracy of fault location, reducing the error of fault location on the basis of existing technologies, and reducing line operation and maintenance costs.
[0079] The present invention combines the double-end detection method with the traveling wave parameters output by the model to accurately calculate the location of the fault point, providing a basis for rapid repair and reducing the time and cost of troubleshooting;
[0080] By analyzing historical environmental data and fault data, the present invention can provide a data-driven decision-making basis, help power companies to warn of potential fault risks in advance, optimize maintenance plans, and reduce the operational risks of the power grid;
[0081] The automated fault analysis process of the present invention reduces the need for manual intervention, reduces the possibility of human error, and improves the efficiency and reliability of fault handling;
[0082] The accurate fault location and type identification of the present invention are helpful for rapid repair, avoiding unnecessary inspection and repair, thereby reducing maintenance costs and improving economic benefits.
[0083] The present invention enhances the reliability of the power system through rapid and accurate fault detection and positioning capabilities, reduces power outage time caused by faults, and ensures the safe operation of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] Figure 1 It is a flow chart of the online fault analysis method of the substation of the present invention.
[0085] Figure 2 It is a block diagram of the online fault analysis and control system of the substation of the present invention. DETAILED DESCRIPTION
[0086] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the contents of this specification. Each example may omit, replace or add various processes or components as needed. In addition, the features described relative to some examples may also be combined in other examples.
[0087] like Figure 1 As shown, an online fault analysis method for a substation includes the following steps:
[0088] Step 101, collecting historical environmental data and historical fault data of the transmission line, the historical environmental data includes the environmental data of each day in the past year, the daily environmental data includes the temperature, humidity and soil conductivity of the transmission line recorded every hour, and the historical fault data of the transmission line includes the fault type, fault timestamp, fault point location, traveling wave parameters and the current peak and valley values when the fault occurs;
[0089] The acquisition of historical environmental data is carried out by placing corresponding sensors at key locations on the transmission lines of the substation for monitoring;
[0090] The historical fault data of the transmission line can be obtained from the historical record log of the transmission line or other corresponding materials;
[0091] It should be noted that the true value of the traveling wave parameters is simulated in the physical model described later, and is not obtained through the historical record log. The traveling wave parameters obtained from the historical record log are measured traveling wave parameters affected by historical environmental data. The measured traveling wave parameters can be used as sample data for verifying the line parameters and temperature, humidity and soil conductivity changes of the transmission line in the physical model.
[0092] Step 102, performing feature engineering on historical environmental data and historical transmission line fault data to generate a three-dimensional array;
[0093] First, the historical environmental data is synchronized with the historical fault data of the transmission line in time, and then the collected historical environmental data is preprocessed. The preprocessing method includes data cleaning, including processing missing values and outliers, such as using interpolation, mean filling or deleting records containing outliers;
[0094] The method of performing feature engineering on the preprocessed historical environmental data and transmission line historical fault data includes the following:
[0095] Historical environmental data is represented as:
[0096]
[0097] in, Represents historical environmental data, and Respectively represent the environmental data of the 1st and wth line segments at the 1st time point in history; and They represent the environmental data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0098] It should be noted that when performing feature engineering, time windows are used to divide historical environmental data. Each time window includes t time points. The first time point and the tth time point represent the starting point and the end point of the first complete time window in the historical environmental data, respectively. Since the length of the transmission line is very long, the environment of each area of the transmission line is different, so the transmission line is divided into w line segments, and the wth line segment refers to the wth line segment in the transmission line.
[0099]
[0100] in, , and They represent the temperature, humidity and soil conductivity of the area projected by the w-th line segment at the t-th time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0101] It should be noted that the area projected by the line segment represents the spatial area covered by the projection of the transmission line onto the ground in its top-down direction;
[0102] The historical fault data is represented as:
[0103]
[0104] in, Indicates historical fault data. and They represent the fault data of the 1st and wth line sections at the 1st time point in history, and They represent the fault data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point;
[0105] ;
[0106] in, represents the fault data of the wth line section at the tth time point in history, represents the fault type of the wth line segment at the tth time point in the history;
[0107] , , denote the 1st, 2nd and nth traveling wave parameters of the wth line segment at the tth time point in history respectively;
[0108] , They represent the peak and valley current values of the w-th line segment at the t-th time point in history when the fault occurs;
[0109] The historical environmental data and historical fault data are combined to obtain a three-dimensional array, which is represented as
[0110]
[0111] in, represents a three-dimensional array, and Respectively represent the comprehensive characteristic data of the 1st and wth line segments at the 1st time point in history, and Respectively represent the comprehensive characteristic data of the 1st and wth line segments at the tth time point in history;
[0112]
[0113] in, represents the comprehensive characteristic data of the w-th line segment at the t-th time point in history, represents vector concatenation, represents the environmental data of the wth line segment at the tth time point in history, Represents the fault data of the wth line section at the tth time point in history.
[0114] It should be noted that the above exemplary description , , The data represents the meaning, it should be understood that , , The other elements of use the same data representation method, the difference is that the data source is different, but the corresponding data source can be indexed according to the row and column where the element is located.
[0115] Step 103, construct a dynamic model, input the three-dimensional array generated by feature engineering into the dynamic model, output the classification probability distribution representing the type of transmission line fault and output the result representing the traveling wave parameters, the transmission line fault types include no fault, single-phase ground short circuit, two-phase short circuit, two-phase ground short circuit, three-phase short circuit, line break fault, flashover fault, and fault caused by freezing or wind disaster, and the traveling wave parameters include traveling wave propagation velocity, reflection coefficient, refraction coefficient, traveling wave frequency component and traveling wave amplitude;
[0116] The dynamic model includes an input layer, a convolution layer, a pooling layer, an attention layer and a fully connected layer. The input layer inputs a three-dimensional array into the convolution layer. The convolution layer includes a first convolution layer and a second convolution layer. The first convolution layer outputs a group of first feature maps, and the second convolution layer outputs a group of second feature maps. The pooling layer inputs a group of first feature maps and outputs a group of pooling feature maps. The group of pooling feature maps and the group of second feature maps are respectively input into the attention layer, and the first weighted feature vector and the second weighted feature vector are respectively output. The fully connected layer includes a first fully connected layer and a second fully connected layer. The first fully connected layer inputs the first weighted feature vector and outputs the classification probability distribution of the transmission line fault type. The second fully connected layer inputs the second weighted feature vector and outputs the result representing the traveling wave parameters.
[0117] The convolution layer uses the convolution kernel to perform convolution operations on the input to extract features, such as the convolution kernel ,in, represents the convolution kernel, represents the dimension of the convolution kernel, , Represent the height and width of the convolution kernel respectively, Represents the number of output feature maps;
[0118] It should be noted that the convolution layer includes a RELU activation function, which is used to introduce nonlinear transformation into the dynamic model and optimize the accuracy of the dynamic model output results for transmission line fault type detection and fault point location;
[0119] The calculation formula of the convolutional layer is:
[0120]
[0121] in, Represents the output feature map Channels at position The value at Represents the output feature map The position of the i-th row and j-th column of the channel, Indicates that the cth channel of the input feature map is at position The value at represents the convolution kernel The position between the input channel and the cth output channel is The weight value at represents the bias term, represents the index of the feature map channel, , Represent the height and width of the convolution kernel respectively, , Respectively represent the row index and column index of the convolution kernel, Represents the index of the input 3D array channel;
[0122] It should be noted that Represents the multiplication and accumulation operation between the weights and the input data in the convolution operation.
[0123] It should be noted that the two convolutional layers can use the same convolutional structure or different convolutional structures. And the existing convolutional architecture, such as AlexNet, VGG, etc., can be used. When the two convolutional layers use the same convolutional structure, the first convolutional feature map and the second convolutional feature map are the same.
[0124] The calculation formula of the RELU activation function of the convolutional layer is:
[0125]
[0126] in, Represents the output feature map Channels at position The value at is the output value after being processed by the activation function. represents the RELU activation function, Represents the output feature map Channels at position The value at
[0127] The calculation formula of the pooling layer is:
[0128] ;
[0129] in, Represents the first Channels at position The value at Represents the first The channels are located within the pooling window. The value at , Respectively represent the starting position of the pooling window in the i and j directions, and Respectively represent the index within the pooling window;
[0130] The calculation formula of the first weighted eigenvector is as follows:
[0131]
[0132]
[0133]
[0134] in, represents the score of the i-th position in the pooled feature map, represents the score of the jth position in the pooled feature map, represents the first learnable weight matrix, represents the feature vector at the i-th position in the pooled feature map, represents the first bias term of the attention layer, represents the attention weight of position i in the pooled feature map, represents the natural exponential function, N represents the number of positions in the pooled feature map, represents the first eigenvector after weighted summation;
[0135] The calculation formula of the second weighted eigenvector is as follows:
[0136]
[0137]
[0138]
[0139] in, represents the score of the dth position in the second feature map, represents the score of the vth position in the second feature map, represents the second learnable weight matrix, represents the feature vector at the dth position in the second feature map, represents the second bias term of the attention layer, represents the attention weight of the dth position in the second feature map, represents the natural exponential function, M represents the number of positions in the second feature map, represents the second eigenvector after weighted summation, d and v represent the indexes used to traverse each position in the second feature map;
[0140] It should be noted that d and v are similar to the roles of i and j in the pooling feature map. and are used to identify the scores of any two positions in the second feature map;
[0141] The calculation formula of the first fully connected layer is:
[0142]
[0143] in, represents the classification probability vector of the transmission line fault type, represents the first weight of the fully connected layer, represents the first bias term of the fully connected layer, Represents the sigmoid function;
[0144] Transmission line fault types include no fault, single-phase ground short circuit, two-phase short circuit, two-phase ground short circuit, three-phase short circuit, line break fault, flashover fault, freezing fault, and wind disaster fault;
[0145] The calculation formula of the second fully connected layer is:
[0146]
[0147] in, represents the traveling wave parameters, represents the second weight of the fully connected layer, represents the second bias term of the fully connected layer, Represents the sigmoid function;
[0148] The traveling wave parameters include traveling wave propagation velocity, reflection coefficient, refraction coefficient, traveling wave frequency component and traveling wave amplitude;
[0149] In one embodiment of the present invention, the output of the second fully connected layer is a set of traveling wave parameters These parameters represent the parameters actually expressed in the traveling wave data in the fault transient recording signal detected by the sensor at the moment of the fault of the transmission line and the line parameters of the transmission line.
[0150] It should be noted that, since it is impossible to obtain real sample data of traveling wave parameters, the present invention constructs a physical model to establish a linear function of the traveling wave parameters of the transmission line affected by temperature, humidity and conductivity, and uses the simulated traveling wave parameters calculated by the linear function as the sample data to train the second fully connected layer output part of the dynamic model.
[0151] The training method of the dynamic model includes the following steps:
[0152] Step 1: Training in stages:
[0153] In the first stage, only labeled data (including samples of fault types) are used to train the fault classification part of the dynamic model;
[0154] In the second stage, after the training in the first stage is completed, the weight of the fault classification part is kept unchanged, and the simulated data (including samples of simulated traveling wave parameters) is used to train the traveling wave parameter prediction output part;
[0155] Step 2: Establish a physical model, generate simulated traveling wave parameters output by the physical model, use the simulated traveling wave parameters as sample data, and add corresponding labels to the simulated data, including the fault type and the true value of the traveling wave parameters (the result calculated by the physical model is used as the true value of the traveling wave parameters);
[0156] Step 3: Use samples containing fault types and simulated traveling wave parameters to train the traveling wave parameter prediction part;
[0157] Step 4: Design a multi-task training loss function. The calculation formula of the training loss function is:
[0158]
[0159] in, represents the multi-task training loss function, represents the fault type classification loss, represents the traveling wave parameter regression loss, , represent the first training parameter and the second training parameter respectively; the fault type classification loss adopts the cross entropy loss function, and the traveling wave parameter regression loss adopts the mean square error loss function.
[0160] In order to generate simulation data, the present invention needs to establish a physical model, and the method for generating simulation data is as follows:
[0161] Define the simulation environment: determine the key parameters of the transmission line, such as the line length, resistance, capacitance, inductance, etc. of the transmission line;
[0162] Set fault type: Define the type of fault that occurs, such as single-phase grounding, two-phase short circuit, etc.
[0163] Simulate fault occurrence: For each fault type, randomly generate fault location and time in a simulation environment;
[0164] Recording of traveling wave parameters: Recording of traveling wave parameters generated during a fault, such as wave head arrival time and wave head voltage amplitude;
[0165] Repeat steps: Repeat the above steps to generate a large amount of simulation data;
[0166] Prepare labeled data: sort out the large amount of simulation data mentioned above, and based on the historical fault data of the transmission lines actually collected with fault type labels, select the corresponding traveling wave parameters in the simulation data with the same fault type from the large amount of simulation data as the true values of the traveling wave parameters, and train them in stages according to the loss function defined above.
[0167] Step 104, according to the traveling wave parameters output by the dynamic model, a two-terminal detection method is applied to obtain the fault location of the transmission line;
[0168] The method for obtaining the fault location of a transmission line using a double-terminal detection method comprises the following steps:
[0169] Step 1: Obtain the arrival time of the fault traveling wave at the two end detection points, the length of the transmission line, the positions of the two end points and the traveling wave propagation speed output by the dynamic model;
[0170] Step 2: By comparing the arrival time of the traveling wave recorded at the detection points at both ends, the time difference of the arrival of the traveling wave at the detection points at both ends is calculated;
[0171] Step 3: Calculate the propagation distance difference of the traveling wave from the fault point to the detection points at both ends according to the traveling wave speed and time difference;
[0172] The calculation formula for the propagation distance difference is:
[0173]
[0174] in, It represents the difference in propagation distance from the fault point to the detection points at both ends. is the speed of traveling wave propagation, It represents the time difference of the traveling wave arriving at the detection points at both ends;
[0175] Step 4: Calculate the fault point of the transmission line according to the distance formula;
[0176] The distance formula is:
[0177]
[0178]
[0179] in, Indicates the distance between the detection point at end A and the fault point. Indicates the distance between the detection point at end B and the fault point. represents the total length of the transmission line, Indicates the propagation distance difference from the fault point to the detection points at both ends.
[0180] like Figure 2 As shown, an online fault analysis and control system for a substation includes the following modules:
[0181] Data collection module, used to collect historical environmental data and historical transmission line fault data;
[0182] A data preprocessing module, used for preprocessing historical environmental data and historical transmission line fault data;
[0183] A feature engineering module is used to perform feature engineering on historical environmental data and historical transmission line fault data to generate a three-dimensional array;
[0184] A model building module is used to build a dynamic model, input the three-dimensional array generated by feature engineering into the dynamic model, and output the classification probability distribution representing the type of transmission line fault and the result representing the traveling wave parameters;
[0185] The fault location module is used to obtain the fault location of the transmission line using a double-terminal detection method based on the traveling wave parameters output by the dynamic model.
[0186] A storage medium stores non-transitory computer-readable instructions. When the non-transitory computer-readable instructions are executed by a computer, the steps in the above-mentioned online fault analysis method for a substation can be executed.
[0187] The above describes an embodiment of the present embodiment, but the present embodiment is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present embodiment, ordinary technicians in this field can also make many forms, all of which are within the protection of the present embodiment.
Claims
1. A method for online fault analysis of a substation, characterized in that: The following steps are involved: Step 101, collecting historical environmental data and historical fault data of the transmission line, the historical environmental data includes the environmental data of each day in the past year, the daily environmental data includes the temperature, humidity and soil conductivity of the transmission line recorded every hour, and the historical fault data of the transmission line includes the fault type, fault timestamp, fault point location, traveling wave parameters and the current peak and valley values when the fault occurs; Step 102, performing feature engineering on historical environmental data and historical transmission line fault data to generate a three-dimensional array; Step 103, input the three-dimensional array generated by feature engineering into the dynamic model, output the classification probability distribution representing the type of transmission line fault and output the result representing the traveling wave parameters, the transmission line fault types include no fault, single-phase ground short circuit, two-phase short circuit, two-phase ground short circuit, three-phase short circuit, line break fault, flashover fault, freezing fault, wind disaster fault, and the traveling wave parameters include traveling wave propagation speed, reflection coefficient, refraction coefficient, traveling wave frequency component and traveling wave amplitude; Step 104, according to the traveling wave parameters output by the dynamic model, a two-terminal detection method is applied to obtain the fault location of the transmission line; The dynamic model includes an input layer, a convolution layer, a pooling layer, an attention layer and a fully connected layer. The input layer inputs a three-dimensional array into the convolution layer. The convolution layer includes a first convolution layer and a second convolution layer. The first convolution layer outputs a group of first feature maps, and the second convolution layer outputs a group of second feature maps. The pooling layer inputs a group of first feature maps and outputs a group of pooling feature maps. The group of pooling feature maps and the group of second feature maps are respectively input into the attention layer, and the first weighted feature vector and the second weighted feature vector are respectively output. The fully connected layer includes a first fully connected layer and a second fully connected layer. The first fully connected layer inputs the first weighted feature vector and outputs the classification probability distribution of the transmission line fault type. The second fully connected layer inputs the second weighted feature vector and outputs the result representing the traveling wave parameters. The convolution layer includes a RELU activation function, which is used to introduce nonlinear transformation into the dynamic model and optimize the accuracy of the dynamic model output results for transmission line fault type detection and fault point location; The calculation formula of the convolutional layer is: ; in, Represents the output feature map Channels at position The value at Represents the output feature map The position of the i-th row and j-th column of the channel, Indicates that the cth channel of the input feature map is at position The value at represents the convolution kernel The position between the input channel and the cth output channel is The weight value at represents the bias term, represents the index of the feature map channel, , Respectively represent the height and width of the convolution kernel, , Represent the row index and column index of the convolution kernel respectively, Represents the index of the input 3D array channel, Represents the multiplication and accumulation operation between the weight and the input data in the convolution operation; The calculation formula of the RELU activation function of the convolutional layer is: ; in, Represents the output feature map Channels at position The value at is the output value after being processed by the activation function. represents the RELU activation function, Represents the output feature map Channels at position The value at The calculation formula of the pooling layer is: ; in, Represents the first Channels at position The value at Represents the first The channels are located within the pooling window. The value at , Respectively represent the starting position of the pooling window in the i and j directions, and Represent the index within the pooling window respectively.
2. The method for online fault analysis of a substation according to claim 1, characterized in that: The method for performing feature engineering on historical environmental data and historical transmission line fault data comprises the following steps: Historical environmental data is represented as: ; in, Represents historical environmental data, and Respectively represent the environmental data of the 1st and wth line segments at the 1st time point in history; and They represent the environmental data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point; ; in, represents the environmental data of the wth line segment at the tth time point in history, , and They represent the temperature, humidity and soil conductivity of the area projected by the w-th line segment at the t-th time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point; The historical fault data is represented as: ; in, Indicates historical fault data. and They represent the fault data of the 1st and wth line sections at the 1st time point in history, and They represent the fault data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point; ; in, represents the fault data of the wth line section at the tth time point in history, represents the fault type of the wth line segment at the tth time point in the history; , , denote the 1st, 2nd and nth traveling wave parameters of the wth line segment at the tth time point in history respectively; , They represent the peak and valley current values of the w-th line segment at the t-th time point in history when the fault occurs; The historical environmental data and historical fault data are combined to obtain a three-dimensional array, which is represented as ; in, represents a three-dimensional array, and Respectively represent the comprehensive characteristic data of the 1st and wth line segments at the 1st time point in history, and They represent the comprehensive characteristic data of the 1st and wth line segments at the tth time point in history, respectively, w represents the number of divisions of the transmission line, and t represents the index of the time point; ; in, represents the comprehensive characteristic data of the w-th line segment at the t-th time point in history, represents vector concatenation, represents the environmental data of the wth line segment at the tth time point in history, Represents the fault data of the wth line section at the tth time point in history.
3. The online fault analysis method of a substation according to claim 2, characterized in that: The calculation formula of the first weighted eigenvector is as follows: ; ; ; in, represents the score of the i-th position in the pooled feature map, represents the score of the jth position in the pooled feature map, represents the first learnable weight matrix, represents the feature vector at the i-th position in the pooled feature map, represents the first bias term of the attention layer, represents the attention weight of position i in the pooled feature map, represents the natural exponential function, N represents the number of positions in the pooled feature map, represents the first eigenvector after weighted summation; The calculation formula of the second weighted eigenvector is as follows: ; ; ; in, represents the score of the dth position in the second feature map, represents the score of the vth position in the second feature map, represents the second learnable weight matrix, represents the feature vector at the dth position in the second feature map, represents the second bias term of the attention layer, represents the attention weight of the dth position in the second feature map, represents the natural exponential function, M represents the number of positions in the second feature map, represents the second eigenvector after weighted summation, and d and v represent the indexes used to traverse each position in the second feature map.
4. The online fault analysis method of a substation according to claim 3, characterized in that: The calculation formula of the first fully connected layer is: ; in, represents the classification probability vector of the transmission line fault type, represents the first weight of the fully connected layer, represents the first bias term of the fully connected layer, Represents the sigmoid function; The calculation formula of the second fully connected layer is: ; in, represents the traveling wave parameters, represents the second weight of the fully connected layer, represents the second bias term of the fully connected layer, Represents the sigmoid function.
5. The method for online fault analysis of a substation according to claim 4, characterized in that: The method for obtaining the fault location of a transmission line using a double-terminal detection method comprises the following steps: Step 1: Obtain the arrival time of the fault traveling wave at the two end detection points, the length of the transmission line, the positions of the two end points and the traveling wave propagation speed output by the dynamic model; Step 2: By comparing the arrival time of the traveling wave recorded at the detection points at both ends, the time difference of the arrival of the traveling wave at the detection points at both ends is calculated; Step 3: Calculate the propagation distance difference of the traveling wave from the fault point to the detection points at both ends according to the traveling wave speed and time difference; The formula for calculating the propagation distance difference is: ; in, It represents the difference in propagation distance from the fault point to the detection points at both ends. is the speed of traveling wave propagation, It represents the time difference of the traveling wave arriving at the detection points at both ends; Step 4: Calculate the fault point of the transmission line according to the distance formula; The distance formula is: ; ; in, Indicates the distance between the detection point at end A and the fault point. Indicates the distance between the detection point at end B and the fault point. represents the total length of the transmission line, Indicates the propagation distance difference from the fault point to the detection points at both ends.
6. An online fault analysis and control system for a substation, applied to an online fault analysis method for a substation according to any one of claims 1 to 5, characterized in that: Includes the following modules: Data collection module, used to collect historical environmental data and historical transmission line fault data; A data preprocessing module, used for preprocessing historical environmental data and historical transmission line fault data; A feature engineering module is used to perform feature engineering on historical environmental data and historical transmission line fault data to generate a three-dimensional array; A model building module is used to build a dynamic model, input the three-dimensional array generated by feature engineering into the dynamic model, and output the classification probability distribution representing the type of transmission line fault and the result representing the traveling wave parameters; The fault location module is used to obtain the fault location of the transmission line using a double-terminal detection method based on the traveling wave parameters output by the dynamic model.
7. A storage medium storing non-transitory computer-readable instructions, which, when executed by a computer, can execute the steps of the online fault analysis method for a substation as claimed in claim 5.
Citation Information
Patent Citations
Traveling wave fault positioning method based on directed tree model and linear fitting
CN113406440A
Abnormity early warning method and system based on traveling wave distance measurement
CN114236304A
Phase-change switch intelligent terminal based on three-phase self-balancing and low-voltage fault positioning isolation
CN115037054A
Power transmission line fault distance measurement and early warning device and method based on traveling wave modulus analysis
CN116125192A
Cable current collection line fault positioning method
CN117471234A
