FOPI-SlowControl

Download Report

Transcript FOPI-SlowControl

FOPI – Slow Control
Content
1. FOPI experiment - Overview
2. GUIs for FOPI
3. System Design
FOPI - overview
Messhütte
Server
CS
-Interface Objekte
OPC Server
(CAEN/TwinCAT)
TCP/IP
CAVE B
Esone Server
CAEN - HV
70 Channels
CAMAC
PT100
ca.
200Stck.
LeCroy – HV
1792
Channels
Constant
Fractions,
ca. 150
Stck.
Linux-Client
CS
- GUI Objekte
WinXP-Client
CS
- GUI Objekte
Ethernet – GPIB
Controller
GPIB
Lambda, low-Voltage device
…
requirements for FOPI control system
- remote control and monitoring of power supplies (High/Low Voltage)
- archiving of measured values (voltage, currents, temperatures)
- archiving of hardware configuration/settings (ramp / trip time,
set points)
- distributed control system (Front End / Operator)
 independant Front End
- User Management: several profiles  access rights
- possibility to divide High Voltage channels into sectors
(RPC/CDC/Helitron)
- internal errors should be displayed for the user
- controlled and variable boot sequence
GUIs for FOPI
FOPI Main Panel
RPC
CDC
Helitron
statistic values
• cross – section of the detector's
drift chambers (CDC/RPC/Helitron)
• mapping of CAEN HV channels
 allocation between
channels and sectors
• statistic values for each sector
• panel selection allows user to open
other panels
• colour coding of LED
channel address of LED
colour coding
informs user about channel's state
shown by tip
of LED
• set all CAEN HV channels
panel selection • display error history
CAEN Power Supplies 1527
& PT 100 sensors
area only visible after
push Board Info
• supplies RPC, CDC and Helitron
• access via CAEN OPC server
Board
and LabVIEW DSC Module
Information
• structure: crates/boards/channels
• one PT 100 for each HV channel
• user management by password
channel output
request (2 user profiles:
admin/user)
channel state
• additional board information
temperature of • online trending for output values
PT 100 sensor • background colour indicates
sector
password request
area only visible after
logged in successfully
detailled configuration
Sector Panel for
CAEN HV channels
- background colour indicates
sector membership
- allows user to open sub sector
panels
- set all channels mapped to sector
- error history
- colour of plot indicates alarm state
selection for sub detectors
double click
plot to open
channel panel
Trend, Alarm & Temperature
Monitors
• displays trendings of
measured and
configuration values
 access to log data of
DSC database via
DSCTrend class
• editable time interval for
trendings
• error display
• divides High Voltage
channels by sectors
• displays all occured alarms
 access to alarm data of
DSC database via
DSCAlarm class
• displays alarm settings
• unacknowledged alarms
• generates alarm
documentation file
• alarm summary
• Online - Trending of
temperature values
measured by PT 100
• displays alarm state
• variable update rate
Lambda - Low Voltage devices
Fopi dedicated Mainpanel
• control of up to 5 Lambda – Genesys
• devices via GPIB bus
• supplies RPC detector
• use of the device - specific drivers
• possibility to auto - write all channels,
• archives voltage and current into a logfile
©A.Schwinn
Le Croy HV devices
• old hardware (1985)
• control via ESONE Server on a
CAMAC Bus
• very slow reaction time
• output is written in output
buffer of the 2132
Interface
• device language is 16 Bitcoded and cryptic
• control of more than 1700
HV - Channels
• supply for
photo - multiplier
©A.Schwinn
Constant Fractions
• control of ca. 150 Constant Fraction "CF
8101" Discriminators
• control via ESONE Server on a CAMAC
Bus
• CNAF´s are the CAMAC data words
(Crate, Board, Address, Function)
• able to observe all values, and to
recognize changes
• Enable/Disable boards to observe
• able to play a alarm-wav file on alarm
©A.Schwinn
System Design - overview
clients (application layer)
lxg0*.gsi.de
lxi0*.gsi.de
(Linux)
(Linux)
GUI objects
GUI objects
SQL
Server
DSC processes:
-DSCInterface
-DSCAlarm
-DSCTagAttribute
-DSCTrend
-TwinCATInt
kp1pc058.gsi.de (Win XP)
GUI objects
CS Framework
commercial software
PC
bus systems / networks
hardware
server (device layer)
device processes:
- Constant Fractions
ESONE
Dispatcher:
- LeCroy_2123_Interface
e7_6
- Lambda_LV_Supplies
e7_15
ESONE
Servers
e7_6
e7_15
DSCEngine
CAEN
OPC - Server
TwinCAT
OPC - Server
Ethernet
CAEN SY1527
HV
BC9000 (PT 100)
GENie
Treiber
GPIB
Lambda
LV devices
kp1pc065.gsi.de
(Win XP)
CAMAC
Constant
Fractions
LeCroy
HV
hardware
Initializing the Slow Control
event or action
temperature
sensor
channel
address
length of stimulus
Mapping (5)
sector path
(layer2/layer3/…/lowest layer)
life line of object
User List (2)
profile
permission range
Default Alarm Limits (3)
Client – Server communication
server
client
Detector Hierarchy
m: number of sub detectors in HEL_n
n: number of sub detectors in HEL
s: lowest layer of CDC
e.g. s = 0_0_0  depth = 5
t: number of sub detectors
e.g. in lowest layer of CDC_0_0_0
fixed
detector layer
variable
x/y/z:
any crate/board/channel number,
depending on how many HV channels
are used
channel layer
Sub Detectors
server
client
filter Channels and UserList
for sub detectors
 information concerning
the joining sectors (upper
& lower layer) is needed
Panel Behaviour
client
CS requirements
problem:
solutions:
problem:
solution:
DB entry with different parameters for each detector object
( fixed hierarchy)
a.)
optional "data - in" parameter for "load process" – event
b.)
class to create user- defined database entries by event
DB entry for each channel object required ( truncate name.vi)
template DB entry as default for an object inherited by BaseProcess
 additional parameter for load – process,
e.g. „use default DB entry“ or
„use database entry from instance“
Thanks for your attention!!!