Post on 16-Apr-2020
Linac Coherent Light Source (LCLS)
at SLAC
Hamid Shoaee
forSLAC Controls Department
Outline
• LCLS-I– Facility Overview– Commissioning Success– Controls System Architecture
• Towards the Future– Overwhelming demand for LCLS-II– LCLS-II Proposal– R&D– Further into the future
ICALEPCS 2011Page 2
X-ray FEL uses last 1-km of existing 3-km linacX-ray FEL uses last 1-km of existing 3-km linacLinac Coherent Light Source at SLACLinac Coherent Light Source at SLAC
X-ray FEL uses last 1-km of existing 3-km linacX-ray FEL uses last 1-km of existing 3-km linac
Injector (35º)at 2-km point
Existing 1/3 Linac (1 km)(with modifications)
New e− Transfer Line (340 m)
Undulator (130 m)
Electron Beam Dump
Linac Coherent Light Source at SLACLinac Coherent Light Source at SLAC
ICALEPCS 2011Page 5
World’s First Hard X-ray FEL
• A billion times brighter than previous sources
• < 2 Å & 50 femtoseconds– Study of ultra-fast and
ultra-small phenomena– Can capture images of
atoms and molecules in motion
ICALEPCS 2011Page 6
Photosystems I complex(R. Fromme, ASU)
Single Mimivirus particle(T. Ekeberg, Uppsala U.)
Fully-ionized Ne 10+
(Bozek , Bostedt)
γεx,y ≈ 0.4 μm (slice)Ipk ≈ 3.0 kAσE/E ≈ 0.01% (slice)
April 2009(25 of 33 undulators)
Lg ≈ 3.3 m
Saturation at 60 m (design was 90 m)
LCLS Achieves FEL Saturation at 1.5A
Slide 7
P. Emma
Beam saturates in 60m rather than 90m(25 of 33 undulators)
Gun brightness exceeds LCLS GoalsFEL is fully tunable: rep rate, pulse length, photon energy, peak power
LCLS Machine PerformanceBaseline performance Current performance
Photon energy range 830 to 8300 eV 480 to 10,000 eV
FEL pulse length 230 fs 5 - 500 fs
FEL pulse energy up to 2 mJ up to 4 mJ
• Beam availability to users > 95%
•Controls uptime > 98% (goal = 98.8%)
•120 fs pump probe synchronization has been achieved
Commissioning Successes & Challenges
• Challenging combination of Legacy & EPICS• EPICS-based Injector & drive laser 2007• Legacy & EPICS Linac 2008• BPMs & Magnets in EPICS 2009-2010• Linac Upgrade to full EPICS 2010-2011
• Transition critical functionality from VMS to Linux • Data bridge from CAMAC to VME IOCs
– LCLS fully EPICS-based Early 2012
ICALEPCS 2011Page 10
AIDA – Accelerator Integrated Data Access
• A system for uniform access to controls infrastructure data• Integrated data from Legacy & EPICS systems• Complex Data in addition to individual controls points• Data from remote machines made available to MATLAB &
Java apps, in control room, or off site• Data sources include machine, model, history,
configuration, RDB, etc.• Allows rapid physics applications development regardless
of underlying legacy or EPICS controls• Applications mostly unaffected by controls system
upgrades
ICALEPCS 2011Page 11
AIDA Cloud
EPICS ControlsEPICS
Archiver
DIMAD Model
BPM Orbit dataArbitrary Oracle
DB queries
Client
Scientist's own laptop / desktop
SLC Controls
Synchronized Magnet and RF Control
XAL ModelINTEGRATES DIFFERENT CONTROL SYSTEMS
ABSTRACTS CONTROL VIEW TO
PHYSICS VIEW
SINGLE, TRIVIAL USER INTERFACE TO ALL DATA
*ALL* KINDS OF DATA,
NOT JUST CONTROLS
Control Room Physics Applications / Matlab
AIDA - Accelerator Integrated Data Access http://www.slac.stanford.edu/grp/cd/soft/aida/
Authors: Greg White, Bob Hall, Bob Sass, George MacIntyre, Ron MacKenzie
AIDA is a Service Oriented Architecture for LCLS and
other SLAC machines
LCLS 4-Layer Network Architecture
ICALEPCS 2011Page 13
485 IOCs171 VME220 Embedded94 Soft
1.3 Million PVs120,000 Archived 17,523 in alarm system
LCLS Timing Event System
ICALEPCS 2011Page 16
DEV
~ Linac main drive line
Sync/Div
VMTG
119 MHz360 Hz
IRQ & Timeslot
LCLSevents
EVR
CPU
TTL-NIMconvert.
DigitizerLLRFBPMsToroidsCamerasWire ScannerKlystrons
TTL
FAN
CPU
EPICS Network
Fiber distribution
*
*
EVG
LCLS MasterOscillator
476MHz
Linac Master Osc
FIDO PDURaw 360 Hz LCLS Timeslot Trigger
TRD Tx
TRD Rx
TRD Rx
119Mhz + FID
Sq Wave on Coax 119Mhz + FIDSq Wave on Coax
Fiber Cable
TO:- Cav BPM- MPS BLM- MPS PIC- BCS
60Hz Timeslot 1
From LCLS-IIMPS
Star Network: EVG (many) EVRsBased on MicroResearch Event SystemProgrammable delay/width/polarity8.4ns delay step10ps(rms) jitterEPICS timestamp sent over timing link
Dusatko, Krejcik
ICALEPCS 2011Page 17
LCLS 120 Hz Feedback System
Dedicated network uplinks and connections to 2nd NIC on ~150 IOCs
LI21 LI24 BSY LTU
Core switch & router
IN20
Li22 LI23 Li25 LI26 LI27 Li28 LI29 LI30 UND DMP
bp01 bp02 rf01
bp01 bp02
3750 switch
bp01
fb01
BPMS VME IOC
Controller VME IOC
swh-in20-nw02
bl01
Controller IOCs
swh-in20-nw01
fb02fb01
mg01
mg01 MGNT VME IOC
rf01 RF VME IOC bl01 BLEN VME IOC
rf01 bl01bp02
DMPbp01
UNDbp03
UNDbp04
UNDbpo1
UNDbp02
LTU1bp04
LTU1bp03
LTU1bp02
LTU1bp01
LTU0bp01
BSYbp01
BSYbp02
Channel Access
D. Fairley
ICALEPCS 2011Page 18
LCLS 120 Hz Feedback System
Dedicated network uplinks and connections to 2nd NIC on ~150 IOCs
LI21 LI24 BSY LTU
Core switch & router
IN20
Li22 LI23 Li25 LI26 LI27 Li28 LI29 LI30 UND DMP
bp01 bp02 rf01
bp01 bp02
3750 switch
bp01
fb01
BPMS VME IOC
Controller VME IOC
swh-in20-nw02
bl01
Controller IOCs
swh-in20-nw01
fb02fb01
mg01
mg01 MGNT VME IOC
rf01 RF VME IOC bl01 BLEN VME IOC
rf01 bl01bp02
DMPbp01
UNDbp03
UNDbp04
UNDbpo1
UNDbp02
LTU1bp04
LTU1bp03
LTU1bp02
LTU1bp01
LTU0bp01
BSYbp01
BSYbp02
Channel Access
Add dedicated Feedback Network D. Fairley
ICALEPCS 2011Page 19
Runtime Feedback Display
Timing data
LCLS Machine Protection Architecture
MPS Link Processor
GbE Switches
MPS Link Node
Mitigation Device (Gun Permit)
MPS Link Node MPS Link Node MPS Link Node MPS Link NodeMPS Link Node
Mitigation Device (Mech. Shutter)
Mitigation Device (Lsr Htr Shutter) Mitigation
Device (BYKIK)
Device Device Device Device Device Device Device Device DeviceDevice
LCLS CA
Network
LCLS CA
Network
MPS History Server
Interim MPS
Soft InputSoft InputSoft Input
Analog & digital I/O
Dedicated GbEover Cat5
GbE over Cat 5
Dedicated GbEover Fiber
100BASE-TX
100BASE-TX
EVR
MPS Configuration
Editor
MPSConfiguration RDB and files
Compile time & runtime files
MPS Logic Editor
MPS Logic RDB and files
APEX*, on linux server APEX*, on linux server
Java, on linux server
MPS History
GUI
Java, on linux server
…
Compile time files
GTM
MPS History RDB
Timing data
LCLS Machine Protection Architecture
MPS Link Processor
GbE Switches
MPS Link Node
Mitigation Device (Gun Permit)
MPS Link Node MPS Link Node MPS Link Node MPS Link NodeMPS Link Node
Mitigation Device (Mech. Shutter)
Mitigation Device (Lsr Htr Shutter) Mitigation
Device (BYKIK)
Device Device Device Device Device Device Device Device DeviceDevice
LCLS CA
Network
LCLS CA
Network
MPS History Server
Interim MPS
Soft InputSoft InputSoft Input
Analog & digital I/O
Dedicated GbEover Cat5
GbE over Cat 5
Dedicated GbEover Fiber
100BASE-TX
100BASE-TX
EVR
MPS Configuration
Editor
MPSConfiguration RDB and files
Compile time & runtime files
MPS Logic Editor
MPS Logic RDB and files
APEX*, on linux server APEX*, on linux server
Java, on linux server
MPS History
GUI
Java, on linux server
…
Compile time files
GTM
MPS History RDB
Personnel Protection System (PPS)
• Two redundant safety PLC (PILZ) independently programmed and validated
• Supervisor: Allen-Bradley
• EPICS interface IEC61508, ISO9001
Centralized RDB for Configuration Control
• LCLS Infrastructure includes a multi-function database of LCLS devices and related data– It is derived from the machine design model– includes beamline components, device
information, polynomials, cabling data– laser device parameters– Field installed modules inventory– Links to QA documents and drawings– web interface for IRMIS and AIDA
RDB Applications
• Feedback Configuration parameters• Save/Restore application• Java and MATLAB physics applications
parameters• MPS faults history• E-Log App• CATER for Software Requests
ICALEPCS 2011Page 24
High Level Application Software
Two-tiered approach• Java-based utility applications
– XAL machine modeling and tuning• MATLAB / EPICS/AIDA infrastructure
– Enabling physicists and operations staff to rapidly prototype required applications
– Soft IOC framework for physicists• User-configurable PV records for physics data
Controls Model Based Apps– Model Manager
P. Chu
MATLAB High Level Physics Apps …
Slide 28
LCLS-I Automation SoftwareRF Phase ScansRF Phase Scans
Automatically scan all RF phasesAutomatically scan all RF phases
Align laser heater beam to e-beamAlign laser heater beam to e-beam
Set dispersion free 100 m long undulator beam lineSet dispersion free 100 m long undulator beam line
Laser Heater AlignLaser Heater Align
Undulator Beam-based AlignmentUndulator Beam-based Alignment
H. Loos
LCLS-I Automation Software
Slide 29
TCAV Bunch LengthTCAV Bunch Length
Calibrate TCAV/measure bunch lengthCalibrate TCAV/measure bunch length
Multi screen/quad scan/slice emittanceMulti screen/quad scan/slice emittance
EmittanceEmittance
Correlation PlotsCorrelation Plots
Combine measurements for parameter scansInjector tuning/bunch length monitor calibrationCombine measurements for parameter scansInjector tuning/bunch length monitor calibration
0
20
40E = 13.634 GeVQ = 0.249± 0.01 nCγεx = 1.14± 0.01 μmξx = 1.04± 0.00B
eam
Siz
e (μ
m)
-1
0
1
Nor
m. A
ngle
-40 -20 0 20 40 60 800
20
40γεy = 1.05± 0.01 μmξy = 1.00± 0.00
Bea
m S
ize
(μm
)
Position (m)-1 0 1
-1
0
1
Nor
m. A
ngle
Norm. Position
0
20
40E = 13.634 GeVQ = 0.249± 0.01 nCγεx = 1.14± 0.01 μmξx = 1.04± 0.00B
eam
Siz
e (μ
m)
-1
0
1
Nor
m. A
ngle
-40 -20 0 20 40 60 800
20
40γεy = 1.05± 0.01 μmξy = 1.00± 0.00
Bea
m S
ize
(μm
)
Position (m)-1 0 1
-1
0
1
Nor
m. A
ngle
Norm. Position
H. Loos
• Only 28% of users have received beam time• Key Desired Capabilities Driving LCLS-II
– More capacity & capability – One to four stations operating simultaneously– two injectors offering independent pulses– Extension to full intensity hard x-rays – study of thick 3D materials with increased x-ray
penetration and spatial resolution– Extended soft x-ray spectral range
J. Stohr
LCLS-II Machine Layout
• Use same 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)
Slide 31
LCLS-IXX
L1L1 L2L2 L3L3BC1BC1 BC2BC2
RFgun-1
RFgun-1
L0L0
3-15 GeV3-15 GeV
existingexisting und-hall-1und-hall-1
LCLS-I
LCLS-II Machine Layout
• Use same 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)
Slide 32
LCLS-IXX
L1L1 L2L2 L3L3BC1BC1 BC2BC2
RFgun-1
RFgun-1
L0L0
3-15 GeV3-15 GeV
existingexisting und-hall-1und-hall-1
LCLS-I
L3′
RFgun-2
L1′ L2′BC1′ BC2′
L0′
one more km of linac
HXR4-14 GeV bypass line
SXR
und-hall-2und-hall-2
X
LCLS-II
LCLS-II is part of a long term strategy
• 2 injectors, 2 linac sections (14 GeV each)• 1 hard x-ray undulator 5-10keV in tunnel 1• 1 hard x-ray SASE undulator in tunnel 2; (variable gap)• 1 soft x-ray SASE undulator in tunnel 2; (variable gap)• 6 experimental stations, up to 4 operating simultaneously• Room for 4 more experimental stations
LCLS-II components in color, LCLS 2025 in grey
hard x-raysoft x-ray
J. Stohr
Advancing Controls to Meet Future Needs
• Migrating from CAMAC to new platforms– m-TCA platform research currently underway– Low Level RF field test of new system in 6 months– BPM m-TCA field tests April 2012
• Large-scale data archiving management– Scale to 1-2 millions PV’s– Fast data retrieval
• Days worth of 1Hz data for a PV in less than 500ms
• More automation of routine control room tasks
ICALEPCS 2011Page 35
Conclusion
• LCLS has been an unqualified success exceeding performance goals
• Major challenge has been managing hybrid legacy-EPICS controls system
• LCLS-II and beyond will provide rich opportunities for advancing the state of controls and instrumentation
• Collaboration with Physics and Operations groups has been essential for success.
ICALEPCS 2011Page 36