demonstration

Document Sample
demonstration Powered By Docstoc
					Demonstration:
Partitioning, Automation and Error Recovery in the Control System of an LHC Experiment
Clara Gaspar, September 2001

Generic SW Architecture
Control Units
ECS

Abstract levels

Status & Alarms

T.S.

LHC

DCS

DAQ

DSS

GAS

DetDcs1

...
SubSys2

DetDcsN

DetDaq1

...

SubSys1

SubSysN

Device Units

Dev1

Dev2

Dev3

DevN

To Devices (HW or SW)
Clara Gaspar, September 2001

Commands

2

A Framework
❚ An integrated collection of guidelines, tools and components ❚ Should be provided to sub-system developers in order to:
❙ Allow the development of each component coherently in view of its integration in the complete system. ❙ For the two types of components:
J ❘ DCS K ❘ Dev1 Control Units Device Units
Clara Gaspar, September 2001

3

SCADA based Framework
❚ PVSSII has tools for:
❙ ❙ ❙ ❙ ❙ ❙ Device Description (Configuration Database): Device Access (OPC, Profibus, drivers) Alarm Handling (Generation, Filtering, Masking, etc) Archiving, Logging, Trending User Interface Builder Alarm Display, Access Control, etc.

❚ SMI++ provides:
❙ Abstract behaviour modeling (Finite State Machines) ❙ Automation & Error Recovery (Expert System like)
Clara Gaspar, September 2001

4

Control Units
CU

❚ Each CU is inherently able to:
❙ Configure, monitor and control its children
❘ Sequence & Automate operations ❘ Recover errors

❙ Handle Alarms
❘ Filter and display alarms

❙ Partition
❘ Exclude one or more of its children

❙ User Interfacing
❘ Present information and receive commands
Clara Gaspar, September 2001

5

Control Units (cont.)
❚ A combination of PVSS II & SMI++ ❙ Hierarchical Characteristics:
SubSys

❘ ❘ ❘ ❘

State/Commands One Owner Exclusive/Shared Partitioning Mode

❙ Other Characteristics
❘ Alarm Handling ❘ Access Control ❘ Archiving, etc.
Clara Gaspar, September 2001

6

Control Units (cont.)
Operator
Configuration Database
Configuration data Commands/States

Parent
Commands/States

Logging & Archiving

Specific Behaviour FSM

Ownership & Partitioning FSM Alarm Handling

PVSS II
Commands/States

Child

Commands/States

Commands/States

Clara Gaspar, September 2001

Child

Child

7

Device Units
DU

❚ Device Units’s specific tasks are:
❙ Interface to the device it models
❘ Implement Actions ❘ Retrieve States

❙ Generate Alarms ❙ User Interfacing
❘ Present specific information and receive commands

Clara Gaspar, September 2001

8

Device Units (cont.)
❚ Device Units
❙ Provide the interface to the different devices
Operator Parent
Configuration data Commands/States Commands/States

Behaviour FSM Logging & Archiving

Alarm Handling Device Driver
Settings/Readings

PVSS II

Clara Gaspar, September 2001

HW/SW Device

9

Demo – HV Sub System
❚ Sub Detector HV
❙ OFF when all channels OFF
❘ SWITCH_ON -> HV ON

❙ ON when all channels ON
HV

❘ SWITCH_OFF -> HV OFF

❙ ERROR when at least one channel TRIPPED
❘ RECOVER (-> CLEAR_TRIP) -> HV ON
Clara Gaspar, September 2001

10

Demo - Sub Detector DCS
❚ Sub Detector
❙ NOT_READY when at least one component NOT READY
❘ GET_READY -> HV ON
Tracker

❙ READY when all Components OK
❘ SET_NOT_READY -> HV OFF

HV

GAS

❙ ERROR when at least one component in ERROR
❘ RECOVER (-> CLEAR_TRIP) -> HV ON
Clara Gaspar, September 2001

11

Demo - DCS
❚ DCS
❙ NOT_READY when at least one detector NOT_READY
❘ GET_READY -> all
Muon

DCS

Vertex

Tracker

❙ READY when all detectors READY
❘ SET_NOT_READY -> all
GAS

HV

Temp

HV

GAS

HV

❙ ERROR when at least one detector in ERROR
❘ RECOVER -> all
12

Clara Gaspar, September 2001

Partitioning
ECS DCS DAQ

DetDcs1

...
SubSys2

DetDcsN

DetDaq1

...

SubSys1

SubSysN

Dev1

Dev2

Dev3

DevN

To Devices (HW or SW)
Clara Gaspar, September 2001

13

Partitioning Modes
INCLUDED Child Fully Controlled by Parent
Parent State Child Command State Child

EXCLUDED Child Not Controlled by Parent
Parent Command

MANUAL Parent does not send Commands
Parent State Child

IGNORED Parent Ignores State
Parent State

x

Command

Child

x

Command

Clara Gaspar, September 2001

14

Demo - DCS / Partitioning

DCS

Vertex

Tracker

Muon

HV

Temp

HV

GAS

HV

GAS

Clara Gaspar, September 2001

15

Demo - DAQ
❙ DAQ
❘ NOT_READY
CONFIGURE

❘ READY
START_RUN

❘ RUNNING
DCS

STOP_RUN

DAQ

Vertex

Tracker

Muon

Tracker

Muon

HV

Temp

HV

GAS

HV

GAS

FE

RU

FE

RU

Clara Gaspar, September 2001

16

Run Control
❚ Each Control Unit (and its sub-tree)
❙ Can run in stand-alone ❙ Can be controlled independently
(by an authorized User Interface)

❚ Run Control
❙ Is a particular instance of a user interface: ➨ It is the interface to the Root of the tree ➨ If the tree is partitioned there can be several Run Controls.
Clara Gaspar, September 2001

17

Demo - Run Control
❙ ECS
❘ When LHC in PHYSICS -> GET_READY DCS -> GET_READY DAQ -> START_RUN DAQ
DCS

ECS LHC

DAQ

Vertex

Tracker

Muon

Vertex

Tracker

Muon

HV

Temp

HV

GAS

HV

GAS

FE

RU

FE

RU

FE

RU

Clara Gaspar, September 2001

18

Demo - Sub Detector RC
ECS DCS DAQ

Det1
DetDcsN

DetDcs1

...
SubSys2

DetDaq1

...

SubSys1

SubSysN

Dev1

Dev2

Dev3

DevN

To Devices (HW or SW)
Clara Gaspar, September 2001

19

Demo - Safety
❙ Safety
❘ When GAS in ERROR -> SWITCH_OFF HVs
DCS ECS LHC

DAQ

Vertex

Tracker

Muon

Vertex

Tracker

Muon

HV

Temp

HV

GAS

HV

GAS

FE

RU

FE

RU

FE

RU

Safety

Clara Gaspar, September 2001

20

HV Device

Clara Gaspar, September 2001

21

Partitioning Sub-Systems

Clara Gaspar, September 2001

22

Run Control

Clara Gaspar, September 2001

23

Sub-detector Control

Clara Gaspar, September 2001

24


				
DOCUMENT INFO
Shared By:
Tags: demon, strat
Stats:
views:22
posted:12/20/2009
language:English
pages:24
Description: demonstration