Xiangming Sun1PXL Sensor and RDO review – 06/23/2010 STAR XIANGMING SUN LAWRENCE BERKELEY NATIONAL LAB Firmware and Software Architecture for PIXEL L.

Slides:



Advertisements
Similar presentations
L. Greiner 1IPHC meeting – September 5-6, 2011 STAR HFT LBNL Leo Greiner, Eric Anderssen, Thorsten Stezelberger, Joe Silber, Xiangming Sun, Michal Szelezniak,
Advertisements

PXL RDO System Requirements And meeting goals 11/12/2009BNL_CD-1_SENSOR_RDO - LG1.
Alice EMCAL Meeting, July 2nd EMCAL global trigger status: STU design progress Olivier BOURRION LPSC, Grenoble.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
David Nelson STAVE Test Electronics July 1, ATLAS STAVE Test Electronics Preliminary V3 Presented by David Nelson.
Research and Development for the HFT at STAR Leo Greiner BNL DAC 03/15/2006.
L. Greiner 1PXL BNL Safety Review– September 26, 2011 STAR HFT LBNL Leo Greiner, Eric Anderssen, Thorsten Stezelberger, Joe Silber, Xiangming Sun, Michal.
L. Greiner1PXL Sensor and RDO review – 06/23/2010 STAR Heavy Flavor Tracker Overview With parameters pertinent to the PXL Sensor and RDO design.
2 Outline Digital music The power of FPGA The “DigitalSynth” project –Hardware –Software Conclusion Demo.
Time Division Multiplexing School of Physics and Astronomy Department of Particle Physics Elissavet Papadima 29/5/2014.
L. Greiner 1HFT PXL BNL FTF– September 27, 2011 STAR HFT LBNL Leo Greiner, Eric Anderssen, Thorsten Stezelberger, Joe Silber, Xiangming Sun, Michal Szelezniak,
Mathieu Goffe EUDET JRA1 meeting, DESY Wednesday 30 January 2008 IPHC, 23 rue du Loess BP 28, 67037, Strasbourg Cedex 02, France.
L. Greiner1PXL Sensor and RDO review – 06/23/2010 STAR PXL System Hardware Architecture.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
DDL hardware, DATE training1 Detector Data Link (DDL) DDL hardware Csaba SOOS.
Leo Greiner IPHC testing Sensor and infrastructure testing at LBL. Capabilities and Plan.
M. Szelezniak1PXL Sensor and RDO review – 06/23/2010 STAR Hardware Prototyping Status.
X,Sun1USTC discussion, Oct 15, 2010 STAR STAR Heavy Flavor Tracker Upgrade --Status of PXL Detector Xiangming Sun Lawrence Berkeley National Lab L. Greiner,
X,Sun1STAR Regional Meeting, Oct 23, 2010, SDU STAR STAR Heavy Flavor Tracker Upgrade --Status of PXL Detector Xiangming Sun( 孙向明 ) Lawrence Berkeley National.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
L. Greiner 1IPHC meeting – September 5-6, 2011 STAR HFT LBNL Leo Greiner, Eric Anderssen, Thorsten Stezelberger, Joe Silber, Xiangming Sun, Michal Szelezniak,
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
Understanding Data Acquisition System for N- XYTER.
Leo Greiner IPHC meeting HFT PIXEL DAQ Prototype Testing.
1 PIXEL H. Wieman HFT CDO LBNL Feb topics  Pixel specifications and parameters  Pixel silicon  Pixel Readout uSTAR telescope tests 
Phase-1 Design. i PHC Phase /04/2008 System Overview Clock, JTAG, sync marker and power supply connections Digital output.
Leo Greiner TC_Int1 Sensor and Readout Status of the PIXEL Detector.
Leo Greiner IPHC DAQ Readout for the PIXEL detector for the Heavy Flavor Tracker upgrade at STAR.
LANL FEM design proposal S. Butsyk For LANL P-25 group.
First ideas for the Argontube electronics Shaper, simulations Block Diagram for analog path Delta Code Data Reduction Bus system, Controller Max.
Michal Szelezniak – LBL-IPHC meeting – May 2007 Prototype HFT readout system Telescope prototype based on three Mimostar2 chips.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Leo Greiner PIXEL Hardware meeting HFT PIXEL detector LVDS Data Path Testing.
TELL-1 and TDC board: present status and future plans B. Angelucci, A. Burato, S. Venditti.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
Test Setup for FE-I3 single chips / modules, FE-I4_proto1 and for full scale FE-I4 Marlon Barbero, Bonn.
L. Greiner 1St. Odile CMOS Workshop – September 6-9, 2011 STAR HFT LBNL Leo Greiner, Eric Anderssen, Thorsten Stezelberger, Joe Silber, Xiangming Sun,
1 07/10/07 Forward Vertex Detector Technical Design – Electronics DAQ Readout electronics split into two parts – Near the detector (ROC) – Compresses and.
Transfering Trigger Data to USA15 V. Polychonakos, BNL.
Readout for the HFT at STAR. LG - STAR Upgrades Workshop Dec A Stand-alone Heavy Flavor Tracker for STAR Z. Xu Brookhaven National Laboratory,
Sensor testing and validation plans for Phase-1 and Ultimate IPHC_HFT 06/15/ LG1.
CERN, 18 december 2003Coincidence Matrix ASIC PRR Coincidence ASIC modifications E.Petrolo, R.Vari, S.Veneziano INFN-Rome.
Leo Greiner IPHC beam test Beam tests at the ALS and RHIC with a Mimostar-2 telescope.
JRA-1 Meeting, Jan 25th 2007 A. Cotta Ramusino, INFN Ferrara 1 EUDRB: A VME-64x based DAQ card for MAPS sensors. STATUS REPORT.
1 MICE Tracker Readout Update Introduction/Overview TriP-t hardware tests AFE IIt firmware development VLSB firmware development Hardware progress Summary.
STAR Pixel Detector readout prototyping status. LBNL-IPHC-06/ LG22 Talk Outline Quick review of requirements and system design Status at last meeting.
ALIBAVA system upgrade Ricardo Marco-Hernández IFIC(CSIC-Universidad de Valencia) 1 ALIBAVA system upgrade 16th RD50 Workshop, 31 May-2 June 2010, Barcelona.
X,Sun1CERN meeting, May 29, 2011 STAR STAR Heavy Flavor Tracker Upgrade --PXL Detector Xiangming Sun Lawrence Berkeley National Lab L. Greiner, H. Matis.
.1PXL READOUT STAR PXL READOUT requirement and one solution Xiangming Sun.
Amsterdam, Oct A. Cotta Ramusino, INFN Ferrara 1 EUDRB: status report and plans for interfacing to the IPHC’s M26 Summary: EUDRB developments.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
Vladimir Zhulanov for BelleII ECL group Budker INP, Novosibirsk INSTR2014, Novosibirsk 2014/02/28 1.
DHH Status Igor Konorov TUM, Physics Department, E18 PXD DAQ workshop Münzenberg –June 9-10, 2011.
Firmware and Software for the PPM DU S. Anvar, H. Le Provost, Y.Moudden, F. Louis, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2011 March 30.
1 PIXEL H. Wieman HFT CDO LBNL Feb topics  Pixel specifications and parameters  Pixel silicon  Pixel Readout uSTAR telescope tests 
SVD FADC Status Markus Friedl (HEPHY Vienna) Wetzlar SVD-PXD Meeting, 5 February 2013.
Eric Hazen1 Ethernet Readout With: E. Kearns, J. Raaf, S.X. Wu, others... Eric Hazen Boston University.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
The STAR Heavy Flavor Tracker PXL detector readout electronics
Production Firmware - status Components TOTFED - status
PyBAR Firmware Structure and Operation Experience
Iwaki System Readout Board User’s Guide
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
CoBo - Different Boundaries & Different Options of
PCI BASED READ-OUT RECEIVER CARD IN THE ALICE DAQ SYSTEM
Introduction to Microprocessors and Microcontrollers
Example of DAQ Trigger issues for the SoLID experiment
NA61 - Single Computer DAQ !
The CMS Tracking Readout and Front End Driver Testing
Presentation transcript:

Xiangming Sun1PXL Sensor and RDO review – 06/23/2010 STAR XIANGMING SUN LAWRENCE BERKELEY NATIONAL LAB Firmware and Software Architecture for PIXEL L. Greiner, H. Matis T. Stezelberger M. Szelezniak C. Vu H. Wieman …

Xiangming Sun2PXL Sensor and RDO review – 06/23/2010 STAR Outline Requirements for event readout mode Event readout mode Other firmware functions Firmware and readout software structure Summary

Xiangming Sun3PXL Sensor and RDO review – 06/23/2010 STAR Chip set sensoroutputfrequency Mimostar2analog50MHz Mimostar3analog50MHz Phase1/24 LVDS pairs and analog 160MHz Ultimate2 LVDS pairs160MHz

Xiangming Sun4PXL Sensor and RDO review – 06/23/2010 STAR  Individual sensor test - A single sensor is connected.  Probe test - The sensors are put on probe station and the power supply is controlled.  Infrastructure Test Board (ITB) test - 10 sensors are connected in parallel, long cables are used.  Beam test - 4 sensers are built into a telescope. The trigger is included.  Phase-2 sector test - More than 1 sector is connected. The trigger is included.  Final version - 40 sensors are connected. Long cables are used. The trigger is included. Firmware structure is designed to handle all these tests. The set of firmware modules for the various tests will be very similar with only minor task dependant differences. Test set

Xiangming Sun5PXL Sensor and RDO review – 06/23/2010 STAR Rrequirement for event readout mode 40 sensors per readout board( Each sensor has 2 LVDS pairs. 80 LVDS pairs in 160MHz). Sensor digitizes signal and records hit address in on-chip memory, then transfer hit address serially. Trigger is STAR DAQ1000(about 1KHz). DAQ DDL assumed throughput is 80MB/s on average. (DDL link rated for 200MB/sec). requirement : mass terminition board mother board xilinx V5 PRO SIU/DDL DAQ PC

Xiangming Sun6PXL Sensor and RDO review – 06/23/2010 STAR Data is buffered in FPGA STAR and DAQ policy: 1 trigger per event DDL peak speed(2Gb/s) is lower than data generation peak speed (12.8Gb/s). TPC can buffer 8 triggers when DDL is not available. PIXEL should buffer ≥8 triggers frame1 frame2 frame3 Trigger timeEvent data

Xiangming Sun7PXL Sensor and RDO review – 06/23/2010 STAR Event format 7 For sector header ender Data block For ladder1 Data block For ladder2 Data block For ladder3 Data block For ladder4 Header token Trigger info system status temperature Firmware version Hardware ID ……. 10 words reserved Block startData length … Hit address end token sensor ID is encoded in four unused bits

Xiangming Sun8PXL Sensor and RDO review – 06/23/2010 STAR Ladder#1Ladder#2Ladder#3Ladder#4 Event Builder #1 (head token added) Event Builder #2 Event Builder #3 Event Builder #4 (end token added) Event fifo SIU Event mode Readout structure for one sector

Xiangming Sun9PXL Sensor and RDO review – 06/23/2010 STAR Event Builder Serial to parallel conv … 10 sensors data memory Trigger time memory start frame memory Builder state machine To event fifo circular buffer Sensor 1 output1 output2

Xiangming Sun10PXL Sensor and RDO review – 06/23/2010 STAR Serial to parallel converter Serial to parallel conv … 10 sensors data memory Serial-to-parallel converter 1, convert 160MHz 1 bit data to 10MHz 16bit parallel data. 2, add sensor ID into the data. Data memory scans Serial-to-parallel converter one by one every 10 ns (100MHz). It starts from sensor 1 and returns to sensor 1 after reaching sensor 10. From sensor1 From sensor2 From sensor… From sensor10 From sensor… From sensor1 Sensor 1 output1 output2 From sensor3

Xiangming Sun11PXL Sensor and RDO review – 06/23/2010 STAR Circular buffers data memory Trigger time memory start frame memory frame counter when trigger comes index of start frame memory index of data memory for the first frame index of data memory for the second frame 64K words 512 words trigger token and buffer full frame1 frame2

Xiangming Sun12PXL Sensor and RDO review – 06/23/2010 STAR Data check out data memory Trigger time memory start frame memory frame1 frame2 get trigger time and start frame index get buffer index for 2 frames Check out region where hit address bigger than trigger time for frame1 and smaller for frame2 Release unused memory.

Xiangming Sun13PXL Sensor and RDO review – 06/23/2010 STAR Buffering capability 19K words/trigger (684kb).( buffer length in chip is assumed to be 500 words and 150 word for inner and outer ladder from simulation ). Current FPGA has 3Mb for event mode. XC5VLX330 has 8Mb. 256 continous triggers can be stored (data memory may be full already) bottleneck is DDL. 39MB/s for trigger DAQ1000 deviceTotal roomRoom usedusage sensor2000word500 / 15025% / 7.5% FPGA data8Mb684kb*217% FPGA trigger512 word2word*21% DDL80MB/s39MB/s48% In normal condition, memory and DDL usage 10 triggers can be buffered when the DDL link is busy.

Xiangming Sun14PXL Sensor and RDO review – 06/23/2010 STAR Other firmware functions JTAG function (all sensors) Analog full frame readout (Mimostar3 and Phase1) Digital full frame readout (Phase1 and Ultimate) I 2 C device control (Phase1 and Ultimate) System monitoring (Phase1 and Ultimate)

Xiangming Sun15PXL Sensor and RDO review – 06/23/2010 STAR Firmware structure 15 System control can access every module DDL/USBPC sensor

Xiangming Sun16PXL Sensor and RDO review – 06/23/2010 STAR JTAG function (all sensors) JTAG is used for initializing the sensor. JTAG is done by the FPGA in Virtex5 development board. We reserve 5 FPGA pins as JTAG pins which connect to sensor’s JTAG pin serially. The JTAG data is sent from PC to FPGA SRAM. The JTAG module in FPGA will read the data from FPGA SRAM and transmit the data to sensor by JTAG pins. sensor

Xiangming Sun17PXL Sensor and RDO review – 06/23/2010 STAR Analog full frame readout analog signal is digitized in ADC ADS5272 sensor ADS MHz, IOdelay is used data is buffered in SRAM

Xiangming Sun18PXL Sensor and RDO review – 06/23/2010 STAR IO delay for digital data alignment 1, set sensor to pattern mode, a single pulse is sent from sensor for each row. 2, scan IO delay setting from 0 to 63. readout data in event mode. 3, search for the pulse in data taken. plot the relation between pulse address and IO delay setting. 4, find the transition region in above plot. set IO delay by shifting a half clock. Digital signals pass 7 meters before arriving FPGA. How the digital signals from all sensors are aligned? Scan steps 063 N N+1 half clock pulse 1 clock cycle Transition region Iodelay set

Xiangming Sun19PXL Sensor and RDO review – 06/23/2010 STAR Digital full frame readout sensor

Xiangming Sun20PXL Sensor and RDO review – 06/23/2010 STAR I 2 C voltage control and measurement

Xiangming Sun21PXL Sensor and RDO review – 06/23/2010 STAR System monitoring We have a separate data channel to monitor the system in physics run. This channel includes a information builder module in FPGA, USB data channel and a monitor PC. If something wrong happens, we can easily see it from monitor PC. sensor

Xiangming Sun22PXL Sensor and RDO review – 06/23/2010 STAR Event mode

Xiangming Sun23PXL Sensor and RDO review – 06/23/2010 STAR Readout software structure command: generate commands in windows and linux usb.exe :upload commands to FEE in windows download_data_block_to_FEE: upload commands to FEE in windows getdata:get frame data in windows and linux rorc_receive: get event data in linux IO delay package: tune IOdelay for each digital channel I2C package: control I2C device Design Goal: portable between Linux and Windows every test can be scripted

Xiangming Sun24PXL Sensor and RDO review – 06/23/2010 STAR System Control command Hex file usb.exe download_data_block_to_FEE 0x0402fffd 0x1d82ff3f 0x1502ffcf 0x2642ffff 0x2642fdff 0x2202feff 0x0c03fff0 0x1547ffff 0x1547ffdf 0x0cc7ffff …………. Linux PC Linux PC rorc_receive getdata Windows PC Windows PC

Xiangming Sun25PXL Sensor and RDO review – 06/23/2010 STAR Summary The design meets the requirements as stated. The full set of expected operation modes are addressed.

Xiangming Sun26PXL Sensor and RDO review – 06/23/2010 STAR backup

Xiangming Sun27PXL Sensor and RDO review – 06/23/2010 STAR I 2 C voltage control