纺织学报2022,Vol.43Issue(10) :176-182.DOI:10.13475/j.fzxb.20210101107

基于图像处理的选针器检测系统

Needle selector detection system based on image processing

袁嫣红 曾洪铭 茅木泉
纺织学报2022,Vol.43Issue(10) :176-182.DOI:10.13475/j.fzxb.20210101107

基于图像处理的选针器检测系统

Needle selector detection system based on image processing

袁嫣红 1曾洪铭 1茅木泉2
扫码查看

作者信息

  • 1. 浙江理工大学 浙江省现代纺织装备技术重点实验室,浙江 杭州 310018
  • 2. 杭州高腾机电科技有限公司,浙江 杭州 310018
  • 折叠

摘要

为提高选针器的检验效率,设计了一套基于图像处理的全自动选针器检验系统。 该系统由普通工业相机、选针器控制器、选针器放置平台及计算机组成,采用刀头在两极限位置的灰度值来实现选针器的检验。 通过分析选针器刀头的摆动规律,验证利用选针器刀头的灰度值判断刀头摆动运行的可行性;借助Python软件实现图像获取与裁剪,结合Otsu、轮廓检测、图像腐蚀等算法提取每个刀头的灰度值,并通过与预先求解的阈值相比较,实现刀头正常工作的测量与判断。 结果表明:设计的人机交互界面可实时显示检验情况,同时可实时保存选针器工作失误帧的图片于指定目录、错误日志于指定文件内,可供查阅和分析;此外,该系统对工作环境要求低,系统成本低廉,通过对模拟出错的选针器进行实际测试,证明该检验系统可有效实现选针器刀头的检测。

Abstract

In order to improve the inspection efficiency for needle selectors, a set of automatic needle selector inspection system based on image processing was designed. The system was composed of an ordinary industrial camera, a needle selector controller, a needle selector placement platform and a personal computer. The needle selector is checked by the gray value of the knife head at the two extreme positions. By analyzing the swing rule of the needle selector knife head, the feasibility of using the gray value of the needle selector knife head to judge the knife head swing operation was verified. The Python software was adopted to achieve image acquisition and cropping, and gray value of each cutter head was efficiently extracted by combine Otsu, contour detection, image erosion and other algorithms. The results were compared with the pre-solved threshold to achieve normal operation of the cutter head measurement and judgment. The designed human-computer interaction interface can display the inspection status in real time, and it saves the pictures of the error frames of the needle selector in the designated directory and the error log in the designated file for reference and analysis. The completed system has low cost and no special experimental environment requirements. The actual test of the needle selector that simulates error indicates that the inspection system can effectively realize the detection of the needle selector blade.

关键词

选针器/故障检测/图像处理/灰度值/全局快门/圆纬机

Key words

needle selector/trouble shooting/image processing/grayscale value/global shutter/circular weft knitling machine

引用本文复制引用

基金项目

浙江省科技计划项目(2022C01202)

国家自然科学基金联合基金重点项目(U1609205)

出版年

2022
纺织学报
中国纺织工程学会

纺织学报

CSTPCDCSCD北大核心
影响因子:0.699
ISSN:0253-9721
参考文献量9
段落导航相关论文