打印
[应用相关]

【转】理解ADC的非线性

[复制链接]
1302|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
一坨代码|  楼主 | 2016-11-6 22:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
ADC非线性误差是关于AD精度非常关键的参数,包括微分非线性误差(DNL)和积分非线性误差(INL)。关于这些参数,网上有很详细的资料以供参考,这里仅给出老外的一篇资料作为补充。

理解AD非线性?看下地板下面就知道了

Trying to find ADC non-linearity? Look under the carpet
Sep 03 2013 08:30 AM


Last week, I replaced the carpet in my house with wooden flooring. After removing the carpet from the staircase in our living room, I noticed my “uniform” staircase actually had very uneven steps. This was a surprise to me, because in all the years I walked up and down the same staircase, I had never noticed this unevenness. The carpet did a masterful job of obscuring it.

And because I think like a nerd, this observation got me thinking about high-resolution SAR analog-to-digital converters (ADCs). My staircase, which I assumed was uniform, actually resembles the ideal transfer function for a noise-free ADC with quantization steps of perfect symmetry. An example appears in Figure 1 for the case of a 3-bit ADC.

Figure 1. ADC transfer function – “uniform staircase”
So thinking like a nerd again, that not-so-perfect staircase in my home has steps that are non-linear in size (Figure 2) in much the same way that an ADC’s code transitions are never perfectly symmetrical. In the ADC world, this lack of symmetry is defined by two terms, differential (DNL) and integral (INL) non-linearity errors. These errors result from the inherent mismatch of capacitors and resistors inside the ADC.
Figure 2. ADC non-linearities – “actual staircase”
Furthermore, the carpet on my staircase acted like a layer of DC “transition noise” that gets added (and superimposed) to the ADC transfer function (Figure 3). This noise comes from the ADC internal circuitry, including the reference source. The noise floor can hide the true non-linear shape of the ADC staircase response.
Figure 3. ADC non-linearity noise – “carpeted staircase”
沙发
一坨代码|  楼主 | 2016-11-6 22:20 | 只看该作者
Like the staircase in my home, this information is not obvious in an ADC datasheet. Nevertheless, the ADC specification table lists a typical value for the noise power, or rms value, of the “transition noise”.
Another place to find this value is the DC histogram plots in the “typical curves” section of the datasheet. This output code spread represents the peak-to-peak value of the transition noise, which is usually equal to few LSBs. Figure 4 illustrates this for the case of ADS8881, an 18-bit SAR ADC.
Figure 4. ADS8881 datasheet showing transition noise and DC histogram curve

And what about using DNL/INL to quantify the “unevenness” of the staircase? It is sometimes difficult to understand how DNL/INL can be both measured and guaranteed to more precise levels than the peak-to-peak transition noise.
Take the ADS8881 (Figure 5) as an example. How can we show a DNLMAX specification of 1.5LSBs when the ADC output can show up to +5LSBs of error due to transition noise?  Conversely, how could we expect to see the unevenness of a staircase with the carpet covering it?
Figure 5. ADS8881 datasheet showing DNL and INL specifications

I’ve already given you the answer—remove the carpet! Likewise, in order to measure the true linearity (INL/DNL) of a high-resolution ADC, you need to look below the noise floor by first removing the dc transition noise.
In the ADC domain, averaging is the main tool to remove the noise “carpet” so you can measure the correct INL/DNL. This is because transition noise exhibits the nature of white noise.
You can perform averaging by applying a known voltage from a very stable reference or digital-to-analog converter (DAC) output. Then you can perform multiple samples and conversions of the stable input voltage and average the digital output codes to determine the linearity of that specific point.
So, if you ever find yourself fumbling through an ADC data sheet, take a moment, channel your nerdy thoughts, and think about my staircase analogy. Understanding ADC non-linearity is all downhill from there!

使用特权

评论回复
板凳
quray1985| | 2016-11-7 12:31 | 只看该作者
这个非线性是避免不了的吧,模拟转数字是必须的吧

使用特权

评论回复
地板
一坨代码|  楼主 | 2016-11-10 22:22 | 只看该作者
quray1985 发表于 2016-11-7 12:31
这个非线性是避免不了的吧,模拟转数字是必须的吧

尽可能逼近

使用特权

评论回复
5
huangcunxiake| | 2016-11-11 10:13 | 只看该作者
ADC就好比量子力学一样,是非连续的,就是比较,看接近那个,逐次逼近

使用特权

评论回复
6
一坨代码|  楼主 | 2016-11-11 20:47 | 只看该作者
huangcunxiake 发表于 2016-11-11 10:13
ADC就好比量子力学一样,是非连续的,就是比较,看接近那个,逐次逼近

你说的只是ADC的一种,
还有很多其他原理的!

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

52

主题

109

帖子

2

粉丝