Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto...

32
© CADFEM 2017 Simulation of Electric Machines with ANSYS Jens Otto CADFEM GmbH 1

Transcript of Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto...

Page 1: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

Titelmasterformat durch Klicken bearbeiten

© CADFEM 2017

Simulation of Electric Machines with ANSYS

Jens Otto – CADFEM GmbH

1

Page 2: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Why Simulation with ANSYS ? Challenges for electric machines…

- 2 -

• Electromagnetic Design:

• Rated power/ Power-Volume-Ratio

• Material consumption

• Losses/Efficiency

• Torque ripple

• Circuit interaction

• Structural Design:

• Housing integrity

• Active steel integrity

• Winding-end design

• Cooling Design

• Air/Fluid flow

• Coupled Analyses:

• Temperature prediction

• Vibroacoustics

Page 3: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Simulation Driven Product Development – Customer Workflow

3

Marc Brück EM-motive a Bosch + Daimler Company

Page 4: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Virtual Prototype: Simulation is Everywhere!

4

• Electromagnetic is just

one aspect of design

• EADT also part of

Workbench environment

• Thermal

• Fluid-flow

• Structural

• Coupled Simulation

Page 5: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Electromagnetic FEM Solution in ANYS Maxwell

- 5 -

Maxwell:

• Static

• Time-Dependent

• Time domain (Transient)

• Frequency domain (Harmonic)

• Motion (Linear, Rotational)

• Advanced physics capability

• 2D; 2.5D; 3D

• Materials

• Circuit coupling

Source: CADFEM

Page 6: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Maxwell’s Approach: Finite Element Method

- 6 -

• Translate differential equation to

algebraic equations

• Split one “big” task into a finite

number of “simple” subtasks

• Discretize space by

tetrahedrons/triangles

• Solution only at element’s nodes

• Quantities are interpolated between

nodes

Solution

computed

on nodes

Source:CADFEM

Page 7: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Automatic Adaptive Meshing

- 7 -

• Generate efficient mesh without

expert mesh know-how

• Find a compromise accuracy vs

simulation time

• User defined convergence criteria

• Global energy error (default)

• Torque

• Force

• Inductance

• Adaptive meshing available

for all non-transient solvers

Calculate local

Solution error

Generate Initial

Mesh

Solve fields using the

Finite Element Method

End criteria

reached ?

Refine Mesh

Calculate Outputs

(Force, Inductance, etc.)

no

yes

Start

Page 8: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Automatic Adaptive Meshing Example

- 8 -

Source ANSYS Inc.

Page 9: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Mesh Operations

- 9 -

• Can be combined with adaptive

approach

• Fewer iterations

• Faster solution times

• Mesh refinement for transient

simulations

• Manual mesh refinement

• Import mesh from static/harmonic

Source CADFEM

Page 10: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

True Motion in Electromagnetic Simulation

10

• User friendly configuration

• Velocity dependent effects

• Eddy currents (effect on field)

• PMs

• Squirrel cage

• Conducting slot wedges/

mechanical parts

• External particles

Page 11: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

3D Vector Hysteresis Modeling

• Lamination support

• Optimization to minimize total error

of major & minor loop

• Non-zero initial condition support

footer 11

Page 12: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Material properties

- 12 -

• Nonlinear and/or anisotropic permeability

• Anisotropic conductivity

• Core loss model

• Steinmetz approach

• electrical steel

• power ferrite

• Solid or lamination model

• Scaling of B-H curve

• Temperature dependent

Page 13: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

User Friendly Extraction of Steinmetz Coefficients

- 13 -

• Select “Electrical Steel” or “Power Ferrite”

• Select extraction method

• Core loss versus frequency

• Core loss at one frequency

• Iron’s conductivity needed

• Lamination thickness needed

• Input datasheet data from supplier

• Manual

• csv, txt import

• Sheet scan

• Automatic calculation of coefficients

• Automatic update in material properties

Page 14: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Simulation Dimensionality

14

• 2D Simulation

• Planar B-field

• General machine sizing

• 2.5D for skewing approximation

• Stepwise approximation

• 3D

• Full flexibility

• Detailed eddy current paths

• End effects (Stray fields)

• Non planar flux

Page 15: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Since R17: Time Decomposition Method

• HPC-Method for transient magnetic

designs

• Simultaneous calculation of k time

steps

• N-Tasks containing k-time steps each

• N-Tasks can be distibuted in DMP

mode

… T1 Tk

k –Time Steps

n – Parallel

Distribued Tasks

Matrix Size

X k

T1

T2

T3

T(k-2)

T(k-1)

T(k)

Source: ANSYS Inc.

Page 16: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Torque

Currents

Periodic TDM is only solved for 1 period

Periodic TDM enhancement R18

Page 17: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Periodic TDM enhancement R18: Example

• Synchronous generator

• 350,000 elements, 2nd order

elements

• Eddy current in bars

• 3 Simulation cases:

• 8 cores HPC (no-TDM) over 10

electrical periods

• 112 cores HPC (TDM general

transient) over 10 electrical periods

• 112 cores HPC (TDM periodic) solving

just 1 electrical period

20ms

# of cores HPC Method Used Simulation time Speed up

8 No-TDM 151h45min -

112 General Transient

TDM 22h53min 6.6

112 Periodic

TDM 7h33 20

Page 18: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Coupled Circuit-Motor Analysis in ANSYS Maxwell

- 18 -

• Maxwell includes circuit editor

• Sources

• Passive elements (R-L-C)

• Diodes

• Switches

• Couple EM-field to Circuit

• Dedicated elements

• Winding

Source CADFEM

Page 19: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

System Analysis of Electric Machines

- 19 -

• Why SIMPLORER?

• Detailed switch models

(Semiconductor)

• Control Loops

• Terminal coupling to other domains

• System simulation using ANSYS

Simplorer

• Embedded motor model

• PE-Circuit

• Control

• Co-simulation with

Simulink and Maxwell

• Other Domains

• Mechanical

• Thermal

Source CADFEM

Page 20: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Simplorer: Electric Powertrain – System with Thermal Simulation

Heat-Sink + Fan Model Extraction from CFD

Power Transistor Electrothermal

Characterisation

Motor Magnetic FEM Co-simulation

Page 21: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Virtual Prototype: Simulation is Everywhere!

21

• Electromagnetic is just

one aspect of design

• EADT also part of

Workbench environment

• Thermal

• Fluid-flow

• Structural

• Coupled Simulation

Mechanical Thermal / Stress

CFD Fluid Flow /

Thermal

Page 22: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Stress & Fatigue Life

• Centrifugal and magnetic forces

• Nonlinear contact between magnet

and steel

• Definition of rotor shape according to

• Deformation

• Stresses

• Fatigue life

Page 23: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Thermal – Efficient Fluid Models

• Components often cooled

by fluid flow

• Fluid flow by detailed CFD requires

computing power

• ANSYS heat pipe model with semi-

analytical approach

• Objective: Reduce simulation time

maintaining global result accuracy

• Restriction: Exact knowledge of fluid

flow not of interest

Oil flow channels

Axial air flow

Axial T-

gradient

Source: CADFEM GmbH

Page 24: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Application Case: Thermal Integrity Simulation

25

• Losses from EM-Simulation used as

realistic loads

• Thermal analysis in Mechanical

• Thermal analysis in Fluent

• Automatic Mesh interpolation

• 2D-3D interpolation capability

• Energy preserving

Page 25: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Dynamic Temperature Dependent Coupled Demagnetization

• Maxwell Transient

• 3A current pulse

• First thermal iteration on original

curve

• Second iteration on lower level

26

1st thermal

iteration

2nd thermal

iteration

Page 26: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Coupling: Magnetostriction Analyses

Applications:

• Vibration and noise

analysis

• Transformers

• Electrical machines

• Actuators

• Control devices

• Sensors and transducers

• Smart materials

Magnetic characteristic changes under mechanical stress

Physical dimension changes due to magnetic field

Inverse Magnetostriction

Magnetostriction

Electro-magnetic

Solution

Displacement Vector +

Strain & Stress Tensor

Magnetic Force +

Magnetostriction Force

Mechanical

Structure Solution

Page 27: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

EM Force + Magnetostriction

EM Force

Strain = f(H) • Force Calculation on a Tooth Tip • Suitable for NVH simulation

Example: Magnetostriction Analyses effecting forces of machines

Page 28: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Application Case: Vibroacoustic Calculation

29

Page 29: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Parametric Simulation

• What is the benefit of a single

simulation?

• Variation gives most understanding

• Geometric shape

• Material

• Current

• Windings

• Circuits

• Controller

• …

• DoE, Optimization,

Robust Design

30

Geometry

± 0.1-10%

Material

± 5-10%

Boundary Conditions

± 1-20%

Result

± ??%

Manufacturing

± 5- 30%

Loads, Signals

± 0.1-50%

Page 30: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

www.cadfemukandireland.com/events

31

Page 31: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

Thank you!

Questions ?

(please use the chat)

footer 32

Page 32: Simulation of Electric Machines with ANSYS · Simulation of Electric Machines with ANSYS Jens Otto – CADFEM GmbH 1 ... Coupled Circuit-Motor Analysis in ANSYS Maxwell -18 •Maxwell

© CADFEM 2017

CADFEM (Austria) GmbH

HQ Vienna

Wagenseilgasse 14

1120 Wien

T +43 (0) 1 5877073

[email protected]

Office Innsbruck

Grabenweg 68 (SOHO 2.0)

6020 Innsbruck

T +43 (0) 512 319056

CADFEM (Suisse) AG

HQ Aadorf (Zurich)

Wittenwilerstrasse 25

8355 Aadorf

T +41 (0) 52 36801-01

[email protected]

Office Lausanne

Avenue de la Poste 3

1020 Renens

T +41 (0) 21 61480-40

CADFEM GmbH

HQ Grafing

Marktplatz 2

85567 Grafing b. München

T +49 (0) 8092 7005-0

[email protected]

Office Dortmund

Hafenpromenade 1

44263 Dortmund

T +49 (0) 231 99325550

Office Frankfurt

Im Kohlruß 5-7

65835 Liederbach am Taunus

T +49 (0) 6196 76708-0

Office Berlin

Breite Straße 2a

13187 Berlin

T +49 (0) 30 4759666-0

Office Chemnitz

Cervantesstraße 89

09127 Chemnitz

T +49 (0) 371 334262-0

Office Hanover

Pelikanstraße 13

30177 Hannover

T +49 (0) 511 390603-0

Office Stuttgart

Leinfelder Straße 60

70771 Leinfelden-Echterdingen

T +49 (0) 711 990745-0

Germany

Österreich Austria

Schweiz Switzerland

33