Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
STATUS OF THE HPD-PET READ-OUT ELECTRONICS
A. Argentieri 1 , F. Corsi
2,
C. Marzocca 2 , P. Del Vecchio 2 , E. Chesi 3, E. Nappi 1
1 Istituto
2 Dipartimento
15/01/2007
Nazionale di Fisica Nucleare - Bari
di Ingegneria Elettrotecnica ed Elettronica - Politecnico di Bari
3 PH Department, CERN, Geneva
HPD-PET Meeting - Bari
1/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Outline
• HPD-PET Scanner Architecture (Main Features)
• HPD-PET Data Acquisition System (Main Features)
• HPD-PET Read-out Card
• Stand-alone Read-out Card
• The Implemented System
- Hardware components
- FPGA Firmware
- Software Application and using mode
• Conclusions and future tasks
15/01/2007
HPD-PET Meeting - Bari
2/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
3D PET Scanner Architecture for HPD-PET
• 16 modules arranged in a ring
• Each module: 16x13 crystal bars + 2 HPDs
• Each HPD: 208 channels
• Front-end electronics : 2 daisy-chained VaTa-Gp5
for each HPD
z
15/01/2007
HPD-PET Meeting - Bari
3/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
The Data Acquisition Architecture
• Hierarchical structure with different levels of parallelism
• Event-driven and parallel read-out of several
independent couples of modules found in coincidence
• FPGA-based architecture
The data acquisition system is based on 3 building blocks:
Backplane Cards (BP cards)
One BP card per module. It extracts the triggering signals from the module detectors and process
them in order to detect only meaningful events.
The Read-Out Cards (RO cards)
One RO card per module. It performs the read-out of the modules, according to the sparse read-out
mode of the VaTa-GP5 chip.
The Process Controller Card (CP card)
One CP card per system. It controls the synchronization of both the BPs and the ROs cards and
manages the data transfer into a server-like workstation.
15/01/2007
HPD-PET Meeting - Bari
4/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
READ-OUT CARD: Main features
• HPD-PET oriented but also useful as a standalone read-out system for the VaTa chip
• Requirements for the PET application:
• setting of the configuration registers of the four VaTa chips in the module,
with data from USB2.0 bus
• serial read-out for pedestal evaluation and threshold setting of the VaTa chips
• during normal acquisition, sparse read-out of the chips, enabled by the CP card
• coincidence analysis between the two HPDs and data validation
• data transmission to workstation, via the USB2.0 bus
15/01/2007
HPD-PET Meeting - Bari
5/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
READ-OUT CARD: Architecture for HPD-PET
Module X
to CP BOARD
VaTa
Gp5
BIAS CH1
EEPROM
ADDRESS CH1
ADC CH1
READ-OUT
CONTROLS CH1
FPGA
USB 2.0
CONTROLLER
READ-OUT
CONTROLS CH2
VaTa
Gp5
ERNI 80
VaTa
Gp5
ADC CH2
ADDRESS CH2
BIAS CH2
15/01/2007
USB type B connector
ERNI 80
VaTa
Gp5
HPD-PET Meeting - Bari
POWER
+/-2V
+5V
+3.3V
6/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Implementation of a read-out system for standalone applications
• Main hardware and firmware requirements:
• oriented to the test of the VaTa chip
• upload of the configuration registers of max 16 VaTa chips in daisy-chain,
with data from USB2.0 bus
• monitoring of the analog output of the VaTa chips
• sparse and serial read-out of the chips
• data transmission, via the USB2.0 bus
• Main software requirements :
• set-up of the desired configuration and upload via USB2.0
• selection of a single channel for monitoring its analog output
• download via USB2.0 and data storage on local disk
• postprocessing for data validation, pedestal calculation and possible
extraction of data coming from one selected channel
15/01/2007
HPD-PET Meeting - Bari
7/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
THE IMPLEMENTED SYSTEM
2 daisy-chained VaTa-Gp5
and
PhotoDiode Array
Level adapter and testing board
(full custom board)
Development kit for
ALTERA Stratix EP1S40
AD9225 12 bit A/D converter
Stratix EP1S40F780C5 FPGA
CY7C68013 EZ-USB FX2 USB Microcontroller
15/01/2007
Development kit for
Cypress FX2 USB Chip
HPD-PET Meeting - Bari
8/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Block diagram of the FPGA Firmware
(Design entry in Altera HDL + schematic)
Main features:
• low level communication
Serial mode
section
FIFO
Instruction
decode
section
Reset
section
Single channel
section
• low level control of VaTa
VATA INTERFACE
USB CONTROLLER
INTERFACE
Sparse mode
section
with USB controller
• decoding instruction from PC
Configuration
register
section
15/01/2007
HPD-PET Meeting - Bari
9/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Software Application for control the system
• developed in Visual C++
• easy to use
• easy to upgrade
You can:
• choose and send the USB controller firmware
• set the chip type and the number of VaTa chip
in the system
• set up the configuration of each chip in the system
and send the entire bitstream
• reset the FPGA firmware and the VaTa chip
• choose the channel under test and enable his
shaper analog output via intermediate testing board
• set the event number to be read-out or stop read-out
when you want
• enable serial read-out for pedestal calculation
• enable serial or sparse read-out in normal mode
• analize and process the data in the file .dat
from read-out
15/01/2007
HPD-PET Meeting - Bari
10/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Set up example
• chip number: 2
• channel under test : 50, chip 1
• other channels: masked
15/01/2007
HPD-PET Meeting - Bari
11/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Analog output of a single channel
VaTa Trigger
Sample&Hold signal
Analog output of the channel under test
15/01/2007
HPD-PET Meeting - Bari
12/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Serial read-out of 600 events
• Read-out will be stopped automatically after acquisition of 600 events
• Channel Under Test : 50 of chip 1
Analog Value (after S&H) of
the channel under test
VaTa Trigger
• The received data are stored in “Serial.dat” file
15/01/2007
• The channel under test is read-out after
128 + 50 periods of VaTa clock
HPD-PET Meeting - Bari
13/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Data post-processing
The software can …
• verify the format of the received data and write the “Check Log.txt” file with
the ADC information for each channel and each event
• calculate the pedestal value and standard deviation value for each channel
and store the values in file .txt and .dat for further Matlab post-processing
• pull out the value for each event of a selected channel and store
the values in file .txt and .dat for for further Matlab post-processing
15/01/2007
HPD-PET Meeting - Bari
14/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Example of Matlab graphic post-processing
• For pedestal calculation, the serial acquisitions are driven
by FPGA firmware in autotrigger mode (Intern Trigger selected)
15/01/2007
HPD-PET Meeting - Bari
15/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Sparse read-out with event number set to 0
• Read-out will be stopped when user pushes Stop button
• Channel Under Test: 50 of chip 1
Analog Value (after S&H) of
channel under test
VaTa Trigger
• The channel under test is read-out on the first Vata clock.
• The received data are stored in “Sparse.dat” file
15/01/2007
HPD-PET Meeting - Bari
16/17
Politecnico di Bari
Dipartimento di Elettrotecnica ed Elettronica
Conclusions
• The implemented system is oriented to test and verify the functionality of VaTa chip or to read-out a simple chain of chips.
• The system is easy to use.
• The system can be easily upgraded thanks to the FPGA implementation.
• The USB communication beetween system and PC is very fast and flexible.
• The system is a good preliminary version of Read-Out Card for HPD-PET.
• We have developed the required knowledge and tools to face the future challenges of the HPD-PET electronics.
Future Tasks
• Design and produce just one “full implemented” board with hardware for two chip chains.
• Develope the FPGA firmware for coincidence analysis and control of the two chains.
15/01/2007
HPD-PET Meeting - Bari
17/17
Scarica

READ-OUT CARD