Acessibilidade / Reportar erro

An Analytical Calculation of the Magnetic Field Using the Biot Savart Law

Um Cálculo Analítico do Campo Magnético Usando a Lei de Biot Savart

Abstracts

This work presents an analytical method to calculate the magnetic field at any point of the space, by solving the Biot Savart equation in the reciprocal space. This is applied to express the magnetic field due to a circular current distributions as a convergent series. The comparison between the proposed method with the standard numerical integration of the Biot Savart law has shown a good agreement.


Neste trabalho apresentamos um método analítico para calcular o campo magnético em qualquer ponto do espaço, resolvendo a equação de Biot Savart no espaço recíproco. O mesmo é aplicado para expressar em termos de uma série convergente o campo magético gerado por uma distribuição de corrente circular. A comparação entre o método proposto e a integração numérica usual da lei de Biot Savart mostra uma satisfatória concordância.


An Analytical Calculation of the Magnetic Field Using the Biot Savart Law

Um Cálculo Analítico do Campo Magnético Usando a Lei de Biot Savart

E.C. Caparelli and D. Tomasi

Escuela de Ciencia y Tecnologia, Universidad Nacional de Gral.

San Martin, Alem 3901, 1651, San Andres, Buenos Aires, Argentina

Recebido em 20 de Junho 2001. Aceito em 6 de Agosto 2001.

This work presents an analytical method to calculate the magnetic field at any point of the space, by solving the Biot Savart equation in the reciprocal space. This is applied to express the magnetic field due to a circular current distributions as a convergent series. The comparison between the proposed method with the standard numerical integration of the Biot Savart law has shown a good agreement.

Neste trabalho apresentamos um método analítico para calcular o campo magnético em qualquer ponto do espaço, resolvendo a equação de Biot Savart no espaço recíproco. O mesmo é aplicado para expressar em termos de uma série convergente o campo magético gerado por uma distribuição de corrente circular. A comparação entre o método proposto e a integração numérica usual da lei de Biot Savart mostra uma satisfatória concordância.

I Introduction

The Biot Savart (BS) law is a well known equation used to calculate the magnetic field vector at any point of the space for a given current distribution. Although it has extensive application in many branches of physics and engineering, analytical solutions of this integral equation are available only for some current distributions, which have specials symmetry conditions.

Usually numerical methods are used to calculate magnetic fields, for example, to design coils and magnets that produce high homogeneous magnetic fields for Magnetic Resonance Imaging(MRI) [1], to optimize toroidal magnetic systems [2] or to evaluate the stress in fusion devices [3]. However, when the calculation of the magnetic field is performed over a large set of points, the increase in the computing time requires the use of semi-analytic approaches [4].

In this work we are showing that the BS law can be solved in the reciprocal space for a planar current distribution. As an example, we derived analytically an expression to calculate the magnetic field at any point of the space for a circular turn of wire carrying a current.

II The method

The magnetic field vector B at a given point in the space, r, is related to the current distribution j(r¢) through the Biot Savart law [5]

where m0 is the permeability of the free space and the integral is performed over the whole space. This law can also be expressed as a function of the curl of the vector potential, A(r), as

that, using the Green function expansion [6]

can be written as

Now, considering the Fourier transform of j(r¢)

the curl can be carried out, and the Eq. (4) can be expressed as

If the current distribution is in the (x, y, 0) plane, the Fourier transform of this distribution can be written as

and the continuity equation, expressed in terms of the Fourier components, is given by [7]

Then the magnetic field components due to this current distribution can be expressed, using Eq. (6), as

where

Therefore, upon integrating over kz, we finally have

which are analytical expressions for the magnetic field components produced by a planar current distribution.

III Application

Now we will consider a current distribution defined by a single loop of radius R, which carries a current I, as it is illustrated by Fig. 1. In this case the Fourier transform of the complex current density can be written as [7]

where

k

x +

ik

y =

qe

if is a complex number with modulus

and

J

1(

Rq) is the Bessel function of order 1. Using the Eq. (8), the expression (13) can be reduced to

The magnetic field components are then obtained substituting this current distribution in Eq. (12)


where the angular integral can be written as the convergent series [8]

Because of the axial symmetry of this problem we will use the cylindrical representation of the magnetic field vector. The radial component Br2(r) = Bx2(r) + By2(r) and the axial component Bz(r) of the magnetic field can be obtained from Eq. (15) and can be written as the series expansion

The integral over

q is related to the hypergeometric function,

2

F

1 as [8]

which is defined as [8]

Finally the magnetic field components can be written as the series

In table 1, we show some expressions of the function 2F1.

Note that, in the Ref. [5], the magnetic field for a single loop is calculated analytically using the vector potential, whose solutions are valid only near the axis, near the center of the loop and far from the loop, but here we got analytical expressions that are valid at any region.

Analysis

To study the quality of the above result as a function of the number of terms N, considered in the Eqs. (21) and (22), we calculated the magnetic field generated by a current of I = 1A flowing in a loop with R = 1m in two ways: on one hand we used the MATHEMATICA 3.0 1 1 MATHEMATICA is a registered trademark of Wolfram Research, Inc. software to carry out the operations involved in Eqs. (21) and (22), and on the other hand we wrote a double precision FORTRAN code performing the integral in Eq. (1). In order to maximize the accuracy of the calculation accomplished by the numerical algorithm, we divided the wire in 8192 elements.

Figure 2 compares the z-component of the magnetic field obtained from Eq. (22), for different values of N, with that achieved by the numerical integration of Eq. (1) (solid line), along the radial direction at z = 0. As can be noticed the increase in the number of terms in the series expansion (22) results in an improvement of the matching between the analytical solution and the numerical calculation of the BS law. Whereas for r < 0.8R both calculations give similar results, for r approaching R a mismatch between the two methods is observed. This mismatch corresponds to the cut off in the series expansion (22), while for r > R this behavior is due to the non cenvergence of the series (22).


The difference between the analytical method, Bg(An)(r, z), and the standard BS method, Bg(BS)(r, z), can be analyzed using the relative difference between the magnetic fields (in part per million - ppm) obtained from both methods,

Figure 3 shows DBz(r, z=0) as a function of the radial position in the central transverse plane. While for N=5 both methods differ less than 10 ppm at r £ 0.4R, for N=10 the matching region is extended to r £ 0.6R, showing the importance of the number of terms in the Bz(r, z) series.


The contour plots in Fig. 4 are 2R×2R logarithmic maps of the relative differences DBz(r, z) and DBr(r, z), respectively, in the (r, z)-plane. In these figures the black-white transitions edges define contours where the magnetic field, calculated with the BS method and with the proposed method using N = 10, present a constant difference according to 10k=DBg, with k = 1, ¼, 5. Additionally a logarithmic grey scale was introduced in these figures to increase resolution, and the wire position is marked by solid circles. The extended white regions at the center of both figures, which represent differences in magnetic field that are less than 10 ppm, demonstrates that the vality region of this method, at z = 0, is a disk of radius Rd£ 0.6R but for z ¹ 0 we have disks with radius that increase with z.


IV Conclusion

In this work we proposed an analytical method to calculate the magnetic field from the BS law. This was applied to get expressions for calculating the magnetic field components due to a circular current distributions. This components can be expressed as a series expansion that converges over the extended region. The accuracy of the method inside the convergence region depends on the number of terms considered in the series expansion.

Acknowledgement

This research was partially supported by FAPESP project 96/05437-0.

  • [1] S. Crozier and D.M. Doddrell, J.Mag.Reson. 127, 233 (1997).
  • [2] E. Thomas, Jr., G.E. Sasser, S.F. Knowlton, et al. Comp.Phys.Comm. 100, 31 (1997).
  • [3] De-man Wang, Guang-mei Wei, Hui-cai Xie, et al., IEEE Trans. on Magn. 31, 2228 (1995).
  • [4] D. Tomasi, E.C. Caparelli, H. Panepucci and B. Foerster, J.Mag.Reson. 140, 325 (1999).
  • [5] J.D. Jackson, Classical Electrodynamics, (Wiley, New York, 1975).
  • [6] K.Yoda, J. Appl Phys. 67, 4349 (1990).
  • [7] E.C. Caparelli, D. Tomasi and H. Panepucci, J.Mag.Reson.Imag. 9, 725 (1999).
  • [8] I.S. Gradshteyn and I.M. Ryzhik, Table of Integrals, Series, and Products, Academic Press, Inc. (1980).
  • 1
    MATHEMATICA is a registered trademark of Wolfram Research, Inc.
  • Publication Dates

    • Publication in this collection
      23 Aug 2002
    • Date of issue
      Sept 2001

    History

    • Received
      20 June 2001
    • Accepted
      06 Aug 2001
    Sociedade Brasileira de Física Caixa Postal 66328, 05389-970 São Paulo SP - Brazil - São Paulo - SP - Brazil
    E-mail: marcio@sbfisica.org.br