Modular multilevel converter sub-module capacitor fault monitoring method based on improved convolutional neural network

By improving the convolutional neural network and whale optimization algorithm, a capacitor aging monitoring model for modular multi-level converters is constructed, which solves the problem of voltage quality degradation and system paralysis caused by the aging of sub-module capacitors, and improves the accuracy of monitoring. sex and real-time.

CN118731527AActive Publication Date: 2024-10-01FUZHOU UNIV

Patent Information

Application Number
CN202410718065.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

The aging of sub-module capacitors in modular multi-level converters leads to a decrease in voltage quality, which may cause system paralysis. Existing monitoring methods have flaws in hardware reliability and real-time performance, making it difficult to effectively monitor a high number of sub-modules.

Method used

Using an improved convolutional neural network combined with a gated recurrent unit (CNN-GRU) and a whale optimization algorithm, an accurate capacitor aging monitoring model is constructed by extracting aging features and optimizing the learning rate, regularization coefficient and learning rate reduction factor.

Benefits of technology

It improves the accuracy of sub-module capacitor aging monitoring in the MMC system, avoids problems such as power quality degradation and system paralysis, and realizes real-time online monitoring of the MMC system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118731527A_ABST
    Figure CN118731527A_ABST
Patent Text Reader

Abstract

The invention relates to a modular multilevel converter sub-module capacitor fault monitoring method based on an improved convolutional neural network, and belongs to the field of capacitor fault monitoring. The method comprises the following steps of: firstly, extracting corresponding aging characteristics for the capacitor voltage of the sub-module under an aging condition according to the characteristics of the capacitor voltage of the sub-module; secondly, constructing a network architecture in which a convolutional neural network is combined with a gating circulation unit (CNN-GRU), preventing overfitting in combination with an Adam algorithm, batch normalization processing (BN) and other modes, and judging the accuracy of the method in combination with an aged capacitance label; and finally, taking the accuracy rate as a target function, optimizing a learning rate, a regularization coefficient and a learning rate decline factor in the CNN-GRU network by using a whale optimization algorithm (WOA), and substituting a result obtained through the optimization algorithm into a corresponding network, so that relatively high accuracy rate can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of capacitor fault monitoring, and in particular relates to a modular multi-level converter submodule capacitor fault monitoring method based on an improved convolutional neural network. Background Art

[0002] Modular multilevel converter (MMC) has become an important topological structure of high-voltage direct current transmission technology due to its advantages such as high voltage output waveform quality and modularization. The sub-modules of MMC are mainly full-bridge structure and half-bridge structure, and the main components of both are insulated gate bipolar transistors and capacitors. Each load operation of the capacitor in the sub-module will have a certain impact on its own capacitance and equivalent resistance. Over time, when the capacitor in the module ages to 80% of its rated capacitance (equivalent resistance is twice the initial value), the capacitor fails. If regular inspections are not carried out, the overall power quality of the MMC system may be degraded, and even a major accident of paralysis of the MMC system may occur. It is very meaningful to conduct real-time online monitoring of the capacitors in the sub-modules of the MMC system to maintain the safe and stable operation of the overall MMC system and ensure power quality.

[0003] At present, there are methods for monitoring the status of MMC capacitors, such as combining hardware monitoring and reference sub-modules, but these methods have raised doubts about the reliability of hardware; in addition, in actual MMC systems, the number of sub-modules on the bridge arm is as high as hundreds, and it is impossible to guarantee real-time online monitoring of the MMC system. At the same time, some scholars monitor the charging and discharging characteristics of the capacitor itself and use artificial intelligence algorithms for monitoring, but these often need to consider the influence of external factors such as noise, temperature, high-frequency harmonics, and system errors and random errors in the sampling process. Summary of the invention

[0004] The purpose of the present invention is to provide a modular multilevel converter submodule capacitor fault monitoring method based on an improved convolutional neural network to address the problem that the aging of submodule capacitors in a modular multilevel converter causes a degradation in submodule voltage quality, which in turn leads to a degradation in output AC voltage quality, and even causes the entire system to crash.

[0005] To achieve the above object, the technical solution of the present invention is: a method for monitoring capacitor faults of modular multi-level converter submodules based on an improved convolutional neural network, comprising:

[0006] According to the characteristics of the capacitor voltage of the submodule of the modular multilevel converter, the corresponding aging characteristics are extracted for the capacitor voltage of the submodule under aging conditions;

[0007] Construct a convolutional neural network combined with a gated recurrent unit CNN-GRU network, and combine it with the aging capacitor label to determine the accuracy of the constructed network;

[0008] Taking accuracy as the objective function, the whale optimization algorithm (WOA) is used to optimize the learning rate, regularization coefficient and learning rate reduction factor in the CNN-GRU network to achieve accurate monitoring of sub-module capacitor aging.

[0009] In one embodiment of the present invention, the method is implemented in the following steps:

[0010] Step 1: Preliminary preprocessing of data: preprocessing the feature data of the modular multilevel converter submodule capacitors to be processed; confirming the number of categories, feature dimensions and number of samples of the feature data to be processed, and shuffling the data set; and dividing the proportional coefficient to confirm the corresponding training set and test set;

[0011] Step 2: Perform secondary processing on the preprocessed data: normalize the preprocessed data, flatten the data after processing, and complete the corresponding data format conversion;

[0012] Step 3: Establish a convolutional neural network combined with a gated recurrent unit CNN-GRU network: The structure of the convolutional neural network combined with a gated recurrent unit CNN-GRU network includes a sequence folding / anti-folding layer, an input layer, a convolutional layer, a batch normalization layer, a pooling layer, a GRU layer, a fully connected layer, and an output layer;

[0013] Step 4: Set parameters and build a fitness function: After building a convolutional neural network combined with a gated recurrent unit CNN-GRU network, determine that the parameters to be optimized are the learning rate, regularization parameter, and learning rate reduction factor, and build a fitness function;

[0014] Step 5: Use the whale optimization algorithm and set relevant parameters to optimize the convolutional neural network combined with the gated recurrent unit CNN-GRU network.

[0015] In one embodiment of the present invention, in step 2, the characteristic data of the capacitors of the modular multi-level converter submodules include wavelet decomposition characteristics, a maximum value of a differential capacitor voltage, and a periodic integral value of the differential capacitor voltage.

[0016] In one embodiment of the present invention, in step 3, the convolution layer is composed of multiple feature surfaces, each feature surface is composed of multiple neurons, and each neuron of each feature surface is connected to the local area of ​​the feature surface of the previous layer through a convolution kernel; the convolution kernel is a weight matrix; the convolution layer extracts different features of the input through a convolution operation, the convolution layer of the first layer extracts low-level features, and the convolution layer of a higher layer extracts higher-level features. The entire convolution process is in accordance with the following formula:

[0017]

[0018] Where: Represents the output value of the vth neuron in the output feature surface u in the convolutional layer; Represents the output value of the nth neuron in the input feature surface m; ω a(i)b(j) represents the connection weight between the i-th neuron in the input feature plane a and the j-th neuron in the output feature plane b; b i represents the bias of the output feature surface i; f cov represents the activation function.

[0019] In one embodiment of the present invention, in step 3, the batch normalization layer makes the input distribution of each layer of the network more stable by forcibly pulling the distribution of the input value of any neuron in each layer of the neural network back to a standard normal distribution with a mean of 0 and a variance or standard deviation of 1. The corresponding related expressions are as follows:

[0020]

[0021] Where: x i represents the output result of the previous layer (convolutional layer); m is the size of batch normalization; μ n is the mean of the batch number; σ n is the standard deviation after batch data processing; ε is a small value to prevent the denominator from becoming 0; Represents the output result after batch normalization; γ and β are the parameters of the transformation that scales and translates the normalized data. Initially, γ = 1 and β = 0. γ and β can be adjusted through learning.

[0022] In one embodiment of the present invention, in step 3, the input of the pooling layer comes from multiple feature maps in the convolutional layer, and the feature maps in the pooling layer and the feature maps in the convolutional layer are Figure 1 One-to-one correspondence, the number of feature maps remains unchanged; the neurons in the pooling layer are connected to the local receptive fields in the input layer, so that each neuron only processes a small part of the input data, and the input areas of different neurons do not overlap; pooling includes maximum pooling and average pooling, and the maximum pooling formula is as follows:

[0023] m i(x,b) =max (b-1)ω<t<bω {o i(x,t)}b∈1,2,...,p

[0024] Among them: i(x,t) represents the tth neuron of the xth mapping map in the i-th layer; ω represents the width of the convolution kernel; b represents the b-th pooling kernel, with a total of p.

[0025] In one embodiment of the present invention, in step 3, the GRU layer includes a reset gate r and an update gate z to control the information flow, and can learn to retain important information and discard irrelevant information; specifically, the reset gate r is used to adjust the combination of the previous memory and the new input, and the update gate is used to determine the amount of the previous memory to be retained. The GRU related formula is as follows:

[0026] z t =σ(W z x t +U z h t-1 )

[0027] r t =σ(W t x t +U t h t-1 )

[0028]

[0029]

[0030] Where: σ(.) represents the activation function; z t Represents the value of the update gate in the current state; r t It means resetting the gate value in the current state; is the cell value, which aims to discard irrelevant historical information and represents the input x t and the past hidden state h t-1 Summary of h t Represents the output of the hidden layer. z , W z , U t , W t , U and W are trainable parameter matrices, and the model parameters including U and W are shared in each time step.

[0031] In one embodiment of the present invention, in step 3, there are one or more fully connected layers. In the fully connected layer, each neuron is fully connected to all neurons in the previous layer. The output of the last fully connected layer is transmitted to an output layer, and Softmax logistic regression is used for classification, which is called the Softmax layer. The Softmax function corresponds to the following:

[0032]

[0033] Where: As the input vector of the Softmax function, (x0,x1,...,x k ) composition; x i The elements of the input vector of the Softmax function can take any real value; As a standard exponential function, applied to each element of the input vector; the formula is the normalization term, which ensures that all output values ​​of the function sum to 1 and that each value is in the range (0,1) to constitute a valid probability distribution.

[0034] In one embodiment of the present invention, in step 4, the fitness function formula is as follows:

[0035]

[0036] In the fitness function, represents the accuracy of the training set, T_sim1 represents the result of the training set after training; T_train represents the original result of the training set; length(T_train) represents the number of training sets for this training;

[0037] Overall, The larger it is, the smaller the fitness function is, and the more likely it is to achieve the desired effect.

[0038] In one embodiment of the present invention, in step 5, the whale optimization algorithm includes:

[0039] (1) Surrounding prey: Humpback whales are able to identify the location of prey and surround them. Since the location of the optimal design in the search space is a priori unknown, WOA assumes that the current best candidate solution is the target prey or close to the optimal one. After defining the best search agent, other search agents will try to update their positions to the best search agent, which can be expressed as the following formula:

[0040]

[0041] Where: represents the intermediate variable of the calculation process; t represents the current iteration, and is the coefficient vector, is the position vector of the best solution obtained so far, is the position vector, || is the absolute value, and · is the element-wise multiplication; where and The expression is as follows:

[0042]

[0043] Where: It means that it decreases linearly from 2 to 0 during the iteration process. The expression is: i represents the current number of iterations, and M represents the maximum number of iterations; is a random vector in [0,1];

[0044] (2) Bubble net attack mode: Two mathematical models are established based on the bubble net foraging behavior of humpback whales:

[0045] (2.1) Shrinkage and encirclement mechanism: By reducing The value in is realized. As a decreases, the range of A will also decrease. Specifically, if the random number A is set between [-1,1], the search position of the new whale group individual is defined as any position between the current whale group individual position and the best whale group individual position.

[0046] (2.2) Spiral update mechanism: First, the distance between the location of the whale population and the location of the target prey is determined, and then a spiral equation is created between the locations of the whale and the prey to simulate the spiral movement of the humpback whale. The specific formula is as follows:

[0047]

[0048] Where: represents the distance from the i-th whale to the prey; b is a constant that defines the shape of the logarithmic spiral, l is a random number in [-1,1]; · is an element-by-element multiplication;

[0049] Humpback whales swim around their prey in a shrinking circle and along a spiral path at the same time; to model this simultaneous behavior, a 50% probability is assumed to be chosen between the shrinking surround mechanism or the spiral model to update the whale's position during optimization, as expressed below:

[0050]

[0051] Where: p is a random number between [0,1];

[0052] (3) Prey search mechanism: In addition to the bubble net attack mode, humpback whale groups will randomly search for prey based on each other's positions; using random values ​​greater than 1 or less than -1 To force the search agent to stay away from the reference whale and explore more suitable prey, enhance the algorithm's search and predation capabilities, and enable WOA to perform global search. The entire process is expressed as follows:

[0053]

[0054] Where: is a random position vector selected from the current population;

[0055] (4) Setting the upper and lower limits of the target and other related coefficients: After the whale optimization algorithm is completed, the upper and lower limits of the learning rate, regularization coefficient, and learning rate reduction factor are set, and the number of iterations is set to 200. The coefficients of the three are determined by taking the minimum value of the fitness function as the target, and the coefficients are brought into the CNN-GRU network to achieve accurate monitoring of sub-module capacitor aging.

[0056] Compared with the prior art, the present invention has the following beneficial effects: a modular multi-level converter sub-module capacitance monitoring method based on an improved convolutional neural network can improve the accuracy of sub-module capacitance aging monitoring in MMC, and solve a series of problems such as aging of sub-module capacitance when MMC operates at a low frequency stage, which leads to a decrease in power quality or even system paralysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is the equivalent circuit diagram of modular multilevel converter.

[0058] Figure 2 This is the network structure diagram of the Convolutional Neural Network-Gated Recurrent Unit (CNN-GRU).

[0059] Figure 3 This is the flow chart of the CNN-GRU neural network.

[0060] Figure 4 The figure is the overall fault diagnosis flowchart. DETAILED DESCRIPTION

[0061] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings.

[0062] The present invention provides a method for monitoring capacitor faults of submodules of a modular multilevel converter based on an improved convolutional neural network, comprising:

[0063] According to the characteristics of the capacitor voltage of the submodule of the modular multilevel converter, the corresponding aging characteristics are extracted for the capacitor voltage of the submodule under aging conditions;

[0064] Construct a convolutional neural network combined with a gated recurrent unit CNN-GRU network, and combine it with the aging capacitor label to determine the accuracy of the constructed network;

[0065] Taking accuracy as the objective function, the whale optimization algorithm (WOA) is used to optimize the learning rate, regularization coefficient and learning rate reduction factor in the CNN-GRU network to achieve accurate monitoring of sub-module capacitor aging.

[0066] The following is the specific implementation process of the present invention.

[0067] like Figure 4As shown, the present invention provides a method for monitoring capacitor faults of modular multi-level converter submodules based on an improved convolutional neural network, comprising the following steps:

[0068] Step 1: Preliminary data preprocessing. Preprocess the characteristic data of the submodule capacitor to be processed ( Figure 1 is the equivalent circuit diagram of modular multi-level converter). (The data here are mainly wavelet decomposition features, maximum value of differential capacitor voltage and periodic integral value of differential capacitor voltage) Confirm the number of categories, feature dimensions and number of samples of the data to be processed, and shuffle the data set; at the same time, divide the proportional coefficient to confirm the corresponding training set and test set.

[0069] Step 2: Perform secondary processing on the preprocessed data. Normalize the preliminarily processed data, flatten the data after processing (here the data is flattened into 1D data), and complete the corresponding data format conversion.

[0070] Step 3: Establish a neural network model. Figure 2 , 3 As shown in the figure, the network model structure here mainly includes sequence folding / unfolding layer, input layer, convolution layer, batch normalization layer, pooling layer, GRU layer, fully connected layer and output layer. Here we mainly talk about the convolution layer, batch normalization layer, pooling layer, GRU layer and fully connected layer in the CNN-GRU network.

[0071] Content 1: Convolutional layer. The convolutional layer is composed of multiple feature surfaces, each of which is composed of multiple neurons. Each of its neurons is connected to the local area of ​​the feature surface of the previous layer through the convolution kernel. The convolution kernel is a weight matrix. The convolution layer of CNN extracts different features of the input through convolution operations. The first convolution layer extracts low-level features such as edges, lines, and corners. The higher convolution layers extract higher-level features, and two-dimensional and three-dimensional CNNs can be expanded accordingly. The entire convolution process can be described in the following formula:

[0072]

[0073] Where: Represents the output value of the vth neuron in the output feature surface u in the convolutional layer; Represents the output value of the nth neuron of its input feature surface m; ω a(i)b(j) represents the connection weight between the i-th neuron of the input feature surface a and the j-th neuron of the output feature surface b; b i represents the bias of the output feature surface i; f covRepresents the activation function. Generally speaking, the activation function uses a saturated nonlinear function, such as the Sigmoid function. However, in contrast, an unsaturated nonlinear function can alleviate the gradient explosion / vanishing gradient problem to a certain extent, and can also speed up the convergence speed. Therefore, the ReLU function is used as the activation function in the convolution part of this CNN structure.

[0074] Content 2: Batch Normalization Layer (BN Layer). Batch normalization is often performed between convolution and ReLU activation functions. By forcibly pulling the distribution of input values ​​of any neuron in each layer of the neural network back to a standard normal distribution with a mean of 0 and a variance (standard deviation) of 1, the input distribution of each layer of the network is made more stable. The corresponding expressions are as follows:

[0075]

[0076]

[0077] Where: x i represents the output result of the previous layer (convolutional layer); m is the size of batch normalization; μ n is the mean of the batch number; σ n is the standard deviation after batch data processing; ε is a small value to prevent the denominator from becoming 0; represents the output result after batch normalization; and the last formula is the transformation of scaling and translating the normalized data, γ and β are parameters. At the beginning, γ = 1, β = 0, and then adjusted to appropriate values ​​through learning. Through batch normalization operation, the problem of changing the distribution of intermediate layer data during training can be solved, preventing the gradient from disappearing or exploding, and speeding up the training speed.

[0078] Content 3: Pooling layer. The input of the pooling layer comes from multiple feature maps in the convolution layer. Each feature map in the pooling layer corresponds to a feature map in the convolution layer, and the number of feature maps remains unchanged. The neurons in the pooling layer are connected to the local receptive field in the input layer, so that each neuron only processes a small part of the input data, and the input areas of different neurons do not overlap. The main purpose of the pooling layer is to reduce the resolution of the feature map, thereby extracting features with spatial invariance, which is equivalent to performing secondary feature extraction on the output of the convolution layer.

[0079] Usually, pooling includes maximum pooling and average pooling, among which maximum pooling has the best effect and is widely used. Its formula is as follows:

[0080] m i(x,b) =max (b-1)ω<t<bω {o i(x,t)}b∈1,2,...,p

[0081] Among them:i(x,t) represents the tth neuron of the xth mapping map in the i-th layer; ω represents the width of the convolution kernel; b represents the b-th pooling kernel, with a total of p.

[0082] Content 4: Gated recurrent neural network unit layer (GRU layer). GRU has a similar network structure to LSTM, but compared to the disadvantage of LSTM's complex internal structure that leads to a long training time, GRU can ensure that the training parameters are reduced while also ensuring prediction accuracy. GRU mainly includes reset gate r and update gate z to control the flow of information, and can learn to retain important information and discard irrelevant information. Specifically, the reset gate r is used to adjust the combination of the previous memory and the new input, and the update gate is used to determine the amount of previous memory to retain. Therefore, GRU can make full use of the useful information of long-chain sequence input for prediction and avoid long-term dependency problems. The relevant formulas for GRU are as follows:

[0083] z t =σ(W z x t +U z h t-1 )

[0084] r t =σ(W t x t +U t h t-1 )

[0085]

[0086] Where: σ(.) represents the activation function, usually the Sigmoid function; z t Represents the value of the update gate in the current state; r t It means resetting the gate value in the current state; is the cell value, which aims to discard irrelevant historical information and represents the input x t and the past hidden state h t-1 Summary of h t represents the output of the hidden layer; U z , W z , U t , W t , U and W are trainable parameter matrices. It should be noted that the model parameters including U and W are shared in each time step, which reduces the total number of training parameters. The specific forms of the Sigmoid function and the tanh function are as follows:

[0087]

[0088] Content 5: Fully connected layer. In the CNN structure, after multiple convolutional layers and pooling layers, one or more fully connected layers are usually connected. In the fully connected layer, each neuron is fully connected to all neurons in the previous layer. This design can integrate local information with category distinction capabilities in the convolutional layer or pooling layer. In order to improve the performance of the CNN network, the ReLU function is usually used as the activation function of each neuron in the fully connected layer. The output value of the last fully connected layer will be passed to an output layer, which usually uses Softmax logistic regression for classification. This layer can also be called the Softmax layer. The Softmax function corresponds to the following:

[0089]

[0090] Where: As the input vector of the function, (x0,x1,...,x k ), and x i The elements of the input vector of the Softmax function can take any real value; as a standard exponential function, applied to each element of the input vector; while the formula is a normalization term that ensures that all output values ​​of the function sum to 1 and that each value is in the range (0,1) and thus constitutes a valid probability distribution.

[0091] Step 4: Set unknown parameters & build fitness function. After building a rough CNN-GRU neural network, you need to set the parameters. Manual parameter adjustment often requires consideration of many factors, and the debugging process will be too lengthy. Therefore, in order to quickly determine the corresponding parameters and achieve effective capacitor fault monitoring, the parameters to be optimized this time are the learning rate, regularization parameter, and learning rate reduction factor. The fitness function is based on the accuracy of the training set, and a fitness function related to the accuracy of the training set is constructed. The specific formula can be as follows:

[0092]

[0093] In this fitness function, represents the accuracy of the training set, T_sim1 represents the result of the training set obtained after training; T_train represents the original result of the training set; length(T_train) represents the number of training sets for this training.

[0094] On the whole, The larger it is, the smaller the fitness function is, and the more likely it is to achieve the desired effect.

[0095] Step 5: Use the whale optimization algorithm and set relevant parameters for optimization. This algorithm imitates the humpback whale's "spiral bubble net" strategy, using shrinking encirclement, spiral position update and random hunting mechanism in the foraging process. It has the characteristics of simple structure, few parameter adjustments, fast convergence speed and strong global optimization ability.

[0096] The algorithm mainly includes three aspects: surrounding prey, bubble net attack and searching for prey.

[0097] Content 1: Surrounding prey. Humpback whales can identify the location of prey and surround them. Since the location of the optimal design in the search space is a priori unknown, the WOA algorithm assumes that the current best candidate solution is the target prey or close to the optimal. After the best search agent is defined, other search agents will try to update their positions to the best search agent. This behavior is represented by the following formula:

[0098]

[0099] Where: represents the intermediate variable of the calculation process; t represents the current iteration, and is the coefficient vector, is the position vector of the best solution obtained so far, is the position vector, || is the absolute value, and · is the element-by-element multiplication. It is worth mentioning here that if there is a better solution, it should be updated in each iteration. and The expression is as follows:

[0100]

[0101] Where: It decreases linearly from 2 to 0 during the iteration process, and the expression is: i represents the current number of iterations, and M represents the maximum number of iterations; is a random vector in [0,1].

[0102] Content 2: Bubble net attack mode. Two mathematical models are established based on the humpback whale bubble net foraging behavior:

[0103] 1. Shrinkage mechanism: This behavior is achieved by reducing It is achieved by changing the value in . It should be noted that as a decreases, the range of A will also decrease. Specifically, if the random number A is set between [-1,1], the search position of the new whale group individual can be defined as any position between the current whale group individual position and the best whale group individual position.

[0104] 2. Spiral update mechanism: This method first confirms the distance between the location of the whale population and the location of the target prey. Then a spiral equation is created between the locations of the whale and the prey to simulate the spiral movement of the humpback whale, as shown below:

[0105]

[0106] Where: represents the distance from the ith whale to its prey; b is a constant that defines the shape of the logarithmic spiral, l is a random number in [-1,1]; · is an element-by-element multiplication.

[0107] It is noteworthy that humpback whales swim around their prey in a shrinking circle and along a spiral path at the same time. To model this simultaneous behavior, we assume a 50% probability of choosing between the shrinking surround mechanism or the spiral model to update the whale's position during optimization. The specific expression is as follows:

[0108]

[0109] Where: p is a random number between [0,1].

[0110] Content 3: Searching for prey mechanism. In addition to the bubble net attack mode, humpback whale groups will randomly search for prey based on each other's positions. Use random values ​​greater than 1 or less than -1 To force the search agent to move away from the reference whale and explore more suitable prey, thereby enhancing the algorithm's search and predation capabilities and enabling WOA to perform global search. The expression under this process is as follows:

[0111]

[0112] Where: is a random position vector selected from the current population.

[0113] Content 4: Setting target upper and lower limits and other related coefficients. After completing the above-mentioned whale optimization algorithm, set the upper and lower limits of the learning rate, regularization coefficient, and learning rate reduction factor, set the number of iterations to 200 times, and determine the coefficients of the three by taking the minimum value of the fitness function as the target, and bring the coefficients into the CNN-GRU network to obtain a higher accuracy rate.

[0114] The above are preferred embodiments of the present invention. Any changes made according to the technical solution of the present invention, as long as the resulting functions do not exceed the scope of the technical solution of the present invention, belong to the protection scope of the present invention.

Claims

1. A method for monitoring capacitor faults in modular multilevel converter submodules based on improved convolutional neural network. It is characterized in that include: According to the characteristics of the capacitor voltage of the submodule of the modular multilevel converter, the corresponding aging characteristics are extracted for the capacitor voltage of the submodule under aging conditions; Construct a convolutional neural network combined with a gated recurrent unit CNN-GRU network, and combine it with the aging capacitor label to determine the accuracy of the constructed network; Taking accuracy as the objective function, the whale optimization algorithm (WOA) is used to optimize the learning rate, regularization coefficient and learning rate reduction factor in the CNN-GRU network to achieve accurate monitoring of sub-module capacitor aging.

2. The method for monitoring capacitor faults of submodules of a modular multilevel converter based on an improved convolutional neural network according to claim 1, It is characterized in that The steps to implement this method are as follows: Step 1: Preliminary preprocessing of data: preprocessing the feature data of the modular multilevel converter submodule capacitors to be processed; confirming the number of categories, feature dimensions and number of samples of the feature data to be processed, and shuffling the data set; and dividing the proportional coefficient to confirm the corresponding training set and test set; Step 2: Perform secondary processing on the preprocessed data: normalize the preprocessed data, flatten the data after processing, and complete the corresponding data format conversion; Step 3: Establish a convolutional neural network combined with a gated recurrent unit CNN-GRU network: The structure of the convolutional neural network combined with a gated recurrent unit CNN-GRU network includes a sequence folding / anti-folding layer, an input layer, a convolutional layer, a batch normalization layer, a pooling layer, a GRU layer, a fully connected layer, and an output layer; Step 4: Set parameters and build a fitness function: After building a convolutional neural network combined with a gated recurrent unit CNN-GRU network, determine that the parameters to be optimized are the learning rate, regularization parameter, and learning rate reduction factor, and build a fitness function; Step 5: Use the whale optimization algorithm and set relevant parameters to optimize the convolutional neural network combined with the gated recurrent unit CNN-GRU network.

3. The method for monitoring capacitor faults of submodules of a modular multilevel converter based on an improved convolutional neural network according to claim 2, It is characterized in that In step 2, the characteristic data of the capacitors of the modular multi-level converter submodules include wavelet decomposition characteristics, the maximum value of the differential capacitor voltage and the periodic integral value of the differential capacitor voltage.

4. The method for monitoring capacitor faults of submodules of a modular multilevel converter based on an improved convolutional neural network according to claim 2, It is characterized in that In step 3, the convolution layer is composed of multiple feature surfaces, each feature surface is composed of multiple neurons, and each neuron of each feature surface is connected to the local area of ​​the feature surface of the previous layer through the convolution kernel; the convolution kernel is a weight matrix; the convolution layer extracts different features of the input through the convolution operation. The first convolution layer extracts low-level features, and the higher-level convolution layer extracts higher-level features. The entire convolution process is based on the following formula: Where: Represents the output value of the vth neuron in the output feature surface u in the convolutional layer; Represents the output value of the nth neuron in the input feature surface m; ω a(i)b(j) represents the connection weight between the i-th neuron in the input feature plane a and the j-th neuron in the output feature plane b; b i represents the bias of the output feature surface i; f cov represents the activation function.

5. The method for monitoring capacitor faults of submodules of modular multilevel converters based on improved convolutional neural networks according to claim 2, It is characterized in that In step 3, the batch normalization layer makes the input distribution of each layer of the network more stable by forcibly pulling the distribution of the input value of any neuron in each layer of the neural network back to the standard normal distribution with a mean of 0 and a variance or standard deviation of 1. The corresponding related expressions are as follows: Where: x i represents the output of the convolutional layer; m is the size of batch normalization; μ n is the mean of the batch number; σ n is the standard deviation after batch data processing; ε is a small value that prevents the denominator from becoming zero; Represents the output result after batch normalization; γ and β are the parameters of the transformation that scales and translates the normalized data. Initially, γ = 1 and β = 0. γ and β can be adjusted through learning.

6. The method for monitoring capacitor faults of submodules of modular multilevel converters based on improved convolutional neural networks according to claim 2, It is characterized in that In step 3, the input of the pooling layer comes from multiple feature maps in the convolutional layer. The feature maps in the pooling layer correspond one-to-one to the feature maps in the convolutional layer, and the number of feature maps remains unchanged; the neurons in the pooling layer are connected to the local receptive field in the input layer, so that each neuron only processes a small part of the input data, and the input areas of different neurons do not overlap; pooling includes maximum pooling and average pooling. The maximum pooling formula is as follows: m i(x,b) =max (b-1)ω<t<bω {o i(x,t) }b∈1,2,...,p Among them: i(x,t) represents the tth neuron of the xth mapping map in the i-th layer; ω represents the width of the convolution kernel; b represents the b-th pooling kernel, with a total of p.

7. The method for monitoring capacitor faults of submodules of modular multilevel converters based on improved convolutional neural networks according to claim 2, It is characterized in that In step 3, the GRU layer includes a reset gate r and an update gate z to control the information flow, and can learn to retain important information and discard irrelevant information; specifically, the reset gate r is used to adjust the combination of the previous memory and the new input, and the update gate is used to determine the amount of the previous memory to be retained. The GRU related formula is as follows: z t =σ(W z x t +U z h t-1 ) r t =σ(W t x t +U t h t-1 ) Where: σ(.) represents the activation function; z t Represents the value of the update gate in the current state; r t It means resetting the gate value in the current state; is the cell value, which aims to discard irrelevant historical information and represents the input x t and the past hidden state h t-1 Summary of; h t represents the output of the hidden layer; U z , W z , U t , W t , U and W are trainable parameter matrices, and the model parameters including U and W are shared in each time step.

8. The method for monitoring capacitor faults of submodules of a modular multilevel converter based on an improved convolutional neural network according to claim 2, It is characterized in that In step 3, there are one or more fully connected layers. In the fully connected layer, each neuron is fully connected to all neurons in the previous layer. The output of the last fully connected layer is passed to an output layer, which is classified by Softmax logistic regression. It is called the Softmax layer. The Softmax function corresponds to the following: Where: As the input vector of the Softmax function, (x 0 ,x 1 ,...,x k ) composition; x i The elements of the input vector of the Softmax function can take any real value; As a standard exponential function, applied to each element of the input vector; the formula is the normalization term, which ensures that all output values ​​of the function sum to 1 and that each value is in the range (0,1) to constitute a valid probability distribution.

9. The method for monitoring capacitor faults of submodules of modular multilevel converters based on improved convolutional neural networks according to claim 2, It is characterized in that In step 4, the fitness function formula is as follows: In the fitness function, represents the accuracy of the training set, and T_sim1 represents the result of the training set obtained after training; T_train represents the original result of the training set; length(T_train) represents the number of training sets for this training; Overall, The larger it is, the smaller the fitness function is, and the more likely it is to achieve the desired effect.

10. The method for monitoring capacitor faults of submodules of modular multilevel converters based on improved convolutional neural network according to claim 2, It is characterized in that In step 5, the whale optimization algorithm includes: (1) Surrounding prey: Humpback whales are able to identify the location of prey and surround them. Since the location of the optimal design in the search space is a priori unknown, WOA assumes that the current best candidate solution is the target prey or close to the optimal one. After defining the best search agent, other search agents will try to update their positions to the best search agent, which can be expressed as the following formula: Where: represents the intermediate variable of the calculation process; t represents the current iteration, and is the coefficient vector, is the position vector of the best solution obtained so far, is the position vector, || is the absolute value, and · is the element-wise multiplication; where and The expression is as follows: Where: It means that it decreases linearly from 2 to 0 during the iteration process. The expression is: i represents the current number of iterations, and M represents the maximum number of iterations; is a random vector in [0,1]; (2) Bubble net attack mode: Two mathematical models are established based on the bubble net foraging behavior of humpback whales: (2.1) Shrinkage and encirclement mechanism: By reducing The value in is realized. As a decreases, the range of A will also decrease. Specifically, if the random number A is set between [-1,1], the search position of the new whale group individual is defined as any position between the current whale group individual position and the best whale group individual position. (2.2) Spiral update mechanism: First, the distance between the location of the whale population and the location of the target prey is determined, and then a spiral equation is created between the locations of the whale and the prey to simulate the spiral movement of the humpback whale. The specific formula is as follows: Where: represents the distance from the i-th whale to the prey; b is a constant that defines the shape of the logarithmic spiral, l is a random number in [-1,1]; · is an element-by-element multiplication; Humpback whales swim around their prey in a shrinking circle and along a spiral path at the same time; to model this simultaneous behavior, a 50% probability is assumed to be chosen between the shrinking surround mechanism or the spiral model to update the whale's position during optimization, as expressed below: Where: p is a random number between [0,1]; (3) Prey search mechanism: In addition to the bubble net attack mode, humpback whale groups will randomly search for prey based on each other's positions; using random values ​​greater than 1 or less than -1 To force the search agent to stay away from the reference whale and explore more suitable prey, enhance the algorithm's search and predation capabilities, and enable WOA to perform global search. The entire process is expressed as follows: Where: is a random position vector selected from the current population; (4) Setting the upper and lower limits of the target and other related coefficients: After the whale optimization algorithm is completed, the upper and lower limits of the learning rate, regularization coefficient, and learning rate reduction factor are set, and the number of iterations is set to 200. The coefficients of the three are determined by taking the minimum value of the fitness function as the target, and the coefficients are brought into the CNN-GRU network to achieve accurate monitoring of sub-module capacitor aging.

Citation Information

Patent Citations

  • Modular multilevel converter capacitor fault diagnosis method based on neural network

    CN114563628A

  • Modular multilevel converter capacitor monitoring method based on improved neural network

    CN114966224A

  • Charging pile element fault detection method

    CN116203336A

  • Hybrid dynamic equivalent modeling method suitable for power system

    CN118117579A

  • Power transformer winding fault positioning method based on deep convolutional neural network integrated with visual identification

    US20210048487A1

Cited By

  • Flexible DC converter valve submodule fault diagnosis method and system

    CN119178979A