XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing.

Slides:



Advertisements
Similar presentations
1 Ethernet Wiring Qutaibah Malluhi CSE Department Qatar University.
Advertisements

1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Clock and Control Status Matt Warren, on behalf of Martin Postranecky.
XFEL 2D Pixel Clock and Control System Train Builder Meeting, UCL 11 May 2010 Erdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing,
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 4 December 2008 Martin Postranecky Matt Warren, Matthew Wing.
XFEL C+C HARDWARE : REQUIREMENTS 1) To receive, process and store Timing Signals from TR ( Timing Receiver ) in same crate : - 5 MHz Bunch CLOCK - Bunch.
Μ TCA Crate Timing Receiver Crate Processor 100 MHz Clock Start/Info/Stop Bunch Veto FEE Status C+C Master FEE C+C Fanout Slave FEE 5MHz Clock Trigger.
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 18 February 2010 Martin Postranecky, Matt Warren, Matthew Wing.
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 23 April 2009 Martin Postranecky Matt Warren, Matthew Wing.
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 18 February 2010 Martin Postranecky, Matt Warren, Matthew Wing.
XFEL 2D Pixel Clock and Control System Train Builder Meeting, MANNHEIM 02 July 2009 Martin Postranecky, Matt Warren, Matthew Wing.
Version: :08 CET Trig (10 to 30 Hz) DAQ ready event Start event bunches End event 0 ms ~1 ms 15 ms ~1 ms 33 to 100 ms interrupt CPU DAQ/CC.
NOVETO(1) VETO(2) NOVETO(3) VETO(4) NOVETO(5) 3T + Δt fixed decision latency T T LPD latency is fixed = VETO or NOVETO messages arrive with the.
XFEL 2D Pixel Clock and Control System. 2 OUTLINE June meeting at DESY June meeting at DESY C&C Hardware structure C&C Hardware structure C&C Firmware.
XFEL Meeting, Hamburg September 2010 Erdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing XFEL 2D Pixel Clock and Control System.
Thoughts on C&C hardware modularity. Concept Master and Slave will be proper AMC AMC boards will be fairly smart: Micro-controller Small FPGA? –So no.
XFEL Meeting, RAL 20 January 2011 Erdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing XFEL 2D Pixel Clock and Control System.
Contents Page Learning targets
Bus arbitration Processor and DMA controllers both need to initiate data transfers on the bus and access main memory. The device that is allowed to initiate.
1 Dynamic Interconnection Networks Buses CEG 4131 Computer Architecture III Miodrag Bolic.
Homework Reading Machine Projects Labs
Processor Data Path and Control Diana Palsetia UPenn
Presenter : Cheng-Ta Wu Kenichiro Anjo, Member, IEEE, Atsushi Okamura, and Masato Motomura IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39,NO. 5, MAY 2004.
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
DeviceNet 2400, 2500, 26/2700.
Chapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 1 Introduction to Networking.
HEP UCL Cambridge University Imperial College London University of Manchester Royal Holloway, University of London University College London Matthew Warren,
New Corporate Identity Poster Design Department of Physics and Astronomy, University College London Erdem Motuk, Martin Postranecky, Matthew Warren, Matthew.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Clock & Control Card Status 31 March 2009 Martin Postranecky / Matt Warren.
Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
Week 1.
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Trigger System Functions Master/Slave Operation –Located in Readout Boards’ BE-FPGA, but only active as Master in one slot. –Master controls asynchronous.
20 Feb 2002Readout electronics1 Status of the readout design Paul Dauncey Imperial College Outline: Basic concept Features of proposal VFE interface issues.
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
28 June 2004 ATLAS SCT/Pixel TIM FDR/PRR Martin Postranecky TIM OVERVIEW1 ATLAS SCT/Pixel TIM FDR/PRR 28 June 2004 Physics & Astronomy HEP Electronics.
ATLAS SCT/Pixel TIM FDR/PRR 28 July 2004 Interfaces to ROD Crate Components - Matt Warren1 Physics & Astronomy HEP Electronics Matthew Warren John Lane,
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
Firmware based Array Sorter and Matlab testing suite Final Presentation August 2011 Elad Barzilay & Uri Natanzon Supervisor: Moshe Porian.
September 8-14, th Workshop on Electronics for LHC1 Channel Control ASIC for the CMS Hadron Calorimeter Front End Readout Module Ray Yarema, Alan.
FADC progress in Vienna Reported by H.Ishino for Vienna FADC group M.Pernicka and H.Steininger.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
C. Combaret DIF_GDIF_MDIF_D ASU 6x 24 HR2 ASU USB Hub RPi USB2 DCC SDCC RPi USB 1 hub+Rpi for 4 cassettes 1 DCC for 8 cassettes (1 spare) Trigger.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Xiangming Sun1PXL Sensor and RDO review – 06/23/2010 STAR XIANGMING SUN LAWRENCE BERKELEY NATIONAL LAB Firmware and Software Architecture for PIXEL L.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
A Super-TFC for a Super-LHCb (II) 1. S-TFC on xTCA – Mapping TFC on Marseille hardware 2. ECS+TFC relay in FE Interface 3. Protocol and commands for FE/BE.
Integration and commissioning of the Pile-Up VETO.
XFEL In-kind Review Committee Meeting, 11 May 2009 Parliament British Museum XFEL clock and control system In kind contribution proposal Development and.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
NA 62 TTC partition timing T.Blažek, V.Černý, R.Lietava, M.Kovaľ, M.Krivda Bratislava, Birmingham We are developing procedures for timing parameter adjustment.
ATLAS SCT/Pixel TIM FDR/PRR28 June 2004 TIM Requirements - John Lane1 ATLAS SCT/Pixel TIM FDR/PRR 28 June 2004 Physics & Astronomy HEP Electronics John.
1 Timing of the calorimeter monitoring signals 1.Introduction 2.LED trigger signal timing * propagation delay of the broadcast calibration command * calibration.
CTA Trigger and Integration Meeting, HU Berlin, /25/2016K.-H. Sulanke, DESY1 A Digital Trigger for CTA Cameras K.-H. Sulanke DESY.
L0 processor for NA62 Marian Krivda 1) , Cristina Lazzeroni 1) , Roman Lietava 1)2) 1) University of Birmingham, UK 2) Comenius University, Bratislava,
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
XFEL 2D Pixel Clock and Control System Train Builder Meeting, UCL 11 May 2010 Erdem Motuk, Martin Postranecky, Matt Warren, Matthew Wing,
Clock & Control Timing and Link 29 July 2008 Matt Warren Maurice Goodrick, Bart Hommels, Marc Kelly, ABSTRACT: A data acquisition system is described.
Clock & Control Timing and Link 29 July 2008 Matt Warren Maurice Goodrick, Bart Hommels, Marc Kelly, ABSTRACT: A data acquisition system is described.
Presentation transcript:

XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing

2 22 October 2009C+C μ TCA Crate Timing Receiver Crate Processor 100 MHz Clock Start/Info/Stop Bunch Veto FEE Status C+C Master FEE C+C Fanout FEE 5MHz Clock Trigger + Telegram ID Bunch Veto 4 FEE 4 C+C Fanout Slave XFEL Timing Interface Other 1-20MHz? Clock Trig/Data Overview MINIMUM FANOUT REQUIREMENTS : 16 + Fanouts, expandable 3x Outputs ( diff. LVDS, STP/UTP ) 1x Input ( single line, level only )

3 22 October 2009C+C Fast Commands -1- Three Fast Command Lines : - Fanned out to all FEEs via C&C Fan-outs -Same cable lengths -No individual adjustable delays - AC coupling on FEEs : Opto/magnetic or Balanced codes ??? 1) ~100 MHz CLOCK : 1) ~100 MHz CLOCK : Integer multiple of the incoming ~5 MHz clock from T.R. Integer multiple of the incoming ~5 MHz clock from T.R. PLL-ed to the incoming 5 MHz clock PLL-ed to the incoming 5 MHz clock Un-interrupted Un-interrupted Fixed phase relationship to the 5 MHz clock ??? Fixed phase relationship to the 5 MHz clock ???

4 22 October 2009C+C Fast Commands -2- 2) START-TRAIN / TRAIN-ID / BUNCH-STRUCTURE-ID / STOP 2) START-TRAIN / TRAIN-ID / BUNCH-STRUCTURE-ID / STOP Synchronised to the 100 MHz clock Synchronised to the 100 MHz clock Fixed phase relationship to the 5 MHz clock ??? Fixed phase relationship to the 5 MHz clock ??? a) START : 110 = 3 bits a) START : 110 = 3 bits Start pulse to start about ~ 15 msec ( programmable in Start pulse to start about ~ 15 msec ( programmable in 200 nsec steps ??? ) before the train arrives 200 nsec steps ??? ) before the train arrives b) TRAIN-ID : = 32 / 64 bits ??? - CheckSum / Parity ??? b) TRAIN-ID : = 32 / 64 bits ??? - CheckSum / Parity ??? [ from 'XFEL timing system' - K. Rehlich : The train number is a unique number. From the DAQ point of The train number is a unique number. From the DAQ point of view it should never repeat and should continuously count view it should never repeat and should continuously count ( e.g. Event number = GPS time divided by something ) even ( e.g. Event number = GPS time divided by something ) even if it requires more that 32bits. ] if it requires more that 32bits. ] - Does this include Trigger Type ??? - Does this include Trigger Type ???

5 22 October 2009C+C Fast Commands -3- c) BUNCH-STRUCTURE-ID : = 16 bits c) BUNCH-STRUCTURE-ID : = 16 bits – CheckSum / Parity ??? – CheckSum / Parity ??? [ from 'XFEL timing system' - K. Rehlich : The bunch pattern format has to be defined, but it will be more The bunch pattern format has to be defined, but it will be more than just an on/off bit per bunch as it must include beamline than just an on/off bit per bunch as it must include beamline information ( not all bunches go to all beamlines ), etc… information ( not all bunches go to all beamlines ), etc… - Assume maximum 3000 bunches per train d) STOP : 101 = 3 bits d) STOP : 101 = 3 bits Stop pulse Stop pulse

6 22 October 2009C+C Fast Commands -4- 3) VETO BUNCH : ??? Synchronised to the 100 MHz clock Synchronised to the 100 MHz clock Any phase relationship to the 5 MHz clock ??? Any phase relationship to the 5 MHz clock ??? a) VETO PULSE : 11 = 2 bits a) VETO PULSE : 11 = 2 bits b) BUNCH-ID : = 12 bits ( max bunches/train ) b) BUNCH-ID : = 12 bits ( max bunches/train ) c) -reserved- : = < 6 bits ??? c) -reserved- : = < 6 bits ??? [ From new 'C&C Veto Definition' : [ From new 'C&C Veto Definition' : The output signal satisfies the following : The output is a 100 MHz clock The output signal satisfies the following : The output is a 100 MHz clock allowing 20 bit payload. 12 bits are used for bunch number encoding, allowing 20 bit payload. 12 bits are used for bunch number encoding, additional payload bits are reserved for later use. The output is additional payload bits are reserved for later use. The output is synchronised ( by the VU ) for use at the FEE to the 5MHz bunch clock synchronised ( by the VU ) for use at the FEE to the 5MHz bunch clock in the same way as other C&C fast signals ] in the same way as other C&C fast signals ] NOTE : We may only have 19 or 18 bits available ???

7 22 October 2009C+C Fast Commands -5- 1)~100 MHz CLOCK 2) START-TRAIN / TRAIN-ID / BUNCH-STRUCTURE-ID / STOP a) START : 110 = 3 bits } a) START : 110 = 3 bits } b) TRAIN-ID = 32 / 64 bits } ~86 bits => b) TRAIN-ID = 32 / 64 bits } ~86 bits => c) BUNCH-STRUCTURE-ID = 16 bits } 860 nsec max c) BUNCH-STRUCTURE-ID = 16 bits } 860 nsec max d) STOP : 101 = 3 bits } d) STOP : 101 = 3 bits } 3) VETO BUNCH a) VETO PULSE : 11 = 2 bits } a) VETO PULSE : 11 = 2 bits } b) BUNCH-ID = 12 bits } MAX. 20 bits b) BUNCH-ID = 12 bits } MAX. 20 bits c) -reserved- = < 6 bits ??? } c) -reserved- = < 6 bits ??? }

8 22 October 2009C+C FEs Status Feedback STATUS FEEDBACK from all FEEs :STATUS FEEDBACK from all FEEs : Each FEE plugged-in & powered-up Each FEE plugged-in & powered-up Status only : OK = ?? MHz clock Status only : OK = ?? MHz clock ERROR = high / low / floating... ERROR = high / low / floating...

9 22 October 2009C+C Network Messages from C&C - RUN CONFIGURATION As received from T.R. as raw Telegram : As received from T.R. as raw Telegram : - Trigger Number - same as Train ID ( bits ) ??? - Trigger Number - same as Train ID ( bits ) ??? ( does this include Trigger Type ??? ) ( does this include Trigger Type ??? ) - Bunch Pattern - Bunch Pattern - ??? - ???

10 22 October 2009C+C Questions -1- : - Is there any RESET from C&C Controller ( blade ) e.g.. to be sent as FAST COMMAND on START / STOP e.g.. to be sent as FAST COMMAND on START / STOP line to FEEs line to FEEs - Run Configuration - Snapshot(s) are not C&C generated messages – should come from are not C&C generated messages – should come from Run / DAQ Controller Run / DAQ Controller

11 22 October 2009C+C Veto Unit Questions / Comments -2- Presume 5 MHz Clock and Train-Start ( ? ) are common to Veto Detector and to Veto Unit 2 scenarios : 1)Veto sent synchronous to bunch it vetoes Dont need to decode bunch-id bits if fast enough Synchronised to 5MHz No start-bits etc for serialised bunch-id Inputs bunch/train phase aligned using delays Synchronised to 100 MHz clock 10ns steps for bunch alignment ( ? ) Single bunch-id counter used on all inputs Time-in one input using common Train-Start or Test-Veto signal Veto Detector sends veto on bunch 0 VU counts delay/offset between Train-Start / Test-Veto and Veto-0 Can time in all other inputs to first one 2)Veto un-connected in time with bunch Send vetoed bunch-ids ASAP On any 100MHz clock Needs start-bit Timing-in can be done independently for each input Complicates duplicate checking logic a little Could use start-stop line for this Note : At some point proper timing in with a single bunch will need to be done …

12 22 October 2009C+C C&C Crate TB Crate FEE ARM CPU / Network messaging Summarise our understanding of the system : Control in centralised, but not on the C&C PC C&C PC takes care of requesting/accepting/fetching info from C&C Card/s This includes snapshots and train info from TR DAQ PC requests/accepts/fetches info from C&C PC C&C Card communicates with FEE FPGA Outstanding Questions : Should the C&C have a command for resetting the FEE uC ?? Or should this be a special power-supply line reset ?? The doc implied the FEE requesting a snapshot from C&C – really ?? DAQ PC C&C PC TB PC C&C Card FEE FPGA FEE uC TB Card

13 22 October 2009C+C Fanout 8 TCP/ IP Local AMC Control To FEE FPGA TR / Machine etc. Signals or inputs from C&C Master Outputs to Fanouts c) Single integrated card Master PLL etc

14 22 October 2009C+C End…..