xcs photon controls and data systems gunther haller

25
1 G. Haller [email protected] 1 LUSI XCS FIDR June 17, 2009 XCS Photon Controls and Data Systems Gunther Haller XCS Instrument Final Instrument Design Review

Upload: liuz

Post on 20-Mar-2016

27 views

Category:

Documents


0 download

DESCRIPTION

XCS Instrument Final Instrument Design Review. XCS Photon Controls and Data Systems Gunther Haller. Near and Far Hall Hutches. Near Experimental Hall. X-ray Transport. Far Experimental Hall. 1. 3. 2. 5. 4. 6. XCSMono. SXR. AMO. XPP. XCS. CXI. H6. Installation Part of LCLS. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: XCS Photon Controls and Data Systems  Gunther Haller

1 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

XCS Photon Controls and Data Systems

Gunther Haller

XCS Instrument Final Instrument Design Review

Page 2: XCS Photon Controls and Data Systems  Gunther Haller

2 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

61 2 3

4 5

LCLSLUSIH6

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

Page 3: XCS Photon Controls and Data Systems  Gunther Haller

3 G. Haller [email protected]

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 SystemMachine Protection System User Safeguards (include Oxygen Deficiency Monitoring)Laser Femto-Second Timing SystemMachine Timing SystemNetworkingEPICS Control systemOnline/Offline Processing System

Page 4: XCS Photon Controls and Data Systems  Gunther Haller

4 G. Haller [email protected]

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

Page 5: XCS Photon Controls and Data Systems  Gunther Haller

5 G. Haller [email protected]

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.

Page 6: XCS Photon Controls and Data Systems  Gunther Haller

6 G. Haller [email protected]

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

Page 7: XCS Photon Controls and Data Systems  Gunther Haller

7 G. Haller [email protected]

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

Page 8: XCS Photon Controls and Data Systems  Gunther Haller

8 G. Haller [email protected]

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)

Page 9: XCS Photon Controls and Data Systems  Gunther Haller

9 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Controls SubsystemsVacuumMotionViewingPower 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

Page 10: XCS Photon Controls and Data Systems  Gunther Haller

10 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

XCS Components to Control

X-Ray Optics and Support Tables, StopperMotionViewing

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

Page 11: XCS Photon Controls and Data Systems  Gunther Haller

11 G. Haller [email protected]

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

MotionXCS specific interface and programming

Racks & CablingWorkstationsVision CamerasBeam Line ProcessorChannel Access GatewayMachine Protection SystemConfigurationData Acquisition

Page 12: XCS Photon Controls and Data Systems  Gunther Haller

12 G. Haller [email protected]

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.

Page 13: XCS Photon Controls and Data Systems  Gunther Haller

13 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Example of Python/Qt user interface

Page 14: XCS Photon Controls and Data Systems  Gunther Haller

14 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Example: Vacuum

All gauge controllers are MKS 937A Interface

Terminal server – DIGI TS16 MEIAutomation Direct PLC

All ion pump controllers are Gama Vacuum DIGITEL MPC dualAll valves are controlled by PLC relay moduleThe out/not-out state of all valves go into the MPS system to prevent damage if a valve closes unexpectedly.

Page 15: XCS Photon Controls and Data Systems  Gunther Haller

15 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Example: Motion

Control System provides support for all motionsMotors

IMS MDrive Plus2 integrated controller and motorIMS MForce Plus2 controller for control of in vacuum and other specialized motorsNewport motor controllersOthers as required

Pneumatic motionSolenoid Driver chassis, SLAC 385-001

Page 16: XCS Photon Controls and Data Systems  Gunther Haller

16 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Fast (DAQ) Camera System

Page 17: XCS Photon Controls and Data Systems  Gunther Haller

17 G. Haller [email protected]

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 featuresTrigger and readoutProcess and vetoMonitoringStorage

Provided to by XES, same system as used for AMO and XPP and CXI

Beam LineData

Data System Architecture

Page 18: XCS Photon Controls and Data Systems  Gunther Haller

18 G. Haller [email protected]

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

Page 19: XCS Photon Controls and Data Systems  Gunther Haller

19 G. Haller [email protected]

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.

Page 20: XCS Photon Controls and Data Systems  Gunther Haller

20 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

XCS Online Processing con’tEvent processing (processing stage)

Examples areSparcification (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.

Page 21: XCS Photon Controls and Data Systems  Gunther Haller

21 G. Haller [email protected]

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 Hzhistories of veto rates, beam intensity, + other BLD values.Reduced analysis of sampled binned data (versus scan parameter) or other processing tbdImplemented with Qt (C++/Python open source GUI)

Page 22: XCS Photon Controls and Data Systems  Gunther Haller

22 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Common Diagnostics Readout

• Four-diode design

R2

R12 1

L

Target

Quad-Detector

FEL

• On-board calibration circuits not shown

E.g. intensity, profile monitor, intensity position monitorsE.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

Page 23: XCS Photon Controls and Data Systems  Gunther Haller

23 G. Haller [email protected]

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

Page 24: XCS Photon Controls and Data Systems  Gunther Haller

24 G. Haller [email protected]

LUSI XCS FIDRJune 17, 2009

Milestones

Controls Dates for Installation in FEH (incremental installation driven by instrument component availability)

Start: Early ~Dec 2010Finish: Early ~Mar 2011Finish “Early Science” Commissioning before ~Jun 2011

Page 25: XCS Photon Controls and Data Systems  Gunther Haller

25 G. Haller [email protected]

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