20
F.Carena, F.Carena, CERN/ALICE CERN/ALICE The Experiment The Experiment Control System for Control System for ITS Beam Test ITS Beam Test

The Experiment Control System for ITS Beam Test

Embed Size (px)

DESCRIPTION

The Experiment Control System for ITS Beam Test. General Architecture (1). ECS. DCS. TRG. DAQ. HLT. The ECS is a layer of software on top of the ‘online systems’ controlling DCS, TRG, DAQ, and HLT - PowerPoint PPT Presentation

Citation preview

F.Carena, CERN/ALICEF.Carena, CERN/ALICE

The Experiment The Experiment Control System for ITS Control System for ITS

Beam TestBeam Test

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 207 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

General Architecture (1) General Architecture (1) The ECS is a layer of software on top of the ‘online The ECS is a layer of software on top of the ‘online

systems’ controlling DCS, TRG, DAQ, and HLTsystems’ controlling DCS, TRG, DAQ, and HLT The integration of the four ‘online systems’ with the ECS is The integration of the four ‘online systems’ with the ECS is

based on interfaces made of SMI objectsbased on interfaces made of SMI objects

HLTDAQTRGDCS

ECS

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 307 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

General Architecture (2)General Architecture (2) The ECS The ECS

Gets information from the ‘online systems’Gets information from the ‘online systems’Sends coordinated commands to the ‘online systems’Sends coordinated commands to the ‘online systems’

The ‘online systems’ The ‘online systems’ Execute the received commandsExecute the received commandsCan also be operated in ‘manual mode’ by experts Can also be operated in ‘manual mode’ by experts

The current interface definitions are the following:The current interface definitions are the following:DCSDCS: one object per detector representing the detector from the : one object per detector representing the detector from the

hardware point of viewhardware point of viewDAQDAQ: objects representing RunControl processes: objects representing RunControl processesTRGTRG: one object per detector representing the Local Trigger Unit : one object per detector representing the Local Trigger Unit

(LTU) and one object for every partition (Trigger Partition Agent)(LTU) and one object for every partition (Trigger Partition Agent)HLTHLT: a single object representing the HLT as a whole: a single object representing the HLT as a whole

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 407 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

For the ITS Beam TestFor the ITS Beam Test ECS/DCS interface OKECS/DCS interface OK ECS/DAQ interface OKECS/DAQ interface OK ECS/Trigger ECS/Trigger special interfacespecial interface

cabling order defined in a filecabling order defined in a fileA special LTU process (provided by Trigger people) A special LTU process (provided by Trigger people)

accepts special commandsaccepts special commandsGOTOGLOBAL(ROLE,BUSY2_OPT)GOTOGLOBAL(ROLE,BUSY2_OPT)

A special TPA (A special TPA (provided by ECS peopleprovided by ECS people) handles the ) handles the correlations between the three LTUs correlations between the three LTUs (master/slave1/slave2; BUSY2 enabled/disabled)(master/slave1/slave2; BUSY2 enabled/disabled)

NoNo HLT HLT

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 507 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

ECS componentsECS components The major software components of the ECS are:The major software components of the ECS are:

The Partition Control Agent (PCA)The Partition Control Agent (PCA)The Detector Control Agent (DCA)The Detector Control Agent (DCA)The PCA Human Interface (PCAHI)The PCA Human Interface (PCAHI)The DCA Human Interface (DCAHI)The DCA Human Interface (DCAHI)

For the ITS Beam Test the following components have For the ITS Beam Test the following components have been modified:been modified: The PCAThe PCAThe PCAHIThe PCAHI

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 607 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA and PCAHIPCA and PCAHIPCAPCA

There is one PCA for the ITS There is one PCA for the ITS partitionpartition

Controls the running of the ITS Controls the running of the ITS partition as a wholepartition as a whole

Coordinates calibration and Coordinates calibration and configuration procedures (if configuration procedures (if necessary)necessary)

Provides information to Provides information to operators watching the partitionoperators watching the partition

Accepts commands from one Accepts commands from one operator (partition master operator (partition master operator)operator)

PCAHIPCAHI Many PCAHI can be associated Many PCAHI can be associated

to a PCA and provide to a PCA and provide information to operatorsinformation to operators

Only one PCAHI can get the Only one PCAHI can get the mastership over the PCA. The mastership over the PCA. The operator using it (Partition operator using it (Partition master operator) can send master operator) can send commands to the PCAcommands to the PCA

PCAHIPCAHIMaster Master

OperatorOperator

PCAHIPCAHI

PCAPCA

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 707 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

DCA and DCAHIDCA and DCAHIDCADCA

There is one DCA per detectorThere is one DCA per detector Controls the running of a detector in Controls the running of a detector in

standalone modestandalone mode Provides information to operators Provides information to operators

watching the detectorwatching the detector Accepts commands from the PCA Accepts commands from the PCA oror

an operator (detector master operator)an operator (detector master operator)

DCAHIDCAHI Many DCAHI can be associated to a Many DCAHI can be associated to a

DCA and show information to DCA and show information to operatorsoperators

Only one DCAHI can get mastership Only one DCAHI can get mastership over a DCA over a DCA not controlled by the not controlled by the PCAPCA. The operator using it (detector . The operator using it (detector master operator) can send commands master operator) can send commands to the DCAto the DCA

PCAHIPCAHIMaster Master

OperatorOperator

DCADCAPCAPCA

DCAHIDCAHIDCAHIDCAHIMaster Master

OperatorOperator

DCADCA

DCAHIDCAHI

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 807 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

DCA operations DCA operations The smallest entity that can be controlled by an operator is a detector The smallest entity that can be controlled by an operator is a detector

in standalone mode in standalone mode An operator controlling a detector can:An operator controlling a detector can:

Issue all the commands accepted by its DCAIssue all the commands accepted by its DCAThe list of valid command is (in principle) different from one The list of valid command is (in principle) different from one

detector to anotherdetector to another Send manual commands to the ‘online systems’ controlling DCS, Send manual commands to the ‘online systems’ controlling DCS,

DAQ, and TRGDAQ, and TRGThis possibility serves mainly for debugging purposesThis possibility serves mainly for debugging purposes

Reduce or extend control rights using the access control Reduce or extend control rights using the access control mechanism contained in the interfaces with the ‘online systems’mechanism contained in the interfaces with the ‘online systems’The operator uses this possibility to avoid access conflicts The operator uses this possibility to avoid access conflicts

when experts needs to use directly the ‘online systems’when experts needs to use directly the ‘online systems’

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 907 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

DCA operation examples DCA operation examples (1)(1)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1007 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

DCA operation examples DCA operation examples (2)(2)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1107 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

DCA operation examples DCA operation examples (3)(3)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1207 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

DCA operation examples DCA operation examples (4)(4)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1307 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operations PCA operations The largest entity that can be controlled by an operator is The largest entity that can be controlled by an operator is

the ITS partitionthe ITS partition An operator controlling the partition can:An operator controlling the partition can:

Run the partition as a wholeRun the partition as a wholePerform calibrations and tests on individual detectors Perform calibrations and tests on individual detectors

when the partition is not running as a wholewhen the partition is not running as a wholeExclude detectors from the partition or re-include them Exclude detectors from the partition or re-include them

in the partitionin the partitionSend manual commands to the ‘online systems’ for Send manual commands to the ‘online systems’ for

debugging purposesdebugging purposesReduce or extend operator control rights using the Reduce or extend operator control rights using the

access control mechanism contained in the interfaces access control mechanism contained in the interfaces with the ‘online systems’ with the ‘online systems’

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1407 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation examples PCA operation examples (1)(1)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1507 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation exmples PCA operation exmples (2)(2)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1607 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation examples PCA operation examples (3)(3)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1707 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation examples PCA operation examples (4)(4)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1807 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation examples PCA operation examples (5)(5)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 1907 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation examples PCA operation examples (6)(6)

F.Carena, CERN/ALICEF.Carena, CERN/ALICE 2007 September 2004, ITS Beam Test07 September 2004, ITS Beam Test

PCA operation examples PCA operation examples (7)(7)