Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 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.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut SwissFEL Timing System.
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.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
Hamid Shoaee LCLS Facility Advisory Committee April Control System Overview April 16, 2007 Hamid Shoaee for the LCLS Controls.
Dayle Kotturi LCLS Diagnostics and Commissioning Workshop September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004.
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.
Hamid Shoaee LCLS FAC Controls June 17, LCLS Control System Personnel Linac & BC2 Controls progress LTU, Dump Controls.
Dayle Kotturi Facility Advisory Committee Meeting October 12, 2004 Injector/Linac Controls An overview of the status of each of.
Ron Akre, Dayle Kotturi LCLS LLRF April 16, 2007 Linac.
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.
Hamid Shoaee LCLS Control April 20, 2006 LCLS Control System Controls Organization Overview A Progress Report Hamid Shoaee.
ATF2 Q-BPM System 19 Dec Fifth ATF2 Project Meeting J. May, D. McCormick, T. Smith (SLAC) S. Boogert (RH) B. Meller (Cornell) Y. Honda (KEK)
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.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI EPICS Meeting, Saclay Paul Scherrer Institut SwissFEL Timing System Babak Kalantari.
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 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.
LCLS Control Group EPICS Collaboration April 27, 2005 Controls Overview April 27, 2005 Outline Goals Status update.
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.
The recent history and current state of the linac control system Tom Himel Dec 1,
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.
LCLS Control Group FAC – 06 Installation October 27/28, Plans for 2006 Installation October 27, 2005 Installation.
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.
SLAC I&C Division / EE Department
Outline Introduction to LCLS Some background on SLAC Timing
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
LCLS Timing Software and Plan
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
Event Displays for EVR IOCs
LCLS Timing Outline Scope The order of things
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
LCLS Timing Outline Scope The order of things
Low Level RF Status Outline LLRF controls system overview
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:

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 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

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Outline Overview – HW Block Diagram and Reqts Progress since Oct, 2006 Outstanding Issues Task List HW Status & Long-Haul Fiber Issues

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Timing Architecture ~ Linac main drive line FIDO E V G SLC MPG PNETPNET 119 MHz360 Hz SLC pattern Events & Data PNETPNET PP STBSTB EVREVR OCOC TTL-NIM convert. LCLS Digitizer LLRF BPMs Toroids Cameras GADCs TTL SLC Trigs OCOC Old klystrons Events & Data

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Beam Path Existing Control System 119MHz Clock EVREVR Hardware Block Diagram 2007 Commissioning IOCIOC EVGEVG PNETPNET Fiber Distribution: Timing Pattern, Timestamp, Event Codes EVR1EVR1 Acc and Standby Triggers 360Hz Fiducial Beam Rate, Beam Path Future MPS RF Timing Modulator Triggers PADs and PACs FAN1FAN1 FAN2FAN2 FAN3FAN3 EVR1EVR1... IOC1IOC1 CAM1CAM1 EVR8EVR8 IOC8IOC8 CAM8CAM8 Trigger Laser Steering Crate FAN4FAN4 EVR1EVR1 … IOC1IOC1 CAM1CAM1 EVR4EVR4 IOC4IOC4 CAM7CAM7 Profile Monitor Crate CAM2CAM2 CAM8CAM8 … … Triggers IOCIOC BPM FEE Acq and Calibration Triggers BPM Crates Timing Crate LLRF Crate EVR2EVR2 IOCIOC EVR3EVR3 EVREVR IOCIOC TORO FEE Toro Farc Crate

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 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 PNET pattern to be used by SLC-aware 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)

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Event System Requirements, cont Event Receiver IOC: Receive event pattern 8.3 msec before corresponding pulse Set trigger delays, pulse widths, and enable/disable via user requests (not yet done on a pulse-by-pulse basis) 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 (not yet available)

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 EVG Event Time Line – 4 Fiducials F1 (n=1) F2 (n=2) F3 (n=3) Hz Fiducial Time (msec) B0 P0 P1 P2 Receive Fn+3 PNET, determine Fn+3 LCLS pattern, and advance pipeline (n-2->n-1->n) HW starts sending event codes, starting with fiducial event code R1 9.3 R0 R2 E1E2 Set Event Codes in Alt RAM based on the last patterns for Fn+1 E3 F0 (n=0) 8.3 R3 P3 E4 B-3 120Hz BEAM 1.0 L0 L1 L3 Send LCLS pattern L2

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Trigger Event Time Line – 1 Beam Pulse (B0) F3 0 Fiducial Time (usec) B0 Acq Trigger 1023 Beam Kly Standby Record processing (event, interrupt) Fiducial Event Received Event Timestamp, pattern records, and BSA ready Receive pattern for 3 pulses ahead Hardware Triggers Triggering Event Codes Start Kly Accel

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Tallies for 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

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Progress since Oct, 2006 Installation in sector 20 and 21, commissioning in- progress, most timing delays are “iced-in” Finished hardware bench testing Finished PMC-EVR driver EVG sequence RAM programming at 360Hz, conditional logic is primitive but good enough for now Event pattern records and timestamp distribution on the EVR IOCs Finished cabling plans and documentation Finished beam-synchronous acquisition

Trigger Control Display

Trigger Event Assignment Display

EVG Displays

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Issues Outstanding problem (presumably software) where CPU hangs when EVR interrupts are enabled. Some IOCs running without interrupts (hardware triggers but without timestamps, BSA, or event code IRQs). Documentation and help screens sorely lacking. EVG IOC doesn’t know when there’s no beam, only when beam is possible – limits trigger conditions. Software not yet in place to handle hardware and communication errors.

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Tasks Long Haul Fiber Test – next month BC2 (sectors 21 to 30): 60 EVRs to order - 34 VME, 26 PMC 5 fanout modules (1 every 2 sectors) $250K, needed by August SW - only DB and display work planned Still some existing database and display work to do SLC-aware IOC BPM integration still in progress Software - fix hang problem, add HW error detection and recovery Beyond BC2: New LCLS MPS interface BSY/LTU/Undulator Procurement and Plans Changes to EVR firmware to change behavior when multiple triggers on a single pulse Generic trigger delay scan package Bunch charge change on pulse-by-pulse basis? More complex conditional logic for event codes (EVG) and pulse-to-pulse changes in trigger attributes?

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Event System – Hardware Status The New LCLS Event System has been installed in the Injector and S20 We have successfully integrated it with the SLC Timing System (required some mods to EVG) The Event System HW is performing as expected At the first order / Still in its infancy Other than EVR IRQ Problem / HW working The Next HW Challenge is Long-Haul Distribution of Timing

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 IN20 Installation Diagram shows IN20 / LI20 Event System installation Top-Level shows connections to SLC Timing, MDL The EVG Crate is shown with its fanouts to all subsystems

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Event System HW: Long-Haul Dist. For BC2 & beyond, the biggest challenge is Long- Haul distribution of timing data via the Fiber-Optical (F-O) Links Why? MRF Event System is designed around Multi-Mode SFP (Small Form-Factor Pluggable) F-O links which allow a maximum fiber length of ~300 meters Our requirements include runs of several Kilometers (at least) Cannot daisy-chain the event F-O links: exceeds the jitter budget Temperature effects on long fibers – drift, but how bad?

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Event System HW: Long-Haul Dist. Proposed Solution: New HW and some testing Single-Mode, pin-compatible SFP modules are commercially available (Agilent ACFT-57R5) All us to go ~10KM Should plug right into our event system HW Have ordered some, will test when they arrive Still does not solve temperature-induced phase- drift problem Propose to solve by either/and: Running Long Fiber in temperature-controlled environment Re-Syncing EVRs to a locally-distributed 119MHz source

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Event System HW: Special Test Long-Haul Event Fiber System Test: What it will determine: Function of Single-Mode SFP Modules Drift, Trigger time jitter, Phase Noise How: Compare two EVR’s triggers & RF Clocks One EVR Short-Haul Other EVR Long-Haul Also compare to reference RF Clock When: As soon as possible, have all components except EVRs New RF-recovery EVRs due in at end of April

Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Event System – Long-Haul Fiber System Test