摘要
针对AD转换过程中实际物理量与转换后数字量之间存在的非线性问题,提出了一种软件在线校正方法,该方法是基于最小二乘法的最优化分段线性拟合方法。使用VS2010 C#编写上位机软件,用户可任意设定误差标准,通过程序计算实现对整个非线性区间的最优化分段线性拟合,得到不同的拟合函数,达到高精度拟合的要求。此校正软件可作为辅助开发工具,用于模拟量采集系统中,帮助实现物理量回归。测试结果表明,该方法能够显著提高AD转换精度,且易于操作,具有较高的准确性。
Aiming at the nonlinear problem between the actual physical values and the converted digital values in AD conversion process,a software online correction method is proposed.This method is based on the least square algorithm to optimize the piecewise linear fitting method.Using VS2010 C#to program,the user can set the error standard,and realize the optimal piecewise linear fitting of the whole nonlinear interval through program calculation,and obtain different fitting functions to achieve the requirement of high precision fitting.This calibration software can be used as an auxiliary development tool in analog acquisition systems to help achieve physical quantity regression.The test results show that the method can significantly improve the accuracy of AD conversion,and is easy to operate with high accuracy.
作者
贾红敏
张立广
淡建超
Jia Hongmin;Zhang Liguang;Dan Jianchao(College of Electronic Information Engineering,Xi'an Technological University,Xi'an 710021,China)
出处
《电子技术应用》
2020年第2期80-83,共4页
Application of Electronic Technique
关键词
AD转换
最优化分段
最小二乘法
在线校正
AD conversion
optimal segmentation
least squares algorithm
online correction