Timing and Event System for the LCLS Electron Accelerator

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*
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.
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.
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.
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 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.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
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.
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,
SLAC Aerial View. SLAC Timing System Specifications Blue Book: (~1968) - Resolution: 50 nSec - Jitter: 15 nSec - Main Trigger Line Waveform: + /
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
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.
9530 T IMING C ONTROL U NIT Features TCU-1 Key Features 250ps timing resolution with < 50ps jitter 8 independent outputs with full individual programming.
LCLS Commissioning & Operations High Level Software
LCLS_II High Rep Rate Operation and Femtosecond Timing
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)
ATF/ATF2 Control System
SLS Timing Master Timo Korhonen, PSI.
LCLS Timing Software and Plan
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
LCLS Commissioning & Operations High Level Software
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
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
LCLS RF Stability Requirements
SLS & Diamond Timing System update
Beam Synchronous Acquisition on IOC
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
Breakout Session SC5 – Control Systems
EVG-to-EVR Data Transfer (Dayle Kotturi)
2007 Downtime Controls Installation
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,
Breakout Session SC3 – Undulator
Presentation transcript:

Timing and Event System for the LCLS Electron Accelerator

Outline Introduction Architecture and Pictures Issues and Tasks

LCLS Introduction The Linac Coherent Light Source is an X-ray FEL based on the SLAC Linac: 1.0nC, 14GeV e- are passed thru an undulator, a Self Amplifying Stimulated Emission process produces 1.5 Angstrom X-Rays. LCLS is an addition to the existing SLAC Linac: it uses the last 1/3 of the machine This is important to note because we have to integrate the New LCLS Timing System with the Existing Linac (SLC) Timing System.

(pre-LCLS) SLAC Accelerator Complex (Lots of Pieces)

Existing SLAC Timing System The Linac is a Pulsed Machine (get a packet of beam per pulse) runs at a max of 360Hz (120Hz) Three Main Timing Signals: 476MHz Master Accelerator Clock (runs down 2mile Heliax Main Drive Line cable) 360Hz Fiducial Trigger (used to ‘tell’ devices when the beam bunch is present) / encoded onto the 476MHz master clock 128-Bit PNET (Pattern Network) Digital Broadcast (contains trigger setup, beam type & rate information)

New LCLS Timing System Old CAMAC System is no longer viable for new Systems (performance limited, obsolete) Seek to implement a new Timing System that has similar functionality, better performance, and can be laid atop the old system, working alongside it In addition, LCLS has its own master oscillator (PLL sync’d with Linac MO) and local phase reference distribution system at S20 LCLS Electron Accelerator is VME based (most CPUs are MVME6100), using High-Speed digital serial links to send Clock, Trigger and Data all on one optical Fiber to timing clients. Uses commercial hardware (MicroResearch Finland) So far for the electron side, there are >80 EVRs (mostly PMC) and >10 fanout modules.

LCLS Timing/Event System Architecture ~ Linac main drive line Low Level RF FIDO PDU Raw 360 Hz LCLS Timeslot Trigger LCLS Timing System components are in RED LCLS Master Oscillator 476 MHz Linac Master Osc Sync/Div 119 MHz 360 Hz System is based around the EVent Generator and EVent Receiver 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 Wire Scanner SLC klystrons I O C E V R D E V TTL * m P P N E T P D U TTL-NIM convert. *MicroResearch SLC Trigs

LCLS Systems – Master Timing Rack Master FODU Connects fibers to Long-Haul Trunks for entire machine Master Timing Crate Contains: VME CPU VME PNET Rx EVG Master Fanouts 119MHz Synchronizer Chassis

LCLS Timing System – BPM Client BPM Crate w/VME-EVR Rx FODU & Fanout Crate Rear of BPM Crate / Showing Trigger Rear Transition Module

LCLS Timing System – Other Clients Toroid Crate w/PMC-EVR Profile Monitor Crate w/ (4) CPUs & PMC-EVRs MCOR Magnet Crate Rear of Toroid Crate / Showing Trigger Rear Transition Module

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 timing pattern, including EPICS timestamp with encoded pulse in nsec. part on timing fiber Manage user-defined beam-synchronous acquisition measurement definitions

Trigger Generation Process How an LCLS trigger is generated: PNET message broadcast from old timing system (following a Fiducial) VME PNET receiver in LCLS Master Timing Crate rx's the PNET broadcast and gen's IRQ to VME CPU The Master Timing VME CPU takes the PNET data and uses it to assign the proper event codes (MPG xmits pipelined pattern data 3 fids ahead) Event Codes setup in EVG one cycle ahead Next Fiducial is Sent  360Hz Fiducial signal rx'd by EVG The EVG begins to send out the event codes in its Sequence RAM The event codes get sent across the serial fiber links to the EVRs Inside the EVR, its mapping RAM (assoc memory) is set to map a specific HW trigger to an event code. When the Event Code matches the same value in the mapping RAM, a hit is generated and after a programmed delay, a HW trigger is output from the EVR to the device.

Event System Requirements, 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 timing pattern 8.3 msec before corresponding pulse. Provide EPICS timestamp to record processing. Perform beam-synchronous acquisition based on tags set by EVG in the timing pattern. Process pre-defined records when specific event codes are received – not used much yet.

EVR IOC Time Line – 1 Beam Pulse (B0) Record processing (event, interrupt) Hardware Triggers Receive pattern for 3 pulses ahead Triggering Event Codes Beam Kly Standby Event Timestamp, pattern records, and BSA ready Start End Acq Trigger Kly Accel Fiducial Event Received Fiducial Fiducial F0 B0 … F1 ~40 ~500 1023 2778 0.3 100 110 Time (usec)

Issues and Tasks Modifications to EVG HW and firmware for 119MHz clock input and AC line input. Changing an event code for a specific trigger requires a change in the delay to trigger at the same time – need database to automate the change Need to get status of RF clock into the control system “Trigger Storms”: Due to LCLS Master Osc unlocking / Fix: New MO / De- Couple LCLS Timing Sys from it (connect direct to MDL) Need interface to MPS over private UDP at 360hz Need global kicker control (single-shot, burst) done by EVG instead of locally. Record processing at beam rate (up to 120hz) – some processing delays seen: Too many records in one lockset. Some records pick up wrong timestamp when delayed too long and data cannot be correlated with other data on other IOCs. Some records need to have TSE field properly set. Too many CA clients monitoring PVs at beam rate instead of snapshot PVs provided at a slower rate. Not an issue but interesting - some beam diagnostic (ie, BPM) IOC engineers choosing to trigger at max possible rate and then use the timing data to decide if record processing required or to set record severity.

Linac Upgrade List When 2 event codes trigger a device on the same pulse, the second event restarts the delay. The second event must be ignored instead. Interrupt from the EVG on fiducial trigger (AC line trigger). Diagnostics from the fanout modules. Upgrade front end timing hardware. Move functions from the old timing system master pattern generator to the EVG IOC.

End of Talk – Thank you!

Timing Requirements 360 Hz 119 MHz 20 ps 8.4 ns ± 20 ps >1 sec Maximum trigger rate 360 Hz Clock frequency 119 MHz Clock precision 20 ps Coarse step size 8.4 ns ± 20 ps Delay range >1 sec Fine step size Max timing jitter w.r.t. clock 2 ps rms Differential error, location to location 8 ns Long term stability