应用于窄间隙埋弧焊的图像采集及预处理系统研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
窄间隙埋弧焊施焊的过程中要求电弧始终保持对中,所以为了满足这个要求,引入焊缝自动跟踪系统。目前的焊缝自动跟踪系统有很多种,分别基于不同的传感器,但是视觉传感器较其他传感器有明显的优势,所以开发基于视觉传感器的焊缝跟踪系统很有必要。图像采集系统是基于视觉传感器焊缝跟踪系统的重要组成,它的功能是接收相机输入的图像数据,进行缓冲和预处理,最后有效的输出到计算机中。而计算机做进一步的图像处理,反馈出电弧对中信号给机械控制部分,从而实现焊缝自动跟踪。可以说图像采集的精确性、清晰度和速度等是焊缝自动跟踪的关键。
     图像采集系统主要由两个大部分组成,分别为光路结构和图像采集卡。光源和视觉传感器以一定角度、距离安装构成光路结构。图像采集卡根据实际应用情况选择了完整开发设计。整个系统的设计重点在于图像采集卡,由于本图像采集卡专用于窄间隙埋弧焊,所以设计中主要以窄间隙埋弧焊焊缝及焊接过程特点为依据。图像采集卡以FPGA为逻辑控制和图像预处理算法实现的核心器件,不仅使整个设计具有很高的灵活性,而且使电路高效简洁。在与相机的连接问题上,采用市场上广泛应用的camera link作为图像采集卡的输入接口,提高了采集卡的通用性、数据传输速率和抗干扰能力。采用PCI总线作为图像采集卡的输出接口,实现图像采集卡与计算机之间的数据传输,达到数据传输的高速度和高精度。
     第一部分为图像采集系统的光路结构设计,详细论述了光源的选择方案和实际安装,以及它和视觉传感器实现焊缝图像采集的原理。第二部分为图像采集卡的设计,也是本课题的工作重点,包括图像采集卡的硬件电路设计和软件编程设计。最后介绍了图像采集卡在计算机上的测试情况,而且根据焊缝图像特征,对图像预处理方法做了相关研究。对于焊接过程中的弧光、飞溅、烟尘等的影响,分别使用了图像增强、平滑滤波和二值化等预处理方法,最终得到了焊缝特征明显、数据量小的焊缝图像。
It is required that the welding arc must be kept in the center during narrow-gap SAW, In order to meet this demand , the automatic welding beam tracking system is introduced . Currently, there are various types of automatic welding beam tracking system based on different sensors , but one type of them is highly superior ,which is the optical sensor based automatic welding tracking system . Image capture system is a important component of optical sensor based automatic welding tracking system, which function is to receive the image data from the camera, after pre-processing these data, transfer them to the computer ultimately. After the computer does the post-image-processing and feedbacks the magnitude of welding arc deviation to the mechanical control system, the automatic tracking achieves. so correspondingly we can say that the accuracy, definition and speed of the image capture system is crucial to the welding beam tracking .
     The image capture system mainly consists of two parts, which are optical structure and the image capture card. The optical structure is taking shape by installing the light source and optical sensor in a specific way. The image capture card is designed according to the particular applying circumstance. The key design of the whole image capture system is on image capture, because the image capture card is specifically for narrow gap SAW, the design mainly relies on the characteristics of narrow gap welding beam and welding circumstance . The image capture card choses FPGA to be the core processor for logic control and image pre-processing materialization, which not only makes the design highly flexible, but makes the circuit efficiently brief. For connecting the digital camera, adopts the extensively used camera link to be input of the image capture card, which improves the commonality, data transport speed and anti-interference ability. Adopts the PCI bus to be the output of the image capture card, to connect the card and the computer, which obtain the high speed and accuracy of data transportation.
     First section is the optical structure design of image capture system. This section explicitly illustrates the way of choosing and installing the light source, and the way of how it can implement the welding beam image capture with optical sensors. The second section is the design of image capture card, and it is the key work of this paper, which includes the hardware and the software design of each. At last we illustrate the testing of the image capture card on computer, and according to the characteristic of welding beam, we study the method of image pre-processing. Due to the impact of welding arc、welding splash、welding fume in the welding process, we use the image enhancement、smoothing filtering, thresholding to process the image, finally acquired the welding beam image with conspicuous characteristics and small data volume.
引文
[1]曹丽婷,田捷,田景文.基于双模控制的焊接机器人焊缝自动跟踪系统[J].计算机仿真,2005(9):21-23.
    [2]潘际銮.现代弧焊控制[M].北京:机械工业出版社,2000.
    [3]王彬.中国焊接生产机械化自动化技术发展回顾[J].焊接技术,2000,29(3) :38-41.
    [4]吕学勤,张轲,吴毅雄等.焊接自动控制的发展现状与展望[J].机械工程学报, 2003,39(12):34-36.
    [5]林三宝,秦克礼等.基于激光视觉的螺旋焊管内外焊焊缝跟踪系统[J].焊管, 2007,30(4):67-69.
    [6]郑千洪,王黎,高晓蓉.基于FPGA的图像采集卡设计[J].电气自动化,2007, 29(6):98-101.
    [7]Brown S & Rose J . Architecture of FPGAs and CLPDs[J].IEEE Design and Test of Computers,1996:42-57.
    [8]尹勇,李宇. PCI总线设备开发宝典[M].北京:北京航空航天大学出版社,2005: 34-55.
    [9]李宇,汪骏发.基于camera link的高速数据采集系统[J].红外,2005(7): 238-240.
    [10]鞠益兰,程金松.结构光式激光视觉传感器的焊缝跟踪系统[J].电焊机, 2005(7):77-80.
    [11]吴世德,廖宝剑,潘际銮.高速旋转电弧传感器[J].焊接学报,1997,18(1): 61-66.
    [12]鲍加铭,胡绳荪,王玉龙.超声传感焊缝自动跟踪的研究[J].焊接技术, 2000(12):56-58.
    [13]胡绳荪,涂万红,孙栋,单平.CO2焊接超声传感焊缝自动跟踪技术[J].焊接学报,2002(10):89-92.
    [14]尹懿,洪波,张晨曙等.光电传感式焊缝自动跟踪系统[J].焊接学报,2006(9):217-121.
    [15]何方殿,王克争,苏勇.视觉传感器焊缝跟踪系统的研究和发展[J].电焊机, 1993,23(3):8-13.
    [16]刘风.基于千兆网的双相机高速同步采集系统设计[D].哈尔滨工业大学, 2008.
    [17]赖冬寅.光学显微图样测量系统中基于camera link接口的图像采集卡设计[D].电子科技大学,2009.
    [18]张波,丁国清.基于USB的焊缝图像采集系统设计[J].微计算机信息, 2004(12): 220-223.
    [19]蒋伟林,胡跃明,陈安.基于FPGA的实时图像采集系统[J].计算机测量与控制, 2011,19(5):87-89.
    [20]田耘,徐文波.Xilinx FPGA开发使用教程[M].北京:清华大学出版社, 2008: 14-21.
    [21] Xilinx technology Inc. The Spartan-IIE family data sheet[Z],2001 .
    [22]Edward Solari & Brad Congdon. The complete PCI express reference[M]. INTEL press,2001:1-15.
    [23]The PCI special interest group. PCI local bus specification, revision2.2[Z]. December 18,1998:8-19.
    [24]王长远.基于FPGA的图像采集卡的研究与实现[D].南京航空航天大学,2008.
    [25]PLX technology Inc. Data sheet of PCI9054 PCI Bus Master I/O Accelerator Chip[Z].
    [26]PULNiX America Inc. specifications of the camera link ,interface standard for digital cameras and frame grabbers[Z].October 2000 .
    [27]罗玉平,施业斌等. SDRAM视频存储控制器的设计与实现[J].微型计算机与应用.2002(9):23-26.
    [28]Hynix Semiconductor Inc .data sheet of HY57V283220(L)T(P) /HY5V22(L)F(P).revision.0.9[Z].July 2004.
    [29]龚清萍,吴伯春.基于信号完整性的PCB设计一般规[J].航空电子技术, 2004(9):221-224.
    [30]齐志强.高速PCB设计经验与体会[J].电子设计工程,2011(8):135-138.
    [31]张文涛,王琼华,李大海等.实时视频采集系统的SDRAM控制器设计[J].现代电子技术,2009(20):189-192.
    [32]周望玮,史小军,朱为等.基于FPGA的SDRAM读写双口控制器设计[J].电子器件,2006(6):81-83.
    [33]王彦.基于FPGA的工程设计与应用[M].西安:西安电子科技大学出版社,2007: 298-309.
    [34]赵相宾,李亮玉,夏长亮等.激光视觉焊缝跟踪系统图像处理[J].焊接学报, 2006,27(12):77-80.
    [35]李元帅,张勇,周国忠等.图像中值滤波硬件算法及其在FPGA中的实现[J].计算机应用,2006(6):82-84.
    [36]徐大鹏,李从善.基于FPGA的数字图像中值滤波器设计[J].电子器件,2006, 29(4):45-47.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700