SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning Henrik Loos 6 February 2009 LCLS HLA Henrik Loos [email protected].
Download ReportTranscript SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning Henrik Loos 6 February 2009 LCLS HLA Henrik Loos [email protected].
SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning Henrik Loos 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Outline LCLS Physics Application Overview Application Examples E-Beam Data Acquisition Summary 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory LCLS Accelerator Layout 6 MeV z 0.83 mm 0.05 % 4.30 GeV z 0.022 mm 0.71 % 13.6 GeV z 0.022 mm 0.01 % Linac-1 L 9 m rf -25° ...existing linac 21-1 b,c,d DL1 L 12 m R56 0 Linac-2 L 330 m rf -41° Linac-3 L 550 m rf 0° 21-3b 24-6d 25-1a 30-8c X BC1 L 6 m R56 -39 mm Commission Mar-Aug 2007 BC2 L 22 m R56 -25 mm undulator L =130 m undulator Commission Jan-Aug 2008 SLAC linac tunnel beam parked here Linac-X L =0.6 m rf= -160 Linac-0 L =6 m rf gun 250 MeV z 0.19 mm 1.6 % 135 MeV z 0.83 mm 0.10 % DL2 L =275 m R56 02008… Nov research yard X-rays in spring 2009 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Physics Applications Overview Matlab framework for development ~45 applications developed by physicists All with graphical user interfaces (GUIs) Created and grown within last two years Development driven by commissioning needs Quick adoption of new features 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Application Types Diagnostics Profile Monitors Wire Scanners Emittance/Tomography Bunch Length Correlation Plot Cathode QE Laser Pulse Length Orbit Response Status Displays Operating Point Orbit RF Status Beam Jitter Beam Images 6 February 2009 LCLS HLA Machine Control & Tuning Beam Line Switching Bunch Compressor Control Twiss Matching Fast Energy Change Simulation LiTrack 1D FEL Code Undulator/FEL Undulator Girder/Quad Motion Undulator Beam Based Alignment Undulator K-Measurement FEL Gain Measurement Henrik Loos [email protected] SLAC National Accelerator Laboratory Physics HLA Launch Screen 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Operating Point Primary definition for main machine parameters Used as defaults for other applications Electronic checklist Compares actual values with set points No machine control H.-D. Nuhn 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Linac Beam Jitter Measures transverse beam jitter in injector and near end of linac Display of jitter in terms of normalized phase space Display of energy jitter throughout machine D. Ratner 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory RF Phase Scans P. Emma 6 February 2009 LCLS HLA Beam based measurement of all RF phases Integrates Epics and SCP controls Amplitude calibration and phase re-golding Stores results in PVs for archiving Henrik Loos [email protected] SLAC National Accelerator Laboratory Dispersion Measurement P. Emma Orbit measurement after chicanes with varying beam energy Calculates resulting emittance growth and corrector quad strengths Applies correction 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Bunch Compressor Control Set R56 of chicane Controls Dipole strengths Chicane motion Matching quads Upstream RF phases P. Emma 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Undulator Girder Position GUI to plot positions of all 33 girders, absolute or w.r.t. reference GUI to move girder at quad location or BFW location Low level Matlab adjusts BPM offset to keep beam orbit constant BFW In/Out Undulator Quad RF BPM Beam Scan Girder J. Welch 6 February 2009 LCLS HLA H.-D. Nuhn Henrik Loos [email protected] SLAC National Accelerator Laboratory Beam Diagnostics Application Hierarchy Correlation Plot Bunch Length Twiss Matching Emittance Profile Analysis Profile Monitor 6 February 2009 LCLS HLA Wire Scan Henrik Loos [email protected] SLAC National Accelerator Laboratory Application Structure Common user interface Start/Abort acq. Save/Load data Save/Load application configuration Automatic/Manual data acq., retake data Archiving Logbook feature/Autosave Data saved as .MAT files in Year/Month/Day/Filename folder structure Control system interface EPICS via lcaGet/lcaPut Oracle database & SLC via Aida data provider 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Common User Interface Features Files Configs Measure Data Point Export Data Sliders Profile Analysis Method 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Image Acquisition Live image display Pixels or calibrated display Line outs Intensity histogram Fit results Interactive screen calibration 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Image/Profile Processing Automatic background image acquisition & subtraction Background estimation from distribution mode For wire scan data, use most probable PMT count value Image slicing for time resolved measurements (Emittance) Multiple Fit methods implemented Gaussian Asymmetric Gaussian Super-Gaussian Raw RMS RMS peak cut RMS area cut Generate fit profiles & statistics for each method Sum, centroid, sigma, skewness, kurtosism, x/y correlation 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Wire Scans Raw Data Processed Scan Profile Statistics 6 February 2009 LCLS HLA Beam synchronous acquisition of wire position, PMT signals, charge, and beam position Automatic set of scan range from BPM reading Optional jitter correction and charge normalization Applies set of fit algorithms to profiles Normal wire scanners and undulator beam finder wires supported Henrik Loos [email protected] SLAC National Accelerator Laboratory Bunch Length Measurement Measures bunch length at various profile monitors using TCAV0 and 3 Scans TCAV phase for calibration. Plot of measured images, profiles, and beam size fit. 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Emittance Overview Slice Plot Phase Space Summary Plot 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Emittance GUI Features Measures emittance at various profile monitors and wire scanners. Uses quadrupole scan or acquisition at multiple locations (multi screen). Projected emittance or slice emittance Sets PVs for archiving and matching Plot of measured profiles, beam size fit, and phase space view. Add emittance measurement using undulator beam finder wires. 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Phase Space Tomography Profiles Phase Space 6 February 2009 LCLS HLA Uses beam profiles for tomographic phase space reconstruction Maximum entropy & algebraic reconstruction implemented Henrik Loos [email protected] SLAC National Accelerator Laboratory Twiss Parameter Matching Retrieves Twiss parameters from previous emittance measurement Wire scanner or profile monitor Applies solution to magnet settings Includes undulator energy matching 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Correlation Plot Overview 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Correlation Plot Features Scans any epics process variable (PV) Measures multiple samples of any number of PVs Non-synchronous and synchronous acquisition Scan of 2 PVs for 2-D plots Scan of SLC magnets Time scan Measurement of emittance, bunch length, profile monitors, wire scanners Selection of different fit functions Plot of selected results 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Undulator Beam Based Alignment Measurement of undulator orbit at 3+ energies Fit of BPM & quad offsets and orbit Changes BPM offsets Moves quads with undulator girders Launches beam into undulator Integrates simulation Orbit Measurement of deliberate x & y bump Simulation Measurement Offsets 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory Summary and Outlook Physics applications motivated by needs for fast online diagnostics and for automating many commissioning tasks Complicated machine tuning tasks and multi step measurement procedures with one button click Plan to migrate applications from physicists (Matlab) to software group (Java) Matlab applications were developed in interaction with control room needs Existing Matlab applications are used to define software requirements Gradual replacement from lower level apps (e.g. wire scan) to highest level (e.g. correlation plots) 6 February 2009 LCLS HLA Henrik Loos [email protected] SLAC National Accelerator Laboratory LCLS Commissioning Team R. Akre K. Bertsche A. Brachmann F.J. Decker Y. Ding D. Dowell P. Emma A. Fischer J. Frisch S. Gilevich G.R. Hays Ph. Hering Z. Huang 6 February 2009 LCLS HLA R. Iverson C. Limborg-Deprey H. Loos A. Miahnahri A. Novokhatski H.-D. Nuhn D. Ratner J. Turner J. Welch W. White J. Wu D. Xiang Henrik Loos [email protected]