MMC sub-module open-circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model
Diagnosing IGBT open-circuit faults in MMC through multi-source fusion graphs and SE-BiGRU-ResNet models solves the problems of large amounts of data and calculations, achieves efficient and accurate diagnosis under small sample conditions, and can quickly locate faulty IGBTs.
Patent Information
- Application Number
- CN202410591218.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-08-16
AI Technical Summary
The existing technology has problems in diagnosing IGBT open-circuit faults in MMCs, such as large amounts of data and calculations, and difficulty in accurately locating faulty IGBTs. The diagnostic accuracy and efficiency are low, especially under small sample conditions.
Using multi-source fusion graph and SE-BiGRU-ResNet model, convert one-dimensional signals into two-dimensional images through RP, MTF, GASF, and GADF algorithms, perform channel dimension augmentation fusion, and combine SE module, ResNet module and BiGRU module to extract faults characteristics and diagnosis.
It reduces the amount of training data, improves the diagnosis speed and accuracy, and can accurately locate the faulty IGBT in the MMC sub-module under small sample conditions, with fewer iterations and high positioning accuracy.
Smart Images

Figure CN118501774A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system fault diagnosis, and in particular to an MMC submodule open circuit fault diagnosis method based on a multi-source fusion graph and a SE-BiGRU-ResNet model. Background Art
[0002] In recent years, the complexity of my country's power system has been increasing, and the possibility of various faults occurring inside it has been increasing. Research on fault diagnosis in power systems has become increasingly important. Modular Multilevel Converter (MMC) has the advantages of strong expansion capability, convenient multi-port interconnection, and flexible output voltage level. It is currently widely used in related fields such as new energy power transmission and flexible DC transmission projects. With the increase in the number of MMC output levels, the number of sub-modules (SM) in MMC is also increasing. The switching devices in each sub-module have become potential fault points. Relevant studies have shown that converter faults are mainly concentrated in insulated-gate bipolar transistors (IGBT). Common IGBT faults in MMC include short-circuit faults and open-circuit faults. Although short-circuit faults are highly destructive, the driving circuit will include a protective device to promptly remove the short-circuit part, thereby protecting the normal operation of the MMC; the characteristics of open-circuit faults are relatively weak and difficult to detect. If there is no reliable and sensitive fault diagnosis method, it may cause problems such as three-phase asymmetry and output voltage and current waveform distortion, thereby threatening the normal operation of the power system. Therefore, studying the IGBT open-circuit fault diagnosis method in MMC is the key to the stable operation of MMC.
[0003] At present, the research on IGBT open circuit fault diagnosis in MMC is divided into three categories, namely hardware-based, model-based and artificial intelligence. With the advent of the information age, the positioning method based on artificial intelligence has gradually replaced other methods and become the focus of research, because it overcomes the dependence on mathematical models and extracts features and diagnoses faults through state variables in MMC. The feature extraction process is also called feature engineering, which directly determines the complexity of the subsequent fault diagnosis model design. Establishing feature engineering is one of the keys to fault diagnosis, that is, the application of artificial intelligence for fault diagnosis includes two steps: the establishment of feature engineering and the design of diagnostic models.
[0004] In terms of feature engineering, it can be divided into two categories according to the feature dimension, namely one-dimensional time series signals and two-dimensional image signals. One-dimensional signals cannot significantly characterize the high coupling characteristics after the MMC fails, and most diagnostic models have better adaptability to high-dimensional signals. Traditional methods such as grayscale images, Fourier transforms, and wavelet transforms can all be used for signal conversion, but traditional methods are difficult to reflect the hidden time correlation in the signal and are affected by artificial thresholds. Existing studies include: using the recurrence plot (RP) method to convert one-dimensional electrical signals under different fault modes into two-dimensional images, and extracting fault characteristics of power equipment such as converters. Use the Markov transition field (MTF) to convert fault signals into visual feature images. The Gramian Angular Field (GAF) method is used to convert the simulation data after the open circuit fault of the grid-connected inverter, and the Gramian Angular Summation Field (GASF) image and the Gramian Angular Difference Field (GADF) image are used to diagnose the health status of the IGBT in the grid-connected inverter. The multi-source signal fusion idea is used to map the fault data of the converter at different times into feature images and fuse them, making its internal fault features explicit, which can more truly reflect the fault information in the power equipment than single information.
[0005] In terms of diagnostic model design, deep learning has applications in pattern recognition, defect detection, and fault diagnosis. For example, using raw data such as submodule capacitance and voltage, CNN is used to diagnose and locate MMC. However, directly using raw data for feature extraction is prone to overfitting, which reduces the diagnostic accuracy. In addition, when the number of submodules is large, the amount of data collected is too large to be trained and tested, and the "dimensionality disaster" problem may occur. The deep separable convolutional network based on the squeeze-excitation (SE) module extracts rich features through the deep network. It has the characteristics of few parameters and easy to distinguish coupling features. However, a large number of floating-point operations are required during the training process, which takes up a lot of resources. The switch tube fault diagnosis method based on the 1D-CNN-LSTM model not only avoids the problem of feature loss due to expert experience, but also deeply explores the hidden features in the time and space of fault data. However, due to the particularity of the model, the input data is one-dimensional data, and all information in the fault information cannot be obtained. Alternatively, the submodule capacitor voltage signals are combined into a "data band" sample of a 24-channel sequence signal, which is input into a stacked sparse autoencoder for learning, and finally the fault diagnosis result is output using a Softmax classifier. However, the number of sequence signal channels used in this method is 6 times the number of MMC levels, and the amount of calculation is too large. Alternatively, the wavelet extreme learning machine-autoencoder is used for feature extraction and fault diagnosis of the submodule capacitor voltage, which has high diagnostic accuracy, but the amount of processed data will increase with the increase of submodules, making the operation more difficult and unable to accurately locate the faulty IGBT position.
[0006] The above method only considers sampling and processing the MMC fault signal under the condition of sufficient samples, but in actual engineering, a data set with sufficient target domain samples requires a lot of cost and effort to collect. When there is a lack of target domain samples, it is difficult for the diagnosis model to learn accurate fault features from limited samples. Therefore, it is more practical to study a method for MMC submodule open circuit fault diagnosis under small sample conditions. Summary of the invention
[0007] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide an MMC sub-module open circuit fault diagnosis method that can reduce the amount of data in the training process, speed up the real-time diagnosis speed of the model, and accurately locate the faulty IGBT position in the sub-module, with a small number of iterative training times and high positioning accuracy.
[0008] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0009] A method for diagnosing an open-circuit fault of an MMC submodule based on a multi-source fusion graph and a SE-BiGRU-ResNet model is characterized in that the corresponding two-dimensional images are obtained by respectively using RP, MTF, GADF and GASF algorithms for a one-dimensional fault signal, and the two-dimensional images are overlapped by channels to perform channel dimension augmentation fusion to obtain a multi-source fusion graph; a SE-BiGRU-ResNet diagnosis model is constructed, and the SE-BiGRU-ResNet diagnosis model includes a basic convolution module, an improved ResNet module, an SE module and a BiGRU module; the basic convolution module is used to extract preliminary fault features of the multi-source fusion graph, and introduce the preliminary fault features into the dual branches of the improved ResNet module; the ResNet module is used to learn different weights by using the dual branches to form a corresponding mapping, realize the complementary characteristics of the dual branches, extract the fault coupling features and input them into the SE module; the SE module is used to enhance the generalization performance of the model, and the fault features are flattened and then input into the BiGRU module; the BiGRU module is used to extract the forward and reverse timing information of the fault.
[0010] Furthermore, the SE module includes a convolution part F tr (·,θ), the compressed part F sq (·), the excitation part F ex (·,w) and the reconstruction part F scale (·); The compression part compresses the features of the input signal by global average pooling, satisfying the following formula:
[0011]
[0012] Where: u c is the feature map obtained after the convolution operation, c is the convolution kernel number; H and W are the height and width of the feature map; i and j are the rows and columns of the feature map; u c (i, j) is the input signal; Z c To compress some output;
[0013] The excitation part learns the nonlinear relationship between feature channels through the parameter W and updates the weights of all feature channels to satisfy the following formula:
[0014] s=F ex (z,w)=σ[g(z,w)]=σ[w2δ(w1z)]
[0015] Where: σ is the Sigmoid activation function; g is the nonlinear activation; w1 and w2 are the fully connected layer parameters c 2 / r; δ is the ReLU function; s is the channel attention feature weight;
[0016] The reconstruction part weights the output of the excitation part to the original feature channel by channel through the dot product to achieve the recalibration of the original feature channel, satisfying the following formula:
[0017]
[0018] Where: feature weight s c ∈(0,1);u c is the characteristic channel.
[0019] Furthermore, the residual unit of the improved ResNet module is:
[0020] y i =h(x i )+F(x i ,ω i )
[0021] x i+1 =ReLU(y i )
[0022] In the formula, x i is the feature of the input image of the i-th residual unit, x i+1 is the output feature, when y i With x i When the dimensions are the same, h(x i ) is an identity connection, that is, h(x i )=x i When y i With x i When the dimensions are different, h(x i ) is x i The linear mapping h(x i )=λ×x i ,F(x i ,ω i ) is the residual function,
[0023] F(x i ,ω i ) = ReLU(x i ×ω i +b i )
[0024] Where: i is the weight and bias of the i-th residual unit; b i is the bias; ReLU is the activation function;
[0025] The residual unit gradient is:
[0026]
[0027] In the formula, ε is the loss function, x LInput features for residual units at any depth, gradient It can be divided into two parts, It means that information is not propagated through the weight layer, so that the information of ε can be back-propagated to any shallower unit and the weight is guaranteed to be arbitrarily small.
[0028] Furthermore, the BiGRU module includes a forward GRU network and a reverse GRU network, and the forward GRU network and the reverse GRU network are responsible for capturing historical information and future information respectively; wherein the GRU network satisfies the following formula:
[0029]
[0030] Where: r t is the reset gate of the GRU network, z t is the update gate of the GRU network, x t is the input at time t, h t-1 is the output of the previous moment, W is the weight matrix; b is the bias vector; ⊙ is the dot multiplication operation; σ and tanh are activation functions.
[0031] Furthermore, the conversion process of the RP algorithm is:
[0032] For a time series signal X with N time points, i ,…,x N} is normalized to obtain The normalization formula is:
[0033]
[0034] right The phase space is reconstructed, and the reconstructed sequence is:
[0035] u i =(x i ,x i+f ,…,x i+(e-1)f )
[0036] Where: e is the embedding dimension; f is the delay time;
[0037] The elements of the RP matrix R are defined as follows:
[0038] R i,j =Θ(x ε -||u i -u j ||) i,j=1,2,…,n
[0039] Where: x ε is to set the threshold; ||·|| is the ∞-vector norm; Θ(·) is the Heaviside step function;
[0040] R is composed of 0 and 1, 0 means no recursive state, 1 means recursive state. The relevant elements in R are plotted with i and j as the horizontal and vertical coordinates to obtain a two-dimensional image after the RP algorithm.
[0041] Furthermore, the transformation process of the MTF algorithm is:
[0042] For a time series signal X with N time points, i ,…,x N} is normalized to obtain The normalization formula is:
[0043]
[0044] Will The signal amplitude at different times is divided into Q quantile regions, each region is represented by q i (i=1,2,···,Q), each data point Mapping corresponding area q i (i∈[1,Q]), calculate the data points before and after and From area q i to q j The probability size of each probability P is used as the adjacent weighted matrix element w ij , sort the probabilities along the time axis to obtain a Markov transfer matrix W of size n×n,
[0045]
[0046] Where: q j (j∈[1,n]) and w ij The quantiles q i and q j The probability of approaching
[0047] On the basis of W, the influence of spatial and temporal factors is strengthened and expanded to M across time scales.
[0048]
[0049] Where: m ij is the quantile q i Transfer to q j The transition probability.
[0050] Furthermore, the transformation process of the GAF algorithm is:
[0051] For a time series signal X with N time points, i,…,x N} is normalized to obtain The normalization formula is:
[0052]
[0053] One-dimensional time series The data is mapped to the polar coordinate system and converted into a vector. The conversion formula is:
[0054]
[0055] Where: θ i is the polar angle of point i; r i is the polar radius of point i; n is the spatial regularization constant;
[0056] Define the Gram matrix G:
[0057]
[0058]
[0059] Where: G represents the Gram matrix; <·> represents the inner product;
[0060] GASF and GADF can be obtained by the following trigonometric chord function and difference calculations:
[0061]
[0062]
[0063] Where: φ i (i=1,2,…,n) is the i-th sequence angle.
[0064] Furthermore, before diagnosis, the model is trained, including the following steps:
[0065] The experimental platform is used to simulate 7 bridge arm operating states, and the output phase current i under different bridge arm faults is jo The sample is taken as the original signal of the bridge arm for diagnosis. After the bridge arm where the MMC fails is determined, the faulty bridge arm is taken as the diagnosis object. The operating state of the IGBT in 17 submodules in the bridge arm is simulated based on the experimental platform. The bridge arm voltage u under different IGBT faults is analyzed. jp Sampling is performed and used as the original signal for locating the faulty IGBT;
[0066] will i jo and u jp Normalization is performed, i under different fault categories jo and u jpThe original current sample data set 1 and the original voltage sample data set 2 are obtained by segmenting and constructing the samples through the sliding window feature extraction algorithm;
[0067] The original current data samples and the original voltage data samples are transformed and mapped using the RP, MTF, GADF and GASF algorithms respectively to generate RP, MTF, GADF and GASF graphs, and the four graphs are augmented and fused into a multi-source fusion graph according to the channel dimension; after preprocessing the multi-source fusion graph, the fault bridge arm diagnosis dataset 1 and the fault IGBT location dataset 2 are obtained, and the dataset 1 and the dataset 2 are randomly divided into a training set and a test set;
[0068] The training set is used to train the SE-BiGRU-ResNet diagnostic model, and the test set is used to evaluate the trained SE-BiGRU-ResNet diagnostic model. The parameters of the SE-BiGRU-ResNet diagnostic model are adjusted to repeat training and testing until the evaluation results meet the requirements, thus completing the training of the SE-BiGRU-ResNet diagnostic model.
[0069] In summary, the present invention has the advantages of being able to reduce the amount of data in the training process, speeding up the real-time diagnosis of the model, accurately locating the position of the faulty IGBT in the sub-module, reducing the number of iterative training times, and having high positioning accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 This is the topology diagram of the MMC main circuit and its submodules.
[0071] Figure 2 This is a schematic diagram of the operation status when an open circuit fault occurs in T1 in the submodule.
[0072] Figure 3 This is a schematic diagram of the operation status when an open circuit fault occurs in T2 in the submodule.
[0073] Figure 4 There are four image encoding methods.
[0074] Figure 5 This is the four-image fusion process.
[0075] Figure 6 It is the basic structure of SE.
[0076] Figure 7 It is the basic structure of GRU.
[0077] Figure 8 It is the basic structure of BiGRU.
[0078] Fig. 9 It is the basic structure of SE-BiGRU-ResNet.
[0079] Fig.10 This is the overall flow chart of MMC fault diagnosis.
[0080] Fig.11 It is the MMC output phase current under partial fault category.
[0081] Fig.12 is the MMC bridge arm voltage under partial fault category.
[0082] Fig.13 It is a 2D texture image of the MMC partial fault category.
[0083] Fig.14 This is a multi-source fusion image of some fault categories in dataset 1.
[0084] Fig.15 This is a multi-source fusion image of some fault categories in dataset 2.
[0085] Fig.16 This is a curve chart of accuracy and loss rate during training.
[0086] Fig.17 This is the confusion matrix of the diagnosis results of dataset 1 during the test process.
[0087] Fig.18 This is the confusion matrix of the diagnosis results for dataset 2 during testing.
[0088] Fig.19 t-SNE visualization of different stages for dataset 1.
[0089] Fig. 20 t-SNE visualization of different stages for dataset 2.
[0090] Fig.21 This is a graph of accuracy and loss rate during training with unbalanced data. DETAILED DESCRIPTION
[0091] The present invention is further described in detail below in conjunction with embodiments.
[0092] MMC operation principle and fault characteristics analysis
[0093] MMC structure and basic operating principle: Figure 1 is the topological structure of the MMC main circuit and its submodules, where U dc and I dc are DC voltage and current respectively; u jp 、u jn 、i jp and i jn are the voltage and current of the upper and lower bridge arms of phase j (j = A, B, C) respectively; u cis the submodule capacitor voltage; i is the submodule current. The three phases of MMC are independent, each phase consists of two bridge arms, each bridge arm is composed of N submodules in series, and two reactors L are connected in series between the upper and lower bridge arms to suppress the charging current when the MMC starts working, suppress the circulating current during operation, and reduce the current rise rate after a fault occurs. Each submodule is composed of switch tubes T1, T2 and diodes D1, D2 in parallel with capacitor C.
[0094] When the MMC is working normally, the AC side must have symmetrical output and constant DC voltage. The internal current path of the submodule is shown in Table 1.
[0095] Table 1 Submodule current flow path
[0096]
[0097] In Table 1, when the MMC submodule is in operation, the capacitor voltage and output voltage of the submodule are consistent. If a submodule is accidentally removed, its output voltage will become 0. The submodules of the upper bridge arm and the lower bridge arm of each phase of the MMC operate normally and complementary, and the sum of the upper and lower bridge arm voltages is always U dc To control the normal voltage waveform output on the AC side of the MMC, it is sufficient to control the switching state of each submodule.
[0098] MMC fault characteristic analysis and characteristic variable selection: When the MMC is working, if an open circuit fault occurs in T1 in the submodule, the MMC will be affected in mode 2 in Table 1; if an open circuit fault occurs in T2 in the submodule, the MMC will be affected in mode 3 in Table 1. Figure 2 The capacitor should be discharged during normal operation, but when T1 has an open circuit fault, the current will pass through diode D2, causing the capacitor to be unable to discharge through T1. At this time, the capacitor voltage of the faulty submodule will be higher than the capacitor voltage of the normal submodule; Figure 3 In mode 3, an open circuit fault occurs in T2, and the current will pass through diode D1. The capacitor in the submodule will be connected in series to the circuit, causing the capacitor to be unable to be bypassed by T2 and forced to charge. At this time, the capacitor voltage of the faulty submodule is higher than the capacitor voltage of the normal submodule.
[0099] Based on the above analysis, it can be seen that the capacitor voltage of the faulty submodule is different from the capacitor voltage of the normal submodule. The submodule voltage can be considered as an indicator for fault detection and location. However, there are too many submodules in the MMC. Simply using the submodule capacitor voltage as a feature parameter will result in too much data, especially when using deep learning algorithms. There will be problems such as dimensionality disaster. Therefore, it is necessary to find parameters that are not too computationally intensive and can reflect relevant features to reduce the amount of computation in the fault diagnosis process.
[0100] When an open-circuit fault occurs in a submodule, the number of submodules running in the six bridge arms becomes asymmetric, the submodule capacitor voltage in the bridge arm is no longer balanced, and the DC component in the bridge arm is no longer balanced, which will cause the DC component to enter the AC side. When an open-circuit fault occurs in the upper bridge arm of the jth phase, a positive DC component will appear in the bridge arm, and its average value is the largest and positive. According to the KCL theorem, the sum of the three-phase current is 0 at any time, so the other two phases will have a negative DC component with a negative average value. When an open-circuit fault occurs in the lower bridge arm of the jth phase, the result is exactly the opposite of the open-circuit fault in the upper bridge arm of the jth phase. That is, when an IGBT in different phases has an open-circuit fault, the faulty bridge arm can be diagnosed according to the change law of the three-phase current; now we only need to further study the faulty bridge arm to locate the faulty IGBT in the submodule. Under the influence of carrier phase shift control, the switching timing signal of each submodule is fixed. When a submodule fails, the bridge arm voltage data brought by different faulty submodules is different, and the data characteristics corresponding to each submodule failure will not change. That is, under the carrier phase shift control strategy, the bridge arm voltage can be used to locate the faulty IGBT in the submodule.
[0101] In summary, the three-phase current and the bridge arm voltage are selected as the fault parameters for diagnosing the faulty bridge arm and the faulty IGBT in the positioning submodule.
[0102] Basic Algorithm of MMC Fault Diagnosis
[0103] Multi-source fusion graph: Image information fusion is a theoretical reference system for comprehensive utilization of information obtained from multiple image sources. The use of complementary perception of multiple image sources can be closer to the overall state of the research target, and can effectively solve the problem that a single fault information source cannot fully reflect the various fault categories in the MMC under small sample conditions. This embodiment constructs a two-dimensional multi-source fusion graph based on the RP, MTF, GASF and GADF algorithms. The texture information and color distribution contained in the multi-source fusion graph are mappings of data information and time characteristics, retaining the characteristics of the original data as the input of the subsequent diagnosis model.
[0104] 1. RP algorithm
[0105] The RP algorithm uses the theory of reconstructed phase space analysis to study the periodicity, chaos and inherent similarity of time series signals, thereby studying the nonlinear characteristics of the system. RP encodes the cyclic behavior in the motion state of the high-dimensional phase space of the one-dimensional time domain signal and maps it into a two-dimensional image, thereby reflecting the recursive characteristics and describing the complexity of the signal. The specific transformation process is as follows:
[0106] Assume that there is a time series signal with N time points. For the time series signal X = {x1, x2, ..., x i ,…,x N} is normalized to obtain The normalization formula is:
[0107]
[0108] right Perform phase space reconstruction, and the reconstructed sequence is:
[0109] u i =(x i ,x i+f ,…,x i+(e-1)f ) (2)
[0110] Where: e is the embedding dimension; f is the delay time.
[0111] The elements of the RP matrix R are defined as follows:
[0112] R i,j =Θ(x ε -||u i -u j ||) i,j=1,2,…,n (3)
[0113] Where: x ε is the threshold setting; ‖·‖ is the ∞-vector norm; Θ(·) is the Heaviside step function.
[0114] R is composed of 0 and 1, 0 means no recursive state, 1 means recursive state. RP can be obtained by plotting the relevant elements in R with i and j as horizontal and vertical coordinates. For example, the two-dimensional image of a sine wave signal after the RP algorithm is as follows Figure 4 shown.
[0115] The advantage of RP is that it can intuitively describe the periodicity and similarity in the one-dimensional time series signal during the encoding process, and can also detect abnormal interference points, noise and nonlinear characteristics in the time series signal.
[0116] 2. MTF algorithm
[0117] The MTF algorithm adds the time and space position factors to the traditional Markov model, uses the Markov transition probability sequence to express the transfer matrix, retains the original signal time correlation, fully retains the dynamic information of the discretized time and frequency domain, and finally uses the fuzzy kernel aggregation to map the two-dimensional image. The specific transformation process is as follows:
[0118] Assume that there is a time series signal with N time points. For the time series signal X = {x1, x2, ..., x i ,…,x N According to formula (1), we can get Will The signal amplitude at different times is divided into Q quantile regions, each region is represented by q i(i=1,2,···,Q), each data point Mapping corresponding area q i (i∈[1,Q]), calculate the data points before and after and From area q i to q j The probability size of each probability P is used as the adjacent weighted matrix element wi j , sort the probabilities sequentially along the time axis to obtain a Markov transfer matrix W of size n×n.
[0119]
[0120] Where: q j (j∈[1,n]) and w ij The quantiles q i and q j The probability of approaching.
[0121] Since W is a sequence The distribution and step size of W are not sensitive, and the dynamic probability transfer of time series data is not taken into account, which may easily lead to the loss of some important information. Therefore, on the basis of W, the influence of spatiotemporal position factors is strengthened and extended to M, i.e. MTF, which spans time scales.
[0122]
[0123] Where: m ij is the quantile q i Transfer to q j The transition probability.
[0124] The MTF encodes the transition probabilities of the time step quantiles as the time series moves from quantile q i Transfer to quantile q j The transition probability is different, that is, the generated pixels are also different. Taking it as input can better play the advantages of the diagnostic model in image classification. For example, the two-dimensional image of the sine wave signal after the MTF algorithm is as follows Figure 4 shown.
[0125] The advantage of MTF is that it continuously focuses on the dynamic changes of the time series signal during the mapping process and can retain a large amount of dynamic information, but it has a weak ability to retain static information and is easily lost.
[0126] 3. GAF algorithm
[0127] The GAF algorithm can effectively record the fluctuation information in the original signal and highlight the hidden features of the signal in the time domain. GAF includes the GASF and GADF algorithms, which convert the scaled one-dimensional time series data from the Cartesian coordinate system to the polar coordinate system, and then calculate the angle and difference between time points through trigonometric functions and differential products according to its unique inner product form, and then tile them into the image from the upper left to the lower right, thereby generating a GASF or GADF image. The specific conversion process is as follows:
[0128] Assume that there is a time series signal with N time points. For the time series signal X = {x1, x2, ..., x i ,…,x N According to formula (1), we can get The Gram matrix is defined as shown in formula (6). The vector inner product can represent the correlation between vectors.
[0129]
[0130] Where: G represents the Gram matrix; <·> represents the inner product.
[0131] But one-dimensional time series is not a vector, so The data is mapped to the polar coordinate system and converted into a vector. The conversion formula is shown in formula (7).
[0132]
[0133] Where: θ i is the polar angle of point i; r i is the polar radius of point i; n is the spatial regularization constant.
[0134] From formula (7), in the polar coordinate system, when time increases, The encoding obtains points with different angles and radii. Since the cosine function is monotonic on [0,π], that is, the mapping result of a time series data has a unique corresponding value in the polar coordinate system, and the inverse mapping is also unique, that is, the GAF algorithm is a double mapping, which can retain complete feature information, and the dependence on time is guaranteed by the polar radius r. Therefore, the feature map generated by processing the one-dimensional time data with the GAF algorithm will not lose any modal information and contains the connection between signals at different time intervals.
[0135] If the Gram matrix shown in equation (6) is used to define the inner product, the output data will be difficult to distinguish the interference of Gaussian noise. In order to solve this problem, the inner product form with penalty term is defined as shown in equation (8).
[0136]
[0137] For the two new inner product forms, GASF and GADF can be obtained respectively through the trigonometric chord function and difference calculation in formula (9).
[0138]
[0139]
[0140] Where: φ i (i=1,2,…,n) is the i-th sequence angle.
[0141] After the GAF algorithm, the upper triangular elements in GADF and the lower triangular elements in GASF can more completely explain the potential state and information in the original signal. When the amplitude of the signal slows down, the corresponding GADF or GASF image will map a large area of connected areas with similar color textures; when the amplitude of the signal increases greatly, the corresponding GADF or GASF image will show horizontal textures or vertical textures. For example, the two-dimensional image of a sine wave signal after GAF encoding is as follows Figure 4 shown.
[0142] The advantage of GAF is that it retains more complete fault characteristics during the mapping process, leaves a large amount of static information, solves the shortcomings of MTF encoding, and retains the potential connection characteristics between signals.
[0143] 4. Feature Image Fusion
[0144] In the process of MMC fault diagnosis, it is difficult and costly to obtain data on many fault types and fault degrees. The number of samples collected is small, the noise interference is large, the time-frequency domain characteristics under each fault category are not obvious, and the amount of information contained is not rich. In order to obtain more fault features under small sample conditions, the RP, MTF, GADF and GASF algorithms are used to obtain the corresponding two-dimensional images for the one-dimensional data. Combining the respective advantages of the four images, their channel dimensions are augmented and fused to form a two-dimensional multi-source fusion image that contains a large number of dynamic and static fault features, time-frequency domain features and anti-noise interference. The fault features in the image are further extracted through the diagnostic model, and the laws between the data are found to provide more abundant criteria for the diagnosis and positioning of faulty IGBTs in MMC sub-modules. The specific fusion process is as follows:
[0145] The RP, MTF, GADF and GASF images converted from one-dimensional fault signals are all saved in PNG format. Most PNG format images are three-channel color images, that is, they are composed of three channels of red, green and blue. The value of the pixel in each channel is the input feature of the deep learning model. The data structure for the four single images is (3, P i1 , P i2 ), that is, the image consists of 3 channels, and the pixel size of each channel is P i1 ×Pi2 Now, the four single images are overlapped and fused by channel dimension augmentation to form a 12-channel multi-source fusion image, whose data structure is (12, P i1 , P i2 ), in order to facilitate image visualization, the data structure of the multi-source fusion graph is reconstructed as (3, 2×P i1 , 2×P i2 ), the four-image fusion process is as follows Figure 5 shown.
[0146] SE-BiGRU-ResNet model:
[0147] 1. SE module
[0148] In MMC fault diagnosis, there is a lot of redundant information in the fault parameters, which will distract the attention of the diagnosis model and thus reduce the accuracy of fault diagnosis. This embodiment introduces an embeddable SE attention mechanism module, which adaptively learns the important parameters of all feature channels, extracts fault features according to the learned parameters, reduces the impact of redundant features on the diagnosis model, and reduces the complexity and computational burden of the model, thereby improving the overall performance of the model.
[0149] Each feature channel obtained after convolution will be assigned the same weight for processing. However, in the actual feature extraction process, the fault information extracted by each feature channel after convolution is not the same, and the importance is also different. The SE module adopts a feature recalibration strategy, which gives different weight factors to different feature channels through compression and excitation, so as to achieve the optimal selection of feature channels and maximize the performance of the model. The basic structure of the SE module is as follows: Figure 6 As shown, F tr (·,θ) is the convolution part, F sq (·) is the compression part, F ex (·,w) is the excitation part, F scale (·) is the reconstruction part.
[0150] First, the input signal is feature compressed in the compression part through global average pooling, so that the feature map is converted into a real number with a global receptive field to a certain extent, as shown in formula (11).
[0151]
[0152] Where: u c is the feature map obtained after the convolution operation, c is the convolution kernel number; H and W are the height and width of the feature map; i and j are the rows and columns of the feature map; u c (i, j) is the input signal; Z c Output of the compression part (input of the excitation part).
[0153] Then, the signal is introduced into the excitation part, which learns the nonlinear relationship between feature channels through the parameter W and updates the weights of all feature channels at the same time, as shown in formula (12).
[0154] s=F ex (z,w)=σ[g(z,w)]=σ[w2δ(w1z)] (12)
[0155] Where: σ is the Sigmoid activation function; g is the nonlinear activation; w1 and w2 are the fully connected layer parameters c 2 / r; δ is the ReLU function; s is the channel attention feature weight.
[0156] Finally, the signal is recalibrated. The output of the excitation part is the importance of all feature channels. The output is weighted to the original feature channel by the dot product to achieve the recalibration of the original feature channel, as shown in formula (13).
[0157]
[0158] Where: feature weight s c ∈(0,1);u c is the characteristic channel.
[0159] As a relatively independent sub-network structure, the SE module can be combined with other networks to improve the sensitivity of the overall network structure to important fault characteristics, refine the fault feature representation, significantly suppress the interference of redundant information, and highlight the key faults and channel locations of the MMC during work.
[0160] 2. ResNet module
[0161] As the number of network layers increases, the problem of gradient vanishing or exploding will occur. ResNet, as a deep network with a "fast connection" residual block structure, has too many nonlinear mapping structures compared to shallow neural networks. The nonlinear expression ability becomes stronger as the number of network layers increases, which can effectively avoid the problem of gradient vanishing caused by back propagation.
[0162] Assume that the feature of the input image of the i-th residual unit is x i , the output feature is x i+1 , then the residual unit is:
[0163]
[0164] When i With x i When the dimensions are the same, h(x i ) is an identity connection, that is, h(x i )=x iWhen y i With x i When the dimensions are different, h(x i ) is x i The linear mapping h(x i )=λ×x i , in order to match the dimension, F(x i ,ω i ) is the residual function, as shown in formula (15).
[0165] F(x i ,ω i ) = ReLU(x i ×ω i +b i ) (15)
[0166] Where: i is the weight and bias of the i-th residual unit; b i is the bias; ReLU is the activation function.
[0167] Assume that the loss function is ε, and the input feature of any deep residual unit is x L , then the residual unit gradient is:
[0168]
[0169] Where: Gradient It can be divided into two parts, It means that information is not propagated through the weight layer, so that the information of ε can be back-propagated to any shallower unit. At the same time, the weight is arbitrarily small, which can avoid the phenomenon of gradient disappearance.
[0170] 3. BiGRU module
[0171] Given that the data after the MMC failure has strong temporal characteristics, the use of RNN helps to strengthen the temporal information between data and further explore the connections in the data. GRU, as an improved RNN, can not only take into account the relevance of temporal data, but also greatly reduce the number of parameters based on the LSTM network, speed up model training and reduce the risk of overfitting. The basic unit of GRU is as follows: Figure 7 shown.
[0172] Figure 7 In the GRU, there is a reset gate r t With update gate z t , r t is the amount of control over the combination of new information and historical information, z t It is the amount that controls the timely preservation of historical information to the current timestamp. When GRU uses the input x at time t t and the output h at the previous moment t-1As input, it is as follows:
[0173]
[0174] Where: W is the weight matrix; b is the bias vector; ⊙ is the dot multiplication operation; σ and tanh are activation functions.
[0175] like Figure 8 The BiGRU network is constructed by the forward GRU network and the reverse GRU network. These two layers of GRU networks are responsible for capturing historical information and future information respectively. Finally, the outputs of the two layers of networks are integrated according to their respective positions, which can further improve memory capacity and prediction accuracy.
[0176] 4. Design of SE-BiGRU-ResNet diagnostic model
[0177] In order to accurately locate the faulty IGBT in MMC and fully extract the fault features in the multi-source fusion graph, a SE-BiGRU-ResNet diagnosis model is proposed. Fig. 9 As shown in the figure, it is mainly composed of basic convolution module, improved ResNet module, SE module and BiGRU module. Each module plays the role of extracting preliminary features, extracting spatial features, strengthening weighted attention mechanism and extracting temporal features.
[0178] First, the basic convolution module extracts the preliminary fault features of the multi-source fusion graph, and introduces the fault features into the dual branches of the improved ResNet module. The corresponding mapping is formed by branch 1 and branch 2 to learn different weights, so as to achieve the complementary characteristics of the dual branches, so that the fault features are further enhanced in terms of spatial coupling features and the gradient explosion and vanishing problems are solved. The extracted fault coupling features are input into the SE module to highlight important fault information, enhance the generalization performance of the model, and improve the overall performance of the diagnostic model. Finally, the fault features are flattened and input into the BiGRU module to extract the forward and reverse time series information of the fault, so as to more comprehensively capture the contextual dependencies in the time series data. The improved ResNet module is serially fused with the SE module on the basis of the traditional ResNet module, and the layer layer is formed according to the combination of convolution layer-BN layer-ReLU layer-SE layer to improve the convergence speed of the model, strengthen the attention mechanism ability and nonlinear fitting ability.
[0179] The convolution module, improved ResNet module, SE module and BiGRU model work together to comprehensively capture and obtain the fault coupling characteristics in the MMC multi-source fusion graph and achieve high-precision fault diagnosis of MMC.
[0180] MMC fault diagnosis process
[0181] In order to locate the faulty IGBT in the submodule of MMC, this embodiment proposes a discrete fault diagnosis and location method of "first diagnosing the faulty bridge arm and then locating the faulty IGBT in the submodule", which mainly includes three stages: establishment of feature engineering, offline training model and online diagnosis application. Fig.10 The figure shows the overall flow chart of MMC fault diagnosis. The specific steps are as follows:
[0182] (1) According to the diagnostic idea, the nine-level MMC is used as the diagnostic object, and the experimental platform is used to simulate seven bridge arm operating states. The output phase current i under different bridge arm faults is calculated. jo The sample is taken as the original signal of the bridge arm for diagnosis. After the bridge arm where the MMC fails is determined, the faulty bridge arm is taken as the diagnosis object. The operating state of the IGBT in 17 submodules in the bridge arm is simulated based on the experimental platform. The bridge arm voltage u under different IGBT faults is analyzed. jp The sample is taken and used as the original signal for locating the faulty IGBT.
[0183] (2) Change i jo and u jp Normalization is performed, i under different fault categories jo and u jp The samples are segmented and constructed by a sliding window feature extraction algorithm to obtain an original current sample data set 1 and an original voltage sample data set 2.
[0184] (3) The original current data samples and the original voltage data samples in step (2) are transformed and mapped according to equations (3), (5), (9) and (10) respectively. Each group of samples generates four images, namely RP, MTF, GADF and GASF images, and the four images are augmented and fused according to the channel dimension to form a multi-source fusion image with deeper dimensions and more obvious fault characteristics. After preprocessing the multi-source fusion image, the fault bridge arm diagnosis data set 1 and the fault IGBT positioning data set 2 are obtained. Data set 1 and data set 2 are randomly divided into training set and test set, and the two do not interfere with each other. The training set is used to input into the SE-BiGRU-ResNet diagnosis model with set parameters for training. When the training reaches the set number of iterations, the training model is saved for subsequent testing.
[0185] (4) The test set is input into the training model saved in step (3) to evaluate the accuracy of the model diagnosis and positioning. If the evaluation result shows that the model diagnosis and positioning capabilities are not optimal at this time, the model hyperparameters need to be adjusted, and then the model is trained again in step (3) until the model diagnosis and positioning accuracy reaches a certain standard. At this point, the optimal performance diagnostic model has been trained offline, and the model can be subsequently put into actual MMC operation for online diagnosis and real-time monitoring.
[0186] Through the above steps, the faulty IGBT status in the MMC can be effectively diagnosed and located, providing reference theory and technical support for the subsequent formulation of MMC protection strategies.
[0187] Experiment and analysis
[0188] MMC discrete fault diagnosis and location data set preparation: In order to verify the effectiveness and correctness of the proposed method, a three-phase nine-level MMC system was built based on the MATLAB / Simulink platform, and the rationality of the MMC system built based on the Simulink platform was verified through the Real Time Digital Semi-physical Laboratory (RT-LAB). According to the comparison of the waveform results in the oscilloscope and the simulation waveform, it is consistent, which proves that the built MMC system is reasonable and can be applied to the subsequent fault diagnosis process. Table 2 shows some parameters of the MMC system, and Table 3 shows the fault category sample labels and sample numbers. In Table 3, A_up represents the upper bridge arm of phase A, and SM1_T1 represents the first IGBT in the first submodule.
[0189] Table 2 Some parameters of MMC system
[0190]
[0191] Table 3 Sample labels and quantities under different fault categories
[0192]
[0193] The MMC system is used to simulate the IGBT fault category, and then the parameters under each fault category are obtained to form the initial sample set. In the bridge arm fault diagnosis process, the MMC system is set to run for 0.5s, and the IGBT open circuit fault occurs at 0.1s. From Table 3, 7 groups of output phase current data under different bridge arm fault categories can be collected, of which the first group of signals is generated during normal operation, and the remaining 6 groups of signals are generated by MMC fault operation. The output phase current under some fault categories is as follows Fig.11 As shown in Figure 3, when the faulty bridge arm is successfully diagnosed, the faulty IGBT in the submodule can be located by studying the faulty bridge arm separately. Taking the fault of the upper bridge arm of phase A in the MMC as an example, 17 groups of lower bridge arm voltage data of different IGBT open circuit fault categories can be collected from Table 3, of which 1 group of signals is generated by the normal operation of the MMC, and 16 groups of signals are generated by the faulty operation of the MMC. The lower bridge arm voltage of some fault categories is as follows: Fig.12 shown.
[0194] Fig.11In the deep learning model, directly using the output phase current as the fault parameter may also lead to the problem of dimensionality disaster due to excessive calculation. In order to simplify the calculation, the fault phase current under each fault mode is extracted as the fault parameter. Through the time domain waveform observation, the MMC is greatly different when it is working normally, after the A phase upper bridge arm fault and after the B phase upper bridge arm fault. The effective fault information can be extracted. However, the current waveforms of the A phase upper bridge arm and the lower bridge arm are not much different in the time domain, and it is difficult to extract effective fault information. A more sophisticated feature extraction method is needed for processing. In order to obtain the data samples required for fault diagnosis, the sliding window feature extraction algorithm is used to process the offline data. The processing process is as follows: After obtaining and saving the complete offline data, use a sliding window feature extraction algorithm with a length of L. win The original information sequence is intercepted by a window of length L. win The data segment is in steps of L step Slide gradually from the starting point of the original information sequence. Each time you slide, you can get a new data fragment. The window slides continuously. When it slides to the end of the offline data, if the number of remaining samples is less than the step size of the sliding window, the window stops sliding. Each voltage sequence is segmented by a sliding window, so that all the intercepted fragments of the original information sequence can be obtained. The sliding window feature extraction algorithm is used to process the offline data, and the obtained fault data is dynamically updated to expand the sample size. Under comprehensive consideration, the sliding window size is designed to be 2000 sampling points, and the sliding step size is 250 sampling points. The phase current signals under different fault categories can be divided into 313 samples, and the total number of samples is 313×7=2191, which is recorded as the diagnostic fault bridge arm data set 1. Fig.12 In the figure, the bridge arm voltage of IGBT faults at different positions in the same submodule has different distortions after the fault occurs, but the bridge arm voltage of IGBT faults at the same position in different submodules is extremely similar after the fault occurs, and it is also difficult to distinguish in time domain performance, and a more sophisticated feature extraction method is also needed for processing. The sliding window size is designed to be 2000 sampling points, and the sliding step is 250 sampling points. The bridge arm voltage signals under different fault categories can be divided into 313 samples in turn, and the total number of samples is 313×17=5321, which is recorded as the fault location IGBT data set 2.
[0195] Through the above divided sample data sets, two-dimensional texture image mapping is performed on the samples in the fault diagnosis bridge arm data set 1 and the fault location IGBT data set 2, as shown in FIG. Fig.13 Shown is the effect of the conversion of the 100th sample under the partial fault category.
[0196] Fig.13In both the fault diagnosis bridge arm dataset 1 and the fault location IGBT dataset 2, there are certain differences between different image pixels between various fault categories, but the differences are not significant or obvious. In the small sample fault diagnosis problem, such insignificant differences may reduce the diagnostic accuracy. For example, in dataset 1, under normal circumstances, the MTF image features of the bridge arm under phase A are similar, which can easily cause the diagnostic model to misjudge and fail to effectively diagnose the faulty bridge arm.
[0197] In order to make the diagnosis model obtain a higher accuracy in the MMC discrete fault diagnosis problem under small sample size, the four images under different fault categories are augmented and superimposed according to the channel dimension. That is, in the process of diagnosing the bridge arm, 313 multi-source fusion images can be generated under each bridge arm fault category, a total of 313×7=2191 multi-source fusion images, which are constructed as the fault bridge arm diagnosis data set 1; when the faulty bridge arm is successfully diagnosed and the faulty IGBT in the submodule is located, 313 multi-source fusion images are generated under each IGBT fault category, a total of 313×17=5321 multi-source fusion images, which are constructed as the submodule faulty IGBT location data set 2.
[0198] To avoid wasting computer computing power and speed up model training, the resolution of each multi-source fusion image is set to 80×80. In fault diagnosis problems, small samples usually refer to the case where the ratio of the number of training set samples to the total number of samples (training set + test set) is α≤0.5. Then, dataset 1 and dataset 2 are randomly divided into training set and test set at a ratio of 2:3, respectively, and the two do not interfere with each other for subsequent model training, storage and testing. Fig.14 and Fig.15 Shown are examples of multi-source fusion images in dataset 1 and dataset 2.
[0199] Fig.14 and Fig.15 In the results, when the MMC fails, no matter it is dataset 1 or dataset 2, the detailed description, color texture and line ratio in the multi-source fusion image are different, the fault features are clear and easy to identify, and the important features of the original fault signal are retained; compared with a single image, the multi-source fusion image has a very high degree of distinction between different fault categories, which is convenient for the subsequent training, storage and testing of the SE-BiGRU-ResNet diagnosis model; and fusing the features of 4 images into 1 image can reduce the transmission of data in the diagnosis model, which is convenient for improving the speed of the diagnosis model in identifying different faults.
[0200] MMC diagnosis and positioning results and comparative analysis: The platform parameters used in the experimental model are: Intel(R) Core(TM) i5-10200H processor, NVIDIA GeForce GTX 1650 graphics card, 16G memory, CPU and GPU hybrid training, deep learning framework Pytorch, programming language Python3.11. During the training process, the training set is randomly shuffled, the loss function is the cross entropy loss function, and the Adam gradient descent algorithm is used for parameter optimization. The number of iterations is 150, the learning rate is 0.001, and the learning rate is reduced by 10% every 10 iterations. The number of batch samples is 32. The parameters of the SE-BiGRU-ResNet diagnosis model are shown in Table 4.
[0201] Table 4 SE-BiGRU-ResNet model parameters
[0202]
[0203] 1. Experiment and result analysis
[0204] In order to verify the feasibility of the feature extraction method and diagnosis model of this embodiment under the condition of small samples, the fault bridge arm diagnosis and sub-module fault IGBT location experiments are carried out using Dataset 1 and Dataset 2 in Section 4.1. Dataset 1 and Dataset 2 are input into the SE-BiGRU-ResNet model, as shown in Figure 6 As shown in the figure, during the diagnosis model training process, as the number of iterations increases, the model accuracy increases rapidly during training, and the loss rate decreases rapidly. The accuracy and loss rate of data set 1 and data set 2 basically reach convergence when the number of iterations is the 100th and 50th, respectively. The best effect is achieved when the number of iterations is the 200th. The accuracy of data set 1 reaches 98.86%, and the loss rate reaches 0.03000. The accuracy of data set 2 reaches 100.00%, and the loss rate reaches 0.00075. At this moment, the training model has reached convergence and the fitting effect is very good. The 200th iteration model is saved as the target model for diagnosing the faulty bridge arm and locating the faulty IGBT.
[0205] In order to verify the generalization performance of the diagnostic model in the case of small samples, the test sets in data set 1 and data set 2 were respectively input into the saved target model, and the average test accuracy reached 98.10% and 99.03%, respectively. This embodiment uses a confusion matrix to quantitatively analyze the diagnostic results. The horizontal axis represents the prediction results of the diagnostic model, the vertical axis represents the true results of the MMC, the main diagonal elements represent the number of samples where the predicted results are the same as the true results, and the non-main diagonal elements are the number of misjudged samples. The darker the color, the higher the diagnostic accuracy of the fault category. The test diagnosis result confusion matrix is shown in the figure below: Fig.17 and Fig.18 As shown, Fig.17 and Fig.18 In both dataset 1 and dataset 2, samples under different fault categories can be correctly classified, the number of misjudged samples is very small, the classification accuracy is high, and the generalization ability is strong. The model classifies and diagnoses different fault types based on the abstraction and combination of features in the multi-source fusion graph. In the whole process, no complex coordinate transformation is required, nor is expert prior knowledge and manual debugging experience required, and the faulty bridge arm and the faulty IGBT in the submodule can be successfully diagnosed, that is, the method of this embodiment has certain feasibility in MMC fault diagnosis of small samples.
[0206] Considering the length of the diagnosis time, the time of offline training model will not affect the performance of the fault diagnosis system. The key is the time spent in the online fault diagnosis process. This embodiment inputs different test sets into the trained target model. It takes about 2.11 seconds to diagnose the faulty bridge arm and about 4.04 seconds to locate the faulty IGBT in the submodule. The model has a response time of seconds, which meets the needs of real-time diagnosis. In the future, the model can consider deploying the method of this embodiment in edge devices such as the Internet of Things and the Smart Internet, and perform online diagnosis and real-time monitoring when the actual MMC is running.
[0207] In order to further highlight the ability of the method in this embodiment to learn the characteristics of fault categories in different data sets, an unsupervised dimensionality reduction method called t-distributed Stochastic Neighbor Embedding (t-SNE) is introduced. This method is applied to high-dimensional feature visualization and sample clustering verification. The fault features at different stages are reduced to a two-dimensional plane through the t-SNE algorithm and visualized in the form of a two-dimensional scatter plot, which is convenient for observing different fault feature extraction stages. Fig.19 and Fig. 20 Shown are the results of t-SNE visualization of the unprocessed original data in the test set, the diagnostic model input layer, and the diagnostic model output layer under different data sets.
[0208] Fig.19 and Fig. 20In the example, since the original data has not been processed in any way, the distribution of various fault types is chaotic and cannot form effective clusters; after the original data has been subjected to the feature extraction method of this embodiment, various fault types can roughly form clusters, but they are still chaotic at the fault boundary; after the fault data has passed through the output layer of the SE-BiGRU-ResNet diagnostic model, the diagnostic model extracts and fully learns the fault features again, and various fault features have successfully completed separation and aggregation. In the output layer, it can be seen that the clustering of similar features and the separation of different features are very significant, that is, the effect of step-by-step feature extraction of the original data by the multi-source fusion graph and the SE-BiGRU-ResNet diagnostic model of this embodiment is very significant, and the effect of MMC fault classification is very good. The t-SNE visualization results further prove that the method proposed in this embodiment has high sensitivity and strong recognition ability for the diagnosis and location of IGBT open circuit faults in MMCs under small sample conditions.
[0209] 2. Ablation Experiment and Comparative Analysis
[0210] (1) Ablation experiment: To verify the advantages of the feature extraction method of this embodiment, the SE-BiGRU-ResNet diagnostic model is kept unchanged for the experiment. That is, schemes ①-④: RP, MTF, GASF and GADF algorithms are used to map out two-dimensional images as the input of the diagnostic model, and scheme ⑤: In order to highlight the superiority of the four-image augmentation and superposition conversion method according to the channel dimension, the four images are used as the input of the diagnostic model at the pixel level (horizontal splicing). According to the single variable principle, the RP, MTF, GASF and GADF image samples are directly used from the samples in data set 1 and data set 2 in Section 4.1, and the number of iterative training, the number of samples and the division method are consistent with the previous text. In order to evaluate the performance of fault diagnosis of different images, the accuracy A, precision P, recall rate R and F1 score F1 are selected as evaluation indicators, and the calculation method is as follows. The fault diagnosis performance evaluation indicators under different images are shown in Table 5.
[0211]
[0212] Where: T P represents the number of real samples predicted by the diagnostic model as real samples; T N represents the number of false samples predicted by the diagnostic model as false samples; F P represents the number of false samples predicted by the diagnostic model as true samples; F N Represents the number of true samples predicted by the diagnostic model as false samples.
[0213] Table 5 Evaluation indicators under different images
[0214]
[0215]
[0216] In Table 5, whether it is data set 1 or data set 2, the fault feature extraction method proposed in this embodiment is superior to other methods in different evaluation indicators, which shows that the four images contain richer fault features and obvious feature complementarity after channel dimension augmentation and superposition, and have the best effect in the recognition and classification of the diagnostic model. The multi-source fusion image can provide a more comprehensive complementary representation of signal features, so that the diagnostic model can simultaneously receive information mapped from different methods. Compared with a single mapping method, it can more comprehensively reflect the internal characteristics of the fault signal. This information complementarity helps the diagnostic model to make a more accurate diagnosis and classification. Splicing the four images at the pixel level will cause confusion in the feature space and mutual interference between information, especially in small samples. This interference is more obvious. Augmenting and fusing the four images at the channel dimension allows the diagnostic model to understand the potential connection between different features, while splicing at the pixel level cannot effectively capture the correlation between channels. The feature extraction method of this embodiment can effectively reduce the risk of overfitting of the diagnostic model under small samples.
[0217] (2) Comparative experiment: To verify the advantages of the SE-BiGRU-ResNet diagnostic model proposed in this embodiment, a comparative experiment was conducted to ensure that the feature extraction method remained unchanged. Five comparative experiments were conducted using the model of this embodiment and models ①-⑦: SE-ResNet, SE-LSTM-ResNet, SE-BiLSTM-ResNet, SE-GRU-ResNet, BiGRU-ResNet, SE-DSCNN and the deep confidence model. The samples in data set 1 and data set 2 in Section 4.1 were used as inputs for each model. The accuracy, precision, recall and F1 score were also used to measure the quality of the diagnostic model. The fault diagnosis performance evaluation indicators under different models are shown in Table 6.
[0218] Table 6 Evaluation indicators under different models
[0219]
[0220]
[0221] In Table 6, whether it is data set 1 or data set 2, the SE-BiGRU-ResNet diagnostic model proposed in this embodiment is superior to the model in different evaluation indicators. Compared with models ①, ②, ③ and ④, the introduction of the BiGRU module enables the diagnostic model to capture the forward and reverse information of the input sequence at the same time, fully understand the contextual information when processing complex time series data, and reduce the amount of calculation to a certain extent; compared with model ⑤, the introduction of the SE module enables the diagnostic model to adaptively calibrate the channel feature response, which helps it to better focus on important features and suppress redundant features; while in models ⑥ and ⑦, overfitting occurs due to insufficient data for training, and the simplification of the structure in the model makes it impossible to extract enough key features, resulting in a decrease in accuracy. The model of this embodiment combines the advantages of the SE module and the BiGRU module. On the basis of ResNet, it can not only adaptively adjust the feature response, but also capture the contextual information in the sequence, and avoid the problem of gradient disappearance or explosion. This model fusion method allows the SE-BiGRU-ResNet diagnostic model to more accurately identify key features in MMC fault diagnosis, thereby improving the diagnostic accuracy.
[0222] 3. Performance analysis of diagnostic methods under extreme conditions
[0223] In the actual operation of MMC, when a small sample occurs, there may be interference from extreme conditions such as sample imbalance and external noise. In order to verify the applicability of the method of this embodiment under extreme conditions, the following experiments are conducted:
[0224] (1) In the MMC fault diagnosis process, the IGBT fault type has great harm after it occurs, but the probability of occurrence is very small. It is difficult to collect a large number of fault samples, which will make the number of normal samples and the number of fault samples unbalanced, making it difficult to explore the internal fault rules. In order to better meet the MMC fault diagnosis under real working conditions, the training data simulates the sample imbalance data under real working conditions for experiments. According to the frequency of occurrence of different types of faults in MMC, the data sets 1 and 2 in Section 4.1 are reallocated to 300 groups of normal states and 150 groups of each of the other fault categories, for a total of 200+150×17=2750 groups of multi-source fusion images, which are randomly divided at a ratio of 2:3 and sent to the SE-BiGRU-ResNet diagnosis model for training and testing. The training and test results under the imbalanced data set are shown in the figure. Fig.21 shown.
[0225] Fig.21In the diagnostic model training process, as the number of iterations increases, the model accuracy increases rapidly during training, and the loss rate decreases rapidly. When the number of iterations for Dataset 1 and Dataset 2 is 100 and 75, respectively, the accuracy and loss rate basically tend to be stable and reach a convergence state. The best effect is achieved when the number of iterations is 200. The accuracy of Dataset 1 reaches 98.63%, and the loss rate reaches 0.03536. The accuracy of Dataset 2 reaches 100.00%, and the loss rate reaches 0.00367. At this moment, the training model has reached convergence and the fitting effect is very good. After the training is completed, the average test accuracy of Dataset 1 and Dataset 2 reaches 97.58% and 98.01%, which is only 0.52% and 1.02% lower than the test accuracy under non-extreme conditions. During the test, the confusion matrix shows that the recognition accuracy of various faults of the method proposed in this embodiment is relatively high under the condition of sample imbalance, and the misjudgment rate is low. The location of the faulty IGBT can be accurately diagnosed, which proves that the proposed MMC fault diagnosis method also has good generalization performance and adaptability for the imbalance problem under small samples.
[0226] (2) As one of the core devices in the power system, the working environment of MMC is not ideal. The vibration and friction of internal components will generate noise. The collected electrical signals are easily contaminated during the fault diagnosis process. Therefore, there are certain requirements for the anti-noise ability of the diagnosis model. In order to verify the robustness and adaptability of the diagnosis model of this embodiment in actual work, the multi-source fusion graph in Section 4.1 is selected, and Gaussian white noise with different signal-to-noise ratios is added to the data set to simulate the noise in actual work. The signal-to-noise ratio (SNR) is shown in formula (19):
[0227]
[0228] Where: P s and P n Represents the power of the original signal and the noise signal; SNR dB The signal-to-noise ratio is the larger the value, the less the signal is affected by noise.
[0229] Noise signals of -5dB, 0dB, 5dB and 10dB were selected and added to the data set to train and test the model of this embodiment and the model in the comparative experiment in Section 4.2.1. The number of iterative training times, the number of samples and the division method were consistent with the previous text. The experiment was tested 5 times and the average accuracy was calculated. The results are shown in Table 7.
[0230] Table 7 Analysis of noise resistance performance of different models
[0231]
[0232] In Table 7, under different noise backgrounds, the accuracy of the model of this embodiment is higher than that of other models. When SNR = -5dB, the average accuracy of the model of this embodiment in diagnosing the faulty bridge arm and locating the faulty IGBT is 84.17% and 80.06%, which is much higher than other models. With the increase of SNR, the average accuracy of other models has increased to varying degrees, but it is still not as good as the model of this embodiment, because the combination of the multi-source fusion graph and the SE-BiGRU-ResNet model proposed in this embodiment can fully extract fault information, abandon redundant information interference, and reduce noise interference to a certain extent, so that it can obtain better noise resistance. Therefore, it can be seen from the experiment that the method proposed in this embodiment can realize effective diagnosis after the IBGT open circuit fault occurs in the MMC, and has strong noise resistance.
[0233] Conclusion
[0234] This embodiment introduces feature fusion and deep learning into MMC fault diagnosis, and proposes an MMC open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet diagnostic model. It solves the problems of low model generalization ability, reduced accuracy and inability to accurately locate the faulty IGBT in the MMC fault diagnosis process due to lack of sufficient target domain samples. It can provide diagnostic ideas for IGBT open circuit fault problems in related symmetrical converters. The following conclusions are drawn:
[0235] 1) In order to solve the problem that there are too many sub-modules in MMC fault diagnosis, which leads to huge calculation amount and difficulty in accurately locating the faulty IGBT of the sub-module, a discrete fault diagnosis method is proposed. By reasonably selecting the fault parameters, it not only avoids the dimensionality disaster and reduces the calculation amount, but also achieves accurate positioning.
[0236] 2) In the case of small samples, due to the lack of training samples, a multi-source fusion image is innovatively introduced to augment and fuse the single mapped fault image according to the channel dimension, realizing the complementary and enhanced display of MMC multi-channel fault features, enhancing the quality of training samples, and providing a rich feature basis for subsequent diagnostic models.
[0237] 3) Based on ResNet, the SE module and BiGRU module are combined to build a small sample MMC fault diagnosis model based on the SE-BiGRU-ResNet model. The dual-branch structure in ResNet extracts effective fault features from different scale spatial perspectives, effectively solving the problems of gradient explosion and network parameter degradation; it is serially fused with the SE module to reduce the interference of redundant information and achieve the complementarity of local feature details; finally, the BiGRU module is used to extract global time information, which greatly improves the diagnosis accuracy. In addition, the model test time is short, the fault location can be quickly locked, and the sub-module can be removed before the IGBT open circuit fault causes substantial damage.
[0238] 4) The MMC fault diagnosis method proposed in this embodiment can cope well with the impact of small sample conditions. Compared with other methods, it has higher diagnostic accuracy for fault types and stronger anti-disturbance capability. It can be put into actual MMC operation for online diagnosis and real-time monitoring.
[0239] Subsequent work can use fault data from real MMC circuits to verify the universality of the proposed method, so as to broaden the application of artificial intelligence algorithms in the field of power system fault diagnosis.
[0240] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for diagnosing open circuit faults of MMC submodules based on multi-source fusion graph and SE-BiGRU-ResNet model, characterized in that: The RP, MTF, GADF and GASF algorithms are respectively used for the one-dimensional fault signal to obtain the corresponding two-dimensional image, and the two-dimensional image is overlapped by channel, and the channel dimension is augmented and fused to obtain a multi-source fusion image; the SE-BiGRU-ResNet diagnosis model is constructed to process the multi-source fusion image to obtain the fault diagnosis result; the SE-BiGRU-ResNet diagnosis model includes a basic convolution module, an improved ResNet module, an SE module and a BiGRU module; the basic convolution module is used to extract the preliminary fault features of the multi-source fusion image, and the preliminary fault features are introduced into the dual branches of the improved ResNet module; The ResNet module is used to use the dual-branch road to form a corresponding mapping to learn different weights, realize the complementary characteristics of the dual-branch roads, extract the fault coupling characteristics and input them into the SE module; the SE module is used to enhance the generalization performance of the model, and input the fault characteristics into the BiGRU module after Flattening; the BiGRU module is used to extract the forward and reverse timing information of the fault.
2. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: The SE module includes a convolutional part F tr (·,θ), the compressed part F sq (·), the excitation part F ex (·,w) and the reconstruction part F scale (·); The compression part compresses the features of the input signal by global average pooling, satisfying the following formula: Where: u c is the feature map obtained after the convolution operation, c is the convolution kernel number; H and W are the height and width of the feature map; i and j are the rows and columns of the feature map; u c (i, j) is the input signal; Z c To compress some output; The excitation part learns the nonlinear relationship between feature channels through the parameter W and updates the weights of all feature channels to satisfy the following formula: s=F ex (z,w)=σ[g(z,w)]=σ[w2δ(w1z)] Where: σ is the Sigmoid activation function; g is the nonlinear activation; w1 and w2 are the fully connected layer parameters c 2 / r; δ is the ReLU function; s is the channel attention feature weight; The reconstruction part weights the output of the excitation part to the original feature channel by channel through the dot product to achieve the recalibration of the original feature channel, satisfying the following formula: Where: feature weight s c ∈(0,1);u c is the characteristic channel.
3. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: The residual unit of the improved ResNet module is: y i =h(x i )+F(x i ,ω i ) x i+1 {ReLU(y i ) In the formula, x i is the feature of the input image of the i-th residual unit, x i+1 is the output feature, when y i With x i When the dimensions are the same, h(x i ) is an identity connection, that is, h(x i )=x i When y i With x i When the dimensions are different, h(x i ) is x i The linear mapping h(x i )=λ×x i ,F(x i ,ω i ) is the residual function, F(x i ,ω i )=ReLU(x i ×ω i +b i ) Where: i is the weight and bias of the i-th residual unit; b i is the bias; ReLU is the activation function; The residual unit gradient is: In the formula, ε is the loss function, x L Input features for residual units at any depth, gradient It can be divided into two parts, It means that information is not propagated through the weight layer, so that the information of ε can be back-propagated to any shallower unit and the weight is guaranteed to be arbitrarily small.
4. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: The BiGRU module includes a forward GRU network and a reverse GRU network, which are responsible for capturing historical information and future information respectively; wherein the GRU network satisfies the following formula: Where: r t is the reset gate of the GRU network, z t is the update gate of the GRU network, x t is the input at time t, h t-1 is the output of the previous moment, W is the weight matrix; b is the bias vector; ⊙ is the dot multiplication operation; σ and tanh are activation functions.
5. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: The conversion process of the RP algorithm is: For a time series signal X with N time points, i ,…,x N } is normalized to obtain The normalization formula is: right Perform phase space reconstruction, and the reconstructed sequence is: u i =(x i ,x i+f ,…,x i+(e-1)f ) Where: e is the embedding dimension; f is the delay time; The elements of the RP matrix R are defined as follows: R i,j =Θ(x ε -||u i -u j ||)i,j=1,2,…,n Where: x ε is to set the threshold; ||·|| is the ∞-vector norm; Θ(·) is the Heaviside step function; R is composed of 0 and 1, 0 means no recursive state, 1 means recursive state. The relevant elements in R are plotted with i and j as the horizontal and vertical coordinates to obtain a two-dimensional image after the RP algorithm.
6. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: The transformation process of the MTF algorithm is: For a time series signal X with N time points, i ,…,x N } is normalized to obtain The normalization formula is: Will The signal amplitude at different times is divided into Q quantile regions, each region is represented by q i (i=1,2,···,Q), each data point Mapping corresponding area q i (i∈[1,Q]), calculate the data points before and after and From area q i to q j The probability size of each probability P is used as the adjacent weighted matrix element wi j , sort the probabilities along the time axis to obtain a Markov transfer matrix W of size n×n, Where: q j (j∈[1,n]) and w ij The quantiles q i and q j The probability of approaching On the basis of W, the influence of spatial and temporal factors is strengthened and expanded to M across time scales. Where: m ij is the quantile q i Transfer to q j The transition probability.
7. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: The transformation process of the GAF algorithm is: For a time series signal X with N time points, i ,…,x N } is normalized to obtain The normalization formula is: One-dimensional time series The data is mapped to the polar coordinate system and converted into a vector. The conversion formula is: Where: θ i is the polar angle of point i; r i is the polar radius of point i; n is the spatial regularization constant; Define the Gram matrix G: Where: G represents the Gram matrix; <·> represents the inner product; GASF and GADF can be obtained by the following trigonometric chord function and difference calculations: Where: φ i (i=1,2,…,n) is the i-th sequence angle.
8. The MMC submodule open circuit fault diagnosis method based on multi-source fusion graph and SE-BiGRU-ResNet model as claimed in claim 1, characterized in that: Before diagnosis, the model is trained, including the following steps: The experimental platform is used to simulate 7 bridge arm operating states, and the output phase current i under different bridge arm faults is jo The sample is taken as the original signal of the bridge arm for diagnosis. After the bridge arm where the MMC fails is determined, the faulty bridge arm is taken as the diagnosis object. The operating state of the IGBT in 17 submodules in the bridge arm is simulated based on the experimental platform. The bridge arm voltage u under different IGBT faults is analyzed. jp Sampling is performed and used as the original signal for locating the faulty IGBT; will i jo and u jp Normalization is performed, i under different fault categories jo and u jp The original current sample data set 1 and the original voltage sample data set 2 are obtained by segmenting and constructing the samples through the sliding window feature extraction algorithm; The original current data samples and the original voltage data samples are transformed and mapped using the RP, MTF, GADF and GASF algorithms respectively to generate RP, MTF, GADF and GASF graphs, and the four graphs are augmented and fused into a multi-source fusion graph according to the channel dimension; after preprocessing the multi-source fusion graph, the fault bridge arm diagnosis dataset 1 and the fault IGBT location dataset 2 are obtained, and the dataset 1 and the dataset 2 are randomly divided into a training set and a test set; The training set is used to train the SE-BiGRU-ResNet diagnostic model, and the test set is used to evaluate the trained SE-BiGRU-ResNet diagnostic model. The parameters of the SE-BiGRU-ResNet diagnostic model are adjusted to repeat training and testing until the evaluation results meet the requirements, thus completing the training of the SE-BiGRU-ResNet diagnostic model.
Citation Information
Cited By
Sparse modular multilevel matrix converter topology, design and control method
CN119362905A
Sparse modular multilevel matrix converter topology, design and control method
CN119362905B
Secondary screen cabinet wiring terminal alternating current and direct current voltage identification circuit and separation and classification method
CN119471488A
Mechanical equipment fault diagnosis model construction method, mechanical equipment fault diagnosis method, mechanical equipment fault diagnosis system and mechanical equipment fault diagnosis equipment
CN119494022A
Reactor partial discharge diagnosis method based on multi-source feature fusion and deep network
CN120011863A
