Digital calibration of capacitive mismatches in analog-to-digital converters
10637493 ยท 2020-04-28
Assignee
Inventors
- Hemasundar Mohan Geddada (Irvine, CA, US)
- Chun-ying CHEN (Irvine, CA, US)
- Mo Maggie Zhang (Irvine, CA, US)
- Zen-Che Lo (Irvine, CA, US)
- Massimo Brandolini (Irvine, CA, US)
- Pin-En Su (Irvine, CA, US)
- Acer Chou (Irvine, CA, US)
Cpc classification
H03M1/125
ELECTRICITY
H03M1/1042
ELECTRICITY
International classification
Abstract
A method and apparatus for calibrating a CDAC-based analog-to-digital converter is disclosed. In one aspect, a calibration method includes: applying a predetermined pattern of voltages to first plates of a group of N capacitors, wherein N is an integer greater than 1; applying a zero voltage to the second plates of the group of N capacitors, wherein the second plates of the group of N capacitors are connected in common; removing the zero voltage to the second plates of the group of N capacitors; applying a zero voltage to all of the first plates of the group of N capacitors; quantizing a voltage on the second plates of the group of N capacitors; converting the quantized voltage on the second plates of the group of N capacitors to an adjustment value; and loading the adjustment value into a lookup table.
Claims
1. An analog-to-digital converter for converting an analog input signal to a digital output comprising: a capacitor-based digital-to-analog converter (CDAC) having a group of N capacitors, wherein N is an integer greater than 1; a comparator electrically coupled to the CDAC; control circuitry electrically coupled to the CDAC and the comparator; and a lookup table electrically coupled to the control circuitry, wherein the control circuitry is configured to: (a) apply a predetermined pattern of voltages to first plates of the group of N capacitors; (b) apply a zero voltage to second plates of the group of N capacitors, wherein the second plates of the group of N capacitors are connected in common; (c) remove the zero voltage to the second plates of the group of N capacitors; (d) apply a zero voltage to all of the first plates of the group of N capacitors; (e) quantize a voltage on the second plates of the group of N capacitors; (f) convert the quantized voltage on the second plates of the group of N capacitors to an adjustment value; and (g) load the adjustment value into the lookup table.
2. The analog-to-digital converter of claim 1, wherein steps (a) through (g) are repeated N1 times, wherein the predetermined pattern of voltages is different for each iteration of steps (a) through (g).
3. The analog-to-digital converter of claim 2, wherein each of the predetermined pattern of voltages for each iteration of steps (a) through (g) produces a voltage on the second plates of the group of N capacitors proportional to a mismatch error in one of the group of N capacitors.
4. The analog-to-digital converter of claim 3, wherein the adjustment value loaded into the lookup table provides a correction for the mismatch error in one of the group of N capacitors.
5. The analog-to-digital converter of claim 1, wherein steps (a) through (e) are repeated M times, wherein M is an integer greater than 1, and wherein M quantized voltages from each iteration of steps (a) through (e) are averaged in step (f) to yield the quantized voltage.
6. The analog-to-digital converter of claim 1, wherein the control circuitry is further configured to perform a binary search through all possible quantization levels before converging on a digital output.
7. A method for calibrating a CDAC-based analog-to-digital converter comprising: (a) applying a predetermined pattern of voltages to first plates of a group of N capacitors, wherein N is an integer greater than 1; (b) applying a zero voltage to second plates of the group of N capacitors, wherein the second plates of the group of N capacitors are connected in common; (c) removing the zero voltage to the second plates of the group of N capacitors; (d) applying a zero voltage to all of the first plates of the group of N capacitors; (e) quantizing a voltage on the second plates of the group of N capacitors; (f) converting the quantized voltage on the second plates of the group of N capacitors to an adjustment value; and (g) loading the adjustment value into a lookup table.
8. The method of claim 7, wherein steps (a) through (g) are repeated N1 times, wherein the predetermined pattern of voltages is different for each iteration of steps (a) through (g).
9. The method of claim 8, wherein each of the predetermined pattern of voltages for each iteration of steps (a) through (g) produces a voltage on the second plates of the group of N capacitors proportional to a mismatch error in one of the group of N capacitors.
10. The method of claim 9, wherein the adjustment value loaded into the lookup table provides a correction for the mismatch error in one of the group of N capacitors.
11. The method of claim 7, wherein steps (a) through (e) are repeated M times, wherein M is an integer greater than 1, and wherein M quantized voltages from each iteration of steps (a) through (e) are averaged in step (f) to yield the quantized voltage.
12. The method of claim 7, wherein the predetermined pattern of voltages includes a positive reference voltage, a negative reference voltage and a zero voltage.
13. The method of claim 8, wherein the quantizing in step s performed by the CDAC-based analog-to-digital converter.
14. A CDAC-based analog-to-digital converter for converting an analog input signal to a digital output comprising: a capacitor-based digital-to-analog converter (CDAC) having a group of N capacitors, wherein N is an integer greater than 1; a comparator electrically coupled to the CDAC; control circuitry electrically coupled to the CDAC and the comparator; and a lookup table electrically coupled to the control circuitry, wherein the control circuitry is configured to: (a) apply a predetermined pattern of voltages to first plates of the group of N capacitors; (b) apply a zero voltage to second plates of the group of N capacitors, wherein the second plates of the group of N capacitors are connected in common; (c) remove the zero voltage to the second plates of the group of N capacitors; (d) apply a zero voltage to all of the first plates of the group of N capacitors; (e) quantize a first voltage on the second plates of the group of N capacitors; (f) apply a zero voltage to the second plates of the group of N capacitors; (g) apply a zero voltage to all of the first plates of the group of N capacitors; (h) quantize a second voltage on the second plates of the group of N capacitors; (i) subtract the quantized second voltage on the second plates of the group of N capacitors from the quantized first voltage on the second plates of the group of N capacitors to yield a difference; (j) convert the difference to an adjustment value; and (k) load the adjustment value into the lookup table.
15. The analog-to-digital converter of claim 14, wherein steps (a) through (k) are repeated N1 times, wherein the predetermined pattern of voltages is different for each iteration of steps (a) through (k).
16. The analog-to-digital converter of claim 15, wherein each of the predetermined pattern of voltages for each iteration of steps (a) through (e) produces the first voltage on the second plates of the group of N capacitors that is proportional to a mismatch error in one of the group of N capacitors plus low frequency noise, and wherein each iteration of steps (f) through (h) produces the second voltage on the second plates of the group of N capacitors that is proportional to the low frequency noise, and wherein step (i) removes the low frequency noise from the mismatch error.
17. The analog-to-digital converter of claim 16, wherein the adjustment value loaded into the lookup table provides a correction for the mismatch error in one of the group of N capacitors.
18. The analog-to-digital converter of claim 14, wherein steps (a) through (i) are repeated M times, wherein M is an integer greater than 1, and wherein M differences from each iteration of steps (a) through (i) are averaged in step (j) to yield the difference converted to the adjustment value.
19. The analog-to-digital converter of claim 14, wherein the control circuitry is further configured to perform a binary search through all possible quantization levels before converging on a digital output.
20. The analog-to-digital converter of claim 14, wherein the quantizing in steps (e) and h is performed by the CDAC-based analog-to-digital converter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) The detailed description set forth below is intended as a description of various configurations of the subject technology and is not intended to represent the only configurations in which the subject technology may be practiced. The appended drawings are incorporated herein and constitute a part of the detailed description. The detailed description includes specific details for the purpose of providing a thorough understanding of the subject technology. However; the subject technology is not limited to the specific details set forth herein and may be practiced using one or more implementations. In one or more instances, structures and components are shown in simplified form in order to avoid obscuring the concepts of the subject technology.
(9) Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, exemplary aspects of the disclosure include a CDAC-based successive approximation ADC calibration system and method.
(10)
(11) Capacitors C1-C7 (130A-130G), in an embodiment as illustrated in
(12) While
(13) In an embodiment, a system and method for calibration measures and corrects the inaccuracy in the weights caused by static capacitor mismatch in a CDAC by measuring the mismatch (error) and correcting it in the digital domain by the use of a look-up table at the output of the successive approximation register logic 120. Higher levels of matching may be achieved even with smaller capacitor sizes, thus saving silicon area.
(14)
(15)
(16)
(17) TABLE-US-00001 Static capacitance error Specific selection pattern .sub.2 (1, 1, 0, 0, 0, 0, 0) .sub.3 (1, 1, 1, 0, 0, 0, 0) .sub.4 (1, 1, 1, 1, 0, 0, 0) .sub.5 (1, 1, 1, 1, 1, 0, 0) .sub.6 (1, 1, 1, 1, 1, 1, 0) .sub.7 (1, 1, 1, 1, 1, 1, 1)
(18) Returning to calibration procedure 300 in
(19)
that is proportional to the sampled static capacitance error .sub.i being measured (.sub.3.sub.2, based on the specific selection pattern shown in
(20) In step 320, the sampled voltage proportional to static capacitance error .sub.i being measured may be quantized (converted to a digital output) using the normal analog-to-digital conversion functionality of the CDAC-based successive approximation ADC (500 in
(21) The sampling of the voltage proportional to static capacitance error .sub.i may, in some embodiments, be done once, in which case step 325 may be skipped and in step 330, a single measurement of the static capacitance error .sub.i may be used to derive an adjustment value for updating the look-up table 560. In other embodiments, sampling of the static capacitance error .sub.i may be repeated multiple (M) times (two or more), and averaged, to reduce the effect of white thermal noise and to achieve higher resolution (sub-LSB level) in static capacitance error .sub.i measurements. In step 325, calibration procedure 300 may check if M measurements of the static capacitance error .sub.i have been made. If M measurements have not yet been made, calibration procedure 300 may return to step 310 for another measurement of the static capacitance error K in step 325, M measurements have been made of the static capacitance error .sub.i, then calibration procedure 300 continues to step 330. In step 330, the M quantized measurements of a particular static capacitance error .sub.i may be averaged to yield a noise-reduced, higher resolution measurement, and this noise-reduced, higher resolution measurement of the static capacitance error .sub.i may be fed to the calibration update block 570 which, in turn, may use the noise-reduced, higher resolution measurement of the static capacitance error .sub.i to derive an adjustment value for loading into the look-up table 560.
(22) In step 335, calibration procedure 300 may check if all of the static capacitance error .sub.i measurements (N1 measurements, where N is the number of bits of resolution of the CDAC-based successive approximation ADC) have been made. If all of the measurements have not yet been made, calibration procedure 300 may proceed to step 340, where the specific selection pattern to the 3-position switches is updated to the next predetermined pattern, and then calibration procedure 300 may return to step 310 for measurement of the next static capacitance error .sub.i. If, in step 335, all of the measurements have been made of the static capacitance errors .sub.i, then calibration procedure 300 completes at step 345.
(23) In the general case, for some embodiments of the present disclosure, the measured, quantized and averaged value of the static capacitance error .sub.k is given by formula (1) below:
(24)
(25) where .sub.km is the measured value of .sub.k and is the average over M values.
(26) The following provides a numerical example of the calibration process described above. A weight vector {w.sub.k} may represent the capacitor weights based on the value of the first capacitor (C1). For the capacitors C1-C7 in
(27)
(28) Therefore the adjustment values to be loaded into the LUT are {k.sub.m}.sub.k=1 to 7=[0 0 0 0 1 2 0]
(29) In some embodiments, an enhanced calibration of CDAC capacitor mismatches may be used to reduce the effects of low frequency noise (V.sub.f), including DC offset and flicker noise (1/f), in the CDAC. This low frequency noise (V.sub.f) cannot be removed or reduced by mere finite length averaging and may affect the accuracy of the capacitor mismatch error measurements. The effect of low frequency noise (V.sub.f) may be reduced by alternately measuring errors .sub.i and the noise signal V.sub.f Referring again to
(30)
(31) In step 615, the input switch (507 in
(32) In step 620, the sampled voltage proportional to static capacitance error .sub.i being measured plus the sample of the low frequency noise signal (V.sub.f) is quantized (converted to a digital output) using the normal analog-to-digital conversion functionality of the CDAC-based successive approximation ADC (500 in
(33) In step 625, an all 0 pattern is applied to the 3-position switches (535A-535G in
(34) In step 630, the sample of the low frequency noise signal (V.sub.f) is quantized (converted to a digital output) using the normal analog-to-digital conversion functionality of the CDAC-based successive approximation ADC (500 in
(35) In step 635, calibration procedure 600 may check if M measurements of the static capacitance error .sub.i and low frequency noise signal (V.sub.f) have been made. If M measurements have not yet been made, calibration procedure 600 may return to step 610 for another measurement of the sampled voltage proportional to static capacitance error .sub.i and low frequency noise signal (V.sub.f). If M measurements have been made, then calibration procedure 600 continues to step 640. In step 640, the M quantized measurements of a particular static capacitance error .sub.i (with low frequency noise signal removed) may be averaged to yield a noise-reduced, higher resolution measurement, and this noise-reduced measurement of the static capacitance error .sub.i may be fed to the calibration update block 570 (
(36) In step 645, calibration procedure 600 may check if all of the static capacitance error .sub.i measurements have been made. If all of the measurements have not yet been made, calibration procedure 600 may proceed to step 650, where the specific selection pattern to the 3-position switches is updated to the next predetermined pattern, and then calibration procedure 600 may return to step 610 for measurement of the next static capacitance error .sub.i and low frequency noise signal (V.sub.f). If, in step 645, all of the measurements have been made, then calibration procedure 600 completes at step 655.
(37) Various embodiments of the invention are contemplated in addition to those disclosed hereinabove. The above-described embodiments should be considered as examples of the present invention, rather than as limiting the scope of the invention. In addition to the foregoing embodiments of the invention, review of the detailed description and accompanying drawings will show that there are other embodiments of the present invention. Accordingly, many combinations, permutations, variations and modifications of the foregoing embodiments of the present invention not set forth explicitly herein will nevertheless fall within the scope of the present invention.