1 h c a l s.sergueev, nec2001, varna, 12-18 september 2001 cms hcal slow control system for the cms...

20
1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL CMS HCAL

Upload: augusta-gaines

Post on 19-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

1

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

CMS HCALCMS HCALCMS HCALCMS HCAL

Slow Control System for the CMS Hadron

calorimeter

S.Sergueev,

FNAL/JINR

CMS HCALCMS HCALCMS HCALCMS HCAL

Page 2: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

2

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

CMS HCAL overviewCMS HCAL overviewCMS HCAL overviewCMS HCAL overview

Page 3: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

3

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

CMS HCAL overviewCMS HCAL overviewCMS HCAL overviewCMS HCAL overview

Page 4: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

4

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

HCAL Monitoring HCAL Monitoring HCAL Monitoring HCAL Monitoring

•HV power supply monitoringHV power supply monitoring•LV power supplies monitoringLV power supplies monitoring•LV on-board monitoringLV on-board monitoring•Source calibrationSource calibration•LED calibrationLED calibration•Laser calibrationLaser calibration

HV

HV

LaserLV1

Source motor drivers

Page 5: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

5

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

HCAL treeHCAL treeHCAL treeHCAL tree

At the present moment this tree contains about 45 000 items and manual editing or navigation in this tree is almost impossible

Tree browser Vtree.exe and the HCAL tree could be downloaded from

http://sergueev.home.cern.ch/sergueev/hcal/tree/index.htm

Page 6: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

6

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Tree browserTree browserTree browserTree browser

Page 7: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

7

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

PVSS II

Custom SW

API,

driver

Custom SW

Simulator

Debugging SW

Full responsibility of the developer

Ser

ver

System related

SW

Partial responsibility

of CSW developer

Responsibility of IT/CO,

CERN

Custom HW

Cli

ent

Cli

ent

Ser

ver

Custom HW

Simulator

Software structureSoftware structure

Recommended software architecture

Page 8: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

8

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Data exchange format

HV system structure (I)HV system structure (I)HV system structure (I)HV system structure (I)

HV power supply crate

Bias voltage boardHV board

Micro-controller

RS485,Input line + Output line

Command Length Cks

Response Length Cks

Data

Data

To crateFrom crate

FPGAs

Page 9: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

9

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

HV system structure (II)HV system structure (II)HV system structure (II)HV system structure (II)

Ser

ial

lin

k

Custom Software

DIM

ser

ver PVSS II

DIM

cli

ent

DIM nameserver

Framework

To central DCSData publishing

Host PC

18 W

edg

es

6 systems,18 crates,

1080 channels

RS485

Page 10: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

10

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

HV system structure (III)HV system structure (III)HV system structure (III)HV system structure (III)

HV power supply software

Po

llin

gC

on

fig.

setup setup

Ali

ase

s

setup

Co

mm

un

icat

ion

Custom software

DIM

cl

ien

t

SC

L

scri

pt

configuration file (.scl)

Co

nfi

g.

SCL

setup

Pro

ces-

sin

g

Standard panels

HCAL panels

Framework

SCADA

RS485

ready

almost ready or transparent

template exists

absent

DIM server

DPTs

Page 11: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

11

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

HV Custom softwareHV Custom softwareHV Custom softwareHV Custom software

Page 12: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

12

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Framework for HV ControlFramework for HV ControlFramework for HV ControlFramework for HV Control

To control HV system the Framework will be used

Page 13: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

13

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Low Voltage control system(I)Low Voltage control system(I)

mains

On/off

I,U

MU

On/off I,U

DC/DC300V 4.5V

Regulators

RBX MU chipset

MU

OPCSCADA

Hosts, PC, NT

Ethernet

t° t°

6.5V

RS485

t°I,U

On/off

Counting roomEndcap disk, Barrel wheel

On-board (on-chamber)electronics

3V5V

Counting room

Page 14: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

14

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Intermediate voltage source

DC-DC convertors

300 V

Low voltage line

Host PC

Cables (RS485)

Readout boxes

Low Voltage control system(II)Low Voltage control system(II)

Page 15: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

15

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Configuration of RS485Configuration of RS485Configuration of RS485Configuration of RS485

 Full-duplex RS-485 Single-Master Four Wire Mulpoint (Multidrop) Configuration

PC

Se

rial

Po

rt

Te

rmin

ato

r

Co

mm

an

d

Re

sp

on

se

En

ab

le

Co

mm

an

d

Re

sp

on

se

En

ab

le

Terminator

Repeaters (if needed)

Monitoring units

TxD

RxD

Command line

Response line

Page 16: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

16

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Low Voltage control system(III)Low Voltage control system(III)

Possible communication line architectures

Ho

st P

C

Ho

st P

C

200

m

Page 17: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

17

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

MU and RepeaterMU and RepeaterMU and RepeaterMU and Repeater

I2C core

Channel Address register

ADC Multiplexer

FPGA

Internal RBX serial bus

Analog. inputs

No

de

ad

dre

ss

se

lec

tor

Voltage regulator

Command Response Line clock Line Power

optocouplers

Serial link cope

Addr1

Control

Input registers

Output registers

Dig

ita

l o

ut

Dri

ve

rs

Local Power supply

Dig

ita

l in

MU board

Addr2

120

+5V

120

+5V

120

Digital retriggerable monostable multivibrator

Clock

Enable Trigger

Voltage regulator +5V

Terminator

Command line

Response line

Clock line

Power line

Direct control of Enable from a PC or

extra MU

Individual lines

Central line

Monitoring Unit Repeater (Router)

Page 18: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

18

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Radioactive source calibrationRadioactive source calibrationRadioactive source calibrationRadioactive source calibration

DAQ(VME)

Motordriver

RS485Air

Sourcehost

Optic fiber

FE

DAQ PCCalibration

DB

Cu

sto

m

SW

TTL

Source

Cal

ibra

tio

nS

W

DIM?

LVDS?

CentralDCS

DIM orSCADA

Windows

Linux

Page 19: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

19

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

Laser calibrationLaser calibrationLaser calibrationLaser calibration

DAQ (VME)

Optic fibers

FE

DAQ PCCalibration

DB

Cal

ibra

tio

nS

W

CentralDCS

DIM orSCADA

Linux

SCADA

LHC clock

UV laser

TTC_Vi VME module

To HCAL wedges

Page 20: 1 H C A L S.Sergueev, NEC2001, Varna, 12-18 September 2001 CMS HCAL Slow Control System for the CMS Hadron calorimeter S.Sergueev, FNAL/JINR CMS HCAL

20

H

C

A

L

S.Sergueev, NEC2001, Varna, 12-18 September 2001

LED calibrationLED calibrationLED calibrationLED calibration

DAQ(VME)

RS485

RBXshost

Optic fiber

FE

DAQ PCCalibration

DB

Cu

sto

m

SW

C

alib

rati

on

SW

DIM?

CentralDCS

DIM orSCADA

Windows

Linux

HPD

LED driver

HCAL RBX

MU

TT

C_R

x

LHC clock