250 likes | 266 Views
This system provides comprehensive control and monitoring abilities for the Muon PDT detector. It includes features such as monitoring, downloading, high voltage control, and archiving functions. The system components, operator interface, and configuration managers ensure efficient operation and management of the detector.
E N D
DØ Controls Support for Muon PDT DØ Controls Group
Outline • Monitoring • Downloading • High Voltage • Archiving
Download Overview Detector 1553Bus VMEBus Controls/Readout Crates EPICS CA SERVER CA Link UNIX Server CALIB DATABASE COMICS ITC Disk CONFIGDATABASE COOR ITC TAKER
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
CMEBP CMESP CMETP MUO SMT CAL CFT FE Download Tree Structure Tree Node DØ Sector Level Action Node RO Crate PDT1 PDT2
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
Pickle File Calib DB COMICS Extract Detector ORACLE Database Extraction Name + RunType
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
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
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
Locked Paused Holding Ramp Average Tripped On Offline Disabled Off HV Record - State Diagram
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
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
Detector Display Crate Button
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
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
Detector Display • Channel state colors • Black - OFFLINE, DISABLED • Blue - OFF • Green - HOLDING, LOCKED • Red - TRIPPED • Orange - ON • Yellow - AVERAGE, RAMP, PAUSED
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
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
Idea of ChannelArchiver (cont) ArchiveEngine LibIO (C++) Archive directory file Data files CA