Analog-to-digital converter, chip, analog-to-digital conversion calibration method and electronic equipment

By introducing an error compensation module into the analog-to-digital converter, the second-stage analog-to-digital conversion circuit is used to sample and quantify the mismatch error voltage of the first-stage analog-to-digital conversion circuit, and the initial analog-to-digital conversion result is compensated to solve the problem. The balance problem between high speed, high precision and low power consumption of traditional analog-to-digital converters has improved the performance of analog-to-digital converters.

CN118611671APending Publication Date: 2024-09-06CHIPSEA TECH SHENZHEN CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310233680.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The traditional structure of successive approximation (SAR) analog-to-digital converters and pipeline (Pipeline) analog-to-digital converters are difficult to achieve the index requirements of high speed, high accuracy and low power consumption at the same time. It is often necessary to sacrifice one of the indexes to meet other index requirements. The main factor is the error caused by the first-stage SAR ADC capacitor mismatch that affects the overall ADC performance.

Method used

By introducing an error compensation module into the analog-to-digital converter, the second-stage analog-to-digital conversion circuit is used to sample and quantify the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain the mismatch error code value, and based on this code The value is used to back up the initial analog-to-digital conversion result to eliminate the influence of mismatch error voltage and improve the accuracy of analog-to-digital conversion.

Benefits of technology

There is no need to add additional calibration quantization circuits. By reusing the second-stage analog-to-digital conversion circuit, the mismatch error code value of the first-stage analog-to-digital conversion circuit is obtained, and the initial analog-to-digital conversion result is compensated through the error compensation module, which is significant. Improve the performance of analog-to-digital converters to achieve a balance of high speed, high accuracy and low power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611671A
    Figure CN118611671A
Patent Text Reader

Abstract

The embodiment of the invention provides an analog-to-digital converter, a chip, an analog-to-digital conversion calibration method and electronic equipment. The analog-to-digital converter comprises a first-stage analog-to-digital conversion circuit; the second-stage analog-to-digital conversion circuit is connected with the first-stage analog-to-digital conversion circuit, and the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit are configured to jointly perform sampling and analog-to-digital conversion on the input signal to obtain an initial analog-to-digital conversion result; the second-stage analog-to-digital conversion circuit is further configured to sample and quantify the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error code value of the first-stage analog-to-digital conversion circuit; and the error compensation module is connected with the second-stage analog-to-digital conversion circuit and is configured to perform compensation on the initial analog-to-digital conversion result according to the mismatch error code value to obtain a final analog-to-digital conversion result. According to the analog-to-digital converter provided by the embodiment of the invention, the performance of the analog-to-digital converter can be improved, and an additional calibration quantization circuit does not need to be added.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic circuits, and in particular to an analog-to-digital converter, a chip, an analog-to-digital conversion calibration method and an electronic device. Background Art

[0002] As semiconductor process nodes continue to shrink and power supply voltages continue to drop, new challenges are brought to the design of high-performance analog-to-digital converters. Traditional structures of successive approximation (SAR) analog-to-digital converters and pipeline analog-to-digital converters are difficult to achieve high speed, high precision and low power consumption at the same time, and often need to sacrifice one of the indicators to meet other indicators.

[0003] Taking the traditional two-stage pipeline successive approximation analog-to-digital converter (Pipeline-SAR ADC) as an example, the Pipeline-SAR ADC replaces the full parallel (Flash) structure in the Pipeline ADC (Pipeline Analog-to-Digital Converter) with a SAR structure, and uses the sampling and holding network of the first-stage SAR ADC to implement the front-end sampling and holding function of the traditional Pipeline ADC. Although the speed of the Pipeline-SAR ADC is reduced, the power consumption and area are greatly reduced. The main factor limiting the performance of the Pipeline-SAR ADC is the error caused by the mismatch of the first-stage SAR ADC capacitor, which affects the performance of the overall ADC. Summary of the invention

[0004] The embodiments of the present application provide an analog-to-digital converter, a chip, an analog-to-digital conversion calibration method and an electronic device, which can improve the performance of the analog-to-digital converter without adding an additional calibration quantization circuit.

[0005] In a first aspect, an embodiment of the present application provides an analog-to-digital converter, comprising:

[0006] The first stage analog-to-digital conversion circuit;

[0007] The second-stage analog-to-digital conversion circuit is connected to the first-stage analog-to-digital conversion circuit, and the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit are configured to jointly sample and perform analog-to-digital conversion on an input signal to obtain an initial analog-to-digital conversion result; the second-stage analog-to-digital conversion circuit is further configured to sample and quantize a mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error code value of the first-stage analog-to-digital conversion circuit;

[0008] The error compensation module is connected to the second-stage analog-to-digital conversion circuit and is configured to compensate the initial analog-to-digital conversion result according to the mismatch error code value to obtain a final analog-to-digital conversion result.

[0009] In a second aspect, an embodiment of the present application further provides a chip comprising the above-mentioned analog-to-digital converter.

[0010] In a third aspect, an embodiment of the present application further provides an electronic device comprising the above-mentioned chip.

[0011] In a fourth aspect, an embodiment of the present application further provides an analog-to-digital conversion calibration method, comprising:

[0012] Controlling the second-stage analog-to-digital conversion circuit to sample and quantize the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error code value of the first-stage analog-to-digital conversion circuit;

[0013] Controlling the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit to jointly sample and perform analog-to-digital conversion on an input signal to obtain an initial analog-to-digital conversion result;

[0014] The initial analog-to-digital conversion result is complemented according to the mismatch error code value to obtain a final analog-to-digital conversion result.

[0015] The analog-to-digital converter provided in the embodiment of the present application does not require an additional calibration quantization circuit. By multiplexing the second-stage analog-to-digital conversion circuit, the mismatch error code value of the first-stage analog-to-digital conversion circuit can be obtained, and the initial analog-to-digital conversion result is compensated according to the mismatch error code value through the error compensation module. Therefore, the influence of the mismatch error voltage of the first-stage analog-to-digital conversion circuit can be eliminated, the accuracy of the analog-to-digital conversion is improved, and thus the performance of the analog-to-digital converter is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0017] Figure 1 A circuit architecture diagram of an analog-to-digital converter provided in an embodiment of the present application.

[0018] Figure 2 Another circuit architecture diagram of an analog-to-digital converter provided in an embodiment of the present application.

[0019] Figure 3 A circuit architecture diagram of another analog-to-digital converter provided in an embodiment of the present application.

[0020] Figure 4 An example circuit structure diagram of an analog-to-digital converter provided in an embodiment of the present application.

[0021] Figure 5A flowchart of an analog-to-digital conversion calibration method provided in an embodiment of the present application.

[0022] Figure 6 A partial flow chart of the analog-to-digital conversion calibration method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0024] The embodiment of the present application provides an analog-to-digital converter, which can be used to convert an input signal into a digital signal and output it. The input signal can be, for example, an analog signal. In practical applications, the analog-to-digital converter can be a pipeline analog-to-digital converter (Pipeline ADC), such as a pipeline successive approximation analog-to-digital converter (Pipeline-SAR ADC).

[0025] The analog-to-digital converter provided in the embodiment of the present application includes a multi-stage analog-to-digital conversion circuit, such as a two-stage, three-stage, four-stage, etc. multi-stage analog-to-digital conversion circuit. In the following embodiments, the analog-to-digital converter including a two-stage analog-to-digital conversion circuit is used as an example for description, but the present application is not limited to this. Figure 1 , Figure 1 A circuit architecture diagram of an analog-to-digital converter 100 provided in an embodiment of the present application. The analog-to-digital converter 100 includes a first-stage analog-to-digital conversion circuit 10, a second-stage analog-to-digital conversion circuit 20, and an error compensation module 40. The first-stage analog-to-digital conversion circuit 10 is connected to the second-stage analog-to-digital conversion circuit 20 and the error compensation module 40, and the second-stage analog-to-digital conversion circuit 20 is connected to the error compensation module 40.

[0026] In some embodiments, the number of bits of the first-stage analog-to-digital conversion circuit 10 may be M bits (M bit), the number of bits of the second-stage analog-to-digital conversion circuit 20 may be L+X bits, and the overall resolution of the analog-to-digital converter 100 is N bits, where N=M+L, and M, L, N, and X are all positive integers. In this case, inter-stage redundant bits are reserved between the first-stage analog-to-digital conversion circuit 10 and the second-stage analog-to-digital conversion circuit 20, and the number of bits of the inter-stage redundant bits is X bits. For example, if X=1, then the inter-stage redundant bits are 1 bit; if X>1, for example, X=4, then the inter-stage redundant bits are multiple bits, for example, 4 bits. The inter-stage redundant bits can be used to store errors caused by capacitor mismatch of the first-stage analog-to-digital conversion circuit 10.

[0027] In some other embodiments, the number of bits of the first-stage analog-to-digital conversion circuit 10 may be M bits, the number of bits of the second-stage analog-to-digital conversion circuit 20 may be L bits, and the overall resolution of the analog-to-digital converter 100 is still N bits, where N=M+L, and M, L, and N are all positive integers. In this case, no inter-stage redundant bits are reserved between the first-stage analog-to-digital conversion circuit 10 and the second-stage analog-to-digital conversion circuit 20.

[0028] In the following embodiments, the first-stage analog-to-digital conversion circuit 10 is M bits, the second-stage analog-to-digital conversion circuit 20 is L+X bits, where X=1, that is, the second-stage analog-to-digital conversion circuit 20 is L+1 bits, is used as an example for explanation, but the present application is not limited to this.

[0029] The first-stage analog-to-digital conversion circuit 10 and the second-stage analog-to-digital conversion circuit 20 are configured to jointly sample and perform analog-to-digital conversion on the input signal to obtain an initial analog-to-digital conversion result. The input signal can be input from an external signal source. In practical applications, the input signal can be an analog signal, and the initial analog-to-digital conversion result is a digital signal. The initial analog-to-digital conversion result can be recorded as D <n-1:0>The initial analog-to-digital conversion result D <n-1:0>The error compensation module 40 may be output to be processed by the error compensation module 40 .

[0030] In practical applications, there is a capacitor mismatch in the first-stage analog-to-digital conversion circuit 10, so a mismatch error voltage is generated, and the mismatch error voltage continues to be transmitted to the subsequent stage, which will cause the overall performance of the analog-to-digital converter 100 to deteriorate. In the embodiment of the present application, the second-stage analog-to-digital conversion circuit 20 can be multiplexed, and the second-stage analog-to-digital conversion circuit 20 is also configured to sample and quantize the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 to obtain the mismatch error code value of the first-stage analog-to-digital conversion circuit 10. Among them, the mismatch error code value is a digital signal, for example, it can be a multi-bit digital signal, and the mismatch error code value can be recorded as DCAL. The mismatch error code value DCAL can be output to the error compensation module 40 and processed by the error compensation module 40.

[0031] The error compensation module 40 is configured to convert the initial analog-to-digital conversion result D <n-1:0>The final analog-to-digital conversion result is obtained by backfilling, thereby completing the initial analog-to-digital conversion result D <n-1:0>The final analog-to-digital conversion result can be recorded as D1 <n-1:0>The final analog-to-digital conversion result is D1 <n-1:0>Due to the correction process, compared with the initial analog-to-digital conversion result D <n-1:0>As far as the accuracy is concerned, it can be improved, so it can be output as the final processing result of the analog-to-digital converter 100.

[0032] In some embodiments, reference Figure 2 , Figure 2 Another circuit architecture diagram of the analog-to-digital converter 100 provided in the embodiment of the present application. The analog-to-digital converter 100 also includes a code value processing module 30. The code value processing module 30 is connected to the first-stage analog-to-digital conversion circuit 10, the second-stage analog-to-digital conversion circuit 20, and the error compensation module 40. Figure 2 The specific functions of each module are described in detail.

[0033] The first-stage analog-to-digital conversion circuit 10 is configured to sample and perform analog-to-digital conversion on the input signal to obtain a first code value and a residual voltage signal. For example, an external signal source can input an input signal to the first-stage analog-to-digital conversion circuit 10, and the first-stage analog-to-digital conversion circuit 10 can sample the input signal and perform analog-to-digital conversion on the input signal to obtain a corresponding first code value and a residual voltage signal. The first code value is a digital signal, for example, an M-bit digital signal, and the first code value can be recorded as D <n:n-m>. The first code value is D <n:n-m>The residual voltage signal can be output to the code value processing module 30 for processing. The residual voltage signal is a quantized residual error voltage signal after the first-stage analog-to-digital conversion circuit 10 completes the analog-to-digital conversion. The residual voltage signal can be output to the second-stage analog-to-digital conversion circuit 20 .

[0034] The second-stage analog-to-digital conversion circuit 20 is configured to sample and perform analog-to-digital conversion on the residual voltage signal output by the first-stage analog-to-digital conversion circuit 10 to obtain a second code value. The second code value is also a digital signal, for example, a digital signal of L+1 bits, and the second code value can be recorded as D <l:0>The second code value is D <l:0>It can be output to the code value processing module 30 for processing.

[0035] It can be understood that in actual applications, during the normal analog-to-digital conversion process of the analog-to-digital converter 100, for example, after the external signal source starts to input the analog signal, the second-stage analog-to-digital conversion circuit 20 samples and performs analog-to-digital conversion on the residual voltage signal output by the first-stage analog-to-digital conversion circuit 10 to obtain a second code value; before the analog-to-digital converter 100 starts analog-to-digital conversion, for example, before the external signal source starts to input the analog signal, the second-stage analog-to-digital conversion circuit 20 samples and quantizes the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 to obtain the mismatch error code value of the first-stage analog-to-digital conversion circuit 10.

[0036] In actual applications, the second-stage analog-to-digital conversion circuit 20 samples and quantizes the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 to obtain the mismatch error code value of the first-stage analog-to-digital conversion circuit 10. The first-stage analog-to-digital conversion circuit 10 is first in a reset phase, at which time the first-stage analog-to-digital conversion circuit 10 does not generate a mismatch error voltage. Subsequently, the first-stage analog-to-digital conversion circuit 10 exits the reset phase and generates a mismatch error voltage. Then, the second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage and converts it to obtain the mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10.

[0037] The code value processing module 30 is configured to convert the first code value D output by the first-stage analog-to-digital conversion circuit 10 into <n:n-m>The second code value D output by the second analog-to-digital conversion circuit 20 <l:0>Combine to obtain the initial analog-to-digital conversion result D <n-1:0>It can be understood that, since the first-stage analog-to-digital conversion circuit 10 has a mismatch error voltage, the initial analog-to-digital conversion result D <n-1:0>The accuracy is insufficient and needs to be corrected. The initial analog-to-digital conversion result D <n-1:0>The error compensation module 40 can further output the initial analog-to-digital conversion result D <n-1:0>After correction, the final analog-to-digital conversion result D1 is obtained. <n-1:0>The final analog-to-digital conversion result is D1 <n-1:0>It can be output as the final processing result of the analog-to-digital converter 100.

[0038] In the embodiment of the present application, there is no need to add an additional calibration quantization circuit. By multiplexing the second-stage analog-to-digital conversion circuit 20, the mismatch error code value of the first-stage analog-to-digital conversion circuit 10 can be obtained, and the initial analog-to-digital conversion result is compensated according to the mismatch error code value through the error compensation module 40. Therefore, the influence of the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 can be eliminated, the accuracy of the analog-to-digital conversion is improved, and thus the performance of the analog-to-digital converter 100 is improved.

[0039] In some embodiments, reference Figure 3 , Figure 3 This is another circuit architecture diagram of the analog-to-digital converter 100 provided in an embodiment of the present application.

[0040] The analog-to-digital converter 100 further includes an interstage amplifier 50 . The interstage amplifier 50 is disposed between the first-stage analog-to-digital conversion circuit 10 and the second-stage analog-to-digital conversion circuit 20 . The second-stage analog-to-digital conversion circuit 20 is connected to the first-stage analog-to-digital conversion circuit 10 through the interstage amplifier 50 .

[0041] The inter-stage amplifier 50 is configured to amplify the residual voltage signal output by the first-stage analog-to-digital conversion circuit 10 to obtain an amplified residual voltage signal, and output the amplified residual voltage signal to the second-stage analog-to-digital conversion circuit 20; and is configured to amplify the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 to obtain a mismatch error voltage amplified signal, and output the mismatch error voltage amplified signal to the second-stage analog-to-digital conversion circuit 20.

[0042] For example, in the normal analog-to-digital conversion process of the analog-to-digital converter 100, the first-stage analog-to-digital conversion circuit 10 outputs a residual voltage signal, and the inter-stage amplifier 50 amplifies the residual voltage signal to obtain an amplified residual voltage signal. At this time, the second-stage analog-to-digital conversion circuit 20 samples and performs analog-to-digital conversion on the amplified residual voltage signal to obtain a second code value D <l:0>Before the analog-to-digital converter 100 starts analog-to-digital conversion, the first-stage analog-to-digital conversion circuit 10 generates a mismatch error voltage, and the inter-stage amplifier 50 amplifies the mismatch error voltage to obtain a mismatch error voltage amplified signal. At this time, the second-stage analog-to-digital conversion circuit 20 samples and quantizes the mismatch error voltage amplified signal to obtain a mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10.

[0043] In some embodiments, Figure 3 As shown, the inter-stage amplifier 50 includes an amplifier AMP, a feedback capacitor Cfb, a first switch S1 and a second switch S2.

[0044] The input end of the amplifier AMP is connected to the first-stage analog-to-digital conversion circuit 10, and the output end of the amplifier AMP is connected to the second-stage analog-to-digital conversion circuit 20 through the first switch S1. One end of the feedback capacitor Cfb is connected between the amplifier AMP and the first-stage analog-to-digital conversion circuit 10, the other end of the feedback capacitor Cfb is connected between the first switch S1 and the second-stage analog-to-digital conversion circuit 20, and the other end of the feedback capacitor Cfb is grounded through the second switch S2.

[0045] In a feasible implementation, the first switch S1 and the second switch S2 can be single-pole single-throw switches, and the first switch S1 and the second switch S2 can be opened or closed. In practical applications, the first switch S1 and the second switch S2 can be implemented by electronic components such as switch transistors, MOS tubes, etc.

[0046] The second-stage analog-to-digital conversion circuit 20 samples and quantizes the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10, including a calibration reset stage and a calibration quantization stage.

[0047] During the calibration reset phase, the first-stage analog-to-digital conversion circuit 10 is in the reset phase, the first switch S1 is opened, and the second switch S2 is closed. At this time, the first-stage analog-to-digital conversion circuit 10 is grounded through the feedback capacitor Cfb and the second switch S2, and the second-stage analog-to-digital conversion circuit 20 is disconnected from the amplifier AMP.

[0048] During the calibration quantization phase, the first-stage analog-to-digital conversion circuit 10 exits the reset phase and generates a mismatch error voltage, the first switch S1 is closed, and the second switch S2 is opened. At this time, the first-stage analog-to-digital conversion circuit 10, the interstage amplifier 50, and the second-stage analog-to-digital conversion circuit 20 are sequentially connected. The mismatch error voltage generated by the first-stage analog-to-digital conversion circuit 10 is transmitted to the second-stage analog-to-digital conversion circuit 20 through the interstage amplifier 50. The second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage and converts it to obtain the corresponding mismatch error code value DCAL.

[0049] In some embodiments, continue to refer to Figure 3 The analog-to-digital converter 100 further includes a mismatch error code value storage module 60. The mismatch error code value storage module 60 is disposed between the second-stage analog-to-digital conversion circuit 20 and the error compensation module 40, and the error compensation module 40 is connected to the second-stage analog-to-digital conversion circuit 20 through the mismatch error code value storage module 60.

[0050] The mismatch error code value storage module 60 is configured to store the mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10. For example, after the second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 and converts it to obtain the corresponding mismatch error code value DCAL, the mismatch error code value DCAL can be output to the mismatch error code value storage module 60 for storage. <n-1:0>When backfilling, the mismatch error code value DCAL stored in the mismatch error code value storage module 60 can be obtained and backfilled to obtain the final analog-to-digital conversion result D1 <n-1:0>.

[0051] In some embodiments, reference Figure 4 , Figure 4 This is a circuit structure example diagram of the analog-to-digital converter 100 provided in the embodiment of the present application. Figure 4 The specific implementation process of the analog-to-digital converter 100 provided in the embodiment of the present application is described in detail. It should be noted that: Figure 4 This is only an example of the circuit structure of the analog-to-digital converter 100. In practical applications, the analog-to-digital converter 100 may also have other circuit structures. Figure 4 The circuit structure shown is limited.

[0052] The first stage analog-to-digital conversion circuit 10 includes a first capacitor array 11, a first comparator 12 and a first logic control circuit 13. The first capacitor array 11 is connected to the first comparator 12, the interstage amplifier 50 and the first logic control circuit 13, and the first comparator 12 is connected to the first logic control circuit 13.

[0053] The first capacitor array 11 includes a P-terminal capacitor and an N-terminal capacitor. The P-terminal capacitor includes a plurality of capacitors connected in parallel, for example, capacitors CP(M-1), CP(M-2), CP(M-3), ..., CP(0), CP(00), etc., wherein CP(M-1) is the highest-order capacitor and CP(00) is the lowest-order capacitor. The N-terminal capacitor includes a plurality of capacitors connected in parallel, for example, capacitors CN(M-1), CN(M-2), CN(M-3), ..., CN(0), CN(00), etc., wherein CN(M-1) is the highest-order capacitor and CN(00) is the lowest-order capacitor. The P-terminal capacitor corresponds to the N-terminal capacitor one by one, and each P-terminal capacitor and a corresponding N-terminal capacitor can form a group of capacitors of the first capacitor array 11. For example, CP(M-1) and CN(M-1) can form a group of capacitors, CP(M-2) and CN(M-2) can form a group of capacitors, CP(0) and CN(0) can form a group of capacitors, CP(00) and CN(00) can form a group of capacitors, etc. Therefore, it can be understood that the first capacitor array 11 includes multiple groups of capacitors, each group of capacitors includes a P-terminal capacitor and a corresponding N-terminal capacitor.

[0054] In the first capacitor array 11, one end of each P-terminal capacitor is connected to a reference voltage V REFN 、V REFP And the input signal V IN+ The other end of each P-terminal capacitor is connected to a node VP, which is connected to an input terminal (eg, a positive input terminal) of the first comparator 12 and the inter-stage amplifier 50. In addition, the node VP is also connected to the common mode node VCM through the switch SWCM1.

[0055] One end of each N-terminal capacitor is connected to the reference voltage V through a gate switch. REFN 、V REFP And the input signal V IN- The other end of each N-terminal capacitor is connected to a node VN, which is connected to another input terminal (eg, negative input terminal) of the first comparator 12 and the inter-stage amplifier 50. In addition, the node VN is also connected to a common mode node VCM via a switch SWCM2.

[0056] The first capacitor array 11 is configured to sample the input signal input from the external signal source to the first-stage analog-to-digital conversion circuit 10 and output a residual voltage signal, and transmit the residual voltage signal to the first comparator 12 and the inter-stage amplifier 50. In addition, the first capacitor array 11 also generates a mismatch error voltage. The first comparator 12 is configured to compare the residual voltage signal to obtain a first comparison result, and output the first comparison result to the first logic control circuit 13. The first logic control circuit 13 is configured to obtain a first code value D according to the first comparison result. <n:n-m>, and the first code value D <n:n-m>Output to the code value processing module 30; and configured to perform logic control on the first capacitor array 11 according to the first comparison result.

[0057] The interstage amplifier 50 can amplify the residual voltage signal output by the first capacitor array 11 to obtain an amplified residual voltage signal, and output the amplified residual voltage signal to the second-stage analog-to-digital conversion circuit 20. In addition, the interstage amplifier 50 can also amplify the mismatch error voltage of the first capacitor array 11 to obtain an amplified mismatch error voltage signal, and output the amplified mismatch error voltage signal to the second-stage analog-to-digital conversion circuit 20.

[0058] In the structure of the interstage amplifier 50, one input terminal (e.g., positive input terminal) of the amplifier AMP is connected to the node VP of the first capacitor array 11, and the other input terminal (e.g., negative input terminal) of the amplifier AMP is connected to the node VN of the first capacitor array 11. The feedback capacitor Cfb includes sub-capacitors CFP and CFN, the first switch S1 includes sub-switches S1P and S1N, and the second switch S2 includes sub-switches S2P and S2N. One output terminal (e.g., negative output terminal) of the amplifier AMP is connected to the second-stage analog-to-digital conversion circuit 20 through the sub-switch S1P, and the other output terminal (e.g., positive output terminal) of the amplifier AMP is connected to the second-stage analog-to-digital conversion circuit 20 through the sub-switch S1N. One end of the sub-capacitor CFP is connected between the positive input terminal of the amplifier AMP and the node VP, the other end is connected between the sub-switch S1P and the second-stage analog-to-digital conversion circuit 20, and the other end is grounded through the sub-switch S2P. One end of the sub-capacitor CFN is connected between the negative input terminal of the amplifier AMP and the node VN, the other end is connected between the sub-switch S1N and the second-stage analog-to-digital conversion circuit 20, and the other end is grounded through the sub-switch S2N.

[0059] The second stage analog-to-digital conversion circuit 20 includes a second capacitor array 21, a second comparator 22 and a second logic control circuit 23. The second capacitor array 21 is connected to the second comparator 22, the interstage amplifier 50 and the second logic control circuit 23, and the second comparator 22 is connected to the second logic control circuit 23.

[0060] The second capacitor array 21 also includes a P-terminal capacitor and an N-terminal capacitor. The P-terminal capacitor includes a plurality of capacitors connected in parallel, for example, capacitors CP(L), CP(L-1), CP(L-2), ..., CP(0), CP(00), etc., wherein CP(L) is the highest capacitor and CP(00) is the lowest capacitor. The N-terminal capacitor includes a plurality of capacitors connected in parallel, for example, capacitors CN(L), CN(L-1), CN(L-2), ..., CN(0), CN(00), etc., wherein CN(L) is the highest capacitor and CN(00) is the lowest capacitor.

[0061] In the second capacitor array 21, one end of each P-terminal capacitor is connected to the reference voltage V REFN 、V REFP The other end of each P-terminal capacitor is connected to a node VP, which is connected to an input terminal (eg, a positive input terminal) of the second comparator 22. In addition, the node VP is also connected to the common mode node VCM through the switch SWCM1.

[0062] One end of each N-terminal capacitor is connected to the reference voltage V through a gate switch. REFN 、V REFP The other end of each N-terminal capacitor is connected to the node VN, which is connected to the other input terminal (eg, negative input terminal) of the second comparator 22. In addition, the node VN is also connected to the common mode node VCM through the switch SWCM2.

[0063] During the normal analog-to-digital conversion process of the analog-to-digital converter 100, the second capacitor array 21 is configured to sample the residual voltage amplified signal output by the inter-stage amplifier 50, and transmit the sampling result to the second comparator 22. The second comparator 22 is configured to compare the sampling result of the second capacitor array 21 to obtain a second comparison result, and output the second comparison result to the second logic control circuit 23. The second logic control circuit 23 is configured to obtain a second code value D according to the second comparison result. <l:0>, and the second code value D <l:0>Output to the code value processing module 30; and configured to perform logic control on the second capacitor array 21 according to the second comparison result.

[0064] Before the analog-to-digital converter 100 starts analog-to-digital conversion, the second capacitor array 21 is configured to sample the mismatch error voltage amplified signal output by the inter-stage amplifier 50, and transmit the sampling result to the second comparator 22. The second comparator 22 is configured to compare the sampling results of the second capacitor array 21 to obtain a third comparison result, and output the third comparison result to the second logic control circuit 23. The second logic control circuit 23 is configured to obtain the mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10 according to the third comparison result, and output the mismatch error code value DCAL to the mismatch error code value storage module 60; and is configured to perform logic control on the second capacitor array 21 according to the third comparison result.

[0065] In some embodiments, in the process of obtaining the mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10, the second-stage analog-to-digital conversion circuit 20 samples and quantizes the mismatch error voltage of each group of capacitors in the first capacitor array 11 in turn to obtain the mismatch error code value of each group of capacitors, and finally obtains the mismatch error code value of the first-stage analog-to-digital conversion circuit 10.

[0066] In practical applications, when the second-stage analog-to-digital conversion circuit 20 samples and quantizes the mismatch error voltage of each group of capacitors in the first capacitor array 11 in sequence, the logic circuit can sequentially control each group of capacitors in the first capacitor array 11 to be in the reset stage, exit the reset stage and generate a mismatch error voltage, and the second-stage analog-to-digital conversion circuit 20 sequentially obtains the mismatch error voltage of each group of capacitors and converts it to obtain the mismatch error code value of the group of capacitors, until the mismatch error code value of each group of capacitors is obtained. The second-stage analog-to-digital conversion circuit 20 can transfer the obtained mismatch error code value of each group of capacitors to the mismatch error code value storage module 60 for storage. When a group of capacitors in the first capacitor array 11 exits the reset stage and generates a mismatch error voltage, the reference voltage of the capacitor with a higher position than the current position capacitor in the first capacitor array 11 can be kept unchanged, and the reference voltage of the current position capacitor and the remaining position capacitor can be switched. At this time, the second-stage analog-to-digital conversion circuit 20 can sample and quantize the mismatch error voltage currently generated by the first capacitor array 11 to obtain the mismatch error code value of the current position capacitor.

[0067] In terms of specific implementation, the above control process has two implementation methods: in the first method, sampling and quantization are performed in sequence from high-order capacitors to low-order capacitors; in the second method, sampling and quantization are performed in sequence from low-order capacitors to high-order capacitors. The following describes these two implementation methods in detail.

[0068] In the first manner, the mismatch error voltage of each group of capacitors in the first capacitor array 11 is sampled and quantized in sequence from high-order capacitors to low-order capacitors to obtain the mismatch error code value of each group of capacitors.

[0069] For example, the mismatch error code value DCAL(M-1) of the highest-order capacitor group CP(M-1) and CN(M-1) is first obtained, and the specific process is as follows: First, the first-stage analog-to-digital conversion circuit 10 is in reset, and the highest-order capacitor group CP(M-1) and CN(M-1) are controlled to be in the reset stage. Among them, the lower plate of the highest-order capacitor CP(M-1) at the P end can be controlled to connect to the reference voltage VREFP, and the lower plates of the remaining capacitors at the P end are all connected to the reference voltage VREFN; and the lower plate of the highest-order capacitor CN(M-1) at the N end is controlled to connect to the reference voltage VREFN, and the lower plates of the remaining capacitors at the N end are all connected to the reference voltage VREFP. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be closed, the switches S1P and S1N of the inter-stage amplifier 50 are disconnected, and the switches S2P and S2N are closed. Subsequently, the highest-order capacitor group CP(M-1) and CN(M-1) are controlled to exit the reset stage and generate a mismatch error voltage. Since the current capacitors CP(M-1) and CN(M-1) are already the highest capacitors, there is no need to keep the reference voltage of the higher capacitors unchanged. It is sufficient to control the reference voltages of the current capacitors CP(M-1), CN(M-1) and the remaining capacitors to switch. Specifically, the lower plate of the highest capacitor CP(M-1) at the P end is controlled to switch to VREFN, and the lower plates of the remaining capacitors at the P end are all switched to VREFP; and the lower plate of the highest capacitor CN(M-1) at the N end is controlled to switch to VREFP, and the lower plates of the remaining capacitors at the N end are all switched to VREFN. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be disconnected, the switches S1P and S1N of the inter-stage amplifier 50 are closed, and the switches S2P and S2N are disconnected. At this time, the mismatch error voltage generated by the capacitor groups CP(M-1) and CN(M-1) is transmitted to the second-stage analog-to-digital conversion circuit 20 via the inter-stage amplifier 50. The second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage and converts it into a mismatch error code value DCAL(M-1) of the capacitor group CP(M-1) and CN(M-1). The mismatch error code value DCAL(M-1) can be stored in the mismatch error code value storage module 60.

[0070] Subsequently, the mismatch error code value DCAL(M-2) of a group of capacitors CP(M-2) and CN(M-2) at the second highest position is obtained, and the specific process is as follows: First, the first-stage analog-to-digital conversion circuit 10 is in reset, and at this time, a group of capacitors CP(M-2) and CN(M-2) at the second highest position are controlled to be in the reset stage. Among them, the lower plate of the highest-order capacitor CP(M-1) at the P end can be controlled to be fixedly connected to the reference voltage VREFN or VREFP, the lower plate of the second highest-order capacitor CP(M-2) at the P end is connected to VREFP, and the lower plates of the remaining low-order capacitors at the P end are all connected to VREFN; and the lower plate of the highest-order capacitor CN(M-1) at the N end is controlled to be fixedly connected to VREFP or VREFN, the lower plate of the second highest-order capacitor CN(M-2) at the N end is connected to VREFN, and the lower plates of the remaining low-order capacitors at the N end are all connected to VREFP. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be closed, the switches S1P and S1N of the inter-stage amplifier 50 are disconnected, and the switches S2P and S2N are closed. Subsequently, a group of capacitors CP(M-2) and CN(M-2) at the second highest position are controlled to exit the reset stage and generate a mismatch error voltage. Among them, the reference voltage of the capacitor with a higher position than the current position capacitors CP(M-2) and CN(M-2) is kept unchanged, and the reference voltages of the current position capacitors CP(M-2), CN(M-2) and the remaining position capacitors are switched. Specifically, the lower plate of the highest position capacitor CP(M-1) at the P end is fixed, the lower plate of the second highest position capacitor CP(M-2) is switched to VREFN, and the lower plates of the remaining low-position capacitors at the P end are all switched to VREFP; the lower plate of the highest position capacitor CN(M-1) at the N end is fixed, the lower plate of the second highest position capacitor CN(M-2) at the N end is switched to VREFP, and the lower plates of the remaining low-position capacitors at the N end are all switched to VREFN. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be disconnected, the switches S1P and S1N of the interstage amplifier 50 are closed, and the switches S2P and S2N are disconnected. At this time, the mismatch error voltage generated by the capacitor groups CP(M-2) and CN(M-2) is transmitted to the second-stage analog-to-digital conversion circuit 20 via the interstage amplifier 50. The second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage and converts it to obtain the mismatch error code value DCAL(M-2) of the capacitor groups CP(M-2) and CN(M-2). The mismatch error code value DCAL(M-2) can be stored in the mismatch error code value storage module 60.

[0071] The above process is performed sequentially until the mismatch error code value of each group of capacitors in the first capacitor array 11 is obtained. The mismatch error code value of each group of capacitors can be stored in the mismatch error code value storage module 60.

[0072] It should be noted that, in actual applications, it is also possible not to obtain the mismatch error code values ​​of all the capacitor groups of the first-stage analog-to-digital conversion circuit 10, but only to obtain the mismatch error code value DCAL(M-1:Y) from the highest-order capacitor group CP(M-1), CN(M-1) to a certain low-order capacitor group (Y is determined by how many bits of the mismatch error code value of the first-stage analog-to-digital conversion circuit 10 are obtained) and save it in the mismatch error code value storage module 60.

[0073] In the second method, the following processing is performed in order from low-order capacitors to high-order capacitors until the mismatch error code value of each group of capacitors in the first capacitor array 11 is obtained: the mismatch error voltage of at least one group of capacitors in the first capacitor array 11 is sampled and quantized to obtain the mismatch error code value of the at least one group of capacitors, the at least one group of capacitors including the current capacitor and capacitors with a lower position than the current capacitor; the mismatch error code value of the at least one group of capacitors is subtracted from the mismatch error code value of the capacitor with a lower position than the current capacitor to obtain the mismatch error code value of the current capacitor.

[0074] First, the mismatch error voltage of the lowest-order capacitor group CP(00) and CN(00) is sampled and quantized to obtain the mismatch error code value DCAL(00) of the lowest-order capacitor group CP(00) and CN(00). The specific process is as follows: First, the first-stage analog-to-digital conversion circuit 10 is in reset, and the lowest-order capacitor group CP(00) and CN(00) are controlled to be in the reset stage. Among them, the lower plate of the highest-order capacitor CP(M-1) at the P end can be controlled to connect to the reference voltage VREFP, and the lower plates of the remaining capacitors at the P end are all connected to the reference voltage VREFN; and the lower plate of the highest-order capacitor CN(M-1) at the N end is controlled to connect to the reference voltage VREFN, and the lower plates of the remaining capacitors at the N end are all connected to the reference voltage VREFP. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be closed, the switches S1P and S1N of the inter-stage amplifier 50 are disconnected, and the switches S2P and S2N are closed. Subsequently, the lowest-order capacitor group CP(00) and CN(00) are controlled to exit the reset stage and generate a mismatch error voltage. Since the current capacitors CP(00) and CN(00) are already the lowest-order capacitors, the reference voltage of the capacitors with higher digits than the current capacitors CP(00) and CN(00) is controlled to remain unchanged, and the reference voltage of the current capacitors CP(00) and CN(00) is switched. Specifically, the lower plate of the lowest-order capacitor CP(00) at the P end is controlled to switch to VREFP, and the lower plates of other capacitors at the P end remain unchanged; and the lower plate of the lowest-order capacitor CN(00) at the N end is controlled to switch to VREFN, and the lower plates of other capacitors at the N end remain unchanged. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be disconnected, the switches S1P and S1N of the inter-stage amplifier 50 are closed, and the switches S2P and S2N are disconnected. At this time, the mismatch error voltage generated by the capacitor group CP(00) and CN(00) is transmitted to the second-stage analog-to-digital conversion circuit 20 via the inter-stage amplifier 50. Among them, the mismatch error voltage of the capacitor group CP (00), CN (00) is the mismatch error voltage relative to the capacitor CFP, CFN of the inter-stage amplifier 50. The second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage and converts it to obtain the mismatch error code value DCAL (00) of the capacitor group CP (00), CN (00). The mismatch error code value DCAL (00) of the capacitor group CP (00), CN (00) can be stored in the mismatch error code value storage module 60. It should be noted that, since the current position capacitor CP (00), CN (00) is already the lowest position capacitor, there is no capacitor with a lower position than the current position capacitor CP (00), CN (00), so the mismatch error code value obtained at this time is the mismatch error code value DCAL (00) of the capacitor group CP (00), CN (00).Alternatively, it can be understood that the mismatch error code value of the capacitor with a lower bit number than the current capacitor CP(00) and CN(00) is 0, and the mismatch error code value DCAL(00) of the current capacitor CP(00) and CN(00) can be obtained by subtracting the mismatch error code value obtained at this time from 0.

[0075] Subsequently, the mismatch error code value DCAL(0') of the second lowest capacitor group CP(0) and CN(0) is obtained. The mismatch error voltage of the current capacitor CP(0), CN(0) and the capacitor CP(00), CN(00) with a lower bit number than the current capacitor is sampled and quantized to obtain the mismatch error code value DCAL(0) of the current capacitor CP(0), CN(0) and the capacitor CP(00), CN(00) with a lower bit number than the current capacitor, and the mismatch error code value DCAL(00) of the capacitor CP(00), CN(00) with a lower bit number than the current capacitor is obtained by subtracting the mismatch error code value DCAL(00) of the capacitor CP(00), CN(00) with a lower bit number than the current capacitor CP(0), CN(0) to obtain the mismatch error code value DCAL(0') of the current capacitor. The specific process is as follows: First, the first-stage analog-to-digital conversion circuit 10 is in reset, and at this time, the second lowest capacitor group CP(0), CN(0) is controlled to be in the reset stage. Among them, the lower plate of the highest capacitor CP(M-1) at the P end can be controlled to connect to the reference voltage VREFP, the lower plate of the lowest capacitor CP(00) at the P end can be controlled to connect to the reference voltage VREFP, and the lower plates of the remaining capacitors at the P end can all be connected to the reference voltage VREFN; and the lower plate of the highest capacitor CN(M-1) at the N end can be controlled to connect to the reference voltage VREFN, the lower plate of the lowest capacitor CN(00) at the N end can be controlled to connect to the reference voltage VREFN, and the lower plates of the remaining capacitors at the N end can all be connected to the reference voltage VREFP. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be closed, the switches S1P and S1N of the inter-stage amplifier 50 are disconnected, and the switches S2P and S2N are closed. Subsequently, the lowest-order group of capacitors CP(00), CN(00) and the second-lowest-order group of capacitors CP(0), CN(0) are controlled to exit the reset stage and generate a mismatch error voltage. Among them, the reference voltage of the capacitor with a higher bit number than the current bit capacitor CP(0) and CN(0) is controlled to remain unchanged, and the reference voltage of the current bit capacitor CP(0) and CN(0) and the remaining bit capacitor CP(00) and CN(00) is switched. Specifically, the lower plate of the lowest bit capacitor CP(00) at the P end is controlled to switch to VREFN, the lower plate of the second lowest bit capacitor CP(0) at the P end is controlled to switch to VREFP, and the lower plates of other capacitors at the P end remain unchanged; and the lower plate of the lowest bit capacitor CN(00) at the N end is controlled to switch to VREFP, the lower plate of the second lowest bit capacitor CN(0) at the N end is controlled to switch to VREFN, and the lower plates of other capacitors at the N end remain unchanged. At the same time, the switches SWCM1 and SWCM2 of the first-stage analog-to-digital conversion circuit 10 are controlled to be disconnected, the switches S1P and S1N of the inter-stage amplifier 50 are closed, and the switches S2P and S2N are disconnected. At this time, the mismatch error voltage generated by the capacitor groups CP(00), CN(00) and the capacitor groups CP(0), CN(0) is transmitted to the second-stage analog-to-digital conversion circuit 20 via the inter-stage amplifier 50 .Among them, the mismatch error voltage generated by the capacitor group CP(00), CN(00) and the capacitor group CP(0), CN(0) is the mismatch error voltage relative to the capacitors CFP and CFN of the inter-stage amplifier 50. The second-stage analog-to-digital conversion circuit 20 obtains the mismatch error voltage and converts it to obtain the mismatch error code value DCAL(0) of the capacitor group CP(00), CN(00) and the capacitor group CP(0), CN(0). It can be understood that since the mismatch error code value DCAL(00) of the capacitor CP(00), CN(00) with a lower bit number than the current bit capacitor CP(0), CN(0) is known, the mismatch error code value DCAL(0') of the current bit capacitor CP(0), CN(0) can be obtained by subtracting DCAL(0) from DCAL(00), that is, DCAL(0')=DCAL(0)-DCAL(00). The mismatch error code value DCAL(0′) of the capacitor groups CP( 0 ) and CN( 0 ) may be stored in the mismatch error code value storage module 60 .

[0076] The above process is performed sequentially until the mismatch error code value of each group of capacitors in the first capacitor array 11 is obtained. The mismatch error code value of each group of capacitors can be stored in the mismatch error code value storage module 60.

[0077] Similarly, in actual applications, it is also possible not to obtain the mismatch error code values ​​of all the capacitor groups of the first-stage analog-to-digital conversion circuit 10, but only to obtain the mismatch error code value DCAL(MY:0) from the lowest-order capacitor group CP(00), CN(00) to a certain high-order capacitor group (Y is determined by how many bits of the mismatch error code value of the first-stage analog-to-digital conversion circuit 10 are obtained) and save it in the mismatch error code value storage module 60.

[0078] It can be understood that in practical applications, the mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10 is a multi-bit code value. For example, if the number of bits of the first-stage analog-to-digital conversion circuit 10 is M bits, then the mismatch error code value DCAL can also be M bits. <n-1:0>The error compensation module 40 converts the initial analog-to-digital conversion result D according to the mismatch error code value DCAL. <n-1:0>Make up the gap and get the final analog-to-digital conversion result D1 <n-1:0>When the initial analog-to-digital conversion result D <n-1:0>Select the corresponding code value in the mismatch error code value DCAL to convert the initial analog-to-digital conversion result D <n-1:0>Make up the gap and get the final analog-to-digital conversion result D1 <n-1:0>Among them, the corresponding code value in the mismatch error code value DCAL is the same as the initial analog-to-digital conversion result D <n-1:0>The code values ​​to be filled in correspond to the same part of the first-stage analog-to-digital conversion circuit 10. For example, a code value in the mismatch error code value DCAL is consistent with the initial analog-to-digital conversion result D <n-1:0>The code values ​​to be filled in correspond to the same group of capacitors in the first capacitor array 11; for another example, multiple code values ​​in the mismatch error code value DCAL correspond to the initial analog-to-digital conversion result D <n-1:0>The multiple code values ​​to be backfilled correspond to the same multiple groups of capacitors in the first capacitor array 11.

[0079] For example, the error compensation module 40 performs the following operations on D <n-1:0>When backfilling, the initial analog-to-digital conversion result D <n-1:0>Select the corresponding code values ​​DCAL(M-1) and DCAL(M-2) in the mismatch error code value DCAL, where the code value DCAL(M-1) corresponds to the capacitor group CP(M-1) and CN(M-1), and the code value DCAL(M-2) corresponds to the capacitor group CP(M-2) and CN(M-2), and fill the mismatch error code value DCAL(M-1) back to D <n-1:0>The mismatch error code value DCAL(M-2) is filled back to D <n-1:0>In the code value obtained by sampling and converting the capacitor groups CP(M-2) and CN(M-2), etc. Thus, the initial analog-to-digital conversion result D is finally completed. <n-1:0>The final analog-to-digital conversion result D1 is obtained <n-1:0>.

[0080] In some embodiments, the error compensation module 40 converts the initial analog-to-digital conversion result D according to the mismatch error code value DCAL. <n-1:0>Make up the gap and get the final analog-to-digital conversion result D1 <n-1:0>When the initial analog-to-digital conversion result D <n-1:0>Select multiple code values ​​in the mismatch error code value DCAL, combine the multiple code values ​​to obtain a total code value, and convert the initial analog-to-digital conversion result D according to the total code value. <n-1:0>To cover.

[0081] For example, the error compensation module 40 performs the following operations on D <n-1:0>When backfilling, the initial analog-to-digital conversion result D <n-1:0>Select the corresponding code values ​​DCAL(M-1) and DCAL(M-2) in the mismatch error code value DCAL, merge the code value DCAL(M-1) with the code value DCAL(M-2) to obtain the total code value DCAL(M-1, M-2), and fill the total code value DCAL(M-1, M-2) back to D <n-1:0>The code value obtained by sampling and converting the capacitor groups CP(M-1), CN(M-1) and the capacitor groups CP(M-2), CN(M-2) is converted to realize the initial analog-to-digital conversion result D <n-1:0>To cover.

[0082] The analog-to-digital converter 100 provided in the embodiment of the present application does not need to add an additional calibration quantization circuit. By multiplexing the second-stage analog-to-digital conversion circuit 20, the mismatch error code value DCAL of the first-stage analog-to-digital conversion circuit 10 can be obtained, and the initial analog-to-digital conversion result D can be corrected according to the mismatch error code value DCAL by the error compensation module 40. <n-1:0>By performing backfilling, the influence caused by the mismatch error voltage of the first-stage analog-to-digital conversion circuit 10 can be eliminated, the accuracy of analog-to-digital conversion can be improved, and thus the performance of the analog-to-digital converter 100 can be improved.

[0083] An embodiment of the present application further provides a chip, comprising the analog-to-digital converter 100 of any of the above embodiments.

[0084] The embodiment of the present application also provides an electronic device, including the above chip. The electronic device can be used in the fields of communication, measurement, control, signal processing, etc. In practical applications, the electronic device can be, for example, a smart phone, a measuring instrument, an automatic control device, a computer, etc., but is not limited thereto.

[0085] The present application also provides an analog-to-digital conversion calibration method, which can be performed by the analog-to-digital converter 100 of any of the above embodiments. Figure 5 , Figure 5 A schematic diagram of a flow chart of an analog-to-digital conversion calibration method provided in an embodiment of the present application. The analog-to-digital conversion calibration method includes the following steps:

[0086] 210, controlling the second-stage analog-to-digital conversion circuit to sample and quantize the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error code value of the first-stage analog-to-digital conversion circuit;

[0087] 220, controlling the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit to jointly sample and perform analog-to-digital conversion on the input signal to obtain an initial analog-to-digital conversion result;

[0088] 230, backfill the initial analog-to-digital conversion result according to the mismatch error code value to obtain a final analog-to-digital conversion result.

[0089] In some embodiments, the first-stage analog-to-digital conversion circuit includes a first capacitor array, and the first capacitor array includes multiple groups of capacitors. Controlling the second-stage analog-to-digital conversion circuit to sample and quantize the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain the mismatch error code value of the first-stage analog-to-digital conversion circuit includes:

[0090] The second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage of each group of capacitors in the first capacitor array in sequence to obtain the mismatch error code value of each group of capacitors.

[0091] In some embodiments, sampling and quantizing the mismatch error voltage of each group of capacitors includes:

[0092] Keeping the reference voltage of the capacitor with a higher position than the current capacitor in the first capacitor array unchanged, and switching the reference voltages of the current capacitor and the remaining capacitors;

[0093] The second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage currently generated by the first capacitor array.

[0094] In some embodiments, controlling the second-stage analog-to-digital conversion circuit to sequentially sample and quantize the mismatch error voltage of each group of capacitors of the first capacitor array includes:

[0095] The second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage of each group of capacitors in the first capacitor array in sequence from high-order capacitors to low-order capacitors.

[0096] In some embodiments, controlling the second-stage analog-to-digital conversion circuit to sequentially sample and quantize the mismatch error voltage of each group of capacitors of the first capacitor array includes:

[0097] The second-stage analog-to-digital conversion circuit is controlled to perform the following processing in order from low-order capacitors to high-order capacitors until the mismatch error code value of each group of capacitors is obtained:

[0098] Sampling and quantizing the mismatch error voltage of at least one group of capacitors of the first capacitor array to obtain a mismatch error code value of the at least one group of capacitors, the at least one group of capacitors including a current capacitor and a capacitor with a lower bit than the current capacitor;

[0099] The mismatch error code value of the at least one group of capacitors is subtracted from the mismatch error code value of a capacitor with a lower bit number than the current bit capacitor to obtain the mismatch error code value of the current bit capacitor.

[0100] In some embodiments, reference Figure 6 , Figure 6 A partial flow chart of the analog-to-digital conversion calibration method provided in an embodiment of the present application. In step 220, the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit are controlled to jointly sample and perform analog-to-digital conversion on the input signal to obtain an initial analog-to-digital conversion result, including:

[0101] 221, control the first-stage analog-to-digital conversion circuit to sample and perform analog-to-digital conversion on the input signal to obtain a first code value and a residual voltage signal;

[0102] 222, control the second-stage analog-to-digital conversion circuit to sample and perform analog-to-digital conversion on the residual voltage signal to obtain a second code value;

[0103] 223, combine the first code value and the second code value to obtain an initial analog-to-digital conversion result.

[0104] In some embodiments, the mismatch error code value is a multi-bit code value, and the initial analog-to-digital conversion result is backfilled according to the mismatch error code value to obtain the final analog-to-digital conversion result, including:

[0105] The initial analog-to-digital conversion result is complemented by selecting a corresponding code value in the mismatch error code value according to the initial analog-to-digital conversion result, wherein the corresponding code value and the code value to be complemented in the initial analog-to-digital conversion result correspond to the same part of the first-stage analog-to-digital conversion circuit.

[0106] In some embodiments, selecting a corresponding code value in the mismatch error code value according to the first code value to backfill the first code value includes:

[0107] selecting a plurality of code values ​​among the mismatch error code values ​​according to the initial analog-to-digital conversion result;

[0108] Combining the multiple code values ​​to obtain a total code value;

[0109] The initial analog-to-digital conversion result is backfilled according to the total code value.

[0110] In the above analog-to-digital conversion calibration method, the specific implementation of each step can refer to the description of each embodiment of the above analog-to-digital converter 100, which will not be repeated here. In addition, the above analog-to-digital conversion calibration method is not limited by the execution order of the described steps. In the case of no conflict, some steps can also be performed in other orders or simultaneously.

[0111] In the description of this application, it should be understood that terms such as "first" and "second" are only used to distinguish similar objects and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.

[0112] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.

[0113] The above describes in detail the analog-to-digital converter, chip, analog-to-digital conversion calibration method and electronic device provided by the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the present application. At the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An analog-to-digital converter, characterized in that: include: The first stage analog-to-digital conversion circuit; The second-stage analog-to-digital conversion circuit is connected to the first-stage analog-to-digital conversion circuit, and the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit are configured to jointly sample and perform analog-to-digital conversion on an input signal to obtain an initial analog-to-digital conversion result; the second-stage analog-to-digital conversion circuit is further configured to sample and quantize a mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error code value of the first-stage analog-to-digital conversion circuit; The error compensation module is connected to the second-stage analog-to-digital conversion circuit and is configured to compensate the initial analog-to-digital conversion result according to the mismatch error code value to obtain a final analog-to-digital conversion result.

2. The analog-to-digital converter according to claim 1, characterized in that The first-stage analog-to-digital conversion circuit includes a first capacitor array, the first capacitor array includes a plurality of groups of capacitors, and the second-stage analog-to-digital conversion circuit is configured as follows: The mismatch error voltage of each group of capacitors in the first capacitor array is sampled and quantized in sequence to obtain a mismatch error code value of each group of the capacitors.

3. The analog-to-digital converter according to claim 2, characterized in that: When the mismatch error voltage of each group of capacitors is sampled and quantized: The first-stage analog-to-digital conversion circuit keeps the reference voltage of the capacitor with a higher bit number than the current bit capacitor in the first capacitor array unchanged, and switches the reference voltage of the current bit capacitor and the remaining bit capacitors; The second-stage analog-to-digital conversion circuit is configured to sample and quantize the mismatch error voltage currently generated by the first capacitor array.

4. The analog-to-digital converter according to claim 2, characterized in that: The second-stage analog-to-digital conversion circuit is configured as: The mismatch error voltage of each group of capacitors in the first capacitor array is sampled and quantized in sequence from high-order capacitors to low-order capacitors to obtain a mismatch error code value of each group of the capacitors.

5. The analog-to-digital converter according to claim 2, characterized in that: The second-stage analog-to-digital conversion circuit is configured to perform the following processing in order from the lower capacitor to the higher capacitor until the mismatch error code value of each group of the capacitors is obtained: Sampling and quantizing the mismatch error voltage of at least one group of capacitors of the first capacitor array to obtain a mismatch error code value of the at least one group of capacitors, wherein the at least one group of capacitors includes a current capacitor and a capacitor with a lower bit than the current capacitor; The mismatch error code value of the at least one group of capacitors is subtracted from the mismatch error code value of a capacitor with a lower bit number than the current bit capacitor to obtain the mismatch error code value of the current bit capacitor.

6. The analog-to-digital converter according to claim 1, characterized in that: The mismatch error code value is a multi-bit code value; The error compensation module is configured to: select a corresponding code value in the mismatch error code value according to the initial analog-to-digital conversion result to compensate the initial analog-to-digital conversion result, wherein the corresponding code value and the code value to be compensated in the initial analog-to-digital conversion result correspond to the same part of the first-stage analog-to-digital conversion circuit.

7. The analog-to-digital converter according to claim 6, characterized in that: The error compensation module is configured as follows: A plurality of code values ​​in the mismatch error code value are selected according to the initial analog-to-digital conversion result, the plurality of code values ​​are combined to obtain a total code value, and the initial analog-to-digital conversion result is backfilled according to the total code value.

8. The analog-to-digital converter according to any one of claims 1 to 7, characterized in that: The first-stage analog-to-digital conversion circuit is configured to sample and perform analog-to-digital conversion on the input signal to obtain a first code value and a residual voltage signal; The second-stage analog-to-digital conversion circuit is configured to sample and perform analog-to-digital conversion on the residual voltage signal to obtain a second code value; The analog-to-digital converter also includes a code value processing module, which is connected to the first-stage analog-to-digital conversion circuit, the second-stage analog-to-digital conversion circuit, and the error compensation module, and is configured to merge the first code value with the second code value to obtain the initial analog-to-digital conversion result.

9. The analog-to-digital converter according to claim 8, characterized in that: Also includes: an interstage amplifier, arranged between the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit, configured to amplify the residual voltage signal to obtain a residual voltage amplified signal; and configured to amplify the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error voltage amplified signal; The second-stage analog-to-digital conversion circuit is configured to sample and perform analog-to-digital conversion on the residual voltage amplified signal to obtain the second code value; and is configured to sample and quantize the mismatch error voltage amplified signal to obtain the mismatch error code value of the first-stage analog-to-digital conversion circuit.

10. The analog-to-digital converter according to claim 9, characterized in that: The interstage amplifier comprises: an amplifier, wherein an input end of the amplifier is connected to the first-stage analog-to-digital conversion circuit, and an output end of the amplifier is connected to the second-stage analog-to-digital conversion circuit via a first switch; A feedback capacitor, one end of which is connected between the amplifier and the first-stage analog-to-digital conversion circuit, the other end of which is connected between the first switch and the second-stage analog-to-digital conversion circuit, and the other end of which is grounded through a second switch.

11. The analog-to-digital converter according to any one of claims 1 to 7, characterized in that: It also includes a mismatch error code value storage module, which is arranged between the second-stage analog-to-digital conversion circuit and the error compensation module and is configured to store the mismatch error code value of the first-stage analog-to-digital conversion circuit.

12. A chip, characterized in that: An analog-to-digital converter comprising any one of claims 1 to 11.

13. An electronic device, characterized in that: Comprising the chip as claimed in claim 12.

14. An analog-to-digital conversion calibration method, characterized in that: include: Controlling the second-stage analog-to-digital conversion circuit to sample and quantize the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain a mismatch error code value of the first-stage analog-to-digital conversion circuit; Controlling the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit to jointly sample and perform analog-to-digital conversion on an input signal to obtain an initial analog-to-digital conversion result; The initial analog-to-digital conversion result is complemented according to the mismatch error code value to obtain a final analog-to-digital conversion result.

15. The analog-to-digital conversion calibration method according to claim 14, characterized in that: The first-stage analog-to-digital conversion circuit includes a first capacitor array, the first capacitor array includes a plurality of groups of capacitors, and the second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage of the first-stage analog-to-digital conversion circuit to obtain the mismatch error code value of the first-stage analog-to-digital conversion circuit, including: The second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage of each group of capacitors in the first capacitor array in sequence to obtain a mismatch error code value of each group of the capacitors.

16. The analog-to-digital conversion calibration method according to claim 15, characterized in that: The sampling and quantization of the mismatch error voltage of each group of capacitors includes: Keeping the reference voltage of the capacitor with a higher position than the current capacitor in the first capacitor array unchanged, and switching the reference voltages of the current capacitor and the remaining capacitors; The second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage currently generated by the first capacitor array.

17. The analog-to-digital conversion calibration method according to claim 15, characterized in that: The controlling the second-stage analog-to-digital conversion circuit to sequentially sample and quantize the mismatch error voltage of each group of capacitors in the first capacitor array comprises: The second-stage analog-to-digital conversion circuit is controlled to sample and quantize the mismatch error voltage of each group of capacitors in the first capacitor array in sequence from high-order capacitors to low-order capacitors.

18. The analog-to-digital conversion calibration method according to claim 15, characterized in that: The controlling the second-stage analog-to-digital conversion circuit to sequentially sample and quantize the mismatch error voltage of each group of capacitors in the first capacitor array comprises: The second-stage analog-to-digital conversion circuit is controlled to perform the following processing in sequence from the low-order capacitor to the high-order capacitor until the mismatch error code value of each group of the capacitors is obtained: Sampling and quantizing the mismatch error voltage of at least one group of capacitors of the first capacitor array to obtain a mismatch error code value of the at least one group of capacitors, wherein the at least one group of capacitors includes a current capacitor and a capacitor with a lower bit than the current capacitor; The mismatch error code value of the at least one group of capacitors is subtracted from the mismatch error code value of a capacitor with a lower bit number than the current bit capacitor to obtain the mismatch error code value of the current bit capacitor.

19. The analog-to-digital conversion calibration method according to claim 14, characterized in that: The mismatch error code value is a multi-bit code value, and the initial analog-to-digital conversion result is compensated according to the mismatch error code value to obtain a final analog-to-digital conversion result, including: The initial analog-to-digital conversion result is complemented by selecting a corresponding code value in the mismatch error code value according to the initial analog-to-digital conversion result, wherein the corresponding code value and the code value to be complemented in the initial analog-to-digital conversion result correspond to the same part of the first-stage analog-to-digital conversion circuit.

20. The analog-to-digital conversion calibration method according to claim 19, characterized in that: The selecting, according to the first code value, a corresponding code value in the mismatch error code value to complement the first code value comprises: selecting a plurality of code values ​​among the mismatch error code values ​​according to the initial analog-to-digital conversion result; Combining the multiple code values ​​to obtain a total code value; The initial analog-to-digital conversion result is backfilled according to the total code value.

21. The analog-to-digital conversion calibration method according to any one of claims 14 to 20, characterized in that: The controlling the first-stage analog-to-digital conversion circuit and the second-stage analog-to-digital conversion circuit to jointly sample and perform analog-to-digital conversion on the input signal to obtain an initial analog-to-digital conversion result includes: Controlling the first-stage analog-to-digital conversion circuit to sample and perform analog-to-digital conversion on an input signal to obtain a first code value and a residual voltage signal; Controlling the second-stage analog-to-digital conversion circuit to sample and perform analog-to-digital conversion on the residual voltage signal to obtain a second code value; The first code value and the second code value are combined to obtain an initial analog-to-digital conversion result.