Next Article in Journal
On the Performance of Generative Adversarial Network by Limiting Mode Collapse for Malware Detection Systems
Next Article in Special Issue
Learning Damage Representations with Sequence-to-Sequence Models
Previous Article in Journal
Analysis of Compromising Video Disturbances through Power Line
Previous Article in Special Issue
Soft Elastomeric Capacitor for Angular Rotation Sensing in Steel Components
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Flaw Detection in Highly Scattering Materials Using a Simple Ultrasonic Sensor Employing Adaptive Template Matching

1
College of Civil Engineering, Nanjing Tech University, Nanjing 211816, China
2
Key Lab of Structures Dynamic Behavior and Control of the Ministry of Education, School of Civil Engineering, Harbin Institute of Technology, Harbin 150090, China
3
Key Lab of Smart Prevention and Mitigation of Civil Engineering Disasters of the Ministry of Industry and Information Technology, Harbin Institute of Technology, Harbin 150090, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(1), 268; https://doi.org/10.3390/s22010268
Submission received: 4 December 2021 / Revised: 26 December 2021 / Accepted: 29 December 2021 / Published: 30 December 2021
(This article belongs to the Special Issue Smart Sensor Networks for Civil Infrastructure Monitoring)

Abstract

:
Ultrasonic sensors have been extensively used in the nondestructive testing of materials for flaw detection. For polycrystalline materials, however, due to the scattering nature of the material, which results in strong grain noise and attenuation of the ultrasonic signal, accurate detection of flaws is particularly difficult. In this paper, a novel flaw-detection method using a simple ultrasonic sensor is proposed by exploiting time-frequency features of an ultrasonic signal. Since grain scattering mostly happens in the Rayleigh scattering region, it is possible to separate grain-scattered noise from flaw echoes in the frequency domain employing their spectral difference. We start with the spectral modeling of grain noise and flaw echo, and how the two spectra evolve with time is established. Then, a time-adaptive spectrum model for flaw echo is proposed, which serves as a template for the flaw-detection procedure. Next, a specially designed similarity measure is proposed, based on which the similarity between the template spectrum and the spectrum of the signal at each time point is evaluated sequentially, producing a series of matching coefficients termed moving window spectrum similarity (MWSS). The time-delay information of flaws is directly indicated by the peaks of MWSSs. Finally, the performance of the proposed method is validated by both simulated and experimental signals, showing satisfactory accuracy and efficiency.

1. Introduction

Ultrasonic sensors have been widely used as a nondestructive testing (NDT) method to detect hidden flaws in materials. The well-known ultrasonic pulse-echo method, first proposed by Pellam and Galt [1], is based on the important property of ultrasound that the ultrasonic pulse signal can be reflected at inhomogeneities and discontinuities in the material, and the reflected signal contains valuable information on the condition of the material or structure. Based on this simple property of ultrasound, great advances have been made both in ultrasonic sensor technology [2,3,4,5] and related NDT methodologies [6,7,8]. Embedded ultrasonic sensors are also widely used as an effective tool for structural health monitoring (SHM) purposes [9,10]. More recently, novel NDT methods based on coda wave interferometry (CWI) have been proposed as a promising technique to detect multiple cracks [11] and to monitor weld fatigue crack growth [12]. However, when using ultrasonic sensors for the inspection of highly scattering materials such as concrete, heat-treated stainless steel, and alloys, the received signals are usually contaminated by strong noise from both the electronic system of the instruments and scattering by the microstructure of the material (also known as the grain) being tested. Due to its origin, the latter is often called grain noise or structural noise. Encountered mostly in the testing of coarse-grain materials, grain noise will contaminate the defect echo in the ultrasonic signal, or even completely submerge it, which greatly limits the effectiveness of defect detection, even with the help of a modern, sophisticated ultrasonic sensor system. Additionally, the spectra of flaw echo and grain noise show significant overlapping, making the elimination or suppression of grain noise a challenging task.
To reduce noise or to enhance the SNR of the signal, several signal-processing techniques have been proposed. One well-known frequency diversity technique is split spectrum processing (SSP) [13,14,15]. SSP first divides the spectrum of the received signal into several sub-bands to which nonlinear processing, such as minimization or polarity thresholding, is applied; they are then transformed back to the time domain, and finally, they are recombined to form the de-noised signal. This processing can be effective for flaw detection if parameters are tuned properly, but it also inevitably produces distorted waveforms, and the performance highly depends on the parameter selection [16]. Approaches such as wavelet transform [17,18,19,20] and S-transform [21,22] are also widely researched. While wavelet analysis possesses many desirable properties by means of analytical functions that are local in both time and frequency, the major drawback of this method is that its performance depends on the selection of the mother wavelet function, the thresholds, the decomposition level of the signal, as well as the order of the mother wavelet function. Recently, signal-processing techniques adopting the idea of sparse signal representation for noise suppression were also developed and show good potential [16,23,24,25]; however, these methods are too complicated and inefficient for practical use.
When an ultrasonic pulse propagates inside a coarse-grain material, the pulse will interact with both grains and flaws, which results in the distortion of the pulse due to scattering and attenuation. As reported in [26], grain sizes D ¯ often range from 10 μm up to 140   μ m . For ultrasonic nondestructive testing, ultrasonic sensors with frequencies from 2 MHz to 10 MHz (wavelengths λ range from 0.5 mm to 3 mm) are commonly seen in practice. Because of the ratio of the wavelength to grain diameter λ / D ¯ 1 , grain scattering mostly happens in the Rayleigh scattering region, where attenuation is dependent on the fourth power of frequency [26]. An ultrasonic pulse propagating through such a medium will suffer spectral distortion due to the higher rate of attenuation of high-frequency components compared to low-frequency components. On the other hand, the amplitude of grain scattering is proportional to the second power of frequency in the Rayleigh scattering region [27]; therefore, high-frequency components will have larger backscattered intensity compared to low-frequency components. A flaw, though, can be viewed as a geometrical reflector, and thus the reflection is regarded as independent of frequency [28]. As a result, a difference can be found in the interaction of the incident ultrasonic pulse between the grain and flaw, although both the grain-scattered signal, which forms grain noise eventually, and the flaw-reflected echo suffer from frequency-dependent attenuation. This subtle difference, if taken advantage of properly, could be helpful for flaw detection.
On the basis of the above analysis, this paper presents a novel methodology by exploiting the time-frequency feature of ultrasonic signal for flaw detection in highly scattering materials using a conventional normal-incidence longitudinal wave ultrasonic sensor. However, one of the factors limiting effective flaw detection is that the attenuation coefficient of ultrasound in the material is mostly unknown beforehand, and its estimation is not easy in NDT practice. In this study, a new method for estimating the attenuation coefficient is also developed. We start with the spectral modeling of grain noise and flaw echo, and how the two spectra evolve with time is established. Then, a time-adaptive spectrum model for flaw echo is proposed, which serves as a template for the flaw-detection procedure. Next, a sparseness-promoting similarity measure is proposed, based on which the similarity between the template spectrum and the spectrum of the signal at each point is evaluated sequentially, revealing a series of similarity coefficients called the moving window spectrum similarity (MWSS), which only contains a few nonzero entries. The peaks of MWSSs will directly indicate the time delays of the flaw echoes, and the location of flaws can be readily obtained using the time-of-flight principle.
This work mainly focuses on the detection of flaws using a simple ultrasonic sensor working in pulse-echo mode. This fundamental testing scheme is the basis of many advanced ultrasound-based techniques, such as ultrasonic array imaging [5,7]. The rest of this paper is organized as follows. Section 2 is devoted to a detailed analysis of the spectral characteristics of each component of the ultrasonic NDT signal. In Section 3, the proposed methodology is presented in detail. In Section 4 and Section 5, we demonstrate our method by synthetic ultrasonic signals and signals from a laboratory-conducted ultrasonic NDT of a stainless steel block that contains prefabricated flaws, respectively. In the final section, some conclusive remarks are drawn, and a discussion is presented.

2. Modeling of the Ultrasonic NDT Signal

Consider a typical ultrasonic NDT scenario conducted in the pulse–echo method, and the specimen being inspected is a block of coarse-grained material. Due to the coarse-grained microstructure of the material, scattering will occur when the out-going ultrasonic pulse from the transmitter impinges on the boundaries of the grains that are randomly distributed in the space domain, generating echoes that seem to be randomly distributed in time. These echoes picked up the receiver are usually referred to as backscattering noise, also known as grain noise or structural noise. Furthermore, the stochastic disturbance in the circuits of instruments of the ultrasonic NDT system also creates a type of noise. Therefore, the measured ultrasonic signal y ( t ) can be written as y ( t ) = e ( t ) + g ( t ) + w ( t ) , where e ( t ) refers to the echoes reflected by flaws in the block, and g ( t ) and w ( t ) are backscattered grain noise and the electrical white Gaussian noise from the circuits, respectively.

2.1. Modeling of Grain Noise

In pulse-echo mode where a transducer is working as both the transmitter and receiver, the scattered wave by a scatterer in the material under inspection in the time domain can be modeled as the convolution of the impulse response of a grain scatterer r ( t , λ ) and the impinging ultrasonic wave h ( t , λ ) on the scatterer:
g ( t ) = h ( t , λ ) r ( t , λ )
where denotes the convolution operator. The impulse response function r ( t , λ ) gives a mathematical description of the backscattered wave as a function of wavelength λ (or equivalently, frequency) in the time domain. It is also worthwhile noting that impinging ultrasonic pulse h ( t , λ ) is the convolution of transmitted pulse u ( t , λ ) and attenuation function a ( t , λ ) , since the transmitted pulse will experience frequency-dependent attenuation during its flight from the transmitter to the scatterer. Therefore, the backscattered echo by a grain scatterer received by the receiver can be expressed as:
g ( t ) = u ( t , λ ) a ( t , λ ) r ( t , λ )
In the frequency domain, the expression of the above equation can be written as:
G ( f ) | A ( f ) | | S ( f ) | | R ( f ) | | U ( f ) |
where A ( f ) is the transfer function corresponding to the attenuation characteristics and is expressed as [24]:
A ( f ) exp [ 2 0 z α ( z , f ) d z ] = exp { 2 0 z [ α a ( z , f ) + α s ( z , f ) ] d z }
with z being the position of grain scatterer. In Equation (4), α ( z , f ) is the frequency-dependent attenuation coefficient defined as the sum of the scattering coefficient α s ( z , f ) and the absorption coefficient α a ( z , f ) . In the Rayleigh scattering region, where the wavelength λ is larger than the average grain diameter D ¯ , the scattering coefficients α s ( z , f ) vary with the third power of the grain diameter and the fourth power of frequency, while the absorption coefficient increases α a ( z , f ) linearly with frequency [29]. R ( f ) is the frequency-dependent scattering function. In the Rayleigh scattering region, R ( f ) is proportional to the second power of frequency; thus, high-frequency components will have larger backscattered intensity compared to low-frequency components. S ( f ) is the frequency-modulation function due to the sum of grain scatterers with random orientations [30]; it represents the random distribution of phases of grain scatterers. U ( f ) is the frequency response of the transducer and can be modeled as a Gaussian-shaped spectrum.

2.2. Modeling of a Flaw Echo

Similar to grain noise, a flaw echo can also be modeled as a convolution between the impinging ultrasonic pulse and the impulse response function of a flaw, also considering the effect of frequency-dependent attenuation:
e ( t ) = u ( t , λ ) a ( t , λ ) p f ( t , λ )
where p f ( t , λ ) is the impulse response function of a flaw. Generally, a flaw can be viewed as a geometrical reflector since its size is larger than the ultrasonic wavelength; thus, the reflection at a flaw is regarded independent of frequency and p f ( t , λ ) has no impact on the frequency-domain expression of a flaw echo. Therefore, the frequency-domain expression of a flaw echo can be written as:
E ( f ) | A ( f ) | | U ( f ) |

3. The Proposed Flaw-Detection Method

The modeling in Section 2 shows that the spectrum of a flaw echo will exhibit a slightly different pattern when compared to the spectrum of grain noise, as can be observed by comparing Equations (3) and (6). The distortion of a flaw echo is mainly caused by frequency-dependent attenuation that high-frequency components attenuate more than low-frequency components; thus, the spectrum of a flaw echo shows a downward shift compared to the frequency spectrum of the transmitted ultrasonic pulse. On the other hand, the spectrum of grain noise will be influenced by frequency-dependent attenuation, frequency-dependent scattering, and the randomness of the orientations of grains. Since high-frequency components have higher scattering strength in the Rayleigh scattering region, the spectrum of grain noise shows an upward shift. Utilizing these features, we propose a novel flaw-detection method as follows.

3.1. Estimating the Spectrum of a Flaw Echo

Since frequency-dependent attenuation is the main cause of a distorted flaw echo, and its impact is explicit in the frequency domain, the spectrum information can be almost predicted using the model given by Equation (6). The spectrum of the transmitted pulse can be easily obtained by performing a fast Fourier transform (FFT) on the time domain echo reflected by a plane reflector in the far field of the transducer. Generally, the spectrum of the transmitted pulse can be assumed to have a Gaussian shape, which is given as:
U ( f ) = exp [ ( f f c ) 2 / 2 s 2 ]
where f c is the center frequency and s is a parameter that controls the frequency bandwidth or the duration of the pulse in the time domain.
In the Rayleigh scattering region, it can be seen from Equation (4) that the attenuation of a pulse during its propagation in the material is due to the combined influence of material scattering and absorption. However, the absorbing term is usually insignificant and negligible when compared to the scattering term [29]; therefore, we only consider the latter in the attenuation model, which can be expressed as follows:
A ( f , t ) = exp [ 1 2 α ( 2 π f ) 4 v t ]
where v is the longitudinal velocity of sound in the material being inspected. Equation (8) describes the attenuation of the pulse when it travels a distance d = v t . Apparently, the attenuation term is also a function of time, or equivalently a function of distance. From Equation (8), it is observed that once the attenuation coefficient α is given, the attenuation of a pulse during its propagation can be estimated, using the model given in Equation (6). For example, if a potential flaw echo exists at a time point t i in the measured signal, the spectrum of this flaw echo can be estimated as the product of Equations (7) and (8).
Since the spectrum for a potential flaw at any given time can be predicted, if there is a flaw at t i , in the measured signal, then the local spectrum of the signal will exhibit a high degree of similarity to the predicted spectrum. Based on this principle, a novel flaw-detection approach can be developed. First, the predicted spectrum of a flaw echo at a given time point t i is estimated and served as a template. At the same time, the local spectrum of the signal at t i , obtained by performing FFT on a narrow window of data, is compared with the template in terms of similarity, revealing a similarity coefficient. By moving the window sequentially along the time axis, a series of similarity coefficients termed MWSS can be generated for the whole signal. The peaks of MWSSs will directly indicate the time delays of the flaw echoes. The location of flaws can be readily obtained using the time-of-flight principle. However, the value of the attenuation coefficient α needs to be determined first.

3.2. Estimation of Attenuation Coefficient

It can be seen that the attenuation coefficient α is of vital importance in predicting the spectrum of a flaw echo. Unfortunately, the value of α is not usually available and not easy to measure in practice. In this study, a simple approach for estimating the attenuation coefficient is presented.
Now, suppose a pulse is propagating in the material, and the pulse has a Gaussian-shaped spectrum given in Equation (7). After propagating a distance of d in the material, the frequency spectrum of the pulse can be predicted by Equation (6), given as:
Q ( d ) ( f ) = exp [ ( f f c ) 2 / 2 s 2 ] exp [ 8 π 4 α d f 4 ] = exp [ 16 π 4 α d s 2 + f 2 + f c 2 2 f c f 2 s 2 ]
By taking the first-order derivative of Q ( d ) ( f ) with respect to f and setting it to zero, the new center frequency f d can be obtained. After some appropriate rearrangements, the following relation can be found:
32 π 4 α s 2 d f d 3 + f d f c = 0
In practice, the echo reflected by the bottom of the specimen can be extracted and used to estimate the attenuation coefficient. The center frequency of the bottom-reflected echo, denoted as f b , can be easily obtained by FFT. The distance traveled by the bottom-reflected echo equals two times the thickness of the specimen l . After substituting d = 2 l into Equation (10), the attenuation coefficient α can be estimated as:
α = f c f b 64 π 4 s 2 f b l

3.3. Flaw Detection by Adaptive Template Matching

In Figure 1, the proposed procedure is demonstrated. A narrow window of data is first selected, and the FFT operation is performed on the windowed data to extract its spectrum P i . The determination of window size depends on the duration of the transmitted pulse, the spatial resolution, and the constraints of spectral analysis techniques. In this study, the widely used Hamming window function is adopted before FFT calculation. The width of the window is set to be slightly larger than the duration of the transmitted pulse. During the propagation of an ultrasonic pulse in the material, due to frequency-dependent attenuation, the frequency bandwidth decreases, and thus the duration of the pulse becomes longer. In practice, the width of the window can be chosen as the duration of the echo reflected by the bottom of the specimen, which is theoretically the longest pulse in the measured signal. This window length can give good spectral estimates without distorting the spectrum.
If the center of the time window is t i , the template spectrum T i for this time window can be constructed by combining Equations (7) and (8); that is, T i = exp [ ( f f c ) 2 / 2 s 2 ] exp [ 1 2 α ( 2 π f ) 4 v t i ] . Since for each t i , the template predicts a spectrum for a potential flaw echo centered at t i by considering frequency-dependent attenuation and the traveled distance d i = v t i , it can be seen that this template is adaptive to the signal distortion at any given time t i .
It should be noted that testing conditions such as temperature and moisture will influence the sound velocity in the material. For each testing, the measurement of sound velocity in the material should be conducted to consider the influence of environmental conditions. Another important factor that should be considered is the load effect. As has been confirmed in earlier works [9,11], wave velocity is strongly related to the elastic properties of the propagation medium. A linear relationship between wave propagation velocity and elastic strain exists when a limited load is acting on the material. However, when the strain variation exceeds a certain level, the linear relationship is broken. Moreover, temperature variation may also indirectly create internal strain changes in the material being tested, leading to a velocity variation [9]. In this study, an experimental study is conducted in lab conditions with negligible temperature and moisture variations; therefore, the measured sound velocity in the specimen can be viewed as a constant. For general ultrasonic NDT practice, the influence of temperature and load condition should be properly evaluated and compensated. For example, optimal baseline selection [31], baseline signal stretch [32], dynamic time warping [33], and the iterative compensation method [34] have been proposed for temperature compensation for guided wave signals. If temperature variation is uniform, the iterative compensation method can produce a more precise stretch factor. In the case where temperature distribution is uneven, it is suggested that multiple stretch factors are applied to different segments [34].
To evaluate the degree of similarity between the local spectrum Pi and template Ti, an appropriate similarity measure should be designed. A correlation coefficient is widely used as the measure of similarity for template-matching purposes [35]. For the two vectors Pi and Ti, the correlation coefficient between them is calculated by
C = P i   ×   T i P i 2 T i 2 = P i , T i T i , T i P i , P i
where T i , P i = T i T P i is the inner product of P i and T i . The maximum value of C is 1.0 and is obtained when P i and T i are proportional.
It is worthwhile noting that the calculation of correlation coefficient is a linear operation and is appropriate for data that are best described by second-order correlations. In fact, the correlation coefficient is based only on second-order correlations without taking the high-order statistics into account. It is well known that the distribution of the noisy signal is highly irregular and all the “structures” of interest in a spectrum, such as peaks and fluctuations, cannot be described by second-order correlations. This motivates the use of a nonlinear analysis technique that can represent the nonlinear structure of the two spectra. An earlier study showed that by mapping the variables into high-dimensional space before calculating the correlation coefficient, high-order statistics of the variables can be exploited, leading to better detection performance [36].
To better evaluate the degree of similarity between the local spectrum P i and template T i , we propose a specially designed similarity measure. First, both P i and T i are nonlinearly mapped into a high-dimensional space F by P ˜ i = Φ ( P i ) and T ˜ i = Φ ( T i ) , respectively, where Φ ( ) denotes the mapping operation. In this study, the map Φ ( ) and the space F are determined implicitly by the choice of a kernel function κ , which computes the inner product of mapped P i and T i via:
κ ( P i , T i ) = Φ ( P i ) , Φ ( T i )
It has been proven that if κ is a positive, definite kernel, then a map of Φ ( ) into an inner product space F exists, such that Equation (13) holds, and the space F has the structure of a so-called Reproducing Kernel Hilbert Space (RKHS) [37]. Using the normalized variables in the feature space, the equation above becomes:
κ ˜ ( P i , T i ) = Φ ( P i ) Φ ( P i ) , Φ ( T i ) Φ ( T i ) = κ ( P i , T i ) κ ( P i , P i ) κ ( T i , T i )
Essentially, Equation (14) is equivalent to calculating the correlation coefficient between Φ ( P i ) and Φ ( T i ) . In this study, a Gaussian kernel function is used, which has the following form:
κ ( P i , T i ) = exp ( - P i - T i 2 / 2 σ 2 )
where σ > 0 is a parameter that controls the flexibility of the kernel. Note that the denominator in Equation (14) equals 1. It is important to point out that both P i and T i are normalized before evaluating their similarity. Therefore, the similarity between P i and T i can be calculated by:
MWSS ( i ) = κ ˜ ( P i , T i ) = exp ( - P i - T i 2 / 2 σ 2 )
This similarity measure above combines two commonly used similarity criteria, the correlation coefficient and the sum of squares of deviations. It can be seen that this similarity measure decays the entries with a low degree of similarity at an exponential scale, such that they are forced to be near zero, and at the same time, preserves the few entries with a high degree of similarity.
The detection of flaws is facilitated by searching the peak values of the MWSS. If MWSS peaks at t j , j = 1 , 2 , 3 , , the locations of flaws can be obtained as d j , j = 1 , 2 , 3 , = 1 2 v t j , using the time-of-flight principle.
The procedure of the proposed method is summarized as follows:
(1)
Measure sound velocity in the material and estimated attenuation coefficient using Equation (11);
(2)
Move a time window along the time axis of the measured signal at a fixed step of 1 sample, and the center of the time window is t i ;
(3)
For the time window at t i , calculate the spectrum of the windowed data P i by FFT, and construct the template spectrum T i = exp [ ( f f c ) 2 / 2 s 2 ] exp [ 1 2 α ( 2 π f ) 4 v t i ] ;
(4)
Calculate the similarity between P i and T i using Equation (16);
(5)
Repeat the above steps until the whole signal is analyzed. Each time window produces 1 entry for MWSSs.
(6)
Plot MWSSs verse time. The peaks of MWSSs reveal the time delays of flaw echoes as well as the bottom of the specimen.
(7)
Calculate the depths of flaws by the time-of-flight principle.

4. Simulation Study

A simulation study was conducted to investigate the performance of the proposed method for a flaw echo signal contaminated with noises. We considered a typical ultrasonic NDT scenario shown in Figure 2, where an ultrasonic transducer with a center frequency of 2 MHz was used to detect a flaw located (indicated by a star) at a depth of 90 mm below the surface. The parameters for generating simulated signals are as follows: attenuation coefficient α = 1 0 28 , the velocity of the longitudinal wave in the material v = 6000   m / s , and the number of grain scatterers K = 2500 . Therefore, the wavelength in the specimen is λ = 3   mm . Comparing wavelength to the grain size, which is assumed to be D ¯ = 90   μ m , it is seen that λ / D ¯ 1 ; thus, scattering occurs in the Rayleigh region. To generate grain noise, the model proposed in [38] is employed. In this model, the frequency spectrum of grain noise is given by:
G ( ω ) = H t ( ω ) H t ( ω ) H m a t ( ω )
where H t ( ω ) is modeled as a Gaussian-shaped spectrum and is the frequency response of the transducer, which serves as both transmitter and receiver. H m a t ( ω ) is the frequency response of the material. ω = 2 π f is the angular frequency. In the Rayleigh region, H m a t ( ω ) can be expressed as:
H m a t ( ω ) = k = 1 K β k ω 2 x k exp ( 2 α x k ω 4 ) exp ( 2 j ω x k / v )
where α is the attenuation coefficient, x k is the position of the kth grain scatterer relative to the transducer and can be modeled as a uniformly distributed random variable such that x k ( 0 , l ) , where l is the thickness of the specimen. K is the number of grains in the ensonified area. Obviously, K is also a random variable, which can be empirically estimated by K 2 l D ¯ , with D ¯ being the mean diameter of grains. The scattering coefficient of the kth grain scatterer β k is also a random variable but follows a Rayleigh statistic [39]. In a similar way, the frequency response of a flaw can be expressed as:
E ( ω ) = H t ( ω ) H t ( ω ) exp ( 2 α d f l a w ω 4 ) exp ( 2 j d f l a w / v )
The frequency spectrum and waveform of the transmitted pulse are given in Figure 3a,b, respectively. Based on the model above, the spectra of flaw echo and grain noise are obtained, as shown in Figure 3c. By inverse FFT, the time-domain signal of flaw echo and grain noise can be generated.
To quantitatively characterize noise level, the local signal-to-noise ratio (LSNR) is defined, which is the signal-to-noise ratio within the time window that contains a flaw echo. Suppose the window length is l w ; the noise is denoted as n ( t ) = g ( t ) + w ( t ) , which is the sum of grain noise and white Gaussian noise. The local signal-to-noise ratio can be defined as:
LSNR = 10   ×   lg [ i = p l w / 2 p + l w / 2 e ( i ) 2 / i = p l w / 2 p + l w / 2 n ( i ) 2 ]
The generated time-domain signals contain 1024 samples sampled at a sampling frequency of 25 MHz. After the generation of flaw echo, grain noise, and white Gaussian noise, the three are superimposed to form the noisy signal, and the amplitude of the flaw echo is adjusted to give the designated value of LSNR. In Figure 3d, the simulated noisy signal with LSNR = 0   d B is shown, and it is observed that the pattern of grain noise is very similar to the actual flaw echo.
By implementing the proposed method, the obtained MWSS is demonstrated in Figure 4. The peak of MWSS occurs at tf = 30.56 μs, revealing a depth of flaw of 91.7 mm. Compared with the actual flaw depth of 90 mm, the detection result is very accurate, with a relative error of just 1.9%.
In Figure 5, spectra of the time windows adjacent to the peak of MWSS are shown along with their corresponding template spectra. It can be observed that at t = 30.56 μs, the spectrum of windowed data is very close to its template spectrum, and all the time windows away from t = 30.56 μs show significant differences between the spectra of windowed data and template spectra. Notice that the sum of squares of deviations (SSD) between Pi and Ti is the norm term in Equation (16); therefore, the MWSSs for these time windows will be much lower than the MWSS at t = 30.56 μs. The normalized MWSS values for the time windows in Figure 5 are tabulated in Table 1. Most of the MWSS values are close to zero, which can also be observed in Figure 4b.

5. Experimental Studies

To further evaluate the performance of the proposed method for flaw detection, we conduct a flaw-detection experiment shown in Figure 6. The specimen under inspection is a heat-treated type 304 stainless steel block with a cross-section dimension of 82   mm   ×   59   mm (height by width, respectively). The heat treatment is implemented at a temperature of 1250 °C for 8 h, followed by quenching in a water bath. Empirically, grain sizes D ¯ 120   μ m will be formed. Two side-drilled 2 mm-diameter holes are considered as flaws, and they are located about 31 mm and 51 mm below the top surface, respectively, as shown in Figure 6a. A transducer with a center frequency of 5 MHz (type 5P20 made by Shantou Institute of Ultrasonic Instruments Co., Ltd., Shantou, China) is used. A-scan signals are digitized by an A/D converter (ADVANTECH PCI-9820) and sampled at a sampling frequency of 60 MHz. The experimental setup is demonstrated in Figure 6b.
Sound velocity is measured first. The measurement of sound velocity is based on the time-of-flight principle. The thickness of the specimen is measured ten times using a Vernier caliper and the results are averaged, yielding the thickness of the specimen l = 81.4   mm . The round-trip travel time of the ultrasonic pulse reflected by the bottom of the specimen is 28.4   μ s ; therefore, the sound velocity equals v = 5735   m / s . Up until now, one can notice that the wavelength in the specimen is λ 1   m m ; thus, λ / D ¯ 1 , so the scattering is in the Rayleigh region.
To estimate the attenuation coefficient, the transmitted pulse from the transducer and the bottom-reflected echo should be obtained first. In practice, the former can be obtained by positioning the transducer normally to a plane reflection in the far field and measuring the reflected signal. In this study, the plane-reflected waveform is shown in Figure 7a, where the reflected pulse is highlighted and shown in Figure 7b. The frequency spectrum of this pulse is obtained by FFT and given in Figure 7c. To better measure the center frequency, a Gaussian function is employed to fit the calculated spectrum, and the fitting result is also shown in Figure 7c. The estimated center frequency of the transmitted pulse is f c = 5.27   mHz . A signal obtained from the NDT experiment is presented in Figure 7d, from which the bottom-reflected pulse can be identified in the highlighted region. The waveform and frequency spectrum of the bottom-reflected pulse are shown in Figure 7e,f, respectively. The center frequency of the bottom-reflected pulse is f b = 2.70   mHz . Substituting f c and f b into Equation (11) yields an attenuation coefficient α = 3.41   ×   10 28 .
Case 1: Single flaw detection. In this case, the transducer is positioned right above the upper flaw. The measured signal from the testing is presented in Figure 8a. Strong grain noise can be observed from the measured signal. Implementing the proposed method, the detection results are shown in Figure 8b. The obtained MWSSs clearly reveal the upper flaw as well as the bottom of the specimen. The detected depths of the upper flaw and bottom of the specimen are given in Table 2. Comparing the detection results with their actual values, it is observed that high detection accuracy can be obtained by the proposed method.
Case 2: Simultaneous detection of two flaws. In Figure 9a, an experimental signal obtained when the transducer is positioned between the two flaws so the received signal contains two flaw echoes is presented. Using the proposed method, the resulting MWSSs are shown in Figure 9b, from which three peaks are clearly identified, revealing time delays corresponding to the upper flaw, the lower flaw, and bottom of the specimen, respectively. It can be observed from the experimental signal that the echo reflected by the lower flaw has a higher LSNR than the upper flaw; therefore, the MWSS value for the lower flaw is higher. Although the flaws are indistinguishable from the time-domain signal, they can be successfully identified by the proposed method.
Using the time-of-flight principle, the depths of the flaws are obtained and compared with their actual values. The results are tabulated in Table 3, showing satisfactory accuracy of the proposed method.

6. Conclusions

In this work, a novel approach is proposed for flaw detection in highly scattering materials using a simple ultrasonic sensor. The feature that the spectrum of a flaw echo shows a different pattern compared to that of grain noise at a given time is exploited, facilitating the detection of flaws by an adaptive template-matching scheme. Moreover, a new method for estimating the frequency-dependent attenuation coefficient, which is easy to use in practice, is also developed. This approach has been demonstrated both in a simulation study and experimental studies and in both cases, the flaw-detection accuracy is high, showing the good performance of the proposed method.
It should be noted that although the main aim in this work is to develop an efficient method to detect flaws in applications where grain noise is present, it is safe to conclude that the proposed method works even better if the noise is white Gaussian from the fact that spectrum of white Gaussian noise shows a more pronounced difference from that of a flaw echo. It has shown the capability for effective flaw detection and potential for applications in the field, once the effects of changing environmental and operational conditions such as temperature variations and load conditions, etc., are fully taken into account, yet mitigation against such effects remains an open problem.

Author Contributions

Conceptualization, methodology, validation, formal analysis, investigation, data curation, writing—original draft preparation, visualization, project administration, funding acquisition, B.W.; resources, supervision, writing—review and editing, Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 52008205, and the Natural Science Foundation for College and University in Jiangsu Province, grant number 20KJB560013.

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. Pellam, J.R.; Galt, J.K. Ultrasonic Propagation in Liquids: I. Application of Pulse Technique to Velocity and Absorption Meas-urements at 15 Megacycle. J. Chem. Phys. 1946, 14, 608. [Google Scholar] [CrossRef] [Green Version]
  2. Filoux, E.; Levassort, F.; Dorey, R.A. Fabrication and characterization of annular-array, high-frequency, ultrasonic transducers based on PZT thick film. Sens. Actuators A 2014, 216, 207–216. [Google Scholar]
  3. Sha, G.; Lissenden, C.J. Modeling Magnetostrictive Transducers for Structural Health Monitoring: Ultrasonic Guided Wave Generation and Reception. Sensors 2021, 21, 7971. [Google Scholar] [CrossRef] [PubMed]
  4. Brenner, K.; Ergun, A.S.; Firouzi, K. Advances in Capacitive Micromachined Ultrasonic Transducers. Micromachines 2019, 10, 152. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Brenner, K.; Ergun, A.S.; Firouzi, K.; Rasmussen, M.F.; Stedman, Q.; Khur-Yakub, B. Advances ign Capacitive Microfmachined Ultrasonic Transynthducetrs. Mic Aperture Iomagching Syst. 2021, 10, 800152. [Google Scholar]
  6. Park, B.; Sohn, H.; Yeum, C.M.; Truong, T.C. Laser ultrasonic imaging and damage detection for a rotating structure. Struct. Health Monit. 2013, 12, 494–506. [Google Scholar] [CrossRef]
  7. Zhang, J.; Drinkwater, B.W.; Wilcox, P.D.; Hunter, A.J. Defect detection using ultrasonic arrays: The multi-mode total focusing method. NDTE Int. 2010, 43, 123–133. [Google Scholar] [CrossRef]
  8. Elliott, J.B.; Lowe, M.J.S.; Huthwaite, P. Sizing Subwavelength Defects with Ultrasonic Imagery: An Assessment of Su-per-Resolution Imaging on Simulated Rough Defect. IEEE Trans. Ultrason. Ferroelect. Freq. Contr. 2019, 66, 1634–1648. [Google Scholar] [CrossRef] [PubMed]
  9. Wang, X.; Chakraborty, J.; Niederleithinger, E. Noise Reduction for Improvement of Ultrasonic Monitoring Using Coda Wave Interferometry on a Real Bridge. J. Nondestruct. Eval. 2021, 40, 1–14. [Google Scholar] [CrossRef]
  10. Chakraborty, J.; Katunin, A.; Klikowicz, P. Early crack detection of reinforced concrete structure using embedded sensors. Sensors 2019, 19, 3879. [Google Scholar] [CrossRef] [Green Version]
  11. Wang, X.; Chakraborty, J.; Bassil, A. Detection of Multiple Cracks in Four-Point Bending Tests Using the Coda Wave Interferometry Method. Sensors 2020, 20, 1986. [Google Scholar] [CrossRef] [Green Version]
  12. Zhou, D.T.; Huo, L.S.; Chen, D.D. A feasibility study on monitoring of weld fatigue crack growth based on coda wave interferometry (CWI). Smart Mater. Struct. 2021, 30, 095013. [Google Scholar] [CrossRef]
  13. Newhouse, V.; Bilgutay, N.; Saniie, J. Flaw to gain echo enhancement by split spectrum processing. Ultrasonics 1982, 20, 59–68. [Google Scholar] [CrossRef]
  14. Gustafsson, M.G. Nonlinear clutter suppression using split spectrum processing and optimal detection, IEEE Trans. Ultrason. Ferroelect. Freq. Contr. 1996, 43, 109–124. [Google Scholar] [CrossRef]
  15. Bosch, I.; Vergara, L. Normalized split-spectrum: A detection approach. Ultrasonics 2008, 48, 56–65. [Google Scholar] [CrossRef]
  16. Wu, B.; Huang, Y.; Krishnaswamy, S. A Bayesian Approach for Sparse Flaw Detection from Noisy Signals for Ultrasonic NDT. NDT E Int. 2017, 85, 76–85. [Google Scholar] [CrossRef]
  17. Pardo, E.; San Emeterio, J.L.; Rodriguez, M.A.; Ramos, A. Noise reduction in ultrasonic NDT using undecimated wavelet transforms. Ultrasonics 2006, 44, 1063–1067. [Google Scholar] [CrossRef]
  18. Matz, V.; Smid, R.; Starman, S.; Kreidl, M. Signal-to-noise ratio enhancement based on wavelet filtering in ultrasonic testing. Ultra-Sonics 2009, 49, 752–759. [Google Scholar] [CrossRef]
  19. Sharma, G.K.; Kumar, A.; Rao, B.P. ; Continuous Wavelet Transform Analysis for the Enhancement of Signal-to-noise Ratio in Coarse Grain Austenitic Stainless Steel. Mater. Eval. 2014, 72, 1519–1529. [Google Scholar]
  20. Tiwari, K.A.; Raisutis, R.; Samaitis, V. Hybrid Signal Processing Technique to Improve the Defect Estimation in Ultrasonic Non-Destructive Testing of Composite Structures. Sensors 2017, 17, 2858. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Benammar, A.; Drai, R.; Guessoum, A. Ultrasonic flaw detection using threshold modified S-transform. Ultrasonics 2014, 54, 676–683. [Google Scholar] [CrossRef]
  22. Zeng, X.; Yang, C.L.; Zhou, X.J.; Chen, Y.C. Ultrasonic Flaw Echoes Detection Based on Generalized S-Transform. Russ. J. Nondestr. Test. 2018, 54, 137–145. [Google Scholar] [CrossRef]
  23. Zhang, G.M.; Harvey, D.M. Signal denoising and ultrasonic flaw detection via overcomplete and sparse representations. J. Acoust. Soc. Am. 2008, 124, 2963–2972. [Google Scholar] [CrossRef]
  24. Wu, B.; Huang, Y.; Chen, X.; Xiaotung, T.; Zeng, L. Guided-wave signal processing by the sparse Bayesian learning approach employing Gabor pulse model. Struct. Health Monit. 2017, 16, 347–362. [Google Scholar] [CrossRef]
  25. Wu, B.; Huang, Y.; Li, H. Sparse recovery of multiple dispersive guided-wave modes for defect localization using a Bayesian approach. Struct. Health Monit. 2019, 18, 1235–1252. [Google Scholar] [CrossRef]
  26. Papadakis, E.P. Ultrasonic Attenuation Caused by Scattering in Polycrystalline Metals. J. Acoust. Soe. Am. 1965, 37, 711–717. [Google Scholar] [CrossRef]
  27. Goebbels, K.; Hirsekorn, S.; Willems, H. The use of ultrasound in the determination of microstructure A review. In Proceedings of the IEEE Ultrasonics Symposium, Dallas, TX, USA, 14–16 November 1984; pp. 841–846. [Google Scholar]
  28. Saniie, J.; Jin, X.M. Spectral analysis for ultrasonic nondestructive evaluation applications using autoregressive, Prony, and multiple signal classification methods. J. Acoust. Soc. Am. 1996, 100, 3165–3171. [Google Scholar] [CrossRef]
  29. Saniie, J.; Wang, T.; Bilgutay, N.M. Statistical evaluation of backscattered ultrasonic grain signals. J. Acoust. Soc. Am. 1988, 84, 400–408. [Google Scholar] [CrossRef]
  30. Saniie, J.; Wang, T.; Bilgutay, N.M. Analysis of homomorphic processing for ultrasonic grain signal characterizations. IEEE Trans. Ultrason. Ferroelect. Freq. Contr. 1989, 36, 365–375. [Google Scholar] [CrossRef] [PubMed]
  31. Lu, Y.; Michaels, J.E. A methodology for structural health monitoring with diffuse ultrasonic waves in the presence of temper-ature variations. Ultrasonics 2005, 43, 717–731. [Google Scholar] [CrossRef]
  32. Croxford, A.J.; Moll, J.; Wilcox, P.D.; Michaels, J. Efficient temperature compensation strategies for guided wave structural health monitoring. Ultrasonics 2010, 50, 517–528. [Google Scholar] [CrossRef]
  33. Douglass, A.C.S.; Harley, J.B. Dynamic time warping temperature compensation for guided wave structural health monitoring. IEEE Trans. Ultrason. Ferroelect. Freq. Contr. 2018, 65, 851–861. [Google Scholar] [CrossRef]
  34. Herdovics, B.; Cegla, F. Compensation of phase response changes in ultrasonic transducers caused by temperature variations. Struct. Health Monit. 2019, 18, 508–523. [Google Scholar] [CrossRef] [Green Version]
  35. Fan, L.; Santago, P.; Riley, W. An adaptive template-matching method and its application to the boundary detection of brachial artery ultrasound scans. Ultrasound. Med. Biol. 2001, 27, 399–408. [Google Scholar] [CrossRef]
  36. Liu, R.M.; Lu, Y.H.; Gong, C.L. ; Infrared point target detection with improved template matching. Infrared. Phys. Techn. 2012, 55, 380–387. [Google Scholar] [CrossRef]
  37. Kim, K.I.; Franz, M.O.; Schölkopf, B. Iterative Kernel Principal Component Analysis for Image Modeling. IEEE Trans. Pattern Anal. Mach. Intell. 2005, 27, 1351–1366. [Google Scholar] [PubMed]
  38. Gustafsson, M.G.; Stepinski, T. Studies of split spectrum processing, optimal detection, and maximum likelihood amplitude estimation using a simple clutter model. Ultrasonics 1997, 35, 31–52. [Google Scholar] [CrossRef]
  39. Cudel, C.; Grevillot, M.; Meyer, J.J.; Jacquey, S. Combining phase and energy detection with mathematical morphology in dual time-frequency representation leads to improved SSP noise robustness. Ultrasonics 2001, 39, 291–296. [Google Scholar] [CrossRef]
Figure 1. The proposed flaw-detection scheme.
Figure 1. The proposed flaw-detection scheme.
Sensors 22 00268 g001
Figure 2. Schematic plot of the NDT scenario for simulation study.
Figure 2. Schematic plot of the NDT scenario for simulation study.
Sensors 22 00268 g002
Figure 3. (a) Spectrum of the transmitted pulse. (b) Waveform of the transmitted pulse. (c) The spectra of flaw echo (solid blue line) and grain noise (solid black line). (d) The simulated noisy signal; LSNR = 0 dB.
Figure 3. (a) Spectrum of the transmitted pulse. (b) Waveform of the transmitted pulse. (c) The spectra of flaw echo (solid blue line) and grain noise (solid black line). (d) The simulated noisy signal; LSNR = 0 dB.
Sensors 22 00268 g003
Figure 4. (a) Simulated noisy signal, LSNR = 0 dB. (b) The MWSSs by the proposed method.
Figure 4. (a) Simulated noisy signal, LSNR = 0 dB. (b) The MWSSs by the proposed method.
Sensors 22 00268 g004
Figure 5. Spectra of time windows adjacent to i = 30.56 μs along with their corresponding template spectra (solid red line: spectrum of windowed data; solid blue line: template spectrum).
Figure 5. Spectra of time windows adjacent to i = 30.56 μs along with their corresponding template spectra (solid red line: spectrum of windowed data; solid blue line: template spectrum).
Sensors 22 00268 g005
Figure 6. (a) Heat-treated stain steel specimen with two flaws. (b) The setup of the experiment system.
Figure 6. (a) Heat-treated stain steel specimen with two flaws. (b) The setup of the experiment system.
Sensors 22 00268 g006
Figure 7. (a) Plane-reflected waveform. (b) The pulse reflected by a plane object. (c) Original and Gaussian-fitted frequency spectrum of the plane-reflected pulse. (d) Waveform of an experimental signal. (e) Bottom-reflected echo. (f) Original and Gaussian-fitted frequency spectrum of the bottom-reflected echo.
Figure 7. (a) Plane-reflected waveform. (b) The pulse reflected by a plane object. (c) Original and Gaussian-fitted frequency spectrum of the plane-reflected pulse. (d) Waveform of an experimental signal. (e) Bottom-reflected echo. (f) Original and Gaussian-fitted frequency spectrum of the bottom-reflected echo.
Sensors 22 00268 g007
Figure 8. (a) A-scan signal of the upper flaw. (b) MWSS values revealing the time delays of the upper flaw echo and bottom reflection.
Figure 8. (a) A-scan signal of the upper flaw. (b) MWSS values revealing the time delays of the upper flaw echo and bottom reflection.
Sensors 22 00268 g008
Figure 9. (a) A-scan signal of both upper and lower flaws. (b) Obtained MWSS values revealing the time delays of the two flaw echoes and bottom reflection.
Figure 9. (a) A-scan signal of both upper and lower flaws. (b) Obtained MWSS values revealing the time delays of the two flaw echoes and bottom reflection.
Sensors 22 00268 g009
Table 1. Normalized MWSSs for the time windows shown in Figure 5.
Table 1. Normalized MWSSs for the time windows shown in Figure 5.
Time Window29.76 μs29.96 μs30.16 μs30.36 μs30.56 μs
MWSS (normalized) 1.2   ×   1 0 85 1.3   ×   1 0 87 4.8   ×   1 0 65 5.1   ×   1 0 46 1
Time window30.76 μs30.96 μs31.16 μs31.36 μs
MWSS (normalized) 1.3   ×   1 0 40 5.9   ×   1 0 56 4.4   ×   1 0 158 1.0   ×   1 0 268
Table 2. Detection results of the proposed method for case 1.
Table 2. Detection results of the proposed method for case 1.
Upper FlawBottom
Detected depth (mm)32.982.1
Actual depth (mm)31.081.4
Absolute error (mm)1.90.7
Table 3. Detection results of the proposed method for case 2.
Table 3. Detection results of the proposed method for case 2.
Upper FlawLower FlawBottom
Detected depth (mm)32.949.681.6
Actual depth (mm)31.051.081.4
Absolute error (mm)1.91.40.2
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wu, B.; Huang, Y. Flaw Detection in Highly Scattering Materials Using a Simple Ultrasonic Sensor Employing Adaptive Template Matching. Sensors 2022, 22, 268. https://doi.org/10.3390/s22010268

AMA Style

Wu B, Huang Y. Flaw Detection in Highly Scattering Materials Using a Simple Ultrasonic Sensor Employing Adaptive Template Matching. Sensors. 2022; 22(1):268. https://doi.org/10.3390/s22010268

Chicago/Turabian Style

Wu, Biao, and Yong Huang. 2022. "Flaw Detection in Highly Scattering Materials Using a Simple Ultrasonic Sensor Employing Adaptive Template Matching" Sensors 22, no. 1: 268. https://doi.org/10.3390/s22010268

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