D D DØ Controls Support for Muon PDT DØ Controls Group
Feb 03, 2016
DD
DØ Controls Support for Muon PDT
DØ Controls Group
DD
Outline
Monitoring Downloading High Voltage Archiving
DD
PDT Monitor Display
DD
PDT Monitor Display
DD
DetectorDetector
1553 BusVME Bus
Download Overview
CA Link UNIX Server
EPICS CASERVER
EPICS CASERVER
Disk
COORCOOR
TAKERTAKER
ITC
ITC
COMICSCOMICS
Controls/Readout Crates
CALIBDATABASE
CONFIGDATABASE
DD
Download System Components
TAKER Operator interface for COOR
COOR Run state manager
COMICS Detector configuration
manager
EPICS Distributed control system
Detector If you don’t know what this is,
you have serious problem
DD
Download Tree Structure
Sector Level
DØ
CFTSMTCAL MUO
PDT1 PDT2
CMEBP CMETPCMESP
RO Crate FE
Tree Node
Action Node
DD
COOR Message
Proposed convention: a required name/value pair designates the run type Name - RUNTYPE Values: DATA, CALIB, PEDS,
GAINS, ••• ? Used to select a set of
download values for each device
DD
ORACLE Database Extraction
Calib DB
Pickle File
COMICS
Extract
Detector
Name+
RunType
DD
COMICS
Manages the configuration of the detector
Coded in the Python language
Receives sector load requests from COOR A sector is the smallest
detector component managed by COOR
Sectors may be shared by different runs if the sector configurations match
DD
COMICS
COMICS may be activated independently for configuring detector components
Download map is a directed graph (tree) Tree node (intermediate) Action node (leaf)
COOR run parameters Encapsulated in a
ComicsRunParams object Passed to all nodes
DD
HV Record
Purpose Control and monitor an
individual HV channel Add high-level operations to a
basic voltage generator
Implemented as a sequential state machine with states, transitions, actions, and events
Ramping to a target voltage is a software function
DD
HV Record - State Diagram
Off
On
Offline Disabled
AverageRamp
Holding
Tripped
Paused
Locked
DD
HV Record - Planned Extensions
Alternative initialization mode Required by calorimeter Voltage settings unaltered Initial state is locked
Slow history buffer ~ 0.05 Hz Filtered
Fast history buffer ~ 40-50 Hz Voltage, current, and state Buffer update frozen after a
trip
DD
HV Utility Display
DD
Utility Display
Purpose Monitor HV crate parameters
Backplane voltages Temperature
Properties Organized by page Read-only access
Implementation Python script Program name - HvuGui.py Configuration scripts - xxx.hvu
DD
Detector Display
Crate Button
DD
Detector Display
Purpose Monitor state of channels in
multiple crates Execute multiple-crate actions Initiate crate display
Properties Organized by crate Multi-crate action buttons
Implementation Python script Program name - hv_det.py Configuration script - xxx.hvd
DD
Detector Display
Crate button Start crate display
Action buttons SET HV - set to a target voltage RESET - reset tripped channels ON - set channels to ON state RAMP - ramp channels to
target voltage PAUSE - pause ramp RESUME - resume ramp OFF - set channels to OFF
state
DD
Detector Display
Channel state colors Black - OFFLINE, DISABLED Blue - OFF Green - HOLDING, LOCKED Red - TRIPPED Orange - ON Yellow - AVERAGE, RAMP,
PAUSED
DD
Crate Display
DD
Crate Display
Purpose Monitor individual channels
State Voltage and current readback Target voltage Voltage and current trip levels
Execute all-channel and individual channel actions
Set all-channel and individual channel target voltages
Usually organized by crate
DD
Crate Display
Properties Organized by channel Multi-channel action buttons Channel action menu button
Implementation Python script Program name - hv_crate.py Configuration script - xxx.hvc
Action buttons Same as Detector display
Channel state colors Same as Detector display
DD
Idea of ChannelArchiver (cont)
Archive directory file
Data files
ArchiveEngineLibIO (C++)
CA
DD
WinBrowser on NT