甲烷检测器光干涉条纹亚像素级定位与检测精度研究

Research on sub-pixel positioning and detection accuracy of optical interference fringes in methane detectors

  • 摘要: 光干涉式甲烷检测器的干涉条纹定位精度和环境因素是影响甲烷浓度检测精度和稳定性的重要因素。为提高检测精度,提出了高斯滤波与高斯拟合的亚像素级条纹定位方法。首先针对光干涉图像设计了二维高斯滤波器,通过实验获取σ最佳取值;其次,将滤波后的彩色图像转换为灰度图像,并按列取灰度平均值,得到一维离散灰度分布数据,零级干涉条纹的峰值位置明显且呈高斯分布,通过最值法初步确定零级条纹峰值位置,然后在峰值位置左右各取10点,利用最小二乘法对21点数据做一维高斯曲线拟合,实现零级条纹的亚像素级定位,进而建立甲烷体积分数与条纹偏移量的标定曲线。为提高系统稳定性,减少环境因素产生的误差,提出了一种背景差分的零点补偿方法,利用初始条纹位置计算零级条纹的相对位移量,修正标定曲线。对采集的11组实验数据计算零级条纹位置,分别采用高斯滤波、均值滤波、小波滤波与高斯拟合、重心法、插值法2个组合,实验结果表明,采用高斯滤波和高斯拟合定位的方法,定位平均标准差最小,为0.0666,标定曲线拟合的决定系数R2均在0.98之上,其中高斯滤波与高斯拟合最高,达0.9999。对高斯滤波和高斯拟合标定曲线进行零点补偿后,0~1%甲烷体积分数交叉检验最大误差为0.054%,相比零点补偿前降低了0.117%;在1%~10%甲烷体积分数范围内,最大误差为0.075%,满足MT28—2005标准要求。因此,基于高斯滤波与高斯拟合的零级条纹定位方法定位精度高,可以提高甲烷检测器的检测精度;背景差分法可以消除零点漂移,提高系统稳定性,满足MT28—2005标准对甲烷检测器的检测精度要求。

     

    Abstract: The precision of fringe location in optical interferometric methane detectors and environmental factors are important factors affecting the accuracy and stability of methane concentration detection. To improve detection accuracy, a sub-pixel fringe location method combining Gaussian filtering and Gaussian fitting was proposed. Firstly, a two-dimensional Gaussian filter was designed for the optical interference image, and the optimal value of σ was obtained through experiments; secondly, the filtered color image was converted into a grayscale image, and the average grayscale values were taken column by column to obtain one-dimensional discrete grayscale distribution data. The peak position of the zero-order interference fringe is obvious and follows a Gaussian distribution. The peak position of the zero-order fringe was preliminarily determined by the maximum value method, and then 10 points were taken on both sides of the peak position. A one-dimensional Gaussian curve fitting was performed on the 21-point data using the least squares method to achieve sub-pixel level location of the zero-order fringe, and a calibration curve between methane concentration and fringe displacement was established. To improve system stability and reduce errors caused by environmental factors, a background difference zero-point compensation method was proposed. The relative displacement of the zero-order fringe was calculated using the initial fringe position to correct the calibration curve. The zero-order fringe positions of 11 sets of experimental data were calculated using two combinations of Gaussian filtering, mean filtering, wavelet filtering with Gaussian fitting, centroid method, and interpolation method. The experimental results show that the method using Gaussian filtering and Gaussian fitting for positioning has the smallest average standard deviation of positioning, which is 0.0666, and the determination coefficient R2 of the calibration curve fitting is above 0.98, with Gaussian filtering and Gaussian fitting being the highest, reaching 0.9999. After zero-point compensation of the calibration curve of Gaussian filtering and Gaussian fitting, the maximum error of cross-validation for methane volume fraction from 0~1% is 0.054%, which is reduced by 0.117% compared to before zero-point compensation; within the range of 1~10% methane volume fraction, the maximum error is 0.075%, meeting the requirements of the MT28—2005 standard. Therefore, the zero-order fringe location method based on Gaussian filtering and Gaussian fitting has high positioning accuracy, which can improve the detection accuracy of methane detectors; the background difference method can eliminate zero-point drift, improve system stability, and meet the detection accuracy requirements of the MT28—2005 standard for methane detectors.

     

/

返回文章
返回