High-speed low-offset comparator circuit for SAR ADC

By designing front and rear positive feedback dynamic comparator and offset voltage calibration module in SAR ADC, combined with alternating comparator control logic, the problems of SAR ADC comparator speed and offset voltage are solved, and low offset voltage and high-speed comparison are achieved.

CN118971848APending Publication Date: 2024-11-15UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411240866.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The comparator speed of SAR ADC is not fast enough, and the offset voltage is too high in small-size processes, resulting in nonlinear problems and affecting conversion accuracy.

Method used

A high-speed low-offset comparator circuit including front and rear stage positive feedback dynamic comparator, comparator offset voltage calibration module and alternating comparator control logic module is designed to calibrate the offset voltage through auxiliary input tube and charge pump, and use alternating comparison. The controller control logic reduces reset time.

Benefits of technology

The tolerance of low offset voltage in small-size processes is achieved, the conversion speed of the comparator is improved, the reset time of a single comparator is reduced, and the high speed and accuracy of the overall comparator is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971848A_ABST
    Figure CN118971848A_ABST
Patent Text Reader

Abstract

The invention provides a high-speed low-offset comparator circuit for an SAR ADC (Synthetic Aperture Radar Analog-to-Digital Converter), aiming at the problems that the process size of an integrated circuit is continuously reduced, the requirement on the ADC speed is higher and higher due to high-speed development of a digital circuit and the offset voltage is serious due to a small-size process at present. For a traditional single comparator structure, the time wasted by resetting is fatal for a high-speed ADC, and meanwhile, high offset voltage brought by a small-size process is difficult to tolerate for an SAR ADC (Synthetic Aperture Radar Analog to Digital Converter). Therefore, the alternating comparator structure provided by the invention can well solve the time consumed by resetting a single comparator and utilize the time to improve the working speed of the ADC, and meanwhile, an auxiliary input tube and a charge pump structure are introduced to dynamically adjust the input offset voltage of the comparator so as to solve the high offset voltage introduced under a small-size process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of integrated circuit design, and in particular to a high-speed low-offset comparator circuit based on an external alternating comparator structure, an internal charge pump and auxiliary input tube calibration. Background Art

[0002] For ADC, as a bridge between analog domain and digital domain, its performance requirements need to be continuously improved. Especially with the reduction of integrated circuit process size and the rapid development of digital circuits, the speed requirements for ADC are getting higher and higher, and the demand for high-speed data transmission and processing is increasing. Therefore, ADC needs to have a higher conversion speed. At the same time, low power consumption is also the future development direction, especially in large-scale applications such as the Internet of Things and sensors, power consumption is a very important consideration, so the SAR ADC architecture is very suitable for low-power applications.

[0003] For SAR ADC, the conversion speed depends on the comparator speed, SAR logic speed and CDAC establishment speed at the circuit structure level. This invention is developed around optimizing the comparator speed. The core idea of ​​high speed is that the time consumed by the reset process of the single asynchronous comparator exceeds the CDAC establishment time, and the time consumed by the comparator reset is optimized, that is, when the CDAC is established, there is no need to wait for the comparator reset, but directly start the next comparison to achieve the purpose of high speed; the core idea of ​​low offset is that the size of MOS tubes is getting smaller and smaller, and its offset is getting larger and larger, and high-speed ADC also needs to be based on small-size process technology. Therefore, for the comparator, the increase of offset voltage makes it exceed 0.5LSB of ADC, which will cause the comparator to make wrong judgments in some cases, thus introducing serious nonlinearity. The purpose of low offset voltage is achieved by introducing charge pumps and auxiliary input tubes to dynamically adjust the speed of the comparator input tube. Summary of the invention

[0004] In view of the technical problems mentioned in the background technology, the purpose of the present invention is to provide a high-speed low-offset comparator circuit for SAR ADC to solve the problems that the current SAR ADC speed is not fast enough and the comparator offset voltage is too high.

[0005] To achieve the above-mentioned object, the present invention provides a high-speed low-offset comparator circuit for SAR ADC, wherein the high-speed low-offset comparator circuit for SAR ADC comprises a front-end and rear-end positive feedback dynamic comparator, a comparator offset voltage calibration module and an alternating comparator control logic module.

[0006] The positive feedback dynamic comparator for the front and rear stages includes: MOS tubes M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14, and logic gates NAND1, NOT3, and NOT4. The gate of the MOS tube M1 is connected to the comparator clock LATCH_CLK; the source of the MOS tube M1 is grounded; the drain of the MOS tube M1 is connected to the source of the MOS tubes M2 and M3; the gate of the MOS tube M2 is connected to the P-terminal input; the drain of the MOS tube M2 is connected to the drain of the MOS tubes M4 and M5, and the gate of the MOS tubes M6 and M8; the gate of the MOS tube M3 is connected to the N-terminal input; the drain of the MOS tube M3 is connected to the drain of the MOS tubes M6 and M7, and the gate of the MOS tubes M5 and M11; the gates of the MOS tubes M4 and M7 are both connected to the comparator clock LATCH_CLK; the sources of MOS tubes M4, M5, M6 and M7 are connected to the power supply VDD; the sources of MOS tubes M8, M9, M10 and M11 are grounded; the drains of MOS tubes M8, M9, M12 are connected to the gates of M10 and M13; the drains of MOS tubes M11, M10, M13 are connected to the gates of M9 and M12; the sources of MOS tubes M12 and M13 are connected to the drain of M14; the gate of MOS tube M14 is connected to the comparator inverting clock LATCH_CLKB; the source of MOS tube M14 is connected to the power supply VDD. The drains of M12 and M9 serve as the P-terminal output VOP of the comparator; the drains of M13 and M10 serve as the N-terminal output VON of the comparator; the input of logic gate NOR3 is connected to VOP; the output of logic gate NOR3 is connected to the upper input of NAND1; the input of logic gate NOR4 is connected to VOP; the output of logic gate NOR4 is connected to the lower input of NND1; the output of logic gate NAND1 is a pulse VALID.

[0007] The comparator offset voltage calibration module includes: MOS tubes M15, M16, M17, M18, M19, M20, M21, M22, M23, M24, M25, M26, M27, M28, M29, M30, M31, M32 and MC1, MC2, resistor R1, capacitors C1 and C2, logic gates ADN1, AND2, NOT1, NOT2, switches SW1, SW2, SW3, SW4. Among them, MOS tubes MC1 and MC2 constitute auxiliary input tubes of the dynamic comparator, MOS tube M15 is a pre-charge tube, MOS tubes M16~M19 and capacitors C1, C2 constitute a charge pump circuit, MOS tubes M20~M31 and resistor R1 constitute a bias cascode bias circuit, switches SW1, SW2, SW3 and SW4 control input access status, and logic gates AND1, AND2, NOT1, NOT2 control charge pump switches. The source of MOS tube MC1 is connected to the source of M2, M3, MC2 and the drain of M1; the drain of MOS tube MC1 is connected to the source of M2, M4, M5 and the gate of M6 and M8; the source of MOS tube MC2 is connected to the source of MC1, M2, M3 and the drain of M1; the drain of MOS tube MC2 is connected to the drain of M6, M7 and the gate of M5 and M11; the gate of MOS tube MC2 is connected to the common mode voltage VCM; the gate of MOS tube MC1 is connected to the source of M15, the upper plate of capacitor C1, the drain of M16 and M17 The gate of MOS tube M15 is connected to the pulse Charge; the drain of MOS tube M15 is connected to the common mode level VCM; the source of MOS tube M15 is connected to the gate of MC1, the drains of M16 and M17, and the upper plate of capacitor C1; the gate of MOS tube M16 is connected to the pulse BOT; the source of MOS tube M16 is connected to the source of M18 and the drain of M25; the drains of MOS tubes M16 and M17, the source of M15, the gate of MC1, and the upper plate of capacitor C1 are connected; the gate of MOS tube M17 is connected to the pulse TOPN; The source of MOS tube M17 is connected to the source of M19 and the drain of M20; the gate of MOS tube M19 is connected to the pulse TOP; the drain of MOS tube M19 is connected to the drain of M18 and the upper plate of capacitor C2; the source of M19 is connected to the drain of M20 and the source of M17; the gate of MOS tube M18 is connected to the pulse BOTN; the source of MOS tube M18 is connected to the source of M16 and the drain of M25; the lower plates of capacitors C1 and C2 are grounded; the source of MOS tube M20 is connected to the drain of M21; the gate of MOS tube M20 is connected to the gates of M23 and M24 The gate of M21 is connected to the gate of M22, the drain of M23 and the drain of M27; the source of M21, M22 and M24 is connected to the power supply VDD; the drain of M22 is connected to the source of M23; the source of M25 is connected to the drain of M26; the gate of M25 is connected to the gates of M27, M29 and M31 and the upper end of the resistor R1; the gate of M26 is connected to the lower end of M28, M30, M32 and the lower end of the resistor R1; the source of M26, M28, M30 and M32 is grounded; the source of M27 is connected to the drain of M28;The source of M29 is connected to the drain of M30; the source of M31 is connected to the drain of M32; the right end of switch SW1 is connected to the gate of M2; the left end of switch SW1 is connected to the input VIP; the left end of switch SW2 is connected to the gate of M3; the right end of switch SW2 is connected to the input VIN; the right end of switch SW3 is connected to the gate of M2; the left end of switch SW3 is connected to the input common mode VCM; the right end of switch SW4 is connected to the gate of M3; the left end of switch SW4 is connected to the input common mode VCM; switches SW1 and SW2 are controlled by pulse CAL; switches SW3 and SW4 are controlled by pulse CALN Control; Pulse CALN is the inversion of pulse CAL; the upper input of logic gate AND1 is connected to VON; the lower input of logic gate AND1 and the upper input of AND2 are connected to pulse CAL; the output of logic gate ADN1 is connected to the input of NOT1 and connected to the gate of M19 as a TOP signal; the output of logic gate AND2 is connected to the input of NOT2 and connected to the gate of M16 as a BOT signal; the output of logic gate NOT1 is connected to the gate of M17 as a TOPN signal; the output of logic gate NOT2 is connected to the gate of M18 as a BOTN signal. ;

[0008] The alternating comparator control logic module includes: MOS tubes M1, M2, M3, M4, logic gates ADN1, AND2, AND3, AND4, NOT1, NOT2, NOT3, NOR1, switches SW1, SW2, SW3, SW4, and comparators CMP1, CMP2. The sources of MOS tubes M1 and M3 are connected to the power supply VDD; the gate of MOS tube M1 is connected to the output of logic gate NOT1; the drain of MOS tube M1 is connected to the drain of M2 and the upper input of logic gate AND1; the gate of MOS tube M2 is connected to the right side of switch SW1 and the upper side of switch SW2; the sources of MOS tubes M2 and M4 are grounded; the gate of MOS tube M3 is connected to the output of logic gate NOR1; the drain of MOS tube M3 is connected to the drain of M4 and the upper input of logic gate AND3; the lower inputs of logic gates AND1 and AND3 are connected to the output of AND2; the output of logic gate ADN1 is a pulse LA TCH2 is used as the clock of comparator CMP2; the output of logic gate AND3 is pulse LATCH1 which is used as the clock of comparator CMP1; the upper input of logic gate AND2 is pulse CMPOK; the lower input of logic gate AND2 is pulse CLKB; pulse CMPOK is the pulse signal of the last comparison completion; pulse CLKB is the inverted signal of sampling clock CLK; the input of logic gate NOT1 is pulse VALID1; the lower input of logic gate NOR1 is pulse VALID2; the upper input of logic gate NOR1 is the output of logic gate AND4; The upper input of logic gate AND4 is the output of logic gate NOT2; the lower input of logic gate AND4 is the output of logic gate NOT3; the input of logic gate NOT2 is the output of logic gate NOT3; the input of logic gate NOT3 is the sampling pulse CLK; pulse VALID1 is the pulse generated when comparator CMP1 completes the comparison; pulse VALID2 is the pulse generated when comparator CMP2 completes the comparison; the control signal of switches SW1 and SW3 is CLKB; the control signal of switches SW2 and SW4 is CLK; the left end of switch SW1 is connected to pulse VAL ID2; the right end of switch SW1 is connected to the gate of MOS tube M2 and the upper end of switch SW2; the lower end of switch SW2 is connected to the power supply VDD; the left end of switch SW3 is connected to the pulse VALID1; the right end of switch SW3 is connected to the gate of MOS tube M4 and the upper end of switch SW4; the lower end of switch SW4 is connected to the power supply VDD; the upper inputs of comparators CMP1 and CMP2 are connected to the signal CDAC_P; the lower inputs of comparators CMP1 and CMP2 are connected to the signal CDAC_N; the signal CDAC_P is the upper plate output of the P-end capacitor array; the signal CDAC_N is the upper plate output of the N-end capacitor array.

[0009] The high-speed low-offset comparator architecture for SAR ADC is characterized in that: the calibration circuit is formed by using the auxiliary input tubes MC1, MC2, charge pump circuits M15-M19 and capacitors C1, C2 in the front and rear stage positive feedback dynamic comparators and the comparator offset voltage calibration module to calibrate the offset voltage of the comparators CMP1 and CMP2. In the calibration stage, when the comparator VOP is high, the BOT signal will be high, M16 will be turned on to discharge the capacitor C1, so that the gate voltage of the auxiliary input tube MC1 will drop, reducing the comparison speed of the P terminal; similarly, when the comparator VON is high, the TOPN signal will be high. is low, M17 is turned on to charge capacitor C1, so that the gate voltage of the auxiliary input tube MC1 rises, and the comparison speed of the P terminal is improved. This calibration process is continuously carried out until the gate voltage of the auxiliary input tube MC1 is stabilized and the calibration is completed, so that the comparators CMP1 and CMP2 have low offset voltage characteristics; at the same time, the comparators CMP1, CMP2 and the control logic in the alternating comparator control logic module are used to form an acceleration circuit, so that the comparators CMP1 and CMP2 can work alternately, which can greatly save the time wasted by resetting a single comparator, and make the entire comparator architecture have high-speed characteristics.

[0010] The method for realizing a high-speed low offset voltage comparator by the circuit includes: controlling the alternating generation of LATCH1 and LATCH2 signals of two comparators through the alternating comparator control logic module to realize the alternating operation of the two comparators; controlling the offset voltage calibration process of the comparator in the initial stage through the comparator offset voltage calibration module; forming the specific structure of the comparator through the front and rear stage positive feedback dynamic comparator modules, the front stage positive feedback pre-amplification and the rear stage positive feedback latch. When the comparator has an offset voltage, it will generate a TOP or BOT pulse according to the comparison between the offset voltage and the reference voltage, and charge and discharge the calibration capacitor C1 to realize the speed adjustment of the two ends of the comparator PN.

[0011] When the external control pulse CAL signal is high, the comparator will enter the calibration state. At this time, the gates of the input tubes M2 and M3 and the auxiliary input tube MC2 are connected to the external common mode level VCM, and the external Charge pulse charges the gate voltage of the auxiliary input tube MC1 to the common mode level VCM. Since the comparator has an offset voltage, it is assumed here that the equivalent input offset voltage of the comparator is at the VIP input terminal. Since the gate voltages of the auxiliary input tubes MC1 and MC2 are both at the common mode level VCM, and there is an offset voltage at the P terminal, the speed of the P terminal will be greater than that of the N terminal. Therefore, after the comparator starts working, it will output VOP as a high level and VON as a low level. Through the control logic, the BOT signal is high and the TOPN signal is high. Therefore, the charge pump NMOS tube M16 is turned on and the PMOS tube M17 is turned off to discharge the capacitor C1. The discharge voltage is V=ICN×tN / C1, where is the discharge current of the ICN charge pump, and tN is the time when the BOT high level pulse exists, that is, the time when the charge pump tube M16 is turned on. As the capacitor C1 discharges, the gate voltage of the auxiliary input tube MC1 decreases, causing the comparison speed of the P end to begin to decrease. When the speed of the P end decreases slower than that of the N end, the output polarity of the comparator is reversed, that is, the output VOP is low and VON is high. Through the control logic, BOT is low and TOPN is low, so the charge pump NMOS tube M16 is turned off and the PMOS tube M17 is turned on to charge the capacitor C1. The charging voltage is V=ICP×tP / C1, where ICP is the charge pump charging current and tP is the time when the TOPN low-level pulse exists, that is, the time when the charge pump tube M17 is turned on. This calibration process is cyclic until the gate voltage of the auxiliary input tube MC1 floats up and down alternately, indicating that the offset voltage of the comparator has been calibrated. It is worth noting that since the comparator works at a relatively fast speed during the calibration process, the clock feedthrough is relatively serious. Therefore, the charge pump charging current and discharge current are not necessarily equal, resulting in errors in the charging voltage change and the discharge voltage change. Therefore, the size of the auxiliary input tube is selected to be 1 / 8 or smaller than that of the main input tube, so that the auxiliary input tube has a smaller impact on the speed of the comparator. Then the gate voltage floating of the auxiliary input tube has almost no effect on the speed of the comparator.

[0012] When the external control pulse CAL signal is low, the comparator will enter the working state, and the gate of the input tube is connected to the input signal at both ends of PN. When the comparator clock LATCH_CLK is high, the PMOS tubes M4 and M7 will be turned off, and the comparator will start to compare. Here, it is assumed that VIP is greater than VIN. Since the offset voltage of the comparator has been calibrated in the previous process, the speed of the P terminal is greater than the speed of the N terminal. Then the pull-down speed of the input tube M2 is greater than the pull-down speed of M3, so the VO- voltage will be less than VO+. At the same time, the PMOS tubes M5 and M6 form positive feedback. VO- pulls down faster, making the conduction degree of the PMOS tube M6 greater than M5. Then M6 charges VO+ to ensure that VO+ is more positive, while VO- is more negative relative to VO+. The positive feedback pre-amplification of the front stage makes the voltage difference between VO- and VO+ larger. Since VO+ is more positive than VO-, the conduction degree of the NMOS tube M11 in the subsequent stage is greater than that of M8, so M11 pulls VON down faster than M8 pulls VOP down. At the same time, NMOS tubes M9, M10 and PMOS tubes M12, M13 form a positive feedback circuit. Since the VON voltage drops faster than VOP, VON pulls VOP up through the inverter formed by M9 and M12. At the same time, after VOP is pulled up, VON is pulled down through the inverter formed by M10 and M13. Under the action of this positive feedback, VOP and VON will eventually decide the winner, one is high and the other is low, that is, VOP is high and VON is low. Since VOP and VON are one high and one low, the VALID signal generated by inverters NOT3, NOT4 and NAND gate NAND1 is high, which means that the standard comparator has completed the comparison. At this time, the VALID signal will pull down the first comparator LATCH through the alternating comparator control logic to enter reset, and at the same time pull up the LATCH of the second comparator to enter the second comparison. When the comparator is reset, since LATCH_CLK is low, the PMOS tubes M4 and M7 are turned on to charge VO- and VO+ to a high level, and then the NMOS tubes M8 and M11 are turned on to pull VOP and VON to a low level, and then the VALID signal is pulled low through NOT3, NOT4 and NAND1.

[0013] The working principle of the alternating comparator control logic is as follows:

[0014] Since the SAR ADC completes sampling at the falling edge of the clock, that is, when the sampling clock CLK is at a low level, the comparator starts working, and the low-level CLK passes through the delayed narrow pulse module composed of NOT3, NOT2 and AND4, which will generate a narrow high-level pulse. The pulse width depends on the delay size of NOT2. According to the above analysis, after the comparator is reset, the VALID signal will be pulled low, so the narrow high-level pulse output by AND4 will briefly pass through the NOR gate NOR1 to output a low level to turn on the PMOS tube M3, making the drain voltage of the PMOS tube M3 high. CMPOK is a signal that marks the completion of the last comparison. CMPOK will be reset to a high level during the sampling stage. When the last comparison is completed, CMPOK will be pulled to a low level. Therefore, at the beginning of the comparison phase, CLKB is high, CMPOK is high, and the output of AND gate AND2 is high. The drain of M3 is high, so LATCH1 is pulled high through AND gate AND3, so the first comparator starts to work. According to the above, when the first comparator completes the comparison, VALID1 will be pulled high. Since switch SW3 is controlled by CLKB, and CLKB is high, switch SW3 is in the open state. At this time, VALID1 is high, so the gate voltage of NMOS tube M4 is high, and the drain voltage of M4 is pulled down. LATCH1 is pulled low through AND gate AND3, and the first comparator begins to enter the reset state. The high-level VALID1 is changed to a low level through inverter NOT1, so that PMOS tube M1 is turned on, and the drain potential of M1 is pulled to a high level. LATCH2 is pulled to a high level through AND gate AND1, so that the second comparator starts to work. When the second comparator completes the comparison, it generates a high-level VALID2 signal, turns on the NMOS tube M2 through the switch SW1, pulls down the drain voltage of M2, and pulls down LATCH2 through the AND gate AND1. At the same time, VALID2 turns on the gate voltage of the PMOS tube through the NOR gate NOR1, turns on M3 and pulls down the drain voltage of M3, and pulls up LATCH1 through the NAND gate AND3, so that the first comparator starts working. It should be noted that the delay of the inverter NOT1 and the NOR gate NOR1 needs to be reasonably adjusted to ensure that CDAC has been established when the comparator LATCH signal is high. As the above two comparators work in sequence until the last comparison is completed, the CMPOK signal will be pulled to a low level, and a low-level signal will be generated through the AND gate AND2, pulling down LATCH1 and LATCH2, and the two comparators stop comparing and enter the reset state.At the same time, switch tubes SW2 and SW4 are introduced and controlled by the sampling clock CLK. The purpose is that if the comparator fails to complete the last comparison during the entire allowed comparison time, that is, when the sampling clock is in the low level state, then when the sampling clock CLK is high, SW2 and SW4 are turned on, and the gates of NMOS tubes M2 and M4 are pulled high, so that the drain voltages of M2 and M4 are low, and LATCH1 and LATCH2 are pulled low through AND gates AND1 and AND3, so that the two comparators are forced to stop working and enter the reset state.

[0015] As described above, the high-speed low-offset comparator circuit for SAR ADC of the present invention has at least the following beneficial effects:

[0016] By designing the comparator offset voltage calibration module, the equivalent input offset voltage of the comparator can be tolerated to within 0.5LSB in a small-size process, realizing a low offset voltage comparator. By designing the positive feedback comparator and the alternating comparator control logic, the two comparators work alternately, greatly reducing the time consumed by a single comparator reset and realizing a high-speed comparator. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the front and rear stage positive feedback dynamic comparator and comparator offset voltage calibration module.

[0018] Figure 2 Schematic diagram of the alternating comparator control logic module

[0019] Figure 3 Schematic diagram of the comparator offset voltage calibration process

[0020] Figure 4 The schematic diagram of the control logic of the alternating comparator is shown in Figure 2. DETAILED DESCRIPTION

[0021] To make the above features and advantages of the present invention clearer, the following is a detailed description of the specific embodiments of the present invention in conjunction with the accompanying drawings. Those skilled in the art can easily understand the advantages of the present invention from the contents described in this specification.

[0022] It should be noted that this Figure 1~2 The figures mentioned in the figure are only used to illustrate the basic structure of the present invention in a schematic manner. Therefore, the figures only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. Readers can change the number, shape and size of each component according to their actual situation, and can also introduce other components to adjust the circuit structure on this basis.

[0023] Figure 1The present invention shows the front and rear stage positive feedback dynamic comparator and comparator offset voltage calibration module, which includes MOS tubes M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14, M15, M16, M17, M18, M19, M20, M21, M22, M23, M24, M25, M26, M27, M28, M29, M30, M31, M32, MC1, MC2, logic gates NAND1, NOT3, NOT4, ADN1, AND2, NOT1, NOT2, resistor R1, capacitors C1 and C2, switches SW1, SW2, SW3, SW4. The gate of the MOS tube M1 is connected to the comparator clock LATCH_CLK; the source of the MOS tube M1 is grounded; the drain of the MOS tube M1 is connected to the source of the MOS tubes M2 and M3; the gate of the MOS tube M2 is connected to the P terminal input; the drain of the MOS tube M2 is connected to the drains of the MOS tubes M4 and M5, and the gates of the MOS tubes M6 and M8; the gate of the MOS tube M3 is connected to the N terminal input; the drain of the MOS tube M3 is connected to the drains of the MOS tubes M6 and M7, and the gates of the MOS tubes M5 and M11; the gates of the MOS tubes M4 and M7 are all connected to the comparator. The source of MOS tubes M4, M5, M6 and M7 is connected to the power supply VDD; the source of MOS tubes M8, M9, M10 and M11 is grounded; the drain of MOS tubes M8, M9, M12 is connected to the gate of M10 and M13; the drain of MOS tubes M11, M10 and M13 is connected to the gate of M9 and M12; the source of MOS tubes M12 and M13 is connected to the drain of M14; the gate of MOS tube M14 is connected to the comparator inverting clock LATCH_CLKB; the source of MOS tube M14 is connected to the power supply VDD. The drains of M12 and M9 are used as the output VOP of the P terminal of the comparator; the drains of M13 and M10 are used as the output VON of the N terminal of the comparator; the input of logic gate NOR3 is connected to VOP; the output of logic gate NOR3 is connected to the upper input of NAND1; the input of logic gate NOR4 is connected to VOP; the output of logic gate NOR4 is connected to the lower input of NND1; the output of logic gate NAND1 is a pulse VALID. Among them, MOS tubes MC1 and MC2 constitute the auxiliary input tube of the dynamic comparator, MOS tube M15 is a pre-charge tube, MOS tubes M16~M19 and capacitors C1 and C2 constitute the charge pump circuit, MOS tubes M20~M31 and resistor R1 constitute the bias cascode bias circuit, switches SW1, SW2, SW3 and SW4 control the input access state, and logic gates AND1, AND2, NOT1, and NOT2 control the charge pump switch. The source of MOS tube MC1 is connected to the source of M2, M3, MC2 and the drain of M1; the drain of MOS tube MC1 is connected to the source of M2, M4, M5 and the gate of M6 and M8; the source of MOS tube MC2 is connected to the source of MC1, M2, M3 and the drain of M1;The drain of MOS tube MC2 is connected to the drains of M6 and M7 and the gates of M5 and M11; the gate of MOS tube MC2 is connected to the common mode voltage VCM; the gate of MOS tube MC1 is connected to the source of M15, the upper plate of capacitor C1, and the drains of M16 and M17; the gate of MOS tube M15 is connected to the pulse Charge; the drain of MOS tube M15 is connected to the common mode level VCM; the source of MOS tube M15 is connected to the gate of MC1, the drains of M16 and M17, and the upper plate of capacitor C1; the gate of MOS tube M16 is connected to the pulse BOT; the source of MOS tube M16 is connected to the source of M18 and the drain of M25; the drains of MOS tubes M16 and M17, the source of M15, the gate of MC1, and the upper plate of capacitor C1 are connected; The gate of M17 is connected to the pulse TOPN; the source of MOS tube M17 is connected to the source of M19 and the drain of M20; the gate of MOS tube M19 is connected to the pulse TOP; the drain of MOS tube M19 is connected to the drain of M18 and the upper plate of capacitor C2; the source of M19 is connected to the drain of M20 and the source of M17; the gate of MOS tube M18 is connected to the pulse BOTN; the source of MOS tube M18 is connected to the source of M16 and the drain of M25; the lower plates of capacitors C1 and C2 are grounded; the source of MOS tube M20 is connected to the drain of M21; the gate of MOS tube M20 is connected to the gates of M23 and M24 and the drain of M24; the gate of M21 is connected to the gate of M22, the drain of M23 and the drain of M27; the sources of M21, M22 and M24 are connected to the gates of M23 and M27. The electrode is connected to the power supply VDD; the drain of M22 is connected to the source of M23; the source of M25 is connected to the drain of M26; the gate of M25 is connected to the gates of M27, M29, and M31, and the upper end of the resistor R1; the gate of M26 is connected to the lower end of M28, M30, M32, and the resistor R1; the source of M26, M28, M30, and M32 is grounded; the source of M27 is connected to the drain of M28; the source of M29 is connected to the drain of M30; the source of M31 is connected to the drain of M32; the right end of switch SW1 is connected to the gate of M2; the left end of switch SW1 is connected to the input VIP; the left end of switch SW2 is connected to the gate of M3; the right end of switch SW2 is connected to the input VIN; the right end of switch SW3 is connected to the gate of M2; the left end of switch SW3 is connected to the input common mode VCM; the switch The right end of SW4 is connected to the gate of M3; the left end of switch SW4 is connected to the input common mode VCM; switches SW1 and SW2 are controlled by pulse CAL; switches SW3 and SW4 are controlled by pulse CALN; pulse CALN is the inversion of pulse CAL; the upper input of logic gate AND1 is connected to VON; the lower end of logic gate AND1 and the upper end of AND2 are connected to pulse CAL; the output of logic gate ADN1 is connected to the input of NOT1 and connected to the gate of M19 as a TOP signal; the output of logic gate AND2 is connected to the input of NOT2 and connected to the gate of M16 as a BOT signal; the output of logic gate NOT1 is connected to the gate of M17 as a TOPN signal; the output of logic gate NOT2 is connected to the gate of M18 as a BOTN signal. ;

[0024] Specifically, Figure 1The MOS tubes M22, M23, M24, M27, M28, M29, M30, M31, M32 and the resistor R1 shown constitute a cascode current mirror bias circuit structure, wherein the bias current IBIAS is increased by the bandgap reference circuit to a current reference with a zero temperature coefficient, and the resistor R1 divides the bias current IBIAS to provide gate bias for the MOS tubes M25, M26, M27, M28, M29, M30, M31, and M32. The PMOS tube M24 is a diode-connected MOS tube to bias the gates of M20 and M23. The PMOS tubes M20 and M21 constitute a charging current source for the charge pump, and the NMOS tubes M25 and M26 constitute a discharging current source for the charge pump, and their currents are provided by a current mirror image. The MOS tubes M16, M17, M18, and M19 constitute a charge pump with a current conversion structure. The purpose is that when M16 or M17 is turned on, M18 or M19 can be turned on to ensure that the current of the charge pump current source can continue to exist. When M16 or M17 is turned on, the charge pump current can flow directly through this branch without the need to re-establish it. Because under high-speed operation, the speed of re-establishing the current may not meet the high-speed requirements, resulting in a very small charge and discharge current of the charge pump, and the comparator offset voltage calibration cannot be completed.

[0025] Specifically, Figure 1In the schematic diagram, when the external control pulse CAL signal is high, the comparator will enter the calibration state. At this time, the gates of the input tubes M2 and M3 and the auxiliary input tube MC2 are connected to the external common mode level VCM, and the external Charge pulse charges the gate voltage of the auxiliary input tube MC1 to the common mode level VCM. Since the comparator has an offset voltage, it is assumed here that the equivalent input offset voltage of the comparator is at the VIP input terminal. Since the gate voltages of the auxiliary input tubes MC1 and MC2 are both at the common mode level VCM, and there is an offset voltage at the P terminal, the speed of the P terminal will be greater than that of the N terminal. Therefore, after the comparator starts working, it will output VOP as a high level and VON as a low level. Through the control logic, the BOT signal is high and the TOPN signal is high. Therefore, the charge pump NMOS tube M16 is turned on and the PMOS tube M17 is turned off to discharge the capacitor C1. The discharge voltage is V=ICN×tN / C1, where ICN is the discharge current of the charge pump, and tN is the time when the BOT high level pulse exists, that is, the time when the charge pump tube M16 is turned on. As the capacitor C1 discharges, the gate voltage of the auxiliary input tube MC1 decreases, causing the comparison speed of the P end to begin to decrease. When the speed of the P end decreases slower than that of the N end, the output polarity of the comparator is reversed, that is, the output VOP is low and VON is high. Through the control logic, BOT is low and TOPN is low, so the charge pump NMOS tube M16 is turned off and the PMOS tube M17 is turned on to charge the capacitor C1. The charging voltage is V=ICP×tP / C1, where ICP is the charge pump charging current and tP is the time when the TOPN low-level pulse exists, that is, the time when the charge pump tube M17 is turned on. This calibration process is cyclic until the gate voltage of the auxiliary input tube MC1 floats up and down alternately, indicating that the offset voltage of the comparator has been calibrated. It is worth noting that since the comparator works at a relatively fast speed during the calibration process, the clock feedthrough is relatively serious, so the charge pump charging current and discharge current are not necessarily equal, resulting in errors in the charging voltage change and the discharge voltage change. Therefore, the size of the auxiliary input tube is selected to be 1 / 8 or smaller than the main input tube, so that the auxiliary input tube has a relatively small impact on the speed of the comparator, and the gate voltage floating of the auxiliary input tube has almost no effect on the speed of the comparator. When the external control pulse CAL signal is low, the comparator will enter the working state, and the gate of the input tube is connected to the input signal at both ends of PN.When the comparator clock LATCH_CLK is high, PMOS tubes M4 and M7 will be turned off, and the comparator will start to compare. It is assumed here that VIP is greater than VIN. Since the comparator offset voltage has been calibrated in the previous process, the P-end speed is greater than the N-end speed. Then the pull-down speed of the input tube M2 is greater than the pull-down speed of M3, so the VO- voltage will be less than VO+. At the same time, PMOS tubes M5 and M6 form positive feedback. VO- pulls down faster, making the conduction degree of PMOS tube M6 greater than M5. Then M6 charges VO+ to ensure that VO+ is more positive, while VO- is more negative than VO+. The positive feedback pre-amplification of the front stage makes the voltage difference between VO- and VO+ larger. Since VO+ is more positive than VO-, the conduction degree of the NMOS tube M11 in the subsequent stage is greater than that of M8, so M11 pulls VON down faster than M8 pulls VOP down. At the same time, NMOS tubes M9, M10 and PMOS tubes M12, M13 form a positive feedback circuit. Since the VON voltage drops faster than VOP, VON pulls VOP up through the inverter formed by M9 and M12. At the same time, after VOP is pulled up, VON is pulled down through the inverter formed by M10 and M13. Under the action of this positive feedback, VOP and VON will eventually decide the winner, one is high and the other is low, that is, VOP is high and VON is low. Since VOP and VON are one high and one low, the VALID signal generated by inverters NOT3, NOT4 and NAND gate NAND1 is high, which means that the standard comparator has completed the comparison. At this time, the VALID signal will pull down the first comparator LATCH through the alternating comparator control logic to enter reset, and at the same time pull up the LATCH of the second comparator to enter the second comparison. When the comparator is reset, since LATCH_CLK is low, the PMOS tubes M4 and M7 are turned on to charge VO- and VO+ to a high level, and then the NMOS tubes M8 and M11 are turned on to pull VOP and VON to a low level, and then the VALID signal is pulled low through NOT3, NOT4 and NAND1.

[0026] Specifically, Figure 2In the diagram, when the SAR ADC completes sampling at the falling edge of the clock, that is, when the sampling clock CLK is at a low level, the comparator starts working, and the low-level CLK passes through the delayed narrow pulse module composed of NOT3, NOT2 and AND4, and generates a narrow high-level pulse. The pulse width depends on the delay size of NOT2. According to the above analysis, after the comparator is reset, the VALID signal will be pulled low, so the narrow high-level pulse output by AND4 will briefly pass through the NOR gate NOR1 to output a low level to turn on the PMOS tube M3, making the drain voltage of the PMOS tube M3 high. CMPOK is a signal that marks the completion of the last comparison. CMPOK will be reset to a high level during the sampling stage. When the last comparison is completed, CMPOK will be pulled to a low level. Therefore, at the beginning of the comparison phase, CLKB is high, CMPOK is high, and the output of AND gate AND2 is high. The drain of M3 is high, so LATCH1 is pulled high through AND gate AND3, so the first comparator starts to work. According to the above, when the first comparator completes the comparison, VALID1 will be pulled high. Since switch SW3 is controlled by CLKB, and CLKB is high, switch SW3 is in the open state. At this time, VALID1 is high, so the gate voltage of NMOS tube M4 is high, and the drain voltage of M4 is pulled down. LATCH1 is pulled low through AND gate AND3, and the first comparator begins to enter the reset state. The high-level VALID1 is changed to a low level through inverter NOT1, so that PMOS tube M1 is turned on, and the drain potential of M1 is pulled to a high level. LATCH2 is pulled to a high level through AND gate AND1, so that the second comparator starts to work. When the second comparator completes the comparison, it generates a high-level VALID2 signal, turns on the NMOS tube M2 through the switch SW1, pulls down the drain voltage of M2, and pulls down LATCH2 through the AND gate AND1. At the same time, VALID2 turns on the gate voltage of the PMOS tube through the NOR gate NOR1, turns on M3 and pulls down the drain voltage of M3, and pulls up LATCH1 through the NAND gate AND3, so that the first comparator starts working. It should be noted that the delay of the inverter NOT1 and the NOR gate NOR1 needs to be reasonably adjusted to ensure that CDAC has been established when the comparator LATCH signal is high. As the above two comparators work in sequence until the last comparison is completed, the CMPOK signal will be pulled to a low level, and a low-level signal will be generated through the AND gate AND2, pulling down LATCH1 and LATCH2, and the two comparators stop comparing and enter the reset state.At the same time, switch tubes SW2 and SW4 are introduced and controlled by the sampling clock CLK. The purpose is that if the comparator fails to complete the last comparison during the entire allowed comparison time, that is, when the sampling clock is in the low level state, then when the sampling clock CLK is high, SW2 and SW4 are turned on, and the gates of NMOS tubes M2 and M4 are pulled high, so that the drain voltages of M2 and M4 are low, and LATCH1 and LATCH2 are pulled low through AND gates AND1 and AND3, so that the two comparators are forced to stop working and enter the reset state.

[0027] Specifically, Figure 3 The schematic diagram shows the calibration process of adding offset voltage to the N input terminal. As can be seen in the figure, the gate voltage of the auxiliary input tube MC1 will be pre-charged to VCM first, and then CAL is high level, entering the calibration process. Since the speed of the P terminal is lower than that of the N terminal, the PMOS tube M17 of the charge pump will be turned on to charge the capacitor C1, so that its voltage gradually increases. When the voltage on the upper plate of the capacitor C1 increases to the point that the output result is reversed, the NMOS tube M16 of the charge pump will be turned on to discharge the capacitor C1, so that its voltage drops. In the next stage, the output result of the comparator is reversed again, that is, the PMOS tube M17 of the charge pump will be turned on again, charging the capacitor C1, so that its voltage increases. Therefore, the calibration will enter a stable process, and the voltage on the upper plate of the capacitor will fluctuate up and down until the calibration is completed.

[0028] Specifically, Figure 4 The schematic diagram shows the timing of the control logic of the alternating comparator. After the sampling clock CLK is at a low level, a narrow pulse CMP will be generated to activate the clock LATCH_CLK1 of the first comparator, so that the first comparator starts working. After the first comparator completes the comparison, the VALID1 signal is generated at a high level, and the LATCH_CLK1 of the first comparator is pulled low while the LATCH_CLK2 of the second comparator is pulled high, so that the first comparator starts to reset and the second comparator starts to work. Similarly, after the second comparator completes the comparison, the VALID2 signal is generated at a high level, and the LATCH_CLK2 of the second comparator is pulled low while the LATCH_CLK1 of the first comparator is pulled high, so that the second comparator starts to reset and the first comparator starts to work, and the two comparators work in an alternating cycle.

[0029] In summary, the high-speed low offset comparator circuit for SAR ADC of the present invention performs offset voltage calibration on the front and rear stage positive feedback comparators through a comparator offset voltage module to realize a low offset voltage comparator; and enables two comparators to work alternately through an alternating comparator control logic module, thereby saving the time consumed by resetting a single comparator and realizing a high-speed comparator.

Claims

1. A high-speed low-offset comparator circuit for SAR ADC, the circuit comprising a front-end and rear-end positive feedback dynamic comparator, a comparator offset voltage calibration circuit and an alternating comparator control logic circuit, characterized in that: The dynamic comparator introduces PMOS tubes M5 and M6 in the pre-amplification process to improve positive feedback; the comparator offset voltage calibration circuit introduces PMOS tubes M17 and M19 and NMOS tubes M16 and M18 in the calibration process to form a current conversion circuit to eliminate the time consumed by the charge pump circuit to re-establish the charging and discharging current each time; the alternating comparator control logic circuit introduces logic gates NOT3, NOT2, and AND4 to generate narrow pulses for the sampling clock CLK to activate the alternating comparator control logic circuit to start working, and uses the sampling clock CLK to control switches SW2 and SW4, the sampling clock's inverse CLKB to control switches SW1 and SW3, MOS tubes M1, M2, M3 and M4, and logic gates ADN1 and AND3 to ensure the alternating operation and reset of the comparator circuit, and introduces logic gate AND2 and its control signal CMPOK to ensure that the comparator can stop working after completing the last comparison.

2. According to the high-speed low-offset comparator architecture for SAR ADC of claim 1, the front-end and back-end positive feedback dynamic comparator comprises: MOS tubes M1, M2, M3, M4, M5, M6, M7, M8, M9, M10, M11, M12, M13, M14, logic gates NAND1, NOT3, NOT4. The gate of the MOS tube M1 is connected to the comparator clock LATCH_CLK; the source of the MOS tube M1 is grounded; the drain of the MOS tube M1 is connected to the source of the MOS tubes M2 and M3; the gate of the MOS tube M2 is connected to the P-terminal input; the drain of the MOS tube M2 is connected to the drains of the MOS tubes M4 and M5, and the gates of the MOS tubes M6 and M8; the gate of the MOS tube M3 is connected to the N-terminal input; the drain of the MOS tube M3 is connected to the drains of the MOS tubes M6 and M7, and the gates of the MOS tubes M5 and M11; the gates of the MOS tubes M4 and M7 are both connected to the comparator clock LATCH_CLK; the sources of MOS tubes M4, M5, M6 and M7 are connected to the power supply VDD; the sources of MOS tubes M8, M9, M10 and M11 are grounded; the drains of MOS tubes M8, M9, M12 are connected to the gates of M10 and M13; the drains of MOS tubes M11, M10, M13 are connected to the gates of M9 and M12; the sources of MOS tubes M12 and M13 are connected to the drain of M14; the gate of MOS tube M14 is connected to the comparator inverting clock LATCH_CLKB; the source of MOS tube M14 is connected to the power supply VDD. The drains of M12 and M9 serve as the P-terminal output VOP of the comparator; the drains of M13 and M10 serve as the N-terminal output VON of the comparator; the input of logic gate NOR3 is connected to VOP; the output of logic gate NOR3 is connected to the upper input of NAND1; the input of logic gate NOR4 is connected to VOP; the output of logic gate NOR4 is connected to the lower input of NND1; the output of logic gate NAND1 is a pulse VALID.

3. According to the high-speed low-offset comparator architecture for SAR ADC of claim 1, the comparator offset voltage calibration module comprises: MOS tubes M15, M16, M17, M18, M19, M20, M21, M22, M23, M24, M25, M26, M27, M28, M29, M30, M31, M32, MC1, MC2, resistor R1, capacitors C1 and C2, logic gates ADN1, AND2, NOT1, NOT2, switches SW1, SW2, SW3, SW4. Among them, MOS tubes MC1 and MC2 constitute auxiliary input tubes of the dynamic comparator, MOS tube M15 is a pre-charge tube, MOS tubes M16~M19 and capacitors C1 and C2 constitute a charge pump circuit, MOS tubes M20~M31 and resistor R1 constitute a bias cascode bias circuit, switches SW1, SW2, SW3 and SW4 control the input access state, and logic gates AND1, AND2, NOT1, NOT2 control the charge pump switch. The source of MOS tube MC1 is connected to the source of M2, M3, MC2 and the drain of M1; the drain of MOS tube MC1 is connected to the source of M2, M4, M5 and the gate of M6 and M8; the source of MOS tube MC2 is connected to the source of MC1, M2, M3 and the drain of M1; the drain of MOS tube MC2 is connected to the drain of M6, M7 and the gate of M5 and M11; the gate of MOS tube MC2 is connected to the common mode voltage VCM; the gate of MOS tube MC1 is connected to the source of M15, the upper plate of capacitor C1, and the drain of M16 and M17; the gate of MOS tube M15 is connected to the pulse Charge; the drain of MOS tube M15 is connected to the common mode level VCM; the source of MOS tube M15 is connected to the gate of MC1, the drain of M16 and M17, and the upper plate of capacitor C1; the gate of MOS tube M16 is connected to the pulse BOT; the source of MOS tube M16 is connected to the source of M18 and the drain of M25; 16. The drain of M17, the source of M15, the gate of MC1, and the upper plate of capacitor C1 are connected; the gate of MOS tube M17 is connected to the pulse TOPN; the source of MOS tube M17 is connected to the source of M19 and the drain of M20; the gate of MOS tube M19 is connected to the pulse TOP; the drain of MOS tube M19 is connected to the drain of M18 and the upper plate of capacitor C2; the source of M19 is connected to the drain of M20 and the source of M17; the gate of MOS tube M18 is connected to the pulse BO TN; the source of MOS tube M18 is connected to the source of M16 and the drain of M25; the lower plates of capacitors C1 and C2 are grounded; the source of MOS tube M20 is connected to the drain of M21; the gate of MOS tube M20 is connected to the gates of M23 and M24, and the drain of M24; the gate of M21 is connected to the gate of M22, the drain of M23, and the drain of M27; the sources of M21, M22, and M24 are connected to the power supply VDD; the drain of M22 is connected to the source of M23; The source of M25 is connected to the drain of M26; the gate of M25 is connected to the gates of M27, M29, and M31, and the upper end of resistor R1; the gate of M26 is connected to the lower end of resistor R1, M28, M30, and M32; the source of M26, M28, M30, and M32 is grounded; the source of M27 is connected to the drain of M28; the source of M29 is connected to the drain of M30; the source of M31 is connected to the drain of M32; the right end of switch SW1 is connected to the gate of M2; the left end of switch SW1 is connected to the input VIP; the left end of switch SW2 is connected to the gate of M3; the right end of switch SW2 is connected to the input VIN; the right end of switch SW3 is connected to the gate of M2; the left end of switch SW3 is connected to the input common mode VCM; the right end of switch SW4 is connected to the gate of M3 ; The left end of switch SW4 is connected to the input common mode VCM; switches SW1 and SW2 are controlled by pulse CAL; switches SW3 and SW4 are controlled by pulse CALN; pulse CALN is the inversion of pulse CAL; the upper input of logic gate AND1 is connected to VON; the lower end of logic gate AND1 and the upper end of logic gate AND2 are connected to pulse CAL; the output of logic gate ADN1 is connected to the input of NOT1 and is connected to the gate of M19 as a TOP signal; the output of logic gate AND2 is connected to the input of NOT2 and is connected to the gate of M16 as a BOT signal; the output of logic gate NOT1 is connected to the gate of M17 as a TOPN signal; the output of logic gate NOT2 is connected to the gate of M18 as a BOTN signal.

4. According to the high speed low offset comparator architecture for SAR ADC of claim 1, the alternating comparator control logic module comprises: MOS tubes M1, M2, M3, M4, logic gates ADN1, AND2, AND3, AND4, NOT1, NOT2, NOT3, NOR1, switches SW1, SW2, SW3, SW4, and comparators CMP1 and CMP2. The sources of MOS tubes M1 and M3 are connected to the power supply VDD; the gate of MOS tube M1 is connected to the output of logic gate NOT1; the drain of MOS tube M1 is connected to the drain of M2 and the upper input of logic gate AND1; the gate of MOS tube M2 is connected to the right side of switch SW1 and the upper side of switch SW2; the sources of MOS tubes M2 and M4 are grounded; the gate of MOS tube M3 is connected to the output of logic gate NOR1; the drain of MOS tube M3 is connected to the drain of M4 and the upper input of logic gate AND3; the lower inputs of logic gates AND1 and AND3 are connected to the output of AND2; the output of logic gate ADN1 is a pulse LA TCH2 is used as the clock of comparator CMP2; the output of logic gate AND3 is pulse LATCH1 which is used as the clock of comparator CMP1; the upper input of logic gate AND2 is pulse CMPOK; the lower input of logic gate AND2 is pulse CLKB; pulse CMPOK is the pulse signal of the last comparison completion; pulse CLKB is the inverted signal of sampling clock CLK; the input of logic gate NOT1 is pulse VALID1; the lower input of logic gate NOR1 is pulse VALID2; the upper input of logic gate NOR1 is the output of logic gate AND4; The upper input of logic gate AND4 is the output of logic gate NOT2; the lower input of logic gate AND4 is the output of logic gate NOT3; the input of logic gate NOT2 is the output of logic gate NOT3; the input of logic gate NOT3 is the sampling pulse CLK; pulse VALID1 is the pulse generated when comparator CMP1 completes the comparison; pulse VALID2 is the pulse generated when comparator CMP2 completes the comparison; the control signal of switches SW1 and SW3 is CLKB; the control signal of switches SW2 and SW4 is CLK; the left end of switch SW1 is connected to pulse VAL ID2; the right end of switch SW1 is connected to the gate of MOS tube M2 and the upper end of switch SW2; the lower end of switch SW2 is connected to the power supply VDD; the left end of switch SW3 is connected to the pulse VALID1; the right end of switch SW3 is connected to the gate of MOS tube M4 and the upper end of switch SW4; the lower end of switch SW4 is connected to the power supply VDD; the upper inputs of comparators CMP1 and CMP2 are connected to the signal CDAC_P; the lower inputs of comparators CMP1 and CMP2 are connected to the signal CDAC_N; the signal CDAC_P is the upper plate output of the P-end capacitor array; the signal CDAC_N is the upper plate output of the N-end capacitor array.

5. According to the high-speed low-offset comparator architecture for SAR ADC described in claim 1, the calibration circuit is formed by using the auxiliary input tubes MC1, MC2, charge pump circuits M15-M19 and capacitors C1, C2 in the front and rear stage positive feedback dynamic comparators and the comparator offset voltage calibration module to calibrate the offset voltage of the comparators CMP1 and CMP2. In the calibration stage, when the comparator VOP is high, the BOT signal will be high, and M16 will be turned on to discharge the capacitor C1, so that the gate voltage of the auxiliary input tube MC1 decreases, reducing the comparison speed of the P end; similarly, when the comparator VON is high, the TOPN signal will be low, M17 is turned on to charge the capacitor C1, so that the gate voltage of the auxiliary input tube MC1 rises, thereby improving the comparison speed of the P terminal. This calibration process is continuously performed until the gate voltage of the auxiliary input tube MC1 is stabilized and the calibration is completed, so that the comparators CMP1 and CMP2 have low offset voltage characteristics; at the same time, the comparators CMP1, CMP2 and the control logic in the alternating comparator control logic module form an acceleration circuit, so that the comparators CMP1 and CMP2 can work alternately, which can greatly save the time wasted by resetting a single comparator, and make the entire comparator architecture have high-speed characteristics.

Citation Information

Cited By

  • High-speed analog comparator circuit with imbalance correction

    CN119892092A

  • Digital-to-analog converter chip

    CN120238126A