43
Basic design and engineering of normal- conducting, iron-dominated electro-magnets ‘Numerical design’ Th. Zickler, CERN Joint Universities Accelerator School JUAS 2012 Archamps, France, 20 February 2012

Basic design and engineering of normal- conducting, iron

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Basic design and engineering of normal- conducting, iron

Basic design and engineering of normal-conducting, iron-dominated electro-magnets

‘Numerical design’

Th. Zickler, CERN

Joint Universities Accelerator School JUAS 2012

Archamps, France, 20 February 2012

Page 2: Basic design and engineering of normal- conducting, iron

Numerical design

Which code shall I use? Introduction to 2D numerical design

A brief look into 3D...

JUAS 2012 Archamps, France, 20 February 2012

Basic Magnet Design © Th. Zickler, CERN

Page 3: Basic design and engineering of normal- conducting, iron

Numerical design

Common computer codes: Opera (2D) or Tosca (3D), Poisson, ANSYS, Roxie, Magnus, Magnet, Mermaid, FEMM, etc… Technique is iterative

– calculate field generated by a defined geometry – adjust the geometry until desired distribution is achieved

Advanced codes offer:

– modeller, pre-processor, solver and post processors, optimizer routines – mesh generator with finite elements of various shapes – multiple solver iterations to simulate non-linear material properties (steel) – anisotropic material characterisation – 3-dimensional calculations – combination with structural and thermal analysis – time depended analysis (steady state, transient) – new: hyteresis solver

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 4: Basic design and engineering of normal- conducting, iron

Which code shall I use ?

Selection criteria: – The more powerful, the harder to learn – Powerful codes require powerful CPU and large memory – More or less user-friendly input (text and/or GUI, scripts) – OS compatibility – License costs

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

2D

• 2D analysis is often sufficient • magnetic solvers allow currents

only perpendicular to the plane • fast

3D

• produces large amount of elements • mesh generation and computation

takes significantly longer • end effects included • powerful modeller

Page 5: Basic design and engineering of normal- conducting, iron

Performance

Computing time increases for: – High accuracy solutions – Non-linear problems – 3-dimensional calculations – Time depending analysis

Compromise between accuracy and computing time Smart modelling can help to minimize number of elements FEM codes are powerful tools, but be cautious:

– Like computers: they don’t do what you want, but what you tell them to do!

– Always check results if they are ‘physical reasonable’ – Use FEM for quantifying, not to qualify

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 6: Basic design and engineering of normal- conducting, iron

Numerical design process

Design process in 2D (similar in 3D):

Create the model (pre-processor or modeller)

Define boundary conditions

Calculations (solver)

Visualize and asses the results (post-processor)

Optimization by adjusting the geometry (manually or optimization code)

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 7: Basic design and engineering of normal- conducting, iron

Reminder: pole contours

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Pole shape Field distribution Pole equation Bx, By

y= ± r

Bx= 0

By= b1 = B0 = const.

2xy= ± r2

Bx= b2y By= b2x

3x2y - y3 = ± r3 Bx= b3xy By= b3(x2- y2)/2

4(x3y – xy3) = ± r4

Bx= b4(3x2y – y3)/6 By= b4(x3 - 3xy2)/6

x-axis

By

x-axis

By

x-axis

By

x-axis

By

Page 8: Basic design and engineering of normal- conducting, iron

Creating the model

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 9: Basic design and engineering of normal- conducting, iron

Model symmetries

Note: one eighth of quadrupole could be used with opposite symmetries defined on horizontal and y = x axis

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 10: Basic design and engineering of normal- conducting, iron

Boundary conditions

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 11: Basic design and engineering of normal- conducting, iron

Material properties

Permeability: – either fixed for linear solution – or permeability curve for non-

linear solution – can be anisotropic – apply correction for steel

packing factor – pre-defined curves available

Conductivity: – for coil and yoke material – required for transient eddy

current calculations Mechanical and thermal properties:

– in case of combined structural or thermal analysis

Current density in the coils Data source: Thyssen/Germany

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 12: Basic design and engineering of normal- conducting, iron

Mesh generation

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 13: Basic design and engineering of normal- conducting, iron

Data processing

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

• linear: uses a predefined constant permeability for a single calculation

• non-linear: uses permeability table for iterative calculations

Solution

• Static • Steady state (sine function) • Transient (ramp, step, arbitrary function, ...)

Solver types

• number of iterations, • convergence criteria • precision to be achieved, etc...

Solver settings

Page 14: Basic design and engineering of normal- conducting, iron

Analyzing the results

With the help of the post-processor, field distribution and field quality and be visualized in various forms on the pre-processor model:

– Field lines and colour contours plots of flux, field, and current density

– Graphs showing absolute or relative field distribution – Homogeneity plots – Multipole components

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 15: Basic design and engineering of normal- conducting, iron

Field and flux lines

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 16: Basic design and engineering of normal- conducting, iron

Field and flux lines

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 17: Basic design and engineering of normal- conducting, iron

Assessing the field quality

A simple judgment of the field quality can be done by plotting the field (gradient) homogeneity:

Dipole Quadrupole Sextupole ‘Typical’ acceptable variation inside the good field region:

)0,0()0,0(),(

0 y

yy

BByxB

BB −=

22

22

0

)0,0('

)0,0('),(

:)0,0('

)0,0('),(''

'

yxByxByxB

orB

ByxBB

B

r

+

+−

−=

)0,0('')0,0(''),(''

''''

0 BByxB

BB −

=∆

%01.00

≤∆BB %1.0

''

0

≤∆B

B %1''

''

0

≤∆B

B

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 18: Basic design and engineering of normal- conducting, iron

Field homogeneity in a dipole

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Homogeneity along the x-axis

Homogeneity along GFR boundary

Page 19: Basic design and engineering of normal- conducting, iron

Field homogeneity in a dipole

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 20: Basic design and engineering of normal- conducting, iron

Field homogeneity in a quad

-1.0E-03

-7.5E-04

-5.0E-04

-2.5E-04

0.0E+00

2.5E-04

5.0E-04

7.5E-04

1.0E-03

-17.5 -12.5 -7.5 -2.5 2.5 7.5 12.5 17.5

Gra

dien

t err

or

x [mm]

Gradient error along the x-axis

CERN proposal V2a P=0.98% R=15 mm I=8.2031 A; tapered poles (OPERA)BINP proposal V2b (18.7.) R=15 mm I=8.2031 A (MERMAID)

-1.0E-04

-7.5E-05

-5.0E-05

-2.5E-05

0.0E+00

2.5E-05

5.0E-05

7.5E-05

1.0E-04

0.0 20.0 40.0 60.0 80.0 100.0 120.0 140.0 160.0 180.0

Gra

dien

t err

or

angle [degree]

Gradient error along the GFR boundary

CERN proposal V2a P=0.98% R=15 mm I=8.2031 A; tapered poles (OPERA)

BINP proposal V2b (18.7.) R=15 mm I=8.2031 A (MERMAID)

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Gradient homogeneity along the x-axis

Gradient homogeneity along circular GFR

Page 21: Basic design and engineering of normal- conducting, iron

Field homogeneity

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Field quality varies with field strength due to saturation

Page 22: Basic design and engineering of normal- conducting, iron

Saturation

0

1

2

3

4

5

6

7

8

9

10

0

0.5

1

1.5

2

2.5

0 500 1000 1500 2000 2500 3000

Satu

ratio

n [%

]

Flux

den

sity

[B]

Current [A]

non-linear linearSaturation

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 23: Basic design and engineering of normal- conducting, iron

Multipole expansion

The amplitude and phase of the harmonic components in a magnet are good ‘figures of merit’ to asses the field quality of a magnet

(34)

The normal (bn) and the skew (an) multipole coefficients are useful: – to describe the field errors and their impact on the beam in the

lattice, so the magnetic design can be evaluated – in comparison with the coefficients resulting from magnetic

measurements to judge acceptability of a manufactured magnet

( )∑∞

=

+⋅+=+

1

1

n

n

refnnrefxy R

iyxiabBiBB

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 24: Basic design and engineering of normal- conducting, iron

‚Allowed‘ and ‚non-allowed‘ multipoles

• Due to the finite size of the poles, higher order multipole components appear

• They are intrinsic to the design and called ‚allowed‘ multipoles:

• n: order of multipole component

• N: order of the fundamental field

• m: integer number (m≥1)

• e.g: dipole: N = 1, n = 3, 5, 7... quadrupole: N = 2, n = 6, 10, 14... • ‚Non-allowed‘ multipoles result from a violation of symmetry and

indicate a fabrication or assembly error

JUAS 2012 Archamps, France, 20 February 2012

Basic Magnet Design © Th. Zickler, CERN

)12( += mNn

Page 25: Basic design and engineering of normal- conducting, iron

Asymmetries

Asymmetries generating ‘non-allowed’ harmonics in a dipole:

n = 2, 4, 6, ... n = 3, 6, 9, ...

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 26: Basic design and engineering of normal- conducting, iron

Asymmetries

Asymmetries generating ‘non-allowed’ harmonics in a quadrupole:

• These errors can seriously affect machine behaviour and must be controlled

• Comprehensive studies about the influence of manufacturing errors on the field quality have been done by K. Halbach.

n = 4 (neg.) n = 4 (pos.)

n = 3

n = 2, 3

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 27: Basic design and engineering of normal- conducting, iron

Pole tip design

It is easy to derive perfect mathematical pole configurations for specific fields

In practice poles are not ideal: finite width and end effects result in multipole errors disturbing the main field

The uniform field region is limited to a small fraction of the pole width Estimate the size of the poles and derive the resulting fields Better approach: calculate the necessary pole overhang using (35)

x: pole overhang normalized to the gap a: pole overhang: excess pole beyond the edge of the good field region to reach the required field uniformity h: magnet gap

90.0ln36.020

−∆

−==BB

hax dunoptimize

h a GFR

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 28: Basic design and engineering of normal- conducting, iron

Shimming (often done by ‘try-and-error’) 1. Add material on the pole edges: field will rise and then fall 2. Remove some material: curve will flatten 3. Round off corners: takes away saturation peak on edges 4. Pole tapering: reduces pole root saturation

Pole optimization

-0.02

-0.015

-0.01

-0.005

0

0.005

0.01

0.015

0.02

ΔB/B

-0.02

-0.015

-0.01

-0.005

0

0.005

0.01

0.015

0.02

ΔB/B

-0.02

-0.015

-0.01

-0.005

0

0.005

0.01

0.015

0.02

ΔB/B

-0.02

-0.015

-0.01

-0.005

0

0.005

0.01

0.015

0.02

ΔB/B

-0.02

-0.015

-0.01

-0.005

0

0.005

0.01

0.015

0.02

ΔB/B

-0.02

-0.015

-0.01

-0.005

0

0.005

0.01

0.015

0.02

ΔB/B

Case 1

Case 2

Case 3

Case 4

Case 5

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 29: Basic design and engineering of normal- conducting, iron

Rogowsky roll-off

Creates surface of constant scalar potential The edge profile is shaped according to: (36) It provides the maximum rate of increase in gap with a monotonic

decrease in flux density at the surface (i.e. no saturation!) For an optimized pole (33) changes to:

(37)

+= 1exp

2 hxhhy π

π

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

25.0ln14.020

−∆

−==BB

haxoptimized

Page 30: Basic design and engineering of normal- conducting, iron

Pole optimization

Similar technique can be applied for quadrupoles:

(38) (39)

xc: unoptimized resp. optimized pole overhang from (35) resp. (37) ρ: normalized good field radius r/R

Pole optimization: – Tangential extension of the hyperbola – Additional bump = shim – Round off sharp edge – Tapered pole

Xc,Ycr

R

( )

( )

−−++=

++++=

ddc

ddc

xxRy

xxRx

222

222

121

121

ρρ

ρρ

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 31: Basic design and engineering of normal- conducting, iron

An eddy current problem…

Eddy currents: – Because of the electrical conductivity of steel, eddy currents can be generated in solid

magnet cores – This is the reason why pulsed magnets are made of laminated steel – Nevertheless, some parts remain massive in order to assure the mechanical strength – Usually they can be ignored, if they don’t contribute to carry magnetic flux and hence

see no significant field or a possible dB/dt Problem:

– Magnetic field lagging behind the current – Time constant τ in the order of seconds – Missing field: 0.5 %

Explanation: eddy currents in the tension bars welded onto the laminated magnet yoke

– The partly saturated return yoke forces the flux into the tension bars – Only after eddy current have decayed, the flux can enter into the tension bars and

reduce the saturation effects in the laminated yoke – Increase of the central field after the eddy currents have decayed

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

-0.45

-0.40

-0.35

-0.30

-0.25

-0.20

-0.15

-0.10

-0.05

0.00

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

dVre

f/Vre

f [%

}

Stop integrateur ( x 200 ms)

Courbes groupées pour di/dt = 1250, 2500, 5000 A/sec

dVref/ref [%] - 1250 A/sec

dVref/Vref - 2500 A/sec

dVref/ref [%] - 5000 A/sec

Page 32: Basic design and engineering of normal- conducting, iron

Eddy currents - static case

μr = 1 (tension straps)

μr >> 1 (tension straps)

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 33: Basic design and engineering of normal- conducting, iron

Eddy currents - dynamic behavior

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 34: Basic design and engineering of normal- conducting, iron

Eddy currents – field lag

-0.45

-0.40

-0.35

-0.30

-0.25

-0.20

-0.15

-0.10

-0.05

0.00

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

dVre

f/Vre

f [%

}

Stop integrateur ( x 200 ms)

Courbes groupées pour di/dt = 1250, 2500, 5000 A/sec

dVref/ref [%] - 1250 A/sec

dVref/Vref - 2500 A/sec

dVref/ref [%] - 5000 A/sec

Measured curves (D. Cornuet, R. Chritin)

Calculated curves (OPERA 2D Transient)

-0.60%

-0.50%

-0.40%

-0.30%

-0.20%

-0.10%

0.00%

0 500 1000 1500 2000 2500 3000 3500

Rela

tive

field

err

or at

mag

net c

entr

e [%

]

Time [ms]

Relative field attenuation (Imax = 3000 A)

dI/dt = 1250 A/s

dI/dt = 2500 A/s

dI/dt = 5000 A/s

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 35: Basic design and engineering of normal- conducting, iron

A material problem...

A small distortion in the GFR can significantly influence the field quality:

Welding seam on stainless-steel vacuum chamber GFR radius: 30 mm Chamber radius: 35 mm Welding seam diameter: 1 mm Rel. permeability of 316 LN: < 1.001

JUAS 2012 Archamps, France, 20 February 2012

Basic Magnet Design © Th. Zickler, CERN

μr=1.01

μr=1.1 μr=1.001

Page 36: Basic design and engineering of normal- conducting, iron

3D Design

Becomes necessary to study: – the longitudinal field distribution – end effects in the yoke – end effects from coils – magnets where the aperture is large compared to the length

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 37: Basic design and engineering of normal- conducting, iron

Similar to 2D: – Use pre-processor or modeller to build geometry – Profit from symmetries to reduce number of elements – Difference: all regions with current density have to be modelled

completely

Opera 3D model

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 38: Basic design and engineering of normal- conducting, iron

Post-processing

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Similar to 2D: – Field lines and color contours plots of flux, field, current density – Graphs showing absolute or relative field distribution – Homogeneity plots – Multipole errors – In addition: particle tracking

Page 39: Basic design and engineering of normal- conducting, iron

Isopotential surfaces

10 Gauss isopotential surface

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 40: Basic design and engineering of normal- conducting, iron

Magnet ends

Special attention has to be paid to the magnet ends: – A square end will introduce significant higher order multipoles – Therefore, it is necessary to terminate the magnet in a controlled way by

shaping the end either by cutting away or adding material – The end is shaped to give increasing gap and lower fields as the end is

approached

The goal of successful shimming is to:

• adjust the magnetic length • prevent saturation in a sharp corner • maintain magnetic length constant across the good field region • prevent flux entering perpendicular to the laminations, which induces eddy

currents

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 41: Basic design and engineering of normal- conducting, iron

Longitudinal shimming

Dipoles: – Rogowsky roll off or angular cut – Depth and angle adjusted using

3D codes or measurements Quadrupoles:

– Angular cut at the end Sextupoles:

– Usually not chamfered

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012

Page 42: Basic design and engineering of normal- conducting, iron

Literature

• Fifth General Accelerator Physics Course, CAS proceedings, University of Jyväskylä, Finland, September 1992, CERN Yellow Report 94-01

• International Conference on Magnet Technology, Conference proceedings • Iron Dominated Electromagnets, J. T. Tanabe, World Scientific Publishing, 2005 • Magnetic Field for Transporting Charged Beams, G. Parzen, BNL publication, 1976 • Magnete, G Schnell, Thiemig Verlag, 1973 (German) • Electromagnetic Design and mathematical Optimization Methods in Magnet

Technology, S. Russenschuck, e-book, 2005 • CAS proceedings, Magnetic measurements and alignment, Montreux, Switzerland,

March 1992, CERN Yellow Report 92-05 • CAS proceedings, Measurement and alignment of accelerator and detector magnets,

Anacapri, Italy, April 1997, CERN Yellow Report 98-05 • Physik der Teilchenbeschleuniger und Synchrotronstrahlungsquellen, K. Wille, Teubner

Verlag, 1996 • CAS proceedings, Magnets, Bruges, Belgium, June 2009, CERN Yellow Report 2010-004

JUAS 2012 Archamps, France, 20 February 2012

Basic Magnet Design © Th. Zickler, CERN

Page 43: Basic design and engineering of normal- conducting, iron

FEMM

For those who want to do some 2D field simulations outside the class room:

• FEMM: free 2D FE code for magnetics, electrostatic, heat flow and

current flow • Input via GUI or scripts (LUA scripting engine) • More info (wiki) and download from the web: • http://www.femm.info/wiki/HomePage

Basic Magnet Design © Th. Zickler, CERN

JUAS 2012 Archamps, France, 20 February 2012