Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006

Linearity of Digital-to-Analog Converter (DAC)

4 ratings | 2.75 out of 5
Print



In selecting a digital-to-analog converter (DAC) one of the most common criteria you look at is linearity. Two tests have evolved as the most popular linearity tests: differential nonlinearity (DNL) and integral nonlinearity (INL.) If a DAC were ideal, each output step would be exactly the same size; meaning when supplied with equally increasing increments of supply voltage, the output would ramp up in equal increments. DNL is the degree to which each output step (or code width) varies from the ideal step. DNL is generally more critical when outputting small signals. INL measures the deviation of the entire transfer function from the ideal function and is generally more critical for outputting large signals.

To test the linearity of a DAC, you need to generate the digital stimulus and capture the analog response. Usually you would sweep the DAC from 0 to its maximum output step, and compare the response to what it should be at every output step. When most manufacturers specify DNL and INL on a data sheet, they specify the worst cases - the maximum and minimum over the entire transfer functions. You might only be interested in the minimum and maximum, or you might be interested in the measurements for all code widths. LabVIEW provides native array functions to search the data array for the max and min or other points of interest, and you can graph the overall transfer functions for trending information.

To generate the digital stimulus and capture the analog response, you need a high-speed digital source and high-speed digitizer. In hardware, you need to control the timing between the acquisition and generation modules, so you know which acquisition sample should correspond to which generation sample. Platforms such as PXI and VXI are ideal for such applications These platforms are designed with timing and synchronization resources built-in, so modules can share reference clocks, sample clocks, triggers, and events.


Figure 1. Differential Nonlinearity of RGB Video DAC


Related Links:
Mixed-Signal Stimulus-Response
Video DAC Linearity Test
View an online demo of INL and DNL testing of a digital-to-analog converter (DAC)

4 ratings | 2.75 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).