You are on page 1of 6

Submitted May 2004

Magnetic Design of a Flux Leakage Assembly for Pipes


by David Mackintosh,* Mathew Schmidt, Carlos Claveria, Todd Carey and Graham Moorhouse

ABSTRACT
For good sensitivity to discontinuities in pipes, a magnetic flux leakage assembly should strongly magnetize the pipe wall. In this paper, a proposed design for a magnetic flux leakage magnetizing assembly is modeled using conventional magnetic circuit models and finite element analysis. Variations on the initial design are tested according to how strongly they magnetize the pipe wall. Some design changes, such as increasing the dimensions of the magnet and adding brushes to the pole pieces, were found through finite element analysis to give no improvement, contrary to expectations based on the circuit model. The inaccuracy of the circuit model was mainly due to the difficulty of calculating the amount of flux in the air outside the pipe. Finite element analysis results indicated that the biggest improvement to the magnetic flux leakage assembly was obtained by adding opposing magnetizing assemblies to each end of the primary assembly. Finite element analysis has proved itself an important development tool because it allows calculation of fields for configurations that are difficult to model with a conventional magnetic circuit. Keywords: magnetic flux leakage, finite element analysis, pipe testing, permanent magnet design.

INTRODUCTION
This paper describes the modeling of a proposed magnetic flux leakage magnetizing assembly and discusses some results that appear to run contrary to expectations. The assembly studied in this paper was one of about 40 modeled during a recent development project and was not the assembly ultimately selected as the best design. The focus of this paper is on the process of design, modeling and optimization. Magnetic flux leakage is a method of nondestructive testing (NDT) that involves magnetizing the test object (in this case, the pipe wall) and detecting discontinuities in the magnetic field that indicate metal loss (Figure 1). A key design objective is to create a magnetizing assembly that fits inside the pipe with the required clearance and which also strongly magnetizes the pipe.

Figure 1 Principle of magnetic flux leakage: a magnetizing assembly induces a magnetic field in the pipe wall. At areas with metal loss, some of the magnetic flux leaks out of the pipe wall, where it can be detected by a sensor. Note that the specifications of pipe diameter, wall thickness and clearance are important; changing any one of those values can often result in a totally different choice of magnetizing assembly configuration. What level of pipe magnetization is required? The simple answer for this study is as high as possible, given the space limitations and the grade of magnets used. Stronger magnetization of the pipe wall gives better sensitivity to discontinuities and also tends to remove indications from variations in magnetic permeability (Nestleroth and Bubenik, 1999). Designers of magnetic flux leakage tools for large bore pipes may strive for 2 T (2 104 G) in the pipe wall (Nestleroth and Bubenik, 1999). Atherton and Dufour (1996) achieved 1.3 T (1.3 104 G) in 103 mm (4 in.) pipe, using neodymium-iron-boron magnets in an assembly that was built short (156.2 mm [6.1 in.]) to negotiate tight bends. The tool studied in this paper may not produce more than 1 T (1 104 G) in the pipe wall for two reasons: because neodymiumiron-boron magnets, the most powerful magnets available, may not be suitable for this high temperature application; and because the assembly needs to be reasonably long to magnetize the pipe wall when in motion (longer assemblies tend to magnetize the wall more weakly). Shorter magnetic flux leakage assemblies magnetize more strongly when stationary, but may not perform well when in motion, because the magnetic flux has less time to diffuse into the pipe wall. In this study, a reasonable assembly length was selected and no attempt was made to optimize the assembly by making it shorter. Magnetic Flux Leakage Assembly Two cylindrical magnets with their central north/south axes coaxial with the pipe are placed with an iron backing bar between them (Figure 2). Iron pole pieces on the ends of the magnets are
Materials Evaluation/March 2005 329

TOOL CONFIGURATION
Design Specifications For the purposes of this paper, the following outline specifications apply: magnetic flux leakage tool using permanent magnets pipe outside diameter: 139.7 mm (5.5 in.) pipe wall thickness: 7.72 mm (0.304 in.) magnet radial clearance on inside pipe wall: 8.26 mm (0.325 in.) no requirements for passing bends (operates in straight oil well casing) operates without significant loss of magnetization up to 422 K (300 F) operates while traveling at 0.3 m/s (1 ft/s).
* 16537 104 Ave., Edmonton, AB T5P 0S8, Canada; (780) 913-0359; e-mail <dhmack2022@aol.com>. Spartek Systems, 1 Thevenaz Industrial Trail, Sylvan Lake, AB T4S 2J6, Canada; (403) 887-2443; e-mail <spartek@sparteksystems.com>.

Figure 2 Two views of the magnetic flux leakage assembly studied in this paper: (a) cutaway; (b) section of one quadrant (Z = axial/vertical direction; R = radial/horizontal direction).

intended to provide a low reluctance path into the pipe wall. There is an air gap between the pole pieces and the pipe. The hole down the center of the assembly allows a nonferromagnetic bolt to hold the assembly together and has a negligible effect on performance. The bar is made narrower than the magnets to make room for sensors and electronics. The bar still has nearly twice the cross sectional area of the pipe, so the bar will likely remain unsaturated and have low reluctance. To estimate whether magnets with the specified diameter have adequate cross sectional area, we consider likely values of flux density in the magnets and pipe wall. The grade of magnets selected for this tool have a remnant magnetism of about 1.2 T (1.2 104 G). If the load on the magnets is of low enough reluctance, the flux density in the magnets may be close to the remnant value, at about 1 T (1 104 G). To aim for a flux density of 2 T (2 104 G) in the pipe wall, the cross sectional area of the magnets should therefore be at least twice that of the pipe wall. Using dimensions based on the design specifications, the magnets have a cross sectional area of about 9000 mm2 (14.0 in.2) and the pipe wall 3200 mm2 (5.0 in.2), a ratio of 2.8 to 1. Therefore, the rule of thumb requiring at least double the area of magnets is satisfied.

less powerful than neodymium-iron-boron but better suited to this high temperature (422 K [300 F]) application. Magnetization Curves Material properties were modeled using initial magnetization B-H curves, which are single curves that do not show hysteresis effects. Modeling hysteresis effects would require that the magnetization of each element of steel depend on its past magnetic history which would in turn require prohibitive amounts of memory and processing time to model. Some effects of hysteresis and remnant magnetism in magnetic flux leakage are discussed by Nestleroth and Bubenik (1999). B-H curves for steel and iron were obtained from Moskowitz (1995). Moskowitzs curves are useful for magnetic flux leakage modeling because, unlike curves from many other sources, they extend into full saturation (for iron, typically over 300 kA/m [3770 Oe]). ASTM standard specification A 848-01 (ASTM, 2001) gives B-H curves for magnetic iron that can be used for applications up to H = 4 kA/m (50 Oe). The magnetic properties of steel vary with chemical constitution (especially carbon content), manufacturing and heat processes, temperature, stress and magnetic history, among other parameters (Habermehl et al., 1985). Hence, any material curve represents typical values only. It is not so important that an accurate curve is used to represent iron, because the iron components in this assembly are not near saturation and are of negligible reluctance compared to the air gaps and pipe. Wire Brush Material Steel bristle brush material may be placed in the air gap between pole pieces and pipe to improve magnetic coupling. B-H curves had to be calculated for this steel/air composite. The field

MATERIALS
Selection Magnetic iron is a good choice for the bar and pole pieces because it has high permeability and is reasonably inexpensive. Note that if the bar and pole pieces were close to saturation, which might happen in a smaller diameter pipe where area is more restricted, it might be worth considering a more expensive material such as one of the iron-cobalt high magnetic saturation alloys. In this application, the magnet material selected was samarium-cobalt, which is
330 Materials Evaluation/March 2005

was assumed to be mainly parallel to the bristles. The principle used is that H will be the same whether the path line passes through a bristle or through air, since these two components are in parallel and of the same length. For a given value of H, the flux density in air Ba = 0H and the flux density in steel Bs(H) is determined from the B-H curve for steel. Then, the average flux density through the brush (Bavg) is given by: Bavg = xBS ( H ) + (1 x ) 0 H where x = the packing density of steel. The above equation allows a B-H curve for the brush to be determined from the B-H curve for steel.

Knowledge of the relationship between B and H is obviously needed for each component, either as a permeability value or as a B-H curve. Before beginning calculations, the designer also needs to estimate how much of the flux generated by the magnets will actually reach each component; this is not always an easy task, as is discussed later. It is also important to accurately estimate the effective width of each air gap, since the flux spreads out wider than the physical width of the gap. In this model, the effective axial length of each air gap was taken to be its physical (axial) length plus twice its thickness in the radial direction. Results of the circuit analysis are presented later in this paper in comparison with finite element analysis results.

FINITE ELEMENT ANALYSIS


Finite element analysis software divides a system into a mesh of triangles and solves at each node. The user inputs, among other things, the dimensions of the components and solution area, material curves, boundary conditions and mesh coarseness for each zone. The software allows the plotting of field contours and the extraction of such values as B, H and . Finite element analysis is usually more accurate than circuit models and allows virtual prototyping and detailed plots of flux in and around components. One practical downside of finite element analysis is that it can often be as time consuming as actually carrying out a physical experiment. The lines of magnetic flux plotted in Figure 4 show that not all of the flux from the magnets reaches the pipe wall adjacent to the center of the tool. Some of the flux exits the pipe wall to the parallel path in the air outside the pipe (as well as a much smaller amount in the annulus between the pipe wall and magnetic flux leakage assembly). Some flux exits the magnet and takes a shortcut to the opposite pole of the same magnet, without passing to the other end of the magnetic flux leakage assembly. Note that the flux density in Figure 4 appears to be smaller at the center of the bar than at the outside. This is because the model is axisymmetric and an increment of radius near the center of the bar

MAGNETIC CIRCUIT MODEL


The purpose of a magnetic circuit model is to estimate the magnetic field and flux density in each component. The circuit is an assumed path of magnetic flux through the components (Figure 3). Some minor leakage paths are not shown on the circuit diagram, but should be taken into account for better accuracy. In basic circuit models, B and H are assumed to be uniform in each component. The numerical calculations were carried out as follows. 1. Estimate magnet, the total flux in each magnet. 2. Estimate the flux density Bn in each component (where n denotes the nth component). 3. From Bn and the material properties of the nth component, determine the magnetic field Hn in each component. 4. Calculate the product HnLn (magnetic field times path length) for each component. 5. Calculate the sum of (HnLn) from all n components. 6. Repeat steps 1 to 5 until the sum in step 5 equals zero to within a reasonable accuracy (note that H in the magnets is negative).

(a)

(b) Figure 3 Magnetic circuit: (a) the path line chosen to reflect typical flux paths and component dimensions (the dotted line shows a path through the air outside the pipe); (b) model.
Materials Evaluation/March 2005 331

Figure 5 Values of magnetic field H parallel to the path line shown in Figure 3, as calculated by two different circuit models and finite element analysis (b = bar; m = magnet; e = pole; g = gap; p = pipe). The two humps in the finite element analysis curve at 0.26 and 0.52 m (10.2 and 20.5 in.) represent the highly magnetized pipe wall adjacent to the magnets. Note that the area under the curve for each component (the integral of Hdl, where l is the length vector along the contour) is the magnetic equivalent of a voltage drop across an electrical resistor.

Figure 4 Lines of magnetic flux plotted by finite element analysis software. The plot shows that some of the magnetic flux avoids the pipe wall, either by taking a shortcut to the opposite pole of the magnet or by passing into the air outside the pipe (magnets are shaded in gray). represents a smaller cross sectional area than the same increment near the outside of the bar. The flux is in fact approximately evenly distributed in the bar (Atherton and Dufour, 1996). Figure 6 The simple circuit model, which does not include a component for the air outside the pipe, grossly overestimates Bpipe, the flux density in the pipe wall. The adjusted circuit model gives Bpipe values close to those from finite element analysis, but only when the effective diameter of the outside air component is manually adjusted to give good agreement. Circuit models may therefore not be appropriate for this application.

CIRCUIT AND FINITE ELEMENT ANALYSIS MODELS: COMPARISON OF RESULTS


Figure 5 shows the magnetic field H calculated by each model. H extracted from the finite element analysis model (solid black line in Figure 5) represents the component of H parallel to the path line shown in Figure 3a. The simple circuit model (gray line in Figure 5) is based on the assumption that all the magnetic flux generated by the magnets passes through the pipe wall. The simple circuit model results in a gross overestimation of the magnitude of the field H in both the magnets and pipe wall, since, as Figure 4 indicates, some of the flux exits the pipe into the air. The adjusted circuit model (dashed line in Figure 5) includes the component representing air outside the pipe (shown in Figure 3b), which makes the adjusted model more accurate than the simple model. But there is a catch: in the adjusted model, the effective cross sectional area of the outside air was manually adjusted to give results close to finite element analysis. The optimum outside diameter of the cylindrical outside air component ended up being 16 pipe diameters a value which would likely change with different assembly configurations. Without finite element analysis for comparison, it would be very difficult to determine the effective cross sectional area of the outside air component. Hence, circuit models may
332 Materials Evaluation/March 2005

not be appropriate for this application. This conclusion is reinforced by the data in Figure 6, which show a comparison of magnetic flux density B calculated by the various models. As McCaig and Clegg (1987) point out, the estimation of the fraction of flux that actually reaches the useful area (in this case the pipe wall) is perhaps the most troublesome problem facing the magnet designer.

VARIATIONS IN DESIGN
Finite element analysis results in Figure 7 show the effects of increasing the axial length of the magnets and the diameter of the magnet/pole piece component. Making the magnets bigger successfully increases the flux in the magnets, but there is correspondingly more flux in the air outside the pipe and, hence, no increase in the flux in the pipe wall. In fact, increasing the length of the magnets (Figure 7b) actually decreases the flux in the pipe wall, perhaps because the longer assembly provides a greater area for the lines of flux to curve into the air outside the pipe.

(a)

Figure 8 Variations on the standard configuration that were modeled. Performance of each is plotted in Figure 9. Magnet material is shown in light gray.

(b)

Figure 7 Finite element analysis results: (a) the total flux in the magnets increases with the diameter of the magnet/pole piece component (unfortunately, the increase in flux shows up only in the air surrounding the pipe and not in the pipe wall itself); (b) the total flux in the magnets increases with magnet axial length (unfortunately, the increase in flux shows up only in the air surrounding the pipe and there is actually a small decrease in the flux in the pipe wall itself).

Figure 9 The different flux and flux density values for the configurations in Figure 8. A change in flux in the magnets does not necessarily cause a corresponding change in the flux in the pipe wall.

OTHER CONFIGURATIONS
Figure 8 shows some of the variations on the initial magnetic flux leakage configuration that were modeled. Figure 9 shows the and B values achieved by each variation. Magnet bar configuration: the iron bar is replaced with a solid magnet. There is an overall reduction in flux compared to the standard model because the magnet is not as good a conductor of flux as iron. Standard: this is the main configuration studied in this paper. Bpipe = 0.94 T (9.4 103 G) where Bpipe represents the flux density in the pipe wall corresponding to pipe. The only feasible assembly that improves on the standard design is opposing. Brush gap: the pole pieces are fitted with brushes for better coupling to the pipe wall. There is an increase in magnet, but no increase in the total flux in the pipe wall adjacent to the center of the assembly (pipe), mainly because the increase was seen only in the total flux in the air outside the pipe, air.

Iron gap: the pole pieces are fitted with solid iron for better coupling to the pipe wall. (Note that this would not be done in practice because solid iron pole pieces would cause the tool to get stuck on obstructions.) Again, there is an increase in magnet, but no increase in pipe. No pole: the pole pieces are removed altogether. magnet and air are smaller than in the standard assembly, but pipe is higher, likely because removing the pole pieces shortened the overall configuration. This shorter assembly, however, may not perform well in motion, as discussed previously. Opposing: additional, opposing magnetic flux leakage assemblies are added at each end of the primary assembly. The value of magnet decreases, but pipe increases because the opposing assemblies confine the flux to the area around the primary assembly. This configuration could be used if weight was not a concern. Alternatively, lighter opposing assemblies could be designed. Bpipe = 1.08 T (1.08 104 G).
Materials Evaluation/March 2005 333

All magnet: the tool is replaced by a plug of magnets that totally fills up the pipe, with no air gaps. This configuration likely represents the maximum that could be obtained using this grade of magnets in this pipe. Bpipe = 1.44 T (1.44 104 G). From the results above, it is clear that some promising changes did not in fact increase the flux in the pipe wall mainly because the increase in flux usually appeared in the air outside the pipe instead of in the pipe wall. Figure 10 shows that adding iron to the pole pieces (to create the iron gap model from the standard model) pushes each line of flux in the outside air further out. Figure 10 helps to visualize the results in Figure 9.

CONCLUSION
A proposed design for a magnetic flux leakage magnetizing assembly has been modeled using magnetic circuits and finite element analysis. Due to the difficulty of estimating the amount of flux in the air outside the pipe, the simple magnetic circuit model turned out to be inaccurate. In fact, it is possible that the performance of some magnetic flux leakage assemblies available in industry has been overestimated because oversimplified circuit models were used to calculate Bpipe. Taking a physical measurement of B in the gap between magnets and pipe is not an adequate check of model accuracy; the designer should also measure the flux passing into the air outside the pipe to estimate B inside the pipe wall. For better results from magnetic circuit models, advanced models of the flux spreading into the outside air would have to be developed. Creating these advanced circuit models seems impractical because they would likely be different for each proposed magnetizing assembly, and they would likely be based on research using finite element analysis in other words, finite element analysis already does the job. Finite element analysis has thus proven an important development tool because it models configurations that are difficult to model with conventional magnetic circuits. Conventional methods of improving the assembly design, such as increasing the size of the magnets and adding iron pole pieces, did not increase the magnetization of the pipe wall, according to finite element analysis. The biggest improvement was obtained by adding opposing magnetizing assemblies at each end of the primary assembly, which raised the flux density in the pipe wall from 0.94 T (9.4 103 G) in the standard model to 1.08 T (1.08 104 Gauss) in the opposing model. This paper has outlined and discussed some of the techniques used to model and optimize magnetic assemblies for magnetic flux leakage. The configuration studied in this paper was not the final design selected in the project.

ACKNOWLEDGMENTS
The authors gratefully acknowledge support for this research by Pure Energy Services, Ltd., of Calgary, Canada, and National Research Council Canada.

REFERENCES
ASTM International, A 848-01: Standard Specification for Low-carbon Magnetic Iron, West Conshohocken, Pennsylvania, ASTM International, 2001. Atherton, D.L. and D. Dufour, A Magnetic Flux Leakage Detector for 4 In. Diameter Pipes, CSNDT Journal, Vol. 17, No. 2, 1996, pp. 5-7. Habermehl, S., D.C. Jiles and M.C. Teller, Influence of Heat Treatment and Chemical Composition on the Magnetic Properties of Ferromagnetic Steels, IEEE Transactions on Magnetics, Vol. MAG-21, No. 5, 1985, pp. 1909-1911. McCaig, Malcolm and Alan G. Clegg, Permanent Magnets in Theory and Practice, second edition, London, Pentech, 1987. Moskowitz, Lester R., Permanent Magnet Design and Application Handbook, Florida, Krieger, 1995. Nestleroth, J.B. and T.A. Bubenik, Magnetic Flux Leakage (MFL) Technology for Natural Gas Pipeline Inspection, Gas Research Institute, <www.battelle .org/pipetechnology/MFL/MFL98Main.html>, February 1999.

Figure 10 Lines of magnetic flux from two models are superimposed (standard model = gray lines; iron gap model = black lines). The arrows show that when the gap is filled with iron to create the iron gap model, the flux lines move outward, indicating an increase in the total flux in the outside air. Note that the arrows join lines of the same numerical value of the flux function. (In an axisymmetric model, the flux function is the product of magnetic vector potential and radius.)

334 Materials Evaluation/March 2005

You might also like