Detector Control System

Slides:



Advertisements
Similar presentations
J. Varela, CERN & LIP-Lisbon Tracker Meeting, 3rd May Partitions in Trigger Control J. Varela CERN & LIP-Lisbon Trigger Technical Coordinator.
Advertisements

Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
1 ALICE Detector Control System (DCS) TDR 28 January 2004 L.Jirdén On behalf of ALICE Controls Coordination (ACC): A.Augustinus, P.Chochula, G. De Cataldo,
Supervision of Production Computers in ALICE Peter Chochula for the ALICE DCS team.
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
Overview of the DCS Systems J. Varela, May 6th 2004 Electronics Week – DCS Review.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
Summary DCS Workshop - L.Jirdén1 Summary of DCS Workshop 28/29 May 01 u Aim of workshop u Program u Summary of presentations u Conclusion.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
The Run Control and Monitoring System of the CMS Experiment Presented by Andrea Petrucci INFN, Laboratori Nazionali di Legnaro, Italy On behalf of the.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
Clara Gaspar, October 2011 The LHCb Experiment Control System: On the path to full automation.
XXVI Workshop on Recent Developments in High Energy Physics and Cosmology Theodoros Argyropoulos NTUA DCS group Ancient Olympia 2008 ATLAS Cathode Strip.
The Joint COntrols Project Framework Manuel Gonzalez Berges on behalf of the JCOP FW Team.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
André Augustinus 10 October 2005 ALICE Detector Control Status Report A. Augustinus, P. Chochula, G. De Cataldo, L. Jirdén, S. Popescu the DCS team, ALICE.
ALICE, ATLAS, CMS & LHCb joint workshop on
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
J. Varela, LIP-Lisbon/CERN LEADE WG Meeting CERN, 29 March 2004 Requirements of CMS on the BST J. Varela LIP Lisbon / CERN LHC Experiment Accelerator Data.
Giovanni Polese1 RPC Detector Control System for MTCC Pierluigi Paolucci, Anna Cimmino I.N.F.N. of Naples Giovanni Polese Lappeenranta University.
JCOP Review, March 2003 D.R.Myers, IT-CO1 JCOP Review 2003 Architecture.
G. Dissertori ETHZ CMS Electronics ECAL DCS : Plans for 2003 G. Dissertori ETHZ
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Bruno Belbute, October 2006 Presentation Rehearsal for the Follow-up meeting of the Protocol between AdI and CERN.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
CERN, O.Pinazza: ALICE TOF DCS1 ALICE TOF DCS Answers to DCS Commissioning and Installation related questions ALICE week at CERN O. Pinazza and.
CMS Luigi Zangrando, Cern, 16/4/ Run Control Prototype Status M. Gulmini, M. Gaetano, N. Toniolo, S. Ventura, L. Zangrando INFN – Laboratori Nazionali.
DCS overview - L.Jirdén1 ALICE ECS/DCS – project overview strategy and status L.Jirden u Organization u DCS system overview u Implementation.
CMS ECAL DCS 10.Oct S.Zelepoukine ICALEPCS CMS ECAL DCS 1 The Detector Control System for the Electromagnetic Calorimeter of the CMS Experiment.
1 Calorimeters LED control LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Status of the calorimeters LV power supply and ECS control Status of.
14 November 08ELACCO meeting1 Alice Detector Control System EST Fellow : Lionel Wallet, CERN Supervisor : Andre Augustinus, CERN Marie Curie Early Stage.
Clara Gaspar, April 2006 LHCb Experiment Control System Scope, Status & Worries.
AFP Trigger DAQ and DCS Krzysztof Korcyl Institute of Nuclear Physics - Cracow on behalf of TDAQ and DCS subsystems.
T0 DCS Status DCS Workshop March 2006 T.Karavicheva on behalf of T0 team.
1 ECS CALO LED Control System CALO Piquet Training Session Anatoli Konoplyannikov /ITEP/ Outline  Introduction  Calorimeter ECS LED monitoring.
André Augustinus 17 June 2002 Detector URD summaries or, what we understand from your URD.
CMS Luigi Zangrando, Cern, 16/4/ Run Control Prototype Status M. Gulmini, M. Gaetano, N. Toniolo, S. Ventura, L. Zangrando INFN – Laboratori Nazionali.
André Augustinus 18 March 2002 ALICE Detector Controls Requirements.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
M. Caprini IFIN-HH Bucharest DAQ Control and Monitoring - A Software Component Model.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
The Control and Hardware Monitoring System of the CMS Level-1 Trigger Ildefons Magrans, Computing and Software for Experiments I IEEE Nuclear Science Symposium,
1 Calorimeter LED & LV - HV control systems LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Outline Status of the calorimeters LV & MV power supplies.
- My application works like a dream…does it. -No prob, MOON is here. F
PVSS an industrial tool for slow control
BaBar Transition: Computing/Monitoring
Software Overview Sonja Vrcic
09/02/2006 Muon week HV and LV systems status for Magnet Test S. Braibant, P. Giacomelli, M. Giunta.
ATLAS MDT HV – LV Detector Control System (DCS)
CMS – The Detector Control System
Controlling a large CPU farm using industrial tools
ProtoDUNE SP DAQ assumptions, interfaces & constraints
TTC system and test synchronization
RPC Manufacturing Review - Pierluigi Paolucci - I.N.F.N. Napoli
The LHCb Run Control System
RPC Detector Control System
TPC Detector Control System
HV-LV-DCS Status NEWS DCS Endcap Integration
Pierluigi Paolucci & Giovanni Polese
RPC Detector Control System: towards the final system
Design Principles of the CMS Level-1 Trigger Control and Hardware Monitoring System Ildefons Magrans de Abril Institute for High Energy Physics, Vienna.
DQM for the RPC subdetector
RPC Detector Control System
Experiment Control System
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Tools for the Automation of large distributed control systems
Pierluigi Paolucci & Giovanni Polese
Presentation transcript:

Detector Control System DCS Workshop J. Varela, April 3rd 2006

Outline Architecture Components Integration Organization and plans

Architecture

Experiment Controls Run Controls (RCS): Detector Controls (DCS): Configure and operate all local/global data taking sessions Monitor and protect the measurements and the data flow Detector Controls (DCS): Setup and monitor the detectors and the environment Monitor and protect the apparatus equipment

RCS and DCS Domains RCS: Data Acquisition Systems DCS: Classic Control Run Control and Monitor Local/Global DAQ systems FrontEnd Electronics Configuration Readout Electronics Configuration PC clusters and applications control Local/Remote Data Archive DCS: Classic Control Central supervision Racks/Crates power HV/LV supplies Cooling and environment Gas and fluids Alarms External system communication Detector Safety Databases: Run Condition Data Base Equipment, Configuration Data Bases Detector specific monitoring and calibration tasks User applications mainly based on XDAQ with direct interfaces with local/central DCS systems On detector electronics sensors (temperatures, currents, …) FrontEnd electronics test and commissioning procedures Calibration (source, LED, Laser) sessions

RCS and DCS Frameworks Online software framework CMS software packages XDAQ and RCMS Based on standard protocols (SOAP, I2O, XML, e-tools etc.) DCS subsystems and supervision PVSS and JCOP supported tools Based on industry standards (PVSS, PLC, field buses etc.) Common features between the two systems: XDAQ-PVSS interface (PSX package based on SOAP messages) Access to data bases for run conditions and experiment configuration

Detector Data Taking (DAQ systems) GLOBAL Slink-64 LOCAL (VME) Local DAQ VME/PCI FED data acquisition Test and Calibration readout Online spy readout Global DAQ Main DAQ data stream Fast links to Event Builder Switch

Frontend Control Systems Frontend readout electronics configuration is a Run Control function

DCS and DSS systems Detector subsystems Detector safety (DSS) HV/LV Fluids and environment Cooling Racks/Crates Temperatures Infrastructures Test systems (Laser, LED, alignment camera etc..) Detector safety (DSS) Temperature Gas Radiation Experiment supervision DCS Resources handling Alarm and loggings History data base External systems communication. TPG Trigger Primitive Generator RTP Regional Trigger Processor LV1 Level-1 Trigger Processor GTP Global Trigger Processor TTC Timing, Trigger Control sTTS synchronous Trigger Throttle System aTTS asynchronous Trigger Throttle System FES FrontEnd System FED FrontEnd Driver FEC FrontEnd Controller D2S Data to Surface RU Readout Unit BU Builder Unit FS Filter Subfarm EVM Event Manager RM Readout Manager BM Builder Manager EVB Event Builder RCN Readout Control Network BCN Builder Control Network CSN Computing Service Network DCN Dtector Control network DSN DAQ Service Network DCS Detector Control System RCS Run Control System Supervisor structure

DAQ partitioning CMS can run up to 8 independent DAQ partitions Mode 1) FED-RU builder partition The EVM of each DAQ slice, using the trigger type contained in the GTP record, broadcasts the read command only to the RUs associated to that trigger type. All active DAQ slices result partitioned in the same way. Mode 2) FED-DAQ slice partition Each set of FED-FRLs associated to a given TTC partition (trigger type) is programmed to send the event fragments always to the same DAQ slice.

Trigger Partitioning Dedicated triggers distributed to DAQ partitions Global Trigger TTCmi DAQ Event Managers Partition Control TTCrx FrontEnd TTC sTTS Central Control aTTS LHC GPS Local Control Local Triggers L1A Control Calibration and Test Triggers Synchronization Control Partitioning

DCS JCOP Model … Partitioning is built-in PVSS Console During Boot procedures: - PVSS launched - Complete DCS infrastructure is in place On Standby Off Error DCS Supervisor External System DCS node is owned by a user_id through: - local DCS console - node above in the DCS tree - external system Commands States Serv. DCS Supervisor Trk. DCS Supervisor … ECAL DCS Supervisor Ownership can be gained with commands Take/Release send to DCS systems States only (optional) PVSS Console FSM Hierarchy: Every DCS node has a state machine States only Commands States ECAL DCS Barrel Supervisor ECAL DCS Endcap Supervisor State machine may take into account state of any node in the DCS Partitioning is built-in Any node may get the partitioning state of the tree below (to be implemented) PARTITION ECAL DCS Barrel HV ECAL DCS Endcap HV From one console it is possible to navigate in the hierarchy

Integration with Run Control RCMS Session RCMS Framework Resource Manager Database Command/State DCS FM SubDetector FM … DAQ FM Trigger FM Command/State Command/State DCS Supervisor Job Ctrl Job Ctrl Job Ctrl Job Ctrl Job Ctrl XDAQ XDAQ XDAQ XDAQ XDAQ TS Serv. DCS Supervisor … SD DCS Supervisor FED/FEC Crate FED/FEC Crate Calo Trigger Global Trigger Muon Trigger XDAQ Framework Trigger Supervisor Framework SD DCS Partition Supervisor SD DCS Partition Supervisor JCOP Framework

Partition Mode … RCMS Session 2 Session 1 Trig DAQ SubDetector 1 Resource Manager Database DAQ FM SubDetector 1 SD 1 DCS Supervisor SD 2 DCS Job Ctrl RCMS Session 1 XDAQ FED/FEC Crate Global Trigger DCS Serv2. DCS PVSS Panel Session 2 … Trig Trigger Commands States Serv1. DCS SubDetector 2

Integration DCS – RCMS RCMS/XDAQ and PVSS/FW models are integrated in a coherent system Allows command/states to be propagated from Run Control to DCS Allows independent DCS operation in beam-off periods Allows integration of DCS partitions with DAQ partitions Allows Local DAQ-DCS operation

Components

JCOP Framework FSM: DIP Data visualization Access control Alarms Redesigned version Hierarchy improvements and increased flexibility New features will be needed… Data visualization Trending tool was improved Physicists have not used it extensively yet Complemented by Conditions DB + Root Online Help Recently available DIP LHC Data Interchange Protocol Not used yet Access control Still to be implemented Alarms Improvements are expected

DCS and Online Data Bases DCS data is stored in Conditions DB (Oracle): CMS specific interface was developed DCS configuration data is stored in Configuration DB using JCOP configuration tools Starting now to get experience with these tools Performance issues

Rack Control System JCOP Rack Application developed by CMS: Two software layers: hardware dependent layer and supervisor layer. Interface to Equipment Management DB Communication with PH/ESS Monitoring Board Communication with TS/EL PLC for power control Installed in CMS Electronics Integration Center (~60 racks): Difficult interaction with TS/EL (documentation, version control, etc.) Hardware problems with monitoring boards Installed in ATLAS cavern Issues: Interface with TS/EL PLC still has problems Integration with Crate Control to be done

Detector Safety System Front-end JCOP/DSS system for CMS delivered and installed Not much experience yet Rack Safety System installed in Electronics Integration Center Back End Used at Electronics Integration Center Comments System in operation in EIC since a few months Interface DCS-DSS not yet implemented/tested More experience will be gained at the Magnet Test and Cosmic Challenge (MTCC) in P5

High and Low Voltages CAEN and Wiener power supplies are integrated in the DCS Framework CMS requests were taken in to account: CAEN Muons DT High-Voltage CAEN EASY System (Low voltage system) Wiener Marathon OPC server Power supplies are in use by all sub-systems Test Beams (e.g. ECAL,…) Integration and test centers (e.g. Muons DT, Tracker, RPCs) Detector installation and commissioning at P5 (CSC, HCAL, DT, RPC) Issues: Integration in FW of custom HV supplies (HCAL, CSC) Few standard components still missing (CAEN AC/DC Converter, ADC module, Alignment PS) Not yet a realistic large scale hardware and software integration

Gas Control System LHC Experiments GCS framework will be used Three systems (DT, CSC, RPC) Functionality and operation model well defined Waiting installation of gas systems and software deployment Issues: Effort required for integration in CMS

Cooling Systems Architecture and responsibilities agreed in Sept 05 Cooling system is a TS/CV responsibility PVSS Cooling Supervisor is IT/CO responsibility Subdetector specific cooling systems (e.g. ECAL) is an Experiment responsibility Waiting installation of cooling systems and software deployment Issues: Effort required for integration in CMS

Integration

DCS Guidelines CMS DCS Guidelines are documented Integrated and homogeneous control system Naming conventions FSM conventions Detector Framework Components Production system guidelines Central repository

DCS Integration Status First version of the Central DCS Supervisor is running All sub-detectors have DCS teams in place and are implementing DCS systems with PVSS/JCOP-FW tools All subdetectors have prototypes of FSM Control Hierarchies implemented

ECAL DCS ECAL FSM Structure @ H4 Beam ECAL Complete DCS system Operating since 2004 Ready for integration ECAL FSM Structure @ H4 Beam ECAL_LASER CMS_ECAL ECAL_BARREL+ ECAL_COOLING ECAL_SM10 ECAL_COOLING_SM10 pcethdcs1 CMS_ECAL_COOLING ECAL_LV ECAL_HV ECAL_HV_SM10 ECAL_LV_SM10 pcethdcs2 CMS_ECAL_HV CMS_ECAL_LV ECAL_ESS ECAL_HM ECAL_PTM ECAL_PTM/HM_SM10 ECAL_ESS_SM10 pcethdcs3 CMS_ECAL_PTM_HM CMS_ECAL_ESS

Supervisory System

HV Application

LV Application

Cooling Application Note: Communication With cooling System via OPC This application only monitors user can not operate the cooling system from here !

ECAL Safety System Comm. with PLC via OPC

Tracker DCS/DSS for MTCC PVSS-FSM system for LV, HV Interface PLC to PVSS running Working on RCMS-DCS interface 1 RH, 11 T 2 RH, 4 T 1 RH, 4 T

HCAL DCS HCAL Complete set of device drivers Standalone operation in test beams PVSS-FSM layer developed recently

DT DCS DT Complete HV-LV PVSS System FSM Hierarchy implemented Configuration and Conditions DB Ready for integration Connection to Oracle Condition DB Connection to Oracle Configuration DB Java Graphical Interface

RPC DCS RPC Complete DCS System FSM Hierarchy implemented Note that the Device node (bottom node) has the following states: ON, OFF, RAMPING_UP RAMPING_DOWN, ERROR and TRIP RPC Complete DCS System FSM Hierarchy implemented Ready for integration HARDWARE VIEW to access at the same device info but as a different representation SECTOR SUMMARY ALARM SECTOR FSM STATUS We ask for a MAJORITY with multiple requests: if > 2 sectors in error  wheel error if > 2 sectors in STB  wheel STB Panel to load setpoints

CSC DCS CSC Complete DCS system operating in SX5 FSM Hierarchy implemented Ready for integration

Alignment DCS Alignment System Prototype DCS System FSM Hierarchy implemented Working on Oracle DB storage

Comments on past experience The continuous help by IT-CO was very helpful Collaboration between Central Team and Sub-Detector Team is essential: Guidelines Direct collaboration in sub-systems development Significant manpower effort was needed (1-2 FTE per sub-detector in the past three years) Major Issues: Playing still with small scale systems Manpower stability

DCS Integration in MTCC Magnet Test and Cosmic Challenge MTCC will be the first large scale DCS integration exercise: Magnet closed and operating; Interface to MCS Sub-detectors (partially) installed: Tracker, ECAL, HCAL, DT, CSC, RPC, Alignment Muon Trigger and final DAQ 10% of CMS, 16 DCS PC’s running in P5 Integration of FSM Hierarchy; integration with RCMS Central Control: Navigation through all subdetector panels and alarms display in central DCS console. Experience with a production DCS system Access to Configuration and Conditions DB Goals for DCS Integration in MTCC:

Organization & Plans

DCS Organization DCS Coordinator, Deputy DCS Coordinator, SubDetector DCS coordinators Central Team: now 4 people including coordinators. 2007? DCS Coordination Board integrating representatives per sub-detector (meetings every 2 months) One-to-one program (2005): one month dedicated to each sub-detector for integration development Direct IT/CO support will become even more crucial JCOP Training was, is and will be essential

DCS Infrastructure Computers and Network are managed in common with DAQ SubDetector PCs are managed in common with central DCS PCs DCS central team responsible for common hardware (Rack and crate system, Can buses, environment monitoring, etc.) DCS central team is responsible for external interfaces (LHC, Technical Services) and DCS Services (Gas, Cooling) Sub-detectors are responsible for sub-detector DCS hardware Central DSS installation and operation is a responsibility of the CMS Integration Team.

Future Activities Install and operate DCS in MTCC System review after MTCC Crate System (remote control of VME crates) and integration with Rack system in Experimental Caverns (USC and UXC 55) Installation of PC infrastructure and DCS Production System in USC55 Hands on Gas and Cooling Systems Interface to External Systems (LHC, etc.)

Subdetector DCS Milestones Generic Milestones First Prototype using PVSS framework First Integration with Central DCS Ready for MTCC Integration Commissioning underground Q4 03 OK Q4 04 OK Q1 06 ~OK Q1 07

Central DCS Milestones DCS Conventions and Interfaces Q2 03 OK Naming scheme, Commands, States Data Bases Specification Q3 03 OK Configuration, Conditions, Equipment, Archive Demonstrator Central DCS Q4 03 OK Including scaling tests First prototype of integrated DCS system Q4 04 OK Integration of ECAL as first experience Configuration Database DAQ interface DCS Integration in MTCC Q2 06 Commissioning final DCS system Q1 07

Priorities Careful planning of further developments is needed Schedule is now a major issue Need to define priorities CMS priorities in JCOP: Archival with Oracle Gas Application Cooling Application Access control Interface to Root Prototype of integrated DCS system in CMS Integration of subdetector control systems in “Magnet Test/Cosmic Challenge” should provide final validation of DCS model