CN117190871A - Initial welding dry elongation measurement method and device based on binocular vision - Google Patents

Initial welding dry elongation measurement method and device based on binocular vision Download PDF

Info

Publication number
CN117190871A
CN117190871A CN202311092160.9A CN202311092160A CN117190871A CN 117190871 A CN117190871 A CN 117190871A CN 202311092160 A CN202311092160 A CN 202311092160A CN 117190871 A CN117190871 A CN 117190871A
Authority
CN
China
Prior art keywords
welding
welding gun
image
point
camera
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.)
Pending
Application number
CN202311092160.9A
Other languages
Chinese (zh)
Inventor
乐健
何泽贤
袁国峰
刘硕磊
曾成
束志恒
张华�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang University
Original Assignee
Nanchang University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanchang University filed Critical Nanchang University
Priority to CN202311092160.9A priority Critical patent/CN117190871A/en
Publication of CN117190871A publication Critical patent/CN117190871A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention relates to the technical field of robots and discloses an initial welding dry elongation measurement method and device based on binocular vision, which mainly comprise camera calibration, image acquisition and processing, three-dimensional matching acquisition of a parallax image and a depth image, positioning of a welding gun axis and identification of a welding gun key point, identification and positioning of a welding point, interception of a welding region ROI (region of interest), and determination of the welding point through an intersection point of an extension line of the welding gun axis and a welding line; and indirectly calculating the welding dry extension by utilizing the key points of the welding gun and the three-dimensional coordinates of the to-be-welded point. The method can be used for rapidly and stably detecting the welding dry extension before welding, and is beneficial to timely adjusting the welding dry extension according to the welding parameters or timely adjusting the welding parameters according to the welding dry extension. The invention not only can improve the welding quality and efficiency of the robot, but also can improve the automation degree of the welding of the robot and reduce the labor intensity of welders.

Description

一种基于双目视觉的初始焊接干伸长测量方法和装置An initial welding dry elongation measurement method and device based on binocular vision

技术领域Technical field

本发明涉及机器人技术领域,具体涉及一种基于双目视觉的初始焊接干伸长测量方法和装置。The invention relates to the field of robotic technology, and specifically to an initial welding dry elongation measurement method and device based on binocular vision.

背景技术Background technique

焊接在工业生产中具有重要意义,而焊接干伸长对焊接质量有着至关重要的影响。当焊接干伸长过长时,焊丝的电阻电压变大,而焊接电弧两端的电压变小,使电弧热变小,影响焊接质量。若干伸长过短,则容易让电弧回溯并烧坏导电嘴,从而导致焊缝因为掺杂了导电嘴的材料而出现裂纹。通常情况下,焊丝直径小于3毫米时,焊丝的伸出长度应该在20至60毫米之间。因此,需要根据焊接要求检测并控制干伸长,才可保证焊接质量。Welding is of great significance in industrial production, and welding dry elongation has a vital impact on welding quality. When the welding stem is stretched too long, the resistance voltage of the welding wire becomes larger, and the voltage at both ends of the welding arc becomes smaller, which reduces the arc heat and affects the welding quality. If the extension is too short, it is easy for the arc to retrace and burn out the contact tip, resulting in cracks in the weld due to the material doped with the contact tip. Normally, when the welding wire diameter is less than 3 mm, the extension length of the welding wire should be between 20 and 60 mm. Therefore, dry elongation needs to be detected and controlled according to welding requirements to ensure welding quality.

在实际生产环境中,为了方便测量焊丝伸出长度,通常将导电嘴下端到焊件表面的距离作为参考。然而,使用尺子等工具进行人工测量效率低且不够安全。因此,需要一种有效的、无接触的方法来进行焊接干伸长的初步测量。In the actual production environment, in order to facilitate the measurement of the extension length of the welding wire, the distance from the lower end of the contact tip to the surface of the weldment is usually used as a reference. However, manual measurement using tools such as rulers is inefficient and unsafe. Therefore, an efficient, contact-free method is needed for preliminary measurements of welding dry elongation.

发明内容Contents of the invention

本发明针对上述问题,提出了一种基于双目视觉的初始焊接干伸长测量方法和装置,旨在实现自动、快速、无接触测量初始焊接干伸长。该发明可以确保快速、准确地测量初始焊接干伸长量,降低焊接人员的劳动强度,提高焊接质量和效率。本发明为解决现有初始焊接干伸长测量技术存在的问题,采用的技术方案如下:In view of the above problems, the present invention proposes an initial welding dry elongation measurement method and device based on binocular vision, aiming to achieve automatic, fast, and non-contact measurement of the initial welding dry elongation. The invention can ensure rapid and accurate measurement of the initial welding dry elongation, reduce the labor intensity of welding personnel, and improve welding quality and efficiency. In order to solve the problems existing in the existing initial welding dry elongation measurement technology, the present invention adopts the following technical solutions:

一种基于双目视觉的初始焊接干伸长测量方法,所述方法包括以下步骤:An initial welding dry elongation measurement method based on binocular vision, the method includes the following steps:

步骤1,相机标定;获取双目摄像头中,每个摄像头模块的内外参数和两个摄像头模块之间的结构参数。Step 1, camera calibration; obtain the internal and external parameters of each camera module in the binocular camera and the structural parameters between the two camera modules.

步骤2,图像采集和图像处理;对采集到的原始RGB图像进行畸变矫正和立体校正,获得无畸变和共面行对准的左右视角RGB图像和灰度图像。Step 2, image acquisition and image processing; perform distortion correction and stereoscopic correction on the collected original RGB images to obtain distortion-free and coplanar row-aligned left and right perspective RGB images and grayscale images.

步骤3,立体匹配并获取视差图和深度图;利用半全局块匹配算法SGBM计算双目视差,从而获得点云图和深度图,双目相机左视图和深度图对齐。Step 3: Stereo matching and obtaining the disparity map and depth map; use the semi-global block matching algorithm SGBM to calculate the binocular disparity to obtain the point cloud map and depth map, and align the left view of the binocular camera with the depth map.

步骤4,自适应定位焊枪和焊枪轴线;通过定位位于焊枪轴线上的焊枪喷嘴接头末端的点在图像上的位置,从而定位焊枪轴线,为焊接区域的定位提供依据。由于焊枪喷嘴的表面不仅光滑无纹理还存在镜面反射,难以进行特征点匹配,所以直接识别焊枪喷嘴以及计算焊枪喷嘴顶点的三维坐标困难且不稳定。注意到喷嘴上方有一段与焊枪同轴的黄铜色标准喷嘴接头,能够更稳定地识别和定位。因此通过计算位于焊枪轴线上的焊枪喷嘴接头末端的点到待焊点的距离,间接测量干伸长。Step 4: Adaptively position the welding gun and the welding gun axis; by locating the point on the image at the end of the welding gun nozzle joint on the welding gun axis, the welding gun axis is positioned to provide a basis for positioning the welding area. Since the surface of the welding gun nozzle is not only smooth and textureless but also has specular reflection, it is difficult to match feature points. Therefore, it is difficult and unstable to directly identify the welding gun nozzle and calculate the three-dimensional coordinates of the welding gun nozzle vertex. Notice that there is a brass-colored standard nozzle connector above the nozzle that is coaxial with the welding gun, which can be more stably identified and positioned. Dry elongation is therefore measured indirectly by calculating the distance from the point at the end of the welding gun nozzle joint located on the axis of the welding gun to the point to be welded.

步骤5,估计待焊点在图像中的像素位置;为了获取待焊点在左视角图像上的像素坐标,截取焊接区域ROI(感兴趣区域),通过焊枪轴线的延长线与焊缝的交点确定待焊点,最后将焊点在裁剪的焊接区域ROI图像上的坐标转化为在左视角图像上的像素坐标。Step 5: Estimate the pixel position of the spot to be soldered in the image; in order to obtain the pixel coordinates of the spot to be soldered on the left-view image, intercept the welding area ROI (region of interest) and determine it by the intersection of the extension line of the welding gun axis and the weld seam. For the spot to be soldered, the coordinates of the solder spot on the cropped welding area ROI image are finally converted into pixel coordinates on the left-view image.

步骤6,关键点坐标转化并计算距离;将待焊点和焊枪关键点的二维坐标转化为三维坐标,通过计算两点在三维空间中的欧几里得距离,在排除异常值后,取每40帧的测量平均值作为双目视觉测量的初始焊接干伸长的最终结果。Step 6: Convert the key point coordinates and calculate the distance; convert the two-dimensional coordinates of the key points of the spot to be welded and the welding gun into three-dimensional coordinates, and calculate the Euclidean distance between the two points in the three-dimensional space. After excluding outliers, get The measurement average of every 40 frames was taken as the final result of the initial weld stem elongation measured by binocular vision.

进一步地,对双目摄像头进行标定,获取每个摄像头的内外参数和双摄像头之间的结构参数。步骤包括:Further, the binocular cameras are calibrated to obtain the internal and external parameters of each camera and the structural parameters between the dual cameras. Steps include:

首先,双目摄像头模块上的两个摄像头同时拍摄棋盘格标定板位于不同位置的图像。First, the two cameras on the binocular camera module simultaneously capture images of the checkerboard calibration plate at different positions.

接着,利用OpenCV进行相机标定和立体标定。获取每个摄像头模块的内外参数、畸变参数和两个摄像头之间的结构参数,包括右相机坐标系到左相机坐标系的旋转矩阵和平移向量。Next, use OpenCV for camera calibration and stereo calibration. Obtain the internal and external parameters, distortion parameters and structural parameters between the two cameras of each camera module, including the rotation matrix and translation vector from the right camera coordinate system to the left camera coordinate system.

进一步地,图像采集,并对采集到的图像进行畸变矫正和立体校正,获取无畸变和共面行对准的左右视角的两张图像的步骤包括:Further, the steps of collecting images, performing distortion correction and stereoscopic correction on the collected images, and obtaining two images of left and right angles without distortion and coplanar row alignment include:

首先,将双目摄像头左右视角的两幅三通道RGB图像转化为两幅单通道的灰度图像。First, convert two three-channel RGB images from the left and right perspectives of the binocular camera into two single-channel grayscale images.

接着,用相机标定所得到的畸变参数分别对两幅灰度图像进行畸变矫正。Then, the distortion parameters obtained by camera calibration are used to perform distortion correction on the two grayscale images.

然后,用相机标定所得到的相机内参和双目摄像头之间的结构参数对两幅灰度图像进行立体矫正,获得共面行对准的左右视角双目图像。Then, the two grayscale images are stereoscopically corrected using the internal camera parameters obtained by camera calibration and the structural parameters between the binocular cameras to obtain coplanar row-aligned left and right perspective binocular images.

进一步地,立体匹配并获取视差图和深度图。步骤如下:Further, stereo matching is performed and the disparity map and depth map are obtained. Proceed as follows:

首先,利用半全局块匹配算法SGBM计算双目视觉中的视差。First, the semi-global block matching algorithm SGBM is used to calculate the disparity in binocular vision.

接着,利用视差图和立体矫正时所得到的重投影矩阵,得到一幅映射图。该映射图是与视差图大小相同的三通道图像,每个通道分别存储了该像素位置在相机坐标系下X轴、Y轴和Z轴上的值,即每个像素的在相机坐标系下的三维坐标(x,y,z),其中z的值代表物体到双目相机平面的距离,单位是毫米(mm)。Then, a mapping map is obtained using the disparity map and the reprojection matrix obtained during stereoscopic correction. This map is a three-channel image with the same size as the disparity map. Each channel stores the value of the pixel position on the X-axis, Y-axis, and Z-axis in the camera coordinate system, that is, each pixel is in the camera coordinate system. The three-dimensional coordinates (x, y, z), where the value of z represents the distance from the object to the binocular camera plane, in millimeters (mm).

进一步地,自适应定位焊枪和焊枪轴线。步骤包括:Further, the welding gun and the welding gun axis are adaptively positioned. Steps include:

首先,将矫正后的左视角图像转化为HSV色域图像,通过调整H、S、V阈值,按照颜色将喷嘴接头部分分割出来,并在二值图像上显示。First, the corrected left-view image is converted into an HSV color gamut image. By adjusting the H, S, and V thresholds, the nozzle joint part is segmented according to color and displayed on the binary image.

接着,过滤小的连通区域以去掉噪点,然后通过闭运算使喷嘴接头的分割图像更加完整。使用轮廓提取算法获得分割图像中喷嘴接头的边缘轮廓,并根据轮廓生成最小外接矩形。Next, small connected areas are filtered to remove noise, and then closed operations are used to make the segmented image of the nozzle joint more complete. A contour extraction algorithm is used to obtain the edge contour of the nozzle joint in the segmented image, and a minimum circumscribing rectangle is generated based on the contour.

然后,计算最小外接矩形的两个垂直于焊枪轴线的边的中点,这两点的连线即为焊枪轴线所在的直线,求解该直线在左视图像素坐标系下的方程,为下一步截取焊接区域提供依据。另外,记录离焊接点较近的那个中点在矫正后的左视图上的像素坐标。Then, calculate the midpoint of the two sides of the minimum circumscribed rectangle that are perpendicular to the axis of the welding gun. The line connecting these two points is the straight line where the axis of the welding gun is located. Solve the equation of the straight line in the pixel coordinate system of the left view and intercept it for the next step. Provide basis for welding area. In addition, record the pixel coordinates of the midpoint closer to the welding point on the corrected left view.

进一步地,对左视角图像提取、裁剪出焊接区域,并在裁剪出的焊接区域图像上估计待焊点的像素坐标,最后再将该像素坐标转化为在左视角图像上的像素坐标。步骤包括:Further, the welding area is extracted and cropped from the left-view image, and the pixel coordinates of the spots to be welded are estimated on the cropped welding area image, and finally the pixel coordinates are converted into pixel coordinates on the left-view image. Steps include:

首先,在矫正后的左视图上绘制焊接区域ROI矩形。因为相机与焊枪相对位置固定,因此焊枪顶点的像素坐标固定。在左视角图像上,过焊枪顶点做一条适当长度的垂直于焊枪轴线的线段,作为焊接区域ROI的宽。特别的,焊枪顶点为这条线段的中点。以焊接区域ROI的宽为基础,焊接区域ROI的长边平行于焊枪轴线。First, draw the welding area ROI rectangle on the corrected left view. Because the relative position of the camera and the welding gun is fixed, the pixel coordinates of the welding gun vertex are fixed. On the left view image, draw a line segment of appropriate length perpendicular to the axis of the welding gun through the vertex of the welding gun as the width of the welding area ROI. In particular, the welding gun vertex is the midpoint of this line segment. Based on the width of the welding area ROI, the long side of the welding area ROI is parallel to the axis of the welding gun.

接着,裁剪焊接区域ROI矩形。因为该矩形为旋转矩形,所以将左视图旋转,使焊接区域ROI的旋转角为0。裁剪焊接区域ROI,此时裁剪出的焊接区域ROI的竖直中线即为焊枪的轴线。Next, cut the welding area ROI rectangle. Because the rectangle is a rotated rectangle, the left view is rotated so that the rotation angle of the welding area ROI is 0. Cut the welding area ROI. At this time, the vertical center line of the cut out welding area ROI is the axis of the welding gun.

然后,提取待焊点。将焊接区域ROI图片灰度化,利用canny算法提取焊缝,记录焊缝和焊接区域ROI的竖直中线(焊枪轴线)的交点,该交点即为待焊点。Then, extract the spots to be soldered. Grayscale the welding area ROI image, use the canny algorithm to extract the welding seam, and record the intersection point between the welding seam and the vertical center line (welding gun axis) of the welding area ROI. This intersection point is the point to be welded.

最后,计算待焊点的像素坐标。利用与裁剪焊接区域ROI这一步骤中相反的运算,将待焊点在裁剪的焊接区域ROI图像上的像素坐标转化为在矫正后的左视图上的像素坐标。Finally, calculate the pixel coordinates of the spot to be soldered. Using the opposite operation in the step of cropping the welding area ROI, convert the pixel coordinates of the to-be-soldered spot on the cropped welding area ROI image into the pixel coordinates on the corrected left view.

进一步地,将待焊点和焊枪关键点的二维坐标转化为三维坐标,通过计算两点在三维空间中的欧几里得距离,在排除异常值后,取每40帧的测量平均值作为双目视觉测量的最终结果。具体步骤如下:Furthermore, the two-dimensional coordinates of the key points of the spot to be welded and the welding gun are converted into three-dimensional coordinates, and the Euclidean distance of the two points in the three-dimensional space is calculated. After excluding outliers, the average measurement value of every 40 frames is taken as Final results of binocular vision measurements. Specific steps are as follows:

首先,分别计算前面步骤得到的,焊枪喷嘴接头顶点和待焊点在相机坐标系下的三维坐标。First, calculate the three-dimensional coordinates of the welding gun nozzle joint vertex and the spot to be welded in the camera coordinate system obtained in the previous steps.

接着,计算两点在三维空间中的欧几里得距离,公式如下,Next, calculate the Euclidean distance between two points in three-dimensional space. The formula is as follows,

其中,(xa,ya,za)为位于焊枪轴线上的焊枪喷嘴接头末端的点在相机坐标系下的三维坐标。(xb,yb,zb)为待焊点在相机坐标系下的三维坐标。length为视觉测量出的位于焊枪轴线上的焊枪喷嘴接头末端的点(xa,ya,za)到待焊接点(xb,yb,zb)的欧几里得距离。Among them, (x a , y a , z a ) are the three-dimensional coordinates of the point at the end of the welding gun nozzle joint located on the axis of the welding gun in the camera coordinate system. (x b ,y b ,z b ) are the three-dimensional coordinates of the spot to be welded in the camera coordinate system. The length is the visually measured Euclidean distance from the point (x a , y a , z a ) at the end of the welding gun nozzle joint on the welding gun axis to the point to be welded (x b , y b , z b ).

接着,喷嘴接头末端的点到焊接点的距离length减去焊枪喷嘴的长度lenweld,即为喷嘴端点到待焊接点的距离len,此距离也为焊丝干伸长,满足下式,Then, the distance length from the end of the nozzle joint to the welding point minus the length of the welding gun nozzle len weld is the distance len from the end of the nozzle to the point to be welded. This distance is also the dry extension of the welding wire and satisfies the following formula,

len=length-lenweld len=length-len weld

其中,len为最终计算得到的焊丝干伸长,lenweld为喷嘴长度。Among them, len is the final calculated dry extension of the welding wire, and len weld is the length of the nozzle.

然后,判断上一步测量距离len是否在合理的范围(0厘米至7.5厘米)内,否则直接跳到下一帧进行测量。当测量了40帧后,取这40帧的测量平均值作为双目视觉测量的最终结果。Then, determine whether the distance len measured in the previous step is within a reasonable range (0 cm to 7.5 cm), otherwise jump directly to the next frame for measurement. After measuring 40 frames, take the average measurement value of these 40 frames as the final result of the binocular vision measurement.

本发明还提供一种基于双目视觉的初始焊接干伸长测量装置,包括一个帧同步双目摄像头模块、摄像头夹具、计算机、照明模块、焊枪及用于移动焊枪的装置,其中:The invention also provides an initial welding dry elongation measurement device based on binocular vision, including a frame-synchronous binocular camera module, camera fixture, computer, lighting module, welding gun and a device for moving the welding gun, wherein:

所述帧同步双目摄像头模块,焦距为3.0mm,基线为63mm,图像分辨率为640×480,用于原始图像采集。The frame synchronized binocular camera module has a focal length of 3.0mm, a baseline of 63mm, and an image resolution of 640×480, which is used for original image collection.

所述摄像头夹具用于固定双目摄像头模块和焊枪之间的相对位置,以使摄像头的基线在某一投影平面上近似垂直于焊枪轴线,并固定摄像头于焊枪前进方向一侧。这种设计减少了需要另外估计的参数的数量,简化了测量算法,提升了测量准确度,加快了算法的运算速度。The camera fixture is used to fix the relative position between the binocular camera module and the welding gun, so that the baseline of the camera is approximately perpendicular to the axis of the welding gun on a certain projection plane, and to fix the camera on one side in the forward direction of the welding gun. This design reduces the number of parameters that need to be estimated separately, simplifies the measurement algorithm, improves the measurement accuracy, and speeds up the calculation speed of the algorithm.

所述计算机,用于实时图像采集、图像处理、特征匹配、立体匹配以及关键点估计、识别,以完成初始焊接干伸长量的测量。The computer is used for real-time image acquisition, image processing, feature matching, stereo matching, and key point estimation and identification to complete the measurement of the initial welding dry elongation.

所述照明模块固定于用于移动焊枪的装置上,用于改善环境光照,提高测量准确度。The lighting module is fixed on the device for moving the welding gun and is used to improve ambient lighting and improve measurement accuracy.

所述焊枪型号为Panasonic MIG/MAG焊焊枪。喷嘴外径24mm,全长73mm。喷嘴接头为黄铜色标准喷嘴接头。焊枪与摄像头夹具一起固定于用于移动焊枪的装置上。焊枪、摄像头、照明模块三者保持相对位置固定。The welding gun model is Panasonic MIG/MAG welding gun. The outer diameter of the nozzle is 24mm and the total length is 73mm. The nozzle connector is a brass-colored standard nozzle connector. The welding gun is fixed together with the camera clamp on a device for moving the welding gun. The welding gun, camera, and lighting module keep their relative positions fixed.

本发明的有益效果是:The beneficial effects of the present invention are:

本发明可以快速、稳定地检测焊接干伸长,从而根据焊接参数及时调整焊接干伸长或根据干伸长及时调整焊接参数。这不仅可以提高机器焊接的质量和效率,还可提高机器人焊接的自动化程度并降低焊工的劳动强度。The invention can quickly and stably detect the welding dry elongation, thereby promptly adjusting the welding dry elongation according to the welding parameters or adjusting the welding parameters in time according to the dry elongation. This can not only improve the quality and efficiency of machine welding, but also improve the automation of robot welding and reduce the labor intensity of welders.

附图说明Description of the drawings

图1为本发明的基于双目视觉的初始焊接干伸长测量方法的流程图;Figure 1 is a flow chart of the initial welding dry elongation measurement method based on binocular vision of the present invention;

图2为本发明的自适应定位焊枪和焊枪轴线流程图;Figure 2 is a flow chart of the adaptive positioning welding gun and the welding gun axis of the present invention;

图3为本发明的估计待焊点在图像中的像素位置的流程图;Figure 3 is a flow chart of the present invention for estimating the pixel position of the spot to be soldered in the image;

图4为本发明的每40次测量结果的平均值作为最终测量结果的流程图;Figure 4 is a flow chart in which the average value of every 40 measurement results is used as the final measurement result of the present invention;

图5为本发明的基于双目视觉的初始焊接干伸长测量装置整体结构图;Figure 5 is an overall structural diagram of the initial welding dry elongation measurement device based on binocular vision of the present invention;

图6为本发明的基于双目视觉的初始焊接干伸长测量装置侧视图;Figure 6 is a side view of the initial welding dry elongation measurement device based on binocular vision of the present invention;

图7为利用本发明的自适应定位焊枪、焊枪轴线和焊接区域的实验结果;Figure 7 shows the experimental results using the adaptive positioning welding gun, welding gun axis and welding area of the present invention;

图8为利用本发明的焊缝识别的实验结果;(a)焊缝区域定位和焊接点定位结果展示;(b)将焊接区域旋转裁剪后的焊接区域焊缝识别;Figure 8 shows the experimental results of welding seam identification using the present invention; (a) display of welding seam area positioning and welding point positioning results; (b) welding area welding seam identification after rotating and cropping the welding area;

图9为利用本发明在焊丝干伸长为2.0厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 9 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 2.0 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图10为利用本发明在焊丝干伸长为2.5厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 10 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 2.5 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图11为利用本发明在焊丝干伸长为3.0厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 11 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 3.0 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图12为利用本发明在焊丝干伸长为3.5厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 12 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 3.5 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图13为利用本发明在焊丝干伸长为4.0厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 13 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 4.0 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图14为利用本发明在焊丝干伸长为4.5厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 14 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 4.5 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图15为利用本发明在焊丝干伸长为5.0厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 15 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 5.0 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图16为利用本发明在焊丝干伸长为5.5厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 16 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 5.5 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图17为利用本发明在焊丝干伸长为6.0厘米时验证视觉测量稳定性和准确性的实验;(a)每一帧测量值作为一个测量结果时连续测量100次的实验结果。(b)以连续40帧测量值的平均值作为测量结果时测量50次的实验结果;Figure 17 is an experiment using the present invention to verify the stability and accuracy of visual measurement when the dry extension of the welding wire is 6.0 cm; (a) The experimental results of 100 consecutive measurements when each frame measurement value is taken as a measurement result. (b) The experimental results of 50 measurements when the average of 40 consecutive frame measurement values is used as the measurement result;

图18为某次测量实验中真实的初始焊接干伸长量为2.5厘米时测量误差、标准差和用于计算平均值的帧数之间的关系;Figure 18 shows the relationship between the measurement error, standard deviation and the number of frames used to calculate the average when the actual initial welding dry elongation is 2.5 cm in a certain measurement experiment;

图19为某次测量实验中真实的初始焊接干伸长量为2.5厘米时参与计算平均值的帧数每增加10帧对应的计算误差与消耗时间的关系;Figure 19 shows the relationship between the calculation error and the time consumed when the actual initial welding dry elongation is 2.5 cm in a certain measurement experiment and the number of frames involved in calculating the average value increases by 10 frames;

附图标记如下:1、喷嘴接头;2、喷嘴;3、双目摄像头模块;4、照明模块;5、待焊接材料;6、摄像头夹具;7、底座;8、焊接干伸长。The reference numbers are as follows: 1. Nozzle joint; 2. Nozzle; 3. Binocular camera module; 4. Lighting module; 5. Material to be welded; 6. Camera fixture; 7. Base; 8. Welding dry extension.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

参阅图1,本发明提供一种基于双目视觉的初始焊接干伸长测量方法,步骤包括:Referring to Figure 1, the present invention provides an initial welding dry elongation measurement method based on binocular vision. The steps include:

步骤一,相机标定。对于双目摄像头,需要获取每个摄像头模块的内外参数和两个摄像头模块之间的结构参数。Step one, camera calibration. For binocular cameras, it is necessary to obtain the internal and external parameters of each camera module and the structural parameters between the two camera modules.

首先,本发明所使用的双目相机模块中的两个成像系统在一个平面上,将标定板置于双目摄像头的重合视场内,拍摄的标定板的图像面积占整张图像面积的1/3左右,并保证两个摄像头都能同时识别到所有角点。双目摄像头模块上的两个摄像头在固定光圈、焦距的情况下同时拍摄15幅棋盘格标定板(9×6,19.5mm)位于不同位置(棋盘格成像于摄像头视野的左上、右上、左下、右下、正中心)的图像。First, the two imaging systems in the binocular camera module used in the present invention are on a plane. The calibration plate is placed in the overlapping field of view of the binocular camera. The image area of the calibration plate taken accounts for 1 of the entire image area. /3 or so, and ensure that both cameras can recognize all corners at the same time. The two cameras on the binocular camera module simultaneously capture 15 pictures of the checkerboard calibration plate (9×6, 19.5mm) at different positions (the checkerboard is imaged in the upper left, upper right, lower left, and lower corners of the camera field of view) with a fixed aperture and focal length. lower right, center) image.

接着,利用OpenCV进行相机标定和立体标定。获取每个摄像头模块的内外参数、畸变参数和两个摄像头之间的结构参数,包括两个坐标系之间的旋转矩阵和平移向量。Next, use OpenCV for camera calibration and stereo calibration. Obtain the internal and external parameters, distortion parameters and structural parameters between the two cameras of each camera module, including the rotation matrix and translation vector between the two coordinate systems.

分别获取两个摄像机的内参K和畸变参数d,Obtain the internal parameter K and distortion parameter d of the two cameras respectively,

d=[k1,k2,p1,p2,k3]d=[k 1 ,k 2 ,p 1 ,p 2 ,k 3 ]

其中,fx,fy,cx,cy是相机线性模型的内参。fx,fy分别为像素坐标轴u轴和v轴方向上的尺度因子,cx,cy是光学中心。ki(i=1,2,3)为径向畸变系数,pi(i=1,2)为切向畸变系数。Among them, f x , f y , c x , c y are the internal parameters of the camera linear model. f x , f y are the scale factors in the u-axis and v-axis directions of the pixel coordinate axes respectively, and c x , cy y are the optical centers. k i (i=1,2,3) is the radial distortion coefficient, and p i (i=1,2) is the tangential distortion coefficient.

利用上述相机参数,立体标定得到一个旋转矩阵R(3×3,行列式为1的正交矩阵)和一个平移向量t(3×1)。当给定某点在第一个相机坐标系中的三维坐标(x1,y1,z1)时,可以计算得到第二个相机坐标系的三维坐标(x2,y2,z2),Using the above camera parameters, stereo calibration obtains a rotation matrix R (3×3, an orthogonal matrix with determinant 1) and a translation vector t (3×1). When the three-dimensional coordinates (x 1 , y 1 , z 1 ) of a certain point in the first camera coordinate system are given, the three-dimensional coordinates (x 2 , y 2 , z 2 ) of the second camera coordinate system can be calculated ,

步骤二,图像采集和图像处理。对采集到的原始RGB图像进行畸变矫正和立体校正,获得无畸变和共面行对准的左右视角RGB图像和灰度图像。Step two, image acquisition and image processing. Perform distortion correction and stereoscopic correction on the collected original RGB images to obtain distortion-free and coplanar line-aligned left and right perspective RGB images and grayscale images.

首先,将双目摄像头左右视角的两幅三通道RGB图像转化为两幅单通道的灰度图像,First, convert two three-channel RGB images from the left and right perspectives of the binocular camera into two single-channel grayscale images.

GRAY←0.299·R+0.587·G+0.114·BGRAY←0.299·R+0.587·G+0.114·B

其中,R、G、B分别为彩色图像三通道的像素亮度值,GRAY为灰度图像的对应像素灰度值。Among them, R, G, and B are the pixel brightness values of the three channels of the color image, and GRAY is the corresponding pixel gray value of the grayscale image.

接着,用相机标定所得到的畸变参数,分别对双目相机左右视角的两幅灰度图像进行畸变矫正,得到两幅无畸变的灰度图像。先计算无畸变图像上的点P,其坐标为[u,v]T对应到的畸变图像上的坐标[udistorted,vdistorted]T。先将无畸变图像中的点P的坐标[u,v]T转化到归一化平面上,得坐标[x,y]TThen, the distortion parameters obtained by camera calibration are used to perform distortion correction on the two grayscale images from the left and right viewing angles of the binocular camera, respectively, to obtain two distortion-free grayscale images. First calculate the point P on the undistorted image, whose coordinates are [u, v] T corresponding to the coordinates [u distorted , v distorted ] T on the distorted image. First convert the coordinates [u, v] T of point P in the undistorted image to the normalized plane to obtain the coordinates [x, y] T ,

对归一化平面上的点[x,y]T计算径向畸变和切向畸变,Calculate the radial distortion and tangential distortion for the point [x, y] T on the normalized plane,

其中,[x,y]T是点P在归一化平面上的坐标,[xdistorted,ydistorted]T是畸变后点的归一化坐标,为点P与坐标系原点之间的距离,ki(i=1,2,3)为径向畸变系数,pi(i=1,2)为切向畸变系数。Among them, [x,y] T is the coordinate of point P on the normalized plane, [x distorted ,y distorted ] T is the normalized coordinate of the point after distortion, is the distance between point P and the origin of the coordinate system, k i (i=1,2,3) is the radial distortion coefficient, and p i (i=1,2) is the tangential distortion coefficient.

将畸变后的点的归一化坐标通过内参矩阵投影到像素平面,得到无畸变图像上的点[u,v]T对应到畸变图像上的坐标[udistorted,vdistorted]TProject the normalized coordinates of the distorted point to the pixel plane through the internal parameter matrix, and obtain the point [u, v] T on the undistorted image corresponding to the coordinate [u distorted ,v distorted ] T on the distorted image,

最后将畸变图像位于[udistorted,vdistorted]T上的值赋给无畸变图像坐标为[u,v]T的位置,Finally, the value of the distorted image located on [u distorted , v distorted ] T is assigned to the position of the undistorted image coordinates [u, v] T ,

imageundistorted(u,v)←imagedistorted(udistorted,vdistorted)image undistorted (u,v)←image distorted (u distorted ,v distorted )

其中,[u,v]T为点P在图像上的正确位置。[udistorted,vdistorted]T代表无畸变图像上的点P对应到畸变图像上的坐标。imageundistorted代表畸变矫正后的无畸变图像,imagedistorted代表原图像。Among them, [u,v] T is the correct position of point P on the image. [u distorted ,v distorted ] T represents the point P on the undistorted image corresponding to the coordinates on the distorted image. image undistorted represents the distortion-free image after distortion correction, and image distorted represents the original image.

然后,用步骤一中相机标定所得到的相机内参和双目摄像头之间的结构参数对两幅灰度图像进行立体矫正,获得共面行对准的左右视角双目图像。本发明中所使用的双目相机的左右相机视图主要沿X轴水平移动(可能具有较小的垂直偏移)。在共面行对准校正图像后,左右视角中相应的极线水平,光轴平行,左右视角成像平面共面,同一点投影到两个摄像机图像平面中的两个像素坐标系具有相同的y坐标。同时,在立体矫正中得到视差到深度映射矩阵,Then, use the internal camera parameters obtained from the camera calibration in step 1 and the structural parameters between the binocular cameras to perform stereoscopic correction on the two grayscale images to obtain coplanar row-aligned left and right perspective binocular images. The left and right camera views of the binocular cameras used in this invention move primarily horizontally along the X-axis (possibly with a small vertical offset). After the coplanar row alignment corrects the image, the corresponding epipolar lines in the left and right viewing angles are horizontal, the optical axes are parallel, the left and right viewing angle imaging planes are coplanar, and the two pixel coordinate systems projected into the two camera image planes have the same y coordinate. At the same time, the disparity to depth mapping matrix is obtained in stereo correction,

其中,Tx为双目相机基线的长度,[c_x1,c_y]为左侧图像的原点,c_x2为右侧视图中X坐标轴的原点,f为焦距。Among them, T x is the length of the binocular camera baseline, [c_x 1 , c_y] is the origin of the left image, c_x 2 is the origin of the X coordinate axis in the right view, and f is the focal length.

步骤三,立体匹配并获取视差图和深度图。利用SGBM算法计算双目视差,从而获得点云图和深度图,双目相机左视图和深度图对齐。Step 3: Stereo matching and obtaining disparity map and depth map. The SGBM algorithm is used to calculate the binocular disparity to obtain the point cloud image and depth map, and the left view of the binocular camera is aligned with the depth map.

首先,利用半全局块匹配算法SGBM计算双目视觉中的视差,其中,使用了cv::StereoSGBM::create()函数和cv::StereoMatcher::compute()函数。First, the semi-global block matching algorithm SGBM is used to calculate the disparity in binocular vision, in which the cv::StereoSGBM::create() function and the cv::StereoMatcher::compute() function are used.

接着,利用视差图像和步骤二所得到的重投影矩阵Q,得到一幅映射图。该映射图是与视差图大小相同的三通道图像,每个通道分别存储了该像素位置在相机坐标系下X轴、Y轴和Z轴上的值,即每个像素的在相机坐标系下的三维坐标(x,y,z),其中z的值代表物体到双目相机平面的距离,单位是毫米(mm)。Next, a mapping map is obtained using the disparity image and the reprojection matrix Q obtained in step 2. This map is a three-channel image with the same size as the disparity map. Each channel stores the value of the pixel position on the X-axis, Y-axis, and Z-axis in the camera coordinate system, that is, each pixel is in the camera coordinate system. The three-dimensional coordinates (x, y, z), where the value of z represents the distance from the object to the binocular camera plane, in millimeters (mm).

步骤四,自适应定位焊枪和焊枪轴线。由于焊枪喷嘴的表面不仅光滑无纹理还存在镜面反射,难以进行特征点匹配,所以直接识别焊枪喷嘴以及计算焊枪喷嘴顶点的三维坐标困难且不稳定。注意到喷嘴上方有一段与焊枪同轴的黄铜色标准喷嘴接头,能够更稳定地识别和定位。因此通过计算位于焊枪轴线上的焊枪喷嘴接头末端的点到待焊点的距离,间接测量干伸长。具体步骤如下:Step 4: Adaptively position the welding gun and the welding gun axis. Since the surface of the welding gun nozzle is not only smooth and textureless but also has specular reflection, it is difficult to match feature points. Therefore, it is difficult and unstable to directly identify the welding gun nozzle and calculate the three-dimensional coordinates of the welding gun nozzle vertex. Notice that there is a brass-colored standard nozzle connector above the nozzle that is coaxial with the welding gun, which can be more stably identified and positioned. Dry elongation is therefore measured indirectly by calculating the distance from the point at the end of the welding gun nozzle joint located on the axis of the welding gun to the point to be welded. Specific steps are as follows:

首先,将矫正后的左视角RGB图像转化为HSV色域图像,通过调整H、S、V阈值,按照颜色将喷嘴接头部分分割出来,并在二值图像上显示。RGB图像转化为HSV色域图像的公式如下,First, the corrected left-view RGB image is converted into an HSV color gamut image. By adjusting the H, S, and V thresholds, the nozzle joint part is segmented according to color and displayed on the binary image. The formula for converting RGB images into HSV color gamut images is as follows,

V=max(R,G,B)V=max(R,G,B)

当H<0时,H=H+360。输出V∈[0,1],S∈[0,1],H∈[0,360]。当显示8位图像时,When H<0, H=H+360. Output V∈[0,1], S∈[0,1], H∈[0,360]. When displaying 8-bit images,

V=255VV=255V

S=255SS=255S

H=H/2H=H/2

其中,R,G,B分别为彩色图像上的R、G、B三通道的像素亮度,H,S,V为图像在HSV色域时的H,S,V三通道上对应像素的值。通过调整HSV阈值,在生成一张只有目标区域像素值为255,其余非目标区域像素值为0的二值图像。Among them, R, G, and B are the pixel brightness of the R, G, and B channels of the color image respectively, and H, S, and V are the corresponding pixel values of the H, S, and V channels of the image in the HSV color gamut. By adjusting the HSV threshold, a binary image is generated with only the pixel value in the target area being 255 and the pixel values in the remaining non-target areas being 0.

接着,上一个步骤生成的二值图像在非目标区域仍然有不少噪声点,过滤小的连通区域以去掉噪点。接着,通过闭运算先膨胀,消除二值图像目标区域值为像素值为0的小孔和裂隙,后腐蚀使目标区域还原到原始大小。通过闭运算使喷嘴接头的分割图像更加稳定和完整。然后,获取目标区域轮廓的最小外接矩形,该最小外接矩形是一个旋转矩形,用((xcenter,ycenter),(width,height),angle)表示。其中,(xcenter,ycenter)为旋转矩形的中心坐标,(width,height)为旋转矩形的宽和高,angle为水平矩形绕中心点旋转的角度,另外,θ=angle*π/180,单位为rad,则旋转矩阵为:Then, the binary image generated in the previous step still has many noise points in non-target areas, and small connected areas are filtered to remove the noise points. Then, the closed operation is used to first expand to eliminate the small holes and cracks with a pixel value of 0 in the target area of the binary image, and then the target area is restored to its original size by erosion. The segmented image of the nozzle joint is made more stable and complete through closed operation. Then, obtain the minimum circumscribed rectangle of the target area outline. The minimum circumscribed rectangle is a rotated rectangle, represented by ((x center , y center ), (width, height), angle). Among them, (x center , y center ) is the center coordinate of the rotated rectangle, (width, height) is the width and height of the rotated rectangle, angle is the angle of rotation of the horizontal rectangle around the center point, in addition, θ=angle*π/180, The unit is rad, then the rotation matrix is:

在平面坐标上,任意点(xa,ya),绕一个坐标点(xb,yb)旋转θ角度后,新的坐标设为(x,y)的计算公式为,On the plane coordinates, after any point (xa, ya) is rotated by an angle θ around a coordinate point (xb, yb), the calculation formula for setting the new coordinates to (x, y) is,

然后,计算最小外接矩形的两个垂直于焊枪轴线的边的中点,由于本发明所使用的实验设备的焊枪喷嘴为标准圆柱形,所以这两条边中点的连线即为焊枪轴线所在的直线。通过将最小外接矩形的4个顶点分别按X轴和Y轴从小到大排序,可得该最小外接矩形垂直于焊枪轴线的两条边,进而得到这两条边的中点。通过这两个中点,可求得焊枪轴线在左视角图像像素坐标系的二元一次方程:Then, calculate the midpoints of the two sides of the minimum circumscribed rectangle that are perpendicular to the axis of the welding gun. Since the welding gun nozzle of the experimental equipment used in the present invention is a standard cylindrical shape, the line connecting the midpoints of these two sides is where the axis of the welding gun is. of straight lines. By sorting the four vertices of the minimum circumscribed rectangle from small to large on the X-axis and Y-axis respectively, we can get the two sides of the minimum circumscribed rectangle that are perpendicular to the axis of the welding gun, and then get the midpoints of these two sides. Through these two midpoints, the linear equation of two variables in the pixel coordinate system of the left-view image of the welding gun axis can be obtained:

设喷嘴接头区域外接矩形的四个顶点分别为(x1,y1),(x2,y2),(x3,y3),(x4,y4)。按X轴从小到大排序为vector_x=[(x4,y4),(x1,y1),(x3,y3),(x2,y2)],按Y轴从小到大排序为vector_y=[(x1,y1),(x2,y2),(x4,y4),(x3,y3)]。可得焊枪轴线与该最小外接矩形的交点(x5,y5),(x6,y6),Assume that the four vertices of the rectangle surrounding the nozzle joint area are (x1, y1), (x2, y2), (x3, y3), and (x4, y4). Sorting from small to large on the y1),(x2,y2),(x4,y4),(x3,y3)]. The intersection points (x5, y5) and (x6, y6) of the welding gun axis and the minimum circumscribed rectangle can be obtained,

其中,vector_x[0],vector_y[0]分别表示向量vector_x和vector_y的第一项元素,即(x4,y4)和(x1,y1)。vector_x[-1]和vector_y[-1]分别表示向量vector_x和vector_y的最后一项元素,即(x2,y2)和(x3,y3)。“/2”表示每一项元素除以2。Among them, vector_x[0] and vector_y[0] represent the first elements of vector_x and vector_y respectively, that is, (x4, y4) and (x1, y1). vector_x[-1] and vector_y[-1] represent the last elements of vector_x and vector_y respectively, namely (x2, y2) and (x3, y3). "/2" means dividing each element by 2.

由(x5,y5),(x6,y6)可求得焊枪轴线在左视图像素坐标系下的二元一次方程的斜率截距为b=y5-k·x5,方程表达式记为y=k·x+b。流程图如图2所示。From (x5, y5), (x6, y6), the slope of the quadratic equation of the welding gun axis in the left view pixel coordinate system can be obtained The intercept is b=y5-k·x5, and the equation expression is recorded as y=k·x+b. The flow chart is shown in Figure 2.

步骤五,估计待焊点在图像中的像素位置。截取焊接区域ROI(感兴趣区域),并在该区域中估计待焊点的像素位置,最后将焊点在焊接区域ROI图像上的坐标转化为在左视角图像上的像素坐标。Step 5: Estimate the pixel position of the soldering point in the image. Intercept the welding area ROI (region of interest), estimate the pixel position of the spot to be welded in this area, and finally convert the coordinates of the welding spot on the welding area ROI image into the pixel coordinates on the left-view image.

当在空间中焊枪轴线对准焊缝准备焊接时,焊枪轴线和焊缝相交,待焊点的位置在图像上的表现为焊枪轴线与焊缝的交点。步骤包括:When the axis of the welding gun is aligned with the welding seam in space and ready for welding, the axis of the welding gun intersects with the welding seam, and the position of the spot to be welded appears on the image as the intersection point of the axis of the welding gun and the welding seam. Steps include:

首先,在矫正后的左视图绘制焊接区域ROI矩形。因为相机与焊枪相对位置固定,因此焊枪顶点的像素坐标固定。在左视角图像中过焊枪顶点做一条适当长度的垂直于焊枪轴线的线段,作为焊接区域ROI的宽。特别的,焊枪顶点为这条线段的中点。以焊接区域ROI的宽为基础,焊接区域ROI的长边平行于焊枪轴线:First, draw the welding area ROI rectangle on the corrected left view. Because the relative position of the camera and the welding gun is fixed, the pixel coordinates of the welding gun vertex are fixed. In the left-view image, draw a line segment of appropriate length perpendicular to the axis of the welding gun through the vertex of the welding gun as the width of the welding area ROI. In particular, the welding gun vertex is the midpoint of this line segment. Based on the width of the welding area ROI, the long side of the welding area ROI is parallel to the axis of the welding gun:

由步骤四知焊枪轴线在左视角图像像素坐标系上的方程,设为y=k·x+b,则过已知的焊枪顶点的像素坐标(_x,_y),做一条适当长度的垂直于焊枪轴线的直线方程为y=(-1/k)·x+(_y+(1/k)·_x),以焊枪顶点为中点取20个像素长度作为焊接区域ROI的宽;以上述作为宽的线段的两个端点,分别做一条平行于焊枪轴线的,长度为60像素,方向为焊枪顶点向待焊点延伸的线段,作为焊接区域ROI的长边。From step 4, we know the equation of the axis of the welding gun in the pixel coordinate system of the left-view image. Let it be y=k·x+b. Then, through the known pixel coordinates (_x,_y) of the welding gun vertex, make a line of appropriate length perpendicular to The linear equation of the axis of the welding gun is y=(-1/k)·x+(_y+(1/k)·_x). With the vertex of the welding gun as the midpoint, take a length of 20 pixels as the width of the welding area ROI; use the above as the width For the two endpoints of the line segment, make a line segment parallel to the axis of the welding gun, with a length of 60 pixels and a direction extending from the vertex of the welding gun to the point to be welded, as the long side of the welding area ROI.

接着,裁剪焊接区域ROI。上述步骤所得焊接区域ROI为旋转矩形,不便于裁剪图像和识别待焊点。因此,将原始左视图旋转,以使焊接区域ROI的旋转角为0,接着将焊接区域ROI从左视图上裁剪下来,此时矩形区域(即裁剪下来的焊接区域)的竖直中线即为焊枪的轴线。Next, cut the welding area ROI. The welding area ROI obtained in the above steps is a rotated rectangle, which is not convenient for cropping the image and identifying the spots to be welded. Therefore, the original left view is rotated so that the rotation angle of the welding area ROI is 0, and then the welding area ROI is cropped from the left view. At this time, the vertical centerline of the rectangular area (that is, the cropped welding area) is the welding gun. axis.

然后,提取待焊点。将焊接区域ROI图像灰度化,利用canny算法提取焊缝,焊缝提取效果如图8(b)所示,图中白色直线代表焊缝位置。接着,记录焊缝和焊接区域ROI图像的竖直中线的交点坐标,该交点即为待焊点。具体做法是,从矩形区域的中心点开始,每次向上和向下分别探索一个像素,当像素的值为255时,停止探索,记录当前像素坐标。Then, extract the spots to be soldered. The welding area ROI image is grayscaled, and the canny algorithm is used to extract the weld seam. The weld seam extraction effect is shown in Figure 8(b). The white straight line in the figure represents the weld seam position. Next, record the intersection coordinates of the vertical centerline of the weld seam and the welding area ROI image, and the intersection point is the point to be welded. The specific method is to start from the center point of the rectangular area and explore one pixel upward and downward each time. When the value of the pixel is 255, stop exploring and record the current pixel coordinates.

最后,计算待焊点在左视角图像上的像素坐标。利用与上述步骤中相反的运算,即先将待焊点在裁剪下来的焊接区域ROI的图像上的像素坐标恢复到旋转后左视角图像的像素坐标系上的坐标,然后再将该坐标点按上述步骤相反的方向旋转,最终将待焊点在裁剪下来的焊接区域ROI的图像上的像素坐标转化为在左视图上的像素坐标。流程图如图3所示。Finally, calculate the pixel coordinates of the spot to be soldered on the left-view image. Use the opposite operation to the above steps, that is, first restore the pixel coordinates of the to-be-soldered spot on the image of the cropped welding area ROI to the coordinates on the pixel coordinate system of the rotated left-view image, and then click on the coordinates The above steps are rotated in the opposite direction, and finally the pixel coordinates of the to-be-soldered spot on the image of the cropped welding area ROI are converted into pixel coordinates on the left view. The flow chart is shown in Figure 3.

步骤六,将焊点和焊枪关键点的二维坐标转化为三维坐标,通过计算两点在三维空间中的欧几里得距离,在排除异常值后,取每40帧的测量平均值作为双目视觉测量的最终结果。Step 6: Convert the two-dimensional coordinates of the key points of the solder joint and the welding gun into three-dimensional coordinates. By calculating the Euclidean distance between the two points in the three-dimensional space, after excluding outliers, take the measurement average of every 40 frames as the double coordinate. The final result of visual measurement.

首先,将待焊点和焊枪关键点的二维坐标转化为三维坐标,First, convert the two-dimensional coordinates of the key points of the welding point and the welding gun into three-dimensional coordinates,

其中,(xc,yc,zc)为关键点的三维坐标,(uc,vc)为关键点的二维坐标,fx,fy,cx,cy是相机线性模型的内参。fx,fy分别为像素坐标轴u轴和v轴方向上的尺度因子,cx,cy是光学中心,depth为深度。Among them, (x c , y c , z c ) are the three-dimensional coordinates of the key points, (u c , v c ) are the two-dimensional coordinates of the key points, f x , f y , c x , c y are the linear model of the camera internal reference. f x , f y are the scale factors in the u-axis and v-axis directions of the pixel coordinate axis respectively, c x , cy y are the optical centers, and depth is the depth.

计算两点在三维空间中的欧几里得距离,Calculate the Euclidean distance between two points in three-dimensional space,

其中,(xa,ya,za)为位于焊枪轴线上的焊枪喷嘴接头末端的点在相机坐标系下的三维坐标。(xb,yb,zb)为待焊点在相机坐标系下的三维坐标。length为视觉测量出的位于焊枪轴线上的焊枪喷嘴接头末端的点(xa,ya,za)到待焊接点(xb,yb,zb)的欧几里得距离。Among them, (x a , y a , z a ) are the three-dimensional coordinates of the point at the end of the welding gun nozzle joint located on the axis of the welding gun in the camera coordinate system. (x b ,y b ,z b ) are the three-dimensional coordinates of the spot to be welded in the camera coordinate system. The length is the visually measured Euclidean distance from the point (x a , y a , z a ) at the end of the welding gun nozzle joint on the welding gun axis to the point to be welded (x b , y b , z b ).

接着,焊枪喷嘴接头末端的点到待焊接点的距离length减去焊枪喷嘴的长度lenweld,即为焊枪喷嘴端点到待焊接点的距离len,此距离也为焊丝干伸长,满足下式,Then, the distance length from the end of the welding gun nozzle joint to the point to be welded minus the length of the welding gun nozzle len weld is the distance len from the end point of the welding gun nozzle to the point to be welded. This distance is also the dry extension of the welding wire and satisfies the following formula,

len=length-lenweld len=length-len weld

其中,len为最终计算得到的焊丝干伸长,lenweld为焊枪喷嘴长度。Among them, len is the final calculated dry extension of the welding wire, and len weld is the length of the welding gun nozzle.

根据图9(a)、图10(a)、图11(a)、图12(a)、图13(a)、图14(a)、图15(a)、图16(a)、图17(a)知,如果取单帧的测量结果作为双目视觉测量的最终结果,具有极大的不准确性和不稳定性。在100次的测量实验中,实验结果如下表所示:According to Figure 9(a), Figure 10(a), Figure 11(a), Figure 12(a), Figure 13(a), Figure 14(a), Figure 15(a), Figure 16(a), Figure 17(a) It is known that if the measurement result of a single frame is taken as the final result of binocular vision measurement, there will be great inaccuracy and instability. In 100 measurement experiments, the experimental results are as shown in the following table:

表1取单帧的测量结果作为双目视觉测量的最终结果时的实验情况Table 1 Experimental conditions when taking the measurement results of a single frame as the final result of binocular vision measurement

根据图18知,通过多帧测量取平均值作为最终测量结果可以有效地减少测量误差,同时减小标准差,抑制测量结果的突变。进一步地,根据图19知,虽然测量误差随着用于计算平均值的帧数的数量增加而减少,但是获得一次测量结果的时间也大幅增加。因此,为平衡测量误差和测量时间,选取每40帧的测量平均值作为双目视觉测量的最终结果。连续测量50次结果如图9(b)、图10(b)、图11(b)、图12(b)、图13(b)、图14(b)、图15(b)、图16(b)、图17(b)所示,实验结果如下:According to Figure 18, taking the average value of multiple frame measurements as the final measurement result can effectively reduce the measurement error, reduce the standard deviation, and suppress sudden changes in the measurement results. Further, according to Figure 19, although the measurement error decreases as the number of frames used to calculate the average increases, the time to obtain one measurement result also increases significantly. Therefore, in order to balance the measurement error and measurement time, the measurement average of every 40 frames is selected as the final result of the binocular vision measurement. The results of 50 consecutive measurements are shown in Figure 9(b), Figure 10(b), Figure 11(b), Figure 12(b), Figure 13(b), Figure 14(b), Figure 15(b), Figure 16 (b), as shown in Figure 17(b), the experimental results are as follows:

表2取每40帧的测量平均值作为双目视觉测量的最终结果时的实验情况Table 2 Experimental conditions when taking the average measurement value of every 40 frames as the final result of binocular vision measurement

真实值(cm)True value(cm) 2.02.0 2.52.5 3.03.0 3.53.5 4.04.0 4.54.5 5.05.0 5.55.5 6.06.0 平均值(cm)Average(cm) 1.881.88 2.552.55 3.043.04 3.563.56 4.214.21 4.474.47 4.854.85 5.495.49 5.755.75 最大值-最小值(cm)Maximum value-Minimum value (cm) 0.600.60 0.710.71 0.490.49 1.001.00 1.261.26 1.411.41 1.051.05 0.540.54 1.901.90 标准差standard deviation 0.130.13 0.150.15 0.110.11 0.210.21 0.260.26 0.310.31 0.190.19 0.140.14 0.350.35

对比上述实验,选取每40帧的测量平均值作为双目视觉测量的最终结果,不论是在波动范围上还是在离散程度上,都比取单帧的测量值作为双目视觉测量的最终结果的效果好,并且测量时间在3到4秒,满足了快速性和稳定性的要求。具体流程如图4所示。Compared with the above experiments, the measurement average of every 40 frames is selected as the final result of the binocular vision measurement. Both in terms of fluctuation range and discrete degree, the measurement value of a single frame is selected as the final result of the binocular vision measurement. The effect is good, and the measurement time is 3 to 4 seconds, which meets the requirements of rapidity and stability. The specific process is shown in Figure 4.

参阅图5和图6,本发明还提供一种基于双目视觉的初始焊接干伸长测量装置,包括一个帧同步双目摄像头模块、摄像头夹具、计算机、照明模块、焊枪及用于移动焊枪的装置,其中:Referring to Figures 5 and 6, the present invention also provides an initial welding dry elongation measurement device based on binocular vision, including a frame synchronized binocular camera module, camera fixture, computer, lighting module, welding gun and a device for moving the welding gun. device, which:

所述帧同步双目摄像头模块,焦距为3.0mm,基线为63mm,图像分辨率为640×480,用于原始图像采集。The frame synchronized binocular camera module has a focal length of 3.0mm, a baseline of 63mm, and an image resolution of 640×480, which is used for original image collection.

所述摄像头夹具用于固定双目摄像头模块和焊枪之间的相对位置,以使摄像头的基线在某一投影平面上近似垂直于焊枪轴线,并固定摄像头于焊枪前进方向一侧。这种设计减少了需要另外估计的参数的数量,简化了测量算法,提升了测量准确度,加快了算法的运算速度。The camera fixture is used to fix the relative position between the binocular camera module and the welding gun, so that the baseline of the camera is approximately perpendicular to the axis of the welding gun on a certain projection plane, and to fix the camera on one side in the forward direction of the welding gun. This design reduces the number of parameters that need to be estimated separately, simplifies the measurement algorithm, improves the measurement accuracy, and speeds up the calculation speed of the algorithm.

所述计算机,用于实时图像采集、图像处理、特征匹配、立体匹配以及关键点估计、识别,以完成初始焊接干伸长量的测量。The computer is used for real-time image acquisition, image processing, feature matching, stereo matching, and key point estimation and identification to complete the measurement of the initial welding dry elongation.

所述照明模块被固定于用于移动焊枪的装置上,用于改善环境光照,提高测量精度。The lighting module is fixed on the device for moving the welding gun and is used to improve ambient lighting and improve measurement accuracy.

所述焊枪型号为Panasonic MIG/MAG焊焊枪。喷嘴外径24mm,全长73mm。喷嘴接头为黄铜色标准喷嘴接头。焊枪与摄像头夹具一起被固定于用于移动焊枪的装置上。焊枪、摄像头、照明模块三者保持相对位置固定。The welding gun model is Panasonic MIG/MAG welding gun. The outer diameter of the nozzle is 24mm and the total length is 73mm. The nozzle connector is a brass-colored standard nozzle connector. The welding gun is fixed together with the camera clamp on the device for moving the welding gun. The welding gun, camera, and lighting module keep their relative positions fixed.

综上所述,在焊接过程中,利用本发明的方法,焊接人员或机器人可以在焊接前快速、稳定地获取焊接干伸长量,有助于根据干伸长量自主调节工作参数,提高机器人的焊接质量及效率,并可提高机器焊接的自动化程度,降低焊工的劳动强度。In summary, during the welding process, using the method of the present invention, welding personnel or robots can quickly and stably obtain the welding dry elongation before welding, which helps to autonomously adjust the working parameters according to the dry elongation and improves the robot's performance. It can improve the welding quality and efficiency, improve the automation of machine welding, and reduce the labor intensity of welders.

根据以上分析,在焊接过程中,利用本发明所提供的方法可以帮助焊接人员或机器人快速、稳定地获取初始焊接干伸长量。根据本发明方法测量出的干伸长可用于自主调节工作参数或根据焊接工作参数自主调节干伸长,可以提高机器人的焊接质量和效率,并显著提升机器焊接的自动化程度,同时降低焊工的劳动强度。According to the above analysis, during the welding process, the method provided by the present invention can help welding personnel or robots quickly and stably obtain the initial welding dry elongation. The dry elongation measured according to the method of the present invention can be used to autonomously adjust working parameters or independently adjust the dry elongation according to the welding working parameters, which can improve the welding quality and efficiency of the robot, significantly improve the automation of machine welding, and reduce the labor of the welder. strength.

以上列举的仅是本发明的具体实施例之一。显然,本发明不限于以上实施例,还可以有许多类似的变形。本领域的普通技术人员从本发明公开的内容直接导出或联想到的所有变形,均应认为是本发明所要保护的范围。What is listed above is only one of the specific embodiments of the present invention. Obviously, the present invention is not limited to the above embodiments, and many similar modifications are possible. All modifications directly derived or thought of by those of ordinary skill in the art from the disclosure of the present invention should be considered to be within the scope of protection of the present invention.

Claims (8)

1. An initial welding dry elongation measurement method based on binocular vision, which is characterized by comprising the following steps of:
step 1, calibrating a camera; obtaining internal and external parameters of each camera module and structural parameters between two camera modules in the binocular camera;
step 2, image acquisition and image processing; carrying out distortion correction and three-dimensional correction on the acquired original RGB image to obtain a left-right visual angle RGB image and a gray image which are free of distortion and aligned in a coplanar line;
step 3, three-dimensionally matching and obtaining a parallax image and a depth image; calculating binocular parallax by utilizing a semi-global block matching algorithm SGBM, and further obtaining a point cloud image and a depth image, wherein a left view of a binocular camera is aligned with the depth image;
step 4, adaptively positioning a welding gun and a welding gun axis; the method comprises the steps of positioning a welding gun axis by positioning the position of a point at the tail end of a welding gun nozzle joint on the welding gun axis on an image, and indirectly measuring the dry extension by calculating the distance from the point at the tail end of the welding gun nozzle joint on the welding gun axis to a to-be-welded point;
step 5, estimating the pixel position of the to-be-welded point in the image; intercepting a welding region ROI, determining a to-be-welded point through an intersection point of an extension line of a welding gun axis and a welding line, and finally converting coordinates of the welding point on a welding region ROI image into pixel coordinates on a left visual angle image;
step 6, converting the coordinates of the key points and calculating the distance; converting two-dimensional coordinates of a to-be-welded point and a welding gun key point into three-dimensional coordinates, calculating Euclidean distance between the two points in a three-dimensional space, and taking a measurement average value of every 40 frames as a final result of initial welding dry extension of binocular vision measurement after abnormal values are eliminated.
2. The binocular vision-based initial welding dry elongation measurement method of claim 1, wherein the step 1 comprises:
step 1.1, two cameras on a binocular camera module shoot images of the checkerboard calibration plate at different positions at the same time;
step 1.2, performing camera calibration and three-dimensional calibration by using OpenCV; and acquiring internal and external parameters and distortion parameters of each camera module and structural parameters between two cameras, wherein the parameters comprise a rotation matrix and a translation vector between two camera coordinate systems.
3. The binocular vision-based initial welding dry elongation measurement method of claim 1, wherein the step 2 comprises:
step 2.1, converting two three-channel RGB images of left and right visual angles of a binocular camera into two single-channel gray images;
2.2, respectively carrying out distortion correction on the two gray images by using distortion parameters obtained by camera calibration;
and 2.3, carrying out three-dimensional correction on the two gray images by using structural parameters between the camera internal parameters and the binocular cameras, which are obtained by camera calibration, so as to obtain left and right visual angle binocular images aligned in a coplanar line.
4. The binocular vision-based initial welding dry elongation measurement method of claim 1, wherein the step 3 comprises:
step 3.1, calculating parallax in binocular vision by utilizing an SGBM algorithm;
step 3.2, obtaining a mapping chart by utilizing the parallax images and the re-projection matrix obtained during the stereo correction of the images; the map is a three-channel image of the same size as the disparity map, each channel storing the values of the pixel location in the X-axis, Y-axis and Z-axis, respectively, in camera coordinate system, i.e. the three-dimensional coordinates (X, Y, Z) of each pixel in camera coordinate system, wherein the value of Z represents the distance of the object to the binocular camera plane in millimeters.
5. The binocular vision-based initial welding dry elongation measurement method of claim 1, wherein the step 4 comprises:
step 4.1, converting the corrected left view angle image into an HSV color gamut image, and dividing the nozzle joint part according to colors by adjusting a H, S, V threshold value and displaying the image on a binary image;
step 4.2, filtering the small communication area to remove noise points, and then enabling the segmented image of the nozzle joint to be more complete through closing operation; obtaining a minimum circumscribed rectangle of the outline by dividing the outline of the image;
step 4.3, calculating the midpoints of two sides of the minimum circumscribed rectangle, which are perpendicular to the axis of the welding gun, wherein the connecting line of the two midpoints is the straight line where the axis of the welding gun is located, and solving an equation of the straight line where the axis of the welding gun is located under a left-view pixel coordinate system; the pixel coordinates on the corrected left view of the midpoint nearer to the weld point are recorded.
6. The binocular vision-based initial welding dry elongation measurement method of claim 1, wherein the step 5 comprises:
step 5.1, drawing a welding region ROI rectangle on the corrected left view; making a line segment perpendicular to the axis of the welding gun at the top of the welding gun in the left view angle image, taking the line segment as the width of a welding region ROI, taking the top of the welding gun as the midpoint of the line segment, and taking the width of the welding region ROI as the basis, wherein the long side of the welding region ROI is parallel to the axis of the welding gun;
step 5.2, cutting a welding region ROI; rotating the left view so that the rotation angle of the welding region ROI is 0; cutting a welding region ROI, wherein the central line of the cut rectangular region is the axis of the welding gun;
step 5.3, extracting a to-be-welded point; graying the cut welding region ROI picture, extracting a welding line by using a canny algorithm, and recording an intersection point of the welding line and a vertical center line of the welding region ROI, wherein the intersection point is a to-be-welded point;
step 5.4, calculating pixel coordinates of the to-be-welded point; the pixel coordinates of the weld spot to be welded on the cropped weld region ROI image are converted into pixel coordinates on the corrected left view using the inverse operation to the step of cropping the weld region ROI.
7. The binocular vision-based initial welding dry elongation measurement method of claim 1, wherein the step 6 comprises:
step 6.1, respectively calculating a point positioned at the tail end of a welding gun nozzle joint on the axis of the welding gun and a three-dimensional coordinate of a to-be-welded point under a camera coordinate system; the equation for calculating the euclidean distance of two points in three dimensions is as follows,
wherein, (x) a ,y a ,z a ) Is the three-dimensional coordinates of the point of the tip of the welding gun nozzle at the axis of the welding gun in the camera coordinate system, (x) b ,y b ,z b ) Length is the visually measured point (x) at the end of the gun nozzle joint on the gun axis for the three-dimensional coordinates of the spot to be welded in the camera coordinate system a ,y a ,z a ) To the point to be soldered (x) b ,y b ,z b ) Euclidean distance of (c);
step 6.2, the distance length from the point of the tip of the welding gun nozzle joint located on the welding gun axis to the point to be welded is subtracted by the length len of the welding gun nozzle weld I.e. the distance len from the nozzle tip to the point to be welded, which is also the dry extension of the welding wire, satisfying the following formula,
len=length-len weld
wherein len is the final calculated dry elongation of the welding wire, len weld Is the nozzle length;
step 6.3, judging whether the measurement distance len of the previous step is within 0 cm to 7.5 cm, otherwise, directly jumping to the next frame for measurement; when 40 frames were measured, the measurement average value of these 40 frames was taken as the final result of binocular vision measurement.
8. The binocular vision-based initial welding dry elongation measurement device for realizing the binocular vision-based initial welding dry elongation measurement method of any one of claims 1 to 7, which is characterized by comprising a frame synchronous binocular camera module, a camera fixture, a computer, an illumination module, a welding gun and a device for moving the welding gun, wherein:
the frame synchronization binocular camera module has a focal length of 3.0mm, a base line of 63mm and an image resolution of 640 multiplied by 480 and is used for acquiring an original image;
the camera clamp is used for fixing the relative position between the binocular camera module and the welding gun, so that the base line of the camera is approximately perpendicular to the axis of the welding gun on the imaging plane of the binocular camera, and the camera is fixed on one side of the advancing direction of the welding gun;
the computer is used for real-time image acquisition, image processing, feature matching, stereo matching, key point estimation and recognition so as to finish the measurement of the initial welding dry elongation;
the lighting module is fixed on the device for moving the welding gun and is used for improving the ambient illumination;
the type of the welding gun is a Panasonic MIG/MAG welding gun; the outer diameter of the nozzle is 24mm, and the total length is 73mm; the nozzle joint is a brass standard nozzle joint; the welding gun and the camera clamp are fixed on a device for moving the welding gun; the welding gun, the camera and the lighting module are kept in fixed relative positions.
CN202311092160.9A 2023-08-28 2023-08-28 Initial welding dry elongation measurement method and device based on binocular vision Pending CN117190871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311092160.9A CN117190871A (en) 2023-08-28 2023-08-28 Initial welding dry elongation measurement method and device based on binocular vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311092160.9A CN117190871A (en) 2023-08-28 2023-08-28 Initial welding dry elongation measurement method and device based on binocular vision

Publications (1)

Publication Number Publication Date
CN117190871A true CN117190871A (en) 2023-12-08

Family

ID=88997144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311092160.9A Pending CN117190871A (en) 2023-08-28 2023-08-28 Initial welding dry elongation measurement method and device based on binocular vision

Country Status (1)

Country Link
CN (1) CN117190871A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118635625A (en) * 2024-06-03 2024-09-13 江苏塔帝思智能科技有限公司 A method for real-time measurement of welding wire dry extension by a molten pool monitoring camera
CN119027398A (en) * 2024-08-19 2024-11-26 河北工业大学 A detection method and device for identifying and locating weld seams of steel gratings
CN119205733A (en) * 2024-11-22 2024-12-27 南昌工程学院 A dynamic visual detection method for welding wire extension length
CN120997289A (en) * 2025-10-23 2025-11-21 湖南大学 A robot-based spot welding method, apparatus, equipment, and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118635625A (en) * 2024-06-03 2024-09-13 江苏塔帝思智能科技有限公司 A method for real-time measurement of welding wire dry extension by a molten pool monitoring camera
CN119027398A (en) * 2024-08-19 2024-11-26 河北工业大学 A detection method and device for identifying and locating weld seams of steel gratings
CN119205733A (en) * 2024-11-22 2024-12-27 南昌工程学院 A dynamic visual detection method for welding wire extension length
CN120997289A (en) * 2025-10-23 2025-11-21 湖南大学 A robot-based spot welding method, apparatus, equipment, and storage medium

Similar Documents

Publication Publication Date Title
CN117190871A (en) Initial welding dry elongation measurement method and device based on binocular vision
CN110524580B (en) A welding robot vision component and its measurement method
CN104708239B (en) CCD-based identification and positioning method of the starting point of large-scale ocean pipeline
CN114792337B (en) A high-precision detection method and device for welding groove size and relative position of welding gun
CN114088738B (en) High-precision defect detection method and device for annular welding seam
CN112894133B (en) Laser welding system and welding spot position extraction method
CN116071344A (en) A Machine Vision-Based Surface Label Splicing Detection System
CN105300296B (en) A kind of laser assembly solder curved surface seam measuring method and its realization device
CN106735749B (en) A Laser-Assisted Weld Seam Intelligent Tracking System
CN110220481B (en) Handheld visual detection equipment and pose detection method thereof
CN116772723A (en) Weld quality detection method based on structured light imaging
CN106392304A (en) Laser-assisted intelligent trailing system and method for welding line
CN106382888B (en) Line laser welding seam detection device suitable for six industrial robot of perpendicular articulated type
CN108344693B (en) A visual measurement method of thin-plate weld misalignment for automatic welding
KR102894744B1 (en) Vision inspection system for detecting defects of electrodes for secondary batteries using depth camera and stereo camera
CN111397529A (en) Complex surface shape detection method based on binocular vision structured light
CN116851929A (en) Object visual positioning laser marking method and system under motion state
CN110617772A (en) Non-contact type line diameter measuring device and method
CN106964907A (en) A kind of method and apparatus of laser cutting
CN117900722A (en) Guiding welding and welding seam quality detection method and system based on line structured light vision
CN115205511A (en) Rudder wing deflection angle detection method and system based on computer vision
CN116188597A (en) Automatic calibration method, system, and storage medium based on binocular camera and robotic arm
CN118162809A (en) Weld joint tracking welding method based on image recognition
CN119887893A (en) Z-direction positioning system and force position switching method for welding area of wire bonding machine
CN119123978A (en) Rectangular chip detection device and detection method of rectangular chip detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination