Transcript TFC system
Configuration Database
Lana Abadie,
LHCb week, May 25
The configuration database
• Storage of all controllable devices with
– their properties
– the links between them
– their hierarchy
• The control system can be bootstrapped from the
configuration database.
• DB Design Methodology (ex: the TFC system)
– TFC dataflow
TFC DATAFLOW
Throttle set of links
TFC set of links
DAQ set of links
TFC set of links sometimes possible
X ≤16
THOR_00 (TFC)
16*16
TTCtx_X
transmitter(16*14) X≤16
TTCocX_Y
TTCrxX_Y
receiver (1*32)
TTCrxX_Y_W
receiver (1*32)
Opt. couplers(1*32)
Y≤14
W≤32
Z<16
SubDet_L0FEX_Y_Z
(?*1)
X≤16
Munin0_X
32*2
SubDet_L1FEX_Y_Z
(?*5)
DAQ (readout net)
MuninL0_00
16*16
SubDet can be (VELO, RICH, L0MUON,...)
MuninL1_00
16*16
used 1
ODIN_X
Readout s.
• DB Design Methodology (ex: the TFC system)
– TFC dataflow
– TFC system : use cases
TFC system : use cases
•
List of possible scenarios (2 examples)
–
Find all the connection paths between 2 devices
–
Define the routing table of the TFC switch
• DB Design Methodology (ex: the TFC system)
– TFC dataflow
– TFC system: use cases
– Entity relation model & Table design
Entity relation model
Device
Thor Routing
+Device Name
+Device type
+Active
1
N RoutingId
switch name
Output word
Input nbr
Table design
Device
+Device Name (pk)
+Device type (fk)
ref SwitchType(Switch_type)
+ active
1
Thor Routing
RoutingId (pk)
N switch_name(fk)
references device_list(devname)
Output_ptnb
Inp_ptnb
unique(RoutingId, output_port_nb)
• DB Design Methodology (ex the TFC System)
– TFC dataflow
– TFC system : use cases
– Entity relation model & Table design
• Conf.DB & PVSS (Framework)
– Structure of the Conf.DB
Structure of the Conf.DB
PVSS System
PVSS Libraires & Tools
Conf. DB
fw_recipes
DIM SERVER
fw_device
fw_device_
properties
fw_recipes
_properties
device
tfc_path
fw_com
ponents
PL/SQL
scripts
• DB Design Methodology (ex the TFC System)
– TFC dataflow
– TFC system : use cases
– Entity relation model & Table design
• Conf.DB & PVSS
– Structure of the Conf.DB
– Presentation of the demo
Presentation of the demo (1/2)
Local trigger
(Optional)
Single TFC master :
Readout Supervisor
VELO
FE
VELO FE
Readout
Readout
Supervisor
Supervisor 11
Readout
Supervisor 2
Throttle Switch
ST
ST FE
FE
Clock
L0 / L1
Clock
L0 / L1
Clock
Readout
Supervisor 0
Fan-out / Fan-in :
Support partitioning
Front-End
L0 / L1
Clock
Physics trigger
Readout
Supervisor 3
TFC
TFC Switch
Switch
OT
FE
OT FE
RICH FE
ECAL FE
...
Presentation of the demo (2/2)
•
Connection to the hardware (from the TFC system) via PVSS
•
Creation of the different devices (TFC switch, read out supervisor...)
in PVSS and storage in the fw_ tables
•
Insert in other tables the different connectivities between devices
•
Queries to the tables (tfc_path) to get the connectivities between
the TFC switch and the subsystems.
•
Links to other existing panels to configure the different components
with possibile storage in the fw_ tables under different versions
•
Make the updates in the other tables
• DB Design Methodology (ex: the TFC system)
– TFC dataflow
– TFC system : use cases
– Entity relation model & Table design
• Conf.DB & PVSS
– Structure of the Conf.DB
– Presentation of the DEMO
• Conclusion
Conclusion
– Design of TFC and Read Out Network system
tables completed
– First prototype built to show possible queries to
the Conf.DB via PVSS
• Future work:
– Design of other subsystem tables (connectivities)
– Optimization of performance
– Design of a generic API
Thank you for your attention
QUESTIONS ?