SNS Timing System EPICS Workshop April 28, 2005 Coles Sibley

Slides:



Advertisements
Similar presentations
KEB COMBIVERT F5-M Exercises.
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.
ESS Timing System Plans and Requirements Timo Korhonen Chief Engineer, Integrated Control System Division May 19, 2014.
Demands and Requirements for the New Control System for GSI Future Accelerators An Overview U. Krause, S. Richter, P. Schütt.
SNS Integrated Control System SNS Machine Protection System EPICS Workshop April 27, 2005 Coles Sibley.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
Range Measurement Unit Messenger Mercury Laser Altimeter Basic Familiarization.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
ORNL/SNS Spallation Neutron Source Low-Level RF Control System Kay-Uwe Kasemir, Mark Champion April 2005 EPICS Meeting 2005, SLAC.
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
Distribution of machine parameters over GMT in the PS, SPS and future machines J. Serrano, AB-CO-HT TC 6 December 2006.
LANSCE Timing Requirements LA-UR Eric Bjorklund.
General Time Update David Thompson Epics Collaboration Meeting June 14, 2006.
F Project X Overview Dave McGinnis October 12, 2007.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Booster Low Level Modules, Timing and some Measurements.
Issues in Accelerator Control Bob Dalesio, December 23, 2002.
Cavities Auto Recovery with Beam RF&Linac Section - ALBA Accelerators Division Francis Perez Angela Salom.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
LCLS_II High Rep Rate Operation and Femtosecond Timing J. Frisch 7/22/15.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
LANSCE Master Pattern Generator Eric Björklund LANSCE-8 Controls Software (LA-UR )
ICFA-HB 2004 Commissioning Experience for the SNS Linac A. Aleksandrov, S. Assadi, I. Campisi, P. Chu, S. Cousineau, V. Danilov, G. Dodson, J. Galambos,
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
Bunch Numbering P. Baudrenghien AB/RF for the LHC/RF team.
PSB ring inhibit in the Linac 4 era A. Blas PSB LIU meeting 07/03/ Summary of discussions involving (mainly): Jose-Luis Sanchez Alvarez Philippe.
CSNS Timing System G. Lei Feb Page CSNS Timing System Feb Contents of this talk Breif introduction to CSNS Requirement investigation Strategy:
Beam time structures 1 At any particular instance of time there will be only one kind of beam in the MI. It will be either protons or anti-protons. The.
SNS linac beam commissioning By Michael Plum Spallation Neutron Source Oak Ridge National Laboratory ESS Workshop on beam commissioning April 8-9, 2014.
Machine Protection Systems (MPS) Arden Warner, and Jim Steimel Project X Machine Advisory Committee March 18-19, 2013.
M. Munoz April 2, 2014 Beam Commissioning at ESS.
ESS Front End diagnostic
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
High intensity electron beam and infrastructure Paolo Valente * INFN Roma * On behalf of the BTF and LINAC staff.
Reliability and Performance of the SNS Machine Protection System Doug Curry 2013.
ESS LLRF and Beam Interaction
RF acceleration and transverse damper systems
Challenges of Dual Harmonic RF Systems
LCLS_II High Rep Rate Operation and Femtosecond Timing
Data providers Volume & Type of Analysis Kickers
SNS Status Report Karen S. White 10/15/08.
Cryo Problem MD Planning Tue (1.11.) C B Day Time MD MP Tue 01:00
ECE 353 Introduction to Microprocessor Systems
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
SLS Timing Master Timo Korhonen, PSI.
BE-BI Software for LINAC4
Beam Sync Output - fiber, one microsecond pulse of Beam Sync Input
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
Acknowledgments: LIU-PT members and deputies, H. Bartosik
PSB Injection scheme in the Linac 4 era
CSNS Accelerator Control and Beam Instrumentation JIN Dapeng, XU Taoguang … June 9, 2015
LCLS Event System - Software
Combiner functionalities
LINAC4 commissioning plans etc.
Programmable Interval timer 8253 / 8254
Interlocking of CNGS (and other high intensity beams) at the SPS
UITF MPS system requirements
Timing and Event System for the LCLS Electron Accelerator
Programmable Interval timer 8253 / 8254
Beam dynamics requirements after LS2
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
RF Local Protection System
BCM-BIS Interface Szandra Kövecses
SNS Commissioning Mike Plum
(Beam) Commissioning Plan
UITF Conduct of Operations Review
PSB – Linac 4 Interfacing
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:

SNS Timing System EPICS Workshop April 28, 2005 Coles Sibley Dave Thompson SNS Global Controls

Design Decisions MPS and Timing systems are tightly integrated. Timing systems should “RESPECT” machine protection system beam power and pulse width limits to not “challenge” MPS system. Timing system will run at 60 Hz. (but don’t preclude the possibility of 120 Hz). Super cycle will be 10 seconds (600 cycles, 0.1 Hz rep-rate resolution). As much as possible should be done in hardware. As little as possible should be relegated to the client IOCs. Synchronous with Ring RF, not linac RF System hardware design from RHIC

Machine / Beam Mode Definitions Machine mode selected by Key switch in control room, Beam Mode selected by Key or software. Switches read by MPS PLC system and distributed through timing system. Machine Mode defines where the beam goes MEBT Beam Stop CCL Beam Stop Linac Dump Injection Dump Ring Extraction Dump Target Beam Mode defines allowable beam charge or power Pilot pulse (10 usec) Diagnostics pulse (50 usec) Tuning pulse (100 usec) Full Pulse Width (1 msec) Full Power (Depends on Dump)

Timing System Components Event RTDL Link GPS SNS Time Stamps Beam data Experimental Halls Master Timing IOC SNS Real Timing RF Gates Extraction Kickers TxHV Gates 10 MHz Time Data Slave Crystal Link (V124S) Osc. Master SNS Event Machine High resolution timestamps Machine Modes *32 PLL Link Protection (33 MHz) Master System Ring RF SNS Timestamps Remote Reset Synchronous ISR’s ICS IOC's AC Timing Reference Generator SNS Utility Line Module Beam Delay Beam Phase Micro pulse width Macro pulse width LEBT *4 PLL Chopper (64 MHz) Neutron Choppers SNS Time stamps Delays Gates Triggers Diagnostics Timing System Hardware Subsystem Hardware Timing System Users Experimental Systems

Timeline (from the timing system point of view) Informational Events, non critical timing Time Critical Events, (soft events disabled) Real-Time Data Link (RTDL) RTDL parameter transmission (for next cycle) RTDL Transmit Beam On MPS Fault MPS Inhibit Extract Snapshot, 1Hz, 6Hz, etc… (Alternate) Cycle Start Cycle Start RF & High Voltage Events End Injection System xxx Trigger Events Extraction Kicker Charge RTDL Valid Event Link Beam On Range Beam On Range Allowed Range for Variable Triggers Anytime Machine Anytime MPS Post Mortem Line-Synch Reference Clock beam accumulation +60 Hz Zero Crossing -60 Hz Zero Crossing 1 ms 2 ms 3 ms 4 ms 5 ms 6 ms 7 ms 8 ms

RTDL Sequencer Runs at 60 Hz. Driven by the “RTDL Valid” Event interrupt. Loads the RTDL frames for the next cycle (the cycle after the upcoming “Cycle Start” event, including: Time of next Cycle Start (From GPS + ~162/3 msec) for time stamps Ring revolution frequency (from counter module) Line crossing phase error (from timing reference generator) Beam flavor parameters (Beam profile) Machine and Beam Mode (MPS Mode Masking) Last frame is 24-bit CRC on all RTDL data. Writes correction term (based on measured event-link clock speed) to timing reference generator.

Rep-Rate Pattern Generator Event Link Sequencer Runs at 60 Hz, driven by the “RTDL Valid” event. Enables gates for variable rep-rate events that are scheduled to fire on the next machine cycle. Handles the “bookeeping” tasks required for setting new rep-rates. Rep-Rate Pattern Generator Actually, a set of EPICS “genSub” records. Computes the rep-rate “patterns” used by the Event Link Sequencer to schedule which events should occur on each cycle. Can also be used on “Client” IOC’s to do local rep-rates.

Variable Rep-Rates — genSub Record Inputs Desired Rep-Rate (double) Constraint Pattern (structure) V124S Gate Address (card & signal) Mode selector 0 = “Fixed” (ignore pattern) 1 = “Variable” (use pattern) Offset from Constraint Pattern (long) –n: Precede constraint pattern by n pulses +n: Follow constraint pattern by n pulses 0: No offset (pattern must be coincident with constraint pattern) Outputs Actual Rep-Rate (double) Rep-Rate Pattern (structure) Note: Constraint pattern can come from another “repRate” genSub record (e.g. for the gate this gate depends on) or from a combination of patterns (computed by another genSub record).

Application: Beam Control Hardware interface between MPS and Timing V124S Event Link Trigger Control Chassis Auto Reset Latched MPS PLC } MPS Inputs To Source Cycle Start Beam On To RFQ Source RF Delayed Source RF RFQ To Chopper From RFQ LLRF Controller

Event Link Monitor Monitors event in a supercycle Compare with event link sequence, fault on difference Hardware check against software errors Hardware read back for pattern generators

Application: Ion Source Control Warm Linac LLRF End Injection Source RF Extract Beam On Cycle Start Event Link Growth Source On Growth Delayed Source On RFQ Cycle Start Beam On 1 ms 2 ms 3 ms 4 ms 5 ms 6 ms 7 ms 8 ms

Application: Linac RF Control Requirements RF Gates should always end at “End Injection” event. Increasing the gate width decreases the delay (and vice versa). Low-level RF gate should come on about 100 mSec before beam (300 mSec in super-conducting linac). HV power supplies should come on about 100 mSec before Low-Level RF. Variable rep rates replaced with fixed events 1, 2, 5, 10, 20, 30, and 60 Hz Modulator HV Power supplies need an upgrade before 31 Hz or higher permitted Individual RF gate widths adjustable but sets a constraint on maximum beam pulse width

Application: Linac RF Control RF Gate Relationships RF & High Voltage Events End Injection Source RF Extract Beam On Cycle Start Event Link Beam On Source On Warm LLRF Warm HPRF Cold LLRF Cold HPRF 1 ms 2 ms 3 ms 4 ms 5 ms 6 ms 7 ms 8 ms

Typical User Defined Beam Flavors Reconfiguration requires beam off, flavor integrated charge and power recomputed, beam scheduled power calculated against machine/beam modes. Flavors used by LLRF and Ring RF for feed forward loops. 1 - Beam Off 2 - 10 usec, (Chopped) (Fast faraday cup) 3 - 50 usec , (Chopped) (All wire scanners, faraday cups) 4 - 100 usec , (Chopped) 5 - Physics , (Unchopped) 6 – Arbitrary 1 msec gates, 50 usec beam 7 - Reserved 8 - Normal, ie. 1060 turns, 50 usec ramp up

LEBT Chopper Pattern Generator

Beam Profile Requirements Ring Commissioning 10 turns, 1 per 100usec (next generation of chopper) Nominal beam to Linac Dump (Beam flavor 1) Single turn (beam flavor 2) Chopped beam to ring (beam flavor 3)

Pattern Generator – CD4 in 2006 Fixed RF rep rates limited to < 30 Hz 1 Hz beam, < 50 usec gate width thru Dec 2005 LEBT Chopper commissioned, Beam gate < 1msec, integrated pulse width < 50usec (LEBT fails with fulll width beam) Beam RR and PW must fall in safe operating envelope (May 2006)

Beam Scheduling Post CD4 SNS runs in loss limited mode (<10-4), Scale back in power until loss limits met. All beam on after trip of > 5(?) min, pilot pulse and power ramp up required Target has limits on machine trips, 25(?) fast and 5(?) slow per day. Requirements not defined for bad machine days. Target Requirements < 100 kW, no restrictions > 100 kW and beam off < 30 min, no restrictions > 100 kW and beam off > 30 min, linear ramp in power for 10 min. One diagnostics pulse per super cycle allowed (Monitor injection phase painting) implies pulse to pulse scheduling. Second target station, More pulse to pulse beam mode scheduling required

Minimal Effect on Beam from 0 to 800usec delay SNS AC Line is being Characterized using Filter for Neutron Chopper Response Six day line frequency measurement Line synch installed in controls lab timing system for distribution to neutron chopper lab. GPS-based filter with slew rate limit being studied 60.1 Hz 60.0 Hz 59.9 Hz Limiting Slew Rate results in wide frequency range 500usecs Deviation from Grid in usecs Deviation in slew rate in mHz/sec Beam Phase with line delay from 0 to 800 usec in 50 usec increments (2 beam trips) +/- 10deg RFQ Minimal Effect on Beam from 0 to 800usec delay

New Requirements Use SLS and Diamond timing hardware (Timo Korhonen) 3 – D beam bunch shape measurements 12 degree longitudinal length, 402.5 MHz (83 psec) Need ~1 psec stability, 1 to10 psec resolution Use 402.5 or 805 MHz LLRF Reference line as input clock Synchronize Beam-On pulse using SLS Hardware