EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.

Slides:



Advertisements
Similar presentations
System Integration and Performance
Advertisements

Device Virtualization Architecture
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
Dayle Kotturi and Stephanie Allison Facility Advisory Committee Meeting April 20-21,
Stephanie Allison/John Dusatko EPICS Collaboration Meeting May 1, Timing and Event System for the LCLS Electron Accelerator*
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Stephanie Allison Integration with the SLC Control April 7, 2005 Introduction PNET Receiver VME Module SLC-Aware IOC Existing.
Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Timing and Event System S. Allison, M. Browne, B. Dalesio, J.
Basic Input/Output Operations
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
Mike Zelazny FAC April 17 th, 2007 Matlab Applications Image Management Bunch Length Measurement Feedback Software Engineers.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
Dayle Kotturi Facility Advisory Committee Meeting October 12, 2004 Injector/Linac Controls An overview of the status of each of.
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
November 12, 2008 Controls Software D. Fairley LCLS Feedback.
Data Acquisition and Control Systems HYTEC ELECTRONICS LIMITED Motor Control and Power Drive Support Graham Cross.
The TIMING System … …as used in the PS accelerators.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
John Dusatko 2012 EPICS Timing Workshop The SLAC Timing System April 24, The Accelerator Timing System at SLAC: Experiences, Ideas & Future Plans.
Micro-Research Finland Oy Timing System Developments Jukka Pietarinen EPICS Collaboration Meeting Shanghai March 2008.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
Micro-Research Finland Oy Components for Integrating Device Controllers for Fast Orbit Feedback Jukka Pietarinen EPICS Collaboration Meeting Knoxville.
Dayle Kotturi Lehman Review May 10-12, 2005 LCLS Timing Outline Scope SLC Master Pattern Generator Introducing the PNET VME receiver.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS-I/LCLS-II Timing System Low Level Kukhee Kim for LCLS Timing Team ICD Software,
1 Timo Korhonen PSI 1. Concepts revisited…again 3. New (Diamond) cards features and status 4. EPICS interface 5. Conclusions SLS & Diamond Timing System.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Rome 4 Sep 04. Status of the Readout Electronics for the HMPID ALICE Jose C. DA SILVA ALICE.
EPICS Collaboration Meeting Timing Workshop April 24, 2012.
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
Fast Fault Finder A Machine Protection Component.
Stephanie Allison LCLS Controls Software Meeting Dec 6, 2007 How To Set Up for the Event System on an IOC with an EVR(s) Assumes.
Dayle Kotturi System Concept Review/Preliminary Design Review November 16, 2005 Timing Outline System Concept Review Requirements.
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
Stephen Norum LCLS Oct. 12, LCLS Machine Protection System Outline Overview of interim MPS Update on the interim MPS.
Controls Zheqiao Geng Oct. 12, Autosave Additions/Upgrades and Experiences at SLAC Zheqiao Geng Controls Department SLAC National Accelerator Laboratory.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut Synchronous DAQ using.
Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng.
Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous.
John Dusatko USPAS Fundamentals of Timing & Synchronization January 25, 2008 / Santa Rosa, CA 1 The LCLS Timing & Event System -
LCLS MPS Upgrade Gasper Jansa, Luciano Piccoli, Jeff Olsen, Garth Brown, Sonya Hoobler, Stephen Norum, Stephanie Allison, Kim Kukhee Adding BSA.
S. Smith LCLS Facility Advisory October 12, Beam Position Monitors Facility Advisory Committee October 12, 2006.
Stephanie Allison LCLS IOC Meeting Jul 18, 2008, Jan 21, 2011 Beam Synchronous Acquisition for IOC Engineers Definition/Requirements.
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
LCLS Commissioning & Operations High Level Software
Beam-Synchronous Data Acquisition (BS-DAQ)
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
SLS Timing Master Timo Korhonen, PSI.
LCLS Timing Software and Plan
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
CS 286 Computer Organization and Architecture
LCLS Commissioning & Operations High Level Software
Event Displays for EVR IOCs
LCLS Timing Outline Scope The order of things
LCLS Event System - Software
EPICS Collaboration Meeting
Timing and Event System for the LCLS Electron Accelerator
LCLS Timing Outline Scope The order of things
SLS & Diamond Timing System update
Beam Synchronous Acquisition on IOC
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
EVG-to-EVR Data Transfer (Dayle Kotturi)
Breakout Session: Controls
LCLS Machine Protection System
Timing and Event System Status DOE Review of the LCLS Project SC5 - Controls Systems Breakout Session S. Allison, M. Browne, B. Dalesio, J. Dusatko,
Presentation transcript:

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing Team ICD Software, SLAC National Accelerator Laboratory October 22, 2012

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, What’s the problem? LCLS is a pulsed machine - timing system rate is 360 Hz LCLS beam rate is 120 Hz Need the ability to send e- from single source to multiple destinations, such as off-axis profile monitor, at different rates Need the ability to track an e- bunch as it traverses through the accelerator The Event Generator (EVG) needs to send out these timing patterns The event consumers need to listen for their specific timing pattern

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Software Stacks for the new EVG application and the PABIG PNETVMTG Acromag DIOEVG BCS SBI Perm BCS Beam Perm 119MHz Clock 360Hz Fiducial TriggerPNET broadcasting Asyn moduleVMTG module EVG Drv/Dev PABIG GenVar Master Beam Control Bits 0 to 8 via CA HW input bits in PABIG EVG Application EPICS DB EDEF reservation for the BSA PNBN PVs from SoftIOC SNL program 476MHz Clock 360Hz Trigger 360Hz Fiducial Trigger 2 nd NIC udpComm mpsComm PNET Task MPS message (beam destination & Perm)

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, EVR Software Stacks/ Form factor & OS dependency VME EVR HardwarePMC EVR Hardware mrfCommon/mrfVme64 drvErMrf devErMrf erRecord BSA EVR Processing Logic Event Module for RTEMS/vxWorks erapi drvLinuxEvr devErMrf erRecord BSA EVR Processing Logic Event Module for linux/linuxRT PMC EVR Hardware Works with old register mapWorks with modular register map (new)

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Beam Synchronous Acquisition (BSA) evGUI is used to program the Pattern Bit Generator (PABIG) to send the timing patterns Event Definitions (EDEFs) are used to listen to specific timing patterns Pattern Bit Names (PNBN) name specific bits in the timing pattern This entire system is called Beam Synchronous Acquisition (BSA)

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, How to use BSA Use the evGUI to set up the EVG Set up EVRs to listen to your pattern Collect your data from IOCs

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Pattern Bit Names

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Pattern Bit Names

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Pattern Bit Names Notice Beam Code are bits 8-12 Notice TCAV is modifier bit 95

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Rate Group

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Rate Group Notice how LCLS is programmed to use time slots 1 & 4 This leads to beam at 120 Hz for a 360 Hz timing system

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Beam Rates

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Beam Rates Notice how LCLS experimenters can request a variety of beam rates 0 Hz 1 Hz 10 Hz 30 Hz 60 Hz 120 Hz Timing system always runs at 360 Hz

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, LCLS 10 Hz Pattern Definition

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, LCLS 10 Hz Pattern Definition Notice that TCAV bit comes out at 1 Hz on time slot 4 for 10 Hz pattern Master Beam Control is a hardware box used to enable the TCAV bit in the timing pattern Pattern repeats every 2 seconds

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, LCLS Master Beam Control

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, How to use BSA Use the evGUI to set up the EVG Set up EVRs to listen to your pattern Collect your data from IOCs

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Reserving an Event Definition (EDEF) Once the timing pattern is set up, how do I use it? Reserve an Event Definition Allows user to listen to specific timing pattern Allocates a set of PV names for user’s specific needs PVs exist for devices that care about beam crossing time (BSA), such as Beam Position Monitors (BPMS)

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Reserving an Event Definition (EDEF) EVG assigned slot 8 for my use

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Look for specific bits in the timing pattern Define mask here Specify number of samples

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Selecting Specific Bits for EDEF

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Start your data collection Start Collecting Data

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Setting up Event Definition Setup Timing Bits Notice TCAV bit is included – required by data acquisition software Notice # Measurements is set to 100 Press ON Wait for data acquisition to complete Data gets buffered on IOC and retrieved over channel access

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, How to use BSA Use the evGUI to set up the EVG Set up EVRs to listen to your pattern Collect your data from IOCs

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Getting Data from IOCs

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, Getting Data from the IOCs Notice how PV names have event definition number, 8, encoded into the PV name Data is buffered on the IOC and can be retrieved over channel access. In our example our application is written in MATLAB and data is retrieved using Lab Channel Access (lca) Data across multiple IOCs listen to the same exact 100 pulses to track single pulses traversing down the accelerator perform beam jitter studies Entire procedure can be done in a MATLAB script LCLS has 877 signals that respond to BSA requests

EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 Thank You!