Proceedings of IPAC2017, Copenhagen, Denmark MOXAA1

COMMISSIONING OF THE EUROPEAN XFEL ACCELERATOR*

W. Decking†, H. Weise, Deutsches Elektronen- DESY, Hamburg, Germany on behalf of the European XFEL Accelerator Consortium and Commissioning Team

Abstract km downstream at the bifurcation point into the beam The European XFEL uses the world's largest supercon- distribution lines. The beam distribution provides space ducting RF installation to drive three independent SASE for 5 undulators (3 being initially installed), each feeding FELs. After eight years of construction the facility is now a separate beamline so that a fan of 5 almost parallel tun- brought into operation. First experience with the super- nels with a distance of about 17 m enters the experimental conducting accelerator as well as beam commissioning hall 3.3 km away from the source. results will be presented. The path to the first user exper- The European XFEL photo-injector consists of a nor- iments will be laid down. mal-conducting 1.3 GHz 1.6 cell accelerating cavity [4]. A Cs2Te-cathode is illuminated by a Nd:YLF oper- INTRODUCTION ating at 1047 nm and converted to UV in two conversion stages. The European XFEL aims at delivering X-rays from The photo-injector is followed by a standard supercon- 0.25 to up to 25 keV out of 3 SASE undulators [1, 2]. The ducting 1.3 GHz accelerating module and a 3rd harmonic radiators are driven by a superconducting linear accelera- linearizer, consisting of 3.9 GHz module – also supercon- tor based on TESLA technology [3]. The linac operates in ducting – containing eight 9-cell cavities. A laser-heater, a 10 Hz pulsed mode and can deliver up to 2700 bunches diagnostic section and a high-power dump complete the per pulse. Electron beams will be distributed to the 3 injector. different beamlines within a pulse, thus being able to A three-stage bunch compression scheme is used to re- operate three experiments in parallel. duce both micro-bunching and the required 3.9 GHz volt- The European XFEL is being realized as a joint effort age. All magnetic chicanes are tuneable within a wide by 11 European countries (Denmark, France, Germany, range of R to allow for flexible compression scenarios, Hungary, Italy, Poland, Russia, Slovakia, Spain, Sweden, 56 for instance balancing peak current and arrival time sta- and Switzerland). bility with LLRF performance. The tuning is achieved by The accelerator of the European XFEL and major parts means of large pole width dipole magnets and accordingly of the infrastructure are contributed by the accelerator wide (400 mm) vacuum chambers (see Fig. 1). Diagnostic construction consortium, coordinated by DESY. The stations are placed after the second and third compression consortium consists of CNRS/IN2P3 (Orsay, France), stage. CEA/IRFU (Saclay, France), DESY (Hamburg, Germa- ny), INFN-LASA (Milano, Italy), NCBJ (Świerk, Po- land), WUT (Wrocław, Poland), IFJ-PAN (Kraków, Po- land), IHEP (Protvino, Russia), NIIEFA (St. Petersburg, Russia), BINP (Novosibirsk, Russia), INR (Moscow, Russia), CIEMAT (Madrid, Spain), UPM (Madrid, Spain), SU (Stockholm, Sweden), UU (Uppsala, Swe- den), PSI (Villigen, Switzerland). DESY will also be responsible for the operation, maintenance and upgrade of the accelerator. Construction of the European XFEL started in early 2009; and the commissioning of the linear accelerator began end of 2016.

FACILITY LAYOUT The complete facility is constructed underground, in a Figure 1: First bunch compression chicane. 5.2 m diameter tunnel about 25 to 6 m below the surface The superconducting linear accelerator consists of 96 level and fully immersed in the ground water. The 50 m TESLA type accelerator modules. Always 4 modules are long injector occupies the lowest level of a 7 stories un- fed by one 10 MW multi-beam klystron. The accelerator derground building that also serves as the entry shaft to modules are suspended from the ceiling (see Fig. 2), the main linac tunnel. Next access to the tunnel is about 2 while the complete RF infrastructure (klystron, pulse ______transformer, LLRF electronics) is installed below the * Work supported by by the respective funding agencies of the contrib- uting institutes; for details please see http:www.xfel.eu modules. The modulators are placed in one single hall † winfried.decking@.de above ground and the high-voltage pulse is fed to the 2017 CC-BY-3.0 and by the respective authors pulse transformer by up to 2 km long cables. ©

02 Sources and Electron Accelerators ISBN 978-3-95450-182-3

A06 Free Electron 1 Copyright MOXAA1 Proceedings of IPAC2017, Copenhagen, Denmark

After the linac a collimation section protects down- COMMISSIONING RESULTS stream hardware in case of component failure and colli- mates halo particles [5]. Injector Commissioning Almost 2 km of electron beam line distribute the beam The injector can be operated in a separate radiation en- to the SASE undulators SASE1 and SASE3 (‘North closure independent of the remaining tunnel installations. Branch’) or SASE2 (‘South Branch’). The beam dump at the end of the injector allows operat- The are distributed with a fast rising flat-top ing the injector up to full beam power. strip-line kicker in one of the two electron beam lines. The XFEL photoinjector has been conditioned at PITZ, Another kicker system is capable of deflecting single the photoinjector test stand at DESY, Zeuthen [8, 9]. RF bunches in a dump beam line. This allows for a free operation in the design configuration in the XFEL injector choice of the bunch pattern in each beam line even with tunnel took place in December 2013 [10] and first elec- the linac operating with constant beam loading. Figure 3 trons where produced in installation breaks in 2014 and summarizes the accelerator layout. 2015. Electron bunch charges are planned to be variable from The superconducting accelerator of the injector was 20 pC to 1000 pC [6], with resulting bunch length after cooled down in December 2015 and first electrons were compression ranging from 3 fs to 150 fs FWHM [7]. accelerated to 130 MeV on Dec. 18th [11]. Also at that With three different linac energies (8.5, 14, and 17.5) and early stage the 3rd harmonic lineariser was commissioned the variable gap undulators photon energies from 0.25 and operated at the design gradient throughout the com- keV to 25 keV can be covered. plete run [12]. The injector commissioning ended in July 2016 to connect the cryogenic distribution boxes of the main accelerator to the cryo-infrastructure. Within this commissioning most of the design parame- ters of the European XFEL injector could be reached or even exceeded (see Table 1). Most notable are the extensive emittance studies that were made possible by a 4-off-axis-screen measurement stage. This enables fast parameter scans and the study of the emittance evolution along long bunch trains [13]. This method can even be combined with a transverse deflect- ing structure, thus giving information about the slice properties along the bunch train. It could be shown that with proper tuning of the laser pulse and the RF parame- ters the emittance and optical functions can be kept con- Figure 2: View into the linac tunnel with the accelerator stant. modules suspended from the ceiling and the RF infra- structure placed below, on the floor.

Figure 3: Schematic overview of the European XFEL accelerator. Single RF stations are named Ann and feed either one module (A1) or 4 modules (A2-A25). R56 ranges for the bunch compressors are given in mm, and the phases of the different linac sections refer to typical compression set-ups. The maximum allowed beam power of the three commis- sioning dumps after the injector and the 2nd and 3rd bunch compressor (BC1 and BC2) as well as of the main dumps after the linac and each beam distribution line is given. 2017 CC-BY-3.0 and by the respective authors ©

ISBN 978-3-95450-182-3 02 Photon Sources and Electron Accelerators

Copyright 2 A06 Free Electron Lasers Proceedings of IPAC2017, Copenhagen, Denmark MOXAA1

Commissioning of the laser heater has been progressed Photon systems and experiments use the newly developed up to the point that transverse and longitudinal overlap Karabo software. Graphical user interfaces to control each can be established and an increase of the energy spread subsystem are available and can easily be re-configured has been observed [14]. using the jDDD toolkit [18]. A vast suite of high-level For ultimate performance, the XFEL photo injector re- control software integrates and automates more complex quires stable operation at RF power levels of about 6 tasks like emittance measurement and optics matching. MW. At these power levels the waveguide window and The readiness of the control software upon start-up was the cathode plug rf-contact showed reliability issues after one of the key preconditions for the fast success of the some operating time. While solutions for these problems commissioning. exist, their qualification needs long uninterrupted opera- tion at high power levels [15]. Initially the XFEL is thus Linac Commissioning operated with a slightly reduced injector cavity gradient. The commissioning of the XFEL accelerator began mid Table 1: Injector Parameters of January after the initial tests of the cryo-plant were finished and the official operation approval was obtained. Parameter Design Achieved The commissioning effort was planned as a series of se- RF pulse rep. rate [Hz] 10 10 quential steps with the general goal to establish beam RF flat top [µs] 650 650 transport to subsequent sections as soon as possible. The Bunches/RF pulse 2700 2700 number of bunches has been kept low (<30) to lower the beam power in the initial phase of the commissioning. Bunch charges [pC] 20-1000 20-1000 Table 2 summarizes the parameters that have been Proj. emittance @ 500 pC 1.2 achieved during the commissioning. [mm mrad] LLRF commissioning was given highest priority. At 1 Slice. emittance @ 500 pC 0.6 0.6 this time 19 of the 24 RF stations in the linac are availa- [mm mrad] ble. For each of the RF stations a sequence of steps had to be performed [19]. Frequency tuning, RF signal checks, Cryogenic System coupler tuning, coarse power-based calibration and The European XFEL cryogenic system consist of two closed-loop operation was achieved without beam, and overhauled strings of the HERA cryo-plant, a new distri- after establishing beam transport (typical 30 bunches, bution box and transition line to the XFEL accelerator 500 pC) cavity phasing and beam-based calibration fol- entrance shaft, cold compressors to reach 2K and further lowed. While the first station in L1 needed one week of distribution boxes to distribute the He towards the injec- commissioning, the three stations of L2 could be handed tor, and finally the long uninterrupted cryo-string of the over to operations after another week. Work in L3 then linear accelerator together with its transfer and bypass- progressed in parallel on all 15 available stations. The lines. The cooling power was measured during the pre- possibility to time shift the RF pulse of stations with re- commissioning to be > 1.9 kW in the 2 K circuit, 2.8 kW spect to each other allowed the parallel operation of sta- in the 5-8 K circuit and 18 kW in the 40 – 80 K circuit, all tions on or off the beam and thus simultaneous beam exceeding specifications. Cool down of the linac from commissioning. The RF commissioning went smoothly. room-temperature to 4 K was achieved within December Multi-pacting was observed at almost all RF stations at an 2016, with no cold leaks occurring. Start-up of the cold accelerating gradient of 17-18 MV/m but could be condi- compressors enabled the handover of the accelerator at tioned in all cases with an effort of a couple of hours per 2 K beginning of January. Regulation loops were opti- station. mized in the following weeks, and the pressure of the 2 K The phase and amplitude stability was measured inner circuit can now be kept constant well below the require- loop to be better than 0.01° and 0.01%. Preliminary beam ment of ± 1%. energy jitter measurements give an upper limit for the RMS relative energy jitter of 3e-4 after the injector and Electronics and Control System 1e-4 at BC1 and BC2. The front end electronics for LLRF, high-power RF, At present all stations perform at about 80% of the gra- beam diagnostics, vacuum and cryo-control is installed in dient limit obtained from previous module test results shielded racks in the tunnel. The newly developed [20]. It is expected that further fine-tuning of the regula- MTCA.4 standard is used throughout the installation [16, tion loops will increase this in the future. The maximum 17]. About 250 crates in the tunnel benefit from the en- energy reached so far with all available stations on the hanced remote monitoring and maintenance capabilities, beam is 12 GeV, adding three more stations in the near thus reducing the need for time-consuming on the spot future will enable the 14 GeV operation envisioned for interventions to a minimum. first user experiments. The accelerators main control system is DOOCS, while Beamline commissioning could be performed in paral- some part of the infrastructure is controlled using EPICS. lel to the LLRF commissioning, with the first beam trans- ported to the beam dump after the linac by end of Febru- ______2017 CC-BY-3.0 and by the respective authors 1

Measured with the 4 screen method. Measurements with multi-quad ary. Trajectory response measurements proved very useful © scan method show emittances as low as 0.4 mm mrad. in validating the optics model and were possible right

02 Photon Sources and Electron Accelerators ISBN 978-3-95450-182-3

A06 Free Electron Lasers 3 Copyright MOXAA1 Proceedings of IPAC2017, Copenhagen, Denmark

Table 2: European XFEL design parameters and target parameters for the initial commissioning together with the values achieved as of beginning of May 2017. Parameter Design Linac Commis- Achieved sioning Target Energy GeV 17.5 14 12 Bunch Charge pC 20-1000 500 100-500 Macro Pulse Repetition Rate Hz 10 10 10 Macro Pulse RF length µs 600 600 600 Inner pulse bunch frequency 1-2700 1-60 1-30 Max. beam power at linac end kW 473 4.2 1.8 Peak Current kA 3-5 5 5 Compression Factor 200-2000 200 200

from ‘Day 1’ due to the excellent performing BPM sys- At almost all screen stations along the beamline a ring tem. Also other diagnostic devices like screens, toroids, like structure can be observed in the transverse projection beam-loss-monitors, dark current monitors were available (see Fig. 4). Comparable phase space distributions can be immediately [21]. The BPM resolution exceeds expecta- obtained in simulations assuming a transverse laser pro- tions with sub-micron resolution for the cavity BPMs. file that is sharply truncated – as is the case for the pho- Longitudinal diagnostics commissioning is ongoing. toinjector laser. Observability of these structures should The transverse deflecting structure after the last bunch depend strongly on phase advances; but this is not the compressor allowed beam length measurements down to case. In fact the structure is visible even after compres- about 240 fs FWHM (resolution limited). Bunch com- sion and acceleration. Further studies will follow [25]. pression monitors (BCM) based on radiation allow relative bunch length measurements for shorter BEAM TRANSPORT THROUGH SASE1 bunches and thus setting up bunch compression for the AND FIRST LASING design 5 kA. The BCM is used in a slow feedback loop to After obtaining the operation permission for the ‘North stabilize the peak current. Newly developed beam arrival Branch’ beam distribution on April 26, first beam was monitors will become available soon [22, 23]. transported through the 1 km long beam transport line the Transverse beam sizes are measured with scintillating next day at moderate energies (10.4 GeV) and a reduced screens (LYSO) observed under an angle of 90 deg. Reso- 1 Hz repetition rate. The 8.8 mm by 8 mm inner aperture lution of the screens is measured to be of the order of a undulator vacuum system with a length of 235 m (SA- few µm [24]. Typical transverse beam sizes to be resolved SE1) resp. 150 m (SASE3) were passed without any addi- range from 40 to 100 µm, and are thus well above the tional steering and moderate trajectory amplitudes of 1 resolution limit of the screens. Nevertheless, emittance mm peak. A day later all 35 undulator segments were measurements give unreasonable results at small beam closed to 11 mm gap (k = 3.5) and the phase shifters could sizes below about 50 µm, as they appear in the higher be adjusted to the settings obtained through magnetic energy four-screen sections after BC1 and BC2. Only measurements [26]. multi-quadrupole scans with enlarged beta-functions at At present only a fluorescent screen (25 mm by 32 mm the screen position give reliable results. This effect is wide YAG) was available at the beginning of the photon under investigation. beamline about 170 m downstream of the last SASE1 undulator segment. Spontaneous radiation from even one single undulator segment could be observed by an in- crease of the overall emitted light intensity. At long photon wavelength the expected gain length for ≈ 1 mm mrad slice emittance is in the order of a few me- ters. Thus one would expect exponential gain even with- out a proper aligned undulator trajectory. First lasing was observed on May 2nd after some empirical tuning of the compression and the undulator trajectory (see Fig. 5). At an energy of 6.4 GeV and an undulator k of 3.5 the radia- tion wavelength was about 9 Å.

Figure 4: Transverse beam projection on a scintillating screen after bunch compressor BC1. 2017 CC-BY-3.0 and by the respective authors ©

ISBN 978-3-95450-182-3 02 Photon Sources and Electron Accelerators

Copyright 4 A06 Free Electron Lasers Proceedings of IPAC2017, Copenhagen, Denmark MOXAA1

[6] W. Decking and T. Limberg, “European XFEL Post-TDR Description”, European XFEL, Hamburg, Germany, Rep. XFEL.EU TN-2013-004-01, Apr. 2013. [7] G. Feng et al., “Beam dynamics simulations for European XFEL”, DESY, Hamburg, Germany, Rep. TESLA-FEL 2013-04, 2013. [8] M. Otevrel et al., “Report on gun conditioning activities at PITZ in 2013”, presented at IPAC’14, Dresden, Germany, May 2014, pp.2962-2964. [9] G. Vashenko et al., “Emittance measurements of the elec- tron beam at PITZ for the commissioning phase of the Eu- ropean XFEL”, presented at FEL2015, Daejeon, Korea, Figure 5: Screen shot of the SASE signal observed on a Aug 2015, paper TUP038, pp.285-288. YAG screen about 170 m downstream of the last undula- [10] J. Branlard et al., “European XFEL RF Gun Commission- tor. ing and LLRF Linac Installation”, presented at IPAC’14, Further steps to shorter wavelength will require beam Dresden, Germany, May 2014, paper WEPME065, based alignment (ongoing) and more systematic tuning of pp. 2427-2429. longitudinal and transverse bunch properties. [11] F. Brinker for the European XFEL Commissioning Team, “Commissioning of the European XFEL Injector”, in Proc. OUTLOOK IPAC’16, Busan, Korea, May 2016, paper TUOCA03, pp. 1044-1047. The European XFEL accelerator has been put into ini- tial operation reaching the commissioning targets ahead [12] C. Maiano et al., “Commissioning and Operation Experi- of time. In the near future the photon beamline and diag- ence of the 3.9 GHz System in the EXFEL Linac”, pre- sented at IPAC’17, Copenhagen, Denmark, May 2017, pa- nostics commissioning will start with the goal to deliver per MOPVA059, this conference. first beam to the SASE1 experiment hutch in early sum- [13] B. Beutner, C. Gerth, and M. Scholz, “Phase space studies mer. First user experiments are scheduled for September of individual bunches in an 4.5 MHz Train at the European 2017. In parallel the accelerator will be further developed XFEL”, presented at IPAC’17, Copenhagen, Denmark, towards higher energies and beam power. Commissioning May 2017, paper WEPAB013, this conference. of SASE3 and SASE2 will complete the experimental [14] M. Hamberg, F. Brinker, and M. Scholz, “Commissioning possibilities of the facility in 2018. Full operation with and First Heating with the European XFEL”, presented at 4000 user hours per year is foreseen in 2019. IPAC’17, Copenhagen, Denmark, May 2017, paper WEPAB024, this conference. ACKNOWLEDGEMENT [15] Y. Renier et al., “Statistics on high average power opera- The European XFEL is a joint achievement of many tion and results from the electron beam characterization at people working in different parts of the project. The Au- PITZ”, presented at IPAC’17, Copenhagen, Denmark, May thors wish to thank all of them for their long lasting devo- 2017, paper TUPIK051, this conference. tion and enthusiasm. In addition we would like to [16] H. Schlarb, T. Walter, K. Rehlich, and F. Ludwig, “Novel acknowledge the help of staff from CANDLE, ELET- crate standard MTCA.4 for industry and research”, pre- TRA, PSI, and SLAC during the commissioning. sented at IPAC2013, Shanghai, China, May 2013, paper THPWA003, pp. 3633-3635. REFERENCES [17] T. Walter, M. Fenner, K. Kull, and H. Schlarb, “MicroTCA Technology Lab at DESY: Start-Up Phase Summary”, pre- [1] M. Altarelli et al. Ed., “The European X-Ray Free- sented at IPAC’17, Copenhagen, Denmark, May 2017, pa- Electron Laser – Technical Design Report”, DESY, per THOAB2, this conference. Hamburg, Germany, Rep. DESY 2006-097, July 2007. [18] E. Sombrowski et al., “jddd: A tool for operators and ex- [2] R. Brinkmann et al. Ed., “TESLA XFEL Technical De- perts to design control system panels'', presented at sign Report Supplement”, DESY, Hamburg, Germany, ICALEPCS'13, San Francisco, USA, 2013, pp. 544-546. Rep. DESY 2002-167, March 2002. [19] J. Branlard, “Installation and First Commissioning of the [3] R. Brinkmann et al. Ed., “TESLA Technical Design LLRF System for the European XFEL”, presented at Report – Part II: The Accelerator”, DESY, Hamburg, IPAC’17, Copenhagen, Denmark, May 2017, paper Germany, Rep. DESY 2001-011, March 2001. THOAA3, this conference. [4] B. Dwersteg, K. Flöttmann, J. Sektuowicz, C. Stolzenburg, [20] D. Reschke et al., “Performance in the vertical test of the “RF gun design for the TESLA VUV free electron laser”, 832 nine-cell 1.3 GHz cavities for the European X-ray Free NIM A393, pp. 93-95, 1997. Electron Laser”, Phys. Rev. ST Accel. Beams, vol. 20, p. 042004, Apr. 2017. [5] V. Balandin, R. Brinkmann, W. Decking, and N. Golubeva, “Post-linac collimation system for the European XFEL”, [21] D. Lipka, “Very First Experience with the Standard Diag- presented at PAC’09, Vancouver, Canada, May 2009, pa- nostics at the European XFEL”, presented at IPAC’17, Copenhagen, Denmark, May 2017, paper MOPAB045, this per TH6PFP030, pp. 3763-3765. 2017 CC-BY-3.0 and by the respective authors

conference. ©

02 Photon Sources and Electron Accelerators ISBN 978-3-95450-182-3

A06 Free Electron Lasers 5 Copyright MOXAA1 Proceedings of IPAC2017, Copenhagen, Denmark

[22] M. Viti et al., “Recent upgrades of the bunch arrival time monitors at FLASH and European XFEL”, presented at IPAC’17, Copenhagen, Denmark, May 2017, paper MOP- IK072, this conference. [23] C. Sydlo et al., “Femtosecond Optical Synchronization System for the European XFEL”, presented at IPAC’17, Copenhagen, Denmark, May 2017, paper THPAB108, this conference. [24] G. Kube et al., “TRANSVERSE BEAM PROFILE IMAG- ING OF FEW-MICROMETER BEAM SIZES BASED ON A SCINTILLATOR SCREEN”, presented at IBIC’15, Melbourne, Australia, 2015, paper TUPB012, pp. 330-334. [25] M. Scholz and B. Beutner., “Electron Beam Phase Space Tomography at the European XFEL Injector”, presented at IPAC’17, Copenhagen, Denmark, May 2017, paper THPAB108, this conference. [26] Y. Li and J. Pflüger, “Phase matching strategy for the undulator system in the European X-ray Free Electron La- ser”, Phys. Rev. ST Accel. Beams, vol. 20, p. 020702, Feb. 2017. 2017 CC-BY-3.0 and by the respective authors ©

ISBN 978-3-95450-182-3 02 Photon Sources and Electron Accelerators

Copyright 6 A06 Free Electron Lasers