Accelerator Directorate Instrumentation & Controls Division (ICD) at SLAC Debbie Rogind SLAC ICD Software Department Accelerators that use EPICS plus some Legacy Control • LCLS-I (has been our bread and butter) – Improvements – Operational Maintenance and Support • LCLS-II (next construction project) • FACET (combo of legacy / EPICS) – Operational Maintenance and Support – New EPICS diagnostics • Accelerator Research Test Facilities – FACET User Area (new user facility, summer 2011) – NLCTA, XTA (commissioning 2012), ASTA GTF, A-line/ESA, … • SPEAR3 (new for ICD; EPICS Controls) EPICS Collaboration Meeting Spring 2012 Page 2 Linac Coherent Light Source at SLAC X-ray FEL uses last 1-km of existing 3-km linac Last 1/3 Linac (1 km) (all EPICS) e- Transfer Line (340 m) Injector (35º) at 2-km point Undulator (130 m) Electron Beam Dump LCLS-I Commissioning Timeline • • • • • • • • • • • Challenging combination of Legacy & EPICS EPICS-based Injector & drive laser 2007 Legacy & EPICS Linac 2008 BPMs & Magnets in EPICS 2009-2010 HXRSS (Self-seeding, separate slide) Winter 2012 Linac Upgrade to full EPICS (still using CAMAC) 2010- now mTCA LLRF demo station testing now Fast Feedback fully commissioned Summer 2012 Archiver Fall 2012 mTCA stripline BPM testing Fall 2012 XTCAV 2013 EPICS Collaboration Meeting Spring 2012 Page 4 Recent commissioning of HXRSS Self Seeding idea from Geloni, Kocharyan, Saldin (DESY) HXRSS Project - P. Emma • Close to the beginning of the undulator segments select just one slice of the spectrum and amplify just that in the remaining undulators • Select a slice of spectrum with a diamond crystal monochromator, then mix up the electron bunch again • Amplify just the slice in the downstream undulator • All the power is concentrated into one wavelength to produce an order of magnitude higher brightness for experiments MATLAB GUI 1 GW ~25 GW New Gain Curve The Strong Taper Self-Seeded Terawatt FEL • Because electrons lose more and more energy in the undulator to the FEL beam the undulator strength has to be matched to that energy loss profile with a taper • Applying for funding to add more undulator sections to the end of LCLS, but tune them with a strong taper • Self-seeding + More undulator length + Taper = Terawatt FEL power • The XTCAV is an important diagnostic and the only device that can confirm the temporal structure of the HXRSS pulse • LCLS-II design will intentionally be longer to exploit Terawatt beams from tapered undulators Courtesy Patrick Krejcik EPICS Collaboration Meeting Spring 2012 Page 6 LCLS 4-Layer Network Architecture Public Network Relational Relational Relational Databases Databases Databases Gateway Servers Servers Servers Servers RF Synchronization Intermediary Network To Photon Network Router LCLS-I Network Timing Operator Operator Operator Console Console Console Servers Servers Servers Timing Network Application Application Application Servers Servers Servers Soft IOCs To LCLS-I Channel Access Backbone Crates VME, mTCA ... Embedded Processors ... Mitigation devices Input devices MPS Network Feedback Network EPICS Collaboration Meeting Spring 2012 Page 7 Safety Safety Safety Systems Systems Systems StatusInfo Info Status Status Info Link Link Link Node Node Node P L C Link Node EVR IOC modules modules modules device device device EVR EVR EVR IOC IOC IOC modules modules modules device device device EVR EVR EVR IOC IOC IOC Feedback Processor Process Control MPS 501 total IOCs : 172 VME 222 Embedded 107 Soft 1.3 Million PVs 138,000 Archived 17,523+ alarms LCLS-II RF gun-2 RF gun-1 LCLS-II LCLS-I existing L0 L0 X L1 X BC1 L2 BC2 L3 L1 BC1 L2 BC2 L3 LCLS-I 3-15 GeV one more km of linac 1-km bypass line • • • • • und-hall-1 4-14 GeV bypass line Use same LCLS-I injector design at sector-10 (1 km upstream) Two new bunch compressors and 4-14 GeV linac (~1 km) 1200-m long bypass goes around LCLS-I Two new undulators (HXR & SXR) in new tunnel Baseline is 60 Hz in each undulator (multi-bunch later) EPICS Collaboration Meeting Spring 2012 Page 9 HXR SXR und-hall-2 undulators L 90 m LCLS-II Summary Schedule Rest of machine Injector and Global Systems FDR EPICS Collaboration Meeting Spring 2012 Page 10 FACET at SLAC Facilities for ACcelerator Science and Experimental Test Uses first 2-km of existing 3-km linac – Legacy Controls Facilities for ACcelerator Science and Experimental Test beams (FACET) FACET • • • • • • FACET User Area sector 20 Uses first 2-km of existing 3-km linac Plasma Wakefield Acceleration Experiments THz Radiation Ultra-Fast Magnetization Plasma Focusing Dielectric Wakefield Acceleration First run summer 2011 Carsten Hast EPICS Collaboration Meeting Spring 2012 Page 12 • • • • • • 53 total IOCs 19 VME 5 Embedded 29 Soft Combo of SLC Legacy controls and new EPICS diagnostics Maximize usage of existing computing resources Leverage LCLS-I controls infrastructure, EPICS, apps Mods required for apps to become accelerator agnostic MATLAB Apps use AIDA to bridge legacy and EPICS SCP Legacy Control Panels 102,000 PVs 12,000 Archived EPICS Collaboration Meeting Spring 2012 Page 13 EPICS / MATLAB EPICS Spring 2012 Collaboraton, SLAC Page 14 Accelerator Test Facilities ESBNLCTA & X-Band Test Area FACET User Area ASTA GTF New Installations ESA • • • Can support all of Accelerator Test Facilities, now & future Utilize SCCS AFS, NFS services Limited access to DMZ X-Band Test Area EPICS Spring 2012 Collaboraton, SLAC Page 17 SPEAR3 • • • photon beam line bending focusing vacuum chamber rf-cavity injection system Some SPEAR3 operations migrating to MCC EPICS, linux workstation support moves to ICD e Standardize more EPICS infrastructure between LCLS and SPEAR3 as migration from VMS occurs… - Insertion device beam line LCLS II Programs Engineering Service Centers ICD LCLS I SPEAR3 Test Facilities EPICS Spring 2012 Collaboraton, SLAC EPICS Collaboration Meeting Spring 2012 Page 19 Page 19 FACET Accl. FACET Engineering Service Center Low Level SW, IOC Apps Host Level SW, IOC Apps & Data Computing & Networking Infrastructure & Legacy Support (for FACET) 20 How to succeed as a Service Center? • Try to make customers happy with limited resources – Communication – Process to track all problems, requests, reports – Prioritize work • Operations (LCLS-I, SPEAR3, FACET), LCLS II CD Prep, Test Facilities, AIPs, Enhancements • When all resources are allocated, ensure that no program has zero priority • Try to follow Conduct of Engineering (CoE) – Codifying engineering policies and procedures. Setting guidelines for obtaining specifications, budget and schedule requirements from customers • Have a single Point of Contact (POC) for subsystems, projects • Every engineer has to do % maintenance, be subsystems lead(s), and backup others • Commonality between accelerators EPICS Spring 2012 Collaboraton, SLAC Page 21 Conclusion • EPICS is rapidly expanding at SLAC • LCLS based applications and infrastructure have been leveraged for use by other accelerators • Slight modifications to existing LCLS code base were required to become accelerator agnostic • LCLS-II and beyond will provide rich opportunities for advancing the state of controls and instrumentation • Trying to improve our Service Center model – Communications, reporting, scheduling, efficiency EPICS Collaboration Meeting Spring 2012 Page 22 The End Thanks for Listening EPICS Collaboration Meeting Spring 2012 Page 23