# US 2022/0286139 A1 · Method of operating analog-to-digital converter and analog-to-digital converter performing the same

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

- Number: US 2022/0286139 A1
- Document ID: US20220286139A1
- Status: Published application
- Kind: A1
- Application number: 17/573,555
- Filed: 2022-01-11
- Published: 2022-09-08
- Earliest claimed: 2021-03-02
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sangwook Park; Changkyoun Oh
- Web page: https://patentgrep.com/patent/US20220286139A1

## CPC

- H03M 1/1028: {at two points of the transfer characteristic, i.e. by adjusting two reference values, e.g. offset and gain error (gain setting for range control H03M1/18)}
- H03M 1/12: Analogue/digital converters ({H03M1/001 – } H03M1/10 take precedence)
- H04N 17/002: {for television cameras}
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

In a method of operating an analog-to-digital converter, a gain error and an offset error that are associated with a digital code generated from the analog-to-digital converter are obtained by performing a first analog-to-digital conversion on a first input analog signal. The gain error and the offset error are stored. A calibration digital code is generated by performing a second analog-to-digital conversion on a second input analog signal based on the gain error and the offset error.

## Claims

### Claim 1

A method of operating an analog-to-digital converter, the method comprising:
obtaining a gain error and an offset error that are associated with a digital code generated from the analog-to-digital converter by performing a first analog-to-digital conversion on a first input analog signal;
storing the gain error and the offset error; and
generating a calibration digital code by performing a second analog-to-digital conversion on a second input analog signal based on the gain error and the offset error.

### Claim 2 (depends on 1)

The method of claim 1, wherein the obtaining of the gain error and the offset error includes:
generating, by the analog-to-digital converter, a first test digital code by performing the first analog-to-digital conversion on a first test voltage of the first input analog signal;
generating, by the analog-to-digital converter, a second test digital code by performing the first analog-to-digital conversion on a second test voltage of the first input analog signal different from the first test voltage of the first input analog signal;
calculating the gain error based on the first test digital code and the second test digital code; and
calculating the offset error based on the gain error and one of the first test digital code and the second test digital code.

### Claim 3 (depends on 2)

The method of claim 2, wherein the gain error is calculated by:
obtaining a first difference digital code by subtracting the second test digital code from the first test digital code,
obtaining a second difference digital code by subtracting a second ideal digital code corresponding to the second test voltage of the first input analog signal from a first ideal digital code corresponding to the first test voltage of the first input analog signal, and
dividing the first difference digital code by the second difference digital code.

### Claim 4 (depends on 3)

The method of claim 3, wherein the offset error is calculated by:
obtaining a first digital code by multiplying the gain error by the first ideal digital code, and
subtracting the first digital code from the first test digital code.

### Claim 5 (depends on 4)

The method of claim 4, wherein:
the first test voltage of the first input analog signal has a first voltage level, and
the second test voltage of the first input analog signal has a second voltage level higher than the first voltage level.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
the first voltage level is obtained by multiplying a voltage level of a power supply voltage by X, where X is a real number greater than zero and less than one, and
the second voltage level is obtained by multiplying the voltage level of the power supply voltage by Y, where Y is a real number greater than X and less than one.

### Claim 7 (depends on 2)

The method of claim 2, wherein the operations of the calculating of the gain error and the calculating of the offset error are performed by a test equipment.

### Claim 8 (depends on 7)

The method of claim 7, wherein the obtaining of the gain error and the offset error includes generating the first test voltage of the first input analog signal and the second test voltage of the first input analog signal by a test signal generator of the test equipment, and
wherein the operations of the calculating of the gain error and the calculating of the offset error are performed by a test result generator of the test equipment.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
controlling operations of the test signal generator and the test result generator by a test controller of the test equipment; and
storing at least one data associated with the first test voltage of the first input analog signal, the second test voltage of the first input analog signal, the first test digital code, and the second test digital code.

### Claim 10 (depends on 1)

The method of claim 1, wherein the generating of the calibration digital code includes:
loading the gain error and the offset error that are stored;
generating, by the analog-to-digital converter, a first digital code by performing the second analog-to-digital conversion on the second input analog signal; and
calculating, by the analog-to-digital converter, a first calibration digital code by calibrating the first digital code based on the gain error and the offset error.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first calibration digital code is calculated by:
obtaining a second digital code by subtracting the offset error from the first digital code, and
dividing the second digital code by the gain error.

### Claim 12 (depends on 11)

The method of claim 11, wherein a first difference between a first ideal digital code corresponding to the second input analog signal and the first calibration digital code is smaller than a second difference between the first ideal digital code and the first digital code.

### Claim 13 (depends on 1)

The method of claim 1, wherein the obtaining of the gain error and the offset error is performed in a test operation of the analog-to-digital converter.

### Claim 14 (depends on 13)

The method of claim 13, wherein the storing of the gain error and the offset error is performed by a storage after the test operation of the analog-to-digital converter is completed.

### Claim 15 (depends on 14)

The method of claim 14, wherein the storage is disposed inside the analog-to-digital converter.

### Claim 16 (depends on 14)

The method of claim 14, wherein:
the analog-to-digital converter is included in a system-on-chip (SOC), and
the storage is disposed inside the system-on-chip.

### Claim 17

An analog-to-digital converter comprising:
a storage configured to store a gain error and an offset error that are associated with a digital code generated from the analog-to-digital converter, the gain error and the offset error being obtained by performing a first analog-to-digital conversion on a first input analog signal; and
an analog-to-digital converting circuit configured to generate a calibration digital code by performing a second analog-to-digital conversion on a second input analog signal based on the gain error and the offset error.

### Claim 18 (depends on 17)

The analog-to-digital converter of claim 17, wherein the analog-to-digital converting circuit is configured to:
load the gain error and the offset error from the storage,
receive the second input analog signal to which the second analog-to-digital conversion is to be performed,
generate a first digital code by performing the second analog-to-digital conversion on the second input analog signal, and
calculate a first calibration digital code by calibrating the first digital code based on the gain error and the offset error.

### Claim 19 (depends on 18)

The analog-to-digital converter of claim 18, wherein the analog-to-digital converting circuit includes a calibration block configured to calculate the first calibration digital code by calibrating the first digital code based on a software manner.

### Claim 20

A method of operating an analog-to-digital converter, the method comprising:
generating, by the analog-to-digital converter, a first test digital code by performing a first analog-to-digital conversion on a first test analog signal;
generating, by the analog-to-digital converter, a second test digital code by performing the first analog-to-digital conversion on a second test analog signal different from the first test analog signal;
calculating, by a test equipment, a gain error associated with a digital code generated from the analog-to-digital converter based on the first test digital code and the second test digital code;
calculating, by the test equipment, an offset error associated with the digital code generated from the analog-to-digital converter based on the gain error and one of the first test digital code and the second test digital code;
storing the gain error and the offset error into a storage disposed inside or outside the analog-to-digital converter;
loading, by the analog-to-digital converter, the gain error and the offset error from the storage;
generating, by the analog-to-digital converter, a first digital code by performing a second analog-to-digital conversion on a first input analog signal; and
generating, by the analog-to-digital converter, a first calibration digital code by calibrating the first digital code based on the gain error and the offset error, wherein the gain error is calculated by:
obtaining a first difference digital code by subtracting the second test digital code from the first test digital code,
obtaining a second difference digital code by subtracting a second ideal digital code corresponding to the second test analog signal from a first ideal digital code corresponding to the first test analog signal, and
dividing the first difference digital code by the second difference digital code, and wherein the offset error is calculated by:
obtaining a second digital code by multiplying the gain error by the first ideal digital code, and
subtracting the second digital code from the first test digital code.
