A pipeline analog-to-digital conversion circuit

By introducing chopping signal and offset error value calibration mechanism into pipeline analog-to-digital conversion circuit, the problem of large errors in digital calibration circuits is solved, the calibration accuracy and stability are improved, and it is suitable for high-speed data acquisition.

CN118523772BActive Publication Date: 2024-11-22ACELA MICROELECTRONICS (SUZHOU) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410985822.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-22
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The existing digital calibration circuit has large errors when calibrating the digital code output by the pipeline analog-to-digital converter, resulting in poor calibration results.

Method used

A pipeline analog-to-digital conversion circuit is designed, using chopping signal generation module, pipeline conversion module and digital calibration module to calibrate the digital code through chopping signal and offset error value to improve calibration accuracy.

Benefits of technology

By using offset error values ​​for calibration, the calibration effect of the digital calibration module is improved, the accuracy and stability of the target digital value output by the pipeline analog-to-digital conversion circuit is improved, and it is suitable for high-speed data acquisition systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118523772B_ABST
    Figure CN118523772B_ABST
Patent Text Reader

Abstract

The present invention discloses a pipeline analog-to-digital conversion circuit. The pipeline analog-to-digital conversion circuit includes: a first selector, a chopping signal generating module, a pipeline conversion module and a digital calibration module; the first selector is connected to an input signal and an inverted signal; the first selector is used to output an input signal or an inverted signal to the pipeline conversion module based on the chopping signal generated by the chopping signal generating module; the pipeline conversion module is used to perform analog-to-digital conversion on the input signal or the inverted signal to obtain a plurality of digital codes; the digital calibration module is used to determine a first digital value according to the plurality of digital codes; and determine the offset error value corresponding to each analog-to-digital conversion cycle, calibrate the first digital value according to the offset error value, and obtain a target digital value according to the chopping signal and the calibrated first digital value. The present invention improves the calibration effect of the digital calibration module, is conducive to improving the accuracy of the target digital value output by the pipeline analog-to-digital conversion circuit, and thus improves the accuracy of data acquisition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of analog-to-digital conversion, and in particular to a pipeline analog-to-digital conversion circuit. Background Art

[0002] The pipeline ADC is a high-speed, high-precision ADC that is widely used in various high-performance data acquisition systems. However, due to its internal structure and working principle, the pipeline ADC will inevitably introduce various errors, which usually need to be resolved through digital circuit calibration.

[0003] The existing digital calibration circuit calibrates the digital code output by the pipeline analog-to-digital converter by multiplying the digital code output by the pipeline analog-to-digital converter by a fixed gain value. However, after calibration with the fixed gain value, the output digital value still has an error, resulting in a poor calibration effect of the digital calibration circuit. Summary of the invention

[0004] The invention provides a pipeline analog-to-digital conversion circuit to improve the calibration effect of a digital calibration module.

[0005] The present invention provides a pipeline analog-to-digital conversion circuit, which includes: a first selector, a chopping signal generation module, a pipeline conversion module and a digital calibration module;

[0006] The two input ends of the first selector are connected to the input signal and the inverted signal respectively, the enable end of the first selector is connected to the chopping signal generating module, and the output end of the first selector is connected to the input end of the pipeline conversion module; the first selector is used to output the input signal or the inverted signal to the pipeline conversion module based on the chopping signal generated by the chopping signal generating module;

[0007] The pipeline conversion module is used to perform analog-to-digital conversion on the input signal or the inverted signal to obtain a plurality of digital codes;

[0008] The digital calibration module is connected to the chopping signal generating module and the pipeline conversion module respectively, and is used to determine a first digital value according to the multiple digital codes; and determine an offset error value corresponding to each analog-to-digital conversion cycle, calibrate the first digital value according to the offset error value, and obtain a target digital value according to the chopping signal and the calibrated first digital value.

[0009] Optionally, the digital calibration module includes an offset error extraction unit, a first calibration unit and a recovery unit;

[0010] The offset error extraction unit is connected to the first calibration unit, and the offset error extraction unit is used to determine the offset error value corresponding to the current analog-to-digital conversion cycle based on the offset error value corresponding to the historical analog-to-digital conversion cycle, the first digital value corresponding to the historical analog-to-digital conversion cycle, the iteration coefficient, and the offset error value corresponding to the previous analog-to-digital conversion cycle; the first calibration unit is used to calibrate the first digital value corresponding to the current analog-to-digital conversion cycle according to the offset error value corresponding to the current analog-to-digital conversion cycle;

[0011] The recovery unit is connected to the chopping signal generating module and the first calibration unit respectively; the recovery unit is used to recover the calibrated first digital value based on the chopping signal to obtain the target digital value.

[0012] Optionally, the offset error extraction unit includes a first subtractor, a first summer, a first multiplier and a first adder;

[0013] The first digital value and the offset error value corresponding to the historical analog-to-digital conversion cycle are respectively input into two input ends of the first subtractor, the output end of the first subtractor is connected to the input end of the first summer, the first subtractor is used to output a plurality of first difference values, and the first summer is used to sum the first difference values ​​corresponding to the plurality of historical analog-to-digital conversion cycles to obtain a first sum value;

[0014] The first input terminal of the first multiplier is connected to the output terminal of the first summer, the second input terminal of the first multiplier inputs the previous iteration coefficient, and the first multiplier is used to calculate the product of the first summation value and the iteration coefficient to obtain a first product value;

[0015] The first input end of the first adder is connected to the output end of the first multiplier, the second input end of the first adder inputs the offset error value corresponding to the previous analog-to-digital conversion cycle, and the first adder is used to calculate the sum of the first product value and the offset error value corresponding to the previous analog-to-digital conversion cycle to obtain the offset error value corresponding to the current analog-to-digital conversion cycle.

[0016] Optionally, the first calibration unit comprises a second adder;

[0017] A first input terminal of the second adder is connected to the offset error extraction unit, a second input terminal of the second adder inputs the first digital value, and the second adder is used to sum the offset error value output by the offset error value with the first digital value to calibrate the first digital value;

[0018] And / or, the recovery unit includes a second selector, an enable end of the second selector is connected to the chopping signal generating module, a first input end of the second selector is connected to the output end of the second adder, a second input end of the second selector is connected to the output end of the second adder through an inverter, and the second selector is used to restore the calibrated first digital value based on the chopping signal to obtain the target digital value.

[0019] Optionally, the pipeline analog-to-digital conversion circuit further includes a random sequence generation module, and the digital calibration module further includes a gain extraction unit and a second calibration unit;

[0020] The random sequence generation module is connected to the gain extraction unit and the pipeline conversion module respectively, and the random sequence generation module is used to output a plurality of random number sequences; the pipeline conversion module is used to perform multiple analog-to-digital conversions based on the plurality of random number sequences to output a plurality of the digital codes;

[0021] The gain extraction unit is connected to the pipeline conversion module, and the gain extraction unit is used to determine the calibration digital sequence corresponding to the current stage according to the calibration digital sequence output by the next stage of the pipeline conversion module, the digital code corresponding to the current stage, the inter-stage gain value corresponding to the current stage, and the random number sequence corresponding to the current stage, and determine the inter-stage gain value corresponding to each stage in the current analog-to-digital conversion cycle according to the calibration digital sequence of the historical analog-to-digital conversion cycle corresponding to each stage, the random number sequence, and the inter-stage gain value in the previous analog-to-digital conversion cycle;

[0022] The second calibration unit is connected to the gain extraction unit, and is used for calibrating the corresponding digital code according to the inter-stage gain value corresponding to each stage to obtain the first digital value.

[0023] Optionally, the gain extraction unit includes a plurality of calibration digital determination subunits and gain extraction subunits; the pipeline conversion module includes a multi-stage analog-to-digital conversion unit;

[0024] The calibration digital determination subunit is respectively connected to the calibration digital determination subunit corresponding to the subsequent stage and the analog-to-digital conversion unit corresponding to the current stage, and the calibration digital determination subunit inputs the inter-stage gain value corresponding to the current stage; the calibration digital determination subunit is used to obtain the calibration digital sequence corresponding to the current stage by adding the digital calibration sequence output by the subsequent stage and the digital code corresponding to the current stage, and then multiplying the product by the inter-stage gain value corresponding to the current stage, and subtracting the random number sequence corresponding to the current stage;

[0025] The gain extraction subunit is connected to the output end of the calibration digital determination subunit of the corresponding stage, and the gain extraction subunit inputs the random number sequence and iteration coefficient corresponding to the current stage; the gain extraction subunit is used to multiply the product of the random number sequence corresponding to the current stage and the calibration digital sequence by the iteration coefficient to obtain a second product value, and sum up multiple second product values ​​corresponding to the current stage in the historical analog-to-digital conversion cycle to obtain the inter-stage gain value corresponding to the current stage in the next analog-to-digital conversion cycle.

[0026] Optionally, the calibration digital determination subunit comprises a third adder, a second multiplier and a second subtractor;

[0027] The first input end of the third adder is connected to the calibration digital determination subunit of the next stage, and the second input end of the third adder is connected to the analog-to-digital conversion unit corresponding to the current stage;

[0028] The first input terminal of the second multiplier is connected to the output terminal of the third adder, and the second input terminal of the second multiplier inputs the inter-stage gain value corresponding to the current stage;

[0029] The first input end of the second subtractor is connected to the output end of the second multiplier, the second input end of the second subtractor is connected to the random sequence generation module, and the output end of the second subtractor is connected to the previous stage calibration digital determination subunit.

[0030] Optionally, the gain extraction subunit includes a third multiplier, a fourth multiplier and a second summer;

[0031] The first input terminal of the third multiplier is connected to the calibration digital determination subunit of the corresponding stage, and the second input terminal of the third multiplier is connected to the random sequence generation module;

[0032] The first input end of the fourth multiplier is connected to the output end of the third multiplier, and the second input end of the fourth multiplier is connected to the iteration coefficient corresponding to the current stage;

[0033] An input terminal of the second summer is connected to an output terminal of the fourth multiplier.

[0034] Optionally, the second calibration unit comprises: a plurality of third subtractors, a plurality of fifth multipliers and a plurality of fourth adders;

[0035] The first input end of the third subtractor is connected to the analog-to-digital conversion unit of the corresponding stage, and the second input end of the third subtractor is connected to the random sequence generation module;

[0036] The first input end of the fifth multiplier is connected to the output end of the third subtractor of the corresponding stage, and the second input end of the fifth multiplier is connected to the product of the current inter-stage gain value and the historical inter-stage gain value;

[0037] The fourth adder is connected to the output end of the fifth multiplier corresponding to the current stage and the output end of the fifth multiplier corresponding to the previous stage respectively.

[0038] Optionally, the pipeline analog-to-digital conversion circuit further includes a random sequence generation module, and the pipeline conversion module includes a multi-stage analog-to-digital conversion unit; the analog-to-digital conversion unit includes an analog-to-digital converter, a fifth adder, a digital-to-analog converter, a fourth subtractor and an operational amplifier;

[0039] The input end of the analog-to-digital converter is connected to the previous analog-to-digital conversion unit or the first selector, and the output end of the analog-to-digital converter is used to output the digital code;

[0040] The fifth adder is connected to the output end of the analog-to-digital converter and the random sequence generation module respectively;

[0041] The digital-to-analog converter is connected to the output end of the fifth adder;

[0042] The first input end of the fourth subtractor is connected to the previous stage analog-to-digital conversion unit or the first selector, and the second input end of the fourth subtractor is connected to the output end of the digital-to-analog converter;

[0043] The operational amplifier is connected to the output terminal of the fourth subtractor.

[0044] The technical solution of the embodiment of the present invention is to set a chopping signal generation module, the chopping signal generation module randomly generates a chopping signal, and the first selector transmits the input signal or the inverted signal to the pipeline conversion module according to the chopping signal, that is, the original input signal is transmitted to the pipeline conversion module, or the original input signal is flipped and input to the pipeline conversion module. The pipeline conversion module performs analog-to-digital conversion on the input signal or the inverted signal to obtain multiple digital codes, and the digital calibration module uses the gain value to calibrate and add the multiple digital codes to obtain a first digital value, and according to the periodicity of the chopping signal, the first digital value in a chopping cycle is added to obtain an offset error value. The digital calibration module then calibrates the first digital value with the offset error value to obtain a target digital value. In this way, the digital calibration module can not only be calibrated with the gain value, but also with the offset error value, which can improve the calibration effect of the digital calibration module, which is conducive to improving the accuracy of the target digital value output by the pipeline analog-to-digital conversion circuit, and improving the stability of the pipeline analog-to-digital conversion circuit, thereby improving the accuracy of data acquisition. Moreover, the time required for calibration using the offset error value is short, which will not affect the conversion speed of the pipeline analog-to-digital conversion circuit and is suitable for high-speed data acquisition systems.

[0045] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0047] Figure 1 It is a structural schematic diagram of a pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention;

[0048] Figure 2 It is a structural schematic diagram of another pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention;

[0049] Figure 3 It is a structural schematic diagram of another pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention;

[0050] Figure 4 It is a structural schematic diagram of another pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention;

[0051] Figure 5It is a schematic diagram of the circuit structure of an analog-to-digital conversion unit provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0054] The embodiment of the present invention provides a pipeline analog-to-digital conversion circuit. Figure 1 is a schematic diagram of a pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention, with reference to Figure 1 , the pipeline analog-to-digital conversion circuit includes: a first selector 10, a chopping signal generating module 20, a pipeline conversion module 30 and a digital calibration module 40;

[0055] The two input ends of the first selector 10 are connected to the input signal VIN1 and the inverted signal VIN2 respectively, the enable end of the first selector 10 is connected to the chopping signal generating module 20, and the output end of the first selector 10 is connected to the input end of the pipeline conversion module 30; the first selector 10 is used to output the input signal VIN1 or the inverted signal VIN2 to the pipeline conversion module based on the chopping signal generated by the chopping signal generating module 20;

[0056] The pipeline conversion module 30 is used to perform analog-to-digital conversion on the input signal VIN1 or the inverted signal VIN2 to obtain a plurality of digital codes;

[0057] The digital calibration module 40 is connected to the chopping signal generating module 20 and the pipeline conversion module 30 respectively. The digital calibration module 40 is used to determine the first digital value according to the multiple digital codes; and determine the offset error value corresponding to each analog-to-digital conversion cycle, calibrate the first digital value according to the offset error value, and obtain the target digital value according to the chopping signal and the calibrated first digital value.

[0058] Among them, the input signal VIN1 is the collected analog signal, and the inverted signal VIN2 is the result after the input signal VIN1 is flipped, that is, the input signal VIN1 and the inverted signal VIN2 are inverted signals to each other, that is, VIN1=-VIN2. The first selector 10 can select to output the input signal VIN1 or the inverted signal VIN2 according to the chopping signal, and the chopping signal generated by the chopping signal generation module 20 can be a random number, and the random number can be 0 or 1. For example, when the chopping signal is 0, the first selector 10 outputs the input signal VIN1 to the pipeline conversion module 30; when the chopping signal is 1, the first selector 10 outputs the inverted signal VIN2 to the pipeline conversion module 30. Alternatively, when the chopping signal is 1, the first selector 10 outputs the input signal VIN1 to the pipeline conversion module 30; when the chopping signal is 0, the first selector 10 outputs the inverted signal VIN2 to the pipeline conversion module 30. Among them, the chopping signal generation module 20 can be implemented by a random number generator.

[0059] The pipeline conversion module 30 may include a multi-stage analog-to-digital converter, and the pipeline conversion module 30 may perform analog-to-digital conversion on the input signal (input signal VIN1 or inverted signal VIN2) and output multiple digital codes. For example, the first-stage analog-to-digital converter performs analog-to-digital conversion on the input signal (input signal VIN1 or inverted signal VIN2) to obtain the first digital code, and outputs it to the digital calibration module 40; and performs digital-to-analog conversion on the first digital code, and the obtained analog value is subtracted from the signal input by the first-stage analog-to-digital converter (input signal VIN1 or inverted signal VIN2), and the difference is amplified and output to the second-stage analog-to-digital converter. The second-stage analog-to-digital converter performs analog-to-digital conversion on the amplified difference output by the first-stage analog-to-digital converter to obtain the second digital code, and outputs it to the digital calibration module 40; and performs digital-to-analog conversion on the second digital code, and the obtained analog value is subtracted from the signal input by the second-stage analog-to-digital converter (the amplified difference output by the first-stage analog-to-digital converter), and the difference is amplified and output to the third-stage analog-to-digital converter. This process is repeated until the last analog-to-digital converter outputs the last digital code to the digital calibration module 40. In this way, the analog input (input signal VIN1 or inverted signal VIN2) can be converted into a digital code output. The digital calibration module 40 calibrates and sums all the digital codes to obtain an accurate analog-to-digital conversion result, that is, the digital value corresponding to the input signal VIN1.

[0060] Specifically, the digital calibration module 40 can calibrate and add a plurality of digital codes to obtain a first digital value. By setting the chopping signal generated by the chopping signal generating module 20, the input signal VIN1 or the inverted signal VIN2 can be selected to be input to the pipeline conversion module 30, that is, the input signal VIN1 can be input to the pipeline conversion module 30, or the input signal VIN1 can be flipped and input to the pipeline conversion module 30. Because the chopping signal is random, but after the chopping signal is output multiple times, the chopping signal has periodicity, then the offset error value can be obtained by adding the first digital value in a chopping cycle. If the first digital value in a chopping cycle is zero after adding, it indicates that the error is small. If the first digital value in a chopping cycle is not zero after adding, the result after adding is the offset error value. The digital calibration module 40 calibrates the first digital value using the offset error value to obtain the target digital value. In this way, the digital code output by the pipeline conversion module 30 can be calibrated not only by the gain value, but also by the offset error value, which can improve the calibration effect of the digital calibration module 40, and is beneficial to improving the accuracy of the target digital value output by the pipeline analog-to-digital conversion circuit, thereby improving the accuracy of data acquisition.

[0061] Among them, a chopping cycle includes a process of outputting a chopping signal multiple times, that is to say, a chopping cycle includes inputting an input signal VIN1 or an inverted signal VIN2 to the pipeline conversion module 30 multiple times, and the pipeline conversion module 30 outputs a plurality of digital codes multiple times. In a chopping cycle, the arrangement of the chopping signal will not be repeated. Different chopping cycles have the same arrangement of the chopping signal, that is, the chopping signal sequence formed by the chopping signal is the same. For example, if the chopping sequence outputted by a chopping cycle is 010010001, the chopping sequence outputted by the next chopping cycle is also 010010001. Here, it is just an example, and the number of chopping signals contained in a chopping cycle is not limited, nor is the specific value of the chopping signal actually outputted limited. By periodically flipping the input signal, DC bias and low-frequency noise can be effectively eliminated, thereby improving the accuracy and stability of the pipeline analog-to-digital conversion circuit, and the signal-to-noise ratio of the analog-to-digital converter in the pipeline conversion module 30 can also be improved, and the error is reduced, thereby reducing the influence of thermal drift on analog-to-digital conversion.

[0062] The technical solution of this embodiment is to set a chopping signal generation module, the chopping signal generation module randomly generates a chopping signal, and the first selector transmits the input signal or the inverted signal to the pipeline conversion module according to the chopping signal, that is, the original input signal is transmitted to the pipeline conversion module, or the original input signal is flipped and input to the pipeline conversion module. The pipeline conversion module performs analog-to-digital conversion on the input signal or the inverted signal to obtain multiple digital codes, and the digital calibration module uses the gain value to calibrate and add the multiple digital codes to obtain the first digital value, and according to the periodicity of the chopping signal, the first digital value within a chopping cycle is added to obtain the offset error value. The digital calibration module then calibrates the first digital value with the offset error value to obtain the target digital value. In this way, the digital calibration module can not only be calibrated with the gain value, but also with the offset error value, which can improve the calibration effect of the digital calibration module, which is conducive to improving the accuracy of the target digital value output by the pipeline analog-to-digital conversion circuit, and improving the stability of the pipeline analog-to-digital conversion circuit, thereby improving the accuracy of data acquisition. Moreover, the time required for calibration using the offset error value is short, which will not affect the conversion speed of the pipeline analog-to-digital conversion circuit and is suitable for high-speed data acquisition systems.

[0063] Based on the above technical solutions, Figure 2 is a schematic diagram of the structure of another pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention. Figure 2 , the digital calibration module 40 includes an offset error extraction unit 410, a first calibration unit 420 and a recovery unit 430;

[0064] The offset error extraction unit 410 is connected to the first calibration unit 420, and the offset error extraction unit 410 is used to determine the offset error value corresponding to the current analog-to-digital conversion cycle based on the offset error value corresponding to the historical analog-to-digital conversion cycle, the first digital value corresponding to the historical analog-to-digital conversion cycle, the iteration coefficient, and the offset error value corresponding to the previous analog-to-digital conversion cycle; the first calibration unit 420 is used to calibrate the first digital value corresponding to the current analog-to-digital conversion cycle according to the offset error value corresponding to the current analog-to-digital conversion cycle;

[0065] The restoration unit 430 is connected to the chopping signal generating module 20 and the first calibration unit 420 respectively; the restoration unit 430 is used to restore the calibrated first digital value based on the chopping signal to obtain a target digital value.

[0066] Among them, one analog-to-digital conversion cycle refers to the process of completing one pipeline analog-to-digital conversion by the pipeline conversion module 30. The iteration coefficient is a step parameter of convergence, and the iteration coefficient is inversely proportional to the convergence time, that is, when the required convergence time is shorter, the iteration coefficient can be set to be larger; when the required convergence time is longer, the iteration coefficient can be set to be smaller. The specific setting can be based on actual needs, and this embodiment does not limit it. Among them, the iteration coefficients corresponding to different analog-to-digital conversion cycles can be the same or different, and this embodiment does not limit it.

[0067] Specifically, the offset error extraction unit 410 can calculate the first difference between the first digital value and the offset error value in each analog-to-digital conversion cycle, and then add the first difference values ​​in all historical analog-to-digital conversion cycles to obtain a first summation value, and then multiply the first summation value by the iteration coefficient to obtain a first product value, and add the offset error value corresponding to the previous analog-to-digital conversion cycle to the first product value to obtain the offset error value corresponding to the current analog-to-digital conversion cycle. The first calibration unit 420 can add the offset error value corresponding to the current analog-to-digital conversion cycle to the first digital value corresponding to the current analog-to-digital conversion cycle to calibrate the first digital value. The recovery unit 430 can restore the calibrated first digital value according to the chopping signal. For example, when the chopping signal is 0, when the first selector 10 outputs a signal, the first selector 10 outputs an input signal VIN1, that is, the collected analog signal is not flipped, then the recovery unit 430 also receives the chopping signal 0, and the calibrated first digital value will not be flipped. For example, when the chopping signal is 1, when the first selector 10 outputs a signal, the first selector 10 outputs an inverted signal VIN2, which is equivalent to flipping the collected analog signal. The recovery unit 430 also receives the chopping signal 1 and flips the calibrated first digital value, thereby restoring the signal so that the output target digital value corresponds to the collected analog signal, eliminating the additional noise brought by the chopping signal, which is beneficial to improving the accuracy of signal acquisition.

[0068] Optionally, refer to Figure 2 , the offset error extraction unit 410 includes a first subtractor U11, a first summer U21, a first multiplier U31 and a first adder U41;

[0069] The first digital value and the offset error value corresponding to the historical analog-to-digital conversion cycle are respectively input to two input ends of the first subtractor U11, the output end of the first subtractor U11 is connected to the input end of the first summer U21, the first subtractor U11 is used to output a plurality of first difference values, and the first summer U21 is used to sum the first difference values ​​corresponding to the plurality of historical analog-to-digital conversion cycles to obtain a first sum value;

[0070] A first input terminal of the first multiplier U31 is connected to an output terminal of the first summer U21, an iteration coefficient u is input to a second input terminal of the first multiplier U31, and the first multiplier U31 is used to calculate the product of the first sum value and the iteration coefficient to obtain a first product value;

[0071] The first input end of the first adder U41 is connected to the output end of the first multiplier U31, and the second input end of the first adder U41 inputs the offset error value corresponding to the previous analog-to-digital conversion cycle. The first adder U41 is used to calculate the sum of the first product value and the offset error value corresponding to the previous analog-to-digital conversion cycle to obtain the offset error value corresponding to the current analog-to-digital conversion cycle.

[0072] Exemplarily, the offset error value corresponding to the current analog-to-digital conversion cycle is chop_err(n+1), the offset error value corresponding to the previous analog-to-digital conversion cycle is chop_err(n), the iteration coefficient is u, and the first digital value corresponding to the previous analog-to-digital conversion cycle is D1(n). The first digital value D1(n) corresponding to the previous analog-to-digital conversion cycle and the offset error value chop_err(n) corresponding to the previous analog-to-digital conversion cycle are input to the first subtractor U11, and the first subtractor U11 calculates the first difference D1(n)-chop_err(n). Similarly, the first subtractor U11 can calculate the first difference D1(n-1)-chop_err(n-1), D1(n-2)-chop_err(n-2)..., D1(1)-chop_err(1) corresponding to multiple historical analog-to-digital conversion cycles, where n is an integer greater than 3 and represents the number of analog-to-digital conversion cycles. The first summer U21 sums the first difference values ​​corresponding to multiple historical analog-to-digital conversion cycles to obtain a first sum value sum{ [D1(n)-chop_err(n)]+…+[D1(1)-chop_err(1)]}. The first multiplier U31 subtracts the iteration coefficient from the first sum value to obtain a first product value u×sum{ [D1(n)-chop_err(n)]+…+[D1(1)-chop_err(1)]}. The first adder U41 adds the first product value and the offset error value corresponding to the previous analog-to-digital conversion cycle to obtain the offset error value corresponding to the current analog-to-digital conversion cycle, that is, chop_err(n+1)=chop_err(n)+u×sum{ [D1(n)-chop_err(n)]+…+[D1(1)-chop_err(1)]}. In this way, it is convenient to calibrate the first digital value corresponding to the current analog-to-digital conversion period according to the offset error value corresponding to the current analog-to-digital conversion period.

[0073] It should be noted that Figure 2 In the example, the inputs of the first subtractor U11 are chop_err(n) and D1(n), but this is not limited to this.

[0074] It should also be noted that in some other implementations, the iteration coefficient u may be multiplied by the first difference output by each first subtractor U11 by the first multiplier U31 first, and then summed by the first summer U21, which is not limited in this embodiment.

[0075] Optionally, refer to Figure 2 , the first calibration unit 420 includes a second adder U42;

[0076] A first input terminal of the second adder U42 is connected to the offset error extraction unit 410, a second input terminal of the second adder U42 inputs the first digital value D1, and the second adder U42 is used to sum the offset error value output by the offset error value with the first digital value D1 to calibrate the first digital value D1;

[0077] And / or, the recovery unit 430 includes a second selector U5, an enable end of the second selector U5 is connected to the chopping signal generating module 20, a first input end of the second selector U5 is connected to the output end of the second adder U42, a second input end of the second selector U5 is connected to the output end of the second adder U42 through an inverter U6, and the second selector U5 is used to restore the calibrated first digital value based on the chopping signal to obtain the target digital value Dout.

[0078] in, Figure 2 The offset error value output by the offset error extraction unit 410 is the offset error value chop_err(n+1) of the n+1th analog-to-digital conversion cycle, and the first digital value D1(n+1) of the n+1th analog-to-digital conversion cycle is calibrated. The offset error value corresponding to the first analog-to-digital conversion cycle is, for example, a default value, which may be 0 or other values, and this embodiment does not limit this.

[0079] Specifically, the second adder U42 adds the offset error value corresponding to the current analog-to-digital conversion period and the first digital value corresponding to the current analog-to-digital conversion period to obtain the calibrated first digital value.

[0080] The calibrated first digital value is connected to the first input terminal of the second selector U5. After the calibrated first digital value is flipped by the inverter U6, the flipped calibrated first digital value is obtained. If the chopping signal causes the first selector 10 to output the input signal VIN1, the chopping signal causes the second selector U5 to output the calibrated first digital value. If the chopping signal causes the first selector 10 to output the inverted signal VIN2, the chopping signal causes the second selector U5 to output the flipped calibrated first digital value. By flipping again, the signal can be restored to obtain the target digital value Dout corresponding to the collected analog signal.

[0081] Based on the above technical solutions, Figure 3 is a schematic diagram of the structure of another pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention. Figure 3 , the pipeline analog-to-digital conversion circuit further includes a random sequence generation module 50, and the digital calibration module 40 further includes a gain extraction unit 440 and a second calibration unit 450;

[0082] The random sequence generation module 50 is connected to the gain extraction unit 440 and the pipeline conversion module 30 respectively, and the random sequence generation module 50 is used to output multiple random number sequences; the pipeline conversion module 30 is used to perform multiple analog-to-digital conversions based on the multiple random number sequences to output multiple digital codes;

[0083] The gain extraction unit 440 is connected to the pipeline conversion module 30, and the gain extraction unit 440 is used to determine the calibration digital sequence corresponding to the current stage according to the calibration digital sequence output by the next stage of the pipeline conversion module 30, the digital code corresponding to the current stage, the inter-stage gain value corresponding to the current stage, and the random number sequence corresponding to the current stage, and determine the inter-stage gain value corresponding to each stage in the current analog-to-digital conversion cycle according to the calibration digital sequence of the historical analog-to-digital conversion cycle corresponding to each stage, the random number sequence, and the inter-stage gain value in the previous analog-to-digital conversion cycle;

[0084] The second calibration unit 450 is connected to the gain extraction unit 440 , and is used for calibrating the corresponding digital code according to the inter-stage gain value corresponding to each stage to obtain a first digital value.

[0085] Among them, the random sequence generation module 50 can generate a random number sequence, and the random number sequence can contain multiple numbers, and the value of each number can be 1 or -1, for example. For a sufficiently long random number sequence, its mathematical expectation is 0 and the variance is 1, but it is not limited. The multiple random number sequences output by the random sequence generation module 50 can be transmitted to each level of the analog-to-digital converter of the pipeline conversion module 30, so that the pipeline conversion module 30 performs multiple analog-to-digital conversions based on the multiple random number sequences and outputs multiple digital codes. In this way, the quantization error can be randomized, thereby reducing the harmonic distortion caused by fixed step quantization, that is, reducing the digital code distortion problem caused by fixed errors between each level of analog-to-digital conversion. In addition, the random number sequence generated by the random sequence generation module 50 is not related to the input signal VIN1, and can correct the offset and inter-stage gain error of the entire pipeline conversion module 30 channel, expand the effective dynamic range of the analog-to-digital converter in the pipeline conversion module 30, and improve the linearity of the signal in the pipeline conversion module 30 after reducing the error.

[0086] Specifically, the gain extraction unit 440 adds the calibration digital sequence output by the next stage to the digital code corresponding to the current stage, multiplies it by the inter-stage gain value corresponding to the current stage, and then subtracts the random number sequence corresponding to the current stage to obtain the calibration digital sequence corresponding to the current stage. The gain extraction unit 440 multiplies the calibration digital sequence and the random number sequence corresponding to the stage in each analog-to-digital conversion cycle in the historical analog-to-digital conversion cycle to obtain multiple product results, sums all the product results of the historical analog-to-digital conversion cycle, and adds the inter-stage gain value corresponding to the stage in the previous analog-to-digital conversion cycle to obtain the inter-stage gain value corresponding to the stage in the current analog-to-digital conversion cycle. The inter-stage gain value corresponding to each stage can be calculated by this method, thereby obtaining the inter-stage gain value corresponding to each stage in the current analog-to-digital conversion cycle.

[0087] The second calibration unit 450 can calibrate the corresponding digital code according to the inter-stage gain value corresponding to each stage, for example, multiplying the inter-stage gain value of each stage by the corresponding digital code; or multiplying the digital code corresponding to the first stage by the inter-stage gain value of the first stage, multiplying the digital code corresponding to the second stage by the inter-stage gain value of the first and second stages, and multiplying the digital code corresponding to the third stage by the inter-stage gain of the first, second and third stages, that is, multiplying the digital code corresponding to each stage by the product of the inter-stage gain of all previous stages, thereby calibrating the digital code of each stage. Then, the calibrated digital codes of each stage are added to obtain the first digital value. In this way, the pipeline analog conversion circuit of this embodiment can not only be calibrated with the inter-stage gain value and eliminate the additional noise brought by the random number sequence, but also can be calibrated with the offset error value, which can effectively improve the accuracy of the output target digital value.

[0088] Optionally, refer to Figure 3 , the gain extraction unit 440 includes a plurality of calibration digital determination subunits 441 and a gain extraction subunit 442; the pipeline conversion module 30 includes a multi-stage analog-to-digital conversion unit 310;

[0089] The calibration digital determination subunit 441 is connected to the calibration digital determination subunit 441 corresponding to the subsequent stage and the analog-to-digital conversion unit corresponding to the current stage respectively, and the calibration digital determination subunit 441 inputs the inter-stage gain value corresponding to the current stage; the calibration digital determination subunit 441 is used to obtain the calibration digital sequence corresponding to the current stage by adding the digital calibration sequence output by the subsequent stage and the digital code corresponding to the current stage, and then multiplying the product by the inter-stage gain value corresponding to the current stage, and subtracting the random number sequence corresponding to the current stage;

[0090] The gain extraction subunit 442 is connected to the output end of the calibration digital determination subunit 441 of the corresponding stage, and the gain extraction subunit 442 inputs the random number sequence and iteration coefficient corresponding to the current stage; the gain extraction subunit 442 is used to multiply the product of the random number sequence corresponding to the current stage and the calibration digital sequence by the iteration coefficient to obtain a second product value, and sum up multiple second product values ​​corresponding to the current stage in the historical analog-to-digital conversion cycle to obtain the inter-stage gain value corresponding to the current stage in the next analog-to-digital conversion cycle.

[0091] Specifically, the calibration digital determination subunit 441 adds the calibration digital sequence output by the next stage to the digital code corresponding to the current stage, multiplies it by the inter-stage gain value corresponding to the current stage, and then subtracts the random number sequence corresponding to the current stage, so as to obtain the calibration digital sequence corresponding to the current stage. The gain extraction subunit 442 multiplies the calibration digital sequence and the random number sequence corresponding to the stage in each analog-to-digital conversion cycle in the historical analog-to-digital conversion cycle to obtain multiple product results, sums all the product results of the historical analog-to-digital conversion cycle, and adds the inter-stage gain value corresponding to the stage in the previous analog-to-digital conversion cycle after the sum, so as to obtain the inter-stage gain value corresponding to the stage in the current analog-to-digital conversion cycle, and the inter-stage gain value corresponding to each stage can be calculated by this method, so as to obtain the inter-stage gain value corresponding to each stage in the current analog-to-digital conversion cycle. In this way, it is convenient to iteratively update the inter-stage gain value, avoid the problem of error increase caused by environmental changes, improve the long-term stability of the pipeline analog-to-digital conversion circuit, and reduce the sensitivity to environmental changes.

[0092] The last-stage analog-to-digital conversion unit 310 may include a memory, such as a flash memory, that is, the last-stage analog-to-digital conversion may perform analog-to-digital conversion and output the last digital code, and then store it.

[0093] Among them, the inter-stage gain values ​​corresponding to each stage in the later stage of the first analog-to-digital conversion are, for example, set initial values, which may be 1 or other values, and this embodiment does not limit this.

[0094] Based on the above technical solutions, Figure 4 is a schematic diagram of the structure of another pipeline analog-to-digital conversion circuit provided by an embodiment of the present invention. Figure 4 , the calibration digital determination subunit 441 includes a third adder U43, a second multiplier U32 and a second subtractor U12;

[0095] A first input terminal of the third adder U43 is connected to the calibration digital determination subunit of the next stage, and a second input terminal of the third adder U43 is connected to the analog-to-digital conversion unit 310 corresponding to the current stage;

[0096] A first input terminal of the second multiplier U32 is connected to an output terminal of the third adder U43, and a second input terminal of the second multiplier U32 inputs an inter-stage gain value corresponding to the current stage;

[0097] The first input end of the second subtractor U12 is connected to the output end of the second multiplier U32, the second input end of the second subtractor U12 is connected to the random sequence generation module 50, and the output end of the second subtractor U12 is connected to the previous stage calibration digital determination subunit.

[0098] Exemplarily, the first input terminal of the third adder U43 inputs the calibration digital sequence output by the subsequent calibration digital determination subunit, and the calibration digital sequence output by the subsequent calibration digital determination subunit is, for example, The second input terminal of the third adder U43 inputs the digital code output by the current analog-to-digital conversion unit 310 , then the third adder U43 outputs , where m is a positive integer greater than 1. The second multiplier U32 adds the output of the third adder U43 to Interstage gain corresponding to the current stage Multiply them together and you get The second subtractor U12 adds the output of the second multiplier U32 to Subtract the random number sequence corresponding to the current level , you can get the calibration digital sequence corresponding to the current level .

[0099] It should be noted that the digital code corresponding to the last-stage analog-to-digital conversion unit 310 can be added to 0, or the third adder U43 corresponding to the last-stage analog-to-digital conversion unit 310 can be omitted. Figure 4 The third adder U43 corresponding to the last-stage analog-to-digital conversion unit 310 is omitted, but this is not limited. That is, the calibration digital sequence corresponding to the last-stage analog-to-digital conversion unit 310 is Wherein, because the inter-stage gain value is the gain value between two stages of analog-to-digital conversion units 310 , m is the number of stages of the analog-to-digital conversion unit 310 minus one.

[0100] Optionally, refer to Figure 4 , the gain extraction subunit 442 includes a third multiplier U33, a fourth multiplier U34 and a second summer U22;

[0101] A first input terminal of the third multiplier U33 is connected to the calibration digital determination subunit 441 of the corresponding stage, and a second input terminal of the third multiplier U33 is connected to the random sequence generation module 50;

[0102] A first input terminal of the fourth multiplier U34 is connected to an output terminal of the third multiplier U33, and a second input terminal of the fourth multiplier U34 is connected to an iteration coefficient corresponding to the current stage;

[0103] An input terminal of the second summer U22 is connected to an output terminal of the fourth multiplier U34.

[0104] Exemplarily, the first input terminal of the third multiplier U33 inputs the calibration digital sequence of the corresponding stage, for example, The second input terminal of the third multiplier U33 inputs the random number sequence of the corresponding level , the third multiplier U33 output The fourth multiplier U34 multiplies the output of the third multiplier U33 by Multiplying it with the random number sequence u of the corresponding level, we get In this way, the calculation is repeated to obtain the The second summer U22 adds all analog-to-digital conversion cycles in the historical analog-to-digital conversion cycle to Sum, we get , the second summer U22 will The interstage gain value of this stage corresponding to the current analog-to-digital conversion cycle , so that the inter-stage gain value of the stage corresponding to the next analog-to-digital conversion cycle is In this way, it is convenient to iteratively update the inter-stage gain value, which is beneficial to improving the accuracy of calibration of the digital calibration module.

[0105] It should be noted that Figure 4 In the embodiment, the interstage gain value input by the calibration digital determination subunit 441 and the interstage gain value output by the gain extraction subunit 442 are interstage gain values ​​corresponding to different analog-to-digital conversion cycles, the interstage gain value input by the calibration digital determination subunit 441 is the interstage gain value corresponding to the previous analog-to-digital conversion cycle, and the interstage gain value output by the gain extraction subunit 442 is the interstage gain value corresponding to the current analog-to-digital conversion cycle. The initial interstage gain value may be a set initial value, which may be 0 or 1, or other values, which are not limited in this embodiment.

[0106] Optionally, refer to Figure 4 , the second calibration unit 450 includes: a plurality of third subtractors U13, a plurality of fifth multipliers U35 and a plurality of fourth adders U44;

[0107] A first input terminal of the third subtractor U13 is connected to the analog-to-digital conversion unit 310 of the corresponding stage, and a second input terminal of the third subtractor U13 is connected to the random sequence generation module 50;

[0108] A first input terminal of the fifth multiplier U35 is connected to the output terminal of the third subtractor U13 of the corresponding stage, and a second input terminal of the fifth multiplier U35 is connected to the product of the current inter-stage gain value and the historical inter-stage gain value;

[0109] The fourth adder U44 is respectively connected to the output end of the fifth multiplier U35 corresponding to the current stage and the output end of the fifth multiplier U35 corresponding to the previous stage.

[0110] Exemplarily, the third subtractor U13 subtracts the digital code from the random number sequence input by the analog-to-digital conversion unit 310 of the corresponding stage, which can eliminate the additional noise introduced by the random number sequence. The fifth multiplier U35 multiplies the output value of the third subtractor U13 by the product of the current inter-stage gain value and the historical inter-stage gain value to obtain a calibrated value, and then uses the fourth adder U44 to add the output value of the fifth multiplier U35 corresponding to the current stage and the output value of the fifth multiplier U35 corresponding to the previous stage, thereby obtaining a first digital value. The first digital value D1 is:

[0111] ,

[0112] Wherein, k+1 is the number of stages of the analog-to-digital conversion unit 310, and k is a positive integer. Because the last stage analog-to-digital conversion unit 310 only performs analog-to-digital conversion and does not input a random number sequence, the last stage analog-to-digital conversion unit 310 does not need to subtract the random number sequence.

[0113] In this way, the inter-stage gain value can be used to calibrate the digital code and eliminate the additional noise caused by the random number sequence, thereby improving the accuracy of the digital calibration.

[0114] On the basis of the above technical solutions, Figure 5 is a schematic diagram of a circuit structure of an analog-to-digital conversion unit provided in an embodiment of the present invention. Figure 5 , the analog-to-digital conversion unit 310 includes an analog-to-digital converter 311, a fifth adder U45, a digital-to-analog converter 312, a fourth subtractor U14 and an operational amplifier 313;

[0115] The input end of the analog-to-digital converter 311 is connected to the previous analog-to-digital conversion unit or the first selector 10, and the output end of the analog-to-digital converter 311 is used to output a digital code;

[0116] The fifth adder U45 is connected to the output end of the analog-to-digital converter 311 and the random sequence generation module 50 respectively;

[0117] The digital-to-analog converter 312 is connected to the output end of the fifth adder U45;

[0118] A first input end of the fourth subtractor U14 is connected to the previous stage analog-to-digital conversion unit or the first selector 10, and a second input end of the fourth subtractor U14 is connected to the output end of the digital-to-analog converter 312;

[0119] The operational amplifier 313 is connected to the output terminal of the fourth subtractor U14.

[0120] Specifically, the analog-to-digital converter 311 can convert the analog quantity input to it to obtain the corresponding digital code, and output the digital code to the digital calibration module 40. The fifth adder U45 can add the digital code to the random number sequence, and the digital-to-analog converter 312 can perform digital-to-analog conversion on the result of adding the digital code and the random number sequence to obtain an updated analog quantity. The fourth subtractor U14 subtracts the analog quantity input to the analog-to-digital converter 311 from the updated analog quantity to obtain a difference value, and the operational amplifier 313 amplifies the difference value to obtain Vres, and outputs it to the next-level analog-to-digital conversion unit 310. This is repeated until the last-level analog-to-digital converter outputs the last digital code to the digital calibration module 40, realizing pipeline analog-to-digital conversion.

[0121] Figure 5 The input and output of the first-stage analog-to-digital conversion unit 310 are used as an example, but are not limited thereto. It is the digital code output by the first-stage analog-to-digital conversion unit 310 .

[0122] Optionally, refer to Figure 4 The pipeline conversion module 30 further includes a sample holder 320, which is connected between the output end of the first selector 10 and the first-stage analog-to-digital conversion unit 310. The sample holder 320 can perform sampling and holding, which is beneficial to improving the reliability and stability of the pipeline analog-to-digital conversion circuit.

[0123] Optionally, refer to Figure 4 The gain extraction unit 440 further includes a plurality of delayers 443, and the analog-to-digital conversion unit 310 is connected to the second input terminal of the third adder U43 through the delayers 443. The delay time lengths of the delayers 443 corresponding to the analog-to-digital conversion units 310 at different stages are different. For example, the delay time length decreases step by step from the first stage to the last stage, and the delay time length of the delayer 443 corresponding to the first stage analog-to-digital conversion unit 310 is the longest. The last stage analog-to-digital conversion unit 310 may not need delay, so that the multiple stages of analog-to-digital conversion units 310 can simultaneously output digital codes to the third adder U43, which is convenient for determining the calibration digital sequence from the latter stage to the former stage, and is convenient for calibrating the digital code.

[0124] The technical solution of this embodiment is to input a random number sequence to the pipeline conversion module 30, and output the input signal VIN1 or the inverted signal VIN2 to the pipeline conversion module 30 through the chopping signal and the first selector 10, so as to facilitate the calculation of the offset error value. The digital calibration module 40 subtracts the random number sequence from the multiple digital codes, and calibrates using the inter-stage gain value to obtain the first digital value. The digital calibration module 40 calibrates the first digital value using the offset error value, and restores the calibrated first digital value using the chopping signal to obtain the target digital value. In this way, the digital calibration module 40 can not only calibrate with the gain value, but also with the offset error value, and eliminates the additional noise brought by the random number sequence and the chopping signal, which can effectively reduce the noise and bias in the pipeline analog-to-digital conversion process, improve the calibration effect of the digital calibration module, improve the conversion accuracy, and help to improve the accuracy of the target digital value output by the pipeline analog-to-digital conversion circuit. In addition, the long-term stability of the pipeline analog-to-digital conversion circuit is improved, and the sensitivity to environmental changes is reduced.

[0125] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A pipeline analog-to-digital conversion circuit, It is characterized in that include: a first selector, a chopping signal generating module, a pipeline conversion module and a digital calibration module; The two input ends of the first selector are connected to the input signal and the inverted signal respectively, the enable end of the first selector is connected to the chopping signal generating module, and the output end of the first selector is connected to the input end of the pipeline conversion module; the first selector is used to output the input signal or the inverted signal to the pipeline conversion module based on the chopping signal generated by the chopping signal generating module; The pipeline conversion module is used to perform analog-to-digital conversion on the input signal or the inverted signal to obtain a plurality of digital codes; The digital calibration module is connected to the chopping signal generating module and the pipeline conversion module respectively, and the digital calibration module is used to determine a first digital value according to a plurality of the digital codes; and determining an offset error value corresponding to each analog-to-digital conversion cycle, calibrating the first digital value according to the offset error value, and obtaining a target digital value according to the chopping signal and the calibrated first digital value; The digital calibration module includes an offset error extraction unit, a first calibration unit and a recovery unit; The offset error extraction unit is connected to the first calibration unit, and the offset error extraction unit is used to determine the offset error value corresponding to the current analog-to-digital conversion cycle based on the offset error value corresponding to the historical analog-to-digital conversion cycle, the first digital value corresponding to the historical analog-to-digital conversion cycle, the iteration coefficient, and the offset error value corresponding to the previous analog-to-digital conversion cycle; The first calibration unit is used to calibrate the first digital value corresponding to the current analog-to-digital conversion period according to the offset error value corresponding to the current analog-to-digital conversion period; The recovery unit is connected to the chopping signal generating module and the first calibration unit respectively; the recovery unit is used to recover the calibrated first digital value based on the chopping signal to obtain the target digital value; The offset error extraction unit includes a first subtractor, a first summer, a first multiplier and a first adder; The first digital value and the offset error value corresponding to the historical analog-to-digital conversion cycle are respectively input into two input ends of the first subtractor, the output end of the first subtractor is connected to the input end of the first summer, the first subtractor is used to output a plurality of first difference values, and the first summer is used to sum the first difference values ​​corresponding to the plurality of historical analog-to-digital conversion cycles to obtain a first sum value; A first input terminal of the first multiplier is connected to an output terminal of the first summer, an iteration coefficient is input to a second input terminal of the first multiplier, and the first multiplier is used to calculate a product of the first sum value and the iteration coefficient to obtain a first product value; The first input end of the first adder is connected to the output end of the first multiplier, the second input end of the first adder inputs the offset error value corresponding to the previous analog-to-digital conversion cycle, and the first adder is used to calculate the sum of the first product value and the offset error value corresponding to the previous analog-to-digital conversion cycle to obtain the offset error value corresponding to the current analog-to-digital conversion cycle.

2. The pipeline analog-to-digital conversion circuit according to claim 1, It is characterized in that The first calibration unit includes a second adder; A first input terminal of the second adder is connected to the offset error extraction unit, a second input terminal of the second adder inputs the first digital value, and the second adder is used to sum the offset error value output by the offset error value with the first digital value to calibrate the first digital value; And / or, the recovery unit includes a second selector, an enable end of the second selector is connected to the chopping signal generating module, a first input end of the second selector is connected to the output end of the second adder, a second input end of the second selector is connected to the output end of the second adder through an inverter, and the second selector is used to restore the calibrated first digital value based on the chopping signal to obtain the target digital value.

3. The pipeline analog-to-digital conversion circuit according to claim 1, It is characterized in that The pipeline analog-to-digital conversion circuit further includes a random sequence generation module, and the digital calibration module further includes a gain extraction unit and a second calibration unit; The random sequence generation module is connected to the gain extraction unit and the pipeline conversion module respectively, and the random sequence generation module is used to output a plurality of random number sequences; The pipeline conversion module is used to perform multiple analog-to-digital conversions based on multiple random number sequences to output multiple digital codes; The gain extraction unit is connected to the pipeline conversion module, and the gain extraction unit is used to determine the calibration digital sequence corresponding to the current stage according to the calibration digital sequence output by the next stage of the pipeline conversion module, the digital code corresponding to the current stage, the inter-stage gain value corresponding to the current stage, and the random number sequence corresponding to the current stage, and determine the inter-stage gain value corresponding to each stage in the current analog-to-digital conversion cycle according to the calibration digital sequence of the historical analog-to-digital conversion cycle corresponding to each stage, the random number sequence, and the inter-stage gain value in the previous analog-to-digital conversion cycle; The second calibration unit is connected to the gain extraction unit, and is used for calibrating the corresponding digital code according to the inter-stage gain value corresponding to each stage to obtain the first digital value.

4. The pipeline analog-to-digital conversion circuit according to claim 3, It is characterized in that The gain extraction unit includes a plurality of calibration digital determination subunits and a gain extraction subunit; the pipeline conversion module includes a multi-stage analog-to-digital conversion unit; The calibration digital determination subunit is respectively connected to the calibration digital determination subunit corresponding to the subsequent stage and the analog-to-digital conversion unit corresponding to the current stage, and the calibration digital determination subunit inputs the inter-stage gain value corresponding to the current stage; the calibration digital determination subunit is used to obtain the calibration digital sequence corresponding to the current stage by adding the digital calibration sequence output by the subsequent stage and the digital code corresponding to the current stage, and then multiplying the product by the inter-stage gain value corresponding to the current stage, and subtracting the random number sequence corresponding to the current stage; The gain extraction subunit is connected to the output end of the calibration digital determination subunit of the corresponding stage, and the gain extraction subunit inputs the random number sequence and iteration coefficient corresponding to the current stage; the gain extraction subunit is used to multiply the product of the random number sequence corresponding to the current stage and the calibration digital sequence by the iteration coefficient to obtain a second product value, and sum up multiple second product values ​​corresponding to the current stage in the historical analog-to-digital conversion cycle to obtain the inter-stage gain value corresponding to the current stage in the next analog-to-digital conversion cycle.

5. The pipeline analog-to-digital conversion circuit according to claim 4, It is characterized in that The calibration digital determination subunit includes a third adder, a second multiplier, and a second subtractor; The first input end of the third adder is connected to the calibration digital determination subunit of the next stage, and the second input end of the third adder is connected to the analog-to-digital conversion unit corresponding to the current stage; The first input terminal of the second multiplier is connected to the output terminal of the third adder, and the second input terminal of the second multiplier inputs the inter-stage gain value corresponding to the current stage; The first input end of the second subtractor is connected to the output end of the second multiplier, the second input end of the second subtractor is connected to the random sequence generation module, and the output end of the second subtractor is connected to the previous stage calibration digital determination subunit.

6. The pipeline analog-to-digital conversion circuit according to claim 4, It is characterized in that The gain extraction subunit includes a third multiplier, a fourth multiplier and a second summer; The first input terminal of the third multiplier is connected to the calibration digital determination subunit of the corresponding stage, and the second input terminal of the third multiplier is connected to the random sequence generation module; The first input end of the fourth multiplier is connected to the output end of the third multiplier, and the second input end of the fourth multiplier is connected to the iteration coefficient corresponding to the current stage; An input terminal of the second summer is connected to an output terminal of the fourth multiplier.

7. The pipeline analog-to-digital conversion circuit according to claim 3, It is characterized in that The second calibration unit includes: a plurality of third subtractors, a plurality of fifth multipliers, and a plurality of fourth adders; The first input end of the third subtractor is connected to the analog-to-digital conversion unit of the corresponding stage, and the second input end of the third subtractor is connected to the random sequence generation module; The first input end of the fifth multiplier is connected to the output end of the third subtractor of the corresponding stage, and the second input end of the fifth multiplier is connected to the product of the current inter-stage gain value and the historical inter-stage gain value; The fourth adder is connected to the output end of the fifth multiplier corresponding to the current stage and the output end of the fifth multiplier corresponding to the previous stage respectively.

8. The pipeline analog-to-digital conversion circuit according to any one of claims 1 to 7, It is characterized in that The pipeline analog-to-digital conversion circuit further includes a random sequence generation module, and the pipeline conversion module includes a multi-stage analog-to-digital conversion unit; the analog-to-digital conversion unit includes an analog-to-digital converter, a fifth adder, a digital-to-analog converter, a fourth subtractor and an operational amplifier; The input end of the analog-to-digital converter is connected to the previous analog-to-digital conversion unit or the first selector, and the output end of the analog-to-digital converter is used to output the digital code; The fifth adder is connected to the output end of the analog-to-digital converter and the random sequence generation module respectively; The digital-to-analog converter is connected to the output end of the fifth adder; The first input end of the fourth subtractor is connected to the previous stage analog-to-digital conversion unit or the first selector, and the second input end of the fourth subtractor is connected to the output end of the digital-to-analog converter; The operational amplifier is connected to the output terminal of the fourth subtractor.

Citation Information

Patent Citations

  • Assembly line type D / A convertor capable of calibrating capacitance mismatch and finite gain error

    CN101222230A

  • Pipelined analog-digital converter and gain error calibration method

    CN101355363A

  • Streamline analog-to-digital converter

    CN104113337A