CN118710724B - An AI visual weld position automatic search method - Google Patents
An AI visual weld position automatic search method Download PDFInfo
- Publication number
- CN118710724B CN118710724B CN202411190540.0A CN202411190540A CN118710724B CN 118710724 B CN118710724 B CN 118710724B CN 202411190540 A CN202411190540 A CN 202411190540A CN 118710724 B CN118710724 B CN 118710724B
- Authority
- CN
- China
- Prior art keywords
- weld
- weld position
- steel bar
- case
- welding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K33/00—Specially-profiled edge portions of workpieces for making soldering or welding connections; Filling the seams formed thereby
- B23K33/004—Filling of continuous seams
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted for a procedure covered by only one of the other main groups of this subclass
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted for a procedure covered by only one of the other main groups of this subclass
- B23K37/02—Carriages for supporting the welding or cutting element
- B23K37/0252—Steering means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1694—Programme 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/1697—Vision controlled systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/0014—Image feed-back for automatic industrial control, e.g. robot with camera
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Robotics (AREA)
- Optics & Photonics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Butt Welding And Welding Of Specific Article (AREA)
- Manipulator (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及钢筋网焊接技术领域,尤其是涉及一种AI视觉焊缝位置自动搜索方法。The present invention relates to the technical field of steel mesh welding, and in particular to an AI visual weld position automatic search method.
背景技术Background Art
在建筑行业中,大量的钢筋网结构预制件被广泛应用。为了确保主钢筋网片在构件中受力作用,多根主钢筋之间采用熔透焊接方式连接。焊缝有以下特性:尺寸较大,钢筋网片样式多量小,一致性差,焊接点位多,点位对称两面焊接,焊缝长度短,焊缝形式多,原材料带肋钢筋焊缝间隙不均匀,焊缝中心线不明显。由于以上焊缝特点,自动化机器人焊接焊缝位置需要通过在线编程的人工示教焊缝位置方式来实现,钢筋网片长而大、焊缝数量多而短导致人工示教焊缝效率很低。且钢筋网片规格多、批量小,需要对每一片网片焊缝位置人工示教位置;而同一批次钢筋网片因为制作和组装误差导致焊缝位置误差较大,因此需要对每一片网片焊缝位置人工示教位置。基于以上原因钢筋网片机器人焊接人工示教方式效率低和且重复,人工示教焊缝位置严重限制了机器人焊接在钢筋网片焊接领域的应用。In the construction industry, a large number of prefabricated steel mesh structures are widely used. In order to ensure that the main steel mesh is subjected to force in the component, multiple main steel bars are connected by full penetration welding. The weld has the following characteristics: large size, many styles of steel mesh and small quantity, poor consistency, many welding points, symmetrical welding on both sides of the points, short weld length, many weld forms, uneven weld gaps of raw material ribbed steel bars, and unclear weld center lines. Due to the above weld characteristics, the weld position of the automated robot welding needs to be realized by manual teaching of the weld position through online programming. The steel mesh is long and large, and the number of welds is large and short, resulting in low efficiency of manual teaching of welds. In addition, the steel mesh has many specifications and small batches, so it is necessary to manually teach the weld position of each mesh; and the weld position error of the same batch of steel mesh is large due to production and assembly errors, so it is necessary to manually teach the weld position of each mesh. Based on the above reasons, the manual teaching method of steel mesh robot welding is inefficient and repetitive, and manual teaching of weld position seriously limits the application of robot welding in the field of steel mesh welding.
发明内容Summary of the invention
本发明提供一种AI视觉焊缝位置自动搜索方法,用以解决钢筋网片因为制作和组装误差导致焊缝位置误差较大导致机器人搜索焊缝效率低的问题。The present invention provides an AI visual weld position automatic search method to solve the problem of low efficiency of robot searching welds due to large weld position errors caused by manufacturing and assembly errors of steel meshes.
本发明提供一种AI视觉焊缝位置自动搜索方法,包括如下步骤:The present invention provides an AI visual weld position automatic search method, comprising the following steps:
S1:获得待焊点位HD1的钢筋焊接轨迹线G1;所述钢筋焊接轨迹线G1包括连接段以及连接段周围的钢筋,所述连接段为钢筋焊接轨迹线G1中两个钢筋并排的一段;S1: Obtain a steel bar welding trajectory line G1 of a welding point HD1; the steel bar welding trajectory line G1 includes a connecting section and steel bars around the connecting section, and the connecting section is a section of the steel bar welding trajectory line G1 where two steel bars are arranged side by side;
S2:找到钢筋焊接轨迹线G1在轨迹类型表中所匹配的钢筋焊接轨迹线LE,然后在 轨迹类型表中获得钢筋焊接轨迹线LE对应的焊缝长度L1mm,然后以连接段的中点向两端各 自延伸mm得到待焊点位HD1的焊缝位置X1;由轨迹类型表中获得钢筋焊接轨迹线LE对应 的焊缝起始点O,则焊缝起始点O为焊缝位置X1的焊缝起始点; S2: Find the steel bar welding trajectory line LE that matches the steel bar welding trajectory line G1 in the trajectory type table, then obtain the weld length L1mm corresponding to the steel bar welding trajectory line LE in the trajectory type table, and then extend from the midpoint of the connection segment to both ends. mm to obtain the weld position X1 of the weld point HD1; obtain the weld starting point O corresponding to the steel bar welding trajectory line LE from the trajectory type table, then the weld starting point O is the weld starting point of the weld position X1;
S3:当焊缝位置X1处的两个钢筋位于同一个水平面上时,则转到S4;否则焊缝位置X1通过焊缝轨迹姿态规划单元计算,获得具有焊枪姿态调整数据的焊缝位置X1;S3: When the two steel bars at the weld position X1 are located on the same horizontal plane, go to S4; otherwise, the weld position X1 is calculated by the weld trajectory posture planning unit to obtain the weld position X1 with welding gun posture adjustment data;
S4:机器人是否能够按照焊缝位置X1进行焊接,如果是则焊缝位置搜索成功,待焊点位HD1焊接成功后转到步骤S1,开始下一个焊接点位搜索;否则执行步骤S5;S4: Whether the robot can perform welding according to the weld position X1, if yes, the weld position search is successful, and after the weld position HD1 is successfully welded, go to step S1 and start the next welding position search; otherwise, go to step S5;
S5:案例集合B包括多个案例,每个案例的第二焊缝位置由第一焊缝位置根据焊缝位置偏移数据进行偏移得到,机器人按照案例的第二焊缝位置进行焊接,所述第一焊缝位置为案例中钢筋连接段的中点向两端各自延伸amm,2a为案例的焊缝长度,焊缝位置X1两端的间隙与每个案例的第一焊缝位置的两端的间隙相比较,找到间隙最接近的案例AL1,然后焊缝位置X1根据案例AL1的焊缝位置偏移数据进行偏移得到焊缝位置Y1,将焊缝位置Y1变为焊缝位置X1,转到步骤S3。S5: Case set B includes multiple cases, and the second weld position of each case is obtained by offsetting the first weld position according to the weld position offset data. The robot performs welding according to the second weld position of the case. The first weld position is the midpoint of the steel bar connection section in the case, extending amm to both ends. 2a is the weld length of the case. The gaps at both ends of weld position X1 are compared with the gaps at both ends of the first weld position of each case, and the case AL1 with the closest gap is found. Then, weld position X1 is offset according to the weld position offset data of case AL1 to obtain weld position Y1, and weld position Y1 is changed to weld position X1, and then go to step S3.
优选的,在步骤S5中,找到间隙最接近的案例AL1的具体步骤:先找到与焊缝位置X1的焊缝长度相同的案例组ALZ,然后在案例组ALZ中找到第一焊缝位置的两端的间隙与焊缝位置X1的两端的间隙差值,在案例组ALZ中,第一焊缝位置与焊缝位置X1两端的间隙差值之和最小的为最接近的案例AL1。Preferably, in step S5, the specific steps of finding the case AL1 with the closest gap are: first find the case group ALZ with the same weld length as the weld position X1, and then find the difference between the gaps at both ends of the first weld position and the gaps at both ends of the weld position X1 in the case group ALZ; in the case group ALZ, the case AL1 with the smallest sum of the gap differences between the first weld position and the weld position X1 is the closest case.
优选的,找到间隙最接近的案例AL1的具体步骤中:第一焊缝位置一端的间隙与焊缝位置一端的间隙之差为JXX1,第一焊缝位置另一端的间隙与焊缝位置另一端的间隙之差为JXX2,JXX1和JXX2之和为第一焊缝位置与焊缝位置X1两端的间隙差值之和,在案例组ALZ中,JXX1和JXX2之和最小的为最接近的案例AL1。Preferably, in the specific steps of finding the case AL1 with the closest gap: the difference between the gap at one end of the first weld position and the gap at one end of the weld position is JXX1, the difference between the gap at the other end of the first weld position and the gap at the other end of the weld position is JXX2, the sum of JXX1 and JXX2 is the sum of the gap differences between the first weld position and the weld position X1, and in the case group ALZ, the case AL1 with the smallest sum of JXX1 and JXX2 is the closest case.
优选的,在步骤S2中,所述轨迹类型表包括多类钢筋焊接轨迹线、多个焊缝长度和多个焊缝起始点,所述钢筋焊接轨迹线、焊缝长度和焊缝起始点一一对应;找到钢筋焊接轨迹线LE的具体步骤:将钢筋焊接轨迹线G1与轨迹类型表中的钢筋焊接轨迹线进行匹配,判断钢筋焊接轨迹线G1属于哪一类钢筋焊接轨迹线,则钢筋焊接轨迹线G1所属的那类钢筋焊接轨迹线为匹配的钢筋焊接轨迹线LE。Preferably, in step S2, the trajectory type table includes multiple types of steel bar welding trajectory lines, multiple weld lengths and multiple weld starting points, and the steel bar welding trajectory lines, weld lengths and weld starting points correspond to each other one by one; the specific steps of finding the steel bar welding trajectory line LE are: matching the steel bar welding trajectory line G1 with the steel bar welding trajectory lines in the trajectory type table, and determining which type of steel bar welding trajectory line the steel bar welding trajectory line G1 belongs to, and the type of steel bar welding trajectory line to which the steel bar welding trajectory line G1 belongs is the matching steel bar welding trajectory line LE.
优选的,在步骤S2中,所述钢筋焊接轨迹线中的焊缝起始点为焊缝的左端、右端、上端或下端中的一个。Preferably, in step S2, the starting point of the weld in the steel bar welding trajectory line is one of the left end, right end, upper end or lower end of the weld.
优选的,焊接点HD1焊接完成后,将焊接点HD1作为一个新的案例加入到案例集合B中。Preferably, after welding of welding point HD1 is completed, welding point HD1 is added to case set B as a new case.
优选的,在步骤S1之前,还包括如下步骤:构件扫描单元Q扫描待焊工件,获得所有待焊点位的区域图片;对区域图片进行点云处理得到所有待焊点位的钢筋焊接轨迹线,然后将钢筋焊接轨迹线依次执行步骤S1-S5。Preferably, before step S1, the following steps are also included: the component scanning unit Q scans the workpiece to be welded to obtain a regional image of all the points to be welded; point cloud processing is performed on the regional image to obtain the steel bar welding trajectory lines of all the points to be welded, and then the steel bar welding trajectory lines execute steps S1-S5 in sequence.
优选的,步骤S4中机器人是否能够按照焊缝位置X1进行焊接的判断依据为:焊缝位置X1中最大的间隙超过预设值,则机器人不能按照焊缝位置X1进行焊接。Preferably, in step S4, whether the robot can perform welding according to the weld position X1 is determined based on the following criteria: if the largest gap in the weld position X1 exceeds a preset value, the robot cannot perform welding according to the weld position X1.
优选的,步骤S4中焊缝位置X1中最大的间隙不超过预设值后,如果机器人由于异常事件不能按照焊缝位置X1进行焊接,则判断所述异常事件是否符合异常库中的一种,如果是,则忽略所述异常事件,机器人正常进行焊接;否则报错通知人工介入。Preferably, after the maximum gap in the weld position X1 in step S4 does not exceed the preset value, if the robot cannot weld according to the weld position X1 due to an abnormal event, it is determined whether the abnormal event meets one of the abnormality library. If so, the abnormal event is ignored and the robot welds normally; otherwise, an error is reported to notify manual intervention.
优选的,异常库包括钢筋上发生锈蚀、钢筋上焊流呈高低不平状态、钢筋上面的肋被磨掉一部分或全部磨掉以及钢筋上存在小的杂质。Preferably, the abnormal library includes rust on the steel bar, uneven weld flow on the steel bar, a part or all of the ribs on the steel bar being worn away, and small impurities existing on the steel bar.
与现有技术相比,本发明中当钢筋网片制作和组装规范时,在轨迹类型表中获得焊缝长度和焊缝起始点,焊缝位置为连接段的中部即可,该设置能够有效提高焊缝位置搜索效率。当钢筋网片因为制作和组装误差导致焊缝位置误差较大时,在连接段中部上的焊缝位置根据案例集合B中找到的最接近的案例获得焊缝位置偏移数据进行偏移,得到机器人能够进行焊接的焊缝位置,该设置确保机器人能够自动搜索到焊缝位置。两者相配合,使机器人能够自动搜索焊缝且能够有效提高焊缝位置的搜索效率。本发明能够保证焊缝位置的智能精准定位,利于提高焊接机器人的作业效率。Compared with the prior art, in the present invention, when the steel mesh is manufactured and assembled in accordance with the specification, the weld length and the weld starting point are obtained in the trajectory type table, and the weld position is the middle of the connecting section. This setting can effectively improve the efficiency of the weld position search. When the steel mesh has a large weld position error due to manufacturing and assembly errors, the weld position in the middle of the connecting section is offset according to the weld position offset data obtained from the closest case found in case set B to obtain the weld position where the robot can weld. This setting ensures that the robot can automatically search for the weld position. The two work together to enable the robot to automatically search for welds and can effectively improve the search efficiency of the weld position. The present invention can ensure the intelligent and precise positioning of the weld position, which is conducive to improving the operating efficiency of the welding robot.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明的俯视图;Fig. 1 is a top view of the present invention;
图2为本发明的钢筋网的结构示意图;FIG2 is a schematic structural diagram of a steel mesh according to the present invention;
图3为本发明的钢筋网中区域图片的结构示意图;FIG3 is a schematic structural diagram of a region image in a steel mesh of the present invention;
图4为本发明的焊缝位置为连接段的中部的结构示意图;FIG4 is a schematic structural diagram of the present invention in which the weld position is in the middle of the connecting section;
图5为本发明的连接段中部的焊缝位置进行偏移后的结构示意图;FIG5 is a schematic diagram of the structure of the present invention after the weld position in the middle of the connecting section is offset;
图6为本发明的钢筋焊接轨迹线一的结构示意图;FIG6 is a schematic structural diagram of a steel bar welding trajectory line 1 of the present invention;
图7为本发明的钢筋焊接轨迹线二的结构示意图;FIG7 is a schematic structural diagram of a second steel bar welding trajectory line according to the present invention;
图8为本发明的钢筋焊接轨迹线三的结构示意图;FIG8 is a schematic structural diagram of a steel bar welding trajectory line 3 of the present invention;
图9为本发明调节焊枪姿态的结构示意图。FIG. 9 is a schematic structural diagram of adjusting the welding gun posture according to the present invention.
附图标记:Reference numerals:
1.工作平台,2.机器人,3.操作台,4.夹具,5.钢筋网,6.区域图片,7.焊缝位置X1,8.钢筋焊接轨迹线G1,51.钢筋,100.连接段。1. Work platform, 2. Robot, 3. Operating table, 4. Fixture, 5. Steel mesh, 6. Area picture, 7. Weld position X1, 8. Steel bar welding trajectory line G1, 51. Steel bar, 100. Connection section.
具体实施方式DETAILED DESCRIPTION
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
参照附图1-2,本实施例提供了本实施例提供了一种AI视觉焊缝位置自动搜索方法,包括操作台3,钢筋网5通过夹具4安装在操作台3上,构件扫描单元P扫描操作台3,获得钢筋网5整体模型C和所有待焊点位的粗坐标,构件扫描单元Q按照粗坐标移动到各个待焊点位进行扫描得到所有待焊点位的区域图片6,对区域图片6进行点云处理得到所有待焊点位的钢筋焊接轨迹线,然后将所有待焊点位的钢筋焊接轨迹线依次执行步骤S1-S5,获得各个待焊点位的焊缝位置。构件扫描单元P和构件扫描单元Q均包括全局快门CMOS相机、纳米红色线激光和硬件触发式扫描同步模块。构件扫描单元P设于工作平台1上,用于获取钢筋网5周围环境的点云数据,为了将操作台3及钢筋网5整体拍摄,构件扫描单元P会设置的比较高,获得的数据精度相应的比较低。构件扫描单元Q设于机器人2末臂端,用于获取待焊点位的点云数据,该设置中能够获得高精度的待焊点位的点云数据。本实施例还包括如下步骤:Referring to Figures 1-2, this embodiment provides an AI visual weld position automatic search method, including an operating table 3, a steel mesh 5 is installed on the operating table 3 through a fixture 4, a component scanning unit P scans the operating table 3, obtains the overall model C of the steel mesh 5 and the rough coordinates of all the points to be welded, and the component scanning unit Q moves to each of the points to be welded according to the rough coordinates to scan and obtain the regional image 6 of all the points to be welded, performs point cloud processing on the regional image 6 to obtain the steel bar welding trajectory lines of all the points to be welded, and then sequentially performs steps S1-S5 on the steel bar welding trajectory lines of all the points to be welded to obtain the weld position of each point to be welded. The component scanning unit P and the component scanning unit Q both include a global shutter CMOS camera, a nano red line laser, and a hardware triggered scanning synchronization module. The component scanning unit P is arranged on the working platform 1, and is used to obtain the point cloud data of the surrounding environment of the steel mesh 5. In order to shoot the operating table 3 and the steel mesh 5 as a whole, the component scanning unit P will be set relatively high, and the data accuracy obtained will be relatively low accordingly. The component scanning unit Q is arranged at the end of the robot 2 arm, and is used to obtain the point cloud data of the points to be welded. This arrangement can obtain high-precision point cloud data of the points to be welded. This embodiment also includes the following steps:
步骤S1:获得待焊点位HD1的钢筋焊接轨迹线G18;参照附图3,钢筋焊接轨迹线G18包括连接段100以及连接段100周围的钢筋51,连接段100为钢筋焊接轨迹线G18中两个钢筋51并排的一段;该步骤设置是为了在后续步骤中方便将钢筋焊接轨迹线G18与轨迹类型表进行匹配。Step S1: Obtain the steel bar welding trajectory line G18 of the welding point HD1; referring to FIG3, the steel bar welding trajectory line G18 includes a connecting section 100 and steel bars 51 around the connecting section 100, and the connecting section 100 is a section of the steel bar welding trajectory line G18 where two steel bars 51 are arranged side by side; this step is set to facilitate matching the steel bar welding trajectory line G18 with the trajectory type table in subsequent steps.
轨迹类型表包括多类钢筋焊接轨迹线、多个焊缝长度和多个焊缝起始点,钢筋焊接轨迹线、焊缝长度和焊缝起始点一一对应。前期,将钢筋网5的钢筋焊接轨迹线进行分类,具体是按焊缝所在的两个钢筋51的分布样式进行分类;然后为每类钢筋焊接轨迹线的设计焊缝长度和焊缝起始点,钢筋焊接轨迹线中的焊缝起始点为焊缝的左端、右端、上端或下端中的一个。在系统中建立好轨迹类型表后,后期还可以不断将各种类型的钢筋焊接轨迹线及其对应的数据加进来。附图6-8为三类不同的钢筋焊接轨迹线,图6中的焊缝是由左往右进行焊接,它的焊缝起始点为左端;图7中的焊缝是由左往右进行焊接,它的焊缝起始点为左端;图8中的焊缝是由右往左进行焊接,它的焊缝起始点为右端。The track type table includes multiple types of steel bar welding track lines, multiple weld lengths and multiple weld starting points, and the steel bar welding track lines, weld lengths and weld starting points correspond to each other. In the early stage, the steel bar welding track lines of the steel mesh 5 are classified, specifically according to the distribution pattern of the two steel bars 51 where the weld is located; then the weld length and weld starting point of each type of steel bar welding track line are designed, and the weld starting point in the steel bar welding track line is one of the left end, right end, upper end or lower end of the weld. After the track type table is established in the system, various types of steel bar welding track lines and their corresponding data can be continuously added in the later stage. Attached Figures 6-8 are three different types of steel bar welding track lines. The weld in Figure 6 is welded from left to right, and its weld starting point is the left end; the weld in Figure 7 is welded from left to right, and its weld starting point is the left end; the weld in Figure 8 is welded from right to left, and its weld starting point is the right end.
步骤S2:找到钢筋焊接轨迹线G18在轨迹类型表中所匹配的钢筋焊接轨迹线LE,具 体的:将钢筋焊接轨迹线G18与轨迹类型表中的钢筋焊接轨迹线进行匹配,判断钢筋焊接轨 迹线G18属于哪一类钢筋焊接轨迹线,则钢筋焊接轨迹线G18所属的那类钢筋焊接轨迹线为 匹配的钢筋焊接轨迹线LE。然后在轨迹类型表中获得钢筋焊接轨迹线LE对应的焊缝长度 L1mm,然后以连接段100的中点向两端各自延伸mm得到待焊点位HD1的焊缝位置X17;由 轨迹类型表中获得钢筋焊接轨迹线LE对应的焊缝起始点O,则焊缝起始点O为焊缝位置X17 的焊缝起始点;假设焊缝起始点O为右端,则焊缝位置X17的焊缝起始点在右端,应该由右向 左进行焊接。参照附图4,焊缝位置X17为连接段100的中间部分,且焊缝位置X17的焊缝起始 点在左端。 Step S2: Find the steel bar welding trajectory line LE that the steel bar welding trajectory line G18 matches in the trajectory type table. Specifically: match the steel bar welding trajectory line G18 with the steel bar welding trajectory line in the trajectory type table, and determine which type of steel bar welding trajectory line G18 belongs to. The type of steel bar welding trajectory line to which the steel bar welding trajectory line G18 belongs is the matching steel bar welding trajectory line LE. Then obtain the weld length L1mm corresponding to the steel bar welding trajectory line LE in the trajectory type table, and then extend from the midpoint of the connecting segment 100 to each end. mm to obtain the weld position X17 of the weld point HD1; obtain the weld starting point O corresponding to the steel bar welding trajectory line LE from the trajectory type table, and the weld starting point O is the weld starting point of the weld position X17; assuming that the weld starting point O is the right end, the weld starting point of the weld position X17 is at the right end, and welding should be performed from right to left. Referring to FIG. 4, the weld position X17 is the middle part of the connecting section 100, and the weld starting point of the weld position X17 is at the left end.
S3:当焊缝位置X17处的两个钢筋51位于同一个水平面上时,则转到S4;否则说明两个钢筋51存在高低起伏的情况,如果两者之间的高差超过一定范围,在焊接的过程中,焊枪就会在较高的钢筋51上碰枪,造成焊接中断。因此需要对焊枪的姿态进行调整以防止碰枪。焊缝位置X17通过焊缝轨迹姿态规划单元计算,获得具有焊枪姿态调整数据的焊缝位置X17;S3: When the two steel bars 51 at the weld position X17 are located on the same horizontal plane, go to S4; otherwise, it means that the two steel bars 51 are up and down. If the height difference between the two exceeds a certain range, the welding gun will hit the higher steel bar 51 during welding, causing welding interruption. Therefore, the posture of the welding gun needs to be adjusted to prevent the gun from hitting the gun. The weld position X17 is calculated by the weld trajectory posture planning unit to obtain the weld position X17 with welding gun posture adjustment data;
焊枪姿态的调整有两种,一种为:焊缝轨迹姿态规划单元在焊缝位置X17处两个钢筋51的空间数据上计算出焊枪的旋转角度,使焊枪始终垂直于两个钢筋51所在的平面。There are two ways to adjust the welding gun posture. One is: the weld trajectory posture planning unit calculates the rotation angle of the welding gun based on the spatial data of the two steel bars 51 at the weld position X17, so that the welding gun is always perpendicular to the plane where the two steel bars 51 are located.
另一种为:焊缝轨迹姿态规划单元在焊缝位置X17处两个钢筋51的空间数据上计算出焊枪的最大旋转角度θ℃,焊枪按θ℃旋转后焊接待焊点HD1,在这个过程中,焊枪的姿态不再进行调整。具体的,焊枪是向较低的钢筋51的一侧旋转θ℃。参照附图9,当左侧的钢筋51高于右侧的钢筋51时,焊枪在焊接前向右侧方向旋转θ℃,然后再进行焊接。Another is: the weld trajectory posture planning unit calculates the maximum rotation angle θ°C of the welding gun based on the spatial data of the two steel bars 51 at the weld position X17, and the welding gun rotates by θ°C to weld the spot HD1 to be welded. In this process, the posture of the welding gun is no longer adjusted. Specifically, the welding gun rotates by θ°C to the side of the lower steel bar 51. Referring to FIG. 9, when the steel bar 51 on the left is higher than the steel bar 51 on the right, the welding gun rotates by θ°C to the right before welding, and then welding is performed.
S4:机器人2是否能够按照焊缝位置X17进行焊接,如果是则焊缝位置搜索成功,待焊点位HD1焊接成功后转到步骤S1,开始下一个焊接点位搜索;否则执行步骤S5;该步骤中,如果焊枪能够按照焊缝位置X17进行焊接,就可以省掉步骤S5,能够有效提高焊缝位置搜索效率。设置步骤S5,是因此钢筋网5是通过夹具4固定在操作台3上的,该方式为多点固定,参照附图1,在待焊点位区域内可能就只有一个夹具4对钢筋51进行固定,钢筋51受力不均匀,钢筋51会变得弯曲,使得两个钢筋51之间每个地方的间隙不一样,因此会出现焊枪不能在待焊接点位焊接的情况或者焊接效果不好的情况。当出现不能焊接或焊接效果不好时,则需要执行步骤S5,参考成功的案例对焊缝位置进行偏移,以使得焊枪能够焊接或提高焊接效果。S4: Whether robot 2 can weld according to weld position X17, if yes, weld position search is successful, after welding of weld point HD1 is successful, go to step S1 and start the next weld position search; otherwise, execute step S5; in this step, if the welding gun can weld according to weld position X17, step S5 can be omitted, which can effectively improve the efficiency of weld position search. Setting step S5 is that the steel mesh 5 is fixed on the operating table 3 by a clamp 4, and this method is multi-point fixation. Referring to FIG1, there may be only one clamp 4 to fix the steel bar 51 in the area of the weld point, and the steel bar 51 is unevenly stressed, and the steel bar 51 will become bent, so that the gap between the two steel bars 51 is different at each place, so there will be a situation where the welding gun cannot weld at the weld point or the welding effect is not good. When welding cannot be performed or the welding effect is not good, it is necessary to execute step S5, and refer to the successful case to offset the weld position so that the welding gun can weld or improve the welding effect.
案例集合B包括多个案例,每个案例的第二焊缝位置由第一焊缝位置根据焊缝位置偏移数据进行偏移得到,第二焊缝位置为机器人2焊接的位置,第一焊缝位置为案例中钢筋51连接段100的中点向两端各自延伸amm,2a为该案例的焊缝长度。Case set B includes multiple cases. The second weld position of each case is obtained by offsetting the first weld position according to the weld position offset data. The second weld position is the welding position of robot 2. The first weld position is the midpoint of the connecting section 100 of the steel bar 51 in the case, extending amm to both ends. 2a is the weld length of the case.
S5:焊缝位置X17两端的间隙与每个案例的第一焊缝位置的两端的间隙相比较,找到间隙最接近的案例AL1,然后焊缝位置X17根据案例AL1的焊缝位置偏移数据进行偏移得到焊缝位置Y1,将焊缝位置Y1变为焊缝位置X17,转到步骤S3。其中,找到间隙最接近的案例AL1的具体步骤:先找到与焊缝位置X17的焊缝长度相同的案例组ALZ,然后在案例组ALZ中找到第一焊缝位置的两端的间隙与焊缝位置X17的两端的间隙差值,在案例组ALZ中,第一焊缝位置与焊缝位置X17两端的间隙差值之和最小的为最接近的案例AL1。假设第一焊缝位置一端的间隙与焊缝位置一端的间隙之差为JXX1,第一焊缝位置另一端的间隙与焊缝位置另一端的间隙之差为JXX2,JXX1和JXX2之和为第一焊缝位置与焊缝位置X17两端的间隙差值之和,在案例组ALZ中,JXX1和JXX2之和最小的为最接近的案例AL1。参照附图5,例如:案例组ALZ中,最接近案例AL1的第一焊缝位置一端的钢筋51间隙为8,另一端的钢筋51间隙为-3,待焊点的焊接位置X1的一端的钢筋51间隙为8.5,另一端的钢筋51间隙为-3.2,间隙差值为|8.5-8|+|-3.2+3|=0.7,即案例组ALZ中其它案例的间隙差值是大于0.7的。由于AL1的第二焊缝位置是第一焊缝位置向左偏移30mm得到的,因此,焊缝位置X17向左偏移30mm得到焊缝位置Y1。S5: Compare the gaps at both ends of weld position X17 with the gaps at both ends of the first weld position of each case, find the case AL1 with the closest gap, then offset weld position X17 according to the weld position offset data of case AL1 to obtain weld position Y1, convert weld position Y1 to weld position X17, and go to step S3. The specific steps of finding the case AL1 with the closest gap are: first find the case group ALZ with the same weld length as weld position X17, then find the gap difference between the gaps at both ends of the first weld position and the gap difference between the gaps at both ends of weld position X17 in the case group ALZ, and the case AL1 with the smallest sum of the gap differences between the first weld position and the gaps at both ends of weld position X17 in the case group ALZ is the closest case. Assume that the difference between the gap at one end of the first weld position and the gap at one end of the weld position is JXX1, the difference between the gap at the other end of the first weld position and the gap at the other end of the weld position is JXX2, and the sum of JXX1 and JXX2 is the sum of the gap differences between the first weld position and the weld position X17. In case group ALZ, the case AL1 with the smallest sum of JXX1 and JXX2 is the closest case. Referring to FIG5, for example: in case group ALZ, the gap of steel bar 51 at one end of the first weld position closest to case AL1 is 8, and the gap of steel bar 51 at the other end is -3, the gap of steel bar 51 at one end of the welding position X1 of the weld point to be welded is 8.5, and the gap of steel bar 51 at the other end is -3.2, and the gap difference is |8.5-8|+|-3.2+3|=0.7, that is, the gap difference of other cases in case group ALZ is greater than 0.7. Since the second weld position of AL1 is obtained by shifting the first weld position 30 mm to the left, the weld position X17 is shifted 30 mm to the left to obtain the weld position Y1.
采用找最接近的案例然后根据案例中的焊缝位置偏移数据偏移的方式,是由于找到的案例与待焊点位HD1不是一模一样的,不能直接将案例中的焊缝位置移到待点位HD1上。只能将焊缝位置X17根据最接近的案例中的焊缝位置偏移数据进行偏移,以获得属于待焊点位HD1的焊缝位置。The method of finding the closest case and then offsetting according to the weld position offset data in the case is because the found case is not exactly the same as the weld point HD1, and the weld position in the case cannot be directly moved to the weld point HD1. The weld position X17 can only be offset according to the weld position offset data in the closest case to obtain the weld position belonging to the weld point HD1.
本发明中,当焊接点HD1焊接完成后,将焊接点HD1作为一个新的案例加入到案例集合B中,从而完成对案例集合B的更新。后期可以通过手工方式删除焊缝效果不好的案例或者由系统自动删除焊缝效果不好的案例。In the present invention, when welding of welding point HD1 is completed, welding point HD1 is added as a new case to case set B, thereby completing the update of case set B. Cases with poor welding effects can be deleted manually or automatically by the system later.
本发明中步骤S4中机器人2是否能够按照焊缝位置X17进行焊接的判断依据为:焊缝位置X17中最大的间隙超过预设值,则机器人2不能按照焊缝位置X17进行焊接。In the present invention, the judgment basis for whether the robot 2 can perform welding according to the weld position X17 in step S4 is: if the maximum gap in the weld position X17 exceeds a preset value, the robot 2 cannot perform welding according to the weld position X17.
本发明中步骤S4中焊缝位置X17中最大的间隙不超过预设值后,如果机器人2由于异常事件不能按照焊缝位置X17进行焊接,则判断该异常事件是否符合异常库中的一种,如果是,则忽略该异常,机器人2正常进行焊接;否则报错通知人工介入。其中异常库包括钢筋51上发生锈蚀、钢筋51上焊流呈高低不平状态、钢筋51上面的肋被磨掉一部分或全部磨掉以及钢筋51上存在小的杂质。钢筋51上发生锈蚀造成钢筋51颜色变化会造成识别异常,机器人2焊接时焊流流到下面会造成高低不平,钢筋51上小的杂质包括草、纸片等。这些异常事件会影响机器人2识别,但不影响焊接,因此可以忽略掉这些异常事件,以保证焊接正常进行。After the maximum gap in the weld position X17 in step S4 of the present invention does not exceed the preset value, if the robot 2 cannot weld according to the weld position X17 due to an abnormal event, it is determined whether the abnormal event meets one of the abnormality libraries. If so, the abnormality is ignored and the robot 2 welds normally; otherwise, an error is reported to notify manual intervention. The abnormal library includes rust on the steel bar 51, the weld flow on the steel bar 51 is uneven, the ribs on the steel bar 51 are partially or completely worn away, and small impurities exist on the steel bar 51. Rust on the steel bar 51 causes the color of the steel bar 51 to change, which will cause recognition abnormality. When the robot 2 welds, the weld flow flows to the bottom, which will cause unevenness. Small impurities on the steel bar 51 include grass, paper, etc. These abnormal events will affect the recognition of the robot 2, but will not affect welding. Therefore, these abnormal events can be ignored to ensure normal welding.
本实施例中,案例集合B包括多个焊接成功的案例,每个案例包括一种钢筋焊接轨迹线以及与钢筋焊接轨迹线对应的焊缝位置偏移数据、焊缝效果,焊缝位置偏移数据包括焊缝位置偏移量和偏移方向。前期,将手动焊接或其它方式焊接成功的焊接点图片经过点云处理后存储在系统中,并将该焊接点的焊缝位置偏移数据和焊缝效果存储在系统中,得到案例集合B。每个焊接成功案例中焊接点的焊缝的初始位置(第一焊缝位置)均在连接段100的中间,然后向一端进行偏移后得到最终的焊缝位置(第二焊缝位置)。例如,案例1中焊接点的焊缝位置最初是在连接段100的中部,然后向右偏移了10mm后得到最终的焊缝位置,即案例1中焊接点的焊缝位置由连接段100的中部向右偏移10mm的。In this embodiment, case set B includes multiple successful welding cases, each case includes a steel bar welding trajectory line and weld position offset data and weld effect corresponding to the steel bar welding trajectory line, and the weld position offset data includes weld position offset and offset direction. In the early stage, the welding point picture successfully welded by manual welding or other methods is stored in the system after point cloud processing, and the weld position offset data and weld effect of the welding point are stored in the system to obtain case set B. The initial position (first weld position) of the weld of the welding point in each successful welding case is in the middle of the connecting section 100, and then the final weld position (second weld position) is obtained after the offset to one end. For example, the weld position of the welding point in case 1 is initially in the middle of the connecting section 100, and then it is offset to the right by 10 mm to obtain the final weld position, that is, the weld position of the welding point in case 1 is offset by 10 mm to the right from the middle of the connecting section 100.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411190540.0A CN118710724B (en) | 2024-08-28 | 2024-08-28 | An AI visual weld position automatic search method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411190540.0A CN118710724B (en) | 2024-08-28 | 2024-08-28 | An AI visual weld position automatic search method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118710724A CN118710724A (en) | 2024-09-27 |
CN118710724B true CN118710724B (en) | 2024-10-29 |
Family
ID=92806200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411190540.0A Active CN118710724B (en) | 2024-08-28 | 2024-08-28 | An AI visual weld position automatic search method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118710724B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3747585A1 (en) * | 2019-06-04 | 2020-12-09 | SMF Friedlbinder GmbH | Method for automatically controlling a metal welding process |
CN115464263A (en) * | 2022-09-21 | 2022-12-13 | 中国航空制造技术研究院 | Automatic tracking method, detection method and device for laser welding seam |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8214161B2 (en) * | 2007-08-16 | 2012-07-03 | Girndt Richard J | System and method for detecting flaws in welded tubulars |
CN103521965A (en) * | 2012-07-03 | 2014-01-22 | 通用电气公司 | Automatic welding system and method |
AT517912B1 (en) * | 2015-10-21 | 2019-03-15 | Hubert Ing Rapperstorfer | Production plant for the production of reinforcement elements |
JP6946540B1 (en) * | 2020-12-17 | 2021-10-06 | 日鉄エンジニアリング株式会社 | Welding system and steel pipe shape identification method |
CN113160415B (en) * | 2021-03-22 | 2023-02-24 | 山东大学 | Three-dimensional visual information-based grid structure workpiece weld joint positioning method and system |
CN114119611B (en) * | 2022-01-25 | 2022-04-01 | 季华实验室 | Weld parameter identification method and device, electronic equipment and storage medium |
-
2024
- 2024-08-28 CN CN202411190540.0A patent/CN118710724B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3747585A1 (en) * | 2019-06-04 | 2020-12-09 | SMF Friedlbinder GmbH | Method for automatically controlling a metal welding process |
CN115464263A (en) * | 2022-09-21 | 2022-12-13 | 中国航空制造技术研究院 | Automatic tracking method, detection method and device for laser welding seam |
Also Published As
Publication number | Publication date |
---|---|
CN118710724A (en) | 2024-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103889650B (en) | Joint manufacturing method and manufacturing device for same | |
CN112847353B (en) | A multi-segment welding seam trajectory correction method based on offline programming software | |
CN109927047A (en) | The axial tracking system and method for arc welding robot straight line butt weld | |
EP1486283A1 (en) | Method of controlling the welding of a three-dimensional construction by taking a two-dimensional image of the construction and adjusting in real time in the third dimension | |
CN118710724B (en) | An AI visual weld position automatic search method | |
CN117583698B (en) | Automatic surfacing device and surfacing control method | |
CN115722760A (en) | Full penetration welding method for intelligent robot of steel bridge | |
JPH10187223A (en) | Automatic preparation system for welding robot operation program | |
JP2004001226A (en) | Automatic generation system of welding robot operation program | |
CN112846500B (en) | Welding deformation control method | |
CN113664431A (en) | Steel structural part welding arm capable of adjusting posture in real time and adjusting method | |
CN118709251A (en) | A virtual assembly method for a through-type steel structure arch-beam composite bridge | |
CN112935465A (en) | Technological parameter optimization method for improving welding quality and fusion width | |
JP2021062441A (en) | Repair welding device and repair welding method | |
JP3675304B2 (en) | Arc welding condition setting method and arc welding condition setting device | |
CN110142533A (en) | An automatic welding method and welding device based on machine vision and AI algorithm | |
CN115203776A (en) | Hyperbolic net rack crown ball cutting space positioning and mounting method based on BIM | |
TWI517928B (en) | Method for welding reinforcing bars and adjustment system for welding reinforcing bars doing the same | |
CN119501299B (en) | A method and system for tracking weld seam of welded pipe laser welding | |
CN114029678A (en) | Manufacturing method of inward-inclined penetrating gusset plate chord member and assembling tool thereof | |
CN113664414A (en) | An optimization method of welding process parameters adapting to different pipe diameters | |
CN110705020B (en) | Overlap ratio optimization method based on arc additive surface quality evaluation | |
TWM595755U (en) | AOI (Automatic Optical Inspection) equipment used in laser ablation of thin copper coils | |
CN117773424A (en) | Welding system and welding method based on visual recognition of welds | |
CN113375557B (en) | Method for positioning actual processing point by using photosensitive element in laser additive manufacturing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |