From CASA Wiki
Jump to: navigation, search

This is a copy of another wiki page with some examples and information for Steve Benson to start working on wiki pages for Cooler meetings.

July 11, 2018 Cooler Ring Meeting minutes Stephen Benson

Attendees: Steve Benson, Kirsten Deitrick, Slava Derbenev, Andrew Hutton, Bob Rimmer, and Yuhong Zhang

We went over the pCDR process and then had a discussion of harmonic RF implications.

Reminder. The pCDR is on google docs and on the server. I have been trying to keep them comparable.

link to Google docs

P-CDR progress

  • Chris and Fay need to get with Joanna Griffin to find out about the specifications for the figures. We are trying to get them as uniform as possible in style.
  • Bob is trying to come up with a new figure 6.4.3 (of the injector) and has to get dimensions from Fay.
  • Gunn Park has completed a draft of the Harmonic kicker paper. It has to be reviewed and edited shorter before including it in section 6.4.
  • Andrew points out that we have a good solution for 420 pC and we should claim that in the section. The section should show off what we do know how to do and not what we still have to learn.
  • Bob points out that most CDRs describe the design but do not go into detail about the physics or technology.

Action Item progress

  • Yuhong and Bob Rimmer have provided a postdoc job description for the FOA work on the IMP project. It has to be reviewed and sent on to HR..
  • Haipeng’s trip to Langzhou was delayed. He is currently awaiting a visa.
  • Andrew pointed out the the large Cornell dipoles that might be useable in ER@CEBAF have been moved out of the CESR tunnel and are ready to ship.

Steve Benson presented some musings about harmonic RF use. This is in the form of a Powerpoint presentation and a spreadsheet that lets one play with different scenarios. This allows one to answer some of the questions posed in the PP presentation.

We talked a little about the locations of the harmonic cavities. The linac cavity should go in the middle of the linac where the beams are both small and the beams are as high an energy as possible. It is not clear where to put the cavity in the injector. In the Boeing INP injector the harmonic cavity was in the third position of a 4-cavity module. This might be a good start.

To date there seem to be no problems with using harmonic RF in the linac except for the need for 476.3 MHz cavities, which are rather large. The plan would be to use six three-cell cavities at 476.3 MHz and one 5 cell cavity in the middle at 1428.9 MHz. The maximum gradients would then be 10.5 MV/m at 476.3 MHz and 12.5 MV/m at 1428.9 MHz.

Harmonic operation in the injector is potentially more problematic and will require some simulations. A DC injector is the best in terms of voltage vs. time but the maximum energy out of the gun is limited. An RF gun like the APEX gun is still pretty DC-like but can attain much higher energy.

The use of harmonic RF not only makes the voltage less dependent on phase but also makes the RF focusing less dependent on phase. This is true for fully relativistic beams. Simulations will have to be run to see if the RF focusing at low energy is also more constant wit respect to phase.

Bob noted that LBNL is proposing to build a new APEX design with two cells that might get to 1.5 MV. They are also looking at going to two cavities at twice the frequency (371 MHz?)

NOTE: No meeting next week (July 25th) due to the Operations review (Mike Spata has his talk during our meeting).

Action items: These are the current action items. The ones in red are high priority. I have dropped the long term items:

  1. Get dispersion working in cooling code and document cooling rates for Pre-CDR. Run with displaced beam. (He Zhang, Benson, Roblin).
  2. Develop CCR arc that does not kill magnetization. (Benson, Tennant)
  3. Optimize lower frequency injector (perhaps with harmonic?) (Hannon).
  4. Produce tech note on numerology (Benson, Guo, Wang).
  5. Submit job description for new postdoc to HR (Zhang, Rimmer)
  6. Update section 6.4? in either Google docs or MS Word (All).
  7. Write up IMP results for PRST-AB. (Zhang, Wang)
  8. Other mergers? Magnetic, bent solenoid, Cornell (get for free) (Sy, Daresbury)
  9. Write up tech note on specifications for solenoid field quality. (Benson)

This is a wiki page for references, information, and procedures about Feb 27-Mar 4 2015 work to transversely match CEBAF Twiss parameters at the injector (~0L07), 1E03, and xE01 locations.

example PDF link for Audrey


The philosophy was developed at a Feb 28 15:00 meeting in MCC, including Arne Freyberger, Mike Spata, Yves Roblin, Mike Tiefenback, Jay Benesch, Todd Satogata, and Operations:

  • use zigzag harp scans to identify quadrupole ranges for good optics/emittance measurements at each harp.
  • modify qsUtility configuration files in the golden area and acquire optics/emittance measurements with traditional qsUtility scans.
  • use qsUtility to analyze the scans and get measured horizontal/vertical Twiss parameters at the start of the respective scan quads.
  • back-propagate measured Twiss parameters to the start of the upstream xS04 quadrupole.
  • use the qsUtility betatron match module (which uses ced2elegant and elegant) to calculate the match, with match point at the harp, using xS04-xS10 quadrupoles for matching to distribute matching effort.
  • evaluate and install the match.
  • re-scan the harp and compare beam sizes to sqrt(emit_meas * beta_design)

Prerequisites at Each Measurement Location

  • 4-8 uA tune beam to first dumplette downstream of match point.
  • quad centering of BPM/quadrupole pairs for qsUtility scan quadrupoles.
  • clean steering in region of measurement and downstream to maximize aperture, minimize beam losses.
  • clean ORFP dispersion in region of measurement and correction. In particular, dispersion in both planes must be consistent with zero at scan quadrupoles and harp.


  • confirm harp is working and set harp parameters
  • perform zigzag measurements to establish scan quadrupoles and ranges
  • edit qsUtility configuration files if necessary
    • configuration files are in /a/opsdata/fiefdata/fileio/q/qsUtility/config/F3-0/GoldenTemplates
  • perform qsUtility scans
  • evaluate qsUtility data to get measured Twiss parameters and emittances
  • back-propagate measured Twiss parameters to start of upstream xS04 quadrupole with elegant
    • A script to do this is in ~satogata/backpropagate.pl
  • use qsUtility betatron match module to calculate xS04-xS10 match
    • configuration files are in /a/opsdata/fiefdata/fileio/q/qsUtility/match_config/F3-0
  • evaluate and install match
  • re-scan harp and evaluate match effectiveness
  • After match is installed, one has to set the recombiner quads back to design in order to proceed to the next arc.
  • perform confirmation fopt

Data and References

  • Spring 2015 Optics Spreadsheet (Google docs)
  • 0L injector match (E=107.2 MeV, BDL=536.365*K1 for L=0.15m magnets)
  • 1E03 match (E=1057.2 MeV, BDL=5289.659*K1 for L=0.15m magnets, be careful MQN1S04 is L=0.30m, others are L=0.15m):
    • 1E03 H: zigzags -> MQB1E02 horizontal scan centered near 3100G, range +/-700G (BDL 0.586+/-0.133)
    • 1E03 V: zigzags -> MQB1E01 vertical scan centered near -2900G, range +/-1200G (BDL -0.548+/-0.227)
    • Analysis and match calculation: e3322630
    • Installed and confirmed match with fopt: e3322693 e3322695
  • 2E01 match (E=2007.2 MeV, BDL=20085.89*K1 for L=0.30m magnets):
    • 2E01 H: zigzags zigzags-> MQC2S10 horizontal scan centered near 4600G, range +/-1000G (BDL 0.229+/-0.05)
    • 2E01 V: No zigzag solution found. Todd explored space with qsUtilityConfig and found reasonable scan of MQC2S08 K=-0.6 to 0.6 with MQC2S09 K=-0.1 m^-2 and MQC2S10 K=0.2 m^-2 (image)
    • In order to test that with the zigzag do the following (yves):
# caput MQC2S09.BDL -2009
# caput MQC2S10.BDL 4017
# scan_script.csh run IHA2E01 MQC2S08 Y 12051.000 -12051.000 9

then restore the 2S09 and 2S10 quads .

Useful Tools

backpropagate.pl: Todd has written a tool to backpropagate Twiss parameters from the front of a given quadrupole (where they were measured using harp scans) to the front of an earlier quadrupole (which is the start of the matching section, almost always the nS04 quadrupole here). There is no coupling, so you can do just a single plane by just using easy numbers (e.g. beta=1 and alpha=0) for the plane you are not interested in. Usage us

 # ~satogata/backpropagate/backpropagate.pl <measQuad> <backQuad> <betax> <alphax> <betay> <alphay>

It will generate a back-propagation elegant lattice and elegant file in your current directory, and will produce errors if you try to give it a quadrupole name that does not exist. An example of backpropagation command line and output for the 2E region is here.

setquadstomachine: During the backpropagation or the matching calculation, if one wants to take into account quadrupoles that are off design, one can use the script ~roblin/tools/setquadstomachine which together with a snap file of the region in question produces a sdds file suitable for inclusion in the ELEGANT command file via load_parameters. usage is

 # ~roblin/tools/setquadstomachine <commandfile> <snapfile>

and it will make QUADparams.sdds ready for load_parameters. Read the comments in the script for further details (or page Yves).

analyzeZigZagRange.pl: Todd has written a tool to help analyze zigzag scans for quad scan ranges. Usage is, for example,

# ~satogata/tools/analyzeZigZagRange.pl IHA1E03.SA.02282015_00:28:42

This tool prints out the quadrupole that is being scanned, the list of scans and corresponding BDL and K values for that quad, and uses gnuplot to plot the zigzag scan data. One can then count the peaks and look up the corresponding BDL and K values for use in qsUtility configuration files.

zigzag2qsUtility: Dennis has a tool that converts zigzag scans to input files for qsUtility, though at present the qsUtility file that is generated needs to have the quadrupole K values added manually. An example for IHA3E01 is

# zigzag2qsUtility -scan_file=IHA3E01.SA.03032015_10:48:30 -show_plots -exclusion_zone=0.15 -plane=X -lattice_name=test -momentum=2200 -start_element=MQA3S10 -pass=2