Open Access
This article is

- freely available
- re-usable

*Sensors*
**2016**,
*16*(9),
1366;
https://doi.org/10.3390/s16091366

Article

Quantitative Inspection of Remanence of Broken Wire Rope Based on Compressed Sensing

^{1}

College of Electrical Engineering, Henan University of Science and Technology, Luoyang 471023, China

^{2}

Power Electronics Device and System Engineering Laboratory of Henan, Henan University of Science and Technology, Luoyang 471023, China

^{*}

Author to whom correspondence should be addressed.

Academic Editors:
Subhas Mukhopadhyay
and
Chinthaka Pasan Gooneratne

Received: 4 July 2016 / Accepted: 22 August 2016 / Published: 25 August 2016

## Abstract

**:**

Most traditional strong magnetic inspection equipment has disadvantages such as big excitation devices, high weight, low detection precision, and inconvenient operation. This paper presents the design of a giant magneto-resistance (GMR) sensor array collection system. The remanence signal is collected to acquire two-dimensional magnetic flux leakage (MFL) data on the surface of wire ropes. Through the use of compressed sensing wavelet filtering (CSWF), the image expression of wire ropes MFL on the surface was obtained. Then this was taken as the input of the designed back propagation (BP) neural network to extract three kinds of MFL image geometry features and seven invariant moments of defect images. Good results were obtained. The experimental results show that nondestructive inspection through the use of remanence has higher accuracy and reliability compared with traditional inspection devices, along with smaller volume, lighter weight and higher precision.

Keywords:

wire rope; remanence inspection; compressed sensing; wavelet filter; quantitative recognition## 1. Introduction

Wire ropes are widely used in industrial production, tourist cable cars, bridges, metallurgy, mining, and informal elevators. Therefore, it is important to ensure the safety of the wire ropes being used. The study of the residual strength of wire ropes is significant for developing advanced instruments that can quantitatively detect wire-rope defects [1]. Currently, the stable and safe working performance of wire ropes is of interest to more and more scholars who are interested in checking the remaining longevity of wire ropes by using online inspection devices.

Jomdecha [2] improved on equipment that was magnetized by electric current. The equipment was designed to control the strength of magnetization by adjusting the magnetized power supply or engaged loops. One special type of testing coil was designed to capture the MFL signals. An eddy current testing method [3] that used an alternating current to generate eddy current in the wire rope was proposed. A function model, which explained the relationship among defects, characteristic vectors, sensor parameters and wire ropes was established by relying on the testing data features. Raišutis [4] studied the dispersion curves of ultrasonic guided-wave spread inside wire ropes. On the basis of this research, the best and most promising receiving positions for ultrasonic guided-waves were calculated. In [5] Peng and Wang designed a visual system on the basis of gamma rays. This system focused on thick ropes used in a suspension bridge. Li et al. [6], used X-ray to detect defects in the steel core of transmission belts. They also proposed a modified threshold rules method, which captured the approximate shape of defects in the steel core.

For the detection of wire rope gaps, Wang and Tian [7] applied the analysis method of finite element to the MFL of wire ropes, and proposed an excitation method that adopted magnetic cores into a magnetic column to improve the magnetic leakage strength of gaps. A system of strong magnetic detection was designed using Hall sensors. During detection of the magnetic leakage signals of wire ropes, the air gap affected the testing accuracy, therefore, Wang et al. [8] studied the influence of different lift-off distances and different air gaps on detection accuracy and improved the structural designs of the detector and the exciter. This device inhibited the influence of lift-off variation. Li et al. [9] investigated the excitation model, established a design standard for the magnetizing structure whose theoretical size was solved through numerical solution, and used finite-element analysis to verify the theoretical size so that the final size was adjusted and determined. Some researchers adopt digital-image processing (DIP) for the MFL signals, Cao et al. [10] unrolled the MFL signals to grayscale, applied the DIP to extract the characteristics of the grayscale image, and identified the different defects. Zhang et al. [11] discussed the limits of lift-off with the digital signal processing method and designed a digital band trap to inhibit the strand waves of wire ropes. The sizes of different defects, which were processed and recognized with statistics, were described as binary images. Furthermore, Zhang et al. [12] designed a spatial filter to inhibit the strand texture of defects of grayscale image and extracted textural features of filtered defects. Finally, a BP neural network was designed and used for the quantitative identification of defects. Recently, most nondestructive testing (NDT) devices were designed using a permanent magnet as an excitation component, which excited wire rope to saturation magnetization. The MFL signals were captured by Hall sensors [10,11,12,13].

The most important aspect of a quantitative detection system is noise filtering of MFL signals. To some degree, the selected filtering algorithm would have a major effect on the quantitative inspection results. Taking into account the previously mentioned algorithm, Cao et al. [14] discussed the relationship between the temporal domain and spatial domain of electromagnetic testing signals of wire ropes, proposing a sampling theorem of the space-time signals, and the collection and processing of the space-time signals was described in detail. Tian et al. [15] combined wavelet transform (WT) and morphological transformation, and presented a morphological filtering algorithm used to inhibit the baseline drift of MFL signals. For the quantitative inspection method, Zhang and Xu [16] discussed the wavelet neural network model and weight-learning algorithm.

In this paper, GMR sensors were distributed uniformly on the circumference of the wire rope to capture the three-dimensional radial direction MFL signal of wire ropes’ residual magnetism. Compressed sensing (CS) and wavelet filtering algorithms were used to eliminate noise signals. The defect signal was translated into a two-dimensional image. For the image, the features that served as inputs for damage inspection were extracted. Experimental results show that this method can better distinguish the amount and width of broken wires and depict circumferential distribution of the defects. The device has the advantages of high detection speed, high precision, structural simplicity, as well as being lightweight, small in size, and low cost.

The paper is organized as follows: the remanence detection head device, data acquisition board and MFL imaging approach are introduced in Section 2. Section 3 focuses on noise elimination, which includes reprocessing the MFL signal and using the CSWF algorithm. The filtered MFL signal was grayed into an image that was interpolated circumferentially. Next, positioning detects and dividing negative axle waveform of defects, extracting morphological eigenvalues and invariant moments as identification vector. Section 4 presents a BP neutral network design that uses the extracted vector as inputs. Finally, the quantitative inspection of broken wires was completed. Section 5 includes comments and the discussion of this paper. Section 6 concludes the paper indicating major achievements and future scope of this work.

## 2. Acquiring MFL Signal of Remanence

This wire rope detection device design includes a sensor array, an excitation device and a system control board. The sensor array consisted of 18 GMR sensors, which were distributed on the rope circumferential direction to form a circle, with approximately 20° spacing between two adjacent sensors. The excitation device consists of a permanent magnet, with three small magnets placed end-to-end to form a magnetic stripe. A plurality of magnetic stripes was arranged circumferentially on the surface of the wire rope through two magnetic pole pieces in contact with the wire rope; thus, a magnetic flux loop forms between the wire rope and the excitation device (Figure 1). As shown in Figure 1a, the excitation device was used for totally magnetizing the wire rope, after which GMR sensor arrays were applied to acquire the MFL signal. The structure of the excitation device of the magnet is shown in Figure 1b. Figure 1c shows the control board and the GMR sensor array.

The capabilities of the control board include GMR array management, data acquisition, data storage, and communications. The acquisition system uses pulses, which are provided by a grating encoder, to ensure that the 18 channels acquire the MFL signal one by one. The grating encoder can send out 1024 pulses every 0.35 m, and each pulse transfers to the control board so that data acquisition for all channels would run once. Then the acquired data are stored on the SD card.

The raw data of 18 channels can be converted visually to form an image of the wire rope MFL. The data have equal distance in the axial direction; therefore, the rolling course only needs to unfold the data by circumferential capture order. A matrix of M × N pixels is available, where M is the number of sensors (here, the number is 18) and the N depends on the number of pulses. The unrolling processing is shown in Figure 2a, Figure 2b shows an unrolled matrix with mesh.

## 3. Data Processing

#### 3.1. Signal Pre-Processing

The raw data from the GMR sensors are contaminated by various sources of noise, including high-frequency MFL noise caused by wires, lift-off variations, non-uniformity of magnetization, electronic noise, and the wire rope strands. Figure 4 shows three raw data channels. From the picture, serious channel imbalances can be clearly identified, much of which is caused by lift-off variations and non-uniform extractions, and much high-frequency noise is caused by the spiral structure of the wire ropes. To improve the signal-noise ratio and inhibit noise and channel equalization, the following pre-processing steps were applied to the raw signals.

The average filter is a simple and effective pre-processing method, implemented by meaning the neighboring MFL data [12]. This filter suppresses the influence of high frequency caused by the structure of wires and is implemented with Equation (1):
where N is the amount of sampling, i is the number of channels; j is the current request point; k is the axial position of raw data; n is the number of points used for averaging; and m is the starting point of averaging.

$${\overline{x}}_{i,j}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}\frac{1}{n}{\displaystyle \sum _{k=m}^{m+n}{x}_{i,k}(i\text{\hspace{0.17em}}=\text{\hspace{0.17em}}1,2,\dots 18,m\text{\hspace{0.17em}}=\text{\hspace{0.17em}}1,2,\dots ,N\text{\hspace{0.17em}}-\text{\hspace{0.17em}}n)}$$

Wavelet analysis has the characteristics of multiresolution analysis [17,18]. It can decompose a one-dimensional signal into different frequency sequences, according to the features of the signal, eliminate noisy coefficients and apply the wavelet inverse transform to get a clearer signal. By using wavelet transform on the mean signal, the baseline of the signal is a low-frequency direct current, with few defect elements in the high-frequency coefficient, so every array signal uses eight-wavelet decomposition with Equation (2):
where ${\overline{x}}_{{A}_{j+1}}$ is the j-th lowest frequency coefficient; ${\overline{x}}_{{D}_{j+1}}$ is the j-th highest frequency coefficient; h

$$\{\begin{array}{l}{\overline{x}}_{{A}_{j+1}}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{{\displaystyle \sum {h}_{o}(n\text{\hspace{0.17em}}-\text{\hspace{0.17em}}2k)\overline{x}}}_{{A}_{j}}\\ {\overline{x}}_{{D}_{j+1}}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{{\displaystyle \sum {h}_{l}(n\text{\hspace{0.17em}}-\text{\hspace{0.17em}}2k)\overline{x}}}_{{A}_{j}}\end{array}$$

$${\widehat{x}}_{{A}_{j}}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{\displaystyle \sum {h}_{o}(k\text{\hspace{0.17em}}-\text{\hspace{0.17em}}2n){\overline{x}}_{{A}_{j+1}}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}}{h}_{l}(k\text{\hspace{0.17em}}-\text{\hspace{0.17em}}2n){\overline{x}}_{{D}_{j+1}}$$

_{o}(n) and h_{l}(n) are the decomposing filters ${\overline{h}}_{o}\left(k\right)={h}_{l}\left(-k\right)$; and ${\widehat{x}}_{{A}_{j}}$ is the approximate signal whose baseline and highest noise are eliminated.The available highest coefficients and lowest ones are at zero, and the two sequences of wavelet coefficients have almost no defect components. By applying Equation (3), the MFL signal without a baseline is obtained. Figure 5 shows that the MFL signal had been pre-processed. Comparison of Figure 5 and Figure 2b clearly indicates that the signal-noise ratio improves after the image pre-processing and that the high-frequency noise is inhibited lightly so that the definition of defective region is obvious.

#### 3.2. Denoising Based on CSWF

The pre-processed signal ${\widehat{x}}_{{A}_{j}}$ still contains much irregular strand waves and noise that would have a bad effect on the subsequent feature extraction and recognition processing. Because of the special structure of ropes, impurities on the rope surface, and changes to the internal structure because of twisting and uneven stress, the coercivity of the different parts of the ropes is not similar, and the strand noise does not resemble a periodic signal. Traditional digital filters cannot perform well for inhibiting these noises, but the CSWF [19,20,21] method could overcome this drawback well.

The noisy signal is not sparse in the wavelet domain. According to compressed sensing, a certain measurement matrix exists, in which the linear measurement of the wavelet coefficients is obtained [20,21]. The OMP [22,23,24] algorithm is one method for reconstructing the sparsest wavelet coefficients. The core of the OMP algorithm is that the closest matching column, which has the maximum inner product with measurement residue, is selected by greedy fashion. This column is added to the selected columns, which is then eliminated from the measurement matrix. By applying the least-squares method to all the selected columns, the approximate sparse solution was acquired, and the residue is updated. The selection process was not repeated until the iterations reached the sparsity K. Thus, the clear defect signal could be extracted with suited K.

The CSWF algorithm is as follows:

- (1)
- For the pre-processed signal ${\widehat{x}}_{{A}_{j}}$, the Mallat decomposition algorithm is used and the wavelet coefficients W
_{j}under each scale j are obtained. - (2)
- The appropriate random measurement matrix $\mathsf{\Phi}$ (here is a 350 × 1024 Gaussian matrix), is selected, and the wavelet coefficients of linear measurements y under the measurement matrix $\mathsf{\Phi}:y=\mathsf{\Phi}{W}_{j}$ are calculated.
- (3)
- Through the OMP algorithm, the most-sparse wavelet coefficient ${\widehat{W}}_{j}$ is reconstructed; the algorithm steps are as follows:Step One: residue, ${r}_{t}{|}_{t=0}=y$, and index set, ${A}_{t}=\varphi $ (empty set), are initializedFor iteration, t is 1 to K (K is the sparse degree; here it is 8.)BeginStep Two: the inner product is calculated $\langle {r}_{t}\u25cf\mathsf{\Phi}\rangle $Then, the column of whose inner product is the maximum in $\mathsf{\Phi}$ is obtained: ${\lambda}_{t}=arg\underset{t=1~N}{\mathrm{max}}|\langle {r}_{t-1}\u25cf{\mathsf{\Phi}}_{t}\rangle |$;The subscript ${A}_{t}=\left[{A}_{t-1},{A}_{{\lambda}_{t}}\right]$ is stored, and the most orthogonal column of Φ: ${\mathsf{\Phi}}_{t}={\mathsf{\Phi}}_{t-1}\cup \left\{{\mathsf{\Phi}}_{{\lambda}_{t}}\right\}$, the selected column of $\mathsf{\Phi}$, is set to
**0**;Step Three: The least-squares method is used ${\omega}_{t}=argmin\parallel y-{\mathsf{\Phi}}_{t}{\omega}_{t}{\parallel}_{2}={\left({\mathsf{\Phi}}_{t}^{H}{\mathsf{\Phi}}_{t}\right)}^{-1}{\mathsf{\Phi}}_{t}^{H}y$;Step Four: Approximation ${y}_{t}={\mathsf{\Phi}}_{t}{\omega}_{t}={\mathsf{\Phi}}_{t}{\left({\mathsf{\Phi}}_{t}^{H}{\mathsf{\Phi}}_{t}\right)}^{-1}{\mathsf{\Phi}}_{t}^{H}y$ is updated;The residue, ${r}_{t}=y-{y}_{t}$, is updated;End - (4)
- Using approximate wavelet coefficients ${\widehat{W}}_{j}\left({A}_{j}\right)={\omega}_{t}$ the MFL signals are reestablished.

The CSWF algorithm eliminates the strand wave and noise, and improves the signal-noise ratio. Figure 6 shows the image processed by the CSWF algorithm.

#### 3.3. MFL Image Processing

Because of the 18 GMR sensors around the wire ropes, the captured data have low circumferential resolution, which is far below the axial resolution. Then, the clear signals are interpolated to improve the circumferential resolution. Figure 7 shows the image with the interpolated data.

#### 3.3.1. Defect Image Extraction

Before defect characteristic extraction, the MFL defect photos need to be positioned and segmented. The local modulus maxima algorithm is adopted to locate the defects. From experience, the produced minimum artificial defect is more than 100 mV, so in this paper, 100 mV was set to be a threshold, used for judging whether the part is defective. As shown in Figure 8, various defects can be detected. In the captured image, different broken wires form different defect photos, which show the main power concentrated on broken wires, centered in a cone-like recess, which is also shown in Figure 6. Five different broken wires photos and local MFL images were stretched between 0

**–**255 and, the size of local MFL is 200 × 200 pixels.#### 3.3.2. Defect Characteristic Exactions

By the procedure given, a local MFL image of the localized defects is presented, and the geometric features and moment invariants of the MFL image can be used to identify defects. The geometric features describe the basic shape of object, and the moment invariant is the average description of area gray distribution, which is calculated by all points in the area and is less susceptible to noise. In total, ten characteristics of the MFL image were selected, including the equivalent area, the slenderness ratio, and the circularity and first- to seven-order moment invariants (Φ

_{1}–Φ_{7}).- 1.
- Basic Description of Image Shape

Geometric features were calculated by brief description of features, such as: area (S), perimeter (L), major axis (L

_{1}), and minor axis (L_{2}). All these descriptions are as follows.The area of defect image is:
where R is the set of points in the defect region; S is the amount of high-value in binary image; and I is the binary image.

$$S\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{\displaystyle \sum _{(x,y)\in R}I}$$

The defect perimeter is the total length of the outer boundary, which can be expressed by the sum of the distance between adjacent pixels. If the number of pixels of the outer boundary is n, its chain code, c
where L

_{i}is followed by c_{1}, c_{2}, c_{3}, …, c_{n}and the perimeter can be presented as follows:
$$L\text{\hspace{0.17em}}=\text{\hspace{0.17em}}\frac{\sqrt{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}1}{2}n\text{\hspace{0.17em}}-\text{\hspace{0.17em}}\frac{\sqrt{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}1}{2}{\displaystyle \sum _{i=1}^{n}{(-1)}^{{c}_{i}}}$$

_{1}is defined as the maximum distance between any two points in the outer boundary, and L_{2}is defined as the longest straight line which is vertical to L_{1}, as shown in Figure 9.Assuming two random points are present in the outer boundary, α

_{1}(x_{1},y_{1}) and α_{2}(x_{2},y_{2}). The endpoints of the vertical line are v_{1}(m_{1},n_{1}) and v_{2}(m_{2},n_{2}) to L1. The L_{1}and L_{2}are calculated as follows:
$$\{\begin{array}{l}{L}_{1}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}\mathrm{max}(\sqrt{{({x}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{x}_{2})}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{({y}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{y}_{2})}^{2}})\\ {L}_{2}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}\mathrm{max}(\sqrt{{({m}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{m}_{2})}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{({n}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{n}_{2})}^{2}})\end{array}\text{\hspace{1em}}s.t.\text{\hspace{1em}}({x}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{x}_{2})({m}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{m}_{2})\text{\hspace{0.17em}}+\text{\hspace{0.17em}}({y}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{y}_{2})({n}_{1}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{n}_{2})\text{\hspace{0.17em}}=\text{\hspace{0.17em}}0$$

- 2.
- Characteristic Descriptions of Shape

Because of the different sizes of wire rope and lift-off variations, the detected defect area, perimeter, and length-width are not similar in the same case. Therefore the basic description is not taken as the recognition features. Nevertheless the equivalent area, which is the ratio of area and perimeter, represented by G, is taken as the recognition feature:
where the equivalent area G reflects the surrounded region of defects by unit perimeter. If the shape of the defect is circular, the ratio of area and perimeter is the minimum.

$$G\text{\hspace{0.17em}}=\text{\hspace{0.17em}}S/L$$

Slenderness ratio F is defined as the ratio of the major axis L

_{1}and the minor axis L_{2}:
$$F\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{L}_{1}/{L}_{2}$$

The slenderness ratio reflects the shape of the defects. It is a sensitive parameter of the circular boundary. When the defect shape forms a circle, the long and short diameters are relatively close, and the F value is close to 1. The greater the ratio of the long axis to the short axis, the slimmer the shape of the defect.

The circular degree of the image is the complexity degree of the area shape measured on the basic of the area and perimeter. Its mathematical expression is as follows:
where e is the circularity of the defect; S is the area; and C is the perimeter.

$$e\text{\hspace{0.17em}}=\text{\hspace{0.17em}}4\pi S/{C}^{2}$$

When the object region is circular with the radius, r, its area $S=\pi {r}^{2}$ and its perimeter is $C=\text{}2\pi r$. That is, its circularity $e\text{}=\text{}1$. This characteristic reflects the complexity of the shape in the area. If the shape is closed to a circle, e is bigger, and the maximum is value 1. If the shape is more complex, e is closer to 0.

- 3.
- Characteristics of Invariant Moment

Invariant moments are established on statistical analyses of the gray distribution of the target area, a sort of statistical description on average. It describes the overall characteristics of an object from a global view, thus, it is less susceptible to noise and would not change with the translation, rotation and scale of the image [25]. For this paper, we chose to describe the shape characteristics of the defect image.

Given an image f(x,y), if it is piecewise continuous, with a limited non-zero number available on the plane, its varied order exists. The two-dimensional (p + q) order moment of f(x,y) is defined as [25]:

$${m}_{pq}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{\displaystyle \sum _{x}{\displaystyle \sum _{y}{x}^{p}{x}^{q}f(x,y)}}$$

The value of moments, m
where $\overline{x}$ and $\overline{y}$ are the center of gravity, defined as:

_{pq}, will change when (x,y) is translated. To reduce and eliminate unfavorable effects, the central moments are defined as:
$${u}_{pq}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{\displaystyle \sum _{x}{\displaystyle \sum _{y}{(x\text{\hspace{0.17em}}-\text{\hspace{0.17em}}\overline{x})}^{p}{(y\text{\hspace{0.17em}}-\text{\hspace{0.17em}}\overline{y})}^{q}f(x,y)}}$$

$$\overline{x}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{m}_{10}/{m}_{00},\text{}\overline{y}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{m}_{01}/{m}_{00}$$

On the basis of the defined central moments, the seven invariant moments are defined as follows [25]:

$${M}_{1}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{u}_{20}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{02}$$

$${M}_{2}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{({u}_{20}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{u}_{02})}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}4{u}_{11}^{2}$$

$${M}_{3}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{({u}_{30}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}3{u}_{12})}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{(3{u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})}^{2}$$

$${M}_{4}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12})}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})}^{2}$$

$$\begin{array}{l}{M}_{5}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{({u}_{30}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}3{u}_{12})}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}({u}_{12}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{30})[{({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12})}^{2}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}3{({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})}^{2}]\text{\hspace{0.17em}}+\text{\hspace{0.17em}}\\ \text{\hspace{1em}\hspace{1em}}(3{u}_{21}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{u}_{03})({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})\left[3{({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12})}^{2}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})}^{2}\right]\end{array}$$

$${M}_{6}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}({u}_{20}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{02})[{({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12})}^{2}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})}^{2}]\text{\hspace{0.17em}}+\text{\hspace{0.17em}}4{u}_{11}({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12})({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03})$$

$$\begin{array}{l}{M}_{7}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}\left(3{u}_{21}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{u}_{03}\right)\left({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12}\right){\left({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12}\right)}^{2}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}3{\left({u}_{21}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{u}_{03}\right)}^{2}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}\\ \text{\hspace{1em}}\left(3{u}_{12}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{u}_{30}\right)\left({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03}\right)[3{\left({u}_{30}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{12}\right)}^{2}\text{\hspace{0.17em}}-\text{\hspace{0.17em}}{\left({u}_{21}\text{\hspace{0.17em}}+\text{\hspace{0.17em}}{u}_{03}\right)}^{2}]\end{array}$$

Equations (10) to (19) are implemented in the defects image. Seven invariant moments are calculated as the characteristic vectors of the image. In this paper, we selected four different wire rope structures as detection examples. They were 6 × 19, 6 × 36, 6 × 37, and 7 × 27. According to the characteristic extraction above, parts of vectors of one wire rope are listed in Table 1.

## 4. Quantitative Recognition

The BP neural network [16,26,27] is the most studied and widely used method in target recognition. A three-layer neural network can approach any nonlinear function. For this paper, the BP neural network was selected for defect recognition. A BP neural network model was built, including an input layer, a hidden layer and an output layer. The ten extracting characteristic vectors from the former processing are taken as the input of the neural network. The designed BP has a single output, so the structure of the designed BP neural network is 10 × N × 1 (N represents the number of hidden nodes). The function “tansig” was selected as the transfer function of the hidden layer and “logsig” one was the transfer function of the output layer. In this paper, the output of the neural network is the percentage of broken wire. For example, a wire rope of 9 × 19 structure with a defect of concentrated broken wires with the amount of three, because of the output range, the characteristic vectors of defect need to be normalized to [0, 1], so the output would be 0.175. In the experiment, four kinds of wires were chosen including 9 × 19, 6 × 36, 6 × 37 and 7 × 27, and their diameters were 22, 25, 28, 30, 31, 32, and 34 mm, separately.

There were 105 samples of various defects in the experiment. Of the samples, 55 were randomly selected as training samples, and the others were selected for testing. The BP neural network was built by using MATLAB. The training error of BP was set so low that the training network had great convergence. Various hidden layer nodes of the network had different ratio of inspection, part of them is shown as Figure 10, whereas the network training performance graph of the different hidden nodes is shown in Figure 11. Table 2 presents the training results and test samples in quantitative inspection of the percentage of broken wires. In different hidden layers, the iteration times and training time vary significantly. The best performance of the BP network was seen when the number of hidden layers was 21 and the recognition error of training samples was less than 1.075%. For test samples, when the allowable identification error is 1.5%, the success rate is as high as 94%, but the recognition error is less than 2.571%.

## 5. Comment and Discussion

With GMR sensors areuniformly distributed around the wire rope, the MFL of remanence in the vicinity of the wire rope is captured, and the raw data are unrolled to form the MFL image, as shown in Figure 2. The channel imbalance and high-frequency noise are serious in the raw signals. The pre-processing based on wavelet transfer is used for suppressing the influence which is caused by lift-off variation, non-uniformity of magnetization and the wires. Comparison of Figure 5 with Figure 2b indicates that the channel consistency is greatly improved and that high-frequency is inhibited. Then the CSWF method is presented in this paper to inhibit the noise further. Figure 6 shows that the noise is almost rejected. Furthermore, the data interpolation is introduced to improve the circumferential resolution of the MFL image, and the local MFL image is scale normalized to the size of 200 × 200 pixels. Three characteristics of shape and the seven-order invariant moment of the MFL image are used as input for BP networks for the quantitative inspection of wire rope defects. Network performances vary greatly in different number of hidden layers. The best performance is met when the number of hidden layer nodes is 21. Its recognition is as high as 94%, and recognition error is 1.5%.

## 6. Conclusions

The MFL of remanence inspection equipment with GMR sensor arrays has been designed to overcome the limitations of traditional equipment. Both the circumferential and the axial distributions of defects are obtained, which improves the defect-detection resolution. The MFL image consists of 18-channel data from the GMR sensor array. Signal-to-noise ratio is further improved by CSWF. Circumferential resolution is improved by interpolation. Three description characteristics of shape and seven-order invariant moments are extracted as features of the MFL image. They are utilized as the inputs of the BP networks to classify different defects. The results show that it is possible to implement the quantitative inspection of broken wires by utilizing the remanence of wire rope, and the CSWF method can inhibit noise sufficiently to receive clear MFL signals. For future work, more characteristics should be extracted as BP network input, which would change the recognition style and correct a greater range of defects to improve the generalization ability of network and the performance of detection systems.

## Acknowledgments

This work is partially supported by the National Natural Science Foundation of China (Grant No. 61040010, 61304144), Key Technologies R&D Program of Henan Province (Grant No. 152102210284). We thank LetPub (www.letpub.com) for its linguistic assistance during the preparation of this manuscript.

## Author Contributions

Juwei Zhang conceived, directed and designed the all work; Xiaojiang Tan performed the experiments, analyzed the data and wrote the paper.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Cao, Y.N.; Zhang, D.L.; Xu, D.G. The State-of-Art of Quantitative Testing of Wire Rope. Nondestruct. Test.
**2005**, 27, 91–95. (In Chinese) [Google Scholar] - Jomdecha, C.; Prateepasen, A. Design of modified electromagnetic main-flux for steel wire rope inspection. NDT E Int.
**2009**, 42, 77–83. [Google Scholar] [CrossRef] - Cao, Q.S.; Liu, D.; Zhou, J.H.; Zhou, J.M. Non-destructive and quantitative detection method for broken wire rope. Chin. J. Sci. Instrum.
**2011**, 32, 787–794. [Google Scholar] - Kreak, J.; Peterka, P.; Kropuch, S.; Novak, L. Measurement of tight in steel ropes by a mean of thermovision. Meas. J. Int. Meas. Confed.
**2014**, 50, 93–98. [Google Scholar] [CrossRef] - Peng, P.C.; Wang, C.Y. Use of gamma rays in the inspection of steel wire ropes in suspension bridges. NDT E Int.
**2015**, 75, 80–86. [Google Scholar] [CrossRef] - Li, X.G.; Miao, C.Y.; Zhang, Y.; Wang, W. Automatic fault detection for steel cord conveyor belt based on statistical features. J. China Coal Soc.
**2012**, 37, 1233–1238. [Google Scholar] - Wang, H.Y.; Tian, J. Method of magnetic collect detection for coal mine wire rope base on finite element analysis. J. China Coal Soc.
**2013**, 38, 256–260. [Google Scholar] - Wang, H.Y.; Xu, Z.; Hua, G.; Tian, J.; Zhou, B.B.; Lu, Y.H.; Chen, F.J. Key technique of a detection sensor for coal mine wire ropes. Min. Sci. Technol.
**2009**, 19, 170–175. [Google Scholar] [CrossRef] - Li, W.; Feng, W.; Li, Z.; Yan, C. Dimension design of excitation structure for wire rope nondestructive testing. J. Tongji Univ.
**2012**, 40, 1888–1893. [Google Scholar] - Cao, Y.N.; Zhang, D.L.; Xu, D.G. Study on algorithms of wire rope localized flaw quantitative analysis based on three-dimensional magnetic flux leakage. Acta Electron. Sin.
**2007**, 35, 1170–1173. [Google Scholar] - Zhang, D.L.; Zhao, M.; Zhou, Z.H. Quantitative Inspection of Wire Rope Discontinuities using Magnetic Flux Leakage Imaging. Mater. Eval.
**2012**, 70, 872–878. [Google Scholar] - Zhang, D.; Zhao, M.; Zhou, Z.; Pan, S. Characterization of wire rope defects with gray level co-occurrence matrix of magnetic flux leakage images. J. Nondestruct. Eval.
**2013**, 32, 37–43. [Google Scholar] [CrossRef] - Kim, J.W.; Park, J.Y.; Park, S. Magnetic Flux Leakage Method based Local Fault Detection for Inspection of Wire Rope. J. Comput. Struct. Eng. Inst. Korea
**2015**, 28, 417–423. [Google Scholar] [CrossRef] - Cao, Q.S.; Zhou, J.H.; Li, J.; Liu, D. Theoretical analysis of space-time signals for electromagnetic detection of ropes. J. Mech. Eng.
**2013**, 49, 13–19. [Google Scholar] [CrossRef] - Tian, J.; Wang, H.Y.; Zhou, J.Y.; Meng, G.Y. Study of pre-processing model of coal-mine hoist wire-rope fatigue damage signal. Int. J. Min. Sci. Technol.
**2015**, 25, 1017–1021. [Google Scholar] [CrossRef] - Zhang, D.L.; Xu, D.G. Qualitative Classification and Quantitative Inspection for Broken Wires in Wire Ropes Based on Wavelet Neural Network. Chin. J. Sci. Instrum.
**2002**, 23, 486–488. [Google Scholar] - Meng, X.Z.; Ni, J.P.; Zhu, Y.B. Research on vibration signal filtering based on wavelet multi-resolution analysis. In Proceedings of the 2010 International Conference on Artificial Intelligence and Computational Intelligence (AICI), Sanya, China, 23–24 October 2010; pp. 115–118.
- Zhang, W.W.; Li, M.; Zhao, J.Y. Research on electrocardiogram signal noise reduction based on wavelet multi-resolution analysis. In Proceedings of the 2010 8th International Conference on Wavelet Analysis and Pattern Recognition, Qingdao, China, 11–14 July 2010; pp. 351–354.
- Li, Z.C.; Deng, Y.; Huang, H.; Misra, S. ECG signal compressed sensing using the wavelet tree model. In Proceedings of the 2015 8th International Conference on BioMedical Engineering and Informatics, Shenyang, China, 14–16 October 2015; pp. 194–199.
- Zhu, L.; Zhu, Y.L.; Mao, H.; Gu, M.H. A new method for sparse signal denoising based on compressed sensing. In Proceedings of the 2009 2nd International Symposium on Knowledge Acquisition and Modeling, Wuhan, China, 30 November–1 December 2009; pp. 35–38.
- Cheng, C.; Pan, Q.; Wang, S.L.; Cheng, Y.M. Research on MEMS gyroscope signal denoising based compressed sensing theory. Chin. J. Sci. Instrum.
**2012**, 33, 769–773. [Google Scholar] - Ravelomanantsoa, A.; Rabah, H.; Rouane, A. Compressed Sensing: A Simple Deterministic Measurement Matrix and a Fast Recovery Algorithm. IEEE Tran. Instrum. Measur.
**2015**, 64, 3405–3413. [Google Scholar] [CrossRef] - Li, Y.; Chi, Y.J.; Huang, C.H.; Dolecek, L. Orthogonal Matching Pursuit on Faulty Circuits. IEEE Tran. Commun.
**2015**, 63, 2541–2554. [Google Scholar] [CrossRef] - Huang, G.X.; Wang, L. High-speed Signal Reconstruction for Compressive Sensing Applications. J. Signal Process. Systems
**2015**, 81, 333–344. [Google Scholar] [CrossRef] - Chen, L.W.; Li, C.R. Invariant moment features for fingerprint recognition. In Proceedings of the 2013 10th International Computer Conference on Wavelet Active Media Technology and Information, Chengdu, China, 17–19 December 2013; pp. 91–94.
- Lu, D.; Wang, J. The application of improved BP neural network in the engine fault diagnosis. In Proceedings of the 31st Chinese Control Conference, Hefei, China, 25–27 July 2012; pp. 3352–3355.
- Liu, S.Y.; Zhang, L.D.; Wang, Q.; Liu, J.J. BP neural network in classification of fabric defect based on particle swarm optimization. In Proceedings of the 2008 International Conference on Wavelet Analysis and Pattern Recognition, Hong Kong, China, 30–31 August 2008; pp. 216–220.

**Figure 1.**(

**a**) Framework of the detection device and detection method diagram; (

**b**) Excitation source; and (

**c**) Signal acquisition system board.

**Figure 10.**Different hidden nodes recognition graphs: (

**a**) Identification ratio graph of 21 hidden layer nodes; (

**b**) Identification ratio graph of 24 hidden layer nodes; (

**c**) Identification ratio graph of 27 hidden layer nodes; and (

**d**) Identification ratio graph of 30 hidden layer nodes.

**Figure 11.**Training performance graphs for different hidden layer numbers: (

**a**) 21 hidden nodes; (

**b**) 24 hidden nodes; (

**c**) 27 hidden nodes; and (

**d**) 30 hidden nodes.

Broken Wires | G | F | e | Φ_{1} | Φ_{2} | Φ_{3} | Φ_{4} | Φ_{5} | Φ_{6} | Φ_{7} |
---|---|---|---|---|---|---|---|---|---|---|

1 | 4.22 | 0.864 | 0.647 | 6.69 × 10^{10} | 4.48 × 10^{21} | 2.88 × 10^{20} | 2.35 × 10^{20} | 4.02 × 10^{37} | −2.26 × 10^{28} | 6.27 × 10^{39} |

2 | 6.06 | 0.392 | 0.537 | 6.71 × 10^{10} | 4.51 × 10^{21} | 2.66 × 10^{20} | 2.36 × 10^{20} | −2.76 × 10^{42} | −4.03 × 10^{29} | −1.24 × 10^{42} |

3 | 11.9 | 0.935 | 0.623 | 6.70 × 10^{10} | 4.49 × 10^{21} | 7.26 × 10^{21} | 2.57 × 10^{21} | 3.83 × 10^{42} | 2.51 × 10^{28} | −4.9 × 10^{42} |

4 | 19.6 | 1.150 | 0.642 | 6.58 × 10^{10} | 4.32 × 10^{21} | 2.11 × 10^{21} | 1.51 × 10^{21} | −2.01 × 10^{43} | −6.24 × 10^{30} | 3.15 × 10^{43} |

5 | 7.15 | 0.364 | 0.499 | 6.58 × 10^{10} | 4.33 × 10^{21} | 5.52 × 10^{21} | 5.62 × 10^{21} | −1.19 × 10^{44} | −7.64 × 10^{30} | −7.68 × 10^{42} |

7 | 1.64 | 0.811 | 0.592 | 6.65 × 10^{10} | 4.42 × 10^{21} | 6.67 × 10^{21} | 4.95 × 10^{21} | −3.16 × 10^{43} | 7.42 × 10^{29} | −9.84 × 10^{43} |

Hidden Layer Number | Iteration Time (s) | Maximum Error for Training Set (%) | Maximum Error for Test Set (%) | Train Sample Number |
---|---|---|---|---|

21 | 138 | 1.353 | 2.521 | 55 |

24 | 128 | 1.606 | 2.734 | 55 |

27 | 173 | 1.479 | 4.211 | 55 |

30 | 121 | 1.075 | 2.732 | 55 |

© 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC-BY) license (http://creativecommons.org/licenses/by/4.0/).