Disclosure of Invention
In order to solve the technical problems, the invention provides a multi-terminal direct current transmission line fault diagnosis method based on a parallel convolution neural network, which can accurately and quickly diagnose and process faults.
The invention provides a multi-terminal direct current transmission line fault diagnosis method based on a parallel convolution neural network, which comprises the following steps:
step 1: acquiring fault information of a fault line of a multi-terminal direct-current power transmission system and an electric signal waveform corresponding to the fault information;
step 2: combining the fault electrical signal waveform with the normal electrical signal waveform to form a new electrical signal waveform, and carrying out graying processing on the new electrical signal waveform;
and step 3: combining wavelet packet reconstruction coefficients obtained by performing 3-layer wavelet packet decomposition on a fault electrical signal waveform and a normal electrical signal waveform to form a new wavelet packet reconstruction coefficient waveform, and performing graying processing on the new wavelet packet reconstruction coefficient waveform;
and 4, step 4: forming a two-dimensional matrix form by all the grayed signal waveforms obtained in the step 2 and the step 3, and taking the two-dimensional matrix as the characteristics of the electrical signal waveform;
and 5: training the parallel convolution neural network based on the fault type, the fault position and the characteristics of the electrical signal waveform;
step 6: when the multi-terminal direct current transmission line has faults, fault electrical signal waveforms and normal electrical signal waveforms are collected, and fault diagnosis is carried out on the multi-terminal direct current transmission line on the basis of the trained parallel convolution neural network.
In the method for diagnosing the fault of the multi-terminal direct current transmission line based on the parallel convolution neural network, the step 1 specifically comprises the following steps: and acquiring voltage waveforms between two poles, positive voltage waveforms, negative voltage waveforms, positive current waveforms and negative current waveforms when a line fails.
In the method for diagnosing the fault of the multi-terminal direct current transmission line based on the parallel convolution neural network, the step 2 is specifically as follows:
step 2.1: connecting the normal voltage waveform between two poles and the voltage waveform between two poles at fault end to form a new voltage waveform between two poles, connecting the normal voltage waveform between the positive pole and the voltage waveform between the positive pole at fault end to form a new voltage waveform of the positive pole, connecting the normal voltage waveform between the negative pole and the voltage waveform between the negative pole at fault end to form a new voltage waveform of the negative pole, connecting the normal current waveform between the positive pole and the current waveform between the positive pole at fault end to form a new current waveform of the positive pole, and connecting the normal current waveform between the negative pole and the current waveform between the negative pole at fault end to form a new current waveform of the;
step 2.2: and carrying out graying processing on the new voltage waveform between two poles, the new positive voltage waveform, the new negative voltage waveform, the new positive current waveform and the new negative current waveform respectively, and compressing the values in the signal waveforms to values between 0 and 255 in an equal proportion.
In the method for diagnosing the fault of the multi-terminal direct current transmission line based on the parallel convolution neural network, the step 3 is specifically as follows:
step 3.1: respectively carrying out 3-layer wavelet packet decomposition on a normal interpolar voltage waveform, a fault interpolar voltage waveform, a normal anode voltage waveform, a fault anode voltage waveform, a normal cathode voltage waveform, a fault cathode voltage waveform, a normal anode current waveform, a fault anode current waveform, a normal cathode current waveform and a fault cathode current waveform to obtain a wavelet packet reconstruction coefficient of each electrical signal waveform;
step 3.2: respectively connecting the wavelet packet reconstruction coefficients of all electrical signal waveforms when the multi-terminal direct-current power transmission system normally operates and the wavelet packet reconstruction coefficients of electrical signal waveforms when the multi-terminal direct-current power transmission system fails end to form 5 groups of new electrical signal wavelet packet reconstruction coefficient waveforms;
step 3.3: and (5) carrying out graying processing on the wave form of the wavelet packet reconstruction coefficient of the new electrical signal of the 5 groups.
In the method for diagnosing the fault of the multi-terminal direct current transmission line based on the parallel convolution neural network, the step 5 is specifically as follows:
step 5.1: combining the characteristics of the electric signal waveform and the fault type corresponding to the electric signal waveform into a first training set, and training the single-branch convolutional neural network CNN1 through the first training set;
step 5.2: forming the characteristics of the electrical signal waveform and the fault position corresponding to the characteristics into a second training set, and training the single-branch convolutional neural network CNN2 through the second training set;
step 5.3: constructing a parallel convolutional neural network P-CNN with the same intermediate layer structure as the CNN1 and the CNN2, and copying weight parameter values and bias parameter values in the intermediate layers of the CNN1 and the CNN2 to corresponding positions of two branches of the P-CNN;
step 5.4: and fixing the parameter value of the P-CNN branch, and training the input layer parameter and the output layer parameter of the P-CNN by using the characteristics, the fault type and the fault position of the electrical signal waveform.
In the multi-terminal direct-current transmission line fault diagnosis method based on the parallel convolution neural network, the fault types comprise: the direct current power supply system comprises a positive short circuit, a negative short circuit, an inter-pole short circuit, a single-phase grounding fault, a two-phase short circuit fault, a two-phase grounding fault and a three-phase short circuit fault on the alternating current side of a converter station on a direct current line.
The multi-terminal direct-current transmission line fault diagnosis method based on the parallel convolution neural network at least has the following beneficial effects:
1. compared with the traditional method for manually determining the fault type and the internal and external thresholds of the fault area based on a mechanism model and signal analysis, the fault diagnosis method provided by the invention avoids the condition that the accuracy rate is reduced possibly caused by manually determining the thresholds during fault diagnosis, and ensures the accuracy of fault diagnosis of the multi-terminal direct-current transmission line;
2. compared with the traditional fault diagnosis method which only can complete one function by one algorithm, the fault diagnosis method can have a plurality of branches and complete a plurality of fault diagnosis functions simultaneously, and the functions do not interfere with each other, so that the fault diagnosis method has good expansibility;
3. compared with the traditional single-feature fault diagnosis method based on the amplitude feature of the signal waveform or the frequency feature of the signal waveform, the method provided by the invention has the advantages that the amplitude feature of the signal waveform and the frequency feature of the signal waveform are mixed, and the accuracy is improved.
Detailed Description
The invention discloses a fault diagnosis method for a multi-terminal direct-current transmission line based on a parallel convolution neural network, which mainly divides fault diagnosis of the multi-terminal direct-current transmission line into two parts, namely fault type identification and fault position identification, by means of parallel operation capacity of the parallel convolution neural network. The convolutional neural network has a double-branch structure, one branch carries out fault type identification, the other branch carries out fault position external identification, and due to the special structure of the neural network, the two branches can simultaneously work, and finally, a fault diagnosis result is output by the same output layer, so that the number of classifiers is reduced, the fault diagnosis time is shortened, and the requirement on rapidity of the multi-terminal direct-current power transmission system is met.
During specific implementation, the function of the multi-terminal direct-current transmission line fault diagnosis method based on the parallel convolutional neural network is not limited to fault type identification and fault position identification, a plurality of functions can be added under the condition of the same input, a plurality of branches can be added to the convolutional neural network, and the method has expansibility.
As shown in fig. 1, the method for diagnosing the fault of the multi-terminal direct current transmission line based on the parallel convolutional neural network of the present invention includes the following steps:
step 1: acquiring fault information of a fault line of a multi-terminal direct-current power transmission system and an electric signal waveform corresponding to the fault information;
in specific implementation, voltage waveforms between two poles, positive voltage waveforms, negative voltage waveforms, positive current waveforms and negative current waveforms during line faults are collected.
Step 2: combining the fault electrical signal waveform with the normal electrical signal waveform to form a new electrical signal waveform, and performing graying processing on the new electrical signal waveform, wherein the step 2 specifically comprises the following steps of:
step 2.1: will normally generate a voltage waveform U between two electrodes0Voltage between two poles in case of sum faultWave form U1The two ends are connected to form a new voltage waveform between two poles U ═ U0,U1]The normal positive voltage waveform EP0And positive electrode voltage waveform E in case of failureP1The positive voltage waveform E is formed by connecting the head and the tailP=[EP0,EP1]The normal negative voltage waveform EN0And the negative voltage waveform E in the case of a faultN1The voltage waveform E of the negative electrode is formed by connecting the head and the tailN=[EN0,EN1]The normal positive electrode current waveform IP0Positive electrode current waveform I in sum faultP1The end to end connection forms a new positive electrode current waveform IP=[IP0,IP1]The normal negative current waveform IN0And the negative current waveform I in faultN1Make up new negative pole current waveform I end to endN=[IN0,IN1];
Step 2.2: for new voltage waveform between two poles U ═ U0,U1]New positive electrode voltage waveform EP=[EP0,EP1]New negative electrode voltage waveform EN=[EN0,EN1]New positive electrode current waveform IP=[IP0,IP1]And a new negative electrode current waveform IN=[IN0,IN1]Respectively carrying out graying treatment, compressing the numerical values in the signal waveform to the numerical values between 0 and 255 in equal proportion to respectively obtain U' and Ep'、EN'、Ip' and IN'。
And step 3: combining wavelet packet reconstruction coefficients obtained by performing 3-layer wavelet packet decomposition on a fault electrical signal waveform and a normal electrical signal waveform to form a new wavelet packet reconstruction coefficient waveform, and performing graying processing on the new wavelet packet reconstruction coefficient waveform; the step 3 specifically comprises the following steps:
step 3.1: for the normal voltage waveform U between two electrodes0Voltage waveform U between two poles during fault1Normal positive electrode voltage waveform EP0And positive electrode voltage waveform E in failureP1Normal negative electrode voltage waveform EN0And a negative electrode voltage waveform E at the time of failureN1Normal positive electrode current waveform IP0Therefore, it isTime-of-failure positive electrode current waveform IP1Normal negative current waveform IN0And the negative current waveform I in faultN1Respectively carrying out 3 layers of wavelet packet decomposition to obtain wavelet packet reconstruction coefficient U of each electrical signal waveformw0、Uw1、EwP0、EwP1、EwN0、EwN1、IwP0、IwP1、IwN0And IwN1;
Step 3.2: respectively connecting the wavelet packet reconstruction coefficient of each electrical signal waveform of the multi-terminal direct-current power transmission system in normal operation and the wavelet packet reconstruction coefficient of the electrical signal waveform in fault end to form 5 groups of new electrical signal wavelet packet reconstruction coefficient waveforms Uw=[Uw0,Uw1]、EwP=[EwP0,EwP1]、EwN=[EwN0,EwN1]、IwP=[IwP0,IwP1]And IwN=[IwN0,IwN1];
Step 3.3: carrying out gray processing on 5 groups of new electric signal wavelet packet reconstruction coefficient waveforms to obtain Uw'、Ewp'、EwN'、Iwp' and IwN'。
And 4, step 4: combining all the grayed signal waveforms obtained in the step 2 and the step 3 into a two-dimensional matrix form T ═ U', EP',EN',IP',IN',Uw',EwP',EwN',IwP',IwN']TAnd taking the two-dimensional matrix as the characteristics of the waveform of the electrical signal;
and 5: training the parallel convolution neural network based on the fault type, the fault position and the characteristics of the electrical signal waveform, as shown in fig. 2, wherein the step 5 specifically comprises the following steps:
step 5.1: combining the characteristics of the electric signal waveform and the fault type corresponding to the electric signal waveform into a first training set, and training the single-branch convolutional neural network CNN1 through the first training set;
step 5.2: forming the characteristics of the electrical signal waveform and the fault position corresponding to the characteristics into a second training set, and training the single-branch convolutional neural network CNN2 through the second training set;
step 5.3: constructing a parallel convolutional neural network P-CNN with the same intermediate layer structure as the CNN1 and the CNN2, and copying weight parameter values and bias parameter values in the intermediate layers of the CNN1 and the CNN2 to corresponding positions of two branches of the P-CNN;
step 5.4: and fixing the parameter value of the P-CNN branch, and training the input layer parameter and the output layer parameter of the P-CNN by using the characteristics, the fault type and the fault position of the electrical signal waveform.
In specific implementation, the fault types include: the direct current power supply system comprises a positive short circuit, a negative short circuit, an inter-pole short circuit, a single-phase grounding fault, a two-phase short circuit fault, a two-phase grounding fault and a three-phase short circuit fault on the alternating current side of a converter station on a direct current line.
Step 6: when the multi-terminal direct current transmission line has faults, fault electrical signal waveforms and normal electrical signal waveforms are collected, and fault diagnosis is carried out on the multi-terminal direct current transmission line on the basis of the trained parallel convolution neural network.
The four-terminal dc transmission line of fig. 3 is taken as an example to further explain the embodiment of the present invention. As shown in fig. 3, in the figure, terminals B2 and F1 are power transmission terminals, terminals B3 and E1 are power reception terminals, and the dc transmission bus voltage ± 200 kV. Where TLB2E1 and TLE1F1 are 1000km overhead lines, and TLB2B3 and TLB3F1 are 800km overhead lines. And a group of direct current breakers DCB 1-DCB 4 are respectively arranged on the four direct current transmission lines to cut off the fault direct current transmission lines.
The invention relates to a fault diagnosis method for a multi-terminal direct-current transmission line based on a parallel convolution neural network, which can realize the quick and accurate identification of fault types and fault position information of the multi-terminal direct-current transmission line; the method comprises the steps that electrical signal waveform on a line TLB2E1 when each fault type occurs in a multi-terminal direct-current power transmission system is collected, electrical signal waveform characteristic preprocessing of each fault type is conducted, and then pre-training of fault type identification and fault area identification is conducted on a single-branch CNN1 and a single-branch CNN2 respectively; according to the transfer learning principle, intermediate layer parameters in CNN1 and CNN2 are respectively assigned to two branches of P-CNN, so that an input layer and an output layer of the P-CNN are trained under the condition of keeping the branch parameters of the intermediate layer of the P-CNN unchanged; and applying the pre-trained P-CNN to fault diagnosis, and when the multi-end direct-current transmission line has a fault, acquiring an electrical signal waveform on the TLB2E1, preprocessing the electrical signal waveform characteristics, and inputting the electrical signal waveform characteristics into the P-CNN to realize the multi-end direct-current transmission line fault diagnosis.
Step 1: collecting fault information of a multi-terminal direct current transmission line and an electric signal waveform corresponding to the fault information; specifically, a voltage waveform between two poles, a positive voltage waveform, a negative voltage waveform, a positive current waveform and a negative current waveform during line fault are collected.
Step 2.1: respectively connecting the electric signal waveforms of the multi-end direct current transmission line in normal operation and the electric signal waveforms of the multi-end direct current transmission line in a fault occurrence end to end manner to form the following 5 groups of new electric signal waveforms:
U=[U0,U1]=[U01,U02,,...,U0n,U11,U12,...,U1n]
EP=[EP0,EP1]=[EP01,EP02,...,EP0n,EP11,EP12,...,EP1n]
EN=[EN0,EN1]=[EN01,EN02,...,EN0n,EN11,EN12,...,EN1n]
IP=[IP0,IP1]=[IP01,IP02,...,IP0n,IP11,IP12,...,IP1n]
IN=[IN0,IN1]=[IN01,IN02,...,IN0n,IN11,IN12,...,IN1n]
wherein, U1=[U11,U12,,...,U1n]Is the voltage waveform between two poles, U, on the line TLB2E1 at fault1nIs the nth point in the waveform, U0=[U01,U02,,...,U0n]Is the voltage waveform between two poles, U, during normal operation before a fault0nIs in the waveformThe nth point. EP1=[EP11,EP12,...,EP1n]Is the positive voltage waveform on line TLB2E1, EP1nIs the nth point in the waveform, EP0=[EP01,EP02,...,EP0n]Is the positive electrode voltage waveform in normal operation before failure, EP0nIs the nth point in the waveform. EN1=[EN11,EN12,...,EN1n]Is the negative voltage waveform on line TLB2E1, EN1nIs the nth point in the waveform. EN0=[EN01,EN02,...,EN0n]Is the negative electrode voltage waveform in normal operation before failure, EN0nIs the nth point in the waveform. I isP1=[IP11,IP12,...,IP1n]Is the positive current waveform, I, on line TLB2E1P1nIs the nth point in the waveform. I isP0=[IP01,IP02,...,IP0n]Is the positive current waveform before failure in normal operation, IP0nIs the nth point in the waveform. I isN1=[IN11,IN12,...,IN1n]Is the negative current waveform, I, on line TLB2E1N1nIs the nth point in the waveform, IN0=[IN01,IN02,...,IN0n]Is the negative current wave, I, in normal operation before a faultN0nIs the nth point in the waveform. Wherein each electrical signal waveform is in a row vector form;
step 2.2: combine 5 new sets of electrical signal waveforms U, EP、EN、IPAnd INRespectively graying to obtain U' and Ep'、EN'、Ip' and IN', where the graying formula is:
where x' is the electrical signal waveform after graying, and x (n) is the original electrical signal waveform.
Step 3.1: waveform U of electric signal0、U1、EP0、EP1、EN0、EN1、IP0、IP1、IN0And IN1Respectively carrying out 3 layers of wavelet packet decomposition to obtain wavelet packet reconstruction coefficient U of each electrical signal waveformw0、Uw1、EwP0、EwP1、EwN0、EwN1、IwP0、IwP1、IwN0And IwN1Wherein the wavelet packet reconstruction coefficient of each electrical signal waveform is in a matrix form of 8 multiplied by n;
step 3.2: respectively connecting the wavelet packet reconstruction coefficient of each electrical signal waveform when the multi-terminal direct-current power transmission system normally operates and the wavelet packet reconstruction coefficient of the electrical signal waveform when a fault occurs end to form 5 groups of new electrical signal wavelet packet reconstruction coefficient waveforms Uw=[Uw0,Uw1]、EwP=[EwP0,EwP1]、EwN=[EwN0,EwN1]、IwP=[IwP0,IwP1]And IwN=[IwN0,IwN1];
Step 3.3: 5 groups of new electric signal wavelet packet reconstruction coefficient waveforms Uw=[Uw0,Uw1]、EwP=[EwP0,EwP1]、EwN=[EwN0,EwN1]、IwP=[IwP0,IwP1]And IwN=[IwN0,IwN1]Respectively graying to obtain Uw'、Ewp'、EwN'、Iwp' and IwN';
And 4, step 4: putting all the grayed signal waveforms into a 45 x 2n matrix to form a two-dimensional matrix form T ═ U', EP',EN',IP',IN',Uw',EwP',EwN',IwP',IwN']THere, T is a characteristic of an electrical signal waveform on the dc transmission line TLB2E1 corresponding to each fault of the multi-terminal dc transmission system.
Step 5.1: the collected fault types in the M four-terminal direct-current power transmission systems and M fault characteristics T corresponding to the fault types are submitted to a single branch CNN1 for training, and a training process curve is shown in FIG. 4;
step 5.2: the collected fault position information in the M four-terminal direct-current power transmission systems and M fault characteristics T corresponding to the fault position information are submitted to a single branch CNN2 for training, and a training process curve is shown in FIG. 5;
step 5.3: constructing a parallel convolutional neural network P-CNN with the same intermediate layer structure as the CNN1 and the CNN2, and respectively assigning a weight parameter value omega and a bias parameter value b in the intermediate layers of the CNN1 and the CNN2 to corresponding positions of two branches of the P-CNN;
step 5.4: and fixing the parameter values of the P-CNN branch circuits unchanged, and training the input layer parameters and the output layer parameters of the P-CNN by using the collected fault types and position information in the M four-terminal direct-current power transmission systems and the M fault characteristics T corresponding to the fault types and position information.
Step 6: when the relay protection devices DCB 1-DCB 4 of the multi-terminal direct current transmission line identify faults in the system, starting the multi-terminal direct current transmission line fault diagnosis method based on the parallel convolution neural network; collecting fault electrical signal waveforms and normal electrical signal waveforms on the line TLB2E1 during fault; repeating the step 2 to the step 4 to obtain the current fault characteristic t by the method for preprocessing the fault electrical signal waveform and the normal electrical signal waveform; and inputting the current fault feature t into the trained P-CNN to obtain the current fault type and fault position information.
The method comprises two functions of fault type identification and fault position identification, wherein the fault position identification is to determine whether a fault occurs on a line where a detection device is located according to the characteristics of a fault signal. The invention realizes the fault diagnosis method for determining the fault type and the occurrence position through the characteristics of the fault signal, and the fault diagnosis result can help the relay protection device to isolate the fault and can also help operation and dispatching personnel to know and process the fault. The fault location identification function of the invention is to determine which line of the multi-terminal direct current transmission system the fault occurs on according to the characteristics of the fault signal, namely the fault location method is to judge whether the fault point occurs on the line of the detection device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, which is defined by the appended claims.