MRC/WDC-B-592-1 SLAC KLYSTRON LECTURES Lecture 14 June 23, 2004 2-D and 3-D MAGIC Simulation...
-
date post
20-Dec-2015 -
Category
Documents
-
view
221 -
download
0
Transcript of MRC/WDC-B-592-1 SLAC KLYSTRON LECTURES Lecture 14 June 23, 2004 2-D and 3-D MAGIC Simulation...
MRC/WDC-B-592-1
SLAC KLYSTRON LECTURES
Lecture 14
June 23, 2004
2-D and 3-D MAGIC Simulation SoftwareApplied to Klystron Design Examples
David Smithe and Larry Ludeking
ATK Mission Research
George Caryotakis, Glenn Scheitrum, Daryl Sprehn, and Bob Steele
Stanford Linear Accelerator Center
MRC/WDC-B-592-2
Outline
• Example of Klystron Simulation in MAGIC Software
• Overview of FD-TD-PIC Computation Method
• Various Different Uses for the Software
• The B-Factory Klystron Template
• Challenges for the Future
MRC/WDC-B-592-3
Geometry-Based Simulation Example: 7 Cavity Klystron
Small Signal Gain ( Input Power 0.1mWatt )
0
10
20
30
40
50
60
34.8 34.9 35 35.1 35.2
Frequency (GHz)
Gai
n (
dB
)
Gain vs Input Power
0
10
20
30
40
50
60
0 25 50 75 100 125 150 175 200
Input Power (mWatts)
Gai
n (
dB
)
Voltage at Input Cavity
Voltage at Output Cavity
(Courtesy of SLAC)
MRC/WDC-B-592-4
Klystron Output Cavity Example
Penultimate and 5-stage output cavity.
Beam is bunched in several previous cavities.
(Magic 2D, simulation courtesy of SLAC.)[click for movie]
MRC/WDC-B-592-5
Theoretical Basis of MAGIC2D and MAGIC3D
Maxwell’s Equations
There are electromagnetic vector fields as a function of position, E(r), B(r), D(r), H(r), and particle current and charge fields, J(r), and (r).
Initial Conditions: D = B = 0
Constitutive Relations: E = D / H = B /
Evolution Equations: tB = E tD = H J
Relativistic Lorentz Force
There are particles with position vector, xi, and relativistic momentum-per-mass vector, pi.
Velocity Relation: i = (1+|pi / c|2)½ vi = pi / i
Evolution Equations: txi = vi tpi = (qi/mi) [ E(xi) + vi Bi(xi) ]
MRC/WDC-B-592-6
Theoretical Basis of MAGIC2D and MAGIC3D (cont.)
Plus Many-Many Model Equations
- Materials (, , and , perfect conductors, polarizers, foils, films, etc.)
- Boundary conditions (periodic, absorbing, transmission line, etc.)
- Particle Emission models (thermionic, secondary, explosive, etc.)
- Lumped circuit elements (resistor, inductor, cable, capacitor, etc.)
- Static magnetic fields (coils, imported from other codes, etc.)
- RF sources (voltage ports, current drivers, etc.)
- Initial conditions (field solver, particle populations, etc.)
- Feedback circuits
MRC/WDC-B-592-7
Time Domain Simulation
MAGIC is simulation, not analysis. The goal is to mimic nature, with as little “a priori” knowledge as possible. As with nature, one starts with an initial system state, and evolves the system forward in time, without prejudice as to what the future system will or should look like. Diagnostics allow the researcher to observe the system, and if fortunate, interpret what is happening in a physical sense.
This is Time Domain. So MAGIC Is FD-TD-PIC.
Simulation is essentially a metal-less laboratory.
Example: If a device must be properly tuned in a real laboratory, then it will need to be similarly tuned in simulation.
Example: If a device can’t work in the laboratory, it will be very difficult, or hopefully impossible, to force it to work somehow in simulation.
Example: If the lab results are confusing, the simulation results might also be confusing. But, of course, MAGIC has diagnostics no lab has!
MRC/WDC-B-592-8
Matrix Formulation
Material Properties:
Faraday’s Law:Ampere’s Law:
Divergence of B:Gauss’s Law:
Continuity:
• Field components are [Edl], [DdA/dt],
[Hdl], and [BdA/dt].
•All derivatives, x , , and “t,” become matrices with 0,±1.
MRC/WDC-B-592-9
Uses for Simulation Software
• General qualitative understanding of physical processes
• Evaluation of difficult-to-predict parameters for spreadsheet analysis
– Plasma wave-number– Trans-conductance– Beam Loading, real and imaginary parts
• Evaluation of difficult-to-analyze components– Penultimate and Output Cavities– Magnetic focusing of time-dependent bunched-beam
• Entire end-to-end simulation
MRC/WDC-B-592-10
Qualitative Understanding
• Many special diagnostics allow one to visualize the physics, and better understand it
– Example: bunch behavior in an SBK output cavity
• It is usually simple to try unusual geometry or situations, once the basic geometry is in place
– Example: one absent beam line in an MBK
[click for movie]
MRC/WDC-B-592-11
Parameter Evaluation - Plasma Wavenumber
Excite cavity, pass steady-state beam through it, and watch bunching develop as beam passes through long drift tube. Tells where to place next cavity.
¼ p
MRC/WDC-B-592-12
Parameter Evaluation – Beam Loading
Ring-down Simulation. Pump up cavity with beam present, turn off pump. Signal will decay, giving Qbeam. Oscillation will also shift frequency slightly to beam loaded frequency.
Beam Loaded Frequency
MRC/WDC-B-592-13
Difficult Components – Output Cavity
• In the output cavity
– Small-signal analysis is no longer valid
– Particles in bunches may overtake one-another
– Space charge forces are accentuated because of tight bunching
– Radial transport is significant
– Extended interaction regions imply more than one possible mode
– Coupler geometry may be significant
• Simulation is almost a necessity
– Example: ¾ - mode output cavity[click for movie]
MRC/WDC-B-592-14
Sheet Beam Output Cavity
• Uses 3-cavity extended interaction, coupler load in 3rd cavity end only• Example: Checking for constant phase across width of sheet beam
[click for movie]
MRC/WDC-B-592-15
Difficult Components – Acceleration of Bunched Beam
• Klystron-like device, called a Reltron.– Two stages of DC voltage applied– Input cavity between the stages
[click for movie]
MRC/WDC-B-592-16
Entire End-to-end Simulation of B-Factory Klystron
Small Signal Response for the B-Factory Klystron
45
46
47
48
49
50
51
52
53
54
55
470 472 474 476 478 480 482 484
Frequency ( MHz )
Ga
in (
dB
)
MathCADMeasuredAJ DiskMAGIC
Vo = 81kVIo = 25APin = 4.1W
MRC/WDC-B-592-17
The B-Factory Klystron Template
• Pre-written MAGIC2D input file of complete klystron, for public use– Find it in Vacuum Electronics book by Barker et al.– Find it at SLAC website
• User-friendly interface allows novices to redesign aspect of the klystron including cavity frequencies, Q’s, spacings, and gap parameters.
MRC/WDC-B-592-18
Template Design and Optimization Capability
• The template allows one to load previous results. The design iterative process is a repetition of device tuning runs, followed by a full-up hot-test run for result.
MRC/WDC-B-592-19
Template Cavity Parameters
Dialogs allow specification of all major cavity parameters
MRC/WDC-B-592-20
Template Tuning Results
• Results of each iteration are tracked, and error between actual and desired values is given.
MRC/WDC-B-592-21
Template Hot Test Setup
• Hot test parameters are set in a dialogue box
MRC/WDC-B-592-22
Template Hot Test Run
PHASESPACE plots during the hot test run show qualitative behavior
MRC/WDC-B-592-23
Template Hot Test Results
Results are provided in graphics and tabular form.
MRC/WDC-B-592-24
Challenges for the Future – Problem Size
Grid resolution of Beam Tubes12 cells across tube.
Non-Uniform Grid
• Always need more cells in 3-D
• Example: Multiple Beam Klystron
• Parallel processing will help.
Simulation Geometry
MRC/WDC-B-592-25
Challenges for the Future – Relativistic Devices
• Numerical Cerenkov instability remains a manageable nuisance– HIGH_Q algorithm damps instability without loading cavities– Grid “jiggling” allows standard un-damped algorithms– Still looking for more convenient solutions to the problem.
Finite Difference Dispersion of Light
0.5
0.6
0.7
0.8
0.9
1.0
0 0.2 0.4 0.6 0.8 1
kdx /
w/k
c
3-D uniform grid, cdt /dx =0.577
2-D uniform grid, cdt /dx =0.707
cdt /dx =1
Typical nonuniform grid, cdt /dx =small
150 keV
210 keV185 keV
MRC/WDC-B-592-26
Challenges for the Future – Maintaining Reliability
• SLAC has developed an HTML driven Automated Test Suite to allow fast verification of MAGIC results on a large suite of different test cases.
• Provides quick verification of new versions of the software.
MRC/WDC-B-592-27
Summary
• The MAGIC software has been used for studying klystrons at SLAC for at least 8 years.
• As computer speed increases, the potential uses of the software have evolved from 2-D physics studies to 3-D design work.
• This talk has provided an overview and many examples of the use of the MAGIC software in klystron problems.
• An public klystron template, based on SLAC’s B-factory klystron is available for use, experimentation, and education.
• Parallel processing capability and active software development programs offer promise for even more capability in the future.