Towards end-to-end pulsed eddy current classification and regression with CNN
Xin Fu, Chengkai Zhang, Xiang Peng, Lihua Jian, Zheng Liu

TL;DR
This paper introduces an end-to-end CNN-based model for automatic classification and depth regression of defects in pulsed eddy current data, improving accuracy over existing methods.
Contribution
It presents a novel multi-task 1D CNN model that simultaneously predicts defect class and depth from PEC data, advancing automated NDI techniques.
Findings
Higher accuracy in defect classification
Lower error in depth regression
Effective handling of both tasks simultaneously
Abstract
Pulsed eddy current (PEC) is an effective electromagnetic non-destructive inspection (NDI) technique for metal materials, which has already been widely adopted in detecting cracking and corrosion in some multi-layer structures. Automatically inspecting the defects in these structures would be conducive to further analysis and treatment of them. In this paper, we propose an effective end-to-end model using convolutional neural networks (CNN) to learn effective features from PEC data. Specifically, we construct a multi-task generic model, based on 1D CNN, to predict both the class and depth of flaws simultaneously. Extensive experiments demonstrate our model is capable of handling both classification and regression tasks on PEC data. Our proposed model obtains higher accuracy and lower error compared to other standard methods.
| Dataset | Classification | |
|---|---|---|
| Regression | ||
| Error (MSE) | ||
| A1 (no airgap) | 91.0 | 0.204 |
| A2 (with airgap) | 91.2 | 0.902 |
| A1+A2 | 89.85 | 1.120 |
| Method | Accuracy (%) |
|---|---|
| Gaussian Process | 53.6 |
| Decision Tree | 87.2 |
| Support Vector Machine | 61.9 |
| Ours | 91.0 |
| Method | Mean Squared Error (MSE) |
|---|---|
| Linear Regression | 1.133 |
| Bayesian Ridge Regression | 1.098 |
| Support Vector Regression | 0.841 |
| Ours | 0.498 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNon-Destructive Testing Techniques · Geophysical Methods and Applications · Welding Techniques and Residual Stresses
Towards end-to-end pulsed eddy current classification and regression with CNN
Xin Fu
School of Electronic Information
*Wuhan University
*Wuhan, China
Zheng Liu, Chengkai Zhang, Xiang Peng, Lihua Jian
School of Engineering
*University of British Columbia
*Kelowna, Canada
Abstract
Pulsed eddy current (PEC) is an effective electromagnetic non-destructive inspection (NDI) technique for metal materials, which has already been widely adopted in detecting cracking and corrosion in some multi-layer structures. Automatically inspecting the defects in these structures would be conducive to further analysis and treatment of them. In this paper, we propose an effective end-to-end model using convolutional neural networks (CNN) to learn effective features from PEC data. Specifically, we construct a multi-task generic model, based on 1D CNN, to predict both the class and depth of flaws simultaneously. Extensive experiments demonstrate our model is capable of handling both classification and regression tasks on PEC data. Our proposed model obtains higher accuracy and lower error compared to other standard methods.
Index Terms:
pulsed eddy current (PEC), convolutional neural network (CNN), classification, regression, non-destructive inspection
I Introduction
Pulsed eddy current (PEC) is a new emerging non-destructive inspection (NDI) technique in recent decades. It exploits a step function voltage to excite the probe. Typically, a PEC signal waveform is a time series with the pattern shown in Figure 1, where the current signal decays and approaches a steady state eventually. It has two major features: peak value and zero crossover point [1], which are mainly used in flaw characterization. Waveforms are acquired continuously while the probe is scanned over an area of the sample using a portable two-axis scanner. PEC has a wide range of frequencies, both surface and subsurface flaws of metal material can be detected. Therefore, PEC technique has been broadly utilized in the practices of non-destructive testing and evaluations [2] [3] [4] [5] [6]. Hence, automatically classifying and analyzing PEC signals have become a challenging problem for the research community.
So far, quite a few researchers have developed ways to characterize and quantify the corrosion based on PEC technique. Reference [7] extracts a few features and uses MLP to classify them. In literature [8], principal component analysis (PCA) and independent component analysis have been investigated for defect classification in multilayer aluminum structures. It uses support vector machines (SVMs) [9] as the classifier. In research work [10], a modified PCA (MPCA) is proposed to process the input data. Then an artificial neural network is created to give the prediction. Additionally, some researchers have investigated different ways to classify NDI signals by neural network [10] [7] [11]. The major steps of them include: signal preprocessing, feature extraction and classification.
Nonetheless, these schemes heavily rely on manually chosen features rather than learned features. The handcrafted features are too crucial to the final performance and obviously have severe limitations. Moreover, most of the schemes are single-task oriented, which means they are mainly intended for one task. In some real applications, we need to classify the collected PEC signals, and we also want to get approximate estimation of the metal loss. Thus, a robust and multi-task model is needed, which doesn’t need prior chosen features and can tackle different tasks at the same time.
In recent years, deep learning has developed intensively and been adopted in a wide range of research fields [12]. Among the many successful deep neural networks, convolutional neural network (CNN) has excellent performance in different tasks such as image classification and sequence modeling [13] [14] [15] [16]. Basically, sliding kernels and filters are utilized by CNNs to create their own feature maps. These filters have trainable weights, each of which can be trained through back-propagation. By stacking the layers of convolutional filters together, we can get hierarchical feature maps. They allow the network to operate on unprocessed features, reducing the need for handcrafted features or feature engineering. Thus, theoretically, CNN layers can avoid the shortcomings from the features chosen manually. In addition, they can enhance the result by exploiting potential features learned from the data.
A majority of the previous research work uses shallow neural network like multilayer perceptron (MLP) on PEC data. Since they haven’t explored the potentials of CNNs, we want to take a leap by exploiting the state-of-the-art CNN technique in problems with respect to PEC signals. Plus, we would also like to introduce multi-task learning technique [17] into our method, which aims to learn several tasks simultaneously to boost the performance of the main task or all tasks.
In this paper, we propose an effective end-to-end model based on the latest CNN architecture, which is designed to tackle the classification and regression task of the PEC inspection data simultaneously. Compared to conventional methods that use handcrafted features and MLP, our proposed model directly takes the signal as the input and yields the straightforward results using CNN. Experiments performed on PEC data from real-life specimens demonstrate that our model is capable of accurately tackling the classification and regression task of the PEC inspection data simultaneously.
II Methodology
The entire pipeline based on our proposed model is depicted in Figure 2. There are mainly three stages in the flow: (i) preprocessing the data; (ii) feeding the data to the model; and (iii) analyzing the outputs.
Preprocessing is meant to remove the redundant parts and augment the original data. Analyzing the outputs should be designed according to the real application scenario. The following part gives a detailed explanation of our proposed model.
II-A End-to-end Multi-task CNN
II-A1 Generic model
Same as conventional signal convolution operation, 1-dimensional convolution (1D Conv) layer is introduced in modern neural networks to process sequential signal [18]. The 1D Conv layer can be regarded as a fuzzy filter that can enhance the features of original signals and reduce noises. PEC signals are temporal and have fixed width at each inspection point. Therefore, 1D Conv layer is adopted in our proposed model.
Pooling layers are commonly used for non-linear down-sampling in CNN models. In our proposed model, we adopt max pooling layer, which uses the maximum value from each of a cluster of activations at the prior convolutional layer. To increase the efficiency of our model, global average pooling (GAP) [19] layer will be exploited to reduce the dimension of the outputs from the last convolutional layer.
The first section serves as a powerful feature extractor. It can capture the implicit information and effective features from PEC signals. As is shown in Figure 3, it’s made of several parts: (i) 1D Conv Layers, (ii) Max Pooling Layer, (iii) 1D Conv Layers, (iv) Global Average Pooling Layer.
Since the first part intakes the PEC signals and outputs effective latent feature vectors, we construct the second part according to specific tasks. For classification, we use fully connected (FC) layer with softmax activation, which takes the output of the GAP layer and produce a categorical distribution. Meanwhile, for the regression problem, which is useful for predicting the depths of corrosion, two FC layers are used. The first layer is directly connected to the prior GAP layer. The second layer has only one output, and the activation function is removed so that it gives continuous output values.
Thus, unlike the previously proposed single-task methods, our generic model can not only handle the classification, but also the regression problem. It would be extremely helpful in different scenarios of PEC data analysis. The entire model is illustrated in Figure 3. Since this is a generic model, we are able to design and tweak the parameters based on the PEC data obtained from different scenarios.
II-A2 Loss Function
Choosing suitable loss functions are vital to the optimization and convergence of our multi-task model.
So far, there are a variety of loss functions for classification such as , , margin loss and log loss [20]. For the classification part, following conventional approaches, we select categorical cross entropy loss. The formula of cross entropy loss is shown in Equation 1,
[TABLE]
In the above equation, and index observations and classes, and indicate the total number of samples and categories, denotes the binary indicator for observation, and is the probability prediction satisfying .
For the regression part, we choose mean absolute error (MAE) as the loss function, as shown in Equation 2. For sample , represents the label value and is the output from the model.
[TABLE]
Thus, the combined loss, as shown in Equation 3, will be used during the training of our proposed multi-task learning model.
[TABLE]
The parameters should be set according to different scenarios to adjust the balance between classification and regression losses.
III Experiments
III-A Experimental Setup and Specimen
In this paper, we mainly carry out experiments on two specimens. They are denoted as Specimen A and Specimen B.
III-A1 Specimen A
This piece of specimen, shown in Figure 4, originally comes from literature [7]. It was assembled by two 1 mm-thick sheets of Al2024 T3, which have regions milled out to simulate material loss due to corrosion. The flaws are composed of two parts: top of bottom (TOB) layer and bottom of top (BOT) layer. Each layer has 8 places that have been milled out a certain depth of material, as is shown in Figure 4(b).
There are nine levels of varying material loss and location in this specimen. The flaws for the two parts are (in mm): (i) BOT: 0.4826, 0.2519, 0.1884, 0.1545, 0.1143, 0.0572, 0.0402, 0.021; (ii) TOB: 0.0847, 0.1431, 0.1693, 0.2032, 0.1736, 0.1820, 0.2413, 0.4826.
A section of the test specimen was inspected at a resolution of 1 mm in x and y directions, resulting in a 65 pixel by 250 pixel area as shown in Fig. 4(a). Besides, a second inspection is carried out after an airgap is introduced, as shown in Fig. 4(c).
For Specimen A, PEC data collected from the sections with metal loss are equally and randomly selected for training and testing. For each area which has data points, of them are used as training and testing set, respectively. From the loss-free area, we selected an area with shape from the upper part of the specimen whose y-axis ranges from to . Also, it has samples and will be equally partitioned as former sections. Therefore, the training and testing sets both have classes with total samples. After the airgap is applied to Specimen A, we also use the same method as described above to yield the training and testing sets for our experiment.
For clarification, the dataset collected from Specimen A without airgap is denoted as A1, and the set from Specimen A with airgap is denoted as A2. Besides, by combining A1 and A2 together, we could get a larger set called A1+A2, which includes both of the data with and without airgap.
III-A2 Specimen B
The second specimen in our experiment is used in [21]. Different from Specimen A, which is made with artificial metal loss, Specimen B is from an actual aircraft lap joint. As Figure 5 shows, it’s from a service-retired Boeing 727. By using this piece of material, we are intended to investigate the effectiveness of our proposed method on PEC data from real industrial scenarios.
Specifically, the PEC data of Specimen B is collected from two sections: D and C of the lap joint. Section D and C are used for training and testing respectively. Section D has a shape of , and C is . For each point at the section, the PEC signal is a vector, which means the PEC inspection of each point has timesteps.
A sample X-ray thickness map of section C is given in Figure 5, which serves as the ground truth label used in our training and evaluation of the model. As we can see in Figure 5(a), the “black holes” are the riveted sections of the lap joint, which should be removed. We set the threshold to 0.05 and mark the areas whose value is smaller than the threshold. Then we dilate the areas with size of 12 and remove them. The remaining part of the specimen will be used for training and testing, as shown in Fig. 5(b). After removing the rivets, there will be 27,397 training samples and 37,603 samples for testing.
III-B Experimental Results
The models used in our following experiments are constructed based on the generic model described in Section II-A.
Specifically, for Specimen A, we set our model as follows: the first two 1D convolutional layers both have kernels and the second two have kernels. The pooling size in the max pooling layer is . The output of the GAP layer would be . In the classification task, a fully connected layer with 10 units will take the outputs from the GAP layer and makes the categorical prediction. In the regression task, two FC layers will be adopted, where the first follows the GAP layer with 32 units, the second follows the previous FC layer with 2 units which gives the estimation of BoT and ToB flaws. The loss follows the Equation 3 with . We use Adam [22] as the optimizer of our model. The learning rate is set to 0.001 and to be 0.9 and 0.999 respectively.
The training data have 10 classes and these categorical labels are converted into one hot encoding for the sake of calculating the cross entropy loss in Equation 1. The ground truth values of metal loss are relatively small, so we scale the labels of metal loss by a factor of 10. We train our model for 500 epochs. The loss and accuracy curve for the classification is displayed in Figure 6. It shows that our proposed model can converge on the PEC data from Specimen A.
As we can see from the final results, the classification accuracy is over . Plus, the mean squared error (MSE) of the estimation is really small. The results are shown in Table III-B. Moreover, we compare our method with some other classification methods: Gaussian Process [23], Decision Tree [24] and Support Vector Machine. Our model outperforms other classifiers on dataset A1 with 91% accuracy.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. A. Bieber, S. K. Shaligram, J. H. Rose, and J. C. Moulder, “Time-Gating of Pulsed Eddy Current Signals for Defect Characterization and Discrimination in Aircraft Lap-Joints,” in Review of Progress in Quantitative Nondestructive Evaluation: Volume 16A , ser. Review of Progress in Quantitative Nondestructive Evaluation, D. O. Thompson and D. E. Chimenti, Eds. Boston, MA: Springer US, 1997, pp. 1915–1921.
- 2[2] A. Sophian, G. Tian, and M. Fan, “Pulsed Eddy Current Non-destructive Testing and Evaluation: A Review,” Chinese Journal of Mechanical Engineering , vol. 30, no. 3, pp. 500–514, May 2017.
- 3[3] C. A. Stott, P. R. Underhill, V. K. Babbar, and T. W. Krause, “Pulsed Eddy Current Detection of Cracks in Multilayer Aluminum Lap Joints,” IEEE Sensors Journal , vol. 15, no. 2, pp. 956–962, Feb. 2015.
- 4[4] Y. He, F. Luo, M. Pan, F. Weng, X. Hu, J. Gao, and B. Liu, “Pulsed eddy current technique for defect detection in aircraft riveted structures,” NDT & E International , vol. 43, no. 2, pp. 176–181, Mar. 2010.
- 5[5] M. Pan, Y. He, G. Tian, D. Chen, and F. Luo, “PEC Frequency Band Selection for Locating Defects in Two-Layer Aircraft Structures With Air Gap Variations,” IEEE Transactions on Instrumentation and Measurement , vol. 62, no. 10, pp. 2849–2856, Oct. 2013.
- 6[6] B. Gao, L. Bai, W. L. Woo, G. Y. Tian, and Y. Cheng, “Automatic Defect Identification of Eddy Current Pulsed Thermography Using Single Channel Blind Source Separation,” IEEE Transactions on Instrumentation and Measurement , vol. 63, no. 4, pp. 913–922, Apr. 2014.
- 7[7] Z. Liu, D. S. Forsyth, B. A. Lepine, I. Hammad, and B. Farahbakhsh, “Investigations on classifying pulsed eddy current signals with a neural network,” Insight-Non-Destructive Testing and Condition Monitoring , vol. 45, no. 9, pp. 608–614, 2003.
- 8[8] Y. He, M. Pan, F. Luo, D. Chen, and X. Hu, “Support vector machine and optimised feature extraction in integrated eddy current instrument,” Measurement , vol. 46, no. 1, pp. 764–774, Jan. 2013.
