The invention discloses a non-linear calibration method for analog-to-digital converter, which includes acquiring five analog input signals V1 to V5 and satisfying V3=0, V2= V4, V1= V5, V5=2V4. The analog input signals are analog-to-digital converted by analog-to-digital converter and the corresponding digital codes are coded (V1) to code (V5) by compensating the current non-linear distortion coefficient. * Code (V2)code (V1), err2 = 2*code (V4)code (V5). If err1_0 or err2_0, the ADC still has distortion. According to err1 and err2, the new second and/or third order distortion coefficients are calculated to update the ADC's non-linear distortion compensation parameters, and then the ADC and distortion coefficients are calculated again and again. When err1 and/or err2 are less than the preset values, the ADC is completed. Nonlinear calibration of converter. The linearity of ADC can be effectively improved by calibrating the second and/or third order distortion. The method of the present invention has fewer sampling points, less computation and is easy to be realized on or off the chip.
【技术实现步骤摘要】
模数转换器非线性校准方法
本专利技术涉及电子
,尤其涉及一种模数转换器非线性校准方法。
技术介绍
模数转换器(ADC)将模拟信号转换成数字信号,是外部世界到数字计算机的桥梁。随着科学技术的发展,高精度ADC在工业,医疗,汽车等领域成为必不可少的芯片之一。高精度ADC(16-24位)要求高信噪比和高线性度。高线性度保证信号失真小。电路本身功能的非线性,比如放大器的传递函数不是理想的线性函数,直接导致ADC的非线性,限制ADC的精度。ADC线性度的提高可以通过设计高线性度模块来实现,但会受限于电源电压的范围,信号的范围,功耗的要求等因素。同时被动器件譬如电容,由于工艺的限制,也会有不可避免的非线性,限制了ADC的精度。ADC非线性反应在传递函数上不再是理想的线性函数,其传递函数含有非线性成分,譬如二阶函数,三阶函数等。ADC的非线性一般主要集中在二阶和三阶,在频谱上体现在二阶和三阶谐波上。这些非线性失真函数系数可以通过传递函数多项式函数拟合得到,然后进行校准。这样的方法需要的数据量大,计算量大,难以在芯片上有效实现。
技术实现思路
鉴于上述技术问题,本专利技术提出一种模数转换器非线性校准方法,所述方法包括:一种模数转换器非线性校准方法,其特征在于,所述方法包括步骤:S1,获取五个模拟输入信号V1至V5,且满足V3=0,V2=-V4,V1=-V5,V5=2V4,所述模拟输入信号通过模数转换器进行模数转换并用当前非线性失真系数补偿得到相对应的数字编码,分别记为:code(V1),code(V2),code(V3),code(V4),code(V5);S2,计算e ...
【技术保护点】
1.一种模数转换器非线性校准方法,其特征在于,所述方法包括步骤:S1,获取五个模拟输入信号V1至V5,且满足V3=0,V2=‑V4,V1=‑V5,V5=2V4,所述模拟输入信号通过模数转换器进行模数转换并用当前非线性失真系数补偿得到相对应的数字编码,分别记为:code(V1),code(V2),code(V3),code(V4),code(V5);S2,计算err1=2*code(V2)‑code(V1),err2=2*code(V4)‑code(V5),若err1≠0或err2≠0,则所述模数转换器仍存在失真;S3,更新二阶和/或三阶失真系数来更新模数转换器非线性补偿参数,进行模数转换器非线性校准,二阶失真系数计算方法为:a2i+1=a2i+k*(err2+err1);三阶失真系数计算方法为:a3i+1=a3i+k*(err2‑err1);其中,k是更新步长,a30、a20为初始化预设值,设为0,i是正整数;重复步骤S1至S3,当err1和/或err2小于预设值时,完成非线性校准。
【技术特征摘要】
1.一种模数转换器非线性校准方法,其特征在于,所述方法包括步骤:S1,获取五个模拟输入信号V1至V5,且满足V3=0,V2=-V4,V1=-V5,V5=2V4,所述模拟输入信号通过模数转换器进行模数转换并用当前非线性失真系数补偿得到相对应的数字编码,分别记为:code(V1),code(V2),code(V3),code(V4),code(V5);S2,计算err1=2*code(V2)-code(V1),err2=2*code(V4)-code(V5),若err1≠0或err2≠0,则所述模数转换器仍存在失真;S3,更新二阶和/或三阶失真系数来更新模数转换器非线性补偿参数,进行模数转换器非线性校准,二阶失真系数计算方法为:a2i+1=a2i+k*(err2+err1);三阶失真系数计算方法为:a3i+1=a3i+k*(err2-err1);其中,k是更新步长,a30、a20为初始化预设值,设为0,i是正整数;重复步骤S1至S3,当err1和/或err2小于预设值时,完成非线性校准。2.根...
【专利技术属性】
技术研发人员:许鹏,
申请(专利权)人:南京南瑞微电子技术有限公司,
类型:发明
国别省市:江苏,32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。