    # Uncertainty Quantification For A Permanent Magnet Synchronous Machine With Dynamic Rotor Eccentricity

The influence of dynamic eccentricity on the harmonic spectrum of the torque of a permanent magnet synchronous machine is studied. The spectrum is calculated by an energy balance method. Uncertainty quantification is applied by using generalized Polynomial Chaos and Monte Carlo. It is found that the displacement of the rotor impacts the spectrum of the torque the most.

## Authors

##### This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

## 1 Introduction

During mass production of permanent magnet synchronous machines (PMSMs) small deviations on the machine are introduced. These deviations may lead to underperformance. Therefore the field of uncertain quantification is gaining more and more interest for the machine simulation. The rotor position is a typical uncertainty in an electrical machine design. It is known that rotor eccentricity increases the cogging torque (see e.g. Coenen_2011aa ). In the literature different types of eccentricity are identified. Static eccentricity means that the rotor is shifted out of the center of the stator but still rotates around the center of the rotor. In the case of dynamic eccentricity, the rotor rotates around the center of the stator. Also more complex eccentricities like e.g. an inclined rotor shaft are possible (see e.g. Bontinck_2016aa ). In this paper the influence of dynamic eccentricity on the torque and its total harmonic distortion will be studied. In Sadowski_1992aa

an overview and comparison of different methods for torque calculation can be found. The most used method relies on the Maxwell stress tensor. This method, however, is very sensitive to the applied space discretization and to the location in the airgap where the quantities are evaluated. As a consequence big numerical deviations are easily introduced

Mizia_1988aa ; Tarnhuvud_1988aa . Another way to calculate the torque is to use the energy balance method, which relies on the principle of conservation of energy (see e.g. Silwal_2014aa ).

The introduction of uncertainties in the PMSM model is the first step in a bigger procedure in which the magnets of the machine are subjected to robust optimization. This can be performed by analyzing the worst-case scenario or by taking into account the standard deviation. In both cases, an accurate and reliable representations of rotor eccentricity is needed. Moreover, a fast simulation technique for calculating the according statistic moment of the harmonics of the torque is indispensable.

The paper is structured as follows: in Sect. 2 the PMSM is introduced. It is explained how the torque is calculated and how the eccentricity is modeled. In Sect. 3 the results are presented and discussed and finally conclusions are drawn.

## 2 Problem Description

The PMSM has six slots per pole and a double layered winding scheme with two slots per pole per phase (Fig. 0(a)). The machine has length . The machine is constructed of laminated steel with a relative permeability . (a) Detailed view of the PMSM. The blue dashed line indicates the location of the interface. The magnets are marked in gray.

Let and depict the stator and rotor domain respectively. Define , and

. To calculate the torque of the machine the magnetostatic approximation of the Maxwell’s equations has to be solved for both domains. This implies that the eddy and displacement currents are neglected and one obtains the semi-elliptic partial differential equations

 →∇×(ν→∇×→As(t))=→Jsrc(t),on Ωs (1a) →∇×(ν→∇×→Ar(t))=−∇×(νBrem),on Ωr (1b) with Dirichlet boundary conditions →As|Γs=0 and →Ar|Γr=0. At the interface it holds that ν→n×→As|ΓI(→Y(t))−ν→n×→Ar|ΓI(→Y(t))=0, (1c)

where describes how the interfaces are connected at every time step . The reluctivity is depicted by a scalar since only linear isotropic materials are considered.

is the magnetic vector potential,

represents the imposed source current density, which is related to the applied currents in the coils, and the remanence of the permanent magnets. The applied current density is aligned with the -direction, whereas the remanence is in the -plane. It is generally accepted that machines are adequately modeled in 2D, meaning that the magnetic field has no -component: . Since , one can write and also has only a -component. Discretizing by linear edge shape functions one approximates

 →As≈N∑i=1a(s)i→wi(x,y)=N∑i=1a(s)iNi(x,y)ℓz→ez, (2)

where depicts the nodal finite elements which are associated with the triangulation of the machine’s cross-section and is the unit vector in -direction. Using the Ritz-Galerkin approach one finds the discretized form

 K(s)νa(s)(t)+j(s)int=jsrc(t)andK(r)νa(r)(t)+j(r)int=jpm, (3)

where and are the finite element system matrices for the stator and rotor, respectively, and

depict the degrees of freedom (DoFs) and

() are the discretized versions of the current densities (permanent magnets). and are the discretized versions of the conditions at .

A time-stepping technique based on Preston_1988aa is implemented for the rotation of the machine. In the airgap a contour is defined which splits the full domain in two parts: a fixed outer domain connected to the stator and an inner domain connected to the rotor , where the mesh will be rotated. At the contour the nodes are distributed equidistantly. The time step is chosen so that the inner domain is rotated by exactly three nodes between successive time steps. The connections between the nodes on the contour and the ones in the airgap are updated at every time step. One can write and with the Lagrange multiplier and projectors and . This yields

 (4)

with the finite element system matrix Salon_1995aa . Solving for and enables the calculation of the torque by using an energy balance method. The change in the stored magnetic energy can be written as

 dWmag(t)dt=Pe(t)−Pl(t)−Pm(t), (5)

with the electrical energy, the mechanical energy and the losses . To calculate the torque a time-averaging approach is used, i.e. integrating Eq. (5) over one period . Due to the conservation of energy and one finds that . The total electrical energy is given by

 ¯Pe=1T∫T0Pe(t)dt=1T∫T0u⊤str(t)istr(t)dt, (6)

where depicts the current in the coils, such that , with the winding function Schops_2013aa . The voltages of the stranded conductors are calculated from the solutions of Eq. (4) by

 ustr(t)=Rstristr(t)+ddt(X⊤stra(t)), (7)

with , the DC resistance of coils. The losses are given by

 ¯Pl=1T∫T0Pl(t)dt=1T∫T0i⊤str(t)Rstristr(t)dt. (8)

For the time-averaged mechanical energy one finds

 ¯Pm=1T∫T0Pm(t)dt=1T∫T0(Pe(t)−Pl(t))dt (9)

 ¯τ0=1T∫T0τm(t)dt:=1Tωm∫T0Pm(t)dt. (10)

The mechanical angular frequency is , with the electric angular frequency and the pole pair number. To calculate the higher harmonics of the torque, Eq. (5) is solved, meaning

 τm(t)=1ωm(Pe(t)−Pl% (t)−dWmag(t)dt), (11)

with , where

depicts all DoFs. Taking a Fourier transform of

one can then define the total harmonic distortion (THD) as

 THD=∑ni=1τiτ0, (12)

where depicts the harmonics of the torque.

The eccentricity of the rotor is described by two parameters: , which defines the initial displacement from the central position, and , which depicts the direction of its displacement (see Fig. 0(b)). The stochastic nature of a quantity is indicated by . It is assumed that

are independent random variables from the probability space

and that

is normal distributed and

uniformly distributed, and , with , which corresponds to an eccentricity of .

Due to the chosen approach for modeling the rotation, the eccentricity is implicitly considered according to the dynamic model of Frohne_1968aa , meaning that the airgap width (see Fig. 0(b)) can be expressed as a function of the arc , such that

 δ(x,t)=δm[1−εm(ω)cos(α(x,t,ω))], (13)

with the eccentricity , where is the mean mechanical airgap width. The angle is given by

 α(x,t,ω)=x−ωmt−θ0(ω). (14)

Fig. 2 illustrates the influence of the eccentricity on the spectrum of the torque. In Fig. 1(a) the spectra for a nominal machine and for a machine with eccentricity are shown. The 36th harmonic, which is related to the cogging torque, is increased due to the eccentricity. To study the full effect of eccentricity on the spectrum, the THD is calculated. One sees in Fig. 1(b) that this quantity is increasing with a higher eccentricity. This implies that an eccentric machine suffers from increased undesired effects, e.g. Dorrell_2005aa . (a) Part of the spectrum for a nominal machine and for a machine with ε=\unit50%.

Let

be a discrete random variable then the expectation value and the variance can be approximated by

 μZ=E[Z]≈N∑j=1wjfjandσ2Z=V[Z]≈N∑j=1wj(fj−μz)2, (15)

respectively, where denotes a random outcome. The choice of weights and samples depends on the method. In the Monte Carlo (MC) approach the samples are chosen randomly and have an equal weight . For collocation based on generalized Polynomial Chaos (gPC) they are determined according to quadrature rules. The gPC bases for normal and uniform distributions are constructed from Hermite polynomials and Legendre polynomials, respectively. In this paper we use both methods for the uncertainty quantification. With aid of the MC sampling a variance based sensitivity analysis is performed based on Saltelli_2010aa . However, it is known, that for a low number of random variables gPC converges faster Xiu_2010aa than Monte Carlo (see e.g. Dick_2013aa ). To avoid numerical noise, remeshing for every sample is avoided. Instead, the original mesh is mapped to a new one as in Bontinck_2016aa .

## 3 Results

The nominal machine, i.e. and has a torque and a . The UQ was performed by using gPC with tensor product grid and by using MC samples for the uncertain input parameters. For a value of is retrieved by both approaches. The found standard deviation is . For the THD one finds and . The error on

for MC is estimated by

. For the torque one finds and for the THD . The sensitivity of , where the sensitivity of .

## 4 Conclusions

Uncertainty quantification was performed to determine the effects of rotor eccentricity on the torque and on the total harmonic distorting on the torque. It is found that the displacement, rather than the direction of the displacement influences these quantities the most.

###### Acknowledgements.
This work is supported by the German BMBF in the context of the SIMUROM project (grant number 05M2013), by the ‘Excellence Initiative’ of the German Federal and State Governments and the Graduate School of Computational Engineering at TU Darmstadt.

## Bibliography

• (1) Belmans, R., Vandenput, A., Geysen., W.: Calculation of the flux density and the unbalanced pull in two pole induction machines. Electr. Eng. 70, 151–161 (1987)
• (2) Bontinck, Z., De Gersem, H., Schöps., S: Response surface models for the uncertainty quantification of eccentric permanent magnet synchrounous machines. IEEE Trans. Magn. 52, (2016)
• (3) Coenen, I., Herranz Garcia, M., Hameyer, K.: Influence and evaluation of non-ideal manufacturing process on the cogging torque of a permanent magnet excited synchronous machine. COMPEL, 30, 876–884 (2011)
• (4) Dick, J., Kuo, F.Y., Sloan, I.H.: High-dimensional integration: the quasi-Monte Carlo way. Acta Numerica, 22, 133–288 (2013)
• (5) Dorrell, D.G., Chindurza, I., Cossar, C.: Effects of rotor eccentricity on torque in switched reluctance machines. IEEE Trans. Magn., 41, 3961–3963 (2005)
• (6) Frohne, H.: Über den einseitigen magnetischen Zug in Drehfeldmaschinen. Electr. Eng. 51, 300–308 (1968)
• (7) Mizia, J., Adamiak, K., Eastham, A.R., Dawson, G.E.: Finite element force calculation: comparison of methods for electric machines. IEEE Trans. Magn., 24, 447–450 (1988)
• (8) Preston, T., Reece, A., Sangha, P.: Induction motor analysis by time-stepping techniques. IEEE Trans. Magn., 24, 471–474 (1988)
• (9) Sadowski, N., Lefevre, Y., Lajoie-Mazenc, M., Cros, J.: Finite element torque calculation in electrical machines while considering the movement. IEEE Trans. Magn., 28, 1410–1413 (1992)
• (10) Salon, S.J.: Finite Element Analysis of Electrical Machines. Kluwer, Boston (1995)
• (11) Saltelli, A., Annoni, P., Azzini, I., Campolongo, F., Ratto, M., Tarantola, S.: Variance based sensitivity analysis of model output. Design and estimator for the total sensitivity check. Comput. Phys. Commun., 181, 259–270 (2010)
• (12) Schöps, S., De Gersem, H., Weiland, T.: Winding functions in transient magnetoquasistatic field-circuit coupled simulations, COMPEL, 32, 2063–2083 (2013)
• (13) Silwal, B., Rasilo, P., Perkkiö, L., Oksman, M., Hannukainen, A., Eirola, T., Arkkio, A.: Computation of torque of an electrical machine with different types of finite element mesh in the air gap. IEEE Trans. Magn., 50, 1–9 (2014)
• (14) Tärnhuvud, T., Reichert, K. Accuracy problems of force and torque calculations in FE-systems. IEEE Trans. Magn., 24, 443–446 (1988)
• (15) Xiu, D.: Numerical Methods for Stochastic Computations: A Spectral Method Approach. Princeton University Press (2010)