LCLS Commissioning & Operations High Level Software

Slides:



Advertisements
Similar presentations
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Advertisements

LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
PCaPAC Satellite Workshop ~ High Level Applications Development and the Matlab Middlelayer ~ Sponsored by the Canadian Light Source Saskatoon, Canada October.
Current Status of MATLAB-based Accelerator Physics Application Programs for the TPS Commissioning and Operation at NSRRC Fan-Hsin Tseng ( 曾繁信 ) Beam Dynamics.
XAL at J-PARC Hiroyuki Sako, G. Shen, JAEA C. K. Allen, ORNL Contents Why did we introduce XAL? Installing XAL Developing XAL Achievements with XAL Summary.
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
P. Emma, SLACLCLS Commissioning – Sep. 22, 2004 Linac Commissioning P. Emma LCLS Commissioning Workshop, SLAC Sep , 2004 LCLS.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
P. Emma, SLACLCLS FAC Meeting - April 29, 2004 Linac Physics, Diagnostics, and Commissioning Strategy P. Emma LCLS FAC Meeting April 29, 2004 LCLS.
Online Data Analysis and Simulation Sven Reiche UCLA - 09/22/04 Sven Reiche UCLA - 09/22/04.
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
June 17, 2008 LCLS FAC D. Fairley MATLAB Feedback Phase II Commissioning.
Mike Zelazny FAC April 17 th, 2007 Matlab Applications Image Management Bunch Length Measurement Feedback Software Engineers.
Henrik Loos Applications for 11 November 2008 SLAC National Accelerator Laboratory New High-Level Applications for 2009 Henrik.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
Hamid Shoaee LCLS FAC Review – October Control System Overview Hamid Shoaee Controls System Manager Injector control system commissioning & Support.
November 12, 2008 Controls Software D. Fairley LCLS Feedback.
Oct. 30, 2007 LCLS FAC D. Fairley MATLAB Feedback Phase II Commissioning.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Diane Fairley High Level October High Level Applications FAC Review October 12, 2006 High Level Applications.
8/21/2015J-PARC1 Data Management Machine / Application State Data.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
G 0 Coordinator Update & “To-Do List” Joe Grames William & Mary, June 5-6, 2006  Hall C Beam Line Tasks  Accelerator Preparation Tasks  Beam Halo 
K. Luchini LCLS Controls, July 1, 2005 SLAC Aware IOC EPICS Magnet Functional Requirements Introduction Magnet Functions.
Henrik Loos LCLS 6 February 2009 SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning.
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
Paul Chu SLAC App. 10/14/ SLAC (LCLS) Application Plans P. Chu for SLAC High-Level Application Team.
1 Henrik Loos 1 13 Sep 2011 APE Meeting Recent Activities H. Loos 09/13/2011.
LHC online modeling Mark IV LHC online modeling Mark IV Piotr Skowroński Tobias Persson Agnieszka Szczotka Jaime Coello de Portugal Lukas Malina Mattias.
1 Virtual Accelerator plan and status at RCS Hiroshima University, Graduate School of Science Experimental Quark Physics Lab ( & JAEA Accelerator Development.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
SASE optimization with OCELOT Sergey Tomin other co-workers: I. Agapov, G. Geloni, I. Zagorodnov.
2/20/2016J-PARC1 Virtual Accelerator An Accelerator Simulator.
1 BEAM COMMISSIONING SOFTWARE AND DATABASE FOR J-PARC LINAC Hiroyuki Sako G. Shen, H. Sakaki, H. Takahashi, H. Yoshikawa, JAEA H. Ikeda, VIC C. K. Allen,
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Tools in CTF3 Simona Bettoni for the CTF3 operation team.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
BEAM COMMISSIONING SOFTWARE AND DATABASE FOR J-PARC LINAC Hiroyuki Sako G. Shen, H. Sakaki, H. Takahashi, H. Yoshikawa, JAEA H. Ikeda, VIC C. K. Allen,
LCLS Commissioning & Operations High Level Software
Operations Machine Simulator.
EPICS Overview Lecture 2 Matt Boyes
Automation and Feedbacks
Beam Optics Set-Up at SLAC End Station A
WG2 Summary: Diagnostics, measurements, and commissioning
Work Update J. Rzepiela 8/17/10.
A Portion of the SCP RF Control System LCLS Related
LCLS Linac Update Brief Overview L1 & BC1 Progress LTU & E-Dump Status Continuing Resolution Impact.
What am I working on… H. Loos 08/02/2010.
Machine Studies/Software Update
Beam-Based Alignment Results
OCELOT orbit correction and optimizer
Two-bunch self-seeding for narrow-bandwidth hard x-ray FELs
A Virtual Implementation of VELA (CLARA)
High Level applications development status
LCLS Commissioning P. Emma, et al
VELA – CLARA AP (Draft) Goals Software Goals
High Level Physics Applications for LCLS Commissioning
Linac Physics, Diagnostics, and Commissioning Strategy P
Motivation Technique Simulations LCLS LCLS DOE Review, April 24, 2002
Linac Diagnostics Commissioning Experience
P. Emma, for the LCLS Commissioning Team LCLS DOE Review May 14, 2009
Linac Design Update P. Emma LCLS DOE Review May 11, 2005 LCLS.
SLC-Aware IOC Magnet Functional Requirements
High Level Physics Applications Lehman Review February 7 - 9, 2006
Presentation transcript:

LCLS Commissioning & Operations High Level Software PAL XFEL MAC Meeting Henrik Loos November 19, 2014

LCLS Commissioning Strategy Hardware Extensive pre-beam check-out (field probes for magnets etc.) Check every device again with beam (functionality, polarity, calibrations, etc.) Software Need basic commissioning software on day 1 (beam orbit, size, emittance, bunch length, etc.) Test software on virtual accelerator controls environment Procedural HLAs for common task automation develop later PAL XFEL MAC Meeting / Nov 19, 2014

General Controls Software LCLS now has all Epics device controls EDM screens, strip tool, alarm handler, etc. Java applications Oracle database Configuration control (SCORE) Archive engine Machine model (XAL) Beam orbit display Matlab applications High level software Some Python also PAL XFEL MAC Meeting / Nov 19, 2014

Matlab Commissioning and Operations Software High Level (Physics) Applications developed in Matlab during LCLS-I commissioning by physicists Quick to adapt changes, test in commissioning Large suite of matured software after 7 years Used in daily LCLS operation 3 levels of Matlab software about 80 GUIs ~20 background scripts low level services Control system interface EPICS (labCA) & Aida (Accelerator Independent Data Access) PAL XFEL MAC Meeting / Nov 19, 2014

Matlab HLA GUIs Beam property measurements Beam corrections Configuration control Undulator & FEL Others PAL XFEL MAC Meeting / Nov 19, 2014

Matlab HLA Architecture † SLC Control Program LabCA AIDA* Control Systems *Accelerator Integrated Data Access High Level Applications EPICS IOCs Name Server RF Magnet Real-Time Model Model XAL Model SCP† SLC Model CA Simulation Profiles Images PAL XFEL MAC Meeting / Nov 19, 2014

Basic Linac Commissioning Matlab HLAs Correlation Plot Profile Monitors Emittance Bunch Length Wire Scan Optics Matching CA Phase Scans Dispersion Correction Bowtie Plots SVD Steering BSA GUI PAL XFEL MAC Meeting / Nov 19, 2014

Profile Monitor Interface to a variety of SLAC camera IOC types Image processing used by HLAs needing beam profile data Different fit functions and rms methods for beam moments PAL XFEL MAC Meeting / Nov 19, 2014

Wire Scan GUI Interface to EPICS scan software Beam jitter correction From online model Profile analysis same as for beam images Raw Data Processed Scan PAL XFEL MAC Meeting / Nov 19, 2014

Emittance Beam profiles from wire scans or screens Quad scan or multiple locations Online model input Results stored in PVs Used by matching software PAL XFEL MAC Meeting / Nov 19, 2014

Matching Configurable sets of locations for Uses online model Twiss measurement Goal locations Optimization quads Uses online model Input from emittance GUI PAL XFEL MAC Meeting / Nov 19, 2014

Correlation Plot Generic Epics part Matlab HLA interface Scans 1 or 2 PVs Reads multiple PVs Matlab HLA interface Beam profiles, emittance, bunch length BSA acquisition Data analysis PAL XFEL MAC Meeting / Nov 19, 2014

Other Matlab HLAs Scan of single station, entire sector or linac phase Time calibration and bunch length Results in PVs to be picked up by XTCAV x-ray analysis Scan of single station, entire sector or linac phase RF Phase Scans TCAV Bunch Length PAL XFEL MAC Meeting / Nov 19, 2014

HLA for Beam Setup Automation ~10 - 20 min ~1 - 5 min Charge Change ~15 min Energy Ramp Energy Change/LEM PAL XFEL MAC Meeting / Nov 19, 2014

Procedural Matlab GUIs Bunch compressor R56 control Beam destination switching (gun/injector spectrometers) Self seeding setup Hard x-ray chicane and diamond control Soft x-ray chicane and optics control PAL XFEL MAC Meeting / Nov 19, 2014

Beam-Based Alignment Software Multi-purpose beam orbit fitting Undulator BBA SVD orbit steering Undulator field integral RF kicks Integrated simulation mode Data taking and correction application Manual energy change Simulation parameters PAL XFEL MAC Meeting / Nov 19, 2014

Undulator Taper Control PAL XFEL MAC Meeting / Nov 19, 2014

Gain Length Measurement PAL XFEL MAC Meeting / Nov 19, 2014

LINAC Energy Management “LEM” Provides actual machine energy profile Fudges RF vector sum energy gain to match fixed energy locations Used for Online model calculation Scale magnet strengths to actual beam energy Implementation Originally XAL based Now mainly Matlab process with EPICS PV interface Added features Sets bend magnet trims Options to implement energy specific optics Implement design or scale present PAL XFEL MAC Meeting / Nov 19, 2014

LEM Server Display EDM screen to display LEM calculation results Activate Matlab script to set optimized magnet settings PAL XFEL MAC Meeting / Nov 19, 2014

Machine Save Restore Saves and restores EPICS PVs to and from Oracle database PAL XFEL MAC Meeting / Nov 19, 2014

Present Online Machine Model Master source is MAD deck, Elegant etc. derived from it Oracle as main device database Populated from MAD deck Other devices manually XAL used for “official” online model Design, equal to MAD output Extant, uses actual RF and magnet settings XAL XDXF input file generated manually Java Model GUI to run XAL, upload to database, define “Gold” Model data access AIDA (Accelerator Independent Data Access) to retrieve model from Oracle database MAD/Oracle/XAL synchronization process cumbersome PAL XFEL MAC Meeting / Nov 19, 2014

Java Model Manager PAL XFEL MAC Meeting / Nov 19, 2014

New Online Model System MEME (MAD EPICS Matlab Environment) MAD deck for model computation Patch files to update device properties with actuals Matlab used as GUI interface Model runs uploaded to Oracle EPICS V4 services Retrieve online model data Directory service (get device name lists based on MAD lines) Possible extension to archive data and other data services EPICS V4 Integration of high level control services beyond device IOCs Adds structured data types to EPICS Query with options and qualifiers Greg White PAL XFEL MAC Meeting / Nov 19, 2014

Summary Matlab convenient platform to develop GUIs and to analyze data Simulation of control system and measurement data reduces development time in control room Script automation saves enormous time in machine commissioning and tuning PAL XFEL MAC Meeting / Nov 19, 2014