D etector C ontrol S ystem ALICE DCS workshop 16-9-2002 G. De Cataldo CERN-CH, A. Franco INFN Bari, I 1 Finite State Machines (FSM) for the ALICE DCS:

Slides:



Advertisements
Similar presentations
ALICE DCS, Heidelberg 8 Sept G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,
Advertisements

JCOP FW Update ALICE DCS Workshop 6 th and 7 th October, 2005 Fernando Varela Rodriguez, IT-CO Outline Organization Current status Future work.
The Detector Control System – FERO related issues
DCS workshop 13-14/6/2005G. De Cataldo, CERN-CH and INFN bari1 Common FSM’s updates An exercise to design the standard FSMs for the DCS, the HV and the.
Xavier Le Gouard Rich Power Supplies Monitoring and Control RICH Power Supplies Monitoring and control.
The Control System for the ATLAS Pixel Detector
Alarms and interlocks handling in the FSM environment Hypernet 1.The standardization of the FSM state diagram; 2.The FSM error states and their recovering.
Peter Chochula CERN-ALICE ALICE DCS Workshop, CERN September 16, 2002 DCS – Frontend Monitoring and Control.
ALICE DCS Workshop - 15/3/2004 G. De Cataldo, A.Franco, A.Tauro - INFN Bari - 1 The SY1527 replay delay via the OPC and the ‘SY driver’ (By HMPID) The.
HV-LV DCS Workshop – 16/03/2004 G. De Cataldo, A. Franco, A.Tauro - INFN Bari Progress report on the HMPID LV System Cabling and LV sectorsCabling and.
SPD DCS Status Report Ivan Amos Calì a,b, S.Ceresa a,c, C.Torcato de Matos a a CERN-AIT a CERN-AIT b Università degli studi di Bari b Università degli.
S.PopescuAlice DCS workshop, Colmar, Standards for control room PVSS panels A brainstorm meeting.
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,
HV for SM surface testing 2 nd Workshop on the Detector Control System for TRD University of Tsukuba Kengo Watanabe.
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
3 June 2003U. Frankenfeld1 TPC Detector Control System Status.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
1 DCS TDR Key technical points & milestones TB 15 Dec 2003 L.Jirdén.
Designing a HEP Experiment Control System, Lessons to be Learned From 10 Years Evolution and Operation of the DELPHI Experiment. André Augustinus 8 February.
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.
1 Status & Plans DCS WS L.Jirdén. 2 DCS Planning FINAL INST COM- MISS BEAM OP PRE- INST DET DCS URD ENG. SOLUTIONS PROTOTYPE SUBSYSTEM.
MDT PS DCS for ATLAS Eleni Mountricha
SMACS Slow Monitor And Control System Developed system for CDF-TOF proposed for Atlas-MDT/RPC.
D etector C ontrol S ystem HMPID SB G. De Cataldo CERN-CH, A. Franco & A. Nardulli INFN Bari, I 1 HMPID Updates and prototyping HMPID DCS with.
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.
June 14, 2005 Alice DCS workshop, Utrecht S.Popescu Guidelines and conventions for ALICE PVSSII control software Graphical User Interface Naming and Numbering.
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.
ALICE DCS Meeting.- 05/02/2007 De Cataldo, Franco - INFN Bari - 1 ALICE dcsUI Version 3.0 -dcsUI v3.0 is ready and will be soon posted on the ACC site.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
ALICE DCS Workshop - 14/03/2006 De Cataldo, CERN CH and INFN Bari - 1 Standardization of the DCS control panels The ACC is elaborating a set of panels.
1 Responsibilities & Planning DCS WS L.Jirdén.
André Augustinus 17 June 2002 Technology Overview What is out there to fulfil our requirements? (with thanks to Tarek)
TPC Prototype III TPC module anode HV edge LV module analog digital Cool sensor Gas sensor Shift Expert DCS Ch Skirt.
DCS workshop July 2007 Overview Installed detectors Installed detectors FMD3 commissioning FMD3 commissioning FSM Hierarchy FSM Hierarchy LV+HV FSMs LV+HV.
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.
Naming and Code Conventions for ALICE DCS (1st thoughts)
15-16/3/04 DCS workshop G. De Cataldo, A,.Franco and A. Tauro 1 Answers from the HMPID to the ACC questions 1.Concerning global DCS overview drawing 2.Concerning.
Bruno Belbute, October 2006 Presentation Rehearsal for the Follow-up meeting of the Protocol between AdI and CERN.
21/6/2004 Colmar, DCS Work. G. De Cataldo Cern-CH&INFN Ba,I; A. Franco INFN BA,I 1 The candidate STANDARD diagram for the HV FSM in ALICE TO WHAT AND WHY.
ACC ? Detector PVSS II Ethernet Database(s) OPC client DIM client High VoltageLow Voltage User interface PVSS II LV PMD Control room (ACR) [FSM?]
Controls EN-ICE FSM for dummies (…w/ all my respects) 15 th Jan 09.
Alice DCS workshop S.Popescu ISEG Crate controller + HV modules ISEG HV modules 12 Can bus PVSS OPC Client 1 Generic OPC Client Iseg OPC.
The (prototype) C&V Framework component used for the SPD Cooling Control A.Tauro, G.De Cataldo.
DCS overview - L.Jirdén1 ALICE ECS/DCS – project overview strategy and status L.Jirden u Organization u DCS system overview u Implementation.
Clara Gaspar, April 2006 LHCb Experiment Control System Scope, Status & Worries.
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 
T0 DCS Status DCS Workshop March 2006 T.Karavicheva on behalf of T0 team.
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.
André Augustinus 17 June 2002 Detector URD summaries or, what we understand from your URD.
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.
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.
6 May 2010 RICH2010 Cassis. G. De Cataldo, A Franco and G. Volpe INFN Bari It and CERN-CH 1 The ALICE HMPID Detector Control System, its evolution towards.
ATLAS MDT HV – LV Detector Control System (DCS)
CMS – The Detector Control System
The LHCb Run Control System
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
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:

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: a common project Why FSM? How do we do it? The method and a given example ALICE DCS: the Project Presentation Conclusions Why FSM? How do we do it? The method and a given example ALICE DCS: the Project Presentation Conclusions

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 2 Why FSM? For both ALICE and the sub-detector’s C.S. the FSM approach allows for: to develop the the Sub-Detector controls in a standard way ; –to reduce the number of parameters to be managed at the Supervisory layer. to integrate in the ALICE DCS the sub-detector C.S. with related hierarchy and partitioning features. For both ALICE and the sub-detector’s C.S. the FSM approach allows for: to develop the the Sub-Detector controls in a standard way ; –to reduce the number of parameters to be managed at the Supervisory layer. to integrate in the ALICE DCS the sub-detector C.S. with related hierarchy and partitioning features.

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 3 How do we do it ? TPC DCS TPC FEE ss TPC HV ss HMPID DCS HMPID HV ss ALICE DCS SMI++ provides tools, Control Units, Domains all behaving as finite state machine; to build Device Units, Control Units, Domains all behaving as finite state machine; to define the Partitioning mode: IncludedExcluded,StandAlone,, Manual and Ignored; to define the Partitioning mode: Included, Excluded,StandAlone, Command Disabled, Manual and Ignored; to define the Hierarchy rules: Exclusive or Shared mode. PVSS & SMI++ toolkit in the JCOP framework PVSS & SMI++ toolkit in the JCOP framework

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 4 OFF : The HV HMPID is OFF and the PS’s are OFF too STATES CONFIG : The relevant parameters are loaded and set in the PVSS Data points, the enabled module goes in STANDBY else in the DISABLED state STANDBY : The system is ready to power on the enabled HMPID HV segments RAMPUP : The HV segments are switched ON READY : The HV sub system is ready for Physics RAMPDOWN : The HV segments are switched OFF Standby : It loads the module configuration and it brings the system on the STANDBY status Transition or Action LIST HVon : It switch ON all the configured HV channels HVoff : It switch OFF all the configured HV channels Off : go to the OFF status. Reset : To exit from the Error Status The method and the HMPID as a given example: State and Action lists Set up the requirement list of the HV sub-system;Set up the requirement list of the HV sub-system; Define the functional states of the system;Define the functional states of the system; Then provided a graphical representation of the States and Transitions: the bubble chart.Then provided a graphical representation of the States and Transitions: the bubble chart. The State diagram of the HV Subsys.

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 5 HVPS 1 HVm 7 HVm 6 HVm 5 HVm 4 HVm 3 HVm 2 HVm 1 High Voltage C.U. Domain (c.prg SMI++) High Voltage C.U. Domain (c.prg SMI++) Low voltage C.U Domain. Low voltage C.U Domain. Gas Distrib. C.U.Domain Gas Distrib. C.U.Domain C6F14 rec. C.U. Domain C6F14 rec. C.U. Domain Cooling C.U. Domain Cooling C.U. Domain Device Units LCModul LCMain ? ? ? ? ? ? HMPID Control Unit Domain HMPID Control Unit Domain Hierarchy: Exclusive or Shared mode MainUser hardware Expert Hierarchical representation of the HMPID C.S. This representation and functionality comes once the SMI++toolkit is adopted to build the C.S.. Included Excluded, Included, Excluded, StandAlone,, Manual and Ignored; StandAlone, Command Disabled, Manual and Ignored; 7 HMPID Modules

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 6 FSM DP FSM Device Units HVm2 FSM DP FSM Device Units HVm2 CAEN SY1527 HV Channels Framework device DPs DCOM/OPC connection HV SubSystem Control Unit Domain HV SubSystem Control Unit Domain FSM DP FSM Device Units HVm1 Interface Program The HVm.. Device Unit : a tailored interface to the hardware All the parameters and variable of the CAEN SY1527 Crate are linked, by OPC server technology, to a set of PVSS DataPoint by means of the Framework configuration facilitiesAll the parameters and variable of the CAEN SY1527 Crate are linked, by OPC server technology, to a set of PVSS DataPoint by means of the Framework configuration facilities Some DataPoint are defined as Logical Device, one for the HV Power Supply Station and 7 for the HV Modules, they will became the interface point for the FSM Device UnitSome DataPoint are defined as Logical Device, one for the HV Power Supply Station and 7 for the HV Modules, they will became the interface point for the FSM Device Unit For each Device Unit an associated FSM has been defined using the FSM-Framework toolsFor each Device Unit an associated FSM has been defined using the FSM-Framework tools An High Voltage Control Unit Domain and the relative SMI++ control program has been createdAn High Voltage Control Unit Domain and the relative SMI++ control program has been created A devoted Interface Control Scripts Program is requested to convert, all the information coming from the SY1527 (board included), in logical objects (Device Unit) behaving as FSM’s … 

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 7 HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] HVm1 [hmpidHVM] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01_ch01 [FwCaenChannel] Primo_board01 [FwCaen1527Board] Primo_board01 [FwCaen1527Board] Primo_board01 [FwCaen1527Board] Primo_board01 [FwCaen1527Board] 1 CAEN SY1527 crate 1 CAEN SY1527 crate 5 CAEN A1821 boards 5 CAEN A1821 boards 49 CAEN HV channels 49 CAEN HV channels HV Power Supply HV Power Supply HV Module 3 HV Module 4 HV Module 5 HV Module 6 HV Module 2 HV Module 7 HV Module 1 Physical Devices FSM Device Units Primo [FwSy1527] Primo_board01 [FwCaen1527Board] Primo_board01_ch01 [FwCaenChannel] HVpa1 [hmpidHVPS] HVm1 [hmpidHVM] Jasd j i= 0 If(kjsad) asd asda Jkd askd aksd kaksd as Asdas asd Jasd j i= 0 If(kjsad) asd asda Jkd askd aksd kaksd as Asdas asd Event fired by values changes Change of Device Status Event fired by Request Action Command to Devices The Interface Control Script Program 1.When the Domain Control Program send an action (command) to a FSM Device Unit, the related DataPoint values changes. 2.This results in the execution of a subroutine that according to the command received modify all the related DataPoint configuration. 1.When a parameter value of the Physical Device undergo changing, then the corresponding DataPoint config value changes. 2.This starts a subroutine that according to new value may bring the related FSM D.U. in the new state.

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 8 HV Control Unit: session snapshot An example of HV Sub System RAMPUP phase: The control panel opened from the Device Editor & Navigator has taken the control of the HV sub-system, as shown in the FSM- Framework panel The control panel  opened from the Device Editor & Navigator  has taken the control of the HV sub-system, as shown in the FSM- Framework panel . The intermediate RAMPUP state is reached just after the HVon command is send to the Control Unit. The telnet section on the SY1527 crate gives a real time feedback. The telnet section  on the SY1527 crate gives a real time feedback. The Power Supply Unit is in READY state during all the operations. The modules from 2 to 7 are disabled The Power Supply Unit is in READY state during all the operations. The modules from 2 to 7 are disabled 

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 9 HMPID Control Panel: the Graphic User Interface

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 10 Working with the SMI++ toolkit HVPS 1 HVm 7 HVm 6 HVm 5 HVm 4 HVm 3 HVm 2 HVm 1 High Voltage C.U. Domain High Voltage C.U. Domain hardware Config. Panel for Device Type Configuring Hierarchy of FSM Configuring FSM Domains. It is relevant for Patitioning purposes Config. Panel for Logical Object type Control Unit definition

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 11 Experiment parameters set #1 Experiment parameters set #1 External Data Base for the HMPID Configuration Configuration DB Experiment parameters set #1 Name 1  Value Name 2  Value Dictionary Name 1  DP 1 In order to have a centralized repository of the Detector Configurations a D.B., external to the PVSS environment, has been created. Store a Configuration : the HMPID config. parameters are stored in the external DB as a list of doublets (Name,Value) where the name is the symbolic name of a parameter given by the user. Load a Configuration :according to a Dictionary, each doublet (Name,Value) in the Config. D.B. is converted in the corresponding doublet (DataPoint, Value) in the PVSS environment (. Load a Configuration :according to a Dictionary, each doublet (Name,Value) in the Config. D.B. is converted in the corresponding doublet (DataPoint, Value) in the PVSS environment ( DP  Value). PVSS DB DP 1  Value - Symbolic Name Definition : a custom panel in the FW allows the definition of the Symbolic Name into the Dictionary. -  Symbolic Name Definition : a custom panel in the FW allows the definition of the Symbolic Name into the Dictionary. - Store a configuration: a control script program is able to record, in the Configuration DB, the actual HMPID configuration parameters present in the PVSS Data Base. This is a “detector snapshot”. -  Store a configuration: a control script program is able to record, in the Configuration DB, the actual HMPID configuration parameters present in the PVSS Data Base. This is a “detector snapshot”. - Load a configuration: a control script program reads from the config. DB all the parameter values requested for the “detector configuration” and according to the Dictionary writes them in the PVSS Data Point Elements. -  Load a configuration: a control script program reads from the config. DB all the parameter values requested for the “detector configuration” and according to the Dictionary writes them in the PVSS Data Point Elements Control Script Control Script

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 12 Dictionary and Management of the External D.B.. Configuration panel to create the Dictionary entries. Definition of a complex symbolic name. The Load/Store Configuration Setting panel.

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 13 What About the ALICE DCS ? Taking profit of the expertise developed so far while implementing the HMPID C.S. (PVSS, SMI++ toolkit and external config. D.B.), we are going to start the designing and implementation of the first prototype of ALICE DCS. TRD DCS ITS DCS TPC DCS HMPID DCS ALICE DCS TOF DCS

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 14 ALICE DCS: Project Presentation Integration of all the HMPID Subsystem Controls as FSM; Access extension ( proving of the external Data Base for the HMPID configurations;Access extension (PostgreeSQL and MySQL) and improving of the external Data Base for the HMPID configurations; Integration of the HMPID C.S. in the first prototype of the ALICE DCS;Integration of the HMPID C.S. in the first prototype of the ALICE DCS; Subsequently, integration in the ALICE DCS of a new sub-detector C.S..Subsequently, integration in the ALICE DCS of a new sub-detector C.S.. Integration of all the HMPID Subsystem Controls as FSM; Access extension ( proving of the external Data Base for the HMPID configurations;Access extension (PostgreeSQL and MySQL) and improving of the external Data Base for the HMPID configurations; Integration of the HMPID C.S. in the first prototype of the ALICE DCS;Integration of the HMPID C.S. in the first prototype of the ALICE DCS; Subsequently, integration in the ALICE DCS of a new sub-detector C.S..Subsequently, integration in the ALICE DCS of a new sub-detector C.S..

D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 15 Conclusions At level of HMPID C.S. the PVSS+SMI++ toolkit (avail. In the JCOP F.W.) has proven to be effective, then we intend to extended this approach to the implementation of the ALICE DCSAt level of HMPID C.S. the PVSS+SMI++ toolkit (avail. In the JCOP F.W.) has proven to be effective, then we intend to extended this approach to the implementation of the ALICE DCS ( To be homogeneous, all the subdetector C.S should adopt the same FSM approach: the common project;To be homogeneous, all the subdetector C.S should adopt the same FSM approach: the common project; Development activities for the first ALICE DCS prototype are now on the way;Development activities for the first ALICE DCS prototype are now on the way; The Alice Control Co-ordination Team and HMPID expertise are available to provide informationThe Alice Control Co-ordination Team and HMPID expertise are available to provide information At level of HMPID C.S. the PVSS+SMI++ toolkit (avail. In the JCOP F.W.) has proven to be effective, then we intend to extended this approach to the implementation of the ALICE DCSAt level of HMPID C.S. the PVSS+SMI++ toolkit (avail. In the JCOP F.W.) has proven to be effective, then we intend to extended this approach to the implementation of the ALICE DCS ( To be homogeneous, all the subdetector C.S should adopt the same FSM approach: the common project;To be homogeneous, all the subdetector C.S should adopt the same FSM approach: the common project; Development activities for the first ALICE DCS prototype are now on the way;Development activities for the first ALICE DCS prototype are now on the way; The Alice Control Co-ordination Team and HMPID expertise are available to provide informationThe Alice Control Co-ordination Team and HMPID expertise are available to provide information