Download presentation
Presentation is loading. Please wait.
Published byMervyn Lyons Modified over 9 years ago
1
1N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Presentation of the Beam Energy Tracking System Definition : The Beam Energy Tracking System (BETS) monitors the deflection strength of each active element of the LBDS with respect to the beam energy in order to guarantee the correct extraction trajectory over the complete operational range and under all operational conditions.
2
2N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Tracking System BETS main functions: Acquisition of the machine “beam energy”,Acquisition of the machine “beam energy”, Generation of the kick strength reference signals for LBDS extraction and dilution kicker high voltage generators w.r.t. the beam energy,Generation of the kick strength reference signals for LBDS extraction and dilution kicker high voltage generators w.r.t. the beam energy, Continuous surveillance that the charging voltages of the different capacitors within the kicker high voltage generators follow their references within predefined tolerance windows (extraction trajectory aperture),Continuous surveillance that the charging voltages of the different capacitors within the kicker high voltage generators follow their references within predefined tolerance windows (extraction trajectory aperture), Continuous surveillance that the LBDS extraction septa and ring quadrupole Q4 currents are within predefined tolerance windows (extraction trajectory aperture),Continuous surveillance that the LBDS extraction septa and ring quadrupole Q4 currents are within predefined tolerance windows (extraction trajectory aperture), Generation of a dump request after detection of an upcoming tracking fault if the measured values are not within predefined tolerance windows relative to the beam energy,Generation of a dump request after detection of an upcoming tracking fault if the measured values are not within predefined tolerance windows relative to the beam energy, Distribution of the beam energy to external clients.Distribution of the beam energy to external clients.
3
3N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Tracking System System architecture overview Overview of the Beam Energy Acquisition card (BEA), by Gregor Grawer Overview of the Beam Energy Meter card (BEM) Overview of the Beam Energy Interlock card (BEI) Overview of the Beam Energy Controller card (BEC) Management of the transfer function tables (I/E, U/E) Conclusion
4
4N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 System architecture overview
5
5N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 System architecture overview Two path: ReferenceInterlock
6
6N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 System architecture overview Powering considerations: All the electronics included within the BETS is powered by 230V Uninterruptible Power Supply (UPS). BETS system housed within VME crate is powered by redundant power supplies. Timing considerations: The BETS system has a response time < 1.5 ms This value is small in comparison of the generators reaction time and the energy variation of the LHC.
7
7N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Acquisition (BEA) By Gregor Grawer
8
8N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Meter (BEM) For redundancy purpose, two independent sources of the “beam energy” are necessary in order to verify the correct operation of the Beam Energy Tracking System One information will be used as reference signal for the generation of the kick strength references One information will be used as reference signal for the generation of the kick strength references One information will be used as reference for the tracking interlock logic One information will be used as reference for the tracking interlock logic Block schematic of the BEM Current 1 3 out of 4 Evaluation + Mean value calc Reception CRC & Timeout Check Control / Status / Monitoring (watch dog, board powering, auto-calibration…) Look-Up Table (Idcct / E) Reception CRC a & timeout Check Current 2 Current 3 Current 4 Energy Reference E beam Ref Serial Transmission CRC & Manchester Encoding Safe Machine Parameters Profibus-DP PROFISafe Energy Reference VMEMachine Protection Beam Permit Control Input 1 Input 2
9
9N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Meter (BEM) The BEM acquires four current values measured out of four Main Bend DCCTs power converters. It makes the comparison between these values with a 3 out of 4 logic and a relative error of ± 0.5%. An out of range value will cause a dump request. A mean value is generated out of the four measurements and converted trough a transfer function table into the corresponding beam energy. This energy value is transmitted to The main PLC, via a ProfiBus connection (use of ProfiSafe protocol), who gives the reference voltage strength to the MKD and MKB generators (Reference BEM) The main PLC, via a ProfiBus connection (use of ProfiSafe protocol), who gives the reference voltage strength to the MKD and MKB generators (Reference BEM) The Beam Energy Interlock cards trough the P2 backplane connectors of the VME crate (Interlock BEM) The Beam Energy Interlock cards trough the P2 backplane connectors of the VME crate (Interlock BEM) The Safe Machine Protection for other clients (via the LHC timing) The Safe Machine Protection for other clients (via the LHC timing)
10
10N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Meter (BEM)
11
11N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Meter: hardware aspect Hardware summary: The heart of the BEM card is a Xilinx Spartan3 FPGA XC3S1000 FT256 -4 XC3S1000 FT256 -4 The FPGA is clocked with a 40 MHz oscillator (C-MAC CFPS-73 serie) The FPGA is clocked with a 40 MHz oscillator (C-MAC CFPS-73 serie) Inputs / outputs : 2 monomode 1310 nm fiber optics receivers from MB DCCT measurements 2 monomode 1310 nm fiber optics receivers from MB DCCT measurements 1 monomode 1310 nm fiber optics emitter to AB/CO’s SMP 1 monomode 1310 nm fiber optics emitter to AB/CO’s SMP 1 simple VME slave interface (16A, 16D) 1 simple VME slave interface (16A, 16D) 1 AnyBus ProfiBus-DP slave module (HMS AnyBus AB4010B) for communication with the S7-400 master PLC. 1 AnyBus ProfiBus-DP slave module (HMS AnyBus AB4010B) for communication with the S7-400 master PLC. 1 three digits display to look at the beam energy. 1 three digits display to look at the beam energy. 1 differential bus transceiver (used as an emitter only) to send the reference energy to the 14 Beam Energy Interlock cards trough the VME P2 backplane. 1 differential bus transceiver (used as an emitter only) to send the reference energy to the 14 Beam Energy Interlock cards trough the VME P2 backplane. 1 differential bus transceiver (used as a receiver only) to receive the so called “dump inhibit” signal. 1 differential bus transceiver (used as a receiver only) to receive the so called “dump inhibit” signal. Manual reset and FPGA reconfiguration push buttons on the front panel. Manual reset and FPGA reconfiguration push buttons on the front panel. 1 RS-232 interface (no more used). 1 RS-232 interface (no more used). On board 3.3V, 2.5V and 1.2V power supplies on board 3.3V, 2.5V and 1.2V power supplies on board 2 switches for current loops (CMOS analog switches) 2 switches for current loops (CMOS analog switches)
12
12N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Meter: firmware aspect Overview of the software
13
13N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Meter: firmware aspect
14
14N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock The BEI card has double function (one card checks two generators) Each BEI function checks two signals (main and compensation for MKD) The signals can be either voltages (MKD & MKB) or currents (Q4 and MSD) Block schematic of the BEI Input BEI 1 Reception CRC Check Measure 1 Measure 2 Energy Reference From BEM Tracking Interlock Logic Energy Comparison Control / Status / Monitoring (watch dog, board powering, auto-calibration, settings…) E beam M1 E beam M2 Reception CRC & timeout Check E beam Ref Look-Up Table 1 Look-Up Table 2 VMEMachine Protection Beam Permit Ctrl Look-Up Tables Configuration Input BEI 2 Measure 3 Measure 4 E beam M3 E beam M4 Reception CRC & timeout Check Look-Up Table 3 Look-Up Table 4
15
15N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock The BEI card acquires four signals, voltage or current (2 pro generator) Convert those signals into their corresponding energy using four independent transfer function tables. The four transfer function tables are stored into an external flash ROM, as the tolerance and thresholds values. The four energies generated are compared to the reference energy from the BEM. A beam dump request is issued if a difference bigger than the tolerance is found. Errors detected: Transmission error from BEA or BEM (timeout and CRC) Transmission error from BEA or BEM (timeout and CRC) Energy comparison error (one (or more) of the signal is out of range) Energy comparison error (one (or more) of the signal is out of range) Timeout of the energy comparison (in case of flash ROM read errors or SM freezes) Timeout of the energy comparison (in case of flash ROM read errors or SM freezes) Hardware timeout dump request (in case the FPGA freezes) Hardware timeout dump request (in case the FPGA freezes) When a beam dump request is issued, the BEI cards needs to be rearmed to be functional again, otherwise, the current loops stay opened.
16
16N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock
17
17N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock: hardware aspect Hardware summary: The heart of the BEI card is also based on a Xilinx Spartan3 FPGA XC3S1000 FT256 -4 XC3S1000 FT256 -4 The FPGA is clocked with a 40 MHz oscillator The FPGA is clocked with a 40 MHz oscillator Inputs / outputs : 2 multimode 820 nm fiber optics inputs from generators measurements 2 multimode 820 nm fiber optics inputs from generators measurements 1 simple VME slave interface (16A, 16D) 1 simple VME slave interface (16A, 16D) 1 RS-232 interface for flash ROM configuration 1 RS-232 interface for flash ROM configuration 2 three digits front panel displays to read the energies calculated. 2 three digits front panel displays to read the energies calculated. 1 differential bus transceiver (used as a receiver only) to get the reference energy from the BEM card. 1 differential bus transceiver (used as a receiver only) to get the reference energy from the BEM card. 1 differential bus transceiver (used as a receiver only) to receive the so called dump inhibit signal. 1 differential bus transceiver (used as a receiver only) to receive the so called dump inhibit signal. Reset, rearm and FPGA reconfiguration push buttons Reset, rearm and FPGA reconfiguration push buttons On board 1 2 x 8 bits x 128K flash ROM 1 2 x 8 bits x 128K flash ROM 3.3V, 2.5V and 1.2V power supplies on board 3.3V, 2.5V and 1.2V power supplies on board 2 switches for current loops (CMOS analog switches) 2 switches for current loops (CMOS analog switches)
18
18N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock : firmware aspect Overview of the software
19
19N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock : firmware aspect There is independent state machines for each of the BEI module Main state machine states IDLE IDLE Below energy threshold, check for transmission errors OPERATIONAL OPERATIONAL Above threshold, compares energies, check for all errors DUMP DUMP A dump request has been requested after an error, needs a reset or rearm of the card to go back into IDLE state. CONFIGURATION CONFIGURATION Can be reached only from IDLE state. Is used when reading or programming the flash ROM from the configuration port or reading it trough the VME interface.
20
20N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Interlock : firmware aspect Generation and downloading of the BEI transfer function file The transfer function file is generated using a home made MatLab GUI. The transfer function file is generated using a home made MatLab GUI. The functions for each generator can be independently added (2 x 2 functions). The functions for each generator can be independently added (2 x 2 functions). The thresholds and tolerances can be added for each BEI module. The thresholds and tolerances can be added for each BEI module. Additional informations can be added, as the version and the date of creation of the file. Additional informations can be added, as the version and the date of creation of the file. The file generated is downloaded to the BEI card as is, after having erased the previews one that was in the flash ROM. The file generated is downloaded to the BEI card as is, after having erased the previews one that was in the flash ROM.
21
21R. A. Barlow, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Controller (BEC) Current loop production with redundancy Current loop detection with redundancy Dump inhibition signal from TFO UTC signal for post mortem Beam permit inhibit to PLC VME interface Internal register for BEC status and diagnostics Internal register for BEC status and diagnostics Rearming Rearming On board test system for current loops check
22
22R. A. Barlow, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Controller Principles: The BEC has a redundant pair of on board current loop generators that feeds the BETS modules (BEM’s and BEI’s). The BEC module interfaces the BEM and BEI modules to external systems through redundant fail safe connections. On any given failure from within the BETS system, the BEC produces two Beam Dump Request (BDR) signals that are fed to the TSU cards (redundancy). The presence of a current in both current loops will be detected by the BEC and a 10 MHz square wave signal will be sent to the TSU. When one of the two current loops is broken, the 10 MHz signal disappears which produces a BDR. At the same time, the BEC provides also a pulse to the LHC timing system in order to record the UTC time of the BDR action for post mortem analysis.
23
23N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Beam Energy Controller: hardware aspect Hardware summary: The heart of the BEC card is also based on a Xilinx Spartan3 FPGA XC3S1000 FT256 -4 XC3S1000 FT256 -4 The FPGA is clocked with a 40 MHz oscillator The FPGA is clocked with a 40 MHz oscillator Inputs / outputs : 2 TTL, 50Ohms (BDR outputs to TSU) 2 TTL, 50Ohms (BDR outputs to TSU) 1 5V, 50Ohms (pulse to UTC) 1 5V, 50Ohms (pulse to UTC) 1 simple VME slave interface (16A, 16D) 1 simple VME slave interface (16A, 16D) 1 SUB-D9 connector with ambivalent contacts to PLC for “Beam Permit” 1 SUB-D9 connector with ambivalent contacts to PLC for “Beam Permit” 2 current loops test inputs and outputs 2 current loops test inputs and outputs Reset, rearm and FPGA reconfiguration front panel push buttons Reset, rearm and FPGA reconfiguration front panel push buttons On board 3.3V, 2.5V and 1.2V power supplies on board 3.3V, 2.5V and 1.2V power supplies on board 2 switches for current loops (CMOS analog switches) for tests 2 switches for current loops (CMOS analog switches) for tests
24
24N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Management of the look-up tables (I/E, U/E) BEM look-up table 32 points tables 32 points tables One table for current, another for energy (dependent) One table for current, another for energy (dependent) Linear interpolation between points Linear interpolation between points Error is determined by the number of interpolation points Error is determined by the number of interpolation points The table is hardcoded in the FPGA The table is hardcoded in the FPGA Same tables for “Reference” BEM and for “Interlock” BEM Same tables for “Reference” BEM and for “Interlock” BEM BEI look-up table 4x 32k points in table 4x 32k points in table ADC output is used as the address. Data located at this address corresponds to the energy. ADC output is used as the address. Data located at this address corresponds to the energy. Stored in external parallel flash ROM Stored in external parallel flash ROM Can be programmed or erased only locally (RS-232) Can be programmed or erased only locally (RS-232) Error is determined by the precision of the calibration measurements of the generators Error is determined by the precision of the calibration measurements of the generators
25
25N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 Management of the look-up tables (I/E, U/E) The look-up tables in the BEM and BEI cards are readable trough the VME. But they cannot be modified trough VME for security reasons But they cannot be modified trough VME for security reasons The same look-up tables will be placed in Oracle database for comparison (MCS). After a few runs, every TF in the cards will be read and crosschecked with corresponding files in the Oracle database. After a few runs, every TF in the cards will be read and crosschecked with corresponding files in the Oracle database. For the BEI cards, a code in the TF file indicates the corresponding generator. Special effort has to be done for naming and managing the look-up tables. Special effort has to be done for naming and managing the look-up tables.
26
26N.Voumard, AB/BT/ECLBDS Audit, CERN 2008 To the Beam Energy Acquisition cards (BEA) Beam Energy Interlock cards (BEI) Beam Energy Controller card (BEC) Beam Energy Meter cards (BEM) Power supply redundant VME-64 crate (Wiener) BETS system in UA-63
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.