ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1...

20
ALICE DCS, Heidel berg 8 Sept. 2003 G. De Cataldo, CERN CH an d INFN Bari;A. Franco INF N Bari 1 Updating on the HV control systems in ALICE •The DELPHI HV, the ALICE TPC HV and the HMPID HV state diagrams: similarities and differences; •The HMPID HV: preliminary scheme of the Alarm and the Error handling; •Comparison among the state diagrams of a generic DELPHI subdetector, the ALICE TPC and the HMPID control systems; •Conclusions

Transcript of ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1...

Page 1: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

1

Updating on the HV control systems in ALICE

•The DELPHI HV, the ALICE TPC HV and the HMPID HV state diagrams: similarities and differences;

•The HMPID HV: preliminary scheme of the Alarm and the Error handling;

•Comparison among the state diagrams of a generic DELPHI subdetector, the ALICE TPC and the HMPID control systems;

•Conclusions

•The DELPHI HV, the ALICE TPC HV and the HMPID HV state diagrams: similarities and differences;

•The HMPID HV: preliminary scheme of the Alarm and the Error handling;

•Comparison among the state diagrams of a generic DELPHI subdetector, the ALICE TPC and the HMPID control systems;

•Conclusions

Page 2: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

2

NOT indicated are trips during ramping

STATE DIAGRAM of a DELPHI HV

sub-system with intermediate HV

values

Upon HOLDcommand

Upon RELEASEcommand

Release

StandbyStartHold

OFF HELD_OFF

RAMPING_UP_LO

Upon external event(channel ramping up)

All channels ≤ StandbyAt least one channel ramping up(below standby)

RAMPING_DOWN_LO

Repair

All channels off

At least onechannel tripped(from standby)

All channels ≤ StandbyAt least one channel rampingDow n (below standby) All channels at Standby

StopStart

STANDBY

RAMPING_DOWNRAMPING_UP ERROR

Upon RELEASEcommand

Upon HOLDcommand

X% of channels on

StandbyStopHold

ON

Release

RUN

At least onechannel tripped

Upon external event(channel tripped)

#trips < max/Δt

#trips ≥ max/Δt

Wait time over

At least one channel rampingdow n (above standby)

Upon external event(channel ramping down)

All channels at StandbyAt least one channel ramping up(above standby)

Repair

ERROR_LO

Repair

ERROR_WAITING

Kindly provided by A. Augustinus

Page 3: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

3

OFF

ON

RAMPING_UPRAMPING_DOWN

“Configured”

CONFIGURING

Crate(s) powered on and running,all channels “OFF”,no values loaded to hardware

Crate(s) powered on,all channels on operational “On” values

Read values from databaseand write them to hardware

Channels ramping between “Off” valueand operational (“On”) value (and v.v.)

Crate(s) powered on,all channels “OFF”,operational values loaded to hardware

State diagram for the HV of one DEPLPHI subdetector with NO intermediate HV values. The Configuring state is also shown.

Kindly provided by A. Augustinus

Page 4: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

4

ALICE TPC Prototype II FSM Software

Expert

TPC

moduleanode

HV

edge

LV

moduleanalogdigital

Cool

sensor

Gas

sensor

DCS

ChChChChChCh

PVSSSMI++

PVSS

fanout within PVSS

Shift

Kindly provided by U. Frankenfeld

Page 5: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

5

HVThe TPC HV state diagram HV

CONFIGURED

HW_READY

INTERMEDIATE

CONFIG

ON

ERROR

GO_INTERMEDIATESWITCH_OFF

CONFIGURE

SWITCH_OFF

OFF

STARTSTOP

NOT_READY

STOP

START_HWSTOP_HW

RECOVER

RAMPING_DOWN

CONFIG

CONFIG

STOP_HW

CONFIGURESET_CONFIGURATION

CONFIGURESET_CONFIGURATION

CONFIGURESET_CONFIGURATION

START_HW

RAMPING_UP

RAMPING_DOWN RAMPING_UP

START

Kindly provided by U. Frankenfeld

At least one channel tripped at voltages above INTERMEDIATE voltage

GO_INTERMEDIATE

Page 6: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

6

The HMPID CS Architecture

HMPIDDCS

HV LV LCS

HVMod 1

HVPS1

CAENSY1527HV PS

PLCS300

LCSMod 1

LCSMain

PLCS300

GASCOOL

CoolingSystem

GasSystem

HMPIDDCS

HVPS1

PLCS300

SMI Control Unit

SMI Device Unit

Hardware Device

Working in progress

Advanced Status

Phis. Par

LVSctr 1

LVPS1

WIENERPL500F8

LV PS

LVPS1

External to the HMPID CS

Page 7: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

7

THE STATE DIAGRAMof the HV for one HMPID

moduleGo_Standby

OFF

CONFIGURE

RepairAcknowledgeReset

All channels off

After the download of recipes all channels at Standby

Go_OFFGo_ONReset

STANDBY

RAMPING_DOWN

RAMPING_UPERROR_REPAIR

X% of channels on

Go_RampDWReset

ON

max?

At least onechannel tripped

#trips < 4

#trips ≥ 4

#trips ≥ 4Upon Acknowledge

At least one channel rampingdown

All channels at StandbyAt least one channel ramping up

Trips? At least one ch tripped

Yes

From any stateupon Reset

CH Trip?

At least onechannel tripped

#trips < 4

Page 8: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

8

THE HMPID HV Subsystem ( 7 Modules) STATE DIAGRAMGo_Standby

OFF

CONFIGURE

RepairAcknowledge

All channels offWith PS ON

After the download of recipes all Modules are at Standby

Go_OFFGo_ONReset

STANDBY

RAMPING_DOWN

RAMPING_UP

ERROR

ONAt least one ModuleIs ramping down

All Modules in StandbyAt least one Module is ramping up

From any stateupon Reset

Alarm conditions pushing the system in ERROR:•External Interlock (Gas, SS…)•Sy1527 fan tray failure•Sy1527 AC unit failure•Uncalibrated boardIn this state all the HMPID HV channels are switched OFF.

Go_RampDWReset

Alarm conditions

Page 9: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

9

The HMPID HV: preliminary scheme of

the Alarm and Error handling

Page 10: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

10

Module HV: ERROR_REPAIR source 1

Go_Standby

OFF

CONFIGURE

RepairAcknowledgeReset

All channels off

After the download of recipes all channels at Standby

Go_OFFGo_ONReset

STANDBY

RAMPING_DOWN

RAMPING_UPERROR_REPAIR

X% of channels on

Go_RampDWReset

ON

max?

At least onechannel tripped

#trips < 4

#trips ≥ 4

#trips ≥ 4 Upon Acknowledge

At least one channel rampingdown

All channels at StandbyAt least one channel ramping up

Trips? At least one ch tripped

Yes

From any stateupon Reset

CH Trip?

At least onechannel tripped

#trips < 4

Page 11: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

11

Module HV: ERROR_REPAIR source 2

Go_Standby

OFF

CONFIGURE

RepairAcknowledgeReset

All channels off

After the download of recipes all channels at Standby

Go_OFFGo_ONReset

STANDBY

RAMPING_DOWN

RAMPING_UPERROR_REPAIR

X% of channels on

Go_RampDWReset

ON

max?

At least onechannel tripped

#trips < 4

#trips ≥ 4

#trips ≥ 4Upon Acknowledge

At least one channel rampingdown

All channels at StandbyAt least one channel ramping up

Trips? At least one ch tripped

Yes

From any stateupon Reset

CH Trip?

At least onechannel tripped

#trips < 4

Page 12: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

12

Module HV: ERROR_REPAIR source 3

Go_Standby

OFF

CONFIGURE

RepairAcknowledgeReset

All channels off

After the download of recipes all channels at Standby

Go_OFFGo_ONReset

STANDBY

RAMPING_DOWN

RAMPING_UPERROR_REPAIR

X% of channels on

Go_RampDWReset

ON

max?

At least onechannel tripped

#trips < 4

#trips ≥ 4

#trips ≥ 4 Upon Acknowledge

At least one channel rampingdown

All channels at StandbyAt least one channel ramping up

Trips? At least one ch tripped

Yes

From any stateupon Reset

CH Trip?

At least onechannel tripped

#trips < 4

Page 13: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

13

ERROR_REPAIR Panels

Page 14: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

14

Summary of the HMPID HV Alarm and Error HANDLING

.

?

ERROR_REPAIR

SY1527

Sub-system ERRORs HMPID DCS

Module HV CS

M5 M6

GASLVLCSHV

HVLV

LCS

HVLV

LCS HVLV

LCS

HVLV

LCS HVLV

LCS

HVLV

LCS

HVLV

LCS

M1

M7

M4 M5

M2 M3

M6

S1 S6G1

The ERROR_REPAIR state is active if one or all the module HV channels (sectors) are in trip.This state is not propagated to the HV subsystem but just a color coded information is sent to the HV subsystem and HMPID DCS level

HMPID ERROR active if the HV ERROR is active

ERROR

To the ALICE ERROR Handling

M7ERROR

HV sub-system CS HV ERROR is active if:- EXT INTERLOCK;-SY1527 fan failure;- un_calibrated board.Any of these conditions will result in the HMPID HV=OFF.

M7

M4

M1 M3To the HMPID DCS ERROR Handling

Page 15: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

15

STATE DIAGRAMS STANDARDIZATION ?

ECS

TRD DCSHMPID

DCSTPC DCS

Trigger

TRD TRHMPID TRTPC TR

DAQ

TRDHMPIDTPC

HV

LV

Standard State Diagrams

ALICEDCS

Sub-detector oriented

State Diagrams

From the top level of a subdetector CS, the subsystem state diagrams(SD) and commands are transparent then the SD standardization is not mandatory. In turn, in order to operate simultaneously all the sub-detectors and easily calculate the ALICE DCS logical state, then it is mandatory to standardize the sub-detector DCS state diagrams.

YES

NO

Page 16: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

16

Comparison among the state diagrams of a generic DELPHI

subdetector, the ALICE TPC and the HMPID control systems.

Page 17: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

17

When all channels in the same stable state, or at least on channel ramping or in error

Go to theappropriate

state

Not all channels inthe same stable state (except ERROR)

From anystate

StopStandbyStart

NOT_READY

DEAD

NO_CONTROL

Proxy notrunning

No communicationwith hardware

Proxystarted

When communication established;read the hardware and calculatethe actual state

Go to theappropriate

state

No communicationwith hardware

From anystate

Main states and commands of one of DELPHI’s sub-detector

Page 18: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

18

TPC DCS state diagram TPC

Kindly provided by U. Frankenfeld

CONFIGURED

HW_READY

INTERMEDIATE

CONFIG

Setting

ON

ERRORGO_INTERMEDIATE

CONFIGURE

SWITCH_OFF

OFF

START

NOT_READY

STOP

START_HWSTOP_HW

RECOVER

Setting

CONFIG

CONFIG

STOP_HW

CONFIGURE

CONFIGURE

Page 19: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

19

HMPID DCS State Diagram

OFF

ERROR

READY

STANDBY

GO_STANDBY(Config Name)

GO_READY

GO_RAMPDW

All Sub System are

Configured !

All DCS Sub Systems are

READY !

All Sub System are in

STANDBY !

The GO_STANDBYcommand provides to the control system the “Name” of the configuration to be downloaded.

During the Count Down to READY State, in order to operate safely the detector,the READYcommands to all the sub systems are dispatched according to a defined sequence. This synchronization is ensured by the DCS control program.

GO_OFFCONFIG

Count Down toREADY

Count Down toSTANDBY

Alarm Conditions:Not yet completely specified

RESET

FROM ANY

STATE

RESET

NOT_READYThe NOT_READYstate is not yet defined

Page 20: ALICE DCS, Heidelberg 8 Sept. 2003 G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari 1 Updating on the HV control systems in ALICE The DELPHI HV,

ALICE DCS, Heidelberg 8 Sept. 2003

G. De Cataldo, CERN CH and INFN Bari;A. Franco INFN Bari

20

Conclusions1. From the top level of a subdetector CS, the HV,LV,..etc state

diagrams(SD) and commands are transparent then the SD standardization is not mandatory;

2. In turn, in order to allow the ALICE DCS to simultaneously operate the sub-detectors and easily calculate the DCS global logical state, then it is mandatory to standardize the state diagrams and commands for each sub-detector CS;

3. To prevent the sub-detector damaging during some LHC operation phases (very high event rate) then as done in the DELPHI DCS, also in ALICE some commands related to the LHC status (at present nobody knows!) has to be implemented: Prepare_for_injection, Prepare_for_shutdown……,

4. In order to start to prepare the ALICE DCS state diagram, each subdetector is kindly requested to provide the related DCS operating state diagram and commands! A combination of all these diagrams with the LHC states (and some other ingredients!)will provide the STANDARD STATE DIAGRAM FOR ALL THE SUBDETECTORS!

1. From the top level of a subdetector CS, the HV,LV,..etc state diagrams(SD) and commands are transparent then the SD standardization is not mandatory;

2. In turn, in order to allow the ALICE DCS to simultaneously operate the sub-detectors and easily calculate the DCS global logical state, then it is mandatory to standardize the state diagrams and commands for each sub-detector CS;

3. To prevent the sub-detector damaging during some LHC operation phases (very high event rate) then as done in the DELPHI DCS, also in ALICE some commands related to the LHC status (at present nobody knows!) has to be implemented: Prepare_for_injection, Prepare_for_shutdown……,

4. In order to start to prepare the ALICE DCS state diagram, each subdetector is kindly requested to provide the related DCS operating state diagram and commands! A combination of all these diagrams with the LHC states (and some other ingredients!)will provide the STANDARD STATE DIAGRAM FOR ALL THE SUBDETECTORS!