Next Article in Journal
Analysis of Backchannel Inviting Cues in Dyadic Speech Communication
Next Article in Special Issue
Combination of a Nondestructive Testing Method with Artificial Neural Network for Determining Thickness of Aluminum Sheets Regardless of Alloy’s Type
Previous Article in Journal
A Robust Interval Optimization Method for Combined Heat and Power Dispatch
Previous Article in Special Issue
An Experimental and Simulation Study for Comparison of the Sensitivity of Different Non-Destructive Capacitive Sensors in a Stratified Two-Phase Flow Regime
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Magnetic Flux Leakage Testing Method for Pipelines with Stress Corrosion Defects Based on Improved Kernel Extreme Learning Machine

School of Measurement and Communication Engineering, Harbin University of Science and Technology, Harbin 150080, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(17), 3707; https://doi.org/10.3390/electronics12173707
Submission received: 10 August 2023 / Revised: 30 August 2023 / Accepted: 31 August 2023 / Published: 1 September 2023
(This article belongs to the Special Issue Application of Artificial Neural Network in Non-destructive Testing)

Abstract

:
This study aims to study the safety of oil and gas pipelines under stress corrosion conditions and grasp the corrosion damage situation timely and accurately. Consequently, a non-destructive testing method combining magnetic flux leakage testing technology and a kernel function extreme learning machine improved by genetic algorithm (GA-KELM) is proposed. Firstly, the variation of the corrosion defect dimension and profile with time is obtained by numerical simulation. At the same time, the distribution of the magnetic flux leakage signal under different defect conditions is analyzed and studied. Finally, feature selection is carried out on the magnetic flux leakage signal distribution curve, and GA-KELM is used to predict the depth and length of corrosion defects so as to realize the non-destructive testing of the pipeline defects. The results show that different geometric features result in different magnetic flux leakage signal distributions. There is a corresponding relationship between the defect dimension and extreme value, area, and peak width of the magnetic flux leakage signal distribution curve. The GA-KELM prediction model can effectively predict the depth and length of corrosion defects, and the prediction accuracy is better than the traditional extreme learning machine prediction model.

1. Introduction

It is well known that pipeline transportation is a secure, dependable, and economical means of energy conveyance, which is increasingly used in the transportation of oil and gas resources around the world. The corrosion of metal pipelines is due to the difference in electrode potential, and electrochemical reactions occur when the metal is in contact with the electrolyte. Pipelines are affected by a variety of stresses during service, such as soil stress, internal residual stress of the pipelines, thermal stress caused by welding, etc. [1]. Both elastic and plastic tensile stress can improve the surface activity of pipeline steel, further promote the electrochemical reaction of the steel surface, and accelerate the corrosion of pipelines [2]. Corrosion is a dynamic process that develops over time, and as the operating time of pipelines increases, corrosion will become a major hidden danger to the safe operation of pipelines. There are several methods to predict the damage to pipelines such as experiments, analytical methods and the finite element method (FEM). Recently, with the advancement of computer technology, FEM has established itself as the method of choice for the majority of analysis applications [3]. Khalajestani K.M [4] used FEM to analyze the residual strength of pressure pipelines with corrosion defects, and the research results proved that the depth and length of defects and the spacing between adjacent defects had a greater impact on the residual strength of pipelines. Larin [5] used FEM to analyze and determine the local area of the maximum stress, and found that the stress state was affected by the internal pressure and time of the corroded defective pipelines. Mourad Nahal [6] established a numerical model of a corroded elbow by FEM, studied the mechanical behavior under the action of corrosion defects, and established an empirical model. The results show that the failure probability is proportional to the corrosion rate, the reliability of a corroding pipe elbow can be significantly affected by corrosion and residual stress. Zhang Jia [7] used FEM to carry out nonlinear analysis of buried natural gas pipelines. The effects of internal pressure, corrosion pit defect size, internal and external wall corrosion, the corrosion pit group, and different types of volumetric corrosion pit defects on the failure of an L360QS steel pipe were analyzed with consideration to the effects of axial and circumferential zones of corrosion pits.
To guarantee the secure functioning of pipelines, periodic inspections are imperative to assess their corrosion status. Magnetic flux leakage testing is a significant non-destructive testing method that is widely used. When combined with other methods, it provides a fast and inexpensive evaluation of ferromagnetic workpieces. Given that a substantial proportion of oil and gas conveyance pipelines are fabricated from ferromagnetic materials, magnetic flux leakage testing technology can detect the location and dimension of pipeline defects effectively [8]. Magnetic flux leakage testing technology evolved from magnetic particle detection technology as early as 1906 in C. Mc Cann’s work in South Africa, and other scholars have carried out flaw detection by magnetization for the problem of broken wire ropes. In 1933, Zuschlug first proposed the method of detecting leakage magnetic fields using magnetic sensitive elements. In 1947, Hastings designed the first magnetic flux leakage testing system, and then magnetic flux leakage testing and its defect magnetic flux leakage imaging technology began to be applied [9]. In recent years, magnetic flux leakage testing technology has gradually become a popular research direction for scholars [10,11,12,13,14,15,16]. Z. Usarek [17] designed a FLUMAG500 magnetic flux leakage testing device for the detection of corrosion defects on gas pipe walls. An advanced signal processing and analysis system was developed for the device, and the working principle of the device was introduced. Miguel A. Machado [18] developed a new eddy current probe for detecting micron-level defects in any direction on the inner surface of the pipelines and verified the performance of the designed probe. Yavuz Ege [19] developed a new magnetic flux leakage testing system for natural gas and long-distance oil transportation pipelines with a KMZ51 AMR sensor. Tohara Makoto [20] proposed a method to obtain the outer surface defects of ferromagnetic steel pipelines by detecting the changes in the eddy current distribution in the pipelines. Zhao Yunli [21] used ANSYS Maxwell software to calculate the permeability of different specifications at the inner and outer walls of X80 steel pipelines and verified the calculation results. Hu Jing [22] studied the distribution law and modeling method of a vortex magnetic flux leakage field on the inner and outer walls of pipelines, constructed a mathematical model of a dynamic magnetic flux leakage similar stability field for defects on the inner and outer walls of pipelines, explored the identifiability of magnetic flux leakage signal features under dynamic conditions, selected the data characteristics of defect signals on the inner and outer walls, and established an effective method for distinguishing between internal and external defect signals. Zheng Fuyin [23] mathematically modeled the force–magnetic coupling relationship of ferromagnetic materials, derived the functional relationship between stress and material permeability, designed a pipeline stress detection system, and gave the mathematical relationship between the magnetic flux leakage signal on the pipe surface and the magnetic permeability of the material, excitation voltage and coil turns. Feng Bo [24] presented a comprehensive review of magnetic flux leakage (MFL) testing, explained the principle of MFL testing with the refraction magnetic field theory, and analyzed the factors affecting the MFL test signal. The results show that excitation and sensing are the most important steps in MFL testing, in which excitation decides if there is a leakage field generated and sensing decides if the generated field can be effectively detected.
Artificial neural networks have undergone rapid development in recent years, and achieved great success in tasks such as classification and regression. The emphasis of non-destructive testing is the quantification and prediction of defects, which is essentially a classification or regression problem. Thus, artificial neural networks have been widely used in defect quantification and prediction. Chen Yuanhang presented a method based on feature extraction and machine learning algorithms for online quality monitoring and defect classification, and experiments indicated the performance of artificial neural networks is slightly better than that of support vector machines, while both of them have their own advantages [25]. Feng Jianghua proposed a novel object detection algorithm to detect rail defects. The net architecture of the proposed algorithm includes a backbone network using MobileNet and several novel detection layers [26]. Mat Jizat Jessnor Arif described an evaluation of machine learning classifiers to be applied in wafer defect detection—k-nearest neighbours, logistic regression, stochastic gradient descent, and support vector machine were evaluated with three defect categories and one non-defect category [27]. Sun Hongyu integrated the magnetic flux leakage theory into the loss function and proposed a physics-informed double-fed cross-residual network that estimated the defect length, width, and depth accurately [28]. Wang Qi proposed an extreme learning machine optimized by a genetic algorithm to predict the erosion rate, residual life, and residual strength of the pipe with erosion defects; the model can not only predict effectively, but its prediction accuracy is better than the traditional model [29].
As mentioned above, the presence of corrosion defects constitutes one of the main threats to pipeline safety. The soil-induced strain, combined with internal pressure, results in a complex stress/strain condition on pipelines. The local stress concentration developed at the defect further accelerates the localized corrosion. Magnetic flux leakage testing technology can effectively detect the corrosion damage of pipelines. Meanwhile, artificial neural networks are widely used in the quantification and prediction of defects. However, most of the existing research uses the experimental method to carry out the research of magnetic flux leakage testing, and there is no close connection with computer technology. In order to assess the corrosion damage of oil and gas pipelines from the perspective of safety and economy, it is imperative to establish a scientific evaluation methodology. In this paper, considering the combined impacts of corrosion and stress on oil and gas pipelines in practical engineering scenarios, the finite element model of pipeline stress corrosion is established. Employing time as a variable, the dynamic evolution of corrosion defect profiles and sizes with pipelines is investigated. Building upon the principles of magnetic field theory, the finite element model of magnetic flux leakage testing for pipeline defects is established. It enables an exploration of the magnetic flux leakage signal distribution under varying corrosion defect profiles; the effects of defect depth, defect length and lifting height on magnetic flux leakage signal distribution are also analyzed. On this basis, the features of the signal distribution curve are defined and selected as sample data, and the GA-KELM model is built to predict the depth and length of defects. The above contributes to advancing the theoretical foundations of corrosion protection strategies for oil and gas pipelines in engineering applications.

2. Numerical Simulation Analysis of Pipelines Stress Corrosion

2.1. Simulation of Elastoplasticity

Elastoplasticity refers to the deformation of an object when it is subjected to external force; only part of the deformation disappears when the external force is removed, and the rest will not disappear by itself. Elastoplasticity includes elastic mechanics and plastic mechanics; in the scope of elastic mechanics, stress and strain are linearly related, while in the scope of plastic mechanics, the relationship between stress and strain is nonlinear. This nonlinear characteristic is related to the materials studied, and has different transformation laws for different materials and conditions. The model established in this paper adopts the small strain plastic model to simulate the elastic–plastic mechanics of the pipelines and the isotropic hardening model, whose hardening function σ y h a r d (a function that describes the stress–strain curves in the scope of plasticity) is defined as follows:
σ y h a r d = σ exp ε p + σ e E σ y s
In Equation (1), σ exp is the stress–strain curve measured by X100 pipeline steel experiments [30], as shown in Figure 1; ε p is plastic deformation; σ e is the von Mise stress; E is the Young’s modulus, 2.07 × 109 Pa; σ y s is the yield strength of the pipeline steel, 8.06 × 108 Pa.

2.2. Simulation of Electrochemical Corrosion

Corrosion of oil and gas pipelines refers to the destruction of the outer wall of oil and gas pipelines due to chemical changes, electrochemical changes or physical dissolution of metal pipelines under long-term contact with surrounding substances. Soil is the main cause of the corrosion of buried pipelines. Because the soil contains a lot of water and air, water makes the soil become a conductor, and the airflow causes the uneven distribution of oxygen concentration, and finally forms the galvanic cell. The pipelines are dissolved as the anode, which is damaged [31].
The model dictates that two electrochemical reactions, iron dissolution (anode) and hydrogen evolution (cathode), occur on the corrosion defect surface of the pipelines, and the other surface of the pipelines is considered to be electrochemically inert. The chemical reaction formula of the anode reaction and the cathode reaction is as follows:
Fe Fe 2 + + 2 e
H + + e H
The anode’s Tafel expression is used to simulate the iron dissolution reaction, and the local anode current density i a is defined as follows [32]:
i a = i 0 , a 10 η a A a
η a = φ s φ l E e q , a
E e q , a = E e q 0 , a Δ P m V m z F T R z F ln v α N 0 ε p + 1
In Equations (4)–(6), i 0 , a is the exchange current density, 2.353 × 10−3 A/m2; A a is the anode’s Tafel slope, 0.118 V; η a is the overpotential of the anode reaction; E e q , a is the equilibrium potential of the anode reaction; E e q 0 , a is the standard equilibrium potential of anode reaction, −0.859 V; Δ P m is the overpressure that causes elastic deformation, 2.687 × 108 Pa; V m is the molar volume of steel, 7.13 × 10−6 m3/mol; z is the electric charge of steel, 2; F is Faraday’s constant; T is the absolute concentration, 298.15 K; R is the ideal gas constant; v is the directional correlation factor, 0.45; α is the coefficient, 1.67 × 1015 m−2; N 0 is the initial dislocation density, 1 × 1012 m−2.
The cathode’s Tafel expression is used to simulate the hydrogen evolution reaction, and the local cathode current density i c is defined as follows [32]:
i c = i 0 , c 10 η c A c
i 0 , c = i 0 , c , r e f 10 σ e V m 6 F ( A c )
η c = φ s φ l E e q 0 , c
In Equations (7)–(9), i 0 , c is the exchange current density; A c is the cathode’s Tafel slope, 0.207 V; i 0 , c , r e f is the reference exchange current density of the cathode reaction without external stress/strain, 1.457 × 10−2 A/m2; η c is the overpotential of the cathode reaction; E e q , c is the standard equilibrium potential of the cathode reaction, −0.644 V.
Deformation geometry is used to model the dissolution of iron in corrosion defects. The dissolution of iron causes the electrode boundary to move at a speed of v , calculated by the following equation [33]:
v = i a 2 F M ρ
In Equation (10), M is the molar mass of iron, 55.845 g/mol; ρ is the density of iron, 7870 kg/m3.

2.3. Finite Element Model of Pipelines Stress Corrosion

COMSOL Multiphysics 6.0 is used to establish a finite element model of pipeline stress corrosion. The geometric model consisted of X100 pipelines and the surrounding soil domain, as shown in Figure 2. The pipe wall thickness is 19.1 mm, and the length of the pipe segment used for finite element simulation is 2 m. The initial corrosion defect is elliptical, with a length of 200 mm and a depth of 60% of the pipe wall thickness, 11.46 mm. In numerical simulation, the calculation speed and accuracy are affected by the quality and quantity of the mesh; high-quality mesh can not only reduce the operation memory, but also improve the calculation accuracy. This paper uses a free triangle mesh to divide the corrosion defect area’s local mesh encryption and set the maximum unit size of 1 mm. The complete mesh consists of 13,807 cells, with a maximum cell size of 40 mm, a minimum cell size of 0.6 mm, and a maximum cell growth rate of 1.2. The contact interface between the pipeline and the soil domain is set as a free boundary, an electrochemical corrosion reaction occurs, and the conductivity of the electrolyte in the soil domain is 0.096 S/m. The left end of the pipeline is fixed, the right end is subjected to tensile strain, and the bottom of the pipeline is set to electrical ground.

2.4. Verification of Model Accuracy

Corrosion potential is the potential measured when a metal reaches a steady state of corrosion in the absence of an applied current. It is the mixed potential of anodic and cathodic reactions polarized by self-corrosive currents, which greatly affects the corrosion of metals [34]. Before the numerical simulation, the rationality and accuracy of the finite element model should be verified. The curve of the corrosion potential change with von Mises stress of X100 pipeline steel is shown in Figure 3, and a comparison between the experimental data in the literature and numerical simulation results is shown in Table 1. It can be seen from the data analysis that the numerical simulation results in this paper fit well with the experimental data of L.Y. Xu [35], with a maximum error of 0.27%, a minimum error of 0.04%, and an average error of 0.059%. The results show that the finite element model can simulate the pipeline stress corrosion accurately, and the mesh division and boundary condition setting are reasonable and feasible.

2.5. Simulation Analysis of Corrosion Situations

This paper undertakes a comprehensive analysis of pipeline corrosion over a 30-year period, with calculations performed at 3-year intervals. A total of 10 simulations have been conducted to assess the progression of corrosion in the presence of defects. The evolution of defect dimensions over the corrosion timeline is presented in Table 2, and the transformation of defect profiles is depicted in Figure 4. Analysis of the data shows that the corrosion defect changed significantly. The depth of defects increased from 11.46 mm to 16.798 mm, with an average increase of 0.54 mm every three years. The length of defects increased from 200 mm to 210.649 mm, with an average increase of 1.065 mm every three years. With the increase in the service life of pipelines, the stress corrosion leads to the continuous thinning of the pipe wall and the increase in the defect area, which seriously threatens the safe operation of pipelines.
The initial corrosion defect depth of 11.46 mm is kept unchanged, and the initial defect lengths are taken as 160 mm, 170 mm, 180 mm, 190 mm, 200 mm, 210 mm, 220 mm, 230 mm, 240 mm and 250 mm, respectively. By establishing a model and calculating the defect profiles under different corrosion times, they are derived to provide a geometric model for the subsequent numerical simulation analysis of magnetic flux leakage testing signal detection.

3. Numerical Simulation Analysis of Magnetic Flux Leakage Testing

3.1. Magnetic Flux Leakage Testing Theory

Similar to electric field lines, magnetic induction lines are imaginary curves used to help describe the direction of a magnetic field. The propagation of magnetic induction lines obeys the boundary conditions of the electromagnetic field. When the magnetic induction line passes through the different media interfaces of the two materials, the propagation path is refracted due to the change in permeability [36]. A schematic diagram of the refractive law of the magnetic induction line is shown in Figure 5.
As shown in the figure, two media with different permeability are divided by interface, and the normal components of magnetic induction intensity in medium 1 and medium 2 are B 1 n and B 2 n , respectively. The magnetic field strength components of the circumferential of medium 1 and medium 2 are H 1 t and H 2 t , respectively, the angle between magnetic induction and normal is θ 1 and θ 2 , and the permeability of medium 1 and medium 2 is μ 1 and μ 2 , according to the boundary conditions of the two magnetic media.
B 1 n = B 2 n
H 1 t = H 2 t
The permeability ratio on both sides of the medium is equal to the tangent ratio of the angle between the magnetic induction line and the normal line on both sides of the medium, that is:
tan θ 1 tan θ 2 = μ 1 μ 2
The magnetic induction line is incident from medium 1, refracted at the interface and emitted from medium 2; when the size of μ 1 is much greater than μ 2 , θ 2 infinitely tends to 0, and θ 1 tends to 90 degrees. At this time, the magnetic induction line inside medium 1 becomes very dense and parallel to the interface. The greater the permeability of the material constituting medium 1, the closer θ 1 is to 90 degrees.
The principle of magnetic flux leakage testing is schematically shown in Figure 6, where an excitation device is applied to magnetize the pipe wall into near saturation. If the pipe wall is continuous and free of defects, the magnetic induction line will be constrained. The magnetic flux is parallel to the surface of the pipe wall and hardly forms a magnetic field. If there are defects in the pipe wall, the magnetic induction line will change. Part of the magnetic flux leaks into the space on the surface of the pipe wall, forming a leakage magnetic field at the defect. At this time, sensors such as Hall elements are used to detect the magnetic flux leakage on the surface of the pipe wall, and the magnetic flux leakage signal can be analyzed to evaluate whether the pipelines have defects.

3.2. Finite Element Model of Magnetic Flux Leakage Testing

The finite element model of pipeline defect magnetic flux leakage testing is established by COMSOL Multiphysics 6.0. The geometric model consists of a ferromagnetic X100 steel pipeline, an excitation coil and a magnet yoke. The model adopts the corrosion defect profile calculated in numerical simulation of pipeline stress corrosion, the positions and sizes of the excitation coil and magnet yoke are shown in Figure 7. The magnetic flux leakage signal detection path is set above the pipe wall to replace the Hall sensor, as shown in the blue dashed line. In order to ensure the accuracy and smoothness of the magnetic flux leakage signal, the defect area and the air region above it are divided by a sweeping mesh, the unit size is set to 5 mm, and the rest are divided by a free triangle mesh. The complete mesh consists of 33,990 mesh cells, with a maximum cell size of 60 mm, a minimum cell size of 0.225 mm, and a maximum cell growth rate of 1.2.
In the actual test, considering the geometric size and magnetization effect of the magnetization device, the local magnetization method is generally selected. The magnetic field signal in the magnetization area is detected to determine whether there is a defect in the area and the geometry of the defect. In this paper, the yoke method is selected to locally magnetize the defective pipelines, and the coil is excited to generate the direct current magnetization, which can generate a stable magnetic field without a skin effect. The excitation coil material is set to copper, and the relative permeability is 0.9999912; the yoke material is selected from the COMSOL material library, regardless of loss. The pipeline material is set to X100 pipeline steel with ferromagnetism, and the relative permeability input B-H curve [37] is given as the nonlinearity of the material, as shown in Figure 8.

3.3. Effect of Magnet Yoke on Magnetic Flux Leakage Signal

The number of excitation coils and the current value will directly affect the magnetization effect of the magnet yoke. The geometric model with defect length of 200 mm and defect depth of 11.46 mm is established, and the magnetic flux leakage signal detection path is set to 40 mm above the pipe wall. Currents of 3 A, 5 A, and 7 A are applied to the excitation coil, and the coils are wound 400 turns, 500 turns, and 600 turns, respectively. The magnetic flux leakage signal distribution under different parameter conditions is shown in Figure 9:
The figure shows that the magnetization effect of the magnet yoke on the pipe wall will be enhanced with the increase in current value and number of excitation coils. Low current and small coil turns will cause the curve to change less significantly. In the meantime, high current and large coil turns will increase the calculation amount. Therefore, considering the calculation accuracy and calculation speed, a 5A current and 500 coil turns are selected in this study.

3.4. Effect of Geometric Features on Magnetic Flux Leakage Signal

According to the number of excitation coil and current value, the magnetic flux leakage testing model is established, and the influences of defect depth, defect length and lifting height on magnetic flux leakage signal distribution are studied, respectively. When the defect depth is taken as a variable, the magnetic flux leakage signal detection path is set to 40 mm above the pipe wall, the defect length is 200 mm, and the defect depths are taken as 8 mm, 9 mm, 10 mm, 11 mm and 12 mm. When the defect length is taken as a variable, the magnetic flux leakage signal detection path is set to 40 mm above the pipe wall, the defect depth is 11.46 mm, and the defect depths are are taken as 100 mm, 150 mm, 200 mm, 250 mm and 300 mm. When the lifting height is taken as a variable, the defect depth is controlled at 11.46 mm, the defect length remains unchanged at 200 mm, and the magnetic flux leakage signal detection paths are set to 30 mm, 40 mm and 50 mm above the pipe wall. The magnetic flux leakage signal distribution under different geometric characteristics is shown in Figure 10:
The figure shows that different geometric features lead to different magnetic flux leakage signal distributions. As the defect depth increases, the extreme values of the axial and radial components show a continuous increase, with a concomitant increase in the enclosed area of the curve. Conversely, as the defect length increases, the extreme values of both the axial and radial components decrease, accompanied by an increase in the width of the peak of the curve. This observation implies a correlation between the defect dimension and the extreme value, area and peak width of the curve. In addition, the extreme values of the axial and radial components decrease as the lifting height increases. In this study, a lifting height of 40 mm is chosen to ensure clear changes in the distribution curve of the detected magnetic flux leakage signal for each component.

4. Corrosion Defect Regression Prediction

4.1. Magnetic Flux Leakage Signal Feature Extraction

The key to quantitative analysis of defect magnetic flux leakage signal is to extract the feature of the distribution curve. Combined with the above analysis of the transformation law of the magnetic flux leakage signal curve, the feature of the distribution curve is defined as follows (Figure 11):
1.
Peak value
A baseline is established along the lower edge of the axial component curve, and the disparity between the peak of the curve and this baseline is defined as the peak value of the axial component (P1). In the meantime, the disparity between the positive peak and the negative peak within the radial component curve is defined as the peak value of the radial component (P2).
2.
Area
A baseline is established along the base of the axial component curve, and the absolute area enclosed by the curve and the baseline is defined as the peak area of the axial component (A1). Similarly, by connecting the endpoints of the radial component curve to form a baseline, the absolute area enclosed by the curve and the baseline is defined as the peak area of the radial component (A2).
3.
Full width at half maximum (FWHM)
The width of the axial component curve at half of its peak height is defined as the FWHM of the axial component (W1). On the other hand, since the radial component curve exhibits two peaks, the average of two width values is defined as the FWHM of the radial component (W2).
4.
Corrugation pitch
By calculating the disparity between the abscissa values of the negative and positive peaks of the radial component curve, the resulting difference is defined as the corrugation pitch of the radial component (S).
The magnetic flux leakage signal distribution of pipelines with different defect profiles is calculated by using the magnetic flux leakage testing model. A total of 100 groups of data are obtained by extracting the feature of the distribution curve, as shown in Table A1 of Appendix A.

4.2. Kernel Function Extreme Learning Machine Improved by Genetic Algorithm

An extreme learning machine (ELM) is a single hidden layer feedforward artificial neural network, which has faster operation speed and better generalization performance than traditional algorithms [38]. In the training process of ELM, the connection weights of the input layer and the hidden layer are randomly generated, and the connection weights of the hidden layer and the output layer are obtained by solving the equation rather than iteratively adjusting. Better performance can be obtained only by adjusting the number of neurons in the hidden layer, which greatly enhances the learning speed. The network structure of ELM is shown in Figure 12, which consists of the input layer, hidden layer and output layer.
In the figure above, x n is the eigenvector of the input sample; W i is the connection weight of the input layer and the hidden layer; β i is the connection weight of the hidden layer and the output layer; y n is the label vector corresponding to the sample; h x = h 1 x , , h i x is hidden layer output, the calculation formula of h i x is as follows:
h i x = g W i , b i , x = g W i x + b i
In Equation (14), g is the activation function; b i is the deviation of the hidden layer unit.
In an extreme learning machine, the number of hidden layer neurons needs to be determined to obtain the unique optimal solution. While the kernel function extreme learning machine (KELM) replaces the unknown hidden layer feature mapping with the kernel function, it does not need to determine the number of hidden layer nodes in advance but only obtains its kernel function. The basic principle of the kernel function is to map the input space sample data to the high-dimensional feature space by the nonlinear function, and then process the high-dimensional feature space. The key point is to transform the product operation in the high dimensional space after nonlinear transformation into the kernel function calculation in the original input space by introducing the kernel function [39]. The kernel function formula is as follows:
Ω i , j = h i x h j x = K x i , x j
K x i , x j = exp x x i 2 δ 2
In Equation (16), K x i , x j is the element of the kernel matrix Ω ; δ is the parameter of the kernel function.
Meanwhile, the main means of the numerical solution is iterative operation, and the general iterative method is easy to fall into the local minimal loop. The genetic algorithm (GA) is a globally improved algorithm that follows the principle of survival of the fittest. It uses the “random selection according to probability” search method to avoid the trap of local optimal cleverly, and has good convergence. In order to improve the accuracy of the neural network algorithm, a kernel function extreme learning machine improved by genetic algorithm (GA-KELM) is proposed. Setting the population number to 20, the maximum number of iterations to 100, the crossover probability to 0.7, and the mutation probability to 0.3, the performance workflow of GA-KELM is shown in Figure 13.
In this algorithm, the input weights of KELM training data and the threshold of hidden layer nodes are mapped to genes on each chromosome in the GA population. The chromosome fitness of GA corresponds to the training error of KELM, and the problem of obtaining the optimal input weight and threshold is transformed into the problem of selecting the optimal chromosome by reducing the chromosome fitness. Through GA selection, crossover, mutation and other genetic operations, the optimal chromosome is selected as the input weight and threshold of KELM after being improved. The output weights of hidden layer neurons are calculated by the least squares method to calculate the predicted output. The algorithm integrates the global search ability of GA and the strong learning ability of KELM, which can effectively improve prediction accuracy.

4.3. Prediction Results and Analysis

The ELM and GA-KELM prediction models are established by MATLAB R2018a, and 100 sets of features of magnetic flux leakage signal distribution curves are selected as data sets to predict corrosion defects. Each data set comprises eight distinct parameters. Among them, P1, P2, A1, A2, W1, W2 and S are taken as inputs, and the defect depth and defect length are, respectively, taken as outputs. In total, 80 groups of data are randomly selected as the training set, and the remaining 20 groups of data are selected as the test set.
Figure 14 shows the comparison of prediction results of the two models. It can be seen from the figure that the accuracy of the GA-KELM model in predicting defect depth and defect length is 98.8% and 98.2%, respectively, which is 5.4% and 5.2% higher than that of the traditional ELM model. It shows that the GA-KELM model established in this paper can well predict the corrosion defect dimension, the improved algorithm adopted can effectively improve the prediction performance, and the prediction accuracy of the improved model is significantly improved.

5. Conclusions

In this paper, a calculation model of pipeline stress corrosion is established by the numerical simulation method. Furthermore, this paper analyzes the transformation law of magnetic flux leakage signal distributions. In addition, it combines improved artificial neural network algorithms to predict the corrosion defect depth and length. The following conclusions are deduced:
(1)
In this study, the accuracy of the numerical simulation results for pipeline stress corrosion is validated by published experimental data. Therefore, the effectiveness of the finite element model established herein in calculating corrosion defect changes is confirmed.
(2)
Different geometric features result in different magnetic flux leakage signal distributions. With the increase in defect depth, the area enclosed by the magnetic flux leakage signal distribution curve increases, and the extreme value of the curve also increases. As the defect length increases, the width of the curve crest increases, but the extreme value of the curve decreases. Correspondingly, a rise in lifting height corresponds to a conspicuous reduction in the curve’s extreme value.
(3)
As described above, the established GA-KELM model demonstrates excellent predictive ability, accurately predicting changes in corrosion defect depth and length, with prediction accuracies of 98.8% and 98.2%, respectively, which shows improvements of 5.4% and 5.2% over the traditional ELM model.

6. Future Directions

There are still many limitations and deficiencies in the study, which need to be improved in future work:
(1)
In the present study, magnetic flux leakage testing has been explored as a method for detecting small-sized defects. However, it is crucial to acknowledge that the method becomes impractical when the defect size exceeds the coverage area of the magnetic yoke. Another noteworthy non-destructive testing approach is acoustic testing. In acoustic testing, sound signals propagate along the pipe wall, and signals carrying defect-related information can escape into the surrounding medium. Thus, the location and size of defects can be determined with appropriate acoustic equipment [40]. Importantly, acoustic inspection technology is not constrained by defect size, making it a valuable option for addressing larger defects.
(2)
Moreover, it is essential to consider the impact of various factors on the magnetic flux leakage signal, including the anti-corrosion measures applied to pipelines, the properties of pipe wall coatings, and the chemical composition of pipe material. In our future research, we will thoroughly investigate how these properties influence the outcomes of non-destructive testing.
(3)
Furthermore, the accurate determination of the defect’s location is of paramount importance. In our subsequent research endeavors, we intend to advance our methodology to enable the precise detection of both defect size and defect location, thus enhancing the comprehensiveness and effectiveness of our non-destructive testing approach.

Author Contributions

Conceptualization, C.S. and Y.L. (Yuechan Liu); methodology, C.S.; software, Y.L. (Yingqi Li); validation, C.S. and Y.L. (Yuechan Liu); formal analysis, Y.L. (Yingqi Li); investigation, C.S.; resources, C.S.; data curation, Y.L. (Yingqi Li); writing—original draft preparation, Y.L. (Yingqi Li); writing—review and editing, C.S.; visualization, Y.L. (Yingqi Li); supervision, Y.L. (Yuechan Liu); project administration, Y.L. (Yuechan Liu); funding acquisition, C.S. 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 (11704090), University Nursing Program for Young Scholars with Creative Talents in Heilongjiang Province (UNPYSCT-2018207), and the project of Nature Scientific Foundation of Heilongjiang Province (LH2020A016).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data is available in the paper.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

σ y h a r d hardening function
σ exp stress–strain curve of X100 pipeline steel
ε p plastic deformation
σ e von Mise stress
E Young’s modulus
σ y s yield strength
i a local anode current density
i 0 , a exchange current density
A a anode’s Tafel slope
η a overpotential of the anode reaction
E e q , a equilibrium potential of the anode reaction
E e q 0 , a standard equilibrium potential of anode reaction
Δ P m overpressure that causes elastic deformation
V m molar volume of steel
z electric charge of steel
F Faraday’s constant
T absolute concentration
R ideal gas constant
v directional correlation factor
α coefficient
N 0 initial dislocation density
i c local cathode current density
i 0 , c exchange current density
A c cathode’s Tafel slope
i 0 , c , r e f reference exchange current density of the cathode reaction without external stress/strain
η c overpotential of the cathode reaction
E e q , c standard equilibrium potential of the cathode reaction
v electrode boundary moving speed
M molar mass of iron
ρ density of iron
Bx axial component of magnetic flux density
By radial component of magnetic flux density
P 1 peak value of axial component
P 2 peak value of radial component
A 1 peak area of axial component
A 2 peak area of radial component
FWHM full width at half maximum
W 1 FWHM of axial component
W 2 FWHM of radial component
S corrugation pitch of radial component
B n normal components of magnetic induction intensity
H t magnetic field strength components of the circumferential
θ angle between magnetic induction and normal
μ permeability
x n eigenvector of the input sample
W i connection weight of the input layer and the hidden layer
β i connection weight of the hidden layer and the output layer
y n label vector corresponding to the sample
h x hidden layer output
g activation function
b i deviation of the hidden layer unit
Ω i , j the kernel function
K x i , x j element of kernel matrix
δ parameter of the kernel function
GA KELM kernel function extreme learning machine improved by genetic algorithm

Appendix A

Table A1. The feature of magnetic flux leakage signal distribution curve.
Table A1. The feature of magnetic flux leakage signal distribution curve.
Defect DepthDefect LengthP1A1W1P2A2W2S
12.073160.5300.00210.3001126.9460.00210.3156116.4391164.044
12.671161.1410.00240.3314121.4150.00240.3660119.8991164.067
13.263161.8520.00280.3694114.3660.00270.4283123.4301164.091
13.852162.6120.00320.4150106.5960.00310.5037126.5421164.051
14.440163.4630.00370.4625100.6180.00350.5818128.0451166.076
15.027164.3880.00430.516395.2810.00410.6708128.3431166.042
15.618165.4110.00490.574691.0950.00470.7672128.0401166.075
16.214166.5180.00560.636488.0830.00530.8687127.5631168.043
16.811167.7520.00620.702685.8950.00600.9771127.1421168.079
17.412169.1330.00690.774084.3440.00671.0933126.8681170.059
12.052170.5360.00210.3080132.3750.00210.3142116.3831164.044
12.637171.1600.00230.3381126.7430.00230.3648119.8511164.067
13.216171.8740.00270.3749119.2410.00260.4275123.4111165.002
13.791172.6720.00310.4173111.3440.00300.5033126.5261164.048
14.361173.5530.00360.4654104.0070.00340.5811128.0201165.077
14.930174.5190.00410.514498.6740.00390.6712128.3531165.043
15.498175.5750.00470.569793.9070.00450.7681128.0641166.080
16.067176.7390.00530.628490.3720.00510.8705127.6111166.967
16.642178.0350.00600.690687.7510.00570.9793127.1921168.026
17.217179.5040.00670.756985.8600.00641.0966126.9341168.073
12.013180.5470.00200.3154137.9120.00210.3265125.2391164.045
12.569181.1870.00230.3450131.9040.00230.3741128.8741166.975
13.126181.9190.00260.3805124.0230.00260.4304132.4941165.004
13.681182.7410.00300.4204116.0410.00290.4952135.2881164.051
14.236183.6510.00350.4668107.8900.00330.5713136.5071166.078
14.789184.6510.00400.5147101.8470.00380.6499136.4341166.045
15.340185.7490.00460.567396.6540.00430.7364135.7061166.085
15.890186.9620.00520.623592.5960.00490.8289134.7051166.059
16.441188.3230.00580.682989.5570.00550.9260133.7271168.034
16.991189.8830.00640.745987.3120.00611.0286132.9151168.084
11.994190.5570.00200.3225143.6020.00200.3323129.7271167.952
12.534191.2140.00230.3520136.9440.00220.3840133.6871164.979
13.078191.9670.00260.3858129.1230.00250.4440137.5431164.092
13.628192.8130.00300.4247120.4820.00280.5143140.5691164.053
14.180193.7510.00340.4682112.2820.00320.5935141.9531166.081
14.728194.7850.00390.5162104.9890.00370.6817141.9901166.049
15.273195.9230.00440.565999.5350.00410.7727141.3041166.091
15.815197.1860.00500.620594.8760.00470.8729140.1891166.065
16.356198.6090.00560.677991.3780.00530.9782139.0531167.958
16.898200.2550.00620.738788.7470.00591.0887138.0461168.032
11.980200.5690.00200.3292149.4260.00200.3347133.7821165.955
12.507201.2430.00230.3588142.0230.00220.3804137.7441164.980
13.040202.0170.00250.3912134.1930.00240.4313141.2161164.024
13.580202.8880.00290.4287125.2940.00270.4914143.8301164.056
14.122203.8570.00330.4713116.2000.00310.5607144.9141166.085
14.662204.9250.00380.5177108.3710.00350.6367144.6201166.054
15.199206.1040.00430.5656102.4800.00400.7150143.5851166.030
15.733207.4190.00490.618397.2940.00450.8019142.1201166.072
16.266208.9100.00540.674193.3180.00050.8933140.5941168.050
16.798210.6490.00610.732990.2930.00570.9895139.2171168.043
11.972210.5790.00200.3357155.3750.00190.3372137.8301164.042
12.491211.2700.00220.3653147.2070.00210.3831142.1271164.982
13.015212.0660.00250.3966139.4470.00240.4317145.4291164.026
13.543212.9630.00280.4332129.8950.00270.4902148.0141164.058
14.074213.9640.00320.4732120.9290.00300.5544149.0201166.088
14.606215.0700.00370.5195111.8420.00340.6305148.6521166.058
15.138216.2960.00420.5663105.3420.00390.7070147.4391166.036
15.669217.6690.00470.617599.6600.00050.7912145.7501166.080
16.198219.2350.00530.671995.1890.00500.8806143.9401168.063
16.727220.1540.00590.729191.7550.00560.9744142.2721168.055
11.954220.5890.00190.3421161.5060.00190.3403141.8991165.956
12.455221.2950.00220.3716152.6930.00210.3853146.3421164.983
12.963222.1120.00250.4021144.8200.00230.4322149.5281164.027
13.475223.0350.00280.4372135.3570.00260.4876151.9901164.061
13.990224.0640.00320.4762125.8520.00290.5500153.0351166.024
14.509225.2060.00360.5198116.7170.00330.6209152.7081166.062
15.028226.4770.00410.5661109.1910.00380.6967151.4031166.041
15.546227.9070.00460.6143103.4160.00420.7754149.6711166.087
16.062229.5490.00510.666398.4380.00480.8608147.7191168.072
16.577231.4940.00570.721394.5430.00540.9510145.8411168.071
11.947230.5950.00190.3483167.7310.00190.3422145.8091164.957
12.443231.3120.00220.3774158.3730.00210.3868150.5051164.984
12.946232.1440.00240.4078149.8480.00230.4332153.7891164.028
13.456233.0870.00270.4418140.2620.00250.4864156.1951164.063
13.970234.1430.00310.4798130.2420.00280.5468157.2681166.027
14.490235.3190.00350.5219120.6470.00320.6151156.9321166.066
15.012236.6350.00400.5680112.0260.00360.6907155.4741166.046
15.535238.1270.00450.6152105.6720.00410.7680153.5261166.026
16.057239.8550.00500.6666100.0970.00050.8526151.2721168.081
16.578241.9220.00560.721095.7180.00520.9422149.0631168.083
11.938240.6020.00190.3544174.0500.00180.3439149.6321164.043
12.425241.3320.00210.3831164.2490.00200.3877154.4831164.071
12.922242.1830.00240.4134154.9960.00220.4340157.9291164.030
13.429243.1510.00270.4461145.6400.00240.4845160.2161164.065
13.943244.2360.00300.4832135.0870.00270.5431161.3901166.030
14.462245.4520.00340.5237125.1950.00310.6085161.1131166.984
14.982246.8200.00390.5693115.4860.00040.6833159.5821166.052
15.501248.3780.00440.6153108.5840.00400.7586157.4881166.034
16.019250.1960.00490.6656102.4620.00450.8414155.0251168.027
16.537252.3920.00550.719097.5580.00510.9297152.5411168.032
11.928250.6120.00190.3603180.4360.00180.3456153.4011164.043
12.406251.3590.00210.3887170.3090.00200.3884158.3741164.072
12.894252.2290.00230.4189160.2930.00220.4344162.0041164.031
13.392253.2190.00260.4506150.9990.00240.4825164.2141165.896
13.899254.3340.00290.4867140.0620.00270.5395165.4881166.033
14.413255.5890.00330.5261129.6010.00300.6032165.3111167.987
14.931257.0040.00380.5703119.3310.00340.6752163.7721166.057
15.451258.6250.00420.6154111.8090.00390.7490161.5911166.956
15.972260.5280.00480.6648105.0220.00440.8304158.9341168.036
16.494262.8430.00530.717299.5500.00490.9175156.2071168.045

References

  1. Frank, Y.C. Stress Corrosion Cracking of Pipelines; John Wiley & Sons: Hoboken, NJ, USA, 2013; pp. 21–24. [Google Scholar]
  2. Chen, W.; Boven, V.G.; Rogge, R. The role of residual stress in neutral pH stress corrosion cracking of pipeline steels—Part II: Crack dormancy. Acta Mater. 2007, 55, 43–53. [Google Scholar] [CrossRef]
  3. Shahzamanian, M.M.; Meng, L.; Muntaseer, K.; Nader, Y.G.; Samer, A. Systematic literature review of the application of extended finite element method in failure prediction of pipelines. J. Pipeline Sci. Eng. 2021, 1, 241–251. [Google Scholar] [CrossRef]
  4. Khalajestani, K.M.; Bahaari, M.R. Investigation of pressurized elbows containing interacting corrosion defects. Int. J. Press. Vessel. Pip. 2014, 123–124, 77–85. [Google Scholar] [CrossRef]
  5. Oleksiy, L.; Kseniia, P.; Ruslan, M. Statistical estimation of residual strength and reliability of Corroded Pipeline Elbow Part based on a direct FE-simulations. J. Serbian Soc. Comput. Mech. 2018, 12, 80–95. [Google Scholar]
  6. Nahal, M.; Khelif, R. A finite element model for estimating time-dependent reliability of a corroded pipeline elbow. Int. J. Struct. Integr. 2020, 12, 306–321. [Google Scholar] [CrossRef]
  7. Zhang, J.; Lian, Z.; Zhou, Z.; Song, Z.; Liu, M.; Yang, K.; Liu, Z. Safety and reliability assessment of external corrosion defects assessment of buried pipelines—Soil interface: A mechanisms and FE study. J. Loss Prev. Process Ind. 2023, 82, 105006. [Google Scholar] [CrossRef]
  8. Yang, Z.; Qu, P.; Li, Y.; Zhang, Z.; Gao, Y. External magnetic leakage testing of pressure pipe based on finite element analysis. Nondestruct. Test. 2021, 43, 7–12. (In Chinese) [Google Scholar]
  9. Liao, X.; Wang, F.; Zhao, D.; Sun, Z.; Zhou, T. Review on Industrial Pipeline Magnetic Flux Leakage Testing Technique and Its Development Situation. Value Eng. 2016, 35, 236–237. (In Chinese) [Google Scholar]
  10. Afzal, M.; Udpa, S. Advanced signal processing of magnetic flux leakage data obtained from seamless gas pipeline. NDT E Int. 2002, 35, 449–457. [Google Scholar] [CrossRef]
  11. Carvalho, A.A.; Rebello, J.M.A.; Sagrilo, L.V.S.; Camerini, C.S.; Miranda, I.J.V. MFL signals and artificial neural networks applied to detection and classification of pipe weld defects. NDT E Int. 2006, 39, 661–667. [Google Scholar] [CrossRef]
  12. Nestleroth, J.; Davis, J.R. Application of eddy currents induced by permanent magnets for pipeline inspection. NDT E Int. 2006, 40, 77–84. [Google Scholar] [CrossRef]
  13. Joshi, A.; Udpa, L.; Udpa, S.; Tamburrino, A. Adaptive Wavelets for Characterizing Magnetic Flux Leakage Signals from Pipeline Inspection. IEEE Trans. Magn. 2006, 42, 3168–3170. [Google Scholar] [CrossRef]
  14. Khodayari-Rostamabad, A.; Reilly, J.P.; Nikolova, N.K.; Hare, J.R.; Pasha, S. Machine Learning Techniques for the Analysis of Magnetic Flux Leakage Images in Pipeline Inspection. IEEE Trans. Magn. 2009, 45, 3073–3084. [Google Scholar] [CrossRef]
  15. Gotoh, Y.; Sakurai, K.; Takahashi, N. Electromagnetic Inspection Method of Outer Side Defect on Small and Thick Steel Tube Using Both AC and DC Magnetic Fields. IEEE Trans. Magn. 2009, 45, 4467–4470. [Google Scholar] [CrossRef]
  16. Wilson, W.J.; Kaba, M.; Tian, Y.G.; Licciardi, S. Feature extraction and integration for the quantification of PMFL data. Nondestruct. Test. Eval. 2010, 25, 661–667. [Google Scholar] [CrossRef]
  17. Usarek, Z.; Warnke, K. Inspection of Gas Pipelines Using Magnetic Flux Leakage Technology. Adv. Mater. Sci. 2017, 17, 37–45. [Google Scholar] [CrossRef]
  18. Machado, A.M.; Rosado, L.; Pedrosa, N.; Vostner, A.; Miranda, R.M.; Piedade, M.; Santos, G.Y. Novel eddy current probes for pipes: Application in austenitic round-in-square profiles of ITER. NDT E Int. 2017, 87, 111–118. [Google Scholar] [CrossRef]
  19. Ege, Y.; Coramik, M. A new measurement system using magnetic flux leakage method in pipeline inspection. Measurement 2018, 123, 163–174. [Google Scholar] [CrossRef]
  20. Makoto, T.; Masafumi, K.; Yuji, G. Examination of Inspection Method for Outer-side Defect on Ferromagnetic Steel Tube by Velocity Effect Using Insertion-type Static Magnetic Field Sensor. Sens. Mater. 2021, 33, 2867–2877. [Google Scholar]
  21. Zhao, Y.; She, M.; Qiang, Y. Finite element simulation of pipe permeability at the wall defect after saturation magnetization. Oil Gas Storage Transp. 2021, 40, 539–554. (In Chinese) [Google Scholar]
  22. Hu, J.; Liu, S.; Zheng, L.; Xu, Z.; Tang, J. Distinction method of pipeline inner and outer defects based on the dynamic magnetic multipole field. Oil Gas Storage Transp. 2021, 40, 673–678. (In Chinese) [Google Scholar]
  23. Zheng, F.; Yang, L.; Bai, S.; Gao, S. Research on Stress Detection Method of Oil and Gas Pipeline Based on Electromagnetic Technology. Instrum. Tech. Sens. 2022, 1, 87–92. (In Chinese) [Google Scholar]
  24. Feng, B.; Wu, J.; Tu, H.; Tang, J.; Kang, Y. A Review of Magnetic Flux Leakage Nondestructive Testing. Materials 2022, 15, 7362. [Google Scholar] [CrossRef]
  25. Chen, Y.; Chen, B.; Yao, Y.; Tan, C.; Feng, J. A spectroscopic method based on support vector machine and artificial neural network for fiber laser welding defects detection and classification. NDT E Int. 2019, 108, 102176. [Google Scholar] [CrossRef]
  26. Feng, J.; Yuan, H.; Hu, Y.; Lin, J.; Liu, S.; Luo, X. Research on deep learning method for rail surface defect detection. IET Electr. Syst. Transp. 2020, 10, 436–442. [Google Scholar] [CrossRef]
  27. Arif, J.J.M.; Anwar, M.A.P.; Fakhri, A.N.A.; Zahari, T.; Edmund, Y. Evaluation of the machine learning classifier in wafer defects classification. ICT Express 2021, 7, 535–539. [Google Scholar]
  28. Sun, H.; Peng, L.; Huang, S.; Li, S.; Zhao, W. Development of a Physics-Informed Doubly Fed Cross-Residual Deep Neural Network for High-Precision Magnetic Flux Leakage Defect Size Estimation. IEEE Trans. Ind. Inform. 2021, 18, 1629–1640. [Google Scholar] [CrossRef]
  29. Wang, Q. Numerical Simulation of Erosion Characteristics of Oil and Gas Pipelines Containing Defects and Research on Residual Strength Prediction Technology. Master’s Thesis, Harbin University of Science and Technology, Harbin, China, 2023. (In Chinese). [Google Scholar]
  30. Xu, L.; Cheng, Y. Corrosion of X100 pipeline steel under plastic strain in a neutral pH bicarbonate solution. Corros. Sci. 2012, 64, 145–152. [Google Scholar] [CrossRef]
  31. Park, J.J.; Pyun, S.L.; Na, K.H.; Lee, S.M.; Kho, Y.T. Effect of Passivity of the Oxide Film on Low-pH Stress Corrosion Cracking of API 5L X-65 Pipeline Steel in Bicarbonate Solution. Corros. J. Sci. Eng. 2002, 58, 329–336. [Google Scholar] [CrossRef]
  32. Bagotsky, V.S. Fundamentals of Electrochemistry, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2006; pp. 23–45. [Google Scholar]
  33. Gutman, E.M. Mechanochemistry of Solid Surfaces; World Scientific: Singapore, 1994; pp. 16–28. [Google Scholar]
  34. Zhao, M. Corrosion and Protection of Metals; National Defense Industry Press: Beijing, China, 2008; pp. 56–58. [Google Scholar]
  35. Xu, L.; Cheng, Y. Development of a finite element model for simulation and prediction of mechanoelectrochemical effect of pipeline corrosion. Corros. Sci. 2013, 73, 150–160. [Google Scholar] [CrossRef]
  36. Wu, D.; Liu, Z.; Wang, X.; Su, L. Composite magnetic flux leakage detection method for pipelines using alternating magnetic field excitation. NDT E Int. 2017, 91, 148–155. [Google Scholar] [CrossRef]
  37. Gao, P. Research on Pipeline Defect Detection and Recognition Method Based on Magnetic Leakage Principle. Master’s Thesis, Shenyang University of Technology, Shenyang, China, 2020. (In Chinese). [Google Scholar]
  38. Tian, S.; Ma, L.; Li, H.; Tian, F.; Mao, J. Research on a Coal Seam Gas Content Prediction Method Based on an Improved Extreme Learning Machine. Appl. Sci. 2023, 13, 8753. [Google Scholar] [CrossRef]
  39. Zhang, Q.; Tsang Eric, C.C.; He, Q.; Guo, Y. Ensemble of kernel extreme learning machine based elimination optimization for multi-label classification. Knowl.-Based Syst. 2023, 278, 110817. [Google Scholar] [CrossRef]
  40. Qian, X. Acoustic Detection of Gas-Liquid Mixing Pipeline and Research on Safety Operation. Master’s Thesis, China University of Petroleum (East China), Qingdao, China, 2010. (In Chinese). [Google Scholar]
Figure 1. Stress–strain curve of X100 pipeline steel.
Figure 1. Stress–strain curve of X100 pipeline steel.
Electronics 12 03707 g001
Figure 2. Calculation model of pipeline stress corrosion.
Figure 2. Calculation model of pipeline stress corrosion.
Electronics 12 03707 g002
Figure 3. Corrosion potential change with von Mises stress of X100 pipeline steel.
Figure 3. Corrosion potential change with von Mises stress of X100 pipeline steel.
Electronics 12 03707 g003
Figure 4. Variation of defect dimension with corrosion time.
Figure 4. Variation of defect dimension with corrosion time.
Electronics 12 03707 g004
Figure 5. Refraction of magnetic induction line.
Figure 5. Refraction of magnetic induction line.
Electronics 12 03707 g005
Figure 6. Principle of magnetic flux leakage testing.
Figure 6. Principle of magnetic flux leakage testing.
Electronics 12 03707 g006
Figure 7. Calculation model of magnetic flux leakage testing.
Figure 7. Calculation model of magnetic flux leakage testing.
Electronics 12 03707 g007
Figure 8. B-H curve of X100 pipeline steel.
Figure 8. B-H curve of X100 pipeline steel.
Electronics 12 03707 g008
Figure 9. Distribution of magnetic flux leakage signal under different parameter conditions. (a) Axial component of current value signal with 500 turns. (b) Radial component of current value signal with 500 turns. (c) Axial component of coils’ number signal with 5A current. (d) Radial component of coils’ number signal with 5A current.
Figure 9. Distribution of magnetic flux leakage signal under different parameter conditions. (a) Axial component of current value signal with 500 turns. (b) Radial component of current value signal with 500 turns. (c) Axial component of coils’ number signal with 5A current. (d) Radial component of coils’ number signal with 5A current.
Electronics 12 03707 g009aElectronics 12 03707 g009b
Figure 10. Distribution of magnetic flux leakage signal under different geometric characteristics. (a) Axial component of defect depth signal. (b) Radial component of defect depth signal. (c) Axial component of defect length signal. (d) Radial component of defect length signal. (e) Axial component of lifting height signal. (f) Radial component of lifting height signal.
Figure 10. Distribution of magnetic flux leakage signal under different geometric characteristics. (a) Axial component of defect depth signal. (b) Radial component of defect depth signal. (c) Axial component of defect length signal. (d) Radial component of defect length signal. (e) Axial component of lifting height signal. (f) Radial component of lifting height signal.
Electronics 12 03707 g010
Figure 11. Feature of the curve. (a) Axial component. (b) Radial component.
Figure 11. Feature of the curve. (a) Axial component. (b) Radial component.
Electronics 12 03707 g011
Figure 12. ELM network structure.
Figure 12. ELM network structure.
Electronics 12 03707 g012
Figure 13. GA-KELM perform workflow.
Figure 13. GA-KELM perform workflow.
Electronics 12 03707 g013
Figure 14. Comparison of prediction results. (a) Schematic diagram of defect depth. (b) Schematic diagram of defect length.
Figure 14. Comparison of prediction results. (a) Schematic diagram of defect depth. (b) Schematic diagram of defect length.
Electronics 12 03707 g014
Table 1. Comparison of experimental data and simulation results.
Table 1. Comparison of experimental data and simulation results.
Von Mises Stress (MPa)Corrosion Potential in Literature (V)Corrosion Potential of Simulation (V)Error (%)
6.116−0.72154−0.721950.057
25.446−0.72156−0.721930.051
51.218−0.72163−0.721970.048
82.364−0.72163−0.721990.050
121.024−0.72167−0.722010.046
159.681−0.72178−0.722030.035
199.409−0.72195−0.722060.015
243.432−0.72213−0.722090.004
289.603−0.72230−0.722130.023
334.701−0.72245−0.722180.037
381.947−0.72260−0.722240.050
427.047−0.72273−0.722300.059
474.295−0.72286−0.722370.067
522.613−0.723050.722450.083
570.937−0.72314−0.722550.081
622.480−0.72327−0.722680.082
672.950−0.723400.722830.079
721.271−0.72353−0.722980.076
768.518−0.72368−0.723180.069
808.242−0.72389−0.723610.039
820.036−0.72424−0.725260.141
827.514−0.72490−0.726400.207
831.748−0.72593−0.726810.121
835.988−0.72687−0.727240.051
838.093−0.72758−0.727450.017
843.433−0.72809−0.727900.026
846.623−0.72863−0.728240.053
849.819−0.72905−0.728620.059
851.948−0.72938−0.728990.052
854.070−0.72980−0.729430.051
856.197−0.73015−0.730290.020
Table 2. Change of defect dimension with corrosion time.
Table 2. Change of defect dimension with corrosion time.
Corrosion Time (Years)Defect Depth (mm)Defect Length (mm)
311.981200.569
612.507201.243
913.041202.017
1213.580202.888
1514.122203.857
1814.662204.925
2115.199206.104
2415.733207.419
2716.266208.909
3016.798210.649
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, Y.; Sun, C.; Liu, Y. Magnetic Flux Leakage Testing Method for Pipelines with Stress Corrosion Defects Based on Improved Kernel Extreme Learning Machine. Electronics 2023, 12, 3707. https://doi.org/10.3390/electronics12173707

AMA Style

Li Y, Sun C, Liu Y. Magnetic Flux Leakage Testing Method for Pipelines with Stress Corrosion Defects Based on Improved Kernel Extreme Learning Machine. Electronics. 2023; 12(17):3707. https://doi.org/10.3390/electronics12173707

Chicago/Turabian Style

Li, Yingqi, Chao Sun, and Yuechan Liu. 2023. "Magnetic Flux Leakage Testing Method for Pipelines with Stress Corrosion Defects Based on Improved Kernel Extreme Learning Machine" Electronics 12, no. 17: 3707. https://doi.org/10.3390/electronics12173707

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