1 / 24

Hierarchical Control Demo:

Hierarchical Control Demo:. Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments. Generic SW Architecture. Control Units. ECS. T.S. LHC. DAQ. DSS. DCS. Abstract levels. Commands. GAS. Status & Alarms. DetDcs1. DetDcsN. DetDaq1. SubSys1.

kynton
Download Presentation

Hierarchical Control Demo:

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. Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments

  2. Generic SW Architecture Control Units ECS T.S. LHC DAQ DSS DCS Abstract levels ... ... Commands GAS Status & Alarms DetDcs1 DetDcsN DetDaq1 SubSys1 SubSys2 SubSysN Device Units Dev1 Dev2 Dev3 DevN To Devices (HW or SW)

  3. Control Units • Each CU is inherently able to: • Configure, monitor and control its children • Sequence & Automate operations • Recover errors • Handle Alarms • Filter and display alarms • Partition • Exclude one or more of its children • User Interfacing • Present information and receive commands CU

  4. SCADA based Framework • PVSSII has tools for: • Device Description (Configuration Database): • Device Access (OPC, Profibus, drivers) • Alarm Handling (Generation, Filtering, Masking, etc) • Archiving, Logging, Scripting, Trending • User Interface Builder • Alarm Display, Access Control, etc. • SMI++ provides: • Abstract behaviour modeling (Finite State Machines) • Automation & Error Recovery (Expert System like)

  5. A combination of PVSS II & SMI++ Hierarchical Characteristics: State/Commands One Owner Exclusive/Shared Partitioning Mode Other Characteristics Alarm Handling Access Control Archiving, etc. Control Units SubSys

  6. Control Units (cont.) Parent Operator Configuration Database Commands/States Commands/States Configuration data Specific Behaviour FSM Ownership & Partitioning FSM Logging & Archiving Alarm Handling PVSS II Commands/States Commands/States Commands/States Child Child Child

  7. Device Units • Device Units’s specific tasks are: • Interface to the device it models • Implement Actions • Retrieve States • Generate Alarms • User Interfacing • Present specific information and receive commands DU

  8. Device Units (cont.) • Device Units • Provide the interface to the different devices Operator Parent Commands/States Commands/States Configuration data FSM Interface Alarm Handling Logging & Archiving Device Driver PVSS II Settings/Readings HW/SW Device

  9. Demo – HV Sub System • Sub Detector HV • OFF when all channels OFF • SWITCH_ON -> HV ON • ON when all channels ON • SWITCH_OFF -> HV OFF • ERROR when at least one channel TRIPPED • RECOVER (-> CLEAR_TRIP) -> HV ON HV

  10. Demo - Sub Detector DCS • Sub Detector • NOT_READY when at least one component NOT READY • GET_READY -> HV ON • READY when all Components OK • SET_NOT_READY -> HV OFF • ERROR when at least one component in ERROR • RECOVER -> HV RECOVER Tracker HV GAS

  11. Demo - DCS • DCS • NOT_READY when at least one detector NOT_READY • GET_READY -> all • READY when all detectors READY • SET_NOT_READY -> all • ERROR when at least one detector in ERROR • RECOVER -> all DCS Vertex Tracker Muon HV Temp HV GAS HV GAS

  12. Partitioning ECS DAQ DCS ... ... DetDcs1 DetDcsN DetDaq1 SubSys1 SubSys2 SubSysN Dev1 Dev2 Dev3 DevN To Devices (HW or SW)

  13. Partitioning Modes INCLUDED EXCLUDED Child Fully Controlled by Parent Child Not Controlled by Parent Parent Parent State State Command Command Child Child MANUAL IGNORED Parent does not send Commands Parent Ignores State Parent Parent x State State x Command Command Child Child

  14. Demo - DCS / Partitioning DCS Vertex Tracker Muon HV Temp HV GAS HV GAS

  15. Demo - DAQ • DAQ • NOT_READY CONFIGURE • READY START_RUN • RUNNING STOP_RUN DCS DAQ Vertex Tracker Muon Vertex Tracker Muon HV Temp HV GAS HV GAS FE RU FE RU FE RU

  16. Run Control • Since any Control Unit (and its sub-tree) • Can run in stand-alone • Can be controlled independently (by an authorized User Interface) • The Run Control can be seen as: • The interface to the Root node of the tree • If the tree is partitioned there can be several Run Controls. ECS DCS DAQ

  17. Demo - Run Control • ECS • When LHC in PHYSICS -> GET_READY DCS -> GET_READY DAQ -> START_RUN DAQ ECS LHC DCS DAQ Vertex Tracker Muon Vertex Tracker Muon HV Temp HV GAS HV GAS FE RU FE RU FE RU

  18. Demo - Sub Detector RC ECS DAQ DCS Det1 ... ... DetDcs1 DetDcsN DetDaq1 SubSys1 SubSys2 SubSysN Dev1 Dev2 Dev3 DevN To Devices (HW or SW)

  19. Multiple “RunControl”s ECS LHC DCS Tracker DAQ x x x x VertexDCS MuonDCS TrackerDCS TrackerDCS TrackerDAQ TrackerDAQ MuonDAQ VrtexDAQ HV Temp HV GAS HV GAS FE RU FE RU FE RU

  20. Demo - Safety • Safety • When GAS in ERROR -> SWITCH_OFF HVs ECS LHC DCS DAQ Vertex Tracker Muon Vertex Tracker Muon HV Temp HV GAS HV GAS FE RU FE RU FE RU Safety

  21. HV Device

  22. Partitioning Sub-Systems

  23. Run Control

  24. Sub-detector Control

More Related