CN106181162B - A kind of real-time weld joint tracking detection method based on machine vision - Google Patents
A kind of real-time weld joint tracking detection method based on machine vision Download PDFInfo
- Publication number
- CN106181162B CN106181162B CN201610672098.4A CN201610672098A CN106181162B CN 106181162 B CN106181162 B CN 106181162B CN 201610672098 A CN201610672098 A CN 201610672098A CN 106181162 B CN106181162 B CN 106181162B
- Authority
- CN
- China
- Prior art keywords
- image
- welding
- ccd camera
- weld
- real
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted for a procedure covered by only one of the other main groups of this subclass
- B23K37/02—Carriages for supporting the welding or cutting element
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted for a procedure covered by only one of the other main groups of this subclass
- B23K37/02—Carriages for supporting the welding or cutting element
- B23K37/0252—Steering means
Landscapes
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Image Analysis (AREA)
- Manipulator (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种基于机器视觉的实时焊缝跟踪检测系统,它包括:它包括:作为系统核心控制设备的工控机;由光源控制器、LED光源、图像采集卡及CCD摄像机构成的图像采集单元;以及由机器人控制器、焊接机器人构成的运动控制单元;本发明还包括一种基于机器视觉的实时焊缝跟踪检测,包括图像采集→图像处理→数据处理→运动控制等步骤;本发明采用实时在线检测的方法,不需要人工进行多余的操作、在通过坡口图像生成的期望焊缝轨迹与实际焊缝轨迹的比较纠偏;并且当现场焊接环境与手动示教环境、离线编程仿真环境有一定差异的情况下,能够进行实时焊缝跟踪,克服焊接现场的各类干扰,保证焊接效果的准确性和可靠性。
The invention discloses a real-time welding seam tracking detection system based on machine vision, which includes: an industrial computer as the core control equipment of the system; an image acquisition system composed of a light source controller, an LED light source, an image acquisition card and a CCD camera unit; and a motion control unit composed of a robot controller and a welding robot; the present invention also includes a real-time weld seam tracking detection based on machine vision, including steps such as image acquisition → image processing → data processing → motion control; the present invention adopts The method of real-time online detection does not require manual redundant operations, and corrects deviations by comparing the expected weld trajectory generated by the groove image with the actual weld trajectory; and when the on-site welding environment is different from the manual teaching environment and the offline programming simulation environment In the case of certain differences, real-time weld seam tracking can be carried out to overcome various interferences on the welding site and ensure the accuracy and reliability of the welding effect.
Description
技术领域technical field
本发明涉及一种基于机器视觉的实时焊缝跟踪检测系统及方法,属于机器视觉及机械自动化技术领域。The invention relates to a real-time welding seam tracking detection system and method based on machine vision, which belongs to the technical field of machine vision and mechanical automation.
背景技术Background technique
焊接一直在工业生产中扮演了极为最重要的角色,而随着机器人和视觉检测处理技术的发展,焊接技术的自动化水平日益提高,焊缝跟踪检测方法也从人工检测发展为计算机智能检测。Welding has always played an extremely important role in industrial production, and with the development of robots and visual inspection processing technology, the automation level of welding technology is increasing day by day, and the welding seam tracking inspection method has also developed from manual inspection to computer intelligent inspection.
现有焊接机器人大多属于现场手动示教型或离线编程型,这两种方法中焊接机器人的焊接参数和焊接路径都是在生产之前进行规划,使焊接机器人在工作空间内可以高精度地重复已规划运动。Most of the existing welding robots are of the on-site manual teaching type or offline programming type. In these two methods, the welding parameters and welding paths of the welding robot are planned before production, so that the welding robot can repeat the previous work with high precision in the working space. Plan your exercise.
而传统的焊缝跟踪检测方法将规划的焊缝路径与实际产生的焊缝路径进行对比纠错,实现焊缝的跟踪。这样的焊缝跟踪方法可以保证规划区域内焊接机器人的高精度运行和焊缝跟踪,但只能对已规划路径进行跟踪,对于突发情况的应变能力较差。The traditional seam tracking detection method compares the planned seam path with the actual seam path to correct errors and realize the seam tracking. Such a seam tracking method can ensure the high-precision operation and seam tracking of the welding robot in the planning area, but it can only track the planned path, and has poor adaptability to emergencies.
在实际焊接过程中,焊接现场的干扰较多,焊件的形状会随着生产环境的变化而变化,例如熔池产生的高温、较低的装配精度、焊接过程中突发的碰撞等,都会对焊接生产造成相应的影响;当现场焊接环境与手动示教环境、离线编程仿真环境有一定差异的情况下,传统焊缝跟踪的效果很不理想,这制约了现有焊缝跟踪技术的进一步发展。In the actual welding process, there are many interferences at the welding site, and the shape of the weldment will change with the change of the production environment, such as the high temperature generated by the molten pool, low assembly accuracy, and sudden collisions during the welding process, etc. It has a corresponding impact on welding production; when the on-site welding environment is different from the manual teaching environment and the off-line programming simulation environment, the effect of traditional seam tracking is not ideal, which restricts the further development of existing seam tracking technology. develop.
发明内容Contents of the invention
针对上述现有技术存在的问题,本发明提供一种基于机器视觉的实时焊缝跟踪检测系统及方法,其具有高准确度和自适应性,能够进行实时焊缝跟踪、克服焊接现场的各类干扰,从而保证焊接效果的准确性和可靠性。Aiming at the problems existing in the above-mentioned prior art, the present invention provides a real-time weld seam tracking detection system and method based on machine vision, which has high accuracy and adaptability, and can perform real-time weld seam tracking and overcome various problems in the welding site. Interference, so as to ensure the accuracy and reliability of the welding effect.
为了实现上述目的,本发明采用的技术方案是:一种基于机器视觉的实时焊缝跟踪检测方法,它包括:In order to achieve the above object, the technical solution adopted in the present invention is: a real-time weld seam tracking detection method based on machine vision, which includes:
作为系统核心控制设备的工控机;Industrial computer as the core control equipment of the system;
由光源控制器、LED光源、图像采集卡及CCD摄像机构成的图像采集单元;Image acquisition unit composed of light source controller, LED light source, image acquisition card and CCD camera;
以及由机器人控制器、焊接机器人构成的运动控制单元;And a motion control unit composed of a robot controller and a welding robot;
所述的工控机负责图像、数据的处理和计算;所述的光源控制器控制LED光源随焊枪的移动而移动,使光源覆盖到焊缝及待焊坡口处,保证图像采集区域的采光度;The industrial computer is responsible for image and data processing and calculation; the light source controller controls the LED light source to move with the movement of the welding torch, so that the light source covers the weld seam and the groove to be welded, ensuring the lighting of the image acquisition area ;
所述CCD摄像机包括CCD摄像机一、CCD摄像机二;CCD摄像机一、CCD摄像机二分别安装在焊接机器人焊枪的两侧,随焊枪的移动而移动;并且CCD摄像机一朝向焊枪前端待焊坡口处,CCD摄像机二正对焊枪下方焊接位置;Described CCD camera comprises CCD camera one, CCD camera two; CCD camera one, CCD camera two are respectively installed in the both sides of welding robot welding torch, moves with the movement of welding torch; CCD camera 2 is directly facing the welding position under the welding torch;
还包括以下步骤:Also includes the following steps:
1)图像采集:焊接开始前,光源控制器控制LED光源以前向照明的方式照射到坡口和焊缝处,CCD摄像机一开始采集待焊坡口区域的图像,时间t后,CCD摄像机二开始采集焊接部分的焊缝图像,两初始图像均传输到工控机中;1) Image collection: Before welding starts, the light source controller controls the LED light source to irradiate the groove and weld in the way of forward lighting. The CCD camera first collects the image of the groove area to be welded. After time t, the CCD camera starts Collect the weld seam image of the welding part, and both initial images are transmitted to the industrial computer;
其中t为坡口区域被CCD摄像机一拍摄到坡口区域焊接后被CCD摄像机二拍摄的延迟时间;Wherein t is the delay time that the groove area is photographed by the CCD camera 1 to be photographed by the CCD camera 2 after the groove area is welded;
2)图像处理:通过图像滤波、图像分割、形态学处理和边缘检测处理方法得到坡口和焊缝区域局部放大的边缘图像,图像处理具体过程如下:2) Image processing: through image filtering, image segmentation, morphological processing and edge detection processing methods to obtain locally enlarged edge images of grooves and weld areas, the specific process of image processing is as follows:
(1)采用高斯滤波法对初始图像进行去噪处理;(1) Denoise the initial image by using the Gaussian filter method;
数字图像可以表示为二维数组的形式f(x,y),x,y分别表示像素点坐标,f(x,y)表示图像的灰度,其中G(x,y)为二维高斯函数;A digital image can be expressed as a two-dimensional array f(x, y), where x and y represent pixel coordinates, f(x, y) represents the grayscale of the image, where G(x, y) is a two-dimensional Gaussian function ;
fs(x,y)=G(x,y)*f(x,y)f s (x,y)=G(x,y)*f(x,y)
fs(x,y)表示表示高斯滤波后的数字图像;f s (x, y) represents the digital image after Gaussian filtering;
(2)采用最大类间方差法对图像进行图像分割:(2) Use the maximum between-class variance method to segment the image:
使用一个阈值将整个数据分成两个类,假如两个类之间的方差最大,那么这个阈值就是最佳的阈值,其中T为图像中像素点的灰度值;Use a threshold to divide the entire data into two classes. If the variance between the two classes is the largest, then this threshold is the best threshold, where T is the gray value of the pixel in the image;
即选择使最大σ2(T)的T*作为最佳分割阈值;That is to choose T * which makes the largest σ 2 (T) as the best segmentation threshold;
(3)采用膨胀腐蚀算法对图像进行形态学处理:(3) Morphological processing of the image using the dilation-corrosion algorithm:
先用结构元素对f(x,y)进行膨胀运算,然后用结构元素对结果进行腐蚀运算;利用膨胀腐蚀算法可以消除目标物体多余的孔洞,连接相近的物体,同时填补轮廓线上细小的内凹尖角以平滑物体的边界;First use the structural elements to expand f(x, y), and then use the structural elements to perform corrosion operations on the results; using the expansion and corrosion algorithm can eliminate redundant holes in the target object, connect similar objects, and fill in the small interior on the contour line Concave sharp corners to smooth the boundaries of objects;
(4)采用Canny边缘检测算法进对图像进行边缘检测:(4) Use the Canny edge detection algorithm to carry out edge detection on the image:
计算滤波图像的梯度幅值和方向,Compute the gradient magnitude and direction of the filtered image,
梯度幅值: Gradient magnitude:
梯度方向: Gradient direction:
再对梯度幅值进行非极大值抑制,如果M(x,y)的值小于像素点的任意两个邻域之一,则令gN(x,y)=0;否则,令gN(x,y)=M(x,y);gN(x,y)表示进行非最大抑制后的图像;Then perform non-maximum suppression on the gradient amplitude, if the value of M(x, y) is smaller than one of any two neighborhoods of the pixel, then set g N (x, y) = 0; otherwise, set g N (x, y)=M(x, y); g N (x, y) represents the image after non-maximum suppression;
最后采用双阈值算法判定图像边缘点:设定一个阈值上界TH和阈值下界TL,图像中的像素点如果大于阈值上界即gN(x,y)>TH则认为必然是边界,小于阈值下界即gN(x,y)<TL则认为必然不是边界,两者之间的则认为是候选项;Finally, a double-threshold algorithm is used to determine the edge point of the image: set an upper threshold T H and a lower threshold T L , and if the pixel in the image is greater than the upper threshold, that is, g N (x,y)> TH , it is considered to be the boundary , if it is less than the threshold lower bound, that is, g N (x, y)<T L , it is considered that it must not be a boundary, and those between the two are considered candidates;
3)数据处理:处理坡口区域局部放大的边缘图像,根据模式识别算法判断坡口类型,计算出所规划的期望焊缝轨迹;处理焊接部分的焊缝图像,计算设备实际生成的焊缝轨迹,经滤波后得到两个平滑的焊缝中心轨迹,将两个焊缝轨迹对比并计算跟踪纠偏量;3) Data processing: process the partially enlarged edge image of the groove area, judge the groove type according to the pattern recognition algorithm, and calculate the planned expected weld trajectory; process the weld image of the welding part, and calculate the weld trajectory actually generated by the equipment, After filtering, two smooth weld center trajectories are obtained, and the two weld trajectories are compared and the tracking correction amount is calculated;
4)运动控制:工控机根据纠偏量进行实时纠偏,控制焊接机器人的运动和进一步的焊接,从而实现焊缝的精确跟踪。4) Motion control: The industrial computer performs real-time deviation correction according to the deviation correction amount, controls the movement of the welding robot and further welding, so as to realize the precise tracking of the weld seam.
与现有焊缝跟踪方法相比,本发明采用的方法和系统具有以下优点和效果:Compared with the existing seam tracking method, the method and system adopted by the present invention have the following advantages and effects:
1.本发明采用实时在线检测的方法,不需要人工进行多余的操作、在焊接开始后焊接机器人能够全自动地进行焊缝跟踪检测;1. The present invention adopts the method of real-time online detection, which does not require manual redundant operations, and the welding robot can automatically perform weld seam tracking and detection after welding starts;
2.本发明利用坡口图像生成期望焊缝轨迹,对现场焊接环境的自适应性强,当现场焊接环境与手动示教环境、离线编程仿真环境有一定差异的情况下,能够进行实时焊缝跟踪,克服焊接现场的各类干扰,保证焊接效果的准确性和可靠性。2. The present invention uses the groove image to generate the expected weld trajectory, and has strong adaptability to the on-site welding environment. When the on-site welding environment is different from the manual teaching environment and the off-line programming simulation environment, real-time welding can be performed. Tracking and overcoming all kinds of interference on the welding site to ensure the accuracy and reliability of the welding effect.
附图说明Description of drawings
图1是本发明的方案总体原理示意图。Fig. 1 is a schematic diagram of the overall principle of the solution of the present invention.
图2是本发明的系统原理示意图。Fig. 2 is a schematic diagram of the system principle of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明作进一步说明。The present invention will be further described below in conjunction with accompanying drawing.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
如图2为一种基于机器视觉的实时焊缝跟踪检测系统,它包括:Figure 2 is a real-time weld tracking detection system based on machine vision, which includes:
作为系统核心控制设备的工控机;Industrial computer as the core control equipment of the system;
由光源控制器、LED光源、图像采集卡及CCD摄像机构成的图像采集单元;Image acquisition unit composed of light source controller, LED light source, image acquisition card and CCD camera;
以及由机器人控制器、焊接机器人构成的运动控制单元;And a motion control unit composed of a robot controller and a welding robot;
所述的工控机负责图像、数据的处理和计算;所述的光源控制器控制LED光源随焊枪的移动而移动,使光源覆盖到焊缝及待焊坡口处,保证图像采集区域的采光度;The industrial computer is responsible for image and data processing and calculation; the light source controller controls the LED light source to move with the movement of the welding torch, so that the light source covers the weld seam and the groove to be welded, ensuring the lighting of the image acquisition area ;
所述CCD摄像机包括CCD摄像机一、CCD摄像机二;CCD摄像机一、CCD摄像机二分别安装在焊接机器人焊枪的两侧,随焊枪的移动而移动;并且CCD摄像机一朝向焊枪前端待焊坡口处,CCD摄像机二正对焊枪下方焊接位置。Described CCD camera comprises CCD camera one, CCD camera two; CCD camera one, CCD camera two are respectively installed in the both sides of welding robot welding torch, moves with the movement of welding torch; The second CCD camera is facing the welding position under the welding torch.
如图1所示为一种基于机器视觉的实时焊缝跟踪检测方法,其采用上述的系统,包括以下步骤:As shown in Figure 1, it is a real-time seam tracking detection method based on machine vision, which adopts the above-mentioned system and includes the following steps:
1)图像采集:焊接开始前,光源控制器控制LED光源以前向照明的方式照射到坡口和焊缝处,CCD摄像机一开始采集待焊坡口区域的图像,时间t后,CCD摄像机二开始采集焊接部分的焊缝图像,两初始图像的数据均传输到工控机中;1) Image collection: Before welding starts, the light source controller controls the LED light source to irradiate the groove and weld in the way of forward lighting. The CCD camera first collects the image of the groove area to be welded. After time t, the CCD camera starts Collect the weld image of the welding part, and transmit the data of the two initial images to the industrial computer;
其中t为坡口区域被CCD摄像机一拍摄到区域焊接后被CCD摄像机二拍摄的延迟时间;Among them, t is the delay time when the groove area is photographed by CCD camera 1 and captured by CCD camera 2 after the region is welded;
2)图像处理:通过图像滤波、图像分割、形态学处理和边缘检测处理方法得到坡口和焊缝区域局部放大的边缘图像;2) Image processing: through image filtering, image segmentation, morphological processing and edge detection processing methods to obtain locally enlarged edge images of grooves and weld areas;
3)数据处理:处理坡口区域局部放大的边缘图像,根据模式识别算法判断坡口类型,计算出所规划的期望焊缝轨迹,处理焊接部分的焊缝图像,计算设备实际生成的焊缝轨迹,经滤波后得到两个平滑的焊缝中心轨迹,将两个焊缝轨迹对比并计算跟踪纠偏量。3) Data processing: process the partially enlarged edge image of the groove area, judge the groove type according to the pattern recognition algorithm, calculate the planned expected weld trajectory, process the weld image of the welding part, and calculate the weld trajectory actually generated by the equipment, After filtering, two smooth weld center trajectories are obtained, and the two weld trajectories are compared to calculate the tracking correction amount.
4)运动控制:工控机根据纠偏量进行实时纠偏,控制焊接机器人的运动和进一步的焊接,从而实现焊缝的精确跟踪。4) Motion control: The industrial computer performs real-time deviation correction according to the deviation correction amount, controls the movement of the welding robot and further welding, so as to realize the precise tracking of the weld seam.
在上述方案中,步骤1)、2)、3)均对两个不同的区域进行检测和处理:待焊坡口区域及焊接焊缝区域。In the above scheme, steps 1), 2), and 3) all detect and process two different areas: the groove area to be welded and the weld seam area.
待焊坡口区域以坡口处的钝边为应用对象,通过坡口钝边和其余部分灰度特征值的差异,提取出坡口部分钝边的形态特征,判断坡口类型并计算期望焊缝中心轨迹;焊接焊缝区域以焊缝为应用对象,通过焊缝的边缘信息计算实际焊缝中心轨迹。The groove area to be welded takes the blunt edge at the groove as the application object, and extracts the morphological features of the blunt edge of the groove through the difference between the gray value of the blunt edge of the groove and the rest of the gray value, judges the type of the groove and calculates the expected welding The seam center trajectory; the welding seam area takes the weld seam as the application object, and calculates the actual weld seam center trajectory through the edge information of the weld seam.
在上述方案中,若步骤1)未采集到钝边信息,即焊接对象不开坡口,则在步骤3)的数据数据处理中,以待焊对象两边缺口中心点的集合为期望焊缝中心轨迹。In the above scheme, if the blunt edge information is not collected in step 1), that is, the welding object does not have a bevel, then in the data processing of step 3), the set of center points of the gaps on both sides of the object to be welded is the expected weld center track.
在上述方案中,t为坡口区域被CCD摄像机一拍摄到坡口区域焊接后被CCD摄像机二拍摄的延迟时间,与焊接设备的焊接工艺、焊接速度、计算机处理速度等有关,保证所对比的期望、实际焊缝轨迹为同一区域、相互匹配的焊缝轨迹。In the above scheme, t is the delay time when the groove area is photographed by CCD camera 1 and captured by CCD camera 2 after the groove area is welded. It is related to the welding process, welding speed, and computer processing speed of the welding equipment. Expected and actual weld trajectories are weld trajectories that match each other in the same area.
其中,步骤2)的图像处理主要分为图像滤波、图像分割、形态学处理和边缘检测4部分,具体过程如下:Among them, the image processing in step 2) is mainly divided into four parts: image filtering, image segmentation, morphological processing and edge detection. The specific process is as follows:
(1)采用高斯滤波法对初始图像进行去噪处理;(1) Denoise the initial image by using the Gaussian filter method;
数字图像可以表示为二维数组的形式f(x,y),x,y分别表示像素点坐标,f(x,y)表示图像的灰度;A digital image can be expressed as a two-dimensional array in the form f(x, y), where x and y represent pixel coordinates respectively, and f(x, y) represents the grayscale of the image;
fs(x,y)=G(x,y)*f(x,y)f s (x,y)=G(x,y)*f(x,y)
fs(x,y)表示表示高斯滤波后的数字图像;f s (x, y) represents the digital image after Gaussian filtering;
(2)采用最大类间方差法对图像进行图像分割:(2) Use the maximum between-class variance method to segment the image:
使用一个阈值将整个数据分成两个类,假如两个类之间的方差最大,那么这个阈值就是最佳的阈值;Use a threshold to divide the entire data into two classes. If the variance between the two classes is the largest, then this threshold is the best threshold;
即选择使σ2(Tb)最大的T*作为最佳分割阈值;That is to choose T * which makes σ 2 (T b ) the largest as the optimal segmentation threshold;
(3)采用膨胀腐蚀算法对图像进行形态学处理:(3) Morphological processing of the image using the dilation-corrosion algorithm:
先用结构元素对f(x,y)进行膨胀运算,然后用结构元素对结果进行腐蚀运算。利用膨胀腐蚀算法可以消除目标物体多余的孔洞,连接相近的物体,同时填补轮廓线上细小的内凹尖角以平滑物体的边界;First use the structural elements to perform expansion operation on f(x, y), and then use the structural elements to perform corrosion operation on the result. The dilation and erosion algorithm can eliminate redundant holes in the target object, connect similar objects, and fill in the small concave sharp corners on the contour line to smooth the boundary of the object;
(4)采用Canny边缘检测算法进对图像进行边缘检测:(4) Use the Canny edge detection algorithm to carry out edge detection on the image:
计算滤波图像的梯度幅值和方向,Compute the gradient magnitude and direction of the filtered image,
梯度幅值: Gradient magnitude:
梯度方向: Gradient direction:
再对梯度幅值进行非极大值抑制,如果M(x,y)的值小于像素点的任意两个邻域之一,则令gN(x,y)=0;否则,令gN(x,y)=M(x,y)。gN(x,y)表示进行非最大抑制后的图像;Then perform non-maximum suppression on the gradient amplitude, if the value of M(x, y) is smaller than one of any two neighborhoods of the pixel, then set g N (x, y) = 0; otherwise, set g N (x, y) = M(x, y). g N (x, y) represents the image after non-maximum suppression;
最后采用双阈值算法判定图像边缘点:设定一个阈值上界TH和阈值下界TL,图像中的像素点如果大于阈值上界则认为必然是边界(gN(x,y)≥TH),小于阈值下界则认为必然不是边界(gN(x,y)≤TL),两者之间的则认为是候选项。Finally, a double-threshold algorithm is used to determine the edge point of the image: set an upper threshold T H and a lower threshold T L , if the pixel in the image is greater than the upper threshold, it is considered to be the boundary (g N (x, y) ≥ T H ), if it is less than the lower threshold, it is considered not necessarily the boundary (g N (x, y)≤T L ), and those between the two are considered candidates.
在上述方案中,步骤3)通过模式识别算法判断坡口类型,再根据不同坡口的焊接特征,结合步骤2)得到的坡口图像计算期望焊缝轨迹;期望焊缝轨迹与实际焊缝轨迹经优化平滑处理后进行比较,对其偏差量、偏差方向和偏差速度进行最优计算。In the above scheme, step 3) judges the groove type by pattern recognition algorithm, and then calculates the expected weld trajectory according to the welding characteristics of different grooves, combined with the groove image obtained in step 2); the expected weld trajectory and the actual weld trajectory Comparing after optimization and smoothing, the optimal calculation of deviation amount, deviation direction and deviation speed is carried out.
与现有焊缝跟踪方法相比,本发明采用的方法和系统具有以下优点和效果:Compared with the existing seam tracking method, the method and system adopted by the present invention have the following advantages and effects:
1.本发明采用实时在线检测的方法,不需要人工进行多余的操作、在焊接开始后焊接机器人能够全自动地进行焊缝跟踪检测;1. The present invention adopts the method of real-time online detection, which does not require manual redundant operations, and the welding robot can automatically perform weld seam tracking and detection after welding starts;
2.本发明利用坡口图像生成期望焊缝轨迹,对现场焊接环境的自适应性强,当现场焊接环境与手动示教环境、离线编程仿真环境有一定差异的情况下,能够进行实时焊缝跟踪,克服焊接现场的各类干扰,保证焊接效果的准确性和可靠性。2. The present invention uses the groove image to generate the expected weld trajectory, and has strong adaptability to the on-site welding environment. When the on-site welding environment is different from the manual teaching environment and the off-line programming simulation environment, real-time welding can be performed. Tracking and overcoming all kinds of interference on the welding site to ensure the accuracy and reliability of the welding effect.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其它的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化囊括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned.
以上所述,仅为本发明的较佳实施例,并不用以限制本发明,凡是依据本发明的技术实质对以上实施例所作的任何细微修改、等同替换和改进,均应包含在本发明技术方案的保护范围之内。The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Any minor modifications, equivalent replacements and improvements made to the above embodiments according to the technical essence of the present invention shall be included in the technical aspects of the present invention. within the scope of protection of the program.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610672098.4A CN106181162B (en) | 2016-08-12 | 2016-08-12 | A kind of real-time weld joint tracking detection method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610672098.4A CN106181162B (en) | 2016-08-12 | 2016-08-12 | A kind of real-time weld joint tracking detection method based on machine vision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106181162A CN106181162A (en) | 2016-12-07 |
CN106181162B true CN106181162B (en) | 2018-10-23 |
Family
ID=57522633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610672098.4A Active CN106181162B (en) | 2016-08-12 | 2016-08-12 | A kind of real-time weld joint tracking detection method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106181162B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851062A (en) * | 2017-02-04 | 2017-06-13 | 同济大学 | A kind of weld seam recognition device based on machine vision |
US10702941B2 (en) * | 2017-02-27 | 2020-07-07 | General Electric Technology Gmbh | System, method and apparatus for welding tubes |
CN106945047A (en) * | 2017-04-27 | 2017-07-14 | 上海新朋联众汽车零部件有限公司 | Welding robot error compensation control system and its control method |
CN107803606A (en) * | 2017-10-13 | 2018-03-16 | 上海交通大学 | A kind of detection method for quality of welding line and device based on overall process mark |
CN108247179B (en) * | 2017-12-15 | 2019-09-27 | 太原科技大学 | I shape groove CO based on crater image2Welding deviation detection method and device |
CN108127286B (en) * | 2018-01-11 | 2019-08-09 | 上海振华重工(集团)股份有限公司 | A kind of abnormity Chong Bang plate robot automatic welding method |
CN108907526A (en) * | 2018-08-04 | 2018-11-30 | 苏州佩恩机器人有限公司 | A kind of weld image characteristic recognition method with high robust |
CN109483018A (en) * | 2018-11-06 | 2019-03-19 | 湖北书豪智能科技有限公司 | The active vision bootstrap technique of weld seam in automatic welding of pipelines |
CN109365960B (en) * | 2018-12-07 | 2024-07-26 | 北京博清科技有限公司 | Welding tracking and identifying equipment and welding system |
CN109877496A (en) * | 2019-03-30 | 2019-06-14 | 哈尔滨理工大学 | A welding seam positioning detection system based on image sensing technology |
CN112238304B (en) * | 2019-07-18 | 2023-01-06 | 山东淄博环宇桥梁模板有限公司 | Method for automatically welding small-batch customized special-shaped bridge steel templates by mechanical arm based on image visual recognition of welding seams |
CN110315172B (en) * | 2019-08-08 | 2021-06-25 | 江苏汇博机器人技术股份有限公司 | Robot welding seam tracking system for practical training |
CN110548988A (en) * | 2019-09-23 | 2019-12-10 | 航天工程装备(苏州)有限公司 | Automatic welding seam track recognition device and method based on visual technology |
CN111097664B (en) * | 2019-12-20 | 2021-05-25 | 广西柳州联耕科技有限公司 | Real-time deviation rectifying method based on robot gluing |
CN112692470A (en) * | 2020-11-27 | 2021-04-23 | 中船海洋动力部件有限公司 | Robot off-line adaptive programming processing system and method based on visual sensing |
CN114289857B (en) * | 2022-01-25 | 2023-07-07 | 江西理工大学 | Method for autonomously correcting the travel path of the stirring head of friction stir welding equipment |
CN114211168A (en) * | 2022-02-21 | 2022-03-22 | 江苏天健智能装备制造有限公司 | Method for correcting plane welding seam track based on image subtraction |
CN114769962B (en) * | 2022-05-07 | 2024-01-30 | 广州东焊智能装备有限公司 | Weld joint recognition tracking system of mobile welding robot based on visual sense |
CN114749849B (en) * | 2022-06-01 | 2023-09-01 | 江苏徐工工程机械研究院有限公司 | Welding control method, device and system |
CN115570310B (en) * | 2022-10-27 | 2024-08-09 | 华南理工大学 | Weld point cloud dynamic reconstruction method, device, system, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103008881A (en) * | 2012-12-05 | 2013-04-03 | 中国电子科技集团公司第四十五研究所 | Seam tracking method based on template matching |
CN105798430A (en) * | 2016-05-27 | 2016-07-27 | 廊坊智通机器人系统有限公司 | Laser visual monitoring system for real-time welding line tracking |
CN105817743A (en) * | 2016-05-27 | 2016-08-03 | 天津智通机器人有限公司 | Double-vision automatic weld joint tracking device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101219498A (en) * | 2007-01-10 | 2008-07-16 | 李云峰 | Welding line auto-tracking and controlling device of video frequency image sensor TIG weld |
CN101961819B (en) * | 2009-07-22 | 2013-10-30 | 中国科学院沈阳自动化研究所 | Device for realizing laser welding and seam tracking and control method thereof |
US9221118B2 (en) * | 2012-07-26 | 2015-12-29 | General Electric Company | Adaptive control hybrid welding system and methods of controlling |
CN103934571B (en) * | 2014-04-11 | 2016-03-23 | 上海交通大学 | Thick plate robot welding system and real-time tracking and planning method for multi-layer and multi-pass welds |
-
2016
- 2016-08-12 CN CN201610672098.4A patent/CN106181162B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103008881A (en) * | 2012-12-05 | 2013-04-03 | 中国电子科技集团公司第四十五研究所 | Seam tracking method based on template matching |
CN105798430A (en) * | 2016-05-27 | 2016-07-27 | 廊坊智通机器人系统有限公司 | Laser visual monitoring system for real-time welding line tracking |
CN105817743A (en) * | 2016-05-27 | 2016-08-03 | 天津智通机器人有限公司 | Double-vision automatic weld joint tracking device |
Also Published As
Publication number | Publication date |
---|---|
CN106181162A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106181162B (en) | A kind of real-time weld joint tracking detection method based on machine vision | |
CN210046133U (en) | Welding seam visual tracking system based on laser structured light | |
CN108637435B (en) | Three-dimensional weld tracking system and method based on vision and arc pressure sensing | |
CN111192307B (en) | Self-adaptive deviation rectifying method based on laser cutting of three-dimensional part | |
CN109035204B (en) | Real-time detection method for weld joint target | |
Kiddee et al. | An automated weld seam tracking system for thick plate using cross mark structured light | |
Guo et al. | Progress, challenges and trends on vision sensing technologies in automatic/intelligent robotic welding: State-of-the-art review | |
He et al. | Autonomous detection of weld seam profiles via a model of saliency-based visual attention for robotic arc welding | |
CN107824940A (en) | Welding seam traking system and method based on laser structure light | |
CN113427168A (en) | Real-time welding seam tracking device and method for welding robot | |
CN114140439B (en) | Laser welding seam characteristic point identification method and device based on deep learning | |
Ma et al. | Efficient and accurate start point guiding and seam tracking method for curve weld based on structure light | |
Liu et al. | Seam tracking system based on laser vision and CGAN for robotic multi-layer and multi-pass MAG welding | |
Hou et al. | A teaching-free welding method based on laser visual sensing system in robotic GMAW | |
CN102455171B (en) | A method for detecting the geometric shape of the back side of laser tailor welding seam | |
Zhang et al. | Identification of the deviation of seam tracking and weld cross type for the derusting of ship hulls using a wall-climbing robot based on three-line laser structural light | |
Chen et al. | A robust visual servo control system for narrow seam double head welding robot | |
Fan et al. | Seam feature point acquisition based on efficient convolution operator and particle filter in GMAW | |
CN108907526A (en) | A kind of weld image characteristic recognition method with high robust | |
Zou et al. | Automatic seam detection and tracking system for robots based on laser vision | |
Wu et al. | Research on robust laser vision feature extraction method for fillet welds with different reflective materials under uncertain interference | |
Shah et al. | A review paper on vision based identification, detection and tracking of weld seams path in welding robot environment | |
Lin et al. | Intelligent seam tracking of an ultranarrow gap during K-TIG welding: A hybrid CNN and adaptive ROI operation algorithm | |
Ma et al. | WeldNet: A deep learning based method for weld seam type identification and initial point guidance | |
CN108161930A (en) | A kind of robot positioning system of view-based access control model and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |