A Gray Code Based Time-to-Digital Converter Architecture and its FPGA Implementation

Similar documents
Experimental Verification of a Timing Measurement Circuit With Self-Calibration

Analog / Mixed-Signal Circuit Design Based on Mathematics

Sample Test Paper - I

Design at the Register Transfer Level

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

Lecture 10, ATIK. Data converters 3

Chapter 8. Low-Power VLSI Design Methodology

Written exam with solutions IE Digital Design Friday 21/

UNSIGNED BINARY NUMBERS DIGITAL ELECTRONICS SYSTEM DESIGN WHAT ABOUT NEGATIVE NUMBERS? BINARY ADDITION 11/9/2018

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

Nyquist-Rate D/A Converters. D/A Converter Basics.

Digital Fundamentals

ENGG 1203 Tutorial _03 Laboratory 3 Build a ball counter. Lab 3. Lab 3 Gate Timing. Lab 3 Steps in designing a State Machine. Timing diagram of a DFF

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Digital Circuits ECS 371

課程名稱 : 數位邏輯設計 P-1/ /6/11

Digital Fundamentals

CHW 261: Logic Design

04. What is the Mod number of the counter circuit shown below? Assume initially reset.

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

EECS150 - Digital Design Lecture 23 - FSMs & Counters

Introduction to the Xilinx Spartan-3E

PGT104 Digital Electronics. PGT104 Digital Electronics

Analog and Telecommunication Electronics

Lecture 2 Review on Digital Logic (Part 1)

Digital Electronic Meters

ir. Georgi Radulov 1, dr. ir. Patrick Quinn 2, dr. ir. Hans Hegt 1, prof. dr. ir. Arthur van Roermund 1 Eindhoven University of Technology Xilinx


Successive approximation time-to-digital converter based on vernier charging method

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

CS470: Computer Architecture. AMD Quad Core

PARALLEL DIGITAL-ANALOG CONVERTERS

ECE 341. Lecture # 3

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

Exam for Physics 4051, October 31, 2008

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Logic. Combinational. inputs. outputs. the result. system can

Fundamentals of Digital Design

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

Boolean Logic Continued Prof. James L. Frankel Harvard University

Pipelined Viterbi Decoder Using FPGA

Implementation Of Digital Fir Filter Using Improved Table Look Up Scheme For Residue Number System

DE58/DC58 LOGIC DESIGN DEC 2014

Number Representation and Waveform Quantization

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

Time Allowed 3:00 hrs. April, pages

Low Latency Architectures of a Comparator for Binary Signed Digits in a 28-nm CMOS Technology

ECE380 Digital Logic. Positional representation

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

Digital Signal 2 N Most Significant Bit (MSB) Least. Bit (LSB)

An Analysis of Stochastic Self-Calibration of TDC Using Two Ring Oscillators

3 Logic Function Realization with MSI Circuits

Design of Sequential Circuits

Testability. Shaahin Hessabi. Sharif University of Technology. Adapted from the presentation prepared by book authors.

CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

Edited By : Engr. Muhammad Muizz bin Mohd Nawawi

A 74.9 db SNDR 1 MHz Bandwidth 0.9 mw Delta-Sigma Time-to-Digital Converter Using Charge Pump and SAR ADC

EE247 Lecture 16. Serial Charge Redistribution DAC

Digital Circuits, Binary Numbering, and Logic Gates Cornerstone Electronics Technology and Robotics II

RAO PAHALD SINGH GROUP OF INSTITUTIONS BALANA(MOHINDER GARH)123029

Philadelphia University Student Name: Student Number:

HIGH RESOLUTIO TIME-I TERVAL MEASUREME T SYSTEMS APPLIED TO FLOW MEASUREME T. Sławomir Grzelak, Marcin Kowalski, Jarosław Czoków and Marek Zieliński

Digital Logic and Design (Course Code: EE222) Lecture 1 5: Digital Electronics Fundamentals. Evolution of Electronic Devices

BCD-TO-DECIMAL DECODER HIGH-VOLTAGE SILICON-GATE CMOS IW4028B TECHNICAL DATA

COMBINATIONAL LOGIC FUNCTIONS

DESIGN AND IMPLEMENTATION OF ENCODERS AND DECODERS. To design and implement encoders and decoders using logic gates.

EXPERIMENT Bit Binary Sequential Multiplier

Novel Devices and Circuits for Computing

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Performance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate

Mark Redekopp, All rights reserved. Lecture 1 Slides. Intro Number Systems Logic Functions

An Approximate Parallel Multiplier with Deterministic Errors for Ultra-High Speed Integrated Optical Circuits

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

Chapter 5. Digital systems. 5.1 Boolean algebra Negation, conjunction and disjunction

Preparation of Examination Questions and Exercises: Solutions

Synchronous Sequential Circuit Design. Digital Computer Design

Slide Set 6. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

A novel Capacitor Array based Digital to Analog Converter

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

Digital Electronics Circuits 2017

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Successive Approximation ADCs

Digital Design through Arduino

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

UNIT II COMBINATIONAL CIRCUITS:

Vidyalankar. S.E. Sem. III [EXTC] Digital System Design. Q.1 Solve following : [20] Q.1(a) Explain the following decimals in gray code form

Written exam with solutions IE1204/5 Digital Design Monday 23/

EE 435. Lecture 36. Quantization Noise ENOB Absolute and Relative Accuracy DAC Design. The String DAC

Answers. Name: Grade: Q1 Q2 Q3 Q4 Total mean: 83, stdev: 14. ESE370 Fall 2017

Hardware testing and design for testability. EE 3610 Digital Systems

CHW 261: Logic Design

High-Speed, High-Resolution, Radiation-Tolerant SAR ADC for Particle Physics Experiments

Cs302 Quiz for MID TERM Exam Solved

Transcription:

A Gray Code Based Time-to-Digital Converter Architecture and its FPGA Implementation Congbing Li Haruo Kobayashi Gunma University Gunma University Kobayashi Lab

Outline Research Objective & Background Flash TDC and Problems Gray Code Gray Code TDC Architecture FPGA Implementation RTL Verification of Glitch-free Characteristic Conclusion

Research Objective Objective Development of Time-to-Digital Converter (TDC) architecture with high-speed and small hardware Approach Utilization of Gray code

Research Background TDC plays an important role in nano-cmos era Voltage Resolution Time Resolution Voltage CMOS Scaling Voltage Time CMOS Scaling Voltage-domain resolution facing difficulties due to reduced supply voltage Time Time-domain resolution becoming superior TDC measures time interval between two signal transitions, into digital signal. (widely used in ADPLLs, jitter measurements, time-domain ADC)

Flash TDC T Dout=2 Digital output (Dout) proportional to time difference between rising edges (T) Time resolution τ START STOP τ τ τ τ τ τ T Dout=1

Problems of Flash TDC An n-bit flash TDC with Advantages High-speed timing measurement Single-event timing measurement All digital implementation quantization levels Disadvantages delay elements, Flip-Flops n-bit thermometer-to-binary code encoder Large circuits High power consumption

Gray Code (1/2) Gray Code a binary numeral system where two successive values differ in only one bit Table. 4-bit Gray Code Decimal Binary Code Gray Code numbers 0 0000 0000 1 0001 0001 2 0010 0011 3 0011 0010 4 0100 0110 5 0101 0111 6 0110 0101 7 0111 0100 8 1000 1100 9 1001 1101 10 1010 1111 11 1011 1110 12 1100 1010 13 1101 1011 14 1110 1001 15 1111 1000 For Gray code, between any two adjacent numbers, only one bit changes at a time Gray code data is more reliable compared with binary code

Gray Code (2/2) In a ring oscillator, between any two adjacent states, only one output changes at a time. This characteristic is very similar to Gray code. τ τ τ τ τ τ τ τ R0 R1 R2 R3 R4 R5 R6 R7 8-stage Ring Oscillator Output 4-bit Gray Code R0 R1 R2 R3 R4 R5 R6 R7 G3 G2 G1 G0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 0 1 1 0 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 0 1 1 0 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 For any given Gray code, its each bit can be generated by a certain ring oscillator.

Gray Code based TDC Architecture (1/2) A Gray code TDC architecture can be conceived by grouping a few ring oscillators Initial Value START STOP MUX MUX MUX τ τ D Q G0 τ τ τ τ D Q G1 τ τ τ τ τ τ τ τ Gray Code G0 G1 G2 G3 G4 G5 Gray code Decoder Binary Code B0 B1 B2 B3 B4 B5 D Q G2 MUX τ τ τ τ 8 buffers D 8 buffers Q G3 MUX τ τ τ τ 16 buffers D 16 buffers D Q G4 Q G5 Figure. Proposed 6-bit Gray code TDC

Gray Code based TDC Architecture (2/2) (MSB) (LSB) G5 G4 G3 G2 G1 G0 6-bit Gray Code Binary Code B5 B4 B3 B2 B1 B0 (MSB) (LSB) B5=G5 B4=B5 B3=B4 B2=B3 B1=B2 B0=B1 G4 G3 G2 G1 G0 Figure. Gray code decoder Flash vs. Proposed TDCs for a measurement range of 2 6 Flash TDC Proposed TDC Number of delay elements 64 62 Number of Flip-flop 64 6 The maximum stage 64 32 for a measurement range of 2 n significant hardware reduction as # of bits increases.

FPGA Implementation (1/3) Proposed TDC implementation on Xilinx FPGA B5 B4 B3 B2 B1 B0 START InitialValue Note: ADC is difficult to implement with full digital FPGA.

FPGA Implementation (2/3) 63 60 56 52 48 44 Output of Gray Code TDC 40 36 32 28 24 20 16 12 8 4 Linear characteristics 0 0 40 80 120 160 200 240 280 320 360 400 440 480 520 560 600 630 Elapsed Time (ns) Measurement results of the proposed TDC with FPGA (6-bit case). Proposed TDC operation is confirmed with FPGA evaluation.

FPGA Implementation (3/3) Similarly, 8-bit Gray code TDC architecture was implemented on FPGA. 255 240 224 208 192 176 Output of Gray Code TDC 160 144 128 112 96 80 64 48 32 16 Linear characteristics 0 0 160 320 480 640 800 960 1120 1280 1440 1600 1760 1920 2080 2240 2400 2550 Elapsed Time (ns) Measurement results of the proposed TDC with FPGA (8-bit case)

RTL Verification of Glitch-free Characteristic (1/2) The proposed Gray code TDC can provide a glitch-free binary code sequence even there are mismatches between the delay stages. RTL simulation was conducted to verify this characteristic. Initial Value START STOP MUX MUX MUX 9.7 10 D Q G0 10 10 10 10 D Q G1 Gray Code 10 10 10 10 10 10 10 10 G0 G1 G2 G3 G4 G5 Gray code Decoder Binary Code B0 B1 B2 B3 B4 B5 D Q G2 MUX 10 10 10 10 8 buffers D 8 buffers Q G3 Simulated TDC with delay mismatch MUX 10 10 10 10 16 buffers D 16 buffers D Q G4 Q G5

RTL Verification of Glitch-free Characteristic (2/2) RTL simulation result shows that no matter there are mismatches among the delay stages or not, the proposed Gray code TDC can always output a glitch-free binary code sequence. 63 60 56 52 48 Mismatches exist Output of Gray Code TDC 44 40 36 32 28 24 20 16 12 8 4 No mismatch 0 0 40 80 120 160 200 240 280 320 360 400 440 480 520 560 600 630 Elapsed Time (ns)

Conclusion We have proposed a gray code based TDC architecture - Comparable performance to Flash TDC - Significant hardware & power reduction for a measurement range of 2 n Number of delay elements Flash TDC 2 n Proposed TDC 2 n 2 Significant hardware reduction as # of bits increases. Number of Flip-flop 2 n n The maximum stage 2 n 2 n 1 We have implemented the proposed TDC with FPGA Confirmed its operation