A method, circuit and device for calibrating gain of analog-to-digital converter

By performing iterative operations and signal amplification calibration in the analog-to-digital converter, the problem of limited gain of the operational amplifier is solved, the accuracy and speed of the analog-to-digital converter are improved, power consumption is reduced, and hardware reuse is achieved, which is suitable for High-precision conversion.

CN114050826BActive Publication Date: 2024-10-22BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111305619.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2024-10-22
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

The limited gain of operational amplifiers in existing analog-to-digital converters results in reduced accuracy, existing calibration methods require a large number of iterations and are not suitable for high-precision conversion, and the multi-stage structure increases power consumption and complexity.

Method used

By performing iterative operations in the analog-to-digital converter, using the output signal of the amplifier to replace the analog signal, repeating signal input and digital code generation, and generating signal amplification factors to calibrate the amplifier, hardware complexity is reduced and hardware reuse is achieved, avoiding Insufficient gain calibration of multiple op amps.

Benefits of technology

It improves the conversion accuracy and speed of the analog-to-digital converter, reduces the design pressure of the residual amplifier, reduces the overall power consumption, and achieves higher accuracy and faster conversion rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114050826B_ABST
    Figure CN114050826B_ABST
Patent Text Reader

Abstract

The present invention provides an analog-to-digital converter gain calibration method, circuit and device, which use an additional digital circuit to measure the actual gain of the residual amplifier and compensate the digital conversion code by off-chip calibration to eliminate the amplification error caused by the limited gain of the residual amplifier, and finally improve the conversion accuracy of the overall analog-to-digital converter. At the same time, in the analog-to-digital converter gain calibration method, the signal amplified by the amplifier no longer enters the next sub-stage but returns to the front sampling and holding circuit for input, that is, the sampling and holding circuit can sample both the input signal and the amplified signal during the conversion process, thereby realizing hardware multiplexing and making the residual amplifier to be calibrated in the overall system have only one, which also makes the gain of the amplifier remain unchanged during the entire conversion process, while avoiding the problem of insufficient and incomplete calibration of multiple operational amplifier gains, which is more conducive to the design of gain calibration technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to an analog-to-digital converter gain calibration method, circuit and device. Background Art

[0002] Analog-to-Digital Converter (ADC) is the interface between the analog world and the digital world. It is used to convert analog signals (such as temperature, pressure, sound, fingerprint or image) generated in the real world into digital signals that are easier to process. It has always been a hot topic in academia and industry. Pipeline ADC has been widely used due to its high sampling accuracy and relatively fast sampling rate.

[0003] Its main structure includes the front-end sample and hold circuit (Sample and Hold Circuits), N-bit low-precision sub-stage analog-to-digital converter (N-bit SADC), N-bit digital-to-analog converter (N-bit DAC), residual amplifier, weighted accumulator and part of digital logic. There are M levels in total, and each level of circuit provides a certain number of resolutions. The input analog signal is sampled by the front-end sample and hold circuit, and the sampled value is maintained until the next sampling signal arrives. The sampled signal is quantized by the first sub-stage ADC to obtain a low-precision digital conversion code D1. The digital conversion code D1 also generates a quantized analog signal through an N-bit digital-to-analog converter, and the difference is made on the original signal to obtain a quantized residual signal. Subsequently, the quantized residual signal is amplified by the residual amplifier 2 N-1 times (with 1 bit of redundancy) as the input signal of the next sub-stage, and the digital conversion code D obtained at each stage i The digital output code of the conversion result is finally formed through the weighted accumulator, and its specific value satisfies:

[0004]

[0005] Among them, V dout is the output voltage of the entire ADC, V ref is the reference voltage of the system.

[0006] The pipeline architecture analog-to-digital converter distributes the total accuracy requirements of high-bit numbers to each sub-stage analog-to-digital converter, reducing the circuit's requirements for sub-stage system accuracy. Therefore, such an architecture is very efficient in higher-resolution and high-speed analog-to-digital converters.

[0007] The operational amplifier (the operational amplifier used for residual amplification is called a residual amplifier) ​​is the core module of each pipeline sub-stage. Its performance, including open-loop gain, offset voltage, noise, settling time, etc., has a huge impact on the output of the sub-stage, and thus affects the performance of the overall ADC. Among them, the gain of the operational amplifier directly limits the accuracy of the ADC, and the settling time of the operational amplifier limits the conversion speed of the ADC. When the open-loop gain of the op amp is too low, the actual gain G is less than the theoretical gain (2 in this design). N-1 ), resulting in a certain deviation between the output voltage of the final ADC system and the theoretical value, which destroys the accuracy of the overall system.

[0008] Prior art 1 uses a multi-stage structure to increase the open-loop gain of the operational amplifier, thereby reducing the error of residual amplification. In terms of the 17-bit accuracy requirement, the open-loop gain of the residual amplifier is required to be at least 104dB. However, the prior art 1 introduces an additional bypass due to the multi-stage structure, which increases the bypass current. In addition, since the multi-stage operational amplifier has multiple poles, the multi-stage operational amplifier requires additional power consumption to ensure system stability without losing transient characteristics. Therefore, the technology consumes a lot of additional power.

[0009] Prior art 2, in the first stage of the pipeline, an equal disturbance ΔD1 is added to the output D1 of the DAC, that is, D′=D1+RΔD1, where R is a pseudo-random number sequence, and R∈{-1,1}, that is, the value of R can only be taken from -1 and 1. Using the characteristic that the statistical mean of the pseudo-random number sequence is 0, a relationship about the first-stage gain G1 is constructed, and the compensation coefficient 1 / G1 is adjusted by a continuous iteration method without stopping the normal analog-to-digital (A / D) conversion process so that the sum sequence about R is 0, thereby eliminating the amplification error. The gain compensation calibration method of prior art 2 does not need to stop the normal AD conversion, but requires a large number of sampling points for iteration, so the conversion results in the first period of time of each ADC operation are erroneous and invalid. The number of iterations required increases greatly with the improvement of ADC accuracy. For a 12-bit ADC, 3e6 iterations are required, while for a 14-bit ADC, 8e7 iterations are required. It is conceivable that this method is not suitable for high-precision analog conversion. In addition, the compensation calibration scheme of the second technique is only for the op amps in the first sub-stage of the pipeline, while the remaining op amps are considered to be ideal op amps, resulting in the problem of incomplete calibration. Summary of the invention

[0010] In view of the problems in the prior art, the embodiments of the present invention provide a method, circuit and device for calibrating the gain of an analog-to-digital converter, which can at least partially solve the problems in the prior art.

[0011] In a first aspect, the present invention provides an analog-to-digital converter gain calibration method, comprising:

[0012] Performing a signal input operation to input an analog signal into a sample-and-hold circuit, wherein the sample-and-hold circuit outputs a sampling signal corresponding to the analog signal;

[0013] Perform a first operation in a first time frame and a second operation in a second time frame, wherein the first operation includes inputting the sampling signal into a series circuit of an analog-to-digital converter and a digital-to-analog converter to obtain a first analog output, and the second operation includes inputting a control word into the digital-to-analog converter to obtain a second analog output;

[0014] Execute a digital code generation operation, perform a difference between the currently output analog output and the sampling signal to obtain a residual signal, amplify the signal using an amplifier, and then input the signal to a back-end analog-to-digital converter, which outputs a digital output code according to the currently input residual signal;

[0015] Perform at least one iterative operation, wherein the iterative operation includes replacing the analog signal with the output signal of the amplifier, repeating the signal input operation, the first operation and the digital code generation operation, and generating a signal amplification factor according to the digital output code obtained in each iteration, thereby calibrating the amplifier.

[0016] Furthermore, the back-end analog-to-digital converter outputs a digital output code according to the currently input residual signal, including:

[0017] In a first time frame, a first analog output quantity is converted by a back-end analog-to-digital conversion to obtain a first digital output code;

[0018] In the second time frame, the second analog output quantity is converted into a second digital output code through a back-end analog-to-digital conversion.

[0019] Further, generating a signal amplification factor according to the digital output code obtained in each iteration includes:

[0020] Generate a signal amplification factor expression according to the first digital output code obtained for the first time, the second digital output code and the first digital output code obtained in each iterative operation in combination with the effective number of bits of the analog-to-digital converter and the reference voltage;

[0021] Performing weighted accumulation correction on the first digital output code obtained for the first time, the second digital output code, and the first digital output code obtained in each iterative operation to obtain a plurality of conversion results;

[0022] The signal amplification factor is generated according to the conversion result and the signal amplification factor expression.

[0023] Furthermore, the analog-to-digital converter gain calibration method further includes:

[0024] An unbiased conversion result of the analog signal is obtained according to the signal amplification factor and the sampling signal.

[0025] Further, the analog-to-digital converter is a low-precision sub-level analog-to-digital converter, and the first operation includes inputting the sampling signal to a series circuit of an analog-to-digital converter and a digital-to-analog converter to obtain a first analog output, including:

[0026] The sampling signal is input into a series circuit of the low-precision sub-stage analog-to-digital converter and the digital-to-analog converter to obtain the first analog output.

[0027] Further, the series circuit further includes a data selector connected between the analog-to-digital converter and the digital-to-analog converter, the data selector is coupled to a word line of the control word, the control word includes a turn-on character and a shielding character, and the first operation is performed in the first time frame and the second operation is performed in the second time frame, including:

[0028] If the current control word is a conduction character and the current time frame is the first time frame, the data selector outputs a digital signal after the sampling signal is processed by the analog-to-digital converter, and then the analog-to-digital converter outputs a first analog output value corresponding to the digital signal.

[0029] If the current control word is a mask character and the current time frame is the second time frame, the data selector outputs the mask character, and then the analog-to-digital converter outputs a second analog quantity corresponding to the mask character.

[0030] Furthermore, the number of iterations of the iterative operation and the number of effective bits of the low-precision sub-stage analog-to-digital converter conform to a set rule.

[0031] Furthermore, the effective number of bits of the low-precision sub-stage analog-to-digital converter is equal to the effective number of bits of the digital-to-analog converter.

[0032] In a second aspect, the present invention provides an analog-to-digital converter gain calibration circuit, comprising:

[0033] A sampling and holding module, used for receiving an analog signal, wherein the sampling and holding circuit outputs a sampling signal corresponding to the analog signal;

[0034] A data conversion module, comprising an analog-to-digital converter and a digital-to-analog converter connected in series, wherein an input end of the analog-to-digital converter is coupled to an output end of the sampling and holding module, and the data conversion module is used to perform a first operation in a first time frame and a second operation in a second time frame, wherein the first operation comprises inputting the sampling signal into a series circuit of the analog-to-digital converter and the digital-to-analog converter to obtain a first analog output, and the second operation comprises inputting a control word into the digital-to-analog converter to obtain a second analog output;

[0035] A subtractor, used for performing a subtraction between the sampled signal and the analog output to obtain a residual signal;

[0036] an amplifier, for amplifying the residual signal;

[0037] A back-end analog-to-digital converter, used for outputting a digital output code according to a currently input residual signal;

[0038] Among them, at least one iterative operation can be performed, and the iterative operation includes replacing the analog signal with the output signal of the amplifier, repeating the signal input operation, the first operation and the digital code generation operation, and generating a signal amplification factor according to the digital output code obtained in each iteration, thereby calibrating the amplifier.

[0039] Further, a control word input circuit can transmit said control word;

[0040] The data selector comprises two input terminals and one output terminal, wherein one input terminal is coupled to the control word input line, the other input terminal is coupled to the output terminal of the analog-to-digital converter, and the output terminal is coupled to the input terminal of the digital-to-analog converter.

[0041] In a third aspect, the present invention provides an analog-to-digital converter gain calibration device including the above-mentioned analog-to-digital converter gain calibration circuit.

[0042] Beneficial effects of the present invention

[0043] The gain calibration method of the analog-to-digital converter provided by the embodiment of the present invention inputs an analog signal into a sampling and holding circuit, the sampling and holding circuit outputs the analog signal as a sampling signal, inputs the sampling signal into the analog-to-digital converter to obtain a digital conversion code, converts the digital conversion code into the corresponding analog signal through the digital-to-analog converter, and makes a difference on the sampled original signal, the obtained residual signal is amplified by the amplifier, and inputs to the back-end analog-to-digital converter after amplification processing by the same amplifier, the back-end analog-to-digital converter outputs a digital output code group according to the input signal, replaces the analog signal with the output signal of the amplifier, repeats the step of inputting the analog signal into the sampling and holding circuit for multiple times, and generates a signal amplification factor according to the obtained multiple digital output code groups, thereby calibrating the amplifier. The gain calibration method can be mainly divided into two parts: one is the calibration part responsible for gain measurement, and the other is the conversion part responsible for compensating the gain to eliminate the deviation, using an additional digital circuit to measure the actual gain of the residual amplifier and compensate the digital conversion code by off-chip calibration to eliminate the amplification error caused by the limited gain of the residual amplifier, and finally improve the conversion accuracy of the overall analog-to-digital converter. This gain calibration technology can greatly ease the design pressure of the residual amplifier, thereby reducing the power consumption of the overall analog-to-digital converter and achieving faster conversion rate and higher conversion accuracy.

[0044] At the same time, in the gain calibration method of the analog-to-digital converter, the signal amplified by the amplifier no longer enters the next sub-stage but is returned to the front sampling and holding circuit. That is to say, the sampling and holding circuit can sample both the input signal and the signal amplified during the conversion process, thereby realizing hardware multiplexing and making there be only one residual amplifier to be calibrated in the overall system. This also enables the gain of the amplifier to remain unchanged during the entire conversion process, while avoiding the problem of insufficient and incomplete gain calibration of multiple operational amplifiers, which is more conducive to the design of gain calibration technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0046] Figure 1 It is a flowchart of an analog-to-digital converter gain calibration method provided by an embodiment of the present invention.

[0047] Figure 2 It is a schematic diagram of the structure of a traditional pipeline analog-to-digital converter provided by an embodiment of the present invention.

[0048] Figure 3 It is a schematic diagram of the working principle of the back-end analog-to-digital converter provided by an embodiment of the present invention (taking the second conversion as an example).

[0049] Figure 4 It is a working schematic diagram of gain measurement of an analog-to-digital converter gain calibration circuit provided by an embodiment of the present invention.

[0050] Figure 5 It is a structural schematic diagram of an analog-to-digital converter gain calibration circuit provided by an embodiment of the present invention.

[0051] Figure 6 It is a schematic diagram of the working principle of a front-end "signal generator" provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.

[0053] In order to facilitate the understanding of the technical solution provided by this application, the following is a brief description of the research background of the technical solution of this application. Pipeline ADC has been widely used due to its high sampling speed and high sampling accuracy. Figure 2 As shown: In a pipeline analog-to-digital converter, a residual amplifier is used to perform secondary sampling conversion on the residual voltage signal to improve the accuracy of the analog-to-digital converter. However, due to the limited open-loop gain of the residual amplifier, there will be a certain deviation between the digital conversion code output by the analog-to-digital converter and the ideal value, and this slight deviation destroys the performance of the overall analog-to-digital converter. The present invention relates to a gain calibration method based on a circular pipeline analog-to-digital converter, which aims to use an additional digital circuit to measure the actual gain of the residual amplifier and compensate the digital conversion code by off-chip calibration to eliminate the amplification error caused by the limited gain of the residual amplifier, and ultimately improve the conversion accuracy of the overall analog-to-digital converter. The gain calibration technology can greatly alleviate the design pressure of the residual amplifier, thereby reducing the power consumption of the overall analog-to-digital converter, and achieving faster conversion rates and higher conversion accuracy.

[0054] Based on this, Figure 1 As shown, the present invention provides a method for calibrating the gain of a circular pipeline analog-to-digital converter, comprising:

[0055] Step S100: performing a signal input operation, inputting an analog signal into a sample-and-hold circuit, and the sample-and-hold circuit outputs a sampling signal corresponding to the analog signal;

[0056] Step S200: performing a first operation in a first time frame and performing a second operation in a second time frame, wherein the first operation includes inputting the sampling signal into a series circuit of an analog-to-digital converter and a digital-to-analog converter to obtain a first analog output, and the second operation includes inputting a control word into the digital-to-analog converter to obtain a second analog output;

[0057] Step S300: executing a digital code generation operation, performing a difference between the currently output analog output and the sampled signal to obtain a residual signal, amplifying the residual signal using an amplifier, and then inputting the residual signal to a back-end analog-to-digital converter, which outputs a digital output code according to the currently input residual signal;

[0058] Step S400: performing at least one iterative operation, wherein the iterative operation includes replacing the analog signal with the output signal of the amplifier, repeating the signal input operation, the first operation and the digital code generation operation, and generating a signal amplification factor according to the digital output code obtained in each iteration, thereby calibrating the amplifier.

[0059] It is understandable that the sample and hold circuit (S&H) is also called the sample and hold amplifier. When performing A / D conversion on an analog signal, a certain conversion time is required. During this conversion time, the analog signal must remain basically unchanged in order to ensure the conversion accuracy. The sample and hold circuit is a circuit that realizes this function. The sampling and holding circuit outputs the analog signal as a sampling signal, inputs the sampling signal into the analog-to-digital converter to obtain a digital conversion code, converts the digital conversion code into the corresponding analog signal through the digital-to-analog converter, the digital-to-analog converter is an N-bit digital-to-analog converter (N-bit DAC), and makes a difference on the sampled original signal. The obtained residual signal is amplified by the amplifier, and the sampling signal and the digital conversion code are input into the amplifier, which is a residual amplifier. After being processed by the amplifier, it is input into the back-end analog-to-digital converter to obtain a group of digital output code groups, and the residual signal output by the amplifier is returned to the front sampling and holding circuit. That is to say, the sampling and holding circuit can sample the input signal as well as the residual signal amplified during the conversion process. The above operation is repeated to obtain multiple groups of digital output code groups. The signal amplification factor of the amplifier is obtained according to these digital output code groups, thereby calibrating the amplifier.

[0060] From the above description, it can be seen that the core idea of ​​the analog-to-digital converter gain calibration method provided in the embodiment of the present application is to measure the actual gain of the residual amplifier in the system through existing hardware or using as few additional hardware circuits as possible, and use off-chip post-processing to compensate the conversion result, thereby eliminating the deviation in the output voltage caused by the residual amplification. Based on the core idea mentioned above, the core technology of the present invention-gain calibration technology can be mainly divided into two parts: one is the calibration part responsible for gain measurement, and the other is the conversion part responsible for compensating the gain to eliminate the deviation. The two parts can be arranged to work alternately, but cannot work at the same time. The actual gain of the residual amplifier is measured using an additional digital circuit and the digital conversion code is compensated by off-chip calibration to eliminate the amplification error caused by the limited gain of the residual amplifier, thereby ultimately improving the conversion accuracy of the overall analog-to-digital converter. At the same time, in the gain calibration method of the analog-to-digital converter, the signal amplified by the amplifier no longer enters the next sub-stage but is returned to the front sampling and holding circuit. That is to say, the sampling and holding circuit can sample both the input signal and the signal amplified during the conversion process, thereby realizing hardware multiplexing and making there be only one residual amplifier to be calibrated in the overall system. This also enables the gain of the amplifier to remain unchanged during the entire conversion process, while avoiding the problem of insufficient and incomplete gain calibration of multiple operational amplifiers, which is more conducive to the design of gain calibration technology.

[0061] In some specific embodiments, Figure 3As shown, the back-end analog-to-digital converter outputs a digital output code according to the currently input residual signal, including:

[0062] In a first time frame, a first analog output quantity is converted by a back-end analog-to-digital conversion to obtain a first digital output code;

[0063] In the second time frame, the second analog output quantity is converted into a second digital output code through a back-end analog-to-digital conversion.

[0064] It can be understood that each time frame for performing the first operation to obtain the first digital output code is the first time frame, and each time frame for performing the second operation to obtain the second digital output code is the second time frame; the first analog output is subtracted from the original sampled signal, and the obtained residual signal is amplified by the amplifier, and the sampled signal and the digital conversion code are input into the amplifier, which is a residual amplifier, and are input into the back-end analog-to-digital converter after processing by the amplifier to obtain the first digital output code; the second analog output is subtracted from the original sampled signal, and the obtained residual signal is amplified by the amplifier, and the sampled signal and the digital conversion code are input into the amplifier, which is a residual amplifier, and are input into the back-end analog-to-digital converter after processing by the amplifier to obtain the second digital output code.

[0065] In some specific embodiments, such as Figure 4 As shown, the signal amplification factor is generated according to the digital output code obtained in each iteration, including:

[0066] Generate a signal amplification factor expression according to the first digital output code obtained for the first time, the second digital output code and the first digital output code obtained in each iterative operation in combination with the effective number of bits of the analog-to-digital converter and the reference voltage;

[0067] Performing weighted accumulation correction on the first digital output code obtained for the first time, the second digital output code, and the first digital output code obtained in each iterative operation to obtain a plurality of conversion results;

[0068] The signal amplification factor is generated according to the conversion result and the signal amplification factor expression.

[0069] It can be understood that the input signal V in Remain unchanged, through the control word Code (1) Control the data selector output, at this time the output digital code of the back-end analog-to-digital converter satisfy:

[0070]

[0071] During the second conversion process, the input signal V in No change, change the control word Code (2) Similarly, the output digital code of the back-end ADC satisfy:

[0072]

[0073] Subtract equations (2) and (3) to eliminate the input signal V in get:

[0074]

[0075] Where NBE is the effective number of bits of the back-end analog-to-digital converter, and N is the effective number of bits of the low-precision sub-stage analog-to-digital converter. In some specific embodiments, the effective number of bits of the low-precision sub-stage analog-to-digital converter N=5, and the number of cycles is 4 times. In order to ensure that the amplified residual signal does not exceed the input range of the back-end analog-to-digital converter during each conversion, V is set in =0,Code (2) =1,Code (1) =0, then equation (4) degenerates into:

[0076]

[0077] Since the digital output code of the back-end analog-to-digital converter and each conversion result (the second, third and fourth time) satisfy:

[0078]

[0079] Substituting formula (6) into formula (5) yields:

[0080]

[0081] Formula (7) is a cubic equation of G. Since the approximate range of G is [10, 17], it can be proved that Formula (7) has only one solution within this range. The actual gain G of the residual amplifier can be finally obtained by using Newton iteration or cyclic iteration.

[0082] In some specific implementations, the analog-to-digital converter gain calibration method further includes:

[0083] An unbiased conversion result of the analog signal is obtained according to the signal amplification factor and the sampling signal.

[0084] It can be understood that after the actual gain of the residual amplifier is measured by the gain measurement method, the unbiased conversion result can be corrected and calculated in the off-chip post-processing process:

[0085]

[0086] Although the phenomenon that the amplification effect is small due to the limited open-loop gain of the residual amplifier has not changed, the effect is negligible compared to the conversion deviation before calibration, and there is only a small loss in the accuracy of the overall analog-to-digital converter.

[0087] In some specific implementations, the analog-to-digital converter is a low-precision sub-level analog-to-digital converter, and the first operation includes inputting the sampling signal into a series circuit of an analog-to-digital converter and a digital-to-analog converter to obtain a first analog output, including:

[0088] The sampling signal is input into a series circuit of the low-precision sub-stage analog-to-digital converter and the digital-to-analog converter to obtain the first analog output.

[0089] It can be understood that after the sample-and-hold circuit outputs the sampling signal, the sampling signal is input into a low-precision sub-stage analog-to-digital converter (N-bit Sub-ADC), processed by the low-precision sub-stage analog-to-digital converter, and then input into the N-bit digital-to-analog converter.

[0090] In some specific implementations, the series circuit further includes a data selector connected between the analog-to-digital converter and the digital-to-analog converter, the data selector is coupled to a word line of the control word, the control word includes a turn-on character and a shielding character, and performing a first operation in a first time frame and performing a second operation in a second time frame include:

[0091] If the current control word is a conduction character and the current time frame is the first time frame, the data selector outputs a digital signal after the sampling signal is processed by the analog-to-digital converter, and then the analog-to-digital converter outputs a first analog output value corresponding to the digital signal.

[0092] If the current control word is a mask character and the current time frame is the second time frame, the data selector outputs the mask character, and then the analog-to-digital converter outputs a second analog quantity corresponding to the mask character.

[0093] It can be understood that the control word is used to control the data selector to output or shield the processed signal. Assuming that the control word is 0 and 1, when the control word is 0, the input control word is used to control the output signal of the data selector, temporarily shielding the output result of the low-precision sub-stage analog-to-digital converter of the first conversion, and using the sampling signal as the input signal of the N-bit digital-to-analog converter. When the control word is 1, the input control word is used to shield the output signal of the data selector, and the output result of the low-precision sub-stage analog-to-digital converter of the first conversion is used as the input signal of the N-bit digital-to-analog converter.

[0094] In some specific implementations, the number of times the step of repeatedly executing the step of inputting the analog signal to the sample-and-hold circuit conforms to a set rule with the number of effective bits of the low-precision sub-stage analog-to-digital converter.

[0095] It can be understood that the low-precision sub-stage analog-to-digital converter has N effective bits, and the effective bit number of the N-bit digital-to-analog converter is the same as that of the low-precision sub-stage analog-to-digital converter. The output signal of the N-bit digital-to-analog converter replaces the analog signal, and the output signal is cyclically input into the sampling and holding circuit. The cycle operation is repeated multiple times, and the multiple digital output code groups obtained have the number of repeated operations less than the effective bit number by 1.

[0096] The present application provides an embodiment of an analog-to-digital converter gain calibration circuit for executing all or part of the contents of the analog-to-digital converter gain calibration method, such as Figure 5 As shown, the analog-to-digital converter gain calibration circuit specifically includes the following contents:

[0097] A sampling and holding module, used for receiving an analog signal, wherein the sampling and holding circuit outputs a sampling signal corresponding to the analog signal;

[0098] A data conversion module, comprising an analog-to-digital converter and a digital-to-analog converter connected in series, wherein an input end of the analog-to-digital converter is coupled to an output end of the sampling and holding module, and the data conversion module is used to perform a first operation in a first time frame and a second operation in a second time frame, wherein the first operation comprises inputting the sampling signal into a series circuit of the analog-to-digital converter and the digital-to-analog converter to obtain a first analog output, and the second operation comprises inputting a control word into the digital-to-analog converter to obtain a second analog output;

[0099] A subtractor, used for performing a subtraction between the sampled signal and the analog output to obtain a residual signal;

[0100] an amplifier, for amplifying the residual signal;

[0101] A back-end analog-to-digital converter, used for outputting a digital output code according to a currently input residual signal;

[0102] Among them, at least one iterative operation can be performed, and the iterative operation includes replacing the analog signal with the output signal of the amplifier, repeating the signal input operation, the first operation and the digital code generation operation, and generating a signal amplification factor according to the digital output code obtained in each iteration, thereby calibrating the amplifier.

[0103] It is understandable that when an analog signal is A / D converted, a certain conversion time is required. During this conversion time, the analog signal must remain basically unchanged, so as to ensure the conversion accuracy. The sampling and holding module is used to keep the analog signal basically unchanged, convert the analog signal into a sampling signal, and use the sampling signal as the input of the data conversion module. The data conversion module inputs the sampling signal into the analog-to-digital converter to obtain a digital conversion code, and converts the digital conversion code into the corresponding analog signal through the digital-to-analog converter. The digital-to-analog converter is an N-bit digital-to-analog converter (N-bit DAC). The subtractor subtracts the analog signal from the sampled original signal to obtain a residual signal. The residual signal is input to the back-end analog-to-digital converter after being processed by the amplifier to obtain a set of digital output code groups. The residual signal output by the amplifier is returned to the front sampling and holding circuit, that is, the sampling and holding circuit can sample the input signal and the residual signal amplified during the conversion process. Repeat the above operation to obtain multiple sets of digital output code groups. The signal amplification factor of the amplifier is obtained according to these digital output code groups, thereby calibrating the amplifier.

[0104] From the above description, it can be seen that the analog-to-digital converter gain calibration circuit provided in the embodiment of the present application uses an additional digital circuit to measure the actual gain of the residual amplifier and compensates the digital conversion code by off-chip calibration to eliminate the amplification error caused by the limited gain of the residual amplifier, and finally improve the conversion accuracy of the overall analog-to-digital converter. At the same time, in the analog-to-digital converter gain calibration method, the signal amplified by the amplifier no longer enters the next sub-stage but returns to the input to the front sampling and holding circuit, that is, the sampling and holding circuit can sample the input signal and the signal amplified during the conversion process, thereby realizing hardware multiplexing, and making the residual amplifier to be calibrated in the overall system have only one, which also causes the gain of the amplifier to remain unchanged during the entire conversion process, while avoiding the problem of insufficient and incomplete calibration of multiple operational amplifier gains, which is more conducive to the design of gain calibration technology.

[0105] In some specific implementations, the data conversion module further includes:

[0106] A control word input line, capable of transmitting the control word;

[0107] The data selector comprises two input terminals and one output terminal, wherein one input terminal is coupled to the control word input line, the other input terminal is coupled to the output terminal of the analog-to-digital converter, and the output terminal is coupled to the input terminal of the digital-to-analog converter.

[0108] It can be understood that the gain measurement circuit splits the entire analog-to-digital converter system into two parts in the time domain, and regards the first conversion as the front end, which is used as a "signal generator", such as Figure 6As shown, a specific output signal is generated, and the second, third, and fourth conversions are regarded as the back end, which is used to quantize the specific output signal generated by the front end.

[0109] The data selector includes two input terminals and one output terminal. The two input terminals are respectively coupled to the control word input line and the output terminal of the low-precision sub-stage analog-to-digital converter, and the output terminal is coupled to the input terminal of the digital-to-analog converter.

[0110] The front end inserts a data selector (MUX) between the low-precision sub-stage analog-to-digital converter and the N-bit digital-to-analog converter, and uses the input control word (Code) to control the output signal of the data selector as the input of the N-bit digital-to-analog converter, temporarily shielding the output result of the low-precision sub-stage analog-to-digital converter of the first conversion, thereby realizing the function of a "signal generator". In order to ensure normal quantization work, the back end needs a data selector so that the input signal of the N-bit digital-to-analog converter comes from the digital conversion code of the low-precision sub-stage analog-to-digital converter, that is, when the control word shields the data selector, the processed signal is input to the N-bit digital-to-analog converter, and the N-bit digital-to-analog converter outputs the first digital conversion code; when the control word shields the processed signal, the control word is used as the output of the data selector and input to the N-bit digital-to-analog converter, and the N-bit digital-to-analog converter outputs the second digital conversion code.

[0111] The present application provides an embodiment of an analog-to-digital converter gain calibration device for executing all or part of the contents of the analog-to-digital converter gain calibration method, and the analog-to-digital converter gain calibration device specifically includes the analog-to-digital converter gain calibration circuit as described above.

[0112] The analog-to-digital converter gain calibration method, circuit and device provided by the embodiment of the present invention proposes a calibration idea of ​​using the actual gain G instead of the theoretical gain. According to this idea, the foreground test scheme of the actual gain G is realized through the existing circuit structure, and in order to be more in line with the scheme, the traditional pipeline analog-to-digital converter structure is improved, and the chain structure is changed to a loop structure, so as to realize hardware reuse, which not only saves area, but also ensures that the actual gain G of the residual amplifier has only one in the whole conversion process, avoids the problem of incomplete calibration, and essentially eliminates the gain error in the conversion process. The gain calibration method can be mainly divided into two parts: one is the calibration part responsible for gain measurement, and the other is the conversion part responsible for compensating the gain to eliminate the deviation. The actual gain of the residual amplifier is measured by an additional digital circuit and the digital conversion code is compensated by off-chip calibration to eliminate the amplification error caused by the limited gain of the residual amplifier, and finally improve the conversion accuracy of the overall analog-to-digital converter. The gain calibration technology can greatly alleviate the design pressure of the residual amplifier, thereby reducing the power consumption of the overall analog-to-digital converter, and achieving faster conversion rate and higher conversion accuracy.

[0113] The foreground calibration scheme proposed in this invention can greatly reduce the system's open-loop gain requirements for the residual amplifier, which is greatly beneficial to the design of high-precision analog-to-digital converters. For 17-bit accuracy requirements, the open-loop gain requirement of the residual amplifier is reduced from 104dB to 50dB.

[0114] Compared with the traditional calibration scheme, this method does not need to use a large number of additional sampling points to solve the convergence calculation of the magnification G, and the scheme can make great use of the existing hardware and can achieve the measurement of the actual magnification without a large number of additional hardware circuits. And for the numerical calculation of formula (7), only 3 Newton iterations or 7 simple loop iterations are needed to obtain an accurate solution that meets the requirements, without too many iterations.

[0115] At the same time, in the gain calibration method of the analog-to-digital converter, the signal amplified by the amplifier no longer enters the next sub-stage but is returned to the front sampling and holding circuit. That is to say, the sampling and holding circuit can sample both the input signal and the signal amplified during the conversion process, thereby realizing hardware multiplexing and making there be only one residual amplifier to be calibrated in the overall system. This also enables the gain of the amplifier to remain unchanged during the entire conversion process, while avoiding the problem of insufficient and incomplete gain calibration of multiple operational amplifiers, which is more conducive to the design of gain calibration technology.

[0116] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0117] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for calibrating gain of an analog-to-digital converter, characterized in that: include: Performing a signal input operation to input an analog signal into a sample-and-hold circuit, wherein the sample-and-hold circuit outputs a sampling signal corresponding to the analog signal; Perform a first operation in a first time frame and a second operation in a second time frame, wherein the first operation includes inputting the sampling signal into a series circuit of an analog-to-digital converter and a digital-to-analog converter to obtain a first analog output, and the second operation includes inputting a control word into the digital-to-analog converter to obtain a second analog output; Execute a digital code generation operation, perform a difference between the currently output analog output and the sampling signal to obtain a residual signal, amplify the signal using an amplifier, and then input the signal to a back-end analog-to-digital converter, which outputs a digital output code according to the currently input residual signal; Perform at least one iterative operation, wherein the iterative operation includes replacing the analog signal with the output signal of the amplifier, repeating the signal input operation, the first operation, and the digital code generation operation, and generating a signal amplification factor according to the digital output code obtained in each iteration, thereby calibrating the amplifier; The step of generating a signal amplification factor according to the digital output code obtained in each iteration includes: Generate a signal amplification factor expression according to the first digital output code obtained for the first time, the second digital output code and the first digital output code obtained in each iterative operation in combination with the effective number of bits of the analog-to-digital converter and the reference voltage; Performing weighted accumulation correction on the first digital output code obtained for the first time, the second digital output code, and the first digital output code obtained in each iterative operation to obtain a plurality of conversion results; Generate the signal amplification factor according to the conversion result and the signal amplification factor expression; The series circuit further includes a data selector connected between the analog-to-digital converter and the digital-to-analog converter, the data selector is coupled to a word line of the control word, the control word includes a turn-on character and a shielding character, and the first operation is performed in the first time frame and the second operation is performed in the second time frame, including: If the current control word is a conduction character and the current time frame is the first time frame, the data selector outputs a digital signal after the sampling signal is processed by the analog-to-digital converter, and then the analog-to-digital converter outputs a first analog output value corresponding to the digital signal. If the current control word is a mask character and the current time frame is the second time frame, the data selector outputs the mask character, and then the analog-to-digital converter outputs a second analog quantity corresponding to the mask character.

2. The analog-to-digital converter gain calibration method according to claim 1, characterized in that: The back-end analog-to-digital converter outputs a digital output code according to the currently input residual signal, including: In a first time frame, a first analog output quantity is converted by a back-end analog-to-digital conversion to obtain a first digital output code; In the second time frame, the second analog output quantity is converted into a second digital output code through a back-end analog-to-digital conversion.

3. The analog-to-digital converter gain calibration method according to claim 1, characterized in that: The analog-to-digital converter gain calibration method further includes: An unbiased conversion result of the analog signal is obtained according to the signal amplification factor and the sampling signal.

4. The method for calibrating the gain of an analog-to-digital converter according to claim 1, wherein: The analog-to-digital converter is a low-precision sub-level analog-to-digital converter, and the first operation includes inputting the sampling signal into a series circuit of the analog-to-digital converter and the digital-to-analog converter to obtain a first analog output, including: The sampling signal is input into a series circuit of the low-precision sub-stage analog-to-digital converter and the digital-to-analog converter to obtain the first analog output.

5. The method for calibrating the gain of an analog-to-digital converter according to claim 4, characterized in that: The number of iterations of the iterative operation and the number of effective bits of the low-precision sub-stage analog-to-digital converter comply with a set rule.

6. The method for calibrating the gain of an analog-to-digital converter according to claim 5, characterized in that: The effective number of bits of the low-precision sub-stage analog-to-digital converter is equal to the effective number of bits of the digital-to-analog converter.

7. An analog-to-digital converter gain calibration circuit, applied to the analog-to-digital converter gain calibration method according to any one of claims 1 to 6, characterized in that: include: A sampling and holding module, used for receiving an analog signal, and the sampling and holding circuit outputs a sampling signal corresponding to the analog signal; A data conversion module, comprising an analog-to-digital converter and a digital-to-analog converter connected in series, wherein an input end of the analog-to-digital converter is coupled to an output end of the sampling and holding module, and the data conversion module is used to perform a first operation in a first time frame and a second operation in a second time frame, wherein the first operation comprises inputting the sampling signal into a series circuit of the analog-to-digital converter and the digital-to-analog converter to obtain a first analog output, and the second operation comprises inputting a control word into the digital-to-analog converter to obtain a second analog output; A subtractor, used for performing subtraction between the sampled signal and the analog output to obtain a residual signal; an amplifier, for amplifying the residual signal; A back-end analog-to-digital converter, used for outputting a digital output code according to a currently input residual signal; Among them, at least one iterative operation can be performed, and the iterative operation includes replacing the analog signal with the output signal of the amplifier, repeating the signal input operation, the first operation and the digital code generation operation, and generating a signal amplification factor according to the digital output code obtained in each iteration, thereby calibrating the amplifier.

8. The analog-to-digital converter gain calibration circuit according to claim 7, characterized in that: The data conversion module also includes: A control word input line, capable of transmitting the control word; The data selector comprises two input terminals and one output terminal, wherein one input terminal is coupled to the control word input line, the other input terminal is coupled to the output terminal of the analog-to-digital converter, and the output terminal is coupled to the input terminal of the digital-to-analog converter.

9. An analog-to-digital converter gain calibration device, comprising the analog-to-digital converter gain calibration circuit according to claim 7 or 8.