Professional Documents
Culture Documents
Marquette University
1
November 23,
2014
Overview
Introduction
Model-based optimization
difficulties
choice of a modeling approach
Design Optimization
Objective function selection (single weighted
function vs. multi-objective)
Optimization algorithm
Differential Evolution
2
November 23,
2014
Scripting Maxwell 2D
RMxprt geometric primitives
Simple interfacing of Maxwell 2D to Matlab
Optimization of Toyota Prius IPM motor
Introduction
Model-based optimization of electric machinery
Difficulties:
November 23,
2014
variables
Every design requires additional model evaluations
increasing computational time
20
MTPA
15
10
MTPA
0
0
30
60
90
120
150
180
Torque [pu]
1
0.75
0.5
0.25
0
0
3
Speed [pu]
November 23,
2014
)]
25
loss
30
Goodness [Nm/sqrt(W
35
20
15
10
5
0
November 23,
2014
20
15
10
Shaft Torque [Nm]
25
0.9
0.8
0.7
0.6
0.5
0.4
November 23,
2014
Determination of number of
solutions and rotor positions
iR () iY () iB ()
mech
Principle:
2-D magnetostatic finite element formulation is utilized:
1 A 1 A
= J J PM
+
x x y y
Instantaneous values of rotor position, mech, phase currents, iR, iY, iB,
are inputs to the model and the magnetic vector potentials (MVPs),
A, are the outputs used in the post-processing stage to extract fluxdensities, flux-linkages, energies (energy/co-energy).
November 23,
2014
A
Post Processing:
Flux densities
Energies
(energy/co-energy)
Torques
Losses
) = AY + ( )
AR + ( + 120 o ) = AB + ( )
o
AB+
AY+
AR+
From the coil side MVPs tooth fluxes, , and phase flux
linkages, , can be estimated as follows:
R ( ) = l Fe ( AR + ( ) AR ( ))
R ( ) = N ph R ( )
where, lFe, is the effective stack length and, Nph, is the
number of series turns per phase.
November 23,
2014
ARR
AR+
R ( ) = cos( + )
=1
November 23,
2014
AB+
AR + ( + 60 o ) = AY + ( )
AY+
AR + ( + 120 o ) = AB + ( )
R
AR+
0.01
0.0100
0.008
0.0080
0.006
0.0060
[Wb/m]
0.004
0.0040
0.002
0.0020
1.2E-17
0.0000
R+
R+
-0.002
-0.0020
Y+
Y+
-0.004
-0.0040
B+
B+
-0.006
-0.0060
-0.008
-0.0080
-0.01
-0.0100
00
20
20
40
40
60
80
80
100 120
120 140
140 160
160180180
100
[deg.el.]
el.]
[deg.
Five
Onemagnetostatic
magnetostaticFE
FEsolutions
solution
10
November 23,
2014
5 - solutions
Assuming lack of even order harmonics (half-wave symmetry)
0.0100
0.0080
0.0060
[Wb/m]
0.0040
0.0020
0.0000
-0.0020
-0.0040
-0.0060
-0.0080
-0.0100
0
60
120
180
240
300
360
[deg.el.]
Single magnetostatic FE solution yields six equally spaced points on MVP waveform!
Using five static FE solutions yeilds thirty samples of MVP Flux EMF!
11
November 23,
2014
225
200
175
No significant
harmonic
content
beyond 13th
order
no aliasing
150
125
100
75
50
25
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Harmonic Order
November 23,
2014
60
300
0.1
TSFE
eq. (2)
0.15
0.1
0.05
0.05
-0.05
-0.05
-0.1
-0.1
-0.15
-0.15
-0.2
0.00
2.78
5.56
8.33
11.11
Time, [ms]
13.89
R ( ) = cos( + )
=1
13
November 23,
2014
-0.2
16.67
60
300
360
200
300
TSFE
eq. (3) 200
100
100
300
0.2
0.2
0.15
360
EMF, eR , [V]
0
-100
-100
-200
-200
-300
0.00
2.78
5.56
8.33
11.11
Time, [ms]
13.89
-300
16.67
M
dR d
= sin ( + )
eR ( ) =
d dt
=1
60
120
180
240
300
0.2
0.2
0.1
TSFE
0.15
Samples (5 solutions)
0.1
eq. (2)
0.05
0.05
-0.05
-0.05
-0.1
-0.1
-0.15
-0.15
-0.2
-0.2
0.00
0.93
1.85
2.78
3.70
4.63
Time [ms]
R ( ) = cos( + )
=1
November 23,
2014
5.56
0.15
14
360
60
120
180
240
300
360
300
300
200
200
100
100
-100
-100
-200
TSFE
eq. (3)
-300
0.00
-200
-300
0.93
1.85
2.78
Time [ms]
3.70
4.63
5.56
M
dR d
= sin ( + )
eR ( ) =
d dt
=1
Symmetry of magnetic circuit [PAS 1981, IAS 2011] results in the following
relationships for elemental radial and tangential components of stator core fluxdensities at different rotor positions:
Br ,t t + s , r , = Br ,t (t , r , + k s )
November 23,
2014
60
300
1.5
1.5
e2
1
0.5
0
360
1
0.5
e1
e3
-0.5
-0.5
-1
-1
2s
-1.5
-1.5
-2
-2
0.00
2.78
5.56
8.33
11.11
Time, [ms]
13.89
16.67
Using the same magnetostatic solutions used for estimation of flux-linkages and
back emfs and assuming the lack of even order harmonics (half-wave symmetry),
Fourier series of elemental flux densities can be created:
M
Br ,t ( ) = B cos( + )
=1
Radial and tangential components of elemental flux densities will be used for
estimation of stator core losses (efficiency).
16
November 23,
2014
3
4
60
120
180
240
1.5
0.5
0.5
-0.5
-0.5
B r TSFE magnify x10
B r eq. (11) magnify x10
B t TSFE
B t eq. (11)
-1.5
-2
-1
-1.5
-2
0.00
0.93
1.85
2.78
3.70
4.63
5.56
60
120
180
240
300
1.5
0.5
0.5
-0.5
-0.5
-1
-1
B t TSFE
B t eq. (11)
B r TSFE
B r eq. (11)
-1.5
-2
-1.5
-2
0.00
0.93
1.85
2.78
3.70
4.63
Time [ms]
Time [ms]
Location 1 (Yoke)
November 23,
2014
360
2
1.5
1.5
17
360
2
-1
5.56
3
4
60
120
180
240
360
2.5
0.5
0.5
0
-0.5
B r TSFE
-1
-1
-1.5
-1.5
B r eq. (11)
-2
-2.5
-2
-2.5
0.00
0.93
1.85
2.78
3.70
4.63
5.56
240
360
2.5
2
1.5
0.5
0.5
-0.5
-0.5
-1
-1
-1.5
B r TSFE
-2
-1.5
B t TSFE
B r eq. (11)
B t eq. (11)
-2.5
-2
-2.5
0.00
0.93
1.85
2.78
3.70
Time [ms]
Time [ms]
Location 3 (Tooth)
November 23,
2014
300
1.5
180
1.5
120
60
2.5
1.5
18
0
2.5
-0.5
4.63
5.56
W cos( N
cog
m + )
=1
W
dWstored
= N cog W sin N cog m +
d m
=1
Tem =
cogging
dWstored
P dR
d
d
+ iY Y + iB B
iR
d
d
dmech
2 d
M
M
M
P
o
= iR ( ) sin ( + ) + iY ( ) sin ( ( 120 ) + ) + iB ( ) sin ( ( 240o ) + )
2
=1
=1
=1
W sin (
=1
19
November 23,
2014
mech
+ )
November 23,
2014
20
30
40
50
60
17.4
17.3
17.2
17.1
17
16.9
Cogging - TSFE
Energy (5 solutions)
16.8
16.7
20
10
10
20
30
40
Rotor Position [el. deg.]
50
60
60
120
180
240
300
360
20
20
Torque [Nm]
eq. (8)
TSFE
15
15
10
10
-5
-5
0
21
November 23,
2014
60
120
180
240
Rotor Position [el. deg.]
300
360
10
22
November 23,
2014
Design Optimization
Model-based optimization:
Conflicting requirements on the modeling approach used for optimization
23
November 23,
2014
Design Optimization
Objective function selection:
Single weighted objective function:
N
f1 =
n f n (x)
n =1
min(Torque Ripple)
max(Goodness)
measure of average electromagnetic
torque with respect to total losses
24
November 23,
2014
x = [ D Si , g, wT , l S , d S , d T , T , w PM , h PM , P , wq ]
Typ
M-2
Optimization results:
Generations = 100, Population = 100
Total of 10,000 candidate design evaluations
51 hours on a single core (single license)
Search of maximum torque per amp (MTPA ) for every design
26
November 23,
2014
M-1:
High Specific Torque
M-2:
Compromise
Specific Torque
and Ripple
Typ:
Machine of Normal
Proportions
M-3:
Low Ripple
27
November 23,
2014
22
21
20
19
18
17
16
15
14
0
10
20
30
28
November 23,
2014
40
50
60
1.00
0.75
0.50
0.25
0.00
-0.25
-0.50
-0.75
-1.00
0
10
20
30
29
November 23,
2014
40
50
60
1.5
1.25
1.25
PM Mass
0.5
0.25
1.05
0.93
0.75
0.5
0.25
M-1
M-3
M-2
Typ.
M-1
M-2
Total Mass
1.25
0.92
1
0.75
1.00
0.81
0.75
0.5
0.25
0
M-1
30
1.00
November 23,
2014
M-2
M-3
Typ.
M-3
Typ.
350
347.6W
337.9W
354.8W
300
250
164.9
170.5
184.0
373.3W
167.2
200
Copper
150
100
Core
182.7
167.4
170.8
M-1
M-2
M-3
206.1
50
0
Typ.
31
November 23,
2014
Scripting Maxwell 2D
geometries:
Stator slot shapes
Rotor topologies (various interior-PM and
surface-PM layouts)
Primitives are accessible through scripting
Custom geometries can be created through lowlevel primitives such as lines, arcs, etc.
32
November 23,
2014
Scripting Maxwell 2D
Advice/hint:
Use Tools\Record Script To File to get an idea of how to write your own script!
ENABLE Record Script To File PERFORM the functions using Graphical User
Interface (GUI)
THEN look at the recorded text file to get an idea how to script.
33
November 23,
2014
Scripting Maxwell 2D
Execution of Maxwell models from Matlab environment
phase currents
the load angle in degree, initial value: 20deg
bottom to shaft surface
magnet per pole
34
November 23,
2014
Scripting Maxwell 2D
Execution of Maxwell models from Matlab environment
Running the simulation
% Run program:
invoke(Design,'Analyze','Setup1');
35
November 23,
2014
Scripting Maxwell 2D
Execution of Maxwell models from Matlab environment
Saving results
% Export all data to .csv files:
invoke(Module,'ExportToFile','FluxLinkages','C:\Users\labadmin\Desktop\Optimization
Project\Scripting\ANSOFT\Scripting\Fluxlinkages.csv') % The file path can be changed
invoke(Module,'ExportToFile','Energy','C:\Users\labadmin\Desktop\Optimization
Project\Scripting\ANSOFT\Scripting\Energy.csv') % The file path can be changed
invoke(Module,'ExportToFile','Torque','C:\Users\labadmin\Desktop\Optimization
Project\Scripting\ANSOFT\Scripting\Torque.csv') % The file path can be changed
36
November 23,
2014
Optimization exercise
Toyota Prius IPM type motor:
Objective function:
PM length
maximize : f1 =
Tem
Mass PM
PM depth
37
Optimization exercise
38
November 23,
2014
Optimization exercise
Toyota Prius IPM type motor:
Original (Toyota)
Optimization results
Original motor (Toyota)
PM mass = 2.1 kg @ 243Nm
Optimized motor
PM mass = 1.75 kg @ 245Nm
Possible reduction of up to 20% of PM mass
39
November 23,
2014
Optimized
References
40
1.
2.
D. M. Ionel and M. Popescu, Finite element surrogate model for electric machines with
revolving field - application to IPM motors, IEEE Trans on Ind. Apps., vol. 46, no.6, pp. 24242433, Nov/Dec 2010.
3.
4.
5.
6.
7.
November 23,
2014