留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

融合遗传算法和BP神经网络的光斑定位方法

张景源 陈北北 杨永兴 朱庆生 李金鹏 赵金标

张景源, 陈北北, 杨永兴, 朱庆生, 李金鹏, 赵金标. 融合遗传算法和BP神经网络的光斑定位方法[J]. 中国光学(中英文), 2023, 16(2): 407-414. doi: 10.37188/CO.2022-0084
引用本文: 张景源, 陈北北, 杨永兴, 朱庆生, 李金鹏, 赵金标. 融合遗传算法和BP神经网络的光斑定位方法[J]. 中国光学(中英文), 2023, 16(2): 407-414. doi: 10.37188/CO.2022-0084
ZHANG Jing-yuan, CHEN Bei-bei, YANG Yong-xing, ZHU Qing-sheng, LI Jin-peng, ZHAO Jin-biao. Positioning algorithm for laser spot center based on BP neural network and genetic algorithm[J]. Chinese Optics, 2023, 16(2): 407-414. doi: 10.37188/CO.2022-0084
Citation: ZHANG Jing-yuan, CHEN Bei-bei, YANG Yong-xing, ZHU Qing-sheng, LI Jin-peng, ZHAO Jin-biao. Positioning algorithm for laser spot center based on BP neural network and genetic algorithm[J]. Chinese Optics, 2023, 16(2): 407-414. doi: 10.37188/CO.2022-0084

融合遗传算法和BP神经网络的光斑定位方法

基金项目: 国家自然科学基金(No.12003067)
详细信息
    作者简介:

    张景源(1997—),男,河南商丘人,硕士研究生,2019年于东南大学获得学士学位,现于中国科学技术大学攻读硕士学位,主要从事天文仪器的计算机控制系统及图像处理方面的研究。E-mail:jyzhangx@mail.ustc.edu.cn

    朱庆生(1969—),男,江苏连云港人,研究员,硕士生导师,1992年于南京大学获得学士学位,主要从事天文仪器的软件系统设计方面的研究。E-mail:85482014@163.com

  • 中图分类号: TP249

Positioning algorithm for laser spot center based on BP neural network and genetic algorithm

Funds: Supported by National Natural Science Foundation of China (No.12003067)
  • 摘要:

    针对振动环境中传统光斑中心定位算法存在的处理时间长、精度低等问题,本文提出一种基于遗传算法优化BP神经网络的光斑定位方法。使用BP神经网络对光斑位置进行预测,并通过遗传算法对神经网络进行优化。构建BP神经网络模型,将使用质心、形心、高斯拟合等方法求出的光斑中心位置以及形心法求出的光斑半径作为输入,对光斑真实中心位置进行预测。并使用遗传算法优化神经网络的权值和阈值,以增强预测效果。实验过程中,通过对光学系统外加干扰模拟振动环境,采集数据用于神经网络训练和算法验证。实验结果表明,优化前后的标定测试迭代次数分别为55和29,平均误差分别为0.81像素和0.45像素。由本文结果可知,在遗传算法的优化下,神经网络算法的迭代速度和预测精度均有所提高。

     

  • 图 1  遗传算法优化BP神经网络流程图

    Figure 1.  Flow chart of genetic algorithm combined with BP neural network

    图 2  传统的BP神经网络结构

    Figure 2.  Structure of traditional BP neural network

    图 3  本文构建的神经网络模型

    Figure 3.  Structure of the proposed neural network model

    图 4  实验硬件平台

    Figure 4.  Experimental hardware platform

    图 5  光斑在x轴抖动情况

    Figure 5.  The vibration curves along x-axis for the spot center

    图 6  激光光斑图像

    Figure 6.  Laser spot image

    图 7  BP神经网络训练曲线

    Figure 7.  Training curve of BP neural network

    图 8  GA-BP神经网络训练曲线

    Figure 8.  Training curve of GA-BP neural network

    图 9  两种网络预测结果与实际位置

    Figure 9.  Performance comparison of two network prediction methods

    图 10  进行控制后光斑沿x轴的变化情况

    Figure 10.  The vibration curves along x-axis for the spot center under controlling

    表  1  训练数据

    Table  1.   Training data

    Grayscale
    centering
    centroidGaussian
    fitting
    radiusActual
    Coordinate
    (252.30,
    305.11)
    (255.43,
    309.27)
    (254.17,
    307,91)
    7(253.30,
    307,11)
    下载: 导出CSV

    表  2  两种网络性能对比

    Table  2.   Performance comparison of the two neural networks

    Neural NetworkBPGA-BP
    Number of iterations5529
    Mean error/pixel0.760.42
    下载: 导出CSV

    表  3  两种网络预测方法的性能测试结果

    Table  3.   Performance test results by the two neural networks

    Neural NetworkBPGA-BP
    Number of iterations4732
    Mean error/pixel1.210.73
    下载: 导出CSV
  • [1] 徐抒岩, 张旭升, 范阔, 等. 大型光学系统波前检测中气流扰动的抑制[J]. 光学 精密工程,2020,28(1):80-89. doi: 10.3788/OPE.20202801.0080

    XU SH Y, ZHANG X SH, FAN K, et al. Suppression of airflow turbulence in wavefront measurement for large-aperture optical systems[J]. Optics and Precision Engineering, 2020, 28(1): 80-89. (in Chinese) doi: 10.3788/OPE.20202801.0080
    [2] 周睿, 李新阳, 沈锋, 等. 基于两级高速倾斜镜闭环控制的光束稳定技术研究[J]. 光学学报,2016,36(12):1214002. doi: 10.3788/AOS201636.1214002

    ZHOU R, LI X Y, SHEN F, et al. Laser beam stabilizing system based on close loop control of two fast steering mirrors in series[J]. Acta Optica Sinica, 2016, 36(12): 1214002. (in Chinese) doi: 10.3788/AOS201636.1214002
    [3] 周睿. 自适应光学实时信号处理及优化控制技术研究[D]. 成都: 中国科学院光电技术研究所, 2017.

    ZHOU R. Real time signal processing and optimal control technology on adaptive optics systems[D]. Chengdu: Institute of Optics and Electronics, Chinese Academy of Sciences, 2017. (in Chinese)
    [4] GANESAN A R, ARULMOZHIVARMAN P, MOHAN D, et al. Laser beam steering control system for free-space line of sight optical communication[J]. IETE Journal of Research, 2006, 52(6): 417-424. doi: 10.1080/03772063.2006.11416482
    [5] ARNON S, KOPEIKA N S, KEDAR D, et al. Performance limitation of laser satellite communication due to vibrations and atmospheric turbulence: down‐link scenario[J]. International Journal of Satellite Communications and Networking, 2003, 21(6): 561-573. doi: 10.1002/sat.769
    [6] 杨滨赫, 蔡引娣, 文志祥, 等. 长距离激光测量中光束漂移的自动补偿[J]. 光学 精密工程,2020,28(11):2393-2402. doi: 10.37188/OPE.20202811.2393

    YANG B H, CAI Y D, WEN ZH X, et al. Automatic compensation method for beam drift in long-distance laser measurement[J]. Optics and Precision Engineering, 2020, 28(11): 2393-2402. (in Chinese) doi: 10.37188/OPE.20202811.2393
    [7] 孙晶, 黄普明, 幺周石. 大气湍流与平台微振动影响下的星地激光通信性能[J]. 激光与光电子学进展,2021,58(3):0301003.

    SUN J, HUANG P M, YAO ZH SH. Performance of satellite-to-ground laser communications under the influence of atmospheric turbulence and platform micro-vibration[J]. Laser &Optoelectronics Progress, 2021, 58(3): 0301003. (in Chinese)
    [8] 李海廷, 胡鑫, 曾双, 等. 大气湍流对半主动激光制导中光斑检测精度的影响[J]. 兵工学报,2021,42(2):297-307. doi: 10.3969/j.issn.1000-1093.2021.02.008

    LI H T, HU X, ZENG SH, et al. Influence of atmospheric turbulence on detection accuracy of laser spot[J]. Acta Armamentarii, 2021, 42(2): 297-307. (in Chinese) doi: 10.3969/j.issn.1000-1093.2021.02.008
    [9] ZHU W, RUI X T. Adaptive control of a piezo-actuated steering mirror to restrain laser-beam jitter[J]. IEEE Transactions on Industrial Electronics, 2019, 66(10): 7873-7881. doi: 10.1109/TIE.2018.2885731
    [10] 蒋佳雯, 康杰虎, 吴斌. 激光光斑中心高精度定位补偿算法研究[J]. 激光与光电子学进展,2021,58(14):1412002.

    JIANG J W, KANG J H, WU B. High precision positioning and compensation algorithm for laser spot center[J]. Laser &Optoelectronics Progress, 2021, 58(14): 1412002. (in Chinese)
    [11] 任守峰, 唐新明, 祝小勇, 等. 一种高分七号卫星激光足印光斑质心的高精度提取算法[J]. 光学学报,2021,41(10):1012001. doi: 10.3788/AOS202141.1012001

    REN SH F, TANG X M, ZHU X Y, et al. A high-precision extraction algorithm for centroid of laser footprint spot of GF-7 satellite[J]. Acta Optica Sinica, 2021, 41(10): 1012001. (in Chinese) doi: 10.3788/AOS202141.1012001
    [12] 伍煜, 龙小祥, 杨坚, 等. 高分七号卫星足印相机激光光斑中心定位方法研究[J]. 光学学报,2021,41(17):1728001. doi: 10.3788/AOS202141.1728001

    WU Y, LONG X X, YANG J, et al. Laser spot center positioning method in gaofen-7 footprint camera[J]. Acta Optica Sinica, 2021, 41(17): 1728001. (in Chinese) doi: 10.3788/AOS202141.1728001
    [13] 王丽丽, 胡中文, 季杭馨. 基于高斯拟合的激光光斑中心定位算法[J]. 应用光学,2012,33(5):985-990.

    WANG L L, HU ZH W, JI H X. Laser spot center location algorithm based on Gaussian fitting[J]. Journal of Applied Optics, 2012, 33(5): 985-990. (in Chinese)
    [14] 董书舟, 强佳, 舒嵘. 基于Hough变换的天基激光测距轨迹提取算法[J]. 半导体光电,2021,42(3):430-436.

    DONG SH ZH, QIANG J, SHU R. Space-based laser ranging trajectory extraction algorithm based on Hough transform[J]. Semiconductor Optoelectronics, 2021, 42(3): 430-436. (in Chinese)
    [15] 潘登, 李艳丽, 高东, 等. 基于椭圆拟合的多光斑/重叠光斑中心提取方法[J]. 光学学报,2020,40(14):1410001. doi: 10.3788/AOS202040.1410001

    PAN D, LI Y L, GAO D, et al. Center extraction method of multiple and overlapping faculae based on ellipse fitting[J]. Acta Optica Sinica, 2020, 40(14): 1410001. (in Chinese) doi: 10.3788/AOS202040.1410001
    [16] 安哲. 大气湍流下的光斑定位方法研究[D]. 哈尔滨: 哈尔滨工业大学, 2019.

    AN ZH. Study on the method of spot location under atmospheric turbulence[D]. Harbin: Harbin Institute of Technology, 2019. (in Chinese)
    [17] 刘岳飞. 基于光流法的星间光通信信标光识别跟踪算法研究[D]. 哈尔滨: 哈尔滨工业大学, 2017.

    LIU Y F. Study on the reconition and tracking algorithm of the beacon for intersatellite laser communications based on optical flow method[D]. Harbin: Harbin Institute of Technology, 2017. (in Chinese)
    [18] 曹瑜彬. 基于深度学习的大气光场传输和光斑质心位置分析及预测[D]. 哈尔滨: 哈尔滨工业大学, 2020.

    CAO Y B. Deep learning based prediction and analysis for light fields propagating through atmosphere and optical image centroid position[D]. Harbin: Harbin Institute of Technology, 2020. (in Chinese)
    [19] 梁慧慧, 何秋生, 贾伟振, 等. 一种多特征融合的目标跟踪算法[J]. 液晶与显示,2020,35(6):583-594.

    LIANG H H, HE Q SH, JIA W ZH, et al. Multi-feature fusion target tracking algorithm[J]. Chinese Journal of Liquid Crystals and Displays, 2020, 35(6): 583-594. (in Chinese)
    [20] 兰旭婷, 郭中华, 李昌昊. 基于注意力与特征融合的光学遥感图像飞机目标检测[J]. 液晶与显示,2021,36(11):1506-1515. doi: 10.37188/CJLCD.2021-0088

    LAN X T, GUO ZH H, LI CH H. Attention and feature fusion for aircraft target detection in optical remote sensing images[J]. Chinese Journal of Liquid Crystals and Displays, 2021, 36(11): 1506-1515. (in Chinese) doi: 10.37188/CJLCD.2021-0088
    [21] 张博, 龙慧, 刘刚. 基于特征约束与光流场模型的多通道视频目标跟踪算法[J]. 液晶与显示,2021,36(11):1554-1564. doi: 10.37188/CJLCD.2021-0113

    ZHANG B, LONG H, LIU G. Multi-channel video target tracking algorithm based on feature constraint and optical flow field model[J]. Chinese Journal of Liquid Crystals and Displays, 2021, 36(11): 1554-1564. (in Chinese) doi: 10.37188/CJLCD.2021-0113
    [22] 迟书凯, 叶旋, 高翔, 等. 基于编码标记点的高精度运动估计[J]. 光学 精密工程,2021,29(7):1720-1730. doi: 10.37188/OPE.20212907.1720

    CHI SH K, YE X, GAO X, et al. Coded marker-based high-accuracy motion estimation[J]. Optics and Precision Engineering, 2021, 29(7): 1720-1730. (in Chinese) doi: 10.37188/OPE.20212907.1720
    [23] 王向周, 陈冬清, 郑戍华, 等. 基于改进遗传优化算法的线阵相机标定方法[J]. 北京理工大学学报,2020,40(8):861-866. doi: 10.15918/j.tbit1001-0645.2019.239

    WANG X ZH, CHEN D Q, ZHENG SH H, et al. A linear array camera calibration method based on improved genetic optimization algorithm[J]. Transactions of Beijing Institute of Technology, 2020, 40(8): 861-866. (in Chinese) doi: 10.15918/j.tbit1001-0645.2019.239
  • 加载中
图(10) / 表(3)
计量
  • 文章访问数:  797
  • HTML全文浏览量:  429
  • PDF下载量:  354
  • 被引次数: 0
出版历程
  • 收稿日期:  2022-04-28
  • 修回日期:  2022-05-09
  • 录用日期:  2022-08-24
  • 网络出版日期:  2022-08-24

目录

    /

    返回文章
    返回