21
SPD DCS Status SPD DCS Status Report Report Ivan Amos Cal Ivan Amos Cal ì ì a,b a,b , S.Ceresa , S.Ceresa a,c a,c , , C.Torcato de Matos C.Torcato de Matos a a CERN-AIT CERN-AIT b Università degli studi di Bari Università degli studi di Bari c ASP ASP On behalf of the ALICE SPD collaboration On behalf of the ALICE SPD collaboration 18 18 th th ALICE DCS Workshop ALICE DCS Workshop

SPD DCS Status Report Ivan Amos Calì a,b, S.Ceresa a,c, C.Torcato de Matos a a CERN-AIT a CERN-AIT b Università degli studi di Bari b Università degli

Embed Size (px)

Citation preview

SPD DCS Status ReportSPD DCS Status Report

Ivan Amos CalIvan Amos Calììa,ba,b, S.Ceresa, S.Ceresaa,ca,c, , C.Torcato de MatosC.Torcato de Matosaa

aaCERN-AITCERN-AIT bbUniversità degli studi di BariUniversità degli studi di Bari ccASP ASP

On behalf of the ALICE SPD On behalf of the ALICE SPD collaborationcollaboration

1818thth ALICE DCS Workshop ALICE DCS Workshop

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

22

OutlookOutlook SPD DCS block diagramSPD DCS block diagram

FSM hierarchy and new developmentsFSM hierarchy and new developments

PS, FED and Cooling system control status reportPS, FED and Cooling system control status report

InterlocksInterlocks

SummarySummary

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

33

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

44

SPD FSM Hierarchy SPD FSM Hierarchy

The 1st level of safety is provided by PVSS background scripts

•31 Control Units

•245 Logical Units

•625 Device Units DU

CU

LU

SPD DCS

FED (HSn)

Cooling (Sect n)

HSnPower

Services

FED

FED

Power

HV LV

Cooling

Cooling

Interlock

Interlock

LV (HSn) 0-1

HV (HSn)

HSnPowerSeq

Sect0-9

HSect0-1

HS0-5Conf. DB (HSect n)

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

55

FSM Top node StatesFSM Top node States

The state means MCM_ONLY for the SPD

GO_STANDBY

CALIBRATE (calib_mode) GO_BEAM_TUNGO_READY

MOVING_BEAM_TUN

MOVING_STBY_CONF

MOVING_READY

MOVING_BEAM_TUN

CONFIGURE (run_mode, vers)CALIBRATE (calib_mode)GO_STBY_CONFGO_READY

GO_STBY_CONFGO_BEAM_TUNCALIBRATE (calib_mode)CONFIGURE (run_mode, vers)LOCK

OFF

DOWNLOADING

GO_OFFCONFIGURE (run_mode, vers.)GO_STANDBY

CALIBRATING

READYREADY (version)

CONFIGURING

READY_LOCKEDREADY_LOCKED

UNLOCK

STBY_CONFIGUREDSTBY_CONFIGURED

STANDBYSTANDBY

BEAM_TUNINGBEAM_TUNING

CONFIGURING

STOP

CONFIGURE (run_mode, vers)

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

66

FERO Status FERO Status FED Server version 2.2.12 operative in DSFFED Server version 2.2.12 operative in DSF

• Automatic detector & off-detector electronics configurationAutomatic detector & off-detector electronics configuration• Automatic calibration proceduresAutomatic calibration procedures• Temperature and voltages MonitoringTemperature and voltages Monitoring• FED Status monitoringFED Status monitoring

FED PVSS manual control panels implementedFED PVSS manual control panels implemented

FED DU prototype developed and testedFED DU prototype developed and tested

PVSS – FED macroinstruction translator operativePVSS – FED macroinstruction translator operative

Configuration Db client integratedConfiguration Db client integrated

Full chain is operative in the DSFFull chain is operative in the DSF

Missing interconnection between DAQ FXS and the Configuration Missing interconnection between DAQ FXS and the Configuration DbDb

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

77

Cooling System Cooling System

SPD cooling plant installed at DSF with 10 SPD cooling plant installed at DSF with 10 cooling linescooling lines

PVSS control of the system using PVSS control of the system using ffwCoolingAndVentilation 0.14wCoolingAndVentilation 0.14 panel panel

Cooling system DU Prototype operativeCooling system DU Prototype operative

Integration in the ALICE cooling system control Integration in the ALICE cooling system control must be donemust be done

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

88

HV/LV PS HardwareHV/LV PS Hardware 1 x SY1527 mainframe: final1 x SY1527 mainframe: final

2 x A1676 branch controller: 1 final2 x A1676 branch controller: 1 final

4 x EASY3000 crates: final4 x EASY3000 crates: final

2 x A3000NF filters: july 072 x A3000NF filters: july 07

4 x A3486 AC/DC converter: 2 final 4 x A3486 AC/DC converter: 2 final

10 x A1519B HV modules: 4 final – 6 rented by elect. Pool10 x A1519B HV modules: 4 final – 6 rented by elect. Pool

20 x A3009 LV modules: 2 final – delivery of 4 this week 20 x A3009 LV modules: 2 final – delivery of 4 this week (full system by August 07) (full system by August 07)

At the DSF now we can supply 2 SPD sectors. At the DSF now we can supply 2 SPD sectors.

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

99

HV/LV PS SoftwareHV/LV PS Software Db recipes access functions embedded in the DUsDb recipes access functions embedded in the DUs

SPD LV/HV channels recipies editor implementedSPD LV/HV channels recipies editor implemented

SPD channels (HS) Power up – Power down sequence SPD channels (HS) Power up – Power down sequence implemented at FSM and monitoring scripts levelimplemented at FSM and monitoring scripts level

HV-LV Software interlock scripts HV-LV Software interlock scripts

Voltages and currents PVSS archivingVoltages and currents PVSS archiving

FSM actions timeout implemented in the HV/LV DUsFSM actions timeout implemented in the HV/LV DUs

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1010

HV/LV Recipe Editing PanelsHV/LV Recipe Editing Panels

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1111

HV/LV Recipe Editing PanelsHV/LV Recipe Editing Panels

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1212

Interlocks Interlocks

Software interlocks

•Sensors leakage currents trends

•Temperature trends (Routers & Interlock PLC)

• The PLC modules are compatible with the ALICE DSS (possible integration)

• Interlock system under test in DSFT interlock Routers

(HSectors, Pt1000)

Cooling line T sensors

(Sectors, Pt1000)

Cooling plant

(General Alarm)

T interlock PLC(HSector, Pt1000)

1

20

10 20LV/ HV Modules

(HSectorgranularity)

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1313

Future activitiesFuture activities SPD TRIGGERSPD TRIGGER

New system. Crate/power supply based on standard New system. Crate/power supply based on standard solutions to be defined.solutions to be defined.

FSM logic to be defined (treat SPD trigger as part of FSM logic to be defined (treat SPD trigger as part of the SPD or as separate detector).the SPD or as separate detector).

Communication DAQ FXS – Conf. DbCommunication DAQ FXS – Conf. Db

Test of DCS EFSTest of DCS EFS

Finalize FSMFinalize FSM

VME crates control VME crates control

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1414

SPD DCS SummarySPD DCS Summary PS control system (FSM, safety scripts and HSs power-up PS control system (FSM, safety scripts and HSs power-up

and power-down sequences) is operativeand power-down sequences) is operative

Prototype of FED DU releasedPrototype of FED DU released

Configuration DB integration of FED and PS system have Configuration DB integration of FED and PS system have been performed been performed

The Integration of FED, PS and cooling FSMs in the The Integration of FED, PS and cooling FSMs in the general SPD FSM is ongoing. general SPD FSM is ongoing.

Temperature interlock & monitor system implemented Temperature interlock & monitor system implemented

A prototype of the full system is operative at CERN in the A prototype of the full system is operative at CERN in the Divisional Silicon Facility (DSF)Divisional Silicon Facility (DSF)

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1515

BACKUPBACKUP

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1616

DSF “Control Room”

2 FED Servers

PS control

Cooling Control

Analysis tool & Interlock, T monitor system

FED control

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1717

ALICE DAQ

SPD Calibration Scenario 2SPD Calibration Scenario 2

Contr

ol

Data

Optical

VME

Ethernet (DIM)

PVSS FED control

Com

m.&

Sta

tus

Config. DB

FED Servers(x2)

FED Servers(x2)

FED Servers(x2)

FED Servers(x2)

FED Servers(x2)

Condition DB

DAQExchange FS

•Extra data header produced inside the routers to delivery information to the analysis scripts

•DCS emulate Alice trigger system

RO ElectronicsMonitoring Programs

(MOOD & Calib. Data Displ)

Local Data Collector (LDC) Analysis Scripts0

DCS network

To Permanent Data Storage (PDS)

DAQ network

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1818

RO Electronics

Data

&C

tlOptical

VME

Ethernet (DIM)

PVSS Archives

PVSS FED control

Com

m.&

Sta

tus

Data

Config. DB

FED Servers(x2)

FED Servers(x2)

FED Servers(x2)

FED Servers(x2)

FED Servers(x2)

OnlineAnalysis Tool(ROOT based)

Condition DB

DCS

Exchange FS

DCS network

To Permanent Data Storage (PDS)

General purpose network

SPD Calibration Scenario 1SPD Calibration Scenario 1•DCS Standalone emulate Alice Trigger and DAQ system

•Run number provided by Experiment Control System (ECS) for synchronization

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

1919

PS Configuration Db PS Configuration Db

Cash Recipe(versioning agent)

Cash Recipe

Configuration Db

SPD PVSS panel(protection script)

DU LV1 DU HVDU LV2PS System

Expert Only

JCOP framework JCOP framework recipes mechanism recipes mechanism embedded in SPD embedded in SPD panelspanels

Half-sector modularity Half-sector modularity of configurationof configuration

Configuration tagged Configuration tagged with state/actionwith state/action

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

2020

FED Configuration DB I FED Configuration DB I Version 1, Sector 0, Side A, HS 0 MCM Version 1

MBR Version 1

DAC Version 1

Version 2, Sector 0, Side A, HS 0 DAC Version 2

Oracle Db operative in devdb6Oracle Db operative in devdb6 Keeps The Historic of All Configurations without Data Keeps The Historic of All Configurations without Data

ReplicationReplication Data-Base Constraints to Enforce Data IntegrityData-Base Constraints to Enforce Data Integrity Small number of Tables - Easy To Maintain and To Small number of Tables - Easy To Maintain and To

perform Queries Through the Dataperform Queries Through the Data Stored SPD sectors 0,1 and 2 configurationsStored SPD sectors 0,1 and 2 configurations

05/03/200705/03/2007 Ivan Amos Calì - 18th ALICE DCS WorkshoIvan Amos Calì - 18th ALICE DCS Workshopp

2121

SPD FSM Top NodeSPD FSM Top Node

OFFSTANDBY{mode}

READY PHYSICStartup{mode}

standby_physic

go_physic

shutdown

set_mode {mode}

CALIBRATION{cal_mode}

Standby_calibration

go_calibration{cal_mode, run_n}

cal_mode:cal_mode: Minimum TH ScanMinimum TH Scan

• (DCS_ONLY_MIN_TH_SCAN)(DCS_ONLY_MIN_TH_SCAN)• (DAQ_MIN_TH_SCAN)(DAQ_MIN_TH_SCAN)

Mean TH Scan Mean TH Scan • (DCS_ONLY_MEAN_TH_SCAN)(DCS_ONLY_MEAN_TH_SCAN)• (DAQ_MEAN_TH_SCAN)(DAQ_MEAN_TH_SCAN)

Uniformity Matrix ScanUniformity Matrix Scan • (DCS_ONLY_UNIFORMITY_SCAN)(DCS_ONLY_UNIFORMITY_SCAN)• (DAQ_UNIFORMITY_SCAN)(DAQ_UNIFORMITY_SCAN)

Noisy pixelsNoisy pixels• (DCS_ONLY_NOISY_PIX_SCAN)(DCS_ONLY_NOISY_PIX_SCAN)• (DAQ_NOISY_PIX_SCAN)(DAQ_NOISY_PIX_SCAN)

mode:mode:• PHYSICSPHYSICS• CALIBRATIONCALIBRATION• MCM_ONLYMCM_ONLY• BEAM_TUNING BEAM_TUNING

run_nrun_n is the run number provided by the ECS is the run number provided by the ECS in case of DCS_ONLY calibration runsin case of DCS_ONLY calibration runs