TDC and ADC Implemented Using FPGA

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

A Low-Power Wave Union TDC Implemented in FPGA
JLab High Resolution TDC Hall D Electronics Review (7/03) - Ed Jastrzembski.
Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
On-Chip Processing for the Wave Union TDC Implemented in FPGA
Digital to Analog and Analog to Digital Conversion
1 MTD Readout Electronics J. Schambach University of Texas Hefei, March 2011.
The NO A APD Readout Chip Tom Zimmerman Fermilab May 19, 2006.
Mixed Signal Chip Design Lab Analog-to-Digital Converters Jaehyun Lim, Kyusun Choi Department of Computer Science and Engineering The Pennsylvania State.
ADC and TDC Implemented Using FPGA
Improving Single Slope ADC and an Example Implemented in FPGA with 16
Kuno-Group B4 Yuuki Matsumoto A report for Graduation research Development of Trigger Board for MPPC (for MuSIC experiment) A report for Graduation research.
20 Feb 2002Readout electronics1 Status of the readout design Paul Dauncey Imperial College Outline: Basic concept Features of proposal VFE interface issues.
1 Arden Warner, FNAL Beam Loss Monitors operating at Cryogenic Temperature with FPGA- Based TDC Signal Processing Arden Warner, Manfred.
Introduction to Analog-to-Digital Converters
Multichannel Analyzers A multichannel pulse-height analyzer (MCA) consists of an ADC, a histogramming memory, and a visual display of the histogram recorded.
Development of novel R/O electronics for LAr detectors Max Hess Controller ADC Data Reduction Ethernet 10/100Mbit Host Detector typical block.
PH4705/ET4305: A/D: Analogue to Digital Conversion
Ph. Farthouat CERN ELEC 2002 ADC 1 Analog to Digital Conversion  Introduction  Main characteristics –Resolution –Dynamic range –Bandwidth –Conversion.
Low Cost TDC Using FPGA Logic Cell Delay Jinyuan Wu, Z. Shi For CKM Collaboration Jan
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
Analog to Digital Converters (ADC) 1
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
University of Tehran 1 Interface Design Transforms Omid Fatemi.
TDC and ADC Implemented Using FPGA
MiniBoone Detector: Digitization at Feed Through Student: John Odeghe ; SC State, Fermi Lab Intern Supervisor: JinYuan Wu; Fermi Lab 1.
Resource Awareness FPGA Design Practices for Reconfigurable Computing: Principles and Examples Wu, Jinyuan Fermilab, PPD/EED April 2007.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
TDC for SeaQuest Wu, Jinyuan Fermilab Jan Jan. 2011, Wu Jinyuan, Fermilab TDC for SeaQuest 2 Introduction on FPGA TDC There are.
A Novel Digitization Scheme with FPGA-based TDC for Beam Loss Monitors Operating at Cryogenic Temperature Wu, Jinyuan, Arden Warner Fermilab Oct
Mar. 12, 2009Wu, Jinyuan Fermilab1 Several Topics on TDC and the Wave Union TDC implemented in FPGA Wu, Jinyuan Fermilab LBNL, Mar.
McGill Increasing the Time Dynamic Range of Pulse Measurement Techniques in Digital CMOS Applications of Pulse Measurement: Duty-Cycle Measurement Pulsed.
1 Arden Warner, FNAL Beam Loss Monitors operating at Cryogenic Temperature with FPGA- Based TDC Signal Processing Arden Warner and Jin-Yuan.
Fermi National Laboratories & Tuskegee University College of Electrical Engineering Aaron Ragsdale: SIST Intern Mentor: Jin-Yuan Wu Summer 2009 SIST Internship.
A Demo Prototype for Digitization at Feed Through Wu, Jinyuan, Scott Stackley, John Odeghe Fermilab Nov
Digitization at Feed Through R&D (2) Digitizer Performance Evaluation Student: John Odeghe ; SC State, Fermi Lab Intern Supervisor: JinYuan Wu; Fermi Lab.
Digitization at Feed Through Wu, Jinyuan Fermilab Feb
Rectifier-Capacitor Threshold Tracer for mu2e Straw Chamber Wu, Jinyuan Fermilab Jan
CI Lecture Series Summer 2010 An Overview of IQ Modulation and Demodulation Techniques for Cavity LLRF Control.
June 2009, Wu Jinyuan, Fermilab MicroBooNe Design Review 1 Some Data Reduction Schemes for MicroBooNe Wu, Jinyuan Fermilab June, 2009.
Data Reduction Schemes for MicroBoone Wu, Jinyuan Fermilab.
JESD204B High Speed ADC Interface Standard
Wu, Jinyuan Fermilab May. 2014
End OF Column Circuits – Design Review
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Digital-to-Analog Analog-to-Digital
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
vXS fPGA-based Time to Digital Converter (vfTDC)
Journées VLSI-FPGA-PCB Juin 2010 Xiaochao Fang
Jinfan Chang Experimental Physics Center , IHEP Feb 18 , 2011
A General Purpose Charge Readout Chip for TPC Applications
EI205 Lecture 13 Dianguang Ma Fall 2008.
96-channel, 10-bit, 20 MSPS ADC board with Gb Ethernet optical output
Chapter 13 Linear-Digital ICs
DCH FEE 28 chs DCH prototype FEE &
Hellenic Open University
Digital-to-Analog Analog-to-Digital
A Low Power Readout ASIC for Time Projection Chambers in 65nm CMOS
Simple ADC structures.
Status of n-XYTER read-out chain at GSI
Simple ADC structures.
Created by Art Kay Presented by Peggy Liska
Lesson 8: Analog Signal Conversion
Digital Control Systems Waseem Gulsher
BESIII EMC electronics
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Phase Frequency Detector &
Presentation transcript:

TDC and ADC Implemented Using FPGA Wu, Jinyuan Fermilab, PPD/EED Feb. 2007

Introduction FPGA devices are considered belonging to digital world while ADC is an analog measurement function. ADC can be implemented directly with FPGA plus a few passive (resistors and capacitors) components. Bench tests are done for ADC 6-bit@22.5 MHz and 9-bit@2MHz. Other speed/resolution combinations are possible. The ADC is based on ramp & compare with TDC implemented inside FPGA with 0.69 ns LSB (200ps RMS). More than 32 channels of TDC are tested in Altera Cyclone (EP1C6Q240C6, $20) devices.

FPGA ADC Using FPGA AMP & Shaper ADC AMP & Shaper ADC Analog signals from AMP & Shapers are directly fed to FPGA pins. FPGA output and passive RC network are used to generate ramping reference voltage VREF. The input voltages and VREF are compared using FPGA differential input receiers. The times of transitions representing input voltage values are digitized by TDC blocks in FPGA. AMP & Shaper ADC AMP & Shaper ADC FPGA AMP & Shaper TDC AMP & Shaper TDC AMP & Shaper TDC AMP & Shaper TDC V1 V2 V3 VREF R1 R1 V4 C T1 T2 T3 T4 R2

TDC Using FPGA (LSB 1ns+-) Data In Multiple Sampling Clock Domain Changing Trans. Detection & Encode Q0 Q1 Q2 Q3 QF QE QD Coarse Time Counter DV T0 T1 TS 4x Sampling: 250 MHz: 1ns(LSB), 288ps(RMS) 400 MHz: 625ps(LSB), 180ps(RMS)

TDC Inside FPGA Sampling rate: 360 MHz x4 phases = 1.44 GHz. Clock Domain Changing TDC Inside FPGA Multiple Sampling QF Q3 Sampling rate: 360 MHz x4 phases = 1.44 GHz. LSB = 0.69 ns. Logic elements with critical timing are assigned as shown. c0 c0 QE Q2 c90 QD Q1 c180 Q0 c270 c90 DV T0 T1 Trans. Detection & Encode 4Ch Coarse Time Counter TS Logic elements with non-critical timing are freely placed by the fitter of the compiler.

Bench Test of TDC Flash FPGA RAM RAM eZ80 TDC Flash FPGA RAM RAM eZ80 45MHz Micro-processor address line driven by 45 MHz clock. 32 TDC bin = 1 clock cycle (0.69ns LSB) RAM Flash RAM FPGA eZ80 TDC 45MHz Micro-processor data line. Data out from different sources.

Differential Nonlinearity FPGA Quasi-random Input TDC The “beat” between input and 45MHz. 45MHz The placement above gives even bin width. Occupancy for each bin should 25%. The residual DNL < 690*(26-22)/25 = 110ps

ADC: Discharge Curve Reference: V-T Curve FPGA TDC TDC VREF The differential receivers are nearly rail-to-rail comparators, but perform best from 0.5-2.2V. Measurement range: 9 bits: Ramping time 512x0.69ns = 353ns. >2MHz sampling rate. Dynamic range: about 12 bits: 1.6mV/ns or 1.1mV/LSB @ 350ns. 2.2V/1.1mV ~ 212. 50 270pF 511 t = 146 ns

ADC Test: Reference on BD3_19 FPGA TDC TDC VREF 50 50 t = 59 ns 1000pF 100 Longer time constant causes the V-T curve to be nearly linear. Sampling rate: 22.5MHz (2/88ns). Measurement range: 6 bits. Sensitivity: 10mV/LSB.

ADC Test: Waveform Digitization on BD3_19 Input Waveform Converted Raw Data Input Waveform, Overlap Trigger

ADC Test: Reference on BD4_22 FPGA TDC TDC VREF 50 50 150pF t = 7.5 ns 100 Shorter time constant causes the V-T curve to be exponential. Sampling rate: 22.5MHz (2/88ns). Measurement range: 6 bits. Sensitivity < 6mV/LSB. Dynamic Range: ~8 bits.

ADC Test: Waveform Digitization on BD4_22 Raw Data Small pulses are emphasized by the trailing ramp measurement. Input Waveform The data measured by trailing ramp is much more smoother than the leading ramp for small pulses. Converted

ADC Test: Summary Time Constant Ramping Time & Sampling Rate Sensitivity Full Scale Range Measurement & Dynamic Range BD4 Discharge 146 ns 353 ns > 2MHz 1.1mV /LSB (@ 0.3V) .25-2.7V 9 bits & ~12 bits BD3_19 59 ns 44 ns 22.5MHz 10mV 1.4-2.05V 6 bits BD4_22 7.5 ns 44ns <6mV (@1.02V) 1.02-2.48V 6 bits & ~8 bits

Notes Like in any analog circuits, noise reduction is the key to reach good resolution. Two primary measures are taken: Appropriate arrangement of the grounding for analog signals. Microprocessor are put in “wait” state during ramping and comparing. Large noise due to single ended TTL are bad. But small and random noise from differential outputs can be good for “dithering”. This is to be studied. Being non-linear, the RC exponential charging curve is bad. But it allows expansion of dynamic range, which is good. The conversion to linear scale in FPGA is very simple.

Remarks The ADC functions tested have met requirements of many applications in high energy physics and accelerator instrumentation. The FPGA ADC will not completely replace commercial ADC or ASIC. But it is appealing for sake of convenience (like for slow control/monitoring) or for low cost with large channel count (like for straw tube or TPC chambers).

Beyond The TDC-readout system has excessive capabilities. Don’t hastate to ask more if you need. TDC: Arrival time + pulse width. Chamber info in trigger.

TDC FPGA (32 Ch) 4Ch

The FPGA TDC Test Card Shown here is Fermilab Beam Loss Monitor (BLM) Control Card VME Interface (As hit input) FPGA Serial Port Microprocessor

TDC-Readout System TDC Cards Readout Cards AMP Cards

Readout Card TDC CC DD SD SC A0 RJ45 A B A1 A2 A3 A4 A5 A6 A7 B0 B1 B2

CC = plain 26.5MHz clock most of time. On start, send marker D0 to reset TS and EV counters. For L1 trigger, send D1, TS and EV are stored into header. TS is mod 294 (super bunch?). Every 294 cycles, send D1 for TS error checking. The header contains TS and EV so that EV errors can be detected offline. D0 D1 TS EV Header load inc clr Decoder CCx1 CCx4 CC D0 D1 Error Detect