260 likes | 344 Views
Instrument requirements to the DAQ/ Control /Scientific Computing system. Controls/software session European XFEL collaboration meeting Apr 24, 2013 Thomas Tschentscher on behalf of the European XFEL scientific instruments thomas.tschentscher@xfel.eu. Outline.
E N D
Instrument requirementstothe DAQ/Control/Scientific Computing system Controls/software session European XFEL collaboration meeting Apr 24, 2013 Thomas Tschentscher on behalf of the European XFEL scientific instruments thomas.tschentscher@xfel.eu
Outline • shortdescriptionofelementsof European XFEL userfacility • a ‚prototypical‘ experiment • requirementsto DAQ/Control/Scientific Computing Thomas Tschentscher, European XFEL, 21 Mar 2010
User facilityanditsoperation Mission • Provision of x-ray FEL radiationandinstrumentation • User facilitybased on peer-review • Support ofusersbytoolsandfacilitystaff • Enableefficientconductofexperiments • Enablesuccessfulcompletionofproposedsciencework Somenumbers • ~4200-4800 hrsacceleratoroperation in x-raydeliveryusermode • Nodistinctionherebetweenexternalusers & internalusage • Currentoperationmodeis 12+12 for twoinstrumentsatonesource • typically 3 instrumentstake beam (simultaneous/quasi-simultaneous) • other 3 instrumentsprepare/set-up (but arebasically also operating/online) • Eachproposaltypicallyreceives 3-8 12hr-shifts (36-96 hrs) per experiment • ~1000 uservisits per year • Extend in future (5 beamlines, 10 instruments, higher rate ofsim. operation) Thomas Tschentscher, European XFEL, 21 Mar 2010
MID HED SPB FXE SQS SCS Layout x-rayfacility • 2 e--beamlines • 3 (5) undulators • 6 (10-15) instruments Boxes only placeholders ! Thomas Tschentscher, European XFEL, 21 Mar 2010
XTDs - X-rayopticsandtransport Thomas Tschentscher, European XFEL, 17 Apr 2012 • offsetmirrors surpressionofbremsstrahlung & higherharmonics • deflectionmirrors distributionto 3 instruments in XHEXP • Monochromators & focusingoptics • X-ray beam diagnostics • Others (pulse picker, split&delay, …)
XHEXP – Scientific Instruments & Optical lasers SPB instrument Eachinstrument will haveitsdevicestobeinterfaced • Severaloptics (mirrors, CRL, monochromators, …) • X-ray beam delivery (slits, attenuators, …) • X-raydiagnostics (Iomonitor, time-diagnostics, …) • Optical laser beam delivery & diagnostics • Sample manipulation & sample environment • Detector(s) andspectrometers • Vacuumsystem & devices Thomas Tschentscher, European XFEL, 17 Apr 2012
Differentiation Users are … • 6 uniquescienceinstruments • Instrument staff • Externalusers • Specificteamswithneedtocontrolandreadouttheirsystems • Beam transport • Optical lasers • Detectors • … The different ‚systems‘ will likelyrequirespecificandsomewhat different implementationbased on platform KARABO. Thomas Tschentscher, European XFEL, 24 Apr 2013
Expert users Some ‚access‘ restrictionmaybeneeded • Complexinstrumentationandcompletedalignment/adjustment • Dangerofdamaginginstrumentation Access limitation • Only ‚experts‘ areallowedtooperatethesedevices (tobeidentified) • Instrument/facilitystaff • Specificstaff, trained in useofspecificdevices • ‚General users‘ mayinitiateactionifneeded for experiment • Bufferedrequest: undulatorgapchange, … • 24/7 or on-callpeopletoexecute • However: thisclassificationis not uniqueandadaption/configurationneeded However, most ‘access’ with the aim of manipulating the experiment will happen from one, maybe two specific working places in the ctrl hutch (surrounded by screens, phone, tools, ...). • Unique control application • Access limitation cannot be achieved by login or similar fundamental ways • SR: limit access to critical devices by passwd or similar Thomas Tschentscher, European XFEL, 24 Apr 2013
Outline • shortdescriptionofelementsof European XFEL userfacility • a ‚prototypical‘ experiment • requirementsto DAQ/Control/Scientific Computing Thomas Tschentscher, European XFEL, 24 Apr 2013
A prototypicalexperiment Preparation phase Setup phase Data taking phase Data analysis phase • Detailedproposal defineparameters, check feasibility • Pre-experiments; preparationof experimental setup • Setup at European XFEL instrument (without beam) • Set & verify x-rayparametersaccordingtorequirements • Alignmentof sample and additional/secondarydiagnostics • Verifyopticallaser beam settingsandperformance • Verifydetectionsystemssettingsandperformance • Search for signal • Time fraction : significant (days) for non-standard exps. • Time fraction : moderate (hrs) for standardexps. • Collectdataaccordingtoexperimentprotocol • Modificationof variables andswitchingofsamples • Apply on-line dataanalysis & reduction • Pre-analysis on-site uptopreliminaryresults • Fullanalysis off-site upto final results Thomas Tschentscher, European XFEL, 24 Apr 2013
Operation modesofinstruments Preparationphase • Beforeexperimentperiod • Clarify setup,requiredinstrumentation, ctrltools, dataanalysistools • Integrate & testnewcomponents • Expectthatsomething (10-20%) comesuponlyatstartofexperiment • This phaseismostly off-line. • Experiment coordinatorwith DAQ/Ctrl/SciCompgroup(s) Thomas Tschentscher, European XFEL, 24 Apr 2013
Operation modesofinstruments Setting upandadjustment • Setup & adjusthardware • Setup & trimsoftware & initialdataanalysistools • Examplesof such tools • Data selection/restriction/reduction • Time orparametersortingmethods • ‚Hit‘ finding • Correlationanalysis • FFT transformations • Fully on-line (occupiesinstrumentto large percentage) • Primary user: • Instrument/facilitystaff • Secondaryuser: • Scientist performingexperiment (external/internal) • Need touseCtrl/DAQ fromseveralcomp‘s (hutch, tunnel, external, ...) Thomas Tschentscher, European XFEL, 24 Apr 2013
Operation modesofinstruments Data taking • Collectdataaccordingtoexperimentprotocol • Modificationof variables andswitchingofsamples • Apply on-line dataanalysis & reduction • Absolute crucialcomponent for experiments ! Needs tobeconsideredpartofexperiment. This taskis different to SR experiments. • ‚Semi-continuously‘ verificationofinstrumentperformance • Facilitystaff • Fully on-line • Primary user: • Scientist performingexperiment (external/internal) • Secondaryuser: • Instrument/facilitystaff Thomas Tschentscher, European XFEL, 24 Apr 2013
Operation modesofinstruments Data analysis • On-line (duringdatataking). See above • Off-line (duringdatataking): Preliminarydatachecks • In ordertoensureweget not swampedwithdataandtoensure high dataqualitystandardsthismaybecome a requirementtotheusers, but will needresourcestobeestablished • Duringthisphaseproximitytoinstrumentisveryhelpful • Off-line (after experiment): Completepreliminaryanalysis • Directly after experiment a preliminarydataanalysisshouldoccur. • Probablyat xfel.eu, but shouldbe remote frominstrument • Off-line (after experiment): Fullanalysis • Occurs after experimentand will require time • Access todatafromhomeinstituteorshortvisitsto xfel.eu Thomas Tschentscher, European XFEL, 24 Apr 2013
Example: HED-CTR room layout Version: 04/12/2012 Data analysis 1 Table Data analysis2/3 Instrument ctrl 1/2/3 4 m Access tohutch Access tohutch 1 m PSS/Interlock PSS/Interlock 7 m
Example: HED-CTR room layout Version: 04/12/2012 Data analysis 1 PLUS: • Overflow space for morepeopleworking on dataanalysis (ideallyclosetoinstrumenttoenableexchange & feedback) • Space for dataanalysis (not the same people) Table Data analysis2/3 Instrument ctrl 1/2/3 4 m Access tohutch Access tohutch 1 m PSS/Interlock PSS/Interlock 7 m
Data analysisareas in XHQ 2ndfloor, XHQ Thomas Tschentscher, European XFEL, 24 Apr 2013
Outline • shortdescriptionofelementsof European XFEL userfacility • a ‚prototypical‘ experiment • requirementsto DAQ/Control/Scientific Computing Thomas Tschentscher, European XFEL, 24 Apr 2013
User requirementstoDAQ/Ctrl/SciComp Entry point • Unique entrypoint login – selectionpanel – variousfunctionalities • DAQ – ctrl – dataanalysis/scientificcomputing – others • Veryclearandstructuredappearance (at all levels ?) • Clear identificationoffunctionofapplication • Unique usageofcertainfunctionalities (start, exit, update, …) • Not toomanybuttonsandtoosmalltext/features in GUIs • Update ofwindow „live view“ • Configurable (andsaveable) • PossiblyidentifiablebyExp ID (orsimilar) • Ideallyhaveonlyone ‚session‘ open • Issueofhowto deal with expert vs. usermode (!) Thomas Tschentscher, European XFEL, 24 Apr 2013
Functionalities DAQ/Ctrl • Motors control/status/display • Signals/detectors control/status/display • Externaldevicesdisplay/Interface-to-access • Electron beam delivery (pulse sequence, otherstbd) • Undulatorcontrol (setphotonenergy, definescanofphotonenergy) • X-ray beam transport, vacuum & diagnostics • Equipment protectionsystem • X-ray interlock system / shuttercontrol • Optical laser • Data (intermediate & long-term) • … • operation • GUIs • Command line • Macrocapability Thomas Tschentscher, European XFEL, 24 Apr 2013
Functionalities DAQ/Ctrloperation • Single deviceaccess • Display status/value • Configuresettings • Operate: move, readout, … • Multiple deviceaccess • Scan capability • Synchronizedwith 10 Hz pulse delivery • 1D-, 2D-, 3D-, nestedscans • Any real orvirtualmotororvalue • Read anysignal/detectorasfunctionofmotorposition • Display/plottingofsignal (real orcalculated) • Time optimized (nooverhead) • Easy (clear) commandlanguage/configurationofscans • Plotting/displayofsignals • 1D, 2D, severalsignals in oneplot, different scale; easy configurable • ‚quasi-online‘ verificationofdatastreaming Thomas Tschentscher, European XFEL, 24 Apr 2013
Functionalities Data analysis – on-line • Immediate accessto all data (notransfertimes; x-ray & e--beam) • Tool-kitto on-line dataanalysis • extract, manipulate, display, store ‚real experimental data‘ fromcomplexdata-files • 2D image treatment & analysis: • Fourier transform, Element-wise matrix multiplication, Matrix subtraction (addition), Thresholding utility, Definition of sub arrays (e.g., regions of interest), Sum of all/selected pixels, Crystal peak identification, and more … • Manipulations: select, compare, fit, math-functions, … • Immediate access (duringdataaccumulation ?) • Definenew ‚virtual‘ signals • Possibilitytomakeavailableatexperimentcontrol ??? • Tool-kit on-line datareduction • Verifysignalswith/without ‚Veto‘ signal • Comparison: visual, sometbdcalculatedqualifier • Select Veto signal: real, virtual • Storage of ‚reduced‘ data Thomas Tschentscher, European XFEL, 24 Apr 2013
Functionalities General datatreatment; toolkits e.g. bio-imaging (SPB) Specificdatapipelines User definedscripts/packages Data analysis – off-line • Preliminaryanalysis (duringexp., on-site) • … (all youcan/cannotimagine) • Script developmenttools for internal & externalusage • Final analysis (off-site) • Access similartothatfrominstrument (easeofoperation) Thomas Tschentscher, European XFEL, 24 Apr 2013
Thankyou for yourattention The end. Thomas Tschentscher, European XFEL, 24 Apr 2013
Add. slides Thomas Tschentscher, European XFEL, 24 Apr 2013
X-ray pulse Diffraction pattern Interaction ofacc. operators & experimenters Electron bunch Reconstruction Instrument operation Acceleratoroperation As closeaspossibleinteraction Thomas Tschentscher, European XFEL, 17 Apr 2012