11
TRD DAQ (U) TRD DAQ (U) Software Software Status Status TIM CERN May.09 TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

Embed Size (px)

Citation preview

Page 1: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

TRD DAQ (U) TRD DAQ (U) SoftwareSoftware Status Status

TIM CERN May.09TIM CERN May.09

Chanhoon Chung, Mark Millinger, Andreas Sabellek

IEKP - Universität Karlsruhe (TH)

Page 2: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.2

Univ. of Univ. of KarlsruheKarlsruhe

TRD(U) DAQ OverviewTRD(U) DAQ OverviewOutline

• UDR2 / JINFU DSP Software

• U-Crates SlowControl/HK Data

• Basic Monitoring Tools Development

TRD Offline DAQ Status

Gas: Premixed Ar/CO2 (80/20)Readout Electronics: U0: QM U-Crate and UPDU1: QM and FS equipped U-Crate

Readout: AMSW/Trigger via EPP-AMSW box;Recording to AMS Block filesTrigger: pulsed @ 2kHz

recording cosmics since July08

Page 3: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.3

Univ. of Univ. of KarlsruheKarlsruhe

Data ReductionData ReductionUDR2 DSP SoftwareUDR2 DSP Software

• current version v9318 (March,24th) based on framework v9310 by A.Kounine- optimized processing time ~240us/single-track-event - unassgined bits used to submit readout chip noise with hit amplitude- added HK data for DAQ status monitoring:

UFE hit counter / running mean common noise (e.g. new calibration?) channel hit counter / running mean hit amplitude (e.g. change in gas?)

• Status: Code in use in TRD Offline DAQ

Calibration:- Test of channel quality and setting of channel flags- Calculation of pedestals- Calculation of noise

Data Reduction:- Pedestal Substraction- Zero Suppression- Channel Flag handling (e.g. force output of a channel)

Framework v9310 SubD routines

HK data:- hit counter- amplitude averaging

Page 4: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.4

Univ. of Univ. of KarlsruheKarlsruhe

Slow ControlSlow ControlJINFU DSP SoftwareJINFU DSP Software

JMDC:Qlist requestsstatus info

HK datastreamto disk

JINF_U0/1:collects and assembles status data from nodeson request

UPD S9011AUController

UPSFE boards

UHVG boards

AMSwire

LeCroy

LRDL/HRDL

systemparameters:

• current version v941A (April,26th) based on framework v9310 by A.Kounine

1) initialization/reset of U-Crate HW according configuration file in flash- 16 FPGAs and 168 high voltage controllers

2) status readout of U-Crate HW- long status: complete HW configuration readback- short status: JINF compares readback with expected setting and

replies discrepancies only 3) init/ramping of high voltage specified in configuration file

• Status: Code used in TRD Offline DAQ

Page 5: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.5

Univ. of Univ. of KarlsruheKarlsruhe

Summary: Summary: TRD Housekeeping DataTRD Housekeeping Data

• UDR2 (status DAQ)– Calibration data (channel pedestal/noise)– Status of data acquisition (channel hit counter/amplitude)

• JINFU (status SlowControl)– Status from UPD-Box DCDC converters and U-Crate electronics – Status of U-Crate UHVG high voltage channels

• UGSCM (status Gas via CAN-bus; next presentation)

AMSWire sources for TRD DAQ monitoring:

Recording HK data with science data in AMS Block File formatduring last weeks TRD Offline operation for test

Page 6: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.6

Univ. of Univ. of KarlsruheKarlsruhe

TRD-MTRD-M

• development by Chanhoon Chung

• Need a quick and reliable diagnosis tool for monitoring TRD HK data – based on CCEB-Monitor

developed by A.Basili/A.Lebedev using xforms-libs and AMSblock decoding

following: examples …–M programs known to everyone

TRD Housekeeping data in TRD-M

Page 7: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.7

Univ. of Univ. of KarlsruheKarlsruhe

Example: Strawtube NoiseExample: Strawtube Noise

Page 8: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.8

Univ. of Univ. of KarlsruheKarlsruhe

Example: JINFU (short)StatusExample: JINFU (short)Status

U0-Crate:

no problems

U1-Crate:

known reason:missing 2ndQM UPD

TRD SlowControlstatus can besummarized innumber ofdiscrepancies from nominal

Page 9: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.9

Univ. of Univ. of KarlsruheKarlsruhe

TRD Dallas T Sensor MonitorTRD Dallas T Sensor Monitor

• development by Mark Millinger

• graphics required to identify location

• implemented on basis of Monitor programs by A.Basili and A.Lebedev

Page 10: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.10

Univ. of Univ. of KarlsruheKarlsruhe

TRD DTS MonitorTRD DTS Monitor

sensor area temperature averaging in different layers

Page 11: TRD DAQ (U) Software Status TIM CERN May.09 Chanhoon Chung, Mark Millinger, Andreas Sabellek IEKP - Universität Karlsruhe (TH)

2009-05-10 TIM May09, CERN IEKP,Andreas Sabellek p.11

Univ. of Univ. of KarlsruheKarlsruhe

SummarySummary

• Initialization based on JINF configuration file implemented

• Development of monitoring tools based on common framework ongoing

• to be done: “TRD-Control” – Graphical Interface indicating status of system components

analyzing HK data– and providing tools to quickly identify problems– Create configuration file

• TRD DAQ still running next:Francesca Spada,TRD GAS (UG)