Timing and Event System S. Allison, M. Browne, B. Dalesio, J

Slides:



Advertisements
Similar presentations
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing.
Advertisements

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.
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*
S. Smith LCLS Facility Advisory April 16, BPMs and Toroids Facility Advisory Committee April 16, 2007 System overview.
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.
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
Dayle Kotturi Controls April 29, 2004 Injector Controls LCLS Facility Advisory Committee April 29-30, 2004 Outline Description.
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.
Patrick Krejcik LCLS November 11-12, 2008 SLAC National Accelerator Laboratory 1 Post-commissioning Controls Enhancements.
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.
INTRODUCE OF SINAP TIMING SYSTEM
Overview of SINAP Timing System Electronics Group Beam Diagnostics & Control Division SINAP.
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
Status of BEPCII Timing System Presented by Ge Lei IMAC 2006.
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 Timing System Modules Jukka Pietarinen EPICS Collaboration Meeting, Argonne, June 2006.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
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.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.
EPICS Collaboration Meeting Timing Workshop April 24, 2012.
Outline Introduction to LCLS Some background on SLAC Timing
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.
REDNet - Status overview Rok Stefanic Ziga Kroflic
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.
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.
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.
Krzysztof Czuba, ISE, Warsaw ATCA - LLRF project review, DESY, Dec , XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Master Oscillator.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN SwissFEL Timing System status & plans Babak Kalantari :: Large Research Facilities /Controls :: Paul Scherrer Institut.
SLAC I&C Division / EE Department
Outline Introduction to LCLS Some background on SLAC Timing
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Introduction Functional Requirements (Stephanie) SLC Executive (Diane)
SLS Timing Master Timo Korhonen, PSI.
LCLS Timing Software and Plan
Event Displays for EVR IOCs
LLRF and Beam-based Longitudinal Feedback Readiness
LCLS Timing Outline Scope The order of things
A Portion of the SCP RF Control System LCLS Related
LCLS Event System - Software
Low Level RF Status Outline LLRF controls system overview
EPICS Collaboration Meeting
Timing and Event System for the LCLS Electron Accelerator
FPGA Based Trigger System for the Klystron Department
LCLS Timing Outline Scope The order of things
Low Level RF Status Outline LLRF controls system overview
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)
Low Level RF Status Outline Overview showing hardware instances
Breakout Session: Controls
LCLS Machine Protection System
Vacuum Controls Stephen Schuh Tom Porter 25 October 2006
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:

Timing and Event System S. Allison, M. Browne, B. Dalesio, J Timing and Event System S. Allison, M. Browne, B. Dalesio, J. Dusatko, R. Fuller, A. Gromme, D. Kotturi, P. Krejcik, S. Norum, D. Rogind, H. Shoaee, M. Zelazny

Outline Overview – HW Block Diagram and Reqts Progress since April, 2006 Outstanding Issues Task List The Event Definition system - EDEFs

Timing Architecture ~ Linac main drive line FIDO SLC E MPG V G 119 MHz 360 Hz SLC MPG P N E T E V G I O C SLC events LCLS events LCLS Digitizer LLRF BPMs Toroids Cameras GADCs Old klystrons I O C E V R TTL m P P N E T S T B TTL-NIM convert. SLC Trigs

Hardware Block Diagram Early 2007 Commissioning Modulator Triggers Existing Control System Beam Path Acq and Calibration Triggers BPM FEE PADs and PACs Timing Crate Acc and Standby Triggers E V G F A N 1 F A N 2 P N E T I O C E V R I O C E V R 1 E V R 2 E V R 3 I O C 360Hz Fiducial RF Timing BPM Crates LLRF Crate 119MHz Clock Future MPS Fiber Distribution: Timing Pattern, Timestamp, Event Codes Beam Rate, Beam Path Triggers Triggers Trigger F A N 3 E V R 1 C A M 1 I O C 1 ... E V R 8 C A M 8 I O C 8 F A N 4 E V R 1 C A M 1 C A M 2 I O C 1 … E V R 4 C A M 7 C A M 8 I O C 4 Laser Steering Crate Profile Monitor Crate … …

Event Generator (EVG-200) Event Receiver (EVR-200-RF) Micro-Research Finland Oy SFP transceiver Optical signal to EVRs (fan-outs) RF input Event clock divided from RF EVG-200: /4, /5, ... /12 Recovered RF output Programmable outputs 5 TTL level 2 LVPECL level External trigger input SFP transceiver Optical signal from EVG (or fan-out) Line syncronisation input 360 Hz

Event System Requirements Event Generator IOC: Send out proper event codes at 360Hz based on: PNET pattern input (beam code and bits that define beam path and other conditions) Add LCLS conditions such as BPM calibration on off-beam pulses , diagnostic pulse etc. Future – event codes also based on new MPS and user input Send out system timestamp with encoded pulse ID from PNET Send out event pattern to be used by SLC-aware IOCs and conditional logic on the EVR IOCs Manage user-defined beam-synchronous acquisition measurement definitions Check for match between user meas definitions and input PNET pattern at 360Hz and tag matches in outgoing pattern MPS Algorithm Processors and Master Pattern Generator (MPG): Rate-liming logic including beam “burst” and “single-shot” modes Send out PNET pattern to EVG and CAMAC controls (for modulator triggers)

Event System Requirements, cont Event Receiver IOC: Receive event pattern 8.3 msec before corresponding pulse Set trigger delays, pulse widths, and enable/disable Set some trigger delays and enable/disables at 120Hz max based on the incoming pattern and local conditions on the IOC – list of conditions under determination Perform beam-synchronous acquisition based on tags set by EVG in the pattern Perform beam-synchronous acquisition for the SLC-aware IOC based on the PNET part of the event pattern Set event code per trigger (triggering done in HW when event code received) Process pre-defined records when specific event codes are received

Tallies for Early 2007 Commissioning # EVRs = 31 (mostly PMC) # IOCs with EVRs = 28 # EVR Fanouts = 4 # Hardware Triggers = 120 and counting All TTL except 2 NIM triggers for QDCs Most require short cables (except LLRF) EVR with clock not yet available All acquisition electronics using either internal clocks, clock output from the RF timing system, or other external clocks

Progress since April, 2006 Hardware problems identified by CPE engineers: 119MHz clock input – no divide-by-one available on EVG, special chip added to board to provide direct clock input Cannot use EVG AC-line input for 360Hz fiducial without mod to FPGA (or design a special EVG transition module) Procurement finished Two test stands equipped and available Identified EVR IOCs and triggers needed for early commissioning Added more people of various disciplines (all part- time) to timing team

Issues Way behind in all tasks, significantly: Interface control document Hardware testing – jitter, fanout testing, etc Software testing Beam-synch-acq implementation just begun Cabling plans and documentation Triggering conditions (when to trigger and which event code and delay to use) are pushing more logic from EVG IOC to EVR IOC Need a full-time timing system engineer

Tasks – Hardware and Low Level SW Finish hardware bench testing Finish PMC-EVR driver EVG sequence RAM programming at 360Hz EVR trigger attribute change logic at 120Hz Event pattern records and timestamp distribution on the EVR IOCs Finish cabling plans and documentation Installation in sector 20 and 21

Tasks: High-Level Software Beam Synchronous Acquisition Integration with SLC-aware BPM acquisition

Beam Synchronous Acquisition (BSA) EVG Event Definitions (EDEFs) are used for BSA EDEF includes: Beam code SLC PNET bits and LCLS Modifier bits # to average, # to measure Client or System name Permanent System EDEFs are always active 1Hz, 10Hz, Full, Single Shot, Feedback Available to all clients Client applications may reserve a Client EDEF Client receives EDEF # assignment on demand Client proceeds to fill out definition, then sets “GO”

Slots for 20 possible Event Definitions allocated User Defs Fixed Defs

Synthesizing the EVG Broadcast MPG PNET bits 0x0 0x0 0x0 MPG PNET bits 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 LCLS bits 0x0 0x0 0x3 0x0 Upon match, set “event bit(s)” EDEF EVG to EVR Broadcast 0x0 0x0 0x0 0x0 0x0 inclusion mask 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 exclusion mask 0x0 0x0 0x0 0x0 0x0 EVR IOCs

User interface for defining an Event Def

Beam Synchronous Acquisition EVG broadcast at 360Hz checks all active EDEFs against PNET / LCLS Modifier pattern For every pattern to EDEF match, EVG sets appropriate “event bit” EVR IOC BSA device data is fanned out to 20 buffers Identified by its EDEF # or system name Enabled/disabled for acquisition by its “event bit”

Example of Data Fanout 20 Buffers One for each EDEF 2800 samples per buffer