Interior Permanent Magnet Synchronous Motor Design for Eddy Current Loss Reduction in Permanent Magnets to Prevent Irreversible Demagnetization

: We designed and analyzed an interior permanent magnet synchronous motor (IPMSM) to prevent irreversible demagnetization of the permanent magnets (PMs). Irreversible demagnetization of NdFeB PMs mainly occurs due to high temperature, which should thus be minimized. Therefore, it is necessary to reduce the eddy current loss in the PM through optimal design. The shape of the rotor core was optimized using ﬁnite element analysis (FEA) and response surface methodology. Three-dimensional (3-D) FEA is required for accurate computation of the eddy current loss, but there is huge time, e ﬀ ort, and cost consumption. Therefore, a method is proposed for indirectly calculating the eddy current loss of PMs using 2-D FEA. A thermal equivalent circuit analysis was used to calculate the PM temperature of the optimized model. For the thermal analysis, the copper loss, core loss, and eddy current loss in PMs were estimated and applied as a heat source. Based on the results, we conﬁrmed the stability of the optimum model in terms of the PM demagnetization.


Introduction
Interior permanent magnet synchronous motors (IPMSMs) using Nd-Fe-B magnets have been developed for traction motors in electric vehicles (EVs) and hybrid electric vehicles (HEVs). In general, the performance of NdFeB PMs decreases with increasing temperature [1,2]. For instance, the residual magnetic flux density (Br) shows a decrease, and the knee point on the demagnetization curve occurs in the second quadrant [3,4]. A permanent magnet (PM) with degraded performance under high temperature conditions can become irreversibly demagnetized by the armature reaction during the motor operation. There is Joule loss due to the line current, core loss, bearing friction loss, and eddy current loss inside the PMs, which act as a heat source in the motor. The eddy current loss has a direct influence on the temperature rise of the PM.
In the case of an X-EV traction motor, which has a wide range of operating speeds, current phase control is used to extend the operating speed range [5][6][7]. As the ratio of the d-axis current to line current for high-speed operation increases, the eddy current loss in the PMs tends to increase. 2 of 15 Therefore, shape optimization is needed for the minimization of the heat generation of the PM due to eddy currents.
Nd-Fe-B PMs are mainly produced by sintering iron, neodymium, and dysprosium. Therefore, the PM has relatively high conductivity [8]. The PM is inserted into the rotor core in a solid form, so the return path and the axial direction of the eddy current cannot be ignored. For this reason, the eddy current loss of the PM should be calculated by three-dimensional (3-D) finite element analysis (FEA) or 3-D analytical analysis so that accurate values can be obtained [9][10][11][12]. However, 3-D FEA has many limitations in terms of time, cost, and effort.
Several studies have been conducted to overcome the hassle of analyzing eddy currents of PMs using 3-D FEA [13][14][15][16]. Some studies have discussed the reduction of eddy current losses by dividing a PM that forms one pole into several segments [17,18]. Splitting a PM is excellent for reducing the eddy current loss. However, the PM division reduces production rates and increases prices. There are also many studies on the reduction of the eddy current loss of a PM through shape design of the rotor and the PM [19][20][21]. In most studies, the eddy current loss of the PM was directly calculated using 3-D FEA or an analytical method. Therefore, it has been difficult to conduct an optimum design for reducing the eddy current loss of PM by analyzing various models. In addition, there has been no research on the improvement of the PM demagnetization, which is expected with the eddy current reduction of the PM.
Optimal design was performed to reduce the eddy current of a PM in this study, and the temperature inside the PM was predicted through thermal equivalent circuit analysis [22]. To quickly analyze various models in the optimization process, we propose an indirect method to estimate the eddy current loss of a PM, which can simplify the optimum design. The optimized design model was verified through a demagnetization analysis and experiment. Figure 1 presents the overall design process. Firstly, the eddy current loss in a PM prototype was calculated using 3-D FEA. Secondly, optimization was performed to reduce the eddy current loss in the PM using 2-D FEA based on an indirect estimation method. Finally, a thermal equivalent circuit analysis was conducted with consideration of the eddy current loss in the PM calculated by 3-D FEA for the optimized model. The irreversible demagnetization was analyzed for both the prototype and optimized model based on the PM temperature conditions from the thermal equivalent circuit both. Finally, the optimized model and the prototype were compared in terms of the demagnetization ratio due to high temperature and the input current magnitude.
Energies 2020, 13, x FOR PEER REVIEW 2 of 15 Therefore, shape optimization is needed for the minimization of the heat generation of the PM due to eddy currents. Nd-Fe-B PMs are mainly produced by sintering iron, neodymium, and dysprosium. Therefore, the PM has relatively high conductivity [8]. The PM is inserted into the rotor core in a solid form, so the return path and the axial direction of the eddy current cannot be ignored. For this reason, the eddy current loss of the PM should be calculated by three-dimensional (3-D) finite element analysis (FEA) or 3-D analytical analysis so that accurate values can be obtained [9][10][11][12]. However, 3-D FEA has many limitations in terms of time, cost, and effort.
Several studies have been conducted to overcome the hassle of analyzing eddy currents of PMs using 3-D FEA [13][14][15][16]. Some studies have discussed the reduction of eddy current losses by dividing a PM that forms one pole into several segments [17,18]. Splitting a PM is excellent for reducing the eddy current loss. However, the PM division reduces production rates and increases prices. There are also many studies on the reduction of the eddy current loss of a PM through shape design of the rotor and the PM [19][20][21]. In most studies, the eddy current loss of the PM was directly calculated using 3-D FEA or an analytical method. Therefore, it has been difficult to conduct an optimum design for reducing the eddy current loss of PM by analyzing various models. In addition, there has been no research on the improvement of the PM demagnetization, which is expected with the eddy current reduction of the PM.
Optimal design was performed to reduce the eddy current of a PM in this study, and the temperature inside the PM was predicted through thermal equivalent circuit analysis [22]. To quickly analyze various models in the optimization process, we propose an indirect method to estimate the eddy current loss of a PM, which can simplify the optimum design. The optimized design model was verified through a demagnetization analysis and experiment. Figure 1 presents the overall design process. Firstly, the eddy current loss in a PM prototype was calculated using 3-D FEA. Secondly, optimization was performed to reduce the eddy current loss in the PM using 2-D FEA based on an indirect estimation method. Finally, a thermal equivalent circuit analysis was conducted with consideration of the eddy current loss in the PM calculated by 3-D FEA for the optimized model. The irreversible demagnetization was analyzed for both the prototype and optimized model based on the PM temperature conditions from the thermal equivalent circuit both. Finally, the optimized model and the prototype were compared in terms of the demagnetization ratio due to high temperature and the input current magnitude.

2-D Magneto-Statics Finite Element Analysis
The following is the Maxwell's electro-magnetic equation from which the governing equation for FEA can be derived [23]: where ν, A, J 0 are the magnetic reluctivity, magnetic vector potential, and the exciting current density, respectively. The µ 0 and M r are the magnetic permeability of the free space and the magnetization, respectively. The J 0 and A have only z-axis directions, and the M r only has components on the x-and y-axis for the 2-D FEA.

Indirect Estimation Method of Eddy Current Loss of PMs
The indirect method for calculating the eddy current loss is derived based on Equation (2) [15]: where T, B m , σ are the current vector potential, flux density in the PM, and the PM's conductivity, respectively. When the shape of PMs is constrained in the optimal design, the eddy current path of every analysis model may be similar to that of the prototype. In other words, the conductivity can be constant in every model. Therefore, the time derivative of the magnetic flux density B m makes estimation of the eddy current loss possible. The flux can be used to express the difference in magnetic vector potential between positions A 1 and A 2 in Figure 2a. The stack length is assumed to be 1 m in flux calculations in the 2-D FEA, but a stack length is required to calculate the correct value. The quantity of the flux Φ PM from the PM can be obtained using Equations (3) and (4): where l stk is the stack length of rotor and stator core, and l m is the PM's width. Φ PM is strongly related to the eddy current loss because the voltage induced is the time derivative of the magnetic flux, and the loss is proportional to the induced voltage squared, as shown in Equations (5) and (6).
Energies 2020, 13, 5082 4 of 15 estimation of the eddy current loss possible. The flux can be used to express the difference in magnetic vector potential between positions A1 and A2 in Figure 2a. The stack length is assumed to be 1 m in flux calculations in the 2-D FEA, but a stack length is required to calculate the correct value. The quantity of the flux ΦPM from the PM can be obtained using Equations (3)

Verification of Relationship between Flux Variation and Eddy Current Loss in PMs
As mentioned, the variation of magnetic flux in the PM over time is equal to the induced voltage in the PM. If the conductivity inside the PM is constant, the eddy current loss is proportional to the squared value of the induced voltage inside the PM. Intuitively, the square of the induced voltage inside the PM should be set as the objective function of the optimum design. However, to calculate the induced voltage, cumbersome post-processing is required after FEA. Therefore, we set the objective function by changing the flux variation calculated using the vector potential difference of the PM, as shown in Figure 2. This was done using Equations (3) and (4).
A specific model was analyzed to verify the relationship between the eddy current loss and flux variation in the PM. Figure 3 shows the shape of a rotor core that was designed to reduce the PM's eddy current loss. The V-shape of the rotor core between poles helps with reducing the eddy current loss in the PM [20]. Full factorial design (FFD) [24][25][26], a statistical method, was used to find the relation between eddy current loss and square of the flux variation in the PM. For reference, a commercial software program, Minitab, was used to perform the FFD.
where lstk is the stack length of rotor and stator core, and lm is the PM's width. ΦPM is strongly related to the eddy current loss because the voltage induced is the time derivative of the magnetic flux, and the loss is proportional to the induced voltage squared, as shown in Equations (5) and (6).

Verification of Relationship between Flux Variation and Eddy Current Loss in PMs
As mentioned, the variation of magnetic flux in the PM over time is equal to the induced voltage in the PM. If the conductivity inside the PM is constant, the eddy current loss is proportional to the squared value of the induced voltage inside the PM. Intuitively, the square of the induced voltage inside the PM should be set as the objective function of the optimum design. However, to calculate the induced voltage, cumbersome post-processing is required after FEA. Therefore, we set the objective function by changing the flux variation calculated using the vector potential difference of the PM, as shown in Figure 2. This was done using Equations (3) and (4).
A specific model was analyzed to verify the relationship between the eddy current loss and flux variation in the PM. Figure 3 shows the shape of a rotor core that was designed to reduce the PM's eddy current loss. The V-shape of the rotor core between poles helps with reducing the eddy current loss in the PM [20]. Full factorial design (FFD) [24][25][26], a statistical method, was used to find the relation between eddy current loss and square of the flux variation in the PM. For reference, a commercial software program, Minitab, was used to perform the FFD. The angle (A′) and depth (B′) of the V-shape were selected as design variables. Here, angle (A') means the angle of two straight lines forming a V-shape on the rotor surface. Depth (B') refers to the distance from the extension line of the rotor core to the intersection of two straight lines in a V-shape. Figure 4 shows the main effect plot expressing the relation between the design variables and objective function. The flux variation and eddy current loss in the PM according to design variable change in almost the same direction. Therefore, there is a linear correlation between the flux variation and the   The angle (A ) and depth (B ) of the V-shape were selected as design variables. Here, angle (A') means the angle of two straight lines forming a V-shape on the rotor surface. Depth (B') refers to the distance from the extension line of the rotor core to the intersection of two straight lines in a V-shape. Figure 4 shows the main effect plot expressing the relation between the design variables and objective function. The flux variation and eddy current loss in the PM according to design variable change in almost the same direction. Therefore, there is a linear correlation between the flux variation and the eddy current loss in the PM.

Design Model
The prototype IPMSM is applied in a traction motor for HEVs. Its configuration is shown in Figure 5a. Table 1 shows its specifications. Nd-Fe-B PMs are inserted into the rotor core, and their demagnetization curve is shown in Figure 5b. At 20 °C, there is no knee point in the second quadrant of the B-H curve of the PM. However, at 220°C, a knee point appears near 0.4 T in the second quadrant. Because the HEVs' drive motor is close to the combustion engine, it is a poor thermal environment. Therefore, this should be considered at the design stage to prevent irreversible demagnetization of PMs.

Design Model
The prototype IPMSM is applied in a traction motor for HEVs. Its configuration is shown in Figure 5a. Table 1 shows its specifications. Nd-Fe-B PMs are inserted into the rotor core, and their demagnetization curve is shown in Figure 5b. At 20 • C, there is no knee point in the second quadrant of the B-H curve of the PM. However, at 220 • C, a knee point appears near 0.4 T in the second quadrant. Because the HEVs' drive motor is close to the combustion engine, it is a poor thermal environment. Therefore, this should be considered at the design stage to prevent irreversible demagnetization of PMs.

Design Model
The prototype IPMSM is applied in a traction motor for HEVs. Its configuration is shown in Figure 5a. Table 1 shows its specifications. Nd-Fe-B PMs are inserted into the rotor core, and their demagnetization curve is shown in Figure 5b. At 20 °C, there is no knee point in the second quadrant of the B-H curve of the PM. However, at 220°C, a knee point appears near 0.4 T in the second quadrant. Because the HEVs' drive motor is close to the combustion engine, it is a poor thermal environment. Therefore, this should be considered at the design stage to prevent irreversible demagnetization of PMs.

Conditions of Optimization
In the optimum design for the eddy current loss reduction, the flux variation in the PM, Φ PM_variation , was set as the objective function, as shown in Figure 2.
Generally, higher harmonics in the back-electro motive force (EMF) result in higher harmonics in the input current, more eddy current loss in the PM, and more core loss in the magnetic core. Therefore, the total harmonic distortion (THD) of the back EMF was given a constraint of 1.5-2.0% for the optimization. The amplitude of the back EMF was limited to 40.0-41.0 V rms because drops in the back-EMF cause the current to rise in a constant torque region. For reference, the magnitude of the back EMF and the THD value of the back EMF of all manufactured prototypes was within the range of values set by the constraint. Therefore, in order for the newly designed motor to have the same performance as the prototype, the following constraints must be satisfied. The load input conditions for the optimization analysis are as follows. If zero torque control is required for the drive motor, we apply a current phase angle of 90 degrees. When the maximum current is applied, the reaction from the permanent magnet is greatest. Therefore, the analysis is performed under the following current conditions: Line current: 200 (A peak ) Current angle: 90 (deg.)

Full Factorial Design
In general, the design variable range for optimization is determined from experimental data or designer experience. However, this could result in a very restrictive and subjective design. Moreover, the modeling and analysis require much time if the design space is established after investigating the responses to each parameter's variations, and predicting the interaction between the parameters and objective function is difficult. FFD is used to find a more reasonable and objective design range for response surface methodology (RSM) [26]. In this step, FFD is used to screen the design variables to be applied to RSM and determine the range of selected design variables. The design variables are shown in Figure 6. The ranges determined for each design variable are shown in Table 2. A total of 4 shape parameters were set as design variables. Design variables A and D determine the shape of the shoe at the tip of the stator tooth. Design variable B determines the position of PM, and the larger the value, the further away from the airgap. Finally, design variable C is related to the shape of the rotor's barrier. As the value increases, the pole arc decreases. All four design variables are closely related to the motor's back-EMF magnitude and THD.  Based on the result of FFD, the design variables and corresponding ranges for RSM were determined. The main effects of design variables are shown in Figure 7. The objective function tends to decrease as the Chamfer and PM depth increase. This trend appears because the armature reaction decreases as the values of these two design variables decrease. Other design variables are not sensitive to the objective function. Therefore, these two variables were fixed in the optimum design.

Response Surface Methodology
We used RSM to create models with an objective function that has an appropriate response. We used central composite design (CCD) to develop an experiment to estimate a proper model for each response. The design variable and range were determined to conduct CCD based on the result of FFD, as shown in Table 3. As shown in Figure 7  Based on the result of FFD, the design variables and corresponding ranges for RSM were determined. The main effects of design variables are shown in Figure 7. The objective function tends to decrease as the Chamfer and PM depth increase. This trend appears because the armature reaction decreases as the values of these two design variables decrease. Other design variables are not sensitive to the objective function. Therefore, these two variables were fixed in the optimum design.  Based on the result of FFD, the design variables and corresponding ranges for RSM were determined. The main effects of design variables are shown in Figure 7. The objective function tends to decrease as the Chamfer and PM depth increase. This trend appears because the armature reaction decreases as the values of these two design variables decrease. Other design variables are not sensitive to the objective function. Therefore, these two variables were fixed in the optimum design.

Response Surface Methodology
We used RSM to create models with an objective function that has an appropriate response. We used central composite design (CCD) to develop an experiment to estimate a proper model for each response. The design variable and range were determined to conduct CCD based on the result of FFD, as shown in Table 3. As shown in Figure 7

Response Surface Methodology
We used RSM to create models with an objective function that has an appropriate response. We used central composite design (CCD) to develop an experiment to estimate a proper model for each response. The design variable and range were determined to conduct CCD based on the result of FFD, as shown in Table 3. As shown in Figure 7, design variables C and D do not have a significant effect on the objective function, so they were reflected when performing RSM as intermediate values within the Energies 2020, 13, 5082 8 of 15 range of variables set during FFD execution. On the other hand, design variables A and B are set as design variables when performing RSM because they have a large influence on the objective function. Because the objective function may exhibit nonlinear characteristics according to the change in these two design variables, the range of the design variables was narrower than when performing FFD. After performing CCD, the polynomial model of the response was obtained as  Figure 8 shows the optimum point of the design variables where the objective function is minimized after considering the constraint. Table 4 shows a comparison of the design variables between the prototype and optimum model. If the PM's eddy current loss was set as an objective function and the optimization was done through 3-D FEA, it would have taken much more effort and time.   Figure 8 shows the optimum point of the design variables where the objective function is minimized after considering the constraint. Table 4 shows a comparison of the design variables between the prototype and optimum model. If the PM's eddy current loss was set as an objective function and the optimization was done through 3-D FEA, it would have taken much more effort and time.

Eddy Current Loss in PM
We can predict the eddy current loss if we have the eddy current loss of the PM calculated by 3-D FEA for the prototype and the square of the objective function calculated by 2-D FEA. The prediction is done by using the square of the objective function of the optimum model. Table 5 shows the calculated objective function and its square value and Figure 9a shows change of magnetic flux inside the PM and the peak to peak value according to the rotor position. In addition, in Figure 9a, it can be confirmed that the average magnetic flux per pole of the two models has similar values, with

Eddy Current Loss in PM
We can predict the eddy current loss if we have the eddy current loss of the PM calculated by 3-D FEA for the prototype and the square of the objective function calculated by 2-D FEA. The prediction is done by using the square of the objective function of the optimum model. Table 5 shows the calculated objective function and its square value and Figure 9a shows change of magnetic flux inside the PM and Energies 2020, 13, 5082 9 of 15 the peak to peak value according to the rotor position. In addition, in Figure 9a, it can be confirmed that the average magnetic flux per pole of the two models has similar values, with an error of less than 1%. This means that the back EMF of the optimal model is not significantly different from that of the prototype. Therefore, there is little deterioration in motor performance during the optimal design process. As shown in Table 5, the square of the objective function of the optimum model was 61% of that of the prototype. We can estimate the eddy current loss of the optimum model if we substitute a reduction rate of 61% for the PM's eddy current loss calculated for the prototype. an error of less than 1 %. This means that the back EMF of the optimal model is not significantly different from that of the prototype. Therefore, there is little deterioration in motor performance during the optimal design process. As shown in Table 5, the square of the objective function of the optimum model was 61 % of that of the prototype. We can estimate the eddy current loss of the optimum model if we substitute a reduction rate of 61 % for the PM's eddy current loss calculated for the prototype.  As a result, the eddy current loss in the PM of the optimum model was estimated to be 245 W, as shown in Table 6 and Figure 9b. However, the eddy current loss of the optimum model from 3-D FEA was 193 W. There was an error of around 26.4 % from the estimated value due to the return path of the eddy current, which could not be reflected in the 2-D analysis. The error could be reduced in a model with a large axial length of the motor relative to the outer diameter. Even though the error is almost 26.4 % between the values, the proposed method is sufficient for an optimum design process because 2-D FEA can estimate the eddy current loss in the PM faster than 3-D FEA.  As a result, the eddy current loss in the PM of the optimum model was estimated to be 245 W, as shown in Table 6 and Figure 9b. However, the eddy current loss of the optimum model from 3-D FEA was 193 W. There was an error of around 26.4% from the estimated value due to the return path of the eddy current, which could not be reflected in the 2-D analysis. The error could be reduced in a model with a large axial length of the motor relative to the outer diameter. Even though the error is almost 26.4% between the values, the proposed method is sufficient for an optimum design process because 2-D FEA can estimate the eddy current loss in the PM faster than 3-D FEA. Table 6. Comparison of eddy current loss inside PMs according to calculation method.

Other Losses
For temperature prediction, other motor losses such as the copper loss and core loss are calculated. Core loss is calculated using FEA, as shown in Figure 10. The magnetic flux density waveforms' temporal and spatial variations are calculated by electromagnetic FEA. Spectrum analysis was used for frequency analysis of the magnetic flux density at each element of the FEA model. Core loss is computed in the frequency domain under sinusoidal flux conditions using core loss data from the manufacturer, which are described by the frequency and flux densities [27][28][29].

Other Losses
For temperature prediction, other motor losses such as the copper loss and core loss are calculated. Core loss is calculated using FEA, as shown in Figure 10. The magnetic flux density waveforms' temporal and spatial variations are calculated by electromagnetic FEA. Spectrum analysis was used for frequency analysis of the magnetic flux density at each element of the FEA model. Core loss is computed in the frequency domain under sinusoidal flux conditions using core loss data from the manufacturer, which are described by the frequency and flux densities [27][28][29]. The core loss from the teeth, yoke, and rotor core were analyzed by 2-D FEA to find the temperature of each component of the IPMSM. Input sources such as the line current and current angle were the same as in the demagnetization test. Therefore, copper loss of prototype and optimum model models are identical. Table 7 shows the total losses, including the eddy current loss in the PM calculated by 3-D FEA. The two models' total losses are almost the same. However, the eddy current loss in the PM is around 50 % lower in the optimum model than prototype. This result shows that the temperature of the PM will be lower in the optimum model than the prototypes.  The core loss from the teeth, yoke, and rotor core were analyzed by 2-D FEA to find the temperature of each component of the IPMSM. Input sources such as the line current and current angle were the same as in the demagnetization test. Therefore, copper loss of prototype and optimum model models are identical. Table 7 shows the total losses, including the eddy current loss in the PM calculated by 3-D FEA. The two models' total losses are almost the same. However, the eddy current loss in the PM is around 50% lower in the optimum model than prototype. This result shows that the temperature of the PM will be lower in the optimum model than the prototypes.

Analysis Results of the Thermal Equivalent Circuit
We used thermal equivalent circuit analysis to calculate the temperature of each motor part, especially the PM. For the equalization, we obtained thermal parameters from the heat source's shape, the thermal resistance, and the capacitance. The heat sources are important parameters and are composed of the copper loss, core loss, and PM's eddy current loss. We calculated them by FEA, as shown in Table 7. The parameters other than the heat source were calculated using a thermal equation [22].
The thermal equivalent circuit of the IPMSM is shown in Figure 11. The model includes the PM's thermal source. The motor parts include a frame, stator yoke, teeth, winding, rotor core, PM, and shaft. For each part, the heat source is applied in the shape of the current. We assume the thermal capacitance and resistance are constant in every node, so a linear differential equation can be derived for the nodes as where C i is the i th node's thermal capacitance, T i is the i th node's temperature, R ji is thermal resistance between nodes i and j, which are adjacent, and g i is node i's heat generation. The same calculation was used for each parameter in Equation (8), as in a previous study [4], and the accuracy was verified in previous research [22].

Analysis Results of the Thermal Equivalent Circuit
We used thermal equivalent circuit analysis to calculate the temperature of each motor part, especially the PM. For the equalization, we obtained thermal parameters from the heat source's shape, the thermal resistance, and the capacitance. The heat sources are important parameters and are composed of the copper loss, core loss, and PM's eddy current loss. We calculated them by FEA, as shown in Table 7. The parameters other than the heat source were calculated using a thermal equation [22].
The thermal equivalent circuit of the IPMSM is shown in Figure 11. The model includes the PM's thermal source. The motor parts include a frame, stator yoke, teeth, winding, rotor core, PM, and shaft. For each part, the heat source is applied in the shape of the current. We assume the thermal capacitance and resistance are constant in every node, so a linear differential equation can be derived for the nodes as ( ) where Ci is the ith node's thermal capacitance, Ti is the ith node's temperature, Rji is thermal resistance between nodes i and j, which are adjacent, and gi is node i's heat generation. The same calculation was used for each parameter in Equation (8), as in a previous study [4], and the accuracy was verified in previous research [22].   Figure 11. Thermal equivalent circuit. We analyzed the thermal equivalent circuit using loss information, as shown in Figure 12. The same simulation conditions as in the demagnetization test were used to prevent demagnetization from a sudden short circuit. The analysis took 240 s, and the temperature of the winding reached 200°C. As a result, the winding and housing temperatures of the prototype have similar trends to those of the optimum model despite having different core losses. However, the temperature difference in the PM is 14.7°C, which significantly affects the irreversible demagnetization and residual induction. The motor characteristics are degraded by reduced residual induction for irreversible demagnetization.
Energies 2020, 13, x FOR PEER REVIEW 12 of 15 We analyzed the thermal equivalent circuit using loss information, as shown in Figure 12. The same simulation conditions as in the demagnetization test were used to prevent demagnetization from a sudden short circuit. The analysis took 240 seconds, and the temperature of the winding reached 200 ℃. As a result, the winding and housing temperatures of the prototype have similar trends to those of the optimum model despite having different core losses. However, the temperature difference in the PM is 14.7 ℃, which significantly affects the irreversible demagnetization and residual induction. The motor characteristics are degraded by reduced residual induction for irreversible demagnetization.

Analysis of Demagnetization
In general, Nd-Fe-B magnets can be irreversibly demagnetized by rising temperature and magnetic fields that have an opposite direction to that of the PM. However, 2-D FEA can analyze this irreversible demagnetization using the PM properties at specific temperatures and inrush currents, as shown below: Figure 13 shows the B-H curve of the PM that was applied in the demagnetization analysis. The demagnetization curve of each temperature is estimated from the properties of the PM. At a PM temperature of 193.3 ℃, the knee point appears in the second quadrant of the demagnetization curve, and it can be seen that it is located near 0.17 T. Figure 14 shows the result of the demagnetization of both the prototype and the optimum model. This is the result of the analysis by reflecting the temperature of PMs obtained through the thermal equivalent circuit analysis. In addition, the analysis was performed by reflecting the condition of the rotation speed of 6000 rpm, which is the condition of the demagnetization test. The optimum model has no demagnetization, but the prototype has a demagnetization rate of 1.74 % with the same input current.

Analysis of Demagnetization
In general, Nd-Fe-B magnets can be irreversibly demagnetized by rising temperature and magnetic fields that have an opposite direction to that of the PM. However, 2-D FEA can analyze this irreversible demagnetization using the PM properties at specific temperatures and inrush currents, as shown below: 1.
Input of the core and magnet's B-H curve in 2-D FEA.

2.
Perform the nonlinear analysis considering material properties.

4.
Load analysis with static field analysis → input maximum current with d-axis only.
Calculation of demagnetization ratio (η demag. ) by comparing linkage flux between the result of the no-load analysis 1 and no-load analysis 2 as Equation (9). Figure 13 shows the B-H curve of the PM that was applied in the demagnetization analysis. The demagnetization curve of each temperature is estimated from the properties of the PM. At a PM temperature of 193.3°C, the knee point appears in the second quadrant of the demagnetization curve, and it can be seen that it is located near 0.17 T. Figure 14 shows the result of the demagnetization of both the prototype and the optimum model. This is the result of the analysis by reflecting the temperature of PMs obtained through the thermal equivalent circuit analysis. In addition, the analysis was performed by reflecting the condition of the rotation speed of 6000 rpm, which is the condition of the demagnetization test. The optimum model has no demagnetization, but the prototype has a demagnetization rate of 1.74% with the same input current. Energies 2020, 13, x FOR PEER REVIEW 13 of 15

Conclusions
This study presented design processes to prevent irreversible demagnetization by reducing eddy current losses in a PM. Optimum design with 3-D FEA requires much time and effort for computation and modeling. To reduce the time, an alternative solution was proposed to estimate eddy current losses with 2-D FEA. Our solution enables quick optimum design.
A thermal equivalent circuit analysis was used after optimization to calculate the PM temperature, which takes less time than computational fluid dynamics methods. Finally, analyses of the irreversible demagnetization were conducted under conditions of calculated temperature from the thermal equivalent circuit analysis. The overall design process to reduce the demagnetization could be used to design IPMSMs for automotive applications, such as traction motors or integrated starters and generators.