Get a Free Trial
HOME / Applications / Calculating Magnetic Field on the Axis of a Current Loop

Magnetic Field on Axis of a Current Loop

Used Tools: ems solidworks

The Biot-Savart law

The Biot-Savart law enables the calculation of the magnetic field created by electric currents. It's a universal law applicable to various current configurations. Essentially, it says that a very small segment of a current-carrying wire generates a magnetic flux density at a certain distance away. This concept is fundamental in understanding how electric currents produce magnetic fields.
The law states that an infinitesimally small current-carrying path space I d l spaceproduces magnetic flux density space stack d B with rightwards arrow on top at a distance r:

space stack d B with rightwards arrow on top equals fraction numerator mu subscript 0 space I over denominator 4 pi end fraction space fraction numerator space space stack d l with rightwards arrow on top cross times space r with hat on top space over denominator r squared space end fraction

Where mu subscript 0 equals 4 pi cross times 10 to the power of negative 7 end exponent space H divided by m space is the vacuum permeability and r with hat on top is the unit vector in the direction of the distancespace r space left parenthesis r with hat on top equals fraction numerator r with rightwards arrow on top over denominator r end fraction right parenthesis. In symmetric problems, it is possible to simplify the analysis and obtain a closed form solution. The field on the axis of a current carrying loop can be easily computed using the Biot-Savart law, due to the fact that only z axis component d stack B subscript z with rightwards arrow on top equals d B with rightwards arrow on top sin theta of the  stack d B with rightwards arrow on top spacevector contributes to the resultant field intensity (Fig. 1):

d B subscript Z equals space fraction numerator mu subscript 0 I over denominator 4 pi space end fraction space fraction numerator d l over denominator r squared end fraction sin capital theta equals fraction numerator mu subscript 0 space I over denominator 4 pi end fraction fraction numerator d l over denominator r squared end fraction R over r equals fraction numerator mu subscript 0 space I over denominator 4 pi end fraction space fraction numerator R over denominator left parenthesis R squared plus z squared right parenthesis to the power of 3 divided by 2 end exponent end fraction space d l

Biot-Savart law and field on centerline of a current loop
Figure 1- Biot-Savart law and field on centerline of a current loop

The total flux density at a point on the centerline at a distance z is found by integrating the expression for  over the circumference of the loop:

stack B subscript z with rightwards arrow on top equals space fraction numerator mu subscript 0 space I over denominator 4 pi end fraction space fraction numerator R over denominator left parenthesis R squared plus z squared right parenthesis to the power of 3 divided by 2 end exponent end fraction contour integral d l equals fraction numerator mu subscript 0 space I over denominator 4 pi end fraction space fraction numerator R over denominator left parenthesis R squared plus z squared right parenthesis to the power of 3 divided by 2 end exponent end fraction 2 pi space R equals fraction numerator mu subscript 0 space I R squared over denominator 2 left parenthesis R squared plus z squared right parenthesis to the power of 3 divided by 2 end exponent end fraction

For a current I equals 100 Aand loop radius R equals space 100 space m m, the axial magnetic field is B subscript Z equals fraction numerator mu subscript 0 over denominator 2 left parenthesis 10 to the power of negative 2 end exponent plus z squared right parenthesis to the power of 3 divided by 2 end exponent end fraction T.

Model

In a simulation using EMS, a thin toroid with a 5mm cross-sectional radius and a 100mm loop radius is modeled in a Magnetostatic study. Copper is used as the material for the toroid, while the remainder of the assembly is air. For precise magnetic field measurements, it's crucial to create a sufficiently large air domain.
For guidance on assigning materials in EMS, refer to the example “Computing capacitance of a multi-material capacitor.” Additionally, the “Electric field inside the cavity of a charged sphere” example provides insights into defining the air domain in EMS.

.

Solidworks model of the studied example
Figure 2 - Solidworks model of the studied example

Solid Coil

To apply the EMS Coil feature to the Toroid, access to its cross-sectional surface is needed. Therefore, the procedure involves splitting the Toroid into two separate bodies. This step is essential for the proper application of the feature in the simulation process. For detailed instructions on how to split the Toroid part, you can refer to the source for more comprehensive guidance.

  1. Select the Toroid part in the Solidworks feature manager
  2. Click Edit component 2m in the Solidworks Assembly tab
  3. In Solidworks menu click Insert/Molds/Split
  4. In the Split feature manager, select the Top Plan of the Toroid in the Trim Tools Tab and Click Cut Part
  5. In the Resulting Bodies tab, Click Select all.
  6. Click OK 3m 
To add a solid coil to a Magnetostatic study:

In the EMS feature tree, Right-click on the Coils4mfolder, select Solid Coil 5m .
Click inside the Components or Bodies for Coils box 6m.
Click on the (+) sign in the upper left corner of the graphics area to open the components tree.
Click on the Toroid icon.  It will appear in the Components and Solid Bodies list.
Click inside the Faces for Entry Port box 7m then select the entry port face.
In the Exit Port Tab, Check “Same as Entry Port“. (Figure 3)

General Properties:

  1. Click on General properties tab.
  2. Keep default Coil Type as a Current driven coil.
  3. Type 100 in the Net current mmfield.
  4. Click OK3m .

Entry and Exits ports of the Solid Coil
Figure 3 - Entry and Exit ports of the Solid Coil

Results

To be able to display the variation of the magnetic field along the axis of the Toroid, before running the simulation:

  1. In the Assembly, Select the ZX plane and sketch a line 9mgoing from the center of the toroid along the z axis, with a length of 100mm.
  2. Then Insert/Reference geometry/Point and add a Reference point for each end of the line.
  3. In the EMS feature tree, right click study 10m and select Update geometry 11m.
  4. Mesh and run the study. 

Once the simulation is complete:

  1. In the EMS feature tree, Under Results12m, right click on the Magnetic Flux Density folder and13m select 2D Plot then choose Linear.         
  2. The 2D Magnetic Flux Density Property Manager Page appears.
  3.  In the Select points tab, select the start and the end points.
  4. Click OK3m

The comparison of the theoretical and EMS calculated magnetic flux density along the toroid's axis is shown in Figure 4, where both results display a high level of agreement. This illustrates the accuracy and reliability of the EMS simulation in replicating theoretical predictions for magnetic flux density in this context. For a detailed view and further analysis, you can refer to the original source.

Comparison of EMS and theoretical results for magnetic flux density along the axis of a toroid

Figure 4 - Comparison of EMS and theoretical results for magnetic flux density along the axis of a toroid

To plot magnetic flux density in the space around the current loop (Figure 5):
  1. Under Results 12m, right click Magnetic flux density13m in the EMS feature tree
  2. Select 3D Vector Plot 14m, Section Clipping15m .
  3. Under Section Clipping tab, select one of the sections that contain the system centerline.
  4. Under Vector Options tab, define size, density and shape of the vectors in the plot.                                                                                                                                                                         

Section plot of the magnetic flux density
Figure 5 - Section plot of the magnetic flux density

Conclusion

This application note elucidates the principles of the Biot-Savart law and its application in calculating magnetic fields generated by electric currents, focusing on a case study using EMS for a toroidal model. The Biot-Savart law, fundamental for understanding electromagnetic fields, is explored through the lens of a current-carrying loop, highlighting the law's role in predicting magnetic flux density with precision. A practical simulation involves a toroid made of copper, modeled in a Magnetostatic study to measure magnetic fields accurately, emphasizing the importance of a well-defined air domain for simulation accuracy.
The EMS software's capabilities are showcased in applying the Coil feature to the toroid, detailing the process for splitting the toroid part for simulation readiness. Results from the simulation are compared to theoretical predictions, demonstrating a high level of agreement and underscoring EMS's effectiveness in magnetic flux density analysis.
Conclusively, this note not only bridges theoretical physics with practical application through detailed simulations but also validates the use of EMS in accurately predicting magnetic field behavior around electric currents, offering significant insights for electromagnetic research and engineering applications. The comparison of theoretical and EMS results for magnetic flux density further emphasizes the reliability of simulations in replicating and understanding complex physical phenomena.

Download Application Model

Share on