+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics.

Slides:



Advertisements
Similar presentations
System Development Life Cycle (SDLC)
Advertisements

Operating System.
SYSTEM PROGRAMMING & SYSTEM ADMINISTRATION
J. Rudolph, Helmholtz-Zentrum Berlin EuCARD 2nd ANNUAL MEETING Slice emittance measurements at the ELBE superconducting RF photoinjector.
RF Tweak 5 Tool for FLASH and XFEL
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Yevgeny Petrilin Shay Dan Shadi Ibrahim. GUI : Graphical User Interface DAQ :Data Acquisition Data Acquisition device  a self-powered system that communicated.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
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.
Basic Input/Output Operations
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.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
CASE Tools And Their Effect On Software Quality Peter Geddis – pxg07u.
8/21/2015J-PARC1 Data Management Machine / Application State Data.
ALICE Data Acquisition Ben Shepherd MaRS Group ASTeC STFC Daresbury Laboratory.
Introduction by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
Function BIRN: Quality Assurance Practices Introduction: Conclusion: Function BIRN In developing a common fMRI protocol for a multi-center study of schizophrenia,
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
Beam Dynamics Meeting Bolko Beutner, DESY Report from “Characterization of High Brightness Beams” Workshop in Zeuthen Bolko Beutner, DESY Beam.
© 2013 Paul Scherrer Institut Slides available at Bolko Beutner, Helge Brands, Rasmus.
Syzygy Design overview Distributed Scene Graph Master/slave application framework I/O Device Integration using Syzygy Scaling down: simulators and other.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
DB-based DAQ monitoring and Physics analysis tools Emiliano Barbuto European Emulsion Group (LNGS May 2003)
The european ITM Task Force data structure F. Imbeaux.
Unit-1 Introduction Prepared by: Prof. Harish I Rathod
CE Operating Systems Lecture 3 Overview of OS functions and structure.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
Henrik Loos LCLS 6 February 2009 SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning.
SiTRA test beams at CERN: infrastructure developments and results Annual EUDET meeting NIKHEF Alexandre CHARPY.
Slide 5-1 Chapter 5 Terms Applications Software for Business Introduction to Information Systems Judith C. Simon.
Debugging parallel programs. Breakpoint debugging Probably the most widely familiar method of debugging programs is breakpoint debugging. In this method,
A Transverse Profile Imager for SwissFEL Rasmus Ischebeck.
The Software Development Process
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
Product Demo FP1000P-TCP. ©Spectra Technovision (India) Pvt. Ltd.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Beam Dynamics Meeting Bolko Beutner, DESY Summary of new FLASH CSR studies Bolko Beutner, DESY Beam Dynamics Meeting
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
A Transverse Profile Imager for SwissFEL Rasmus Ischebeck
EPICS and LabVIEW Tony Vento, National Instruments
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
XFEL Beam Dynamics Meeting Bolko Beutner, DESY First results of micro-bunching and COTR experiments at FLASH Bolko Beutner, Winfried Decking,
Online Model - Goals Program package in Python to obtain and manipulate a online model of the machine Highly modular approach which allows for include.
Wir schaffen Wissen – heute für morgen PSI, March 2013 Paul Scherrer Institut PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics for FELs.
H2LC The Hitchhiker's guide to LSA Core Rule #1 Don’t panic.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
LCLS Commissioning & Operations High Level Software
Slice Parameter Measurements at the SwissFEL Injector Test Facility
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
LCLS Commissioning & Operations High Level Software
High Level applications development status
High Level Physics Applications for LCLS Commissioning
Overview of My Experience With C++
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Linac Diagnostics Commissioning Experience
Presentation transcript:

+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics for FELs

+ SwissFEL Introduction ADAQA “Do it yourself! - Scan Tools” SITF Emittance Measurement Application Overview Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL Optics based emittance measurements: –Beam moments are determined at a reference point using either: one screen while varying the quadrupole settings at multiple positions along a constant lattice –Slice resolved measurements in combination with a transverse deflecting rf-structure Introduction to Emittance Measurements Beutner PSI / DESY / KIT Mini-Workshop screen quadrupole reference point

+ SwissFEL Beam size at point i as a function of initial beam moments: From the beam moments emittance (and twiss parameters) are determined: In an ideal measurement three data points are sufficient: In a real measurement more then three data points are taken and the beam moments are determined by a least square fit: Emittance Measurements Beutner PSI / DESY / KIT Mini-Workshop determined by diagnostics provided by beam dynamics

+ SwissFEL These measurements need to be automatised for standard operation and commissioning, task are e.g.: –moving screens in and out –varying quadrupole settings –restore initial lattice configuration A successful measurement procedure (high level application) needs to be reliable, robust, and usable “Always have the operator at the end of the night shift in mind!” Accelerator operation in general relies on data acquisition and parameter scans In the various applications the requirements are actually quite similar  Tasks should be unified and standardised to prevent that every application developer “reinvents the wheel”  ADAQA - An Accelerator Data Acquisition & Analysis Framework Scan Framework Beutner PSI / DESY / KIT Mini-Workshop5

+ SwissFEL Have a universal scan and data acquisition software Well-tested scan core Universal GUI to set up scan easily Specialized GUIs for easy access for regularly performed scans Error checking and treatment Common HDF5-based file format for easy access from any data analysis code Automatic generation of logbook entries Link to auxiliary information on accelerator configuration Synchronized data acquisition ADAQA Goals Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL Hierarchical format to store Instruments Based on HDF5 Readable from Matlab, Root, Mathematica Meta information stored together with raw data ADAQA Data File Format Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL ADAQA consists of several separate building blocks Applications, written by different programmers, make use of the same data acquisition code Instruments gather connected devices Logbook Common data storage format Online model* Device information server* Synchronized data acquisition ongoing work, not yet ready for prime time ADAQA Layers Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL Abstraction Layers Beutner PSI / DESY / KIT Mini-Workshop EPICS Machine Interface EPICS call Error handling Image data conversion

+ SwissFEL Abstraction Layers Beutner PSI / DESY / KIT Mini-Workshop Instruments and Knobs Assemble several connected values On-line data processing and actions Machine Interface EPICS call Error handling Image data conversion XML files

+ SwissFEL Scans Write data file Make entry in electronic logbook Abstraction Layers Beutner PSI / DESY / KIT Mini-Workshop Instruments and Knobs Assemble several connected values On-line data processing and actions Machine Interface EPICS call Error handling Image data conversion HDF5 files eLog

+ SwissFEL Graphical User Interfaces Programmed by different people Include Data Analysis Scans Write data file Make entry in electronic logbook Abstraction Layers Beutner PSI / DESY / KIT Mini-Workshop Instruments and Knobs Assemble several connected values On-line data processing and actions Machine Interface EPICS call Error handling Image data conversion

+ SwissFEL General purpose camera display and analysis tool In every day use for different kinds of cameras and screen monitors ScreenMonitorTool Beutner PSI / DESY / KIT Mini-Workshop Dione and Saturn

+ SwissFEL General Purpose Scan Tool Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL Scans can be stored in Template files The last scan is always stored as template –“Repeat Last Scan…”-Button Data files are scan templates as well –All scans can be exactly repeated Templates can handed over to the scan tool at startup –example: extracted charge vs. gun phase scan Scan Templates Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL Automatised logbook entries Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL General and specialised scan tools are possible with ADAQA –a wide variety of tools is available Common data format Templates –data files are templates – for all tools Actions –e.g. automatic screen insertion or background subtraction Analysis functions Automatic logbook entries Scan Tools Summary Beutner PSI / DESY / KIT Mini-Workshop

+ SwissFEL “Atomic” Scan Tool Beutner PSI / DESY / KIT Mini-Workshop knob{1} = LoadKnobDefinition('beispielknopf');% setup Knob and Instrument knob{1}.SetpointValues = [1, 2.4, 3, 3.78, 92];% scan setpoints instrument{1} = LoadInstrumentDefinition('messgerät'); Setup.Function = 'scan';% define scan setup Setup.Repeat = 10;% “shots” per scan step Info.Author = 'Beutner';% human readable info Info.Title = 'PSI / DESY / KIT Mini-Workshop'; Info.Purpose = 'this is a small scan tool demo...'; [DAQFileName, Setup, knob, instrument, Info] =... daq(Setup,knob,instrument,Info);% execute scan % …insert your analysis code here…

+ SwissFEL Specialised Scan Tools Beutner PSI / DESY / KIT Mini-Workshop Slit phase space measurements SFITF Phase I: mm mrad ( h36 240pC 4mm) Beutner

+ SwissFEL Specialised Scan Tools Beutner PSI / DESY / KIT Mini-Workshop details on the recent results in Eduards talk

+ SwissFEL PhaseAdvanceScanYquads103050screen10 Phase advance scan for the SwissFEL Injector Test Facility Eduard Prat deg Example: Phase Advance Scan Beutner PSI / DESY / KIT Mini-Workshop21 single knob definitions conversion definition multi knob definition Knobs can be complex objects elementary “real” physical devices, e.g. quardupoles combined knobs (“multiknobs”), e.g. phase advance

+ SwissFEL FINXB_MQUA10 First quadrupole of triplet Rasmus Ischebeck FINXB-MQUA10:I-SET WaitForReadback FINXB-MQUA10:I-READ FINXB_MQUA30 Third quadrupole of triplet … FINXB_MQUA50 Quadrupole … single knob definitions Beutner PSI / DESY / KIT Mini-Workshop22 knobs are defined together with meta information, e.g: Setpoint address Readback address Readback tolerance …

+ SwissFEL [ ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ] [ ; ; e-06; ; ; ;0 0; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ] [ ; ; ; ; ; ;0 0; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ] conversion definition Beutner PSI / DESY / KIT Mini-Workshop23 The abstract multiknob (phase advance) is connected to the physical knobs (quadrupoles) by a conversion table. Conversions can be given as numerical tables or formulas.

+ SwissFEL An Accelerator Data Acquisition & Analysis Framework was developed for SwissFEL (and other facilities) ADAQA is routinely used at the SFITF Scope of applications is not restricted to simple scans, e.g. phase advance scans or slice emittance measurements are a standard application Thank You for Your Attention! Summary Beutner PSI / DESY / KIT Mini-Workshop24