Research on the measurement of axial straightness based on GAS optimization algorithm
摘要
针对深孔管材直线度测量精度的问题,提出了一种基于几何近似搜索(geometric approximation searching,GAS)算法优化的测量 方 法.首先,利用测量装置逐截面获取各步距的截面圆心位置;其次,使用最小二乘(least square,LS)算法对所测得的各截面圆心进行拟合,定位其基准轴线;最后,以LS算法获得的拟合轴线和直线度作为初始参数,利用GAS算法开展优化迭代计算,得到更精确的直线度误差,同时结合实验室虚拟仪器工程平台(laboratory virtual instrument engineering workbench,LabVIEW)软件开发的测量软件可以实时监测数据.实验结果表明,相较于单一使用LS算法,优化迭代组合算法(LS+GAS)的测量精度提升了5.24%~19.27%,测量结果的不确定度平均降低了24.82%.优化迭代组合算法在拟合轴线方面表现出较高的精确度和良好的鲁棒性,结合自主爬行装置能够显著提升直线度测量的效能.
Aiming at the problem of measurement accuracy of the straightness of deep hole tubes,a measurement method based on the principle of optimized by the geometric approximation searching(GAS)algorithm is proposed.Firstly,the position of the center of each cross-section is obtained step by step by the measurement device.Secondly,the least squares(LS)algorithm is used to fit the center of each cross-section to locate the reference axis.Finally,the fitted axis and straightness obtained by the LS algorithm are taken as the initial parameters,and the GAS algorithm is used to carry out the optimized iterative calculation to obtain more accurate straightness error.At the same time,the measurement software developed by laboratory virtual instrument engineering workbench(LabVIEW)can monitor the data in real time.The experimental results show that compared with the single use of the LS algorithm,the measurement accuracy of the optimized iterative combination algorithm(LS+GAS)improved by 5.24%to 19.27%,and the uncertainty of the measurement results is reduced by an average of 24.82%.The algorithm of optimized iterative combination shows high accuracy and good robustness in fitting the axis,and combined with the self-propelled device,it can significantly improve the efficiency of straightness measurement.