1 Introduction

Magnetic flux leakage (MFL) is commonly used as a qualitative inspection method. Modern MFL tools are suitable for fast detection and classification of magnetic anomalies. Some of these anomalies are indicators of macroscopic defects, such as corrosion pits, dents, cracks etc. Estimation of their dimensions is a non-trivial issue while considering number of factors that influence the magnitude of an MFL signal. Further development of MFL requires efforts to minimize influence of various factors on the MFL signal. One of the factors that strongly affects the MFL signal is velocity of an MFL tool, which is of special interest in high speed rail inspection [1] and pipeline pigging [2]. In the latter case velocity of the tool can exceed 10 m/s [3,4,5], while velocity ranges of 0.5–4 m/s are recommended for mapping corrosion in pipelines. But even for so relatively low values of the velocity, its impact on the MFL signal cannot be neglected. According to Faraday’s law of induction, the electromotive force generates eddy currents within conductive material if its velocity is non-parallel to the direction of a static magnetic field:

$$ \overrightarrow {{J_{e} }} = \sigma \vec{v} \times \vec{B} $$
(1)

where Je—eddy current density, σ—electrical conductivity, v—velocity, B—magnetic flux density.

Equation (1) indicates that eddy current density reaches the maximum when B is perpendicular to v. In the case of a yoke magnetizer travelling above a surface of a steel object, eddy current is generated mainly under the magnetizer poles. Eddy current generated below the poles reduces the magnetic flux density in the steel object in accordance to Lenz’s law [3, 4]. Furthermore, initially symmetric distribution of B inside the object becomes asymmetric as the velocity rises [3, 6]. The area of the highest magnetization migrates towards the back positioned pole of the magnetizer [4]. Some of components of the MFL signal are also modified due to the velocity. Baselines of this components as well as amplitudes of detected anomalies are in general nonlinearly dependent on the velocity [1, 7, 8]. The anomalies of the MFL signal carry information about shapes of defects e.g. metal losses. However, as reported in [4, 5, 9, 10], a profile of the signal anomaly becomes more distorted (usually more asymmetric) as the velocity increases. All these effects hinder evaluation of defect dimensions and its shape as well. One can define two different approaches to solve this problem. First approach involves optimization of an MFL tool in order to minimize the velocity influence on the MFL signal [11]. Second approach is based on post-processing and transformation of the signal to its stationary form.

Only few studies among those devoted to the issue of velocity-induced eddy current include a proposition of restoration of the MFL signal to its stationary form [5, 12,13,14]. In his thesis [12] Mandayam presented a method of MFL signal processing that lead to a velocity invariant MFL signal. He listed two classes of compensation schemes. A scheme of first class requires the velocity value as input data to perform the compensation of the signal. A scheme of second class does not require such data and this kind of the scheme was used by Mandayam to obtain the velocity invariant MFL signal. In this case, an unsupervised learning algorithm was used to determine coefficients of the restoration filter. Lei et al. [13] used a learning algorithm, which was based on radial basis function neural network, to compensate velocity effect on the MFL signal. Accuracy of those and similar compensation schemes depends on quantity and quality of input training data. Computer simulations can provide large amount of training data. Experiments are more time-consuming and expensive in this case but a compensation scheme based on experimental data is usually more robust than simulation-based one. In comparison to aforementioned compensation schemes one proposed by Park and Park [5] is much simpler. For a particular class of MFL signal anomalies they performed an analysis of various anomaly parameters such as a peak-to-peak value of an anomaly as a function of the velocity. So obtained relations were used to restore the stationary form of the MFL signal. Drawback of this approach is limited application of so formulated compensation scheme to the specific class of MFL signal anomalies.

Most studies presented in literature of the subject include a small number of experimental results. Therefore, in this study MFL signal dependence on the velocity was investigated using experimental data. A range of the velocity was selected so as to fill the data gap existing for relatively low velocities, i.e. up to 2 m/s. Presented study was focused on signal baseline dependence on the velocity of the MFL tool.

2 Experimental Setup

The MFL tool used in the experiment is presented in Fig. 1. It comprised three magnetizers with two wheels each, a digital encoder, and a measurement module. A single magnetizer consisted of two neodymium magnets connected together using a steel beam. The digital encoder enabled to determine displacement of the MFL tool, as well as its velocity.

Fig. 1
figure 1

The MFL tool used in the experiment

The measurement module, as presented in Fig. 2, comprised of ten channels for each signal component. Each channel is responsible for scanning adjacent measurement lines parallel to x axis. Therefore, the measurement module in general enables to obtain a 2D distribution of the MFL. For the sake of simplicity in this work only results from the channel 5 (according to Fig. 2 the fifth one from the front) were presented.

Fig. 2
figure 2

The measurement module. Three sensors arranged side by side were used to measure three kinds of a signal: Bx, Bz1, (Bz1Bz2)

The location of the measurement module is schematically depicted in Fig. 3. Linear Hall effect sensors A1324 were used to measure magnetic flux leakage. Three voltage signals were measured: Bx sensor output, Bz1 sensor output, and difference of Bz1 and Bz2 outputs. An output of a Bx sensor was directly proportional to the tangential (horizontal) component of MFL while an output of a Bz1 sensor was directly proportional to the normal (vertical) component of MFL (hereafter referred to as Bz). A differential signal (Bz1Bz2), that was proportional to slope of Bz distribution measured along the x direction, is hereafter referred to as the gradient, ∂Bz/∂x.

Fig. 3
figure 3

A schematic of the MFL tool with the indicated location of the sensors

The MFL tool was used to scan a test plate made of S355 steel grade. Four artificial defects were milled on one of plate surfaces. The defects had the form of slots of different depth. Dimensions of the plate and the defects are presented in Fig. 4.

Fig. 4
figure 4

Dimensions of the test plate and manufactured artificial defects

The MFL tool was moved with the use of manual drive. Its displacement was parallel to a plate symmetry plane that is coplanar with the section A. Although signals coming from ten channels were recorded, only those from the channel nearest to the plate center are presented in this study.

3 Results and Discussion

3.1 Experimental Results

A series of measurements was performed for the steel plate with the rectangular slots. The velocity of the MFL tool was not constant during measurements as in the case of an inline pipeline inspection. Figure 5 shows a comparison of MFL signals obtained for a measurement made with a low velocity (below 0.3 m/s) and a measurement made with the target velocity of 1.5 m/s. As it can be seen in Fig. 5, each component of the measured signal has a different vulnerability to the velocity variation. Locations of four rectangular defects can be indicated on the basis of four signal anomalies. As the depth is the only geometric variable, it can be stated that peak-to-peak values of the anomalies increase with the increasing depth of a defect.

Fig. 5
figure 5

Comparison of the MFL signal components measured in a quasi-static manner and with the target velocity of 1.5 m/s

From the starting point (x = 0) the velocity was increased up to a predetermined value. For the measurement, which results are presented in Fig. 5, this value was approximately equal to 1.5 m/s. All measurements were characterized by a non-monotonic change of the velocity. Therefore, the influence of the variable velocity on the measured MFL signal was investigated. Figure 6 shows the variation of the velocity of the MFL tool during one of the measurements made for the investigated steel plate and the corresponding profile of Bz component. This component is the most vulnerable to velocity changes. It is demonstrated by the change of the Bz baseline which is qualitatively similar to the velocity profile. Therefore, the quantitative analysis of an anomaly distorted due to velocity changes is burdened with the velocity-related uncertainty.

Fig. 6
figure 6

Comparison of the MFL signal (Bz component) and the velocity of the MFL tool during the measurement

3.2 Compensation of the MFL Signal

Dependencies of baselines of each signal component on the velocity were investigated. Three reference points located on the measuring path were selected as follows: x1 = 200 mm, x2 = 400 mm, x3 = 600 mm. To minimize the impact of anomalies, locations of the reference points were selected as far as possible from the defects, i.e. at the midpoints of three virtual segments which connect neighboring defects. At these points, values of three signal components were extracted from the results of eight measurements performed with different target velocities. As a result, 24 values for each signal component was presented in Fig. 7 as a function of the velocity. Based on the results showed in Fig. 7 one can confirm that the velocity impact is the highest for the normal component, Bz. The relation between Bz and the velocity value, v, can be approximated with the use of a linear function. Application of the least-square regression leads to the following formula: MFL_Bz(v) = 0.446v + 2.494. The goodness of fit was evaluated by calculating the Chi squared value χ2 = 0.0078 and the corresponding coefficient of determination R2 = 0.994, which means very good fit.

Fig. 7
figure 7

Values of the MFL components as functions of the velocity for three reference points

The tangential component, Bx, is less dependent on the velocity compared with Bz. Moreover, although Bx also increases with the velocity, it does not manifest linear dependence. The gradient, ∂Bz/∂x, is the least dependent on the velocity. The relation between ∂Bz/∂x and the velocity is non-monotonic and characterized by weak fluctuations. The most probable reason of these fluctuations is variable acceleration of the MFL tool. Bz is an implicit function of time, Bz(x(t), v(t)). As Bz is approximately proportional to the velocity, v(t), it can be deduced that its partial derivative is proportional to acceleration of the MFL tool, dv(t)/dt.

The profile of Bz obtained for the fast measurement (characterized by the velocity profile presented in Fig. 5) was compensated using the formula: MFL_Bz(x,v = 0) = MFL_Bz(x,v) − 0.446v. The result of this compensation is presented in Fig. 8. The profile of Bz obtained for a slower measurement (approximately 0.4 m/s) is also presented in Fig. 8 for comparison. As the velocity decreases, the baseline of MFL_Bz tends to the level of 2.5 V, which corresponds to the static value of the MFL_Bz measured by the MFL tool in a non-defected region of the steel plate.

Fig. 8
figure 8

Primary form of the Bz profile for fast measurement and its compensated version. Results of a relatively slow measurement are also presented for comparison

3.3 Numerical Analysis

Simulations using the finite element method (FEM) were performed to study physical foundations of the observed MFL signal dependence on the velocity. Software named Faraday from Integrated Engineering Software was used to perform the simulations. Geometry used for the simulations is depicted in Fig. 9. Three magnetic yokes above the surface of the steel plate were modelled. Geometry of the static model had two symmetry planes, xz and yz. However, when the velocity in x direction was non-zero, the yz plane could not be treated as a symmetry plane. The magnetic insulation boundary condition was assigned to the xz plane, which is a mirror symmetry plane for the magnetic field. This means that the magnetic field is zero in the normal direction to the boundary, whereas excitation currents (for modelling permanent magnets) are antisymmetric with respect to the boundary. There are four unique domains in the model that are numbered in Fig. 9. First domain represents a piece of the steel plate. Its width (y dimension) is equal to the width of the real steel plate and its length was shortened so as not to affect the magnetic circuit significantly. Presence of 20% metal loss on the top surface of the plate was considered. Second domain comprises a neodymium permanent magnet. Third domain represents a C-shaped steel protection of the magnet. Fourth domain comprises a magnetic bridge connecting two magnets and thus closing the magnetic circuit.

Fig. 9
figure 9

Geometry used in the numerical study. Four numbered domains represent following components of the geometry: (1) steel plate, (2) permanent magnet, (3) protection of the magnet, (4) magnetic bridge

Materials assigned to the domains presented in Fig. 9 had nonlinear magnetic properties. Initial magnetization curves, presented in Fig. 10, were measured experimentally for materials of domains 1, 3 and 4. B(H) curve of the plate material is depicted in Fig. 10a. As the domains 3 and 4 were made of the same material, they had the common B(H) curve presented in Fig. 10b. Nonlinear magnetic properties were included in the model by implementing B(H) curves in the table form into a material library of Faraday. Neodymium N45H magnet was assigned as the material of the second type of domain (Hc = − 1027 kA/m, Br = 1.35 T). Domains made of magnetic materials were surrounded by the FEM rectangular box (air domain invisible in Fig. 9). Dimensions of the FEM box were 1.5 times longer than maximum dimensions of created geometry. On external surfaces of the FEM box, excluding xz plane, the Dirichlet boundary condition was defined (vector magnetic potential A = 0).

Fig. 10
figure 10

Initial magnetization curves of: a steel plate, b protection of the magnet and magnetic bridge

Due to material nonlinearity, the problem was solved with the use of GMRES (Generalized Minimal Residual method) algorithm. The criteria of convergence was achieved when the residual was less than ε = 0.01.

Relative velocity of the plate with reference to the magnetizer was set as v = − 1i [m/s]. As the material of the plate was assumed to be electrically conductive, eddy currents were created within the volume of the plate. Figure 11 shows a contour plot of surface current density in xz plane. One can indicate three regions of eddy current generation: two below poles of the magnetizer and one in the vicinity of the metal loss. Eddy currents generated below the poles lead to a change of plate magnetization as well as to a change of magnetic field distribution above the top surface of the plate. In particular it results in a shift of measured components of magnetic field. Currents generated in the vicinity of the metal loss have the significant impact on the anomaly of MFL distribution. However, this impact was not considered in the presented study.

Fig. 11
figure 11

Density of surface current induced due to motion of the magnetizer

Figure 12 shows evolution of Bz distribution in the region between the plate and the magnetizer when the velocity is increased from 0.01 (top panel) to 1 m/s (bottom panel). Presented results refer to the plate without the metal loss. Initially symmetric distribution of Bz becomes asymmetric when the velocity impact is non-negligible. It results in a change of a measured value of Bz for a fixed location of a magnetic sensor. The sign of this change can be either negative or positive depending on the mutual orientation of the plate magnetization direction and the velocity. Therefore, one can state that eddy currents generated under the poles of the magnetizer were responsible for the experimentally observed shift of Bx and Bz baselines.

Fig. 12
figure 12

Distribution of Bz between the plate and the magnetizer for different velocities. Results presented on the top and bottom panel refer to 0.01 and 1 m/s respectively

4 Conclusions

As shown, MFL signal distortions resulting from variable velocity of the magnetizer can be reduced using a relatively simple compensation scheme. At first, relations between measured components of the signal and the velocity were determined for this purpose. These relations are specific and dependent on many factors such as:

  • Geometry and materials of an MFL tool,

  • Position of sensors,

  • Properties of a ferromagnetic object under investigation.

The component normal to the top surface of the steel plate, Bz, was recognized as the most sensitive to velocity changes in time. Proposed compensation scheme takes into account only the impact of eddy currents induced under the poles of the magnetizer. Reduction of the impact of eddy currents induced in the vicinity of a metal loss will be the subject of future research. Nonetheless, the results obtained with the use of the simplified compensation scheme suggest the possibility of reducing MFL signal distortions, when the velocity of the MFL tool is variable. Strong enough distortions of the MFL signal can be wrongly classified as fingerprints of defects. Proposed compensation scheme reduces probability of this kind of false positive indications. In the presented study, measured MFL signal were post-processed, but one can imagine that the compensation scheme could work online as well. Online compensation requires a sensor with offset terminals to stabilize the operating point of the sensor. Proportional to the velocity, properly scaled, and inversed voltage feeds the offset input. Such a kind of online compensation can protect the sensor against its saturation. Future work will be focused on implementation of abovementioned solutions to the MFL measuring system.