maxwellequ said:
Well, to start the comparator schematic is wrong: you should apply Vin+/Vref+ to one differential pair and Vin-/Vref- to the other one.
Then, your input must be differential (it seems to me that your Vin- is fixed and that is NOT the idea).
Rgds
Hi.
first of all this schematic is completely right. Actually I think it's the exact picture from Sumanen Thesis, they call it "Differential Pair Comparator". Am I right leokaven? And this circuit became a paper
L. Sumanen, M. Waltari, K. Halonen, “A Mismatch Insensitive CMOS Dynamic
Comparator for Pipeline A/D Converters,” in Proceedings of the IEEE International
Conference on Circuits and Systems (ICECS’00), Dec. 2000, pp. I-32–35.
But a better and more complete paper would be
L. Sumanen, M.Waltari, K. Halonen, “CMOS Dynamic Comparators for Pipeline
A/D Converters,” in Proceedings of the IEEE Int. Symposium on Circuits and
Systems (ISCAS’02), May 2002, pp. V-157–160.
And why you can't get a right output? As I remember this circuit have a complex equation to set its trip point. Maybe you didn't make it right. Besides, to make sure your circuit works properly a better test input would be a ramp which can be produced by PWL instruction in HSpice. This ramp will start from 0 to Vdd. When it crosses the trip point and be larger than that the output will be high and vice versa. Sometimes a problem like yours may occur because of not a suitable CM level. you can change your input CM levels to 1.6 for Vin+ and 1.4 for Vin-.
Good luck.
Regards,
EZT