5.1. Example 1
In this example, we calculate the mutual inductance, the radial, and the axial magnetic force as a function of the displacement of two non-coaxial loops with the parallel axes where we have
RP = 42.5 mm,
RS = 20 mm. The perpendicular displacement between coils axes is
d = 3 mm [
10]. All currents in the coils are 1 A.
In this example, we compare the results for the mutual inductance obtained by [
1] and Equation (1).
The absolute relative error is zero in each case. Here, we present another numerical approach to solve Equation (2) [
5], which is particularly interesting from an engineering perspective. Equation (1) is solved in
Table 1, using the summation of small segments of the interval over the range [0,
π], thereby avoiding numerical integration. This approach allows for a considerable reduction in computational time with very high accuracy. In
Table 2, we provide a comparative calculation of Equation (1) using both integration and summation methods.
Here, we use another numerical approach to solve Equations (4) and (5) [
5], which is particularly interesting from an engineering perspective. Equations (4) and (5) are solved using the summation of small intervals over the range [0,
π], thereby avoiding numerical integration. From
Table 2, we can see a very good agreement between the two numerical approaches with the absolute relative error 0.0097%.
ARE is the absolute relative error.
In
Table 3 and
Table 4, the radial and axial force calculations given for (4) and (5) are compared with the results obtained in [
10]. The single integration is used in (4) and (5). Clearly, we obtained identical results from the two approaches.
In
Table 5 and
Table 6, we provide a comparative calculation of Equations (4) and (5) using both integration and summation methods.
The results of the radial and axial forces are given in
Table 5 and
Table 6. All results are in very good agreement either by the numerical integration or the numerical summation. The absolute relative error is about 0.0075%. Thus, the validity of formulas (1), (4), and (5) is confirmed by the previous calculations.
In this example, all calculations were performed using a Dell laptop equipped with an Intel Core i5-12500H processor (Intel, Mountain View, CA, USA) running at 2.5 GHz, either for the single integration by the Gaussian numerical integration or the summation method.
5.2. Example 2
Parameters for two non-coaxial cylindrical coils with parallel axes given in [
13] are as follows,
Table 7.
The axial displacement between coils is c = 0.
Here, we will calculate the mutual inductance by the presented method using the filament method using the same and different numbers of the subdivisions. Our goal is to find the best accuracy and the smallest computational time, if possible.
Let us begin with the same number of subdivisions K = N = m = n = 20.
Table 8 presents the comparative results for the mutual inductance, obtained using both [
13] and Equation (6) from this work.
It is obvious from
Table 8 that results obtained by two different approaches are in very good agreement with the absolute relative error of about 0.055%, but the computational time for the filament method is considerably enormous and is not preferable from the engineering point of consideration. Thus, the same number of subdivisions is not the smart choice in the mutual inductance calculation using the filament method. We can have very good precision of obtained results but with considerably big computational time. This is why one must find a good compromise between the accuracy and the computational time in the choice of the number of subdivisions of coils. The computational time of the calculation in [
13] is not given.
This passage suggests that in
Table 8, the computational time varies despite having the same number of subdivisions. This inconsistency is likely due to the different numerical methods used. The method mentioned here uses a fixed number of segments, meaning the computation time is dependent on the number of segments rather than on specific parameter values. In contrast, more advanced numerical methods employ adaptive procedures. These adaptive methods adjust the computation dynamically based on the specific parameter values, which can lead to variations in computational time even if the number of segments remains constant.
Now, let’s conduct the following analysis concerning the coil dimensions and the number of subdivisions respecting the procedures given in
Section 4, by (9)–(14).
In this example, we have,
In
Table 8,
Table 9 and
Table 10, we give the calculations of the mutual inductance by the filament method where the values of
n subdivisions are different. All other subdivisions
K,
N and
m are in the function of
n as previously discussed.
From
Table 8,
Table 9 and
Table 10, we can see very good agreement between the two approaches. In all calculations, we have very high accuracy between two different approaches where the absolute relative error is about 0.0069% (
Table 9), 0.0043% (
Table 10), and 0.0029% (
Table 11). Also, for both methods, we have the same four significant figures for each calculation. Moreover, the calculation for the different numbers of subdivisions considerably reduced the computational time (
Table 7 and
Table 9) regarding the calculation for the same number of subdivisions (
Table 8).
Even though there is no considerable difference between the calculations regarding the accuracy given in
Table 7 and
Table 9, it is recommended to choose
K = 6,
N = 9,
m = 30 and
n = 3. Also, without any reserve, one can take
K = 8,
N = 12,
m = 40, and
n = 4 because of a very good accuracy and the relatively small computational time.
Figure 3 illustrates the required computation time as the subdivision numbers increase for the Example 2 parameters when
c (m) = 0. In this figure, the proposed subdivision selection method is compared with the conventional, even subdivision selection. The convergence to the exact solution [
13], which is depicted in the red line, is illustrated. Similar to
Figure 3, the evenly distributed subdivisions demand a high amount of computation time as n increases, yielding only marginal accuracy improvements. In contrast, the proposed subdivision selection method exhibits rapid convergence to the exact solution with 0.002
ARE in a short time. Remarkably, it outperforms the conventional method within the same computational time frame. The proposed method achieves instant convergence when
n = 1 in under 0.1 s, making it highly effective for scenarios with varying computational resources.
In
Table 9, we choose
n = 3, which gives
K = 6,
N = 9 and
m = 30.
In
Table 10, we choose
n = 4, which gives
K = 8,
n = 4,
N = 12 and
m = 40.
In
Table 11, we choose
n = 5, which gives
K = 10,
N = 15 and
m = 50.
In
Table 12, we choose
n = 5, which gives
K = 10,
N = 15 and
m = 50.
Also, we give the mutual inductance calculation obtained by the summation [
5] in
Table 12. These results are expected regarding the accuracy and the computational time because we used the summation [
5] instead of the integration [
1]. The number of the subdivisions is
K =
N =
m =
n = 20. These results are in good agreement with those obtained by two previous methods,
In the calculations of the radial and the axial forces, we will use the same reasoning when choosing the number of subdivisions.
In this example, all calculations were performed using different hardware setups. The single integration (Gaussian numerical integration) and the summation method were carried out on a Dell laptop with an Intel Core i5-12500H processor running at 2.5 GHz.
For the calculations using the Finite Element Method (FEM), a PC with an Intel Core i7-7700K CPU @ 4.20 GHz and 16.0 GB of RAM was used.
5.3. Example 3
From Example 2, let’s calculate the radial and axial magnetic forces between the coils in question. All currents in the coils are units.
Here, we utilize the number of subdivisions, K = 8, N = 12, m = 40, and n = 4, as determined in the previous example. This selection ensures both good accuracy and minimal computational time for the integral approach. In contrast, for the summation approach, the number of subdivisions is set to K = N = m = n = 20.
The comparison will involve using the Formula (8) for the radial magnetic force and (9) for the axial magnetic force, obtained through integration (as presented in this work), alongside the method that employs summation instead of integration, as outlined in reference [
5].
From
Table 13, we have a good agreement between the results obtained from two methods in which the numerical integration [
1] and the numerical summation [
5] are used on the interval of the consideration
. Obviously, the results for the radial magnetic force
Fr, (8) obtained by the numerical integration are more precise, but the method [
5] is usable as a comparative benchmark. The absolute relative error is between 0.1% and 1.06%.
From
Table 14, the axial magnetic force
Fa is zero for all points of the calculation, which is practically confirmed by the presented method, Equation (8). The second method [
5] doesn’t give exactly zero for the axial force
Fa because of the positive and negative variations during the summation on the interval of the consideration. The third method [
15] gives exactly zero due to the axial factor involved in the force Expression (15):
where
h1 =
a/2 and
h2 =
b/2, and
κ are the eigenvalues due to the introduction of artificial boundary, and it can be concluded that
Fa = 0 from
f2(
κ, 0) = 0.
In this example, all calculations were performed using a Dell laptop equipped with an Intel Core i5-12500H processor running at 2.5 GHz.
In this example, all calculations were performed using different hardware setups. The single integration (Gaussian numerical integration) and the summation method were carried out on a Dell laptop with an Intel Core i5-12500H processor running at 2.5 GHz.
For the calculations using the Finite Element Method (FEM), a PC with an Intel Core i7-7700K CPU @ 4.20 GHz and 16.0 GB of RAM was used.
5.4. Example 4
Here, we give this example that can be used as the benchmark problem for testing the different methods that treat the coils in question. All currents in the coils are units.
Parameters for two non-coaxial cylindrical coils with parallel axes given in [
6] and used in [
14] are in the following
Table 15.
Let us find the following values:
Now, let’s conduct the following analysis concerning the coil dimensions and the number of subdivisions respecting the procedures given in
Section 4, by (9)–(14).
The smallest dimension is
R2 −
R1 = 0.01397 m, which corresponds to the radial subdivision
N of the first coil. Let us express all subdivisions in the function of
N.
The next step is to find the best choice of subdivisions for the arbitrarily chosen smallest variable.
In
Table 16, for one calculation of the mutual inductance given in [
14], with
d = 0.006 m,
c = 0.059309 m, and
M = 44.7454180199 mH, we test different values of
.
Obviously, it is not logical to increase the number of subdivision N beyond 4 because the accuracy doesn’t change significantly while the computational time increases enormously. Moreover, it is not practical from the engineering point of view. Thus, the best choice is to take N = 3 or even N = 4.
We can further improve the accuracy and computational time of calculations by adjusting the number of subdivisions based on (13) and (14).
These two subdivisions may be increased by 1, 2, or 3, while the other two are decreased by 1, 2, or 3. This approach can significantly improve both accuracy and computational time.
From
Table 16, we begin with the choice of
N =
N1 = 3. Now,
K1 = 30,
N1 = 3,
m1 = 6,
N1 = 9.
After, we increase the two smallest variables by 1 and decrease the two largest variables by 1 1,
Table 17. This process can be continued using the same logic, successively incrementing and decrementing the variables by 1. This means
K2 = 29,
N2 = 4,
m2 = 7,
N2 = 8 and so on.
From
Table 17, one can see that the previous statement is effective, as the accuracy does not change significantly, and neither does the computational time.
Practically, we proposed a new approach to choosing the optimal numbers for the variables (subdivisions) that archives very high accuracy and the shortest possible time of calculation.
Let us choose
N = 3, that gives
Now, we calculate the mutual inductance given [
14] by the presented method and test the computational time and accuracy. All comparative results are given in
Table 18.
For the previously chosen number of subdivisions,
K = 30;
N = 3;
m = 6;
n = 9, we calculate the radial and the axial magnetic force between the coils in question. The method given in [
15,
16] is used as the comparative method. The calculation of
Fr and
Fa can be used as the benchmark problem for tasting other methods for calculating these two magnetic forces for coils in question regarding the accuracy and the computational time.
From
Table 17 and
Table 18, one can see very good agreements of results obtained by two different methods, even though there are some differences for some points of the calculations. It can be explained by the following facts.
- (1)
The presented method treats two coils of the rectangular cross-section with the parallel axes in the unbounded space libre, which are divided into circular filamentary coils. To account for the finite dimensions of the coils, massive solenoids are subdivided into meshes of filamentary coils, as shown in
Figure 2. The cross-sectional areas of two coils are divided into (2
K + 1) by (2
N + 1) cells for the first coil and (2
m + 1) by (2
n + 1) cells for the second coil, where
K,
N,
m, and
n are the numbers of the subdivisions of coils [
8,
10,
12]. Even though we use the analytical Maxwell’s formulas for the mutual inductance or the magnetic force between two circular loops, we cannot say that the presented filament method for the massive coils is purely analytical because its precision and the computational time depend on the number of subdivisions. This statement was studied in the previous examples. As shown, the number of subdivisions has an influence on accuracy.
- (2)
The compared method is a boundary value problem of circular coils with parallel axes shielded by a cuboid of high permeability. This means the coils are bounded by a medium of high permeability regarding the free space, in which there are coils, where the mixed boundary conditions are satisfied on six surfaces of the artificial cuboid. Thus, this approach is approximate, but it proves to be accurate and efficient enough for practical applications. This means that this method can bring some differences in accuracy.
In
Table 19 and
Table 20, the computation of the radial and axial forces is presented, comparing the results of this work, Equations (7) and (8), with those given in [
15,
16].
Even though we compare the results obtained by two different methods, one for open space and the other for artificial boundaries in bounded space, both give very satisfactory results for calculating the magnetic force between two coils of rectangular cross-sections with parallel axes.
With (1) and (2), we explain the possible differences in accuracy for some cases of calculation.
In this example, all calculations were performed using different hardware setups. The single integration, including the Gaussian numerical integration, was carried out on a Dell laptop (Dell, Inc., Round Rock, TX, USA) with an Intel Core i5-12500H processor running at 2.5 GHz. For the calculations using the Finite Element Method (FEM), a PC with an Intel Core i7-7700K CPU @ 4.20 GHz and 16.0 GB of RAM was used.
5.5. Example 5
Finally, we give the rare examples that can be found in the literature to calculate the mutual inductance between two non-coaxial coils of the rectangular cross-section with the parallel axes [
1]. All currents in the coils are units.
For this combination, the dimensions and the number of turns is as follows:
The perpendicular displacement of two coil axes is d = 10 cm, and the axial displacement of the centers of the two coils is c = 10.5 cm.
In [
1] the mutual inductance is,
According to the optimal minimizing method given by the presented approach concerning the high accuracy and the short computational time, after some tests, we choose the number of the subdivisions K = 30; N = 6; m = 15 for arbitrarily chosen n = 9.
Using the approach presented in this paper, the mutual inductance is
The elapsed time is 17.133452 s, Intel Core i5-12500H @ 2.5 GHz.
The method of [
15,
16] gives
The elapsed time is 5.2 s on an Intel Core i7-8700 @ 3.2 GHz.
The absolute relative error regarding the accuracy between the presented method and the one given in [
15,
16] is around 0.029%.
In [
1], the mutual inductance is calculated using the general formula of Dwight and Purssell, ref. [
19] arranged as series involving zonal harmonics, Equations (190) and (191) [
1]. The convergence of this series is sufficient for most purposes as long as all distances
are greater than (
A +
a), where
dm,
ρ is the perpendicular displacement of two coil axes and the axial displacement of the centers of the two coils, respectively.
A and
a are the mean radii of two coils of rectangular cross-section, respectively, refs. [
1,
30]. Since the general term of the series is known, it should be possible to use over the full range. However, the calculation of higher power terms becomes very tedious and time-consuming [
1]. This is why Grover took only four terms of this series and obtained
M = 3.144 µH. It was problematic to take more terms because of the mentioned issues [
1] as well as very slow convergence.
We did many tests of (190) and (191), ref. [
1] from which we found very slow convergence. For two terms more, we obtain
The absolute relative error discrepancy is 0.27%. Taking still more terms whose signs change alternatively will oscillate without significantly improving the accuracy because of the slow convergence.
However, these formulas are not working correctly for the different coil dimensions, as mentioned in [
1]. This is why we consider the approach presented here as general for any coil’s dimensions.
Now, let us calculate the radial and the axial magnetic force between the coils in question, respecting all parameters in the previously calculated mutual inductance.
As a comparison, the method of [
15,
16] gives
Obviously, all results are in very good agreement.
The calculation provided by the presented method could also serve as a benchmark for other methods addressing this problem. Additionally, this method could be automatically applied to calculate the mutual inductance and the magnetic force between other coil configurations (solenoids, disks) with parallel axes.