# US 2009/0261999 A1 · Device and method for testing of digital-to-analog converter

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

- Number: US 2009/0261999 A1
- Document ID: US20090261999A1
- Status: Published application
- Kind: A1
- Application number: 12/107,502
- Filed: 2008-04-22
- Published: 2009-10-22
- Earliest claimed: 2008-04-22
- Assignees: Advanced Micro Devices, Inc.
- Inventors: Ravi Ramaswami; Michael A. Bourland; Feng Zhao
- Web page: https://patentgrep.com/patent/US20090261999A1

## CPC

- H03M 1/1095: {for AC performance, i.e. dynamic testing (H03M1/1085 takes precedence)}
- H03M 1/742: {using current sources as quantisation value generators}
- 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 current-steering digital-to-analog converter (DAC) is tested using a test component having a relaxation oscillator with an oscillation frequency based on the output current of the DAC. A series of test values is provided in sequence to the DAC for conversion to an output current with a magnitude that varies with the test values. The test component counts the number of oscillations (“the oscillation count”) of the relaxation oscillator over a fixed duration that is substantially equal for each test value. As the number of oscillations over the fixed duration depends on the oscillation frequency of the relaxation oscillator, which in turn is based on the magnitude of the output current, the oscillation count can be used as a relative measure of the magnitude of the output current for the corresponding test value. Accordingly, the oscillation counts for the test values can be used to determine operational characteristics of the DAC.

## Claims

### Claim 1

A method comprising:
providing a current-steering digital-to-analog converter (DAC) configured to provide an adjustable output current and a relaxation oscillator configured to output a signal having an oscillation frequency based on a magnitude of the output current; and
determining an operational characteristic of the current-steering DAC based on the oscillation frequency of the signal.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the operational characteristic of the current-steering DAC comprises:
configuring the current-steering DAC to output a first current as the output current based on a first test value for a first duration;
determining a first oscillation count of oscillations of the signal over the first duration;
configuring the current-steering DAC to output a second current as the output current based on a second test value for a second duration;
determining a second oscillation count of oscillations of the signal over the second duration; and
determining a differential non-linearity (DNL) characteristic of the current-steering DAC based on a difference between the first oscillation count and the second oscillation count.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the DNL characteristic of the current-steering DAC comprises identifying the current-steering DAC as exceeding a DNL specification in response to determining the difference exceeds a predetermined threshold.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first duration and the second duration are substantially equal.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining the operational characteristic of the current-steering DAC comprises:
configuring the current-steering DAC to output a select current as the output current based on a test value for a predetermined duration;
determining a first oscillation count of oscillations of the signal over the predetermined duration;
determining a second oscillation count based on the test value, the second oscillation count comprising a predetermined expected oscillation count for the test value; and
determining a differential non-linearity (DNL) characteristic of the current-steering DAC based on a difference between the first oscillation count and the second oscillation count.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining the DNL characteristic of the current-steering DAC comprises identifying the current-steering DAC as exceeding an DNL specification in response to determining the difference between the first oscillation count and the second oscillation count exceeds a predetermined threshold.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the operational characteristic of the current-steering DAC comprises:
for each test value of a plurality of test values, configuring the current-steering DAC to provide as the output current a current based on the test value for a predetermined duration;
for each test value of the plurality of test values, determining an oscillation count of oscillations of the signal over the predetermined duration;
determining a sum of the oscillation counts for the plurality of test values;
determining a first quotient of the sum to a number of test values of the plurality of test values;
determining a second quotient based on the number of test values of the plurality of test values, the second quotient comprising a predetermined quotient associated with the number of test values of the plurality of test values; and
determining an integral non-linearity (INL) characteristic of the current-steering DAC based on a difference between the first quotient and the second quotient.

### Claim 8

A system comprising:
a current-steering digital-to-analog converter (DAC) comprising an input to receive a drive code value and an output to provide an output current having a magnitude based on the drive code value; and
a test component comprising:
a relaxation oscillator comprising an input coupled to the output of the current-steering DAC, the relaxation oscillator configured to output a signal having an oscillation frequency based on a magnitude of the output current; and
a test verify module configured to determine an operational characteristic of the current-steering DAC based on the oscillation frequency of the signal.

### Claim 9 (depends on 8)

The system of claim 8, wherein the test component comprises:
a counter comprising an input to receive the signal, the counter configured to determine an oscillation count of the signal over a fixed duration; and
wherein the test verify module is configured to determine the operational characteristic based on the oscillation count.

### Claim 10 (depends on 8)

The system of claim 8, wherein the relaxation oscillator comprises:
a capacitor comprising a first electrode and a second electrode;
a first switch comprising a first current electrode coupled to the current-steering DAC, a second current electrode coupled to the first electrode of the capacitor, and a control electrode;
a second switch comprising a first current electrode coupled to the first electrode of the capacitor, a second electrode coupled to a ground reference, and a control electrode; and
a comparator comprising an input coupled to the first electrode of the capacitor and one or more inputs to receive one or more reference voltages, and an output to provide the signal, the output coupled to the control electrode of the first switch and the control electrode of the second switch and the comparator configured to adjust the signal between a first value and a second value based on a voltage of the first electrode of the capacitor in comparison to the one or more reference voltages.

### Claim 11 (depends on 10)

The system of claim 10, further comprising:
a counter comprising an input to receive the signal, the counter configured to determine an oscillation count of the signal over a fixed duration;
a programmable delay element coupled between the output of the comparator and the input of the counter; and
wherein the test verify module is configured to determine the operational characteristic based on the oscillation count.

### Claim 12 (depends on 8)

The system of claim 8, wherein the test component comprises:
a pattern generator configured to provide each of a plurality of test values in sequence to the current-steering DAC as the drive code value for a fixed duration;
a counter comprising an input to receive the signal, the counter configured to, for each test value of the plurality of test values, determine an oscillation count of the signal over the fixed duration that the corresponding test value is provided to the current-steering DAC; and
the test verify module is configured to determine the operational characteristic of the current-steering DAC based on at least a subset of oscillation counts corresponding to the plurality of test values.

### Claim 13 (depends on 12)

The system of claim 12, wherein the test verify module is configured to determine the operational characteristic by determining a differential non-linearity (DNL) characteristic of the current-steering DAC based on difference between a first oscillation count and a second oscillation count, the first oscillation count corresponding to a first test value of the plurality of test values and the second oscillation count corresponding to a second test value of the plurality of test values.

### Claim 14 (depends on 13)

The system of claim 13, wherein the test verify module is configured to determine the current-steering DAC exceeds a DNL specification in response to the difference exceeding a predetermined threshold.

### Claim 15 (depends on 12)

The system of claim 12, wherein the test verify module is configured to determine the operational characteristic by determining an integral non-linearity (INL) characteristic of the current-steering DAC based on a difference between a first oscillation count and a second oscillation count, the first oscillation count determined for a select test value of the plurality of test values based on the counter and the second oscillation count comprising a predetermined expected oscillation count for the select test value.

### Claim 16 (depends on 12)

The system of claim 12, wherein the test verify module is configured to determine the operational characteristic by determining an integral non-linearity (INL) characteristic of the current-steering DAC based on a quotient of a sum of at least the subset of the oscillation counts to a number of oscillation counts of at least the subset of the oscillation counts.

### Claim 17 (depends on 8)

The system of claim 8, further comprising an integrated circuit (IC) device, the IC device comprising the current-steering DAC and the test component.

### Claim 18 (depends on 17)

The system of claim 17, further comprising:
a loopback wire coupled to a first external interface pin and a second external interface pin, the first external interface pin internally coupled to the output of the current-steering DAC and internally decoupled from the test component, and the second external interface pin internally coupled to the input of the relaxation oscillator and internally decoupled from the current-steering DAC.

### Claim 19

A method comprising:
providing a first current-steering digital-to-analog converter (DAC) configured to provide an adjustable first output current based on an input test value;
providing a second current-steering DAC configured to provide an adjustable second output current based on an input test value;
providing a relaxation oscillator configured to output a signal having an oscillation frequency based on a magnitude of a sum of the first output current and the second output current;
configuring the first current-steering DAC to step through a series of monotonically increasing test values starting at a first test value of the series and ending at a last value of the series and the second current-steering DAC to concurrently step through the series starting at the last test value and ending at the first value, each step of the series having a fixed duration;
determining an oscillation count of the signal for each step of the series to generate a plurality of oscillation counts; and
determining an operational characteristic based on the plurality of oscillation counts.

### Claim 20 (depends on 19)

The method of claim 19, wherein determining the operational characteristic comprises identifying at least one of the first current-steering DAC or the second current-steering DAC as exceeding an operational specification in response to determining at least one oscillation counts of the plurality of oscillation counts exceeds a predetermined threshold.
