XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 18 February 2010 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.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
0 - 0.
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
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 22 October 2009 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.
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.
Homework Reading Machine Projects Labs
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
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.
Binary Lesson 3 Hexadecimal. Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex)
Addition 1’s to 20.
Test B, 100 Subtraction Facts
Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
Week 1.
Datorteknik IntegerAddSub bild 1 Integer arithmetic Depends what you mean by "integer" Assume at 3-bit string. –Then we define zero = 000 one = 001 Use.
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
Press any key to continue by Marc Ruocco 1 High-Speed Interfaces: FPDP and RACEway RACE, RACEway and RACE++ are trademarks of Mercury Computer Systems,
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.
Range Measurement Unit Messenger Mercury Laser Altimeter Basic Familiarization.
Time Division Multiplexing School of Physics and Astronomy Department of Particle Physics Elissavet Papadima 29/5/2014.
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,
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Prototype Test of SPring-8 FADC Module Da-Shung Su Wen-Chen Chang 02/07/2002.
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
Leo Greiner IPHC meeting HFT PIXEL DAQ Prototype Testing.
PHENIX upgrade DAQ Status/ HBD FEM experience (so far) The thoughts on the PHENIX DAQ upgrade –Slow download HBD test experience so far –GTM –FEM readout.
September 8-14, th Workshop on Electronics for LHC1 Channel Control ASIC for the CMS Hadron Calorimeter Front End Readout Module Ray Yarema, Alan.
HBD FEM Overall block diagram Individual building blocks Outlook ¼ detector build.
Muon Electronics Upgrade Present architecture Remarks Present scenario Alternative scenario 1 The Muon Group.
2 4 Dec 2008C+C Crate Layout CC Master TCLKA TCLKB RX17 TX17 RX18 TX18 RX19 TX19 RX20 TX20 (wired-OR) Bunch Clock FE Clock (99MHz) Trig (Start) EncClock.
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)
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.
16th May 2007 MICE tracker phone meeting 1 Setup test bench/ Installation DATE Hideyuki Sakamoto 16 th May 2007 MICE phone meeting.
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.
The Clock Distribution inside the CTA Camera Axel Kretzschmann, DESY Zeuthen,
L0 processor for NA62 Marian Krivda 1) , Cristina Lazzeroni 1) , Roman Lietava 1)2) 1) University of Birmingham, UK 2) Comenius University, Bratislava,
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 18 February 2010 Martin Postranecky, Matt Warren, Matthew Wing

2 18 February 2010C+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 18 February 2010C+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 : ANALOG ADuM3441 ( 3+1 ) magnetic BUT : Max. skew : 2ns/channel, 12ns/device => prog. delays BUT : Max. skew : 2ns/channel, 12ns/device => prog. delays 1) ~100 MHz CLOCK : IF 4.5 MHz bunch clock => 99 MHz 1) ~100 MHz CLOCK : IF 4.5 MHz bunch clock => 99 MHz 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 ( 20x / 22x ) PLL-ed to the incoming 5 MHz clock ( 20x / 22x ) Un-interrupted Un-interrupted Fixed phase relationship to the 5 MHz clock Fixed phase relationship to the 5 MHz clock

4 18 February 2010C+C Fast Commands -2- 2A) START-TRAIN / TRAIN-ID / BUNCH-STRUCTURE-ID / STOP 2A) 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 : 1100 = 4 bits a) START : 1100 = 4 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 bits b) TRAIN-ID : = 32 bits 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 up view it should never repeat and should continuously count up GPS time NOT USED ??? Generated on C&C ( counter ? ) ?? GPS time NOT USED ??? Generated on C&C ( counter ? ) ?? - Does this include Trigger Type NO – SOFTWARE ONLY - Does this include Trigger Type NO – SOFTWARE ONLY

5 18 February 2010C+C Fast Commands -3- c) BUNCH-STRUCTURE-ID : = 8 bits MAX c) BUNCH-STRUCTURE-ID : = 8 bits MAX probably only ~16 patterns for any given run/day probably only ~16 patterns for any given run/day d) CheckSum of b) and c) = 8 bits MAX d) CheckSum of b) and c) = 8 bits MAX - Assume maximum 3000 bunches per train e) STOP : 1010 = 4 bits e) STOP : 1010 = 4 bits Stop pulse at the END OF THE TRAIN Stop pulse at the END OF THE TRAIN

6 18 February 2010C+C Additional Fast Commands -3B- 2B) RESET uC : 1001 = 4 bits to reset the FE micro-controller via the FE FPGA to reset the FE micro-controller via the FE FPGA 2C) Reserved : 1111 = 4 bits

7 18 February 2010C+C Fast Commands -4- 3A) VETO BUNCH : ??? Synchronised to the 100 MHz clock Synchronised to the 100 MHz clock Adjustable phase relationship to the 5 MHz clock : YES Adjustable phase relationship to the 5 MHz clock : YES ( up-to 10 clocks for LPD ) ( up-to 10 clocks for LPD ) a) VETO FOLLOWS command : 110 = 3 bits a) VETO FOLLOWS command : 110 = 3 bits b) BUNCH-ID : = 12 bits b) BUNCH-ID : = 12 bits c) -reserved- : = < 5 bits ??? c) -reserved- : = < 5 bits ??? 3B) NO VETO ??? a) NO-VETO-FOLLOWS command : 101 = 3 bits a) NO-VETO-FOLLOWS command : 101 = 3 bits b) BUNCH-ID : = 12 bits b) BUNCH-ID : = 12 bits c) -reserved- : = < 5 bits ??? c) -reserved- : = < 5 bits ???

8 18 February 2010C+C Fast Commands -5- 1) ~100 MHz CLOCK 2A) START-TRAIN / TRAIN-ID / BUNCH-STRUCTURE-ID / STOP a) START : 1100 = 4 bits } a) START : 1100 = 4 bits } b) TRAIN-ID = 32 bits } ~52 bits => b) TRAIN-ID = 32 bits } ~52 bits => c) BUNCH-STRUCTURE-ID = 8 bits } 520 nsec max c) BUNCH-STRUCTURE-ID = 8 bits } 520 nsec max d) CheckSum = 8 bits } d) CheckSum = 8 bits } e) STOP : 1010 = 4 bits e) STOP : 1010 = 4 bits 2B) RESET uC : 1001 = 4 bits 2C) - Reserved - : 1111 = 4 bits

9 18 February 2010C+C Fast Commands -5B- 3A) VETO BUNCH a) VETO FOLLOWS Command : 110 = 3 bits a) VETO FOLLOWS Command : 110 = 3 bits b) BUNCH-ID = 12 bits b) BUNCH-ID = 12 bits c) -reserved- = < 5 bits ??? c) -reserved- = < 5 bits ??? 3B) NO VETO ??? a) NO-VETO-FOLLOWS command : 101 = 3 bits a) NO-VETO-FOLLOWS command : 101 = 3 bits b) BUNCH-ID : = 12 bits b) BUNCH-ID : = 12 bits c) -reserved- : = < 5 bits ??? c) -reserved- : = < 5 bits ???

10 18 February 2010C+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...

11 18 February 2010C+C Network Messages from C&C - RUN CONFIGURATION Received from T.R. via backplane / software Received from T.R. via backplane / software

12 18 February 2010C+C Questions -1- :

13 18 February 2010C+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 HOW ?? 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 Note : At some point proper timing in with a single bunch will need to be done …

14 18 February 2010C+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 : YES !! 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

15 18 February 2010C+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

16 18 February 2010C+C End…..