A fan blade fault diagnosis method based on improved MFCC algorithm

By improving the MFCC algorithm and combining K-means clustering and swarm intelligence algorithms for feature extraction of wind turbine sound signals, the problem of insufficient feature extraction of wind turbine sound signals by traditional algorithms has been solved, and the accuracy and identification of wind turbine blade fault diagnosis have been improved. efficiency, reducing the cost and complexity of installing sensors.

CN114841193BInactive Publication Date: 2024-10-29HEBEI UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210304543.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-21
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional MFCC algorithm has high low-frequency sensitivity and low high-frequency sensitivity to wind turbine sound signals, making it difficult to effectively extract characteristic information of wind turbine blade faults, resulting in insufficient diagnosis accuracy.

Method used

The improved MFCC algorithm divides the full frequency band of the sound signal into three parts, assigns filters with different weights, especially densely places filters in the fault signal frequency band, and combines K-means clustering and swarm intelligence algorithms for iterative optimization to improve features. Extraction and clustering accuracy, fed into support vector machine for training.

Benefits of technology

It improves the accuracy and identification accuracy of wind turbine blade fault diagnosis, reduces the need for sensor installation, reduces cost and complexity, and enhances the practicality of diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114841193B_ABST
    Figure CN114841193B_ABST
Patent Text Reader

Abstract

The present invention is a fan blade fault diagnosis method for improving the MFCC algorithm. First, the physical frequency and Mel frequency conversion formula of the traditional MFCC algorithm are improved, and the full frequency domain of the sound signal is divided into three frequency bands. Different weights are assigned to the three frequency bands. The weight of the fault signal frequency band is the largest. The greater the weight, the more filters are placed in the frequency band, so that the improved MFCC algorithm pays more attention to the fault signal frequency band and extracts more fault information; secondly, the K-means clustering algorithm is used to cluster all sample feature frames of the MFCC feature matrix, and the swarm intelligence algorithm is used to iteratively optimize the fault signal frequency band; finally, the clustering results are input into the SVM for training, and the trained SVM is used for fault diagnosis. The clustering result bar chart obtained by the method has good periodicity, and the clustering result is more accurate, which is conducive to improving the accuracy of fault diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of fan blade fault diagnosis, and in particular is a fan blade fault diagnosis method based on an improved MFCC algorithm. Background Art

[0002] Since wind energy is a green and environmentally friendly renewable energy, it has become a trend to vigorously develop and utilize wind energy for power generation in the context of energy shortage and increasingly important environmental protection requirements. In wind power equipment, blades are the key part of wind turbines. Since wind turbines operate in harsh and changeable environments for a long time, wind turbine blades are prone to cracks, corrosion and other defects. If they are not discovered and repaired in time, it will affect the normal operation of the wind turbine and cause huge economic losses. Therefore, it is very necessary to diagnose the faults of wind turbine blades.

[0003] At present, there are many methods for diagnosing wind turbine blade faults, such as vibration diagnosis, fiber Bragg grating, ultrasonic detection and drone detection. Most of these methods require sensors to be installed on the blades, which not only affects the stable operation of the blades, but also is difficult to install, expensive and less practical. The acoustic diagnosis method does not require the installation of sensors on the blades, and has high detection efficiency and good application prospects.

[0004] The MFCC (Mel Frequency Cepstral Coefficicents) algorithm simulates the auditory characteristics of the human ear, artificially places filter groups in each frequency band in a specific way, and then extracts recognizable features from the audio signal, and has good performance in speech signal processing. Due to the physiological structure, the human ear is more sensitive to low-frequency sounds and less sensitive to high-frequency signals, which makes the MFCC algorithm more sensitive to low-frequency signals. The fan sound signal is mainly distributed in the medium frequency band of 2000 to 12000 Hz. The traditional MFCC algorithm cannot extract the characteristics of the fan sound signal well. Therefore, this application improves the MFCC algorithm so that it can adapt to the frequency band of the fan sound signal distribution, which is conducive to improving the accuracy of the fan blade fault diagnosis results. Summary of the invention

[0005] In view of the deficiencies in the prior art, the technical problem to be solved by the present invention is to provide a fan blade fault diagnosis method using an improved MFCC algorithm.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] 1. A fan blade fault diagnosis method using an improved MFCC algorithm, characterized in that the method comprises the following steps:

[0008] Step 1: Collect the sound signal of the fan;

[0009] Step 2: Use the improved MFCC algorithm to extract features of the sound signal to obtain the MFCC feature matrix, which contains N sample feature frames;

[0010] The improved MFCC algorithm divides the full frequency band of the sound signal into three parts, and converts the physical frequency of the sound signal into Mel frequency through the following formula;

[0011]

[0012] Wherein, Mel(f) represents the Mel frequency, f represents the physical frequency of the sound signal, and [a,b] represents the frequency band of the fault signal;

[0013] Different weights are assigned to the three frequency bands [0,a), [a,b], (b,25000], namely α, β, and γ, 0.5≤β<1 and α+β+γ=1. The larger the weight, the more filters are placed in the frequency band. The number of filters placed in the frequency band [0,a) is α*M, the number of filters placed in the frequency band [a,b] is β*M, and the number of filters placed in the frequency band (b,25000] is γ*M, where M represents the total number of filters.

[0014] Step 3: Use the K-means clustering algorithm to cluster the MFCC feature matrix and cluster each sample feature frame into fault frames and non-fault frames; use the clustering silhouette coefficient as an indicator to evaluate the clustering effect, and the comprehensive measurement function of the clustering effect is:

[0015]

[0016] Among them, p(i) represents the clustering silhouette coefficient of the i-th sample feature frame;

[0017] The comprehensive measurement function of clustering effect is used as the fitness function of the swarm intelligence algorithm. The fault signal frequency band [a, b] is iteratively optimized through the swarm intelligence algorithm. When the number of iterations of the swarm intelligence algorithm reaches the maximum number of iterations, the fault signal frequency band [a, b] is optimal.

[0018] Step 4: Label the faulty frames and non-faulty frames with category labels, use the labeled faulty frames and non-faulty frames as inputs to the SVM, train the SVM, and use the trained SVM for fault diagnosis.

[0019] Compared with the prior art, the present invention has the following beneficial effects:

[0020] 1. Aiming at the characteristics that the traditional MFCC algorithm is sensitive to low-frequency signals and has low sensitivity to high-frequency signals, the present invention improves the physical frequency of the signal and the Mel frequency conversion formula, divides the full frequency domain of the sound signal into three parts, and densely places filters in the fault signal frequency band, and sparsely places filters in the remaining frequency bands, so that the MFCC algorithm pays more attention to the fault signal frequency band, so as to extract more fault information, which is conducive to improving the accuracy of the fault diagnosis result.

[0021] 2. Use the K-means clustering algorithm to cluster the MFCC feature matrix, and use the swarm intelligence algorithm to iteratively optimize the fault signal frequency band to improve the accuracy of the clustered fault signal frequency band. The clustering results are input into the support vector machine for training, which is conducive to improving the recognition accuracy of the support vector machine and thus improving the accuracy of fault diagnosis.

[0022] 3. The processing object of the present invention is the fan sound signal. Compared with the existing method of collecting fan vibration signals, collecting fan sound signals is easier to implement. Collecting vibration signals requires installing sensors on the blades, which is not only difficult to install but also costly. The sound signal acquisition device of the present invention can be installed on the tower of the fan, which is easy to install and will not affect the normal operation of the fan. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is the overall flow chart of the present invention;

[0024] Figure 2 It is the flowchart of MFCC algorithm;

[0025] Figure 3 is the frequency distribution diagram of wind noise signal;

[0026] Figure 4 It is the frequency domain distribution diagram of the fan sound signal;

[0027] Figure 5 This is the relationship diagram between physical frequency and Mel frequency conversion of the traditional MFCC algorithm;

[0028] Figure 6 To improve the physical frequency and Mel frequency conversion relationship diagram of the MFCC algorithm;

[0029] Figure 7 Result diagram of filter placement for improving MFCC algorithm;

[0030] Figure 8 It is a bar chart of clustering results of the traditional MFCC algorithm;

[0031] Fig. 9 The bar chart shows the clustering results of the improved MFCC algorithm. DETAILED DESCRIPTION

[0032] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods, but is not intended to limit the protection scope of the present application.

[0033] The present invention is a fan blade fault diagnosis method (hereinafter referred to as method) using an improved MFCC algorithm, comprising the following steps:

[0034] Step 1: Collect the sound signal of the fan;

[0035] Step 2: Use the improved MFCC algorithm to extract features of the sound signal to obtain the MFCC feature matrix, which contains N sample feature frames;

[0036] Step 2.1: Preprocess the sound signal, including pre-emphasis, framing and windowing;

[0037] Pre-emphasis: It is used to enhance the energy of the high-frequency band of the sound signal and reduce the attenuation loss during the propagation process. The expression is:

[0038] H(z)=1-0.97z -1

[0039] Wherein, H(z) represents the sound signal after pre-emphasis, and z represents the initial sound signal;

[0040] Framing: Multiple sampling points of the sound signal are grouped into one frame, and then the sound signal is divided into N frames; the expression for framing processing is:

[0041]

[0042] overlap=wlen-inc

[0043] Wherein, L represents the total length of the sound signal, overlap represents the overlapping part of two adjacent frames, wlen represents the length of each frame of the sound signal; inc represents the frame shift, which is 300 in this embodiment;

[0044] Windowing: Use the window function to smooth the framed sound signal. The expression of the window function is:

[0045] y i (l) = ω(l)*x((i-1)*inc+l)

[0046] Among them, y i (l) represents the i-th frame sound signal after windowing, ω(l) represents the window function, and the Hanning window is selected in this embodiment; x represents the expression of the sound signal in the time domain, * represents the convolution operation, and l represents the length of the i-th frame sound signal;

[0047] Step 2.2: Perform fast Fourier transform on the windowed sound signal, and calculate the spectral line energy of the transformed sound signal to obtain the spectral line energy of the sound signal; the expression of the sound signal in the time domain is converted into energy distribution in the frequency domain through fast Fourier transform. Different energy distributions reflect different characteristics of the sound signal; among them, the expression of the spectral line energy E(i,k) of the sound signal of the i-th frame is:

[0048] E(i,k)=|FFT[y i (l)]| 2

[0049] Where k represents the number of the spectral line in the frequency domain, and FFT represents fast Fourier transform;

[0050] Step 2.3: Figure 3 , 4 They are the spectrum diagrams of wind noise signal and fan sound signal respectively. It can be seen from the figure that the wind noise signal is mainly distributed in the frequency band of 0-2000Hz, and the fan sound signal is mainly composed of low-frequency wind noise signal and medium-frequency fan sound signal. By comparing the two figures, it can be seen that the fan sound signal is mainly distributed in the medium-frequency band of 2000-12000Hz; Figure 5 This is the conversion relationship diagram between the signal physical frequency and Mel frequency of the traditional MFCC algorithm. It can be seen from the figure that the slope of the curve is large in the low frequency band and small in the other frequency bands. Therefore, the traditional MFCC algorithm is sensitive to low frequency band signals and less sensitive to high frequency band signals. The sound signal of the fan when working is mainly distributed in the mid-frequency band. Therefore, this method divides the full frequency band of the sound signal into three parts, and converts the physical frequency of the sound signal into Mel frequency through the following formula;

[0051]

[0052] Wherein, Mel(f) represents the Mel frequency, f represents the physical frequency of the sound signal, and [a,b] represents the frequency band of the fault signal;

[0053] Figure 6 The conversion curve between physical frequency and Mel frequency for improving the MFCC algorithm is shown in the figure. It can be seen from the figure that the slope of the curve of the fault signal frequency band [a, b] is the largest, making the improved MFCC algorithm more sensitive to the sound signal in the fault signal frequency band [a, b];

[0054] According to the frequency band division results, different weights are assigned to the three frequency bands [0,a), [a,b], (b,25000], namely α, β, γ, 0.5≤β<1 and α+β+γ=1. The larger the weight, the more filters are placed. The number of filters placed in the frequency band [0,a) is α*M, the number of filters placed in the frequency band [a,b] is β*M, and the number of filters placed in the frequency band (b,25000] is γ*M, where M represents the total number of filters. Figure 7 This is the result of filter placement. Densely placing filters in the fault signal frequency band can extract more fault information. When α, β, and γ are 0.1, 0.7, and 0.2 respectively, the Mel filter has the best effect.

[0055] The spectral line energy of each frame of the sound signal is filtered by using the Mel filter bank, that is, the frequency response of the Mel filter is multiplied and added with the spectral line energy of each frame of the sound signal through the following formula to obtain the energy of each frame of the sound signal after passing through the Mel filter bank;

[0056]

[0057] Among them, S(i,m) represents the energy of the i-th frame sound signal after Mel filtering, H m (k) represents the frequency response of the mth Mel filter;

[0058] The energy of each frame of sound signal after passing through the Mel filter group is discrete cosine transformed (DCT), and the MFCC feature vector of each frame of sound signal is calculated by the following formula. The MFCC feature vectors of all frame sound signals constitute the MFCC feature matrix, that is, the MFCC feature matrix contains N sample feature frames;

[0059]

[0060] Among them, mfcc(i,q) represents the Mel cepstral coefficient of the i-th frame sound signal, and Q represents the order of the MFCC coefficient;

[0061] Since the wind farm is located in a bad environment with noisy sound, the wind noise has a great impact on the sound signal, and the fault sound signal is easily submerged in the wind noise. Therefore, the initial value of the fault signal frequency band in this embodiment is [2000,8000] Hz, which can also be set according to the specific situation;

[0062] Step 3: Use the K-means clustering algorithm to cluster the MFCC feature matrix and cluster each sample feature frame into fault frames and non-fault frames; use the clustering silhouette coefficient as an indicator to evaluate the clustering effect, and the comprehensive measurement function of the clustering effect is:

[0063]

[0064] Among them, p(i) represents the clustering silhouette coefficient of the i-th sample feature frame;

[0065] The sound signal of the fan when working mainly comes from the sound of the fan blades sweeping the wind. The signal characteristics are not only directly related to the fan speed, but also related to the instantaneous wind speed, blade flatness, and blade damage. The fault type and fan model will cause the fault signal frequency band of each fan to be different. Therefore, in order to accurately determine the fault signal frequency band, the clustering effect comprehensive measurement function is used as the fitness function of the swarm intelligence algorithm. The fault signal frequency band [a, b] is iteratively optimized through the swarm intelligence algorithm. When the number of iterations of the swarm intelligence algorithm reaches the maximum number of iterations, there is an optimal solution, and the fault signal frequency band [a, b] is optimal, so as to improve the diagnosis accuracy;

[0066] Swarm intelligence algorithms include particle swarm optimization (PSO), ant colony optimization, etc.

[0067] Step 4: Label the faulty frames and non-faulty frames with category labels, where 1 or 2 represents non-faulty frames and 2 represents faulty frames; use the labeled faulty frames and non-faulty frames as inputs to the SVM (support vector machine), train the SVM, and use the trained SVM for fault diagnosis; in actual application, the fan sound signal to be detected is clustered after steps 1 to 3, and the clustering result is input into the trained SVM for identification, so as to determine whether the fan blade has a fault.

[0068] Figure 8 , 9 The clustering result bar graphs of the traditional MFCC algorithm and the improved MFCC algorithm are shown in Figure 2. The periodicity of the clustering result bar graph of the traditional MFCC algorithm is not obvious, and the accuracy of the clustering result is poor. This is because the traditional MFCC algorithm is sensitive to low-frequency signals and insensitive to high-frequency signals, resulting in less effective information extracted by the MFCC algorithm from the fan sound signal. Poor clustering results will lead to inaccurate recognition results of the SVM model, which in turn leads to poor diagnostic accuracy. The clustering result bar graph of the improved MFCC algorithm has good periodicity and accurate clustering results, which improves the accuracy of the SVM and thus improves the accuracy of the fault diagnosis results.

[0069] Any matters not described in the present invention are applicable to the prior art.

Claims

1. A fan blade fault diagnosis method based on an improved MFCC algorithm, characterized in that: The method comprises the following steps: Step 1: Collect the sound signal of the fan; Step 2: Use the improved MFCC algorithm to extract features of the sound signal to obtain the MFCC feature matrix, which contains N sample feature frames; The improved MFCC algorithm divides the full frequency band of the sound signal into three parts, and converts the physical frequency of the sound signal into Mel frequency through the following formula; Wherein, Mel(f) represents the Mel frequency, f represents the physical frequency of the sound signal, and [a,b] represents the frequency band of the fault signal; Different weights are assigned to the three frequency bands [0,a), [a,b], (b,25000], namely α, β, and γ, 0.5≤β<1 and α+β+γ=1. The larger the weight, the more filters are placed in the frequency band. The number of filters placed in the frequency band [0,a) is α*M, the number of filters placed in the frequency band [a,b] is β*M, and the number of filters placed in the frequency band (b,25000] is γ*M, where M represents the total number of filters. Step 3: Use the K-means clustering algorithm to cluster the MFCC feature matrix and cluster each sample feature frame into fault frames and non-fault frames; use the clustering silhouette coefficient as an indicator to evaluate the clustering effect, and the comprehensive measurement function of the clustering effect is: Among them, p(i) represents the clustering silhouette coefficient of the i-th sample feature frame; The comprehensive measurement function of clustering effect is used as the fitness function of the swarm intelligence algorithm. The fault signal frequency band [a, b] is iteratively optimized through the swarm intelligence algorithm. When the number of iterations of the swarm intelligence algorithm reaches the maximum number of iterations, the fault signal frequency band [a, b] is optimal. Step 4: Label the faulty frames and non-faulty frames with category labels, use the labeled faulty frames and non-faulty frames as inputs to the SVM, train the SVM, and use the trained SVM for fault diagnosis.

2. The fan blade fault diagnosis method based on the improved MFCC algorithm according to claim 1 is characterized in that: When α, β, and γ are 0.1, 0.7, and 0.2 respectively, the Mel filter has the best effect.

Citation Information

Patent Citations

  • Hidden Markov model-based vehicle sound identification method

    CN101980336A

  • Fan blade fault diagnosis method based on optimized K-means clustering

    CN110259648A