FPGA Firmware Development for ALICE EMCal Electronics System

Author
ZhangFan
Advisor
HuangGuangMing
School
Central China Normal University
Major
Circuits and Systems
Classification
TN791 Logic circuits
Degree
Master's thesis
Year
2009
Downloads
70
Citations
1

Request the full text

Abstract

With the rapidly development of the ASIC technology,the Field Programmable Gate Array(FPGA) device has been widely used in the high-energy physics detectors.At present,the Large Hadron Collider(LHC) is a physical science experimental device with highest energy in the world.A Large Ion Collider Experiment(ALICE) is one of four physical experiments on LHC.Electro Magnetic Calorimeter(EMCal) is a sub-detector on the ALICE experiment.The development of the FPGA firmware for Front End Electronics(FEE) card and Trigger Region Unit(TRU) of EMCal electronics system is the main work of this thesis.EMCal is a kind of sampling calorimeter with 12672 WLS readout Pb/Scintillator (Shashlik type) towers.The light from WLS is converted into current by the Avalanche Photo Diode(APD) and pre-amplified by the Current Sensitive Pre-amplifier(CSP). Each FEE card implements shapers and ALTRO chips which integrats ADCs,digital processing logic and storages to process step signals outputted by 32 CSPs concurrently. FEE card also includes fast shapers with a shaping time of 100 ns to provide fast-or signals for TRU.Twelve 12-bit,8-channel serial Analog-to-Digital Converter(SADC) on the TRU sample 96-channel fast-or signals from 12 FEE cards and output 480 Mbit/s serial data flow.The FPGA on the TRU is dedicated to de-serialize the serial data flow, implement the peak-finder algorithm and generate a 40 MHz level-0 trigger signal. The main work of the thesis is divided into four parts which will be described hereafter respectively.◇Development of Generic core-level system for FEE and TRUThe EMCal development is a long-term process,the system upgrades will be carried out continuously during the development process.Hence,the scalability is very important for FPGA firmware design.In order to add new functions and optimize the previous functions for FEE,it is necessary to re-design the system architecture for FEE FPGA.In addition,FEE and TRU communicate with high-level system through same protocols and use same board monitoring strategy.So,the design of a generic core-level system is necessary and feasible.This generic core-level system achieves common functions for FEE and TRU.The system is highly scalable and easy to insert new modules.◇Development of Sparse Readout module for FEEStudy shows that addressing empty channels occupant a lot of time during the readout of an active event on EMCal.The Sparse Readout module is dedicated to scan all the channels before event readout operation and inform the DAQ to read the channels with data.◇Development of Serial Analog-to-Digital Converter(SADC) debugging module for TRUDebugging the firmware always occupant a lot of time during the developing process. The SADC debugging module is dedicated to minimize the debugging time of modules related to the SADCs on TRU as far as possible.This debugging module has integrated all the debugging functions for SADCs.One can switch the debugging modes by setting two registers remotely.◇Development of Tunable Phase Shift module for TRUThe Downhill finder algorithm which will be implemented in the FPGA on TRU requires the synchronization of the ADC sampling clock and the peak of the fast-or signals.The Tunable Phase Shift module is designed to fix that synchronization problem.For 40 MHz sampling clock on TRU,it can adjust the phase with defined steps.The single-step phase-shift is 1/256 degree;the total range of phase-shift steps is from -51 steps to+51 steps.More in general,scalability,reusability and self-debugging function are the key features of FPGA firmware developing covered in the present thesis work,where scalability refers that one can insert new functional modules under the architecture of the generic core-level system;reusability refers that all the modules had been designed in "IP core" style;self-debugging function refers that a lot of debugging function for firmware debugging and hardware testing had been added into the design.

Table of contents

Summary 4-7 Abstract 7-12 Chapter 1 Introduction 12-24 1.1 A Large lon Collider Experiment at the Large Hadron Collider 12-14 1.2 The ALICE Electro Magnetic Calorimeter 14-16 1.3 Electronics system for EMCal 16-23 1.3.1 Signal Chain of the electronics system for EMCal detector 16-18 1.3.2 The hardware interface of the FPGA on Front End Electronics 18-20 1.3.3 The hardware interface of the FPGA on Trigger Region Unit 20-21 1.3.4 The architecture of the FPGA firmware for FEE and TRUT 21-23 1.4 The outline of the thesis 23 - 24 Chapter 2 Development of Generic Core-level System for FEE and TRU 24-46 2.1 Motivation 24-25 2.2 Difference between the Altera Quartus Ⅱ and Xilinx ISE 25-27 2.3 System overview 27-29 2.4 Firmware Development for Slow Control Bus Interface module 29-35 2.4.1 Slow Control Bus overview 29-30 2.4.2 Architecture of the Slow Control Bus Interfacc module 30-32 2.4.3 Slow Control Bus Interface Decoding 32 -34 2.4.4 Simulation Result 34-35 2.5 Firmware Development for ALTRO Bus Interface module 35-39 2.5.1 ALTRO Bus overview 35-36 2.5.2 Architecture of the ALTRO Bus Interface module 36 2.5.3 Finite State Machine of the ALTRO Bus Decoding 36-37 2.5 .4 Simulation result 37-39 2.6 Firmware Development for Monitoring module 39-46 2.6.1 Monitoring strategy overview 39 2.6.2 Architecture of the Monitoring module 39-41 2.6.3 Finite State Machine of the Monitoring module 41-45 2.6.4 Simulation result 45-46 < br /> Chapter 3 Development of Special Modules for FEE and TRU 46-69 3.1 Firmware development for High Voltage Control module 46-51 3.1.1 High Voltage Control module overview 46-47 3.1.2 Architecture of the High Voltage Control module 47-49 3.1.3 Finite state machine of the High Voltage Control module 49 -51 3.1.4 Simulation result 51 3.2 Firmware development for EEPROM Control Interface module 51-56 3.2.1 EEPROM Control Interfacc module overview 51-52 3.2.2 Architecture of the EEPROM Control Interface module 52 3.2.3 Read and Write Timing of the EEPROM Control Interface module 52-56 <br / > 3.3 Firmware development for Sparse Readout module 56-60 3.3.1 Sparse Readout procedure 56-57 3.3.2 Architecture of the Sparse Readout module 57 -58 3.3.3 Finite state machine of the Sparse Readout module 58-60 3.3.4 Simulation result 60 3.4 Firmware development for SADC Debugging Interface module 60-65 3.4.1 SADC Debugging Interface module overview 60-61 3.4.2 Architecture of the SADC Debugging Interface module 61-62 <br / > 3.4.3 Finite state machine of the SADC Debugging Interface module 62-64 3.4.4 Simulation result 64-65 3.5 Firmware development for Tunable Phase Shift module 65-69 3.5.1 Tunable Phase Shift module interface 65-66 3.5.2 Finite state machine of the Tunable Phase Shift module 66-68 <br / > 3.5.3 Simulation result 68-69 Chapter 4 Conclusions and outlook 69-71 Reference 71-73 published during the school papers 73-74 Thanks 74

Related dissertations

  1. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  2. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  3. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  4. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  5. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  6. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  7. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  9. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  10. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  11. The Design of Digital Ultrasonic Nondestructive Testing System
  12. Design and Implementation of High Speed Data Recorder Based on FPGA
  13. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  15. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  16. The Design and Research of PCI Data Acquisition Card Based on FPGA
  17. Usb Without Invasive Data Collection Technology Research
  18. Research on On-line Diameter Measurement System Based on FPGA
  19. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Realize of a Type of Automatic Target-scoring System