Abstract
A pseudo density topology optimization approach is introduced in nonlinear electromagnetism, which follows the SIMP (Solid Isotropic Material with Penalization) method. The adjoint approach is used to arrive at the sensitivity of the objective function. The elaborated optimization procedure includes nonlinearity of the ferromagnetic material. On the other hand, an applied linear characteristic of the ferromagnetic material results in a too small or wrong electromagnetic actuator dimension. Non-conforming grids are used to achieve a high accuracy by computing the discrete form. At the same time the number of finite elements decreases strongly. The implementation is applied to an electromagnetic actuator in 2D and 3D.
Introduction
There are different approaches in literature to optimize electromagnetic actuators. In general, they can be divided into deterministic and metaheuristic algorithms as discussed in [1]. Considering the computational effort of stochastic methods as demonstrated in [2], we are focused on a gradient based optimization method.
In [3], a level set method is applied for the geometrical shape parameterization of an electromagnetic actuator. Therein, the sensitivity is computed by the adjoint method. Further shape optimizations of electromagnetic actuators are carried out in [4]. General approaches for determining sensitivities are presented in [5]. Mutual energy method is used in [6] to optimize a transformer core. A density based method for electromagnetism is introduced in [7], which follows the ideas in [8] for stiffness optimization. Optimized material distribution (OMD) in electromagnetism is presented in [9]. The SIMP (Solid Isotropic Material with Penalization) method from [10], which is constructed for the stiffness optimization in structural mechanics is introduced in electromagnetism by [11]. The approaches above do not consider material nonlinearity, which is of outermost importance for realistic magnetic field computations in ferromagnetic materials.
Nonlinear material behaviour is considered in [12] for optimizing an electromagnetic actuator. Therein, design variables take into account via the magnetic permeability. Additionally, the adjoint method is derived by the use of the continuum approach. In [13] the magnetic reluctivity is modified by design variables to achieve a better convergence. The magnetization direction is considered for a density based optimization method in [14] and [15]. Based on the discrete equilibrium, the adjoint method was derived in [16]. Therein, a nonlinear density based optimization method for electromagnetism is used. The approach was limited to a nonlinear problem considering a 2D nodal finite element formulation with conforming grids. In [17], multiple design variables for a simultaneous optimization of domains with different material properties are introduced. A concurrent coil and yoke optimization in electromagnetism is performed in [18]. A magnetic field optimization driven by a permanent magnet is considered in [19]. The magnetic energy in a harmonic excited magnetic field is maximized in [20]. The design dependency is introduced via the magnetic permeability. All the mentioned approaches are applied to 2D problems. Besides, conform meshes are used in the different approaches. By the authors best knowledge a density based optimization approach for nonlinear electromagnetism was not applied to electromagnetic actuators in 3D considering nonlinear material behaviour and using non-conforming grids.
With this in mind, we extend our SIMP approach for the magnetostatic case from [16], to perform nonlinear electromagnetic optimizations in a 3D edge finite element formulation. The design variables are introduced via the magnetic reluctivity. In addition, non-conforming interfaces are used to minimize numerical errors caused by distorted elements as the research in [21] shows. The implementation is applied to an electromagnetic actuator, for which the yoke domain is optimized.
Physical equations
According to Maxwell’s equations the magnetic flux density
Assuming an isotropic material, the magnetic flux density

Nonlinear B–H curve in electromagnetism.
To solve the nonlinear PDE in ((3)), an operator

Pole force evoked due to a permeability change with μ1 > μ2.
The physical quantity to optimize in this approach is the electromagnetic force at an interface as shown in Fig. 2, which is evoked by a permeability change. There are different approaches to compute the pole force as explained in [29] and [30]. We are following the ideas in [31] and [32] to compute the force by the use of Maxwell’s stress tensor. In [22], the Maxwell stress tensor is defined by
In electromagnetism, it is important to model the interface conditions between two media with different material properties in a correct physical manner. Thereby, the magnetic vector potential has to fulfill the following transmission conditions
Element wise design parametrization – or, as it is usually called, the SIMP approach – allows to formulate a material distribution problem of the type first discretize, then optimize. Based on the finite element discretization, we use element wise design variables 𝜌
e
with the property
The parametrization leads to design dependent element stiffness matrices
Our motivation is to maximize the attractive force
The optimal design with respect to maximum force
In [12] the sensitivities are obtained from the continuum based equilibrium. In this approach we use the discretized equilibrium. The equivalent augmented cost function reads as

Optimization workflow for a topology optimization using SIMP method.

2D reference configuration for optimization.

Optimization of the electromagnetic actuator from Fig. 4(a). An initial design variable was assumed by 𝜌 e = 0.4. The air gap distance between yoke and anchor was 1 mm. Additionally, a nonlinear material behaviour was assumed for yoke and anchor.

Comparison of the magnetic leakage flux for the nonlinear case in the air gap between the poles of the yoke along the dashed line from Fig. 4(a) between reference configuration (see Fig. 4(a)) and optimized design (see Fig. 5(a)). Here, the variable δ represents the range from the coil towards the anchor.

Optimized solution using non-conforming meshes in the air gap. The air gap distance between yoke and anchor is varied. A nonlinear material behaviour for anchor and yoke was taken into account.

Force behaviour during iteration for different air gaps. The values were standardized to the maximum force value of each curve.

3D reference configuration for optimization.

Convergence plot of a density based optimization. The reference configuration (full material) is shown in Fig. 9(a). The optimization starts with 𝜌 e = 0.4. Non-conform interfaces are used in the air gap. The air gap distance between yoke and anchor is 1 mm. Additionally, a nonlinear material behaviour is assumed for yoke and anchor.

Optimized 3D geometry, assuming a nonlinear material behaviour for yoke and anchor. Interface conditions are fulfilled by the use of edge elements. Non-conforming interfaces are used in the air gap between yoke and anchor. The air gap distance between yoke and anchor is 1 mm.

Optimized 3D geometry, assuming a linear material behaviour for yoke and anchor. Interface conditions are fulfilled by the use of edge elements. Non-conforming interfaces are used in the air gap between yoke and anchor. The air gap distance between yoke and anchor is 1 mm.
The electromagnetic actuator in 2D which has to be optimized is displayed in Fig. 4(a). It consists of a yoke, an anchor and a copper coil. A nonlinear material behaviour is assumed for the yoke and the anchor. Applying non-conforming interfaces based on Nitsche-type mortaring, we arrive at a non-conform mesh as shown in Fig. 4(b). The discretized configuration is optimized by a density based optimization approach. The copper coil is impressed by a current density
Obviously, a leakage flux between the two poles of the yoke (crossing the dashed line in Fig. 4(a)) can be minimized by expanding the gap between the two poles of the yoke as shown in Fig. 6. Therein, the magnetic leakage flux is plotted along the dashed line from Fig. 4(a). The variable δ in Fig. 6 represents the range from the coil towards the anchor as shown in Fig. 4(a). A further material reduction is performed in the upper and lower corners of the actuator as Fig. 5(a) shows. Moreover, the optimization results depend on the air gap distance between yoke and anchor as shown in Fig. 7. Therein, the air gap between yoke and anchor was varied in the range of 0.05 mm until 2 mm. Moreover, the initial design variable was chosen with 𝜌 e = 0.4 to obtain results under equal conditions. The results show a difference in the magnetic field distribution as well as in the optimized actuator design, especially at the poles of the yoke. The optimization was performed with a nonlinear material behaviour. Figure 8 shows the convergence of the force during optimization. For comparison, the values were standardized to the maximum force value of each curve. At the beginning of the optimization process there were differences in the convergence behavior. These disappear with an increasing number of iterations. Nevertheless, minor deviations occur due to the different material saturation states.
A 3D model of an electromagnetic actuator is shown in Fig. 9(a). It consists of a yoke and an anchor with nonlinear material behaviour. The impressed current density follows Eq. (31). On the outer boundary, (32) has to be fulfilled. Edge elements are used to fulfill the interface conditions. The non-conforming mesh in the air gap is shown in Fig. 9(b). Because of the major computational effort in 3D, symmetry conditions are used for symmetry plane 1 and 2 as shown in Fig. 9(a). A constant air gap between yoke and anchor of 1 mm was assumed.
The convergence behaviour is plotted in Fig. 10. Therein, a nonlinear material behaviour for the yoke and anchor was assumed. The optimization procedure starts with an initial design variable of 𝜌 e = 0.4. The obtained result is presented in Fig. 11(a). Figure 11(b) shows the optimized geometry from the front, and Fig. 11(c) from the rear side. Equally to the 2D example, a material reduction took place in the upper and lower corners of the yoke. The same applies to the poles of the yoke. Especially on the rear side of the yoke a major material reduction was performed. For comparison, optimization was also carried out under the assumption of a linear material behavior. The final result is presented in Fig. 12. A mentionable difference occurs at the poles of the yoke. This can be attributed to the increased magnetic flux concentration in the finite elements under the assumption of a linear magnetic material behaviour.
We showed a pseudo density topology optimization approach for the maximization of the magnetic force in the magnetostatic setting based on nonlinear material modeling, which is applicable in 3D. Additionally, non-conforming interfaces were introduced to prevent numerical errors due to distorted elements. Moreover, the number of unknowns reduces strongly.
The formulation of the objective function allows to maximize the magnetic flux density for a prescribed direction, and thus the magnetic force in a selected region. The pseudo density topology optimization parametrization (also known as SIMP 1 model) is used in combination with the adjoint approach. The sensitivity was derived from the discrete equilibrium. The design variables interpolate via the magnetic reluctivity between air and iron. An increase in penalization on the design variables was not necessary to obtain a clear distinct result. The optimization was performed without a volume constraint. By this, the obtained designs are of optimal shape with optimal volume fraction. In 3D edge elements are applied to fulfill the interface conditions. Besides, non-confoming interfaces are used to prevent numerical errors due to distorted elements. By this, the obtained designs are of optimal shape with optimal volume fraction. The gap between the poles in the optimized designs is such that the leakage flux is significantly below the flux of the initial configuration. Furthermore, the sharp corners of the yoke have been removed and results in a weight reduction.
Footnotes
1
Solid Isotropic Material with Penalization
