A method for identifying fault types in distribution networks

By constructing a fault waveform generator and identifier model, combined with auxiliary classifiers and data enhancement technology, the problem of insufficient data in the identification of distribution network fault types is solved, and the identification accuracy and model training efficiency are improved.

CN112101077BActive Publication Date: 2024-09-27BEIJING INHAND NETWORKS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910528483.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-18
Publication Date
2024-09-27
Estimated Expiration
2039-06-18

AI Technical Summary

Technical Problem

Confirmation of distribution network fault types usually requires manual on-site processing, resulting in a lack of corresponding fault type data for transient recorded waveforms, resulting in insufficient training data for the deep neural network model and poor identification accuracy.

Method used

Build a fault waveform generator model and a fault waveform identifier model, generate artificial fault waveforms through adversarial training, combine the auxiliary classifier and fault classifier models, use data enhancement technology to generate more training data, and optimize the model structure and hyperparameters to improve Recognition accuracy.

Benefits of technology

It effectively makes up for the problem of insufficient actual fault waveform-fault type data sets, improves the accuracy of fault type identification, and reduces the intensity and data requirements of model training.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112101077B
    Figure CN112101077B
Patent Text Reader

Abstract

The present invention discloses a method for identifying fault types in a distribution network, the method comprising: constructing a fault waveform generator model and a fault waveform identifier model to provide a fault waveform-fault type data group for classifier training; constructing an auxiliary classifier model, the auxiliary classifier model being used to identify whether the timing of an input fault waveform is a forward timing sequence or a reverse timing sequence; constructing a fault classifier model, and the fault classifier model is consistent with a part of the structure in the auxiliary classifier model; using an actual fault waveform-fault type data group or an artificial fault waveform-fault type data group generated by a fault waveform generator to train the fault classifier model, thereby obtaining a fault classifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power technology, and in particular to a method for identifying a fault type of a distribution network. Background Art

[0002] The distribution network is an important part of the power system. With the rapid development of smart grids, the large number of uncertain access to distributed power sources has made the fault information of the distribution network more and more complex, and the accurate and rapid analysis of faults has become more and more difficult. In order to ensure the highly intelligent operation of the distribution network, it is necessary to monitor the feeder operation data in real time, timely warn of abnormal conditions, and quickly discover and handle faults. Among them, the identification of abnormal conditions of feeders is an important function of smart distribution networks.

[0003] With the emergence of distribution network line monitoring systems, current and voltage data in the actual operation of distribution networks are collected, and the traditional feature extraction method combined with some machine learning methods is used to classify the working conditions. For example, CN103136587A discloses a distribution network working condition classification method that combines traditional wavelet packet extraction of simulation data features with support vector machines. CN103245881A discloses a distribution network fault analysis method and device based on flow distribution characteristics. CN107340456A discloses an intelligent identification method for distribution network working conditions based on multi-feature analysis. However, when the above method uses artificial extraction of recording features, key data information will be lost during the extraction process, resulting in inaccurate recording classification. In addition, feature extraction and recording classification are divided into two processes that cannot be corrected synchronously. This non-end-to-end training method limits the upper limit of recognition accuracy.

[0004] As in CN10810732A, the applicant no longer uses the scheme of manually extracting features from the waveform and then using the extracted features to identify the working condition in the end-to-end working condition type identification method previously proposed. Instead, the waveform itself is simply pre-processed and then directly modeled and identified. The machine learning model itself has the functions of feature extraction and working condition classification. This end-to-end training model method can further improve the recognition accuracy. This method uses a deep neural network to directly use the waveform itself as a model input. However, the training of the deep neural network depends on a large number of original transient recording waveform-fault type data groups as original training data. In actual situations, the confirmation of the fault type occurring in the distribution network can only be obtained when manual on-site processing is required in most cases. This results in a large number of transient recording waveforms that do not have corresponding matching fault types, and such data cannot be used for neural network model training, resulting in insufficient training data for the deep neural network model and poor training effect. It can be seen that there is a need in the art for a method that can train a deep neural network model based on a large number of transient recording waveforms with no corresponding matching fault types, and use the obtained fault classifier to accurately identify the fault type of the transient recording data. Summary of the invention

[0005] One of the technical problems to be solved by the present invention is to train a fault classifier for identifying the fault type of a distribution network when the original transient recording waveform-fault type data set is insufficient.

[0006] Based on the above technical problem to be solved by the present invention, the present invention provides a method for identifying a distribution network fault type, the method comprising:

[0007] Constructing a fault waveform generator model and a fault waveform identifier model, wherein the fault waveform generator model is used to generate a corresponding artificial fault waveform according to an input fault type, and the fault waveform identifier model is used to identify whether the fault waveform is an actual fault waveform or an artificial fault waveform according to the input fault waveform;

[0008] Using the actual fault waveform-fault type data set to train the fault waveform generator model and the fault waveform identifier model to obtain the fault waveform generator and the fault waveform identifier;

[0009] An auxiliary classifier model is constructed, and the auxiliary classifier model is used to identify whether the timing sequence of the input fault waveform is a forward timing sequence or a reverse timing sequence; and the auxiliary classifier model is trained using the actual fault waveform to obtain an auxiliary classifier;

[0010] Constructing a fault classifier model, the fault classifier model is used to identify the fault type corresponding to the fault waveform according to the input of the fault waveform, and the fault classifier model is consistent with part of the structure in the auxiliary classifier model;

[0011] The fault classifier model is trained using the actual fault waveform-fault type data set and the artificial fault waveform-fault type data set generated by the fault waveform generator, thereby obtaining a fault classifier;

[0012] The actual fault recording waveform is input into the fault classifier to identify the actual fault type.

[0013] In one embodiment, the actual fault waveform in the actual fault waveform-fault type data group includes both the original fault recording waveform and the enhanced data waveform of the original fault recording waveform after data enhancement processing. The enhancement processing refers to randomly changing the position of the three-phase current in the fault waveform in the matrix or applying Gaussian noise to the fault waveform.

[0014] In one embodiment, the fault waveform generator model and the fault waveform identifier model are subjected to adversarial training. The fault waveform identifier model uses an adam optimizer to optimize parameters by minimizing the mean of the loss function of the fault waveform identifier model, while the fault waveform generator model optimizes parameters by maximizing the mean of the loss function of the fault waveform identifier model. After a predetermined round of adversarial training between the fault waveform generator model and the fault waveform identifier model, the artificial fault waveform-fault type data group generated by the fault waveform generator is used to train the fault classifier model.

[0015] In one embodiment, the currently obtained fault classifier is backed up, and the fault classifier model is continuously trained using the actual fault waveform-fault type data set and the artificial fault waveform-fault type data set generated by the fault waveform generator. When the verification result of the training shows that the accuracy rate is improved, the fault classifier obtained in this training replaces the backed-up fault classifier. If the verification result shows that the accuracy rate is reduced, the fault classifier obtained in this training is abandoned.

[0016] In one embodiment, if the verification result shows that the accuracy rate decreases, the current fault waveform generator and fault waveform identifier are backed up, and the fault waveform generator model and the fault waveform identifier model are trained again using the actual fault waveform-fault type data group and the artificial fault waveform-fault type data group generated by the fault waveform generator.

[0017] In one embodiment, the fault waveform generator model is configured to include a fully connected layer region and a deconvolution layer region, wherein the fully connected layer region includes two fully connected layers, Gaussian noise is introduced in each layer, and the deconvolution layer region includes a plurality of deconvolution blocks, and the number of the deconvolution blocks is obtained by training.

[0018] In one embodiment, the fault waveform identifier model includes a convolutional layer area and a fully connected layer area. The convolutional layer area includes a convolutional layer and an average pooling layer, the fully connected layer area includes two fully connected layers, and a fault type label is introduced in the fully connected layer at a shallow position.

[0019] In one embodiment, the auxiliary classifier model includes a convolutional layer region and a fully connected layer region, and the convolutional layer region includes an input convolutional layer, a convolutional block, and an average pooling layer.

[0020] In one embodiment, the fault classifier model includes a convolutional layer region and a fully connected layer region, and the convolutional layer region includes an input convolutional layer, a convolutional block, and an average pooling layer; and a portion of the convolutional blocks in the fault classifier model have the same structure as the convolutional blocks in the auxiliary classifier.

[0021] Artificial Data Augmentation>

[0022] Since in the prior art, the determination of the fault type can generally only be confirmed when the fault is manually handled on site, the number of original fault recording waveforms that can have corresponding fault types is limited. Such a number of original fault recording waveform-fault type data groups is not sufficient for training various classification models. Therefore, the present invention proposes to perform data enhancement processing on the original fault recording waveform-fault type data group to generate an enhanced data waveform-fault type data group, and the data enhancement processing includes randomly changing the position of the three-phase current in the fault waveform in the matrix or applying Gaussian noise to the fault waveform. Since the above data processing process does not make an essential change to the original waveform, it does not cause changes or omissions in the content of the fault type information reflected in the original fault recording waveform. The original fault recording waveform-fault type data group and the enhanced data waveform-fault type data group are both used as actual fault waveform-fault type data groups.

[0023] Fault Classifier>

[0024] like Figure 1 The above is a schematic diagram of the framework structure of the fault classifier model of the present invention. The fault classifier model includes a convolution layer area and a fully connected layer area. The convolution layer area includes an input convolution layer, a convolution block, and an average pooling layer. The convolution operation involved in the convolution layer of the present invention adopts the convolution operation method known in the prior art, but the convolution kernel and related parameters used in the convolution operation of the present invention are optimized hyperparameters obtained by the hyperparameter machine training of the present invention. When all hyperparameter training is completed, the fault classifier of the present invention is generated. The sampling points with small time intervals of the time series waveform have strong correlation, and the larger the correlation, the weaker it is, and it is suitable to extract features with a convolution layer. In the convolution layer area, multiple convolution layers are set to realize feature extraction from local to global, and feature extraction from abstract to specific. The convolution layer area is connected to the fully connected area, which contains two fully connected layers and a softmax output layer, and finally outputs the working condition type. The number of neurons in the first fully connected layer in the fully connected layer area is also the optimized hyperparameter obtained by training, and the number of neurons in the second fully connected layer is set to be the same as the number of working condition types.

[0025] like Figures 2a to 2b The figure shows a specific structural diagram of the convolution block of the present invention, wherein Figure 2a The structure shown in the figure is a two-layer convolutional structure, which is composed of two superimposed convolutional layers. Figure 2b The structure shown in the figure is a multi-channel structure, and each channel is composed of two superimposed convolutional layers. Figure 2c Another multi-channel structure is shown in FIG. , where each channel is composed of 1 to 3 convolutional layers. The parameters of the convolution kernel in the convolutional block and the number of channels, or the number of convolutional layers for each channel, can be obtained by training.

[0026] Auxiliary Classifier>

[0027] The purpose of using the auxiliary classifier model in the present invention is to help the fault classifier model to be trained. Therefore, the auxiliary classifier model in the present invention uses the same convolution structure as the fault classifier model in the shallow structure. Figure 3 The structure diagram of the auxiliary classifier model used in the present invention is shown. The auxiliary classifier model is suitable for judging the forward and reverse time sequence of the original transient recording waveform. The auxiliary classifier includes a convolution layer area and a fully connected layer area. The convolution layer area includes an input convolution layer, a convolution block, and an average pooling layer. Among them, the hyperparameters of the input convolution layer and some convolution blocks in the convolution layer area are set to be the same as the hyperparameters of the input convolution layer and some convolution blocks in the fault classifier model, so that the auxiliary classifier model and the fault classifier model are consistent in shallow structure. Since the auxiliary classifier model inputs the original transient recording waveform, and the forward and reverse time sequence information of the waveform is inherent in the waveform, all transient recording waveform data can be used as training data for training the auxiliary classifier. After the auxiliary classifier model is trained to generate an auxiliary classifier, the hyperparameters of the input convolution layer and some convolution blocks in the corresponding shallow structure of the auxiliary classifier can be directly used in the shallow structure of the fault classifier model.

[0028] Fault Waveform Generator>

[0029] The fault waveform generator model in the present invention can output the fault waveform corresponding to the fault type by inputting the fault type, such as Figure 4 As shown is a structural schematic diagram of the fault waveform generator model in the present invention, the fault waveform generator model includes a fully connected layer area and a deconvolution layer area, the fully connected layer area includes two fully connected layers, and Gaussian noise is introduced in each layer, the deconvolution layer area includes a number of deconvolution blocks, and the specific number of deconvolution blocks is obtained through training.

[0030] Fault Waveform Identifier>

[0031] The fault waveform identifier model in the present invention is used to identify whether the input fault waveform-fault type data set is an actual fault waveform-fault type data set or an artificial fault waveform-fault type data set. When the input is an actual fault waveform-fault type data set, the fault waveform identifier output is true, and when the input is an artificial fault waveform-fault type data set, the fault waveform identifier output is false. Figure 5 The figure shows a schematic diagram of the structure of the fault waveform identifier in the present invention, which includes a convolutional layer area and a fully connected layer area. The convolutional layer area includes a convolution block, the fully connected layer area includes two fully connected layers, and a fault type label is introduced in the fully connected layer at a shallow position.

[0032] The role of the fault waveform identifier is to provide adversarial training for the fault waveform generator, that is, the fault waveform generator and the fault waveform identifier are trained together. The fault waveform identifier model uses the adam optimizer to optimize the parameters by minimizing the mean of the loss function of the fault waveform identifier model, while the fault waveform generator optimizes the parameters by maximizing the mean of the loss function of the fault waveform identifier model. That is, as the fault waveform identifier model is trained, it can more accurately distinguish between the actual fault waveform and the artificial fault waveform, and as the fault waveform generator model is trained, it can generate an artificial fault waveform that is closer to the actual fault waveform.

[0033] Training of fault classifier model and auxiliary classifier model>

[0034] Figure 6 The training flow chart of the fault classifier model and the auxiliary classifier model of the present invention is shown in the figure. The purpose of the training is to obtain all the parameters required in the above classifiers according to the provided training data set, verification data set and test data set, and form a model with the optimal hyperparameter combination. The training process is as follows:

[0035] a. Input the classifier model into the hyperparameter random generator;

[0036] b. A hyperparameter combination model pool is formed by a hyperparameter random generator;

[0037] c. Use the test data set to test each hyperparameter combination model in the hyperparameter combination model pool. If the test passes, the training is terminated and the hyperparameter combination model is input into the trained hyperparameter combination model pool. If the test fails, the training data set is used to optimize the hyperparameter combination model, and then the model is tested again after optimization until the model passes the test.

[0038] d. Use the validation data set to validate each hyperparameter combination model in the trained hyperparameter combination model pool. The hyperparameter combination model that passes the validation is the obtained classifier.

[0039] After a predetermined number of rounds of adversarial training between the fault waveform generator model and the fault waveform identifier model, the artificial fault waveform-fault type data set generated by the fault waveform generator is used to train the fault classifier model.

[0040] Training of fault waveform generator and fault waveform identifier models>

[0041] Figure 7The training flow chart of the fault waveform generator model and the fault waveform identifier model of the present invention is shown in the figure. The purpose of the training is to obtain all the parameters required in the fault waveform generator model and the fault waveform identifier model according to the provided training data set, verification data set and test data set, and obtain the optimal parameter combination of the model, so as to generate the fault waveform generator and the fault waveform identifier. The training process is as follows:

[0042] a. Input the fault waveform generator model and the fault waveform identifier model structure into the hyperparameter random generator;

[0043] b. Generate a fault waveform generator and a fault waveform identifier model pool;

[0044] c. The training data set optimizes the fault waveform generator and fault waveform identifier models. The fault waveform identifier model uses the adam optimizer to optimize parameters by minimizing the mean of the loss function of the fault waveform identifier model, while the fault waveform generator optimizes parameters by maximizing the mean of the loss function of the fault waveform identifier model.

[0045] The loss function of the fault waveform identifier model is:

[0046]

[0047] in middle is the actual fault waveform-fault type data group, In It is the artificial fault waveform-fault type data group.

[0048] d. Use the optimized fault waveform generator and fault waveform identifier models in the test data group model pool to test and obtain the fault waveform generator and fault waveform identifier.

[0049] The fault classifier obtained in each training is backed up, and the actual fault waveform-fault type data group and the artificial fault waveform-fault type data group generated by the fault waveform generator are used to continue training the fault classifier model. When the training result shows that the loss function value converges, the fault classifier obtained in this training replaces the backup fault classifier. If the result shows that the loss function value does not converge, the fault classifier obtained in this training is abandoned.

[0050] The invention of the present invention lies in the following aspects:

[0051] 1. The present invention proposes to use a fault waveform generator and a fault waveform identifier to generate more fault waveform-fault type data sets that can be used for fault classifier training, thereby making up for the deficiency of the actual fault waveform-fault type data sets in real situations.

[0052] 2. The present invention proposes to use an auxiliary classifier for judging the actual fault waveform in forward or reverse order to improve the training efficiency of the fault classifier. The training intensity of the fault classifier model is reduced by setting the auxiliary classifier and the shallow layer of the fault classifier to the same structure and sharing parameters.

[0053] 3. In the present invention, data enhancement means are used to transform the limited original fault waveform-fault type data set, thereby obtaining more actual fault waveform-fault type data sets. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0055] Figure 1 It is a schematic diagram of the framework structure of the fault classifier model of the present invention;

[0056] Figure 2a-2c It is a schematic diagram of the specific structure of the convolution block of the present invention;

[0057] Figure 3 It is a structural schematic diagram of the auxiliary classifier model of the present invention;

[0058] Figure 4 is a structural schematic diagram of a fault waveform generator model of the present invention;

[0059] Figure 5 It is a structural schematic diagram of the fault waveform identifier model of the present invention;

[0060] Figure 6 Shown in is a training flow chart of the fault classifier model and the auxiliary classifier model of the present invention;

[0061] Figure 7 Shown in is a training flow chart of the fault waveform generator model and the fault waveform identifier model of the present invention;

[0062] Figure 8 FIG. 1 is a schematic diagram of the structure of a fault waveform generator according to an embodiment of the present invention;

[0063] Fig. 9 FIG. 1 is a schematic diagram of the structure of a fault waveform identifier according to an embodiment of the present invention;

[0064] Fig.10 FIG. 1 is a schematic diagram of the structure of an auxiliary classifier according to an embodiment of the present invention;

[0065] Fig.11 The following is an example of an actual fault waveform when the fault type is arrester breakdown;

[0066] Fig.12 The forward and reverse time sequence waveforms are the actual fault waveforms of the arrester breakdown fault type;

[0067] Fig.13 FIG. 1 is a schematic diagram of a fault classifier structure according to an embodiment of the present invention; DETAILED DESCRIPTION

[0068] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings.

[0069] In this embodiment, 502 sets of original fault recording waveform-fault type data sets are used, including eight types of fault types, and there are 12011 original fault recording waveforms without corresponding fault types. After data enhancement, the actual fault waveform-fault type data sets obtained are 4518, and the actual fault waveforms without corresponding fault types are 108099.

[0070] First, the fault waveform generator model and the fault waveform identifier model are trained according to the model training method of the present invention using a training data set, a verification data set and a test data set to obtain a fault waveform generator and a fault waveform identifier, wherein the training data set includes all 108099 actual fault waveforms and 3150 groups of actual fault waveform-fault type data groups, and the test data set and the verification data set each include 684 groups of actual fault waveform-fault type data groups. After 30 rounds of training of the fault waveform generator model and the fault waveform identifier model according to the above training data set and the test data set, the fault waveform generator and the fault waveform identifier are obtained. When training the fault waveform identifier model, the number of actual fault waveform-fault type data groups and artificial fault waveform-fault type data groups in the training data set, the test data set and the verification data set used is the same, and the actual fault waveform-fault type data group can be reused in multiple rounds of training, but the artificial fault waveform-fault type data group is only used once.

[0071] like Figure 8The fault waveform generator of this embodiment is shown. In the fault waveform generator, the fault type is input into the first fully connected layer, the number of neurons in the first fully connected layer is 32, and the output result of the first fully connected layer is input into the second fully connected layer after Gaussian noise is introduced, the number of neurons in the second fully connected layer is 64, and the output result of the second fully connected layer is input into the deconvolution block I after Gaussian noise is introduced. The first layer of the deconvolution block I is a deconvolution layer, the length of the deconvolution kernel of the deconvolution layer is 5, the number of deconvolution kernels is 64, and the second layer is a convolution layer, the length of the convolution kernel of the convolution layer is 3, and the number of convolution kernels is 64. The output result of the deconvolution block I is input into the deconvolution block II, the first layer of the deconvolution block II is a deconvolution layer, the length of the deconvolution kernel of the deconvolution layer is 5, the number of deconvolution kernels is 64, and the second layer is a convolution layer, the length of the convolution kernel of the convolution layer is 3, and the number of convolution kernels is 32. The output result of deconvolution block II is input to deconvolution block III, the first layer of deconvolution block III is a deconvolution layer, the deconvolution kernel length of the deconvolution layer is 5, the number of deconvolution kernels is 32, the second layer is a convolution layer, the convolution kernel length of the convolution layer is 3, and the number of convolution kernels is 16. The output result of deconvolution block III is input to deconvolution block IV, the first layer of deconvolution block IV is a deconvolution layer, the deconvolution kernel length of the deconvolution layer is 5, the number of deconvolution kernels is 16, the second layer is a convolution layer, the convolution kernel length of the convolution layer is 3, and the number of convolution kernels is 1.

[0072] like Fig. 9 The schematic diagram of the fault waveform identifier structure shown in the figure shows that in the fault waveform identifier, the fault waveform is input into the convolution layer I, the convolution kernel length of the convolution layer I is 7, and the number of convolution kernels is 64. Then the convolution layer II is input, the convolution kernel length of the convolution layer II is 7, and the number of convolution kernels is 128. Then the convolution layer III is input, the convolution kernel length of the convolution layer III is 3, and the number of convolution kernels is 256. Then the convolution layer IV is input, the convolution kernel length of the convolution layer IV is 3, and the number of convolution kernels is 512. Then the average pooling layer is entered. After the average pooling layer, the first fully connected layer is entered, and the first fully connected layer has 520 neurons, and the fault label is input into the first fully connected layer at the same time. After the first fully connected layer, the output result is input into the second fully connected layer, and the second fully connected layer has 512 neurons. Then the third fully connected layer is entered, and the number of neurons in the third fully connected layer is 1. Finally, the output of whether the fault waveform is the original transient recording waveform is obtained.

[0073] like Fig.10 FIG. 1 is a schematic diagram of the auxiliary classifier structure obtained through training in this embodiment. Fig.11 This is an actual fault waveform example, where the fault type is arrester breakdown. Fig.12The waveforms are the forward and reverse time series waveforms of the fault waveform. The generation process of the forward and reverse time series waveforms includes the process of data enhancement of the fault waveform. The specific method is to randomly change the position of the three-phase current in the fault waveform in the matrix or to apply Gaussian noise to the fault waveform. The waveform after data enhancement is the forward time series waveform, and the reverse time series waveform is generated by reversing the time series.

[0074] The convolution layer area in the auxiliary classifier includes an input convolution layer, a convolution block I, a convolution block II, a convolution block III and an average pooling layer, and there are two fully connected layers in the fully connected layer area. The convolution kernel length of the input convolution layer is 3, and the number of convolution kernels is 8. Convolution block I is a single-channel double-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 3, the number is 8, and the length of the convolution kernel of the second convolution layer is 3, the number is 16. Convolution block II is set as a convolution layer with three channels, and its channel a is a double-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 5, the number is 16, and the length of the convolution kernel of the second convolution layer is 5, the number is 32. Channel b is a double-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 5, the number is 32, and the length of the convolution kernel of the second convolution layer is 5, the number is 32. Channel c is a three-layer convolution layer, where the length of the convolution kernel of the first convolution layer is 3 and the number is 16, the length of the convolution kernel of the second convolution layer is 4 and the number is 16, and the length of the convolution kernel of the third convolution layer is 3 and the number is 32. The results of the three channels of convolution block II are summed and input into convolution block III. Convolution block III is set as a single-channel convolution layer, where the length of the convolution kernel of the first convolution layer is 3 and the number is 32, and the length of the convolution kernel of the second convolution layer is 3 and the number is 64. Subsequently, the output of convolution block III is input into the average pooling layer.

[0075] In this embodiment, residual connections are set between convolution blocks I, II, and III, that is, the output result of the input convolution layer is summed with the output result of convolution block I and input to convolution block II, the output result of convolution block I is summed with the output result of convolution block II and input to convolution block III, and the output result of convolution block II is summed with the output result of convolution block III and input to the average pooling layer. By setting residual connections, the parameter training of convolution blocks I, II, and III can be strengthened.

[0076] The output result of the average pooling layer is input into the first fully connected layer, the number of neurons in the first fully connected layer is 16, and the output result of the first fully connected layer is input into the second fully connected layer, the number of neurons in the second fully connected layer is set to 1. Thus, the forward and reverse time sequence discrimination result of the input waveform is obtained.

[0077] Fig.13The fault classifier obtained after training in this embodiment is shown. The training of the fault classifier is carried out according to the training data set, the verification data set and the test data set. In the first 30 rounds of the training process, only the actual fault waveform-fault type data group is used for training, wherein the training data set includes 3150 groups of actual fault waveform-fault type data groups, and the test data set and the verification data set each include 684 groups of actual fault waveform-fault type data groups. After 30 rounds of training, the artificial fault waveform-fault type data group is introduced. In the subsequent training process, the training data set, the test data set and the verification data set used in each round all use 3 / 4 of the actual fault waveform-fault type data group, and 1 / 4 is the artificial fault waveform-fault type data group. Among them, the data in 3 / 4 of the actual fault waveform-fault type data group is repeatedly selected from 4518 actual fault waveform-fault type data groups, and 1 / 4 of the artificial fault waveform-fault type data group uses a new artificial fault waveform-fault type data group generated by the fault waveform generator in each round. In the verification process, it is set that the data group verification of 85% of the verification set is passed, and the fault classifier passes the verification.

[0078] The convolution layer area in the fault classifier includes the input convolution layer, convolution block I, convolution block II, convolution block IV and average pooling layer, and the fully connected layer area includes two fully connected layers. In this model, the structure and parameters of the input convolution layer, convolution block I and convolution block II are exactly the same as those in the auxiliary classifier, so the number of parameters that need to be trained is greatly reduced during the training process, reducing the training intensity.

[0079] The convolution kernel length of the input convolution layer is 3, and the number of convolution kernels is 8. Convolution block I is a single-channel double-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 3, the number of convolution kernels is 8, and the length of the convolution kernel of the second convolution layer is 3, the number of convolution kernels is 16. Convolution block II is set as a convolution layer with three channels, and its channel a is a double-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 5, the number of convolution kernels is 16, and the length of the convolution kernel of the second convolution layer is 5, the number of convolution kernels is 32. Channel b is a double-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 5, the number of convolution kernels is 32, and the length of the convolution kernel of the second convolution layer is 5, the number of convolution kernels is 32. Channel c is a three-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 3 and the number is 16, the length of the convolution kernel of the second convolution layer is 4 and the number is 16, and the length of the convolution kernel of the third convolution layer is 3 and the number is 32. The results of the three channels of convolution block II are summed and input into convolution block IV. Convolution block IV is set as a convolution layer with three channels, and its channel a is a two-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 2 and the number is 32, and the length of the convolution kernel of the second convolution layer is 3 and the number is 64. Channel b is a two-layer convolution layer, in which the length of the convolution kernel of the first convolution layer is 3 and the number is 32, and the length of the convolution kernel of the second convolution layer is 3 and the number is 64. Channel c is a three-layer convolutional layer, in which the length of the convolution kernel of the first convolutional layer is 3 and the number is 32, the length of the convolution kernel of the second convolutional layer is 3 and the number is 32, and the length of the convolution kernel of the third convolutional layer is 3 and the number is 64. The results of the three channels of convolution block IV are summed and input into the average pooling layer.

[0080] In this embodiment, residual connections are set between convolution blocks I, II, and IV, that is, the output result of the input convolution layer is summed with the output result of convolution block I and input to convolution block II, the output result of convolution block I is summed with the output result of convolution block II and input to convolution block IV, and the output result of convolution block II is summed with the output result of convolution block III and input to the average pooling layer. By setting residual connections, the parameter training of convolution blocks I, II, and IV can be strengthened.

[0081] The output result of the average pooling layer is input into the first fully connected layer, the number of neurons in the first fully connected layer is 16, and the output result of the first fully connected layer is input into the second fully connected layer, the number of neurons in the second fully connected layer is set to 8. Thus, the fault type discrimination result of the input waveform is obtained.

[0082] The above description is only a specific implementation case of the present invention, and the protection scope of the present invention is not limited thereto. Any modification or replacement of the present invention by any technician familiar with the present technology within the technical specifications described in the present invention should be within the protection scope of the present invention.

Claims

1. A method for identifying distribution network fault types, characterized in that: The method comprises: Constructing a fault waveform generator model and a fault waveform identifier model; The fault waveform generator model and the fault waveform identifier model are trained using the actual fault waveform-fault type data group to obtain the fault waveform generator and the fault waveform identifier; the fault waveform generator obtained by the training of the fault waveform generator model is used to generate a corresponding artificial fault waveform according to the input fault type, and the fault waveform identifier obtained by the training of the fault waveform identifier model is used to identify whether the fault waveform is an actual fault waveform or an artificial fault waveform according to the input fault waveform; the fault waveform generator and the fault waveform identifier are trained together, so that the fault waveform identifier can provide adversarial training for the fault waveform generator; An auxiliary classifier model is constructed, and the auxiliary classifier model is used to identify whether the timing sequence of the input fault waveform is a forward timing sequence or a reverse timing sequence; and the auxiliary classifier model is trained using the actual fault waveform to obtain an auxiliary classifier; Constructing a fault classifier model, the fault classifier model is used to identify the fault type corresponding to the fault waveform according to the input of the fault waveform, and the fault classifier model has a convolution block with the same structure as that in the auxiliary classifier model; The fault classifier model is trained using the actual fault waveform-fault type data set and the artificial fault waveform-fault type data set generated by the fault waveform generator, thereby obtaining a fault classifier; The actual fault recording waveform is input into the fault classifier to identify the actual fault type.

2. The method for identifying the fault type of a distribution network according to claim 1, characterized in that: The actual fault waveform in the actual fault waveform-fault type data group includes both the original fault recording waveform and the enhanced data waveform of the original fault recording waveform after data enhancement processing. The enhancement processing refers to randomly changing the position of the three-phase current in the fault waveform in the matrix or applying Gaussian noise to the fault waveform.

3. The method for identifying the fault type of distribution network according to claim 2, characterized in that: The fault waveform identifier model uses the adam optimizer to optimize parameters by minimizing the mean of the loss function of the fault waveform identifier model, while the fault waveform generator model optimizes parameters by maximizing the mean of the loss function of the fault waveform identifier model. After a predetermined round of adversarial training between the fault waveform generator model and the fault waveform identifier model, the artificial fault waveform-fault type data group generated by the fault waveform generator is used to train the fault classifier model.

4. The method for identifying the fault type of distribution network according to claim 3, characterized in that: Back up the currently obtained fault classifier, and continue to use the actual fault waveform-fault type data group and the artificial fault waveform-fault type data group generated by the fault waveform generator to continue training the fault classifier model. When the verification result of the training shows that the accuracy rate is improved, the fault classifier obtained in this training replaces the backup fault classifier. If the verification result shows that the accuracy rate is reduced, the fault classifier obtained in this training is abandoned.

5. The method for identifying the type of distribution network fault according to claim 4, characterized in that: If the verification result shows that the accuracy rate decreases, back up the current fault waveform generator and fault waveform identifier, and use the actual fault waveform-fault type data group and the artificial fault waveform-fault type data group generated by the fault waveform generator to train the fault waveform generator model and the fault waveform identifier model again.

6. The method for identifying the fault type of distribution network according to claim 5, characterized in that: The fault waveform generator model is configured to include a fully connected layer region and a deconvolution layer region, wherein the fully connected layer region includes two fully connected layers, Gaussian noise is introduced in each layer, and the deconvolution layer region includes a number of deconvolution blocks, and the number of the deconvolution blocks is obtained by training.

7. The method for identifying the fault type of a distribution network according to claim 6, characterized in that: The fault waveform identifier model includes a convolutional layer area and a fully connected layer area. The convolutional layer area includes a convolutional layer and an average pooling layer, the fully connected layer area includes two fully connected layers, and the fault type label is introduced in the fully connected layer at a shallow position.

8. The method for identifying the fault type of distribution network according to claim 7, characterized in that: The auxiliary classifier model includes a convolutional layer area and a fully connected layer area, and the convolutional layer area includes an input convolutional layer, a convolutional block and an average pooling layer.

9. The method for identifying the fault type of a distribution network according to claim 8, characterized in that: The fault classifier model includes a convolutional layer area and a fully connected layer area, and the convolutional layer area includes an input convolutional layer, a convolutional block and an average pooling layer.