Accelerator Science and Technology Centre www.astec.ac.uk ALICE schematic High-Level ALICE Software Development James Jones and Ben Shepherd STFC Daresbury.

Slides:



Advertisements
Similar presentations
A Toolbox for Blackboard Tim Roberts
Advertisements

ALICE Magnets Ben Shepherd MaRS Group ASTeC STFC Daresbury Laboratory.
Commissioning August & September. 2 Agenda 11:20 Coffee 11:30 Introduction Sue S 11:35 Controls (an overview) Brian M 10:55 Controls & Data Acquisition.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
EMMA Data Storage Ben Shepherd Magnetics and Radiation Sources Group, ASTeC EMMA Commissioning Workshop 1-4 December 2009 View slides (with links):
Access 2007 Product Review. With its improved interface and interactive design capabilities that do not require deep database knowledge, Microsoft Office.
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.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Interpret Application Specifications
© Prentice Hall CHAPTER 3 Computer Software.
Russell Taylor Lecturer in Computing & Business Studies.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Chapter 3 Software Two major types of software
XIS™ XML Intranet System. XIS, the XML Intranet System provides the foundation for your database production and management. XIS maximizes the flexible.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
Computer Software.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
ALICE Data Acquisition Ben Shepherd MaRS Group ASTeC STFC Daresbury Laboratory.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.
Classroom User Training June 29, 2005 Presented by:
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Managing your References Sue Bird Bodleian Bio- & Environmental Sciences October 2010.
Chapter 5 Engineering Tools for Electrical and Computer Engineers.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
1 Web Basics Section 1.1 Compare the Internet and the Web Compare Web sites and Web pages Identify Web browser components Describe types of Web sites Section.
Office Live Workspace Visio 2007 Outlook 2007 Groove 2007 Access 2007 Excel 2007 Word 2007.
Trajectory Correction and Tuning James Jones Anthony Scarfe.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Drag and Drop Display and Builder. Timofei B. Bolshakov, Andrey D. Petrov FermiLab.
PITZ – Introduction to the Video System Stefan Weiße DESY Zeuthen June 10, 2003.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
CHAPTER TEN AUTHORING.
1 3. Computing System Fundamentals 3.1 Language Translators.
Multimedia ITGS. Multimedia Multimedia: Documents that contain information in more than one form: Text Sound Images Video Hypertext: A document or set.
Rachelle Howell and Ellen M. Rathje University of Texas at Austin NEEScomm IT Development Team.
Adrian Oates Daresbury Laboratory ALICE Control System July 08.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Computing System Fundamentals 3.1 Language Translators.
Multimedia and Computers Introduction to Computers.
Bruno Muratori (for the EMMA team) STFC, Daresbury Laboratory EMMA commissioning 02/09/08.
Accelerator Science and Technology Centre Extended ALICE Injector J.W. McKenzie, B.D. Muratori, Y.M. Saveliev STFC Daresbury Laboratory,
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Oman College of Management and Technology Course – MM Topic 7 Production and Distribution of Multimedia Titles CS/MIS Department.
EPICS and LabVIEW Tony Vento, National Instruments
Commissioning and Utilisation of ERLP David Holder ASTeC, Daresbury Laboratory.
Tuning Techniques And Operator Diagnostics for FACET at SLAC National Accelerator Laboratory Chris Melton SLAC Accelerator Operations.
Learning Aim B.  In this section, you will consider the resources necessary for designing your website.  You will also think about any constraints that.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
VELA Controls in Mathematica James Jones ASTeC, Daresbury Laboratory 11 th July 2014.
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
Tuning Knobs for ATF2: An Update Anthony Scarfe, James Jones The Cockcroft Institute LCWS’07 31 st May 2007.
1 Programming and problem solving in C, Maxima, and Excel.
+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics.
Capabilities and Programmes of STFC’s Accelerator Science & Technology Centre (ASTeC)
LCLS Commissioning & Operations High Level Software
Project 1 Introduction to HTML.
Slice Parameter Measurements at the SwissFEL Injector Test Facility
LCLS Commissioning & Operations High Level Software
Engineering Tools for Electrical and Computer Engineers
A Virtual Implementation of VELA (CLARA)
High Level applications development status
High Level Physics Applications for LCLS Commissioning
Linac Diagnostics Commissioning Experience
Presentation transcript:

Accelerator Science and Technology Centre ALICE schematic High-Level ALICE Software Development James Jones and Ben Shepherd STFC Daresbury Laboratory, Warrington, Cheshire, WA4 4AD, United Kingdom. PAC 2009: FR5REP028 ALICE Accelerators and Lasers In Combined Experiments 35 MeV, 80pC energy recovery linac based at Daresbury Laboratory Energy recovery demonstrated in December 2008 Aims for 2009: FEL installation, Compton backscattering experiments EPICS & Channel Access ALICE runs on EPICS control system Linux consoles in the control room display synoptics for controlling EPICS parameters directly A.NET Channel Access interface has been developed at Daresbury, allowing easy communication with the control system from Windows consoles This facilitates rapid development of high-level accelerator physics-based applications in a familiar environment, with minimal time spent working on the control system interface Platforms used: Visual Basic.NET Mathematica MATLAB LabVIEW imageViewer Twenty CCD cameras around ALICE capture images of the beam from retractable YAG & OTR screens Live images are displayed on monitors in the control room Images are captured digitally using a PC-based frame grabber (Data Translation DT-3162) A MATLAB program, imageViewer, was written to capture and analyse images imageViewer also connects to EPICS to move the screens in and out of the beam, and selects the screen using the multiplexer in the control room. The beam position and size can be measured horizontally and vertically using a Gaussian-plus-background least-squares fit. Backgrounds can be subtracted from images, and filtering can be performed to reduce pixel noise arising from radiation damage to camera electronics. Series of images can be recorded automatically while varying a parameter – e.g. quadrupole scans for emittance measurements. Images saved in PNG format on file server for later analysis. MATLAB has excellent data handling facilities, and tools for image analysis. Complex GUIs easy to build and maintain using GUIDE. The code was optimised using the Profiler, which highlights the lines of code where most time is spent. Maximum image processing rate: about 3 Hz. Compression Chicane Tracking Mathematica notebook Implements field measurements of dipoles in bunch compressor Magnetic fields are calculated for a given set of dipole currents Used to plot beam trajectory through the chicane Link to EPICS to directly control magnet currents and plot BPM read backs Currents adjusted interactively and trajectory updated automatically using native Mathematica capabilities Low intensity on central screen in chicane; BPM readings unreliable at low bunch charge Very effective tool for optimising THz output Machine Status Server AutoIt compiled script Serves lists of parameters in HTML or JSON format from a control room console During accelerator physics commissioning shifts, parameters can be automatically recorded in the ALICE eLog for future reference Parameter lists are also stored on the ALICE file server in a format readable by EPICS’ Back-Up and Restore Tool (BURT); the machine can then be quickly restored to a previous state ELOG edit page Machine area buttons Machine status tables: magnet settings, RF settings, etc. BPM Viewer & visualSteer LabVIEW virtual instruments BPM Viewer: shows a graphical display of the horizontal and vertical BPM readouts visualSteer: interactive control of the horizontal and vertical corrector magnets Collaborative Documentation ALICE manual stored on a web server in Wiki format Can be accessed by anyone using a web browser Manual pages can be easily edited by anyone on the ALICE team No special software or knowledge of HTML markup required All changes are tracked; pages can be ‘rolled back’ to previous versions if necessary Flat structure with ‘Categories’ to group pages together Introduction Modern accelerators require rich and complicated control system software to work effectively In recent years with the introduction of channel access based control systems, such as EPICS, it has become commonplace to create and use control system written outside of the traditional programming languages such as C or Fortran. With limited manpower it is increasingly important that physicists write their own software, leaving control systems engineers to concentrate on the underlying systems. The increasing ease of programming using software packages such as MATLAB, Mathematica and LabVIEW, has made this task simpler. All of these codes now also allow rich GUIs to be produced in less time than ever before. Online Model Mathematica GUI Interacts with control system through.NET EPICS interface. Parameter determination is performed by: Mathematica Lattice Code (MLC) – Linear lattice code written in Mathematica. Easily customisable. Fast. MAD-8 – Interacts using the MADInput and mfs packages. Consistent with the baseline ALICE design. Can look at All or just sections of the machine Allows ‘matching’ from section to section Features model positions and beam-sizes as seen at BPMs and YAG screens Model features in-built Nelder-Mead Simplex optimisation Can optimise on Twiss parameters Quadrupole Strengths Dipole Strengths Variables include Starting parameters Quadrupoles Dipoles YAG Screen Data BPM Data Twiss Plot Quadrupole Controls Beam Size Analysis and Twiss Determination Mathematica notebook analyses data saved with imageViewer. Uses MAD-8 or MLC to determine R-matrix settings Attempts to automate process are limited by Frame-Grabber ActiveX interface. Conclusions The use of an EPICS control system on the ALICE machine, and the corresponding ease of data extraction within a multitude of high- level coding platforms, has allowed the rapid development of useable machine software. The use of many different software programming languages allows the restrictions or disadvantages of any one programming language to be mitigated, and helps to ensure that software is written in the most appropriate manner. With the introduction of advanced GUI building capabilities in all of these packages, the inherent difficulties in using a wide number of packages has effectively been negated, and control software programming is no longer strictly tied to the ‘lowest common denominator’ programming language. Analysing a beam image at YAG-03 DIP-01 DIP-02 DIP-03 DIP-04  beam direction