LHC Beam Loss Monitoring System

Slides:



Advertisements
Similar presentations
TileCal Optical Multiplexer Board 9U VME Prototype Cristobal Cuenca Almenar IFIC (Universitat de Valencia-CSIC)
Advertisements

CDF Silicon Workshop th May 2006 New BLM & BLM electronics Jose E. Garcia, Jennifer Gimmell, Ulrich Husemann.
Programmable logic and FPGA
LECC 2006 Ewald Effinger AB-BI-BL The LHC beam loss monitoring system’s data acquisition card Ewald Effinger AB-BI-BL.
- Software block schemes & diagrams - Communications protocols & data format - Conclusions EUSO-BALLOON DESIGN REVIEW, , CNES TOULOUSE F. S.
USB host for web camera connection
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
PCIe Mezzanine Carrier Pablo Alvarez BE/CO. Functional Specifications External Interfaces User (application) FPGA System FPGA Memory blocks Mezzanine.
GBT Interface Card for a Linux Computer Carson Teale 1.
Presented by Anthony B. Sanders NASA/GSFC at 2005 MAPLD Conference, Washington, DC #196 1 ALTERA STRATIX TM EP1S25 FIELD-PROGRAMMABLE GATE ARRAY (FPGA)
PROCStar III Performance Charactarization Instructor : Ina Rivkin Performed by: Idan Steinberg Evgeni Riaboy Semestrial Project Winter 2010.
23 February 2004 Christos Zamantzas 1 LHC Beam Loss Monitor Design Considerations: Digital Parts at the Tunnel Internal Review.
11th March 2008AIDA FEE Report1 AIDA Front end electronics Report February 2008.
HBD FEM Overall block diagram Individual building blocks Outlook ¼ detector build.
Development of an ASIC for reading out CCDS at the vertex detector of the International Linear Collider Presenter: Peter Murray ASIC Design Group Science.
LHC Collimation Project Integration into the control system Michel Jonker External Review of the LHC Collimation Project 1 July 2004.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Acquisition Crate Design BI Technical Board 26 August 2011 Beam Loss Monitoring Section William Vigano’ 26 August
Fast Fault Finder A Machine Protection Component.
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Electronic Analog Computer Dr. Amin Danial Asham by.
Software development Control system of the new IGBT EE switch.
GAN: remote operation of accelerator diagnosis systems Matthias Werner, DESY MDI.
Machine Protection WG 28 May 2004 Christos Zamantzas 1 LHC Beam Loss Monitor Design Considerations of Digital Parts. LHC Machine Protection WG meeting.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
VME64x Digital Acquisition Board (TRIUMF-DAB) Designed to handle 2 channels of 12-bit 40MHz Data Will be used for both the LTI & LHC beam position system.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
LHC Radiation Day, B. Dehning1 Beam Loss Monitors B. Dehning.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
12 April 2005 Christos Zamantzas 1 LHC Beam Loss Monitor Realisation LHC Machine Protection System Review.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
Introduction to Microcontroller Technology
Digital Signal processing in Beam Diagnostics Lecture 2
Software for Testing the New Injector BLM Electronics
Dr.Ahmed Bayoumi Dr.Shady Elmashad
RF acceleration and transverse damper systems
Chapter Objectives In this chapter, you will learn:
2007 IEEE Nuclear Science Symposium (NSS)
ULTRASONIC DISTANCE METER USING 8051
Realising the SMP 1. Safe Machine Parameters Overview
Production Firmware - status Components TOTFED - status
SCADA for Remote Industrial Plant
Injectors BLM system: PS Ring installation at EYETS
Ideas and design concepts, and challenges
Discovering Computers 2011: Living in a Digital World Chapter 4
Ewald Effinger, Bernd Dehning
Dominique Gigi CMSweek 6 June 2003
TELL1 A common data acquisition board for LHCb
CoBo - Different Boundaries & Different Options of
Status of the Front-End Electronics and DCS for PHOS and TPC
DIGITAL CALCULATOR USING 8051
RAILWAY TRACK SNAP NOTIFICATION
Injectors BLM system: PS and PSB Ring installations at EYETS
LHC BLM system: system overview
Maintaining Data Integrity in Programmable Logic in Atmospheric Environments through Error Detection Joel Seely Technical Marketing Manager Military &
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Remote setting of LHC BLM thresholds?
Combiner functionalities
Architecture & Support Components
Computer Organization
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
LHC BLM Software audit June 2008.
New DCM, FEMDCM DCM jobs DCM upgrade path
VME64x Digital Acquisition Board
TELL1 A common data acquisition board for LHCb
Configuration of BLETC Module System Parameters Validation
LIU BWS Firmware status
Presentation transcript:

LHC Beam Loss Monitoring System 17 March 2006 LHC Beam Loss Monitoring System Beam Loss Monitor electronics and Beam Dump Thresholds LHC Machine Protection Working Group Christos Zamantzas

LHC Beam Loss Monitoring System 17 March 2006 LHC Beam Loss Monitoring System BLM Overview Surface Card (BLMTC) Processes running in the Surface FPGA Real-Time Analysis of Data Threshold Comparator & Masking Scaling Down the Threshold Values (Proposal) Configuration of the DAB64x Configuration Schemes (x3) Outlook Christos Zamantzas

Main components of the system: 17 March 2006 BLM Overview Design, implementation and testing of an acquisition system that measures the particle loss rate. Main components of the system: 3700 Detectors Current to Frequency Converters (CFCs) Analogue to Digital Converters (ADCs) Tunnel FPGAs: Actel’s 54SX/A radiation tolerant. Communication links: Redundant Gigabit Optical Links. Surface FPGAs: Altera’s Stratix EP1S40 with 780 pin. Christos Zamantzas

Stratix Device Features 17 March 2006 Surface Card (BLMTC) DAB64x specifications Stratix FPGA Vertical Migration to EP1S40 SRAM memories (x3) 512K x 32bit Connectors for Mezzanine 2 x 64pin PMC connectors Provide 3.3V, 5V, GND, and Connection to 114 FPGA I/O pins. Card bus VME64x Stratix Device Features Features of EP1S40 Device Available Used Logic Elements 41,250 35,475 (86%) M512 RAM blocks (32 ×18 bits) 384 299 (78%) M4K RAM blocks (128 ×36 bits) 183 174 (95%) M-RAM blocks (4K ×144 bits) 4 0 (0%) Christos Zamantzas

Processes running in the Surface FPGA 17 March 2006 Processes running in the Surface FPGA Receive, Check & Compare (RCC) Receives, De-serialises and decodes the transmitted packets. Checks for errors. Compares the packets. Data-Combine Merges the ADC and the CFC data into one value. Successive Running Sums (SRS) Produces and maintains various histories of the received data in the form of Moving Sum Windows. Threshold Comparator (TC) Compares the sums with threshold limits. Masking Distinguishes between “Maskable” and “Not-Maskable” channels. Supervision and Logging Error & Status Reporting (ESR) Maximum Values of the SRSs. Processing Block LE M512 M4K RCC 4 % 8 % - DataCombine SRS 30 % 70 % 57 % TC & Masking 13 % 35 % ESR 1 % MAX Values 31 % 2 % Total Resources Used 86 % 78 % 95 % Christos Zamantzas

Real-Time Analysis of Data 17 March 2006 Real-Time Analysis of Data Running Sums Multi-point Shift Registers holds data Successive calculation of Running Sums Range 40μs - 84s (12 Running Sums) Maximum values of the last second are continuously calculated and kept. Table 1: Successive Running Sums configuration Running Sums Refreshing Shift Register Name Signal Name bits used 40 μs steps ms 40 μs steps 1 0.04   RS 00 20 2 0.08 RS 01 22 8 0.32 SR1 RS 02 16 0.64 RS 03 64 2.56 SR2 RS 04 26 256 10.24 RS 05 2048 81.92 SR3 RS 06 32 8192 327.68 RS 07 32768 1310.72 SR4 RS 08 36 131072 5242.88 RS 09 524288 20971.5 SR5 RS 10 40 2097152 83886.1 RS 11 Christos Zamantzas

Threshold Comparator & Masking 17 March 2006 Threshold Comparator & Masking Threshold Table Threshold depends on energy and a acquisition time. Unique thresholds for each detector. Read at system power-on from an external Non Volatile RAM or it can be included in the Configuration file. Space required: 32 KB Table 1: Memory Utilisation by the Threshold Table Width (Bits) Detectors Energy Levels Running Sums Values Total (Bits) 32 16 8 4,096 131,072 64 4 2,048 Total 12 6,144 262,144 Table 2: Information included in the Masking Table Detector Connected Maskable 1 No Yes 2 3 … 15 16 Masking Table Masking of channels is allowed only when safe. Unique masking for each detector. Read at system power-on from an external Non Volatile RAM or it can be included in the Configuration file. Christos Zamantzas

Scaling Down the Threshold Values (Proposal) 17 March 2006 Scaling Down the Threshold Values (Proposal) Threshold values are: Unsigned binary numbers 32 or 64 bit long Division by 2 can be achieved by Shifting Right by 1 position. A simple solution could be to provide a register that holds information about the number of bits wanted to be shifted right (i.e. divide by 2, 4, 8, 16, …). Can be unique for each channel. Its simplicity requires minimum resources. Secure enough (not possible to increase Thresholds). Needs to be accessed by the CPU and loaded at every boot. Adds dependency to the CPU that is against specifications. Christos Zamantzas

Configuration of the DAB64x 17 March 2006 Configuration of the DAB64x Configuration Data : FPGA Firmware Card ID Threshold Table Masking Table Christos Zamantzas

Configuration Scheme (I) 17 March 2006 Configuration Scheme (I) All included in the FPGA Firmware After the system design finishes the extra information will be embedded in the firmware using a final iteration in the Quartus software. Single file to be deployed on each card. System “instantly” ready after power-on. Feature already available/operational. Legend Deactivated Booting Initialisation Christos Zamantzas

Configuration Scheme (II) 17 March 2006 Configuration Scheme (II) Split of Configuration Memory Global FPGA Firmware Unique information will be stored in the unused space of the configuration memory. After the FPGA boot it will have to fetch the data from the Multiple files to be deployed for each card. More complicated booting procedure. Future independence from Quartus Software (?). Legend Deactivated Booting Initialisation Christos Zamantzas

Configuration Scheme (III) 17 March 2006 Configuration Scheme (III) Use of both Flash Memories Global FPGA Firmware resides on-board. Unique information will be stored in the mezzanine card’s NVRAM. Multiple files to be deployed for each card. Multiple interfaces to be created. Legend Deactivated Booting Initialisation Christos Zamantzas

Outlook Provide at least one more configuration scheme. 17 March 2006 Outlook Provide at least one more configuration scheme. Preferably the partition of the configuration memory. Implementation of the Post-Mortem data recording and readout. Implement differently the Data-Combine process to match better with the CFC card. Not consistent in the region below one count/sec. Finalise specifications for the Supervision and Testing procedures. To be proposed at every start-up the Combiner card to increase in steps the Beam energy input. The Logging procedure will provide to the CPU the Thresholds which will be used for that given Beam energy. The CPU will be able to compare them with those stored in a database. Test of a complete crate filled with pre-series boards. Setup to be used also by the software people implementing the fixed displays, the Logging and later the Post Mortem. Finish the production of the BLM Mezzanine provide a testing procedure of the cards to be installed. Christos Zamantzas

17 March 2006 Reserved Slides Christos Zamantzas

Packet from Transmission 17 March 2006 Packet from Transmission Updated formatting of the packet for transmission (now 320 bits) Extended the status information Included the DAC Values of each channel. CFC(1) 8bit ADC(1) 12bit CFC(2) ADC(2) … CFC(8) ADC(8) Data Frame ID 16bits Status A Status B Counter + ADC Data 64bits + 96bits DAC Values 64bits Card ID CRC-32 32bit Transmitted Packet Transmission of packet every 40μs. The data rate must be high enough to minimise the total latency of the system . Redundant optical link In order to increase the reliability and the availability of the system. Christos Zamantzas

Logging Data Arrangement 17 March 2006 Logging Data Arrangement These data have to be read with a rate of a second in order to be stored in a database as well as to give a graphical representation for the control room. LWords 1 2 3 … 32 33 288 289 544 Error & Status Reports (ESR) (1,024 bits) Maximum Values of the BLM Data (8,192 bits) Threshold Values used Read every second: Error & Status Reports (ESR)(128 Bytes) The Maximum Values of the BLM Data (1 KB) The used Threshold values. (1 KB) Read every Start-up Each card’s complete Threshold table. (32 KB) (4,096 x 32bit + 2,048 x 64bit = 6,144 values) 1 2 3 … 16 … 32 Bits Christos Zamantzas

Error & Status Reports (ESR) 17 March 2006 Error & Status Reports (ESR) Information available: ERRA: number of CRC errors at optical link A ERRB: number of CRC errors at optical link B ERRC: different CRCs between A and B ERRD: wrong Card ID ERRF: wrong Frame ID Dump: number of beam dump triggers LostFramesA & LostFramesB Card ID Each Detector’s DAC value Voltage and temperature Status Christos Zamantzas

Post Mortem Data Recording (I) 17 March 2006 Post Mortem Data Recording (I) Two circular buffers 2000 turns of both signals received Integrals of 10 ms (data needed for further analysis) Double the above buffer and toggle between them using the stop PM recording trigger Never stop recording (i.e. avoid start input) Test of PM will be possible anytime Accidental/error-triggering proof Christos Zamantzas

Post Mortem Data Recording (II) 17 March 2006 Post Mortem Data Recording (II) PM freeze from TTCrx through the backplane. Time-Stamp appended later by crate CPU. At PM freeze the CPU records the time and later when it reads the PM Data appends it to them. Calculations: Minimum required: 1000 turns => 2000 acquisitions * 320 bits packet * 2 packets => ~ 160 KB/card * 16 cards/crate = 2.5 MB / crate Available: 3xSRAM chips of 512K x 32bit = 6 MB / card Christos Zamantzas