Title: LCLS EPICS Control Software Ron Chestnut, Ron Akre, SLAC Ned Arnold, Josh Stein, APS April 24, 2002
1LCLS 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
2Present 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 Foxs group
- SPEAR III upgrade (Ongoing)
- BaBar Slow control many IOCs.
3ESD 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
4Current 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
5SLC Hardware Architecture
SCP
SCP
.
Ethernet
Central Architecture Limited peer-to-peer Monolith
ic user interface (SCP)
MCC Alpha
SLCnet or Ethernet
Kisnet
Micro
Micro
..
Micro
Camac
6SLC Software Architecture
CUD
SCP
SCP code
CUD code
Micro DB
DBEX
MCC Alpha
Memory resident DB
Micro Job
Module in CAMAC
7EPICS 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.
8EPICS 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
9SLC/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.
10SLC/EPICS Interface
PCAS
EPICS World
SLC World
CA
DBEX
Micro DB
MCC
Memory resident DB
11EPICS 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.
12(No Transcript)
13(No Transcript)
14PHOTOINJECTOR SCHEMATIC
- 1.6-cell S-band rf gun (G)
- Cu cathode with load-lock
- Tisapphire laser
- Emittance compensation solenoid (S1)
- Booster (L0) - two SLAC 3-m sections
- Beam matched to L0 using S1
15TISAPPHIRE LASER SYSTEM
Ultra-stable oscillator 100 fs pulses, 79.33
MHz Temporal shaping grating pair with
computer controlled mask CPA using
multi-pass bow-tie amplifier Spatially
flattened, frequency tripled to 260-266 nm ?500
mJ at cathode
Details of layout and diagnostics Paul Bolton,
Breakout 1/2
16LCLS Injector Support
- IOC at sector 20
- Provides SLC -gt EPICS Timing Connection
- Controls and monitors LCLS source laser
- Provides extensive diagnostics (CCD Ring Buffers)
for laser system
17LCLS 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.
18LCLS 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.
197 MeV ?z ? 0.83 mm ?? ? 0.2
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
150 MeV ?z ? 0.83 mm ?? ? 0.10
Linac-X L?0.6 m ?rf180?
RF gun
Linac-1 L?9 m ?rf ?-38
Linac-2 L?330 m ?rf ?-43
Linac-3 L?550 m ?rf ?-10
new
Linac-0 L?6 m
undulator L?120 m
25-1a 30-8c
21-1b 21-1d
21-3b 24-6d
X
...existing linac
BC-1 L?6 m R56 ?-36 mm
BC-2 L?24 m R56 ?-22 mm
DL-1 L?12 m R56 ?0
DL-2 L?66 m R56 0
SLAC linac tunnel
undulator hall
20RF 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
21Nominal System Design
- Constraints
- Use existing SLAC linac compatible with PEP-II
operation - Use existing FFTB hall for undulator
22Project Description
- 1.2.3 Undulator Systems
- 121 meter undulator channel, housed in extended
FFTB - Diagnostics for x-ray beam and electron beam
421
187
3420
UNDULATOR
11055 mm
Beam Position Monitor
Horizontal Steering Coil
Quadrupoles
X-Ray Diagnostics
Vertical Steering Coil
23LCLS 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
24Undulator 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
25Undulator 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
26Undulator Diagnostic Controls
- Diagnostic station
- High speed cameras and frame grabbers (gt120 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
27Undulator 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?
28LCLS Site Plan
29Budget FY2005-2007 Construction
- Total Project Cost 233.0M
- Total Estimated Cost 215.9M
- ETC 174.6M
- Contingency 41.3M
- Other Project Costs 17.1M
- RD (FY1999-FY2002) 5.9M
- Startup 11.2M
30Schedule
- Three-year construction schedule, FY2005 start
- Project Start October 2004
- Injector Beam to Linac June 2006
- Linac Beam to BC-2 April
2007 - Project Completion
September 2007
31Conclusion
- 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.