xcs photon controls and data systems gunther haller
Post on 31-Dec-2015
36 Views
Preview:
DESCRIPTION
TRANSCRIPT
1 G. Haller haller@slac.stanford.edu1
LUSI XCS FIDRJune 17, 2009
XCS Photon Controls and Data Systems
Gunther Haller
XCS Instrument Final Instrument Design Review
2 G. Haller haller@slac.stanford.edu2
LUSI XCS FIDRJune 17, 2009
6
1 2 34 5
LCLSLUSI
H6
Offset MonochromatorExp. ChamberDetector
Beam Transport
Near Experimental Hall Far Experimental Hall
XPPXCS CXI
AMOH6
Part of LCLS MEC
ARRA Funds
SXR
InstallationPart of LCLS
XCSMono
X-ray Transport
Near and Far Hall Hutches
3 G. Haller haller@slac.stanford.edu3
LUSI XCS FIDRJune 17, 2009
LCLS X-Ray Endstation (XES) Provided Controls Subsystems
Following sub-systems are provided to XCS by LCLS XES and are thus not described in this review (reviewed separately)
Hutch Protection System
Machine Protection System
User Safeguards (include Oxygen Deficiency Monitoring)
Laser Femto-Second Timing System
Machine Timing System
Networking
EPICS Control system
Online/Offline Processing System
4 G. Haller haller@slac.stanford.edu4
LUSI XCS FIDRJune 17, 2009
Specification and Interface Control Documents
Released Engineering Specification Documents (detailed requirements regarding controls and data systems needs of instrument)
XCS Controls ESD (SP-391-001-24)
XCS DAQ ESD (SP-391-001-26)
Released Interface Control Documents (specify where the interface is, who is responsible for what)
XES-LUSI ICD (1.1.523)
XES XCS Controls ICD (SP-391-001-25)
Status: all documents are releasedhttp://confluence.slac.stanford.edu/display/PCDS/CXI_XCS-PDR
5 G. Haller haller@slac.stanford.edu5
LUSI XCS FIDRJune 17, 2009
Reviews
XCS Controls and Data Systems Preliminary Design Review held May 11, 09
Presentations are at http://confluence.slac.stanford.edu/display/PCDS/CXI_XCS-PDR
Many controls items are already used in other (earlier) photon sections, XTOD and AMO, both are past the Final Design Review stage and are being assembled. XTOD is in the commissioning stage. In addition XPP and CXI will be installed before XCS.
6 G. Haller haller@slac.stanford.edu6
LUSI XCS FIDRJune 17, 2009
Risks and Procurements
No technical, schedule, cost risk items exceptUsual risk that devices are changed or added without controls being informedMitigated by
Regular meetings Keep ESD and ICD documents up-to-date
No long term lead-time or > $100k itemsComponents are ordered with sufficient margin
7 G. Haller haller@slac.stanford.edu7
LUSI XCS FIDRJune 17, 2009
ES&H
Hutch Protection Systems provided by LCLS XES, hutch 4 (XCS) is the fifth hutch to be operated
Same for User Safeguards (Oxygen Deficiency Monitor)
Electrical SafetyAll cables/equipment are rated for their useAll equipment will be NRTL listed or inspected and approved under SLAC's Electrical Equipment Inspection Program
8 G. Haller haller@slac.stanford.edu8
LUSI XCS FIDRJune 17, 2009
XCS Instrument
Large Offset Monochromator
Post-Monochromator
Split and Delay Area
Hutch 4Optics, DiffractometerLarge Angle detector Mover
X-Ray Transport Hall (XRT)
9 G. Haller haller@slac.stanford.edu9
LUSI XCS FIDRJune 17, 2009
Controls Subsystems
VacuumMotionViewingPower SuppliesRacks and CablingOther itemsSoftware: EPICS/Python/QtType of controls
Valve ControlVacuum ControlsPop-In Profile Monitor ControlsPop-In Intensity Monitor ControlsIntensity-Position Monitor ControlsSlit ControlsAttenuator ControlsPulse Picker ControlsX-Ray Focusing Lense ControlVision Camera ControlsDetector Stage ControlsDAQ Controls
10 G. Haller haller@slac.stanford.edu10
LUSI XCS FIDRJune 17, 2009
XCS Components to Control
X-Ray Optics and Support Tables, StopperMotion
Viewing
DiffractometerMotion
Large Angle Detector MoverMotion
XRT Large Offset MonoMotion
XRT Post MonoMotion
Split-And-Delay3rd Party, need integration
Vacuum SystemXRT and Hutch 4: Valve and Vacuum Controls
11 G. Haller haller@slac.stanford.edu11
LUSI XCS FIDRJune 17, 2009
XCS Components to Control con’t
Diagnostics and Common OpticsPop-In Profile Monitor
Motion, ViewingPop-In Intensity
Motion, DigitizationIntensity Position
Motion, DigitizationSlit System
MotionAttenuator
MotionPulse-Picker
Motion, ViewingX-Ray Focusing Lense
MotionHarmonic Rejection Mirror
Motion
XCS specific interface and programmingRacks & CablingWorkstationsVision CamerasBeam Line ProcessorChannel Access GatewayMachine Protection SystemConfigurationData Acquisition
12 G. Haller haller@slac.stanford.edu12
LUSI XCS FIDRJune 17, 2009
EPICS/Python/Qt
EPICS (Experimental Physics and Industrial Control System):Control software for RT systemsMonitor (pull scheme)AlarmArchiveWidely used at SLAC and other labsMore: http://www.aps.anl.gov/epics/
Python/Qt is a user interface between the EPICS drivers and records and the userSystem is used for XTOD and AMO, provided as part of the XES Photon Controls Infrastructure Support for “spec” interface. spec sits on top of EPICS and provides an alternative scripting environment for instrument control. Support is provided to facilitate porting of spec scripts used at other facilities.
13 G. Haller haller@slac.stanford.edu13
LUSI XCS FIDRJune 17, 2009
Example of Python/Qt user interface
14 G. Haller haller@slac.stanford.edu14
LUSI XCS FIDRJune 17, 2009
Example: Vacuum
All gauge controllers are MKS 937A Interface
Terminal server – DIGI TS16 MEI
Automation Direct PLC
All ion pump controllers are Gama Vacuum DIGITEL MPC dual
All valves are controlled by PLC relay module
The out/not-out state of all valves go into the MPS system to prevent damage if a valve closes unexpectedly.
15 G. Haller haller@slac.stanford.edu15
LUSI XCS FIDRJune 17, 2009
Example: Motion
Control System provides support for all motionsMotors
IMS MDrive Plus2 integrated controller and motor
IMS MForce Plus2 controller for control of in vacuum and other specialized motors
Newport motor controllers
Others as required
Pneumatic motionSolenoid Driver chassis, SLAC 385-001
17 G. Haller haller@slac.stanford.edu17
LUSI XCS FIDRJune 17, 2009
Photon Control Data Systems (PCDS)Instrument specific
Digitizers + Cameras
Timing L0: Control
(One)
L1: Acquisition(Many)
L2: Processing
(Many)
L3: Data Cache(Many)
DAQ system primary features
Trigger and readout
Process and veto
Monitoring
Storage
Provided to by XES, same system as used for AMO and XPP and CXI
Beam Line
Data
Data System Architecture
18 G. Haller haller@slac.stanford.edu18
LUSI XCS FIDRJune 17, 2009
XAMP plus XCS 2D-Detector Control and DAQ Chain
XAMP (XPP) LUSI instrument custom integrated circuits from Brookhaven are already connected at SLAC to SLAC LCLS high-performance DAQ system
XPP BNL XAMP Detector 1,024 x 1,024 array
Uses 16 each 64-channel FexAmps BNL custom ASICsInstantaneous readout: 4 ch x 20 MHz x 16bit= 20 Gbit/sec into FPGAOutput FPGA: 250 Mbytes/s at 120 Hz (1024x1024x2x120)
First use XPP detectorDetector for XCS in design at BNLASIC for XCS is modification of XPP ASIC, is in design
ATCAAdvanced Telecommunication Computing Architecture
Based on backplane serial communication fabric, 10-G E2 SLAC custom boards (also used in other SLAC experiments)
8 x 2.5 Gbit/sec links to detector modulesDataflow and processingManaged 24-port 10-G Ethernet switchingEssentially 480 Gbit/sec switch capacityNaturally scalable
SLAC FPGA front-end board
Fiber
ATCA crate with SLAC DAQ boards, e.g. the SLAC Reconfigurable Cluster Element Module
XPP/XCS 2D detector-ASIC
Beamline Instrument Detectors
19 G. Haller haller@slac.stanford.edu19
LUSI XCS FIDRJune 17, 2009
XCS Online Processing
Electronics gain correction (in RCE)
Response of amplifying electronics is mapped during calibration
Science data images are corrected for channel gain non-uniformity + non-linearity.
Dark image correction (in RCE)
Dark images accumulated between x-ray pulses
Averaged dark image subtracted from each science data image
Flat field correction (in RCE)
Each science data image is corrected for non-uniform pixel response
Event filtering (in RCE or later)
Events are associated with beam line data (BLD) via timestamp and vetoed based upon BLD
values. Veto action is recorded.
Images may be sparsified by predefined regions of interest.
20 G. Haller haller@slac.stanford.edu20
LUSI XCS FIDRJune 17, 2009
XCS Online Processing con’t
Event processing (processing stage)
Examples are
Sparcification (region of interest)
Locating center
Reducing data by binning pixels
Mask errant pixels (saturated, negative intensity from dark image subtraction due to e.g. noise, non-
functioning pixels, edge pixels from moving center)
Filling in missing data with centro-symmetric equivalent points
Transforming camera geometry due solid angle coverage and dead space between tiles
Radial averaging, showing intensity versus scattering angle or momentum transfer
Compute 2D autocorrelation function (single FFT) and store. Essentially at rate of 1 Hz with 4 MB (2Mpixel
x 2 bytes) frames.
Peak finding (locate and fit Gaussian intensity peaks). There may be multiple peaks in some cases and the
peak finding algorithms should be able to identify up to a few thousand peaks.
21 G. Haller haller@slac.stanford.edu21
LUSI XCS FIDRJune 17, 2009
XCS Monitoring
A copy of the data is distributed (multicast) to monitoring nodes on the DAQ subnet.
The monitoring nodes will provide displays for experimenters’ viewing:corrected detector images at ≥ 5 Hz
histories of veto rates, beam intensity, + other BLD values.
Reduced analysis of sampled binned data (versus scan parameter) or other processing tbd
Implemented with Qt (C++/Python open source GUI)
22 G. Haller haller@slac.stanford.edu22
LUSI XCS FIDRJune 17, 2009
Common Diagnostics Readout
• Four-diode design
R2
R121
L
Target
Quad-Detector
FEL
• On-board calibration circuits not shown
E.g. intensity, profile monitor, intensity position monitors
E.g. Canberra PIPS or IRD SXUV large area diodes (single or quad)
Amplifier/shaper/ADC for control/calibration/readout
• Board designed, fabricated, loaded, is in test
23 G. Haller haller@slac.stanford.edu23
LUSI XCS FIDRJune 17, 2009
WBS for LUSI XCS Controls & Data Systems
1.6.5.1 XCS H3 Controls Requirements, Design and Setup
1.6.5.2 XCS H3 Standard Hutch Controls
1.6.5.3 XCS H3 Specific Controls
24 G. Haller haller@slac.stanford.edu24
LUSI XCS FIDRJune 17, 2009
Milestones
Controls Dates for Installation in FEH (incremental installation driven by instrument component availability)
Start: Early ~Dec 2010
Finish: Early ~Mar 2011
Finish “Early Science” Commissioning before ~Jun 2011
25 G. Haller haller@slac.stanford.edu25
LUSI XCS FIDRJune 17, 2009
Summary
Interface and Requirements documents releasedClear what needs to be doneNo issues, design meets requirements
Design MatureMost items are already used (hardware and software) in XTOD and AMO, plus XPP and CXI ahead of XCS
XCS Preliminary Design Review completedMost items similar to XTOD and AMO which already had Final Design Reviews for Controls and Data Systems (XTOD is being installed, AMO will follow in July 09)
TeamEngineers and technicians from PPA Research Engineering Group, sufficient man-power available for XCS
top related