A. Blas 09 Jan 2009 DSP BC Daughter cards1/21 DSP beam control Overview LEIR BC From M.E. Angoletta.

Slides:



Advertisements
Similar presentations
HARDWARE Rashedul Hasan..
Advertisements

Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
Ultrafast 16-channel ADC for NICA-MPD Forward Detectors A.V. Shchipunov Join Institute for Nuclear Research Dubna, Russia
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 12/5/2003 Multi-channel Data Acquisition System Mid-Term Presentation.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Large Area, High Speed Photo-detectors Readout Jean-Francois Genat + On behalf and with the help of Herve Grabas +, Samuel Meehan +, Eric Oberla +, Fukun.
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 26/4/2004 Multi-channel Data Acquisition System Final_A Presentation.
Aztec PC Oscilloscope Michael Mason Jed Brown Josh Price Andrew Youngs.
Development of novel R/O electronics for LAr detectors Max Hess Controller ADC Data Reduction Ethernet 10/100Mbit Host Detector typical block.
Uli Schäfer 1 FPGAs for high performance – high density applications Intro Requirements of future trigger systems Features of recent FPGA families 9U *
1 Design of the Front End Readout Board for TORCH Detector 10, June 2010.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
New PSB Beam Control A. Blas, P. Leinonen, J. Sanchez-Quesada Working group meeting 27/08/ Clock distribution 2.Motherboard to daughter cards connectors.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
TOF Electronics Qi An Fast Electronics Lab, USTC Sept. 16~17, 2002.
September 22, 2005 ESF Workshop-Perugia 1 Virgo Control Electronic upgrade Annecy/Pisa/EGO B.Mours.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Main Board Status MB2 v1 for FATALIC & QIE 10/06/2015Roméo BONNEFOY - LPC Clermont1 Roméo BONNEFOY François Vazeille LPC Clermont-Ferrand.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Booster Cogging Upgrades Craig Drennan, Kiyomi Seiya, Alex Waller.
Digital Signal Processing and Generation for a DC Current Transformer for Particle Accelerators Silvia Zorzetti.
NEDA collaboration meeting at IFIC Valencia, 3rd-5th November 2010 M. Tripon EXOGAM2 project Digital instrumentation of the EXOGAM detector EXOGAM2 - Overview.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Dariusz Makowski, Technical University of Łódź LLRF review, DESY, 3-4 December 2007 Advanced.
M. Lo Vetere 1,2, S. Minutoli 1, E. Robutti 1 1 I.N.F.N Genova, via Dodecaneso, GENOVA (Italy); 2 University of GENOVA (Italy) The TOTEM T1.
Beam phase and intensity measurement Grzegorz Kasprowicz Richard Jacobsson.
Micro-Research Finland Oy Timing System Modules Jukka Pietarinen EPICS Collaboration Meeting, Argonne, June 2006.
11th March 2008AIDA FEE Report1 AIDA Front end electronics Report February 2008.
Gueorgui ANTCHEVPrague 3-7 September The TOTEM Front End Driver, its Components and Applications in the TOTEM Experiment G. Antchev a, b, P. Aspell.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
EEE440 Computer Architecture
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
28/03/2003Julie PRAST, LAPP CNRS, FRANCE 1 The ATLAS Liquid Argon Calorimeters ReadOut Drivers A 600 MHz TMS320C6414 DSPs based design.
Xiangming Sun1PXL Sensor and RDO review – 06/23/2010 STAR XIANGMING SUN LAWRENCE BERKELEY NATIONAL LAB Firmware and Software Architecture for PIXEL L.
22/11/2005A. Blas1 DSP Board data bus timing There are two types of data transfer within the DSP board: Lead by the DSP Lead by the VME master. A dedicated.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
W.Skulski APS April/2003 Eight-Channel Digital Pulse Processor And Universal Trigger Module. Wojtek Skulski, Frank Wolfs University of Rochester.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
1 FADC Boards for JPARC-K Preliminary Proposal Mircea Bogdan November 16, 2006.
New PSB Beam Control Upgrade of daughter cards Alfred Blas PSB rf Working group meeting 24/03/ Generation of REV clocks 2.Synchronization with.
Adapting the LHC 1TFB electronic circuit to other equipments The candidates are: PS 1TFB PS TFB PS CBFB PSB TFB PSB 1TFB 1 Alfred Blas Working group meeting.
1 Linac/400 MeV BPM System Plans and Status Nathan Eddy PIP Meeting 9/7/11.
1 April 2009 NA62 DAQ meeting1 LKr calorimeter readout project H.Boterenbrood, A.Ceccucci, B.Hallgren, M.Piccini, H. Wendler.
Requirements for the PS/PSB TFB board 1 Alfred Blas Working group meeting - 07 December Sampling frequency 2.Required Delayed Clocks.
Peter LICHARD CERN (NA62)1 NA62 Straw tracker electronics Study of different readout schemes Readout electronics frontend backend Plans.
1 Level 1 Pre Processor and Interface L1PPI Guido Haefeli L1 Review 14. June 2002.
VME64x Digital Acquisition Board (TRIUMF-DAB) Designed to handle 2 channels of 12-bit 40MHz Data Will be used for both the LTI & LHC beam position system.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
4 Channel DAC (Petri): 3 boards available for testing (version 1)-> now Transition board-> 22/12/2010 End of Hardware tests-> 28/01/2011 Attached DDC firmware.
DHH Status Igor Konorov TUM, Physics Department, E18 PXD DAQ workshop Münzenberg –June 9-10, 2011.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
Beam Wire Scanner (BWS) serial link requirements and architecture
PS TFB Upgrade possibilities for the Hardware of the LEIR type Beam Control Information from: M.E. Angoletta, P. Baudrenghien, E, Bracke, A. Butterworth,
MTCA.4 Based Local Oscillator and Clock Generation Module for the European XFEL. Uroš Mavrič on Behalf of the MSK Group / DESY and ISE / Technical University.
Introduction to Microprocessors and Microcontrollers
Front-end electronic system for large area photomultipliers readout
Combiner functionalities
Commodity Flash ADC-FPGA Based Electronics for an
New PSB beam control rf clock distribution
Digital Signal Processors-1
Presentation transcript:

A. Blas 09 Jan 2009 DSP BC Daughter cards1/21 DSP beam control Overview LEIR BC From M.E. Angoletta

A. Blas 09 Jan 2009 DSP BC Daughter cards2/21 DSP Board 6 unit VME board with: 1 DSP - ADSP-21160M from Analog Devices – 32 bit floating point – Super Harvard Architecture (SHARC), Clocked at 80 MHz (40 MHz external), 600 MFLOPS - with separate data and instruction busses, dedicated I/O processor with separate bus - 64 bit external data bus clocked at 40 MHz (320 MB/s), 6 byte link Ports at 80 MHz (80 MB/s), 2 serial ports at 40 Mbits/s. 1 MB Flash memory, to restore the DSP software. 4 MB DSP RAM, to store external or calculated functions (like voltage and rf program, steering …) 4 daughter board sites, with two 69 pin connectors for each site 1 Timing interface, based on an AlteraTM FPGA 1 VME interface, based on an AlteraTM FPGA 1 Data interface, based on an AlteraTM FPGA that controls the data flux on Board. 4 MB RAM, for acquisition of internal signals (diagnostics) 16 Trigger inputs (via the RTM) 1 Event link, basically a serial link connected to the rear transition module that allows taking into account 256 events with a hundred ns resolution (not used at CERN). 6 link ports, each port allows up to 8 bit data transfer per DSP internal clock cycle (80 MHz)

A. Blas 09 Jan 2009 DSP BC Daughter cards3/21 MDDS Master DDS daughter card AD9858 1GHz clock DDS ADF4106 PLL + CLV1000A VCO (10MHz => 1 GHz) No SRAM Altera Stratix EP1S10F484C5 2 Tagged clock outputs with IEEE1394 mechanical standard Tagging inside the FPGA with external ELMEC 1.2ns delay (needs control of logical cells placement) Designed in November 2004

A. Blas 09 Jan 2009 DSP BC Daughter cards4/21 IEEE 1394b clock distribution 1394b bilingual connector 8 x 5 mm 1.5 ns tag  333 Ms/s equivalent throughput Standard used up to 3.2 Gb/s over 5m cables 9 pin connector LVDS electrical standard

A. Blas 09 Jan 2009 DSP BC Daughter cards5/21 Clock Fan-out VME card 1 input with IEEE1394 mechanical standard 1 Optical input / 1 optical output 9 outputs IEEE1394 Delay error between channels below 390 ps Designed in June 2005

A. Blas 09 Jan 2009 DSP BC Daughter cards6/21 DDC Digital Down Converter daughter card 4 channels 14 bit ADC AD 9245BCP-80 (80 MHz max, 366 mW, pipeline = 7 cycles) 2 MB/10 ns SRAM (1 M x 16 bits) 1 Altera Stratix EP1S20F484C5 1 Tagged clock input with IEEE1394b mechanical standard and de-tagging and divide-by-2 circuit (50% duty cycle and minimum pulse width required by the ADC).

A. Blas 09 Jan 2009 DSP BC Daughter cards7/21 DDC Digital Down Converter daughter card – FPGA content 1.4 down mixers with 4 different LO frequencies 2.Programmable CIC, 0 -> 3 stages, 1 ->15 decimation, 1 -> 255 comb delay, normalization gain 3.CIC, FIR and LO parameters loaded synchronously with a specific double-tag. Allows on-flight MDDS harmonic change 4.I/Q frequency discriminator 5.LO frequency measurement (counter) 6.4 different acquisition lines memorizing 4 of 28 different inner signals. Sampling at a chosen sub- harmonic of the main clock. Up to 1 M points per signal at a maximum sampling of 80 MHz. 7.Channel, CIC, FIR ON/OFF 8.Reset phase accumulator at each tag 1 channel / 4

A. Blas 09 Jan 2009 DSP BC Daughter cards8/21 SDDS Slave DDS daughter card 4 channel 14 bit DAC AD 9754BCP-80 (125 MHz max, 185 mW, no pipeline delay) 2 MB/10 ns SRAM (1 M x 16 bits) Altera Stratix EP1S20F484C5 1 Tagged clock input with IEEE1394 mechanical standard and de-tagging and divide-by-2 circuit (50% duty cycle and minimum pulse width required by the ADC). High/Low DAC gain (0 – 18 dB)  17 bit DAC for lowest amplitude signals

A. Blas 09 Jan 2009 DSP BC Daughter cards9/21 SDDS Slave DDS daughter card 1.4 up-converters with 4 different LO frequencies 2.LO parameters loaded synchronously with a specific double-tag. Allows on-flight MDDS harmonic change 3.LO frequency measurement (counter) 4.4 different acquisition lines memorizing 4 of 28 different inner signals. Sampling at a chosen sub-harmonic of the main clock. Up to 1 M points per signal at a maximum sampling of 80 MHz. 5.Channel ON/OFF 6.Reset phase accumulator at each tag 7.Automatic DAC gain setting with respect to required output amplitude 8.Phase modulation from SRAM

Stratix 1 FPGA filling-up ! DDC with only 2/4 LO’s + only 2 nd order FIR And no monitoring of inner signals Compiled with an old version of Quartus; now it is much faster A. Blas 09 Jan 2009 DSP BC Daughter cards 10/21

A. Blas 09 Jan 2009 DSP BC Daughter cards11/21 Daughter card – FPGA interconnections (Here the DDC)

A. Blas 09 Jan 2009 DSP BC Daughter cards12/21 FPGA market (to be completed, very fast survey!) Xilinx Virtex 2 XC2V2000-6FG676C (Tuner loop) Altera Stratix EP1S20F484C5 (Leir daughter cards) Xilinx Virtex 5 XC5VLX110 1FF676I 1FF676IAltera Stratix III EP3SL150F78 0C4N Altera Cyclone EP3C80F780C6 Logic cells 24,19218,460110,592142,00081,284 Clock frequency < 269 MHz < 450 MHz (-1) < 550 MHz (-3 speed grade < 450 MHz < 600 MHz (C2 version) <340 MHz RAM [kb] 1,0001, ,5002, x 18 multipliers I/O Price [USD] (Avnet) 2184 (Altera) 368 Serial links 177 LVDS channels (840 Mbps each)

A. Blas 09 Jan 2009 DSP BC Daughter cards13/21 FPGA market (to be completed, very fast survey!)

A. Blas 09 Jan 2009 DSP BC Daughter cards14/21 DC to Mother Board data exchange  The DSP on the motherboard sends/receives values to/from registers on the Daughter cards.  Some of these register values are within a servo loop and the acquisition time is important for the stability of this loop.  In the present Leir BC, the data flow within a loop is as follow: 1. The DDC measures I/Q of a variable 2. I/Q is read by the DSP which processes the value taking into account values from other channels, other daughter cards and other DSP boards if required. The DSP process is triggered by a so-called fast clock. 3. A correction value is sent to the MMDS to change the rf clock frequency and possibly parameters of the SDDS

A. Blas 09 Jan 2009 DSP BC Daughter cards15/21 DC to Mother Board data exchange

A. Blas 09 Jan 2009 DSP BC Daughter cards16/21 Loop delay Rule of thumb: The loop will be sufficiently stable if its delay leads to a phase lag <  /4 at the unity loop gain frequency  Loop computation time + Hdw delay< [1/(8.Fmod)] < 21 us for PSB & LEIR (3.Fs=6kHz) < 26 us for PS (3.Fs=4.8 kHz) In LEIR, the in-loop DSP is sampling the data every T S-DSP = 12.5 us (80 kHz). The loop delay within the DSP = import data from DDC ( ≈14us delay within the DSP With a 80 kHz DSP sampling clock, an averaging (CIC) of MHz-samples in the DDC would be adequate. We actually use 256, which means <6.4 us extra delay. This means that we are approaching the reasonable limits required for the LEIR and PSB phase loop. The DSP process time in LEIR is the most time consuming and multiplying by a factor 2 this process speed would almost double the possible bandwidth.

A. Blas 09 Jan 2009 DSP BC Daughter cards17/21 Phase jitter within the Loop The error signal within a loop as described in the previous slide is transferred from the rf clock domain (DDC) to another clock domain (DSP) and again into another clock domain (MDDS or SDDS). From DDC to DSP the uncertainty is 1 rf clock period (<25 ns)+ 1 wait state of the DSP (25 ns) The induced phase jitter is (+/- 360 o x F MOD ) x Δt i = +/- 18 m o / kHz of modulation From DDC to MDDS the uncertainty is just 1 MDDS clock period (8 ns)(the 125 MHz on the frequency word acquisition side) The total phase jitter within the loop is thus around +/- 21 m o / kHz of modulation To this value should be added-up the effect of any change in the DSP computation time from one DSP interrupt clock tic to the following and also all the erratic wait states of the DSP acquisitions that occur in between this DDC acquisition to the MDDS frequency change.

A. Blas 09 Jan 2009 DSP BC Daughter cards18/21 Communication links With the new motherboard, the Daughter cards will communicate with the DSP via a FPGA. This architecture allows the use of many kinds of communication links, serial or parallel. VME BUS FPGA RAM Special Function Board DSP Special Function Board Special Function Board Other DSP Board Other DSP Board Other DSP Board Other DSP Board Do we want the “Daughter card” concept, or do we use detached “special function” boards? Do we use one dedicated link for each daughter card or do we share a single link (all cards receiving the interrupt clock)? Special Function Board Special Function Board Special Function Board Other DSP Board Other DSP Board Other DSP Board Other DSP Board

A. Blas 09 Jan 2009 DSP BC Daughter cards19/21 DC to Mother Board data flow Samtec QSE, 80 (4 small ribons of 20 coax cables on a single connector 160 Gb/s (at 2 GHz) 3.2 Gb/s (at 40 MHz) Used in LHC Gigabit serial link with 8b/10b coding 16bit// 50 MHz -> 1Gb/s serial 800Mb/s Full duplex at the same rate Used in LHC Very common standard DSP bus + mother board to daughter card bus at 40 MHz and 32 bit word: 1.28 Gb/s (to be divided by the number of wait states +2 = 4) 320 Mb/sUsed in Leir DSP DC Link port clocked at 40 MHz (can be used at 80 MHz) 320 Mb/sUsed in Leir DSP Single 32b transfer: < 25ns+25ns = 50 ns with // DSP bus < 32/800MHz + 20 ns + header ? = 60 ns + 10ns? with Gigabit 8b/10b link

A. Blas 09 Jan 2009 DSP BC Daughter cards20/21 Conclusion  The FPGA on the daughter cards needs to be upgraded (except MDDS). It could be the same as the one used on the DSP board (market survey !!)  Finding ADCs and DACs not-requiring 50% duty cycle would allow an increase of the rf sampling clock  Anti-alias filter off-Board or with an easy plug-in / plug-out connector  JTAG connector from VME and Front-Panel  The clock distribution connectors should be more robust, same as for the data serial link (market survey !!)  The data link from DC to FPGA could be serial  Having an ADC (resp. DAC) on a DAC (resp. ADC) board would be convenient and it would allow to use the board for a 1TFB and a TFB (there is a developer available for this job!)

A. Blas 09 Jan 2009 DSP BC Daughter cards21/21 Conclusion Possible architecture