[go: up one dir, main page]

CN115106617A - A scanning and tracking method for long welds in a narrow space - Google Patents

A scanning and tracking method for long welds in a narrow space Download PDF

Info

Publication number
CN115106617A
CN115106617A CN202210755842.2A CN202210755842A CN115106617A CN 115106617 A CN115106617 A CN 115106617A CN 202210755842 A CN202210755842 A CN 202210755842A CN 115106617 A CN115106617 A CN 115106617A
Authority
CN
China
Prior art keywords
workpiece
point cloud
welding
data
robot
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
CN202210755842.2A
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.)
Sinohydro Bureau 7 Co Ltd
Sinohydro Jiajiang Hydraulic Machinery Co Ltd
Original Assignee
Sinohydro Bureau 7 Co Ltd
Sinohydro Jiajiang Hydraulic Machinery Co Ltd
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 Sinohydro Bureau 7 Co Ltd, Sinohydro Jiajiang Hydraulic Machinery Co Ltd filed Critical Sinohydro Bureau 7 Co Ltd
Priority to CN202210755842.2A priority Critical patent/CN115106617A/en
Publication of CN115106617A publication Critical patent/CN115106617A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K9/00Arc welding or cutting
    • B23K9/12Automatic feeding or moving of electrodes or work for spot or seam welding or cutting
    • B23K9/127Means for tracking lines during arc welding or cutting
    • B23K9/1272Geometry oriented, e.g. beam optical trading
    • B23K9/1274Using non-contact, optical means, e.g. laser means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/1605Simulation of manipulator lay-out, design, modelling of manipulator
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697Vision controlled systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Robotics (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Geometry (AREA)
  • Plasma & Fusion (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)

Abstract

本申请涉及机器人焊接技术领域,公开了一种窄小空间内长焊缝扫描及跟踪方法,本方法利用机器人控制系统和图像识别系统,采用人工放置标定板,三维视觉自动识别结构件焊缝位置的方式,自动找寻焊接位置,能够满足小空间构件施焊的需要,可对多腔体钢构件的坡口焊缝进行焊接,实现机器人自动化焊接作业。

Figure 202210755842

The application relates to the technical field of robot welding, and discloses a method for scanning and tracking long welds in a narrow space. The method utilizes a robot control system and an image recognition system, manually places a calibration plate, and automatically recognizes the position of the welds of structural parts by three-dimensional vision. The method can automatically find the welding position, which can meet the needs of welding small-space components, and can weld the groove welds of multi-cavity steel components to realize robot automatic welding operations.

Figure 202210755842

Description

一种窄小空间内长焊缝扫描及跟踪方法A method for scanning and tracking long welds in narrow spaces

技术领域technical field

本申请涉及机器人焊接技术领域,具体涉及一种窄小空间内长焊缝扫描及跟踪方法。The present application relates to the technical field of robotic welding, in particular to a method for scanning and tracking long welds in a narrow space.

背景技术Background technique

随着机器人技术日益成熟,焊接机器人正逐渐被广泛应用于工业制造各个领域。因焊接机器人具有多轴联动与程序智能化控制功能,具有动作重复精度高、产品质量稳定、生产效率高等特点,特别适合在流水线上应用,如汽车制造、医疗器械、化工生产、包装等具有程序化、标准化特点的行业。With the increasing maturity of robot technology, welding robots are gradually being widely used in various fields of industrial manufacturing. Because the welding robot has multi-axis linkage and program intelligent control functions, it has the characteristics of high action repetition accuracy, stable product quality, and high production efficiency. It is especially suitable for application in assembly lines, such as automobile manufacturing, medical equipment, chemical production, packaging, etc. industry with the characteristics of chemicalization and standardization.

在水利水电钢结构件中,如弧门、机架等,目前主要采用手弧焊方式进行焊接。手弧焊存在操作劳动强度大,焊接质量不稳定,生产效率低,而将智能化的机器人焊接技术应用于该类产品制造,替代手弧焊则可有效解决质量与效率问题。但由于该类焊接件存在结构复杂、施焊方向变换多、空间狭窄、焊缝质量等级为一级,100%UT等特点。因为该类结构件内部空间狭小,难以进入内腔进行焊缝的施焊,为了实现窄小空间焊接,用一种小空间长悬臂内焊装置,安装在机器人手臂上,可对多腔体钢构件的坡口焊缝进行焊接。但由于空间狭小、封闭,焊缝长且坡口组合焊缝直线度大于3mm,看不见实时焊接情况,仅仅依靠编程实现焊接保证不了焊缝的质量。In water conservancy and hydropower steel structural parts, such as arc doors, racks, etc., hand arc welding is currently mainly used for welding. Manual arc welding has high labor intensity, unstable welding quality, and low production efficiency. Applying intelligent robot welding technology to the manufacture of such products can effectively solve the problems of quality and efficiency instead of manual arc welding. However, due to the complex structure of this type of welding parts, many welding direction changes, narrow space, the quality level of the weld is first-class, 100% UT and so on. Because the internal space of this type of structure is narrow, it is difficult to enter the cavity for welding. In order to realize welding in narrow space, a small space long cantilever internal welding device is used, which is installed on the robot arm, which can be used for multi-cavity steel welding. The groove welds of the components are welded. However, due to the narrow and closed space, the long welding seam and the straightness of the groove combined welding seam greater than 3mm, the real-time welding situation cannot be seen, and only relying on programming to realize welding cannot guarantee the quality of the welding seam.

发明内容SUMMARY OF THE INVENTION

为了解决上述现有技术中存在的问题和不足,本申请提出了一种窄小空间内长焊缝扫描及跟踪方法,本方法利用机器人控制系统和图像识别系统,采用人工放置引导板,三维视觉自动识别结构件焊缝位置的方式,自动找寻焊接位置,满足小空间构件施焊的需要,可对多腔体钢构件的坡口焊缝进行焊接,实现机器人自动化焊接作业。In order to solve the above-mentioned problems and deficiencies in the prior art, the present application proposes a method for scanning and tracking long welds in a narrow space. The method of automatically identifying the welding position of structural parts, automatically finding the welding position, meeting the needs of welding small-space components, and welding the groove welds of multi-cavity steel components to realize robot automatic welding operations.

为了实现上述发明目的,本申请的技术方案具体如下:In order to realize the above-mentioned purpose of the invention, the technical scheme of the present application is as follows:

一种窄小空间内长焊缝扫描及跟踪方法,包括:A method for scanning and tracking long welds in a narrow space, comprising:

人工铺设标定板至工件焊缝位置处,视觉传感器采集工件的实时图像并将图像传输至上位机;Manually lay the calibration plate to the welding position of the workpiece, and the vision sensor collects the real-time image of the workpiece and transmits the image to the upper computer;

上位机对所采集的工件图像进行图像处理,对图像中的标定板进行识别,获取工件的类型和焊缝类型,最终确定焊接机器人运动轨迹;The host computer performs image processing on the collected workpiece image, identifies the calibration plate in the image, obtains the type of workpiece and the type of weld, and finally determines the motion trajectory of the welding robot;

获取工件的原始三维点云数据,对工件的原始三维点云数据进行预处理,最终得到工件的三维模型以及工件的焊缝位置;Obtain the original 3D point cloud data of the workpiece, preprocess the original 3D point cloud data of the workpiece, and finally obtain the 3D model of the workpiece and the weld position of the workpiece;

工件的三维模型与工件实物进行比较,若两者相匹配或在误差范围内,上位机将焊接机器人的运动轨迹指令以及焊缝的位置信息传输至焊接机器人控制器中,焊接机器人控制器根据上述指令以及焊缝位置信息对焊接机器人的运动轴执行结构进行控制,最终实现工件的焊接。The three-dimensional model of the workpiece is compared with the actual workpiece. If the two match or are within the error range, the upper computer transmits the motion trajectory command of the welding robot and the position information of the welding seam to the welding robot controller. The instruction and the position information of the welding seam control the execution structure of the motion axis of the welding robot, and finally realize the welding of the workpiece.

进一步地,所述视觉传感器包括CCD摄像机、激光器和窄带滤光片,CCD摄像机和激光器集成在一个壳体中,壳体设置在焊接机器人的轴臂上,窄带滤光片设置在CCD摄像机镜头的前面。Further, the visual sensor includes a CCD camera, a laser and a narrow-band filter, the CCD camera and the laser are integrated in a housing, the housing is arranged on the shaft arm of the welding robot, and the narrow-band filter is arranged on the lens of the CCD camera. Front.

进一步地,所述图像处理包括图像预处理、边缘检测以及特征提取。Further, the image processing includes image preprocessing, edge detection and feature extraction.

进一步地,所述图像预处理包括数字化、几何变换、归一化、平滑、复原以及增强中的一种或多种。Further, the image preprocessing includes one or more of digitization, geometric transformation, normalization, smoothing, restoration and enhancement.

进一步地,所述上位机对所采集的工件图像进行图像处理,对图像中的标定板进行识别,获取工件的类型、焊缝类型以及焊缝位置,最终确定焊接机器人运动轨迹,包括:Further, the host computer performs image processing on the collected workpiece image, identifies the calibration plate in the image, obtains the type of the workpiece, the type of weld and the position of the weld, and finally determines the motion trajectory of the welding robot, including:

上位机内部存储有基础数据库,基础数据库中包括有标定板类型数据、工件数据和焊接机器人运动轨迹数据,标定板类型数据、工件数据以及焊接机器人轨迹数据对应匹配;当识别出工件焊缝位置放置的标定板类型后,在基础数据库中寻找与其匹配的工件数据,并最终得到工件类型、焊缝类型以及对应的焊接机器人运动轨迹。The host computer stores a basic database, which includes calibration plate type data, workpiece data and welding robot trajectory data, calibration plate type data, workpiece data and welding robot trajectory data correspondingly matched; when the workpiece weld position is identified, place it After calibrating the plate type, find the matching workpiece data in the basic database, and finally get the workpiece type, welding seam type and the corresponding welding robot motion trajectory.

进一步地,所述对工件的原始三维点云数据进行预处理,包括:Further, the preprocessing of the original 3D point cloud data of the workpiece includes:

点云坐标变换:求解出视觉坐标系和机器人坐标系之间的坐标变换矩阵,将获取的原始三维点云数据由扫描设备坐标表达转换成由机器人坐标表达;Point cloud coordinate transformation: Solve the coordinate transformation matrix between the visual coordinate system and the robot coordinate system, and convert the acquired original 3D point cloud data from the coordinates of the scanning device to the coordinates of the robot;

点云切片:将获取的三维点云进行中心切片,得到工件的主视切片点云、俯视切片点云和左视切片点云;Point cloud slicing: centrally slice the acquired 3D point cloud to obtain the main view slice point cloud, top view slice point cloud and left view slice point cloud of the workpiece;

点云去噪:分别将上述工件的主视切片点云、俯视切片点云和左视切片点云进行去噪处理;Point cloud denoising: respectively denoising the main view slice point cloud, top view slice point cloud and left view slice point cloud of the above workpiece;

点云分割:在得到去噪后的点云切片后,设定一个灰度阈值,选定出目标区域和背景区域,将目标区域大致轮廓提取出来;Point cloud segmentation: After obtaining the denoised point cloud slice, set a grayscale threshold, select the target area and background area, and extract the rough outline of the target area;

点云切片重组:将主视切片点云、俯视切片点云以及左视切片点云进行重组,最终得到工件的三维模型。Point cloud slice reorganization: Reorganize the main view slice point cloud, top view slice point cloud and left view slice point cloud, and finally get the 3D model of the workpiece.

本申请的有益效果:Beneficial effects of this application:

(1)本申请利用机器人控制系统和图像识别系统,采用人工放置引导板,三维视觉自动识别结构件焊缝位置的方式,自动找寻焊接位置,满足小空间构件施焊的需要,可对多腔体钢构件的坡口焊缝进行焊接,实现机器人自动化焊接作业。(1) This application uses the robot control system and image recognition system, adopts the manual placement of the guide plate, and the three-dimensional vision automatically identifies the welding position of the structural member, and automatically finds the welding position to meet the needs of welding of small space components. The groove welds of the body steel components are welded to realize the robot automatic welding operation.

(2)本申请根据激光扫描焊缝位置,自动引导机器人将焊枪对准焊缝指定位置处,能够保证焊缝跟踪精度满足焊接工艺要求,同时还减轻了在线编程难度和工作量,本申请无需多次编程,一个程序即可适应多种工件,也不需要示教作业,只需要根据扫描到的工件模型和实物进行对比,然后根据扫描的工件寻找焊缝,不管什么形式的焊缝,程序自动调用相应的子程序和相应的参数即可进行焊接。(2) This application automatically guides the robot to align the welding torch at the designated position of the welding seam based on the laser scanning the position of the welding seam, which can ensure that the welding seam tracking accuracy meets the requirements of the welding process, and also reduces the difficulty and workload of online programming. After multiple programming, one program can be adapted to a variety of workpieces, and there is no need for teaching operations. You only need to compare the scanned workpiece model with the real object, and then find the weld according to the scanned workpiece. No matter what form of weld, the program Welding can be performed by automatically calling corresponding subprograms and corresponding parameters.

(3)本申请中提及到的人工铺设标定板,大大简化了机器人大范围的寻找工件和寻找焊缝,机器人只需要运动到标定板位置,就可以自行扫描工件和寻找焊缝。(3) The manual laying of the calibration plate mentioned in this application greatly simplifies the robot's large-scale search for workpieces and welding seams. The robot only needs to move to the position of the calibration plate to scan the workpiece and find the welding seam by itself.

附图说明Description of drawings

本申请的前述和下文具体描述在结合以下附图阅读时变得更清楚,附图中:The foregoing and following detailed description of the present application will become more apparent when read in conjunction with the following accompanying drawings, in which:

图1为本申请方法流程图。FIG. 1 is a flow chart of the method of the application.

具体实施方式Detailed ways

为了使本领域的技术人员更好地理解本申请中的技术方案,下面将通过几个具体的实施例来进一步说明实现本申请发明目的的技术方案,需要说明的是,本申请要求保护的技术方案包括但不限于以下实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present application, the following will further illustrate the technical solutions for realizing the purpose of the invention of the present application through several specific embodiments. It should be noted that the technical solutions claimed in the present application are Protocols include but are not limited to the following examples. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of this application.

目前,在水利水电钢结构件中,如弧门、机架等,主要采用手弧焊方式进行焊接。手弧焊存在操作劳动强度大,焊接质量不稳定,生产效率低,而将智能化的机器人焊接技术应用于该类产品制造,替代手弧焊则可有效解决质量与效率问题。但由于该类焊接件存在结构复杂、施焊方向变换多、空间狭窄、焊缝质量等级为一级,100%UT等特点。特别是多腔体钢构件,每个内腔尺寸175 mmx200mm,深1900 mm,板厚50mm,坡口组合焊缝。因为该类结构件内部空间狭小,难以进入内腔进行焊缝的施焊,为了实现窄小空间焊接,用一种小空间长悬臂内焊装置,安装在机器人手臂上,可对多腔体钢构件的坡口焊缝进行焊接。但由于空间狭小、封闭,焊缝长且坡口组合焊缝直线度大于3mm,看不见实时焊接情况,仅仅依靠编程实现焊接保证不了焊缝的质量。At present, in the water conservancy and hydropower steel structure parts, such as arc doors, frames, etc., hand arc welding is mainly used for welding. Manual arc welding has high labor intensity, unstable welding quality, and low production efficiency. Applying intelligent robot welding technology to the manufacture of such products can effectively solve the problems of quality and efficiency instead of manual arc welding. However, due to the complex structure of this type of welding parts, many welding direction changes, narrow space, the quality level of the weld is first-class, 100% UT and so on. Especially the multi-cavity steel components, each cavity size is 175 mmx200mm, the depth is 1900 mm, the plate thickness is 50mm, and the groove is combined with welding seam. Because the internal space of this type of structure is narrow, it is difficult to enter the cavity for welding. In order to realize welding in narrow space, a small space long cantilever internal welding device is used, which is installed on the robot arm, which can be used for multi-cavity steel welding. The groove welds of the components are welded. However, due to the narrow and closed space, the long welding seam and the straightness of the groove combined welding seam greater than 3mm, the real-time welding situation cannot be seen, and only relying on programming to realize welding cannot guarantee the quality of the welding seam.

基于此,为了解决多腔体钢构件,每个内腔尺寸175 mmx200mm,深1900 mm,难以观察内腔焊缝的施焊情况。本实施例提供了一种窄小空间内长焊缝扫描及跟踪方法,利用机器人控制系统和图像识别系统,采用人工放置标定板,三维视觉自动识别结构件焊缝位置的方式,自动找寻焊接位置,满足小空间构件施焊的需要,可对多腔体钢构件的坡口焊缝进行焊接,实现机器人自动化焊接作业。Based on this, in order to solve the problem of multi-cavity steel components, the size of each cavity is 175 mmx200 mm and the depth is 1900 mm, so it is difficult to observe the welding situation of the inner cavity weld. This embodiment provides a method for scanning and tracking long welding seams in a narrow space, using a robot control system and an image recognition system, manually placing a calibration plate, and automatically identifying the welding position of structural parts by 3D vision to automatically find the welding position. , to meet the needs of welding small space components, can weld the groove welds of multi-cavity steel components, and realize robot automatic welding operations.

参照说明书附图1,本方法具体包括如下步骤:Referring to accompanying drawing 1 of the description, the method specifically includes the following steps:

步骤S1.首先采用人工将标定板铺设至工件焊缝位置处,视觉传感器采集工件的实时图像并将采集的图像传输至上位机。Step S1. First, manually lay the calibration plate at the position of the workpiece weld, and the vision sensor collects the real-time image of the workpiece and transmits the collected image to the host computer.

在本实施例中,所述视觉传感器主要由CCD摄像机、激光器和窄带滤光片组成,CCD摄像机和激光器集成在一个壳体中,壳体设置在焊接机器人的轴臂上,窄带滤光片设置在CCD摄像机镜头的前面。In this embodiment, the visual sensor is mainly composed of a CCD camera, a laser and a narrow-band filter. The CCD camera and the laser are integrated in a housing, the housing is set on the shaft arm of the welding robot, and the narrow-band filter is set in front of the CCD camera lens.

CCD摄像机垂直对准工件,激光器倾斜布置,激光器发出激光,经过透镜形成最后照射到工件上形成一条宽度很窄的光带。当光带被工件反射或折射后,经滤光片保留激光器发出的特定波长的光,而滤出其他波长的光,最后进入CCD摄像机的镜头中进行成像。The CCD camera is vertically aligned with the workpiece, the laser is arranged obliquely, and the laser emits laser light, which is formed by a lens and finally irradiated onto the workpiece to form a narrow light band. When the light band is reflected or refracted by the workpiece, the light of a specific wavelength emitted by the laser is retained by the filter, and the light of other wavelengths is filtered out, and finally enters the lens of the CCD camera for imaging.

步骤S2.上位机对所采集的工件图像进行图像处理,对图像中的标定板进行识别,获取工件的类型和焊缝类型,最终确定焊接机器人运动轨迹。Step S2. The host computer performs image processing on the collected workpiece image, identifies the calibration plate in the image, obtains the type of workpiece and the type of welding seam, and finally determines the motion trajectory of the welding robot.

在本实施例中,所述图像处理方法具体包括图像预处理、边缘检测以及特征提取。In this embodiment, the image processing method specifically includes image preprocessing, edge detection, and feature extraction.

进一步地,在本实施例中,所述图像预处理又包括数字化、几何变换、归一化、平滑、复原以及增强中的一种或多种。图像预处理的主要目的是消除图像中无关的信息,恢复有用的真实信息,增强有关信息的可检测性和最大限度地简化数据,从而改进特征抽取、图像分割、匹配和识别的可靠性。Further, in this embodiment, the image preprocessing further includes one or more of digitization, geometric transformation, normalization, smoothing, restoration, and enhancement. The main purpose of image preprocessing is to eliminate irrelevant information in images, restore useful real information, enhance the detectability of relevant information and simplify data to the greatest extent, thereby improving the reliability of feature extraction, image segmentation, matching and recognition.

进一步地,在本实施例中,上位机内部存储有基础数据库,基础数据库中包括有标定板类型数据、工件数据和焊接机器人运动轨迹数据,标定板类型数据、工件数据以及焊接机器人轨迹数据这三类数据对应匹配。Further, in this embodiment, a basic database is stored inside the host computer, and the basic database includes calibration plate type data, workpiece data and welding robot motion trajectory data, calibration plate type data, workpiece data and welding robot trajectory data. Class data corresponds to matching.

由于本申请中的上位机中存储有基础数据库,因此,当上位机采用上述图像处理方法对工件图像进行处理并识别出此时焊缝位置处的标定板类型后,会在基础数据库中寻找与其匹配的工件数据,最终就能够得到工件类型、焊缝类型以及对应的焊接机器人运动轨迹,也就是说当识别出焊缝位置处摆放的标定板后,就能够在数据库中对应匹配查找到该标定板所对应的工件类型以及该工件包含的焊缝类型,以及每一个焊缝对应的焊接机器人运动轨迹。当准备开始焊接后,上位机直接调用基础数据库中该工件焊缝所对应的焊接机器人运动轨迹并结合焊缝位置信息,控制焊接机器人直接开始焊接。Since a basic database is stored in the host computer in this application, when the host computer uses the above-mentioned image processing method to process the workpiece image and recognizes the type of the calibration plate at the position of the weld at this time, it will search for the same in the basic database. The matched workpiece data can finally get the workpiece type, weld type and the corresponding welding robot motion trajectory. That is to say, when the calibration plate placed at the weld position is identified, the corresponding matching can be found in the database. The workpiece type corresponding to the calibration plate, the welding seam type contained in the workpiece, and the motion trajectory of the welding robot corresponding to each welding seam. When ready to start welding, the host computer directly calls the motion trajectory of the welding robot corresponding to the welding seam of the workpiece in the basic database and combines the welding position information to control the welding robot to start welding directly.

在本实施例中,需要说明的是,所述图像预处理、边缘检测以及特征提取所采用的方法均为本领域技术人员所知晓的常规技术手段。In this embodiment, it should be noted that the methods used for image preprocessing, edge detection, and feature extraction are all conventional technical means known to those skilled in the art.

步骤S3.运用激光器扫描工件,得到工件的原始三维点云,三维点云是立体的,将扫描得到的原始三维点云进行预处理,最终得到工件的三维模型从而识别工件,同时获取工件焊缝的位置信息。Step S3. Use the laser to scan the workpiece to obtain the original 3D point cloud of the workpiece. The 3D point cloud is three-dimensional. The original 3D point cloud obtained by scanning is preprocessed, and finally a 3D model of the workpiece is obtained to identify the workpiece and obtain the weld seam of the workpiece at the same time. location information.

在本实施例中,将工件的原始三维点云进行预处理,最终得到工件的三维模型,从而识别工件,具体包括以下流程与步骤。In this embodiment, the original three-dimensional point cloud of the workpiece is preprocessed to finally obtain a three-dimensional model of the workpiece, thereby identifying the workpiece, which specifically includes the following processes and steps.

云坐标变换:求解出视觉坐标系和机器人坐标系之间的坐标变换矩阵,通过矩阵变换,将获取的原始三维点云数据由扫描设备坐标表达转换成由机器人坐标表达。Cloud coordinate transformation: Solve the coordinate transformation matrix between the visual coordinate system and the robot coordinate system. Through matrix transformation, the acquired original 3D point cloud data is converted from the coordinate expression of the scanning device to the expression of the robot coordinate.

点云切片:将获取的三维点云进行中心切片,得到工件的主视切片点云、俯视切片点云和左视切片点云。Point cloud slice: The acquired 3D point cloud is centrally sliced to obtain the main view slice point cloud, top view slice point cloud and left view slice point cloud of the workpiece.

点云去噪:分别将上述主视切片点云、俯视切片点云和左视切片点云进行去噪处理。Point cloud denoising: The above-mentioned main view slice point cloud, top view slice point cloud and left view slice point cloud are denoised respectively.

点云分割:在得到去噪后的点云切片后,设定一个灰度阈值,根据给定的阈值在图像中选定出目标区域和背景区域,从而将目标区域大致轮廓提取出来。Point cloud segmentation: After obtaining the denoised point cloud slice, a gray threshold is set, and the target area and the background area are selected in the image according to the given threshold, so as to extract the rough outline of the target area.

在本实施例中,通过划分阈值,从而将目标区域的大致轮廓提取出来,能够得到更加清晰的点云切片。In this embodiment, by dividing the threshold, the rough outline of the target area is extracted, and a clearer point cloud slice can be obtained.

点云切片重组:将主视切片点云、俯视切片点云以及左视切片点云进行重组,最终得到工件的三维模型。Point cloud slice reorganization: Reorganize the main view slice point cloud, top view slice point cloud and left view slice point cloud, and finally get the 3D model of the workpiece.

在本实施例中,需要说明的是,以上三维点云数据的处理方式为本领域技术人员均知晓的常规技术手段。In this embodiment, it should be noted that the above processing methods of the three-dimensional point cloud data are conventional technical means known to those skilled in the art.

在本实施例中,由于工件坡口处于工件在垂直方向深度不同,故从垂直工件的方向看去,反射光成一折线形状,折线反映了光纹中心与焊缝坡口中间的三维位置关系,最后运用图像处理方法对采集后的激光条图像进行特征识别。In this embodiment, since the workpiece bevel is at different depths in the vertical direction of the workpiece, when viewed from the direction perpendicular to the workpiece, the reflected light is in the shape of a folded line, and the folded line reflects the three-dimensional positional relationship between the center of the light pattern and the middle of the weld groove, Finally, the image processing method is used to identify the features of the collected laser bar images.

在本实施例中,在图像分析中,图像阀值化分割是常用的,也是最简单的图像分割方法,通过设定不同的特征阀值,把图像像素点分为若干类,用二值化的分割方法求出最优阀值,通过平滑滤波后滤除电噪声等干扰信号得到焊缝图像边缘,最后根据激光条图像连续性特征,采用细化焊缝和连续性检测噪声滤除方法,滤除少量的残余噪声,由提取的激光带中线,根据焊缝处激光带斜率变化最大的特点寻找焊缝在图像中的位置,最后将处理好的位置信息发送给焊接机器人。In this embodiment, in image analysis, image threshold segmentation is commonly used, and it is also the simplest image segmentation method. The optimal threshold value is obtained by the segmentation method of the laser bar, and the edge of the weld image is obtained by filtering out interference signals such as electrical noise after smoothing filtering. A small amount of residual noise is filtered out, and the position of the weld seam in the image is found from the center line of the extracted laser band according to the characteristic of the largest change in the slope of the laser band at the weld seam, and finally the processed position information is sent to the welding robot.

步骤S4.将工件的三维模型与工件实物进行比较,若两者是匹配的或者在一定的误差范围内,则上位机将焊接机器人的运动轨迹指令以及焊缝位置信息传输至焊接机器人控制器中,焊接机器人控制器根据上述指令以及位置信息对焊接机器人的运动轴执行结构进行控制,最终实现工件的焊接。Step S4. Compare the three-dimensional model of the workpiece with the actual workpiece. If the two are matched or within a certain error range, the upper computer transmits the motion trajectory instruction of the welding robot and the welding seam position information to the welding robot controller. , the welding robot controller controls the execution structure of the motion axis of the welding robot according to the above-mentioned instructions and position information, and finally realizes the welding of the workpiece.

在本实施例中,需要说明的是,具体的误差范围由技术人员在实际操作过程中自行定义。In this embodiment, it should be noted that the specific error range is defined by the technicians themselves in the actual operation process.

在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请保护范围的限制。In the description of this application, it should be understood that the terms "center", "portrait", "horizontal", "front", "rear", "left", "right", "vertical", "horizontal", The orientation or positional relationship indicated by "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying The device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be construed as limiting the scope of protection of the present application.

在本申请的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "arrangement", "installation" and "connection" should be understood in a broad sense, for example, it may be a fixed connection or a connectable connection. Detachable connection, or integral connection; may be mechanical connection or electrical connection; may be direct connection, or indirect connection through an intermediate medium, or internal communication between two components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific situations.

以上所述,仅是本申请的较佳实施例,并非对本申请做任何形式上的限制,凡是依据本申请的技术实质对以上实施例所作的任何简单修改、等同变化,均落入本申请的保护范围之内。The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Any simple modifications and equivalent changes made to the above embodiments according to the technical essence of the present application shall fall within the scope of the present application. within the scope of protection.

Claims (6)

1.一种窄小空间内长焊缝扫描及跟踪方法,其特征在于,包括:1. a long welding seam scanning and tracking method in a narrow space, is characterized in that, comprising: 人工铺设标定板至工件焊缝位置处,视觉传感器采集工件的实时图像并将图像传输至上位机;Manually lay the calibration plate to the welding position of the workpiece, and the vision sensor collects the real-time image of the workpiece and transmits the image to the upper computer; 上位机对所采集的工件图像进行图像处理,对图像中的标定板进行识别,获取工件的类型和焊缝类型,最终确定焊接机器人运动轨迹;The host computer performs image processing on the collected workpiece image, identifies the calibration plate in the image, obtains the type of workpiece and the type of weld, and finally determines the motion trajectory of the welding robot; 获取工件的原始三维点云数据,对工件的原始三维点云数据进行预处理,最终得到工件的三维模型以及工件的焊缝位置;Obtain the original 3D point cloud data of the workpiece, preprocess the original 3D point cloud data of the workpiece, and finally obtain the 3D model of the workpiece and the weld position of the workpiece; 工件的三维模型与工件实物进行比较,若两者相匹配或在误差范围内,上位机将焊接机器人的运动轨迹指令以及焊缝的位置信息传输至焊接机器人控制器中,焊接机器人控制器根据上述指令以及焊缝位置信息对焊接机器人的运动轴执行结构进行控制,最终实现工件的焊接。The three-dimensional model of the workpiece is compared with the actual workpiece. If the two match or are within the error range, the upper computer transmits the motion trajectory command of the welding robot and the position information of the welding seam to the welding robot controller. The instruction and the position information of the welding seam control the execution structure of the motion axis of the welding robot, and finally realize the welding of the workpiece. 2.根据权利要求1所述的一种窄小空间内长焊缝扫描及跟踪方法,其特征在于,所述视觉传感器包括CCD摄像机、激光器和窄带滤光片,CCD摄像机和激光器集成在一个壳体中,壳体设置在焊接机器人的轴臂上,窄带滤光片设置在CCD摄像机镜头的前面。2. the long welding seam scanning and tracking method in a kind of narrow space according to claim 1, is characterized in that, described vision sensor comprises CCD camera, laser and narrow-band filter, CCD camera and laser are integrated in a shell In the body, the shell is set on the shaft arm of the welding robot, and the narrow-band filter is set in front of the CCD camera lens. 3.根据权利要求1所述的一种窄小空间内长焊缝扫描及跟踪方法,其特征在于,所述图像处理包括图像预处理、边缘检测以及特征提取。3 . The method for scanning and tracking long welds in a narrow space according to claim 1 , wherein the image processing includes image preprocessing, edge detection and feature extraction. 4 . 4.根据权利要求3所述的一种窄小空间内长焊缝扫描及跟踪方法,其特征在于,所述图像预处理包括数字化、几何变换、归一化、平滑、复原以及增强中的一种或多种。4. The method for scanning and tracking long welds in a narrow space according to claim 3, wherein the image preprocessing comprises one of digitization, geometric transformation, normalization, smoothing, restoration and enhancement. one or more. 5.根据权利要求1所述的一种窄小空间内长焊缝扫描及跟踪方法,其特征在于,所述上位机对所采集的工件图像进行图像处理,对图像中的标定板进行识别,获取工件的类型和焊缝类型,最终确定焊接机器人运动轨迹,包括:5. The method for scanning and tracking long welds in a narrow space according to claim 1, wherein the host computer performs image processing on the collected workpiece image, and identifies the calibration plate in the image, Obtain the type of workpiece and the type of welding seam, and finally determine the motion trajectory of the welding robot, including: 上位机内部存储有基础数据库,基础数据库中包括有标定板类型数据、工件数据和焊接机器人运动轨迹数据,标定板类型数据、工件数据以及焊接机器人轨迹数据对应匹配;当识别出工件焊缝位置放置的标定板类型后,在基础数据库中寻找与其匹配的工件数据,并最终得到工件类型、焊缝类型以及对应的焊接机器人运动轨迹。The host computer stores a basic database, which includes calibration plate type data, workpiece data and welding robot trajectory data, calibration plate type data, workpiece data and welding robot trajectory data correspondingly matched; when the workpiece weld position is identified, place it After calibrating the plate type, find the matching workpiece data in the basic database, and finally get the workpiece type, welding seam type and the corresponding welding robot motion trajectory. 6.根据权利要求1所述的一种窄小空间内长焊缝扫描及跟踪方法,其特征在于,所述对工件的原始三维点云数据进行预处理,包括:6. The method for scanning and tracking long welds in a narrow space according to claim 1, wherein the preprocessing of the original three-dimensional point cloud data of the workpiece comprises: 点云坐标变换:求解出视觉坐标系和机器人坐标系之间的坐标变换矩阵,将获取的原始三维点云数据由扫描设备坐标表达转换成由机器人坐标表达;Point cloud coordinate transformation: Solve the coordinate transformation matrix between the visual coordinate system and the robot coordinate system, and convert the acquired original 3D point cloud data from the coordinates of the scanning device to the coordinates of the robot; 点云切片:将获取的三维点云进行中心切片,得到工件的主视切片点云、俯视切片点云和左视切片点云;Point cloud slicing: centrally slice the acquired 3D point cloud to obtain the main view slice point cloud, top view slice point cloud and left view slice point cloud of the workpiece; 点云去噪:分别将上述工件的主视切片点云、俯视切片点云和左视切片点云进行去噪处理;Point cloud denoising: respectively denoising the main view slice point cloud, top view slice point cloud and left view slice point cloud of the above workpiece; 点云分割:在得到去噪后的点云切片后,设定一个灰度阈值,选定出目标区域和背景区域,将目标区域大致轮廓提取出来;Point cloud segmentation: After obtaining the denoised point cloud slice, set a grayscale threshold, select the target area and background area, and extract the rough outline of the target area; 点云切片重组:将主视切片点云、俯视切片点云以及左视切片点云进行重组,最终得到工件的三维模型。Point cloud slice reorganization: Reorganize the main view slice point cloud, top view slice point cloud and left view slice point cloud, and finally get the 3D model of the workpiece.
CN202210755842.2A 2022-06-30 2022-06-30 A scanning and tracking method for long welds in a narrow space Pending CN115106617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210755842.2A CN115106617A (en) 2022-06-30 2022-06-30 A scanning and tracking method for long welds in a narrow space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210755842.2A CN115106617A (en) 2022-06-30 2022-06-30 A scanning and tracking method for long welds in a narrow space

Publications (1)

Publication Number Publication Date
CN115106617A true CN115106617A (en) 2022-09-27

Family

ID=83329978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210755842.2A Pending CN115106617A (en) 2022-06-30 2022-06-30 A scanning and tracking method for long welds in a narrow space

Country Status (1)

Country Link
CN (1) CN115106617A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024045120A1 (en) * 2022-09-01 2024-03-07 Squaredog Robotics Limited System and method for self-adjustable welding
CN118002977A (en) * 2024-04-08 2024-05-10 山东省青腾机械科技有限公司 Tower foot secondary welding seam method of robot

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186801A (en) * 2013-03-26 2013-07-03 鄂州市兴欣建材有限责任公司 Pipe fitting bar code scanning device
CN206185293U (en) * 2016-08-23 2017-05-24 南京理工大学 Scanning welder system of robot
CN107755857A (en) * 2016-08-23 2018-03-06 南京理工大学 A kind of Robot Scanning welding gun system and its parameter assign method automatically
CN108817613A (en) * 2018-06-11 2018-11-16 华南理工大学 A kind of arc welding robot weld seam deviation-rectifying system and method
CN110524580A (en) * 2019-09-16 2019-12-03 西安中科光电精密工程有限公司 A kind of welding robot visual component and its measurement method
CN210548751U (en) * 2019-04-09 2020-05-19 云南安宁化工厂有限公司 Linear laser real-time welding seam tracking system of right-angle welding robot
CN111922483A (en) * 2019-05-13 2020-11-13 南京理工大学 Line structure light welding seam tracking and material adding path deviation rectifying device and method based on learning
CN112659123A (en) * 2020-12-14 2021-04-16 南京工程学院 Double-robot curve welding collaborative planning method based on line structure light vision
CN216227622U (en) * 2021-11-15 2022-04-08 中国水利水电夹江水工机械有限公司 Narrow space welding set

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186801A (en) * 2013-03-26 2013-07-03 鄂州市兴欣建材有限责任公司 Pipe fitting bar code scanning device
CN206185293U (en) * 2016-08-23 2017-05-24 南京理工大学 Scanning welder system of robot
CN107755857A (en) * 2016-08-23 2018-03-06 南京理工大学 A kind of Robot Scanning welding gun system and its parameter assign method automatically
CN108817613A (en) * 2018-06-11 2018-11-16 华南理工大学 A kind of arc welding robot weld seam deviation-rectifying system and method
CN210548751U (en) * 2019-04-09 2020-05-19 云南安宁化工厂有限公司 Linear laser real-time welding seam tracking system of right-angle welding robot
CN111922483A (en) * 2019-05-13 2020-11-13 南京理工大学 Line structure light welding seam tracking and material adding path deviation rectifying device and method based on learning
CN110524580A (en) * 2019-09-16 2019-12-03 西安中科光电精密工程有限公司 A kind of welding robot visual component and its measurement method
CN112659123A (en) * 2020-12-14 2021-04-16 南京工程学院 Double-robot curve welding collaborative planning method based on line structure light vision
CN216227622U (en) * 2021-11-15 2022-04-08 中国水利水电夹江水工机械有限公司 Narrow space welding set

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024045120A1 (en) * 2022-09-01 2024-03-07 Squaredog Robotics Limited System and method for self-adjustable welding
CN118002977A (en) * 2024-04-08 2024-05-10 山东省青腾机械科技有限公司 Tower foot secondary welding seam method of robot

Similar Documents

Publication Publication Date Title
CN110539109B (en) Robot automatic welding system and method based on single-binocular vision
CN110524580B (en) A welding robot vision component and its measurement method
CN109903279B (en) Automatic teaching method and device for welding seam movement track
CN110315525A (en) A kind of robot workpiece grabbing method of view-based access control model guidance
CN113369761B (en) A method and system for welding seam positioning based on vision-guided robot
CN113634964A (en) Gantry type robot welding equipment and welding process for large-sized component
CN115106617A (en) A scanning and tracking method for long welds in a narrow space
CN105844622A (en) V-shaped groove weld joint detection method based on laser vision
CN113333998A (en) Automatic welding system and method based on cooperative robot
CN105728972A (en) Concave-convex angle-variable welding joint self-adaptive tracking control device and method
CN108907526A (en) A kind of weld image characteristic recognition method with high robust
CN105149794A (en) Intelligent laser trimming system and method based on binocular vision
CN106971407A (en) A kind of weld seam three-dimensional rebuilding method based on two-dimensional wire structure light
CN113798634A (en) Method, system and equipment for teaching spatial circular weld and tracking weld
CN118314138B (en) Laser processing method and system based on machine vision
CN117564441A (en) Friction stir welding seam quality monitoring system and method based on machine vision
Shah et al. A review paper on vision based identification, detection and tracking of weld seams path in welding robot environment
CN109986172A (en) A welding seam positioning method, equipment and system
CN114283139A (en) A method and device for welding seam detection and segmentation based on area array structured light 3D vision
CN114881945A (en) Method and system for automatically searching and extracting workpiece weld joint feature points under complex background
CN114926531A (en) Binocular vision based method and system for autonomously positioning welding line of workpiece under large visual field
Ye et al. Weld seam tracking based on laser imaging binary image preprocessing
Wang et al. Versatile robotic welding system integrating laser positioning, trajectory fitting and real-time tracking
CN114842144A (en) Binocular vision three-dimensional reconstruction method and system
CN113551599A (en) Welding seam position deviation visual tracking method based on structured light guidance

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220927