《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 測(cè)試測(cè)量 > 設(shè)計(jì)應(yīng)用 > 基于視覺(jué)的連接器特征辨識(shí)
基于視覺(jué)的連接器特征辨識(shí)
2020年電子技術(shù)應(yīng)用第10期
喬景慧,趙校偉,何鑫達(dá)
沈陽(yáng)工業(yè)大學(xué) 機(jī)械工程學(xué)院,遼寧 沈陽(yáng)110870
摘要: 單目視覺(jué)識(shí)別系統(tǒng)中,工件的高度不同會(huì)導(dǎo)致測(cè)量直徑尺寸的誤差。通過(guò)單目相機(jī)識(shí)別圖像的高度特征信息與直徑特征信息,完成工件的準(zhǔn)確測(cè)量識(shí)別。提出了一種工件多特征組合辨識(shí)的方法識(shí)別連接器。通過(guò)識(shí)別工件中心以及對(duì)工件所形成的陰影在指定的測(cè)量方向進(jìn)行陰影長(zhǎng)度測(cè)量,通過(guò)工件的高度和直徑兩個(gè)特征元素,識(shí)別工件的尺寸及類型。采用形態(tài)學(xué)閉運(yùn)算對(duì)圖像處理,而后獲取工件的中心。在測(cè)量的方向上采用Halcon封裝的邊緣檢測(cè)算法檢測(cè)到亞像素邊緣,而后處理獲得陰影的長(zhǎng)度尺寸。再根據(jù)組合特征確定工件類型。實(shí)驗(yàn)表明,所提出的工件多特征組合辨識(shí)的方法能夠準(zhǔn)確識(shí)別工件的特征,此方法能夠準(zhǔn)確區(qū)分不同工件,完成自動(dòng)化生產(chǎn)的辨識(shí)工作。
中圖分類號(hào): TN06;TP271
文獻(xiàn)標(biāo)識(shí)碼: A
DOI:10.16157/j.issn.0258-7998.191427
中文引用格式: 喬景慧,趙校偉,何鑫達(dá). 基于視覺(jué)的連接器特征辨識(shí)[J].電子技術(shù)應(yīng)用,2020,46(10):97-101,105.
英文引用格式: Qiao Jinghui,Zhao Xiaowei,He Xinda. Feature identification of connector based on vision[J]. Application of Electronic Technique,2020,46(10):97-101,105.
Feature identification of connector based on vision
Qiao Jinghui,Zhao Xiaowei,He Xinda
College of Mechanical Engineering,Shenyang University of Technology,Shenyang 110870,China
Abstract: In the monocular vision recognition system, the measuring error of the diameter can be caused due to the different height of the workpiece. Accurate recognition of workpiece is completed by measurjing the height and diameter feature information of the workpiece. A methodology was proposed by integrating with multi-feature, that is the height and diameter feature.The length of the shadow in the specified measuring direction is measured by identifying the center of the workpiece.The size and type of the workpiece are identified by the height and diameter of the workpiece. The closed operation of morphology is used to process the image, and then the center of the workpiece is obtained. In the direction of measurement, the edge detection algorithm with Halcon package is used to detect the subpixel edge, and then the length of the shadow is obtained by post-processing. The workpiece type is determined according to combining features. A test show, the method of multi-feature combination identification of the workpiece proposed in this paper can accurately identify the characteristics of the workpiece, and this method can accurately distinguish different workpiece to complete the identification of automatic production.
Key words : monocular vision;connector;workpiece recognition;morphological closed operation;Halcon

0 引言

    目前在產(chǎn)品的自動(dòng)化生產(chǎn)中視覺(jué)系統(tǒng)占據(jù)了很大的比重。采用圖像的測(cè)量技術(shù)不需要直接接觸測(cè)量對(duì)象效率高,同時(shí)視覺(jué)系統(tǒng)的采用可以極大提高自動(dòng)化程度[1-2],圖像的采集、處理、分析可由計(jì)算機(jī)程序設(shè)定,極大地提高生產(chǎn)效率[3-4]。而在自動(dòng)化生產(chǎn)領(lǐng)域,視覺(jué)系統(tǒng)應(yīng)用范圍很廣,應(yīng)用范圍涵蓋到工業(yè)元件的尺寸測(cè)量、物體形狀檢測(cè)、模式識(shí)別、模板匹配等諸多方面[5-6]。但是目前自動(dòng)化生產(chǎn)中所采用的視覺(jué)系統(tǒng),由于存在相機(jī)和鏡頭加工誤差、裝配誤差、光源選用,都會(huì)對(duì)檢測(cè)結(jié)果造成影響,影響到視覺(jué)系統(tǒng)的檢測(cè)精度[7]。

    在多產(chǎn)品的自動(dòng)化生產(chǎn)中,對(duì)工件的辨識(shí)是至關(guān)重要的步驟[8],本文針對(duì)自動(dòng)化生產(chǎn)的連接器組件的類型辨識(shí)進(jìn)行研究。在不同型號(hào)的連接器類型中,有一些型號(hào)直徑尺寸特征相近,在對(duì)其采取直徑特征檢測(cè)時(shí),不同測(cè)量時(shí)多方面因素影響而產(chǎn)生的誤差,導(dǎo)致對(duì)直徑的測(cè)量出錯(cuò)。而直徑尺寸相近的連接器,高度有明顯的區(qū)別,尺寸相差較多。

    本文針對(duì)上述情況,提出通過(guò)連接器的組合特征辨識(shí)連接器的類型,采用單目相機(jī)通過(guò)對(duì)工件進(jìn)行單側(cè)光源投影,利用產(chǎn)生的陰影,結(jié)合幾何數(shù)學(xué)的思想,對(duì)工件的尺寸和種類進(jìn)行識(shí)別,其中通過(guò)形態(tài)學(xué)識(shí)別工件中心,其次確定測(cè)量矢量方向,沿著矢量方向通過(guò)邊緣檢測(cè)得出工件尺寸測(cè)量結(jié)果,辨識(shí)出工件種類。




本文詳細(xì)內(nèi)容請(qǐng)下載:http://theprogrammingfactory.com/resource/share/2000003031




作者信息:

喬景慧,趙校偉,何鑫達(dá)

(沈陽(yáng)工業(yè)大學(xué) 機(jī)械工程學(xué)院,遼寧 沈陽(yáng)110870)

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。