# US 2008/0186214 A1 · Correcting for errors that cause generated digital codes to deviate from expected values in an adc

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0186214 A1
- Document ID: US20080186214A1
- Status: Published application
- Kind: A1
- Application number: 11/755,011
- Filed: 2007-05-30
- Published: 2008-08-07
- Earliest claimed: 2007-02-06
- Assignees: Texas Instruments Incorporated
- Inventors: Seetharaman Janakiraman
- Web page: https://patentgrep.com/patent/US20080186214A1

## CPC

- H03M 1/0809: {of bubble errors, i.e. irregularities in thermometer codes}
- H03M 1/38: sequentially only, e.g. successive approximation type (converting more than one bit per step H03M1/14)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Errors in an analog to digital converter that cause generated digital codes to deviate from expected values are corrected. A sample of an analog signal is stored in a storage element. An error signal is then generated, with the error signal representing a deviation of an expected digital code for the strength of a sample of an analog input from a value that would be generated without correction. The error signal is then added to the stored sample. In an embodiment implemented in the context of a SAR ADC, a digital value representing an integral non-linearity error is generated based on a partial digital code (result of a partial conversion of the sample) and an error coefficient. The digital value is converted to analog form by an auxiliary DAC, and added to the stored input sample.

## Claims

### Claim 1

A method of ensuring that an analog to digital converter (ADC) generates expected digital values when processing analog signals, said method comprising:
storing a sample of an analog signal in a storage element;
forming an error signal representing a deviation of an expected digital code for a strength of said sample from a value that would be generated without correction;
adding said error signal to said sample of said analog signal in said storage element; and
generating a digital value corresponding to a strength of said sample after said adding.

### Claim 2 (depends on 1)

The method of claim 1, wherein said storing, said forming, said adding and said generating are performed for each of the samples in said analog signal for which digital values are sought to be generated using said ADC, before said storing stores a corresponding next sample in said storage element.

### Claim 3 (depends on 1)

The method of claim 1, wherein said forming comprises:
receiving a first partial digital code representing a strength of said sample of said analog signal resolved to a first number of bits less than a number of bits in said digital value, and
computing said error signal based on said partial digital code and a first error coefficient,
wherein said first error coefficient is comprised in a plurality of error coefficients, wherein each error coefficient in said plurality of error coefficients is specified for a corresponding partial digital code representing a corresponding strength of a sample of said analog signal at a lower resolution compared to said digital value.

### Claim 4 (depends on 3)

The method of claim 3, wherein said forming forms said error signal by multiplying a squared value of said partial digital code by said first error coefficient.

### Claim 5 (depends on 4)

The method of claim 4, wherein said ADC comprises a first set of capacitors operated according to successive approximation principle (SAP) to determine said digital value, and a first capacitor operated to receive said error signal, wherein said first set of capacitors comprise said storage element, and wherein
said storing stores said sample in a sampling phase, wherein said storing is performed before said adding.

### Claim 6 (depends on 1)

The method of claim 1, wherein said ADC comprises a successive approximation register (SAR) ADC.

### Claim 7

A successive approximation type analog to digital converter (SAR ADC) converting a sample of an input analog signal into an N-bit digital value, said SAR ADC comprising:
a comparator providing a comparison result of an intermediate analog signal and a reference voltage;
a digital to analog converter (DAC) containing a first set of capacitors storing a sample of said input analog signal, wherein said DAC generates said intermediate analog signal based on a corresponding one of a plurality of intermediate N-bit values and, wherein said first set of capacitors are operated according to successive approximation principle (SAP) to determine said N-bit digital value;
a SAR block sending said intermediate N-bit value according to successive approximation principle (SAP), said SAR block operating to generate a digital output representing a deviation of an expected digital code for a strength of a sample of said analog input signal from a value that would be generated without correction; and
an auxiliary DAC receiving said digital output and adding an error signal representing said digital output to said sample of said input analog signal in said first set of capacitors,
wherein said SAR block completes generating said N-bit digital value after said auxiliary DAC adds said error signal to said stored sample.

### Claim 8 (depends on 7)

The SAR ADC of claim 7, further comprising a first capacitor operated to receive said error signal.

### Claim 9 (depends on 8)

The SAR ADC of claim 8, wherein said SAR block generates said N-bit digital value before said first set of capacitors stores a next sample of said input analog signal.

### Claim 10 (depends on 9)

The SAR ADC of claim 9, wherein said SAR block comprises:
a SAR logic generating said plurality of intermediate N-bit values; and
an error computation block receiving a first intermediate N-bit value contained in said plurality of intermediate N-bit values, and generating said digital output based on said first intermediate N-bit value and an error coefficient, wherein said first intermediate N-bit value represents a partial digital code representing said sample resolved to a first number of bits less than N.

### Claim 11 (depends on 10)

The SAR ADC of claim 10, wherein said error computation block multiplies a squared value of said partial digital code by said error coefficient to generate said digital output.

### Claim 12 (depends on 11)

The SAR ADC of claim 11, wherein said deviation is due to an integral non-linearity error.

### Claim 13

An analog to digital converter (ADC) generating expected digital values when processing analog signals, said ADC comprising:
means for storing a sample of an analog signal in a storage element;
means for forming an error signal representing a deviation of an expected digital code for a strength of said sample from a value that would be generated without correction;
means for adding said error signal to said sample of said analog signal in said storage element; and
means for generating a digital value corresponding to a strength of said sample after said adding.

### Claim 14 (depends on 13)

The ADC of claim 13, wherein said means for storing, said means for forming, said means for adding, and said means for generating respectively perform said storing, said forming, said adding, and said generating for each of the samples in said analog signal for which digital values are sought to be generated using said ADC, before said means for storing stores a corresponding next sample in said storage element.

### Claim 15 (depends on 13)

The ADC of claim 13, wherein said means for forming comprises:
means for receiving a first partial digital code representing a strength of said sample of said analog signal resolved to a first number of bits less than a number of bits in said digital value, and
means for computing said error signal based on said partial digital code and a first error coefficient,
wherein said first error coefficient is comprised in a plurality of error coefficients, wherein each error coefficient in said plurality of error coefficients is specified for a corresponding partial digital code representing a corresponding strength of a sample of said analog signal at a lower resolution compared to said digital value.

### Claim 16 (depends on 15)

The ADC of claim 15, wherein said means for forming forms said error signal by multiplying a squared value of said partial digital code by said first error coefficient.

### Claim 17 (depends on 16)

The ADC of claim 16, wherein said ADC comprises a first set of capacitors operated according to successive approximation principle (SAP) to determine said digital value, and a first capacitor operated to receive said error signal, wherein said first set of capacitors comprise said storage element, and wherein
said means for storing stores said sample in a sampling phase, wherein said storing is performed before said adding.

### Claim 18 (depends on 13)

The ADC of claim 13, wherein said ADC comprises a successive approximation register (SAR) ADC.

### Claim 19

A device comprising:
a processor processing a plurality of digital values; and
a successive approximation register analog to digital converter (SAR ADC) converting a sample of an input analog signal into an N-bit digital value, said N-bit digital value being comprised in said plurality of digital values, said SAR ADC comprising:
a comparator providing a comparison result of an intermediate analog signal and a reference voltage;
a digital to analog converter (DAC) containing a first set of capacitors storing a sample of said input analog signal, wherein said DAC generates said intermediate analog signal based on a corresponding one of a plurality of intermediate N-bit values and, wherein said first set of capacitors are operated according to successive approximation principle (SAP) to determine said N-bit digital value;
a SAR block sending said intermediate N-bit value according to successive approximation principle (SAP), said SAR block operating to generate a digital output representing a deviation of an expected digital code for a strength of a sample of said analog input signal from a value that would be generated without correction; and
an auxiliary DAC receiving said digital output and adding an error signal representing said digital output to said sample of said input analog signal in said first set of capacitors,
wherein said SAR block completes generating said N-bit digital value after said auxiliary DAC adds said error signal to said stored sample.

### Claim 20 (depends on 19)

The device of claim 19, wherein said SAR ADC further comprises a first capacitor operated to receive said error signal, wherein said SAR block generates said N-bit digital value before said first set of capacitors stores a next sample of said input analog signal.
