CN101301711A - Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner - Google Patents

Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner Download PDF

Info

Publication number
CN101301711A
CN101301711A CNA2008100169739A CN200810016973A CN101301711A CN 101301711 A CN101301711 A CN 101301711A CN A2008100169739 A CNA2008100169739 A CN A2008100169739A CN 200810016973 A CN200810016973 A CN 200810016973A CN 101301711 A CN101301711 A CN 101301711A
Authority
CN
China
Prior art keywords
image
rightarrow
target
template
information
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.)
Granted
Application number
CNA2008100169739A
Other languages
Chinese (zh)
Other versions
CN101301711B (en
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.)
Shandong University of Science and Technology
Original Assignee
Shandong University of Science and Technology
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 Shandong University of Science and Technology filed Critical Shandong University of Science and Technology
Priority to CN2008100169739A priority Critical patent/CN101301711B/en
Publication of CN101301711A publication Critical patent/CN101301711A/en
Application granted granted Critical
Publication of CN101301711B publication Critical patent/CN101301711B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

本发明公开一种集装箱顶角件加强板自动焊接定位系统,特征是包括一台摄像机,两个激光器,以及一台电脑;其中摄像机光轴垂直工作平台安装,双激光器的光平面平行并捆绑在一起,与摄像机光轴成45°角安装;摄像机通过图像采集卡与电脑连接,电脑通过数据线路与焊接机器人连接,可以控制机器人执行相应操作。本发明集装箱顶角件加强板自动焊接定位系统能够通过简单的图像处理算法和简化的定位处理方式,实现一种快速、有效的初始点加强板姿态识别和定位方法。

The invention discloses an automatic welding and positioning system for the reinforcement plate of the top corner of a container, which is characterized in that it includes a camera, two lasers, and a computer; wherein the optical axis of the camera is installed vertically on the working platform, and the optical planes of the two lasers are parallel and bound together. Together, it is installed at an angle of 45° to the optical axis of the camera; the camera is connected to the computer through the image acquisition card, and the computer is connected to the welding robot through the data line, which can control the robot to perform corresponding operations. The automatic welding and positioning system for the reinforcing plate of the container top corner piece of the present invention can realize a fast and effective posture recognition and positioning method of the reinforcing plate at the initial point through a simple image processing algorithm and a simplified positioning processing method.

Description

集装箱顶角件加强板自动焊接定位系统 Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner

技术领域 technical field

本发明涉及焊接集装箱顶角件加强板机器人焊接系统领域,特别涉及该领域机器人焊接顶角件过程中使用的定位系统。The invention relates to the field of robot welding systems for welding container top corner fitting reinforcement plates, in particular to a positioning system used in the process of robot welding top corner fittings in this field.

背景技术 Background technique

目前,集装箱制造厂中80%的焊接工作都采用人工焊接,包括波纹焊、直焊、立焊、搭接焊等等。由于工装粗糙很难实现自动化焊接,若改进工装完全实现自动化又增加成本、降低生产速度,是目前竞争激烈的集装箱生产行业无法并不愿付诸实施的方式。但日益上升的以人为本、人性化管理的社会利益驱动,要求工人从恶劣的污染环境中解脱出来,同时保证焊接质量和焊接效率。为解决这一问题,国际最大的集装箱制造厂中国集装箱制造有限公司青岛分公司提出需求,针对不同的焊接工种,研究一种专用的自动焊接机器人。其中,集装箱顶角件加强板的焊接工艺简单,板形、尺寸都已知,但由于生产环境粗糙,工装定位不准确,使得加强板位置、姿态不能精确定位,不能实现自动焊接;另外,这一工种要求加强板被焊在集装箱的四个角上,需要四个工人来完成,造成占用劳动力多、焊接成本过高的现象。因此,为满足生产实际需求,研制开发一套成本低廉、定位精度高、使用方便,而且能够被推广应用的顶角件加强板自动焊接的定位系统已成为迫切之需。At present, 80% of the welding work in the container manufacturing plant adopts manual welding, including corrugated welding, direct welding, vertical welding, lap welding and so on. Due to the rough tooling, it is difficult to realize automatic welding. If the tooling is improved and fully automated, it will increase costs and reduce production speed. This is a way that the current highly competitive container production industry cannot and is unwilling to implement. However, driven by the increasing social interests of people-oriented and humanized management, workers are required to be freed from the harsh polluted environment while ensuring welding quality and welding efficiency. In order to solve this problem, Qingdao Branch of China Container Manufacturing Co., Ltd., the largest container manufacturer in the world, put forward a demand to study a special automatic welding robot for different welding types. Among them, the welding process of the reinforcement plate of the container top corner is simple, and the shape and size of the plate are known. However, due to the rough production environment and inaccurate positioning of the tooling, the position and posture of the reinforcement plate cannot be accurately positioned, and automatic welding cannot be realized. In addition, this One type of work requires reinforcement plates to be welded on the four corners of the container, which requires four workers to complete, resulting in a large labor force and high welding costs. Therefore, in order to meet the actual needs of production, it has become an urgent need to develop a set of positioning system for automatic welding of corner reinforcement plates with low cost, high positioning accuracy, easy to use, and can be popularized and applied.

发明内容 Contents of the invention

本发明的任务在于提供一种集装箱顶角件加强板自动焊接定位系统,该系统能够通过简单的图像处理算法和简化的定位处理方式,实现一种快速、有效的加强板初始点定位和姿态识别方法。The task of the present invention is to provide an automatic welding and positioning system for the reinforcement plate of the container top corner fitting. The system can realize a fast and effective positioning of the initial point of the reinforcement plate and gesture recognition through a simple image processing algorithm and a simplified positioning processing method. method.

其技术解决方案是:Its technical solutions are:

一种集装箱顶角件加强板自动焊接定位系统,包括一台摄像机,两个激光器,以及一台电脑;其中摄像机光轴垂直工作平台安装,双激光器的光平面平行并捆绑在一起,与摄像机光轴成45°角安装;摄像机通过图像采集卡与电脑连接,电脑通过数据线路与焊接机器人连接,可以控制机器人执行相应操作。An automatic welding and positioning system for the reinforcing plate of the container top corner piece, including a camera, two lasers, and a computer; the optical axis of the camera is installed vertically on the working platform, and the optical planes of the two lasers are parallel and bundled together, and are connected with the optical axis of the camera. The axis is installed at an angle of 45°; the camera is connected to the computer through the image acquisition card, and the computer is connected to the welding robot through the data line, which can control the robot to perform corresponding operations.

上述摄像机、双激光器、吹风管安装在直角支架上;吹风管固定在直角支架上,管口朝向工作平台;摄像机通过1394卡与电脑连接,吹风管与激光器直接接电源;电脑通过RS232协议与焊接机器人通信。The above-mentioned cameras, double lasers, and blower are installed on the right-angle bracket; the blower is fixed on the right-angle bracket, and the nozzle faces the working platform; the camera is connected to the computer through the 1394 card, and the blower and the laser are directly connected to the power supply; the computer communicates with the welding machine through the RS232 protocol. Robot communication.

上述摄像机的图像平面与工作平面平行,图像平面与工作平面形成对应比例关系,并通过标准矩形模板获得这一比例数据;初始安装设备时,首先通过计算机设置工作坐标系原点,以模板的焊接初始点空间坐标为原点,本系统以第一个焊接目标为模板,模板两条外边分别为坐标系统x轴和y轴,并将其图像信息存入模板库;在在线定位过程中,双激光条纹打在加强板外角处,摄像机实时获取带有激光标记的加强板图像,并通过计算机处理获得初始点的图像信息和其姿态信息;最后通过图像信息与空间信息的转换关系得到实时加强板的空间初始点位置和姿态。The image plane of the above-mentioned camera is parallel to the working plane, and the image plane and the working plane form a corresponding proportional relationship, and this proportion data is obtained through a standard rectangular template; when initially installing the equipment, first set the origin of the working coordinate system through the computer, and use the initial welding of the template The point space coordinate is the origin, the system takes the first welding target as the template, and the two outer sides of the template are the x-axis and y-axis of the coordinate system, and its image information is stored in the template library; during the online positioning process, the double laser stripe At the outer corner of the reinforcement board, the camera acquires the image of the reinforcement board with laser marking in real time, and obtains the image information of the initial point and its attitude information through computer processing; finally, the space of the real-time reinforcement board is obtained through the conversion relationship between the image information and the space information Initial point position and pose.

上述集装箱顶角件加强板自动焊接定位系统,包含空间目标与其图像之间对应关系的确立方式、在线目标信息与参考模板之间对应关系的确立方式、目标深度信息的获取方式及在线目标信息的获取方式;The above-mentioned automatic welding positioning system for the reinforcement plate of the container top corner piece includes the establishment method of the corresponding relationship between the spatial object and its image, the establishment method of the corresponding relationship between the online object information and the reference template, the acquisition method of the object depth information and the online object information. method of obtaining;

上述空间目标与其图像之间对应关系的确立方式如下:The way to establish the corresponding relationship between the above space objects and their images is as follows:

图像平面与工作平面形成对应比例关系式为:The corresponding proportional relationship between the image plane and the working plane is:

xx ythe y == aa bb uu vv -- -- -- (( 11 ))

利用摄像机采集一个已知尺寸的矩形模板图像,从图像中获得该矩形模板以像素为单位的长宽尺寸,然后通过a=x/u,b=y/v,获得图像空间与物理空间的比例系数a,b;Use a camera to capture a rectangular template image of known size, obtain the length and width of the rectangular template in pixels from the image, and then obtain the ratio of the image space to the physical space by a=x/u, b=y/v coefficient a, b;

上述在线目标信息与参考模板之间对应关系的确立方式如下:The way to establish the corresponding relationship between the above-mentioned online target information and the reference template is as follows:

在工作平面坐标系中,将在线获得的加强板图像的6个点通过公式(1)转化为空间坐标点 { ( x ~ 1 , y ~ 1 ) , ( x ~ 2 , y ~ 2 ) , . . . , ( x ~ 6 , y ~ 6 ) } ,

Figure A20081001697300053
与x轴方向的夹角记为θ,
Figure A20081001697300054
向量记为t,空间点 { ( x ~ 1 , y ~ 1 ) , ( x ~ 2 , y ~ 2 ) , . . . , ( x ~ 6 , y ~ 6 ) } 在坐标系x-O-y下的坐标为{(x1,y1),(x2,y2),...,(x6,y6)},可通过下式获得:In the working plane coordinate system, the 6 points of the reinforced plate image obtained online are transformed into space coordinate points by formula (1) { ( x ~ 1 , the y ~ 1 ) , ( x ~ 2 , the y ~ 2 ) , . . . , ( x ~ 6 , the y ~ 6 ) } , Will
Figure A20081001697300053
The included angle with the x-axis direction is denoted as θ,
Figure A20081001697300054
The vector is denoted as t, the space point { ( x ~ 1 , the y ~ 1 ) , ( x ~ 2 , the y ~ 2 ) , . . . , ( x ~ 6 , the y ~ 6 ) } The coordinates in the coordinate system xOy are {(x 1 , y 1 ), (x 2 , y 2 ), ..., (x 6 , y 6 )}, which can be obtained by the following formula:

xx ythe y == coscos θθ sinsin θθ -- sinsin θθ coscos θθ xx ~~ ythe y ~~ ++ tt -- -- -- (( 22 ))

求出(x1,y1)和(x2,y2)后,按照加强板的方向及已知尺寸确定其它各点位置;After calculating (x 1 , y 1 ) and (x 2 , y 2 ), determine the positions of other points according to the direction and known dimensions of the reinforcement plate;

上述目标深度信息的获取方式如下:The method of obtaining the above-mentioned target depth information is as follows:

设三个平行平面,平面A为图像平面,平面B和C是不同高度的空间平面,不同高度的同一物体所形成的图像大小不同,具体推导过程如下:Assuming three parallel planes, plane A is the image plane, planes B and C are space planes of different heights, the size of the image formed by the same object at different heights is different, the specific derivation process is as follows:

|| || OOOO 11 →&Right Arrow; || || || || OOOO 33 →&Right Arrow; || || == || || aa 11 bb 11 →&Right Arrow; || || || || cc 11 dd 11 →&Right Arrow; || || -- -- -- (( 33 ))

|| || OOOO 11 →&Right Arrow; || || || || OOOO 22 →&Right Arrow; || || == || || aa 22 bb 22 →&Right Arrow; || || || || cc 22 dd 22 →&Right Arrow; || || -- -- -- (( 44 ))

其中

Figure A20081001697300061
的是事先已知的深度信息,
Figure A20081001697300062
Figure A20081001697300063
是同一目标的长度,由公式(3)和(4)可得:in
Figure A20081001697300061
is the depth information known in advance,
Figure A20081001697300062
and
Figure A20081001697300063
is the length of the same target, which can be obtained from formulas (3) and (4):

|| || OOOO 33 →&Right Arrow; || || || || OOOO 22 →&Right Arrow; || || == || || aa 22 bb 22 →&Right Arrow; || || || || aa 11 bb 11 →&Right Arrow; || || -- -- -- (( 55 ))

为了计算方便,将公式(5)转化为:For the convenience of calculation, formula (5) is transformed into:

|| || OOOO 33 →&Right Arrow; || || == SS 22 SS 11 || || OOOO 22 →&Right Arrow; || || -- -- -- (( 66 ))

S1是图像平面中小矩形的面积,S2是大矩形的面积。利用这一公式将目标形状推广到任意多边形,任意姿态都存在这一关系,计算非常方便。这样

Figure A20081001697300066
为参考模板的深度信息,
Figure A20081001697300067
为在线检测到的目标深度信息。 S1 is the area of the small rectangle in the image plane and S2 is the area of the large rectangle. Using this formula to extend the target shape to any polygon, this relationship exists in any posture, and the calculation is very convenient. so
Figure A20081001697300066
For the depth information of the reference template,
Figure A20081001697300067
is the target depth information detected online.

上述在线目标信息的获取方式如下:The above online target information can be obtained as follows:

上述激光标记,为两条红色激光条纹,利用两个激光面在加强板上形成的转折点,获取焊接初始点位置;具体过程是,首先提取RGB颜色空间的R图像,然后选取阈值对其进行二值化、去噪处理,在细化处理后得到光条的单像素图,最后利用列扫描方法获得条纹在加强板上形成的边界点,通过四个边界点拟和直线并求其交点,即焊接初始点的图像坐标(u1,v1),再通过霍夫变换获得以(u1,v1)为起点顺时针排序的第一个点(u2,v2)。The above laser marks are two red laser stripes, using the turning points formed by the two laser surfaces on the reinforcing plate to obtain the position of the initial welding point; the specific process is to first extract the R image of the RGB color space, and then select the threshold Value and denoising processing. After thinning processing, the single-pixel image of the light stripe is obtained. Finally, the boundary points formed by the stripes on the reinforcing plate are obtained by using the column scanning method. The four boundary points are used to fit a straight line and find their intersection point, that is, Image coordinates (u 1 , v 1 ) of the welding initial point, and then obtain the first point (u 2 , v 2 ) sorted clockwise starting from (u 1 , v 1 ) through Hough transform.

本发明集装箱顶角件加强板自动焊接定位系统能够通过简单的图像处理算法和简化的定位处理方式,实现一种快速、有效的初始点加强板姿态识别和定位方法。该系统可通过系统设置的箱型参数确定加强板的大小、厚度尺寸,来配合有效算法完成任务。另外,由于加强板的大小、厚度尺寸是已知的,因此,一旦确定初始点位置和加强板姿态即可实现自动焊接任务。The automatic welding and positioning system for the reinforcing plate of the container top corner piece of the present invention can realize a fast and effective posture recognition and positioning method of the reinforcing plate at the initial point through a simple image processing algorithm and a simplified positioning processing method. The system can determine the size and thickness of the reinforcement plate through the box type parameters set by the system to complete the task with an effective algorithm. In addition, since the size and thickness of the reinforcing plate are known, the automatic welding task can be realized once the initial point position and the posture of the reinforcing plate are determined.

附图说明 Description of drawings

图1为本发明一种实施方式的原理简图,同时示出与本发明有关的其他物件。Fig. 1 is a schematic schematic diagram of an embodiment of the present invention, and also shows other items related to the present invention.

图2示出了与本发明有关的空间目标与图像之间的一种对应关系。FIG. 2 shows a corresponding relationship between spatial objects and images related to the present invention.

图3示出了与本发明有关的在线目标信息与参考模板之间的一种对应关系。FIG. 3 shows a corresponding relationship between online object information and reference templates related to the present invention.

图4示出了与本发明有关的目标深度信息的一种获取方式。Fig. 4 shows an acquisition method of target depth information related to the present invention.

图5a~5e示出了与本发明有关的在线目标信息的一种获取方式Figures 5a-5e show a method of acquiring online target information related to the present invention

下面结合附图对本发明进行说明:The present invention is described below in conjunction with accompanying drawing:

具体实施方式Detailed ways

如图1所示,一种集装箱顶角件加强板自动焊接定位系统,包括一台摄像机1,两个激光器2,一个吹风管7,一台电脑3或其他适宜的运算装置。具体连接方式是摄像机、双激光器、吹风管安装在直角支架8上,其中要求摄像机光轴垂直工作平台安装,双激光器的光平面平行并捆绑在一起,与摄像机光轴成45°角安装;吹风管7固定在直角支架8上,管口朝工作平台;摄像机通过1394卡11与电脑连接;吹风管与激光及直接接电源;电脑3通过RS232协议与焊接机器人4通信,可以控制机器人执行相应操作(任务)。As shown in FIG. 1 , an automatic welding positioning system for a reinforcing plate of a container top corner fitting includes a camera 1 , two lasers 2 , a blower 7 , a computer 3 or other suitable computing devices. The specific connection method is that the camera, double lasers, and blower are installed on the right-angle bracket 8, wherein the optical axis of the camera is required to be installed vertically on the working platform, the optical planes of the double lasers are parallel and bound together, and installed at an angle of 45° with the optical axis of the camera; The tube 7 is fixed on the right-angle bracket 8, and the nozzle faces the working platform; the camera is connected to the computer through the 1394 card 11; the blower is directly connected to the laser and the power supply; the computer 3 communicates with the welding robot 4 through the RS232 protocol, and can control the robot to perform corresponding operations (Task).

上述摄像机的图像平面与工作平面平行,图像平面与工作平面形成对应比例关系,并通过标准矩形模板获得这一比例数据;初始安装设备时,首先通过计算机设置工作坐标系原点,以模板的焊接初始点空间坐标为原点,本系统以第一个焊接目标为模板,模板两条外边分别为坐标系统x轴和y轴,并将其图像信息存入模版库;在在线定位过程中,双激光条纹打在位于集装箱顶板6加强板5的外角10处,摄像机实时获取带有激光标记的加强板5的图像,并通过计算机处理获得初始点9的图像信息和其姿态信息;最后通过图像信息与空间信息的转换关系得到实时加强板的空间初始点位置和姿态。The image plane of the above-mentioned camera is parallel to the working plane, and the image plane and the working plane form a corresponding proportional relationship, and this proportion data is obtained through a standard rectangular template; when initially installing the equipment, first set the origin of the working coordinate system through the computer, and use the initial welding of the template The point space coordinate is the origin, the system takes the first welding target as the template, and the two outer sides of the template are the x-axis and y-axis of the coordinate system, and its image information is stored in the template library; during the online positioning process, the double laser stripe At the outer corner 10 of the reinforcing plate 5 on the top plate 6 of the container, the camera acquires the image of the reinforcing plate 5 with the laser mark in real time, and obtains the image information of the initial point 9 and its posture information through computer processing; finally, through the image information and space The transformation relation of information obtains the space initial point position and attitude of the real-time reinforced plate.

参图2,由于光轴垂直工作平台,即

Figure A20081001697300071
垂直空间平面x-O″-y和图像平面x-O′-y,并存在如下关系:Referring to Figure 2, since the optical axis is perpendicular to the working platform, that is
Figure A20081001697300071
The vertical space plane xO″-y and the image plane xO′-y have the following relationship:

xx ythe y == aa bb uu vv -- -- -- (( 11 ))

利用摄像机采集一个已知尺寸的矩形模板图像,从图像中获得该矩形模板以像素为单位的长宽尺寸,然后通过a=x/u,b=y/v,获得图像空间与物理空间的比例系数a,b。Use a camera to capture a rectangular template image of known size, obtain the length and width of the rectangular template in pixels from the image, and then obtain the ratio of the image space to the physical space through a=x/u, b=y/v Coefficients a, b.

参看图3,在工作平面坐标系中,12为参考模板,13为在线加强板,O为空间坐标原点(0,0,0),两个外边界分别为坐标x轴和y轴,参考模板的图像信息事先存入模板库。将在线获得的加强板图像的6个点通过公式(1)转化为空间坐标点 { ( x ~ 1 , y ~ 1 ) , ( x ~ 2 , y ~ 2 ) , . . . , ( x ~ 6 , y ~ 6 ) } . 与x轴方向的夹角记为θ,

Figure A20081001697300075
向量记为t,空间点 { ( x ~ 1 , y ~ 1 ) , ( x ~ 2 , y ~ 2 ) , . . . , ( x ~ 6 , y ~ 6 ) } 在坐标系x-O-y下的坐标为{(x1,y1),(x2,y2),...,(x6,y6)},可通过下式获得:Referring to Figure 3, in the coordinate system of the working plane, 12 is the reference template, 13 is the online reinforcement plate, O is the origin of space coordinates (0, 0, 0), and the two outer boundaries are the coordinates x-axis and y-axis respectively, and the reference template The image information of the template is stored in the template library in advance. Transform the 6 points of the reinforced plate image obtained online into spatial coordinate points by formula (1) { ( x ~ 1 , the y ~ 1 ) , ( x ~ 2 , the y ~ 2 ) , . . . , ( x ~ 6 , the y ~ 6 ) } . Will The included angle with the x-axis direction is denoted as θ,
Figure A20081001697300075
The vector is denoted as t, the space point { ( x ~ 1 , the y ~ 1 ) , ( x ~ 2 , the y ~ 2 ) , . . . , ( x ~ 6 , the y ~ 6 ) } The coordinates in the coordinate system xOy are {(x 1 , y 1 ), (x 2 , y 2 ), ..., (x 6 , y 6 )}, which can be obtained by the following formula:

xx ythe y == coscos θθ sinsin θθ -- sinsin θθ coscos θθ xx ~~ ythe y ~~ ++ tt -- -- -- (( 22 ))

在实际应用中,我们只需求出(x1,y1)和(x2,y2),即焊接初始点位置和加强板的方向,按照已知尺寸顺序确定并排列出其他4个点。In practical applications, we only need to find out (x 1 , y 1 ) and (x 2 , y 2 ), that is, the position of the initial welding point and the direction of the reinforcement plate, and determine and arrange the other 4 points according to the order of known dimensions.

参看图4,有三个平行平面,平面A为图像平面,平面B和C是不同高度的空间平面,不同高度的同一物体所形成的图像大小不同,图中显示出,目标的深度信息与所成图像的面积有关系,具体推导过程如下:Referring to Figure 4, there are three parallel planes, plane A is the image plane, planes B and C are space planes of different heights, the size of the image formed by the same object at different heights is different, the figure shows that the depth information of the target is related to the formed The area of the image is related, and the specific derivation process is as follows:

|| || OOOO 11 →&Right Arrow; || || || || OOOO 33 →&Right Arrow; || || == || || aa 11 bb 11 →&Right Arrow; || || || || cc 11 dd 11 →&Right Arrow; || || -- -- -- (( 33 ))

|| || OOOO 11 →&Right Arrow; || || || || OOOO 22 →&Right Arrow; || || == || || aa 22 bb 22 →&Right Arrow; || || || || cc 22 dd 22 →&Right Arrow; || || -- -- -- (( 44 ))

其中的是事先已知的深度信息,

Figure A20081001697300085
是同一目标的长度,是相等的。由公式(3)和(4)可得:in is the depth information known in advance, and
Figure A20081001697300085
are the lengths of the same target and are equal. From formulas (3) and (4), we can get:

|| || OOOO 33 →&Right Arrow; || || || || OOOO 22 →&Right Arrow; || || == || || aa 22 bb 22 →&Right Arrow; || || || || aa 11 bb 11 →&Right Arrow; || || -- -- -- (( 55 ))

为了计算方便,将公式(5)转化为:For the convenience of calculation, formula (5) is transformed into:

|| || OOOO 33 →&Right Arrow; || || == SS 22 SS 11 || || OOOO 22 →&Right Arrow; || || -- -- -- (( 66 ))

S1是图像平面中小矩形的面积,S2是大矩形的面积。利用这一公式将目标形状推广到任意多边形,任意姿态都存在这一关系,计算非常方便。这样

Figure A20081001697300088
为参考模板的深度信息,为在线检测到的目标深度信息。 S1 is the area of the small rectangle in the image plane and S2 is the area of the large rectangle. Using this formula to extend the target shape to any polygon, this relationship exists in any posture, and the calculation is very convenient. so
Figure A20081001697300088
For the depth information of the reference template, is the target depth information detected online.

参看图5a~5e,为了提高图像处理效率,在加强板打上两条红色激光条纹,利用两个激光面在加强板上形成的转折点,获取焊接初始点,如图5a。具体方法是首先提取RGB颜色空间的R图像,如图5b;然后选取合理的阈值对其进行二值化、去噪处理,如图5c,在细化处理后得到光条的单像素图,如图5d、5e;最后利用列扫描方法获得条纹在加强板上形成的边界点,通过四个边界点拟和直线并求其交点,即焊接初始点的图像坐标(u1,v1),再通过霍夫变换获得以(u1,v1)为起点顺时针排序的第一个点(u2,v2),将(u1,v1)与(u2,v2)的方向角记为加强板的姿态。Referring to Figures 5a-5e, in order to improve image processing efficiency, two red laser stripes are marked on the reinforcement plate, and the initial welding point is obtained by using the turning points formed by the two laser surfaces on the reinforcement plate, as shown in Figure 5a. The specific method is to first extract the R image in the RGB color space, as shown in Figure 5b; then select a reasonable threshold to perform binarization and denoising processing on it, as shown in Figure 5c, and obtain the single-pixel image of the light bar after thinning processing, as shown in Fig. 5d, 5e; Finally, use the column scanning method to obtain the boundary points formed by the stripes on the reinforcement plate, fit a straight line through the four boundary points and find their intersection point, that is, the image coordinates (u 1 , v 1 ) of the welding initial point, and then Obtain the first point (u 2 , v 2 ) sorted clockwise starting from (u 1 , v 1 ) through Hough transform, and compare the direction angle between (u 1 , v 1 ) and (u 2 , v 2 ) Denote the pose of the stiffener.

本方法中的列扫描获得边界点,顺时针排序能够实现的前提是,本应用中,加强板位姿变化范围小(位移<5mm,角度<5°),因此,摄像机可以安装在适合图像计算的位置,即图像u轴近似平行激光条纹。The column scan in this method obtains the boundary points, and the premise that the clockwise sorting can be realized is that in this application, the range of the pose of the stiffener is small (displacement<5mm, angle<5°), therefore, the camera can be installed in a place suitable for image calculation The position of , that is, the image u-axis is approximately parallel to the laser stripes.

本发明是在焊接之前进行图像采集,所以不会受到弧焊光线的影响,当焊接机器人换向或停顿时,先通过吹风管通风,把摄像机镜头前的烟雾和灰尘吹开,然后进行采集图像。The present invention collects images before welding, so it will not be affected by the arc welding light. When the welding robot changes direction or stops, it first ventilates through the blower pipe to blow away the smoke and dust in front of the camera lens, and then collects images .

Claims (4)

1, a kind of positioning system for automatic soldering of container apex angle piece reinforcing plate, feature are to comprise a video camera, two laser instruments, and a computer; Wherein the vertical workbench of camera optical axis is installed, and the optical plane of twin-laser is parallel and bundle, and installs with camera optical axis angle at 45; Video camera is connected with computer by image pick-up card, and the computer expert crosses data circuit and is connected with welding robot, can control robot and carry out corresponding operating.
2, positioning system for automatic soldering of container apex angle piece reinforcing plate according to claim 1 is characterized in that: described video camera, twin-laser, blower are installed on the right angle rack; Blower is fixed on the right angle rack, and the mouth of pipe is towards workbench; Video camera is connected with computer by 1394 cards, and blower and laser instrument directly connect power supply; The computer expert crosses the RS232 agreement and communicates by letter with welding robot.
3, positioning system for automatic soldering of container apex angle piece reinforcing plate according to claim 1, it is characterized in that: the plane of delineation of described video camera is parallel with working face, the plane of delineation forms corresponding proportionate relationship with working face, and obtains this ratio data by the standard rectangular template; During initial erection unit, at first by computer installation work coordinate system initial point, be initial point with the welding initial point space coordinates of template, native system is a template with first welding target, two outsides of template are respectively coordinate system x axle and y axle, and deposit its image information in ATL; In online position fixing process, two laser stripes are beaten at place, stiffener exterior angle, and video camera obtains the stiffener image that has laser labelling in real time, and obtain image information and its attitude information of initial point by Computer Processing; Obtain the initial point position, space and the attitude of real-time stiffener at last by the transformational relation of image information and spatial information.
4, positioning system for automatic soldering of container apex angle piece reinforcing plate according to claim 3, it is characterized in that: described positioning system for automatic soldering of container apex angle piece reinforcing plate comprises between extraterrestrial target and its image corresponding relation corresponding relation obtain manner of cube formula, target depth information and the obtain manner of online target information really between cube formula, online target information and the reference template really;
Cube formula is as follows really for corresponding relation between above-mentioned extraterrestrial target and its image:
The plane of delineation forms corresponding proportionate relationship formula with working face:
x y = a b u v - - - ( 1 )
Utilize the rectangle template image of a known dimensions of camera acquisition, obtaining this rectangle template from image is the length and width size of unit with the pixel, then by a=x/u, and b=y/v, the proportionality coefficient a of acquisition image space and physical space, b;
Cube formula is as follows really for corresponding relation between above-mentioned online target information and the reference template:
In the working face coordinate system, 6 points of the stiffener image of online acquisition are converted into the space coordinates point by formula (1) Will
Figure A2008100169730002C3
Be designated as θ with the axial angle of x,
Figure A2008100169730002C4
Vector is designated as t, spatial point
Figure A2008100169730002C5
Coordinate under coordinate system x-O-y is { (x 1, y 1), (x 2, y 2) ..., (x 6, y 6), can obtain by following formula:
x y = cos &theta; sin &theta; - sin &theta; cos &theta; x ~ y ~ + t - - - ( 2 )
Obtain (x 1, y 1) and (x 2, y 2) after, determine other each point position according to the direction and the known dimensions of stiffener;
The obtain manner of above-mentioned target depth information is as follows:
If three parallel planes, plane A are the plane of delineation, plane B and C are the space planes of differing heights, and the formed image of same object of differing heights varies in size, and concrete derivation is as follows:
| | OO 1 &RightArrow; | | | | OO 3 &RightArrow; | | = | | a 1 b 1 &RightArrow; | | | | c 1 d 1 &RightArrow; | | - - - ( 3 )
| | OO 1 &RightArrow; | | | | OO 2 &RightArrow; | | = | | a 2 b 2 &RightArrow; | | | | c 2 d 2 &RightArrow; | | - - - ( 4 )
Wherein
Figure A2008100169730003C4
Be prior known depth information,
Figure A2008100169730003C5
With
Figure A2008100169730003C6
Be the length of same target, can get by formula (3) and (4):
| | OO 3 &RightArrow; | | | | OO 2 &RightArrow; | | = | | a 2 b 2 &RightArrow; | | | | a 1 b 1 &RightArrow; | | - - - ( 5 )
For convenience of calculation, formula (5) is converted into:
| | OO 3 &RightArrow; | | = S 2 S 1 | | OO 2 &RightArrow; | | - - - ( 6 )
S 1Be the area of the medium and small rectangle of the plane of delineation, S 2It is the area of large rectangle.Utilize this formula that target shape is generalized to arbitrary polygon, all there is this relation in attitude arbitrarily, calculates very convenient.Like this
Figure A2008100169730003C9
Be the depth information of reference template,
Figure A2008100169730003C10
Be online detected target depth information.
The obtain manner of above-mentioned online target information is as follows:
Above-mentioned laser labelling is two red laser stripeds, and the turning point that utilizes two lasing areas to form on stiffener obtains welding initial point position; Detailed process is, at first extract the R image of RGB color space, selected threshold is carried out binaryzation, denoising to it then, after thinning processing, obtain single pixel map of striation, utilize the column scan method to obtain the boundary point that striped forms at last on stiffener, fit straight line and ask its intersection point by four boundary points, promptly weld the image coordinate (u of initial point 1, v 1), obtain with (u by Hough transformation again 1, v 1) be starting point first point (u of ordering clockwise 2, v 2).
CN2008100169739A 2008-06-27 2008-06-27 Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner Expired - Fee Related CN101301711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100169739A CN101301711B (en) 2008-06-27 2008-06-27 Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100169739A CN101301711B (en) 2008-06-27 2008-06-27 Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner

Publications (2)

Publication Number Publication Date
CN101301711A true CN101301711A (en) 2008-11-12
CN101301711B CN101301711B (en) 2010-11-17

Family

ID=40111902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100169739A Expired - Fee Related CN101301711B (en) 2008-06-27 2008-06-27 Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner

Country Status (1)

Country Link
CN (1) CN101301711B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101474733B (en) * 2009-01-16 2011-07-13 山东科技大学 Method for welding shipping container top reinforcing plate and welding robot
CN105773437A (en) * 2014-12-22 2016-07-20 富泰华工业(深圳)有限公司 Spray gun adjusting device and adjusting method thereof
WO2019184223A1 (en) * 2018-03-30 2019-10-03 江苏金恒信息科技股份有限公司 Method for soldering label onto bar
CN110651686A (en) * 2019-10-12 2020-01-07 北京理工华汇智能科技有限公司 A kind of rubber tapping method and system based on tapping robot arm
WO2020019209A1 (en) * 2018-07-25 2020-01-30 西门子(中国)有限公司 Optical locator
CN116309609A (en) * 2023-05-25 2023-06-23 山东曙岳车辆有限公司 Intelligent detection method for welding corrugated plates of container door panels
CN117444402A (en) * 2023-12-26 2024-01-26 天津市三鑫阳光工贸有限公司 Welding device for wind power generation support

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101474733B (en) * 2009-01-16 2011-07-13 山东科技大学 Method for welding shipping container top reinforcing plate and welding robot
CN105773437A (en) * 2014-12-22 2016-07-20 富泰华工业(深圳)有限公司 Spray gun adjusting device and adjusting method thereof
WO2019184223A1 (en) * 2018-03-30 2019-10-03 江苏金恒信息科技股份有限公司 Method for soldering label onto bar
WO2020019209A1 (en) * 2018-07-25 2020-01-30 西门子(中国)有限公司 Optical locator
CN110651686A (en) * 2019-10-12 2020-01-07 北京理工华汇智能科技有限公司 A kind of rubber tapping method and system based on tapping robot arm
CN116309609A (en) * 2023-05-25 2023-06-23 山东曙岳车辆有限公司 Intelligent detection method for welding corrugated plates of container door panels
CN117444402A (en) * 2023-12-26 2024-01-26 天津市三鑫阳光工贸有限公司 Welding device for wind power generation support
CN117444402B (en) * 2023-12-26 2024-02-23 天津市三鑫阳光工贸有限公司 Welding device for wind power generation support

Also Published As

Publication number Publication date
CN101301711B (en) 2010-11-17

Similar Documents

Publication Publication Date Title
CN109074668B (en) Path navigation method, related device and computer readable storage medium
CN101301711A (en) Automatic Welding and Positioning System for Reinforcing Plate of Container Top Corner
CN113379849B (en) Robot autonomous recognition intelligent grabbing method and system based on depth camera
CN106651894B (en) Automatic spraying system coordinate transformation method based on point cloud and image matching
CN106524945B (en) A kind of plane included angle On-line Measuring Method based on mechanical arm and structure light vision
CN104200086B (en) Wide-baseline visible light camera pose estimation method
CN100491903C (en) A method for calibrating structural parameters of a structured light vision sensor
CN101216937B (en) Parameter Calibration Method of Port Moving Container Positioning System
CN106338245A (en) Non-contact movement measuring method for workpiece
CN108555908A (en) A kind of identification of stacking workpiece posture and pick-up method based on RGBD cameras
CN106041937A (en) Control method of manipulator grabbing control system based on binocular stereoscopic vision
CN102794763A (en) Systematic calibration method of welding robot guided by line structured light vision sensor
CN110825088A (en) Multi-view vision guiding ship body cleaning robot system and cleaning method
CN108907526A (en) A kind of weld image characteristic recognition method with high robust
WO2019184223A1 (en) Method for soldering label onto bar
CN102013099A (en) Interactive calibration method for external parameters of vehicle video camera
CN112529856B (en) Method for determining position of operating object, robot and automation system
CN113920191B (en) 6D data set construction method based on depth camera
CN115272474B (en) A stereo calibration plate and calibration method for joint calibration of laser radar and camera
CN105574812A (en) Multi-angle three-dimensional data registration method and device
CN108007345A (en) Measuring method of excavator working device based on monocular camera
CN107300382A (en) A kind of monocular visual positioning method for underwater robot
CN117036464A (en) Monocular vision guided AGV obstacle avoidance ranging method and device based on example segmentation technology
CN114581368B (en) Bar welding method and device based on binocular vision
Zhang et al. A feature extraction approach over workpiece point clouds for robotic welding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101117

Termination date: 20180627

CF01 Termination of patent right due to non-payment of annual fee