Download presentation
Presentation is loading. Please wait.
Published byKelley Smith Modified over 9 years ago
1
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 1 UiB DR 2003 High Level API for the TPC-FEE control and configuration
2
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 2 UiB DR 2003 TPC-FEE ECS/DCS architecture ECS/DCS mockup TCP/IP Ethernet RCU master High Level API DIMM client DIMM server DCS Interface module bi-directional control and data flow DDL configuration interface module DDL uni-directional data flow ?
3
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 3 UiB DR 2003 DCS High Level Protocol
4
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 4 UiB DR 2003 single read address word single write address word data multiple read address word number of data words to read multiple write address word number of data words data word 1 : data word N random read address word 1 address word 2 : address word N random write address word 1 data word 1 : address word N data word N DCS Control Instruction Set
5
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 5 UiB DR 2003 Request of attention address data word DCS Monitor Instruction Set
6
RCU Functional Overview Front-End Control Network Interface Module ALTRO Interface Module FEE1 FEE2 RCU Master Module RO Sequencer Configuration Interface Module SIU RCU bus L2 L1 ALTRO Front End Bus Interrupts 32 bit Data Assembler Module Trigger Interface Module DCS Interface Module
7
RCU Master Module This module resets all other modules when necessary. This module resets all other modules when necessary. It receives triggers and copies the trigger messages from the Trigger module into the Data Assembler Module It receives triggers and copies the trigger messages from the Trigger module into the Data Assembler Module It starts the read-out of data via the ALTRO Interface Module and the Data Assembler Module It starts the read-out of data via the ALTRO Interface Module and the Data Assembler Module It handles DCS requests It handles DCS requests RCU Master Enable Reset R/W DCS monitor message Address Data 16 32 Clk L1 L2 DCS safety message
8
DDL Configuration Interface Module This module is used to configure the FECs and the RCUs before starting a run This module is used to configure the FECs and the RCUs before starting a run DDL Configuration Interface Enable Reset R/W Address Data Siu Data 40 16 32 Clk Transfer Enable
9
DCS Interface Module The DCS Interface module sends and receives data from the DCS The DCS Interface module sends and receives data from the DCS Messages are loaded from and stored to memory in the DCS I.M. Messages are loaded from and stored to memory in the DCS I.M. DCS Interface Enable Reset Safety Message R/W Monitoring Message Address Data Profibus or Ethernet 16 32
10
DCS Interface Module The RCUs are slaves, but they can generate interrupts to the DCS The RCUs are slaves, but they can generate interrupts to the DCS The DCS interface devices should work in safety mode with power on the signal cable. The DCS interface devices should work in safety mode with power on the signal cable. Any request from the DCS should by answered by the RCU within a deterministic time frame, even if the answer is “I am busy”. Any request from the DCS should by answered by the RCU within a deterministic time frame, even if the answer is “I am busy”. A Safety message from the DCS will interrupt the RCU Master. A Safety message from the DCS will interrupt the RCU Master. A Monitoring Message is handled the requested RCU resource is available A Monitoring Message is handled the requested RCU resource is available
11
Ethernet DCS Architecture Two branches of 1 Gb/s folding out to 2 * 108 RCU connections @ 100Mb/s Two branches of 1 Gb/s folding out to 2 * 108 RCU connections @ 100Mb/s We can transfer @ 100 Mb/s to level C We can transfer @ 100 Mb/s to level C Level C is done sequentially – One RCU at the time Level C is done sequentially – One RCU at the time Minimum configuration time assuming 32 Mb/RCU = (12* 32 Mb)/100 Mb/s = 3.9 s Minimum configuration time assuming 32 Mb/RCU = (12* 32 Mb)/100 Mb/s = 3.9 s PCI NIC 1 Gb/s Ethernet 1 Gb/s Switch 9 lines of 100 Mb/s Ethernet 100 Mb/s Switch 12 lines of 100 Mb/s Ethernet RCU 9 * 12 Lines = 108 RCUs A D C B
12
Profibus/Ethernet DCS Architecture Two branches of 1 Gb/s folding out to 2 * 108 RCU connections using Ethernet-to-Profibus gateways Two branches of 1 Gb/s folding out to 2 * 108 RCU connections using Ethernet-to-Profibus gateways We can transfer @ 100 Mb/s to level C We can transfer @ 100 Mb/s to level C Level D is done sequentially in a daisy-chain @ 12Mb/s Level D is done sequentially in a daisy-chain @ 12Mb/s Minimum configuration time assuming 32 Mb/RCU = (6* 32 Mb)/12 Mb/s = 16 s Minimum configuration time assuming 32 Mb/RCU = (6* 32 Mb)/12 Mb/s = 16 s PCI NIC 1 Gb/s Ethernet 1 Gb/s Switch 18 lines of 100 Mb/s Ethernet Ethernet Profibus Gateway 6 RCUs daisy-chained @ 12Mb/s RCU A D C B
13
Profibus DCS Architecture 16 PCI-Profibus interfaces, 2 channels per card 16 PCI-Profibus interfaces, 2 channels per card We can transfer @ 1.2 Mb/s to level B We can transfer @ 1.2 Mb/s to level B 6 or 7 RCUs are configured sequentially in a daisy-chain 6 or 7 RCUs are configured sequentially in a daisy-chain Minimum configuration time assuming 32 Mb/RCU = (7* 32 Mb)/1.2 Mb/s = 186 s Minimum configuration time assuming 32 Mb/RCU = (7* 32 Mb)/1.2 Mb/s = 186 s PCI Profibus interfaces 32 Profibus lines 6(7) RCUs daisy-chained @ 1.2 Mb/s RCU B A
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.