21
MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03- 07.11.2015 1/21

MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Embed Size (px)

DESCRIPTION

Main tasks of the MPD slowcontrol What is slowcontrol, hardware and software-wise 1. Monitoring of the experimental hardware 2. Control of the SlowControl equipment (LV, HV, gas flow etc.) 3. Archiving SlowControl data 4. Alarm system Not a slowcontrol: -Main data stream (data taking) -Event builder (reconstruction)/event display -Data quality -Run control. 3/21 V.B.Shutov

Citation preview

Page 1: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

MPD Slow Control System

historical background, present status and plans

D.S. Egorov, R.V. Nagdasev, V.B. Shutov

V.B.Shutov03-07.11.2015

1/21

Page 2: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Оutline

1. Main tasks of the MPD slowcontrol. What is slowcontrol, hardware and software-wise.

2. Basic choice: Tango vs EPICS vs commercial SCADA.3. Tango system as a backbone of the MPD slowcontrol:

- client-server architecture- tango database and data databases- code generator- application toolkits (Java, C++ and Python)- commercial bindings (Labview, Matlab …)- central services:

- SC data archiving- SC data snapshots- alarm system- access control- logging …

3. Peculiar properties of all SC systems and MPD SC in particular.4. Present status of the MPD slowcontrol.5. Conclusions.

2/21

V.B.Shutov03-07.11.2015

Page 3: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Main tasks of the MPD slowcontrol

What is slowcontrol, hardware and software-wise

1. Monitoring of the experimental hardware 2. Control of the SlowControl equipment (LV, HV, gas flow etc.)3. Archiving SlowControl data4. Alarm system

Not a slowcontrol:- Main data stream (data taking)- Event builder (reconstruction)/event display- Data quality- Run control

.

3/21

V.B.Shutov03-07.11.2015

Page 4: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Tango vs EPICS vs commercial SCADA

- entry level complexity- existence of wide active collaboration- open source / price- support price…

4/21

V.B.Shutov03-07.11.2015

Page 5: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Tango Controls system as a backbone of the MPD slowcontrol

- distributed client-server architecture

- tango database and data databases - code generator - application Toolkits (Java, C++ and Python) - commercial bindings (Labview, Matlab …) - central services(Archive, snapshots, logging, alarms)

5/21

V.B.Shutov03-07.11.2015

Page 6: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Tango Controls system as a backbone of the MPD slowcontrol

- client-server architecture- tango database and data databases: MySQL

• Historical DataBase - HDB - HdbArchiver, ArchivingManager, HdbExtractor, HdbArchivingWatcher

• Temporary DataBase - TDB - TdbArchiver, ArchivingManager, TdbExtractor, TdbArchivingWatcher

• Snapshots – SNAP

mambo - archiving tasks GUI

- code generator - application Toolkits (Java, C++ and Python) - commercial bindings (Labview, Matlab …) - central services (Archive, snapshots, logging, alarms …

6/21

V.B.Shutov03-07.11.2015

Page 7: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Tango Controls system as a backbone of the MPD slowcontrol

- client-server architecture- tango database and data databases- code generator - POGO

7/21

V.B.Shutov03-07.11.2015

Page 8: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Tango Controls system as a backbone of the MPD slowcontrol

- client-server architecture- tango database and data databases- code generator- application Toolkits (Java, C++ and Python)- commercial bindings (Labview, Matlab …)

- central services (Archive, snapshots, logging, alarms …

8/21

V.B.Shutov03-07.11.2015

Page 9: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Tango Controls system as a backbone of the MPD slowcontrol

- client-server architecture- tango database and data databases- code generator- application Toolkits (Java, C++ and Python)- commercial bindings (Labview, Matlab …)- central services (Archive, snapshots, logging, alarms …

9/21

V.B.Shutov03-07.11.2015

Page 10: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

- slowcontrol typically most heterogeneous subsystem in any experiment-> one of the major goals is to present SC data in common format for further processing

- MPD slowcontrol mainly uses centralized MPD computing resources - virtual machines controlled by Proxmox Virtual Environment

- slowcontrol typically being developed later than major parts of all other subdetectors-> requires easy scalability

- slowcontrol @ BM@N experiment at Nuclotron as a test-bench for MPD SC

Peculiar properties of MPD SlowControl

10/21

V.B.Shutov03-07.11.2015

Page 11: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Layout Scheme of the part of the MPD SlowControl

11/21

V.B.Shutov03-07.11.2015

Page 12: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Slowcontrol @ BM@N

12/21

V.B.Shutov03-07.11.2015

Page 13: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

13/21

V.B.Shutov03-07.11.2015

Page 14: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

14/21

V.B.Shutov03-07.11.2015

Page 15: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Examples of the Slowcontrol Tasks for the MPD.

15/21

V.B.Shutov03-07.11.2015

Page 16: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Examples of the Slowcontrol Tasks for the MPD

ZDC HV control

16/21

V.B.Shutov03-07.11.2015

Page 17: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Temperature monitoring (up to 256 channel per branch)

by Tobiasz Czopowicz.

17/21

V.B.Shutov03-07.11.2015

Page 18: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

WEB Interfaces to the Monitoring Attributes

18/21

V.B.Shutov03-07.11.2015

Page 19: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Fallback solutions to existing programs

19/21

V.B.Shutov03-07.11.2015

Page 20: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Conclusion

- Created base structure of SlowControl for MPD including databases, archiving system, alarms system, etc.- Developed software for some hardware used in MPD subdetectors slowcontrol: - MKS647 – gas flows monitoring and control - ICPCON7017-10 ADC – monitoring of Low Voltage, leakage currents, etc - temperature monitoring - LED calibrators control and monitoring - part of the HV control - etc.- Slowcontrol system was testes during BM@N run at Nuclotron.

Problems:

- manpower (mainly for devices programming) - convincing subdetector groups to pay more attention to their slowcontrol tasks in

frame of the unified MPD slowcontrol.

20/21

V.B.Shutov03-07.11.2015

Page 21: MPD Slow Control System historical background, present status and plans D.S. Egorov, R.V. Nagdasev, V.B. Shutov V.B.Shutov 03-07.11.2015 1/21

Thank you for your attention

21/21

V.B.Shutov03-07.11.2015