Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.

Slides:



Advertisements
Similar presentations
The Complete Technical Analysis and Development Environment An attractive alternative to MATLAB and GAUSS - Physics World.
Advertisements

SYSTEM PROGRAMMING & SYSTEM ADMINISTRATION
Current Status of Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda,
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.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
Scientific Programming MAIN INPUTINITCOMPUTEOUTPUT SOLVER DERIV FUNC2 TABUL FUNC1 STATIC BLASLAPACKMEMLIB.
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.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
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.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
What is R Muhammad Omer. What is R  R is the programing language software for statistical computing and data analysis  The R language is extensively.
Console Application Programming Brian Hendricks. Getting Started On the web –New user help adcon.fnal.gov/controls/clib/new_user.html –Library help adcon.fnal.gov/controls/libraries.html.
8/21/2015J-PARC1 Data Management Machine / Application State Data.
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
INTRODUCTION TO WEB DATABASE PROGRAMMING
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
CHAPTER FOUR COMPUTER SOFTWARE.
Introduction to Interactive Media Interactive Media Tools: Software.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
All rights reserved, property and © CAD Computer GmbH & Co.KG 2009 Cover page.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
All rights reserved, property and © CAD Computer GmbH & Co.KG 2009 Cover page.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Software Project Planning Defining the Project Writing the Software Specification Planning the Development Stages Testing the Software.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Verified Network Configuration. Verinec Goals Device independent network configuration Automated testing of configuration Automated distribution of configuration.
Kazuro Furukawa, KEK, Jul KEK Linac Operation and Stability Linac Mini-Workshop 2006, IHEP, Beijing 1 KEK Linac Operation (Some Experiences) Kazuro.
FLASH Operation at DESY From a Test Accelerator to a User Facility Michael Bieler FLASH Operation at DESY WAO2012, SLAC, Aug. 8, 2012.
DESY: From High Energy Physics to Synchrotron Radiation Accelerator Operation in a changing Environment Michael Bieler DESY: From High Energy Physics to.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Slide title minimum 48 pt Slide subtitle minimum 30 pt Tracing Framework Tracing and monitoring Framework (TMF) TCF Agent LTTng integration
1 BROOKHAVEN SCIENCE ASSOCIATES Storage Ring Commissioning Samuel Krinsky-Accelerator Physics Group Leader NSLS-II ASAC Meeting October 14-15, 2010.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 12, 2010.
LHC online modeling Mark IV LHC online modeling Mark IV Piotr Skowroński Tobias Persson Agnieszka Szczotka Jaime Coello de Portugal Lukas Malina Mattias.
Mantid Stakeholder Review Nick Draper 01/11/2007.
1 KEKB Archiving Dec Tatsuro KEK.
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
Determination of precise model of a storage ring using response matrix fit: Application to Advanced Photon Source and Tevatron V. Sajaev, ANL Tevatron.
SASE optimization with OCELOT Sergey Tomin other co-workers: I. Agapov, G. Geloni, I. Zagorodnov.
… Work in progress at CTF3 … Davide Gamba 01 July 2013 Study and Implementation of L INEAR F EEDBACK T OOLS for machine study and operation.
Project Planning Defining the project Software specification Development stages Software testing.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
11/18/2004 FNAL Advanced Optics Measurements at Tevatron Vadim Sajaev ANL V. Lebedev, V. Nagaslaev, A. Valishev FNAL.
JLab Accelerator Controls Matt Bickley MaRIE discussion April 26, 2016.
J. Snuverink and J. Pfingstner LinSim LinSim Linear Accelerator Simulation Framework with PLACET an GUINEA-PIG Jochem Snuverink Jürgen Pfingstner 16 th.
+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
Lesson 9: SOFTWARE ICT Fundamentals 2nd Semester SY
LCLS Commissioning & Operations High Level Software
Wright State University
Weiming Guo Accelerator Physics Group / ASD Advanced Photon Source
Orbit Response Matrix Analysis
MATLAB Distributed, and Other Toolboxes
Steering algorithm experience at CTF3
Automation and Feedbacks
LCLS Commissioning & Operations High Level Software
Cover page.
Objective of This Course
OCELOT orbit correction and optimizer
Introduction To Simulink
High Level applications development status
High Level Physics Applications for LCLS Commissioning
Introduction To MATLAB
Presentation transcript:

Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon Source

Michael Borland Advanced Photon Source Introduction 1 High-level applications at APS are based on - A common self-describing file protocol. - A toolkit of commandline programs that manipulate such files. - Tcl/Tk scripts to manage these programs and create GUIs. 1 The protocol and programs are called "SDDS", for Self-Describing Data Sets

Michael Borland Advanced Photon Source Outline of Presentation 1 Concept and implementation 1 What is self-describing data? 1 SDDS file protocol and applications 1 SDDS toolkit programs 1 Advantages and problems 1 Who uses SDDS? 1 Applications 1 Demos

Michael Borland Advanced Photon Source Concept 1 A generic data processing algorithm: Output = O n... O 2 O 1 Input 1 Write programs that act as operators. 1 Define a generic data-containing object for the operand. 1 Applying sequences of programs creates arbitrarily complex transformations. 1 Programs are re-used in many unrelated applications.

Michael Borland Advanced Photon Source Examples of the Concept 1 Simple lifetime measurement: acquireData | compute(Log) | fitPolynomial | display 1 Robust lifetime measurement: acquireData | compute(Log) | fitPolynomial | removeOutliers | fitPolynomial | display 1 Beam history analysis: acquireData | FFT | smooth | peakfind | collect(ByBPM) | display 1 Find the noisiest power supply: acquireData | compute(Stats) | collect(BySupply) | sort | display

Michael Borland Advanced Photon Source Implementation 1 Consistently used a simple, common self-describing file protocol for data. 1 Wrote generic, commandline programs using these files - Data collection - Data analysis - Graphics - Process control 1 Used Tcl/Tk script language to - Record/create sequences - Create GUIs

Michael Borland Advanced Photon Source What is Self-Describing Data? 1 Identified and accessed by name only 1 Units, data type, and other meta-data are included. 1 Advantages: - Truly generic programs possible - Programs can verify and adapt to file contents - Augment file contents without breaking applications - Self-documenting - Integrates simulation, control system, and other data sources

Michael Borland Advanced Photon Source SDDS File Protocol

Michael Borland Advanced Photon Source Examples of Uses of SDDS Files 1 Back-up and restore files (BURT) 1 Archival data from machine monitoring 1 Alarm history data 1 Magnet conditioning instructions 1 Waveforms from scopes and network analyzers 1 Beam profile and images 1 Feedback matrices 1 Orbit correction configuration data 1 Beam position monitor status database

Michael Borland Advanced Photon Source SDDS Toolkit Programs 1 SDDS is used by a group of about 70 generic programs 1 Most of these "SDDS Toolkit" programs both read and write SDDS files, so - They can be used sequentially - Even simple tools become useful and productive 1 About 20 EPICS-specific programs use SDDS 1 Programs are commandline driven and hence scriptable

Michael Borland Advanced Photon Source SDDS Toolkit Capabilities 1 Device-independent graphics 1 Equation evaluation 1 Data filtering, sorting, collection, and cross-referencing 1 Statistics, correlation analysis, and histograms 1 Polynomial, exponential, and gaussian fitting 1 Outlier analysis and removal 1 Matrix operations 1 FFT and digital filtering 1 Derivatives and integrals 1 Conversion to/from text and other formats

Michael Borland Advanced Photon Source SDDS/EPICS Toolkit Capabilities 1 Time-series data collection and statistics collection* 1 Glitch/trigger initiated data collection* 1 Synchronized data collection 1 Alarm data collection* 1 Experiment execution** 1 Snapshot save, restore, and ramp** 1 Feedforward, feedback**, and optimization** *Used at APS for continuous archiving. **Used at APS for routine operations.

Michael Borland Advanced Photon Source Advantages of SDDS 1 Tools for on-the-fly experiments, data analysis, etc. 1 Permits very rapid testing, implementation of ideas 1 Gives "muscle" to Tcl/Tk scripts 1 Simplifies the development of new applications 1 New programs have an amplified and often unexpected payoff 1 Analysis capabilities comparable to MATLAB or IDL, but SDDS is free 1 Open source

Michael Borland Advanced Photon Source Problems/Complaints 1 SDDS commandline tools are hard to use for newcomers and occassional users. 1 SDDS files are not random-access files. A page is read into memory, following which the application requests copies of needed data. 1 Does not provide cross-platform reading of binary files. (Solved in next release.) 1 Slower execution than custom code.

Michael Borland Advanced Photon Source Who Uses SDDS? 1 APS depends on SDDS for accelerator operation, archiving, data analysis, and simulation. 1 IPNS uses SDDS for archiving, analysis, and display. 1 RHIC uses SDDS files throughout the control system but doesn't use SDDS tools at present. 1 BESSY II uses SDDS files and tools for data archiving, automated processing, and some applications. 1 DESY is adopting SDDS files for their data archives. 1 SNS has some limited experimental use of SDDS. 1 Accelerator simulators (ANL, DESY, LBL, SLAC,...)

Michael Borland Advanced Photon Source Selected Accelerator Physics Activities Performed with SDDS 1 Magnetic measurement data analysis 1 Magnet conditioning and configuration* 1 Model-independent steering* 1 Obit/trajectory response matrix measurement* 1 Orbit correction* 1 Insertion device beamline steering* 1 Tune and chromaticity measurement* 1 Beta-function and dispersion measurement and correction* *GUI application

Michael Borland Advanced Photon Source Selected Accelerator Physics Activities Performed with SDDS 1 Dynamic aperture measurement* 1 Energy aperture measurement* 1 Physical aperture search 1 BPM-to-quadrupole offset measurements with beam* 1 BPM intensity dependence measurement and compensation* 1 Automated BPM timing scans and timing setup.*

Michael Borland Advanced Photon Source Selected Accelerator Physics Activities Performed with SDDS 1 Transport line emittance measurement and beta-function matching* 1 Bunch length measurement using rf zero-phasing* 1 Automated processing of beam spot images from SASE FEL experiments*