Understanding Magnetic Field Strength Calculation for Cylindrical Coils

Physics

A cylindrical coil is employed to generate a robust magnetic field within a specific domain. The coil achieves this by winding the same wire multiple times around a cylindrical structure, amplifying the magnetic field's strength. The term "N" represents the number of loops or turns the cylindrical coil contains, with a higher number of turns resulting in a more potent magnetic field.

Our objective is to calculate the magnetic field strength, denoted as "B," at a point "P" situated along the axis of a cylindrical coil. This coil possesses certain characteristics, including a length "L," radius "R," "N" turns, and it carries an electrical current "I." As per the Biot-Savart law, the magnetic field generated by a current loop is determined by the following formula:


$$ d B_Z = \frac{\mu_0 R^2 \, d_i}{2 r^3} $$

Where $$ \mu_0 = 4 \pi \times 10^{-7} \, \text{H/m} $$  is the vacuum permeability.

Schematic of a cylindrical coil

Figure 1 - Schematic of a cylindrical coil

To calculate the total magnetic field on the axis of the cylindrical coil, we need to consider the contributions from all the individual loops within the coil. To do this, we can divide the length of the cylindrical coil into small elements of length "dz" to sum up the magnetic fields from each of these elements.
The number of coil turns contained within a length "dz" space can be calculated as follows:

$$ \frac{dN}{dz} = \frac{N}{L} $$

Therefore:      

$$ dN = \frac{N}{L} \, dz $$

The total current in a length $$ dz $$ is:

$$ di = I \, dN = \frac{I N}{L} \, dz $$

The magnetic field contribution $$ dB $$  at point $$ P $$ due to each element $$ dz $$  carrying current $$ di $$ is:

$$ dB_Z = \frac{\mu_0 R^2}{2 r^3} \, I \, \frac{N}{L} \, dz \quad \text{(1)} $$

For each element of length $$ dz $$ along the length of the cylinder, the distance $$ z $$ and the angle $$ \alpha $$ change, while the value of  $$ R $$ remains constant.From figure 1 we have:

$$ r = \frac{R}{\sin(\alpha)} $$

and

$$ \cos(\alpha) = -\frac{z}{R} \quad \text{(2)} $$


Expression (2) can be differentiated as:

$$ -\frac{d \alpha}{\sin^2 \alpha} = -\frac{d z}{R} $$

 
Which results with: 

$$ d z = \frac{R \, d \alpha}{\sin^2 \alpha} $$

Formula for $$ d z $$ and formula for $$ r $$ can be substituted in the equation (1):

$$ d B_Z = \frac{\mu_0 I N \sin \alpha}{2 L} \, d \alpha $$

Total magnetic field $$ B_z $$  at any point on the axis can be obtained by integrating from $$ \alpha_1 $$ to $$ \pi - \alpha_2 $$ :

$$ B_z = \int_{\alpha_1}^{\pi - \alpha_2} \frac{\mu_0 I N \sin \alpha}{2 L} \, d\alpha = \frac{\mu_0 I N}{2 L} \int_{\alpha_1}^{\pi - \alpha_2} \sin \alpha \, d\alpha = \frac{\mu_0 I N}{2 L} \left( \cos \alpha_1 + \cos \alpha_2 \right) $$

$$ B_z = \frac{\mu_0 I N}{2 L} \left( \cos \alpha_1 + \cos \alpha_2 \right) $$

Hence this expression gives the magnetic field at point on the axis of a cylindrical coil of finite length.

Model

A cylindrical coil with the following specifications: length 200mm, radius 5.5 mm, 100 turns, and carrying a current of 10 A, is modeled and simulated using Magnetostatic study 1 in EMS. In the simulation, copper is assigned as the material for the cylinder body, while air is used to represent the inner air of the cylinder and the rest of the assembly.
To ensure accurate magnetic field results, it is important to create a sufficiently large air domain. If you need guidance on how to assign materials in EMS, you can refer to the example titled "Computing capacitance of a multi-material capacitor." Additionally, if you want to learn how to define the air domain in EMS, you can consult the example titled "Electric field inside the cavity of a charged sphere."

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

Coil

To consider the magnetic field along the axis of the cylindrical coil, you should define a "Wound Coil" in EMS. This coil should have 100 turns and an RMS current magnitude per turn of 10A.
To apply the EMS Coil feature to the cylinder, you'll need to access its cross-sectional surface. Therefore, it's necessary to split the cylinder part into two bodies. If you need instructions on how to perform this split, you can refer to the example titled "Magnetic field on axis of a current loop."
Figure 3 in the documentation displays the Entry and Exit ports of the Coil. In this particular case, the Exit port is the same as the entry port. For detailed guidance on how to define the Wound Coil, you can review the example titled "Force in a magnetic circuit."

 Entry and Exits ports of the Coil

Figure 3 - Entry and Exits ports of the Coil

Mesh

Meshing plays a vital role in EMS simulations, and achieving quality meshing in both the inner air region and the cylinder is crucial for accurate magnetic field calculations. To maintain accuracy without significantly increasing the total number of mesh elements, it's recommended to apply a mesh control with a 0.75 mm element size.
For step-by-step instructions on how to apply this mesh control, you can refer to the example titled "Force in a magnetic circuit."

Results

To display the variation of the magnetic field along the axis of the cylinder, before running the simulation:

  1. In the Assembly, Select the ZX plane and sketch a line 6 along the z axis (axis of the coil), with a length equal to the length of the coil.

  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 7and select Update geometry 8.

  4. Mesh and run the study.

Once the simulation is complete:

  1. In the EMS feature tree, Under Results 8, right click on the Magnetic Flux Density folder10 and select 2D Plot then choose Linear.         

  2. The 2D Magnetic Flux Density Property Manager Page appears.

  3.  In the Select points tab, click Import.

  4. Click OK 11.

The theoretical and EMS result of the magnetic flux density along the axis of the cylindrical coil are plotted in Figure 4.
It’s obvious that EMS result comply with the Biot-Savart law.

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

Conclusion

This application note delves into the computation of the magnetic field strength "B" along the axis of a cylindrical coil, guided by the Biot-Savart law. It meticulously derives a formula for calculating the magnetic field produced by a cylindrical coil, characterized by its number of turns "N", length "L", radius "R", and the electric current "I" it carries. This derivation involves segmenting the coil into infinitesimally small sections to aggregate the magnetic contributions from each, culminating in an integrated expression for the total magnetic field at any axial point.
The practical exploration of the study is illustrated through the modeling of a cylindrical coil specified with a length of 200mm, radius of 5.5mm, 100 turns, and carrying a current of 10A. The simulation, executed using a Magnetostatic study tool, underscores the significance of precise meshing and the establishment of an adequately large air domain for accurate magnetic field assessments. The modeling process includes defining a "Wound Coil" feature, essential for accurately capturing the coil's magnetic field along its axis.
Results are presented through a process that visualizes the magnetic field variation along the coil's axis, providing a detailed guide for generating a 2D plot of the magnetic flux density. The comparison between simulation results and theoretical calculations derived from the Biot-Savart law affirms the simulation model's accuracy, illustrating the tool's adherence to physical laws.
 
Share on
By visiting or using this website you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View cookies details.