Controls EN-ICE Finite States Machines An introduction Marco Boccioli FSM model(s) of detector control 26 th April 2011.

Slides:



Advertisements
Similar presentations
The FSM hierarchy for the T0 detector (preliminary)
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 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.
CPV DCS STATUS REPORT Mikhail Bogolyubsky (IHEP, Protvino) Serguei Sadovsky (IHEP, Protvino) CERN, DCS meeting, 30 January, 2007.
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.
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
09/12/2009ALICE TOF General meeting 1 Online Controls Andrea Alici INFN and Universtity of Bologna, Bologna, Italy ALICE TOF General Meeting CERN building.
3 June 2003U. Frankenfeld1 TPC Detector Control System Status.
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
Clara Gaspar, October 2011 The LHCb Experiment Control System: On the path to full automation.
LKr Calorimeter Control and monitoring R. Fantechi 19/02/2010 R. Fantechi.
Id week, , Kerstin Lantzsch Joachim Schultes University of Wuppertal FSM configuration and functionality - current status - plans.
XXVI Workshop on Recent Developments in High Energy Physics and Cosmology Theodoros Argyropoulos NTUA DCS group Ancient Olympia 2008 ATLAS Cathode Strip.
ATLAS MDT Power Supply DCS Anastasios Iliopoulos 15/08/2006.
DCS T0 DCS Answers to DCS Commissioning and Installation related questions ALICE week T.Karavicheva and the T0 team T0 DCS Answers to.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
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:
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.
1 Outline Firmware upgrade of the HV_LED_DAC boards. HV Status Bits board. Status of the board integration into the LHCb TFC system. CALO HV system and.
Giovanni Polese1 RPC Detector Control System for MTCC Pierluigi Paolucci, Anna Cimmino I.N.F.N. of Naples Giovanni Polese Lappeenranta University.
André Augustinus 10 March 2003 DCS Workshop Detector Controls Layout Introduction.
André Augustinus 16 September 2002 PVSS & Framework How to get started.
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.
Calo Piquet Training Session - Xvc1 DCS and DSS Cuvée 2015 – RUN2 Xavier Vilasís-Cardona.
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 MTR DCS F.Jouve 15 th DCS workshop CERN 13/03/2006 UX-A,B,D Detector PVSS II Detector Ethernet Database(s) OPC client DIM client 1672 Detector ?
XXVI workshop on resent developments in High Energy Physics and Cosmology Ancient Olympia,16-19 April 2008 Tsarouchas Charilaos NTUA Detector Control System.
Xavier Le Gouard Rich Power Supplies Monitoring and Control RICH Monitoring and Control using FSMs.
DCS Workshop, CERN MARCH ACORDE (Alice Cosmic ray detector) 60 scintillator modules (120 HV channels) Each module will have two scintillator counters.
DCS overview - L.Jirdén1 ALICE ECS/DCS – project overview strategy and status L.Jirden u Organization u DCS system overview u Implementation.
DCS Workshop 17 June 2002 PHOS DCS status Serguei Sadovski.
André Augustinus 16 September 2002 Muon tracker URD summary or, what we understand from the URD.
5th March 0718th DCS Workshop1 News on ISEG & WIENER Lionel Wallet, CERN High Voltage, Low Voltage & VME Crate control.
Clara Gaspar, April 2006 LHCb Experiment Control System Scope, Status & Worries.
Clara Gaspar, March 2003 Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments.
The ALICE Silicon Pixel Detector Control system and Online Calibration tools Ivan Amos Calì (a,b) On behalf of the SPD Project in.
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.
1 ECS CALO LED Control System CALO Piquet Training Session Anatoli Konoplyannikov /ITEP/ Outline  Introduction  Calorimeter ECS LED monitoring.
DCS workshop,march 10th P.Saturnini, F. Jouve Slow control trigger of the muon arm Muon trigger of the muon arm Low voltage VME Crate External parameters.
E Ethernet C CAN bus P Profibus HV HV cables LV LV cables (+busbar) S Serial (RS232) Signal cable Other/Unknown Liquid or Gas Cable and/or Bus PCI-XYZ.
André Augustinus 17 June 2002 Detector URD summaries or, what we understand from your URD.
MCH(Muon Tracking) DCS Introduction Overview drawing High Voltage - hardware functional diagram Logical Diagrams Summary table of states and commands Commands.
André Augustinus 18 March 2002 ALICE Detector Controls Requirements.
CLAS12 ECAL PCAL DC FTOF... Region 2 DewPnt Region 3 Region 4 Region 1 Mod 1... Mod 2 HV TEMP LV Hierarchy of Slow Controls: Driven by Finite State Machine.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
B. Franek, poster presented at Computing in High Energy and Nuclear Physics, Praha – Czech Republic, 21 – 27 March 2009 This framework provides: -A method.
PVSS an industrial tool for slow control
SPD DCS Overview & FED Server
ATLAS MDT HV – LV Detector Control System (DCS)
CMS – The Detector Control System
The LHCb Run Control System
The IFR Online Detector Control at the BaBar experiment at SLAC
TPC Detector Control System
Philippe Vannerem CERN / EP ICALEPCS - Oct03
The IFR Online Detector Control at the BaBar experiment at SLAC
The Online Detector Control at the BaBar experiment at SLAC
Experiment Control System
HV & LV status DELIVERED AT BLG /60  67% of the A3009 (LV)
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Tools for the Automation of large distributed control systems
Pierluigi Paolucci & Giovanni Polese
Presentation transcript:

Controls EN-ICE Finite States Machines An introduction Marco Boccioli FSM model(s) of detector control 26 th April 2011

 The detector control system seen as pure hardware connections: The Detector Control System Channel 001 Channel 009 Electronics Channel 001 Channel 009 PC Channel 001 Channel 009 WME crate CAEN SY1527 Wiener PL500F8 ELMB 2

 The operator usually does not know about the hardware behind a detector control system  The operator controls the detector looking at the detector topology, and not at the hardware connections  The functionalities of the equipment need to be reduced to the commonly used ones  Some command sequences can be automated Why FSM? 3

The detector control system as the operator would like to see it: High level of abstraction ElectronicsLV HV LV Temperature Module 1 Module 2 Infra VME Detector ELMB 4

 Two parallel dimensions High level of abstraction 5 >>

 Hierarchical control of the equipments Hierarchical control HVLVHVLVElectronics HVLVHVLVElectronics Module 1Module 2Module 3 Power Supply Detector Commands Start GoOn SwitchOn GoOn Intermediate GoReadyConfigure SwitchOn Intermediate GoReadyConfigure SwitchOn 6

 The states are propagated up from the actual state of the devices  If needed, a sequence of commands can be automatically triggered depending on the state of the children (i.e. automatic recovery...) Hierarchical control Power Supply Module 1Module 2Module 3 Power Supply Detector States Ready On Intermediate ReadyConfiguredOn Ready 7

 Control Unit, Logical Unit Type Modelling of behaviour for an abstract object  Device Unit Type Modelling of behaviour based on a device type  Device Type Software modelling of a hardware device Usually connected via driversconnected FSM units 8 CAEN Channel 001 ISEG Channel 009 HVLV Module 1 Detector

Control Unit, Logical Unit Operator States Commands Parent StatesCommands Child States Commands Child States Commands Child States Commands  Configure, monitor and control its children Sequence & Automate operations Recover errors  Handle Alarms  Partition (CU only) Running stand-alone Being partitioned  User Interfacing Present information and receive commands Exclusive control CU, LU 9

Device Unit Operator States Commands Parent States Commands HW Device Readings Settings DU  Interface to the device it models Implement Actions Retrieve States  Generate Alarms  User Interfacing Present information Receive commands Can be excluded from control 10

 A Unit Type models the behaviour of an object Set of COMMANDS received from the parent/operator, translated and propagated to the children. Set of STATES sent back to the parent/operator, according to the state received from the children. Finite States... HVLV Detector CAEN Channel 001 ISEG Channel 009 Type: Module Module 1 11

Partitioning ElectronicsLV HV LV Temperature Module 1 Module 2 Infra VME Detector ELMB 12  An operator has exclusive control  Parts of the hierarchy can be ignored

Partitioning ElectronicsLV HV LV Temperature Module 1 Module 2 Infra VME Detector ELMB 13  Parts of the hierarchy can be released to another operator

Partitioning ElectronicsLV HV LV Temperature Module 1 Module 2 Infra VME Detector ELMB 14  Parts of the hierarchy can be released to another operator

Summary  The FSM is a tool for modeling devices behaviour. The States reflect the real hardware devices status. The Commands are translated into settings for the devices.  FSM allows abstraction of devices Uniform appearance also when differences in devices behaviour.  FSM allows a flexible construction of a “detector oriented” hierarchy.  It allows exclusive operation and partitioning.  References: