Abstract
This paper proposes an adaptive Perona–Malik filtering algorithm based on the morphological Haar wavelet, which is used for vibration signal denoising in rolling bearing fault diagnosis with strong noise. First, the morphological Haar wavelet operator is utilized to presmooth the noisy signal, and the gradient of the presmooth signal is estimated. Second, considering the uncertainty of gradient at the strong noise point, a strong noise point recognition operator is constructed to adaptively identify the strong noise point. Third, the two-step gradient average value of the strong noise point in the same direction is used to substitute, and the second derivative is introduced into the diffusion coefficient. Finally, diffusion filtering is performed based on the improved Perona–Malik model. The simulation experiment result indicated that not only the algorithm can denoise effectively, but also the average gradient and second derivative in the same direction can effectively suppress the back diffusion of strong noise points to improve the denoising signal-to-noise ratio. The experimental results of rolling bearing show that the algorithm can adaptively filter out strong noise points and keep the information of peak in the signal well, which can improve the accuracy of rolling bearing fault diagnosis.
1. Introduction
In the mechanical fault diagnosis based on the vibration signal, in order to extract fault features more accurately, it is a crucial step to denoise the vibration signal and reduce noise interference. Since the running state of mechanical equipment is time-varying, speed and load are unstable due to the working demand, especially when a fault occurs. The stiffness, damping, and elastic force of the system would change; hence, the vibration signal shows the characteristics of nonlinear and nonstationary. In addition, measured signal is disturbed by all kinds of noise on the scene, which makes it more difficult to achieve the ideal effect by using the traditional signal processing method.
Currently, the denoising methods for mechanical vibration signals are varied [1], including time domain, frequency domain, time-frequency domain, linear, and nonlinear. These methods are different in principle and have their own characteristics. STFT is based on the assumption of piecewise signal stationarity, which is suitable for the analysis of varying signals slowly; however, it is difficult to achieve good results for the drastic varying signals. Wavelet transform plays a very important role in mechanical fault diagnosis, but the selection of wavelet basis is a difficult issue. The morphological filtering method is closely to the selection of structural elements; once the structural elements are not selected properly, it would be counterproductive and cannot play a good denoising effect and even lose the details of the signal. Generally, these methods all have a common problem, that is, some useful feature information may be removed while denoising; furthermore, signal denoising and feature extraction cannot be achieved simultaneously [2–5]. How to denoise effectively and retain feature information has always been a hot topic.
Partial differential equation (PDE) denoising theory and method is an image/signal processing method proposed in recent years, which are extensively utilized in image denoising, image enhancement, and other image processing fields. The biggest feature of the PDE method is that both image denoising and edge feature information preservation are considered [6–11]. Among the PDE denoising methods [6], the Perona–Malik model, the focus of present scientific research, is one of the most classic nonlinear anisotropic diffusion filtering models, in which the principle and calculation are relatively simple. At present, some scholars have created a lot of algorithms based on the Perona–Malik model [12–19]. And the application of these algorithms in image processing and other fields has achieved incomparable effects with classical algorithms. But there are few relevant studies about the research and application of the PDE denoising method in the field of mechanical vibration signal processing. The Perona–Malik model was applied in Grinding Machine and Numerical Control Machine for vibration signal denoising by Wu et al. and had great results. The superiority of PDE was magnified when compared with the traditional denoising method [20, 21]. Moreover, PDE can be used for purification of the shaft centerline orbit [22]. Xu et al. [23] proposed an adaptive denoising method for vehicle’s acceleration signal based on PDE. Lan et al. [24] provided a new denoising method to suppress white noise interference in GIS PD signals based on PDE. It showed the effectiveness of PDE. Among them, the proposed model [18] discussed the vibration signal denoising approach based on the Perona–Malik model and investigated the feasibility and effectiveness of the proposed method. However, due to the reverse diffusion issue of strong noise points, it has affected its wide use to some extent and needs to be further improved.
In this paper, the Perona–Malik model is improved and introduced into rolling bearing fault vibration signal denoising, which makes a contribution in the field of mechanical rolling bearing fault diagnosis. First, the morphological Haar wavelet is used to presmooth the noisy vibration signal, and the strong noise recognition operator is designed to identify the strong noise points. Second, the same direction average gradient is used to adaptively remove the strong noise points, and the second derivative is further introduced into the diffusion coefficient. Finally, the improved Perona–Malik model is utilized to complement the diffusion filtering and denoising on simulated signals and measured rolling bearing vibration signals.
The main contributions of this paper are as follows:(1)The Perona–Malik filter model of the morphological Haar wavelet is proposed, and the second derivative is introduced into the diffusion coefficient function of the morphological Haar wavelet.(2)A strong noise recognition operator is constructed for adaptive recognition of strong noise points, and a codirectional mean gradient is introduced for adaptive removal of strong noise points(3)Based on the denoising results of rolling bearing fault simulation signals, the wavelet threshold denoising method, morphological Haar wavelet method, Perona–Malik model, Catté model, and the denoising performance of the improved algorithm are compared, and the effectiveness of the improved algorithm is demonstrated(4)Denoising and spectrum analysis were performed on the fault vibration data of drive motor bearing inner ring from the Electrical Engineering Laboratory of Case Western Reserve University to verify the feasibility of applying the improved algorithm to engineering practice
2. Perona–Malik Model
PDE denoising processes the signals based on the motion point of view, which originates from the initial value problem of the heat conduction equation. Perona and Malik first proposed a nonlinear anisotropic diffusion model, i.e., the Perona–Malik model [6].where indicates the diffusion coefficient and is a monotone nonincreasing function with the conditions of and . The diffusion coefficient is a nonnegative function of the gradient mode , which is the core of the Perona–Malik model to control the amount and direction of diffusion.
The classic diffusion coefficient is presented as follows:where is the gradient threshold parameter. If the threshold is given, then the area of is considered to be the flat area of the signal, and the diffusion is positive and faster, which is beneficial to denoise; the area of is considered to be the detail feature area of the signal, and the diffusion is reverse and slower; thus, the signal is sharpened, which is conducive to the preservation of signal characteristics and can even be enhanced. These results bring great limitations to the application of the Perona–Malik model in filtering: the noise level is relatively large, especially when the signal is interfered by impulsive noise, a large gradient often exists at the noise point, and then the noise cannot be removed but may be enhanced, which is contrary to the idea of filtering. In order to avoid these characteristics of the Perona–Malik model, it is necessary to construct a new diffusion coefficient function and improve the Perona–Malik filter model.
3. Morphological Wavelet Perona–Malik Filter Model
3.1. Diffusion Coefficient Function of the Catté Operator
Catté et al. modified the diffusion coefficient function of the Perona–Malik model and proposed the Catté operator [25, 26] aswhere is the Gaussian weighted low-pass filter with a standard deviation of . Then, the satisfiability of the solution was proved. The main idea of the Catté operator can be summarized as follows: considering that the signal itself contains noise, the signal is pre-Gaussian-smoothed before calculating the diffusion amplitude, which allows the diffusion process to remove small features in the high-contrast area. Essentially, the Catté operator is a linear low-pass Gaussian filter, in which the signal may be excessively smoothed. In order to solve this limitation, a nonlinear filter operator must be used to replace the linear low-pass Gaussian filter.
3.2. Diffusion Coefficient Function of Morphological Haar Wavelet
This paper utilizes the morphological Haar wavelet operator (nonlinear filter operator) to replace the linear Gaussian filter of the Catté operator. The morphological Haar wavelet diffusion coefficient function iswhere represents the morphology Haar wavelet filtering of the signal .
Morphological Haar wavelet is a nonlinear wavelet transform based on mathematical morphology. It is a nonlinear extension of the morphological operator to the linear Haar wavelet [27], which can retain edge information more effectively than linear wavelets. Meanwhile, the morphological Haar wavelet has the nonlinear analysis characteristics of mathematical morphology and the multiresolution characteristics of wavelets [28, 29].
The analysis and composition operator of the morphological Haar wavelet is presented as follows:
The operation of the morphological Haar wavelet analysis operator is minimal, and the operation process of the morphological Haar wavelet only includes extreme value and addition and subtraction operations, which also simplifies the calculation and improves the processing speed.
In order to better preserve the meaningful and strong spike and boundary details in the signal, the second derivative can be further introduced into the morphological Haar wavelet diffusion coefficient as
At the peak, the gradient modulus is zero, while the second derivative is always a local maximum. Therefore, the diffusion coefficient at the peak is relatively small and the diffusion is slower, which is conducive to maintaining details such as peaks and boundaries.
To sum up, the essence of the morphological Haar wavelet Perona–Malik filter model is that the morphological Haar wavelet is utilized to presmooth the noisy signal firstly before calculating the diffusion coefficient; then, the gradient and the second derivative on the presmoothed signal can be computed to obtain the diffusion coefficient, which makes the diffusion process not only denoise effectively but also retain the meaningful details as much as possible.
4. Adaptive Morphological Wavelet Perona–Malik Filtering Algorithm
The simulation analysis shows that the morphological wavelet Perona–Malik filter model still has the limitations of identifying strong noise points and boundaries in the signal. At the strong noise point, even if the morphological wavelet is used for prefiltering, the signal gradient is still relatively large. Subsequently, the diffusion coefficient at the strong noise point is relatively small, the diffusion is relatively weak, and even reverse diffusion exists; thus, the noise will be enlarged instead of being removed. Therefore, a strong noise point recognition operator is designed to adaptively recognize strong noise points, and the same direction average gradient is used to adaptively remove strong noise points.
4.1. Strong Noise Point Recognition Operator
In order to identify whether a point is a strong noise point, a strong noise point recognition operator is constructed. Firstly, the mean and variance of the strong noise points are calculated aswhere is the amplitude at the data point .
Secondly, a strong noise point recognition operator is constructed as
If and the noise energy is less than the signal energy, the data point is a normal signal and should be retained; if and the noise energy is greater than the signal energy, the data point is a strong noise point and should be diffused.
4.2. Average Gradient in the Same Direction
In order to solve the problem of large gradient value at the strong noise point, the gradient value of the strong noise point can be replaced by the two-step average gradient value at the left and right directions of the strong noise point. Consequently, the gradient value of the strong noise point can be reduced to achieve the purpose of effectively removing strong noise points.
Suppose the amplitude at the noise point is ; then, the average gradient values and of the noise point in the left and right directions in the same direction are, respectively, as follows:
The average of the two gradients in the same direction is used to replace the gradients in the left and right directions of noise points , which ensures that the diffusion of noise points is opposite and can better maintain the peaks and boundaries. Generally, the probability that the left and right points , , , and are noise points is relatively low while the data point is a noise point. Therefore, the average of the two gradients in the left and right directions of the data point can reduce the gradient value of the isolated strong noise point, which facilitates forward diffusion denoising.
Then,
Generally, the gradient value of strong Gaussian noise is relatively large; then, the adaptive Perona–Malik model based on the average gradient in the same direction can reduce the gradient value of the strong noise point relatively, which is beneficial to the subsequent forward diffusion.
4.3. The Discrete Format of the Improved Model
The discrete calculation format of the improved adaptive morphological wavelet Perona–Malik filtering algorithm is presented aswhere
If
Otherwise,
, is the number of iterations, and is the time step that satisfies . This is the condition for calculating the stability of the format. It can be proven easily that , where and , that is, the signal after denoising will not generate new extreme points.
4.4. Steps of the Improved Algorithm
According to the aforementioned improved algorithm and its discrete calculation format, the steps of the improved algorithm for denoising rolling bearing fault vibration signals can be presented as follows.
Step 1. Set the parameters such as the gradient threshold parameter , time step , and the number of iterations .
Step 2. Let the number of iterations and the signal to be diffused be the noisy signal .
Step 3. According to equation (12), calculate the left and right gradients and of the signal to be diffused .
Step 4. Use the morphological Haar wavelet to presmooth the signal to be diffused , and calculate the left gradient , the right gradient , and the second derivative of the presmoothed signal based on equations (13)∼(15).
Step 5. According to equation (9), calculate the value of the strong noise point identification operator at each point of the presmoothed signal . Combined with equation (10), calculate the two-step average gradient in the left and right directions and of the presmoothed signal .
Step 6. If , calculate the left-right diffusion coefficient and using equation (16); otherwise, calculate the left-right diffusion coefficient and using equation (17).
Step 7. Combined with equation (11), calculate the diffusion signal of the iteration .
Step 8. If , return to Step 9; if , then let , return to Step 3.
Step 9. Output the denoising signal .
5. Rolling Bearing Experiment
5.1. Simulation Signal Analysis
The simulation signals of rolling bearings are used to compare the denoising performance of the wavelet threshold denoising method, morphological wavelet method, Perona–Malik model, Catté model, and the proposed algorithm to demonstrate the effectiveness of the proposed algorithm.
Assume that the vibration simulation signal of a single-point damage fault on the outer ring of rolling bearing is presented aswhere the natural frequency of the attenuated vibration , the natural angular frequency of the vibration , the displacement constant , the damping coefficient , the sampling frequency , and the number of sampling points is 4096, as shown in Figure 1(a) (Figure a1 represents the time-domain waveform and Figure a2 represents the frequency spectrum).

(a)

(b)

(c)
The rolling bearing fault signal plus Gaussian white noise with the standard deviation is the noisy signal to be analyzed, as shown in Figure 1(b). In order to simulate the isolated strong noise points, the intensity (amplitude) of some noise points is enhanced, as shown in Figure 1(c).
The simulation experiment can be divided into three parts, i.e., (1) comparing the denoising performance difference between the Perona–Malik model and the classic methods (such as wavelet soft threshold denoising method and morphological Haar wavelet method) to indicate the superiority of the nonlinear anisotropic diffusion filtering method, as shown in Figure 2, (2) comparing the denoising performance of the Perona–Malik model, the Catté model, and the morphological Haar wavelet Perona–Malik model (using its own gradient) to illustrate the necessity of introducing the morphological Haar wavelet and the second derivative, as shown in Figure 3, and (3) checking whether the same direction average gradient denoising performance should be utilized to indicate that the same direction average gradient can effectively filter out strong noise points adaptively, as shown in Figure 4.

(a)

(b)

(c)

(a)

(b)

(c)

(a)

(b)
Figure 2 shows that the classic denoising method filters out useful fault characteristic information at the same time while denoising. Although the wavelet soft threshold denoising and morphological Haar wavelet methods filter out noise, a lot of useful information is also filtered out (as shown in Figures 2(a) and 2(b)). It is because their denoising effect is closely related to the selection of threshold value. As some isolated strong noise points are added to the signal, the wavelet decomposition coefficient of the high-frequency part is too large, which affects the selection of global threshold value. Therefore, a lot of useful high-frequency information is filtered out as noise.
Figure 2 also shows that the classical denoising methods also filter out useful fault characteristic information. Although the wavelet soft threshold denoising and morphological Haar wavelet denoising methods filter out noise, a large amount of useful information is also filtered out (as shown in a2 and b2). This is because their denoising effect is closely related to the selection of threshold value. As some isolated strong noise points are added to the signal, the wavelet decomposition coefficient of the high-frequency part is too large, which affects the selection of global threshold value. Therefore, a lot of useful high-frequency information is filtered out as noise.
The Perona–Malik nonlinear anisotropic diffusion filter model not only effectively filters out noise but also maintains the fault characteristic information, which is different from the above methods (as shown in Figure 2(c)).
As shown in Figure 3, the Perona–Malik model, the Catté model, and the improved morphological Haar wavelet Perona–Malik model (with its own gradient) all take into account denoising and feature retention, indicating that the PDE method has strong local adaptability, edge preservation, and noise reduction and high flexibility.
As shown in Figure 3, the Perona–Malik model, Catté model, and the improved morphological Haar wavelet Perona–Malik model (with its own gradient) all give good consideration to denoising and feature retention, indicating that the PDE method has strong local adaptability, edge preservation, and noise reduction and high flexibility. At the same time, due to the nonlinearity of the morphological Haar wavelet, the improved model has better denoising performance, so the ability to maintain fault features is better, and the peak information in the signal is well preserved.
At the same time, due to the nonlinearity of the morphological Haar wavelet, the denoising performance and the fault feature retention ability of the improved model are better, and the peak information in the signal can be maintained effectively. The conclusion can be confirmed by the SNR of each algorithm, as presented in Table 1. The SNR of the improved model is higher under different standard deviations of Gaussian white noise, which indicates that the introduction of the morphological Haar wavelet and the second derivative into the Perona–Malik model is necessary, and its filtering performance has been effectively improved.
Figures 4(a) and 4(b) show that the gradient of the strong noise point itself and the same direction average gradient of the strong noise point are utilized to improve the diffusion coefficient of the denoising results, respectively. From the signal-to-noise ratio (SNR), as presented in Table 1, we can see that the same direction average gradient of the strong noise makes the strong noise point value less, which can effectively suppress the reverse diffusion of strong noise points. The signal-to-noise ratio of the improved model was improved (signal-to-noise ratio increased by about 1 dB), and strong noise adaptive filtering was realized.
As shown in Figures 4(a) and 4(b), respectively, with gradient and high noise point itself with strong noise point average gradient direction to improve the diffusion coefficient of the denoising results, for its signal-to-noise ratio (SNR) as presented in Table 1, the experimental results show that a higher average gradient algorithm with strong noise makes the strong noise gradient value less, which can effectively suppress strong noise point reverse diffusion. The signal-to-noise ratio (SNR) of the improved model was improved by about 1 dB, and strong noise adaptive filtering was realized.
5.2. Measured Signal Analysis
The experimental data of the Electrical Engineering Laboratory of Case Western Reserve University (CWRU) in the United States are used to be the measured vibration signal of rolling bearing. Figure 5 (Figure a1 indicates the time-domain waveform and Figure a2 indicates the frequency spectrum) shows the signal derived from the fault vibration data of the inner ring of the motor end bearing, the sampling frequency is 12 kHz, the shaft speed is 1772 rpm, the fault diameter is 0.1778 mm, and the fault characteristic frequency can be calculated as 159.9289 Hz according to the empirical formula. Due to the excellent experimental conditions and environment, it is easy to obtain the fault characteristic frequency by analyzing the data directly. In order to increase the difficulty of the experiment and simulate a more real mechanical operating environment, noise signals are added to the experimental data and then denoised in this paper’s experiment. In the first part, the analog white noise signal with the amplitude of 0.6 is directly added, and in the second part, the analog white noise signal with the amplitude of 0.5 and several pulse signals are added. Then, the method proposed in this paper and other methods are used for denoising before comparing the spectrum analysis results, as shown in Figures 5 and6, respectively.

(a)

(b)

(c)

(d)

(e)

(a)

(b)

(c)

(d)

(e)
The improved model is used to remove the noise in the signal, as shown in Figures 5(a) and 6(a), and the denoised signal is shown in Figures 5(b) and 6(b) (Figure b1 represents the time-domain waveform and Figure b2 represents the frequency spectrum). In order to further compare the denoising performance of the proposed method with that of the classical wavelet method,the morphological wavelet Perona–Malik model, the wavelet soft threshold denoising method, the morphological wavelet method, and the Perona–Malik model are introduced to remove the noise in the signal, as shown in Figures 5(a) and 6(a), respectively, and the denoising signal is presented as shown in Figures 5(c)–5(e) and 6(c)–6(e) (c1, d1, and e1 represent the time-domain waveforms, and c2, d2, and e2 represent the frequency spectrum).
The measured signal experiments in Figures 5 and 6 show that although the Perona–Malik model retains the details of the signal, it does not effectively remove the noise in the signal. The effect of the soft threshold wavelet denoising method and the morphological wavelet denoising method is not ideal; the addition of an isolated strong noise point affects the selection of threshold value, these two methods will not only denoise the signal at the same time but also remove the useful details of the signal and even make the signal after denoising distortion.
In contrast, the proposed model can preserve the details of the signal and remove the noise in the signal effectively and highlight its characteristic frequency (the characteristic frequency of the inner ring fault is 159 Hz), which creates conditions for the extraction of weak fault characteristics with a strong noise background. Further experiments also show that the improved model is also very effective for denoising the fault signals of bearing outer rings, rolling elements, and other mechanical parts such as gears. Therefore, the improved model can be used for denoising mechanical vibration signals, which can denoise and preserve signal characteristics.
6. Conclusions
The traditional Perona–Malik model has a relatively large-noise level, and the denoising effect is not ideal, especially when the signal is interfered by impulsive noise. In order to deal with these problems, the morphological Haar wavelet transform is introduced to preprocess the noisy signal; then, the first and second derivatives are utilized to construct a novel high-order diffusion coefficient function to suppress. A strong noise point recognition operator is designed, and the same two-step average gradient of the strong noise point is used to replace the gradient of the noise point itself, which can suppress the back diffusion of the strong noise point and denoise adaptively better. The denoising results of the simulation signal and the vibration signal of the rolling bearing fault experiment verify the feasibility and effectiveness of the algorithm in this paper.
In the practice of denoising, the two parameters of the gradient threshold and the iteration number of the improved model are obtained through repeated experiments, which makes the two parameters may not be optimal. Therefore, the adaptive values of gradient threshold and the iteration number of the improved model need to be further studied, which is one of the research directions in the future.
Data Availability
No data were used to support this study.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This work was supported by the Science and Technology Project of Sichuan Province, No. 2019YJ0266, the theory and method of complex equipment fault diagnosis based on S-transform.