Towards final BCM firmware and interface to MPS Hooman Hassanzadegan BI forum, 20-22 Nov 2018, Lund www.europeanspallationsource.se.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
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.
ESS LLRF System Anders J Johansson.
6 June 2002UK/HCAL common issues1 Paul Dauncey Imperial College Outline: UK commitments Trigger issues DAQ issues Readout electronics issues Many more.
SNS Integrated Control System SNS Machine Protection System EPICS Workshop April 27, 2005 Coles Sibley.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
LHC Beam Dump System Technical Audit Trigger Synchronisation Unit.
Trigger Supervisor (TS) J. William Gu Data Acquisition Group 1.TS position in the system 2.First prototype TS 3.TS functions 4.TS test status.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Linac4 FBCT’s 18/ L4 BI BCT review Lars Søby On the behalf of: M. Andersen, D. Belohrad, L. Jensen, Franco Lenardon and J. C. Allica Santamaria.
September 19-20, 2007 A.Zaltsman EBIS RF Systems RF System Overview Alex Zaltsman September 19-20, 2007 DOE Annual Review.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Final FED 1 Testing Set Up Testing idea and current status Preliminary results Future development Summary M. Noy
ESS LLRF and Beam Interaction. ESS RF system From the wall plug to the coupler Controlled over EPICS Connected to the global Machine Protection System.
1 October 2003Paul Dauncey1 Mechanics components will be complete by end of year To assemble ECAL, they need the VFE boards VFE boards require VFE chips.
Preliminary Functional Analysis of ESS Superconducting Radio-Frequency Linac C. Darve, N. Elias, J. Fydrych, D. Piso European Spallation Source ESS AB,
How to Monitor Beam: Beam Current Monitors (for the Machine Protection Review) Hooman Hassanzadegan (ESS, BI section) ESS, Lund Date:
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
Managed by UT-Battelle for the Department of Energy SCL Vacuum Control System Upgrade Derrick Williams
1 Calorimeters LED control LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Status of the calorimeters LV power supply and ECS control Status of.
GAN: remote operation of accelerator diagnosis systems Matthias Werner, DESY MDI.
ESS Timing System Prototype 2012 Miha Reščič, ICS
Page Beam Instrumentation mini- workshop Conclusions from the Hardware, Timing and MPS mini-workshop Lund, Miha Reščič Deputy Head of
PS-ESS and LEBT State of the art Lorenzo Neri Istituto Nazionale di Fisica Nucleare Laboratori Nazionali del Sud.
Personnel Safety Systems Stuart Birch Senior Engineer, Personnel Safety Systems November 6 th, 2014.
AHCAL Electronics. Status of Integration Mathias Reinecke for the DESY AHCAL developers AHCAL main and analysis meeting Hamburg, July 16th and 17th, 2009.
BCM electronics: status and plans BI forum (Feb. 10 th and 11 th 2016) Hooman Hassanzadegan ESS, BI section 1.
Machine Protection Systems (MPS) Arden Warner, and Jim Steimel Project X Machine Advisory Committee March 18-19, 2013.
BIS main electronic modules - Oriented Linac4 - Stéphane Gabourin TE/MPE-EP Workshop on Beam Interlock Systems Jan 2015.
Analog Trigger for CTA MST CTA MST Trigger & Integration Meeting Berlin, 7 November 2011 Luis A. Tejedor on behalf of GAE-UCM, IFAE & CIEMAT groups 1.
New PSB beam control BIS Interlocks A. Blas PSB Beam Control 20/01/ BIS: Beam Interlock.
23/06/2011 Linac4 BCC meeting. 23/06/2011 Linac4 BCC meeting Watchdog = Machine protection element whose function is to cut the beam if losses exceed.
M. Munoz April 2, 2014 Beam Commissioning at ESS.
SVD FADC Status Markus Friedl (HEPHY Vienna) Wetzlar SVD-PXD Meeting, 5 February 2013.
ESS Front End diagnostic
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.
ESS LLRF and Beam Interaction
DAQ and TTC Integration For MicroTCA in CMS
RF cell Anders Sunesson RF group leader
The TV Beam Observation system - BTV
CALICE DAQ Developments
Digital Interface inside ASICs & Improvements for ROC Chips
Overview and System Design for ESS LLRF Systems
Injectors BLM system: PS Ring installation at EYETS
APV Readout Controllers DAQ
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
WP02 PRR: Master Oscillator and RF Reference Distribution
Commissioning and Testing the LHC Beam Interlock System
0v1.
Tom Shea Front End Meeting Catania
SNS Timing System EPICS Workshop April 28, 2005 Coles Sibley
LCLS Event System - Software
RF Local Protection System
BCM-BIS Interface Szandra Kövecses
TS2 PSS Architecture, Concepts of Operations and Interfaces
Safety, reliability and maintainability
System Architecture of MPSVac and MPSID
MPS commissioning at ESS
(Beam) Commissioning Plan
Hilko Spoelstra, Vacuum Group Specialized Technical Services / AD
Machine Protection PLC Based System Verification and Validation Plan
Hardware integration and interfaces
Electronics, motion control and verification
Status of the ESS High Power RF Systems
Response to the BCM PDR recommendations
Rack installation and local tests for the MEBT Chopper Rack
Presentation transcript:

Towards final BCM firmware and interface to MPS Hooman Hassanzadegan BI forum, 20-22 Nov 2018, Lund www.europeanspallationsource.se

BCM machine protection functions The following machine protection functions have already been defined and agreed through discussions with the MPS group: Too-high beam currents Errant beams Inconsistent pulse rate Inconsistent pulse length Differential current interlock Extra machine protection functions (optional): Too low beam currents Trigger width too short Protection functions on the BCM digitizer board: ADC stuck ADC clock missing Optical link errors Not fully defined yet: Protection of the insertable devices

References for BCM machine protection BCM HW/FW/SW specifications document: ‘LEBT upgrade ACCT firmware, software and hardware specifications’ (close to final) Machine Protection Features of the ESS Beam Current Monitor System: IPAC’18 paper WEPAF088 (co-authored with the MPS group) Concept and Scope for Beam Current Monitor use for Machine Protection: ESS-0178171 (released) MP requirements on ACCTs: ESS-0105300 (preliminary) BCM system and FBIS ICD: ESS-0105298 (preliminary)

BCM FW versions BCM FW from 2013 (FW by U. Legat from Cosylab): Currently being used for the ISrc and LEBT ACCTs Readout from max 2 ACCTs Includes baseline level correction, droop compensation and digital filtering Pulse shape display, measurement of pulse charge and baseline level No machine protection function BCM FW from 2017 (core FW by M. Werner from DESY + integration FW by M. Mohammadnezhad) Intended for the warm linac (i.e. ISrc, LEBT, RFQ, MEBT and DTL) Readout from max 10 ACCTs Includes ACCT calibration Timing and FBIS interfaces (not fully operational yet) Several protection functions including those agreed with the MPS group Differential current measurement using both local and remote (i.e. over optical fiber) ACCTs Pulse shape display (raw and processed), pulse current/width/rate/charge measurements Includes probe signals (very useful for test and verification) Full version (not available yet): Intended for all the ACCTs including those in the super-conducting linac as well as the A2T and DmpL sections Specifications are defined to a good extent but machine protection functions (ex. protection of insertable devices) are not fully defined yet.

BCM timing requirements ADC clock (from EVR over backplane): 88.0525 MHz, locked to RF Pulse trigger (from EVR over backplane): same width and frequency as the beam pulse; should be received by the BCM FPGA 100 us before the beam pulse. Beam mode (EVR over backplane -> EPICS): pulse current, width and repetition rate; upon changing to a new beam mode, the BCM FW reads/sets new MPS thresholds corresponding to that mode (lookup table in the FPGA); mode no. and definition based on ESS-0038258 Destination mode (EVR over backplane -> EPICS): beam destination Calibration announcement (EVR over backplane -> EPICS): ACCT auto calibration starts at a well-defined time after receiving the announcement.

BCM-FBIS interface The electrical and mechanical interfaces are defined in ESS-0105298 The RJ-45 OUT port (LVDS) on the Struck SIS8300-KU is planned for the BCM-FBIS interface. The interface includes BCM_READY, BEAM_PERMIT as well as a Serial Data Link. The Serial Data Link will be used for sending redundant ready and beam permit signals plus other information including beam and destination modes. A prototype FBIS unit has been provided by the MPS group as is currently being used for the BCM/Timing/FBIS tests.

Differential ACCT pairs Critical ACCT pairs for machine protection as defined by the MPS group: BCM A BCM B Comments Required AMC connection BCM before RFQ BCM after RFQ Required early on (during commissioning) AMC1 BCM after DTL   AMC1 - AMC2 BCM after medium beta AMC2 - AMC3 BCM after high beta Only to be made available after installation of the high beta cavities. AMC2 - AMC4 BCM before target AMC3 - AMC7 BCM before beam dump

Considerations for differential current measurement with the BCM The ACCT distance in the critical differential pairs ranges from a few meters to more than 300 m. In the differential pairs where the two ACCTs are not connected to the same crate, a low-latency optical link will be used for sending the ACCT data from the upstream carte to the downstream one. A fine delay mechanism will be used to compensate the propagation delays of the differential pulses, hence avoid unwanted beam stops particularly during the pulse rise/fall times. In the differential pairs where the two pulses have different widths and/or different rise/fall times, the BCM FW deactivates the differential interlocks during short intervals around the pulse rise/fall times to avoid false beam aborts. The differential interlock consists of a fast (integration time of ~1 us), medium (integration time of ~100 us) and a slow (i.e. integration over the whole pulse width) algorithm to be able to detect large and sudden as well as small and persisting losses.

BCM optical cabling diagram Total no. of ways to select 2 ACCTs out of 19 = C(19,2) = 171 Total no. of ways to define a differential pair using the above scheme = 57

RFQ and the MEBT chopper losses ‘Normal’ losses of the RFQ (up to ~30%) should be taken into account for all the ACCTs downstream to the RFQ. The MEBT chopper will cut off up to 20 us from the start of the pulse. The resultant pulse width difference should not then cause an unwanted beam abort in the differential pairs with one ACCT being upstream and the other downstream of the MEBT chopper. Special FW blocks are foreseen for the RFQ and the MEBT chopper. False beam aborts will be avoided by relaxing/disabling some interlocks during short time intervals.

Setup for Timing+FBIS+BCM tests Mehdi Mohammadnezhad (consultant from SIGMA), Stephane Gabourin (MPS) and Javier Cereijo Garcia (Timing) are giving support for the test setup.

Interlock on too-high beam current The total BCM response time from the moment that the extra current (i.e. glitch) goes through the toroid until the moment that the BEAM_ABORT signal switches on the SIS8300-KU output port is measured at 1.02 us. From the total delay 0.47 us is due to the toroid, ACCT cable and the FE unit. The agreed BCM response time with the MPS group is 1-2 us.

Interlock on errant and too-low beams Interlock on errant beam Interlock on too-low beam

Interlock on differential currents Signal from the ACCT with a 2m cable Signal from the ACCT with a 100m cable FPGA signals (ChipScope) BEAM_PERMIT switching to NOK as a result of the glitch Time window for masking out the differential interlock The differential interlock tests were done with the first ACCT cable being 2 m and the second ACCT cable being 100 m (about the worst case). The cable length difference causes a significant difference between the time constant of the two ACCTs, and that results in large negative/positive spikes in the difference signal at the pulse rise/fall times. Two time windows (fully configurable in the FW) are used to mask out the (false) interlocks at the pulsed rise and fall times. The difference in the arrival time of the two pulses in the downstream crate was compensated using a fine delay in the BCM FW. The FPGA adds very small delay (only a few clock cycles) to the differential interlock response time (including the optical fiber link) compared to the interlocks on a single ACCT sensor.

Issues / next steps Support from ICS needed for the new BCM IOC, EPICS integration and GUI (kick-off meeting planned on Nov. 22nd). A few small bugs in the BCM FW were identified and fixed during the tests. EVR in the second crate not operational yet (needs new EPICS environment from ICS – work in progress). Serial Data Link not fully operational yet (work in progress). Destination mode information from the Timing System and interlock masking in the BCM FW (based on a selected destination mode) not fully operational yet (work in progress). Optical fanout module needed to fully test/verify the optical cabling scheme including future BCM signal transmission to other systems.