Clock and control fast signal specification M.Postranecky, M.Warren and D.Wilson 02.Mar.2010

Similar documents
TIMING, TRIGGER AND CONTROL INTERFACE MODULE FOR ATLAS SCT READ OUT ELECTRONICS

GRETINA. Electronics. Auxiliary Detector Workshop. Sergio Zimmermann LBNL. Auxiliary Detectors Workshop. January 28, 2006

Data Acquisition System for the Angra Project

GFT1012 2/4 Channel Precise Slave Generator

Data sheet CPU 013C (013-CCF0R00)

DAQ & Electronics for the CW Beam at Jefferson Lab

FM COUNTER MODULE

Data sheet CPU 313SC (313-5BF13)

FM COUNTER MODULE

The Architecture of the BTeV Pixel Readout Chip

Data sheet CPU 314ST/DPM (314-6CF02)

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

CAMAC products. CAEN Short Form Catalog Function Model Description Page

Manual IF2008A IF2008E

TMC Channel CAMAC Multi-Hit TDC. Module Manual

Motivation Overview Grounding & Shielding L1 Trigger System Diagrams Front-End Electronics Modules

Data sheet VIPA CPU 314SC DPM (314-6CG23)

USB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features

RECOMMENDATION ITU-R BT.1302 *

Computer-Based Project in VLSI Design Co 3/7

Digital Systems Design

TOP VIEW. Maxim Integrated Products 1

Voltage regulator TAPCON 260

vxs fpga-based Time to Digital Converter (vftdc)

4413 UPDATING PROGRAMMABLE DISCRIMINATOR 4415A NON-UPDATING PROGRAMMABLE DISCRIMINATOR

MASE: Multiplexed Analog Shaped Electronics

Product Information Using the SENT Communications Output Protocol with A1341 and A1343 Devices

GFT1504 4/8/10 channel Delay Generator

Development of utca Hardware for BAM system at FLASH and XFEL

Voltage regulator TAPCON 240

FPGA BASED DATA AQUISITION SYSTEMS FOR PHYSICS EXPERIMENTS

Level-1 Regional Calorimeter System for CMS

Requirements and Specifications of the TDC for the ATLAS Precision Muon Tracker

Time Stamp Synchronization of MBS (DAQ) Systems with White Rabbit Distributed High Precision TOF with White Rabbit

SDR14TX: Synchronization of multiple devices via PXIe backplane triggering

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

DS1065 EconOscillator/Divider

BPSK_DEMOD. Binary-PSK Demodulator Rev Key Design Features. Block Diagram. Applications. General Description. Generic Parameters

Study of the ALICE Time of Flight Readout System - AFRO

FM HIGH-SPEED BOOLEAN PROCESSOR

RECOMMENDATION ITU-R BT *

Overview of talk AGATA at LNL Electronics needed for gamma ray tracking System overview Digitisers Pre-processing GTS Results Software Connecting othe

Contents. ZT530PCI & PXI Specifications. Arbitrary Waveform Generator. 16-bit, 400 MS/s, 2 Ch

Multi-channel front-end board for SiPM readout

Contents. 2 qutag Manual

Tomasz Włostowski Beams Department Controls Group Hardware and Timing Section. Trigger and RF distribution using White Rabbit

Nyquist filter FIFO. Amplifier. Impedance matching. 40 MHz sampling ADC. DACs for gain and offset FPGA. clock distribution (not yet implemented)

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

SV3C CPTX MIPI C-PHY Generator. Data Sheet

IBV 100/EXE 100 Interpolation and Digitizing Electronics

AWG-GS bit 2.5GS/s Arbitrary Waveform Generator

ICS PLL BUILDING BLOCK

SERIALLY PROGRAMMABLE CLOCK SOURCE. Features

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Studio Broadcast System

HIGH SPEED POSITION COMPARE OUTPUT

A Readout ASIC for CZT Detectors

EUROFEL-Report-2006-DS EUROPEAN FEL Design Study

Inductive Loop Detector

G3P-R232. User Manual. Release. 2.06

DT9838. Strain- and Bridge-Based Measurement Module. Key Features: Bridge Configurations. Analog Input Features

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

Agilent 81133A/81134A

USB-CTR08-OEM. High-Speed Counter/Timer. User's Guide

LeCroy Research Systems Model 365AL, Model 465, and Model 622 Logic Units

Analog Arts SF990 SF880 SF830 Product Specifications

This is by far the most ideal method, but poses some logistical problems:

Highly Segmented Detector Arrays for. Studying Resonant Decay of Unstable Nuclei. Outline

PX8000 Precision Power Scope with Features of High-accuracy Power Meter and Waveform Measuring Instrument

DS1075 EconOscillator/Divider

Time Matters How Power Meters Measure Fast Signals

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

User s Manual for Integrator Short Pulse ISP16 10JUN2016

Time = i+1 seconds Synchronisation Pulse. Synch. Pattern. Coarse. Coarse. Parity. if CTMS Status Pulse Flag is 1. Used by Pulse Generator

SIMPLY PRECISE PRELIMINARY. Preliminary product overview - LAK encoder. LAK 1 Absolute linear encoder with signal control

Spacecraft to Science Instrument Data Interface Control Document. Dwg. No

Rep. ITU-R BO REPORT ITU-R BO SATELLITE-BROADCASTING SYSTEMS OF INTEGRATED SERVICES DIGITAL BROADCASTING

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

Model Channels Input type Sample rate Resolution

DS1073 3V EconOscillator/Divider

Development of Telescope Readout System based on FELIX for Testbeam Experiments

The Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis

Analog Arts SL987 SL957 SL937 SL917 Product Specifications [1]

Hardware Trigger Processor for the MDT System

Model 310H Fast 800V Pulse Generator

IF30. User's manual. Description. Table of contents IF30

Nuclear Physics Division Data Acquisition Group

Orbis true absolute rotary encoder

OPERATOR'S MANUAL MODEL 3420 CONSTANT FRACTION DISCRIMINATOR

Firmware development and testing of the ATLAS IBL Read-Out Driver card

Rotary Measuring Technology

USB-UT350(T) Portable Ultrasonic Pulser/Receiver and Analog to Digital Converter. User s Guide

SP6003 Synchronous Rectifier Driver

PCL-836 Multifunction countertimer and digital I/O add-on card for PC/XT/ AT and compatibles

74F50729 Synchronizing dual D-type flip-flop with edge-triggered set and reset with metastable immune characteristics

PACS codes: Qx, Nc, Kv, v Keywords: Digital data acquisition, segmented HPGe detectors, clock and trigger distribution

Status of SVT front-end electronics M. Citterio on behalf of INFN and University of Milan

GFT Channel Digital Delay Generator

Technical Information Manual

X3M. Multi-Axis Absolute MEMS Inclinometer Page 1 of 13. Description. Software. Mechanical Drawing. Features

Transcription:

Clock and control fast signal specification M.Postranecky, M.Warren and D.Wilson 02.Mar.2010 1 Introduction...1 2 Fast signal connectors and cables...1 3 Timing interfaces...2 XFEL Timing Interfaces...2 Non XFEL timing interface...3 Standalone timing interface...3 4 FEE fast signal interface...4 Line 1: clock...4 Line 2: control commands...4 Line 3: VETO and NOVETO commands...5 Line 4: FEE status...5 5 AC coupling...6 6 Grounding...7 7 VETO and NOVETO protocol details...7 Variable delay VETO protocol...7 Fixed delay VETO protocol...8 1 Introduction This document defines fast signals (protocols, connectors and cables) used by the Clock and Control (CC) system of XFEL 2D pixel detectors. Clearly the document s content may have to be modified; known open issues are highlighted with bold text. The latest version of the document can be found at: http://www.xfel.eu/project/organization/work_packages/wp_76/daq/2d_pixel_detectors/clock_and_con trol/ Three 2D pixel detector collaborations (AGIPD, DSSC and LPD) are building detectors for use at XFEL. These detectors will use common backend DAQ and control (CC) systems and consist of three sub-systems: Front End Electronics (FEE) of the detectors. The FEEs are detector specific custom implementations. Train Builder (TB) data readout. The TB is used to build data into frame ordered bunch train specific contiguous blocks, which are then sent on to a computing farm layer for processing. Clock and Control (CC). The CC interfaces to the XFEL timing system, generates and receives fast signals used to synchronize detector FEEs, and distributes configuration information using the fast signals or network messages. 2 Fast signal connectors and cables A schematic showing the CC fast signal connectivity is show in Figure 1. RJ45 connectors are used for both the inputs and outputs. CAT5 ( or better ) cables will be used. Socket A is the default input from the XFEL Timing Receiver (TR) board. Socket B is used for the - 1 -

external non-xfel timing sources like LCLS. The pin assignments of A and B are defined so that the sockets can be combined into a single socket if there are physical space limitations. Timing input cable lengths are expected to be short, e.g. the XFEL TR resides in the same crate as the CC. The inputs from the TR board and the external inputs will normally be DC-coupled, but should the option of being AC-coupled be included? Figure 1 Timing and FEE connection schematic The CC fan-out board(s) perform fan-out and fan-in of the fast signals to and from the FEEs. It has yet to be determined how the Veto signal will be inputted to the CC master. Multiple Veto sources are defined and the interface between the CC master and the Veto unit still needs to be decided on. 3 Timing interfaces Timing interfaces (clocks and triggers) are required to allow detector operations at XFEL and other, non-xfel, light sources like LCLS. Additionally standalone running using internally generated timing signals is required. The different timing interfaces required are described below. XFEL Timing Interfaces The XFEL TR board will provide front panel and backplane timing signal outputs. Four 5-pair har-link (http://www.harting-connectivitynetworks.de/en/produkte/produktauswahl/interface-steckverbinder/metrische-interface-steckverbinderim-20-mm-kontaktraster-har-link) front panel connectors provide access to the encoded trigger message data stream, the 4.51 MHz bunch clock and to programmable outputs. The later can provide trigger pulse (train START, STOP ), delayed trigger pulses (START + 15ms ), gates, bursts and

patterns. The backplane PCIe will allow interrupt driven CC crate CPU synchronization to the TR. Note that no technical or user documentation exists for the TR board which is currently being prototyped. Table 1 defines TR signals required by the CC. Name Signal type Socket / Pin Signal Purpose Bunch Differential A / 1+2 4.51 MHz clock 4.51 MHz clock used to clock generate the synch clock (see Encoded trigger message Differential Line 1). A / 4+5 Not Yet Known Used to generate control (START, STOP ) messages (see Line 2). Table 1 XFEL TR timing signals required The encoded trigger message stream contains START train, STOP train, and other trigger messages. The CC requirements for trigger messages should be made known to the XFEL timing group, as should input signal characteristics (, CML ). Non XFEL timing interface Table 2 defines non XFEL timing signals required by the CC. Name Signal type Socket / Pin Signal Purpose Bunch Differential B / 7+8 750 khz to 4.51 MHz clock used to clock 6 MHz clock generate the synch clock (see Trigger Differential Line 1). B / 3+6 Pulse only? Used to generate START control message (see Line 2). Table 2 Non XFEL timing signals required (not finalized) The information in this section can only be finalized when timing interface information is know from LCLS, Spring8, FLASH, etc. Open issues: Where do the signals come from? Must additional crate hardware be foreseen to access timing information? Are unique bunch numbers used and, if so, how can they be accessed? In view of these uncertainties the following will also be provided: Bunch clock: LVTTL or NIM, single ended, LEMO 00, permissible range 750 khz - 6 MHz. Slower clocks below 750 khz might require additional (external) circuitry and will not meet jitter etc. specs. Faster clocks above 6 MHz acceptable but will not permit synchronous veto. Trigger input: LVTTL or NIM, single ended, LEMO 00 Standalone timing interface An internally generated 4.51 MHz clock is provided for standalone running. This also provides, smoothly and without glitches, the 99.31 Mhz clock in case of loss of the machine clock from the TR board.

Standalone trigger could be generated by software via FPGA. 4 FEE fast signal interface This section describes the CC FEE fast signal interface. The FEE interface is used to distribute synchronization and bunch train configuration information train ID, bunch pattern ID ) to the FEEs. Currently only one quantity is sent from the FEE to the CC. A schematic showing the proposed connection functionality is shown in Figure 1 and fast signal definitions in Table 3. If shown necessary, the CC could individually skew the fast command lines 2 & 3, w/respect to the clock Line 1, using the programmable ODELAY feature of the 'Virtex-5' Xilinx FPGAs. This provides 64 steps of about 75ps delay ( up to 4.8 ns range ). Name Receiver Signal type Socket Signal Purpose / Pin Line 1 FEE Differential C / 1+2 99.31 MHz clock Synch Clock Line 2 FEE Differential C / 4+5 99.31 MHz clock encoded message Control command (START train, STOP train ) Line 3 FEE Differential C / 7+8 99.31 MHz clock encoded bunch number AND / OR 4.51 MHz clock encoded Veto command Line 4 CC Differential yes/no C / 3+6 C / 3+6 FEE status Table 3 CC FEE (FPGA-FPGA) fast signal definitions Line 1: clock Line 1 distributes a 99.31 MHz synchronization clock derived from the glitch less input bunch clock. It is proposed that the overall jitter of this clock at the CC output will be 100 ps or better. Line 1 is to be AC-coupled on the FEE ( see Section 5 ) Line 2: control commands Line 2 distributes control commands to the FEEs by encoding information on a 99.31 MHz carrier clock. Command Start bits Payload Purpose START 1100 Train ID (32 bit) + Bunch pattern ID (8 bit) + ex-or checksum (8 bit) Notifies FEE of coming train (in N clocks = 15ms) and provides train relevant information

STOP 1010 none Notifies FEE that train ended RESET 1001 none Reset FEE micro-controller, etc. via FPGA reserved 1111 Table 4 Line 2 control commands The Train ID will be a unique number for each train, correlated to ( or derived from ) the Train ID information received from TR. It could be generated by a counter on the CC and incremented by '1' for each subsequent train (while storing the original Train ID as received from TR ). Line 2 is to be AC-coupled on the FEE ( see Section 5 ) Line 3: VETO and NOVETO commands Line 3 distributes a VETO and NOVETO commands to the FEEs. Two protocols are defined for distributing the command: a 99.31 MHz clock-synchronised with the bunch number to be vetoed encoded on it, or a 4.51 MHz clock-synchronised with yes/no (high/low) encoding and with a fixed (but re-configurable) latency. The later provides backwards compatibility with the original veto signal definition. A detailed description of the two protocols is given in Section 7 As described above, the 99.31 MHz message, being acceptable to LPD, AGIPD and DSSC, will be distributed. The LPD will receive the VETO message with a fixed ( but reconfigurable ) latency w/respect to the pulse being VETO'd or NOVETO'd. For AGIPD and DSSC, the VETO messages will have variable latency, but still remain synchronised to the 4.51 MHz clock. Command Start bits Payload Purpose VETO 110 Bunch ID (12 bit) + Reserved (4 bins) Identifies the Bunch ID to be vetoed NO-VETO 101 current Bunch ID (12 bit) + No bunch veto set Reserved (4 bits) reserved 111 Table 5 Bunch ID VETO command definition Line 3 is to be AC-coupled on the FEE ( see Section 5 ) Line 4: FEE status Line 4 allows the CC to see that the fast signal cable C is correctly plugged in and that FEEs are powered up. The signal send is currently defined to be a continuous clock derived from the 99.31 MHz clock on Line 1. It was agreed to keep open the option of encoding information onto Line 4.

Line 4 is to be AC-coupled on the CC ( see Section 5 ) 5 AC coupling All four fast lines need to be AC-coupled. Lines 1,2 and 3 will be AC-coupled on the FEEs, line 4 will be AC-coupled on the CC. The suggested default capacitive AC-coupling circuit is shown in Figure 2 below. This also requires a balanced signal to operate correctly, and simple Manchester coding ( using the 99.31 MHz clock ) is suggested for line 2 and 3 signals ( and possibly for line 4 status if any encoded information is carried ) An alternative version of capacitive AC-coupling, Figure 3, with feedback latching which does not require balanced signals is being investigated and will be tested. If this proves capable of working at our frequencies, it should be adopted instead. Figure 2 Suggested default AC coupling schematic Figure 3 Alternative (preferred?) AC coupling solution

6 Grounding The inputs from the TR board and from external inputs will have cable shielding ( outer or individual twisted pair ) connected directly to ground on CC via replaceable 0Ω surface mounted resistors. Lines 1 though 4 will be grounded as follows: Any cable shielding ( outer or individual twisted pair ) is to be connected directly to ground on CC via replaceable 0Ω surface mounted resistors. 7 VETO and NOVETO protocol details Details concerning the two VETO and NOVETO protocols defined are given in the following subsections. The protocols differ most significantly in the delay of the VETO signal; in one the delay is fixed w.r.t. the pulse being vetoed, in the other the delay is variable. The Veto Management Unit will exist on a separate card next to the CC master or, if possible, using the existing hardware. In either case, multiple input connectors will be required. The number of connectors is determined by the number of Veto sources allowed. Variable delay VETO protocol Details of the variable delay VETO protocol, as seen by the FEE modules, are shown in Figure 4. Messages are delivered at 99.31 Mbps and have encoded content: 3 command bits, 12 bunch number bits, and 4 reserved bits. VETO messages arrive with varying delays (mt + Δt, where m = 0,1 ) relative to the pulse being vetoed. NOVETO messages arrive with a fixed delay relative to the current pulse. In the schematic the fixed delay is Δt. The value of Δt is configured at the CC and applied to all VETO/NOVETO signals sent to the FEE modules. Figure 4 Variable delay VETO protocol The following observations can be made: received bunch #s do NOT run from 1 to bunches-in-train in steps of 1.

a given bunch # can be received twice (NOVETO then VETO), once (NOVETO or VETO), or never. a given bunch # cannot be vetoed twice. the bunch # of NOVETOs increases and marks the actual bunch counter the bunch # of VETOs is random (e.g. diagram: 104 proceeds 101) VETO delivery to the FEEs is pipelined by the CC. (e.g. VETOs 104 and 101 may have arrived at the CC in the same T period and have been delivered to the FEEs in consecutive T slots) the value of Δt is detector specific and configured and imposed at the CC VETO(104) means that FEE storage locations used by bunch # 104 can be reused receiving a NOVETO does not mean that the bunch # will never be vetoed (e.g. diagram: 104 Fixed delay VETO protocol Details of the fixed delay VETO protocol, as seen by the FEE modules, are shown in Figure 5. Messages can be either: A 4.51 MHz yes/no (e.g. 1 = accept, 0 = reject) clock, or the 100 MHz message as used by the variable delay VETO protocol. The definition to be used is configuared at the CC. VETO or NOVETO messages arrive with the same fixed delay relative to the pulse being vetoed or not vetoed, respectively. In this mode the VETOs and NOVETOs issued by the CC have a fixed latency, in the diagram above the fixed delay is 3T + Δt. The delay value is nt + Δt and is detector specific, applies to all FEE modules, and is configured and generated at the CC (n = 0,1 ). Figure 5 Fixed velay VETO protocol The following observations can be made: For 99.31 MHz messages, the bunch # runs from 1 to bunches-in-train in steps of 1. For 99.31 MHz messages a given bunch # will be received only once.