Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS EPICS Control Software Ron Chestnut, Ron Akre, SLAC Ned Arnold, Josh Stein,
Download ReportTranscript Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS EPICS Control Software Ron Chestnut, Ron Akre, SLAC Ned Arnold, Josh Stein,
Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS EPICS Control Software Ron Chestnut, Ron Akre, SLAC Ned Arnold, Josh Stein, APS April 24, 2002 EPICS at SLAC EPICS/SLC Controls Co-existence LCLS Injector Support LCLS Timing RF Stability Feedbacks Undulator Support LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Present ESD EPICS PEP-II RF – 8 VXI-based stations Bunch Injection – VME in PEP-II Region 6 Bucket-wise luminosity monitor Damping Ring RF – Allen Bradley support NLC Test Accelerator – 2 VME stations 60/120 Hz pulsed operation Other SLAC EPICS Projects Longitudinal Feedback – John Fox’s group SPEAR III upgrade (Ongoing) BaBar – Slow control – many IOCs. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center ESD EPICS Devices Allen Bradley – DCM-based GPIB – ethernet LAN and Industry Pack Shared Memory – Bit3 CAMAC hardware and drivers from TJNAF VSAM – BaBar and NLCTA ADC, TDC, DAC, Dig. I/O – NLC Test Accelerator LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Current ESD Epics Projects NLC 8-Pack Support Next Step for the NLC Test Accelerator New ADCs, RF Control General GPIB support Replacing HPUX-based GPIB support PEP-II Tune Tracker GPIB-based application with sophisticated application PEP-II RF upgrade More RF stations, enhanced VXI RF modules LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center SLC Hardware Architecture SCP ……. SCP Ethernet MCC Alpha SLCnet or Ethernet Micro Kisnet Micro …………….. Micro Central Architecture Limited peer-topeer Monolithic user interface (SCP) Camac LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center SLC Software Architecture CUD SCP SCP code Micro DB DBEX Micro Job CUD code MCC Alpha Memory resident DB Module in CAMAC LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center EPICS Hardware Architecture OPI OPI OPI Ethernet IOC IOC IOC Totally distributed. Each IOC (micro) or OPI(workstation) can communicate with all others. Each OPI and each IOC run different programs. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center EPICS Software Architecture Display or CUD Workstation can be OPI or virtual IOC IOCs have hardware And support DB Application code Database Channel Access LCLS DOE Review, April 24, 2002 EPICS Control Software Device support reads modules; Data available through records(PVs). Any code or Epics Data-base can see all EPICS PVs. Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center SLC/EPICS Integration SLC system can see and modify all EPICS Process Variables via “Portable Channel Access” Similarly, EPICS can see all (and control some) SLC database items. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center SLC/EPICS Interface SLC World PCAS CA EPICS World Micro DB DBEX MCC Memory resident DB LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center EPICS Tools and Applications Striptool is now a sine qua non of the control room Channel Archiver being mated to Oracle for speed and flexibility VDCT (newest Database Configuration Tool) now treated as a reliable tool. EDM (newest Display Manager) now available at SLAC for test Alarm Handler in use, parallel to SLC “SIP” system Strong core of EPICS developers, growing as we speak. More infrastructure support and analysis applications will be available for the LCLS. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source LCLS DOE Review, April 24, 2002 EPICS Control Software Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS Injector Parts SC2 S2 SC3 Valve BPM2 CM2 OTR1 RF Gun Scale: BPM3 5.00m. Valve SC4 CM3/BPM4/OTR2 SC5 EO2/SC6/BPM5 L0 Accelerators OTR3,BPM6 SC7 QE01 BPM7/WS1/OTR4 QE02 WS2/OTR5/ BPM8 QE03 QE04 Transverse RF Cavity QB SC8 WS3/CM4 Radiation Shielding BPM9 OTR6 SC9V WS4 BPM7/OTR7 SC9H BPM10 Linac Center Line SC10 QM01 Sector 20-8A Sector 20-8B Beam Stopper QM02 SC11 BPM11/OTR9 OTR10/ BPM12/CM6 QM03&QM04 Straight OTR11/BPM13 Ahead Spectrometer D. Dowell X2494 March 27, 2002 LCLS DOE Review, April 24, 2002 EPICS Control Software Tune-up Dump/ Faraday Cup Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center PHOTOINJECTOR SCHEMATIC 1.6-cell S-band rf gun (G) Cu cathode with load-lock Ti:sapphire laser Emittance compensation solenoid (S1) Booster (L0) - two SLAC 3-m sections Beam matched to L0 using S1 LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center TI:SAPPHIRE LASER SYSTEM Ultra-stable oscillator 100 fs pulses, 79.33 MHz Oscillator Temporal Pulse Shaper Stabilizer Stretcher Temporal shaping: grating pair with computer controlled mask CPA using multi-pass bow-tie amplifier Amplifier Vacuum Spatial Filter Spatially flattened, frequency tripled to 260-266 nm 500 mJ at cathode Pump Spatial Flattener Compressor Harmonic Generator Evacuated Transport Tube Gun e- •Details of layout and diagnostics: Paul Bolton, Breakout 1/2 LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS Injector Support IOC at sector 20 Provides SLC -> EPICS Timing Connection Controls and monitors LCLS source laser Provides extensive diagnostics (CCD Ring Buffers) for laser system LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS Injector Issues Our first foray into an EPICS timing implementation. CCD processing solutions are rapidly evolving. We need to watch closely. Current plans for RF control foresee an SLC-based solution, even for the RF gun. This is thought to be a simple linear feedback, so an EPICS-based solution is a distinct possibility. Additional IOCs would then replace additional SLC Micros in the project. VME crates/modules would replace CAMAC crates/modules. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS EPICS Timing Most EPICS timing systems are based on the decadeold APS model. The SLC system provides a 128-bit wide description of “beam code” information. The LCLS timing requirements are tighter than any simple extension of the APS model. Significant development will be required in a cooperative effort between Hardware and Software and between SLAC and other labs. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Linac Coherent Light Source 250 MeV 7 MeV 150 MeV z 0.19 mm z 0.83 mm z 0.83 mm 1.8 % 0.2 % 0.10 % Linac-X RF L0.6 m gun rf=180 Linac-1 Linac-2 Linac-0 L9 m L330 m L6 m rf -38° rf -43° ...existing linac 21-1b 21-1d DL-1 L12 m R56 0 X BC-1 L6 m R56 -36 mm 21-3b 24-6d SLAC linac tunnel LCLS DOE Review, April 24, 2002 EPICS Control Software 4.54 GeV z 0.022 mm 0.76 % 14.35 GeV z 0.022 mm 0.02 % Linac-3 L550 m rf -10° BC-2 L24 m R56 -22 mm 25-1a 30-8c undulator L120 m DL-2 L66 m R56 = 0 undulator hall Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center RF Stabilization Feedbacks RF Input/Output New hardware to measure phases/amplitude at 120 Hz Correctors are phase/amplitude adjustments L0 – Gun plus two klystrons Each feedback as local as possible L1 – One S-band, one X-band Klystron Each feedback as local as possible L2 – 28 SLC Klystrons One feedback for whole L2 L3 – 48 SLC Klystrons One feedback for whole L3 LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Nominal System Design Constraints Use existing SLAC linac compatible with PEP-II operation Use existing ‘FFTB’ hall for undulator 1 km LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Project Description 1.2.3 Undulator Systems 121 meter undulator channel, housed in extended FFTB Diagnostics for x-ray beam and electron beam 3420 421 187 UNDULATOR 11055 mm Beam Position Monitor Horizontal Steering Coil Vertical Steering Coil LCLS DOE Review, April 24, 2002 EPICS Control Software Quadrupoles X-Ray Diagnostics Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS Undulator Controls Supplied by Argonne APS - lock, stock, and barrel Employs and extends designs from LEUTL (Low Energy Undulator Test Line) All EPICS, 16 VME IOCs Argonne and SLAC EPICS groups will coordinate efforts during the whole project Timing Machine Protection Networking Global Feedbacks EPICS Details VME Crates, CPU types Naming Convention Database and screen design Commissioning and integration LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Undulator Vacuum Controls Integrate with COTS vacuum components Minimize modification of existing hardware Support multiple devices on single fieldbus network Custom design when needed APS designed valve controller Vacuum interlocks Low frequency data collection Short-haul wireless technology (e.g. Bluetooth) may integrate well LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Undulator Motor Controls High motor count dictates dense control scheme Costing estimates based on current stepper-driven methods “Smart Motors” may work well in this application but change overall design Use of encoders assumed – if not, cost will go down LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Undulator Diagnostic Controls Diagnostic station High speed cameras and frame grabbers (>120 Hz) should be available in the near-term PC Based analysis is becoming industry norm Allows rapid analysis and easy upgrades Motor driven mirrors, lens and actuators LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Undulator Power Supply Controls “Standard” Magnet power supplies controlled via fieldbus Phase correctors use piezo-electric stages controlled with commercial hardware Current products do not support large numbers of stages per controller, driving up costs Investigate custom hardware? LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center LCLS Site Plan LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Budget – FY2005-2007 Construction Total Project Cost $ 233.0M Total Estimated Cost ETC Contingency $ 215.9M $ 174.6M $ 41.3M Other Project Costs R&D (FY1999-FY2002) Startup LCLS DOE Review, April 24, 2002 EPICS Control Software $ 17.1M $ 5.9M $11.2M Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Schedule Three-year construction schedule, FY2005 start Project Start October Injector Beam to Linac June 2006 Linac Beam to BC-2 April 2007 Project Completion September 2007 LCLS DOE Review, April 24, 2002 EPICS Control Software 2004 Ron Chestnut, SLAC/ESD [email protected] Linac Coherent Light Source Stanford Synchrotron Radiation Laboratory Stanford Linear Accelerator Center Conclusion We have the expertise to use EPICS successfully for the LCLS The future of SLAC/ESD is with EPICS; there is a management commitment to support new developments The APS/SLAC collaboration in the EPICS realm will result in a well-supported LCLS The new, therefore highest risk, items - EPICS Timing and EPICS-based feedbacks – are well within our reach The existing SLC/EPICS integration will support the hybrid SLC accelerator enhancements easily. LCLS DOE Review, April 24, 2002 EPICS Control Software Ron Chestnut, SLAC/ESD [email protected]