Presentation is loading. Please wait.

Presentation is loading. Please wait.

Clara Gaspar, March 2003 Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments.

Similar presentations


Presentation on theme: "Clara Gaspar, March 2003 Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments."— Presentation transcript:

1 Clara Gaspar, March 2003 Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments

2 Clara Gaspar, March 2003 2 Generic SW Architecture... To Devices (HW or SW) Commands Status & Alarms ECS DCS DAQ DetDcs1 DetDcs N SubSys 1 SubSys 2 Dev 1 Dev 2 Dev 3 DetDaq 1 SubSysN Dev N LHC T.S.... Device Units Control Units GAS DSS Abstract levels

3 Clara Gaspar, March 2003 3 Control Units zEach CU is inherently able to: yConfigure, monitor and control its children xSequence & Automate operations xRecover errors yHandle Alarms xFilter and display alarms yPartition xExclude one or more of its children yUser Interfacing xPresent information and receive commands CU

4 Clara Gaspar, March 2003 4 SCADA based Framework zPVSSII has tools for: yDevice Description (Configuration Database): yDevice Access (OPC, Profibus, drivers) yAlarm Handling (Generation, Filtering, Masking, etc) yArchiving, Logging, Scripting, Trending yUser Interface Builder yAlarm Display, Access Control, etc. zSMI++ provides: yAbstract behaviour modeling (Finite State Machines) yAutomation & Error Recovery (Expert System like)

5 Clara Gaspar, March 2003 5 Control Units zA combination of PVSS II & SMI++ yHierarchical Characteristics: xState/Commands xOne Owner xExclusive/Shared xPartitioning Mode yOther Characteristics xAlarm Handling xAccess Control xArchiving, etc. SubSys

6 Clara Gaspar, March 2003 6 Control Units (cont.) PVSS II Specific Behaviour FSM Ownership & Partitioning FSM Alarm Handling Logging & Archivin g Parent Commands/States Configuration Database Operator Child Commands/States Configuration data

7 Clara Gaspar, March 2003 7 Device Units zDevice Units’s specific tasks are: yInterface to the device it models xImplement Actions xRetrieve States yGenerate Alarms yUser Interfacing xPresent specific information and receive commands DU

8 Clara Gaspar, March 2003 8 Device Units (cont.) zDevice Units yProvide the interface to the different devices PVSS II FSM Interface Alarm Handlin g Logging & Archivin g Commands/States Operator HW/SW Device Commands/States Settings/Readings Configuration data Parent Device Driver

9 Clara Gaspar, March 2003 9 Demo – HV Sub System HV zSub Detector HV yOFF when all channels OFF xSWITCH_ON -> HV ON yON when all channels ON xSWITCH_OFF -> HV OFF yERROR when at least one channel TRIPPED xRECOVER (-> CLEAR_TRIP) -> HV ON

10 Clara Gaspar, March 2003 10 Demo - Sub Detector DCS GA S Tracke r HVHV zSub Detector yNOT_READY when at least one component NOT READY xGET_READY -> HV ON yREADY when all Components OK xSET_NOT_READY -> HV OFF yERROR when at least one component in ERROR xRECOVER -> HV RECOVER

11 Clara Gaspar, March 2003 11 Demo - DCS DCS Vertex GA S HVHV Tracke r Muon Tem p HVHV GA S HVHV zDCS yNOT_READY when at least one detector NOT_READY xGET_READY -> all yREADY when all detectors READY xSET_NOT_READY -> all yERROR when at least one detector in ERROR xRECOVER -> all

12 Clara Gaspar, March 2003 12 Partitioning... ECS DCS DAQ DetDcs1 DetDcs N SubSys 1 SubSys 2 Dev 1 Dev 2 Dev 3 DetDaq 1 SubSysN Dev N... To Devices (HW or SW)

13 Clara Gaspar, March 2003 13 Partitioning Modes Parent Child State Command INCLUDED Parent Child State Command EXCLUDED Child Fully Controlled by Parent Parent Child State Command MANUAL Parent Child State Command IGNORED x x Child Not Controlled by Parent Parent does not send CommandsParent Ignores State

14 Clara Gaspar, March 2003 14 Demo - DCS / Partitioning DCS Vertex GA S HVHV Tracke r Muon Tem p HVHV GA S HVHV

15 Clara Gaspar, March 2003 15 Demo - DAQ DAQ Tracke r Muon FE RURU RURU DCS Vertex GA S HVHV Tracke r Muon Tem p HVHV GA S HVHV yDAQ xNOT_READY CONFIGURE xREADY START_RUN xRUNNING STOP_RUN Vertex FE RURU

16 Clara Gaspar, March 2003 16 Run Control zSince any Control Unit (and its sub-tree) yCan run in stand-alone yCan be controlled independently (by an authorized User Interface) zThe Run Control can be seen as: yThe interface to the Root node of the tree è If the tree is partitioned there can be several Run Controls. ECS DAQDCS

17 Clara Gaspar, March 2003 17 Demo - Run Control ECS DCSDAQ Vertex GA S HVHV Tracke r MuonVertex Tracke r Muon Tem p HVHV GA S HVHV FE RURU RURU RURU LHC yECS xWhen LHC in PHYSICS -> GET_READY DCS -> GET_READY DAQ -> START_RUN DAQ

18 Clara Gaspar, March 2003 18 Demo - Sub Detector RC... ECS DCS DAQ DetDcs1 DetDcs N SubSys 1 SubSys 2 Dev 1 Dev 2 Dev 3 DetDaq 1 SubSysN Dev N... Det1 To Devices (HW or SW)

19 Clara Gaspar, March 2003 19 Multiple “RunControl”s ECS DCSDAQ VertexDC S GA S HVHV MuonDC S TrackerDCSTrackerDAQMuonDAQVrtexDAQ Tem p HVHV GA S HVHV FE RURU RURU RURU LHC Tracker x x TrackerDCSTrackerDAQ x x

20 Clara Gaspar, March 2003 20 Demo - Safety ECS DCSDAQ Vertex GA S HVHV Tracke r MuonVertex Tracke r Muon Tem p HVHV GA S HVHV FE RURU RURU RURU LHC ySafety xWhen GAS in ERROR -> SWITCH_OFF HVs Safety

21 Clara Gaspar, March 2003 21 HV Device

22 Clara Gaspar, March 2003 22 Partitioning Sub-Systems

23 Clara Gaspar, March 2003 23 Run Control

24 Clara Gaspar, March 2003 24 Sub-detector Control


Download ppt "Clara Gaspar, March 2003 Hierarchical Control Demo: Partitioning, Automation and Error Recovery in the (Detector) Control System of LHC Experiments."

Similar presentations


Ads by Google