Claims
- 1. A method for configuring a digital correction unit for an analog to digital (A/D) converter, wherein the A/D converter includes an internal D/A converter, wherein the internal D/A converter includes a plurality M of current generators, wherein one or more of the current generators produces linearity errors in the A/D converter,wherein the digital correction unit is configurable with a set of correction values, wherein the correction values are determined from coefficients E(n) for n=0 to M−1, wherein each coefficient E(n) is associated with one of the current generators in the internal D/A converter, the method comprising: a) for each of a plurality of possible values of a coefficient E(n): configuring the digital correction unit with a current set of correction values, wherein the current set of correction values includes a value based on one of said possible values of E(n); operating the A/D converter, wherein said operating uses dynamic element matching in the internal D/A converter; and determining a noise value from output samples of the A/D converter; and b) selecting one of said possible values for E(n) that produces the least noise value; performing steps a) and b) for a plurality of coefficients E to produce a final set of coefficients E; and configuring the digital correction unit with correction values based on the final set of coefficients E; wherein the digital correction unit is useable in correcting for linearity errors in the A/D converter.
- 2. The method of claim 1, further comprising shorting the input to the A/D converter during said operating the A/D converter.
- 3. The method of claim 2, wherein said operating the A/ID converter includes adjusting connections to a plurality of the current generators in the internal D/A converter, wherein said adjusting connections causes different ones of the current generators to be stimulated by an input to the A/D converter.
- 4. The method of claim 3, wherein said adjusting connections comprises adjusting connections to a plurality of the current generators a plurality of times according to a plurality of different switching patterns, thereby causing different ones of the current generators to be stimulated by the input to the A/D converter.
- 5. The method of claim 1, wherein said operating the A/D converter includes adjusting connections to a plurality of the current generators in the internal D/A converter, wherein said adjusting connections causes different ones of the current generators to be stimulated by an input to the A/D converter.
- 6. The method of claim 5, wherein said adjusting connections comprises adjusting connections to a plurality of the current generators a plurality of times according to a plurality of different switching patterns, thereby causing different ones of the current generators to be stimulated by the input to the A/D converter.
- 7. The method of claim 6, wherein the internal D/A converter includes a switching element, wherein the switching element operates to perform said adjusting connections to cause bits of an input digital code to be provided to different ones of the current generators in the internal D/A converter.
- 8. The method of claim 1, wherein said operating the A/D converter using dynamic element matching comprises using different current generator elements in the internal D/A converter to represent a digital code at different times.
- 9. The method of claim 1,wherein steps a) and b) are performed in real time during operation of the A/D converter.
- 10. The method of claim 1, wherein the A/D converter includes a processor which performs decimation functions;wherein the processor in the A/D converter performs said configuring the digital correction unit, said operating the A/D converter, and said determining a noise value from output samples of the A/D converter.
- 11. The method of claim 1, wherein the method produces a set of correction values which minimize AC noise in the A/D converter.
- 12. The method of claim 1, wherein said determining a noise value from output samples of the A/D converter comprises performing an AC_RMS calculation on a set of output samples of the A/D converter.
- 13. The method of claim 1, wherein the plurality of possible values of coefficient E(n) comprise a current value E(n), E(n)−step size, and E(n)+step size, wherein step size is a constant value.
- 14. The method of claim 1, wherein said performing comprises performing steps a) and b) for all coefficients E(n) for n=0 to M−1.
- 15. The method of claim 1, further comprising:repeating said performing steps a) and b) for a plurality of coefficients E one or more times if any of said coefficients E changed in said performing.
- 16. The method of claim 1,wherein said configuring the digital correction unit with a current set of correction values includes determining at least one new correction value from the one of said possible values of E(n).
- 17. The method of claim 1, wherein the A/D converter comprises a sigma delta analog to digital converter.
- 18. The method of claim 1, further comprising:providing an input signal to the A/D converter; and the digital correction unit operating to correct for linearity errors in an output of the A/D converter.
- 19. A method for configuring a digital correction unit for an analog to digital (A/D) converter, wherein the A/D converter includes an internal D/A converter, wherein the internal D/A converter includes a plurality M of current generators, wherein one or more of the current generators produces linearity errors in the A/D converter,wherein the digital correction unit is configurable with a set of correction values, wherein the correction values are determined from (or comprise) coefficients E(n) for n=0 to M−1, wherein each coefficient E(n) is associated with one of the current generators in the internal D/A converter, the method comprising: a) for each of a plurality of coefficients E(n), for n=0 to M−1: a1) for each of a plurality of possible values of coefficient E(n): configuring the digital correction unit with a current set of correction values, wherein the current set of correction values includes one of said possible values of E(n); operating the A/D converter, wherein said operating uses dynamic element matching; determining a noise value from output samples of the A/D converter; a2) selecting one of said possible values for E(n) that produces the least noise value, wherein the selected value for E(n) is included in the current set of correction values; wherein steps a1) and a2) performed for the plurality of coefficients E produces a final set of coefficients E; and b) configuring the digital correction unit with the final set of coefficients E.
- 20. An analog to digital (A/D) converter system, comprising:an input for receiving an input signal; an internal A/D converter coupled to the input; an internal D/A converter coupled to the internal A/D converter, wherein the internal D/A converter includes a plurality M of current generators, wherein one or more of the current generators produces linearity errors in the A/D converter; a digital correction unit, wherein the digital correction unit is configurable with a set of correction values, wherein the correction values are determined from coefficients E(n) for n=0 to M−1, wherein each coefficient E(n) is associated with one of the current generators in the internal D/A converter; a processor coupled to the digital correction unit and comprised in the A/D converter, wherein the processor is operable to: a) for each of a plurality of possible values of a coefficient E(n): configure the digital correction unit with a current set of correction values, wherein the current set of correction values includes a value based on one of said possible values of E(n); wherein the A/D converter operates using dynamic element matching in the internal D/A converter after being configured; and determine a noise value from output samples of the A/D converter; b) select one of said possible values for E(n) that produces the least noise value; perform a) and b) for a plurality of coefficients E to produce a final set of coefficients E; and configure the digital correction unit with correction values based on the final set of coefficients E; wherein the digital correction unit is useable in correcting for linearity errors in the A/D converter.
- 21. The A/D converter system of claim 20, wherein said operating the A/D converter using dynamic element matching comprises using different current generator elements in the internal D/A converter to represent a digital code at different times.
- 22. The A/D converter system of claim 20, wherein the processor performs a) and b) in real time during operation of the A/D converter.
CONTINUATION DATA
This is a continuation-in-part of U.S. patent application Ser. No. 09/351,759 filing date Jul. 12, 1999, now U.S. Pat. No. 6,232,897, titled “System and Method for Calibrating an Analog to Digital Converter Through Stimulation of Current Generators” and filed on Jul. 12, 1999, whose inventor was Niels Knudsen.
US Referenced Citations (8)
Non-Patent Literature Citations (3)
Entry |
IEEE Press, Delta-Sigma ADCs with Multibit Internal Converters, Richard L. Carley et al., 1997, Chapter 8, pp. 244-281. |
Candy, James C. and Temes, Gabor C., Oversampling Delta-Sigma Data Converters, 1992, pp. 227-228. |
Candy, James C. and Temes, Gabor C., Oversampling Delta-Sigma Data Converters, 1992, pp. 192-195. |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/351759 |
Jul 1999 |
US |
Child |
09/710663 |
|
US |