High-voltage circuit breaker mechanical fault voiceprint recognition method based on fusion feature and residual neural network
By fusing the Mel cepstrum coefficient and chromaticity features, and combining it with the residual neural network, the problem of long recognition time and low accuracy of the high-voltage circuit breaker voiceprint recognition method in the existing technology is solved, and the identification of the 10kV high-voltage circuit breaker is realized. Fast and accurate fault diagnosis.
Patent Information
- Application Number
- CN202410264519.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-06
AI Technical Summary
The existing voiceprint recognition method for high-voltage circuit breaker mechanical faults uses Mel spectrum features or Mel cepstrum coefficient features in the feature extraction stage, which results in long recognition time or information loss, cannot meet the requirements of rapid diagnosis, and the accuracy is not high. .
Using the fusion of Mel cepstrum coefficient features and chromaticity features, the contribution is calculated through Fisher's ratio, the low contribution dimension is deleted, and supplemented by one-dimensional average short-term energy and spectrum centroid, the fusion feature is constructed, and combined with the residual neural network to improve classification accuracy and model generalization.
It achieves fast and high-accuracy recognition of the status of the 10kV high-voltage circuit breaker. The recognition accuracy reaches 99.99% and the recognition speed is only 0.05s, which significantly improves the recognition accuracy of a single voiceprint feature.
Smart Images

Figure CN118609592A
Abstract
Description
Technical Field
[0001] The invention discloses a method for mechanical fault voiceprint recognition of a high-voltage circuit breaker based on fusion features and residual neural network, which relates to a method for online monitoring and fault diagnosis of power equipment using artificial intelligence technology. Background Art
[0002] As an important equipment of the power grid, the high-voltage circuit breaker will vibrate and generate voiceprint signals due to the electromagnetic force and mechanical stress during operation. The voiceprint signals contain a lot of equipment status information. Especially when the equipment is defective or fails, the internal components or structures will undergo mechanical deformation, which will change its voiceprint and have identification characteristics. Accurately identifying voiceprint information helps operation and maintenance personnel diagnose equipment defects and lock the cause of the fault. Therefore, it can be used as an important characteristic parameter for diagnosing defects and faults. Compared with many traditional detection methods, the voiceprint detection method can realize the non-stop detection of its operating status outside the equipment without any electrical connection with the electrical equipment, and will not affect the normal operation of the system; while safely monitoring the equipment status, it can also solve the problems of limited detection features and insufficient detection depth of infrared and ultraviolet long-distance imaging methods. Therefore, theory and practice show that voiceprint non-stop detection has good application prospects in the field of power grid main equipment status maintenance, but the use of voiceprint detection has not yet been widely used in this field.
[0003] In the feature extraction stage, the traditional fault diagnosis method based on voiceprint recognition technology mostly uses Mel Spectrogram or Mel Cepstral Coefficient (MFCC) features based on Mel filter banks and filter bank features (Fbank) based on filters uniformly distributed on a linear frequency scale. After Fourier transform (FFT), it is found that the voiceprint features of mechanical faults of 10kV high-voltage circuit breakers are mainly concentrated in low frequencies. Therefore, Mel Spectrogram or MFCC features based on Mel filter banks that can capture low-frequency information more finely are selected. The feature dimension extracted by the former is large, resulting in too slow recognition time and cannot meet the requirements of rapid fault recognition of 10kV high-voltage circuit breakers. The latter compresses the signal in the frequency dimension through DCT to obtain a compact feature representation. However, the discrete cosine transform (DCT) operation may introduce information loss. This may lead to the loss of some dynamic and temporal information, resulting in the recognition accuracy of the operating status of 10kV high-voltage circuit breakers not being as high as that based on Mel Spectrogram as a diagnosis basis. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention proposes a method for mechanical fault voiceprint recognition of high-voltage circuit breakers based on fusion features and residual neural networks. First, the Mel-frequency cepstral coefficient feature (MFCC) that can capture low-frequency information more finely is selected. However, the use of Mel-frequency cepstral coefficient feature (MFCC) will lead to information loss, resulting in a decrease in recognition rate. Therefore, the chromaticity features (Chroma Features) that also perform well in the frequency domain and have the ability to interfere with some environmental noise are extracted and spliced to form a preliminary fusion feature. However, simple splicing will lead to an increase in dimension. For this reason, the contribution of each dimension is calculated by the Fisher ratio, and the dimensions with low contribution are deleted. The data is processed by dimensionality reduction. Finally, the voiceprint information is enhanced with the one-dimensional average short-time energy and the spectral centroid, and finally the fusion feature is constructed.
[0005] At the same time, the idea of residual neural network is introduced to improve the neural network, suppressing the problems of gradient disappearance, gradient explosion and network degradation. This greatly improves the classification accuracy of different states (i.e. normal or different faults) of high-voltage circuit breakers in actual scenarios, and has the technical advantages of high diagnostic accuracy and good model generalization.
[0006] The two are combined to build a more comprehensive and robust voiceprint recognition system. It has been verified that this method can effectively identify 10 10kV high-voltage circuit breaker states. The recognition accuracy can reach 99.99%, which is 3.59% higher than that of a single voiceprint feature, and the single recognition speed is only 0.05s. This technology has been verified and tested internally.
[0007] The present invention provides a method for identifying mechanical fault voiceprints of high-voltage circuit breakers based on fusion features and residual neural networks, and the steps are as follows:
[0008] S1, collect the voiceprint information of various working actions and faults of high-voltage circuit breakers, perform preprocessing, and build a voiceprint database; perform Fourier transform (FFT) on the collected fault voiceprints of high-voltage circuit breakers, and analyze their frequency domain characteristics;
[0009] S2, extract the collected voiceprint data, and preliminarily fuse the voiceprint data with different features, and finally form the fusion feature by enhancing the difference of the features;
[0010] S3, construct a residual neural network, which consists of a convolution layer, a pooling layer, an activation function, a normalization layer, a fully connected layer, and an output layer; send the obtained fusion feature coefficients to the residual neural network through the steps of convolution, pooling, and activation, and finally output the inference probability of each category, determine the voiceprint category with the highest probability, and output the classification result;
[0011] S4, compares the predicted value with the true value, optimizes the weights and biases through the loss function and optimizer, and continuously iterates and updates the hyperparameters until the common states of various high-voltage circuit breakers can be correctly identified, and outputs a model with preserved weights and biases;
[0012] S5, real-time monitoring and early warning of high-voltage circuit breakers; place voiceprint collection equipment on both sides of the high-voltage circuit breaker, collect voiceprint data in real time, pre-process the collected voiceprint data and extract voiceprint features, and send the proposed results to the saved model. The model will output the most likely result as the result, and monitor the operating status of the high-voltage circuit breaker in real time.
[0013] The specific method of constructing the 10kV high-voltage circuit breaker mechanical fault voiceprint database in step S1 is:
[0014] The voiceprint collection equipment is placed on both sides of the high-voltage circuit breaker, and the collection environment is kept quiet; the mechanical faults of the high-voltage circuit breaker, including normal closing, normal opening, idling of the energy storage motor, loose closing trip plate, chain jamming, false closing, chain breakage, large stroke, deformation of the iron core striker, insufficient stroke and inadequate opening, are collected. The collected signals are sliced uniformly with a length of 10s and a sampling rate of 48KHz. Each fault sound and normal sound are classified and labeled; the frequency domain characteristics of the collected high-voltage circuit breaker fault soundprints are analyzed by Fourier transform (FFT) of the collected high-voltage circuit breaker fault soundprints.
[0015] The specific method of step S2 is:
[0016] According to the Fourier transform (FFT) results, the Mel-frequency cepstral coefficient features (MFCC) that can more finely capture low-frequency information and the chromaticity features (ChromaFeatures) that perform well in the frequency domain and have anti-interference ability to environmental noise are extracted. The Mel-frequency cepstral coefficient features (MFCC) and chromaticity features (Chroma Features) are concatenated to form preliminary fusion features, and the data is reduced in dimension through Fisher comparison, and finally supplemented with one-dimensional average short-time energy and spectral centroid; without increasing the dimension, the difference of the features is enhanced to finally form the fusion features.
[0017] The Mel-frequency Cepstral Coefficient (MFCC) feature extraction process is as follows:
[0018] First, the signal generated by the opening and closing of the high-voltage circuit breaker is preprocessed by a series of pre-emphasis, framing and windowing to obtain the time domain frame signal x(n). Then, the time domain frame signal x(n) is converted by fast Fourier transform to obtain the linear spectrum X(k). The transformation formula is:
[0019]
[0020] The above linear spectrum X(k) is passed through an m-dimensional Mel filter; m is set to 12, and then the logarithmic energy s(m) of the Mel spectrum is obtained by the above formula, which is:
[0021]
[0022] Where H m (k) is a Mel filter.
[0023] The above logarithmic energy spectrum s(m) is subjected to discrete cosine transform (DCT) to obtain the MFCC coefficient C(n)
[0024]
[0025] Where M is the number of filter banks, m is the m-dimensional Mel filter, and N is the number of Fourier transform points.
[0026] The chromaticity feature extraction process is as follows:
[0027] First, the collected voiceprint signal is subjected to short-time Fourier transform (STFT), and then the short-time Fourier transform (STFT) is mapped to the chromaticity feature (Chroma) scale to capture the important tonal characteristics of the audio signal. The peak energy of its spectrum is expressed as:
[0028]
[0029] Where: a i is the amplitude of the ith signal; f i is the frequency of the ith signal; w(n,f i ) is the weight of frequency for semitone; N is the number of amplitude value points; this ensures that each frame contains a complete octave of energy without being constrained by the scale relationship.
[0030] The average short-time energy extraction process is as follows
[0031]
[0032] Where m is the mth frame number after the signal x(n) is divided into frames; n is the nth sampling point of the signal x(n); and w(n) is the window function.
[0033] The process of spectrum centroid extraction is as follows
[0034]
[0035] Where X i (k), k = 1, ..., N is the discrete Fourier transform of the i-th frame, and N is the frame length.
[0036] Method for constructing fusion features
[0037] The chromaticity feature and the Mel-frequency cepstral coefficient are fused to form a preliminary fusion feature. The preliminary fusion feature dimensions are screened by the Fisher criterion to select feature dimensions with high contribution to the recognition results. The following is the calculation formula for the feature dimension contribution:
[0038]
[0039] R in the formula Fisher is the Fisher ratio of the characteristic component, which can be used to reflect the separation degree of the characteristic component. Fisher The larger the value is, the more discriminative this feature component is compared with other feature components; between is the inter-class variance of the feature component; σ within is the intra-class variance of the feature component; σ between and σ within The specific calculation method is shown in the formula:
[0040]
[0041] Where m all It represents the average value of all fault types in this characteristic component, m i represents the average value of the i-th fault voiceprint in the feature component, N is the number of fault types, n is the number of samples for each fault, and m j,i represents the average value of the characteristic component in the jth speech sample of the i-th fault;
[0042] Since information loss is inevitable in feature screening, one-dimensional feature average short-time energy and spectrum centroid are used to supplement the information, which can ensure both speed and accuracy requirements.
[0043] The specific implementation of step S3 is that the residual neural network (ResNet) consists of 50 layers; the architecture of ResNet-50 can be divided into 5 stages, each stage includes multiple convolutional layers and a downsampling operation;
[0044] 1) The first stage of ResNet-50 consists of a convolutional layer with 64 filters, followed by a max pooling operation. The output of this stage is then fed into the next stage;
[0045] 2) The second stage of ResNet-50 consists of three residual blocks, each of which contains two convolutional layers of 64 filters and an identity mapping; the identity mapping allows the network to learn a residual function that can be added to the input to produce the output of the block, which helps alleviate the problem of vanishing gradients because the gradient can now flow directly from the output to the input of the block;
[0046] 3) The third stage of ResNet-50 contains four residual blocks, each of which contains two convolutional layers with 128 filters and performs downsampling operations; downsampling operations reduce the spatial dimension of the output while increasing the number of filters, which enables the network to capture more complex features;
[0047] 4) The fourth stage of ResNet-50 contains 6 residual blocks, each of which contains two convolutional layers, 256 filters, and performs downsampling operations;
[0048] 5) The fifth and final stage of ResNet-50 contains three residual blocks, each of which contains two convolutional layers and 512 filters, as well as a downsampling operation;
[0049] 6) At the end of the last stage, there is a global average pooling layer, which computes the average of the activations over the output spatial dimensions; the output of this layer is then fed into a fully connected layer with 10 units, which produces the final output of the network;
[0050] The calculation formula of the convolution layer is:
[0051]
[0052] In the formula, K w,h is the convolution kernel, also known as the weight matrix with a shape size of m×m. The convolution kernel is associated with the i-th input data c i Perform convolution operation to obtain the output result of the convolution layer; w, h are assigned indexes; Conv2d() is the convolution function;
[0053] The calculation formula of the pooling layer is:
[0054]
[0055] The activation function calculation formula is:
[0056]
[0057] In the formula, z is the input data of the activation layer; ReLu is the activation function
[0058] The calculation formula of the normalization layer is:
[0059]
[0060] Where E[s] and Var[s] are the mean and variance of the input data s, ε is an infinite decimal; γ and β are the scale factor and translation parameter vector respectively;
[0061] The final classification function Softmax function is:
[0062]
[0063] In the formula, C represents the number of categories, S j represents the output value of the jth node, i represents the i-th category, y i represents the true label of the i-th category, S yi Represents the probability of the true label of the i-th category.
[0064] The specific implementation of step S4 is:
[0065] The output result is compared with the result of the original sample set, and the error is back-propagated to the weights and biases of each layer in the network, and the optimizer is used to adaptively adjust them so that the weights and biases of the network can better predict the results; at the same time, the optimizer will also correct the hyperparameters during the feedback process; after a specified number of iterations, check again whether the error is within the standard range. If not, it is necessary to analyze whether the network has problems that cannot converge, and then continue the learning and training process until the standard is met, and save the final weights and biases; this loss function uses the cross entropy loss function, which is well suited for multi-classification problems; the optimizer uses the Adam optimizer, which can adaptively adjust the learning rate according to the number of layers.
[0066] The cross entropy loss function is:
[0067]
[0068] In the formula, T is the number of label categories, y n and are the true label and the predicted label respectively;
[0069] The formula of Adam is:
[0070] m t =μ*m t-1 +(1-μ)*g t
[0071] n t =v*n t-1 +(1-ν)*(g t ) 2
[0072]
[0073]
[0074]
[0075] m t , nt are the first-order moment estimate and the second-order moment estimate of the gradient, They are respectively t , n t The correction of , and ε forms a dynamic constraint on the learning rate; the parameters are set as: μ = 0.9, ν = 0.999, ε = 10 -8 .
[0076] The specific implementation method of step S5 is: placing voiceprint collection equipment on both sides of the high-voltage circuit breaker, collecting voiceprint data in real time, preprocessing the collected voiceprint data and extracting voiceprint features, and sending the proposed results to the saved model. The model will output the result with the greatest possibility as the result, and monitor the operating status of the high-voltage circuit breaker in real time.
[0077] The high-voltage circuit breaker is a 10KV high-voltage circuit breaker.
[0078] A method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network. The recognition device used in the method is:
[0079] It has cloud, edge and terminal, where cloud is connected to edge data, and edge is connected to terminal data; the overall architecture of cloud, edge and terminal complies with the "end-edge-cloud" collaborative application model of the Internet of Things;
[0080] The terminal is a voiceprint collection device, and the number of the voiceprint collection devices is not limited to one, so that in actual applications, multiple high-voltage circuit breakers can simultaneously perform voiceprint detection and analysis to improve work efficiency.
[0081] The voiceprint collection device is a microphone, preferably a bone conduction microphone. Compared with sound signal collection devices such as microphones, bone conduction microphones can collect voiceprint information more efficiently because they collect sound waves conducted through solids. The collected voiceprint information is richer and clearer than the information transmitted through the air, which is more conducive to subsequent signal analysis.
[0082] The edge end has a data acquisition module, a front-end processing module, a storage module and a communication module;
[0083] The front-end processing module is respectively connected to the data acquisition module, the storage module and the communication module 1;
[0084] The data acquisition module is used to perform digital-to-analog conversion on the collected data, the front-end processing module is used to preprocess and filter the collected sound signals; the storage module stores the preprocessed data; and the communication module sends it to the cloud via a wired network (optical fiber) / 4G / WiFi.
[0085] The cloud is a voiceprint system server, including a cloud service module, a communication module 2 and an intelligent voiceprint panoramic platform module;
[0086] The intelligent voiceprint panoramic platform module is connected to the cloud service module and the communication module 2 respectively;
[0087] The cloud service module includes a voiceprint service submodule, a voiceprint model training submodule, and a cloud storage submodule;
[0088] The voiceprint service submodule is used to convert voice data into feature vectors and provide voiceprint feature extraction services;
[0089] The voiceprint model training submodule is used to train the voiceprint model's algorithms, frameworks, and tools. Voiceprint model training;
[0090] The cloud storage submodule is used for local storage, and is used to store collected data, model parameters, and temporary calculation results;
[0091] The intelligent voiceprint panoramic platform module includes the management and monitoring interface service column, data analysis report service column, diary record column and audit column;
[0092] Communication module 2 is used to transmit data to and from the edge.
[0093] The beneficial effects of the present invention are:
[0094] (1) Traditional high-voltage circuit breaker maintenance usually requires manual inspection and testing, which is time-consuming, labor-intensive and inefficient. Moreover, serious defects and failures are likely to occur during the maintenance process. Therefore, the exploration of real-time monitoring and intelligent diagnosis technology for 10kV high-voltage circuit breaker mechanical failures is of great value. In view of the harshness of current monitoring or vibration monitoring in the selection of measurement points and poor generalization performance. A 10kV high-voltage circuit breaker mechanical fault diagnosis method based on acoustic features is proposed, which has high generalization and robustness.
[0095] (2) Aiming at the shortcomings of traditional Mel Spectrogram, Mel Cepstral Coefficient (MFCC) and Filter Bank (Fbank) features, a voiceprint feature extraction method with fusion features is proposed. Compared with a single voiceprint recognition method, this method not only has higher recognition accuracy, with an accuracy rate of up to 99.99%, but also has a single recognition time of only 0.05s, which meets the requirements of rapid fault diagnosis of 10kV high-voltage circuit breakers.
[0096] (3) By building different deep learning models, the accuracy is compared. According to the results, it can be seen that ResNet has higher recognition accuracy than other common deep learning models. It can be seen that the residual neural network is more scientific and effective in diagnosing the above 10 types of 10kV high-voltage circuit breaker mechanical faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] Figure 1 This is a structural diagram of the 10kV high-voltage circuit breaker mechanical fault voiceprint recognition method based on fusion features and residual neural network of the present invention.
[0098] Figure 2 This is the frequency domain diagram of a 10kV high-voltage circuit breaker under 10 states collected in the present invention.
[0099] Figure 3 This is a flow chart of the fusion features in the present invention.
[0100] Figure 4 This is a structural diagram of the residual neural network in the present invention.
[0101] Figure 5a The confusion matrix output for the experimental results.
[0102] Figure 5b This is a curve chart of the accuracy and loss value changes of the experimental results.
[0103] Figure 6 This is an experimental comparison chart of single features and fusion features.
[0104] Figure 7 This is an experimental comparison chart of common convolutional neural network models.
[0105] Figure 8 A schematic diagram of the topological structure of the identification device used in the present invention. DETAILED DESCRIPTION
[0106] Now combine with Figure 1-8 The present invention is described in further detail.
[0107] A method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network. The overall steps are as follows: Figure 1 The steps are as follows:
[0108] S1, collect the voiceprint information of 10kV high-voltage circuit breaker closing normally, opening normally, energy storage motor idling, closing trip plate loose, chain stuck, false closing, chain breakage, large stroke, iron core striker deformation or insufficient stroke, opening not in place, and pre-process the voiceprint data to build a voiceprint database. Perform Fourier transform (FFT) on the collected 10kV high-voltage circuit breaker fault soundprints to analyze their frequency domain characteristics;
[0109] S2, extract the Mel-frequency cepstral coefficient features (MFCC) that can more finely capture low-frequency information from the collected voiceprint data, and the chromaticity features (ChromaFeatures) that perform well in the frequency domain and have the ability to interfere with some environmental noise, and then splice them to form preliminary fusion features, and use Fisher comparison to reduce the dimension of the data. Finally, it is supplemented with one-dimensional average short-time energy and spectrum centroid. Without increasing the dimension, the difference of the features is enhanced. Finally, the fusion features are formed;
[0110] S3, construct a residual neural network, which consists of a convolution layer, a pooling layer, an activation function, a normalization layer, a fully connected layer, and an output layer. The obtained fusion feature coefficients are sent to the residual neural network for convolution, pooling, and activation steps, and finally the inference probability of each category is output, and the voiceprint category with the highest probability is determined, and the classification result is output;
[0111] S4, compares the predicted value with the true value, optimizes the weights and biases through the loss function and optimizer, and continuously iterates and updates the hyperparameters until it can correctly identify 10 common states of high-voltage circuit breakers and outputs a model with preserved weights and biases;
[0112] S5, real-time monitoring and early warning of 10kV high-voltage circuit breakers. Place voiceprint collection equipment to collect voiceprint data in real time, pre-process the collected voiceprint data and extract voiceprint features, and send the proposed results to the saved model. The model will output the most likely result as the result, and monitor the operating status of the 10kV high-voltage circuit breaker in real time.
[0113] The specific method of constructing the 10kV high-voltage circuit breaker mechanical fault voiceprint database in step S1 is:
[0114] Place the voiceprint collection equipment on both sides of the 10kV high-voltage circuit breaker, and keep the collection environment quiet. Collect the voiceprint information of common 10kV high-voltage circuit breaker mechanical faults including normal closing, normal opening, idling of energy storage motor, loose closing release plate, chain jamming, false closing, chain breakage, large stroke, deformation of iron core impact rod, insufficient stroke, and inadequate opening. The collected signals are sliced uniformly with a length of 10s and a sampling rate of 48KHz. Classify and label each fault sound and normal sound. Perform Fourier transform (FFT) on the collected 10kV high-voltage circuit breaker fault soundprint to analyze its frequency domain characteristics. The results are as follows: Figure 2 According to the analysis results, the voiceprint frequencies in the 10 states are mainly concentrated in the low frequencies.
[0115] The specific method of step S2 is:
[0116] According to the results of frequency domain analysis, the normalized voiceprint is uniformly extracted into Mel-frequency cepstral coefficients (MFCC) and chroma features; the Mel-frequency cepstral coefficient features are concatenated with the chroma features, and the contribution of each dimension is calculated by Fisher ratio, and the dimensions with low contribution are deleted. The one-dimensional average short-time energy and spectrum centroid features are extracted to improve the specificity of the feature dimension without adding a large number of dimensions. Finally, the fusion feature is constructed. This method has high robustness.
[0117] The Mel-frequency Cepstral Coefficient (MFCC) feature extraction process is as follows
[0118] First, the signal generated by the opening and closing of the high-voltage circuit breaker is preprocessed by a series of pre-emphasis, framing and windowing to obtain the time domain frame signal x(n). Then, x(n) is converted by fast Fourier transform to obtain the linear spectrum X(k). The transformation formula is:
[0119]
[0120] The above linear spectrum X(k) is passed through an m-dimensional Mel filter. m is set to 12. Then the logarithmic energy s(m) of the Mel spectrum is obtained by the above formula. The formula is:
[0121]
[0122] Where H m (k) is a Mel filter.
[0123] The above logarithmic energy spectrum s(m) is subjected to discrete cosine transform (DCT) to obtain the MFCC coefficient C(n)
[0124]
[0125] Where M is the number of filter banks, m is the m-dimensional Mel filter, and N is the number of Fourier transform points.
[0126] The chromaticity feature extraction process is as follows
[0127] First, the collected voiceprint signal is subjected to a short-time Fourier transform (STFT). Then the short-time Fourier transform (STFT) is mapped to the chromaticity feature (Chroma) scale to capture the important tonal features of the audio signal. Its spectrum peak energy is expressed as:
[0128]
[0129] Where: a i is the amplitude of the ith signal; f i is the frequency of the ith signal; w(n,f i) is the weight of frequency for semitone; N is the number of amplitude value points. This ensures that each frame contains a complete octave of energy without being constrained by the scale relationship.
[0130] The average short-time energy extraction process is as follows
[0131]
[0132] Where m is the mth frame number after the signal x(n) is divided into frames; n is the nth sampling point of the signal x(n); and w(n) is the window function.
[0133] The process of spectrum centroid extraction is as follows
[0134]
[0135] Where X i (k), k = 1, ..., N is the discrete Fourier transform of the i-th frame, and N is the frame length.
[0136] Method for constructing fusion features
[0137] The chromaticity feature and the Mel-frequency cepstral coefficient are fused to form a preliminary fusion feature. The preliminary fusion feature dimensions are screened by the Fisher criterion to select feature dimensions with high contribution to the recognition results. The following is the calculation formula for feature dimension contribution:
[0138]
[0139] R in the formula Fisher is the Fisher ratio of the characteristic component, which can be used to reflect the separation degree of the characteristic component. Fisher The larger the value, the more discriminative this feature component is compared with other feature components. between is the inter-class variance of the feature component; σ within is the intra-class variance of the feature component. between and σ within The specific calculation method is shown in the formula:
[0140]
[0141] Where m all It represents the average value of all fault types in this characteristic component, m i represents the average value of the i-th fault voiceprint in the feature component, N is the number of fault types, n is the number of samples for each fault, and m j,i Represents the average value of the characteristic component in the jth speech sample of the ith fault.
[0142] Since information loss is inevitable in feature screening, the one-dimensional feature average short-time energy and spectrum centroid are used to enhance information features, which can ensure both rapidity and accuracy. Figure 3 shown.
[0143] The specific implementation of step S3 is that the residual neural network (ResNet) consists of 50 layers. The architecture of the residual neural network (ResNet) can be divided into 5 stages, each of which contains multiple convolutional layers and a downsampling operation. The specific architecture of the residual neural network is as follows Figure 4 shown.
[0144] 1) The first stage of ResNet-50 consists of a convolutional layer with 64 filters, followed by a max pooling operation. The output of this stage is then fed into the next stage.
[0145] 2) The second stage of ResNet-50 consists of three residual blocks, each of which contains two 64-filter convolutional layers and an identity map. The identity map allows the network to learn a residual function that can be added to the input to produce the output of the block. This helps alleviate the problem of vanishing gradients because the gradients can now flow directly from the output to the input of the block.
[0146] 3) The third stage of ResNet-50 contains four residual blocks, each of which contains two convolutional layers with 128 filters and performs a downsampling operation. The downsampling operation reduces the spatial dimension of the output while increasing the number of filters, which enables the network to capture more complex features.
[0147] 4) The fourth stage of ResNet-50 contains 6 residual blocks, each of which contains two convolutional layers, 256 filters, and performs downsampling operations.
[0148] 5) The fifth and final stage of ResNet-50 contains three residual blocks, each of which contains two convolutional layers and 512 filters, and a downsampling operation.
[0149] 6) At the end of the last stage, there is a global average pooling layer which computes the average of the activations over the output spatial dimensions. The output of this layer is then fed into a fully connected layer with 10 units which produces the final output of the network.
[0150] The calculation formula of the convolution layer is:
[0151]
[0152] In the formula, K w,his the convolution kernel, also known as the weight matrix with a shape size of m×m. The convolution kernel is associated with the i-th input data c i Perform convolution operation to obtain the output result of the convolution layer; w, h are assigned indexes; Conv2d() is the convolution function.
[0153] The calculation formula of the pooling layer is:
[0154]
[0155] The activation function calculation formula is:
[0156]
[0157] In the formula, z is the input data of the activation layer; ReLu is the activation function
[0158] The calculation formula of the normalization layer is:
[0159]
[0160] Where E[s] and Var[s] are the mean and variance of the input data s, ε is an infinite decimal; γ and β are the scale factor and translation parameter vector, respectively.
[0161] The final classification function Softmax function is:
[0162]
[0163] In the formula, C represents the number of categories, S j represents the output value of the jth node, i represents the i-th category, y i represents the true label of the i-th category, S yi Represents the probability of the true label of the i-th category.
[0164] The specific implementation of step S4 is:
[0165] Compare the output result with the ideal result of the original sample set, and back-propagate the error to the weights and biases of each layer in the network. The optimizer will adjust it adaptively so that the weights and biases of the network can better predict the results. At the same time, the optimizer will also correct the hyperparameters during the feedback process. After a specified number of iterations, check again whether the error is within the standard range. If it is not satisfied, it is necessary to analyze whether the network has problems that cannot converge, and then continue the learning and training process until the standard is met, and save the final weights and biases. This loss function uses the cross entropy loss function, which is well suited for multi-classification problems; the optimizer uses the Adam optimizer, which can adaptively adjust the learning rate according to the number of layers.
[0166] The cross entropy loss function is:
[0167]
[0168] In the formula, T is the number of label categories, y n and are the true label and the predicted label respectively.
[0169] The formula for adam is:
[0170] m t =μ*m t-1 +(1-μ)*g t
[0171] n t =v*n t-1 +(1-ν)*(g t ) 2
[0172]
[0173]
[0174]
[0175] m t , n t are the first-order moment estimate and the second-order moment estimate of the gradient, They are respectively t , n t The correction of , and ε forms a dynamic constraint on the learning rate. The parameters are set as: μ = 0.9, ν = 0.999, ε = 10 -8 .
[0176] The specific implementation method of step S5 is: place the patch-type bone conductor at both ends of the 10kV high-voltage circuit breaker, collect sound every 10 seconds through a microphone, pre-process the collected sound and extract fusion features, send the extracted features to the trained model, and finally output the result with the highest probability as the output result of this time.
[0177] A specific implementation of the present invention is as follows:
[0178] The 10kV high-voltage circuit breaker selected this time is the vs1 type 10kV high-voltage circuit breaker. The voiceprint status detection data collection, training and testing implementation method for the 10kVvs1 type high-voltage circuit breaker.
[0179] As described below:
[0180] Data collection: The voiceprint collection equipment is used to collect the mechanical fault soundprint of 10kVvs1 high-voltage circuit breaker. The sampling rate is 48KHz and the collection distance is within 1m from the high-voltage circuit breaker to be tested.
[0181] Data preprocessing: For the collected voiceprints, the data needs to be sliced. The purpose of slicing is to ensure that the length of each voiceprint input to the model remains consistent. The general slice length is 10s.
[0182] Voiceprint feature extraction: Mel frequency cepstral coefficients (MFCC) and chromaticity features (Chroma) are extracted. The two are combined to form a preliminary fusion feature. The contribution of each dimension in the preliminary fusion feature is calculated by the Fisher ratio, and the dimensions with low contribution are discarded. Information loss is likely to occur during the discard process, so the one-dimensional short-time average energy and spectrum centroid features are extracted and fused with the filtered features to form the final fusion feature.
[0183] Training of the residual neural network model: Construct a residual neural network, and send the extracted voiceprint features of each fault into the residual neural network for training to obtain a model that can more accurately classify each fault.
[0184] Model deployment and testing: The obtained model is placed in the test network, and a 10kV high-voltage circuit breaker mechanical fault is set. The voiceprint collection equipment is used to collect sound, and the common 10kV high-voltage circuit breaker mechanical faults including normal closing, normal opening, idling of energy storage motor, loose closing trip plate, chain jamming, false closing, chain breakage, large stroke, deformation of iron core striker, insufficient stroke, and inadequate opening are tested.
[0185] The confusion matrix of the recognition results is as follows Figure 5a As shown, the accuracy and loss values are Figure 5b The collected fault types and their causes are shown in the following table.
[0186]
[0187]
[0188] Table 1 Fault types and their causes
[0189] To verify the effectiveness of the constructed fusion features, the fusion features were compared with the traditional single voiceprint features (Mel-frequency cepstral coefficients (MFCC), chroma features), and it was found that the fusion features have higher recognition accuracy than the single voiceprint features. Figure 6As shown. At the same time, in order to verify the effectiveness of the residual neural network, different deep learning models are built to compare the accuracy. According to the results, it can be seen that ResNet is higher in recognition accuracy than other common deep learning models, such as Figure 7 As shown in the figure, it can be seen that the residual neural network is more scientific and effective in diagnosing the above 10 types of 10kV high-voltage circuit breaker mechanical faults. This method has been verified by experiments.
[0190] A 10kV high-voltage circuit breaker mechanical fault voiceprint recognition device includes: a terminal layer, an edge terminal, and a cloud system. The overall architecture complies with the "end-edge-cloud" collaborative application model of the Internet of Things.
[0191] The terminal layer mainly deploys voiceprint collection devices to achieve high-precision collection of the operating voiceprints of monitoring equipment.
[0192] The edge layer (collection edge computing gateway integrated machine) includes data collection module, front-end processing module, storage module and communication module. The data collection module performs digital-to-analog conversion on the collected data, the front-end processing module is used to pre-process and filter the collected sound signals; the storage module stores the pre-processed data; the communication module sends it to the remote service center via wired network (optical fiber) / 4G / WiFi.
[0193] The cloud platform layer (voiceprint system server) includes cloud service module, communication module, and intelligent voiceprint panoramic platform module. The cloud service module includes a module for converting sound data into feature vectors, providing voiceprint feature extraction services, and algorithms, frameworks, and tools for training voiceprint models. The voiceprint model training module and the storage module for local storage, which is used to store collected data, model parameters, and temporary calculation results. The intelligent voiceprint panoramic platform module includes management and monitoring interface services, data analysis report services, and diary and audit modules. The communication module is used to transmit data between the edge end.
[0194] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network, Features: The steps are as follows: S1, collect the voiceprint information of various working actions and faults of high-voltage circuit breakers, perform preprocessing, and build a voiceprint database; perform Fourier transform (FFT) on the collected fault voiceprints of high-voltage circuit breakers, and analyze their frequency domain characteristics; S2, extract the collected voiceprint data, and preliminarily fuse the voiceprint data with different features, and finally form the fusion feature by enhancing the difference of the features; S3, construct a residual neural network, which consists of a convolution layer, a pooling layer, an activation function, a normalization layer, a fully connected layer, and an output layer; send the obtained fusion feature coefficients to the residual neural network through the steps of convolution, pooling, and activation, and finally output the inference probability of each category, determine the voiceprint category with the highest probability, and output the classification result; S4, compares the predicted value with the true value, optimizes the weights and biases through the loss function and optimizer, and continuously iterates and updates the hyperparameters until the common states of various high-voltage circuit breakers can be correctly identified, and outputs a model with preserved weights and biases; S5, real-time monitoring and early warning of high-voltage circuit breakers; Place voiceprint collection equipment on both sides of the high-voltage circuit breaker to collect voiceprint data in real time, pre-process the collected voiceprint data and extract voiceprint features, and send the proposed results to the saved model. The model will output the most likely result as the result to monitor the operating status of the high-voltage circuit breaker in real time.
2. According to claim 1, a method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network, Features: The specific method of constructing the 10kV high-voltage circuit breaker mechanical fault voiceprint database in step S1 is: The voiceprint collection equipment is placed on both sides of the high-voltage circuit breaker, and the collection environment is kept quiet; the mechanical faults of the high-voltage circuit breaker, including normal closing, normal opening, idling of the energy storage motor, loose closing trip plate, chain jamming, false closing, chain breakage, large stroke, deformation of the iron core striker, insufficient stroke and inadequate opening, are collected. The collected signals are sliced uniformly with a length of 10s and a sampling rate of 48KHz. Each fault sound and normal sound are classified and labeled; the frequency domain characteristics of the collected high-voltage circuit breaker fault soundprints are analyzed by Fourier transform (FFT) of the collected high-voltage circuit breaker fault soundprints.
3. According to claim 1, a method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network, It is characterized by: The specific method of step S2 is: According to the Fourier transform (FFT) results, the Mel-frequency cepstral coefficient features (MFCC) that can more finely capture low-frequency information and the chromaticity features (ChromaFeatures) that perform well in the frequency domain and have anti-interference ability to environmental noise are extracted. The Mel-frequency cepstral coefficient features (MFCC) and chromaticity features (Chroma Features) are concatenated to form preliminary fusion features, and the data is reduced in dimension through Fisher comparison, and finally supplemented with one-dimensional average short-time energy and spectral centroid; without increasing the dimension, the difference of the features is enhanced to finally form the fusion features.
4. According to claim 3, a method for identifying mechanical fault voiceprints of high-voltage circuit breakers based on fusion features and residual neural networks, Features ; The Mel-frequency Cepstral Coefficient (MFCC) feature extraction process is as follows: First, the signal generated by the opening and closing of the high-voltage circuit breaker is preprocessed by a series of pre-emphasis, framing and windowing to obtain the time domain frame signal x(n). Then, the time domain frame signal x(n) is converted by fast Fourier transform to obtain the linear spectrum X(k). The transformation formula is: The above linear spectrum X(k) is passed through an m-dimensional Mel filter; m is set to 12, and then the logarithmic energy s(m) of the Mel spectrum is obtained by the above formula, which is: Where H m (k) is a Mel filter. The above logarithmic energy spectrum s(m) is subjected to discrete cosine transform (DCT) to obtain the MFCC coefficient C(n) Where M is the number of filter banks, m is the m-dimensional Mel filter, and N is the number of Fourier transform points.
5. According to claim 3, a method for identifying mechanical fault voiceprints of high-voltage circuit breakers based on fusion features and residual neural networks, Features ; The chromaticity feature extraction process is as follows: First, the collected voiceprint signal is subjected to short-time Fourier transform (STFT), and then the short-time Fourier transform (STFT) is mapped to the chromaticity feature (Chroma) scale to capture the important tonal characteristics of the audio signal. The peak energy of its spectrum is expressed as: Where: a i is the amplitude of the ith signal; f i is the frequency of the ith signal; w(n,f i ) is the weight of frequency for semitone; N is the number of amplitude value points; this ensures that each frame contains a complete octave of energy without being constrained by the scale relationship.
6. According to claim 3, a method for identifying mechanical fault voiceprints of high-voltage circuit breakers based on fusion features and residual neural networks, Features ; The average short-time energy extraction process is as follows Where m is the mth frame number after the signal x(n) is divided into frames; n is the nth sampling point of the signal x(n); and w(n) is the window function.
7. According to claim 3, a method for identifying mechanical fault voiceprints of high-voltage circuit breakers based on fusion features and residual neural networks, Features: The process of spectrum centroid extraction is as follows Where X i (k), k = 1, ..., N is the discrete Fourier transform of the i-th frame, and N is the frame length.
8. According to claim 3, a method for identifying mechanical fault voiceprints of high-voltage circuit breakers based on fusion features and residual neural networks, Features: Method for constructing fusion features The chromaticity feature and the Mel-frequency cepstral coefficient are fused to form a preliminary fusion feature. The preliminary fusion feature dimensions are screened by the Fisher criterion to select feature dimensions with high contribution to the recognition results. The following is the calculation formula for the feature dimension contribution: R in the formula Fisher is the Fisher ratio of the characteristic component, which can be used to reflect the separation degree of the characteristic component. Fisher The larger the value is, the more discriminative this feature component is compared with other feature components; between is the inter-class variance of the feature component; s within is the intra-class variance of the feature component; s between and within The specific calculation method is shown in the formula: Where m all It represents the average value of all fault types in this characteristic component, m i represents the average value of the i-th fault voiceprint in the feature component, N is the number of fault types, n is the number of samples for each fault, and m j,i represents the average value of the characteristic component in the jth speech sample of the i-th fault; Since information loss is inevitable in feature screening, one-dimensional feature average short-time energy and spectrum centroid are used to supplement the information, which can ensure both speed and accuracy requirements.
9. A method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network according to claim 1 , It is characterized by: The specific implementation of step S3 is that the residual neural network (ResNet) consists of 50 layers; the architecture of ResNet-50 can be divided into 5 stages, each stage includes multiple convolutional layers and a downsampling operation; 1) The first stage of ResNet-50 consists of a convolutional layer with 64 filters, followed by a max pooling operation. The output of this stage is then fed into the next stage; 2) The second stage of ResNet-50 consists of three residual blocks, each of which contains two convolutional layers of 64 filters and an identity mapping; the identity mapping allows the network to learn a residual function that can be added to the input to produce the output of the block, which helps alleviate the problem of vanishing gradients because the gradient can now flow directly from the output to the input of the block; 3) The third stage of ResNet-50 contains four residual blocks, each of which contains two convolutional layers with 128 filters and performs downsampling operations; downsampling operations reduce the spatial dimension of the output while increasing the number of filters, which enables the network to capture more complex features; 4) The fourth stage of ResNet-50 contains 6 residual blocks, each of which contains two convolutional layers, 256 filters, and performs downsampling operations; 5) The fifth and final stage of ResNet-50 contains three residual blocks, each of which contains two convolutional layers and 512 filters, as well as a downsampling operation; 6) At the end of the last stage, there is a global average pooling layer, which computes the average of the activations over the output spatial dimensions; the output of this layer is then fed into a fully connected layer with 10 units, which produces the final output of the network; The calculation formula of the convolution layer is: In the formula, K w,h is the convolution kernel, also known as the weight matrix with a shape size of m×m. The convolution kernel is associated with the i-th input data c i Perform convolution operation to obtain the output result of the convolution layer; w, h are assigned indexes; Conv2d() is the convolution function; The calculation formula of the pooling layer is: The activation function calculation formula is: In the formula, z is the input data of the activation layer; ReLu is the activation function The calculation formula of the normalization layer is: Where E[s] and Var[s] are the mean and variance of the input data s, ε is an infinite decimal; γ and β are the scale factor and translation parameter vector respectively; The final classification function Softmax function is: In the formula, C represents the number of categories, S j represents the output value of the jth node, i represents the i-th category, y i represents the true label of the i-th category, S yi Represents the probability of the true label of the i-th category.
10. A method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network according to claim 1 , It is characterized by: The specific implementation of step S4 is: The output result is compared with the result of the original sample set, and the error is back-propagated to the weights and biases of each layer in the network, and the optimizer is used to adaptively adjust them so that the weights and biases of the network can better predict the results; at the same time, the optimizer will also correct the hyperparameters during the feedback process; after a specified number of iterations, check again whether the error is within the standard range. If not, it is necessary to analyze whether the network has problems that cannot converge, and then continue the learning and training process until the standard is met, and save the final weights and biases; this loss function uses the cross entropy loss function, which is well suited for multi-classification problems; the optimizer uses the Adam optimizer, which can adaptively adjust the learning rate according to the number of layers. The cross entropy loss function is: In the formula, T is the number of label categories, y n and are the true label and the predicted label respectively; The formula of Adam is: m t =μ*m t-1 +(1-μ)*g t n t =v*n t-1 +(1-n)*(g t ) 2 m t , n t are the first-order moment estimate and the second-order moment estimate of the gradient, They are respectively t , n t The correction of , and ε forms a dynamic constraint on the learning rate; the parameters are set as: μ = 0.9, ν = 0.999, ε = 10 -8 .
11. A method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network according to claim 1 , It is characterized by: The specific implementation method of step S5 is: placing voiceprint collection equipment on both sides of the high-voltage circuit breaker, collecting voiceprint data in real time, preprocessing the collected voiceprint data and extracting voiceprint features, and sending the proposed results to the saved model. The model will output the result with the greatest possibility as the result, and monitor the operating status of the high-voltage circuit breaker in real time.
12. A recognition device used in a method for mechanical fault voiceprint recognition of a high-voltage circuit breaker based on fusion features and residual neural network, Features: It has cloud, edge and terminal, where cloud is connected with edge data, and edge is connected with terminal data; the overall architecture of cloud, edge and terminal complies with the "end-edge-cloud" collaborative application model of the Internet of Things; The terminal is a voiceprint collection device.
13. The recognition device used in the method for high-voltage circuit breaker mechanical fault voiceprint recognition based on fusion features and residual neural network according to claim 12, Features: The voiceprint collection device is a bone conduction pickup.
14. The recognition device used in the method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network according to claim 12, Features: The edge end has a data acquisition module, a front-end processing module, a storage module and a communication module; The front-end processing module is respectively connected to the data acquisition module, the storage module and the communication module 1; The data acquisition module is used to perform digital-to-analog conversion on the collected data, the front-end processing module is used to pre-process and filter the collected sound signals; the storage module stores the pre-processed data; Communication module 1 sends data to the cloud via wired network (optical fiber) / 4G / WiFi.
15. The recognition device used in the method for mechanical fault voiceprint recognition of high-voltage circuit breaker based on fusion features and residual neural network according to claim 12, Features: The cloud is a voiceprint system server, including a cloud service module, a communication module 2 and an intelligent voiceprint panoramic platform module; The intelligent voiceprint panoramic platform module is connected to the cloud service module and the communication module 2 respectively; The cloud service module includes a voiceprint service submodule, a voiceprint model training submodule, and a cloud storage submodule; The voiceprint service submodule is used to convert voice data into feature vectors and provide voiceprint feature extraction services; The voiceprint model training submodule is used to train the voiceprint model's algorithms, frameworks, and tools. Voiceprint model training; The cloud storage submodule is used for local storage, and is used to store collected data, model parameters, and temporary calculation results; The intelligent voiceprint panoramic platform module includes the management and monitoring interface service column, data analysis report service column, diary record column and audit column; Communication module 2 is used to transmit data to and from the edge.
Citation Information
Cited By
Early diagnosis method for rack rail crack by acoustic signal analysis
CN119066401A
Voiceprint-based 10kV circuit breaker mechanical fault detection method
CN119252281A
Motor fault diagnosis method based on voiceprint feature extraction and transfer learning
CN119667476A
A motor fault diagnosis method based on voiceprint feature extraction and transfer learning
CN119667476B
Switching power supply state identification method based on fault data integration
CN120030455A
