Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Project 1.0101-0278
IN 557
Numerical modelling and design of electrical devices
Preface
Believe it or not, both ways you might be right. If there is any importance then try not to mislead
your self confidence. Creativeness is the most encouraging employer and the success is in a secure
side when having a good knowledge of a simple physics and math!
The purpose of the course on numerical modelling and design of electrical devices is to establish
theoretical basis and practical skills for electrical engineers being able to analyze and to develop the
electrical devices. The course material gives an overview of the analysis methods, some guidelines
on design and some examples on computation of an energy converter.
Software
The study material is build up on the flexible computation and design environment in Matlab. Two
freeware are incorporated into the design loops, such as finite element method magnetic (FEMM)
by David Meeker and steady-state finite element heat conduction solver (Mirage) by David Meeker.
Content
1 INTRODUCTION .............................................................................................................................1
1.1 COMPUTER AIDED DESIGN, ENGINEERING AND MANUFACTURING ................................................2
1.2 NUMERICAL METHODS FOR DESIGN OF ELECTRICAL DEVICES ......................................................4
1.3 OUTLINES ....................................................................................................................................4
2 FIELD EQUATIONS ........................................................................................................................5
2.1 FORMULATION OF A TRANSFER PROBLEM ....................................................................................5
2.2 CONSTITUTIVE RELATION ............................................................................................................6
2.3 SOURCES AND BOUNDARIES .........................................................................................................8
3 DESIGN............................................................................................................................................11
3.1 ANALYTICAL MODELLING ..........................................................................................................11
3.2 GEOMETRIC MODELLING............................................................................................................16
3.3 CHOICE OF MATERIALS ..............................................................................................................18
3.4 LOADINGS AND EFFICIENCY .......................................................................................................23
4 EQUIVALENT CIRCUIT METHOD ...........................................................................................25
4.1 EQUIVALENT CIRCUIT MODEL ....................................................................................................25
4.2 THERMAL EQUIVALENT CIRCUIT ................................................................................................29
4.3 MAGNETIC EQUIVALENT CIRCUIT ..............................................................................................32
5 FINITE ELEMENT METHOD .....................................................................................................35
5.1 FINITE ELEMENT MODEL ............................................................................................................35
5.2 TWO-DIMENSIONAL HEAT FLOW ................................................................................................39
5.3 MAGNETOSTATICS .....................................................................................................................44
6 COUPLED FIELDS ........................................................................................................................47
6.1 ENERGY CONVERSION ................................................................................................................47
6.2 ELECTROMAGNETIC COUPLING ..................................................................................................49
6.3 ELECTROMECHANICAL COUPLING..............................................................................................50
6.4 ELECTRO- AND MAGNETO-THERMAL COUPLING ........................................................................52
7 OPTIMISATION.............................................................................................................................55
7.1 DESIGN VARIABLES AND CONSTRAINS .......................................................................................55
7.2 SENSITIVITY STUDY ...................................................................................................................55
8 DRIVE MODEL AND CONTROL................................................................................................57
8.1 STATIC CHARACTERISTICS .........................................................................................................57
8.2 CONVERTER MODEL ...................................................................................................................59
8.3 DYNAMIC CHARACTERISTICS .....................................................................................................60
9 DESIGN ENVIRONMENT ............................................................................................................61
9.1 DESIGN GUIDANCE .....................................................................................................................61
9.2 FROM GEOMETRIC MODELLING TO FE MODELLING ....................................................................62
REFERENCES .........................................................................................................................................65
1
1 Introduction
Rapid evaluation and design of electrical devices that take advantage of high computational power
is an exciting challenge to an electrical engineer. It is as interesting field to study as it is to teach.
Understanding of physical processes and expressing them in mathematical language remain
fascinating and actual. Power of understanding and imagination are a necessary foundation towards
original solutions. The use of computational power, which is incorporated with numerical
modelling methods, is a powerful starting-point for analysis, design and development of any kind of
innovative device. Hereby the device is ‘specified’ as any kind of energy converter that primary or
secondary side is the controlled electric power.
Purpose of this course material is to emphasize students to use computational power to solve
complex multifunctional problems by the help of computer. First, an understanding in
(multi)physics has to be established. Second, the understanding will be self examined through
numeric analysis. Finally the functionality of the designed electrical device and the principles of
optimization are studied. This course material describes the learning process of the numeric
modelling and design of electrical devices that bases on a design example.
The design process of an electrical device [2], which is preferably carried out in the computer
(aided) environment, consists of five parts:
1. physical understanding,
2. mathematical modelling,
3. analysis,
4. synthesis and
5. a cost functional.
Similar to the design process, the learning process is the action of taking something apart in order
to understand and study it, an opposite process, which results in a new creation and maybe an
improvement. The goal of the design process is to develop and to formulate the understanding of
the functionality of the electrical device. It is more important to establish a good understanding on
the energy conversion process that is related to certain geometry than to find an optimum of a
mathematical model that incorrectly describes the energy converter. There is a trade off between
the exhaustiveness and the time spent of creating the model and the modelling itself. The target is
that the model is accurate and fast enough. If anything could go wrong with computer based design
[3] then:
1. the expectations of the results are more than code can ever deliver,
2. the wrong data is supplied or the problem specification is erroneous,
3. the procedures used in the software are not accurate enough,
4. the assumptions inherent in the procedure are too approximate,
5. the user does not have enough knowledge to interpret the results or misuses the software.
A software user’s/designer’s knowledge is decisive in the design process. The successful solution of
an energy converter and fully understood functionality of the conversion process are often not yet
the triumph for a complete designed product. It is important to understand the objectives
2 1. Introduction
additional to the functionality such as controllability, manufacturability, etc. whichever usually the
successful design is valued as a cost competitive product [3][5].
Design as a process involves a number of choices and motivations, and can take many forms
depending on the object being designed and the individual or individuals participating. Designing
normally requires considering the design requirements and to look for the best solution, which is
additionally an optimization process where a target such as a light-weight construction, cost,
efficiency, reliability or some other requirements are focused on.
The challenge presented here as an example, designing a linear actuator, involves solving a coupled
problem of multiphysics. This incorporates electromagnetism, mechanics, heat transfer and the
coupling between the different fields that is all in accordance with the energy conversion principle.
The learning process prioritizes establishing a good understanding in analysis, development and
design of an electromechanical device rather than creating excellent computer based functions. The
computer based functionality has importance to improve the power of understanding and
imagination, and to shorten the design process and reporting.
Figure 1.1 Relationship among computer aided design, engineering and manufacturing in product advancement.
The location of the numerical modelling in the space of the device development is shown in Figure
1.2. Typically the analytical model is the fastest but too approximate and the experimental work is
too costly, which is due to the need of process time and resources, for the device development. The
computer simulation establishes an advantage of a design and an evaluation approach, which is
relatively inexpensive and rapid. Even though the practical outcome (a prototype) is not the point
1. Introduction 3
of interest, the theoretical and the practical approaches can be hardly excluded from the
completeness in order to understand the physical reality or/and to improve technical predictions.
real device modelling mathematical model of
the device
comparison comparison
Figure 1.2 Analytical, numerical and experimental research and development [2].
Computer aided design (CAD) bases on a design model that incorporates the optional choices. The
design model joins together the main goals of the design of an electrical device and formulates its’
performance according to the dimensions, sources and materials. CAD includes often CAE tools
such as numeric field modelling in order to evaluate the characteristics of the electrical device. The
evaluation of physical processes (in this course material) bases on a set of simple equivalent circuits
(EC) or a more complex finite element (FE) model. The model(s) describes the magnetic, mechanic
and thermal behaviour. The output from the equivalent circuit is considered as a rough estimation.
Nevertheless, it is necessary that the equivalent circuits are able to account correctly the changes in
the device construction, and to give realistic results in a wide range of input variables. The purpose
of the rough estimate is to find out ‘optimal’ relations in the device construction and sources
according to the design criteria, which could be an input to a more exhaustive numerical modelling
method as FE analysis (Figure 1.3).
APPROXIMATE
DESIGN MODEL
Figure 1.3 Computation loop in the design process of a device. This loop can be used also as a model upgrading
loop.
The device design is a process loop of different tasks that usually use different software’s. It is
important that this loop is able to operate without user interaction. In an example of this course
material the design tool is operated in Matlab that specifies the input data to the finite element
analysis, does the model administration and analyses results and visualizes the output, as it is most
informative in animation format. The latter is useful for a fast visual evaluation process. The FE
analysis, which is performed by different software than Matlab, is used in conjunction with the
Matlab programming language in order to perform automated simulation and performance analysis
of a device. Instead of an exhaustive and ‘correct’ optimization the designed device is entered into
upgrading analysis such as sensitivity study in order to improve the initial characteristic of the
device.
4 1. Introduction
Principle of m1
discretisation m2
q*
1.3 Outlines
The first chapter gives a short introduction to design and numeric modelling of electrical devices.
The objective of the second chapter is to establish a physical understanding through the
mathematical expressions on the (time independent) field theories. The design issues are described
in chapter 3. Chapter four focuses on the equivalent circuit method and chapter five on the finite
element method. The objective of the sixth chapter is to recall coupling between the different fields
and introduce dynamic (time dependent) effects. Chapter 7 focuses attention on some optimization
techniques and chapter 8 to device’s characteristics and modelling. The 9th chapter deals with a
structure for a design environment.
5
2 Field equations
Electromagnetic phenomena are described by Maxwell’s equations. These general relations are valid
at any time instant and at every point. Structural mechanics bases on Navier’s equation and fluid
mechanics can be expressed through Navier-Stokes equations. Heat transfer is expressed by heat
equations and so on. A state of a closed system can be described by energy, mass or momentum
balance where the cause-effect relationships describe how the balance is achieved. The objective of
this chapter is to establish the connection between the understanding of physical reality and
mathematic means of expression. The starting point of focus is one-dimensional static scalar fields.
Q(x)
H H+dH
dx
x
L
Figure 2.1 Formulation of one dimensional (1D) heat transfer problem in a fin where temperature variation
along the fin is considered much larger than temperature variations normal to the fin.
A conservation equation (Eg 2.1) describes the balance of the time independent heat flow,
where the total heat inflow per unit time equals to the total heat outflow per unit time.
dH
H + Q ⋅ dx = H + dH ⇒ =Q (2.1)
dx
A heat flux q [J/(m2s)] is specified (Eq 2.2) as the flow through the cross-section area per unit time,
and this is considered positive when the heat flows in x-direction.
H
q= (2.2)
A
6 2. Field equations
A constitutive relation defines (Eq. 2.3) the heat flow density (vector) q [W/m2] inside a medium
according to the temperature gradient ∇ϑ [K/m] and the thermal conductivity λ [W/mK] of the
medium.
dϑ
q = −λ ⋅ (2.3)
dx
Insertion of equation 2.3 into 2.2 and the result into 2.1 yields the one-dimensional heat
transfer equation over the 1D region 0≤x≤L (Figure 2.1)[9].
d ⎛ dϑ ⎞ (2.4)
⎜λ ⋅ A⋅ ⎟+Q = 0
dx ⎝ dx ⎠
The one dimensional heat transfer equation (Eq. 2.4) is so called strong formulation of the 1D
heat transfer problem. The stationary (i.e. time-independent) heat problem is described as a balance
between heat supply to the body per unit of time and the amount of the heat leaving the body per
unit of time. The thermal conductivity, is denoted by λ, and describes the relation between the heat
flux vector q, and the temperature gradient. This relation is also known as Fourier’s law of heat
conduction. Temperature ϑ is a potential and that difference (gradient) causes the heat flow. The
flux (flow) is defined as positive along the x-axis and this correspond to negative temperature
gradient dϑ/dx, which is in accordance with the physical fact that heat flows from hotter to cooler
regions.
The second-order differential equation of the heat transfer balance can be solved for the finite size
of volume when two boundary conditions are specified in the ends of the fin. At one of these
ends either temperature ϑ or flux q should be given.
ϑ(L)
q q
x A(x) A(x+dx)
L
Figure 2.2 Relation between flow and potential difference i.e. medium parameterization. Instead of temperature
ϑ on the isothermal plane the more general symbol a is used for potentials (unknowns) and thermal
flow q is replaced with flow φ.
2. Field equations 7
Surfaces of equal scalar potential, a, are perpendicular to lines of flux φ therefore the bases of the
flux tube are equipotential planes (Figure 2.2). The difference between scalar potentials on the bases
equals to the potential drop, such as temperature, voltage, magnetomotive force i.e. depending on
the type of field problem. The value of the element (Figure 2.2) can be found either from the ratio
of the potential difference to the flux or from the geometry and the characteristics of the medium.
a(L ) − a(0)
L
dx
Rc = =∫ (2.5)
φ 0
c(x ) ⋅ A(x )
The mathematical formulation (Eq. 2.5) involves the general labelling for the potential a(0) and a(L)
in the ends of the flux tube element, which length is L. The flux passes perpendicularly through the
cross section area A(x), through the medium, which material (electric, magnetic, thermal etc)
conductivity is noted as c(x).
One-dimensional heat flow, magnetic flux flow and elasticity (etc) problems are formulated
according to conservation equation and constitutive relation at stationary conditions. If the heat
transfer problem describes the temperature ϑ distribution between a source Q and coolant, then the
magnetostatic problem specifies the magnetic potential Vm according to the flow of magnetic flux
sources Ψ (i.e. permanent magnets). The displacement u is the unknown for elasticity problem with
body forces b. The thermal and the elasticity problem are defined over an open chain that is defined
by boundary conditions, while a closed loop according to a magnetic flux path specifies the chain
for the magnetostatic problem. The ability to conduct flow in different media with respect to
physical problem is defied with thermal conductivity λ, magnetic permeability μ or elasticity E and
the corresponding cross section A. Table 2.1 compares the various physical problems and shows
the similarities between the different physical disciplines [8][9].
Table 2.1 Field quantities and (1D) formulation of some physical problems
Flux, Force
F V
Charge Q = ∫ qdA φ = ∫ BdA = Q = ∫ DdA = VC I = ∫ JdA = F = ∫ σdA
Rm RΩ
Current
B2 D2
Energy W = ∫ Qdt W = ∫ Fdφ → ∫ dV W = ∫ VdQ → ∫ dV W = ∫ IVdt W = ∫ Fdu
2μ 2ε
8 2. Field equations
By comparing expressions for stored energy in electrostatic and magnetic field, especially energy
density, it is seen that in free space and at the same level of the field strength the magnetic field has
μ0/ε0 times higher electromechanical energy conversion capability than the electrostatic field.
Constitutive conditions
The conservation equation in conjunction with constitutive relation states the ‘flow’ and the
‘potential distribution’ in the time invariant system at the steady-state conditions. According to
Gauss’ Law the ‘flow’ – the (electric displacement, heat, etc) flux out of any closed volume is equal
to the ‘source’ (charge contained, the heat generation, etc) within the volume. If the problem
domain for magnetostatics contains current conducting coil(s) (J≠0) (considering Ampere’s Law),
which is usually not the case for the one dimensional (1D) problem, then a magnetic vector
potential A needs to be introduced instead of the magnetic scalar potential Vm. Different from the
electrostatic and thermal problem the divergence of the flux density in magnetic problem is zero
(∇B=0). This means that the lines of the magnetic flux are closed curves without source(s) and
sink(s), which is different to electrostatic problem where the source of electric field is a positive
charge, and the electric field sink is a negative charge or a body with a higher and lower temperature
in the thermal problem.
∂Ve/∂n=C
A=0
Ve(x)=-Ve(-x)
∂A/∂n=0
Figure 2.3 The flux lines distribution in free space: the electric field created by two charges with opposite signs
(red dotted lines), and the magnetic field created by the current carrying conductors (blue dashed lines).
The figure includes also possible boundary conditions for electric and magnetic field. With ∂A/∂n=0
the vector B admits only the component normal to the boundary.
Generalised constitutive relationships (Eq. 2.6 – 2.8) include the remanent displacement current
density DR and remanent flux density BR which equals to the displacement current density or the
flux density, respectively, if no electric E or magnetic H field is present.
2. Field equations 9
D = ε 0 ε r E + DR (2.6)
B = μ 0 μ r H + BR (2.7)
J = γE + J e (2.8)
Equation 2.8 introduces an externally generated current Je, while the internally generated current is
caused by the internal (induced) electric field E.
Continuity conditions
At interfaces between two regions (media), which have different physical properties, the following
interface conditions are stated for an electrostatic and a magneto-static problem (Eq. 2.9-2.12).
According to the continuity (Gauss’ Law), the flux leaves a region (2) equals to the flux that enters
to another region (1) through the common interface (Figure 2.4).
Bn1 α1 B1
∫ Hdl, ∫ Edl
Ht1 1
B2 2
α2 Ht2
Bn2
n 2 × ( H 1 − H 2 ) = H t1 − H t 2 = J s (2.12)
If there is no surface current density or surface charge density present then the angle between the
flux density vector, or respectively the displacement current density vector, and the normal vector
of the surface can be easily found. In case of magnetic medium
Bt1 μ1 H t1 tan(α 2 ) μ 2
tan(α 1 ) = = → = (2.13)
Bn1 Bn1 tan(α 1 ) μ1
The difference between the (projection) angles depends on the difference of magnetic permeability
of the interfaced media (Eq. 2.13). This leads that the large variation of the flux density projection
angle in the high permeable medium (unsaturated iron) cause very small changes in the
corresponding angle in the low permeable medium (air). Therefore, by assuming infinitely
10 2. Field equations
permeable and unsaturable iron the flux lines are perpendicular to the iron surface, which is useful
assumption in the analysis of the electromagnetic circuits.
Boundary conditions
The boundary conditions are used to obtain true unique solution for the problem, to reduce the
size of the numeric model and to constrain the field that surrounds the electrical device. Basically,
there are three types of boundary conditions that are used to reduce the size of the numeric model.
1. Dirichlet (essential) condition specifies the value of unknown – the value of potential e.g. A=0
(Figure 2.3).
a = const (2.14)
2. Neumann's (natural) condition specifies the normal derivative of potential along the boundary,
e.g. ∂A/∂n=0, ∂Ve/∂n=C (Figure 2.3).
∂a
= const (2.15)
∂n
3. Binary or periodic boundary conditions that is used to reduce multi-pole repetition, e.g. Ve(x)=-
Ve(-x) (Figure 2.3). The corresponding nodes either connected or the values to a1 are obtained
from a2. If m=0 (Eq. 2.16) and k equals 1 or -1 this boundary is called binary boundary
condition.
ka1 + a2 = m (2.16)
A number of boundary conditions are used to imitate the effect of the boundless numeric model by
taking into consideration thermal convection and/or radiation, (flux) inflow/outflow etc.
4. Mixed boundary (Robin or Cauchy) condition is a combination of Dirichlet’ and Neumann’s
boundary conditions that is to define impedance in order to model the bounded problem like
an unbounded region. This is used to define convective boundaries in the heat transfer
problems.
∂a
k1a + k 2 =0 (2.17)
∂n
5. Inflow/outflow condition, where the flux f across a boundary is described
∂a
f + k2 =0 (2.18)
∂n
Dirichlet’ boundary condition is introduced when the flux through the surface is zero. This
boundary condition is used when the flux lines are parallel to the boundary, and it is used to
'contain' the flux lines within a certain region (the magnetic field is tangential to the boundary).
Neumann's boundary condition determines the surfaces that the magnetic flux crosses
orthogonally (the magnetic field is perpendicular (i.e. normal) to the boundary). Periodicity
condition is set to reduce the size of the model according to the periodic structure of a multi-pole
electrical machine. Magnetic fields are periodic over the length of a single pole pitch (i.e. anti-
symmetric, k=-1) of the unloaded machine and a double pole pitch (i.e. symmetric, k=1) of the
loaded machine.
11
3 Design
The task of designing an electromechanical device is to choose the set of geometrical data and
material properties to attain the functionality requirements for the device, [geom,mate]=f(performance).
This is the inverse process of the modelling where the geometrical and the physical parameters are
known. The design model is actually made as modelling the function [performance]=f(geom,mate) in
order to attain design requirements. The construction of an electrical device is described in
terms of design parameters, where some of them are constrained with the design requirements.
The geometrical parameters define the size and the geometrical proportions of the device.
Additionally theoretical design factors are used to quantify the physical parameters of the energy
conversion process [5]. They can be broken into five areas: electrical, dielectric, magnetic,
mechanical and thermal. These can be also seen in turn as different circuits with flows and flow
densities, which are coupled into geometry. The flow densities such as the electrical current, the
magnetic flux and the loss power density can be considering as the loadings that establish the
relations between the size, the material properties and the performance of the energy converter.
The design model, which is a description of system and structure, includes geometric modelling
and a modelling of material properties. Study of the behaviour of the design model may include a
numerical modelling – handle the complexity of PDE which describes the physical processes.
The design process of an electrical device consists of five parts: physical understanding,
mathematical modelling, analysis, synthesis and a cost functional (Chapter 1). The objective in the
design process is both technological and economic aspects. An arbitrary linear actuator (a design
idea) is taken as a design example in this study material. From numerical modelling point of view,
this kind of example accumulates quite a few design issues and a wide scope of the numerical
models can be applied in order to investigate and analyse the behaviour of the electromechanical
system. The first task is to establish physical understanding through analytical modelling. The
static characteristics are focused first and the dynamic effects are disregard in the first
analysis/design stage. The analytic evaluation of the device is followed by the geometric and
material parameterisation of the device in order to complete the analytical modelling.
1 2 3 2 3
φc2
φc1
φpm
4 5 4 5 4
Figure 3.1 A geometry layout of the arbitrary linear actuator that is taken as a design idea.
In order to analyse magnetic coupling in an electromagnetic device a magnetic flux path have to be
presumed. The magnetic flux Φpm, which is caused by permanent magnets, passes the armature core
– a circuit that has the lowest magnetic reluctance (by assuming high permeability core). If the
current in the coil becomes different from zero then the armature field that drives flux through the
piston is labelled as Φc1 and Φc2. Apparently these flux paths do not pass the largest magnetic
permeance circuit as it includes magnets (low permeability) and in the sake of accuracy the leakage
paths should be taken into consideration. If the device has only the permanent magnets or current
carrying coil, then the size of the model could be reduced by using Neumann’s or Dirichlet’
boundary condition respectively.
A balance can be formulated according to Ampere’s circuit law (Eq 3.1) to the presumed magnetic
flux loop(s).
∑H ⋅l = N ⋅i (3.1)
In case of a circuit that consists of a magnet, a soft magnetic core and an air-gap, the formulation
(Eq 3.1) becomes (Eq 3.2). The length l is considered as a total path length for a specific medium.
H pm ⋅ l pm + H fe ⋅ l fe + H g ⋅ lg = N ⋅ i (3.2)
In respect to constitutive relations and the material properties in the different media (Eq 3.3) the
magnetic field intensity H (Eq 3.2) can be replaced with flux density B in different part of the
magnetic circuit (Eq 3.4).
B pm = Br + μ pm μ 0 H pm B fe = μ fe μ 0 H fe Bg = μ 0 H g (3.3)
B pm − Br B fe Bg
⋅ l pm + ⋅ l fe + ⋅ lg = N ⋅ i (3.4)
μ 0 ⋅ μ pm μ 0 ⋅ μ fe μ0
Expression 3.5 states the relation between the magnetic flux, the flux density and the cross-section
area. The magnetic flux is the same in the circuit, where the elements are connected in series (Eq
3.6).
φ pm = B pm ⋅ Apm φ fe = B fe ⋅ A fe φ g = B g ⋅ Ag (3.5)
3. Design 13
φ pm = φ fe = φ g (3.6)
The magnetic flux due to permanent magnets Φpm can be calculated from the total remanent
magnetomotive force of magnets and the total reluctance of the circuit (Eq 3.7).
⎛ l pm l fe lg ⎞
Φ pm ⋅ ⎜ + + ⎟ = Br ⋅ l pm (3.7)
⎜ μ ⋅μ ⋅ A ⎟ μ ⋅μ
⎝ 0 pm pm μ 0 ⋅ μ fe ⋅ A fe μ 0 ⋅ Ag ⎠ 0 pm
The compact form of the circuit reluctances (Eq 3.7) results the circuit equation for the magnetic
flux from the magnets (Eq 3.8).
Φ pm ⋅ (R pm + R fe1 + Rg ) =
Br (3.8)
⋅ l pm
μ 0 ⋅ μ pm
By considering all the sources of the magnetic flux, the least complete magnetic circuit has two
nodes and three parallel circuits (armature limbs) between the node points. By repeating the same
procedure for the magnetic flux loops Φc1 and Φc2, the complete equation system (Eq 3.9) can be
stated.
⎛1 ⎞ 1 Br
Φ c1 ⋅ ⎜ R pm + R fe 2 + R g ⎟ = J C AS K f + ⋅ l pm
⎝2 ⎠ 2 μ 0 ⋅ μ pm
(3.9)
⎛1 ⎞ 1 Br
Φ c 2 ⋅ ⎜ R pm + R fe 2 + R g ⎟ = J C AS K f − ⋅ l pm
⎝2 ⎠ 2 μ 0 ⋅ μ pm
It can be noticed that in the given position the serially mounted magnets hardly drive flux through
the middle limb of the armature core. Basically a single magnet is faced to the same (double) air-gap
reluctance than the two magnets together. The difference between the magnetic core reluctances
are described in equation 3.10, where t points to a tooth (limb), y to a yoke and p to a piston (pole).
R fe1 = 2(Rt + R y + R p ) R fe 2 = 2 Rt + R y + R p (3.10)
If the magnetic materials are considered to be linear, then the magnetic fluxes that are only due to
the permanent magnets or the coil are practical to derive. The later means that the flux, which is
caused by the armature reaction depends only on the total current and not on the remanence of the
magnet (Eq 3.9). The total current that causes armature field is expressed through a slot area AS, a
conductor filling factor Kf, which results N parallel conductors to fit into the cross-section area, and
the (direct) current density JC in the conductor. Once the magnetic state of the device has been
found the question of interest will be the forces, the losses, the efficiency, the demagnetisation limit
and the thermal limit of the current(s) and so on.
It can be assumed that the electromagnetic device (Figure 3.1) has no forces along the horizontal
axis and the piston is in a mechanic equilibrium position i.e. the symmetry axis of the armature co-
aligns with the symmetry axis of the piston. Even though the stored magnetic energy of the system
is different from zero, the mechanic energy that would move the piston along the horizontal axis is
zero. If the input of the electric energy becomes different from the zero, then the potential energy
increases that would move the piston along the horizontal axis. By neglecting the edge effects, the
electromagnetic device (Figure 3.1) can be seen as a single-phase rotary motor (Figure 3.2), where
the armature field from the coil is perpendicular to the magnetising field of the permanent
magnet(s). In this case the maximum electromagnetic forces are applied to the current carrying
conductor in the magnetic field.
14 3. Design
Figure 3.2 An example of a single phase rotary motor that has a magnetising field caused by permanent magnet
along the direct-axis and the armature field along the quadrate-axis.
The electromagnetic force applied to the piston (Eq 3.11) can be derived from the simple case
where the uniform current density JC in the conductors in the slot AS is perpendicular to a uniform
magnetic flux density B from the piston poles. The magnetic flux density B is expressed through a
magnetising flux Φpm or a flux linkage Ψpm and the cross-section area of a single tooth (limb).
NΦ pm 2wt I 2 2
F = ∫ J × Bdv =Bli = = Ψ pm I = Φ pm J C AS K f (3.11)
wt lt lt lt
Apart from the forces in the in the design example it is necessary to investigate the limit of
forces/currents due to demagnetizing effects or the thermal limits. Figure 3.3 visualises the
operation point of the magnetic circuit that includes a linear air-gap, a non-linear iron-core and
permanent magnet(s). Due to the change of the reluctance or/and the external field the operation
point of the magnet changes and if it goes below the knee point ΦD then the magnet starts to loose
the strength of the initial magnetization.
ΦR=BRApm P4 Φpm+ Φa
P1
P2 Φpm P2
P3 Φpm− Φa
permanent magnet
Φd
FCB FCJ=HCJlpm Fpm Fg Ffe F F
F=NI
Figure 3.3 FΦ characteristics of the magnetic core include a permanent magnet, an iron core and air-gap (on the
left), and an armature coil that has the current different from zero (on the right). The demagnetization
curve of the magnet shows the internal relation between magnetomotive force of the magnet F (H) and
the magnetic flux of the magnet Φ (B) when the magnet is loaded with the magnetic core i.e. the air-
gap and the iron core. The air-gap length as well as the reluctance increases, which results the working
point to move from P1 to P2 (on the right). The armature field (on the left) may be magnetising effect
(operation point moves from P2 to P4) or demagnetising effect (operation point moves from P2 to P3).
If the operation point moves below the knee point ΦD then it causes demagnetisation of a permanent
magnet.
The realistic electrical conductor has conductivity γ different than infinity, and this causes losses.
The conductor losses Pcu.dc in the winding (Eq 3.12) is expressed as the power loss density (Q
[W/m3]), which depends on the electric conductivity γ and the current density square JC2, and the
volume of the coil Vcoil. The average length of a single turn is expressed as lcoil.
3. Design 15
2
⎛ J C AS K f ⎞ 1 l coil N 1 (3.12)
= I R = ⎜⎜ ⎟⎟ = ρ J C AS K f l coil = J C2 K f Vcoil = QVcoil
2 2
Pcu .dc
⎝ N ⎠ γ S f
A K γ
N
For the sake of simplicity it can be assumed that the temperature rise in the device depends mainly
on the heat generated in the coil and the heat transfer from the hot-spot to the surface of the coil
and from the surface to the ambience. Therefore the temperature rise in the rest of the device and
the heat transfer from the other cooling surface(s) to the ambience can be neglected. It is partly
correct if considering that the thermal conductivity is much lower to a wound coil that it is for a
core or when focusing only to the end-windings. In case of one dimensional (1D) heat distribution
(Eq 2.4) when the heat is generated within the material itself is (Eq. 3.13):
d2
λx ϑ +Q = 0 (3.13)
dx 2
By applying the boundary conditions that there are no heat flow q [W/m2] through the symmetric
surface(s) and the predefined temperature of the bounding surfaces is ϑs=ϑamb+Q·d/2/α, then the
temperature distribution in a plate with a thickness of d=2xs and the reference temperature
ϑ(∞)=ϑamb is expressed in equation 3.14. The heat transfer from the plate is taken into
consideration with heat transfer coefficient α [W/m2K].
ϑ ( x ) = ϑamb +
Q
2λ x
(
⋅ xs − x 2 +
2 Q ⋅ xs
α
) (3.14)
The temperature distribution in a cylinder with a diameter of d=2rs and the surface temperature
ϑs=ϑamb+Q·d/2/α, and the reference temperature ϑ(∞)=ϑamb is expressed in equation 3.15.
ϑ (r ) = ϑamb +
Q
4λr
(
⋅ rs − r 2 +
2
2α
)
Q ⋅ rs
(3.15)
ϑ=ϑs
d/2
ϑ=ϑs
0.5dmax Q=0
q,λ
Q=0
0.5dmin
Figure 3.4 The symmetric part of a conductor cross-section with an internal heat generation q and an isotropic
thermal conductivity λ. The symmetry planes with predefined heat flux Q are the same for a cylinder
and a plate.
The highest temperature rise Δϑ in the centre of a plate or a cylinder, which thickness or diameter,
respectively is denoted with d and the geometry related coefficient Kg is 1 for a plate and 2 for a
cylinder.
Q d2 Q d (3.16)
Δϑ = +
2K g λ 4 K gα 2
16 3. Design
The realistic cross-section area of a winding is between the rectangle and the circle which
corresponds to the striped area in Figure 3.4. The geometric shape and proportions can be taken
account with the geometry related coefficient that is found empirically from the ratio of the shortest
dimension to the longest dimension of the cross-section area.
2
⎛d ⎞
K g = 1 + ⎜⎜ min ⎟⎟ (3.17)
⎝ d max ⎠
Usually the allowed temperature rise Δϑ in an electric device is specified and this is the starting
point to estimate the maximum current density and force. If the input dc voltage is specified
initially then the electric circuit can be adapted to the input. The number of turns in the winding
(Eq 3.18) that is connected to dc supply can be found according to the chosen current density and
the predefined voltage.
1 l coil ⋅ N AS ⋅ K f 1 γU
U = R⋅I = ⋅ ⋅ JC ⋅ = ⋅ J C ⋅ l coil ⋅ N ⇒ N = (3.18)
γ AS ⋅ K f N γ J C l coil
N
The output from the analytic model is not exact due to simplified straightforward approach; still the
analytical modelling helps to establish the physical understanding, to study the way of expressing it
in the language of a mathematical model and to evaluate the output of the numeric modelling.
Geometric model
The first task in achieving physical understanding is to construct a geometric model, which
describes the shape of the physical object that is the linear actuator as an example (Figure 3.1). A set
of node coordinates N(x,y) defines a region – a polygonal cross-section area that is visualized in
Matlab graphics. This is as funny as easy way to start learning different possibilities in Matlab. Apart
from the x and y (local) coordinate vectors some additional data such as magnetization direction,
current density and some additional specifications are attached to a structure array of the region. As
a result the set of the structure arrays describe the whole geometric model (Chapter 9).
All the connection between the nodes in the whole geometry has chosen to be linear in order to
reduce the complexity of the geometric modelling. Otherwise the method of defining the
curvilinear connection between the node points has to be stated separately and this involvedness
has a tendency to prolong the completion. Together with the geometric modelling, the topology
and the principle of operation of the linear actuator, which is described in the analytical model, can
be successfully completed, and this is the second task of establishing the physical understanding.
Geometry parameterization
The geometrical parameters define the dimensions or alternatively the proportions between the
dimensions of the parts of an electrical device. An example of a parameterised geometry is set up
3. Design 17
for the structure of the design example (Figure 3.5), where all the numeric values of dimensions are
replaced with parametric variables.
ld
y,r
hy
ins
hw hd
1 2 3 2 3
g
x,z
hm
4 5 4 5 4
lm
In Table 3.1 the length of magnet lpm is defined in the magnetization direction, usually in the
literature the magnet thickness is labelled with hpm and this dimension co-aligns with the
magnetisation direction. In the design example the magnetic orientation (magnetization) is along x-
axis but the magnets can be set so that either the same poles or different poles are placed face to
face. The thickness of magnet along the magnetization direction lpm and the length of the piston
core spacer lmb determine the mechanical characteristics. The dimensions for the magnetic core –
the armature tooth lt,, the height of the yoke hy and the height of the mover core hm are chosen so
that they have the same dimension (Figure 3.5), therefore the same magnetic flux density.
18 3. Design
Example
An example of the stator core parameterization and visualization script in Matlab is given.
% parameters
K_s = 0.5; % slotting factor
N_s = 2; % number of slots
l_c = 20e-3; % length of the core
w_c = 12e-3; % width of the core
% arbitary parameters
l_t = l_c / ((N_s+1)+K_s/(1-K_s)*N_s); % length of the tooth
l_s = l_c / ((1-K_s)/K_s*(N_s+1)+N_s); % length of the slot
x_s=[]; y_s=[]; % empty vector of 2D coordinates
for ki=1:N_s % prolong a data vector % 2D coordinates of a slotted core
x_s=[x_s (l_t+l_s)*(ki-1)+[0 l_t l_t l_t+l_s]]; % x-coordinate of a slotted core
y_s=[y_s 0 0 w_c-l_t w_c-l_t]; % y-coordinate of a slotted core
end
x_s=[x_s l_c-l_t l_c l_c 0 0]; % x-coordinate of a complete core
y_s=[y_s 0 0 w_c w_c 0]; % y-coordinate of a complete core
A_core=polyarea(x_s,y_s); % calculate the polygon area
% visualization
figure(1); clf; hold on; % clear figure 1 for new drawing
plot(x_s,y_s,'k-'); % plot data vectors
axis equal % proportional figure
title(['core area: ' num2str(A_core*1e+6) ' mm^2']) % informative graph output
xlabel('x [m]'); ylabel('y [m]')
x 10
-3 core area: 176 mm2
12
10 lt
8
lt
y [m]
0 0.002 0.004 0.006 0.008 0.01 0.012 0.014 0.016 0.018 0.02
x [m]
Figure 3.6 Core design output from the Matlab script. The same thickness of the stator teeth and the yoke is
chosen.
Conductor wire
The electrical conductor wire is typically made of copper, which has typically round cross-section.
The copper wire is usually produced according to a standard diameter table. Later the copper wire
is enamelled or coated. Nowadays, the most common conductor in standard use corresponds to the
heat resistant class F, which limit temperature is 155°C (Figure 3.7). The highest temperature in
the F class winding is chosen at least 15°C lower than the limit.
5
10
conductor tolerances
grade 1 tolerances
0.1
grade 2 tolerances
0.06
0.04
3
10
0.02
0
Class 200
Class 155
2
10 -0.02
140 160 180 200 220 240 260 280 0.2 0.2240.25 0.280.315 0.4 0.5 0.63 0.8 1 1.25 1.6
temperature [°C] nominal conductor diameter [mm]
Figure 3.7 Round enamelled winding wire of copper DASOL and DAMID, respectively, heat resistant class
155 and 200. The heat shock is, respectively, 175°C and 220°C, and electric breakdown voltage
1.8-4.8 kV depending on coatings. The limit for the thermal loading of the enamelled conductor is
shown on the left. The conductor and the coating tolerances are shown on the right for class 155
conductors which is in the same size of order as for the class 200 (Dahrèntråd AB, Sweden).
The winding can be made
1. as a random wound coil filled into the semi closed slots like in the most low voltage
electrical motors,
2. the winding can be wound directly on a core tooth or a bobbin like transformers or
electrical motors with concentrated windings,
3. or the form of the winding can be achieved from the thermal processing e.g. a bondable
conductor with a thermo-adhesive coating.
Depending on the randomness of the found coil, this is seen as inverse of packing, and lowest
thermal conductivity in the cross-section of the wound coil, the temperature increase in the winding
can be calculated just by knowing the shape of the winding cross-section area. The packing is
characterised by a conductor filling factor. The conductor filling factor is the ratio of the pure
conductor area to a slot area. The slot area is the sum of the conductor area, the coating area, the
areas between the parallel strands and a main insulation. It can be pointed out the filling of the
insulated slot or/and slot without main insulation. In the most practical cases the conductor filling
factor (including the main insulation) is 30-50% of the random wound coils in the low voltage
electrical machines.
A winding can be assumed like a stack of laminations (Figure 3.8 in the left), where the total length
of the quadratic conductors is Kf times smaller than the total length L of the stack of the winding
including insulation between the parallel strands. The insulation has low thermal conductivity λins
compared to the conductor λcond. The aforementioned material properties and conductor filling
factor Kf determine the equivalent thermal conductivity of a winding λeqv (Eq 3.16).
20 3. Design
The outcome from the function (Eq 3.17) is shown in Figure 3.8 on the right. If the round
conductor fills a rectangle with π/4 then the real filling factor is lower due to coating of the
conductor. If the diameter of enamelled wire is 10% larger than conductor diameter then the
conductor filling factor is about 70%. Practically, the conductor filling factor about 60-70% of
parallel non-crossing wires is quite realistic. This filling factor has small dependence on how the
parallel strands surround a single strand: a rectangle and a hexagon can be imagined. The hexagon
wound prepressed windings have conductor filling factor about 81% at 400 MPa compression.
Above the pressure of 400 MPa is little to be gained [4].
1 10
1
0.9
3
λcond λins 0.8
0.3
0.1
0.7
10
filling factor kf
0.6
q 0.5
0.4
10
0.3
3
1
0.03
0.2
ϑ1 L ϑ2
0.3
0.1
10
0
0.01 0.03 0.1 0.3 1 3 10
thermal conductivity of insulation λins W/mK
Figure 3.8 Equivalent thermal conductivity of a winding can be specified in respect of the filling factor of the
conductor strands (copper in this example) and the thermal conductivity of the medium between the
conductor strands.
It can be seen from the graph (Figure 3.8) that if the space between the copper strands is filled with
epoxy then the heat transfer can be improved considerably. The winding impregnation – soaking,
improves thermal conductivity and the temperature rise in the different parts of coil can be reduced
remarkably (epoxy: λepoxy=0.64W/mK). From another way around, if the impregnated winding has a
local zones where the space between the copper strands are filled with air then the hot spot
appears likely inside of this zone. Apart from thermal parameters the other important parameters
for the winding is an electric breakdown voltage.
density compared to the laminated iron (Fig. 2.5). The isotropic SMC material has advantageous
features not only regarding the magnetic behaviour but also the heat transfer. In EMS materials,
similarly to the 2D magnetic circuit, the heat transfer varies appreciably in the inter-laminar and
cross-laminar directions and the difference may be a hundred times. Different approaches makes
possible to produce a soft magnetic core with increased complexity and integrity at the same time
with increased manufacturability. Table 3.2 shows the comparison between the laminated iron and
the compressed and injection moulded soft composite material.
Table 3.2 The choice values for the different types of the soft ferrous material. The 0.35 mm electromagnetic steel
that has the lowest losses (Surahammarsbruk AB, Sweden) is compared with SMC material that is
compressed with 0.6% lubricating binder (Höganäs AB, Sweden). Additionally a small amount of
data from the experimental material of plastic bounded iron powder (PBIP) is shown.
laminated steel Compressed SMC Injection moulded
Quantity Symbol Unit
3% Si Somaloy 500+LB1 iron powder
Relative permeability μr.max - 9250 200 10-20
Coercivity HC A/m 35 400 100-400
Hysteresis loss coefficients ch/eh JT-1m-3 162/1.7 1160/1.8
Eddy current loss coefficients ce 0.338 0
Anomalous loss coefficients ca 0.146 3.60
Stacking factor 0.95-0.98 0.9 0.8
Resistivity ρ Ω·m 59e-8
Thermal conductivity (d/q) λ W/mK 28 / 0.71 17 1-3
Price K€ - low moderate moderate
2.5 10000 4
M235-35A 10 M235-35A
somaloy500 9000 somaloy500
2
2 8000
core losses [W/kg]
10
relative permeability μ
7000
flux density B, T
0
1.5 6000 10
5000
-2
10
1 4000
3000 -4
10
0.5 2000 2
1000 1
4
0 0 2 10
3 10
1 2 3 4 5 0 0
1
10
10 10 10 10 10 flux density [T] 10 10
field strength H; A/m frequency [Hz]
Figure 3.9 Magnetization characteristics including the relative permeability as a function of magnetic field
intensity and the core losses for 0.35 mm electromagnetic steel (M235-35A, Surahammarsbruk AB,
Sweden) and iron powder (Somaloy 500 +0.6%LB1, Höganäs AB, Sweden).
Permanent magnet
Like the magnet cores are used to guide and to shape the magnetic flux, the permanent magnets are
used to produce the magnetic flux. Therefore, one of the most important magnetic parameters of a
permanent magnet is the ability to produce the magnetic flux – remanence BR. The stability of
the magnetic orientation in the permanent magnet material is determined by coercive force HC. The
larger the coercive force, the greater is the stability of the magnet and the less the magnetization is
changed by a large external magnetic field. Apart from the external field, the factors affecting
22 3. Design
magnet stability is mainly temperature and reluctance changes. The shape of the magnet,
magnetization pattern and assembling are the other important factors that designer should
consider.
The choice of permanent magnet material considers the operation point of the magnet and the
magnetic flux production capability BR. The choice of magnetic material depends not only on the
physical properties of material, the application conditions and the price but also on a required
shape, magnetization and dimensions. The other important factor is the temperature dependence of
the material and the risk of demagnetization. Initially magnet materials are provided as magnetic
powders which are later sintered or moulded for a final shape. Injection moulding gives the highest
freedom for the final shape of the magnet and magnetization pattern. The best magnetic
performance of ferrite material is achieved with anisotropic material where magnetization process
takes place in the tool during moulding. Single axis compression moulded magnets are isotropic,
and therefore they are magnetized after moulding. The sintering process involves compacting fine
powders at high pressure in an aligning magnetic field, then sintering into solid shape. After
sintering, the magnet shape is rough, and will need to be machined to achieve close tolerances. The
complexity of shapes that can be thus pressed is limited. Some of the choice values for permanent
magnets are concentrated in Table 3.3.
Table 3.3 The choice criteria for the PM material
Ferrite SmCo NdFeB
Quantity Symbol Unit
Sintered/moulded sintered/moulded sintered/moulded
Residual flux density, 20 0C Br T 0.4/0.2 1.1/0.6 1.3/0.7
Energy product BH kJ/m3 20 – 30 100 – 200 200 – 300
Temperature dependence kϑBr %/0K -0.2 -0.03 -0.1/-0.1
Temperature dependence kϑHc %/0K 0.4 -0.23 -0.6/-0.4
Maximum reverse field, 20 0C HD kA/m -200 -1000 -2000
Resistivity ρ Ω·m 1e+10/ 6e+5/ 1.6e+6/1.4
Thermal conductivity λ W/mK 4.5/ 10/ 9/2
Operation temperature ϑmax 0C /150 250/110 <180/110
Price K€ - Low High Moderate
Figure 3.10 The grouped demagnetization curves show the magnetic properties of different magnetic materials.
The iso-energy product (kJ/m3) lines are labelled dashed lines.
The magnet characteristics in respect of different production methods are shown in Figure 3.10.
3. Design 23
Insulation
A good electric conductor is usually good thermal conductor and vice versa. Main criteria for the
insulation material are geometrically thin, mechanically flexible and strong material with high cross-
over voltage and thermal conductivity. Similar to conductor, the insulation is grouped into
temperature classes. DMD (Dacron-Mylar-Dacron) is commonly used for 155°C class F windings
and Kapton for high temperature windings.
Table 3.4 The choice criteria for the insulation material
Polyamide Polyester
Quantity Symbol Unit Nomex Kapton
(nylon) (Mylar,DMD)
Relative permittivity, 20 0C ε 3.7 3.2 3.7 3.6
Electric breakdown voltage U kV/mm 15-22 28 17-31 276
Resistivity ρ Ω·m 1e+11 1e+13 2e+14 1e+8
Thermal conductivity λ W/mK 0.2 0.1-0.25 0.12
Specific heat capacity c J/kgK 1800 300 1090
Operation temperature ϑmax 0C 93-127(185)1 60-2551 220 400
Price K€ - moderate moderate moderate high
1 heat deflection temperature – melting point
Electric loading
The electric loading is the allowed current per conductor cross-section area. The maximum
electrical loading can be driven by the supply factors (a supply voltage, a frequency or a number of
phases, a maximum allowed current etc) or/and the thermal conditions (a cross-section area of the
24 3. Design
coil, an equivalent thermal conductivity, cooling etc). The selection of current density can be also
related to magnetic or mechanical considerations.
Dielectric loading
The dielectric loading is related to the electric field, mechanic and thermal stress in the dielectric
medium. The main consideration of selecting proper insulation (thickness) is related to mechanical
conditions (durability, flexibility, etc), electric conditions (electric breakdown voltage, partial
discharge, etc) and thermal condition (maximum temperature, ageing, etc).
Magnetic loading
The suitable value of magnetic loading – magnetic flux density is an outcome of the appropriately
designed geometry and used magnetic materials (soft, hard) as well as the applied maximum
magnetomotive force in a purpose of the magnetic coupling. Another indicator to the proper
magnetic loading is the reasonable magnitude of ferrous losses at an operating frequency. The other
factors to consider are magnetic flux leakage paths, a magnetic saturation, a demagnetization risk,
etc.
Mechanic loading
The mechanical loading is the concern related to the structural mechanics and stresses in the
material and assembled device, vibration and acoustical noise, etc. The other design factors to
consider are the inertia, the electro-dynamical forces due to short-circuits, forces appearing in the
assembling process etc.
Thermal loading
The thermal loading is the concern related to the heat transport out from the assembled device and
ageing, which is set by the temperature limits. The value of the hot-spot temperature ϑmax depends
on the material properties, the assembling, the cooling conditions and how a device is designed to
dissipate losses (the selection of coolant, the flow of the coolant, design of cooling surface(s), etc).
25
Table 4.1 Heat transfer is defined as the movement of energy due to a temperature difference. It is characterized
by the following three mechanisms conduction, convection and radiation. Additionally transient heat
transfer is shown. An equivalent element can be derived from the temperature difference and heat flow.
l A Convection is heat
ϑ ϑhot Q = α 2 A(ϑ2 − ϑamb ) transfer between
α1 ϑ1 either a hot surface
A and a cold moving
k=
α2 1 l 1 fluid or a cold
ϑamb +∑ + surface and a hot
ϑ2 α1 λ α2
Q x moving fluid.
α = 7.8K 20 ⋅ v 0.6K0.78 Convection occurs
in liquids and gases
l A Radiation is heat
ϑ ϑhot ⎛ ⎛ ϑ ⎞4 ⎛ ϑ ⎞4 ⎞ transfer between
Q = crad A⎜ ⎜ 2 ⎟ − ⎜ amb ⎟ ⎟
α1 ϑ1 ⎜ ⎝ 100 ⎠ ⎝ 100 ⎠ ⎟ cooling surface A at
⎝ ⎠ temperature ϑ2 and
α2 ⎛ ⎛ ϑ2 ⎞ ⎛ ϑamb ⎞ 4 ⎞
4 ambience at
ϑamb crad ⎜ ⎜ − ⎟
ϑ2 ⎜ ⎝ 100 ⎟⎠ ⎜⎝ 100 ⎟⎠ ⎟ temperature ϑamb via
Q x α 2 rad = ⎝ ⎠ electromagnetic
ϑ2 − ϑamb waves
l A dϑ ϑ Transient heat
ϑ ϑhot QP = QS + QD = Cth +
dt Rth transfer can consider
α1 ϑ1 Vρc
a medium capacity
to store the heat.
ϑm = QP Rth τ th = Cth Rth = The equations
α2 ϑ2 Aα 2
ϑamb indicate the steady-
⎛ τ
− th ⎞ state temperature
QP QS QD x ϑ = ϑamb + (ϑm − ϑamb ) ⋅ ⎜1 − e t
⎜ ⎟
⎟ and heating time
⎝ ⎠ constant.
Table 4.2 Equivalent elements with constant geometry derived as a conductivity (G) (permeance) or resistivity
(R) (reluctance) elements.
Flux tube – Shape of element geometry Externally excited
Distributively excited element
and flux flow element
y A( y ) = y l
H x ( y ) l = J z A( y )
μwh dΦ x = μ 0 H x ( y )wdy
h G=
Φ x l
Φx μ w h A( y )
R=
l G= = 0 ∫ dy =
μwh J z AS lh 0 l
z
w 1 μ0 w
l =
2 lh
y
h2 − h1
h2 h(x ) = h1 + x
l
Φ dx
dR = μ
wh( x )
h1 x l h
R= ln 2
w z μw(h2 − h1 ) h1
l
y l2 l2 − l1 y⎛ l −l ⎞
l ( y ) = l1 + y A( y ) = ⎜ l1 + 2 1 y ⎟
h 2⎝ h ⎠
h Φ wdy H x ( y ) l ( y ) = J z A( y )
dG = μ
x l( y) dΦ x = μ 0 H x ( y )wdy
μwh 2 μ 0 w h A( y )
h
G = ∫ dG =
l2 Φx
J z AS (l1 + l 2 )h ∫0 l ( y )
z ln G= = dy
w 0
l2 − l1 l1
l1
y x
l(y) = 2 r 2 − (y − r )
y
A( y ) = 2 ∫ r 2 − ( y − r ) dy
2
2
wdy 0
dG = μ H x ( y ) l ( y ) = J z A( y )
Φ z l( y)
r
π dΦ x = μ0 H x ( y )wdy
G = ∫ dG =μw
w r 2 μ0 w A( y ) π
h
4
π r 2 ∫0 l ( y )
0 G= dy = μ0 w
8
y Φ x
l(y) = 2 r 2 − (y − r )
2
wdy
dG = μ
z l(y)
2r
G = 2 ∫ dG =μwπ
w 0
r
28 4. Equivalent circuit method
Formulation of EC method
The formulation of the equivalent circuit method is derived according to an example of scalar
temperature field [9]. The element formulation and connections as well as the equilibrium
conditions within an element and a whole system are the point of discussion. A stationary heat
transfer problem is formulated according to heat balance and heat flow in materials over an entire
area specified by boundary conditions such as known heat flow qn (including convection) or known
temperature ϑ (K). In order to formulate the heat transfer problem for a complex system, it is
necessary to study how it works for a simple system. Considering heat transfer in two different
medium that is described by heat conductivity k1 (W/K) and k2 (W/K), which are connected in
series along x-axis. The positive direction of thermal flow Q (W) is chosen to be in the direction of
x-axis.
ϑ1 k1 ϑ2 ϑ2 k2 ϑ3
x
Q1 Q2 Q2 Q3
Figure 4.2 Thermal circuit characterized by thermal heat flow q, temperatures ϑ, elements and nodal points.
The thermal flux q within the element is described in accordance with a constitutive law i.e. a
relation which describes how the material conducts heat.
q = k1 ⋅ (ϑ2 − ϑ1 ) (4.2)
Instead of describing the heat flow only within the element as the consequence of temperature
difference, the heat flow is represented as the heat fluxes (including external) acting on the element
nodes. The flow that leaves a node and enters into an element is considered to be positive (Eq 4.4).
Q2 = k1 ⋅ (ϑ2 − ϑ1 ) (4.3)
Q1 = k1 ⋅ (ϑ1 − ϑ2 ) (4.4)
Q1 + Q2 = 0 (4.5)
According to balance equation (Eq 4.5), the sum of all the heat fluxes acting on the element
nodes is equal to zero. The characterization of a single element can be expressed in matrix forms.
k1 − k1 ϑ1 Q1
⋅ = (4.6)
− k1 k1 ϑ2 Q2
K e ⋅ ae = f e (4.7)
The matrix of thermal conductivity of the element is termed as the element stiffness matrix Ke, the
nodal temperature vector ae is expressed as the vector of unknowns and the element’s heat flow
vector fe is named as a load vector. Each element independently in the system can be described in
respect of the element relation. If the elements are connected (compatible) then they share a
common node with the same heat flow and temperature [9]. The expanded element relation i.e. the
first element relation to the whole system in accordance with this example is:
k1 − k1 0 ϑ1 Q1
1
− k1 k1 0 ⋅ ϑ2 = Q2
1 (4.8)
0 0 0 ϑ3 0
of each element and load vector in accordance with equilibrium conditions for the nodal points.
The external heat flow at a nodal point is equal to the sum of all element heat flows related to that
nodal point.
k1 − k1 0 ϑ1 Q1
− k1 k1 + k2 − k2 ⋅ ϑ2 = Q2 + Q2
1 2 (4.10)
0 − k2 k2 ϑ3 Q3
Ka = f (4.11)
The determinant of the assembled total stiffness matrix K is equal to zero. In order to obtain
unique solution for the unknown temperature and at least one node point has to be prescribed a
priori. The specification of the given temperature is an essential boundary condition, which
prescribes the value of variable itself and is necessary in order to solve the system of equations. The
heat flux is a natural boundary condition and this specifies thermal insulation, the heat flow into or
out from the system [9]. The heat flow due to convection (normal to the cooling surface i.e.
boundary) is determined by additional thermal element, which is the thermal transfer coefficient α,
and given ambient temperature at the node point (Eq 4.1 and 4.12).
q n = n ⋅ (k∇ϑ ) = h(ϑ − ϑ amb ) (4.12)
Next, a thermal equivalent circuit is formed for the design example.
i =1 ci ⋅ λ1
e e
+
Acool
⋅α
A topology matrix Edof is used to describe all the elements and their connections. A single
element e is connected between the node points n and m and has the thermal conductivity of Gth
(Eq 4.14) [1].
e
E dof [
= e noden nodem Gthe ] (4.14)
The node potential method is used to calculate the relations between the thermal conductivity
(stiffness) matrix G, temperature (unknowns) vector ϑ and thermal flux input (load) vector Q of
known losses.
30 4. Equivalent circuit method
Gϑ = Q (4.15)
The nodal values of temperature are obtained according to the nodal sources and elements with
respect to the reference temperature(s).
ϑamb
Gc1
ϑyoke
ϑamb
Gt1 Gw1 ϑend Gc2
Gw4
ϑtooth
ϑcoil
Gw2
ϑhotspot
Gt2 Gw3
ϑgap
ϑlink Gm1 ϑside
Gm3
Gm2 ϑpm
Gc3
ϑamb
Figure 4.3 Thermal equivalent circuit of the linear actuator is shown where the thermal network has
conductivity elements G and node temperatures ϑ. By assuming no thermal heat flow through a
symmetric part of the e-core and the piston, the size of the equivalent circuit model can be reduced. The
cooling from the system is presented as simply as possible by incorporating only three cooling elements.
Similarly, the thermal circuit along z-axis incorporates only the effect of the end winding.
Table 4.3 Node temperature and heat sources of the thermal equivalent circuit
Example
An example of the initialization and formulation of the heat transfer problem, which is based on
thermal equivalent circuit, is given.
% thermal conductivity [W/(Km)]
ZGcu = 300; ZGwin = 0.2; ZGfe = 42;
ZGair = 0.03; ZGins = 0.12; ZGmag = 30;
ALsr = 15; % thermal transfer coefficient [W/(Km2)]
4. Equivalent circuit method 31
% heat sources
Pcu_dc_slot=Pcu/4*lcu/(2*h_c)*0.5;
Pcu_dc_end =Pcu/4*lcu/(2*l_e)*0.5;
Pfe_teeth =Pth/6*0.5;
Pfe_yoke =Pyk/4*0.5;
P_magnet =Ppm/2*0.5;
% assembling
for m=1:nelm
Ke=Mtec(m,4)*[1 -1; -1 1;]; % element stiffness matrix
fe=0; % element load vector
tk=Mtec(m,2:3); % d.o.f of the m-th element
K(tk,tk) = K(tk,tk)+Ke; % stiffness matrix
f(tk)=f(tk)+fe; % load vector
end
32 4. Equivalent circuit method
The results are compared later together with computation results from a finite element model.
1 Gy1 2 Gy2 3
NI
4 Gw1 5 Gw2 6
Figure 4.4 Magnetic equivalent circuit of the linear actuator is shown where the permeance network has the
conductivity elements G and the node number represents the corresponding value of the magnetic scalar
potentials Vm.
4. Equivalent circuit method 33
The MEC is formulated according to the main flux path at no-load conditions. Similar to the
thermal equivalent circuit, the topology matrix is used to assemble the permeance matrix G for the
magnetostatic problem. The node potential method is used to calculate the scalar magnetic
potential, branch fluxes and magnetic loading for each element. The core elements (Gr, Gt, Gy) are
nonlinear and two leakage paths are considered between teeth (Gw). The permeance model in the air
gap consists only of the sum of the (parallel) corresponding coupling permeances between the
opposed armature teeth and the mover poles (Gg).
The values for the permeances can be calculated differently according to formulations stated in
Table 4.2. Alternatively, the permeance P(x), which is inverse of reluctance, is calculated according
to the magnetic flux Φ(x) passing the cross-section area A(x) of the flux tube, the average length
l(x) of the flux tube and the field intensity H(x) in the tube. The aforementioned parameters can be
calculated for example by general FE software.
μ 0 ⋅ A(x ) Φ( x )
P( x ) = = (4.16)
l (x ) H (x ) ⋅ l (x )
This assumption is true when the soft ferromagnetic materials that surround the air region are
infinitely permeable. The magnetic flux source Ψ that is a scalar magnetic potential, which is
analogous to a current source in electric circuits, represents a permanent magnet. The source
flux inflow of a permanent magnet is connected to the same node point of the internal leakage
reluctance of the magnet. An outflow or zero potential needs to be specified in the other node
point of the internal leakage reluctance. The remanence BR of the permanent magnet and the cross-
section area Apm of the magnet determine the value of the source magnetic flux [8].
Ψ = BR ⋅ Apm (4.17)
B R ⋅ A pm
Ppm = . (4.18)
H C ⋅ l pm
In order to consider the non-zero current in the armature coil the mmf source has to be added to
the algebraic equations for the node points [10].
(Vm 2 − Vm 5 ) ⋅ G25 + φ 25 = − NI ⋅ G25 (4.19)
The magnetic saturation is taken into account in nonlinear elements Gm, where the new value of
permeability is updated gradually [5]. The permeability update bases on recent permeability value
from the last iteration and on the new estimated value of permeability according to magnetization
curve respect to the magnetic loading B.
μ l , M mec , Φ pm , F
Berr ≥ 10 −3
u err ≥ 10 −3
Gu = ψ
(u a − ub )Gab + φab = FabGab nelm
∑B
2
i
e
− Bie−1
e =1
Berr =
∑ (B )
nelm
e 2
( )
i
B e = u1e − u2e ⋅ G e / Ae e =1
ndof
∑u
2
n
i − uin−1
n=1
uerr =
μ nle = μ (B )
∑ (u )
ndof
n 2
The node potential method is used to calculate magnetic scalar potential (unknowns) vector Vm
with respect to the permeance (stiffness) matrix G, and magnetic flux input (load) vector Ψ.
GVm = Ψ (4.20)
The magnetic flux φ is calculated from the magnetic scalar potential difference (mmf) and the
permeance. If the magnetic flux causes high flux density B and magnetic saturation then the value
of the permeance Gm is upgraded until the difference of the magnetic potential and fluxes between
the successive iterations becomes small (Figure 4.5).
The equivalent circuit concept provides an approximate method of solution a problem
electromagnetism, which is good enough for most design purposes and gives some immediate
physical insight into the behaviour of magnetic or thermal structures. The main drawback of the
EC that makes the method inconvenient is to make a good guess of the flux flow in order to form
the circuits and to formulate the elements. The correctness of the flux paths becomes less trustful
when a new geometry causes some new flux paths that are not considered in the initial geometry.
The discretisation time, which is the time to formulate the discrete elements within a volume, can
be much longer and the solution accuracy is lower for the EC method compared to FE method.
The discretisation of an electrical device into EC elements can be improved so that the EC mesh of
1D elements is attached to the geometry of the device. In this case the coordinates of the node
points are defined. This facilitates to estimate the length of the element and to visualize how the
elements are connected to the geometry. The latter is useful to estimate the cross-section area for
the one dimensional flow elements. The EC can be arranged so that it is used both for the magnetic
and the thermal analysis. Therefore the circuit has to be able to represent the main linkage and
leakage flux path as well the points for the heat generation and dissipation paths. All these steps of
improvements remind FE model where the entire cross-sectional surface or the volume of the
device is discretised into elements where the field formula(s) are applied. The next chapter discusses
the formulation of the FE method that is followed with examples.
35
Finite element
The purpose of the finite elements is to describe truthfully the model geometry. Depending on the
type of the physical problem the selected size of the geometry can be discretised into the one-
dimensional (1D), the two-dimensional (2D) or the three-dimensional (3D) elements (Figure 5.1).
There are two main criteria for a finite element: the geometry of the FE element supposes to be
simple and it supposes to interpret the potential values within the element. The discretisation
determines the accuracy of the solution and the required storage memory space.
1D
2D
3D
Figure 5.1 One-dimensional finite element, two-dimensional finite elements: a triangle and a rectangle, and two-
dimensional finite elements: a tetrahedral, a pentahedra and an hexahedra.
A mesh generator i.e. discretisation function is usually a part of FE computation software. The
mesh generation runs automatically and usually does not need user interaction. On the other hand
the solution accuracy depends on the mesh. The solution accuracy can be established a-priori or
36 5. Finite element method
during solver and adaptive meshing routines by generating more elements or/and higher order
elements in the regions of interest i.e. the regions where the field changes rapidly.
1D finite element
The finite element geometry formulation is shown for the simplest element – one dimensional (1D)
element in a scalar temperature field [9]. The temperature distribution in a linear 1D element, which
is described by coordinates in the node matrix C is described in equation 5.1.
1 xi
C= det C = l (5.1)
1 xj
The temperature field between the nodes within the element geometry is given by the approximate
function that can be a higher order function but has to include a constant parameter and a distance
dependent parameter i.e. completeness (Eq 5.2).
α1
ϑ = α1 + α 2 ⋅ x = 1 x ⋅ = N ⋅α (5.2)
α2
ϑ ϑi
Ne ϑ(x)=α1+ α2x
ϑj
1 Nje(x)
Nie(x)
0 x
xi xj
l
Figure 5.2 Variation of temperature and element shape functions of the one-dimensional linear element.
The temperature ae within the element bounds is interpolated between its values at the nodal points
according to element shape function Ne (Eg 5.3) (Figure 5.2).
ϑi
ϑ = N ie N ej ⋅ = N e ⋅ a e = NC −1 ⋅ Cα (5.3)
ϑj
An arbitrary point vector Ñ multiplied by the inverse element node matrix C determines the
element shape functions (Eq 5.4) that values are between 0 and 1.
N ie = −
1
(x − x j )
l (5.4)
1
N ej = ( x − xi )
l
For the FE formulation, it is important to derive the temperature gradient ∇ϑ that is a derivative
of the element shape functions times the nodal values of temperature.
dϑ ∂N e e dN ie 1 1 ϑ1
e
dN j
= ⋅a = ⋅ϑi + ⋅ ϑ j = ∇N e ⋅ a e = B e ⋅ a e = − ⋅ (5.5)
dx ∂x dx dx l l ϑ2
In accordance with linear element expression, where the temperature is assumed to vary linearly,
the temperature gradient ∇ϑ is constant within the element.
5. Finite element method 37
2D finite element
The linear triangular element, as any other complete finite element, interpolates field values inside
element geometry, which for temperature field is expressed in equation 5.6 [9].
α1
ϑ = α1 + α 2 ⋅ x + α 3 ⋅ y = 1 x y ⋅ α 2 = N ⋅ α (5.6)
α3
This results the temperature distribution within the element bounds according to the interpolation
between the temperature values at the nodal points (Eq 5.7) in respect with the element shape
functions Ne (Eg 5.8).
ϑi
ϑ= N i
e
N e
j N ⋅ ϑ j = N e ⋅ a e = NC−1 ⋅ Cα
e
k
(5.7)
ϑk
If the element has a higher d.o.f. i.e. a vector element instead of a scalar element (Figure 5.3) then
the element has additional data mapping uy apart from ux data mapping. In a similar way, different
interrelated physical problems can be solved on the basis of the same FE element and mesh.
u6
y
u5
N3(x3,y3)
ϑ3
u4
ϑ2 u3
u2 N2(x2,y2)
ϑ1 u1
N (x ,y )
1 1 1
x
Figure 5.3 First order triangular element placed arbitrary on a xy-plane. The corner nodes of the element may
have either scalar values (ϑ) or vector values (u). The scalar field distribution within the element is
shown (right) as a colour mapping when the node (-1,0) corresponds to white, node (1,0) to red and
node (0,2) to dark green ‘scalar value’.
An arbitrary point vector Ñ multiplied by the inverse element node matrix C determines the
element shape functions that values are between 0 and 1, which are visualized in Figure 5.4 for the
element shown in Figure 5.3.
N ie =
1
(x j yk − xk y j + (y j − yk )x + (xk − x j )y )
⎡1 x1 y1 ⎤ det C
C = ⎢⎢1 x2 y2 ⎥⎥
1
N ej = (xk yi − xi yk + ( yk − yi )x + (xi − xk ) y ) (5.8)
det C
⎢⎣1 x3 y3 ⎥⎦
N ke =
1
(xi y j − x j yi + (yi − y j )x + (x j − xi )y )
det C
38 5. Finite element method
One has to be concerned that the element node numeration has to be defined in CCW direction so
that the element determinant and area will be positive quantities.
Figure 5.4 Visualization of the shape functions for the first order triangular element.
For the FE formulation, it is important to derive the temperature gradient∇ϑ, which is for the two
dimensional element is expressed in equation 5.9.
∂ϑ ∂N e e ∂N ie ∂N ej ∂N ke
⋅a ⋅ ϑi ⋅ϑ j ⋅ ϑk
∇ϑ = ∂∂ϑ
x = ∂x = ∂x ∂x ∂x = ∇N e ⋅ a e = B e ⋅ a e (5.9)
∂N e e ∂N ie ∂N ej ∂N ke
⋅a ⋅ ϑi ⋅ϑ j ⋅ ϑk
∂y ∂y ∂y ∂y ∂y
In accordance with linear element expression the temperature gradient ∇ϑ is constant within the
element.
Weak formulation
The weak formulation is the formulation that is more suitable for implementation in the numeric
FE modelling. A problem describing differential equation is in fact a reformulation of the
previously in chapter 2 derived strong form and the weak form is the form that the (residual) FE
approach is established [9]. To establish the weak of the strong form the latter is multiplied by an
arbitrary weight function v and this multiplication is integrated over the pertinent region:
⎡d ⎛ dϑ ⎞ ⎤
l
∫ v ⎢⎣ dx ⎜⎝ λ ⋅ A ⋅ dx ⎟⎠ + Q⎥⎦ dx = 0
0
(5.10)
⎛ dφ dψ ⎞
b b
dy
∫a dxdx = ∫a ⎜⎝ dx ψ + dx φ ⎟⎠dx = [φ (x )ψ (x )]a (5.11)
b
By applying the previous expression in formula 5.10 and evaluating φdψ/dx gives
dϑ ⎞ dϑ ⎤
l
dv ⎛ ⎡
l l
By specifying the boundary conditions as a heat flux (i.e. temperature gradient) the natural
boundary conditions are established: q(l) unknown, q(0)=h,
dv ⎛ dϑ ⎞
l l
In the weak form, however, only the first derivative of the temperature ϑ enters i.e. the
approximating functions need to be differentiable once. Additionally the formulation holds in an
unchanged form when discontinuities occur.
FE formulation
The FE formulation is shown for the one dimensional (1D) scalar element [9]. In order to take the
advantage of the weak formulation, the weight function v needs to be chosen so that the residual of
the solution of the unknown function and a known trial function is a minimum. In accordance with
the Galerkin weighted residual method the weight function is chosen to be equal with the trial
function which is in the case (Galerkin weighted residual method) the shape functions.
v = Nc = c T N T (5.14)
dv dN dN T
= c = cT = cT B T (5.15)
dx dx dx
By substituting the derived expressions into weak formulation
⎡⎛ l ⎞ ⎤
[ ]
b
cT ⎢⎜⎜ ∫ B T λABdx ⎟⎟a + N T Aq a + ∫ N T Qdx⎥ = 0 ,
b
(5.16)
⎢⎣⎝ 0 ⎠ a ⎥⎦
where cT is independent of x. The FE formulation is
⎛l T ⎞
[ ]
b
⎜ ∫ B λABdx ⎟a = − N T Aq a + ∫ N T Qdx ,
b
(5.17)
⎜ ⎟
⎝0 ⎠ a
Formulation
A stationary heat transfer problem (Strong-form Eq 5.19) can be formulated according to heat
balance (conservation equation) and heat flow in material (constitutive relation) over an entire area
specified by boundary conditions such as heat flow qn known (including convection) or temperature
ϑ known. The 2D heat flow and temperature distribution is independent of third dimension
(thickness t) and determined by thermal conductivity (2x2 matrix) of material D, the heat sources Q
and boundary conditions along Lh, Lg and Lc.
40 5. Finite element method
∇(tD ∇ϑ ) + tQ = 0
qn = q T n = h L
h
(5.19)
q n = α (ϑ − ϑamb ) L
c
ϑ=gL
g
Multiplying the heat equation by an arbitrary weight function v and integrating it over the entire area
A gives a weak form (Eq 5.20) of the 2D heat transfer problem [9], with the prescribed flux qn
(including convection) and temperature ϑ given on the boundaries.
v = Nc = cT N T (5.22)
∇v = Bc
FE formulation (Eq 5.23) can be written after replacement of equations (Eq 5.21) and (Eq 5.22)
into (Eq 5.20).
⎡ ∂N1 ∂N1 ⎤
⎢ ∂x ⎡ ∂N ∂N n ⎤
∂y ⎥ ⎡λ 0 ⎤ ⎢ 1 L ⎥
⎡ N1 ⎤
⎢ ⎥ ∂ ∂ ⎢ ⎥
⎥ tdA + ∫L ⎢ M ⎥ α [N1 L N n ] tdL
K + Kc = ∫ ⎢ M x x (5.24)
M ⎥⎢ ⎥⎢
A
⎢ ∂N n ∂N n ⎥ ⎣ 0 λ ⎦ ⎢ ∂N1 L ∂N n ⎥ c
⎢⎣ ∂y ∂y ⎥⎦ ⎢⎣ N n ⎥⎦
⎢⎣ ∂x ∂y ⎥⎦
⎡ N1 ⎤ ⎡ N1 ⎤ ⎡ N1 ⎤ ⎡ N1 ⎤
f b = − ∫ ⎢ M ⎥ htdL − ∫ ⎢ M ⎥ qn tdL − Tamb ∫ ⎢⎢ M ⎥⎥ αtdL
⎢ ⎥ ⎢ ⎥ fl = ∫ ⎢⎢ M ⎥⎥ QtdA (5.25)
Lh Lg Lc A
⎢⎣ N n ⎥⎦ ⎢⎣ N n ⎥⎦ ⎢⎣ N n ⎥⎦ ⎢⎣ N n ⎥⎦
Assembling
Independent on scalar or vector problem the stiffness matrix K is assembled with the element
stiffness matrices Ke according to the topology matrix of elements Edof. The element topology
5. Finite element method 41
matrix defines the element number from 1 to n and the corresponding degrees of freedom from 1
to m for each node-point of the corresponding element [1].
⎡ e1 dof1 L dof m ⎤
E dof = ⎢⎢ M M M ⎥⎥ (5.26)
⎢⎣en dof1 L dof m ⎥⎦
Element stiffness matrix for the scalar (heat flow) problem including convection on the boundary
Lc is defined as:
( ) T
K e = C −1 B T D B C −1t A ( ) ∫ N α N t dL C
K c = C −1
e T T
c
−1
( ) T
= C −1 α t Lc C −1
Lc
⎡1 x1 y1 ⎤ (5.27)
⎡0 1 0 ⎤ ⎡λ xx λxy ⎤
C = ⎢⎢1 x2 y2 ⎥⎥
1
B=⎢ D=⎢ A = det (C )
⎥
⎣0 0 1 ⎦ ⎣λ yx λ yy ⎥⎦ 2
⎣⎢1 x3 y3 ⎦⎥
An example of the formulation and assembling of a heat transfer problem is shown below. The
problem bases on a symmetric part of a copper conductor with internal losses and an insulation
coating which corresponds to filling factor of Kf=1/6.
% pre-processing
% meshing
[x,y]=meshgrid(0:0.01:0.04,0:0.01:0.03); % define grid-points in respect to side vectors
tre = delaunay(x,y); % connect the grid points to triangular elements
for k=1:length(tre),
C=[ones(3,1) x(tre(k,:))' y(tre(k,:))']; A(k)=1/2*det(C); % element nodes and area
% change the order of element node numeration if area is negative
if A(k)<0, tre(k,:)=fliplr(tre(k,:)); end
end
else
fdof=[1:length(K)]'; % node numeration
a=zeros(size(fdof)); % initialize vector of 'unknowns'
pdof=bc(:,1); % node point of known 'unknowns'
dp=bc(:,2); % value of known 'unknowns'
fdof(pdof)=[]; % exclude known 'unknowns'
sol=K(fdof,fdof)\(f(fdof)-K(fdof,pdof)*dp); % calculate 'unknowns'
a(pdof)=dp; a(fdof)=sol; % complete vector of 'unknowns'
end
Figure 5.5 the outcome of the 2D heat transfer FE model where elements 6-7-3-12 are assigned as copper with
internal heat source (λ=300 W/mK). These elements are surrounded with insulation (λ=0.1
W/mK) that surface temperature is set to ϑ=0K. The distance between horizontal and vertical nodes
is 1 cm.
Example
The procedure for analysing an electric device with FE numeric field modelling can be divided into
three steps: pre-processing, processing and post-processing. In the first step, the problem is
specified to be solved. In most FE modellers the pre-processing can be divided into three steps:
defining geometry, sources and boundaries. The necessary steps to complete the FE model in
Mirage (heat transfer) and Femm (electromagnetism or electrostatics) are [6][7]:
• Drawing the endpoints of the lines and arc segments for a region,
• Connecting the endpoints with either line segments or arc segments to form the closed
polygon of the region,
• Defining material properties and a size of finite element for each region,
• Specifying boundary conditions on the (outer) edges of the geometry.
The geometry of the design example is specified in Table 3.1. The current density, which defines
the loss density in the copper coil (Eq 3.12), is taken JC=10 A/mm2. The copper filling factor Kf is
0.6 and the equivalent thermal conductivity of the coil is taken λeqv=0.2 W/mK (Figure 3.8). The
thermal conductivity of the insulation is taken λins=0.12 W/mK. All the boundaries obey to the
natural boundary condition expect the top of the armature core. The natural boundary condition
5. Finite element method 43
∂ϑ/∂n=C specifies the flux continuity through the boundaries, while the essential boundary
condition specifies the unknown itself ϑ =ϑamb as a reference. The FE model of the design example
is shown in Figure 5.6.
∂ϑ/∂n=C
ϑ =ϑamb
∂ϑ/∂n=C
Figure 5.6 The graphical visualisation of the FE model in Mirage and FEMM. The regions have dense mesh
than the surrounding, which is to achieve more elements in the air-gap – the region of interest when
calculating forces. The region labels are declared in the rightmost lowest corner, which is the outcome of
the functionality that is introduced in the chapter 9. The 2D FE model excludes the influence of the
end-winding, which can be taken into consideration e.g. by increasing loss density in the in the coil by
assuming that the cooling through the armature core is much more intensive than from the surface of
the end turns and the thermal conductivity is much higher in the direction of electric current flow.
The processing is the procedure of computing unknowns, which are in this case the nodal values of
temperature. The temperature distribution when considering only the copper losses is shown in
Figure 5.7. During the post-processing, the hot-spot temperature can be found and an iterative
process of evaluating the maximum allowed current density can be established.
The estimated temperature rise according to the thermal EC is Δϑ=35.6 K and according to the 2D
FE model for heat transfer is Δϑ=35.9 K. Apart from the possibility to calculate the field quantities
the post-processor can be used to calculate the geometry related quantities.
5.3 Magnetostatics
The two-dimensional problem in electromagnetism is started with recalling the field formulation for
a static 2D problem in electromagnetism. The formulation is followed with an example of solving
the problem in electromagnetism with Femm v4.0 [7].
Formulation
The problem in electromagnetic analysis on a macroscopic level is the problem of solving
Maxwell’s equations subject to certain boundary conditions. Magnetostatic problems are problems
in which the fields are time-invariant. In this case, the field intensity H and flux density B must obey
the rules: Ampere’s law states the relation between a current carrying conductor and the magnetic
field intensity around the conductor (Eq 5.28), Gauss’ law describes the flux density distribution in
the space (Eq 5.29).
∇×H = J (5.28)
∇⋅B = 0 (5.29)
The relation of the magnetic field intensity and the flux density is subject to a constitutive
relationship between B and H for each material (Eq 5.30).
B = μH . (5.30)
If a material is nonlinear, the permeability, μ is actually a function of B (Eq 5.31).
B . (5.31)
μ=
H (B )
Finite element magnetic solver calculates a field that satisfies via a magnetic vector potential
approach. Flux density is written in terms of the vector potential, A, as:
B = ∇× A (5.32)
The definition of B (Eq 5.32) always satisfies (Eq 5.29), thus, (Eq 5.28) can be rewritten as a field
equation (Eq 5.33) that includes the magnetization M.
5. Finite element method 45
⎛ 1 ⎞
∇ × ⎜⎜ ∇ × A − M ⎟⎟ = J (5.33)
⎝ μ (B ) ⎠
In the general 3D case, A is a vector with three components. However, in the 2D planar and
axisymmetric cases, two of these three components are zero, leaving just the component in the “out
of the page” direction. The problem formulation on 3D magnetic field analysis may take advantage
either on total scalar potential or on vector potential as the unknown in the node points. Total
scalar potential method is least computation dense formulation. This divides the total magnetic field
intensity in the magnetic materials as the superposition of the field contribution from current
conducting coils HJ and the field due to magnetized materials HM.
H = HJ + HM (5.34)
In the non-current region the gradient of total scalar potential VM is used to represent the magnetic
field
H = −∇VM , (5.35)
and according to the divergence of the flux density
∇ ⋅ (μ∇VM ) = 0 . (5.36)
In the current conducting region the reduced scalar potential VMR represents the field of
magnetized materials
H M = −∇VMR , (5.37)
and the contribution of coil field HJ according to Biot-Savart law is the relation between current
density and its’ caused field
1 J (r )
H J (r ) = × ∫ C dV , (5.38)
4π V r
which describes the magnetic scalar distribution over the conductor volume
∇ ⋅ (μ∇VMR ) = ∇ ⋅ μ 0 H C . (5.39)
The inter-regional boundary condition between the total and the reduced volumes must ensure the
uniqueness of the solution. In a domain the magnetic potential satisfies the field distribution
equation and the boundary conditions. The energy of the field has to have a minimum value for the
approximated solution to be exact.
Example
The problem of electromagnetism is solved for the design example of the linear actuator. The pre-
processing is similar to the previously described steps in the FE heat transfer model. Concerning to
the boundary conditions then the magnetic vector potential A=Az=0 is specified in the outer
boundaries. The other material boundaries follow to the interface conditions. The solution of the
field problem are shown for unloaded (JC=0 A/m2) (Figure 5.9) and loaded (JC=1e+7 A/m2) (Figure
5.10) armature.
The specified FE model includes linear materials. By introducing nonlinear BH curve, the magnetic
saturation is taken into consideration. The permanent magnet is modelled as a volume of a
ferromagnetic material that is surrounded by a thin sheet of current. This current is ‘active’ only in
the magnetostatic problem (Femm v4.0). If the frequency becomes different than zero then the
whole problem is seen only from this frequency domain excluding the magnetization field of the
magnets [7].
46 5. Finite element method
Figure 5.9 Flux density distribution and flux lines of the unloaded linear actuator.
Figure 5.10 Flux density distribution and flux lines of the loaded linear actuator.
The post-processing of a problem solved in electromagnetism may have several steps staring from
the visual evaluation and finishing with some sophisticated computation routines in order to
evaluate the macroscopic (field) quantities of interest. The applicable post-processing steps in
Femm – Matlab design environment:
• Flux lines show magnetic coupling between the magnetic conductive parts
• Flux density indicate magnetic loading
• Generally the forces are calculated by using weighted Maxwell’s stress tensor
• Flux linkage can be obtained from circuit-data
• Stored energy, co-energy, inductance, etc
• Core losses can be modelled by introducing frequency non-zero f>0 and conductivity γ>0
for eddy current loss, and a phase shift between H and B vector in order to model
hysteresis loss.
Most of these calculation procedures are described in the next chapter.
47
6 Coupled fields
Up until now only the static field formulations are summoned up. As a matter of fact the fields has
been tried to formulate separately having most a static connection between them like the relation
between the electric current and the magnetic field intensity, the force or the loss power. The
advantage of introducing the fields separately with a minimal connection is to get good enough
understanding in physics, mathematical formulation and numeric modelling techniques. The
coupling between the fields can be neglected in order to simplify the mathematic model as the
influence is small (like a displacement current density in a low frequency field) or the influence is
too complex to take it into consideration in a rough model. The direct coupling between the electric
and magnetic field is described by Maxwell’s equations (Table 6.1).
Table 6.1 Maxwell’s four fundamental postulates.
∂B ∂B
∇× E = −
∂t ∫C
E ⋅ dl = − ∫
S ∂t
⋅ ds Faraday’s law
∂D ∂D
∇× H = J +
∂t ∫C H ⋅ dl = ∫S J + ∂t ⋅ ds Ampere’s circuital law
∇⋅D = ρ ∫ D ⋅ ds = ∫
S V
ρ ⋅ dv Gauss’s Law, Electricity
∇⋅B = 0 ∫ B ⋅ ds = 0
S
Gauss’s Law, Magnetism
Next the couplings between the different field problems are discussed such as the coupling between
electric and magnetic field, the electro- and magneto-mechanic coupling and the thermal influence.
Considering only a kinetic energy and neglecting a potential energy the differential of the mechanic
energy is expressed in equation 6.1.
d 2x (6.2)
dWmech = m ⋅ dx
dt 2
By separating resistive voltage term and induced voltage term, which stands for a magnetic
coupling, the differential of the electric energy is expressed in Eq 6.3.
48 6. Coupled fields
By dividing loss term between the electric, magnetic and mechanic origin, the energy balance can be
rewritten (Eq 6.4), where the resistive loss energy is cancelled as it appears both sides of the equal
sign.
N ph 2
(F − Floss )dx + ∑ ik dψ k = m ⋅ d x
2
dx + dWmag + dWFe.loss (6.4)
k =1 dt
Next the differential of the magnet energy is divided into parts (Eq 6.5). These parts are
independent and dependent of motion and displacement x [8].
( )
Ne Ne Ne
dG
dWmag = ∑ Fk dφ k = ∑ Fk d (Fk Gk ) = ∑ Fk dGk + Fk Gk dFk = ∑ F 2 dx + dWind (6.5)
2
k =1 k =1 k =1 dx
The magnetic energy that is independent on motion and displacement can expressed as the energy
of the magnetic coupling (Eq 6.6).
Ne Ne N ph
Electromechanical energy conversion is possible if the motion is present dx≠0, thus the applied
force is loaded with the reaction force of the system that can be separated as a friction (mechanical
+ magnetic), inertia and an electromagnetic force.
d 2x dG
F = Floss + m ⋅ 2
+ ∑F2 (6.7)
dt dx
A schematic figure of the electromechanical energy converter is shown in Figure 6.1. The electric,
magnetic and the mechanical circuit are shown and the elements indicate the differential term as
inductance L or inertia M, the damping term as RΩ, Rμ or Rf, the integral term K (capacitance in the
electric circuit including a capacity, stiffness in the mechanic circuit including a spring), the source
u, Ni, f, which can be also the external force fext or induced by the motion e, and the flow or
movement by i, φ and v.
Rμ
RΩ L Rf M
Ni
u Rδ f K
e
fext
i v
φ
Figure 6.1 An electromagnetic coupling between the electric and the magnetic circuit and magneto-mechanical
coupling between the magnetic and the mechanical circuit. The configuration of the actuator is shown
in the background. The thermal circuit is not indicated in the structure.
6. Coupled fields 49
∂A
• Induced electrical field E I = −
∂t
The opposing induced voltage can be either a transformer voltage or/and a motional voltage, which
is respectively generated either by the change of current or by the change of inductance generated
by motion.
d d di dx dL
e= ψ = L i = L +i (6.8)
dt dt dt dt dx
The response time between the electric and the magnetic circuit (voltage and current) is
characterized with inductance. Large inductance causes electric inertia, which decrease response
time. The apparent inductance can be calculated from the ratio between the flux linkage and the
current or from the stored magnetic energy (linear system). The differential inductance is calculated
on the basis of the flux linkage change that is due to the current (density) change (Eq 6.9).
ΔΨ N2 ΔΦ (6.9)
L= = ⋅
ΔI AS ⋅ k f ΔJ C
In the case of the multiple coils the corresponding field change of n-coil due to the change of the
current in it determines the self inductance of the coil. The mutual inductance is calculated from the
field change that causes current change from another coil. In the ferrous materials, where the
permeability is a function of the field strength, the inductance of the winding is a nonlinear function
of the excitation. Self and mutual inductance will be calculated at normal conditions with current
conducting coils; where the current will be changed in one of the coils (Eq 6.10).
Ψ1 + ΔΨ1 L1 M 12 I 1 + ΔI1
= ⋅ (6.10)
Ψ2 + ΔΨ2 M 21 L2 I2
The change of current affects slightly the magnetic field and changes the flux linkage in each of the
flux linking coils. In the 2D problem the magnetic flux equals to the difference of the value of the
magnetic vector potential between the points 1 and 2 where the length of the model along z-axis is
lz.
Φ = l z ( Az1 − Az 2 ) = l z ∫ B ⋅ n dl (6.11)
C
In case of solid conductors the average magnetic vector potential is conveniently adopted. The
calculation of the inductance on a single coil of a multiphase system together with the permanent
magnet excitation uses magnetic vector potential integration over the coil area.
50 6. Coupled fields
lz ⎛ ⎞
⎜ A dA − A dA ⎟
⎜ A∫ ∫ ⎟
Φ= z z
(6.12)
AS ⎝ S+ AS − ⎠
Due to the dynamical coupling between the electric and the magnetic field, the generated field
counteracts to the field of origin. Therefore the induced currents oppose the external source
current in the interior of the conductor and confine the current to flow on the surface layer of
conductor. The effect is called a skin effect and the thickness of the surface layer is expressed by
the penetration depth δ or the skin depth and the angular frequency ω.
2 (6.13)
δ=
ωμγ
In the similar way, an applied magnetic flux is opposed with a magnetic field that is generated from
the induced currents. On the contradictory, the intermediate field that is the electric field, which is
the reason to the eddy currents in the closed path, causes losses in the magnetic conductor. The
flow redistribution can be also due to the effect of an external field like a proximity effect in the
conductors, which is due to the external magnetic field and electric current flow in the conductor,
and the similar reaction effect in the magnetic conductor.
∂W ( x ) ∂P( x )
φ
∂ ∂
B
1
F = −∇Wm = − m =− ∫ ∫ HdBdV = − ∫ Fdφ = − ⋅ ∑ F 2 ⋅ (6.14)
∂x ∂θ VM 0 ∂x 0 2 gap ∂x
Under constant magnetic current conditions, the total magnetic force on a system is computed as
the rate of change magnetic co-energy (Eq 6.15) (Figure 6.2 on the left).
∂Wc ( x ) ∂ H ∂R( x )
F
∂ A 1
F = ∇Wc = = ∫ ∫ BdH dV = ∫ φdF = ⋅ ∑ φ 2 ⋅ (6.15)
∂x ∂θ VM 0 ∂x 0 2 gap ∂x
6. Coupled fields 51
The force/torque computation, according to the virtual work method, considers the rate of the
change of the total co-energy against the virtual displacement (Eq 6.15). Typically, the values of the
volume integral of the co-energy are close in two adjacent mover/rotor positions and round-off
error can reduce the force/torque estimate. Round-off error becomes more significant at small
displacement/angular steps when the values of co-energy are very close. On the contrary, a large
longitudinal/angular increment leads to a low informative force/torque estimate that can be
considered as an average over the region.
Φ
Φ
G
D C
D
C E
E B
F
F=NI F
O A H B A O
Figure 6.2 Graphical interpretation of energy conversion. ΦF (ΨI) diagram of the magnetic core with a varying
air-gap, where the magnetic flux is caused either by a current carrying coil or a permanent magnet.
The hatched area indicates the incremental change in co-energy over a unit of displacement.
The flux-MMF diagram technique offers a fundamental basis of design evaluation and a clear
physical insight based on graphical interpretation (Figure 6.2). The electromechanical system
(Figure 6.1 background) with a plunger in air-gap, which displacement causes the change of
parametric permeance, affects to the change of the magnetic co-energy from O-A-B-O to O-A-C-
O (Figure 6.2 on the left), when the plunger moves towards the alignment. If the coil is replaced
with a permanent magnet then the similar change of the co-energy appears from O-H-C-O to O-
H-D-O (Figure 6.2 on the right).
Lorentz force
Force that is applied to a current conducting wire in a magnetic field can be calculated according to
Lorenz equation (Eq 6.16) which simplest case is shown in Figure 6.3.
l
iB
F = q(E + v × B ) = ∫ J × BdV = ∫ JBdV = ∫ Adl =Bli (6.16)
0
A
F
Figure 6.3 A simple case of the applied force F on the conductor, where the conductor has uniform current
density J and a uniform magnetic flux density B is perpendicular to the conductor.
and the magnetic field is perpendicular to the pole surfaces. There will be a compressive stress
between the bodies when the magnetic field is parallel to the surfaces i.e. there is no magnetic
coupling between the bodies. In general case the flux density vector B makes an angle α with the
outward normal of a surface and the magnetic force on element area dA is thus in the direction of t
i.e. with an angle of 2α (Eq 6.17) (Figure 6.4).
B (6.17)
dF = tdA = dA
2μ 0
B
Bn
t
tn
α
α
Bt t t
Figure 6.4 A general case of the coplanar, normal vector n, flux density vector B and stress vector t from a
surface of a magnetised body that has an angle α between the B vector and the normal vector and the
angle of 2α between the t vector and the normal vector.
The normal stress tn and the shear stress tt relate to the (gap) flux density normal component Bn and
the tangential component Bt with respect to the normal of a surface.
tn =
1
2 ⋅ μ0
(
⋅ Bn2 − Bt2 ) (6.18)
Bn ⋅ Bt
ts = (6.19)
μ0
In order to calculate the force in the linearly moving system or the torque of the rotating system
from the magnetic field values in the air-gap the shear stress component is calculated over the air-
gap area in the middle of air-gap. In the case of a two-dimensional field problem, a series of line
integrals has to be calculated around the body in a counter-clockwise direction and the calculation is
based on a unit length of distance on axial direction, where the total force is evaluated with respect
to an action point in order to find the torque with respect to the point. The symmetric part of the
rotating motor enables to evaluate the sector torque i.e. the mechanic torque per pole.
Conductor losses
The conductor losses depend on the current density J square, the conductivity γ, and the current
density distribution in the conductor, which is inhomogeneous in case of alternating current
density.
J (t )
2
P(t ) = ∫ dV (6.23)
γ
The minor and major axes of the elliptical locus are determined as Bminor and Bmajor. The Flux density
variation in different parts of a core structure can be evaluated from a MEC and/or a FE model. By
simplicity it is assumed that, the minor and the major axis of the elliptical flux density locus are
determined by the magnetic loading at the alignment and unalignment position.
insure low coercitivity is relevant for magnetic medium in alternating field. If no local minima
(minor hysteresis loops) or bias (asymmetric hysteresis loop) in the magnetizing waveform are
considered, then the specific hysteresis core loss energy for alternating field depends on the peak
value of B (Eq 6.24).
Usually in the numeric field computation, the effect of magnetic hysteresis is considered in post-
processing level after the field values are calculated. If the hysteresis model is coupled into field
computation method then the magnetic hysteresis can be considered directly. This causes
burdensome field computation with a small improvement of obtained accuracy [10].
For a proper core design it is important to consider the effect of field rotation for an iron core
material that has high coercive field. Otherwise, the differences between the measurement and
computation are mainly due to rotating fields inside the core. Additionally, the exclusion of high
frequency effects such as minor hysteresis loops due to magnetization or influence of the pulse
width modulated (PWM) armature field leads to an underestimated value of the static core loss in
the actual operation of a designed device.
If the core loss coefficients are defined according to the measurements with the sinusoidal magnetic
field then the total average dynamic core loss over one cycle per unit of volume at any arbitrary flux
density waveform is expressed as
r 2 r 3/ 2
k ' 1 ⎛ dB ⎞
T
ka ' 1 T
dB
= e2 ∫0 ⎜⎜⎝ dt ⎟⎟⎠ dt + 2π 2 3 / 2 T ∫ dt =
locus
p core
2π T ( ) 0
dt
(6.28).
r 2 r 3/ 2
k e ' 1 2π ⎛ dB ⎞ ka ' 1
2π
dB
= ∫ ⎜
⎜
2π 2π 0 ⎝ dθ ⎠
2
ω ⎟ dθ +
⎟
(2π 2 3/ 2
)
2π ∫0 ω dθ dθ
The magnetostatic field computation assumes a full field penetration. Instead of considering the
loss generation separately for each space flux density component the variation of flux density space
vector is calculated beforehand.
55
7 Optimisation
In order to optimize any electromagnetic device it is necessary to find an appropriate geometric
distribution of materials and sources. The optimal design of an electric device is to choose a set of
dimensions for the device (design variables), so that the designed machine will satisfy the design
criteria (constraints) and minimize (or maximize) some additional criterion (objective function). The
target for an optimization must include the relation between the dimensions of the chosen
geometry, material and source properties together with the device’s performance. The objective
functions, which could be chosen such as efficiency, a high force/volume ratio etc, are optimized.
convenient to get intermediate results in a systematic manner in order to have a full control on the
design process (rather than on optimisation process).
The sensitivity study has been carried out for the design exercise. The relative slot width Ks as well
as the current density Jc has been changed in order to study the maximum temperature generated in
the coils and the maximum electromagnetic force in respect of the current density in the coil. As
the width of the armature limbs, the yoke and the mover core are selected to be equal, the height of
the magnet decreases simultaneously with the increased slot width. The length of the magnet
remains the same and also the mmf applied to the magnetic core. As the height of the magnet
decreases the magnetic flux reduces. At the same time the conductor cross-section increases, which
allows larger force, but which also causes a higher hot-spot temperature due to the longer cooling
path in the low thermally conductive region – in the coil.
hot-spot temperature ϑm , °C electromagnetic force at the middle position Fm , N
0.8
0.14
0.06
1 6 40
0.12
0.18
60
0.04
0.1
0.16
0.08
0
1
0.7
80
12
50
relative slot width, KS [-]
0
10
45
0.6
0
0. 0.1
0. 12 4
60
0.02 0.
0.
0.5 80 08 1
06
0.
04
50
0.4
0.06
60
45
0.04
0.0
0.3
50 2
0.02
45
0.2
2 4 6 8 10 12 14 2 4 6 8 10 12 14
2 2
current density Jc, MA/M current density Jc, MA/M
Figure 7.1 The 2D parametric change that shows the hot-spot temperature and electromagnetic force as a
function of the relative slot width and the current density in the conductors.
Unusual way of presenting position dependent functions as a filled surface (Figure 7.2) may
facilitate a visual interpolation when looking for the design improvements. As it is seen from the
figure, at the certain core length between the magnets, which is around 0.7 of the tooth length,
causes the 0 position to be a stable or an unstable equilibrium point.
flux linkage per turn ψ m , μVs cogging force Fm , N
2
-0.1
-4
-3
-0.1
-1
-2
-3
-4
0
0
3
4
0.05
2
1
-0.05
1.8
4
3
0.1
relative spacer width, Kb [-]
0.1
1.6
1.4
1.2
-0.1
-0.1
-3
-4
-1
-2
-4
-3
0
0
3
4
0.05
1
2
-0.05
1
4
0.1
3
0.1
0.8
-0.05
0.6
0
-0.15
0.4
0.1
-0.1
-0.1
-4
-3
-1
-2
-3
-4
0
0
4
3
2
1
0.2
-15 -10 -5 0 5 10 15 -15 -10 -5 0 5 10 15
position x, mm position x, mm
Figure 7.2 The surface plot of the flux linkage and the cogging force as a function of position and the relative
core length between the magnets.
The parametric study can be seen as an incomplete optimisation routine where the designer decides
according to the graphs a ‘direction’ of improvements.
57
600 30
400 20 9
flux linkage per turn ψ, μVs
1 8
200 2 10 7
3
force F, mN
6
4
0 5 0 5
6
7 4
8
-200 9 -10 3
-400 -20 1
-600 -30
-15 -10 -5 0 5 10 15 -15 -10 -5 0 5 10 15
position x, mm position x, mm
Figure 8.1 The static mechanical characteristics in the left show the output force as a function of position and
current density. The static electromagnetic characteristics in the right show the flux linkage as a
function of position and current density. The numbers in the characteristics indicate the gradually
changed current densities from -20 MA/m2 (1) to +20MA/m2 (9). The no current case is 5.
58 8. Drive model and Control
The magnetic flux linkage characteristics are shown per turn i.e. this equals to the magnetic flux
linking with the coil. The total magnetic flux as well as the total force (Figure 8.1) can be divided
into different components. By focusing on the force characteristics, the force can be originated of
• The reluctance force between the movable core (along x-axis) and the permanent magnet
i.e. cogging or detent force (line 5 in Figure 8.1 on the left figure). Fcog = F (x, i ) i =0
• The reluctance force between the core (along x-axis) and the electromagnet (the left
diagram in Figure 8.2) Frel = F ( x, i ) Φ pm =0
• The electromagnetic force between the sources of the magnetic flux (the left diagram in
Figure 8.2). Fem = F ( x, i ) − Fcog − Frel
250 25
1
9
150 15 8
2
8
reluctance force FR, mN
100 10 7
50 3
7 5 6
6
4
0 5 0 5
-50 -5 4
-100 -10 3
-150 -15 2
-200 -20 1
-250 -25
-15 -10 -5 0 5 10 15 -15 -10 -5 0 5 10 15
position x, mm position x, mm
Figure 8.2 The static characteristics of the design example with ‘Short-circuited’ magnets i.e. the magnets are
modelled like an electromagnetic material without remanence. The left figure indicates the reluctance
force and the right figure self inductance as a function of the mover position and the current density.
400 0.5
electromagnetic flux linkage per turn ψ M, μVs
1 0.4
300
9
0.3
electromagnetic force FM, mN
2
200 8
3 0.2
7
100
4 0.1 6
0 5 0 5
6 4
-0.1
-100
3
7 -0.2
-200 2
8
-0.3
1
-300 9
-0.4
-400 -0.5
-15 -10 -5 0 5 10 15 -15 -10 -5 0 5 10 15
position x, mm position x, mm
Figure 8.3 The static characteristics of the design example indicating the electromagnetic force and flux linkage.
The left figure indicates the electromagnetic force and the right figure mutual inductance as a function
of the mover position and the current density in the coil.
8. Drive model and Control 59
The important separation of the electromagnetic characteristics is the coupling between electric
circuit(s) and magnetic circuit separately from the magnetic flux produced from the permanent
magnet(s). Apart from the electromagnetic and mechanical characteristics it is also important to
calculate the thermal characteristics as ϑ(J).
v=
1
m∫
(FC (x, i ) + Fcog (x) − Fhyst − Fload (x, v)) dt (8.2)
The Simulink block diagram is built slightly different (Figure 8.4) from the proposed system
equations (Eq 8.1- 8.3). Namely the look-up table of the force as a function of the position and
current density includes the cogging force. The mechanical loading does not include any other
‘loading’ than the damping. The thermal model in the diagram (Figure 8.4) indicates only the
conductor losses in the winding as a function of current density. The output of the model is the
60 8. Drive model and Control
steady-state temperature that is calculated in the FE model for heat transfer and it does not
consider the dynamic effect of the heat transfer and storage.
[v] a
[x] 1/s x 1/s
o Xo
[u]
pm flux = f(x)
D
e dphi/dt
simin 1/N 1/s
[phi]
From
Workspace
R 1/m
i Ac/N
[F]
[u]
[phi] force=f(x,J)
[J]
[F] simout J =f(x,flux)
[v] [T]
[x] To Workspace [J]
[T]
temperature = f(J)
-5
x 10
1
0
flux , φ [Vs]
-1
-2
N=100
-3 N=200
N=400
-4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
1
N=100
N=200
N=400
force, F [N]
0.5
-0.5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
0.01
0.005
position, x [m]
0
N=100
-0.005 N=200
N=400
-0.01
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Figure 8.5 The dynamic behaviour of the design example where the number of turns (N) has been changed in
the armature coil and the response can be studied for the input voltage pulse of 3V 40ms.
61
9 Design environment
Rapid evaluation and design of electrical devices that take advantage of high computational power
is an exciting challenge to an electrical engineer. The designer supposes to be aware of the design
issues and to be able to delegate the design tasks and the computation routines to the computer.
This chapter is focusing on how an engineering challenge that comes as a design idea could be
solved in computer environment. Vital in the design process is an efficient use of the computation
power and information. Thus the design will always remain stimulating and challenging engineering
profession.
Topologies
Parameters
Drive system
gomdl(f(x,J))
Figure 9.1 A created functionality in Matlab that is used to carry out the design tasks. The topology and the
corresponding parameters describe how the geometry supposes to look like and which materials suppose
to be used. The structure array of geometry and material properties are the input to a numeric
modelling. Either equivalent circuit method or finite element method can be used. The output of the
numeric modelling is a numeric array. The output can be ‘optimized’ in the sensitivity study loop
where two of the parameters p and q are changed while the other parameters are kept constant. This
make easy to visualize the output of the parametric change. Alternatively a matrix of static
characteristics can be accumulated, where the position x and current density J have been changed. The
characteristics are input to the system simulation that incorporates a pre-established Simulink model.
Additional functionality has been created for the administration and reporting purposes.
First the geometry will be drawn by the help of Matlab. This type of exercise is to visualize the
geometry and to create an undemanding start for beginners in Matlab. Second, the geometry will be
parameterized, which is about minimizing the amount of parameters describing the geometry. Next
is to establish the relations between the geometry and the input and output parameters of the
device. Through the formulation of equivalent circuits and FE models the course participants learn
the common features of different disciplines and formulations. The non-linear characteristics from
the FE models are used as an input to the Simulink block diagram to study the dynamics of the
system. Finally the whole design algorithm (Figure 9.1) can operate without user interaction. This
helps to implement some simple optimization routines, analyze the economic aspects and
62 9. Design environment
manufacturability of the device. The purpose of the course on numerical modelling and design of
electrical devices is to establish theoretical basis and practical skills in CAD and CAE for electrical
engineers to be able to analyze and to develop electrical devices.
kj = lastregion
Conversion
Cylindric Cartesian
Polar Cartesian
Figure 9.2 A flowchart of the program structure that is used to create the link between geometric modelling in
Matlab and FE modelling in Mirage or Femm.
9. Design environment 63
Purpose of the geometric modelling is to accumulate the set of the polygons, which describe the
cross-section of a device. Therefore the necessary fields of the structure variable geom are x, y and
def. The later indicates on which material properties suppose to be attached to the specific region
(Rn), the size of elements (Es), the group number (e.g. 1-stationary, 2-movable), magnetization
direction (Md) and the number of turns (Nt). Additionally a region pick-up point can be defined (xb
yb) otherwise it is picked up according to the first coordinate of a polygon and the pickup point is
0.1 mm upwards and 0.1 mm left from the first polygon coordinate. If the polygon data is given in
polar coordinates o and r, including the curvilinear connection between the nodes c=1/r, then it
supposes to be converted into Cartesian x and y coordinates. The same for the cylindrical r and z
coordinates when describing the axi-symmetric problem. A straight line will be drawn between the
successive nodes if circular parameter geom.(kj).c(ki+1) equals to zero. If the circularity is not defined
at all then its field c is taken equal to zero (c=0).
If the material structure mate is not defined then all the regions are defined as air. Depending on
the problem to be solved the electrostatic (E), magnetic (M) or thermal (T) material properties and
the essential boundary condition such as voltage, magnetic vector potential or temperature has to
be given. The easiest way to define the boundary condition, which is attached to geometry, is to
define in the geometric modelling stage. If it is not defined there then essential boundary condition
are attached to all the sides of the last (preferably a bounding) region. The circuit name is taken the
same as the material name. Some of the boundary conditions are defined with in gofem function.
If the problem specification structure task is not defined the magnetostatic problem is solved by
default. The depth of the geometry along z axis is 1 meter and the minimum angle of a finite
element is 30 degrees for a quality FE mesh. For a sharp edged complex geometry the task.minang
has to be reduced in order to generate the FE mesh.
Example
An example of Lua script generator in Matlab is given, which shows a simplest form of the gofem
function. This kind of example can consider a linear connection between the node-points, which
are defined in the geometric model and written in the structure matrix Geom. The field
Geom(ki).spec(1) specifies ki-th region material according to the name field material properties
definition in matdef.
% material definition
matdef(1).name='core'; matdef(1).def=[4000 4000 0 0 0 50 0.35 0 0.95 0];
matdef(2).name='ins'; matdef(2).def=[1 1 0 0 0 50000 0 0 1 0];
matdef(3).name='coil+'; matdef(3).def=[1 1 0 +Jrc 0 0.2 0 0 1 0];
matdef(4).name='coil-'; matdef(4).def=[1 1 0 -Jrc 0 0.2 0 0 1 0];
matdef(5).name='piston'; matdef(5).def=[2000 2000 0 0 0 5 0 0 1 0];
matdef(6).name='magnet'; matdef(6).def=[1.1 1.1 200000 0 0 50 0 0 1 0];
matdef(7).name='bound'; matdef(7).def=[1 1 0 0 0 0 0 0 1 0];
for kj=1:length(matdef)
mat2lua=[]; % reset material data string
for ki=1:10 % fill data string for lua script
if ki==10, mat2lua=[mat2lua num2str(matdef(kj).def(ki))];
else mat2lua=[mat2lua num2str(matdef(kj).def(ki)) ',']; end
64 9. Design environment
end
fprintf(lua_wri,'%s \n',[fi 'addmaterial("' matdef(kj).name '",' mat2lua ')']); % material definition
end
for kj=1:length(Geom.x)
for ki=1:length(Geom(kj).x) % write node-points
fprintf(lua_wri,'%s \n',[fi 'addnode(' ...
num2str(Geom(kj).x(ki),'%1.6e') ',' num2str(Geom(kj).y(ki),'%1.6e') ')']);
end
for ki=1:length(Geom(kj).x)-1 % connect nodes into a region
fprintf(lua_wri,'%s \n',[fi 'addsegment(' ...
num2str(Geom(kj).x(ki),'%1.6e') ',' num2str(Geom(kj).y(ki),'%1.6e') ',' ...
num2str(Geom(kj).x(ki+1),'%1.6e') ',' num2str(Geom(kj).y(ki+1),'%1.6e') ')']);
end
fprintf(lua_wri,'%s \n',[fi 'addblocklabel(' num2str(Geom(kj).x(1)+gx,'%1.6e') ','...
num2str(Geom(kj).y(1)+gy,'%1.6e') ')']);
fprintf(lua_wri,'%s \n',[fi 'selectlabel(' num2str(Geom(kj).x(1)+gx,'%1.6e') ',' ...
num2str(Geom(kj).y(1)+gy,'%1.6e') ')']);
fprintf(lua_wri,'%s \n',[fi 'setblockprop("' matdef(Geom(ki).spec(1)).name '",0,0.0005)']);
if kj==length(Geom.x) % define boundary conditions for the last bounding region
for ki=1:length(Geom(kj).x)-1
fprintf(lua_wri,'%s \n',['selectsegment(' ...
num2str(mean(Geom(kj).x([ki ki+1])),'%1.6e') ',' ...
num2str(mean(Geom(kj).y([ki ki+1])),'%1.6e') ')']);
fprintf(lua_wri,'%s \n',[fi 'setsegmentprop("tangmagn",0,0)']);
end
end
end
fprintf(lua_wri,'%s\n',[fi 'zoomnatural()']); % zoom
fprintf(lua_wri,'%s%s%s\n',[fi 'saveas("e_core.fem")']); % save geometry
fprintf(lua_wri,'%s\n',[fi 'createmesh()']); % discretise
fprintf(lua_wri,'%s\n',[fi 'analyse()']); % analyse
fprintf(lua_wri,'%s\n',[fi 'loadsolution()']); % load solution
fclose(lua_wri); % close the file for writing
ask_fem=1; % switch for fem calculation
if ask_fem==1
% start a Lua script from the command line
[s w]=dos(['"C:\Program Files\femm40\bin\femme.exe" -lua-script=' cd '\e_core_pre.lua']);
end
65
References
[1] “CALFEM – A finite element toolbox to MATLAB version 3.3,” Dept. of Structural
Mechanics, Lund University, Sweden, 2002.
[2] Hameyer, K., Belmans, R., “Numerical modeling and design of electrical machines
and devices” – Computational mechanics Inc. 1999, ISBN 1-85312-626-8
[3] Jack, A.G., “How far can we rely on computer based design”, IEE 1999, pp. 8/1-8/2
[4] Jack, A.G., Mecrow, B.C., Dickinson, P.G., Stephenson, D. Burdess, J.S., Fawcett, W.
and Evans, J.T., “Permanent-magnet machines with powdered iron cores and
prepressed windings” – IEEE Trans. Ind. Appl., v. 36 n. 4 July/August 2000,
pp.1077-1084
[5] Lipo, T.A., “Introduction to AC Machine Design” – Vol. 1, Wisconsin Power
Electronics Research Center, University of Wisconsin., 1996
[6] Meeker, D., “Steady-State Finite Element Heat Conduction Solver”, 2005
[7] Meeker, D., “User manual for finite element method magnetics – FEMM”, 2005
[8] Ostovic, V., “Dynamics of Saturated Electric Machines”, New York, Springer-Verlag,
1989, ISBN 0-387-97079-7
[9] Ottosen, N.S., Petersson, H., “Introduction to the finite element method”, University
of Lund, Sweden, Prentice Hall Europe 1992, ISBN 0-13-473877-2
[10] Reinap, A., “Design of powder core motors” University of Lund, Sweden, Media-
Tryck 2004, ISBN 91-88934-36-5