Abstract
In this paper multi-objective optimization techniques are applied to the design of magnetic gears in order to maximize the performances and to obtain a competitive device. A parallelized stochastic algorithm is implemented and an analytical tool based on magnetic fields computation and losses estimation is used to compute the multi-objective function. This FEM-free computational model can be used in the initial stages of product development.
Introduction
In all applications where high torques are required, a common solution is the use of mechanical gearboxes. These devices are characterized by low complexity and high torque to weight ratios but suffer from very strict maintenance requirements. Mechanical gears may also suffer from noise, vibrations and depending on the design parameters a complex lubrication system may be required. Magnetic gears are their electro-mechanical counterparts. Since in these devices the high speed rotor and the low speed rotor have no mechanical contact, the transmission efficiency is high, bulky lubrication systems are not necessary and a maintenance free operation may be guaranteed [1]. The main drawbacks are the greater design complexity and the lower torque to weight ratio that can be achieved unless proper design optimization techniques are used, as in this work. Magnetic gears differ from traditional electrical machines and the design procedures have to be reviewed, but the targets are similar: a good design has to maximize the torque per unit weight and the conversion efficiency while minimizing torque ripple and costs. The design problem is therefore a multi-objective optimization problem, where classical stochastic optimization strategies may be applied if a computationally sufficiently fast and accurate model of the magnetic gear can be provided.
Gear fundamental equations
If
If the iron poles are kept fixed, the relation between the rotor speeds are:
where
Two different approaches are adopted to solve the magnetic problem inside the low and high permeability regions.
Low permeability regions modelling
Magnetic gear structure and subdomains. According to [2], the regions are: Inner magnets 
The formulation adopted for low permeability regions is the one proposed in [2]. The iron permeability is assumed to be infinite and the eddy currents induced in the magnets are neglected. From the 2D Gauss law, the magnetic flux density is
where
and therefore in cylindrical coordinates:
In the air regions this reduces to the Laplace equation:
At the inner and outer boundaries the flux lines have to be normal to the iron regions in the hypothesis of infinite permeability:
At the interface between the inner magnets and inner airgap, the magnetic field in cylindrical coordinates is
At the interface between inner airgap and slots, the continuity of the potential and of the tangential component of the magnetic field have to be guaranteed:
while at the interface between inner airgap and iron poles the boundary condition is an homogeneous Neumann constraint since the flux lines are normal to the iron regions with infinite permeability:
The same condition of normal flux lines is imposed at the interfaces between iron poles and slots:
Equations (8) and (9) hold also for the interface between outer magnets and airgap. The PDEs that have to be solved are:
Using the separation of variables, the general solution inside the air regions is:
where all the coefficients have to be calculated for each harmonic
For high permeability regions a finite difference approach has been adopted. The magnetostatic equation in terms of vector potential reads:
which for the 2D case in cylindrical coordinates becomes:
which is solved using a finite difference method applied to a regular grid in cylindrical coordinates (Fig. 2). In Eq. (15) the first and second derivatives have to be computed. The first and second derivatives with respect to an arbitrary coordinate
Magnetic vector potential boundary condition for iron regions. 
Once a regular grid is built inside the iron regions, the previously computed boundary potential
Table 1 shows the validation of the analytical model with results obtained with a commercial FEM software. Iron losses have been computed using the same Steinmetz based approaches while magnets losses are computed as eddy current losses. The analytical results are in good agreement with the FEM ones.
Optimization objectives
In order to obtain a competitive device, the magnetic gear has to be optimized, as discussed in [5]. Depending on the application requirements, the objectives can be different e.g. overall weight, dimensions, torque density, torque ripple, magnet quantity, efficiency. The optimization variables are all the geometrical dimensions, the number of inner or outer poles and the materials used to build the magnetic gear.
The problem to be solved is heavily constrained. The constraints can be divided in two categories: the explicit ones depend directly on variables or functions of variables and their evaluation does not require any simulation results while the implicit ones involve the objectives or other quantities computed through the simulation results. While the former can be checked directly before evaluating the objective function, the latter can be verified only after the objective function has been calculated and thus computational resources have been spent. In the case of real constrained problems, such as the present one, the probability of unfeasible population members is generally high due to both implicit and explicit constraints. The detection of constraint violations at the beginning of the parallel function evaluation reduces memory and processor usage significantly. Depending on the adopted parallel structure, the population size can be chosen to be bigger than the number of cores relying on the fact that in each iteration some individuals will be unfeasible. Depending on the model accuracy, several constraints can be included. The ones that have been implemented are:
where the preliminary checks refer to the evaluations of constraints in the expected worst cases of rotors alignment. These checks are run at the beginning of the objective evaluation and their violation terminates immediately the objective function calculation.
Optimal magnetic gears: semi-analytical (S.A.) validation through a FEM code
For the sake of brevity only the preliminary temperature constraints and the poles displacements constraints are discussed. The temperature in the inner and outer magnets is limited because of demagnetization issues. Considering the
In Eqs (19) and (20)
The mechanical constraints are related to the forces acting on the gear domains which are computed through the Maxwell stress tensor integration. In Eq. (21) the Maxwell tensor
In the simple hypothesis of beams fixed at both extremities, the maximum displacement
where
Further thermal and mechanical models are not discussed here for the sake of brevity but are included in the optimization loop. The algorithm that has been chosen for solving the magnetic gear optimization problem is a multi-objective differential evolution (DE) described in [10]. According to [6], constraint handling in an evolutionary algorithm (EAs) is not straightforward because the mutation and recombination operators are “blind” to constraints. Effectively there is no guarantee that if the parents satisfy the constraints the offspring will satisfy them as well. EAs therefore perform an unconstrained search and are intrinsically not very well suited to handle constrained problems unless such problem is properly addressed.
Constraints can be handled directly or indirectly: in the former approach the constraints are directly applied to the EA while in the latter the distance from the feasible area is added as an additional objective. Using the direct approach unfeasible points can be repaired, eliminated or preserved through special operators [7]. Elimination is the simplest approach but can easily result in a very inefficient procedure. A more sophisticated procedure is the indirect implementation: since the distance from the feasible region is an objective, the algorithm tends to minimize this distance therefore the population drifts towards more feasible solutions. This approach allows unfeasible elements to survive and to explore in a more efficient way the search space.
Mutation and crossover are fundamental concepts of the Differential Evolution method [8]. Starting from an initial random set, mutation is applied according to:
where
where
One of the main problems in evolution strategies is the choice of the control parameters: in the case of DE mutation and crossover have to be correctly set in order to prevent premature convergence or stagnation and to ensure acceptable convergence ratio towards the global optimum. Since in DE the perturbation is based on differences between population elements, when the population looses diversity the perturbation vanishes and therefore the algorithm stagnates. In order to avoid premature convergence it is important to calculate the population diversity e.g. by measuring the variance.
According to [9] if
where
The implemented version of multiobjective DE [10] improves the distribution of the population along the Pareto front by means of ideas originating from the NSGA-II algorithm: in each step the current individuals and the ones stored inside an archive are ranked in different fronts and the elements that belongs to the same front are ordered according to their crowding distance.
Direct implementation: minimum IGD Pareto front of the CF6 function [11].
Direct implementation with reseeding scheme: minimum IGD Pareto front of the CF6 function [11].
Indirect implementation with reseeding scheme: minimum IGD Pareto front of the CF6 function [11].
Direct implementation: minimum IGD Pareto front of the CF7 function [11].
Direct implementation with reseeding scheme: minimum IGD Pareto front of the CF7 function [11].
Indirect implementation with reseeding: minimum IGD Pareto front of the CF7 function [11].
Direct and indirect optimization comparison on CEC-09 benchmarks [11]. Maximum iterations
Pareto front. Red points are the current population while the blue ones are previous points stored inside the archive.
Pareto set. The variables are respectively: Inner radius, Inner iron thickness, Inner magnets thickness, Inner airgap thickness, Iron poles thickness, Outer gap thickness, Outer magnets thickness, Outer iron thickness, Number of inner poles.
Population storage, violated constraints flag. Yellow points correspond to high saturation value check failure.
Example of the geometry of a point on the Pareto Front of Fig. 9 with 
Since multiple constraints handling procedures have been introduced in the algorithm, the benchmark problems
Three different algorithms have been tested and the results are shown in Figs 3–8 and in Table 2. DE-direct is a simple DE algorithm with the NSGA-II concepts of multiple front ranking and crowding distance.
Figures 3–5 show the results for
Figures 6–8 show the results relatively to the
Multiobjective magnetic gear optimization results
In the case studied in this paper, the objectives are: torque density, efficiency and number of magnets of the inner rotor. The geometrical dimensions can vary inside a given range, the number of inner rotor poles is variable between
All the constraints in Eq. (18) have been implemented: the design temperature for the initial checks is
Analytic optimal solution
Figure 9 shows the obtained Pareto front. The front appears discontinuous because the inner number of poles has to be an integer number. Increasing the number of magnets the torque density
Figure 10 shows the variables set. Red points correspond to the current population while blue ones refers to the stored positions. The picture shows that the optimal gears are not concentrated around a single positions but are rather distributed. From Fig. 10 it appears that the outer airgap size is crucial for the gear performance, while the inner airgap seems to have a lower effect on the selected objectives.
Figure 11 shows the cause of constraint violation. When approaching high torque to weight ratios, the main cause of failure is the over-saturation flag that deeply affects the optimal solution at low number of inner poles.
Figure 12 shows one geometry of the Pareto front. Choosing the torque to weight ratio, the optimal machines tend to be hollow, therefore an electrical machine can be set up in the cavity giving an optimal Vernier machine.
Conclusion
In this paper an optimization tool for for coaxial magnetic gears has been introduced and discussed. The optimization algorithm is based on a differential evolution scheme, where special care has been taken in the handling of constraints. The objective function algorithm have been developed in Matlab and validated through a FEM software. This semi-analytic tool is fully parallel and can avoid long-time consuming FEM simulations.
