start-to-end simulation of beam dynamics in sase fels

31
Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland Start-to-End Simulation of Beam Dynamics in SASE FELs M. Borland ¹, Y.-C. Chae¹, P. Emma², J.W. Lewellen¹, V. Bharadwaj², W.M. Fawley³, P. Krejcik², C. Limborg², S.V. Milton¹, H.-D. Nuhn², R. Soliday¹, M. Woodley² ¹Argonne National Laboratory ²Stanford Linear Accelerator Center ³Lawrence Berkeley National Laboratory

Upload: others

Post on 25-Dec-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Start-to-End Simulation of Beam Dynamics in

SASE FELsM. Borland¹, Y.-C. Chae¹, P. Emma², J.W. Lewellen¹,

V. Bharadwaj², W.M. Fawley³, P. Krejcik², C. Limborg², S.V. Milton¹, H.-D. Nuhn², R. Soliday¹, M. Woodley²

¹Argonne National Laboratory²Stanford Linear Accelerator Center

³Lawrence Berkeley National Laboratory

Page 2: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

� Why do start-to-end (S2E) simulations?

� Simulation methods and codes

� LCLS simulations

� Discovery of the CSR microbunching instability

� Simulation of pulse-to-pulse X-ray output

� Conclusions and suggestions

Outline

Page 3: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

linaclinacrf gun

bunch compressor

drivelaser

undulator

Simplified SASE FEL Schematic

Page 4: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

aberrations, ISR, & CSR

wakes &rf curvature

wakes &rf curvature

space charge,emittance comp,& photoemission

spatial and temporal pulse shape

emittanceenergy spreadenergybeta matchtrajectory

linaclinacrf gun

bunch compressor

drivelaser

undulator

Page 5: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

aberrations, ISR, & CSR

wakes &rf curvature

wakes &rf curvature

space charge,emittance comp,& photoemission

spatial and temporal pulse shape

emittanceenergy spreadenergybeta matchtrajectory

klystrons klystrons

power suppliesTiming

linaclinacrf gun

bunch compressor

drivelaser

undulator

Simplified SASE FEL Schematic

FEL is critically affected by interplay of physics details.

Page 6: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Methodology of S2E Simulations

� Don't try to write a single code that does everything

� Do try to preserve as much information as practical in going from one code to the next

� Do develop a way to use existing codes together efficiently

� Standardized file format ("SDDS") for data exchange

� Standardized data processing tools (SDDS toolkit)

� Script-based automation

Page 7: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Codes for S2E

� PARMELA (L. Young, LANL)

� Photoinjector simulations

� Space charge, rf curvature, nonlinear transport

� elegant (M. Borland, ANL)

� Linac and bunch compressor

� CSR, ISR, wakefields, rf curvature, nonlinear transport

� GENESIS (S. Reiche, UCLA)

� 3D FEL simulation

Page 8: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

GENESIS simulations

� Full time-dependent simulation requires millions of particles and is impractical for jitter simulation

� FEL codes and accelerator codes require very different particle loading

� Our solution

� Perform slice analysis with 136 slices ( )

� Simulate each slice independently in steady-state mode

Lslice

� Lslippage

Page 9: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Components of S2E Simulations Photoinjector

Analysis

Graphics

PARMELA

L. Young (LANL)

Translator

J. Lewellen (ANL)

SDDS file:run parameters &

phase-space

Borland et al (ANL)

SDDS Toolkit

Page 10: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Components of S2E Simulations Linac/Bunch Compressors

Photoinj.phase-space

file

elegant

M. Borland, ANL

Linacphase-space

file

CSR wakes simple FELevaluation

slice analysisvs

distance

momentsvs

distance Borland et al (ANL)

SDDS Toolkit

Analysis

Graphics

Page 11: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Components of S2E Simulations FEL Simulation

Page 12: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

LCLS Schematic06Dec00 Design (P. Emma)

CSR simulations with gaussian beams and low longitudinal resolution predicted 5% projected emittance growth, but ...

DL2

14.35 GeVσz ≈ 0.022 mm

σδ ≈ 0.02 %

L3

σz ≈σδ ≈ 0.76 %

4.54 GeV 0.022 mm

BC2R56 22 mm≈−

L2

σσ

150 MeV

z ≈ 0.83 mm

δ ≈ 0.10 %

L1 ≈Lundulator

120 m

0.19 mm250 MeV

σz ≈σδ ≈ 1.8 %

BC1R56 ≈− 36 mm

LX

RFgun

L0

Page 13: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Emittance Growth in LCLS06Dec00 Design

BC1 BC2 DL2

requirement

Emittance is average of values for 20 slices

Page 14: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

CSR Microbunching Instability06Dec00 Design

Power drops from ~15 GW to ~5 GW due to CSR instability

Microbunch spacing is ~3µm

Page 15: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Explanation of the Instability

� CSR wake looks like the derivative of the longitudinal density

� Any density clump causes a local derivative-like feature in the CSR wake

� Head of clump is accelerated, tail is decelerated

� A particle that gains (losses) energy in a dipole falls back (moves ahead)

� Thus, the clump is amplified, which amplifies the CSR wake, ...

Page 16: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Slice Analysis

Page 17: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Revised LCLS Design07Nov01 Design (P. Emma)

� Replace double-chicane compressors with single-chicane compressors

� Add superconducting wiggler upstream of BC2 to increase incoherent energy spread

� Reduces size of current spikes generated in compression

� Reduces gain of CSR instability

� Reduced DL2 angles by 50%

Page 18: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Emittance Growth in LCLS07Nov01 Design

BC1 BC2 DL2

requirement

Emittance is average of values for 20 slices

Page 19: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

CSR Microbunching Instability07Nov01 Design

Power increases to ~7 GW

Page 20: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Slice Analysis

Page 21: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

S2E Jitter Simulations of LCLS

� "Jitter" refers to any error that we can't correct with alignment, tuning, feedback, etc.

� We assume that the machine is tuned to ideal performance on average

� We simulated jitter, including

� drive laser timing and energy

� photoinjector and linac rf voltages and phases

� bunch compressor power supplies

Page 22: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Assumed Input Jitter Levels

Quantity Rms Jitter Level

L2 phases (28) 0.07 deg-SL2 voltages (28) 0.07%L3 phases (48) 0.07 deg-S

L3 voltages (48) 0.05%BC1 dipoles 0.02%BC2 dipoles 0.02%DL dipoles 0.01%

Wiggler dipoles 0.02%Tweaker quads (4) 0.1%

Quantity Rms Jitter Level

laser phase 0.5 deg-S

laser energy 1.00%gun phase reference

gun voltage 0.1%L0 phase (1) 0.1 deg-S

L0 voltage (1) 0.10%L1 phase (1) 0.1 deg-S

L1 voltage (1) 0.10%X-band phase (1) 0.3 deg-X

X-band voltage (1) 0.25%

Page 23: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Results of Jitter Simulations

� Correction quads in chicanes remove dispersion-like correlations due to CSR and reduce projected emittance.

� 230 seeds used.

� Values are medians of central-80% core-slice-averages.

� Error bars give half the quartile range.

CorrectionQuads

On

Current Bunchlength

Frac.mom.

Spread

Norm. xemit.

GainLength

Wavelength Power

kA ps 10-4 µm m A GW

yes 3.32

0.180.185

0.0130.817

0.0430.791

0.0123.44

0.161.4991

0.00137.1

1.4

no 3.27

0.170.188

0.0130.806

0.0330.789

0.0113.53

0.131.4987

0.00126.6

1.0

Page 24: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Results of Jitter Simulations

Centroid jitterresults in morepower jitter

All quantities are core-sliceaverages

Page 25: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Results of Jitter Simulations

Beam current jitter ishighly correlated with power variation

All quantities are core-sliceaverages

Page 26: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Results of Jitter Simulations

All quantities are core-slice averages

Page 27: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Correlation Analysis

� Correlation analysis can explain the causes of variation in power

Quantity Responsibility (%)laser phase 22%L1 phase 19%

� "Responsibility" is the correlation coefficient squared.

� and wavelength variationQuantity Responsibility (%)laser phase 17%

L1 phase 17%

L0 voltage 16%

L1 voltage 15%

Page 28: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Recommendations for Continuation of S2E

� Add a drive laser model

� realistic spatial/temporal profiles

� pulse-to-pulse profile jitter

� pointing jitter

� Include simulation of "static" errors

� cathode nonuniformity

� misalignments and drifts, with correction

Page 29: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Other S2E Efforts

� Boeing group

� PARMELA→�FELEXN

� LEUTL group

� PARMELA→elegant→GENESIS

� SLAC/UCLA group

� PARMELA→elegant→GENESIS (time dependent)

� TTF group

� ASTRA→TraFiC4→elegant→FAST

� VISA group

� PARMELA→elegant→GENESIS

Page 30: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Conclusions

� Start-to-end simulations using multiple codes work well due to SDDS files, tools, and scripts

� Results so far include

� Discovery of CSR microbunching instability

� Improved jitter specification

� Photoinjector modeling and stability is critical

� Unexpected effects of correction quads

� If you aren't doing S2E for your FEL or ERL, you may get a nasty surprise

Page 31: Start-to-End Simulation of Beam Dynamics in SASE FELs

Start-to-End Simulation of Beam Dynamics in SASE FELs May 6, 2002 M. Borland

Contributors

� GENESIS setup: Y.-C. Chae

� LCLS linac design: P. Emma, M. Woodley

� Photoinjector design: P. Krejcik, C. Limborg

� PARMELA setup: J. Lewellen, C. Limborg

� Start-to-end scripts and tools: M. Borland, Y.-C. Chae, J. Lewellen, R. Soliday

� Suggestions, motivation, and ideas: V. Bharadwaj, W.M. Fawley, H.-D. Nuhn, S.V. Milton

� elegant: M. Borland