250 likes | 258 Views
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. Present ESD EPICS. PEP-II RF – 8 VXI-based stations
E N D
LCLS EPICS Control SoftwareRon Chestnut, Ron Akre, SLACNed Arnold, Josh Stein, APSApril 24, 2002 • EPICS at SLAC • EPICS/SLC Controls Co-existence • LCLS Injector Support • LCLS Timing • RF Stability Feedbacks • Undulator Support Ron Chestnut, SLAC/ESD
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. Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
SLC Hardware Architecture SCP SCP ……. Ethernet Central Architecture Limited peer-to-peer Monolithic user interface (SCP) MCC Alpha SLCnet or Ethernet Kisnet Micro Micro …………….. Micro Camac Ron Chestnut, SLAC/ESD
SLC Software Architecture CUD SCP SCP code CUD code Micro DB DBEX MCC Alpha Memory resident DB Micro Job Module in CAMAC Ron Chestnut, SLAC/ESD
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. Ron Chestnut, SLAC/ESD
EPICS Software Architecture Display or CUD Workstation can be OPI or virtual IOC IOCs have hardware And support DB Device support reads modules; Data available through records(PVs). Any code or Epics Data-base can see all EPICS PVs. Application code Database Channel Access Ron Chestnut, SLAC/ESD
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. Ron Chestnut, SLAC/ESD
SLC/EPICS Interface PCAS EPICS World SLC World CA DBEX Micro DB MCC Memory resident DB Ron Chestnut, SLAC/ESD
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. Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
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. Ron Chestnut, SLAC/ESD
LCLS EPICS Timing • Most EPICS timing systems are based on the decade-old 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. Ron Chestnut, SLAC/ESD
250 MeV z 0.19 mm 1.8 % 4.54 GeV z 0.022 mm 0.76 % 14.35 GeV z 0.022 mm 0.02 % 7 MeV z 0.83 mm 0.2 % 150 MeV z 0.83 mm 0.10 % Linac-X L0.6 m rf=180 RF gun Linac-1 L9 m rf -38° Linac-2 L330 m rf -43° Linac-3 L550 m rf -10° new Linac-0 L6 m undulator L120 m 21-1b 21-1d 21-3b 24-6d 25-1a 30-8c X ...existing linac BC-1 L6 m R56 -36 mm BC-2 L24 m R56 -22 mm DL-1 L12 m R56 0 DL-2 L66 m R56 = 0 SLAC linac tunnel undulator hall Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
Feedback Diagram Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
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 Ron Chestnut, SLAC/ESD
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? Ron Chestnut, SLAC/ESD
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. Ron Chestnut, SLAC/ESD