© 2013 Paul Scherrer Institut Slides available at Bolko Beutner, Helge Brands, Rasmus.

Slides:



Advertisements
Similar presentations
IT Technical Support South Nottingham College. Aims Knowledge of the Registry Discuss the tools available to support a technician Gain an understanding.
Advertisements

Network II.5 simulator ..
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut SwissFEL Timing System.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
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.
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.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
PRASHANTHI NARAYAN NETTEM.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Hardware and Software Basics. Computer Hardware  Central Processing Unit - also called “The Chip”, a CPU, a processor, or a microprocessor  Memory (RAM)
Systems Software Operating Systems.
R. Lange, M. Giacchini: Monitoring a Control System Using Nagios Monitoring a Control System Using Nagios Ralph Lange, BESSY – Mauro Giacchini, LNL.
Connecting LANs, Backbone Networks, and Virtual LANs
The TIMING System … …as used in the PS accelerators.
SCADA and Telemetry Presented By:.
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
A. Homs, BLISS Day Out – 15 Jan 2007 CCD detectors: spying with the Espia D. Fernandez A. Homs M. Perez C. Guilloud M. Papillon V. Rey V. A. Sole.
DS200 IDEA GENERAL STRUCTURE. PURPOSEPURPOSE The purpose of this presentation is to explain the setup and the use of DS200 IDEA application.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Input/OUTPUT [I/O Module structure].
Test Of Distributed Data Quality Monitoring Of CMS Tracker Dataset H->ZZ->2e2mu with PileUp - 10,000 events ( ~ 50,000 hits for events) The monitoring.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI EPICS Meeting, Saclay Paul Scherrer Institut SwissFEL Timing System Babak Kalantari.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
The european ITM Task Force data structure F. Imbeaux.
Unit-1 Introduction Prepared by: Prof. Harish I Rathod
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. Computer Software Chapter 4.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut Windows-based camera IOC with a SMB branch Helge Brands.
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
Slide 5-1 Chapter 5 Terms Applications Software for Business Introduction to Information Systems Judith C. Simon.
A Transverse Profile Imager for SwissFEL Rasmus Ischebeck.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
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.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
Matthias Clausen, Gongfa Liu, Bernd Schoeneburg (DESY), ICALEPCS, 2007 XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Redundant EPICS.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
GAN: remote operation of accelerator diagnosis systems Matthias Werner, DESY MDI.
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
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut Synchronous DAQ using.
DIAMON Project Project Definition and Specifications Based on input from the AB/CO Section leaders.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
Wir schaffen Wissen – heute für morgen PSI, March 2013 Paul Scherrer Institut PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics for FELs.
+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN SwissFEL Timing System status & plans Babak Kalantari :: Large Research Facilities /Controls :: Paul Scherrer Institut.
LCLS Commissioning & Operations High Level Software
ALICE Monitoring
ATF/ATF2 Control System
Slice Parameter Measurements at the SwissFEL Injector Test Facility
Chapter 2: System Structures
Development of built-in diagnostics in the RADE framework (EN2746)
LCLS Commissioning & Operations High Level Software
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Introduction to Computer Systems
High Level applications development status
High Level Physics Applications for LCLS Commissioning
Linac Diagnostics Commissioning Experience
Presentation transcript:

© 2013 Paul Scherrer Institut Slides available at Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA ADAQA An Accelerator Data Acquisition & Analysis Framework Bolko Beutner, Helge Brands, Rasmus Ischebeck >The Past >Accelerator Data Acquisition >Design Ideas >The Present >Available Tools >Demo >The Future >Data Acquisition with Large Data Sets at 100 Hz 1 1

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA What Came Before… (my personal collection of accelerator data acquisition) >TESLA Test Facility at DESY, Hamburg >Access to accelerator process variables from MATLAB, C++ (read/write) >Easy to write data acquisition software, scan parameters, record variables… >Data stored in.MAT, ASCII & ROOT files >No common data format >Experts required to set up scan, analyze data… >SLAC LINAC at Stanford, California >VAX-based control system >Scan software to determine the dependency of a variable on a parameter >On-line display & fits >Writes MATLAB 4 files for further analysis 2 2

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Design Goals >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 3 3

Rasmus Ischebeck Data File Format >Hierarchical format to store Instruments >Based on HDF5 >Readable from Matlab, Root, Mathematica… 4 4

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Accelerator Data Acquisition Many accelerator measurements consist of the following tasks: >Control 0…N actuators >Acquire 1…M measurements >Analyze data Important features >On-line analysis >Reasonable error handling >Robust code for use by other persons than the programmer 5 5

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA ADAQA Layers >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 6 6

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA ADAQA Layers >Tree-like structure: >Many devices (roots) >One data acquisition core (trunk) >Many applications (branches) >Building blocks can be exchanged 7 7 Devices Data Acquisition Applications Wikipedia

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Synchronized Data Acquisition >All VME crates for diagnostics are equipped with an Event Receiver >Connected with a star topology network to the Event Generator >Supported for: >BPMs, Bunching monitor, RF, … >Ongoing work: >Laser shutter, oscilloscopes, cameras 8 8 Sven Nordquist

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Abstraction Layers 9 9 Machine Interface >EPICS call >Error handling >Image data conversion EPIC S

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Abstraction Layers 10 Instruments and Knobs >Assemble several connected values >On-line data processing and actions Machine Interface XML files

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Abstraction Layers 11 Instruments and Knobs Scans >Write data file >Make entry in electronic logbook Machine Interface HDF5 files eLog

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Abstraction Layers 12 Graphical User Interfaces >Programmed by different people >Include Data Analysis Instruments and Knobs Scan s Machine Interface

+ SwissFEL SwissFEL Meeting ScreenMonitorTool General Purpose Scan Tools Specialised Scan Tools –Slice Emittance –Optics Matching –Slit Scan –… “Do it yourself! - Scan Tools ADAQA Applications

+ SwissFEL SwissFEL Meeting General purpose camera display and analysis tool In every day use for different kinds of cameras and screen monitors ScreenMonitorTool Dione and Saturn

+ SwissFEL SwissFEL Meeting General Purpose Scan Tool

+ SwissFEL SwissFEL Meeting the future…

+ SwissFEL SwissFEL Meeting 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

+ SwissFEL SwissFEL Meeting Specialised Scan Tools

+ SwissFEL SwissFEL Meeting Specialised Scan Tools

+ SwissFEL SwissFEL Meeting Automatised logbook entries

+ SwissFEL SwissFEL Meeting 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

+ SwissFEL SwissFEL Meeting knob{1} = LoadKnobDefinition('ManagementKnob');% setup Knob and Instrument knob{1}.SetpointValues = [1, 2.4, 3, 3.78, 92];% scan setpoints instrument{1} = LoadInstrumentDefinition('SwissFEL_Meeting_Demo'); Setup.Function = 'scan';% define scan setup Setup.Repeat = 10;% “shots” per scan step Info.Author = 'Beutner';% human readable info Info.Title = 'SwissFEL Meeting Demo'; Info.Purpose = 'this is a small scan tool for demo...'; [DAQFileName, Setup, knob, instrument, Info] =... daq(Setup,knob,instrument,Info);% execute scan % …insert your analysis code here… Do it yourself! - Scan Tools

Image based measurements: today IOC AFS EPICS Control+Data camera workstation Helge Brands control room

Image based measurements: today Problems: available buffers on IOC are not used „lost“ of measured data high frequencies can‘t be reached high CPU load on workstations Helge Brands IOC AFS EPICS Control+Data camera workstation control room

Image based measurements : future DATA Compute-Node Results Results+Data IOC AFS EPICS Control+Preview camera workstation Helge Brands control room

Why? less radiation higher recording speed (10Hz/100Hz) independent of the workstation (CPU and memory) system is similar to SLS (Tomcat, in operation, 1* PCO Edge) Helge Brands

Why? less radiation higher recording speed (10Hz/100Hz) independent of the workstation (CPU and memory) system is similar to SLS (Tomcat, in operation, 1* PCO Edge) BUT Helge Brands

Technical values example: ~30TB/week more storage needed Helge Brands

Specs storage size/speed network (camera IOC) IOC local memory compute nodes WHLA Test-Injector 558 GB/50MB/s 1Gb/s 16GB ~3000 pic 1-2 SwissFEL(?)/(?)10Gb/s(?)min Helge Brands

Current situation WHLA: each Camera-IOC has 1GB/s (enough for 10Hz) 3 PCO Edge in operation + 1 PCO Edge in preperation upload to AFS max 50MB/s software is ready for 100Hz needed network speed 10GBit/s for 100 Hz other GIGE cameras can be used too additional compute nodes should be planned storage policies are needed Helge Brands

>Project started in 2008, always between 5 and 10 developers >Written mostly in Matlab >89093 lines of code (including code sourced from MathWorks Central and other external sources) >Performed scans, resulting in 558 GB of data >A joint project between the Controls, Beam Dynamics & Diagnostics Sections at PSI Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA ADAQA 31 ADAQ A Diagnostics Controls Beam Dynamics

© 2013 Paul Scherrer Institut Slides available at Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Outlook >We are looking forward to many new applications for SwissFEL! >Thank You to: >all ADAQA programmers and users, in particular Eduard Prat, Marta Divall, Peter Peier, Marc Guetg, Gian Luca Orlandi, Bennie Smit & Thomas Schietinger >support from Jan Chrin & Babak Kalantari 32 Sven Nordquist

Bolko Beutner, Helge Brands, Rasmus Ischebeck: ADAQA Thanks to >Fellow programmers >Masamitsu Aiba, Simona Bettoni, Bolko Beutner, Kairat Doshekenov, Natalia Milas, Frédéric Le Pimpec, Eduard Prat, Clemens Ruchert >Former members of the team >Prineah Narang, Bernd Steffen >Future members? >Alexandre Trisorio, Marta Divall >Support from the Controls Section >Damir Anicic, Helge Brands, Jan Chrin, Mirek Dach, Elke Zimoch >SwissFEL High Level Applications organized by Thomas Schietinger >All our users for their bug reports 33