电子科技 ›› 2023, Vol. 36 ›› Issue (6): 8-15.doi: 10.16180/j.cnki.issn1007-7820.2023.06.002

• • 上一篇    下一篇

基于图像处理的可见光通信自动对准系统

苑振博,白勃,张晓薇,罗柳君,尚韬   

  1. 西安电子科技大学 通信工程学院,陕西 西安 710071
  • 收稿日期:2021-12-08 出版日期:2023-06-15 发布日期:2023-06-20
  • 作者简介:苑振博(1998-),男,硕士研究生。研究方向:可见光室内定位技术。|白勃(1985-),男,博士,副教授。研究方向:可见光通信技术、无线射频通信技术、无线定位技术。
  • 基金资助:
    国家自然科学基金(61801356);陕西省重点研发计划(2020ZDLGY05-02)

Automatic Alignment System for Visible Light Communication Based on Image Processing

YUAN Zhenbo,BAI Bo,ZHANG Xiaowei,LUO Liujun,SHANG Tao   

  1. School of Communication Engineering,Xidian University,Xi'an 710071,China
  • Received:2021-12-08 Online:2023-06-15 Published:2023-06-20
  • Supported by:
    National Natural Science Foundation of China(61801356);Shaanxi Key R&D Program(2020ZDLGY05-02)

摘要:

为提高可见光下行链路的通信质量,文中搭建了基于OpenMV的可见光通信自动对准系统。该系统基于图像处理和颜色识别等技术,实现室内白光LED(Light Emitting Diode)的自动识别。系统通过灰度质心法确定白光LED的质心坐标,并使用PID(Proportional Integral Differential)算法驱动舵机实现室内白光LED的跟踪。实验结果表明,在接收距离2 m处,可见光通信自动对准系统能在多种运动轨迹下实现白光LED的自动对准,最大对准角度误差小于0.534°。此外,无论是白光LED被遮挡还是存在干扰光源,系统仍能保持良好的跟踪效果,表明系统具有良好的鲁棒性。

关键词: 可见光通信, 自动对准, 图像处理, OpenMV, 白光LED, 颜色识别, PID算法, 鲁棒性

Abstract:

In order to improve the communication quality of visible light downlink, an automatic alignment system for visible light communication based on OpenMV is designed in this study. The system realizes automatic recognition of indoor white LED is based on image processing and color recognition. The system uses gray-scale centroid method to determine the centroid coordinates of white LED, and the PID algorithm is used to drive steering gears to achieve the tracking of the indoor white light LED. The experimental results show that the automatic alignment system of visible light communication can realize the automatic alignment of white LED under various motion trajectories at the receiving distance of 2 m, and the maximum alignment angle error is less than 0.534°. In addition, whether the white LED is blocked or there is an interfering light source, system can still maintain the good tracking effect, indicating that system has good robustness.

Key words: visible light communication, automatic alignment, image processing, OpenMV, white light LED, color recognition, PID algorithm, robustness

中图分类号: 

  • TN929.1