BESIII 慢控制系统高压和 VME 监控 系统的设计和实现 陈锡辉 BESIII 慢控制组 2006-4-27
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Features Implementation of a demo Tasks on the road
Network Architecture Gas IHEP LAN DB DB EV Gas MDC HV TOF MUC HV FEE BP SC HUB HV HUB Big Screen Gas SIL MDC HV MUC TOF HV On-line Switch Upper Station
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
Requirement analysis MDC 60 channels TOF 450 channels MC 144 channels Each channel with 7 parameters: PwStatus, Vwork, Vpre, Imon, Trip, Rup, RDwn 59 temperature points Totally 4637 datapoints need to read or control
Hardware Connection MDC HV CAEN SY1527 MC HV CAEN SY1527 TOF HV CAEN SY1527 TOF HV CAEN SY1527 TOF HV CAEN SY1527 5 个插件 1821P 200μA 2 个插件 A1821 20μA 6 个插件 A1732 P +6KV 6 个插件 A1732 N -6KV 40 个插件 A1733 3mA MDC Detector MC Detector TOF Detector
Usecase Diagram--function view
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
State machine
DataFlow Diagram
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
Main Display Panel MDC HV Data display Alarm window Control panel Access to other window
Realtime chart and History Graph With realtime chart, it is easy for you to see the trend of the data or the difference between channels. With history graph, you can browse all the data stored in the disk in graph or save the data into Excel in format easy to analyze.
Realtime chart
History graph
Expert window With expert window which designed for detector experts, you can set several parameters in detail.
System config Parameters inject Detector experts can save several config files for different mode, so different config parameters can be easily injected. System parameter This is mainly for Slow control administrator to manage the system.
System Config
Running log With Running log, alarms and events happened in any time can be easily retrieved.
Security Strategy User Account manage Several features (especially for control or config) are only accessed for granted users. And any actions associated with the logged user will be record.
An example of user doesn t not login
Other features Daily Report A html report with graph and data will be generated every day which is useful for system analysis. SMS Alarm When alarm happened, a SMS message will be sent to related staff automatically. Remote monitor in IHEP LAN by browser All realtime and history data is stored in a web database, so any granted user in LAN will be able to access the data in browser.
Current status of HV System Already finished the first version: SCHV1.0.2.2 and applied in TOF HV board test. Features already implemented: Data display and HV control Trip and error alarm System config History graph and Realtime chart Expert window Database backup Running log Security manage Features need to be implementd in next version: Daily report SMS Alarm Integrate to SI system Detailed help file webpage
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
Implementation The system is constructed mainly in Labview+DSC module, with mysql as database. Xcontrol is widely used, it makes the GUI more modularity. All the display function of a HV Board is capsulated in Xcontrol. We only need to configure the index and name for the board, and call the read method, data for the board will be displayed. Apache+php+mysql will be used for webpage design
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
Network Architecture Gas IHEP LAN DB DB EV Gas MDC HV TOF MUC HV FEE BP SC HUB HV HUB Big Screen Gas SIL MDC HV MUC TOF HV On-line Switch Upper Station
Hardware connection
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
Statistic of the VMECrates system 9U Crate 6U Crate Backup Total MDC 16 1 17 EMC 16 9U crate: 2 18 TOF 2 2 MUC 2 2 TRG 5 1 6U Crate: 1 7 Total 41 2 3 46 Total in use 43
Parameters need to monitor 9U crate: On/Off Voltage and Current: +3.3V +5V +12V -12V - 5.2V 8 channels of temperature Fanspeed 6U Crate On/Off Voltage and Current: +3.3V +5V +12V -12V 4 channels of temperature Fanspeed
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
System Structure and Dataflow Diagram
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
A demo of display
Parameter Config
Outline Design and implementation of HV system Features Implementation Brief introduction to VME system Implementation of a demo Tasks on the road
Tasks on the road HV system nearly finished, aging test is on the going. VME System Under building T&H System update SI System Webpage