Procedure
1. Optimize SASE for Seeding
The goal is to make all the undulators contributing to SASE with a straight orbit, especially for the (2-3) cells near the chicane location. This would help to imporve the transverse overlap between e- beam and the seed afterwards.
- Save a machine file (if not done yet)
- Make sure that Graphite filter upstream of XGM is in (in photon display panels one can find the filter in SASE2 beamline and double click to check the status).
- Setup HIREX and cross-calibrate with XGM → pay attention that HIREX signal amplitude signal should be below 3000!
- Disable quadratic taper and document SASE level (with >17 cells closed, we should have >300 uJ level with linear taper @9keV).
- SASE tuning with linear taper, try to find optimum linear taper (one can use the linear taper scan tool)
- After changing taper, phase shifters may be needed to be scanned again
- Simplified gain curve or XGM readout to check
- 12-16 segments across the chicane contribute equally
- 1-10uJ incident on crystal
- Check stability of orbit with chicane on (within +/-10 um), if not stable, find reasons (compression? IBFB?)
- Setup SASE2 orbit feedback (separated by launching and orbit after 1st and/or 2nd chicane). Deactivate the BPMs after chicane for launch feedback. Downstream of chicane use SASE22 orbit feedback with all the CAX and CAY. (one can find it on the HXRSS panel). → see examples for the feedbacks on the right →
- Open or detune undulators after 2nd chicane (U2) and check SASE contribution from U1+U2 (disable orbit feedback during undulator movement) see HXRSS_layout.png → this is impinging intensity on C2.
- Open or detune undulators after 1st chicane (U1) and check SASE contribution from U1→ this is impinging intensity on C1.
- If the SASE contribution from U1 is below 1 uJ and we want to seed with 1st chicane, try to optimize the orbit to get more cells contributing.
- performe phase shifter scans to check if the cells are contributing
- one may need to close more cells downstream to get above 20 uJ level for the optimization
- If the SASE contribution from U12 is above 10 uJ, open the first undulators and leave around 8 cells before the chicane, and close 8-10 afterwards. Remember to close the downstream undulators again.
- Save another file after optimization
2. Seed with SASE
This step would help to check the lasing window and the transverse overlap
(see HXRSS panel HXRSS_panel.png also shown in the detail on the right ->)
- Take machine file and reference orbit (normally saved in the file, but can be done in commen orbit display by pressing "set as reference").
- Switch on the chicane (use 1st chicane if SASE level before 1st chicane is above uJ), one can find the chicane control on the HXRSS panel (see detail on the right) or on the chicane server panel.
- Increase delay dt step-wise checking that orbit is not changing much (max +/-10 um).
- While increasing the delay step-wise (2-5 fs/step until XGM signal is below uJ, wait 10 seconds in between for the orbit feedback to react), measure XGM pulse energy readout as function of delay (normally automaticly displayed on the SASE viewer). Send the SASE viewer curve to logbook (example below). Signal should drop after 1-2 fs (micro bunching washed out) and then continue to drop slowly up to one point that there is no more lasing (this period is approx. our lasing window). If the signal doesn’t drop with the increase of delay (after wash out of microbunching), then we have problem with transverse overlap.
- Optimize the transverse overlap (using air coils after chicane).
3. DD scan (optional)
check the DD scan procedure: https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2020/23/01.06_M&pos=2020-06-01T18:00:00
Actuator 2 is in field; bottom -> larger delay
28.5 fs ~ -0.34T ~-3.6mm
58fs ~ -0.485 T ~ -5.17mm
DT2/DR1 ~( B2/B1 )^2
4. Set-up Monochromator and find seeded signal
- Disable the MPS bit to insert crystal
- Switch on chicane (with > 30 fs delay)
- Set-up the cameras for bragg refelction and for crytal observation (see details on the right side ->)
- Insert crystal using the Monochromator panel (XFEL main task panel -> photon -> SASE2 -> HXRSS → Mono control) (please refer to the crystal position and angles listed below in the reference)
- Find bragg reflection (if not visible, increase number of bunches to 100, see details on the right side ->)
- Scan and adjust chicane delay (10-20 fs) to find the seeded signal
- Scan and fine tune the crystal angle,one should be able to see the movement of the seeded peak on the HIREX spectrum as shown on the last image on right side ->
- If one can not find seed signal, detune U3 to check the effect
5. Optimization of seeded signal
- Fine tune the delay again (using Correlation2D function from PyHirex → see the example on the right side)
- Fine tune the photon energy for color 1, 2 and 3 (see example on the right side)
- Air coil optimization after the chicane (manually or using seeded signal in Ocelot), start with launching correctors for SA22 or SA23 or global lauching
Procedure to optimize orbits for seeding (or diagnose that there is something wrong) → see image on the right side:
- detune the seeded undulator by 40eV
- ensure there is no seeding with SASE
- reduce attenuation to see two SASE signals on HIREX (make sure not to seed accidentally, otherwise
you'll damage HIREX) - disable all SASE2 orbit feedbacks
- change the SASE launch (by few urad) and observe intensities on HIREX. Both should go down when
launching is detuned. Otherwise - consider optimizing. - seed line shadow should be visible on the U1(2) SASE. Consider optimizing its position to the
peak spec density
- Undulator phase shifter scans using seeded signal (first for undulators downstream of chicane, then also for the upstream undulators?)
- Signal to Noise Ratio optimization (open or close some cells before or after undulator for optimization, do air coil and phase shifter optimization for these cells while keeping the orbit in other cells constant using orbit feedback)
- Taper optimization
- Laser heater optimization
- Check the effect of compression
- Seeded peak signal: XFEL.UTIL/DYNPROP/MISC/HIREX_AMPL
Reference: HXRSS commissioning history
Reference: HXRSS user delivery history
Reference: Crystal settings for different photon energies
Mono 1 | Mono 2 |
---|---|
Crystal settings X: -8.2 mm (crystal in-out) Crystal I Y: -2.4 mm Correct Roll adding 0.666 deg to theory (but non-zero yaw…) Correct Pitch adding -0.1926 deg to theory C004 9keV: 49.56deg Crystal II Y=4.9 mm Correct Roll adding -1.4640 deg to theory Correct Pitch adding -0.6076deg to theory | Crystal settings X: -7.3mm /-7.5 mm (crystal in-out) Crystal I Y: -2.4 mm Roll: 1.07 deg to add to theory Pitch: -0.408 to add to theory (with minus) C004 9keV: 49.09 deg Crystal II Y: 4.0 mm Pitch: -0.1825 deg to add to theory |
7.5 keV | 8 keV | 9 keV | 10 keV | 13 keV | ||||
---|---|---|---|---|---|---|---|---|
Pitch | Mono1 | Crystal I | C004 | 49.69 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2020/40/02.10_n&pos=2020-10-03T01:40:02 | ||||
C220 | 49.23 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2021/09/07.03_n&pos=2021-03-08T00:58:30 | 49.25 | ||||||
C111 | 101.59 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2021/09/07.03_n&pos=2021-03-08T00:18:00 | 101.59 | ||||||
Mono2 | Crystal I | C004 | 49.09-49.49 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2020/40/02.10_n&pos=2020-10-03T01:40:06 | 60.49 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2021/11/17.03_a&pos=2021-03-17T19:50:16 | ||||
C220 | 49.02 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2021/09/07.03_n&pos=2021-03-08T00:58:30 | Five lines crossing https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2020/47/19.11_n&pos=2020-11-20T03:46:20 | ||||||
C111 | 101.39 https://ttfinfo.desy.de/XFELelog/show.jsp?dir=/2021/09/07.03_n&pos=2021-03-08T00:18:00 | 101.39 | ||||||
C(-1,3,1) | 111.56 | |||||||
C(1,1,-1) | 112.1 |
6. Switch from HXRSS back to SASE
- Retract the crystals (all of them) by set the X position to park
- Set back the MPS protection for the crystals (only by RCs)
- Switch off HIREX (or put all the attenuators in)
- Set chicane delay to 0 and degauss the chicanes (to allow parallel operation in other beamlines, please insert the first vacuum valve in T1) → see the image on right side
- Switch off the SA22 and SA23 feedback
- Use the photon energy switch tool to prepare a photon energy file from the file saved before HXRSS set-up
- Use seq. to change photon energy to apply the file settings
- Check if the trim coils for the chicanes are back to 0 and switched off
- Launch optimization using adaptive feedback if needed
- If SASE level is still not back to the file value
- scan phase shifters near the two chicanes
- use ocelot optimizer to optimize orbit near the two chicanes (using air coils)