designing control system for front end electronics of emcal detectors

14
Design of Control System Design of Control System for ALICE for ALICE EMCal EMCal readout readout electronics electronics electronics electronics --- Subhashis Hazarika

Upload: hsubhashis

Post on 28-Jan-2015

114 views

Category:

Education


0 download

DESCRIPTION

Designing Control System for Front End Electronics of EMCal Detectors for ALICE at CERN by Subhashis Hazarika

TRANSCRIPT

Page 1: Designing Control System for Front End Electronics of EMCal Detectors

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

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

Overview:Overview:

Page 4: Designing Control System for Front End Electronics of EMCal Detectors

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

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

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
Page 8: Designing Control System for Front End Electronics of EMCal Detectors

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

� 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
Page 11: Designing Control System for Front End Electronics of EMCal Detectors

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

RCU panel:RCU panel:

Page 13: Designing Control System for Front End Electronics of EMCal Detectors

TRU panel:TRU panel:

Page 14: Designing Control System for Front End Electronics of EMCal Detectors

Thank YouThank You