高速模数转换器(ADC)的INL/DNL测量

最新更新时间:2012-06-19来源: 互联网关键字:模数  转换器  ADC 手机看文章 扫描二维码
随时随地手机看文章

高速模数转换器(ADC)的INL/DNL测量

Abstract: Although integral and differential nonlinearity may not be the most important parameters for high-speed, high dynamic performance data converters, they gain significance when it comes to high-resolution imaging applications. The following application note serves as a refresher course for their definitions and details two different, yet commonly used techniques to measure INL and DNL in high-speed analog-to-digital converters (ADCs). 

Manufacturers have recently introduced high-performance analog-to-digital converters (ADCs) that feature outstanding static and dynamic performance. You might ask, "How do they measure this performance, and what equipment is used?" The following discussion should shed some light on techniques for testing two of the accuracy parameters important for ADCs: integral nonlinearity (INL) and differential nonlinearity (DNL). 

Although INL and DNL are not among the most important electrical characteristics that specify the high-performance data converters used in communications and fast data-acquisition applications, they gain significance in the higher-resolution imaging applications. However, unless you work with ADCs on a regular basis, you can easily forget the exact definitions and importance of these parameters. The next section therefore serves as a brief refresher course.

INL and DNL Definitions

DNL error is defined as the difference between an actual step width and the ideal value of 1LSB (see Figure 1a). For an ideal ADC, in which the differential nonlinearity coincides with DNL = 0LSB, each analog step equals 1LSB (1LSB = VFSR/2N, where VFSR is the full-scale range and N is the resolution of the ADC) and the transition values are spaced exactly 1LSB apart. A DNL error specification of less than or equal to 1LSB guarantees a monotonic transfer function with no missing codes. An ADC's monotonicity is guaranteed when its digital output increases (or remains constant) with an increasing input signal, thereby avoiding sign changes in the slope of the transfer curve. DNL is specified after the static gain error has been removed. It is defined as follows:

DNL = |[(VD+1- VD)/VLSB-IDEAL - 1] | , where 0 < D < 2N - 2.

VD is the physical value corresponding to the digital output code D, N is the ADC resolution, and VLSB-IDEAL is the ideal spacing for two adjacent digital codes. By adding noise and spurious components beyond the effects of quantization, higher values of DNL usually limit the ADC's performance in terms of signal-to-noise ratio (SNR) and spurious-free dynamic range (SFDR).

Figure 1a. To guarantee no missing codes and a monotonic transfer function, an ADC's DNL must be less than 1LSB.
Figure 1a. To guarantee no missing codes and a monotonic transfer function, an ADC's DNL must be less than 1LSB.

INL error is described as the deviation, in LSB or percent of full-scale range (FSR), of an actual transfer function from a straight line. The INL-error magnitude then depends directly on the position chosen for this straight line. At least two definitions are common: "best straight-line INL" and "end-point INL" (see Figure 1b):

  • Best straight-line INL provides information about offset (intercept) and gain (slope) error, plus the position of the transfer function (discussed below). It determines, in the form of a straight line, the closest approximation to the ADC's actual transfer function. The exact position of the line is not clearly defined, but this approach yields the best repeatability, and it serves as a true representation of linearity.
  • End-point INL passes the straight line through end points of the converter's transfer function, thereby defining a precise position for the line. Thus, the straight line for an N-bit ADC is defined by its zero (all zeros) and its full-scale (all ones) outputs.

The best straight-line approach is generally preferred, because it produces better results. The INL specification is measured after both static offset and gain errors have been nullified, and can be described as follows:

INL = | [(VD - VZERO)/VLSB-IDEAL] - D | , where 0 < D < 2N-1.

VD is the analog value represented by the digital output code D, N is the ADC's resolution, VZERO is the minimum analog input corresponding to an all-zero output code, and VLSB-IDEAL is the ideal spacing for two adjacent output codes.

Figure 1b. Best straight-line and end-point fit are two possible ways to define the linearity characteristic of an ADC.
Figure 1b. Best straight-line and end-point fit are two possible ways to define the linearity characteristic of an ADC.

Transfer Function
The transfer function for an ideal ADC is a staircase in which each tread represents a particular digital output code and each riser represents a transition between adjacent codes. The input voltages corresponding to these transitions must be located to specify many of an ADC's performance parameters. This chore can be complicated, especially for the noisy transitions found in high-speed converters and for digital codes that are near the final result and changing slowly.

Transitions are not sharply defined, as shown in Figure 1b, but are more realistically presented as a probability function. As the slowly increasing input voltage passes through a transition, the ADC converts more and more frequently to the next adjacent code. By definition, the transition corresponds to that input voltage for which the ADC converts with equal probability to each of the flanking codes.

The Right Transition A transition voltage is defined as the input voltage that has equal probabilities of generating either of the two adjacent codes. The nominal analog value, corresponding to the digital output code generated by an analog input in the range between a pair of adjacent transitions, is defined as the midpoint (50% point) of this range. If the limits of the transition interval are known, this 50% point is calculated easily. The transition point can be determined at test by measuring the limits of the transition interval, and then dividing the interval by the number of times each of the adjacent codes appears within it.

Generic Setup for Testing Static INL and DNL

INL and DNL can be measured with either a quasi-DC voltage ramp or a low-frequency sine wave as the input. A simple DC (ramp) test can incorporate a logic analyzer, a high-accuracy DAC (optional), a high-precision DC source for sweeping the input range of the device under test (DUT), and a control interface to a nearby PC or X-Y plotter.

If the setup includes a high-accuracy DAC (much higher than that of the DUT), the logic analyzer can monitor offset and gain errors by processing the ADC's output data directly. The precision signal source creates test voltages for the DUT by sweeping slowly through the input range of the ADC from zero scale to full scale. Once reconstructed by the DAC, each test voltage at the ADC input is subtracted from its corresponding DC level at the DAC output, producing a small voltage difference (VDIFF) that can be displayed with an X-Y plotter and linked to the INL and DNL errors. A change in quantization level indicates differential nonlinearity, and a deviation of VDIFF from zero indicates the presence of integral nonlinearity.

Analog Integrating Servo Loop

Another way to determine static linearity parameters for an ADC, similar to the preceding but more sophisticated, is using an analog integrating servo loop. This method is usually reserved for test setups that focus on high-precision measurements rather than speed.

A typical analog servo loop (see Figure 2) consists of an integrator and two current sources connected to the ADC input. One source forces a current into the integrator, and the other serves as a current sink. A digital magnitude comparator connected to the ADC output controls both current sources. The other input of the magnitude comparator is controlled by a PC, which sweeps it through the 2N - 1 test codes for an N-bit converter.

Figure 2. This circuit configuration is an analog integrating servo loop.
Figure 2. This circuit configuration is an analog integrating servo loop.

If the polarity of feedback around the loop is correct, the magnitude comparator causes the current sources to servo the analog input around a given code transition. Ideally, this action produces a small triangular wave at the analog inputs. The magnitude comparator controls both rate and direction for these ramps. The integrator's ramp rate must be fast when approaching a transition, yet sufficiently slow to minimize peak excursions of the superimposed triangular wave when measuring with a precision digital voltmeter (DVM).

For INL/DNL tests on the MAX108, the servo-loop board connects to the evaluation board through two headers (see Figure 3). One header establishes a connection between the MAX108's primary (or auxiliary) output port and the magnitude comparator's latchable input port (P). The second header ensures a connection between the servo loop (the magnitude comparator's Q port) and a computer-generated digital reference code.

Figure 3. With the aid of the MAX108EVKIT and an analog integrating servo loop, this test setup determines the MAX108's INL and DNL characteristics.
Figure 3. With the aid of the MAX108EVKIT and an analog integrating servo loop, this test setup determines the MAX108's INL and DNL characteristics.

The fully decoded decision resulting from this comparison is available at the comparator output P > QOUT, and is then passed on to the integrator configurations. Each comparator result controls the logic input of the switch independently and generates voltage ramps as required to drive succeeding integrator circuits for both inputs of the DUT. This approach has its advantages, but it also has several drawbacks:

  • The triangular ramp should have low dV/dt to minimize noise. This condition generates repeatable numbers, but it results in long integration times for the precision meter.
  • Positive and negative ramp rates must be matched to arrive at the 50% point, and the low-level triangular waves must be averaged to achieve the desired DC level.
  • Integrator designs usually require careful selection of the charge capacitors. To minimize potential errors due to the capacitors' "memory effect," for instance, select integrator capacitors with low dielectric absorption.
  • Accuracy is proportional to the integration period and inversely proportional to the settling time.

A DVM connected to the analog integrated servo loop measures the INL/DNL error versus output code (Figures 4a and 4b). Note that a parabolic or bow shape in the plot of "INL vs. output code" indicates the predominance of even-order harmonics, and an "S shape" indicates the predominance of odd-order harmonics.

Figure 4a. This plot shows typical integral nonlinearity for the MAX108 ADC, captured with the analog integrating servo loop.
Figure 4a. This plot shows typical integral nonlinearity for the MAX108 ADC, captured with the analog integrating servo loop.

Figure 4b. This plot shows typical differential nonlinearity for the MAX108, captured with the analog integrating servo loop.
Figure 4b. This plot shows typical differential nonlinearity for the MAX108, captured with the analog integrating servo loop.

To eliminate negative effects in the previous approach, you can replace the servo loop's integrator section with an L-bit successive-approximation register (SAR) that captures the DUT's output codes, an L-bit DAC, and a simple averaging circuit. Together with the magnitude comparator, this circuit forms a SAR-type converter configuration (see Figure 5 and "SAR Converter" discussion below), in which the magnitude comparator programs the DAC, reads its outputs, and performs a successive approximation. Meanwhile, the DAC presents a high-resolution DC level to the input of the N-bit ADC under test. In this case, a 16-bit DAC was chosen to trim the ADC to 1/8LSB accuracy and obtain the best possible transfer curve.

Figure 5. Successive approximation and a DAC configuration replace the integrator section of the analog servo loop.
Figure 5. Successive approximation and a DAC configuration replace the integrator section of the analog servo loop.

The advantage of an averaging circuit is apparent when noise causes the magnitude comparator to toggle and become unstable, as it does on approaching its final result. Two divide-by counters are included in the averaging circuit. The "reference" counter has a period of 2M clock cycles, where M is a programmable integer governing the period (and hence the test time). A "data" counter, which increments only when the magnitude comparator output is high, has a period equal to one-half of the first 2M-1 cycles.

Together, the reference and data counters average the number of highs and lows, store the result in a flip-flop, and pass it on to the SAR register. This procedure is repeated 16 times (in this case) to generate the complete output code word. Like the previous method, this one has advantages and disadvantages:

  • The test setup's input voltage is defined digitally, allowing easy modification of the number of samples over which the result is to be averaged.
  • The SAR approach provides a DC level rather than a ramp at the DUT's analog input.
  • As a disadvantage, the DAC in the feedback loop sets a finite limit on resolution of the input voltage.

SAR Converter
A SAR converter works like the old-fashioned chemist's balance. On one side is the unknown input sample, and on the other is the first weight generated by the SAR/DAC configuration (the most significant bit, which equals half of the full-scale output). If the unknown weight is larger than 1/2FSR, this first weight remains on the balance and is augmented by 1/4FSR. If the unknown weight is smaller, the weight is removed and replaced by a weight of 1/4FSR.

The SAR converter then determines the desired output code by repeating this procedure N times, progressing from the MSB to the LSB. N is the resolution of the DAC in the SAR configuration, and each weight represents 1 binary bit.

Dynamic Testing of INL and DNL

To assess an ADC's dynamic nonlinearity, you can apply a full-scale sinusoidal input and measure the converter's signal-to-noise ratio (SNR) over its entire full-power input bandwidth. The theoretical SNR for an ideal N-bit converter (subject only to quantization noise, with no distortion) is as follows:

SNR (in dB) = N×6.02 +1.76.

Embedded in this figure of merit are the effects of glitches, integral nonlinearity, and sampling-time uncertainty. You can obtain additional linearity information by performing the SNR measurement at a constant frequency and as a function of the signal amplitude. Sweeping the entire amplitude range, for example, from zero to full scale and vice versa, produces large deviations from the source signal, as source amplitude approaches the converter's full-scale limit. To determine the cause of these deviations, while ruling out the effects of distortion and clock instability, use a spectrum analyzer to analyze the quantization-error signal as a function of frequency.

Countless other approaches are available for testing the static and dynamic INL and DNL of both high- and low-speed data converters. The intent here has been to give you a better understanding of the generation of powerful TOCs (typical operating characteristics) using tools and techniques that are simple but still smart and precise.

References

  1. MAX108 data sheet, Rev. 1, 5/99, Maxim Integrated Products.
  2. MAX108EVKIT data sheet, Rev. 0, 6/99, Maxim Integrated Products.
  3. Analog Integrated Circuit Design, D. Johns & K. Martin, John Wiley & Sons Inc., 1997.
  4. Low-Voltage/Low-Power Integrated Circuits and Systems, Low-Voltage Mixed-Signal Circuits, E. Sanchez-Sinencio & A. G. Andreou, IEEE Press Marketing, 1999.
  5. Integrated Analog-to-Digital and Digital-to-Analog Converters, R. van de Plasche, Kluwer Academic Publishers, 1994.
关键字:模数  转换器  ADC 编辑:神话 引用地址:高速模数转换器(ADC)的INL/DNL测量

上一篇:AD603的内部结构及原理、注意事项
下一篇:ad8295 AC耦合连接图

推荐阅读最新更新时间:2023-10-12 20:40

PIC16F877单片机的应用--A/D转换器
PIC16F877单片机片内有8路10位A/D转换器,引脚②~⑤为AN0~AN3、⑦~⑩为AN4~AN7。MPLAB-ICD的实验板上16F877单片机的RA0口接了一只供有电压的10kΩ电位器,在D口(RD0~RD7)接了8只LED,如附图所示。笔者用16F877 A/D转换通道其中一路作A/D转换,以说明A/D转换编写程序的方法和在线调试及编程。 在附图中,笔者把R6的可变输出(电压模拟量)端接到RA0/AN0作为模拟量输入;用D口(RD0~RD7)的8只LED显示A/D转换的结果(按二进制显示)。 一、 建立A/D转换源程序的要点 编写10位的一路A/D转换程序看似简单,但对初学者却有一定难度,因为编写A/D转换程序时
[单片机]
PIC16F877单片机的应用--A/D<font color='red'>转换器</font>
Maxim推出DC-DC转换器实现快速、可靠充电
    中国,北京,2013年10月17日。Maxim Integrated Products, Inc. (NASDAQ: MXIM)推出集成USB充电枚举器的汽车DC-DC转换器MAX16984,利用单芯片IC即可通过USB接口识别任意便携设备(PD),并直接利用汽车电池为设备充电。     在以前,智能手机和平板电脑等便携设备无法通过汽车的OEM USB口可靠充电。较长的嵌入式USB电缆会产生压降、降低充电电流,导致无法对便携设备正常充电。而低成本便携式USB车载充电器还会引入RF干扰。现在,MAX16984将智能USB充电引入汽车应用,很好地解决了上述问题。该单芯片方案集成了传统三芯片方案的全部功能:MAX16984为低E
[电源管理]
Maxim推出DC-DC<font color='red'>转换器</font>实现快速、可靠充电
STM32 ADC转换
STM32具有1~3个ADC。这些ADC可以相互独立使用,也可以使用双重模式。STM32的ADC是12位逐次逼近型的模拟/数字转换器。它有18个通道,可测量16个外部和2个内部信号源。各通道可以单次、连续、扫描或间断模式执行。 ADC其实检测的是电压信号,然后在将它转换数字信号。在我使用开发板上,ADC能检测的电压范围为0~3.3v,其转换成数字信号后对应的数字量范围为:0~4095。 下面就讲讲STM32 ADC转换功的实现。还是基于我自己的规范工程上修改!! 1、工程的修改 1)由于要使用ADC功能,必须使用到库文件stm32f10x_adc.c,所以将是stm32f10x_adc.c文件添加到STM32
[单片机]
STM32 <font color='red'>ADC</font>转换
利用CAN232B转换器组建CAN控制网络
一、 引言     由于RS232通讯距离短(根据EAT/TAI-232标准,仅为15米),而且,只能进行点到点通讯,不能直接组多点通讯网络。为了延长RS232的通讯距离,并将RS232节点组成通讯网络,目前广泛使用RS232/RS485信号转换器。但是,由于RS485通讯本身的局限性,在实际应用中存在许多不足:总线效率低、系统的实时性差、通讯的可靠性低、网络工程调试复杂、传输距离不理想、单总线可挂接的节点少、应用不灵活等。     本文介绍一种方法,可以将RS232通讯网络转换成CAN通讯网络,以更好地解决用户建立远程通讯网络的问题。 二、 CAN总线特性     CAN-bus(Controller Are
[嵌入式]
简述升压转换器的简单开路保护
  引言   驱动高亮度LED的一种方法是对标准升压转换器拓扑进行修改,以驱动恒定电流通过负载。但是,这种实施方法存在一个严重问题,因为LED串中出现的开路故障会移除负载电流的通路。由于来自转换器(此时在无反馈情况下工作)的高输出电压,这样可能会对电路造成潜在损坏。本文为您介绍一种简单的健壮开路故障保护方法,其使用一个齐纳二极管和一个电阻器,并且对总效率的影响可以忽略不计。通过将一个高压升压转换器配置为一个恒流驱动器,用于驱动 3 支高亮度白光 LED,并在输出端产生一个模拟故障状态,我们可以验证这种拓扑结构的功能性。该电路将输出电压控制在某个安全水平,并在受保护状态下减少输出电流。   典型高亮度 LED 升压转换器   
[电源管理]
简述升压<font color='red'>转换器</font>的简单开路保护
提高数据吞吐量和系统效率,多通道DAQ很关键
在多通道多路复用数据采集系统中,增加每个 ADC 的通道数量可改善系统的整体成本、面积和效率。现代 SAR ADC 具有高吞吐量和高能效,使得系统设计人员能够实现比以往更高的通道密度。 今天我们将说明多路复用器输入端的建立瞬变(由多路复用器输出端的大尺度开关瞬变引起)导致需要较长采集时间,使得多通道数据采集系统的整体吞吐量显著降低。然后,文中将着重阐述使输入建立时间最小化以及提高数据吞吐量和系统效率所需的设计权衡。   什么是多通道 DAQ? 如何衡量多通道 DAQ 的性能? 多通道数据采集 (DAQ) 系统是一个与多路输入(通常是传感器)接口的完整信号链子系统,其主要功能是将输入端的模拟信号转换为处理单元可以理解的数
[模拟电子]
高速ADC的性能测试
摘要:针对某信号处理机中的高速A/D转换器(ADC)的应用,利用数字信号处理机的硬件平台,采用纯正弦信号作为输入信号,用数字信号处理器(DSP)控制采样,并将A/D转换后的数据存储,进行FFT变换,进而来分析ADC的信噪比及有效位数。该测试方法具有全数字、可编程、精确度高等优点,是较为先进的测试方法。 关键词:AD转换器 信噪比 有效位数 FFT DSP 目前的实时信号处理机要求ADC尽量靠近视频、中频甚至射频,以获取尽可能多的目标信息。因而,ADC的性能好坏直接影响整个系统指标的高低和性能好坏,从而使得ADC的性能测试变得十分重要。 ADC静态测试的方法已研究多年,国际上已有标准的测试方法,但静态测试不能反映ADC的动态特
[模拟电子]
TI双通道输出升压转换器可驱动两组LED背光
德州仪器(TI)日前宣布推出两款全新的高效率双通道输出DC/DC升压转换器,这些产品可通过单颗芯片与电感器来管理2组(每组6个)白光LED。上述器件可实现3V到6V的输入电压与高达0.7A的输出电流,因而非常适合驱动OLED副显示屏与LCD主显示屏。目前这两种显示屏广泛应用于翻盖手机中的白光LED背景照明。 TI TPS61140器件使便携式电子设备的设计人员能够通过外部电阻就不同的电压与电流级别进行编程。如欲进一步提高灵活性,设计人员还可采用每通道输出的专用选择引脚,来分别或同时打开它们。 如果启动TPS61140电压输出,那么升压转换器则通过脉冲频率调制(PFM)来进行控制,从而能够在较宽泛的负载范围内实现高效率。
[新品]
小广播
最新模拟电子文章
换一换 更多 相关热搜器件
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved