High-speed clocked comparator and method thereof
10666237 ยท 2020-05-26
Assignee
Inventors
Cpc classification
International classification
Abstract
A clocked comparator includes an upper-side sampling latch configured to output a first decision in accordance with a detection of a sign of an input voltage signal plus an offset voltage at an edge of a clock signal; a lower-side sampling latch configured to output a second decision in accordance with a detection of a sign of the input voltage signal minus the offset voltage at the edge of the clock signal; and a decision-arbitrating latch configured to receive the first decision and the second decision and output a final decision in accordance with whichever one of the first decision and the second decision that is resolved earlier.
Claims
1. A clocked comparator comprising: an upper-side sampling latch configured to output a first decision in accordance with a detection of a sign of an input voltage signal plus an offset voltage at an edge of a clock signal; a lower-side sampling latch configured to output a second decision in accordance with a detection of a sign of the input voltage signal minus the offset voltage at the edge of the clock signal; and a decision-arbitrating latch configured to receive the first decision and the second decision and output a final decision in accordance with whichever one of the first decision and the second decision that is resolved earlier.
2. The clocked comparator of claim 1, wherein the upper-side sampling latch and the lower-side sampling latch are of the same circuit except for a polarity inversion.
3. The clocked comparator of claim 1, wherein the upper-side sampling latch comprises a differential pair, a cross-coupling inverter pair, a plurality of switches, an offset circuit, and a dummy circuit, wherein the differential pair is enabled during a first state of the clock signal, the offset circuit is enabled during the first state of the clock signal and configured to aid one side of the differential pair, said plurality of switches are configured to reset the cross-coupling inverter pair load during a second state of the clock signal, and the dummy circuit is configured to make the upper-side sampling latch balanced.
4. The clocked comparator of claim 1, wherein the decision-arbitrating latch comprises: a first pseudo-differential pair, a second pseudo-differential pair, and a regenerative load, wherein the first pseudo-differential pair is configured to receive the first decision and output a first current to the regenerative load, the second pseudo-differential pair is configured to receive the second decision and output a second current to the regenerative load, and the final decision is a state of the regenerative load.
5. The clocked comparator claim 4, wherein the decision-arbitrating latch further comprises a first inverter pair configured to receive the first decision and output a first auxiliary decision, a second inverter pair configured to receive the second decision and output a second auxiliary decision, a third pseudo-differential pair configured to receive the first auxiliary decision and output a third current to the regenerative load, and a fourth pseudo-differential pair configured to receive the second auxiliary decision and output a fourth current to the regenerative load.
6. A method comprising: receiving an input voltage signal and a clock signal; resolving a first decision using a first sampling latch configured to detect a sign of the input voltage signal plus an offset voltage at an edge of the clock signal; resolving a second decision using a second sampling latch configured to detect a sign of the input voltage signal minus the offset voltage at the edge of the clock signal; resolving a selection signal using a timing comparator configured to identify and indicate which one of the first decision and the second decision is resolved earlier; and selecting one of the first decision and the second decision to be a final decision in accordance with the selection signal.
7. The method of claim 6, wherein the first sampling latch and the second sampling latch are of the same circuit except for a polarity inversion.
8. The method of claim 6, wherein the first sampling latch comprises a differential pair, a cross-coupling inverter pair, a plurality of switches, an offset circuit, and a dummy circuit, wherein the differential pair is enabled during a first state of the clock signal, the offset circuit is enabled during the first state of the clock signal and configured to aid one side of the differential pair, said plurality of switches are configured to reset the cross-coupling inverter pair load during a second state of the clock signal, and the dummy circuit is configured to make the first sampling latch balanced.
9. The method of claim 6, wherein the decision-arbitrating latch comprises: a first pseudo-differential pair, a second pseudo-differential pair, and a regenerative load, wherein the first pseudo-differential pair is configured to receive the first decision and output a first current to the regenerative load, the second pseudo-differential pair is configured to receive the second decision and output a second current to the regenerative load, and the final decision is a state of the regenerative load.
10. The method of claim 6, wherein the decision-arbitrating latch further comprises a first inverter pair configured to receive the first decision and output a first auxiliary decision, a second inverter pair configured to receive the second decision and output a second auxiliary decision, a third pseudo-differential pair configured to receive the first auxiliary decision and output a third current to the regenerative load, and a fourth pseudo-differential pair configured to receive the second auxiliary decision and output a fourth current to the regenerative load.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THIS DISCLOSURE
(8) The present disclosure is directed to clocked comparator. While the specification describes several example embodiments of the disclosure considered favorable modes of practicing the invention, it should be understood that the invention can be implemented in many ways and is not limited to the particular examples described below or to the particular manner in which any features of such examples are implemented. In other instances, well-known details are not shown or described to avoid obscuring aspects of the disclosure.
(9) Persons of ordinary skill in the art understand terms and basic concepts related to microelectronics that are used in this disclosure, such as voltage, current, node, signal, clock, CMOS (complementary metal oxide semiconductor), NMOS (N-channel metal oxide semiconductor) transistor, PMOS (N-channel metal oxide semiconductor) transistor, differential pair, pseudo-differential pair, switch, latch, inverter, clock, frequency, logical signal, return-to-zero, non-return-to-zero, pull up, pull down and differential signal. Terms like these are used in a context of microelectronics, and the associated concepts are apparent to those of ordinary skills in the art and thus will not be explained in detail here. Those of ordinary skill in the art can also recognize a symbol of a NMOS transistor and a symbol of a PMOS transistor and identify the source, the gate, and the drain terminals thereof. Those of ordinary skills in the art also understand units such as m (micron), nm (nanometer), and ps (picosecond).
(10) This present disclosure is disclosed from an engineering perspective. For instance, X is equal to Y means a difference between X and Y is smaller than a specified engineering tolerance; X is much smaller than Y means X divided by Y is smaller than an engineering tolerance; and X is zero means X is smaller than a specified engineering tolerance.
(11) In this disclosure, a signal is either a voltage or a current that represents information.
(12) A logical signal is a voltage signal of two states: a high state and a low state. A logical signal is said to be in the high (low) state when a level of said logical signal is above (below) a certain level or trip point pertaining to said logical signal. Stating (the logical signal) X is high, is stating it in a context of logical signal and what is meant is: (the logical signal) X is in the high state. Stating (the logical signal) X is low, is stating it in a context of logical signal and what is meant is: (the logical signal) X is in the low state. The high state is also known as the 1 state, and the low state is also known as the 0 state. Stating that (the logical signal) X is 1, is stating it in a context of logical signal and what is meant is: (the logical signal) X is in the high state. Likewise, stating that (the logical signal) X is 0, is stating it in a context of logical signal and what is meant is: (the logical signal) X is in the low state.
(13) A clock signal (or simply a clock) is a logical signal that cyclically toggles between a high state and a low state.
(14) Throughout this disclosure, V.sub.DD denotes a power supply node. For convenience, V.sub.DD can also refer to a power supply voltage provided at the power supply node. That is, V.sub.DD is 0.9V means a power supply voltage at the power supply node V.sub.DD is 0.9V. By way of example but not limitation, throughout this disclosure a circuit is fabricated using a 28 nm CMOS (complementary metal oxide semiconductor) process and V.sub.DD is 0.9V.
(15) Throughout this disclosure, a differential signaling scheme is used, wherein a voltage signal comprises two voltages denoted with suffixes + and , respectively, attached in subscript, and a value of the voltage signal is represented by a difference between said two voltages. For instance, V.sub.X (D.sub.1, D.sub.2, D.sub.1, D.sub.2) comprises V.sub.X+ (D.sub.1+, D.sub.2+, D.sub.1+, D.sub.2+) and V.sub.X(D.sub.1, D.sub.2, D.sub.1, D.sub.2), and a value of V.sub.X (D.sub.1, D.sub.2, D.sub.1, D.sub.2) is represented by a difference between V.sub.X+ (D.sub.1+, D.sub.2+, D.sub.1+, D.sub.2+) and V.sub.X (D.sub.1, D.sub.2, D.sub.1, D.sub.2). Likewise, a current signal comprises two currents denoted with suffixes + and , respectively, attached in subscript. For instance, I.sub.x (I.sub.1, I.sub.2, I.sub.1, I.sub.2) comprises I.sub.X+ (I.sub.1+, I.sub.2+, I.sub.1+, I.sub.2+) and I.sub.X (I.sub.1, I.sub.2, I.sub.1, I.sub.2) and a value of I.sub.X(I.sub.1, I.sub.2, I.sub.1, I.sub.2) is represented by a difference between I.sub.X+ (I.sub.1+, I.sub.2+, I.sub.1+, I.sub.2+) and I.sub.X (I.sub.1, I.sub.2, I.sub.1, I.sub.2).
(16) This present disclosure is based on exploiting a characteristic of metastability (of clocked comparator) to virtually eliminate metastability. A conceptual functional block diagram of a clocked comparator 200 in accordance with an embodiment of the present disclosure is depicted in
(17) The upper-side sampling latch 210 comprises a first offset circuit 211 and a first clocked arbiter 212. The first offset circuit 211 embodies the following function:
V.sub.X1=V.sub.X+V.sub.OS,(1)
(18) where V.sub.OS is an offset voltage that is greater than a threshold voltage V.sub.M determined by a metastability condition of the first clocked arbiter 212, and V.sub.X, is an upshifted voltage. The first clocked arbiter 212 embodies the following function:
(19)
(20) Therefore, the upper-side sampling latched 210 embodies a function that can be mathematically modeled by the following equation:
(21)
(22) The lower-side sampling latch 220 comprises a second offset circuit 221 and a second clocked arbiter 222. The second offset circuit 221 embodies the following function:
V.sub.X2=V.sub.XV.sub.OS(4)
(23) where V.sub.X2 is a downshifted voltage. The second clocked arbiter 222 embodies the following function:
(24)
(25) Therefore, the lower-side sampling latched 220 embodies a function that can be mathematically modeled by the following equation:
(26)
(27) Exemplary transfer characteristics between V.sub.X and (which is a time needed to resolve a decision for V.sub.X) for the two sampling latches 210 and 220 are shown in
(28) TABLE-US-00001 Correct V.sub.X decision D.sub.1 D.sub.2 below V.sub.M V.sub.OS 0 0 0 between V.sub.M V.sub.OS and 0 metastable 0 V.sub.M V.sub.OS between V.sub.M V.sub.OS and 0 0 1 but resolved 0 and resolved later than D.sub.2 earlier than D.sub.1 between 0 and V.sub.M + V.sub.OS 1 1 and resolved 0 but resolved earlier than D.sub.2 later than D.sub.1 between V.sub.M + V.sub.OS and 1 1 metastable V.sub.M + V.sub.OS above V.sub.M + V.sub.OS 1 1 1
(29) The correct decision is 1 if V.sub.X>0 and 0 if V.sub.X<0. From the table, whichever one of the two decisions D.sub.1 and D.sub.2 that gets resolved earlier will be the correct decision, and the metastability thus can be virtually eliminated for the correct decision.
(30) Now refer to
(31)
(32) A schematic diagram of a sampling latch 300 that can be used to embody the upper-side sampling latch 210 is shown in
(33) Except for the offset circuit 350 and the dummy circuit 360, sampling latch 300 is widely known in the prior art as a strong-arm latch and thus not explained in detail here. That the offset circuit 350 can give V.sub.X+ an advantage over V.sub.X during a comparison is understood to those of ordinary skill in the art and thus not described in detail here. The function of the offset circuit 211 and the offset voltage V.sub.OS in
(34) The offset current I.sub.OS from the offset circuit 350 must be sufficiently large that when V.sub.X+ is equal to V.sub.X, D.sub.1 can be latched to 0 within the maximum time allowed.
(35) By way of example, but not limitation, widths/lengths of NMOS transistors 309, 311, 312, 351, 352, 361, 362, 331, and 332 are: 4 m/30 nm, 4 m/30 nm, 4 m/30 nm, 1 m/30 nm, 1 m/30 nm, 1 m/30 nm, 1 m/30 nm, 3 m/30 nm, and 3 m/30 nm, respectively; and widths/lengths of PMOS transistors 321, 322, 333, 334, 341, and 342 are: 2 m/30 nm, 2 m/30 nm, 3 m/30 nm, 3 m/30 nm, 3 m/30 nm, and 3 m/30 nm, respectively.
(36) Sampling latch 300 can be used to embody the lower-side sampling latch 220 by replacing V.sub.X+, V.sub.X, D.sub.1+, and D.sub.1 with V.sub.X, V.sub.X+, D.sub.2, and D.sub.2+, respectively. In this case, the offset circuit 350 can give V.sub.X an advantage over V.sub.X+ during a comparison. Note the upper-side sampling latch 210 is of the same circuit as the lower-side sampling latch 220 except for a polarity inversion in both the input and the output.
(37) A schematic diagram of a decision-arbitrating latch 400 that can be used to embody decision-arbitrating latch 230 is shown in
(38) A schematic diagram of an inverter 500 that can be instantiated to embody inverters 451, 452, 461, 462, 481, and 482 is shown in
(39) When V.sub.CK is low, the upper-side sampling latch 210 and the lower-side sampling latch 220 are reset, D.sub.1+, D.sub.1, D.sub.2+ and D.sub.2 are all pulled up to V.sub.DD (see
(40) Upon a rising edge of V.sub.CK, the upper-side sampling latch 210 and the lower-side sampling latch 220 are enabled and D.sub.1 and D.sub.2 are being resolved. There are two possibilities for D.sub.1 as summarized by the following table:
(41) TABLE-US-00002 D.sub.1 is resolved to be 1 D.sub.1 is resolved to be 0 D.sub.1+ remains high D.sub.1+ drops to ground D.sub.1 drops to ground D.sub.1 remains high D.sub.1 remains low D.sub.1 rises to VDD D.sub.1+ rises to V.sub.DD D.sub.1+ remains low PMOS transistor 412 is PMOS transistor 411 is pulling up D.sub.F+ (via I.sub.1+) pulling up D.sub.F (via I.sub.1) NMOS transistor 431 is pulling NMOS transistor 432 is pulling down D.sub.F (via I.sub.1+) down D.sub.F+ (via I.sub.1) PMOS transistor 411 and NMOS PMOS transistor 412 and NMOS transistor 432 remain shut off transistor 431 remain shut off
(42) There are two possibilities for D.sub.2 as summarized by the following table:
(43) TABLE-US-00003 D.sub.2 is resolved to be 1 D.sub.2 is resolved to be 0 D.sub.2+ remains high D.sub.2+ drops to ground D.sub.2 drops to ground D.sub.2 remains high D.sub.2 remains low D.sub.2 rises to V.sub.DD D.sub.2+ rises to V.sub.DD D.sub.2+ remains low PMOS transistor 422 is PMOS transistor 421 is pulling up D.sub.F+ (via I.sub.2+) pulling up D.sub.F (via I.sub.2) NMOS transistor 441 is pulling NMOS transistor 442 is pulling down D.sub.F (via I.sub.2+) down D.sub.F+ (via I.sub.2) PMOS transistor 421 and NMOS PMOS transistor 422 and NMOS transistor 442 remain shut off transistor 441 remain shut off
(44) If both D.sub.1 and D.sub.2 are resolved to be 1, D.sub.F+ will be pulled up to V.sub.DD by both PMOS transistors 412 and 422 and D.sub.F will be pulled down to ground by both NMOS transistors 431 and 441, and the regenerative load 480 will help to latch the state. If both D.sub.1 and D.sub.2 are resolved to be 0, D.sub.F will be pulled up to V.sub.DD by both PMOS transistors 411 and 421 and D.sub.F+ will be pulled down to ground by both NMOS transistors 432 and 442, and the regenerative load 480 will help to latch the state. As shown in
(45) For instance, if D.sub.1 (D.sub.2) is resolved to be 1, D.sub.2 (D.sub.1) is resolved to be 0, but D.sub.1 (D.sub.2) is resolved earlier than D.sub.2 (D.sub.1), then PMOS transistor 412 (422) will start pulling up D.sub.F+ before NMOS transistor 442 (432) starts pulling down D.sub.F+, and NMOS transistor 431 (441) will start pulling down D.sub.F before PMOS transistor 421 (411) starts pulling up D.sub.F; as a result, D.sub.F+ and D.sub.F will be latched to 1 and 0, respectively, thanks to the regenerative load 480. On the other hand, if D.sub.1 (D.sub.2) is resolved to be 0, D.sub.2 (D.sub.1) is resolved to be 1, but D.sub.1 (D.sub.2) is resolved earlier than D.sub.2 (D.sub.1), then PMOS transistor 411 (421) will start pulling up D.sub.F before NMOS transistor 441 (431) starts pulling down D.sub.F, and NMOS transistor 432 (442) will start pulling down D.sub.F+ before PMOS transistor 422 (412) starts pulling up D.sub.F+; as a result, D.sub.F+ and D.sub.F will be latched to 0 and 1, respectively, thanks to the regenerative load 480.
(46) By way of example, but not limitation: widths/lengths of NMOS transistor 431, 432, 441, 442 are all 2 m/30 nm; widths/lengths of PMOS transistor 411, 412, 421, 422 are all 3 m/30 nm; and for inverters 451, 452, 461, 462, 481, and 482, width/length of PMOS transistor MP therein is 1.5 m/30 nm and width/length of NMOS transistor MN therein is 1 m/30 nm.
(47) Note that the decision-arbitrating latch 400 may still work if inverters 451, 452, 461, 462 and NMOS transistors 431, 432, 441, 442 are removed. For instance, if D.sub.F+ is pulled up by PMOS transistor 412 and/or PMOS transistor 422, D.sub.F can still be pulled down by inverter 482; if D.sub.F is pulled up by PMOS transistor 411 and/or PMOS transistor 421, D.sub.F+ can still be pulled down by inverter 481. In this case, however, the decision-arbitrating latch 400 will likely be slower due to having no direct pull-down currents (I.sub.1+, I.sub.1, I.sub.2+, I.sub.2) and must fully rely on the regenerative load 480 to enforce the pull-down after the pull-up happens.
(48) As shown in a flow diagram depicted in
(49) This present disclosure can be very useful in a high-speed serial link receiver, wherein a decision must be resolved within a very short period of time.
(50) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the disclosure. Accordingly, the above disclosure should not be construed as limited only by the metes and bounds of the appended claims.