The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 15th, 2024, 2:16pm
Pages: 1
Send Topic Print
How to calculate the minimum detectable input voltage for a comparator? (Read 7091 times)
Jacki
Senior Member
****
Offline



Posts: 237

How to calculate the minimum detectable input voltage for a comparator?
Feb 20th, 2012, 8:45am
 
Hello,

   I want to design a 9-bit accuracy comparator with the 1LSB=2mV at the input. Now I want to calculate the specification of comparator.

   For traditional comparator which consists of a pre-amplifier and latch, it is easy to get the minimum detectable input voltage by Vo/Av. Then latch will lock the state. If I want to improve the resolution, I can easily increase the gain.

   But now a lot of designers like to use positive feedback comparator. It doesn't need the pre-amplifier any more. In this case I don't know how to calculate the minimum detectable input voltage. I ask some people, they told me just simulate the comparator to see if it is good enough. I think for analog design, it should be calculated, and I want to know how.

   Thanks.
Back to top
 
 
View Profile   IP Logged
AnalogDE
Senior Member
****
Offline



Posts: 137

Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #1 - Feb 20th, 2012, 8:53am
 
See the white paper on this site about Offset simulation of comparators.  You should be able to setup a testbench to simulate this..

Does your comparator have a pre-amplification phase followed by a latch phase?  Can you post a schematic?
Back to top
 
 
View Profile   IP Logged
Vladislav D
Community Member
***
Offline



Posts: 76
The Netherlands
Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #2 - Feb 21st, 2012, 6:03am
 
By "positive feedback comparator" I guess you imply a dynamic comparator which does not consume DC current?
First of all, a latch always has a positive feedback. Placing an amplifier in front of the latch, makes the response faster with a small input signal since the regeneration time is a function of the input voltage at the latch input. Dynamic comparators have a latch as well.

Now, the meaning of the positive feedback is that, even with a very small voltage, it (positive feedback) starts the regeneration process until the output hits the rail. So, the minimum detectable signal is a function of time, and will be infinitely small if you wait infinitely long, assuming that there is no noise in the circuit. Moreover, comparator is a strongly non-linear device, what makes somewhat difficult to describe it's behavior mathematically.  

I would recommend to start a study of dynamic comparators from the StrongArm comporator.
Back to top
 
 
View Profile   IP Logged
Jacki
Senior Member
****
Offline



Posts: 237

Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #3 - Feb 22nd, 2012, 4:07am
 
Thank you very much, AnalogDE and Vladislav D,

   I think I mean the dynamic comparator which does not cost any DC currents because the comparator is espected to use in a SAR-ADC.

   I read some information about comparator from Allen's book, it seems for a comparator, it should include two steps. First is the small signal mode, and the following is large signal mode. In small signal mode, can I analyze the minimum input voltage and at the same time the comparator should work as an amplifier without any compensation?

   Or maybe I misunderstand the dynamic comparator which maybe in fact has no small signal mode, it is throughly a non-linear circuit, like VCO. Therefore I don't need consider the minimum input voltage, and just consider the time response.

   Please correct me if I speak anything wrong.
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #4 - Feb 26th, 2012, 5:06pm
 
A positive feedback latch is always going to flip so there isn't a minimum signal in that respect, although the signal has to be greater than the noise if you want it to flip in the correct direction.

I'd say that the minimum signal will be determined by metastability. Metastability is when the latch takes too long to resolve because the signal is too small.

Maybe someone could comment on how best to simulate metastability.

rg
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #5 - Feb 27th, 2012, 2:21pm
 
RobG wrote on Feb 26th, 2012, 5:06pm:
A positive feedback latch is always going to flip so there isn't a minimum signal in that respect, although the signal has to be greater than the noise if you want it to flip in the correct direction.

I'd say that the minimum signal will be determined by metastability. Metastability is when the latch takes too long to resolve because the signal is too small.

Maybe someone could comment on how best to simulate metastability.

rg


Take the input signals and transition from max overdrive in one direction, to the smallest signal needing to be detected in the opposite direction.

That will show the slowest response time and all kinds of interesting metastability issues.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #6 - Feb 27th, 2012, 6:12pm
 
loose-electron wrote on Feb 27th, 2012, 2:21pm:
Take the input signals and transition from max overdrive in one direction, to the smallest signal needing to be detected in the opposite direction.

That will show the slowest response time and all kinds of interesting metastability issues.


That works very well with continuous time comparators, but I was thinking about comparators that latch, and that are reset before each conversion. For these dynamic comparators you could certainly start the latch with zero input and see how long it would take to flip one way or another, but I have the feeling that the answer you get will be a function of the numerical solution algorithm rather than what you could realistically expect.

Not sure of a proper way to do it, but I remember reading something about estimating the metastability time.
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #7 - Feb 27th, 2012, 7:29pm
 
RobG wrote on Feb 27th, 2012, 6:12pm:
Not sure of a proper way to do it, but I remember reading something about estimating the metastability time.


I found a designer's guide article about the calculation: http://www.designers-guide.org/Analysis/metastability.pdf
Back to top
 
 
View Profile   IP Logged
carlgrace
Senior Member
****
Offline



Posts: 231
Berkeley, CA
Re: How to calculate the minimum detectable input voltage for a comparator?
Reply #8 - Feb 29th, 2012, 4:15pm
 
RobG wrote on Feb 27th, 2012, 6:12pm:
loose-electron wrote on Feb 27th, 2012, 2:21pm:
Take the input signals and transition from max overdrive in one direction, to the smallest signal needing to be detected in the opposite direction.

That will show the slowest response time and all kinds of interesting metastability issues.


That works very well with continuous time comparators, but I was thinking about comparators that latch, and that are reset before each conversion. For these dynamic comparators you could certainly start the latch with zero input and see how long it would take to flip one way or another, but I have the feeling that the answer you get will be a function of the numerical solution algorithm rather than what you could realistically expect.

Not sure of a proper way to do it, but I remember reading something about estimating the metastability time.


I think loose-electron's method works fine for switched comparators.  It can scare out any memory effects and the like that can come back to bite you.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.