CMS – The Detector Control System

Slides:



Advertisements
Similar presentations
The Detector Control System – FERO related issues
Advertisements

P.C. Burkimsher Alice DCS Workshop 18 March 2002 (Updated 27 March 2003) PVSS - How to get started Paul Burkimsher IT Division COntrols Group Support Services.
The Control System for the ATLAS Pixel Detector
Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
André Augustinus ALICE Detector Control System  ALICE DCS is responsible for safe, stable and efficient operation of the experiment  Central monitoring.
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,
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
Applying Distributed Systems concepts to SCADA By Padmanabha Kamath.
First attempt of ECS training Work in progress… A lot of material was borrowed! Thanks!
Robert Gomez-Reino on behalf of PH-CMD CERN group.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
Designing a HEP Experiment Control System, Lessons to be Learned From 10 Years Evolution and Operation of the DELPHI Experiment. André Augustinus 8 February.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
MDT PS DCS for ATLAS Eleni Mountricha
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.
WP1 WP2 WP3 WP4 WP5 COORDINATOR WORK PACKAGE LDR RESEARCHER ACEOLE MID TERM REVIEW CERN 3 RD AUGUST 2010 Yi Ling Hwong (ESR), CMS DAQ Yi Ling Hwong CMS.
XXVI Workshop on Recent Developments in High Energy Physics and Cosmology Theodoros Argyropoulos NTUA DCS group Ancient Olympia 2008 ATLAS Cathode Strip.
DCS Workshop - L.Jirdén1 ALICE DCS PROJECT ORGANIZATION - a proposal - u Project Goals u Organizational Layout u Technical Layout u Deliverables.
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.
1 Responsibilities & Planning DCS WS L.Jirdén.
D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 1 Finite State Machines (FSM) for the ALICE DCS:
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.
Control in ATLAS TDAQ Dietrich Liko on behalf of the ATLAS TDAQ Group.
ALICE, ATLAS, CMS & LHCb joint workshop on
Controls EN-ICE Finite States Machines An introduction Marco Boccioli FSM model(s) of detector control 26 th April 2011.
JCOP Review, March 2003 D.R.Myers, IT-CO1 JCOP Review 2003 Architecture.
Bruno Belbute, October 2006 Presentation Rehearsal for the Follow-up meeting of the Protocol between AdI and CERN.
Controls EN-ICE FSM for dummies (…w/ all my respects) 15 th Jan 09.
Management of the LHCb Online Network Based on SCADA System Guoming Liu * †, Niko Neufeld † * University of Ferrara, Italy † CERN, Geneva, Switzerland.
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.
Configuration database status report Eric van Herwijnen September 29 th 2004 work done by: Lana Abadie Felix Schmidt-Eisenlohr.
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.
LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.
Clara Gaspar, March 2003 Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments.
S.Sergeev (JINR). Tracker consists of  4 stations of 4 views (planes) each In total ~7200 drift tubes (~450 per view) To be controlled/monitored 
22/May/02 JCOP meeting G. De Catatldo-A.Franco INFN Bari Italy 1 The Control System of the HMPID up to the end of 2001 ; 2002: The FSM toolkit, Hierarchy.
DCS Meeting - 17/6/2002 G. De Cataldo, A.Franco - INFN Bari - 1 The implementation of the HMPID DCS in the PVSS-JCOP Framework The Liquid Circulation and.
André Augustinus 18 March 2002 ALICE Detector Controls Requirements.
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.
Clara Gaspar, May 2010 SMI++ A Tool for the Automation of large distributed control systems.
B. Franek, poster presented at Computing in High Energy and Nuclear Physics, Praha – Czech Republic, 21 – 27 March 2009 This framework provides: -A method.
- My application works like a dream…does it. -No prob, MOON is here. F
Detector Control System
Control systems Detector Safety System (DSS) (no action available for an operator) Display of CERN Level 3 alarms and protection of NA62 hardware Detector.
PVSS an industrial tool for slow control
The Finite State Machine toolkit of the JCOP Framework
Online Control Program: a summary of recent discussions
ATLAS MDT HV – LV Detector Control System (DCS)
Controlling a large CPU farm using industrial tools
How SCADA Systems Work?.
Marie Curie, CMS & I : When People and Ideas Come Together
JCOP Review Closeout March 13, 2003 Chip Watson, Robin Lauckner,
by Prasad Mane (05IT6012) School of Information Technology
Robert Gomez-Reino Garrido
The LHCb Run Control System
TPC Detector Control System
Philippe Vannerem CERN / EP ICALEPCS - Oct03
Design Principles of the CMS Level-1 Trigger Control and Hardware Monitoring System Ildefons Magrans de Abril Institute for High Energy Physics, Vienna.
Experiment Control System
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Tools for the Automation of large distributed control systems
Pierluigi Paolucci & Giovanni Polese
Presentation transcript:

CMS – The Detector Control System Yi Ling Hwong ACEOLE Six Month Meeting This research project is supported by the Marie Curie Initial Training Network Fellowship of the European Community’s Seventh Framework Programme under contract number (PITN-GA-2008-211801-ACEOLE) 25 June 2018

Overview Introduction to the CMS Detector Control System PVSS and JCOP Framework Why and how? Finite State Machine Tools and Applications Analysis of current FSM tree Background and objectives 25 June 2018 Yi Ling Hwong

The Detector Control System (DCS) CMS is a collaboration of more than 35 countries Control system design and implementation is distributed among collaborators A need for a central control system A set of policies managing and governing all activity Main purpose: ensure the correct operation of the CMS experiment Scope: all subsystems and its active elements, the electronics on and off the detector and the overall environment Detector Channels Front End Electronics Readout Network HLT Farm Storage L0 Experiment Control System DAQ DCS Devices (HV, LV, GAS, Cooling, etc.) External Systems (LHC, Technical Services, Safety, etc) TFC Monitoring Farm PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion Illustration inspired by Clara Gasper’s presentation for CHEP 2009 25 June 2018 Yi Ling Hwong

The CMS DCS DCS The DCS of individual sub-detectors are connected to the central DCS Supervisor Global Services 7 Sub-Detectors Controls PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Control Technologies from LHC Era DCS Technologies PVSS/JCOP Framework Layer Structure Sensors/devices Field buses & Nodes PLC/UNICOS OPC Communication Protocols SCADA VME DIM FSM Commercial Custom Experimental equipment LAN WAN Storage Other systems (LHC, Safety, ...) Configuration DB, Archives, Log files, etc. Controller/ PLC VME Field Bus Node Supervision Process Management Field Finite State Machine DEN Background and Objective Conclusion Based on an original idea from LHCb 25 June 2018 Yi Ling Hwong

Requirements Large number of devices / IO Channels Need for DCS Large number of devices / IO Channels For CMS - Around 6 million parameters Distributed over 100 PCs Need for Parallel and distributed control system Hierarchical control Decentralized decision making Dev1 Dev2 Dev3 Devn Devi SubSys2 SubSysn SubSys1 DetDcs1 DetDcsN DCS PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 6 25 June 2018 Yi Ling Hwong 25 June 2018 Yi Ling Hwong

What is JCOP? Stands for “Joint COntrols Project” DCS Stands for “Joint COntrols Project” Grouping of representatives from the 4 big LHC experiments Offer common experiment components and support (e.g. CAEN, ELMB etc) Aims to reduce the overall manpower cost required to produce and run the experiment control systems Reduce knowledge of tools Interface for non-experts PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

What is JCOP Framework? A set of guidelines and tools DCS A set of guidelines and tools Produced in collaboration, components shared Produced using common tools Aims for homogeneity The framework is based on: SCADA system – PVSS Device Description (Run-time Database) Device Access (OPC, Profibus, drivers) Alarm Handling (Generation, Filtering, etc) User Interface Builder Etc … SMI++ Abstract behavior modeling (Finite State Machine toolkit) PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

JCOP Framework DCS Covers all levels down to the connection to the hardware Majority of the framework is provided at the supervisory level Connection of other front-ends is possible via one of the communication interfaces OPC, DIM or DIP PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

JCOP Framework Components provided by framework DCS Components provided by framework Generic Analog-Digital devices CAEN Power Supplies Wiener Power Supplies ELMB PS and SPS machine data server Logical Node/View Device Editor/Navigator Trending Tool Etc PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

What is FSM? Abstract representation of the experiment DCS Abstract representation of the experiment Control system is modelled as a hierarchy of FSM A generic, data-driven mechanism for modelling the functionality of a piece of equipment or a subsystem A state/command interface between a parent and its children What state is it in? Is it taking data? Is it in standby? Is it broken? Is it switched off? What triggers it to move from one of these states to another? Two types of objects are defined: Control Unit A software entity that monitors the state of its children Device Unit A software entity that represents some hardware PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

FSM Model A simple control system modelled using FSM DCS A simple control system modelled using FSM Nodes have only one parent No horizontal lines Commands go down, States propagated up PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Control and Device Units DCS State Transition Diagram for a CU State Transition Diagram for a DU PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

SMI ++ Logically related objects can be grouped inside “SMI domains” to represent a sub-system Only one object (top level object) is accessed by other objects Important attributes: State and Action DCS JCOP chose the State Management Interface (SMI ++) product which was developed for the Delphi experiment SMI = Tool to build a FMS + Expert system Real world is viewed as a collection of objects behaving as FSM Represent hardware devices, software tasks or abstract subsystem SMI ++ objects distributed over various platforms Communication through DIM Proxy Hardware Devices Obj SMI Domain PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

State Management Language DCS A special language is provided for the object description – State Management Language (SML) Interpreted by a Logic Engine (coded in C++) to drive the control system An SML file corresponds to an SMI domain PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Device Editor and Navigator (DEN) DCS Main interface to the Framework System management Configuration and operation of device Editor and Navigator mode Hardware, logical and FSM view PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Device Unit Type Configurations DCS PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Logical Object Type Configuration DCS PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Navigator Mode View the hierarchy starting from any control unit DCS PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Navigator Mode Partitioning, actions etc DCS PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Background Background of project DCS Background of project Large number of independent teams High complexity Very different operational mode Common problems in developing the FSMs: Repetitive and redundant logic Inconsistency (endless loops) Inhomogeneity PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Objectives Understanding of DCS tools and application Development of an analysis tool to analyze the FSM trees in the CMS DCS Optimization and thorough analysis of the current FSM system Provide a mechanism to ensure homogeneity in the FSMs Development of a visualization program PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Plans Training courses and conferences DCS Training courses and conferences Oracle SQL course (2nd Feb – 4th Feb) PVSS/JCOP Framework training course (9th Feb – 13th Feb) FSM course (17th Feb – 19th Feb) General and professional French course (26th Jan – 3rd April) Programming in JAVA (27th April – 29th April) CHEP (23rd Mar – 27th Mar) RT2009 (10th May – 15th May) ICALEPCS (12th Oct – 16th Oct) : Abstract submitted Exportation of FSM into Database Analysis and building of the complex FSM trees Possible collaboration with Eindhoven University of Technology Proposal written and meeting planned PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Conclusion DCS The Detector Control System is an integral part of the CMS experiment and is large and complex A homogenous and coherent control system has been developed using the JCOP framework PVSS and SMI++ are being used in the framework, and its tools and applications have been proven to be useful and user-intuitive However, inhomogeneity and incoherence in the FSM development still exist, an analysis tool is foreseen to be developed and implemented PVSS/JCOP Framework Finite State Machine DEN Background and Objective Conclusion 25 June 2018 Yi Ling Hwong

Thank you for your attention! 25 June 2018 Yi Ling Hwong