基于激光测距的激光扫描投影系统标定技术研究 下载: 1014次
1 引言
激光扫描投影仪器能够将激光光束快速偏转,从而在三维空间待投影表面的准确位置上精确地扫描投射出由CAD数模定义的零部件的外形轮廓[1]。该仪器扫描投影零部件外形轮廓前需导入CAD数模数据,并由该数据驱动一个或几个激光扫描投影仪器进行扫描投影,从而待装配部件的准确外形轮廓和位置就会在三维空间投影表面上由快速扫描而过的明亮激光线显示出来。鉴于这种能够辅助操作人员完成待装配部件精准定位的特性,该仪器现已广泛应用在航空航天制造等领域,如飞机零部件装配、复合材料铺层、图案喷涂、铆接孔定位[2-3]等。
在激光扫描投影仪器的实际应用中,为获得激光扫描投影仪器坐标系(
为解决上述问题,本文建立了基于激光测距的激光扫描投影系统标定技术的数学模型,以期实现仅通过对3个合作目标点的扫描定位即可解算出
2 激光扫描投影系统投影模型
激光扫描投影系统进行扫描投影时,该系统内部的双轴扫描振镜模块会根据CAD数模高精度地偏转,造成激光器发射的激光束快速偏折,从而使其在投影面扫描出CAD数模轮廓线。激光扫描投影系统的投影模型如
3 激光扫描投影系统标定模型
为了将CAD数模高精度地投影到投影面上,在激光扫描投影系统进行扫描投影之前,需要将
3.1 未加激光测距模块的标定模型
激光扫描投影系统标定如
目标定位点
式中:
其中,
3.2 加入激光测距模块的标定模型
3.1节的标定模型主要基于布尔沙-七参数法通过对6个合作目标点的定位建立
加入激光测距模块后目标定位点在
通过(4)式所示的方程可列出9组方程式,即可解算出坐标系转换所需的6个未知参数
4 仿真分析
为了验证加入激光测距模块的激光扫描投影系统在标定时的可行性,需要分别对(2)式和(4)式进行解算分析,由于(2)式和(4)式是关于6个未知参数
4.1 粒子群优化算法
粒子群优化算法源自对鸟群捕食行为的研究,最初由Kennedy和Eberhart提出,是一种通用的启发式搜索技术[8-10]。该算法的基本流程如下:
1)初始化粒子群,计算每个粒子的适应度函数值;
2)根据公式(5),更新速度
式中,
3)如果满足终止条件,结束迭代,输出结果;否则,返回步骤2)。
运用粒子群优化算法进行解算时,针对不同的方程需要选取最优的参数,其中选取
4.2 未加激光测距的激光扫描投影系统标定精度分析
表 1. 0 粒子群导数标定算法在测距误差为±1 mm时的定位误差
Table 1. 0 Positioning error with ±0.01 mm ranging errors in particle swarm derivative calibration algorithm
|
图 4. 未加激光测距模块下f较小时对应的c1、c2与w
Fig. 4. c1, c2 and w when f is small without laser ranging module
图 5. c1、c2与w对算法收敛概率的影响。(a) c1=c2=2.3, w=0.7;(b) c1=c2=2.1,w=0.5;(c) c1=c2=1.5, w=0.8;(d)c1=c2=1.1,w=0.8
Fig. 5. Effect of c1、c2 and w on the convergence probability of the algorithm. (a) c1=c2=2.3, w=0.7;(b) c1=c2=2.1, w=0.5; (c) c1=c2=1.5, w=0.8; (d) c1=c2=1.1, w=0.8
将
由
表 2. 合作目标点在投影坐标系下的三维坐标及其定位误差
Table 2. Three-dimensional coordinates of the cooperative target point in the projected coordinate system and its positioning error
|
4.3 加入激光测距的激光扫描投影系统标定精度分析
表 3. 合作目标点空间位置信息
Table 3. Cooperation target point space location information
|
图 6. 加入激光测距模块后,f取最小值时对应的c1、c2与w
Fig. 6. c1, c2 and w when f is small with laser ranging module
表 4. 加入激光测距模块后,合作目标点在投影坐标系下的三维坐标及其定位误差
Table 4. Three-dimensional coordinates of the cooperative target point in the projected coordinate system and its positioning error after adding laser ranging module
|
在原激光扫描投影系统中加入激光测距模块时,需要考虑测距误差对标定精度的影响。
由
表 5. 测距误差为±1 mm时的定位误差
Table 5. Positioning error at ranging errors of ±1 mm
|
表 6. 测距误差为±0.1 mm时的定位误差
Table 6. Positioning error at ranging errors of ±0.1 mm
|
表 7. 测距误差为±0.01 mm时的定位误差
Table 7. Positioning error at ranging errors of ±0.01 mm
|
4.4 粒子群导数标定算法及其优化结果
表 8. 粒子群导数标定算法在测距误差为±1 mm时的定位误差
Table 8. Positioning error with ±1 mm ranging errors in particle swarm derivative calibration algorithm
|
表 9. 粒子群导数标定算法在测距误差为±0.1 mm时的定位误差
Table 9. Positioning error with ±0.1 mm ranging errors in particle swarm derivative calibration algorithm
|
0 粒子群导数标定算法在测距误差为±1 mm时的定位误差
0 Positioning error with ±0.01 mm ranging errors in particle swarm derivative calibration algorithm
Target points | d | d | d | Δ |
---|---|---|---|---|
-1.11×10-7 | 3.55×10-7 | 1.75×10-7 | 4.11×10-7 | |
4.98×10-7 | 2.56×10-7 | 2.79×10-7 | 6.26×10-7 | |
2.99×10-7 | 2.51×10-7 | 1.96×10-7 | 4.36×10-7 | |
4.00×10-7 | 3.43×10-7 | 7.97×10-8 | 5.33×10-7 | |
2.90×10-7 | 2.44×10-7 | -1.63×10-8 | 3.79×10-7 | |
2.88×10-7 | 3.48×10-7 | 3.62×10-8 | 4.53×10-7 | |
Average | 4.73×10-7 |
1 合作目标点空间位置信息
1 Cooperation target point space location information
Target points | ||||||
---|---|---|---|---|---|---|
1008.79384 | 317.767798 | 0 | -1304.513 | -168.626003 | 3000 | |
603.821058 | 1255.47986 | 0 | -899.54018 | -1106.33807 | 3000 | |
-255.13374 | 1675.98398 | 0 | -40.585376 | -1526.84218 | 3000 | |
-1348.3362 | 1447.99194 | 0 | 1052.61713 | -1298.85014 | 3000 | |
-1649.3914 | 300.591543 | 0 | 1353.67225 | -151.449748 | 3000 | |
-1374.2905 | -796.40082 | 0 | 1078.57141 | 945.5426163 | 3000 | |
-979.06597 | -1234.1214 | 0 | 683.346848 | 1383.263169 | 3000 | |
-525.82694 | -1220.4179 | 0 | 230.107819 | 1369.559659 | 3000 | |
-102.64258 | -1198.9637 | 0 | -193.07653 | 1348.105445 | 3000 | |
485.144189 | -1064.4965 | 0 | -780.86331 | 1213.638277 | 3000 |
图 8. 加入激光测距模块标定前后的定位误差
Fig. 8. Positioning error after calibration with and without laser ranging
5 结论
介绍了激光扫描投影系统的投影模型、标定模型和粒子群优化算法,并通过对粒子群优化算法参数的分析选取最优的学习因子
[1] Ahonen[\s]{1}S.[\s]{1}Laser[\s]{1}projection[\s]{1}system[\s]{1}for[\s]{1}truss[\s]{1}manufacturing:[\s]{1}US5430662[P/OL].1995-07-04[2019-03-10].[\s]{1}https:∥patents.google.com/patent/US5430662A/en.
[2] Kaufman[\s]{1}SP,[\s]{1}SavikovskyA,[\s]{1}Mohazzab[\s]{1}M.[\s]{1}Virtual[\s]{1}laser[\s]{1}projection[\s]{1}system[\s]{1}and[\s]{1}method:US9879983[P/OL].[\s]{1}2018-01-30[2019-03-10].[\s]{1}https:∥patents.google.com/patent/US20170038195.
[3] NakanoH,[\s]{1}SeyaN,[\s]{1}IgarashiD,[\s]{1}et[\s]{1}al.[\s]{1}Method[\s]{1}and[\s]{1}apparatus[\s]{1}for[\s]{1}laserprojection,[\s]{1}machining[\s]{1}method:US10094652[P/OL].[\s]{1}2018-10-09[2019-03-10].[\s]{1}https:∥patents.google.com/patent/US10094652B2/en.
[4] Kaufman[\s]{1}SP,[\s]{1}Savikovsky[\s]{1}A.Apparatus[\s]{1}and[\s]{1}method[\s]{1}for[\s]{1}projecting[\s]{1}a[\s]{1}3D[\s]{1}image:[\s]{1}US6547397[P/OL].2003-4-15[2019-03-11].[\s]{1}https:∥patents.google.com/patent/US6547397B1/en.
[5] Rueb[\s]{1}K.[\s]{1}Method[\s]{1}of[\s]{1}calibrating[\s]{1}laser[\s]{1}positions[\s]{1}relative[\s]{1}to[\s]{1}workpieces:[\s]{1}US5663795[P/OL].1997-09-02[\s]{1}[2019-03-11].[\s]{1}https:∥patents.google.com/patent/US5663795A.
[6] WiggD,[\s]{1}Rueb[\s]{1}K.[\s]{1}Method[\s]{1}of[\s]{1}calibrating[\s]{1}laser[\s]{1}projector[\s]{1}using[\s]{1}moving[\s]{1}reflector:[\s]{1}US5671053[P].1997-09-23[2019-03-11].[\s]{1}https:∥patents.google.com/patent/US5671053.
[7] 郭丽丽, 李丽娟, 侯茂盛, 等. 智能激光3D投影空间定位精度分析[J]. 红外与激光工程, 2018, 47(8): 131-139.
[8] Du[\s]{1}KL,[\s]{1}Swamy[\s]{1}M[\s]{1}N[\s]{1}S.[\s]{1}Particle[\s]{1}swarm[\s]{1}optimization[M][\s]{1}∥Search[\s]{1}and[\s]{1}optimization[\s]{1}by[\s]{1}metaheuristics.[\s]{1}Cham:[\s]{1}Springer,[\s]{1}2016:[\s]{1}153-[\s]{1}173.[\s]{1}
[10] 冯佩, 李俣. 基于人工神经网络和粒子群优化的半导体激光器参数反向设计方法[J]. 中国激光, 2019, 46(7): 0701001.
[11] 张元志, 刘勇, 候华毅, 等. 基于粒子群优化算法的生物组织固有荧光光谱复原方法[J]. 中国激光, 2016, 43(5): 0504001.
[12] 张梅, 张伟, 章鹏, 等. 光纤光栅谱形复用解调中粒子群算法的参数优化[J]. 中国激光, 2019, 46(6): 0606002.
[13] 龚纯,[\s]{1}王正林.[\s]{1}精通MATLAB最优化计算[M].[\s]{1}北京:[\s]{1}电子工业出版社,[\s]{1}2009:[\s]{1}270-[\s]{1}275.[\s]{1}
GongC,[\s]{1}Wang[\s]{1}ZL.[\s]{1}Proficient[\s]{1}in[\s]{1}MATLAB[\s]{1}optimization[\s]{1}calculation[M].[\s]{1}Beijing:[\s]{1}Publishing[\s]{1}House[\s]{1}of[\s]{1}Electronics[\s]{1}Industry,[\s]{1}2009:[\s]{1}270-[\s]{1}275.[\s]{1}
Article Outline
侯茂盛, 刘继强, 刘大礼, 陈雨情, 张旭, 范成博. 基于激光测距的激光扫描投影系统标定技术研究[J]. 中国激光, 2019, 46(10): 1004002. Maosheng Hou, Jiqiang Liu, Dali Liu, Yuqing Chen, Xu Zhang, Chengbo Fan. Research on Calibration Technology of Laser Scanning Projection System Based on Laser Ranging[J]. Chinese Journal of Lasers, 2019, 46(10): 1004002.