A high-speed dynamic comparator with foreground offset cancellation function

By introducing a fully differential amplifier and a cross-coupled load circuit that do not require common-mode feedback into the high-speed dynamic comparator, combined with the input offset correction module and the correction stage clock generation module, the offset problem in the deep sub-micron process is solved and low input offset and A combination of high-speed performance.

CN117938167BActive Publication Date: 2024-10-22WUHAN TUKE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311688280.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-11
Publication Date
2024-10-22
Estimated Expiration
2043-12-11

AI Technical Summary

Technical Problem

In deep sub-micron processes, the size reduction of comparators leads to an increase in cutoff frequency, but at the same time brings about offset problems, such as mismatch in carrier mobility and threshold voltage, leading to wrong decisions in the quantization process. Traditional solutions such as non-balanced Load and auto-zero techniques are not suitable for high-speed dynamic comparators.

Method used

By introducing a fully differential amplifier and a cross-coupled load circuit that do not require common-mode feedback in the dynamic comparator, combined with the input offset correction module and the correction stage clock generation module, the charge pump and variable capacitor are used to introduce different delays to eliminate the offset voltage while maintaining The time constant of the signal path.

Benefits of technology

It effectively reduces the offset voltage caused by system offset and random offset, is suitable for high-speed dynamic comparators, and improves its accuracy and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117938167B_ABST
    Figure CN117938167B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-speed dynamic comparator with a foreground offset elimination function, comprising an improved dynamic comparator main module integrated with a pre-amplifier function module, an input offset correction module and a correction phase clock generation module; the present invention provides a high-speed dynamic comparator with a foreground offset elimination function, which reduces or even eliminates the offset voltage while not affecting the time constant of a key node in a signal path through an innovative architecture and a combination of different delays generated by a comparison clock, thereby ensuring low input offset and high-speed performance of the comparator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of comparators, and more particularly to a high-speed dynamic comparator with a foreground offset elimination function. Background Art

[0002] Comparators are widely used in analog-to-digital converters (ADCs) and memory devices. For ADCs, comparators are key modules for implementing quantization functions. Optimizing the comparator's bandwidth, noise, kickback noise, power consumption, offset and other performance is of great significance to improving the overall performance of ADCs.

[0003] In today's deep submicron process, as the size of metal-oxide field-effect transistors (MOSFETs) decreases, their cutoff frequencies have been significantly improved; in contrast, the reduction in size has also brought about the problem of mismatch. In addition, there are some random mismatches in the circuit, such as mismatches in carrier mobility and threshold voltage caused by uneven ion implantation or differences in thin gate oxide layers during the production process. All of the above phenomena may lead to erroneous judgments in the comparator quantization process. These mismatches can be equivalent to an inherent offset voltage. In general comparators with latch stages, this offset voltage can be as high as several millivolts or even tens of millivolts. For high-precision analog-to-digital converters, such an offset voltage is unacceptable.

[0004] Traditional solutions, such as inserting unbalanced loads (variable capacitors) in key signal paths and self-zeroing technology, increase the load and deteriorate the speed of the comparator, while the latter is limited by the settling accuracy and settling time of the capacitor array. Therefore, they are not suitable for the improved design of high-speed dynamic comparators. Summary of the invention

[0005] The present invention overcomes the shortcomings of the prior art and provides a high-speed dynamic comparator with a foreground offset elimination function, which reduces or even eliminates the offset voltage while not affecting the time constants of key nodes in the signal path, thereby ensuring the low input offset and high-speed performance of the comparator.

[0006] The technical solution of the present invention is as follows:

[0007] A high-speed dynamic comparator with a foreground offset elimination function comprises an improved dynamic comparator main module integrated with a pre-amplifier function module, an input offset correction module and a correction phase clock generation module;

[0008] The improved dynamic comparator main module, based on the double-tail current source dynamic comparator, introduces a fully differential amplifier without common-mode feedback in the first stage to realize the pre-amplification function, accelerating the process of the subsequent latch stage entering positive feedback;

[0009] The input offset correction module detects the comparison result of the common-mode input during the correction phase. This result is used to control the charge pump to charge and discharge the voltage-controlled capacitor, thereby introducing different delays in the circuit clock path to achieve the offset elimination effect.

[0010] The correction phase clock generation module generates the comparator clock of the correction phase.

[0011] Further, the improved dynamic comparator main module includes a latch stage, a pre-amplification stage and a bias circuit;

[0012] The latch stage is composed of inverters connected end to end;

[0013] The pre-amplifier stage introduces two pairs of load tubes to form a cross-coupled load on the basis of the reset switch tube, which achieves a large voltage gain without the need for common-mode feedback; the pre-amplifier stage signal controls the latch output stage to accelerate its process of entering positive feedback;

[0014] The bias circuit provides bias for the pre-amplifier tail current tube and the offset elimination module charge pump at the same time.

[0015] Further, the first stage of the comparator in the improved dynamic comparator main module includes input pair tubes MN1, MN2, MNa1 tube, MNa2 tube, MNb1 tube, MNb2 tube, MP1 tube, MP2 tube, MP3 tube, MP4 tube, MP5 tube, MP6 tube;

[0016] The sources of the pair of transistors MN1 and MN2 are connected to the drain of the tail tube MN0, and the gate of the tail tube MN0 is connected to the bias circuit;

[0017] The source and drain of MNa1 and MNa2 are short-circuited, and connected to the drain of MN2 and MN1 respectively. The gates of MNa1 and MNa2 are connected to the gates of MN1 and MN2 respectively. MNa1 and MNa2 form a MOS capacitor to suppress the kickback noise coupled back to the input of the subsequent latch stage.

[0018] The drains of the transistors MNb1 and MNb2 are also the output nodes V p 、V n ;

[0019] The drain of MN1 is simultaneously connected to the gate and source of MP1, the drain of MP4, and the drain of MP5; the drain of MN2 is simultaneously connected to the gate and source of MP2, the drain of MP3, and the drain of MP6; the gates of MP5 and MP6 are connected to the output clock signal of the input offset correction module.

[0020] Furthermore, the second stage of the comparator in the improved dynamic comparator main module includes inverters MN5, MN6, MP7, MP8 connected end to end, current source tubes MN3, MN4 controlled by the output voltage of the first stage, and reset and working clock tube MP9;

[0021] The output node of the first stage of the comparator is connected to the gates of the second stage MN3 and MN4, and the gate of MN5, the gate of MP7, the drain of MN6, the drain of MP8, and the drain of MN3 are connected to form the second stage output node V op MN6 gate, MP8 gate, MN5 drain, MP7 drain, and MN4 drain are connected to form the second-stage output node V on .

[0022] Further, the input offset correction module includes a charge pump controlled by an output signal, a voltage-controlled variable capacitor, an inverter, and a switch;

[0023] If the clock signal is offset during the process of being pulled up, the side with a larger voltage will achieve a higher delay, while the delay of pulling down the clock on both sides is the same during the reset phase, which can eliminate the offset voltage without affecting the transmission speed of the key signal path;

[0024] The voltage-controlled variable capacitor is inserted into the buffer of the clock path to change the time constant of the buffer, thereby introducing a delay; the capacitance of the variable capacitor is realized by controlling the charge pump to charge and discharge the variable capacitor based on the comparison result of the common-mode input; during the reset phase, the comparator clock is controlled by another switch without passing through the delay module, thereby ensuring the consistency of the reset time points on both sides.

[0025] Furthermore, the input offset correction module includes MOS switches SW1 to SW8, current source tubes MPA and MNA, and charging and discharging capacitors C H1 , C H2 , reset tubes MNC, MNB, unit gain buffers OTA1, OTA2, variable capacitors C1, C2, and inverters inv1A, inv1B, inv2A, inv2B;

[0026] MOS switches SW1 and SW4 are controlled by the comparator output signal Vop and the calibration enable signal, and SW2 and SW3 are controlled by the output signal Von and the calibration enable signal; one end of SW1 and SW3 are connected to the charge and discharge capacitors C respectively. H1 , CH2 , and the other end is connected to the drain of the current source tube MPA; one end of SW2 and SW4 are connected to the charging and discharging capacitors C H1 , C H2 , the other end is connected to the drain of the current source tube MNA; the charging and discharging capacitor C H1 , C H2 The bottom plate is grounded, and the top plate is connected to reset tubes MNB, MNC and voltage followers OTA1, OTA2 respectively;

[0027] The outputs of voltage followers OTA1 and OTA2 are connected to variable capacitors C1 and C2, and the bottom plates of variable capacitors C1 and C2 are respectively connected between inverters inv1A and inv1B and between inverters inv2A and inv2B; SW5 and SW7 are opened when the rising edge of the comparator reset clock CLKX arrives, and are closed when the falling edge arrives; SW6 and SW8 are closed when the rising edge of the comparator reset clock CLKX arrives, and are opened when the falling edge arrives.

[0028] Furthermore, the correction stage clock generating module is jointly controlled by the comparison result of the comparator and the calibration enable signal provided externally; after the calibration enable signal is pulled high, the correction stage clock generating module works normally, the delay path is closed when the comparison is completed, the clock of the comparator correction stage is immediately pulled low, and the comparator enters the reset stage; after the reset is completed, the comparator output ends are all set to 0, at this time the delay path of the correction stage clock generating module is opened, and after a certain delay the comparator clock is pulled high again.

[0029] Furthermore, the clock generation module in the correction phase includes inverters inv1, inv2_Delay, NAND gates nand1, nand2, D flip-flops DFF1, DFF2, MOS tubes MNS1, MNS2, MPS1, XOR gate XOR1, switches SWS1, SWS2, SWS3;

[0030] The XOR gate XOR1 is connected to the output result signal of the improved dynamic comparator main module, the output of the XOR gate XOR1 is connected to the inverter inv1, the output of inv1 is connected to the switch SWS1, and the other end of the switch SWS1 is connected to the gate of MPS1, the gate of MNS2, and the drain of MNS1. This node is named V td ;

[0031] The output result of the improved dynamic comparator main module is simultaneously connected to the clock terminals of the D flip-flops DFF1 and DFF2, and the externally provided calibration enable signal CLKS is simultaneously connected to the D input terminals of the D flip-flops DFF1 and DFF2;

[0032] The output results of D flip-flops DFF1 and DFF2 are sent to NAND gate nand1. The output signal of NAND gate nand1 and the calibration enable signal CLKS are connected to the input end of NAND gate nand2. The output signal of NAND gate nand2 is connected to the gate of MOS tube MNS1. The source of MOS tube MPS1 is connected to V dd , the source of MOS tube MNS2 is grounded; the drain of MOS tube MPS1 is connected to the drain of MOS tube MNS2 and then connected to the high-delay inverter inv2_Delay, and the output of the high-delay inverter inv2_Delay is the output of the time module in the correction stage;

[0033] The input of the delay inverter inv2_Delay is connected to the switch SWS2, and the other port of SWS2 is connected to V dd , this switch is connected by node V td The output of the delay inverter inv2_Delay is connected to the switch SWS3, and the other port of SWS3 is grounded. This switch is controlled by the node V td controlled by the inverting signal.

[0034] Further, the specific correction method steps are as follows:

[0035] (1) Step of generating a working clock: after a calibration enable signal is provided externally, the comparator input provides the same common-mode voltage, the calibration phase clock generation module operates normally, and generates a calibration phase comparator working clock;

[0036] (2) Positive feedback step: Due to the existence of offset voltage, the comparator will pre-amplify the voltage difference between the two input pairs in the first stage. After the voltage signal is detected by the second stage latch circuit, the current on both sides of the second stage circuit will differ, gradually causing the output end to enter the positive feedback stage until the comparison is completed, one end to ground, and the other end to V dd ;

[0037] (3) Introducing offset steps: The comparison result at the output end is sent to the input offset correction module, and the comparison result controls the switches SW1, SW2, SW3, and SW4 in the charge pump of the input offset correction module respectively; Taking the right side as an example, under the premise that the calibration enable signal is at a high level, when SW1 is turned on and SW2 is turned off, C H1 Under the control of the MPA single-tube current source, the node X voltage rises, and the capacitance of the voltage-controlled capacitor C1 increases; when SW1 is closed and SW2 is opened, C H1 Discharging under the control of the MNA single-tube current source, the voltage of the node X decreases, and the capacitance of the voltage-controlled capacitor C1 decreases; the change in the capacitance of C1 and C2 causes the two output clocks of the first stage of the comparator controlled by the input offset correction module to produce different delays, causing the comparator to be offset;

[0038] (4) Reset step: After the first common-mode voltage input comparison is completed, the clock of the correction phase clock generation module is immediately pulled low, the switches SW6 and SW8 in the input offset correction module are opened and grounded, and the reset switch of the improved dynamic comparator main module is directly pulled low, and CLKL and CLKR are reset without passing through the buffer with delay;

[0039] (5) Feedback step: After the correction phase clock generation module detects that the comparator output is reset, the delay path of the correction phase clock generation module is opened, and the clock signal is pulled high again after a delay, entering the next comparison, and repeating the process of feeding back the comparison result to the input offset correction module.

[0040] (6) Adjustment steps: During the entire correction time, under the control of each comparison result, the input offset correction module will continuously adjust the capacitance of the variable capacitor on the clock path. The self-generated offset caused by the delay caused by the different capacitance values ​​of the capacitors on the clock path will offset the impact of the input offset voltage introduced by factors such as mismatch, thereby achieving the purpose of input offset elimination.

[0041] The advantages of the present invention are:

[0042] The first stage of the improved dynamic comparator main module of this scheme obtains a higher gain through the amplifier circuit of the cross-coupled load, so that the offset voltage caused by the system offset and random offset of the second stage latch stage is greatly reduced when it is equivalent to the first stage input.

[0043] The input correction module of the comparator of this scheme introduces different delays on the first-stage clock control path through the feedback of the comparison result output by the comparator to offset the offset voltage caused by the system offset and random offset of the first stage. Compared with adding an unbalanced load, i.e., a variable capacitor, to the key signal path, this scheme does not change the time constant of the key nodes of the signal path during signal amplification and comparison, and is more suitable for high-speed dynamic comparators. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 1 is a general structural diagram of the comparator of the present invention.

[0045] Figure 2 It is the architecture diagram of the comparator main module of the present invention.

[0046] Figure 3 Schematic diagram of the input offset correction module of the present invention.

[0047] Figure 4 It is a structural diagram of the clock generation module in the correction phase of the present invention.

[0048] Figure 5 It is a timing diagram of some key signals of the present invention. DETAILED DESCRIPTION

[0049] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Structural designs not specifically described in this solution can be implemented using conventional designs.

[0050] like Figures 1 to 5 As shown, a high-speed dynamic comparator with a foreground offset elimination function includes an improved dynamic comparator main module integrated with a pre-amplifier function module, an input offset correction module and a correction phase clock generation module;

[0051] The improved dynamic comparator main module, based on the double-tail current source dynamic comparator, introduces a fully differential amplifier without common-mode feedback in the first stage to realize the pre-amplification function, accelerating the process of the subsequent latch stage entering positive feedback;

[0052] The input offset correction module detects the comparison result of the common-mode input during the correction phase. This result is used to control the charge pump to charge and discharge the voltage-controlled capacitor, thereby introducing different delays in the circuit clock path to achieve the offset elimination effect.

[0053] The correction phase clock generation module generates the comparator clock of the correction phase.

[0054] Specific as Figure 1 The CLK_CALIBRATION shown in the figure is the working clock of the comparator in the correction stage, which is generated by the correction stage clock generation module; CLK is the working clock of the comparator in the normal working stage of the comparator. After CLK and CLK_CALIBRATION pass through the OR gate, the comparator working clock CLKX is obtained. The reset signal controls the input offset correction module and the correction stage clock generation module at the same time, and resets the above two modules respectively when the comparator enters the correction stage. CLKS is the calibration enable signal of the external input. When CLKS is at a high level, the comparator enters the correction stage, and when it is at a low level, the comparator enters the normal working stage. CLKL and CLKR are the output signals of the input offset correction module.

[0055] Preferably, the improved dynamic comparator main module comprises a latch stage, a pre-amplifier stage and a bias circuit;

[0056] The latch stage is composed of inverters connected end to end;

[0057] The pre-amplifier stage introduces two pairs of load tubes to form a cross-coupled load on the basis of the reset switch tube, which achieves a large voltage gain without the need for common-mode feedback; the pre-amplifier stage signal controls the latch output stage to accelerate its process of entering positive feedback;

[0058] The bias circuit provides bias for the pre-amplifier tail current tube and the offset elimination module charge pump at the same time.

[0059] Combination Figure 2 Taking the figure as an example, the first stage of the comparator in the specific improved dynamic comparator main module can specifically include input pair tubes MN1, MN2, MNa1 tube, MNa2 tube, MNb1 tube, MNb2 tube, MP1 tube, MP2 tube, MP3 tube, MP4 tube, MP5 tube, MP6 tube;

[0060] The sources of the pair of transistors MN1 and MN2 are connected to the drain of the tail tube MN0, and the gate of the tail tube MN0 is connected to the bias circuit;

[0061] The source and drain of MNa1 and MNa2 are short-circuited, and connected to the drain of MN2 and MN1 respectively. The gates of MNa1 and MNa2 are connected to the gates of MN1 and MN2 respectively. MNa1 and MNa2 form a MOS capacitor to suppress the kickback noise coupled back to the input of the subsequent latch stage.

[0062] The drains of the transistors MN1 and MN2 are also the output nodes V of the first pre-amplifier stage. p 、V n ;

[0063] The drain of MN1 is simultaneously connected to the gate and source of MP1, the drain of MP4, and the drain of MP5; the drain of MN2 is simultaneously connected to the gate and source of MP2, the drain of MP3, and the drain of MP6; the gates of MP5 and MP6 are connected to the output clock signal of the input offset correction module.

[0064] The second stage of the comparator in the improved dynamic comparator main module includes inverters MN5, MN6, MP7, MP8 connected end to end, current sources MN3, MN4 controlled by the voltage of the first stage, and reset and working clock MP9;

[0065] The output node of the first stage of the comparator is connected to the gates of the second stage MN3 and MN4, and the gate of MN5, the gate of MP7, the drain of MN6, the drain of MP8, and the drain of MN3 are connected to form the second stage output node V op MN6 gate, MP8 gate, MN5 drain, MP7 drain, and MN4 drain are connected to form the second-stage output node V on .

[0066] The input offset correction module includes a charge pump controlled by an output signal, a voltage-controlled variable capacitor, an inverter, and a switch;

[0067] If the clock signal is offset during the process of being pulled up, the side with a larger voltage will achieve a higher delay, while the delay of pulling down the clock on both sides is the same during the reset phase, which can eliminate the offset voltage without affecting the transmission speed of the key signal path;

[0068] The voltage-controlled variable capacitor is inserted into the buffer of the clock path to change the time constant of the buffer, thereby introducing a delay; the capacitance of the variable capacitor is realized by controlling the charge pump to charge and discharge the variable capacitor based on the comparison result of the common-mode input; during the reset phase, the comparator clock is controlled by another switch without passing through the delay module, thereby ensuring the consistency of the reset time points on both sides.

[0069] Combination Figure 3 As shown in the figure, the specific input offset correction module includes MOS switches SW1 to SW8, current source tubes MPA and MNA, and charging and discharging capacitors C H1 , C H2 , reset tubes MNC, MNB, unit gain buffers OTA1, OTA2, variable capacitors C1, C2, and inverters inv1A, inv1B, inv2A, inv2B;

[0070] MOS switches SW1 and SW4 are controlled by the comparator output signal Vop and the calibration enable signal, and SW2 and SW3 are controlled by the output signal Von and the calibration enable signal; one end of SW1 and SW3 are connected to the charge and discharge capacitors C respectively. H1 , C H2 , and the other end is connected to the drain of the current source tube MPA; one end of SW2 and SW4 are connected to the charging and discharging capacitors C H1 , C H2 , the other end is connected to the drain of the current source tube MNA; the charging and discharging capacitor C H1 , C H2 The bottom plate is grounded, and the top plate is connected to reset tubes MNB, MNC and voltage followers OTA1, OTA2 respectively;

[0071] The outputs of voltage followers OTA1 and OTA2 are connected to variable capacitors C1 and C2, and the bottom plates of variable capacitors C1 and C2 are respectively connected between inverters inv1A and inv1B and between inverters inv2A and inv2B; SW5 and SW7 are opened when the rising edge of the comparator reset clock CLKX arrives, and are closed when the falling edge arrives; SW6 and SW8 are closed when the rising edge of the comparator reset clock CLKX arrives, and are opened when the falling edge arrives.

[0072] The correction phase clock generation module is controlled by the comparison result of the comparator and the calibration enable signal provided externally; after the calibration enable signal is pulled high, the correction phase clock generation module works normally, the delay path is closed when the comparison is completed, the clock of the comparator correction phase is immediately pulled low, and the comparator enters the reset phase; after the reset is completed, the comparator output ends are all set to 0, at this time the delay path of the correction phase clock generation module is opened, and after a certain delay the comparator clock is pulled high again.

[0073] Combination Figure 4 Taking the figure as an example, the specific clock generation module in the correction stage includes inverters inv1, inv2_Delay, NAND gates nand1, nand2, D flip-flops DFF1, DFF2, MOS tubes MNS1, MNS2, MPS1, XOR gate XOR1, switches SWS1, SMS2, SMS3;

[0074] The XOR gate XOR1 is connected to the output result signal of the improved dynamic comparator main module, the output of the XOR gate XOR1 is connected to the inverter inv1, the output of inv1 is connected to the switch SWS1, and the other end of the switch SWS1 is connected to the gate of MPS1, the gate of MNS2, and the drain of MNS1. This node is named V td ;

[0075] The output result of the improved dynamic comparator main module is simultaneously connected to the clock terminals of the D flip-flops DFF1 and DFF2, and the externally provided calibration enable signal CLKS is simultaneously connected to the D input terminals of the D flip-flops DFF1 and DFF2;

[0076] The output results of D flip-flops DFF1 and DFF2 are sent to NAND gate nand1. The output signal of NAND gate nand1 and the calibration enable signal CLKS are connected to the input end of NAND gate nand2. The output signal of NAND gate nand2 is connected to the gate of MOS tube MNS1. The source of MOS tube MPS1 is connected to V dd , the source of MOS tube MNS2 is grounded; the drain of MOS tube MPS1 is connected to the drain of MOS tube MNS2 and then connected to the high-delay inverter inv2_Delay, and the output of the high-delay inverter inv2_Delay is the output clock of the time module in the correction stage;

[0077] The input of the delay inverter inv2_Delay is connected to the switch SWS2, and the other port of SWS2 is connected to V dd , this switch is connected by node V td The output of the delay inverter inv2_Delay is connected to the switch SWS3, and the other port of SWS3 is grounded. This switch is controlled by the node V td controlled by the inverting signal.

[0078] In summary, the specific correction method of this scheme can be as follows:

[0079] (1) Steps for generating a working clock: After the calibration enable signal CLKS is provided externally, the comparator input provides the same common-mode voltage, and the calibration phase clock generation module works normally to generate the calibration phase comparator working clock, i.e. Figure 5 CLK_CALIBRATION shown in the figure;

[0080] (2) Positive feedback step: Due to the existence of offset voltage, the improved dynamic comparator main module starts to work under the control of the correction phase clock generation module. Due to the existence of mismatch, the first and second branches inside the improved dynamic comparator main module may generate unbalanced current. Taking the first stage as an example, the output node V p 、V n The voltage is charged to V during the reset phase dd , compare phase V p 、V n The parasitic capacitance C of the node p , C n The discharge current can be expressed as the following formula:

[0081]

[0082] Therefore, V p 、V n The voltage at the node can be expressed as:

[0083]

[0084] It can be seen that when the input is common mode voltage V cm , when there is a mismatch in aspect ratio, threshold voltage, parasitic capacitance, etc. between the two branches, the two branches V p 、V n The voltage of the first preamplifier stage will produce a difference, which will cause the second latch stage to make an erroneous decision. The second stage mismatch is the same, and for the second stage mismatch, if the gain provided by the first preamplifier stage is A pre , then the input offset voltage of the second stage equivalent to the first stage input will become Mismatch will cause the comparator master module output V op 、V on One end to ground, one end to V dd .

[0085] Therefore, the comparator will pre-amplify the voltage difference between the two input pairs in the first stage. After the voltage signal is detected by the second stage latch circuit, the current on both sides of the second stage circuit will differ, gradually causing the output end to enter the positive feedback stage until the comparison is completed, one end to ground, and the other end to Vdd ;

[0086] (3) Introducing offset steps: The comparison result at the output end is sent to the input offset correction module, and the comparison result controls the switches SW1, SW2, SW3, and SW4 in the charge pump of the input offset correction module respectively; Taking the right side as an example, under the premise that the calibration enable signal is at a high level, when SW1 is turned on and SW2 is turned off, C H1 Under the control of the MPA single-tube current source, the node X voltage rises, and the capacitance of the voltage-controlled capacitor C1 increases; when SW1 is closed and SW2 is opened, C H1 Discharging under the control of the MNA single-tube current source, the voltage at node X drops, and the capacitance of the voltage-controlled capacitor C1 decreases; the change in the capacitance of C1 and C2 causes the two output clocks of the first stage of the comparator controlled by the input offset correction module to produce different delays, causing comparator offset.

[0087] That is, V op and calibration enable signal CLKS jointly control switches SW1 and SW4, V on and the calibration enable signal CLKS jointly control switches SW2 and SW3. When a common-mode input is detected, V op >V on When the capacitor C H1 Charging, capacitor C H2 Discharge. Variable capacitor C1 at C H1 The capacitance of the top plate voltage increases, and the variable capacitor C2 increases at C H2 The capacitance decreases under the control of the top plate voltage, so the change of C1 and C2 will produce a large delay on the clock paths inv1A and inv1B, and a small delay on the clock paths inv2A and inv2B. The outputs CLKR and CLKL of the input offset correction module respectively control the reset tubes MP5 and MP6 of the first stage of the improved dynamic comparator main module. The first stage V p 、V n The voltage at the node can therefore be expressed as follows:

[0088]

[0089] Assuming that the delay introduced by the standard inverter units inv1A, inv1B, inv2A, inv2B is τ, the inserted variable capacitors C1 and C2 make the delay on the clock path become the following formula:

[0090]

[0091] Therefore, the input offset voltage introduced by the clock delay can be expressed as follows:

[0092]

[0093] Wherein ΔC represents the difference between the variable capacitors C1 and C2. It can be seen that when there is a mismatch in the aspect ratio, threshold voltage, parasitic capacitance and other factors, it is possible to reduce or even eliminate the input offset voltage Vos by adjusting the size of C1 and C2.

[0094] (4) Reset step: After the first common-mode voltage input comparison is completed, the clock CLK_CALIBRATION of the calibration phase clock generation module is immediately pulled low, the switches SW6 and SW8 in the input offset correction module are opened and grounded, and the reset switch of the improved dynamic comparator main module is directly pulled low, and CLKL and CLKR are reset without passing through a buffer with a delay, thereby achieving a low-latency synchronous reset.

[0095] (5) Feedback step: After the correction phase clock generation module detects that the comparator output is reset, switches SWS2 and SWS3 are disconnected, and the high-delay inverter inv2_Delay is connected to the correction phase clock generation module. The delay path of the correction phase clock generation module is opened, and the clock signal CLK_CALIBRATION is pulled high again after the delay, and the next comparison is entered, and the process of feeding back the comparison result to the input offset correction module is repeated.

[0096] (6) Adjustment steps: During the entire correction time, under the control of each comparison result, the input offset correction module will continuously adjust the capacitance of the variable capacitor on the clock path. The delay of CLKL and CLKR caused by the different capacitances of the capacitors on the clock path will offset the impact of the input offset voltage introduced by factors such as mismatch, thereby achieving the purpose of eliminating the input offset.

[0097] In addition, each comparison result is fed back to the input offset correction module and the polarity detection module in the correction phase clock generation module. The polarity detection module is composed of a D flip-flop with a reset function and a NAND gate. When the rising edge of the comparison result arrives, the calibration enable signal CLKS is stored by the D flip-flop to output the signal V op >V on For example, when this condition is always met, only V op The trigger triggered by the rising edge outputs a high level until the comparison result is inverted and the outputs of the two D triggers are both 1. Under the control of this signal, the comparator clock generation module in the correction phase stops working immediately. This solution can effectively reduce the power consumption generated by the comparator in the correction phase.

[0098] In summary, the first stage of the main module of the improved dynamic comparator of this scheme obtains a higher gain through the amplifier circuit of the cross-coupled load, so that the offset voltage caused by the system offset and random offset of the second latch stage is greatly reduced when it is equivalent to the first stage input. The input correction module of the comparator introduces different delays on the clock control path of the first stage through the feedback of the comparison result output by the comparator to offset the offset voltage mainly caused by the system offset and random offset of the first stage. It realizes not changing the time constant of the key nodes of the signal path during the signal amplification and comparison process, which is more suitable for high-speed dynamic comparators.

[0099] The above is only a preferred embodiment of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and modifications without departing from the concept of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A high-speed dynamic comparator with foreground offset cancellation function, characterized in that: It includes an improved dynamic comparator main module integrated with a pre-amplifier functional module, an input offset correction module and a correction phase clock generation module; The improved dynamic comparator main module, based on the double-tail current source dynamic comparator, introduces a fully differential amplifier without common-mode feedback in the first stage to realize the pre-amplification function, accelerating the process of the subsequent latch stage entering positive feedback; The input offset correction module detects the comparison result of the common-mode input during the correction phase. This result is used to control the charge pump to charge and discharge the voltage-controlled capacitor, thereby introducing different delays in the circuit clock path to achieve the offset elimination effect. A correction phase clock generation module generates a comparator clock in the correction phase; The improved dynamic comparator main module includes a latch stage, a pre-amplification stage and a bias circuit; The latch stage is composed of inverters connected end to end; The pre-amplifier stage introduces two pairs of load tubes to form a cross-coupled load on the basis of the reset switch tube, which achieves a large voltage gain without the need for common-mode feedback; the pre-amplifier stage signal controls the latch output stage to accelerate its process of entering positive feedback; The bias circuit provides bias for the pre-amplifier tail current tube and the offset elimination module charge pump at the same time; The first stage of the comparator in the improved dynamic comparator main module includes input pair tubes MN1, MN2, MNa1 tube, MNa2 tube, MNb1 tube, MNb2 tube, MP1 tube, MP2 tube, MP3 tube, MP4 tube, MP5 tube, and MP6 tube; The sources of the pair of transistors MN1 and MN2 are connected to the drain of the tail tube MN0, and the gate of the tail tube MN0 is connected to the bias circuit; The source and drain of MNa1 and MNa2 are short-circuited, and connected to the drain of MN2 and MN1 respectively. The gates of MNa1 and MNa2 are connected to the gates of MN1 and MN2 respectively. MNa1 and MNa2 form a MOS capacitor to suppress the kickback noise coupled back to the input of the subsequent latch stage. The drains of the transistors MN1 and MN2 are also the output nodes V of the first pre-amplifier stage. p 、V n ; The drain of MN1 is simultaneously connected to the gate and source of MP1, the drain of MP4, and the drain of MP5; the drain of MN2 is simultaneously connected to the gate and source of MP2, the drain of MP3, and the drain of MP6; the gates of MP5 and MP6 are connected to the output clock signal of the input offset correction module.

2. The high-speed dynamic comparator with foreground offset elimination function according to claim 1, characterized in that: The input offset correction module includes a charge pump controlled by an output signal, a voltage-controlled variable capacitor, an inverter, and a switch; If the clock signal is offset during the process of being pulled up, the side with a larger voltage will achieve a higher delay, while the delay of pulling down the clock on both sides is the same during the reset phase, which can eliminate the offset voltage without affecting the transmission speed of the key signal path; The voltage-controlled variable capacitor is inserted into the buffer of the clock path to change the time constant of the buffer, thereby introducing a delay; the capacitance of the variable capacitor is realized by controlling the charge pump to charge and discharge the variable capacitor based on the comparison result of the common-mode input; during the reset phase, the comparator clock is controlled by another switch without passing through the delay module, thereby ensuring the consistency of the reset time points on both sides.

3. A high-speed dynamic comparator with foreground offset elimination function according to claim 2, characterized in that: The input offset correction module includes MOS switches SW1 to SW8, current source tubes MPA and MNA, and charging and discharging capacitors C H1 , C H2 , reset tubes MNC, MNB, unit gain buffers OTA1, OTA2, variable capacitors C1, C2, and inverters inv1A, inv1B, inv2A, inv2B; MOS switches SW1 and SW4 are controlled by the comparator output signal Vop and the calibration enable signal, and SW2 and SW3 are controlled by the output signal Von and the calibration enable signal; one end of SW1 and SW3 are connected to the charge and discharge capacitors C respectively. H1 , C H2 , and the other end is connected to the drain of the current source tube MPA; one end of SW2 and SW4 are connected to the charging and discharging capacitors C H1 , C H2 , the other end is connected to the drain of the current source tube MNA; the charging and discharging capacitor C H1 , C H2 The bottom plate is grounded, and the top plate is connected to reset tubes MNB, MNC and voltage followers OTA1, OTA2 respectively; The outputs of voltage followers OTA1 and OTA2 are connected to variable capacitors C1 and C2, and the bottom plates of variable capacitors C1 and C2 are respectively connected between inverters inv1A and inv1B and between inverters inv2A and inv2B; SW5 and SW7 are opened when the rising edge of the comparator reset clock CLKX arrives, and are closed when the falling edge arrives; SW6 and SW8 are closed when the rising edge of the comparator reset clock CLKX arrives, and are opened when the falling edge arrives.

4. The high-speed dynamic comparator with foreground offset elimination function according to claim 2, characterized in that: The correction phase clock generation module is controlled by the comparison result of the comparator and the calibration enable signal provided externally; after the calibration enable signal is pulled high, the correction phase clock generation module works normally, the delay path is closed when the comparison is completed, the clock of the comparator correction phase is immediately pulled low, and the comparator enters the reset phase; after the reset is completed, the comparator output ends are all set to 0, at this time the delay path of the correction phase clock generation module is opened, and after a certain delay the comparator clock is pulled high again.

5. A high-speed dynamic comparator with foreground offset elimination function according to claim 4, characterized in that: The clock generation module in the correction stage includes inverters inv1 and inv2_Delay, NAND gates nand1 and nand2, D flip-flops DFF1 and DFF2, MOS tubes MNS1, MNS2 and MPS1, XOR gate XOR1, and switches SWS1, SMS2 and SMS3; The XOR gate XOR1 is connected to the output result signal of the improved dynamic comparator main module, the output of the XOR gate XOR1 is connected to the inverter inv1, the output of inv1 is connected to the switch SWS1, and the other end of the switch SWS1 is connected to the gate of MPS1, the gate of MNS2, and the drain of MNS1. This node is named V td ; The output result of the improved dynamic comparator main module is simultaneously connected to the clock terminals of the D flip-flops DFF1 and DFF2, and the calibration enable signal CLKS provided externally is simultaneously connected to the D input terminals of the D flip-flops DFF1 and DFF2; The output results of D flip-flops DFF1 and DFF2 are sent to NAND gate nand1. The output signal of NAND gate nand1 and the calibration enable signal CLKS are connected to the input end of NAND gate nand2. The output signal of NAND gate nand2 is connected to the gate of MOS tube MNS1. The source of MOS tube MPS1 is connected to V dd , the source of MOS tube MNS2 is grounded; the drain of MOS tube MPS1 is connected to the drain of MOS tube MNS2 and then connected to the high-delay inverter inv2_Delay, and the output of the high-delay inverter inv2_Delay is the output of the time module in the correction stage; The input of the delay inverter inv2_Delay is connected to the switch SWS2, and the other port of SWS2 is connected to V dd , this switch is connected by node V td The output of the delay inverter inv2_Delay is connected to the switch SWS3, and the other port of SWS3 is grounded. This switch is controlled by the node V td controlled by the inverting signal.

6. The high-speed dynamic comparator with foreground offset elimination function according to claim 5, characterized in that: The specific calibration steps are as follows: (1) Steps for generating a working clock: After providing a calibration enable signal externally, the comparator input provides the same common-mode voltage, the calibration phase clock generation module works normally, and generates the calibration phase comparator working clock; (2) Positive feedback step: Due to the existence of offset voltage, the comparator will pre-amplify the voltage difference between the two input pairs in the first stage. After the voltage signal is detected by the second stage latch circuit, the current on both sides of the second stage circuit will differ, gradually causing the output end to enter the positive feedback stage until the comparison is completed, one end to ground, and the other end to V dd ; (3) Introducing offset steps: The comparison result at the output end is sent to the input offset correction module, and the comparison result controls the switches SW1, SW2, SW3, and SW4 in the charge pump of the input offset correction module respectively; Taking the right side as an example, under the premise that the calibration enable signal is at a high level, when SW1 is turned on and SW2 is turned off, C H1 Under the control of the MPA single-tube current source, the node X voltage rises, and the capacitance of the voltage-controlled capacitor C1 increases; when SW1 is closed and SW2 is opened, C H1 Discharging under the control of the MNA single-tube current source, the voltage of the node X decreases, and the capacitance of the voltage-controlled capacitor C1 decreases; the change in the capacitance of C1 and C2 causes the two output clocks of the first stage of the comparator controlled by the input offset correction module to produce different delays, causing the comparator to be offset; (4) Reset step: After the first common-mode voltage input comparison is completed, the clock of the correction phase clock generation module is immediately pulled low, switches SW6 and SW8 in the input offset correction module are opened and grounded, and the reset switch of the improved dynamic comparator main module is directly pulled low, and CLKL and CLKR are reset without passing through the buffer with delay; (5) Feedback step: After the correction phase clock generation module detects that the comparator output is reset, the delay path of the correction phase clock generation module is opened, and the clock signal is pulled high again after the delay, and the next comparison is entered, and the process of feeding back the comparison result to the input offset correction module is repeated; (6) Adjustment steps: During the entire correction time, under the control of each comparison result, the input offset correction module will continuously adjust the capacitance of the variable capacitor on the clock path. The self-generated offset caused by the delay caused by the different capacitance values ​​of the capacitors on the clock path will offset the impact of the input offset voltage introduced by factors such as mismatch, thereby achieving the purpose of eliminating the input offset.