NSYNC and Data Format S. Cadeddu – INFN Cagliari P. Ciambrone – INFN LNF.

Slides:



Advertisements
Similar presentations
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 18 February 2010 Martin Postranecky, Matt Warren, Matthew Wing.
Advertisements

XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing.
Muon Electronic Upgrade Data Format. 32 bits nODE Architecture: remarks Six 32 input channels nSYNC for each nODE Three nSYNC per GBT LLT implemented.
Off Detector Electronics Upgrade. Outline Present schemes and features New schemes of nSYNC Technology 19/03/2014 S. Cadeddu - INFN Cagliari 2.
TDC in ACTEL FPGA Tom Sluijk Wilco Vink Albert Zwart Fabian Jansen.
LHCb Upgrade Overview ALICE, ATLAS, CMS & LHCb joint workshop on DAQ Château de Bossey 13 March 2013 Beat Jost / Cern.
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
GEM Design Plans Jason Gilmore TAMU Workshop 1 Oct
Upstream Tracker Data Format JC Wang Upgrade Electronics & AMC40 Firmware Meeting 12/12/2013.
- Software block schemes & diagrams - Communications protocols & data format - Conclusions EUSO-BALLOON DESIGN REVIEW, , CNES TOULOUSE F. S.
Infrastructure for LHCb Upgrade workshop – MUON detector Infrastructure for LHCB Upgrade workshop: MUON power, electronics, cable Muon upgrade in a nutshell.
Study on buffer usage and data packing at the FE Federico Alessio, with inputs from Richard, Ken, Guillaume LHCb Electronics Upgrade Meeting 11 April 2013.
Emlyn Corrin, DPNC, University of Geneva EUDAQ Status of the EUDET JRA1 DAQ software Emlyn Corrin, University of Geneva 1.
VELO upgrade Front-end ECS LHCb upgrade electronics meeting 12 April 2012 Martin van Beuzekom on behalf of the VELO upgrade group Some thoughts, nothing.
Start-up & synchronization sequence for Front-End LHCb Electronics Upgrade Meeting 13 February 2014 F. Alessio, CERN.
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: “DOM MB to Event Builder”
U N C L A S S I F I E D FVTX Detector Readout Concept S. Butsyk For LANL P-25 group.
PicoTDC Features of the picoTDC (operating at 1280 MHz with 64 delay cells) Focus of the unit on very small time bins, 12ps basic, 3ps interpolation Interpolation.
Status of Readout Board Firmware Guillaume Vouters On behalf of the MiniDAQ developers 11 December 2014 LHCb Upgrade Electronics.
The GBT A single link for Timing, Trigger, Slow Control and DAQ in experiments A. Marchioro CERN/PH-MIC.
Design & test of SciFi FEB
LHCb-week June 2005 OT 1 Dirk Wiedner 1 MHz Readout and Zero Suppression for the Outer Tracker Dirk Wiedner, Physikalisches Institut der Universität Heidelberg.
Readout Control specifications for FE and BE in the upgraded LHCb readout system Federico Alessio Richard Jacobsson LHCb Electronics Upgrade Meeting 26.
EUDRB: the data reduction board of the EUDET pixel telescope Lorenzo Chiarelli, Angelo Cotta Ramusino, Livio Piemontese, Davide Spazian Università & INFN.
Muon Electronics Upgrade Present architecture Remarks Present scenario Alternative scenario 1 The Muon Group.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
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)
LHCb front-end electronics and its interface to the DAQ.
TDC in ACTEL FPGA Tom Sluijk Hans Verkooijen Albert Zwart Fabian Jansen.
GBT SCA overview Slide 1-5 Work status Slide 6-10 Shuaib Ahmad Khan.
Clara Gaspar, December 2012 Experiment Control System & Electronics Upgrade.
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
Level-1 Data Driver Card (L1DDC) HEP May 2014 Naxos 08/05/2014HEP 2014, NAXOS Panagiotis Gkountoumis National Technical University of Athens.
Peter LICHARD CERN (NA62)1 NA62 Straw tracker electronics Study of different readout schemes Readout electronics frontend backend Plans.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
Could we abandon the HW LLT option and save money (and allow possible further improvements to the upgraded muon system)? Alessandro Cardini of behalf of.
DAQ interface + implications for the electronics Niko Neufeld LHCb Electronics Upgrade June 10 th, 2010.
Clara Gaspar on behalf of the ECS team: CERN, Marseille, etc. October 2015 Experiment Control System & Electronics Upgrade.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
Readout Control specifications for FE and BE in the upgraded LHCb readout system Federico Alessio Richard Jacobsson LHCb FE specificiations Upgrade Meeting.
Specificities of Calorimeter data The zero-suppress in ECAL/HCAL is 2D : 3X3 cluster => keep the 8 cells around a seed with pt > pt threshold. This cannot.
Ken Wyllie, CERN Tracker ASIC, 5th July Overview of LHCb Upgrade Electronics Thanks for the invitation to Krakow!
LHCb upgrade Workshop, Oxford, Xavier Gremaud (EPFL, Switzerland)
August 4th 2008Jacques Lefrancois1 Digital specification Keep signal treatment ( dynamic pedestal subtraction)Keep signal treatment ( dynamic pedestal.
AMC40 firmware Data format discussions 17/10/2013Guillaume Vouters1.
Artur BarczykRT2003, High Rate Event Building with Gigabit Ethernet Introduction Transport protocols Methods to enhance link utilisation Test.
Overview of EMU Software Rick Wilkinson. Slice Test DAQ We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger.
1 Timing of the calorimeter monitoring signals 1.Introduction 2.LED trigger signal timing * propagation delay of the broadcast calibration command * calibration.
SKIROC status CERN – CALICE/EUDET electronic & DAQ meeting – 22/03/2007 Presented by Julien Fleury.
Software and TDAQ Peter Lichard, Vito Palladino NA62 Collaboration Meeting, Sept Ferrara.
Integration with ATLAS DAQ Marcin Byszewski 23/11/2011 RD51 Mini week Marcin Byszewski, CERN1.
LHCb Outer Tracker Upgrade Actel FPGA based Architecture 117 januari 2013 Outline ◦ Front end box Architecture ◦ Actel TDC ◦ Data GBT interface ◦ Data.
Data Link Control. The two main functions of the data link layer are data link control and media access control. The first, data link control, deals with.
(Fast) flow control to the FE LHCb Electronics Upgrade Meeting 13 June 2013 F. Alessio, K. Wyllie and conversations with many of you.
LHCb Outer Tracker Electronics 40MHz Upgrade
of the Upgraded LHCb Readout System
Use of FPGA for dataflow Filippo Costa ALICE O2 CERN
E1 Structure and Traffic Mapping
vXS fPGA-based Time to Digital Converter (vfTDC)
Control of ASICs via GBTx
CAM Content Addressable Memory
UT Optical Connections
mmDAQ (Muon Atlas MicroMegas Activity – ATLAS R&D)
CoBo - Different Boundaries & Different Options of
Complex function block of processing and transferring asynchronous data for the IC of reading out the signals of multichannel detectors P. Ivanov, E.
On Behalf of the GBT Project Collaboration
LHCb Electronics Brainstorm
SKIROC status CERN – CALICE/EUDET electronic & DAQ meeting – 22/03/2007 Presented by Julien Fleury.
New DCM, FEMDCM DCM jobs DCM upgrade path
SVT detector electronics
Presentation transcript:

nSYNC and Data Format S. Cadeddu – INFN Cagliari P. Ciambrone – INFN LNF

nODE 4 48 channels 4 GBTx for hit+ TDC data – Slave GBT 1 GBTx forTFC/ECS – MasterGBT 1 GBT-SCA 2 VTTx 1 VTRx 07/07/2015S. Cadeddu: nSYNC & data format nSYNC 48Input ch Hit map TDC out VTTx GBTx VTTx GBTx ECS VTRx GBT SCA nSYNC 48Input ch Hit map TDC out nSYNC 48Input ch Hit map TDC out nSYNC 48Input ch Hit map TDC out GBTx 2

nSYNC block diagram 48 input channels – Each channel equipped with its own TDC – TDC resolution programmable – TDC output: Hit/NoHit + Signal phase BX synchronization Frame header builder TDC Zero suppression DAQ GBT interface controller TFC interface decoder ECS interface: I 2 C, SPI or both 07/07/2015S. Cadeddu: nSYNC & data format3

Fixed Frame – Our choice 07/07/2015S. Cadeddu: nSYNC & data format Header 48 Hit bits Data Frame: 112 bits 8 edac Header 48 Hit bits Header 48 Hit bits edac Frame using the 8 bits Hamming/EDAC, hits NZS, three possibility for TDC data (depending on the resolution), 16 bits for the Header – 3 TDC bits: max 13 channels (27%), one bit “empty” – 4 TDC bits: max 10 channels (20,8%), “full frame” – 5 TDC bits: max 8 channels (16,6%), “full frame” Header 48 Hit bits Data Frame: 112 bits Header 48 Hit bits Header 48 Hit bits Frame using no protection, hits NZS, three possibility for TDC data (depending on the resolution), 16 bits for the Header – 3 TDC bits: max 16 channels (33,3%), “full frame” – 4 TDC bits: max 12 channels (25%), “full frame” – 5 TDC bits: max 9 channels (18,7%), three bits “empty” 4

Fixed Frame – Reasons of our choice We choose to use the Fixed Frame with Full Hit Map plus TDC data ZS. Data Frame (Header + HitMap + TDC) can be protected by an Hamming/EDAC code. This possibility will be programmable. We have always the Hit Map (i.e. the “physics” information) whatever the occupancy will be. The worst we truncate TDC data. – The HitMap scheme was approved by trigger people that said (Julien Cogan): ”it is much better to have the hit map separated from the hit times which are not used in the trigger. It would help if the hits are sorted by station and region to speed up the sorting in the software.” This solution guarantee the maximum occupancy. The GBT links are always aligned. Less resources in the nSYNC Less resources in the TELL40 FPGA. 07/07/2015S. Cadeddu: nSYNC & data format5

Technical details The Header start at the MSB position of the GBT frame ( bit 111 in our case) This is also true for the fields inside the Header Our frame is packed as following: – Header – Hit Map – TDC data – Hamming bits 07/07/2015S. Cadeddu: nSYNC & data format6

Questions Time: This is a list of open point for which we would like to have some feedback from experts. Header definitions: – BCID field, in our case we foreseen 12 bits. – From docs: “Information field is mandatory since the no data bits is mandatory”: Is this true also in case of Fixed Frame? It should be related to the Header only commands. The “truncation data bit” must be included in this field? Same information can be extracted from the Hit Map – Data_length field is mandatory only in the case of Variable Frame. We’ll use the Fixed Frame so we haven’t to implement this field: is it right? SYNCH command: – From docs: When TFC sends a SYNCH command, the FE must send a header containing just the full 12 bits BCID and the synch pattern. Our header is foreseen to be 16 bit wide and it should be of Fixed Header type: during synch command we have to “reduce” this size? Is it mandatory or is it foreseen for Variable Header only ? Header Only and BX veto command: – How must these command implemented with our fixed frame scheme? 07/07/2015S. Cadeddu: nSYNC & data format7

Data Frame: 112 bits Header 48 Hit bits 8 edac Header 48 Hit bits edac Header 48 Hit bits edac Data Frame: 112 bits Header 48 Hit bits Header 48 Hit bits Header 48 Hit bits Questions Time: In the Fixed Frame scheme, if some data bits are not used, can they be fixed to “0”? We foreseen to protect the frame with a Hamming/EDAC code. This can be programmable – Is there any potential problem in the TELL40 FPGA firmware side? TDC has a programmable resolution, the output can be 3,4,5 bits wide, The TELL40 should collect all the data from all the input links, probably it has to perform a new ZS before to repack data for output in order to optimize the bandwidth: – Is there any problem in this “variable size” from the TELL40 firmware point of view? 07/07/2015S. Cadeddu: nSYNC & data format8

Questions Time: ZS data transmission: NZS data transmission (?): – Our Hit Map (which contains physics information) is always NZS. – TDC data are used mainly for monitoring purposes. – We can give the possibility to fix (via ECS) the window of TDC data instead of having the ZS TDC (this can be used for special runs like PDM or calibration runs) – This means we ignore the NZS TFC command 07/07/2015S. Cadeddu: nSYNC & data format Head X Hit Map X ZS TDC data X Head X+1 Hit Map X+1 ZS TDC data X+1 Head X+2 Hit Map X+2 ZS TDC data X+2 Head X Hit Map X NZS TDC data-W1 X Head X+1 Hit Map X+1 NZS TDC data-W1 X 9 Head X Hit Map X NZS TDC data-W2 X Head X+1 Hit Map X+1 NZS TDC data-W2 X Head X Hit Map X NZS TDC data-W3 X Head X+1 Hit Map X+1 NZS TDC data-W3 X

TFC commands: Preliminary thought We start to think about the TFC commands and they can fit with the present Fixed Frame data format, in preparation with the meeting with Federico. Header Only: – we are not sure this make some sense with our data format. Bunch Crossing Veto: – Same as Header Only. In this case we can think to force all hits to zero, in order to speed-up the analysis (trigger etc). Calibration Type: – To be studied Non-Zero Suppressed Mode (NZS): – How to manage in Fixed Frame. – Hit map is always NZS. – The TDC may be appended in the following frames (in this case we can manage one NZS event every n bunches (n around 6) Synch command – There should be no problem Snapshot Command – There should be no problem 07/07/2015S. Cadeddu: nSYNC & data format10

SPARE 07/07/2015S. Cadeddu: nSYNC & data format11

nSYNC TDC Technology: UMC 130nm Size: (90 x 171)  m 2 Working Power consumption: <100  W It was submitted in February 2015 in the new ADV2 test chip. 07/07/2015S. Cadeddu: nSYNC & data format12

Variable Frame – FEC Frame using the 32 bits FEC, hits NZS, three possibility for TDC data (depending on the resolution), 16 bits for the Header – 3 TDC bits: max 5 channels (10,4%), one bit “empty” – 4 TDC bits: max 4 channels (8,33%), “full frame” – 5 TDC bits: max 3 channels (6,25%), one bit “empty” 07/07/2015S. Cadeddu: nSYNC & data format Header 48 Hit bits Data Frame: 112 bits 32 FEC bits Header 48 Hit bits 32 FEC bits Header 48 Hit bits 32 FEC bits Header 9 Ch bits Data Frame: 112 bits 32 FEC bits Header 32 FEC bits Header 32 FEC bits 9 Ch bits 10 Ch bits 11 Ch bits Frame using the 32 bits FEC, Full ZS with 6 bits channel address, three possibility for TDC data (depending on the resolution), 16 bits for the Header – 3 TDC bits: max 7 channels (14,6%), one bit “empty” – 4 TDC bits: max 6 channels (12,5%), four bits “empty” – 5 TDC bits: max 5 channels (10,4%), nine bits “empty” 13

Variable Frame - Considerations With the variable frame the only choice we have is to use a full ZS (channel address + tdc data) in order to maximize the occupancy sustainable. Pro – Bandwidth optimized. – Full event NZS can be transmitted Con – Max occupancy at the limit (about 12% in the case of nominal TDC resolution of 4 bits). – If we have higher occupancy we loose physics and not only TDC information. – The TELL40 FPGA resources needed to manage this kind of format are very high, also because we cannot fulfill the request of “byte modularity” to minimize them. – The previous point means that we’ll need more TELL40 (i.e. more money). 07/07/2015S. Cadeddu: nSYNC & data format14

Fixed frame – EDAC 07/07/2015S. Cadeddu: nSYNC & data format Header 48 Hit bits Data Frame: 112 bits 7 edac Header 48 Hit bits Header 48 Hit bits edac Frame using the 7 bits EDAC, hits NZS, three possibility for TDC data (depending on the resolution), 16 bits for the Header – 3 TDC bits: max 13 channels (27%), two bits “empty” – 4 TDC bits: max 10 channels (20,8%), one bit “empty” – 5 TDC bits: max 8 channels (16,6%), one bit “empty” Header 9 Ch bits Data Frame: 112 bits Header 9 Ch bits 10 Ch bits 11 Ch bits 7 edac 9 Ch bits 10 Ch bits 11 Ch bits Frame using the 7 bits EDAC, Full ZS with 6 bits channel address, three possibility for TDC data (depending on the resolution), 16 bits for the Header – 3 TDC bits: max 9 channels (18,15%), eight bits “empty” – 4 TDC bits: max 8 channels (16,6%), nine bits “empty” – 5 TDC bits: max 8 channels (16,6%), one bit “empty” The last case is discarded: we have less max occupancy and the risk to loose physics 15

Head X-1 Hit Map X-1 ZS TDC data X-1 Questions Time: ZS data transmission: NZS data transmission (?): – Our Hit Map (which contains physics information) is always NZS. – TDC data are used mainly for monitoring purposes. – We can give the possibility to fix 07/07/2015S. Cadeddu: nSYNC & data format Head X Hit Map X ZS TDC data X Head X+1 Hit Map X+1 ZS TDC data X+1 Head X+2 Hit Map X+2 ZS TDC data X+2 Head X Hit Map X NZS TDC data-1 X Head X+1 Hit Map X+1 NZS TDC data-2 X Head X+2 Hit Map X+2 NZS TDC data-3 X Head X+3 Hit Map X+3 NZS TDC data-4 X Head X+4 Hit Map X+4 ZS TDC data X+4 16