240 likes | 422 Views
Sharing a High Speed Optical Data Transmission Link with Slow Control Stream. TIPP2014 Amsterdam June 2-6 2014 Zhen-An LIU, Jingzhou Zhao, Dehui Sun, Trigger Lab IHEP, Beijing R. Itoh, H. Nakao , IPNS, KEK. Outline. Overview of experiment data readout
E N D
Sharing a High Speed Optical Data Transmission Link with Slow Control Stream TIPP2014 Amsterdam June 2-6 2014 Zhen-An LIU, JingzhouZhao, Dehui Sun, Trigger Lab IHEP, Beijing R. Itoh, H. Nakao, IPNS, KEK
Z.-A. LIU TIPP2014 in Amsterdam Outline • Overview of experiment data readout • Components for a high speed data transmission link(Hslink) • Requirement of the slow control/parameter setting • Sharing Hslink with slow control in Belle II • Test results and status • Summary
Z.-A. LIU TIPP2014 in Amsterdam Outline • Overview of experiment data readout • Components for a high speed data transmission link(Hslink) • Requirement of the slow control/parameter setting • Sharing Hslink with slow control in Belle II • Test results and status • Summary
Z.-A. LIU TIPP2014 in Amsterdam Tranditional Experiment Block Diagram • Fast Control • Clocks, trigger, reset,… • Slow Control • GAS, HV,LV,…. • CAMAC/VME/CPCI… crate BUS • Gains, thresholds, Peds, window size, delay…. Trigger/Fast Control 粒子 Weak Elec. Signals FE Electronics Onl. Readout Data Storage Digitizer Detectors Amp. + Shaping Phys. Process Offline Analysis Slow Control PC/Crate
Z.-A. LIU TIPP2014 in Amsterdam Modern Experiment Block Diagram • FEE + DIGI near Detector • No crate for FEE, no bus anymore. • High speed data transmission link to back end readout • FEE parameter setting is very important! BUT how? • Share with the Fast link?
Z.-A. LIU TIPP2014 in Amsterdam Outline • Overview of experiment data readout • Components for a high speed data transmission link(Hslink) • Requirement of the slow control/parameter setting • Sharing Hslink with slow control in Belle II • Test results and status • Summary
Z.-A. LIU TIPP2014 in Amsterdam General high speed link BL_SNDR FEE interface TTC interface PROTOCOL &control FromFEE Nev_FE • Single direction up link: Front to Back End FIFO_FE 32bit 16bit GTP 16bit CLK_FE CLK_LK Optical fiber Optical transceiver not shown COPPER interface BL_RSVR PROTOCOL &control receiver FIFO_CO 32bit GTP 16bit 16bit CLK_LK
Z.-A. LIU TIPP2014 in Amsterdam Outline • Overview of experiment data readout • Components for a high speed data transmission link(Hslink) • Requirement of the slow control/parameter setting • Sharing Hslink with slow control in Belle II • Test results and status • Summary
Z.-A. LIU TIPP2014 in Amsterdam General high speed link with SC BL_SNDR FEE/SC interface TTC interface PROTOCOL &control FromFEE Nev_FE • Up and Down links • Modify the protocol parts on both sides, • Fast&SC control in receiver side • FEE/SC control FIFO_FE 32bit 16bit GTP 16bit Optical fiber CLK_FE CLK_LK Optical transceiver not shown Fast & Slow control interface BL_RSVR PROTOCOL &control receiver FIFO_CO 32bit GTP 16bit 16bit CLK_LK
Z.-A. LIU TIPP2014 in Amsterdam Outline • Overview of experiment data readout • Components for a high speed data transmission link(Hslink) • Requirement of the slow control/parameter setting • Sharing Hslink with slow control in Belle II • Test results and status • Summary
Z.-A. LIU TIPP2014 in Amsterdam Belle2link in Belle II experiment • Unified high speed data readout and transmission Bellle2Link
Requirement to Belle2Link • Belle2Link is a name for global fast data readout and transmission between Detector Front-End Electronics(FEE) and Back-End DAQ system of Belle II experiment. It features, with system simplicity and reliability, as: • unification in hardware design(for each detector sub-system) • unification in firmware design(for each detector sub-system) • provides electrical isolation • provides high speed transmission rate • work at different input data rate(with different detector sub-system) • home brew transmission protocol I/F_FE d SVD FEE I/F_COPPER COPPER CDC FEE Slow control HS links ……… I/F_TTC PID TTC KLM RF ClocK
Z.-A. LIU TIPP2014 in Amsterdam Requirement for Slow Control/parameter setting in Belle II • Implementation of Slow Control • Parameter setting only • Unification, suitable for all systems, not system dependent • Easy implementation for FEE as was with Belle FINESSE • Provide CDC implementation as an example for FEE • Tested working with CDC Belle2Link: A unified fast data collection and transmission plus slow control function I/F_FE d SVD FEE I/F_COPPER COPPER CDC FEE Slow control HS links ……… I/F_TTC PID TTD KLM RF ClocK
Z.-A. LIU TIPP2014 in Amsterdam Local Bus Interface • Difficulties • Larger parameter data size(>128byte) needed • How to make the belle2link transparent to FEE and local buss • New scheme has to be defined • FEE and HSLB share the address on local bus • Both FEE board and HSLB have the independent version records.
Z.-A. LIU TIPP2014 in Amsterdam Implementation of Slow Control • FEE side(Parameter Bus) • Keep the definition of local bus of COPPER. • AB0-AB6: Local address bus. • DB0-DB7: Local data bus. • LWR: Read/write direction indicator. • EN: ready signal. • An indicated address 0x00 is for serial transmission The FEE registers are are transparent to COPPER via Belle2link .
Z.-A. LIU TIPP2014 in Amsterdam Implement on FEE side • Receicer side (HSLB/FINESSE side)Two approaches) • First approach • Large stream(>128B) • Address 0X00: for this approach • Second approach • Large stream(<128B or individual setting ) • Address 0X01-0x74: Length up to 127B • Address/Data meaning definition by user
Z.-A. LIU TIPP2014 in Amsterdam Firmware Description-Structure of HSLB firmware • Protocol • Send the slow control command after packing • Receive the package from GTP module • Check the packages and unpack them • Separate the data and transfer them to slow control module or data link module • Data Link module • Receive the data of FEE, transmit the data and the clock to the COPPER FIFO Send after packing
Z.-A. LIU TIPP2014 in Amsterdam Firmware Description —Structure of Belle2lin firmware in FEE • Protocol • Receive the package from GTP module, check the packages and unpack them, put to the FEE slow control. Slow control send result to SC module • Transfer the data form FEE, and arbitrate the priority between slow control module and data link module • Data Link module • Receive the data from FEE. Pack the data
Z.-A. LIU TIPP2014 in Amsterdam Firmware Description-Structure of HSLB firmware • Protocol • Send the slow control command after packing • Receive the package from GTP module • Check the packages and unpack them • Separate the data and transfer them to slow control module or data link module • Data Link module • Receive the data of FEE, transmit the data and the clock to the COPPER FIFO
Z.-A. LIU TIPP2014 in Amsterdam Outline • Overview of experiment data readout • Components for a high speed data transmission link(Hslink) • Requirement of the slow control/parameter setting • Sharing Hslink with slow control in Belle II • Test results and status • Summary
FPGA FPGA HSLRB HSLRB Z.-A. LIU TIPP2014 in Amsterdam Model system--Joint test at KEK Setup: CDC-Prototype + 16ch FEE + fiber+ HSLB+COPPER + VME crate + File server controlled trigger rate • Data from radioactive source • Line rate: 3.125Gbps • Data sample • 3M events collected • 10k events analyzed FPGA Line rate=1.5Gbps CDC readout CLK_Lk=200MHz,CLK_FEE=125MHz On board reset switch CLK_Lk=200MHz,CLK_CO=42.3MHz
Z.-A. LIU TIPP2014 in Amsterdam Cosmic Raytest on CDC detector COPPER CDC FEE TTD HSLBs Fibers Test signals and trigger
Z.-A. LIU TIPP2014 in Amsterdam Status • Slow Control/Parameter setting is part of Belle2link. • Belle2link Working Group responsible the plantation to other systems • CDC, SVD, EMC are successful and expect no error with other system. More tests will be made to the remaining systems. • Installation stating next year.
Z.-A. LIU TIPP2014 in Amsterdam Summary • Sharing HSLink with slow control makes system simple. • As part of the Belle2link of Belle II experiment, slow control/parameter setting has been proved reliable. • Tests with different systems shouwed that sharing HSLink with slow control is feasible basically in all case. Many Thanks for your attention !