大气与环境光学学报 ›› 2024, Vol. 19 ›› Issue (6): 611-623.doi: 10.3969/j.issn.1673-6141.2024.06.001

• 大气光学 • 上一篇    

基于机器视觉的光学雨滴谱仪方案研究与实现

赵鹏 1, 张洪玮 1, 吴松华 1,2*   

  1. 1 中国海洋大学信息科学与工程学部海洋技术学院, 山东 青岛 266100; 2 崂山实验室区域海洋动力学与数值模拟功能实验室, 山东 青岛 266237
  • 收稿日期:2023-08-30 修回日期:2024-03-05 出版日期:2024-11-28 发布日期:2024-12-05
  • 通讯作者: E-mail: wush@ouc.edu.cn E-mail:wush@ouc.edu.cn
  • 作者简介:赵 鹏 (1993- ), 山东青岛人, 硕士研究生, 主要从事光学雨滴谱仪方面的研究。E-mail: zhaopeng@stu.ouc.edu.cn
  • 基金资助:
    国家自然科学基金 (42106182, 61975191), 山东省自然科学基金青年项目 (ZR2021QD052)

Research and implementation of optical raindrop spectrometer based on machine vision

ZHAO Peng 1, ZHANG Hongwei 1, WU Songhua 1,2*   

  1. 1 College of Marine Technology, Faculty of Information Science and Engineering, Ocean University of China, Qingdao 266100, China; 2 Laboratory for Regional Oceanography and Numerical Modeling, Laoshan Laboratory, Qingdao 266237, China
  • Received:2023-08-30 Revised:2024-03-05 Online:2024-11-28 Published:2024-12-05

摘要: 雨滴谱是描述降水微物理特征的重要参数, 对于改善雷达定量降水估计、研究降水微物理性质及认识降水演 变过程具有关键作用。为实现雨滴的尺度和尾速的同步测量, 本文提出了一种基于机器视觉原理的光学雨滴测量方 法, 设计了以双远心镜头、远心光源和线阵相机为核心的系统方案, 并搭建了光学雨滴谱仪样机。数据处理与分析系 统以微软基础类库 (MFC) 为框架, 调用相机软件开发包 (SDK), 联合Halcon 软件开发了一款雨滴实时自动化测量软 件。利用Canny 算法对所得图像进行亚像素边缘检测, 使用插值算法修复雨滴轮廓, 最后根据还原后的雨滴图像计算 出雨滴的尺度和尾速, 从而实现雨滴的自动化测量。利用钢球和水滴进行了定标检验, 使用标准量棒实验对仪器测 量范围进行了标定。检测结果表明该雨滴谱仪对0.6~5.0 mm之间的钢球直径测量误差小于21 μm, 速度反演误差小 于4.5%; 而对水滴的测量标准差为26 μm, 证明该仪器可以同时测量粒子的尺度和尾速, 并在测量运动粒子方面表现 出良好的准确性和一致性。

关键词: 雨滴谱仪, 机器视觉, 边缘检测

Abstract: Raindrop spectrum is a critical parameter for describing the microphysical characteristics of precipitation, so its accurate measurement plays a pivotal role in enhancing radar-based quantitative precipitation estimation, investigating microphysical properties of precipitation, and understanding the evolution process of precipitation. To achieve synchronous measurement of raindrop size and terminal velocity, we propose an optical raindrop measurement method based on machine vision principles, design a system with a dual telecentric lens configuration, a telecentric light source, and a linear array camera as the core, and constuct a prototype of an optical raindrop spectrometer in this paper. The data processing and analysis system of the spectrometer, is based on the Microsoft Foundation Classes (MFC) framework, and a real-time automated raindrop measurement software is developed utilizing the camera software development kit (SDK) in conjunction with Halcon software. The Canny algorithm is employed for subpixel edge detection of the acquired images, interpolation algorithms are applied to restore raindrop contours, and finally based on the restored raindrop images, the size and terminal velocity of raindrops are computed, thus achieving automated measurement of raindrops. Calibration tests are conducted using steel spheres and water droplets, with calibration of the instrument's measurement range being performed using a standard gauge block. The calibration results show that the raindrop spectrometer has a measurement error of less than 21 μm and a velocity inversion error below 4.5% for steel sphere diameters between 0.6 and 5.0 mm, and the standard deviation for droplet measurements is 26 μm, indicating that the instrument can concurrently measure particle size and terminal velocity, and has good accuracy and consistency in measuring moving particles.

Key words: raindrop spectrometer, machine vision, edge detection

中图分类号: