Stato e prospettive del DAQ & DCS M. Bellato, A. Parenti, M.Passaseo, S. Ventura Padova 16 dicembre 2004 Outline • • • • • DCS hardware e layout DCS, Trigger e DAQ data paths Test beam setup Local DAQ, test settore, cosmic challenge (3 settori) Integrazione DCS & RCSM Padova 16 Nov 2004 Marina Passaseo 2 DT DCS Layout (HV+LV) Padova 16 Nov 2004 Marina Passaseo 3 DT DCS Supervision • Minicrates – – – – • • • • • • (Readout Boards) (Trigger Boards) (Front-End Boards) Control Boards 250 through CCB through CCB through CCB VME crates for Tr+Ro 10 crates DT Front-End DDU’s 1 crate HV + LV 4 racks per wheel Alignement Leds on DT 10000 DT TTC branch 1 Gas Lines, Cooling Lines 250 Padova 16 Nov 2004 Marina Passaseo 4 DT DAQ & DCS Layout LVDS 2 per minicrate LVDS LVDS LVDS Three main data backbones: DCS,TDC Data, Trigger Padova 16 Nov 2004 Marina Passaseo 5 DCS Trigger DAQ Data Columns To DDU To/From DCS To DTTF 1 per sector VME Controller ROS WCB SC VME Crate Backup copper bus TTC L1 Chamber MC CCB SB FE Padova 16 Nov 2004 40 MHz Trigger Link TDC DATA Link ROB TS tdc bti traco Readout Bus Trigger Bus FE FE FE Marina Passaseo FE 6 DT TestBeam (Local) DAQ Due to synchronization issues, building ran on a event by event basis (no Event ID on trigger data stream) From DTTF To DTTF Scintillators T0 Run Control Autotrigger XDAQ node BU TTC vi ROS RU VME Crate CCB Server TDC DATA Link 40 MHz Trigger Link DCS Labview Clients Chamber MiniCrate Padova 16 Nov 2004 PUPU SC CCB SB FE Readout Bus FE RO B TB bti traco tdc FE Trigger Bus FE Marina Passaseo FE 7 TB DCS: minicrate control Padova 16 Nov 2004 Marina Passaseo 8 TB DCS: HV control Padova 16 Nov 2004 Marina Passaseo 9 DT Local DAQ A ROS compatible Sector Collector output is foreseen to feed trigger data directly into the DAQ dataflow To DTTF Run Control Autotrigger XDAQ node BU ROS SC TTC vi RU VME Crate CCB Server TDC DATA Link 40 MHz Trigger Link DCS Clients Chamber MiniCrate Padova 16 Nov 2004 CCB Readout Bus SB FE FE RO B tdc FE TS bti traco Trigger Bus FE Marina Passaseo FE 10 DAQ Locale ROS Lettura FIFO Tutti i dati delle ROB Local daq ROS DDU spia Local daq DAQ globale il Sector Collector vede un bit Trigout alto e da li' in poi per 40 bx (cicli) immagazzina i dati, che conserva aspettando che il ROS li legga (cosa che il ROS fa quando riceve un L1A) Spia VME lento? Non ci sono i dati del trigger (Sector collector finale?) Padova 16 Nov 2004 Marina Passaseo 11 Setup per il commissioning del settore Hardware necessario: ROS finale Sector Collector finale Software: DCS controllo minicrate HV LV framework versione 3 (backup: ISR setup) Padova 16 Nov 2004 Marina Passaseo 12 Setup per il cosmic challenge Hardware necessario: ROS finale Sector Collector Finale DDU con S-Link Software: DCS controllo minicrate HV LV in the new framework (backup: ISR setup) DCS supervisor integration software Configuration e condition DB Padova 16 Nov 2004 Marina Passaseo 13 Integrazione DCS RCMS DSS DCS GUI COND DB RCMS DCS minicrate control DCS supervisor HV, LV Racks, cooling Padova 16 Nov 2004 trg ro CCB server Marina Passaseo CONF DB fe al/pr Data quality 14 DT Controls Integration From Configuration DB : Front END All information thresholds masks required to bring&the BTI in parameters detector any TRACO running mode:LUT’s … DAQ, combined Configuration Trigger and DCS DB info CMS DCS Supervisor RCM S RUN CTR L DCS CFG status commands Condition DB DCS DCS CTRL DCS monitor Commands Safety system Padova 16 Nov 2004 DCS GUI Marina Passaseo DCS display Alarms, errors Access to test & debug software All Liveinformation feedback from about detector data and conditions conditions can intervene on configuration (e.g. channel masking,…) Data quality monitors 15 DT DCS hierarchy DCS supervisor Physical (electronics) view Logical (detector) view DT DCS sup RUOTA RUOTA RUOTA RUOTA RUOTA SETTORE SETTORE DCS supervisor SETTORE DT DCS supervisor HV MB4 MB3 MB2 LV TRG RO GAS ALL Cooling racks MB1 Tower SL1 SL2 SL3 crate L1 L2 L3 L4 board HV LV TRG RO GAS ALL channel Padova 16 Nov 2004 Marina Passaseo 16 Integrazione DCS-RUN Control (FSM) At the top level (Central DCS) a minimum number of commands are defined: • ON : – Instructs the DCS sub-systems to be ready for data taking. This command has a configuration parameter (Tag/Version key) recognized by the Configuration Database. • STANDBY: – Instructs the DCS sub-systems to be in an intermediate state, e.g. a state safer from the detector operation point of view when preparing for data taking, such that the time required for a change to ON be shorter that the transition OFF-ON. • OFF: – Instructs the DCS sub-systems to shut down the detector at the end of a data taking season (once a year). • The reconfiguration of the DCS system uses the ON (or STANDBY) command with a different configuration Tag/Version key. Padova 16 Nov 2004 Marina Passaseo 17 Subdetector DCS FSM • ON: – The subdetector in ready for data taking • STANDBY – The subdetector is in standby state • OFF – The subdetector is in off state • ERROR – The subdetector is in error state because some faulty component was identified. In case of error the sub-system should act as following: – – – – Send an alarm to the alarm system Initiate a recovery procedure If the recovery procedure fails change state to ERROR Compute the estimated detector inefficiency for data taking due to the error. The inefficiency is transmitted as a parameter of the ERROR state (to be elaborated) Padova 16 Nov 2004 Marina Passaseo 18 Minicrate FSM • Stato 0 : OFF • Stato 1 : Inizializzazione – – – – – – – – Comunicazione Server OK Verifica link ottico e rame CCB fase di boot terminata OK LV ok? Crates ok? Status (minicrate mode) Check FEB readout, Trigger board, RO board Allineamento Pressione Padova 16 Nov 2004 Marina Passaseo 19 Minicrate FSM Stato 2: Configurazione (Configuration DB:run configuration key) • Traco Files • TSS files • TSM files • BTI files • BTI masks files • TDC files • LUT files • FE parameters: – – – • • • • • • • • bias thresholds width FE maschere files FE maschere temperature files Run mode (Physics, Test Pulse, Autotrigger) Selezione trigger out L1A configuration Allineamento Pressione LV, HV Padova 16 Nov 2004 Marina Passaseo 20 Minicrate FSM Stato 3: Running • Check Status CCB • Stato CCB Server • Status FE • Read TDC Padova 16 Nov 2004 Marina Passaseo 21