3-D position measurement algorithm based on laser displacement sensors
-
摘要: 为了实现空间高微重力主动隔振系统反馈控制回路设计,采用6个激光位移传感器对隔振平台上3个正交的定位面的位移进行测量,实现对其3维位置和姿态的解算,并给出了推导过程,通过数值仿真,实验验证了有效性,同时对于解算过程中的误差来源与其对解算结果的影响进行了分析,给出了误差影响因素与解算误差之间的关系。结果表明,此3维位置和姿态的解算算法能够准确地解算出隔振平台的3维位置和姿态,且理论解算误差在30μm以内。此研究对基于位移测量的反馈控制回路设计有一定的实用价值和发展前景。Abstract: In order to realize the design of feedback control circuit of space micro gravity active vibration isolation system, 6 laser displacement sensors were used to measure the displacements of 3 orthogonal positioning surfaces of vibration isolation platform. 3-D position and attitude were solved. And the derivation process was also given. The method was verified by numerical simulation and experimental test. The source of error and its influence on the result of calculation were analyzed. The relationship between error influence factors and calculation error was given. The results show that this algorithm can accurately calculate the 3-D position and attitude of a vibration isolation platform. The theoretical calculation error is less than 30μm. This research has some practical value and prospects for the design of feedback control loop based on displacement measurement.
-
引言
我国《食品安全国家标准食品添加剂使用标准》(GB 2760-2011)[1]中明确规定了食用合成色素允许使用的种类、用量及使用范围。许多食用合成色素具有一定的毒性,过量摄入将产生致畸、致癌的风险,需严格控制使用量[2]。
目前常用的成分检测方法有高效液相色谱法[3]、示波极谱法[4-5]、薄层色谱法[6-8]、毛细管电泳法[9-10]和光谱法[11]等。光谱法具有所需的样品量较少、避免了复杂的预处理过程、分析速度快等优点,可用于实时检测中。WANG等人利用普通3维荧光光谱结合自加权交替三线性算法,对中药胡黄连和人体尿液、血液循环系统中的香草酸进行了定量分析[12],香草酸的平均回收率(样本预测浓度和实际浓度比值的平均)分别是是98.4%, 93.1%, 89.7%。MAO等人对样本的同步荧光光谱数据进行预处理,选择不同波段的光谱,结合偏最小二乘法建立了原果汁含量预测模型,得到的预测均方根误差为0.035832,相关系数为0.972570[13]。WANG等人将样本普通3维荧光光谱数据,结合误差逆向传播神经网络,测定溶液中苯并荧蒽和苯并芘的质量浓度,平均回收率分别为99.19%和99.26%[14]。
同步荧光分析法具有窄化谱带、提高选择性[15]等优点,被应用于许多分析领域中,特别是对多组分混合物的测定。对混合物质中各成分含量的测定,目前多采用2维同步荧光光谱结合神经网络的方法。2维同步荧光光谱中,激发波长与发射波长的间隔Δλ的选择很关键,直接影响光谱的形状、带宽及信号强度[15]。Δλ的值可以从理论上做预测,当其等于斯托克斯位移(激发光和荧光之间波长的移动)时,获得荧光信号最强且半峰宽度最小的单峰2维同步荧光光谱。Δλ的值最终要通过实验来确认。与2维同步荧光光谱相比,3维同步荧光光谱[16]中Δλ为一个范围,含有更多荧光光谱数据,避免了有效荧光信息的丢失。3维同步荧光光谱数据为非线性结构,径向基(radial basis function, RBF)神经网络可以任意精度逼近非线性模型,结构简单、收敛速快,是非线性拟合的理想方法之一[17-18]。本文中采用3维同步荧光光谱结合径向基神经网络的方法,测定胭脂红、日落黄混合溶液中胭脂红[19]的浓度,得到了较好的结果。
1. 原理
1.1 3维同步荧光光谱
3维同步荧光光谱为荧光强度同时随激发波长、激发波长与发射波长的间隔(即Δλ)变化的关系图谱。3维同步荧光光谱有等角3维投影图[15]和等高线光谱图两种表现形式。本文中采用等高线光谱图。
1.2 径向基神经网络
径向基神经网络属于前向神经网络类型,由MOODY和DARKEN提出。径向基神经网络分为输入层、隐含层及输出层。隐含层空间为由RBF作为隐单元的“基”构成,输入矢量在隐含层中发生变换,在低维线性不可分的数据变换到高维空间,在高维空间实现线性可分[17-18]。因此,RBF适用于非线性模型。RBF神经网络能逼近任意非线性函数,广泛应用于模式识别、时间序列分析、非线性控制等领域。
2. 实验
2.1 试剂与仪器
实验中所用仪器为FLS920P荧光光谱仪(英国Edinburgh公司)、移液器等。由国家标准物质研究中心提供胭脂红、日落黄标准色素溶液。所用水为超纯水。
配制浓度为5μg/mL胭脂红、日落黄单体色素溶液。另配制成12组不同浓度的混合色素溶液样品,其中,待测物胭脂红在2μg/mL~5.5μg/mL、干扰物日落黄在0μg/mL~2μg/mL范围内。测量样品的3维同步荧光光谱和普通3维荧光光谱。
2.2 参量设置
5μg/mL胭脂红、日落黄单体色素溶液,3维同步荧光光谱激发波长为250nm~550nm,每隔2nm激发一次;Δλ在10nm~200nm范围内,每隔2nm进行同步扫描。普通3维荧光光谱激发波长在250nm~550nm范围内,每隔2nm激发一次;发射波长在260nm~750nm范围内,每隔2nm扫描一次。混合色素溶液,3维同步荧光光谱激发波长为250nm~350nm,每隔2nm激发一次;Δλ在10nm~200nm范围内,每隔2nm进行同步扫描。普通3维荧光光谱激发波长范围为250nnm~350nm,每隔2nm激发一次;发射波长260nm~550nm,每隔2nm扫描一次。入射和出射单色狭缝仪大小均为5nm,积分时间为0.1s。
3. 计算与讨论
3.1 数据处理
为便于神经网络的应用,需对荧光光谱数据进行归一化处理。利用下式将数据归一化到0.1~0.9:
y=0.1+0.8(x−xminxmax−xmin) (1) 式中, x, xmax, xmin分别表示光谱数据、光谱数据中的最大值和最小值; y表示归一化后的数据[20]。
归一化后的数据作为RBF神经网络的输入。RBF神经网络的输出为胭脂红的浓度。实验中采用交叉验证方法中的留一交互验证法,即对于n个样本,每次剔除一个作为预测样本,其余作为训练样本。实验共预测12次,11组作为训练样本,1组预测,12组样本均被预测一次。采用留一交互验验证法,可充分利用已有的样本,减少神经网络因训练样本的输入顺序不同而产生的随机性,减小误差,提高网络的稳定性[20]。以12组样本的平均相对误差,即相对误差绝对值的平均,来判定模型的准确性。与普通3维荧光光谱数据结合RBF神经网络算法预测结果对比,验证3维同步荧光光谱结合RBF神经网络,测定混合色素溶液中胭脂红的浓度具有优越性。
3.2 实验结果
5μg/mL胭脂红、日落黄单体色素溶液,在最佳激发波长下的发射谱如图 1所示。
实验中得到胭脂红、日落黄的荧光光谱特征参量如表 1所示。
Table 1. Features of fluorescence spectrapigment effective excitation wavelength range/nm optimum excitation wavelength/
nmfluorescence emission wavelength range/
nmfluorescence peak wavelength/
nmcarmine 260~350 336 400~510 450 sunset yellow 264~308 288 380~470 418 由胭脂红、日落黄在其最佳激发波长下的发射谱及其荧光特征参量表均可以看出,胭脂红与日落黄荧光峰的位置比较接近。
图 2为5μg/mL胭脂红溶液3维同步荧光光谱等高线图及普通3维荧光光谱等高线图。
图 2a和图 2b中荧光峰的个数相同,荧光特征参量相近。3维同步荧光光谱等高线图中光谱明显发生了窄化。
2维同步荧光光谱和普通3维荧光光谱分别结合RBF神经网络,计算得到的混合溶液中待测物胭脂红的预测浓度和相对误差分别见表 2。表中第1组、第2组样本胭脂红浓度均为2.04μg/mL,干扰物日落黄浓度不等。因表格空间限制,synchronous fluorescence代表3维同步荧光光谱。
Table 2. Relative error and predicted concentration of carmine by 3-D synchronous fluorescence using RBFactual concentration/
(μg·mL-1)predicted concentration of synchronous fluorescence/
(μg·mL-1)predicted concentration of three dimensional fluorescence/
(μg·mL-1)relative error of synchronous fluorescence prediction/
%relative error of three dimensional fluorescence prediction/
%2.04 2.014 2.150 -1.28 5.37 2.04 2.049 1.655 0.45 18.88 2.72 2.613 2.687 -3.93 -1.22 3.20 3.069 3.294 -4.11 2.95 3.52 3.408 3.133 -3.18 -11.00 3.76 3.776 3.896 0.43 3.61 3.82 3.822 3.793 0.05 0.70 4.3 4.362 3.453 1.44 -19.70 4.36 4.270 4.674 -2.08 7.19 4.52 4.197 5.434 -7.16 20.22 4.80 4.832 4.534 0.67 -5.55 5.26 4.760 3.315 -9.51 -36.98 average relative error/% 2.86 11.12 由表 2可知,3维同步荧光光谱结合RBF神经网络,测定胭脂红浓度,预测的平均相对误差为2.86%。普通3维荧光光谱结合RBF神经网络,预测结果平均相对误差为11.12%,3维同步荧光光谱平均相对误差减小了8.26%。图 3中示出了3维同步荧光光谱、普通3维荧光光谱结合RBF神经网络预测胭脂红浓度结果。x轴为实际浓度,y轴为预测浓度。从图 3可以看出, 3维同步荧光光谱预测结果均匀分布在直线y=x两侧,距离较近,表明预测结果较好。普通3维荧光光谱预测结果距离直线分布较远,表明预测结果较差。
3.3 分析与讨论
(1) 同步荧光分析法能够减小光谱重叠、窄化谱带、提高分辨率,对于多组分混合物的分析常采用该分析方法。3维同步荧光光谱中Δλ为一个范围,与2维同步荧光光谱相比,有效避免了有用荧光信息的丢失。可知,对混合色素溶液中各成分含量的检测,3维同步荧光光谱更具有优势。
(2) 3维同步荧光光谱数据为非线性结构,RBF神经网络适用于非线性模型。因此,测定日落黄、胭脂红两种荧光峰相近的混合色素溶液中胭脂红的浓度,3维同步荧光光谱结合RBF神经网络结果较好。
4. 结论
通过采用3维同步荧光光谱结合RBF神经网络算法的方法,预测荧光光谱重叠严重的胭脂红、日落黄混合溶液中胭脂红的浓度,预测结果平均相对误差为2.86%。结果表明,对于混合色素溶液各色素浓度测定,3维同步荧光光谱具有优越性。
-
Table 1 Installation position of laser displacement sensor
laser displacement sensor number x/m y/m z/m 1 0.1129 -0.2087 0.0000 2 -0.0846 -0.2087 0.0000 3 0.1259 0.0058 0.0000 4 0.1079 0.0000 -0.0270 5 -0.0676 0.0000 -0.0270 6 0.0000 -0.0100 -0.0270 Table 2 Condition number of coefficient matrix
i cond (Ai) cond (Ai)/‖Ai‖ 1 31.92 10.64 2 12.62 6.43 3 1.07 1.04 4 1 1 Table 3 Error caused by installation error
installation error/mm -20 -10 -5 -1 1 5 10 20 solving error/mm x1 0.47 0.23 0.12 0.023 0.023 0.12 0.23 0.47 y1 0.22 0.11 0.05 0.011 0.011 0.05 0.11 0.21 x2 0.46 0.23 0.12 0.02 0.02 0.12 0.23 0.46 y2 0.23 0.12 0.06 0.011 0.011 0.06 0.12 0.23 x3 0.19 0.10 0.05 0.01 0.01 0.05 0.09 0.19 y3 0.09 0.05 0.02 0.005 0.005 0.02 0.05 0.09 x4 0.29 0.14 0.07 0.01 0.01 0.07 0.14 0.29 z4 0.15 0.08 0.04 0.008 0.008 0.04 0.08 0.15 x5 0.44 0.22 0.11 0.02 0.02 0.11 0.22 0.44 z5 0.23 0.12 0.06 0.012 0.012 0.06 0.12 0.23 y6 0.70 0.35 0.18 0.04 0.04 0.18 0.35 0.70 z6 0.70 0.35 0.18 0.04 0.04 0.18 0.35 0.70 Table 4 Installation error and the estimated error
installation error/mm -20 -10 -5 -1 1 5 10 20 estimated error/mm 1.40 0.70 0.35 0.07 0.07 0.35 0.70 1.40 Table 5 Error caused by component error
component error/mm -1 -0.5 -0.1 -0.05 -0.01 0.01 0.05 0.1 0.5 1 solving error/mm 1.81 0.88 0.19 0.09 0.014 0.017 0.10 0.20 0.82 1.87 Table 6 Component error and the estimated error
component error/mm -1 -0.5 -0.1 -0.05 -0.01 0.01 0.05 0.1 0.5 1 estimated error/mm 2.33 1.16 0.23 0.12 0.02 0.02 0.12 0.23 1.16 2.33 -
[1] LI Z F. 3-D position measurement of active vibration isolation system under space microgravity[J]. Journal of Astronautics, 2010, 31(6):1625-1630(in Chinese). http://www.cqvip.com/Main/Detail.aspx?id=34500832
[2] DAI B, SUN Zh B, WANG F L, et al. Design of measurement and control system of position of electrostatic levitation based on PSD[J]. Transducer and Microsystem Technologies, 2015, 34(3):97-99(in Chinese). http://www.en.cnki.com.cn/Article_en/CJFDTotal-CGQJ201503030.htm
[3] ZHOU M L, BAI Z W. Design of the laser displacement measurement system based on 2D-PSD[J]. Foreign Electronic Measurement Technology, 2015, 34(2):64-66(in Chinese). http://en.cnki.com.cn/Article_en/CJFDTotal-GWCL201502015.htm
[4] CHANG W K, LI E, YANG G D, et al. Close-up measurement for 3-D position of power transmission line using stereo vision[J]. Journal of Huazhong University of Science and Technology (Natural Science Edition), 2015, 43(s1):144-147(in Chinese). http://www.en.cnki.com.cn/Article_en/CJFDTotal-HZLG2015S1035.htm
[5] ZHANG H B, LIU Sh R, ZHANG B T. Binocular vision position algorithm using hue-saturation histogram back-project combined with feature point extraction[J]. Control Theory & Applications, 2014, 31(5):614-632(in Chinese). http://cn.bing.com/academic/profile?id=722e8528ca212a92adbdd747aca70d67&encoded=0&v=paper_preview&mkt=zh-cn
[6] FUJIYOSHI H, SHIMIZU S, NISHI T, et al. Fast 3-D position measurement with two unsynchronized cameras[C]// IEEE International Symposium on Computational Intelligence in Robotics and Automation, 2003. New York, USA: IEEE, 2003: 1239-1244.
[7] SHAN L, KONG M, HOU R, et al. A three-dimensional coordinate measuring method based on ultrasonic sensor[J]. Transducer and Microsystem Technologies, 2013, 32(6):123-125(in Chinese). http://en.cnki.com.cn/article_en/cjfdtotal-cgqj201306036.htm
[8] ZHAO Y L, XU Zh L, LI K D. Laser micro-displacement measurement system based on CCD[J]. Laser Technology, 2003, 27(1):73-75(in Chinese). http://en.cnki.com.cn/Article_en/CJFDTOTAL-CGQJ200207011.htm
[9] ZHOU Y, ZHAO H, TAO W, et al. Adaptive control method for imaging parameters of image sensor in laser triangulation displacement meagsurement[J]. Laser Technology, 2010, 34(5):628-631(in Chinese). http://en.cnki.com.cn/Article_en/CJFDTOTAL-JGJS201005017.htm
[10] LIU Y, WANG Y. Present status and thrend of technical development of displacement sensor[J]. Techniques of Automation and Applications, 2013, 32(6):76-80(in Chinese). http://en.cnki.com.cn/Article_en/CJFDTOTAL-ZDHJ201306021.htm
[11] FENG J Y, FENG Q B, KUANG C F. Present status of high precision laser displacement sensor based on triangulation[J]. Journal of Applied Optics, 2004, 25(3):33-36(in Chinese). http://en.cnki.com.cn/Article_en/CJFDTOTAL-YYGX200403011.htm
[12] FENG Zh J. Principle of mechanical manufacturing engineering [M]. Beijing:Tsinghua University Press, 2008:209-211(in Chinese).
[13] WU J F, WANG W, CHEN Z Ch. Study on the analysis for error in triangular laser measurement and the method of improving accuracy[J]. Journal of Mechanical & Electrical Engineering, 2003, 20(5):89-91(in Chinese). http://en.cnki.com.cn/Article_en/CJFDTOTAL-jdgc200305035.htm
[14] CHEN H, LÜ Ch, CHE Y, et al. Analysis on the object surface tilt effect on the measurement error of laser triangulation method [J]. Journal of Changchun University of Science and Technology (Natural Science Edition), 2015, 38(1):17-20(in Chinese). http://en.cnki.com.cn/article_en/cjfdtotal-cgjm201501005.htm
[15] YU P Zh. The analysis of error and study on improvement measures in the detection of displacement by laser triangulation [D]. Changchun: Changchun University of Science and Technology, 2013: 13-27(in Chinese).
[16] LI Q Y. Principle of numerical calculation [M]. Beijing: Tsinghua University Press, 2000:167-168(in Chinese).
-
期刊类型引用(3)
1. 刘沐涵,陈国庆,肖榕阳,徐煜杰,陈哲涵,蔡纪元. 基于3维荧光光谱技术的含乳饮料分类研究. 激光技术. 2021(03): 303-306 . 本站查看
2. 廖彩淇,孙长虹,杨潇,靳皓,董虹余,杨仁杰. 紫外吸收和荧光光谱检测红茶中的胭脂红色素. 食品工业. 2019(03): 296-299 . 百度学术
3. 宋鑫澍,陈国庆,朱焯炜,马超群,朱纯,张笑河,刘怀博,朱从海. 3维荧光光谱测定白酒年份酒中乙酸的体积分数. 激光技术. 2018(04): 531-535 . 本站查看
其他类型引用(1)