Next Article in Journal
Machine Learning-Based Plant Detection Algorithms to Automate Counting Tasks Using 3D Canopy Scans
Previous Article in Journal
Video-Rate Quantitative Phase Imaging Using a Digital Holographic Microscope and a Generative Adversarial Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Approach for Noise Reduction in Acoustic Signal of Machining Process Using Neural Networks and ARMA Model

1
College of Electrical & Mechanical Engineering, National University of Sciences and Technology (NUST), Islamabad 44000, Pakistan
2
Department of Civil and Structural Engineering, Nottingham Trent University, Burton Street, Nottingham NG1 4BU, UK
3
Faculty of Mechanical Engineering, GIK Institute of Engineering Sciences and Technology, Topi 44000, Pakistan
4
Department of Industrial Engineering, College of Engineering, King Saud University, P.O. Box 800, Riyadh 11421, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(23), 8023; https://doi.org/10.3390/s21238023
Submission received: 4 November 2021 / Revised: 24 November 2021 / Accepted: 25 November 2021 / Published: 1 December 2021
(This article belongs to the Section Intelligent Sensors)

Abstract

:
Intelligent machining has become an important part of manufacturing systems because of the increased demand for productivity. Tool condition monitoring is an integral part of these systems. Airborne acoustic emission from the machining process is a vital indicator of tool health, however, it is highly affected by background noise. Reducing the background noise helps in developing a low-cost system. In this research work, a feedforward neural network is used as an adaptive filter to reduce the background noise. Acoustic signals from four different machines in the background are acquired and are introduced to a machining signal at different speeds and feed-rates at a constant depth of cut. These four machines are a three-axis milling machine, a four-axis mini-milling machine, a variable speed DC motor, and a grinding machine. The backpropagation neural network shows an accuracy of 75.82% in classifying the background noise. To reconstruct the filtered signal, a novel autoregressive moving average (ARMA)-based algorithm is proposed. An average increase of 71.3% in signal-to-noise ratio (SNR) is found before and after signal reconstruction. The proposed technique shows promising results for signal reconstruction for the machining process.

1. Introduction

With the increase in demand for unmanned manufacturing processes, intelligent machining has become indispensable to avoid breakdown maintenance [1]. Scheduled maintenance is considered as an effective tool to increase a manufacturing system productivity [2]. Tool breakage is a major cause of breakdown maintenance in an industrial setup which not only increases the manufacturing cost but also wastes time [3]. Moreover, machine tool quality degrades with time, which affects the product quality. Hence, predicting the tool’s health in time is of critical importance to enhance the product quality as well as to save cost and time. To monitor the tool health, various methods are introduced in the literature. These methods can be divided into two groups: direct methods and indirect methods [4]. Direct methods are based on the physical geometry of a tool that directly indicates the tool condition. These methods involve image processing, electrical resistance, and radioactive based techniques to evaluate tool health. These methods are generally accurate in predicting tool health; however, they require stopping the machine which not only interrupts production, but may also increase the production cost. To avoid these issues, indirect methods are introduced. Indirect methods are based on the signals that may generate from the machining process. These methods involve various signals—such as cutting force, temperature, vibration from the tool and tool holder, acoustic emission, etc.—from the machining process that can be used to observe the tool condition [5].
Ghosh et al. [6] estimated average flank wear of a main cutting edge of tool for a milling process using sensor fusion. They used a combination of seven sensors including cutting force sensor, tool, and work-piece vibration measurement sensor, spindle current and voltage sensors, sound pressure level sensor, and acoustic emission (AE) sensor. Among these signals, AE based methods are preferred over others due to their higher frequency range [7]. Acoustic emission can be divided into two categories, structure-borne acoustic emission and air-borne acoustic emission [8]. Structure-borne acoustic emission is the vibrations that are transferred from the tool to the tool-holder. For a metal cutting process, the characteristic frequency of the emission lies with-in the range of 500 kHz to 1 MHz (ultrasonic range). Acoustic emission-based methods for the machining process are reviewed in [9]. The structure-borne acoustic emission being having an ultrasonic frequency range is an environmental noise free technique; however, it requires high computational processing power. Air-borne acoustic emission is the vibrations that are transferred from cutting edge to the surrounding. The air-borne acoustic emission lies within audible range—i.e., from 0 Hz to 20 kHz. Different methods using airborne acoustic emission to monitor the tool health have been proposed by researchers. The relationship between air-borne acoustic emission and tool vibrations is determined by [10]. They found that the vibrations from the tool holder, along with the cutting insert, are a major source of sound generation. Delio et al. [11] proposed a method to detect chatter using airborne acoustic emission. Their results show that the performance of the airborne acoustic emission-based chatter detection approach is comparable with other methods based on displacement probes, accelerometers, and dynamometers. Sari et al. [12] studied the effect of various micro-piercing parameters to the power spectrum of the airborne acoustic emission. It is observed that cutting processes with different materials, sheet thicknesses, and clearances present a response in the range of 3–4 kHz For a honing process, Corral et al. [13] developed an airborne acoustic emission based method to monitor the surface roughness, material removal rate and tool wear. Kopac and Sali [14] developed a tool monitoring system using airborne acoustic emission. They conducted several experiments with different cutting speeds, feed-rates, and different amounts of wear. The depth of cut was taken as a constant in the experiments. They concluded that the frequency range depends upon both cutting speed and feed rate; however, the effects of cutting speed are lesser on the range than the feed-rate. A two-stage technique is developed by Aliustaoglu et al. [15] to monitor the tool condition using airborne acoustic emission. Several experiments were conducted on a four-axis CNC machining center. Their results show that the proposed method can identify the various tool wear conditions. Another airborne acoustic signal-based system is developed by Salgado and Alonso [16] to monitor the tool wear in turning processes. They acquired the feed motor current and acoustic signals. They analyzed the acquired signals using singular spectrum analysis. Support vector machine (SVM) was then utilized as a learning model to predict the tool wear. Kothuru et al. [17] studied the use of airborne acoustic signals to predict the cutting tool wear and failure during the end milling operation. The signals were acquired from different positions and analyzed in the frequency domain to extract features that correlate the cutting phenomenon. Their method utilized SVM as a decision-making algorithm. Another approach to predict the remaining life of a tool using air-borne acoustic emission can be found in [18].
One of the major challenges in the implementation of the airborne acoustic emission in industrial applications is environmental noise from the machine surroundings [19]. Ruiz-Carcel et al. [20] proposed the spectral kurtosis as a tool to increase the signal-to-noise ratio of acoustic emission for roll bearing acoustic emission. The major advantage of the technique is the automatic selection of band-pass frequency to increase the SNR. Zhu et al. [21] developed an algorithm to de-noise a signal where the signal is affected by non-Gaussian noise. Blind source separation was used for this purpose. For a micro-milling process, Lu and Wen [22] attempted to reduce the background noise effect on the acquired signal using hidden Markov model (HMM). Seemuang et al. [23] studied the relationship between spindle noise and tool wear for a cutting process. It is found that there is no relationship between frequency of spindle noise and tool wear. However, changing the various parameters such as cutting speed and feed rate have significant effect of spindle noise magnitude. A tool breakage detection technique using empirical mode decomposition and independent component analysis is developed by Shi et al. [24]. The technique was able to detect tool breakage by de-noising signals during face milling. Li et al. [25] proposed a technique to de-noise the acoustic emission of a milling operation. The features were extracted in time-frequency domain and an adaptive kernel principal component analysis was performed to de-noise the acquired signals. In the time-frequency based analysis techniques, synchrosqueezing-transforms-based techniques are developed [26]. Tary and Herrera [27] proposed continuous wavelet and synchrosqueezing-transform-based method to denoise the signals. Sony and Sadhu [28] developed a hybrid time–frequency based method combing multivariate empirical mode decomposition and synchrosqueezing transform to identify the time-varying behavior of the signal. Generally, the techniques to de-noise the acoustic emission are developed based on the frequency analysis of the acquired signal. However, a frequency-based filtering technique cannot be applied as there is a chance of losing frequency of interest within the range specified for airborne acoustic emission. For a machine shop, there exists a specific type of noise that is emitted from the background machines present in that workshop and, hence, a neural-networks-based filtering approach is best suitable to identify such type of noise through adaptive filtering. A neural-network-based noise reduction technique for a machining process was proposed by Zafar et al. [29]. The neural network performance was compared with the unsupervised and clustering approaches.
The aim of this paper is to develop a neural network and ARMA-based algorithm to reduce background noise for a machining signal. A machining signal can be affected by a variety of background noise for example, such as sounds from parallel running machines, operator voice or sounds in background; however, in this research, noise generated by parallel running machines on the shop floor are only considered. Acoustic signals from four different background machines are acquired and are introduced to the machining signal as sources of noise. Feedforward neural network is used as an adaptive filter to reduce the background noise. The proposed method adapts itself according to environmental conditions and extracts the machining signal from background noise effectively. The filtered signal is reconstructed through an ARMA-based algorithm which is a novel approach. The contributions of the paper can be summarized as follows: (1) the proposed method utilizes a novel neural network and ARMA-based algorithm to reduce the background noise. (2) An ARMA-based algorithm is developed find the ARMA parameters automatically which is then utilized to reconstruct the filtered signal. (3) The proposed approach extracts the statistical features of the acquired signals in the time domain. (4) The developed approach is benchmarked for several experiments for different levels of noise.
The rest of the paper is organized as follows: Background theory of the developed algorithm is provided in Section 2. Section 3 discusses proposed method to reduce the background noise and the signal reconstruction. Section 4 describes the detailed experimental setup to acquire acoustic signals. Results and discussion for the acquired signals filtration and reconstruction are provided in Section 5. Section 6 discusses various challenges to the research implementation in an industrial environment and the conclusions.

2. Background Theory

Typical architecture of a neural network is shown in Figure 1. A neural network is a network of interconnected neurons which are organized in three layers. These layers are typically called input layer i , hidden layer j , and output layer k . The neural network attempts to build a mathematical model between a set of feature vectors X i i   ϵ   n and their corresponding response Y i i   ϵ   p and hence the learning data can be presented as ϱ = [ ( X k , Y k ) ] k = 1 E . Typically, set of feature vector is taken as input to the neural network and their response is taken as output of the network. Hence, the number of neurons in input and output layers are equal to feature vector dimensions and the response respectively. However, the number of neurons in the hidden layer can be variable and can be selected based on the experience.
The neural network is designed to model a relationship between the input feature vectors X i i and their corresponding response Y i i . A set of weight or gain factors w i j as well as a bias b is assigned to each connection between the input and hidden layers. Mathematically, the hidden layer neurons response γ are given as
γ =   w i j X i i + b
An activation function S ( γ ) is used to identify the state of input layer neurons. For this work, a typical sigmoid function is used which can be given as
S ( γ ) = 1 1 + e y
The sigmoid function output lies within the range of [ 0 ,   1 ] . The sigmoid function response is again multiplied with a new set of weights v j k . The same procedure is repeated between the hidden layer and the output layer. The weight values are updated in iteratively to minimize the error between the desired response   Y i i and the predicted response.
W k k = W k k 1 + Δ W k k
where k k is the total number of iterations to reach desired mean squared error and Δ W k k is the change in weight. The mean square error is used to minimize the error, which is given as
M S E = 1 N i i = 1 N ( Y ^ i i Y i i   ) 2
where N is the total number of training samples and Y ^ i i is the predicted response. Various algorithms are used in the literature to update weights. These algorithms include scaled conjugate gradient method [30], Bayesian interpolation [31], and Levenberg–Marquardt (LM) algorithm [32], etc. In this research, an LM based backpropagation algorithm is employed because of its fast convergence. The algorithm adapts the weights of the neural network using the weight update rule
Δ W k k = μ [ H ( W k k 1 ) ] 1 E ( W k k 1 )
where μ is the learning rate, H is the Hessian matrix, and E is the gradient of the network error function. The neural network is used to filter the machining signal.
To reconstruct the filtered signal, a novel ARMA-based algorithm is developed. ARMA is a time series model that has been used in other fields of research to predict the forecast of different systems such as sunspot data, rain prediction systems, prediction of dam inflow of a dam reservoir, etc.; however, it has not been used to reconstruct the signal.
For a typical timeseries such as the predicted neural network response   y 1 , y 2 , ,   y t , the ARMA model is a combination of auto-regressive model of order (p)
y t + 1 = y t + φ 1 y t 1 + + φ p y t p + 𝛿
and moving average model of order (q)
y t + 1 = ε t + θ 1 ε t 1 + + θ q ε t q
where i , θ i are the model coefficients, y t is the previous sample value and ε t is the white noise error. In general, the autoregressive model determines that the current value of the system depends on how many previous terms whereas, the MA models are ‘averages’ of the past and present noise terms.
AR and MA model can be combined to form ARMA which can be mathematically defined as
y t = y t + 1 y t 1 + + p y t p + ε t + θ 1 ε t 1 + + θ q ε t q
To estimate the ARMA model, Box and Jenkins method [33] is used here. There are two basic steps of the ARMA model estimation, namely, identification of ARMA order and estimation of ARMA coefficients.

2.1. Identification of ARMA Model Order

To identify the correct order of the ARMA model automatically two tests are used; namely autocorrelation function ACF test and partial autocorrelation function PACF test. Autocorrelation function test shows how correlated the observations are, that is h lags apart, and is used to identify the order of the MA model. Mathematically, ACF for a set of measurements y 1 , y 2 , y T can be defined as
r h = C y ( h ) C y ( 0 )
where C y ( h ) is given by
C y ( h ) = 1 T g = 1 T h ( y g y ¯ ) ( y g + h y ¯ )
The number of peaks outside the predefined upper and lower bounds determines the order of the MA model. The PACF is interpreted as a regression of the series against its past lags and is used to determine the order of the AR model. Mathematically, PACF can be calculated as
χ k k = | 1 r 1 r 1 r 1 1 r 2 r k 1 r k 2 r k | | 1 r 1 r k 1 r 1 1 r k 2 r k 1 r k 2 1 |
Similarly, PACF indicates the order of the AR model. AR model will be of M t h order if M peaks are outside the 95% confidence level. One of the pre-requisite conditions of the time series model is that the series must be stationary [34]. To make the series stationary, M t h order difference can be taken. Generally, the value of M is set to be 1 or 2; however, care must be taken in selecting the value of M to avoid under or over differencing of the series. An under differenced series may behave as non-stationary series while an over differenced series may behave as a stationary series; however, the estimation of coefficients would be difficult in this case. There are two tests to check the proper order of the difference for the series—ACF test and variance test. ACF plot can be used to test the under differencing of the series. If ACF of the series dies out quickly, then it means that the series is stationary, otherwise, the series is non-stationary and series must be differenced. To determine the over differencing of the series, variance test can be used—i.e., the variance of a stationary series is minimum. It means that variance of the different order differenced series can be recorded and the minimum value of variance will determine the proper order of difference that is needed to be taken to make the series stationary.

2.2. Estimation of ARMA Coefficients

The second step of ARMA model estimation is to determine the value of its coefficients. This is done by the maximum likelihood method (MLE). The method selects the values as estimators of a set of parameters that maximize L ( q 1 , q 2 , q 3 , , q T ) = f ( y 1 , y 2 , y 3 ,   y T ;   q 1 , q 2 , q 3 , , q T ) where f ( y 1 , y 2 , y 3 , ,   y T ; q 1 , q 2 , q 3 , , q T ) is the joint density function of the observations y 1 , y 2 , y 3 , ,   y T . L ( q 1 , q 2 , q 3 , , q T ) is called the likelihood function. Finding the values q 1 , q 2 , q 3 , , q T to maximize L ( q 1 , q 2 , q 3 , , q T ) is equivalent to finding the values to maximize l ( q 1 , q 2 , q 3 , , q T ) = ln ( L ( q 1 , q 2 , q 3 , , q T ) ) which is called the log-likelihood function [34].
To estimate the p + q + 2 parameters φ 1 , φ 2 , φ 3 , , φ p ; θ 1 , θ 2 , θ 3 , , θ q ; δ ; σ 2 of the ARMA model using MLE, joint density function of the observations y 1 , y 2 , y 3 , ,   y t needs to be found—i.e., f ( φ 1 , φ 2 , φ 3 , , φ p ; θ 1 , θ 2 , θ 3 , , θ q ; δ ; σ 2 ) = f ( y | φ , θ , δ , σ 2 ) . It is difficult to determine the exact density function of y 1 , y 2 , y 3 , ,   y t from this information; however, if it is assumed that p starting values on the AR model s * = s 1 p , s 2 p , s 3 p , ,   s 0 and q starting values on the MA model u * = u 1 p , u 2 p , u 3 p , ,   u 0 have been observed then the conditional distribution of given y 1 , y 2 , y 3 , ,   y N , s * = s 1 p , s 2 p , s 3 p , ,   s 0 , and u * = u 1 p , u 2 p , u 3 p , ,   u 0 can easily be determined. The joint density of y given s * and u * can be calculated by conditional likelihood function is given by
L y | s * , u * ( φ , θ , δ , σ 2 ) = ( 1 2 π σ ) n exp { 1 2 σ 2 a = 1 T u a 2 ( s * , u * , φ , θ , δ ) } = ( 1 2 π σ ) n exp { 1 2 σ 2 κ * ( θ , φ , δ ) }
where
κ * ( θ , φ , δ ) = a = 1 T u a 2 ( s * , u * , φ , θ , δ )
The conditional log-likelihood function can be calculated by taking ln on both sides.
l y | s * , u * ( φ , θ , δ , σ 2 ) = ln ( L y | s * , u * ( φ , θ , δ , σ 2 ) )   = n 2 n 2 ln ( σ 2 ) 1 2 σ 2 a = 1 T u a 2 ( s * , u * , φ , θ , δ )
= n 2 n 2 ln ( σ 2 ) 1 2 σ 2 κ * ( θ , φ , δ )
The values that maximize l y | s * , u * ( φ , θ , δ , σ 2 ) and L y | s * , u * ( φ , θ , δ , σ 2 ) are the values φ ^ , θ ^ , δ ^ that minimize κ * ( θ , φ , δ ) = a = 1 T u a 2 ( s * , u * , φ , θ , δ ) with σ ^ 2 = 1 n a = 1 T u a 2 ( s * , u * , φ ^ , θ ^ , δ ^ ) = 1 n κ * ( θ ^ , φ ^ , δ ^ ) .

3. Proposed Algorithm

Airborne acoustic emission signals can be affected by a variety of background noise signals. However, in the proposed method noise from only four background machines are considered and are taken as noise. Figure 2 shows the flowchart of the algorithm. Acoustic signals from the machining process as well as from background machines are recorded separately. Statistical features such as mean, standard deviation, RMS, skewness, kurtosis, signal maximum, and minimum values are calculated. To reduce the background noise, a feedforward neural network is proposed to use as an adaptive filter. A machining signal could be filtered through traditional filters; however, the traditional filters would fail within the characteristic frequency range. The network is trained with individual acquired signal features using the procedure defined in Section 2. Afterward, background noise signals for one second is introduced to the machining signal. The noisy signal is then used to evaluate the performance of the neural network as an adaptive filter. The trained network works as an adaptive filter and removes noise samples from the signal. To reconstruct the filtered signal automatically, an ARMA-based algorithm is then developed.
The first step in the signal reconstruction algorithm is to identify the ARMA model order. To determine the order of the ARMA model, ACF and PACF tests are used for which at least 50 samples from the signals are needed. For the first 50 samples, the sample values of the machining signal that are filtered falsely by the algorithm are replaced by the values determined by the average of the two neighboring samples. After replacing the falsely filtered values, the ARMA model order is estimated using the first 50 samples. Once the model is identified, the ARMA model coefficients are found using MLE for the 50 samples. Once, the ARMA model is built, it is then used to forecast N sample points to reconstruct the filtered signal. The developed algorithm can forecast up to five sample points without moving the window further. To reconstruct more than five sample points, the algorithm first forecast five samples and then move the window to the next 50 samples and then check for several filtered samples. The process continues until the whole signal is reconstructed. After a complete signal is reconstructed, the reconstruction algorithm takes the average of the forecasted or reconstructed samples and update the false negatives values of the first 50 samples. Flowchart of the reconstruction algorithm is given in Figure 3.

4. Experimentation

Experimentation is performed at Industrial Automation Lab of the college of EME, NUST (Pakistan). For a turning process, acoustic signals are acquired from a Denford Cyclone P CNC machine tool. Figure 4 shows the experimental setup.
The signals are acquired through an acoustic sensor at a rate sampling rate of 44.1 kHz to fulfill the Nyquist criteria. Each signal is recorded for 10 s. A total of 27 machining signals are recorded at different speeds and feed rates while depth of cut is kept constant. Calculated statistical features of the acquired data are tabulated in Table 1. The statistical properties of an acoustic signal such as first four moments, maximum value, minimum value, and maximum value of its root mean square (RMS) are taken as input.
Machining signals are recorded at different speeds and feed rates while depth of cut is kept constant. Calculated statistical features of the acquired data are tabulated in Table 1. The statistical properties of an acoustic signal such as first four moments, maximum value, minimum value, and maximum value of its root mean square (RMS) are taken as input.
Feature vectors to the neural network. The first and second moment of the signal are mean and standard deviation whereas the third and fourth moment about the mean are known as skewness and kurtosis [35]. The 𝒾 t h standardized moment ζi of an acoustic signal s   is given as
ζ 𝒾 = E [ ( s s ¯ ) 𝒾 ]
and skewness of a signal is given by 𝒾 = 3 and can be defined as
S k = ζ 3 σ 3
where ζ is the moment and is the standard deviation.
The signal skewness determines the signal symmetry about its mean value. Similarly, kurtosis of a signal is given by 𝒾 = 3   and can be defined as
K x = ζ 4 σ 4
Kurtosis of a signal determines the sharpness of the peak of the signal. RMS of a machining signal varies with the increase in degradation of tool health. Hence, it is considered as a significant feature to monitor tool health [36,37]. RMS of a signal for a specific window length is defined as
S r m s = s 1 2 + s 2 2 + + s n n 2 n n
where s is signal sample and n n is the total number of sample points in a window. Figure 5a shows a raw acoustic signal. The signal is acquired during a turning process at a feed rate of 200 mm/s and a constant depth of cut of 0.5 mm. To estimate the signal RMS in the time domain a window length of 1000 samples is selected. The RMS of the signal is shown in Figure 5b.
To validate the acquired signal from the microphone, the fast Fourier transform (FFT) of the machining signal is calculated. For the purpose, the signal is acquired at 1522 RPM which corresponds to 25.4 Hz in frequency domain. A clear peak at 25.4 Hz frequency can be seen in the Figure 6.
The machining signal can be affected by various types of environmental noise—for example, if an operator sneezes or a telephone rings in the background, etc. However, for this research, only parallel running machine noise is considered. Normally different machines operate in parallel on a shop floor. The acoustic signals of these parallel operating machines interfere with the acoustic signal of the machining process. These acoustic signals are a key source of the noise to the machining process acoustic signal. The acoustic signals from the parallel operating machines are considered as background noise. In this regard, four machines—a variable speed DC motor, a grinding machine, a three-axis CNC milling machine, and a four-axis mini milling machine—are selected and their signals are recorded. These machines are denoted as M1, M2, M3, and M4 while the CNC machine is denoted as MC. The distance between the CNC machine and the background machines is fixed; however, each machine has a specific distance from the CNC machine. The distance between the CNC machine and background machines are given in Table 2.
Figure 7 shows the acoustic signals of the selected background machines while Figure 8 shows the RMS level of the signals. It can be seen from Figure 8a that machine 4 signal has overlapping RMS level with machining signal RMS. As it is clear from Figure 8b that the grinding machine signal was quite dominant and its RMS level is much higher than the rest of the machine signals.
The neural network is trained with a single dataset A whereas the performance of the trained neural network is tested on two separate datasets namely dataset A and data B. Both datasets are prepared from the same (foreground and background) machines. For dataset A and B, machining signals and signals from each background machine having a length of 10 s are recorded. Dataset A consists of a total of 881 RMS samples. Out of 881 samples, 441 samples are from machining signal while 440 samples are taken from background machines signal (110 samples from each machine). A separate set of signals from the machining as well as background machines is also recorded and is termed as dataset B. This signal set is used to test the neural network performance. Similar to dataset A, the RMS level of the signals is calculated and taken as an important feature. Hence, dataset B consists of 2205 RMS samples with equal 441 samples from machining signals as well as from the background machine.

5. Results and Discussion

The architecture of the neural network consists of 4, 10, and 1 neurons in the input, hidden layer, and output layer respectively. Dataset A is further divided into three sub-datasets with 70% samples used for training purposes, 15% used for validation purpose, and remaining data used for testing. The neural network is trained until the minimum value of the validation error of 0.1124 is found. The performance of the neural network is assessed using dataset B. For machining signal, the neural network showed an accuracy of 82.3%. The confusion matrix of the back-propagation neural network for machining signal is given in Table 3. The table shows that when only machining signal is fed to trained neural network, it classifies 363 samples correctly. In the table, class 1 represents machining signal, whereas, class 0 represents the background noise or signals from other sources. The neural network showed an accuracy of 96.1% for M1 machine. Accuracy in the case of M2 is found to be maximum (100%) for grinding machine. This is due to the fact that the acoustic signal of M2 is quite distinguishable and dominant. Accuracy in the case of M4 is found to be 95.7%. The neural network showed the worst performance for M3 and shows an accuracy of only 5%. One of the possible reasons for the low accuracy of M3 is that the RMS level of M3 is overlapping with machining signal RMS as shown in Figure 8a.
Until now, the neural network is tested on limited number of signal samples. To demonstrate the accuracy of the neural network in real scenario, a separate dataset (dataset B) is used. For the dataset B, the background noise signal is mixed with the machining signal for one second. Different combinations of the background noise are used to validate the network performance in various scenarios. A machining signal mixed with the M4 noise is shown in Figure 9. In the figure, the machining signal mixed with the background noise is shown in red color in the 5–6 s windows. It can be seen that the RMS level of the signal between 5 and 6 s is higher than the rest of the signal.
FFT plot of the machining signal is shown in Figure 10a before adding the noise. Four dominant peaks of the machining signal at 2.332 kHz, 2.336 kHz, 2.352 kHz, and 2.358 kHz can be seen in the figure. Figure 10b shows the FFT of the machining signal after mixing with background noise. It can be seen from Figure 10b that an additional peak at 2.340 kHz is added to the plot. In addition to that it can also be observed that amplitudes of the dominant peaks are also affected by the noise. Hence, it validates the hypothesis that signal cannot be analyzed in the frequency domain as the background noise frequency may fall within the machining signal frequency of interest.
The noisy signal is then passed through the back-propagation neural network. Figure 11 shows the filtered signal. It is observed that RMS values between 220 and 264 sample numbers which correspond to the noisy patch in the signal are filtered. However, some other values from the machining signal are also wrongly classified.
To reconstruct the filtered signal a time series model ARMA-based algorithm is developed. To estimate the order of the ARMA model, a minimum of 50 points is needed; therefore, to make the signal continuous or to reconstruct the filtered values for the first 50 samples, the filtered values are initially replaced by the average of the two neighbor samples. A variance test has been used to check the stationarity of the signal. The variance of the signal is calculated and recorded for the series and then the series is differenced until minimum variance is found which is equal to 1. Therefore, one difference in the series is taken. Table 4 shows the different values of variance calculated at a different order of difference. It can be seen that variance is minimum at D1.
ACF and PACF tests are used to calculate the order of MA and AR models respectively. Figure 12 shows the ACF plot of the signal. ACF is calculated for 20 lags only. It can be seen that only one peak at the lower lags is above the upper bound of the graph. This suggests that the MA model should be of order 1.
Figure 13 shows the PACF plot of the signal which is also calculated for 20 lags only. A peak of 0.4 is found at lag 1 which is suggesting the AR model of order 1. However, ARIMA models with p = 1,2,3,4 and q = 1,2,3,4 are also investigated and the best results are found are ARIMA (2,1,2).
The coefficient values for the selected model are found using maximum likelihood estimation. The values of the coefficients are tabulated in Table 5.
The estimated ARMA model is then used to reconstruct the filtered signal. A window of 50 samples is selected and then a maximum of five samples are forecasted to reconstruct the signal. Then the window is moved to the next 50 values of the signals and the same procedure is repeated until the complete signal is reconstructed. After that, filtered values for the first 50 samples which were replaced by the average of their neighbor samples, are now replaced by the average of the filtered signal. Figure 14 shows the reconstructed signal.
In the above figure, the machining signal is shown by a blue line while the filtered or reconstructed samples are shown by the red line. The neural network results are presented in Table 6. In the table, the first column represents the various combinations of machining and noise signals. For example, MC + M1 shows that the machine 1 signal is introduced to the machining signal. In order to validate the proposed algorithm performance, three indicators—namely, signal to noise ratio, coefficient of variation, and mean square error—are used. The signal to noise ratio (SNR) is the ratio between mean and standard deviation of a signal and it is given as
SNR = S ¯ σ s = 1 N i = 1 N s i 1 N i = 1 N ( s i S ¯ )
where S ¯ and σ s are the mean and standard deviation of the signal. Coefficient of variation (CV) is the reciprocal to SNR. In the Table 6, the fourth column SNR1 represents SNR of the mixed signal before filtering. The SNR2 column represents the SNR of the filtered and reconstructed signal. Similarly, the CV1 column represent coefficient of variation of the mixed signal whereas CV2 column represent the coefficient of variation of the filtered and reconstructed signal. From Table 6, it can be observed that the SNR of the machining signals before and after adding the noise are significantly improved. Similarly, the CV value of the machining signal reduces after filtering. Column 9 of the table shows the percentage increase in the SNR before and after filtering the noise. The last column of the table shows mean squared error between filtered signal and the original machining signal.

6. Conclusions

Airborne acoustic emission from a machining process provides vital information regarding the tool wear and can be used to develop a low-cost solution to monitor tool health. However, background noise is one of the major challenges in its implementation. The research aims to propose a solution to filter the noise generated by parallel running machines on the shop floor to overcome the implementation challenge of airborne acoustic emission in the lab environment. The characteristic frequency of tool condition for airborne acoustic emission lies within the first few kHz. Parallel running machining machines frequency can lie within or outside this range. Traditional band-pass, band-stop, or notch filters can be applied if noise frequency lies outside the machining frequency range; however, these filters would also filter the machining signal if the noise frequency lies within the machining frequency range. Therefore, different techniques of machine learning algorithms have been used as adaptive filters to classify machine and noise signals.
Different combinations of noise signals are mixed and introduced to machine signals to test the performance of the proposed solution in a real environment. To reconstruct the filtered signal, the ARMA-based algorithm is used. A series needs to be stationary to estimate the ARMA model. Proper order of differencing is selected using variance and autocorrelation function to avoid under and over differencing of the series. An under-differenced series would behave as a non-stationary series, while on the other hand, it is difficult to estimate over-differenced series coefficients. Order of moving average and autoregressive model is estimated to be around 1 using autocorrelation and partial autocorrelation function test, however, better results are found at ARIMA (2, 1, 2). ARMA-based signal reconstruction shows promising results with an average increase in SNR of 70.3% before and after signal reconstruction. Moreover, an average MSE of 1.3 × 10−7 is found between reconstructed and original machining signal. Finally, it can be concluded that the proposed technique can work best for the lab environment; however, the proposed technique can face a challenge to filter the noise having characteristics closer to the machining signal. Moreover, implementation of ARMA-based reconstruction algorithm in the dominant noisy environment would be a challenging problem.

Author Contributions

Conceptualization, K.K.; methodology, K.K. and T.Z.; software, T.Z.; validation, S.M. and G.H.; formal analysis, F.M.A.; investigation, K.K.; resources, M.A.; data curation, S.M.; writing—original draft preparation, T.Z.; writing—review and editing, K.K. and T.Z.; visualization, K.K.; supervision, S.M.; project administration, M.A. and M.K.A.; funding acquisition, M.A. All authors have read and agreed to the published version of the manuscript.

Funding

The work was supported by Researchers Supporting Project Number (RSP-2021/274), King Saud University, Riyadh, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Elbestawi, M.A.; Dumitrescu, M.; Ng, E.-G. Tool condition monitoring in machining. In Condition Monitoring and Control for Intelligent Manufacturing; Springer: Berlin/Heidelberg, Germany, 2006; pp. 55–82. [Google Scholar]
  2. Chen, G.; Zhang, L.; Arinez, J.; Biller, S. Energy-efficient production systems through schedule-based operations. IEEE Trans. Autom. Sci. Eng. 2012, 10, 27–37. [Google Scholar] [CrossRef]
  3. Mohanraj, T.; Shankar, S.; Rajasekar, R.; Sakthivel, N.; Pramanik, A. Tool condition monitoring techniques in milling process—a review. J. Mater. Res. Technol. 2020, 9, 1032–1042. [Google Scholar] [CrossRef]
  4. Martins, C.H.; Aguiar, P.R.; Frech, A.; Bianchi, E.C. Tool condition monitoring of single-point dresser using acoustic emission and neural networks models. IEEE Trans. Instrum. Meas. 2013, 63, 667–679. [Google Scholar] [CrossRef]
  5. Kannatey-Asibu, E.; Yum, J.; Kim, T. Monitoring tool wear using classifier fusion. Mech. Syst. Signal Process. 2017, 85, 651–661. [Google Scholar] [CrossRef] [Green Version]
  6. Ghosh, N.; Ravi, Y.B.; Patra, A.; Mukhopadhyay, S.; Paul, S.; Mohanty, A.R.; Chattopadhyay, A.B. Estimation of tool wear during CNC milling using neural network-based sensor fusion. Mech. Syst. Signal Process. 2007, 21, 466–479. [Google Scholar] [CrossRef]
  7. Zhou, J.-H.; Pang, C.K.; Zhong, Z.-W.; Lewis, F.L. Tool wear monitoring using acoustic emissions by dominant-feature identification. IEEE Trans. Instrum. Meas. 2010, 60, 547–559. [Google Scholar] [CrossRef]
  8. Zhang, Y.M. Real-Time Weld Process Monitoring; Elsevier: Amsterdam, The Netherlands, 2008. [Google Scholar]
  9. Zhou, Y.; Xue, W. Review of tool condition monitoring methods in milling processes. Int. J. Adv. Manuf. Technol. 2018, 96, 2509–2523. [Google Scholar] [CrossRef]
  10. Lu, M.-C.; Kannatey-Asibu, E. Flank Wear and Process Characteristic Effect on System Dynamics in Turning. J. Manuf. Sci. Eng. 2004, 126, 131–140. [Google Scholar] [CrossRef]
  11. Delio, T.; Tlusty, J.; Smith, S. Use of audio signals for chatter detection and control. J. Eng. Ind. 1992, 114, 146–157. [Google Scholar] [CrossRef]
  12. Sari, D.Y.; Wu, T.-L.; Lin, B.-T. Study of sound signal for online monitoring in the micro-piercing process. Int. J. Adv. Manuf. Technol. 2018, 97, 697–710. [Google Scholar] [CrossRef]
  13. Buj-Corral, I.; Álvarez-Flórez, J.; Domínguez-Fernández, A. Acoustic emission analysis for the detection of appropriate cutting operations in honing processes. Mech. Syst. Signal Process. 2018, 99, 873–885. [Google Scholar] [CrossRef]
  14. Kopac, J.; Sali, S. Tool wear during the turning process. J. Mater. Process. Technol. 2001, 113, 312–316. [Google Scholar] [CrossRef]
  15. Aliustaoglu, C.; Ertunc, H.M.; Ocak, H. Tool wear condition monitoring using a sensor fusion model based on fuzzy inference system. Mech. Syst. Signal Process. 2009, 23, 539–546. [Google Scholar] [CrossRef]
  16. Salgado, D.; Alonso, F. An approach based on current and sound signals for in-process tool wear monitoring. Int. J. Mach. Tools Manuf. 2007, 47, 2140–2152. [Google Scholar] [CrossRef]
  17. Kothuru, A.; Nooka, S.P.; Liu, R. Application of audible sound signals for tool wear monitoring using machine learning techniques in end milling. Int. J. Adv. Manuf. Technol. 2018, 95, 3797–3808. [Google Scholar] [CrossRef]
  18. Hede, B.P. Condition Monitoring of Tools in CNC Turning. Ph.D. Thesis, Loughborough University, Loughborough, UK, 2008. [Google Scholar]
  19. Mba, D.; Sikorska, J.Z. Challenges and obstacles in the application of acoustic emission to process machinery. Part E J. Process Mech. Eng. 2008, 222, 1–19. [Google Scholar]
  20. Ruiz-Ca’rcel, C.; Hernani-Ros, E.; Cao, Y.; Mba, D. Use of Spectral Kurtosis for Improving Signal to Noise Ratio of Acoustic Emission Signal from Defective Bearings. J. Fail. Anal. Preven. 2014, 14, 363–371. [Google Scholar] [CrossRef] [Green Version]
  21. Zhu, K.; Wong, Y.; Hong, G.S. Noise-robust tool condition monitoring in micro-milling with hidden Markov models. In Soft Computing Applications in Industry; Springer: Berlin/Heidelberg, Germany, 2008; pp. 23–46. [Google Scholar]
  22. Lu, M.-C.; Wan, B.-S. Study of high-frequency sound signals for tool wear monitoring in micromilling. Int. J. Adv. Manuf. Technol. 2013, 66, 1785–1792. [Google Scholar] [CrossRef]
  23. Seemuang, N.; McLeay, T.; Slatter, T. Using spindle noise to monitor tool wear in a turning process. Int. J. Adv. Manuf. Technol. 2016, 86, 2781–2790. [Google Scholar] [CrossRef] [Green Version]
  24. Shi, X.; Wang, R.; Chen, Q.; Shao, H. Cutting sound signal processing for tool breakage detection in face milling based on empirical mode decomposition and independent component analysis. J. Vib. Control 2015, 21, 3348–3358. [Google Scholar] [CrossRef]
  25. Li, Z.; Liu, R.; Wu, D. Data-driven smart manufacturing: Tool wear monitoring with audio signals and machine learning. J. Manuf. Process. 2019, 48, 66–76. [Google Scholar] [CrossRef]
  26. Thakur, G. The synchrosqueezing transform for instantaneous spectral analysis. In Excursions in Harmonic Analysis; Springer: Berlin/Heidelberg, Germany, 2015; Volume 4, pp. 397–406. [Google Scholar]
  27. Tary, J.B.; Herrera, R.H.; van der Baan, M. Analysis of time-varying signals using continuous wavelet and synchrosqueezed transforms. Philos. Trans. R. Soc. A Math. Phys. Eng. Sci. 2018, 376, 20170254. [Google Scholar] [CrossRef] [Green Version]
  28. Sony, S.; Sadhu, A. Synchrosqueezing transform-based identification of time-varying structural systems using multi-sensor data. J. Sound Vib. 2020, 486, 115576. [Google Scholar] [CrossRef]
  29. Zafar, T.; Kamal, K.; Sheikh, Z.; Mathavan, S.; Ali, U.; Hassaan, M. A neural network based approach for background noise reduction in airborne. J. Mech. Sci. Technol. 2017, 31, 3171–3182. [Google Scholar] [CrossRef]
  30. Møller, M.F. A Scaled Conjugate Gradient Algorithm for Fast Supervised Learning; Aarhus University, Computer Science Department: Aaurhus, Denmark, 1990. [Google Scholar]
  31. MacKay, D.J. Bayesian interpolation. Neural Comput. 1992, 4, 415–447. [Google Scholar] [CrossRef]
  32. Marquardt, D.W. An algorithm for least-squares estimation of nonlinear parameters. J. Soc. Ind. Appl. Math. 1963, 11, 431–441. [Google Scholar] [CrossRef]
  33. Box, G.E.P.; Jenkins, G.M.; Reinsel, G.C. Time Series Analysis: Forecasting and Control; Prentice Hall: Englewood Cliff, NJ, USA, 1994. [Google Scholar]
  34. Nerlove, M.; Diebold, F.X. Autoregressive and Moving-average Time-series Processes. In Time Series and Statistics; Springer: Berlin/Heidelberg, Germany, 1990; pp. 25–35. [Google Scholar]
  35. Brandt, A. Noise and Vibration Analysis: Signal Analysis and Experimental Procedures; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  36. Barry, J.; Byrne, G.; Lennon, D. Observations on chip formation and acoustic emission in machining Ti–6Al–4V alloy. Int. J. Mach. Tools Manuf. 2001, 41, 1055–1070. [Google Scholar] [CrossRef]
  37. Cho, S.S.; Komvopoulos, K. Correlation between acoustic emission and wear of multi-layer ceramic coated carbide tools. J. Manuf. Sci. Eng. 1997, 119, 238–246. [Google Scholar] [CrossRef]
Figure 1. Feedforward neural network structure.
Figure 1. Feedforward neural network structure.
Sensors 21 08023 g001
Figure 2. Flowchart of the proposed algorithm.
Figure 2. Flowchart of the proposed algorithm.
Sensors 21 08023 g002
Figure 3. ARMA-based reconstruction algorithm flowchart.
Figure 3. ARMA-based reconstruction algorithm flowchart.
Sensors 21 08023 g003
Figure 4. Experimental setup.
Figure 4. Experimental setup.
Sensors 21 08023 g004
Figure 5. (a) Raw acoustic signal (above); (b) RMS level of the signal.
Figure 5. (a) Raw acoustic signal (above); (b) RMS level of the signal.
Sensors 21 08023 g005
Figure 6. FFT plot of machining signal.
Figure 6. FFT plot of machining signal.
Sensors 21 08023 g006
Figure 7. Raw acoustic signals of background noise: (a) variable DC motor; (b) grinding machine; (c) milling three–axis; (d) milling four-axis.
Figure 7. Raw acoustic signals of background noise: (a) variable DC motor; (b) grinding machine; (c) milling three–axis; (d) milling four-axis.
Sensors 21 08023 g007
Figure 8. (a) RMS plot of machines excluding M2 (above); (b) RMS plot of all machines (below).
Figure 8. (a) RMS plot of machines excluding M2 (above); (b) RMS plot of all machines (below).
Sensors 21 08023 g008
Figure 9. (a) Noise introduction (above) and (b) RMS level of the same signal (below).
Figure 9. (a) Noise introduction (above) and (b) RMS level of the same signal (below).
Sensors 21 08023 g009
Figure 10. (a) FFT plot of an acoustic signal before noise addition (above); (b) FFT plot of an acoustic signal after noise addition (below).
Figure 10. (a) FFT plot of an acoustic signal before noise addition (above); (b) FFT plot of an acoustic signal after noise addition (below).
Sensors 21 08023 g010
Figure 11. Signal filtration using back-propagation neural network.
Figure 11. Signal filtration using back-propagation neural network.
Sensors 21 08023 g011
Figure 12. ACF plot.
Figure 12. ACF plot.
Sensors 21 08023 g012
Figure 13. PACF Plot.
Figure 13. PACF Plot.
Sensors 21 08023 g013
Figure 14. Reconstructed signal.
Figure 14. Reconstructed signal.
Sensors 21 08023 g014
Table 1. Various features of acquired signals.
Table 1. Various features of acquired signals.
Test No.Sample No.Speed
(RPM)
Feed Rate
(mm/s)
Mean
× 10 5
Standard DeviationMaxMinRMS MaxKurtosisSkew-Ness
111016200−1.740.00440.0191−0.01520.11372.93180.0136
221016200−1.810.00460.0192−0.01610.00632.93400.0195
331016200−1.700.00450.0194−0.01510.00582.95430.0038
411016400−1.560.00520.0235−0.01960.00913.12130.0011
521016400−1.630.00490.0561−0.02120.00713.1899−0.0258
631016400−1.540.00540.0274−0.02130.00953.14570.0251
711016600−1.630.00550.0298−0.02530.01083.39910.0611
821016600−1.850.00460.0202−0.01610.00623.00400.0439
931016600−1.480.00680.0460−0.04440.02014.3357−0.0548
1011522200−1.740.00550.0222−0.02190.00792.96790.0087
1121522200−1.620.00560.0255−0.01940.00753.00140.0120
1231522200−1.530.00600.0277−0.02690.01073.1795−0.0256
1311522400−1.280.00610.0407−0.02730.01193.2998−0.0347
1421522400−1.410.00550.0865−0.02120.01094.09490.0081
1531522400−1.620.00540.0233−0.01820.00752.98450.0071
1611522600−1.950.00620.0396−0.04240.01583.9978−0.0397
1721522600−1.850.00560.0256−0.02130.00883.07270.0117
1831522600−1.610.00570.0347−0.02330.00923.06630.0153
1912000200−1.500.00570.0250−0.02000.00832.90560.0158
2022000200−1.680.00590.0279−0.02270.00912.9688−0.0105
2132000200−1.580.00590.0292−0.02830.00963.04550.0503
2212000400−1.330.00550.0249−0.01950.00832.99970.0364
2322000400−1.720.00550.0244−0.01990.00793.01260.0463
2432000400−1.560.00570.0249−0.02090.00783.05170.0340
2512000600−1.640.00610.0287−0.02230.01012.97680.0330
2622000600−1.470.00630.0269−0.02340.00892.96060.0501
2732000600−1.510.00630.0318−0.02890.01213.20310.0403
Table 2. Background machine distance measures.
Table 2. Background machine distance measures.
MachineSymbolApprox. Distance
A variable speed DC motorM16 m
Grinding machineM23 m
Three-axis milling machineM31 m
Four-axis mini-milling machineM43 m
Table 3. Confusion matrix for machining signal.
Table 3. Confusion matrix for machining signal.
Predicted
Class
Output Class
Class01
0072
10363
Table 4. Variance value at a different order of difference.
Table 4. Variance value at a different order of difference.
Order of DifferenceVariance
Variance 4.76 × 10 7
D1 4.70 × 10 7
D2 9.37 × 10 7
D3 2.51 × 10 6
D4 8.09 × 10 6
Table 5. Estimated coefficients values.
Table 5. Estimated coefficients values.
ModelCoefficient 1 Coefficient 2
Autoregressive model (∅)−0.01860.6104
Moving Average model (θ)−0.1894−0.8105
Table 6. Results for real scenarios.
Table 6. Results for real scenarios.
NoiseMEAN1 × 10 2 STD1 × 10 2 SNR1CV1MEAN2 × 10 3 STD2 × 10 4 SNR2CV2% IncreaseMSE
× 10 7
MC + M10.58120.16193.5900.2785.4476.977.8100.12854.021.34
MC + M21.04391.52430.6841.4605.4476.977.8100.12891.231.34
MC + M30.5510.09036.0980.1635.4787.327.4860.13318.531.68
MC + M40.56340.11614.8510.2065.4787.297.5130.13335.431.72
MC + M1 + M21.05011.54250.6801.4685.4476.977.8100.12891.281.34
MC + M1 + M30.5880.18093.2500.3075.4476.977.8100.12858.381.34
MC + M1 + M40.59590.20252.9430.3395.4476.977.8100.12862.311.34
MC + M2 + M31.04561.52910.6831.4625.4476.977.8100.12891.241.34
MC + M2 + M41.04731.53510.6821.465.4476.977.8100.12891.261.34
MC + M3 + M40.57070.13454.2420.2355.4476.977.8100.12845.671.34
MC + M1 + M2 + M31.05191.54760.6791.4715.4476.977.8100.12891.291.34
MC + M1 + M2 + M41.05351.55320.6781.4745.4476.977.8100.12891.311.34
MC + M1 + M3 + M40.60180.21912.7460.3645.4476.977.8100.12864.831.34
MC + M2 + M3 + M41.04911.53970.6811.4675.4476.977.8100.12891.271.34
MC + All Noise1.05531.55810.6771.4765.4476.977.8100.12891.321.34
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zafar, T.; Kamal, K.; Mathavan, S.; Hussain, G.; Alkahtani, M.; Alqahtani, F.M.; Aboudaif, M.K. A Hybrid Approach for Noise Reduction in Acoustic Signal of Machining Process Using Neural Networks and ARMA Model. Sensors 2021, 21, 8023. https://doi.org/10.3390/s21238023

AMA Style

Zafar T, Kamal K, Mathavan S, Hussain G, Alkahtani M, Alqahtani FM, Aboudaif MK. A Hybrid Approach for Noise Reduction in Acoustic Signal of Machining Process Using Neural Networks and ARMA Model. Sensors. 2021; 21(23):8023. https://doi.org/10.3390/s21238023

Chicago/Turabian Style

Zafar, Tayyab, Khurram Kamal, Senthan Mathavan, Ghulam Hussain, Mohammed Alkahtani, Fahad M. Alqahtani, and Mohamed K. Aboudaif. 2021. "A Hybrid Approach for Noise Reduction in Acoustic Signal of Machining Process Using Neural Networks and ARMA Model" Sensors 21, no. 23: 8023. https://doi.org/10.3390/s21238023

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop