BACKGROUND DAC ERROR CALIBRATION FOR SAR ADCS
20260039306 ยท 2026-02-05
Inventors
Cpc classification
H03M1/0639
ELECTRICITY
H03M1/1047
ELECTRICITY
International classification
Abstract
An analog-to-digital converter (ADC) includes bit trial circuitry configured to perform ADC bit trials that compare an input signal to states of weighted circuit elements, a dither digital-to-analog converter (DAC) to receive a dither sequence and apply a dither signal to the bit trial circuitry, and calibration circuitry. The calibration circuitry is configured to input a dither sequence into the ADC bit trials as dithered bit trials; determine an effect of the dither sequence on results of the dithered bit trials; and update correction factors used to adjust results of the ADC bit trials using the determined effect of the dither sequence.
Claims
1. An analog-to-digital converter (ADC) comprising: bit trial circuitry configured to perform ADC bit trials that compare an input signal to states of weighted circuit elements; a dither digital-to-analog converter (DAC) to receive a dither sequence and apply a dither signal to the bit trial circuitry; and calibration circuitry configured to: input a dither sequence into the ADC bit trials as dithered bit trials; determine an effect of the dither sequence on results of the dithered bit trials; and update correction factors used to adjust results of the ADC bit trials using the determined effect of the dither sequence.
2. The ADC of claim 1, wherein the calibration circuitry is configured to: compute a midpoint for the dithered bit trials; compare results of the dithered bit trials to the midpoint to measure instantaneous errors in the dithered bit trials; and recurrently initiate dithered bit trials to determine the updated correction factors based on the measured instantaneous errors.
3. The ADC of claim 2, wherein the calibration circuitry includes: a memory to store correction factors for the ADC bit trials; and logic circuitry configured to: map ADC bit trial outputs to the updated correction factors; and adjust results of the ADC bit trials using the updated correction factors.
4. The ADC of claim 3, wherein the logic circuitry includes an accumulator configured to receive the instantaneous errors in the dithered bit trials and produce a value of convergence of the instantaneous errors in the dithered bit trials; and wherein the calibration circuitry is configured to calibrate the ADC by mapping the value of convergence of the instantaneous errors to the updated correction factors.
5. The ADC of claim 2, wherein the calibration circuitry includes logic circuitry configured to: adjust results of the ADC bit trials using the updated correction factors; and recurrently initiate the dithered bit trials to recurrently update the corrections factors toward a calibration corrections factor solution.
6. The ADC of claim 2, wherein the calibration circuitry is configured to: determine one or both of dither bit trial result maximums and minimums for a first dither sequence value; determine one or both of dither bit trial result maximums and minimums for a second dither sequence value; and compute an average of the one or both of dither bit trial result maximums and minimums determined for the first and second dither sequence values as the midpoint for the dithered bit trials.
7. The ADC of claim 2, wherein the calibration circuitry is configured to use pseudo-random noise as the midpoint for the dithered bit trials.
8. The ADC of claim 1, wherein the ADC is a multi-bit successive approximation register ADC (SAR ADC), and the calibration circuitry is configured to perform the dithered bit trials and calibrate the correction factors for the SAR ADC.
9. The ADC of claim 1, wherein the calibration circuitry is configured to perform the dithered bit trials parallel to the ADC bit trials.
10. A method of calibration of an analog-to-digital converter (ADC), the method comprising: performing ADC bit trials for an analog-to-digital (A/D) conversion of an input signal, wherein an ADC bit trial includes comparing the input signal to a state of a weighted circuit element; inputting a dither sequence into the ADC bit trials as dithered bit trials; determining an effect of the dither sequence on results of the dithered bit trials; and updating correction factors for the ADC bit trials using the determined effect of the dither sequence.
11. The method of claim 10, wherein the determining the effect of the dither sequence includes: determining a midpoint for the dithered bit trials; measuring instantaneous errors in the dithered bit trials by comparing results of the dithered bit trials to the midpoint for values of the dither sequence; and determining updated correction factors based on the measured instantaneous errors in the dithered bit trials.
12. The method of claim 11, wherein the updating the correction factors includes: mapping ADC bit trial outputs to the updated correction factors.
13. The method of claim 12, including: determining a value of convergence of the instantaneous errors in the dithered bit trials by accumulating the instantaneous errors in the dithered bit trials; and calibrating the ADC by mapping the value of convergence of the instantaneous errors to the updated correction factors.
14. The method of claim 11, including: adjusting results of the ADC bit trials using the updated correction factors; and repeating the dithered bit trials and reducing the determined error in the ADC bit trials by updating the correction factors.
15. The method of claim 11, wherein the determining the midpoint for the dithered bit trials includes: determining one or both of bit trial result maximums and minimums for a first dither sequence value; determining one or both of bit trial result maximums and minimums for a second dither sequence value; and averaging the determined one or both of bit trial result maximums and minimums for the first and second dither sequence values.
16. The method of claim 11, wherein the determining the midpoint for the dithered bit trials includes using pseudo-random noise as the midpoint for the dithered bit trials.
17. The method of claim 10, including performing the dithered bit trials parallel to the ADC bit trials.
18. A non-transitory computer readable storage medium including instructions, that when performed using a controller for calibration circuitry of an analog-to-digital converter (ADC) cause the calibration circuitry to perform acts comprising: initiating dithered bit trials of the ADC, wherein a dithered bit trial inputs a dither sequence into ADC bit trials that include comparing an input signal to a state of a weighted circuit element of the ADC; determining a midpoint for the dithered bit trials; determining instantaneous errors in the dithered bit trials by comparing results of the dithered bit trials to the midpoint for values of the dither sequence; determining an error in the ADC bit trials using a determined convergence of the instantaneous errors in the dithered bit trials; and updating correction factors for the ADC bit trials according to the determined error in the ADC bit trials.
19. The non-transitory computer readable storage medium of claim 18, further including instructions that when performed by the controller, cause the calibration circuitry to perform acts including: determining bit trial result maximums and minimums for a first dither sequence value; determining bit trial result maximums and minimums for a second dither sequence value; and averaging the determined bit trial result maximums and minimums for the first and second dither sequence values as the midpoint for the dithered bit trials.
20. The non-transitory computer readable storage medium of claim 18, further including instructions that when performed by the controller, cause the calibration circuitry to perform acts including: determining a value of convergence of the instantaneous errors in the dithered bit trials by accumulating the instantaneous errors in the dithered bit trials; and mapping the value of convergence of the instantaneous errors to updated correction factors.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0004] In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. Like numerals having different letter suffixes may represent different instances of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed in the present document.
[0005]
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028] The calibration process includes the following steps. The midpoint is computed, the instantaneous error polarity is determined, and the correction coefficients or correction factors for the calibration are determined. The correction factors are used to correct for the errors e.sub.+1 and e.sup.1 discussed previously herein to reduce the error. The calibration process can be run in the background of the operation of the ADC and the correction factors can be recurrently updated (e.g., periodically according to a schedule).
[0029]
[0030]
[0031]
[0032] The instantaneous error output from the block accumulator 1142 is input to accumulator 1250. The output of accumulator 1250 goes up or down based on its input. For measurement cycle after cycle the instantaneous error gets smaller and eventually goes to zero on average. The result is the output of the accumulator 1250 converges to a break estimate bp (=e.sub.+1e.sub.1). The converged solution b.sub.p is used to map the error to correction factors (e.g., using a look up table stored in a memory of the microcontroller 1244). At block 1252, the correction factors +(1/.sub.0)e.sub.+1,p and +(1/.sub.0)e.sub.1,p are used to modify the bit trial results +.sub.L1 and .sub.L1, respectively. The correction factors are recurrently updated and used to adjust results of the ADC bit trials.
[0033]
[0034]
[0035] For completeness,
[0036] The techniques described herein reduce errors associated with ADCs through calibration. The techniques allow calibration to run in the background or parallel with the operation of the ADCs without interrupting normal ADC operation. The impact of the calibration on operation of the ADC is minimal and thus the techniques are suitable for high-speed designs.
ADDITIONAL DESCRIPTION AND ASPECTS
[0037] In a first Aspect (Aspect 1) an ADC comprises bit trial circuitry configured to perform ADC bit trials that compare an input signal to states of weighted circuit elements; a dither digital-to-analog converter (DAC) to receive a dither sequence and apply a dither signal to the bit trial circuitry; and calibration circuitry. The calibration circuitry is configured to input a dither sequence into the ADC bit trials as dithered bit trials; determine an effect of the dither sequence on results of the dithered bit trials; and update correction factors used to adjust results of the ADC bit trials using the determined effect of the dither sequence.
[0038] In Aspect 2, the subject matter of Aspect 1 optionally includes calibration circuitry configured to compute a midpoint for the dithered bit trials, compare results of the dithered bit trials to the midpoint to measure instantaneous errors in the dithered bit trials, and recurrently initiate dithered bit trials to determine the updated correction factors based on the measured instantaneous errors.
[0039] In Aspect 3, the subject matter of Aspect 2 optionally includes calibration circuitry that includes a memory to store correction factors for the ADC bit trials and logic circuitry. The logic circuitry is configured to map ADC bit trial outputs to the updated correction factors and adjust results of the ADC bit trials using the updated correction factors.
[0040] In Aspect 4, the subject matter of Aspect 3 optionally includes logic circuitry that includes an accumulator configured to receive the instantaneous errors in the dithered bit trials and produce a value of convergence of the instantaneous errors in the dithered bit trials. The calibration circuitry is configured to calibrate the ADC by mapping the value of convergence of the instantaneous errors to the updated correction factors.
[0041] In Aspect 5, the subject matter of one or any combination of Aspects 2-4 optionally includes calibration circuitry with logic circuitry configured to adjust results of the ADC bit trials using the updated correction factors, and recurrently initiate the dithered bit trials to recurrently update the corrections factors toward a calibration corrections factor solution.
[0042] In Aspect 6, the subject matter of one or any combination of Aspects 2-5 optionally includes calibration circuitry configured to determine one or both of dither bit trial result maximums and minimums for a first dither sequence value, determine one or both of dither bit trial result maximums and minimums for a second dither sequence value, and compute an average of the one or both of dither bit trial result maximums and minimums determined for the first and second dither sequence values as the midpoint for the dithered bit trials.
[0043] In Aspect 7, the subject matter of one or any combination of Aspects 2-6 optionally includes calibration circuitry configured to use pseudo-random noise as the midpoint for the dithered bit trials.
[0044] In Aspect 8, the subject matter of one or any combination of Aspects 1-7 optionally includes the ADC being a multi-bit successive approximation register ADC (SAR ADC), and the calibration circuitry is configured to perform the dithered bit trials and calibrate the correction factors for the SAR ADC.
[0045] In Aspect 9, the subject matter of one or any combination of Aspects 1-8 optionally includes calibration circuitry configured to perform the dithered bit trials parallel to the ADC bit trials.
[0046] Aspect 10 includes subject matter (such as a method of calibration of an ADC) or can optionally be combined with one or any combination of Aspects 1-9 to include such subject matter, comprising performing ADC bit trials for an analog-to-digital (A/D) conversion of an input signal, wherein an ADC bit trial includes comparing the input signal to a state of a weighted circuit element, inputting a dither sequence into the ADC bit trials as dithered bit trials, determining an effect of the dither sequence on results of the dithered bit trials, and updating correction factors for the ADC bit trials using the determined effect of the dither sequence.
[0047] In Aspect 11, the subject matter of Aspect 10 optionally includes determining a midpoint for the dithered bit trials, measuring instantaneous errors in the dithered bit trials by comparing results of the dithered bit trials to the midpoint for values of the dither sequence, and determining updated correction factors based on the measured instantaneous errors in the dithered bit trials.
[0048] In Aspect 12, the subject matter of Aspect 11 optionally includes mapping ADC bit trial outputs to the updated correction factors.
[0049] In Aspect 13, the subject matter of Aspect 12 optionally includes determining a value of convergence of the instantaneous errors in the dithered bit trials by accumulating the instantaneous errors in the dithered bit trials and calibrating the ADC by mapping the value of convergence of the instantaneous errors to the updated correction factors.
[0050] In Aspect 14, the subject matter of one or any combination of Aspects 11-13 optionally includes adjusting results of the ADC bit trials using the updated correction factors, and repeating the dithered bit trials and reducing the determined error in the ADC bit trials by updating the correction factors.
[0051] In Aspect 15, the subject matter of one or any combination of Aspects 11-14 optionally includes determining one or both of bit trial result maximums and minimums for a first dither sequence value, determining one or both of bit trial result maximums and minimums for a second dither sequence value, and averaging the determined one or both of bit trial result maximums and minimums for the first and second dither sequence values.
[0052] In Aspect 16, the subject matter of one or any combination of Aspects 11-15 optionally includes using pseudo-random noise as the midpoint for the dithered bit trials.
[0053] In Aspect 17, the subject matter of one or any combination of Aspects 11-16 optionally includes performing the dithered bit trials parallel to the ADC bit trials.
[0054] Aspect 18 includes subject matter (or can optionally be combined with one or any combination of Aspects 1-17 to include such subject matter) such as a computer readable storage medium including instructions, that when performed using a controller for calibration circuitry of an analog-to-digital converter (ADC) cause the calibration circuitry to perform acts comprising initiating dithered bit trials of the ADC, wherein a dithered bit trial inputs a dither sequence into ADC bit trials that include comparing an input signal to a state of a weighted circuit element of the ADC; determining a midpoint for the dithered bit trials; determining instantaneous errors in the dithered bit trials by comparing results of the dithered bit trials to the midpoint for values of the dither sequence; determining an error in the ADC bit trials using a determined convergence of the instantaneous errors in the dithered bit trials; removing an effect of the dither sequence from results of the dithered bit trials; and updating correction factors for the ADC bit trials according to the determined error in the ADC bit trials.
[0055] In Aspect 19, the subject matter of Aspect 18 optionally further includes instructions that cause the calibration circuitry to determine bit trial result maximums and minimums for a first dither sequence value, determine bit trial result maximums and minimums for a second dither sequence value, and average the determined bit trial result maximums and minimums for the first and second dither sequence values as the midpoint for the dithered bit trials.
[0056] In Aspect 20, the subject matter of one or both of Aspects 18 and 19 optionally further includes instructions that cause the calibration circuitry to determine a value of convergence of the instantaneous errors in the dithered bit trials by accumulating the instantaneous errors in the dithered bit trials; and map the value of convergence of the instantaneous errors to updated correction factors.
[0057] These non-limiting Aspects can be combined in any permutation or combination. The above detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show, by way of illustration, specific embodiments in which the invention can be practiced. These embodiments are also referred to herein as examples. All publications, patents, and patent documents referred to in this document are incorporated by reference herein in their entirety, as though individually incorporated by reference. In the event of inconsistent usages between this document and those documents so incorporated by reference, the usage in the incorporated reference(s) should be considered supplementary to that of this document; for irreconcilable inconsistencies, the usage in this document controls.
[0058] In this document, the terms a or an are used, as is common in patent documents, to include one or more than one, independent of any other instances or usages of at least one or one or more. In this document, the term or is used to refer to a nonexclusive or, such that A or B includes A but not B, B but not A, and A and B, unless otherwise indicated. In the appended claims, the terms including and in which are used as the plain-English equivalents of the respective terms comprising and wherein. Also, in the following claims, the terms including and comprising are open-ended, that is, a system, device, article, or process that includes elements in addition to those listed after such a term in a claim are still deemed to fall within the scope of that claim. Moreover, in the following claims, the terms first, second, and third, etc. are used merely as labels, and are not intended to impose numerical requirements on their objects. Method examples described herein can be machine or computer-implemented at least in part.
[0059] The above description is intended to be illustrative, and not restrictive. For example, the above-described examples (or one or more aspects thereof) may be used in combination with each other. Other embodiments can be used, such as by one of ordinary skill in the art upon reviewing the above description. The Abstract is provided to comply with 37 C.F.R. 1.72 (b), to allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. Also, in the above Detailed Description, various features may be grouped together to streamline the disclosure. This should not be interpreted as intending that an unclaimed disclosed feature is essential to any claim. Rather, inventive subject matter may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.