8 December 2004Paul Dauncey1 ECAL Readout Paul Dauncey For the CALICE-UK electronics group A. Baird, D. Bowerman, P. Dauncey, R. Halsall, M. Postranecky,

Slides:



Advertisements
Similar presentations
6 Mar 2002Readout electronics1 Back to the drawing board Paul Dauncey Imperial College Outline: Real system New VFE chip A simple system Some questions.
Advertisements

17 Sep 2009Paul Dauncey1 US DHCAL integration with CALICE DAQ Paul Dauncey.
Adding electronic noise and pedestals to the CALICE simulation LCWS 19 – 23 rd April Catherine Fry (working with D Bowerman) Imperial College London.
24 September 2002Paul Dauncey1 Trigger issues for the CALICE beam test Paul Dauncey Imperial College London, UK.
28 February 2003Paul Dauncey - HCAL Readout1 HCAL Readout and DAQ using the ECAL Readout Boards Paul Dauncey Imperial College London, UK.
29 June 2004Paul Dauncey1 ECAL Readout Tests Paul Dauncey For the CALICE-UK electronics group A. Baird, D. Bowerman, P. Dauncey, C. Fry, R. Halsall, M.
28 Feb 2006Digi - Paul Dauncey1 In principle change from simulation output to “raw” information equivalent to that seen in real data Not “reconstruction”,
1 VLPC system and Cosmic Ray test results M. Ellis Daresbury Tracker Meeting 30 th August 2005.
20 Feb 2002Readout electronics1 Status of the readout design Paul Dauncey Imperial College Outline: Basic concept Features of proposal VFE interface issues.
2 October 2003Paul Dauncey1 Paris Summary Part 2 and Status of UK Electronics/DAQ Paul Dauncey Imperial College London, UK.
28 August 2002Paul Dauncey1 Readout electronics for the CALICE ECAL and tile HCAL Paul Dauncey Imperial College, University of London, UK For the CALICE-UK.
16 Oct 2006DAQ - Paul Dauncey1 DAQ/Online and the DHCAL Paul Dauncey Overview of existing DAQ/online system H/w requirements for DHCAL S/w requirements.
9 Sep 2005DAQ - Paul Dauncey1 DAQ/Online Status Paul Dauncey Imperial College London.
2 July 2003Paul Dauncey - DAQ1 Progress on CALICE DAQ Paul Dauncey Imperial College London, UK.
12 Oct 2005DAQ - Paul Dauncey1 DAQ/Online Status Paul Dauncey Imperial College London.
6 June 2002UK/HCAL common issues1 Paul Dauncey Imperial College Outline: UK commitments Trigger issues DAQ issues Readout electronics issues Many more.
Uli Schäfer 1 JEM: Status and plans JEM1.2 Status Test results Plans.
The first testing of the CERC and PCB Version II with cosmic rays Catherine Fry Imperial College London CALICE Meeting, CERN 28 th – 29 th June 2004 Prototype.
4 Dec 2001First ideas for readout/DAQ1 Paul Dauncey Imperial College Contributions from all of UK: result of brainstorming meeting in Birmingham on 13.
27 th May 2004Daniel Bowerman1 Dan Bowerman Imperial College 27 th May 2004 Status of the Calice Electromagnetic Calorimeter.
Jianchun (JC) Wang, 08/21/99 RICH Electronics and DAQ Chip Carrier Short Cable Transition Board Long Cable Data Board Crate J.C.Wang Syracuse University.
Jianchun Wang Syracuse University 10/16/99 CLEO Meeting Outline DAQ problems solved Recent results Status of DAQ Work to be done.
LCWS Apr 2004Paul Dauncey - CALICE Readout1 CALICE ECAL Readout Status Paul Dauncey For the CALICE-UK electronics group: A. Baird, D. Bowerman,
29 Mar 2007Tracking - Paul Dauncey1 Tracking/Alignment Status Paul Dauncey, Michele Faucci Giannelli, Mike Green, Anne-Marie Magnan, George Mavromanolakis,
29 January 2004Paul Dauncey - CALICE DAQ1 UK ECAL Hardware Status David Ward (for Paul Dauncey)
10 th November 2004Daniel Bowerman1 Dan Bowerman Imperial College Calice Meeting - UCL 10 th November 2004 Electronics Status For the Imperial, Manchester,
2 April 2003Paul Dauncey - CALICE DAQ1 First Ideas For CALICE Beam Test DAQ Paul Dauncey Imperial College London, UK for IC, Manchester, RAL, UCL.
06/15/2009CALICE TB review RPC DHCAL 1m 3 test software: daq, event building, event display, analysis and simulation Lei Xia.
21 January 2003Paul Dauncey - UK Electronics1 UK Electronics Status and Issues Paul Dauncey Imperial College London.
1 MICE Tracker Update M. Ellis UKNFIC Meeting 25 th August 2005.
Reports from DESY Satoru Uozumi (Staying at DESY during Nov 11 – 25) Nov-21 GLDCAL Japan-Korea meeting.
06/03/06Calice TB preparation1 HCAL test beam monitoring - online plots & fast analysis - - what do we want to monitor - how do we want to store & communicate.
14 Sep 2005DAQ - Paul Dauncey1 Tech Board: DAQ/Online Status Paul Dauncey Imperial College London.
7 Nov 2007Paul Dauncey1 Test results from Imperial Basic tests Source tests Firmware status Jamie Ballin, Paul Dauncey, Anne-Marie Magnan, Matt Noy Imperial.
18 Jan 2006DAQ - Paul Dauncey1 DAQ/Online: readiness for DESY and CERN beam tests Paul Dauncey Imperial College London.
ATLAS Liquid Argon Calorimeter Monitoring & Data Quality Jessica Levêque Centre de Physique des Particules de Marseille ATLAS Liquid Argon Calorimeter.
ECFA Sep 2004Paul Dauncey - CALICE Readout1 CALICE ECAL Readout Status Paul Dauncey For the CALICE-UK electronics group A. Baird, D. Bowerman, P.
11 Sep 2009Paul Dauncey1 TPAC test beam analysis tasks Paul Dauncey.
21 Jun 2010Paul Dauncey1 First look at FNAL tracking chamber alignment Paul Dauncey, with lots of help from Daniel and Angela.
25 Feb 2005Paul Dauncey1 TB Review: DAQ Paul Dauncey Imperial College London For Imperial, RAL, UCL.
6 Mar 2006DAQ - Paul Dauncey1 DAQ/Online: readiness for DESY and CERN beam tests Paul Dauncey Imperial College London Update of Orsay talk; concentrate.
1 October 2003Paul Dauncey1 Mechanics components will be complete by end of year To assemble ECAL, they need the VFE boards VFE boards require VFE chips.
5 February 2003Paul Dauncey - Calice Status1 CALICE Status Paul Dauncey Imperial College London For the CALICE-UK groups: Birmingham, Cambridge, Imperial,
26 September 2003Paul Dauncey - DAQ1 System-wide triggering and DAQ issues Paul Dauncey Imperial College London, UK.
Why A Software Review? Now have experience of real data and first major analysis results –What have we learned? –How should that change what we do next.
LCWS Apr 2004Paul Dauncey - CALICE Readout1 CALICE ECAL Readout Status Paul Dauncey For CALICE-UK electronics group: A. Baird, D. Bowerman, P. Dauncey,
1 Electronics Status Trigger and DAQ run successfully in RUN2006 for the first time Trigger communication to DRS boards via trigger bus Trigger firmware.
ScECAL Beam FNAL Short summary & Introduction to analysis S. Uozumi Nov ScECAL meeting.
1 MICE Tracker Readout Update Introduction/Overview TriP-t hardware tests AFE IIt firmware development VLSB firmware development Hardware progress Summary.
11 October 2002Paul Dauncey - CDR Introduction1 CDR Introduction and Overview Paul Dauncey Imperial College London.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
Calorimeter global commissioning: progress and plans Patrick Robbe, LAL Orsay & CERN, 25 jun 2008.
5 May 2006Paul Dauncey1 The ILC, CALICE and the ECAL Paul Dauncey Imperial College London.
SiW ECAL: the status before Fermilab Marcel Reinhard LLR – Ecole Polytechnique CALICE caollaboration meeting 18/03/08, Argonne.
Rutherford Appleton Laboratory September 1999Fifth Workshop on Electronics for LHC Presented by S. Quinton.
Sumary of the LKr WG R. Fantechi 31/8/2012. SLM readout restart First goal – Test the same configuration as in 2010 (rack TS) – All old power supplies.
1 Calice TB Review DESY 15/6/06D.R. Ward David Ward Post mortem on May’06 DESY running. What’s still needed for DESY analysis? What’s needed for CERN data.
SVD FADC Status Markus Friedl (HEPHY Vienna) Wetzlar SVD-PXD Meeting, 5 February 2013.
19 Apr 2007DAQ Readiness1 Paul Dauncey. 19 Apr 2007DAQ Readiness2 DAQ hardware layout ? More CRCs New HCAL stage May not be used.
ECAL electronics schedule JFMAMJJASONDJFMAM Prototype 2 boards Design Layout Fabrication and assembly Testing, including VFE prototype tests Production.
Technical Review: DAQ/Online
AHCAL Beam Interface (BIF)
CALICE(-UK) Status Paul Dauncey 28 Apr 2004 Paul Dauncey.
CDR Project Summary and Issues
UK ECAL Hardware Status
Tracker Software Status
Trigger issues for the CALICE beam test
CALICE(-UK) Status Paul Dauncey 7 Oct 2004 Paul Dauncey.
Chapter 13: I/O Systems.
Presentation transcript:

8 December 2004Paul Dauncey1 ECAL Readout Paul Dauncey For the CALICE-UK electronics group A. Baird, D. Bowerman, P. Dauncey, R. Halsall, M. Postranecky, M.Warren, O. Zorba

8 December 2004Paul Dauncey2 CALICE Readout (ECAL) Card Eight front ends (FE), 12 ADCs each; handles one full or two half-full VFE PCBs Back end (BE) routes data in and out; stores event data in 8 MByte memory Trigger logic and readout in one BE; distributed on custom backplane to others CERC  CRC as will be used for AHCAL also!

8 December 2004Paul Dauncey3 Production status Two production CRC boards returned on Nov 3; SER003,SER004 Seven more PCBs fabricated at the same time Will be released for assembly when first two boards checked Need six fully working boards for ECAL Several small assembly problems found Missing resistor, shorted capacitor, bad solder joint to DAC, etc. Board reworked to fix these at RAL and Imperial Results shown here from after these repairs Now have firmware to fill and read out memory via VME Orders of magnitude faster than RS232 readout used for prototype tests Rerun similar tests to prototypes to check boards See my talk from CERN meeting, Jun 28, for prototype test results More details of production test results shown here available from

8 December 2004Paul Dauncey4 Intrinsic noise tests No VFE inputs; basic noise performance of ADCs; 96 channels SER003 Pedestal within 50 counts of zero, average noise = 1.3 ADC counts 1 ADC count = 76  V diff (i.e. ±38  V). No obvious dead channels SER004

8 December 2004Paul Dauncey5 Internal loopback calibration DAC looped back to ADC within dedicated path on board Typical channel, linear response slope = 0.45 ADC/DAC counts High end saturation near max; no low end saturation any more

8 December 2004Paul Dauncey6 Internal loopback (cont) Interpolation and slope for all 96 channels SER003 SER004 similar Intercepts within 100 counts of zero; slope (gain) uniform to ±1% No bad channels on either board

8 December 2004Paul Dauncey7 External loopback calibration DAC looped back to ADC using wiring attached to front panel Can invert the wiring to get either positive or negative voltages Typical channel, linear response slope = 0.24 ADC/DAC counts Factor of two difference due to termination resistors

8 December 2004Paul Dauncey8 External loopback (cont) Interpolation and slope for all 96 channels SER004 SER003 similar Intercepts within 200 counts of zero; slope (gain) uniform to ±1% No bad channels on either board (again)

8 December 2004Paul Dauncey9 VFE calibration One full VFE PCB; 12 VFE chips, 216 channels (no wafers) Calibration can be enabled to each group of 1/6 of all channels Typical enabled channel, linear slope = 0.65 ADC/DAC counts High end saturation; limited by calibration chip as noise is similar Noise increases with DAC in unsaturated region; calibration chip?

8 December 2004Paul Dauncey10 VFE calibration (cont) Look at non-enabled channels to see crosstalk Typical non-enabled channel, slope << 1% of enabled channel High end saturation; pulls down power line? Noise doesn’t increase with DAC; stable at 6 ADC counts

8 December 2004Paul Dauncey11 VFE calibration (cont) Interpolation and slope for all 216 enabled channels Intercepts spread between 900 and 1700 counts Slope (gain) uniform to ±10% Channel-to-channel variation dominated by VFE gain and/or calibration circuit One bad channel (Chip 10, Channel 0)

8 December 2004Paul Dauncey12 VFE calibration (cont) Look at the unresponsive channel when enabled Looks exactly like non-enabled channel Possible working channel but calibration circuit at fault?

8 December 2004Paul Dauncey13 VFE calibration (cont) Interpolation and slope for typical non-enabled channels Intercepts spread similarly Crosstalk below 0.5% Greatly improved since VFE PCB preproduction boards (below)

8 December 2004Paul Dauncey14 Outstanding issues with hardware Need to release the other seven PCBs for assembly Review of performance soon; date not yet fixed So far, no systematic assembly problems found Production (and prototype) boards can run 32 full VFE PCBs, 20 layers No urgent need for seven boards before end of Jan Assembly will be ~ one month (slow to keep cost down) Latency is going to be tight Measured delays NIM-LVDS module and 5m cable ~35ns Trigger section on CRC board ~30ns Trigger input from backplane to minimum HOLD edge ~40ns Cable (5m!) and level converter on VFE PCB ~45ns Need trigger scintillators and discriminator to be ~30ns max No further (NIM) logic needed; within CRC trigger section Might be able to use shorter cable at NIM-LVDS, maybe save ~10ns What does AHCAL need for bulk of cables? Could we swap?

8 December 2004Paul Dauncey15 Outstanding issues with firmware Several bugs still to be fixed Reliability of event data capture in memory not perfect Trigger is asynchronous; maybe need to be more careful in using it? SER003/FE0 can stop functioning randomly within run Temperature? Need to correlate with on-board temperature readout Only 512 events storable and 2MBytes of memory usable for a spill Highest two address lines of memory not yet activated Trigger-related data not put into memory Must be read for every event, i.e. during spill, through serial I/O (slow) path Limits event rate; could be unread if data not considered essential initially Not intrinsic to board; longer term aim to divert data into memory Period of clock for counter setting sample-and-hold delay not negligible Currently 6.25ns; try for factor of two reduction Need timeout for trigger busy to get above ~ 100Hz Currently reset by software only

8 December 2004Paul Dauncey16 DAQ (and other!) software Not analysis or Mokka, but still many aspects to this Raw data format Calibration, alignment, readout-to-physical mapping Book-keeping for all these quantities Production of LCIO analysis files Slow control and readout Integration with simulated data path Several of these not yet fixed Some are getting urgent Those I would consider under control (for ECAL at least) Raw data format – well defined (albeit dependent on firmware) Calibration, etc - data handling set up LCIO production software - exists; works for simulation also The others should be discussed here… Need to think of ECAL+HCAL+tracking+PID+trigger as one system

8 December 2004Paul Dauncey17 Raw data format Whole online system works through use of records Generalisation of events; mark logical transitions (runStart, etc.) Each record is very simple, with a header and trailing data Header stores date/time (to  s) and record type; 12 bytes overhead In principle, trailing data format could be completely flexible In practise, need to impose structure Sub-records; objects of classes known to DAQ system Classes must be “flat”; no virtual functions/pointers, but can be extendable Register class with DAQ to get unique integer Allows type-safe storage and access to objects within record; every sub- record has integer written into it; 4 bytes overhead Can insert objects to records, but can never remove them “Schema migration” (i.e. non-backwards compatible changes to the classes) allowed through matching DAQ integer subfield and version number in class All results shown previously were produced using this system

8 December 2004Paul Dauncey18 Calibration, alignment, mapping for ECAL Online people must define readout-physical mapping for each run Purely depends on cabling of VFE PCBs to boards; set once per run for ever Class to handle mapping data exists Calibration and alignment more complex Will need (many?) iterations on both to get optimal values Will need to use raw data; who is ready to start studying this in detail? First approximation for ECAL calibration is Ecole Polytechnique cosmic calibrations (see Jean-Claude’s talk) but should be cross-checked from data Classes to handle calibration and alignment data exist Calibration allows for quadratic term also Very simple scheme currently used for book-keeping One (flat) file of each type for every run Using soft links to not have literal duplications of data Not sufficient long term (?); does a database scheme for this exist already? Will need to retrofit the data for these into the database system

8 December 2004Paul Dauncey19 LCIO conversion Mokka LCIO Calibration, Alignment Raw Data LCIO ECAL ADC ECAL Energy Mapping (Anti-)Calibration SimCalHits Record Filter

8 December 2004Paul Dauncey20 LCIO conversion (cont) Most analyses will use LCIO, not raw data Need to convert raw ADC values to LCIO CalHit objects (“reconstruction”) Requires calibration, alignment and mapping to produce usable LCIO hits Studies of CPU load for reconstruction only just starting; need Grid? Simulation must also be produced in LCIO format Currently done in Mokka for truth information, SimCalHits Need reconstructed version, CalHits, after simulating effects of noise, digitisation and threshold on all channels Requires anti-calibration (to get ADC values) and calibration (to get back) Requires knowing alignment used in simulation Code to do both exists ADC to LCIO CalHits step is common to both; uses same class Book-keeping does not exist; is done by hand at present What is the solution for simulation alignment issue? Write x,y,z of each pad (wafer?) into LCIO file?

8 December 2004Paul Dauncey21 Slow control and readout Two views Set up and read out completely separate from DAQ readout OR Integrate with DAQ system so slow readout appears in raw data records Former is much easier to implement Can use separate path, active at all times, don’t care about DAQ running But CRC board voltage and temperature monitoring requires VME access so would disrupt data readout during run or would need buffering Latter is much easier to use E.g. study/correct temperature dependence of pedestal; temperature data would be integrated into raw data files Slow readout only outside spills after data flushed out; no impact on running Would need DAQ system to swap into slow control/readout mode when “idle” between runs; build up complete time dependence Decision needed soon!

8 December 2004Paul Dauncey22 Outstanding issues on DAQ software Readout speed target of 100Hz ~ 3MBytes/s from VME Extrapolate to full ECAL with current software, expect around ~ 50Hz Currently CPU bound; improvements possible E.g. inlining, preallocating memory, threading, etc; also faster PC! ECAL+AHCAL; how to read both at once? Put all boards into one crate? Simple extension of current system Maybe limited by VME bandwidth on one backplane Two PCs? Coordinate using hardware trigger, software sockets Doubles VME bandwidth Record structure is designed to be used with sockets; software exists Can be merged easily; sub-records can be appended to existing record One PC with two PCI/VME interfaces? Hardware trigger, no sockets needed Looks very like current system for software No experience of realistic performance of multi-PCI card data readout; may be close to sum of VME bandwidth for two crates Nice to use same system for ECAL+DHCAL; too many unknowns?

8 December 2004Paul Dauncey23 Future plans Boards are working; want to move to data taking! Move to Ecole Polytechnique to start cosmics runs with up to ten layers tomorrow Move to DESY for first beam test with central wafers for ten layers in Jan Add remaining boards and VFE PCBs; expand to full ECAL of thirty layers by Jun Buy faster, multi-CPU DAQ PC and disk array (>1TByte) before Mar; ~ 10-15k euros (?) remaining in budget AHCAL producing seven CRC boards for their use around Easter; can borrow an ECAL prototype from Jan Will help set up duplicate system at DESY to test these Integrate systems for ECAL+AHCAL operation later in 2005