1 / 15

The Detector Control System

Finite States Machines An introduction Marco Boccioli FSM model(s) of detector control 26 th April 2011. The Detector Control System. 2. The detector control system seen as pure hardware connections:. PC. PC. WME crate. CAEN SY1527. Wiener PL500F8. ELMB. Channel 001. Channel 001.

herne
Télécharger la présentation

The Detector Control System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Finite States MachinesAn introductionMarco BoccioliFSM model(s) of detector control26th April 2011

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

  3. Why FSM? 3 • 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

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

  5. High level of abstraction 5 • Two parallel dimensions FSM HW Detector PC PC Module 2 WME crate CAEN SY1527 Wiener PL500F8 Module 1 Infra ELMB HV Temperature Channel 001 Channel 001 Channel 001 Channel 001 Channel 001 Channel 001 Electronics LV Electronics Channel 001 Channel 001 Channel 001 Channel 009 LV Channel 009 VME Channel 009 ELMB >>

  6. Hierarchical control 6 • Hierarchical control of the equipments Intermediate SwitchOn SwitchOn SwitchOn GoReady Configure HV LV HV LV Electronics Power Supply Start Commands Detector GoOn GoOn GoOn Module 1 Module 2 Module 3 Intermediate SwitchOn SwitchOn SwitchOn GoReady Configure HV LV HV LV Electronics Power Supply

  7. Hierarchical control 7 • 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...) States Ready Detector On On On Module 1 Module 2 Module 3 Intermediate Ready On Ready On Configured Power Supply Power Supply Power Supply Power Supply Power Supply Power Supply

  8. FSM units 8 • 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 drivers Detector Module 1 HV LV CAEN Channel 001 ISEG Channel 009

  9. Control Unit, Logical Unit 9 • 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 Parent Operator Commands States Commands States CU, LU Commands Commands States States Commands States Child Child Child

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

  11. Finite States... 11 • 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. Detector Module 1 HV LV CAEN Channel 001 ISEG Channel 009 Type: Module

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

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

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

  15. Summary 15 • 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: • http://www.cern.ch/wikis/display/EN/PVSS+Service+Training+JCOP+FSM+Course • http://lhcb-online.web.cern.ch/lhcb-online/ecs/fw/FwFsm.html

More Related