# US 2020/0366312 A1 · DAC Error Measurement Method and Apparatus

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

- Number: US 2020/0366312 A1
- Document ID: US20200366312A1
- Status: Published application
- Kind: A1
- Application number: 16/938,516
- Filed: 2020-07-24
- Published: 2020-11-19
- Earliest claimed: 2018-01-26
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Haixi Li
- Web page: https://patentgrep.com/patent/US20200366312A1

## CPC

- H03M 3/38: {Calibration}
- H03M 1/1085: {using domain transforms, e.g. Fast Fourier Transform}
- H03M 3/378: {Testing}
- H03M 3/422: {having one quantiser only}
- H03M 3/464: {Details of the digital/analogue conversion in the feedback path}
- H03M 1/742: {using current sources as quantisation value generators}
- H03M 3/394: {among different orders of the loop filter}
- 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

A DAC error measurement apparatus includes: an ADC and a feedback DAC, where a measurement input of the ADC includes a square wave signal with a constant frequency, a direct-current signal at a constant logical level, and an analog output of the feedback DAC; a measurement selection module, configured to provide a measured digit in a digital output to a separately selected source cell, and provide remaining digits in the digital output to remaining source cells, where the measured digit is a flippable digit, and the remaining digits are non-flipping digits; and a measurement module, configured to measure an amplitude of the digital output based on the digital output. One flipping digit in the digital output is the measured digit, and the remaining digits are the non-flipping digits, such that the measurement selection module may separately select one source cell to receive the measured digit.

## Claims

### Claim 1

A digital-to-analog converter (DAC) error measurement apparatus, comprising:
an analog-to-digital converter (ADC) configured to digitize a measurement input of the ADC to generate a digital output and use the digital output as an input, wherein the ADC comprises a feedback DAC, and wherein the measurement input comprises a square wave signal with a constant frequency, a direct-current signal at a constant logical level, and an analog output of the feedback DAC, which is configured to provide the analog output to the ADC based on a second input;
a measurement selection module configured to:
receive the digital output as the input; and
provide the second input to the feedback DAC based on the digital output, wherein the measurement selection module is further configured to provide a measured digit in the digital output to a separately selected source cell and provide remaining digits in the digital output to remaining source cells, wherein the measured digit is a flippable digit, and wherein the remaining digits are non-flipping digits; and
a measurement module configured to measure an amplitude of the digital output based on the digital output.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the ADC further comprises a loop filter and a quantizer, wherein an output of the loop filter is coupled to an input of the quantizer, wherein the loop filter is configured to provide a low-gain input to the quantizer, wherein the quantizer is configured to convert the low-gain input into P digits and uses the P digits as the digital output, wherein only one of the P digits is a flipping digit, wherein the flipping digit flips between 0 and 1, and wherein the flipping digit is the measured digit.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the apparatus further comprises a control module configured to provide a switching enable signal to the ADC, and wherein the switching enable signal is configured to control the loop filter to provide the low-gain input to the quantizer.

### Claim 4 (depends on 2)

The apparatus according to claim 2, wherein a bit quantity of the quantizer is n, wherein the digital output is a thermometer code, and wherein the P digits comprise 2n digits.

### Claim 5 (depends on 3)

The apparatus according to claim 3, wherein the feedback DAC comprises P source cells, wherein the control module is further configured to provide a measurement selection signal to the measurement selection module, wherein the measurement selection signal indicates the separately selected source cell, and wherein the measurement selection module is further configured to:
perform, based on the measurement selection signal, overall dislocation adjustment on a conducted electric connection relationship between the P digits and the P source cells to provide the measured digit to the separately selected source cell; and
provide, based on another conducted electric connection relationship obtained after dislocation, remaining P−1 digits to P−1 source cells other than the separately selected source cell.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the control module is further configured to successively provide P measurement selection signals to the measurement selection module.

### Claim 7 (depends on 2)

The apparatus according to claim 2, further comprising a digital filter circuit having an input coupled to an output of the quantizer and an output coupled to an input of the measurement module, wherein the digital filter circuit is configured to filter out a high-frequency part from the digital output and provide, to the measurement module, a digital output from which the high-frequency part is filtered out, and wherein the measurement module is further configured to measure an amplitude of the digital output from which the high-frequency part is filtered out.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the apparatus further comprises an error calculation module connected to the measurement module.

### Claim 9

An apparatus applied to signal control of a digital-to-analog converter (DAC) error measurement apparatus including a quantizer and a loop filter, wherein the apparatus comprises:
a processor; and
a memory coupled to the processor and configured to store an instruction executable by the processor such that when executed, the apparatus is configured to send a switching enable signal to the loop filter,
wherein the switching enable signal is configured to switch a power-on order quantity and/or an element coefficient of the loop filter to cause the loop filter to provide a low-gain input to the quantizer.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the apparatus is further configured to send a measurement selection signal to a measurement selection module, and wherein the measurement selection signal indicates a separately selected source cell.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the apparatus is further configured to successively send P measurement selection signals to the measurement selection module, and wherein separately selected source cells successively indicated by the P measurement selection signals are different from each other.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the apparatus is further configured to:
obtain, from a measurement module of the DAC error measurement apparatus, the amplitudes measured by the measurement module when P source cells are measured;
determine an average amplitude value of the P source cells based on the amplitudes; and
determine a matching error of each of the P source cells based on the average amplitude value.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the apparatus is further configured to power on the measurement module, a first signal source, and a second signal source before sending the switching enable signal to the loop filter.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the first signal source is configured to provide a square wave signal with a constant frequency to the loop filter.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the second signal source is configured to provide a direct-current signal at a constant logical level to the loop filter.

### Claim 16 (depends on 3)

The apparatus according to claim 3, wherein the ADC is further configured to switch a power-on order quantity or an element coefficient of the loop filter based on the switching enable signal provided by the control module cause the loop filter to provide the low-gain input to the quantizer.

### Claim 17 (depends on 2)

The apparatus according to claim 2, wherein the digital output is a binary code, and wherein the P digits comprise n digits.

### Claim 18 (depends on 6)

The apparatus according to claim 6, wherein separately selected source cells indicated by the P measurement selection signals are different from each other.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the measurement selection module is further configured to:
receive the P measurement selection signals successively provided by the control module; and
perform overall dislocation adjustment on the conducted electric connection relationship between the P digits and the P source cells once each time one of the measurement selection signals is received and until the P source cells are separately selected in turn to receive the measured digit.

### Claim 20 (depends on 8)

The apparatus according to claim 8, wherein the error calculation module is configured to:
obtain, from the measurement module, amplitudes measured by the measurement module when the P source cells are measured;
determine an average amplitude value of the P source cells based on the amplitudes; and
determine a matching error of each of the P source cells based on the average amplitude value.
