Giter Club home page Giter Club logo

analog-design-of-dynamic-comparator's Introduction

Analog-Design-of-Dynamic-Comparator

This project is about building a Clocked Comparator to be used in a 4-bit Flash ADC & minimize the ADC Figure of Merit given by FoM = Power / (fs*2ENOB).

1) PreAmp Stage:

Preamp

  • The focus in the preamp design was to be fast, more than to have a very high gain, since the regenerative latch provides the huge gain.
  • The ideal current source & Mcx are used to provide the biasing for Mc (current mirror) so the overdrive voltage of Mc won’t take much of the headroom, while providing good gain & speed.

2) Regenerative Latch Stage:

latch

  • Cc1 & Cc2 are coupling capacitors that can be used for offset cancellation & blocks the DC level from the Preamp stage.
  • The transmission gates cause the inputs & outputs of the back-to-back inverters to reset to VDD/2 during the latch-reset phase. This speeds up the regeneration during the latch-regenerating phase.

3) RS Latch Stage:

rslatch

  • The RS latch stage is for the comparator to maintain the sampled & regenerated value when the latch output is reset.
  • The input-inverters of the RS latch block are sized to move the inverters’ switching threshold point such that an input of 0.9V (during latch-reset phase) is considered high, thus causing the output-inverters to maintain the received information.

Clocked Comparator

DynamicComparator

Ideally, How the switches & the coupling capacitors work:

During clk = 1:	
   𝑉_πΆπ‘Žπ‘ = 𝑉_𝐢𝑀  βˆ’ 𝑉_𝐼𝑁  
𝑉_𝑔 = 𝑉_𝐢𝑀
During clk = 0:
  𝑉_𝑔  =  𝑉_πΆπ‘Žπ‘ + 𝑉_𝑅𝑒𝑓 = 𝑽_π‘ͺ𝑴 βˆ’ (𝑽_𝑰𝑡  βˆ’ 𝑽_𝑹𝒆𝒇) 
𝑉_𝑔n = 𝑽_π‘ͺ𝑴 βˆ’ (𝑽_𝑰𝑡n βˆ’ 𝑽_𝑹𝒆𝒇n)
𝑉_𝑔p = 𝑽_π‘ͺ𝑴 βˆ’ (𝑽_𝑰𝑡p βˆ’ 𝑽_𝑹𝒆𝒇p)
𝑉in(to_Preamp) = 𝑉_𝑔p - 𝑉_𝑔n = βˆ’ (𝑽_𝑰𝑡p βˆ’ 𝑽_𝑹𝒆𝒇p) + (𝑽_𝑰𝑡n βˆ’ 𝑽_𝑹𝒆𝒇n) = 2 * (𝑽_𝑰𝑡n βˆ’ 𝑽_𝑹𝒆𝒇n)


Overdrive test:

Testbench:

testbench
In this test, We want to find the smallest difference between Vin_p & Vin_n that the Comparator can detect (give the right output value), & this tells us the resolution of this comparator at this frequency.
testbench


4-bit Differential Flash ADC:

flash ADC

Whole System Testbench:

wholesystem

wholesystem


References:

-> My project on google drive:
https://drive.google.com/drive/folders/1W9ip4MpMZNf3IQsoFQkhgg6QaUya4Yp4
-> EE288 Lecture Notes:
https://drive.google.com/drive/folders/12Qqfw_TX1i7dvVVYXksaSdHV4gth1OD5

-> Check our paper:
M. Aldacher, M. Nasrollahpour, S. Hamedi-Hagh, β€œA low-power, high-resolution, 1 GHz differential comparator with low-offset and low-kickback”, 24th IEEE International Conference on Electronics, Circuits and Systems (ICECS), Year: 2017, Pages: 310 – 313.

-> Video: "How Clocked Comparators work?"
https://www.youtube.com/watch?v=u1_9_BL5NjI

analog-design-of-dynamic-comparator's People

Contributors

muhammadaldacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.