designing control system for front end electronics of emcal detectors
DESCRIPTION
Designing Control System for Front End Electronics of EMCal Detectors for ALICE at CERN by Subhashis HazarikaTRANSCRIPT
![Page 1: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/1.jpg)
Design of Control System Design of Control System for ALICE for ALICE EMCalEMCal readout readout
electronicselectronicselectronicselectronics
--- Subhashis Hazarika
![Page 2: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/2.jpg)
Project Aim:Project Aim:
1. To program an intermediate server in between ALICE EMCal readout and trigger hardware and SCADA control software used by the DCS (Detector Control System).
2. Developing high-level control software in the SCADA environment (PVSS).
![Page 3: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/3.jpg)
Overview:Overview:
![Page 4: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/4.jpg)
Intermediate Server:Intermediate Server:
� It has been programmed in C language based on the standard DIM library.
� Various DIM functionalities like DIS_ADD_SERVICE, DIS_UPDATE_SERVICE etc. have been used.
The server program continuously readout the current registry values � The server program continuously readout the current registry values and also keeps checking if there is any new commands in queue to be executed.
� For most of the TRU controllers registry values are read twice in a row as a double proof measure. If the values are different in each read, updates are not published by the server.
� Command of the form “ONOFF 0x11” will set the 0th and 4th bits of the RCU’s onoff register.
![Page 5: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/5.jpg)
PVSS
DIM Library
C code for server
Rcu-sh scripts
There is double readout for most of the TRU controllers
Hardware
There is double readout for most of the TRU controllers
![Page 6: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/6.jpg)
compare()
Readback struct cmnd struct
DIM service DIM command
read
Contains the
registry values read from the hardware
Contains the
registry values to be set.
Send via command
Does value of the structure element match ?NO: cmnd executed
YES: cmnd not executed
read
from h/w write to h/w
Hardware
![Page 7: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/7.jpg)
![Page 8: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/8.jpg)
HighHigh--level software in PVSS:level software in PVSS:� The aim is to create core objects in SCADA, link those to DIM commands and services provided by the low-level intermediate server
� And to build intuitive user interface above those objects.
� The JCOP (Joint Controls Project) Framework has been used to hook up the PVSS with the intermediate DIM server to transport commands and services from it.
� The PVSS system acts as the DIM client by subscribing to the services and commands published by the intermediate low-level server
![Page 9: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/9.jpg)
� PVSS Data-Points where created to store the actual data and used to develop various front-end features.
� The data-points are created maintaining a hierarchical relation among the different hardware elements.
Super-Module
RCUs
TRUs FEEs
![Page 10: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/10.jpg)
![Page 11: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/11.jpg)
PVSS panel development:PVSS panel development:� PVSS panel development involves building friendly graphical user interfaces to display the status of the different hardware of the Super Module and also to monitor them with ease.
� Two panels have been made, one to display information of � Two panels have been made, one to display information of the RCU and the other one for TRU
![Page 12: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/12.jpg)
RCU panel:RCU panel:
![Page 13: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/13.jpg)
TRU panel:TRU panel:
![Page 14: Designing Control System for Front End Electronics of EMCal Detectors](https://reader033.vdocuments.site/reader033/viewer/2022051515/54c880624a795916118b4577/html5/thumbnails/14.jpg)
Thank YouThank You