摘要
针对现有水表检定装置检定效率低、信息管理功能不足等问题,对水表指针识别、消除气泡影响、检定台自动化改造等方面进行了研究,提出了一种基于机器视觉的水表在线检测系统。采用距离法读取水表指针读数,通过模板匹配,旋转校正水表图像,利用极坐标变换,将子表盘展开成矩形,并集成二维码识别模块,实现了对水表的检定与数据保存;设计了上行走机构带动相机移动拍照,使用单个相机完成了5个工位水表图像的采集。研究结果表明:与人工肉眼读表和手工记录读数方法相比,该检测方法能确保水表的检定精度,同时提高了检定效率,并且检定数据可溯源。
Aiming at the problems of low calibration efficiency and insufficient information management function of existing water meter calibration devices, the identification of water meter pointer, eliminating the influence of bubbles, and the automatic transformation of calibration platform were studied. A kind of on-line water meter detection system based on machine vision was proposed, distance method was used to read water meter pointer reading and passed through template matching, the water meter image were rotated and corrected, polar coordinate transformation was used to expand the sub-dial into a rectangle, and two-dimensional code recognition module were integrated, the verification and data preservation of the water meter was realized. A walking mechanism was designed to drive the camera to take pictures, and a single camera was used to collect images of water meters at five stations.The results indicate that compared with manual reading and manual recording, this method can ensure the accuracy of water meter, improve the efficiency of verification, and make the calibration data traceable.
引文
[1] 骆兆松.基于高速摄像的全自动水表检定装置及管理信息系统的设计与实现[D].山东:山东大学软件学院,2017.
[2] 陈硕,刘丰,唐旭晟,骆腾斌.基于机器视觉技术的水表在线检定系统研究[J].计量学报,2017,38(4):473-476.
[3] 吕露.基于自动识别技术的水表检定系统研究[D].北京:北京工业大学电子信息与控制工程学院,2016.
[4] 李静,张宁,张岩,等.Hough变换的改进及其在指针式水表识别过程中的应用[J].北京石油化工学院学报,2015,23(1):58-64.
[5] 李静.基于图像处理的指针式水表检定系统的研究与设计[D].北京:北京化工大学石油化工学院,2015.
[6] PANG L S L,W. CHAN W L.Computer vision application in automatic meter calibration[J]. Conference Record-ias Meeting, 2005(3): 1731-1735.
[7] YANG Zhi-juan, NIU Wen-han, PENG Xiao-jiang, et al. An image-based intelligent system for pointer instrument reading[C]. 2014 4th IEEE International Conference on Information Science and Technology,Shenzhen: IEEE, 2014.
[8] 汤思孟,赵杰煜,陆晓峰.基于机器视觉技术的水表新型检定方法[J].计量学报,2015,36(1):54-57.
[9] 骆腾斌,陈硕,赵紫阳,等.基于机器视觉算法的轴承套端面缺陷检测研究[J].机电工程,2018,35(2):148-152.
[10] 尹红敏,葛广英,肖海俊,等.基于Halcon的指针式仪表的读数[J].现代电子技术,2016,39(17):16-19.