This application claims priority to and benefits of Chinese Patent Application Serial No. 201710174666.2, filed with the State Intellectual Property Office of P. R. China on Mar. 22, 2017, the entire content of which is incorporated herein by reference.
The present disclosure relates to the field of non-destructive detection, and more particularly to a method for reconstructing a defect.
Magnetic flux leakage detection is a common non-destructive detection technology and is widely used in the safety detection and defect evaluation of an article including ferromagnetic materials, such as a tank floor, an oil-gas pipeline and a steel wire rope. Reconstructing a size of a defect by the detected magnetic flux leakage signal is an important part of the magnetic flux leakage detection technology. However, due to complex non-linear relationship between the size of the defect and the magnetic flux leakage signal, reconstruction of the defect has become a difficult and hot issue in the current research of the magnetic flux leakage detection technology. The existing method for reconstructing the defect has a low reconstruction precision, a complex calculation model or needs long calculation time, thus resulting in an inefficient reconstruction.
In the related art, for example, in a method for quantifying corrosion defects by magnetic flux leakage detection, although the size of the defect may be directly reconstructed by using a quantification formula, the constructed formula model is too simple to reflect the complex non-linear relationship between the size of the defect and the signal, thus resulting in a low reconstruction precision. For another example, in a method for quantifying and displaying a defect by the magnetic flux leakage detection with incomplete signals, although a fast inversion for the size of the defect may be realized by training a neural network, the model relies on empirical data and has a weak generalization ability and a low reconstruction precision. For yet another example, in a method and device for reconstructing a defect by a three-dimensional magnetic flux leakage detection, although a forward model may be constructed by a finite element method and defect contour reconstruction may be achieved through a iteration, a finite element calculation is required in each iteration, leaving a long calculation time and a low efficiency.
The present disclosure seeks to solve at least one of the problems that exist in the related art to at least some extent.
For this, according to a first aspect of the present disclosure, a method for reconstructing a defect is provided, the method includes:
S1, establishing a database of magnetic flux leakage signals of a unit defect and acquiring a magnetic flux leakage signal H(a
S2, acquiring as a target magnetic flux leakage signal Htar(x,y,z0) a magnetic flux leakage signal of a defect to be detected of an article;
S3, initially setting a scaling factor k.
S4, constructing a forward model:
S5, inputting the scaling factor k into the forward model and performing a forward prediction according to the scaling factor k to acquire a predicted magnetic flux leakage signal H(ka
S6, calculating an error E between the target magnetic flux leakage signal Htar(x,y,z0) and the predicted magnetic flux leakage signal H(ka
S7, scaling the unit defect according to the scaling factor k to acquire a final size of the defect to be detected.
In an embodiment of the present disclosure, the unit defect is a rectangular defect with a length of a0 in a magnetization direction, a width of b0 in a width direction of the unit defect, and a depth of c0 in a thickness direction of the article, where a0, b0, and c0 are known.
In an embodiment of the present disclosure, the unit defect includes a pinhole unit defect (0<a0<t, 0<b0<t), a pit unit defect (t≤a0<3t, t≤b0<3t), a tangential recess unit defect (0<a0<t, b0≥t), a tangential groove unit defect (t≤a0<3t, b0≥3t), a horizontal recess unit defect (a0≥t, 0<b0<t), a horizontal groove unit defect (a0≥3t, t≤b0<3t) and a common unit defect (a0≥3t, b0≥3t), where t is a thickness of the article.
In an embodiment of the present disclosure, the magnetic flux leakage signal H(a
In an embodiment of the present disclosure, the magnetic flux leakage signal H(a
In an embodiment of the present disclosure, 0.5≤k≤5.
In an embodiment of the present disclosure, constructing the forward model includes:
a. performing a scaling transformation on a detection plane for the magnetic flux leakage signal H(a
b. performing a lift-off value correction on the interpolated magnetic flux leakage signal H(ka
where α and β are Fourier variables in an x direction and a y direction, respectively.
In an embodiment of the present disclosure, the error E between the target magnetic flux leakage signal Htar(x,y,z0) and the predicted magnetic flux leakage signal H(ka
where the error threshold e is a preset value, and 0<ε<<1.
In an embodiment of the present disclosure, scaling the unit defect according to the scaling factor k further includes:
scaling a length a0, a width b0 and a depth c0 of the unit defect k times according to the scaling factor k to acquire a length ka0, a width kb0 and a depth kc0 of the defect to be detected.
In an embodiment of the present disclosure, the article includes a ferromagnetic material.
According to a second aspect of the present disclosure, a device for reconstructing a defect is provided. The device includes a processor, and a memory for storing instructions executable by the processor, in which the processor is configured to perform the method for reconstructing a defect according to the first aspect of the present disclosure.
According to a third aspect of the present disclosure, a non-transitory computer-readable storage medium is provided having stored therein instructions that, when executed by a processor of a mobile terminal, causes the mobile terminal to perform a method for reconstructing a defect according to the first aspect of the present disclosure.
Additional aspects and advantages of embodiments of the present disclosure will be given in part in the following descriptions, become apparent in part from the following descriptions, or be learned from the practice of the embodiments of the present disclosure.
These and other aspects and advantages of embodiments of the present disclosure will become apparent and more readily appreciated from the following descriptions made with reference to the drawings as described below.
Reference will be made in detail to embodiments of the present disclosure. The embodiments described herein with reference to drawings are explanatory, illustrative, and used to generally understand the present disclosure. The embodiments shall not be construed to limit the present disclosure. The same or similar elements and the elements having same or similar functions are denoted by like reference numerals throughout the descriptions.
In the specification, it is to be understood that terms such as “central,” “longitudinal,” “lateral,” “length,” “width,” “thickness,” “upper,” “lower,” “front,” “rear,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” “outer,” “clockwise,” and “counterclockwise” should be construed to refer to the orientation as then described or as shown in the drawings under discussion. These relative terms are for convenience of description and do not require that the present disclosure be constructed or operated in a particular orientation. In addition, terms such as “first” and “second” are used herein for purposes of description and are not intended to indicate or imply relative importance or significance or to imply the number of indicated technical features.
In the present disclosure, unless specified or limited otherwise, the terms “mounted,” “connected,” “coupled,” “fixed” and the like are used broadly, and may be, for example, fixed connections, detachable connections, or integral connections; may also be mechanical or electrical connections; may also be direct connections or indirect connections via intervening structures; may also be inner communications of two elements, which can be understood by those skilled in the art according to specific situations.
In the following, a method for reconstructing a defect according to an embodiment of the present disclosure is described with reference to the accompanying drawings.
At S1, a database of magnetic flux leakage signals of a unit defect is established and a magnetic flux leakage signal H(a
In an embodiment of the present disclosure, the unit defect is a rectangular defect with a length of a0 in a magnetization direction, a width of b0 in a width direction of the unit defect, and a depth of c0 in a thickness direction of an article, where a0, b0, and c0 are known.
Based on this, as shown in
In an embodiment of the present disclosure, the magnetic flux leakage signal H(a
At S2, a magnetic flux leakage signal of a defect to be detected of an article is acquired as a target magnetic flux leakage signal Htar(x,y,z0).
In an embodiment of the present disclosure, the magnetic flux leakage signal H(a
At S3, a scaling factor k is initially set.
Specifically, the scaling factor k is a variable having a certain range. In an embodiment of the present disclosure, for example, 0.5≤k≤5.
At S4, a forward model is constructed. Input of the forward model is the scaling factor k, and output of the forward model is a predicted magnetic flux leakage signal, which is such a signal that is scaled according to scaling factor k.
Specifically, constructing the forward model in S4 includes:
a. performing a scaling transformation on a detection plane for the magnetic flux leakage signal H(a
b. performing a lift-off value correction on the interpolated magnetic flux leakage signal H(ka
where α and β are Fourier variables in an x direction and a y direction, respectively.
At S5, the scaling factor k is input into the forward model and a forward prediction is performed according to the scaling factor k to acquire a predicted magnetic flux leakage signal H(ka
At S6, an error E between the target magnetic flux leakage signal Htar(x,y,z0) and the predicted magnetic flux leakage signal H(ka
In an embodiment of the present disclosure, the error E between the target magnetic flux leakage signal Htar(x,y,z0) and the predicted magnetic flux leakage signal H(ka
where the error threshold e is a preset value, and 0<ε<<1.
At S7, the unit defect is scaled according to the scaling factor k to acquire a final size of the defect to be detected.
Specifically, scaling the unit defect according to the scaling factor k in S7 further includes: scaling a length a0, a width b0 and a depth c0 of the unit defect k times according to the scaling factor k to acquire a length ka0, a width kb0 and a depth kc0 of the defect to be detected.
In an embodiment of the present disclosure, the article includes a ferromagnetic material.
To sum up, with the method for reconstructing a defect according to embodiments of the present disclosure, the forward model is constructed as a prediction model of the magnetic flux leakage signal and is applied in an iterative loop, the scaling factor is continuously corrected until the error between the target magnetic flux leakage signal and the predicted magnetic flux leakage signal is less than the error threshold, and finally the size of the defect to be detected is acquired.
Therefore, the defect may be effectively inversed by the method according to embodiments of the present disclosure with a reduced calculation time and an improved solving precision, and the method according to embodiment of the present disclosure has a wide application prospect.
In order to facilitate a better understanding of the present disclosure, the method for reconstructing a defect according to embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and specific examples.
In this example, the method for reconstructing a defect includes the following steps.
At S1, a database of magnetic flux leakage signals of a unit defect is established and a magnetic flux leakage signal H(a
At S2, a magnetic flux leakage signal of a defect to be detected of an article including for example a ferromagnetic material is acquired as a target magnetic flux leakage signal Htar(x,y,z0). The defect to be detected is a defect artificially excavated in the test pipeline, and has a length a of 28.6 mm, a width b of 28.6 mm, a depth c of 5.8 mm. The magnetic flux leakage signal of the defect to be detected is acquired by performing the magnetic flux leakage detection test. The magnetic flux leakage signal H(a
At S3, a scaling factor k is initially set to be 1, and 0.5≤k≤5.
At S4, a forward model is constructed. Input of the forward model is the scaling factor k, and output of the forward model is a predicted magnetic flux leakage signal, which is such a signal that is scaled according to scaling factor k. Specifically, constructing the forward model includes:
a. performing a scaling transformation on a detection plane for the magnetic flux leakage signal H(a
b. performing a lift-off value correction on the interpolated magnetic flux leakage signal H(ka
where α and β are Fourier variables in an x direction and a y direction, respectively.
At S5, the scaling factor k is input into the forward model and a forward prediction is performed according to the scaling factor k to acquire a predicted magnetic flux leakage signal H(ka
At S6, an error E between the target magnetic flux leakage signal Htar(x,y,z0) and the predicted magnetic flux leakage signal H(ka
and whether the error E is smaller than an error threshold ε is determined, if yes, the S7 below is executed; otherwise, the S5 above is executed after the scaling factor k is corrected.
At S7, the unit defect is scaled according to the scaling factor k, and the length a0 of 14.3 mm, the width b0 of 14.3 mm and the depth c0 of 2.9 mm of the unit defect are scaled k times according to the scaling factor k to acquire a length ka0, a width kb0 and a depth kc0 of the defect, therefore acquiring a final size of the defect to be detected.
In this example, the scaling factor k final acquired is 1.907, and an average relative error MRE is 4.88%, that is, the final reconstructed defect has a length a of 22.9 mm, a width b of 22.9 mm, and a depth c of 2.29 mm.
In this example, the method for reconstructing a defect includes the following steps.
At S1, a database of magnetic flux leakage signals of a unit defect is established and a magnetic flux leakage signal H(a
At S2, a magnetic flux leakage signal of a defect to be detected of the article including the ferromagnetic material is acquired as a target magnetic flux leakage signal Htar(x,y,z0), and the defect to be detected has a length a of 24 mm, a width b of 12 mm, and a depth c of 2.4 mm. The magnetic flux leakage signal of the defect to be detected is acquired by performing a simulation test with a constructed finite element simulation module. The magnetic flux leakage signal H(a
At S3, a scaling factor k is initially set to be 1, and 0.5≤k≤5.
At S4, a forward model is constructed. Input of the forward model is the scaling factor k, and output of the forward model is a predicted magnetic flux leakage signal, which is such a signal that is scaled according to scaling factor k. Specifically, constructing the forward model includes:
S4.1. performing a scaling transformation on a detection plane for the magnetic flux leakage signal H(a
S4.2. performing a lift-off value correction on the interpolated magnetic flux leakage signal H(ka
where α and β are Fourier variables in an x direction and a y direction, respectively.
At S5, the scaling factor k is input into the forward model and a forward prediction is performed according to the scaling factor k to acquire a predicted magnetic flux leakage signal H(ka
At S6, an error E between the target magnetic flux leakage signal Htar(x,y,z0) and the predicted magnetic flux leakage signal H(ka
and whether the error E is smaller than an error threshold ε is determined, if yes, the S7 below is executed; otherwise, the S5 above is executed after the scaling factor k is corrected.
At S7, the unit defect is scaled according to the scaling factor k, and the length a0 of 12 mm, the width b0 of 6 mm and the depth c0 of 1.2 mm of the unit defect are scaled k times according to the scaling factor k to acquire a length ka0, a width kb0 and a depth kc0 of the defect, therefore acquiring a final size of the defect to be detected.
In this example, the scaling factor k final acquired is 1.968, and an average relative error MRE is 1.63%, that is, the final reconstructed defect has a length a of 23.6 mm, a width b of 11.8 mm, and a depth c of 2.36 mm.
In an embodiment of the present disclosure, a device for reconstructing a defect is provided. The device includes a processor, and a memory for storing instructions executable by the processor, in which the processor is configured to perform the method for reconstructing a defect as described hereinbefore.
In an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided having stored therein instructions that, when executed by a processor of a mobile terminal, causes the mobile terminal to perform the method for reconstructing a defect as described hereinbefore.
Reference throughout this specification to “an embodiment,” “some embodiments,” “one embodiment”, “another example,” “an example,” “a specific example,” or “some examples,” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Thus, the appearances of the phrases such as “in some embodiments,” “in one embodiment”, “in an embodiment”, “in another example,” “in an example,” “in a specific example,” or “in some examples,” in various places throughout this specification are not necessarily referring to the same embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that the above embodiments cannot be construed to limit the present disclosure, and changes, alternatives, and modifications can be made in the embodiments without departing from spirit, principles and scope of the present disclosure. The scope of the present disclosure is defined by the claims and the like.
Number | Date | Country | Kind |
---|---|---|---|
201710174666.2 | Mar 2017 | CN | national |