Breakout Session: Controls

Slides:



Advertisements
Similar presentations
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Advertisements

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*
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 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.
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.
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.
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.
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 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.
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.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
Controls Test Stand Test stand proposal document review - Dayle. The activities can be prioritized according to which measurements we need to do first.
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.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN SwissFEL Timing System status & plans Babak Kalantari :: Large Research Facilities /Controls :: Paul Scherrer Institut.
MicroTCA Development and Status
LCLS_II High Rep Rate Operation and Femtosecond Timing
SLAC I&C Division / EE Department
Outline Introduction to LCLS Some background on SLAC Timing
Beam-Synchronous Data Acquisition (BS-DAQ)
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
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
LLRF Controls Outline Requirements External Interfaces Schedule Design
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
LCLS Timing Outline Scope The order of things
Low Level RF Status Outline LLRF controls system overview
Linac Coherent Light Source (LCLS) Low Level RF Status
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
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:

Breakout Session: Controls 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 and HW Block Diagram Performance of timing system for injector commissioning Outstanding Issues Task List BC2 installation Status & Long-Haul Fiber Issues

Timing and Event Architecture New LCLS Timing System ~ Linac main drive line Low Level RF FIDO Beam Synchronous Acquisition 119 MHz 360 Hz SLC MPG P N E T I O C E V G F A N SLC events LCLS events fiber distribution Precision<10 ps * EPICS Network Digitizer LLRF BPMs Toroids Cameras GADCs SLC klystrons I O C E V R D E V TTL * m P P N E T S T B TTL-NIM convert. *MicroResearch SLC Trigs

Hardware Block Diagram 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 Beam Rate, Beam Path Fiber Distribution: Timing Pattern, Timestamp, Event Codes TORO FEE 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 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 F A N 4 E V R I O C Profile Monitor Crate Toro Farc Crate … …

Progress since Oct, 2006 Installation in sector 20 and 21 commissioned ! Successfully integrated it with the SLC Timing System Finished hardware bench testing Finished PMC-EVR driver EVG sequence RAM programming at 360Hz, conditional logic is fairly basic, but does the job. Event pattern records and timestamp distribution on the EVR IOCs Finished cabling plans and documentation Finished beam-synchronous acquisition

Diagram shows IN20 / LI20 Event System installation 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

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 now available for BC2 installation All acquisition electronics using either internal clocks, clock output from the RF timing system, or other external clocks

Event System Functionality 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 (event definition or EDEF) Check for match between user EDEFs and input PNET pattern at 360Hz and tag matches in outgoing pattern

Event System Functionality, cont Event Receiver IOC: Set trigger delays, pulse widths, and enable/disable via user requests (not yet done on a pulse-by-pulse basis) Set event code per trigger (triggering done in HW when event code received) Receive event pattern 8.3 msec before corresponding pulse Perform beam-synchronous acquisition based on tags set by EVG in the event pattern Perform beam-synchronous acquisition for the SLC-aware IOC based on the PNET part of the event pattern Process pre-defined records when specific event codes are received (not yet available – bug!)

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

Trigger Event Time Line – 1 Beam Pulse (B0) Record processing (event, interrupt) Hardware Triggers Receive pattern for 3 pulses ahead Triggering Event Codes Start Beam Kly Standby Event Timestamp, pattern records, and BSA ready Acq Trigger Kly Accel Fiducial Event Received Fiducial F3 B0 18 500 1023 Time (usec) 0.3 100

Trigger Control Display

Trigger Event Assignment Display

EVG Displays

The Event System HW is performing as expected Issues The Event System HW is performing as expected At the first order - still in its infancy 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 still to be done. 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.

LCLS Event System for Beam Synchronous Data Acquisition All pulsed readback devices BPMs Cameras RF phase and amplitude Bunch length monitors Loss monitors Can be read simultaneously on a single pulse, throughout the machine With a repetition rate of 120 Hz

Beam Synchronous Acquisition (BSA) EVG Event Definitions (EDEFs) are used for BSA EDEF includes: Beam code SLC PNET bits and LCLS Modifier bits No. of pulses to average, no. of pulses to measure Client or System name Permanent System EDEFs that 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

User interface for defining an Event Def

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

Current Activities Software - fix hang problem, add HW error detection and recovery Next installation phase is BC2 (sectors 21 to 30): 60 EVRs to be ordered - 34 VME, 26 PMC – critical path 5 fanout modules (1 every 2 sectors) SW - only DB and display work planned Long Haul Fiber Test Integrate new LCLS MPS and Master Pattern Generator (MPG): Make EVG aware of MPS trips Rate-liming logic including beam “burst” and “single-shot” modes Send out PNET pattern to EVG and CAMAC controls (for modulator triggers) Beyond BC2: 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?

Challenges in extending the LCLS timing system beyond the injector biggest challenge is Long-Haul distribution of timing data via the Fiber-Optical (F-O) Links Reasons 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?

Long-Haul Fiber Distribution Proposed Solution: New HW and some testing Single-Mode, pin-compatible SFP modules are commercially available (Agilent ACFT-57R5) Allows us to go ~10KM Plugs into our event system HW Does not solve temperature-induced phase-drift problem Solve this by: Running Long Fiber in temperature-controlled environment Re-Syncing EVRs to a locally-distributed 119MHz source Long-haul fiber test: Function of Single-Mode SFP Modules Drift, Trigger time jitter, Phase Noise

Long-Haul Event Fiber System Test What it will determine: Function of Single-Mode SFP Modules Drift, Trigger time jitter, Phase Noise Compare two EVR’s triggers & RF Clocks One EVR Short-Haul Other EVR Long-Haul Also compare to reference RF Clock