100 likes | 342 Views
RCU DCS interface. User requirements FEC RCU RCU processes FEC SC-data collector Interface to FEC via FEC SC-bus Interface to RPM FEC configurator and event data collector Fieldbus controller Interface to fieldbus ASIC Interface to RPM OPC server RCU device driver Implementation
E N D
RCU DCS interface • User requirements • FEC • RCU • RCU processes • FEC SC-data collector • Interface to FEC via FEC SC-bus • Interface to RPM • FEC configurator and event data collector • Fieldbus controller • Interface to fieldbus ASIC • Interface to RPM • OPC server • RCU device driver • Implementation • Fieldbus: PROFIBUS, (ETHERNET) • Bus topology
1. User requirements • FEC • See DCS URD for the TPC-RO • RCU • Monitor • Heartbeat • Status register(s) – SIU, FEC, TTCrx • Error register(s) – SIU, FEC, TTCrx • Control • Power switch • FPGA reset
2. RCU processes • FEC SC-data collector • Interface to FEC via FEC SC-bus • Interface to RPM • Readout of Monitor/Control parameter • FEC configurator and event data collector • Set ALTRO registers • Readout events • Fieldbus controller • Generate heartbeat • Interface to fieldbus ASIC • Interrupt/Reset • Bus interface (D8 / A12) to internal Dual-Port RAM • Interface to RPM
RCU design – control flow TTCrx SIU controller FEE bus controller • State machines DDL command decoder FEE SC RCU resource & priority manager Huffman encoder DCS low level Watchdog 2 Watchdog 1: health agent Debugger DCS high level PCI core
RCU design – DCS control flow FEE bus controller • State machines FEE SC resource & priority manager Update status & error registers Fieldbus controller Generate heartbeat Interrupt Reset FEC configurater and event data collector DCS high level ?
3. OPC server • RCU device driver • Device driver for standard PCI-board PROFIBUS Master • RCU specific API
4. Implementation • Fieldbus: PROFIBUS • Master: standard PCI-board • Slave: Profichip VPC3+/B ASIC • Fieldbus: ETHERNET? • Bus topology • 216 RCUs • PROFIBUS-DP: polling network • Class-1 master periodically requests the status of the nodes • Class-2 master for inspecting individual nodes • Minimal configuration: 1(+1) masters + 122 (121) slaves + repeaters • Optimised configuration: 1(+1) masters + 32 (31) slaves
Tasks & resources • hardware • Oslo • mezzanine board (David) • Commercial development kit (PCI master and slave kit) • firmware • Oslo • Fieldbus controller (Jon) • CERN (?) • FEC SC-data collector • Oslo/Bergen/CERN (?) • FEC configurator and event data collector • software • Worms/GSI (?) • RCU device driver for OPC server • Client applications • Commercial development kit (PCI master and slave kit)