CN114643448A - Weld joint feature extraction device and method - Google Patents

Weld joint feature extraction device and method Download PDF

Info

Publication number
CN114643448A
CN114643448A CN202210544632.9A CN202210544632A CN114643448A CN 114643448 A CN114643448 A CN 114643448A CN 202210544632 A CN202210544632 A CN 202210544632A CN 114643448 A CN114643448 A CN 114643448A
Authority
CN
China
Prior art keywords
laser
welding
image
welding gun
ccd camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210544632.9A
Other languages
Chinese (zh)
Other versions
CN114643448B (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.)
Wuhan Dongfang Junchi Precision Manufacturing Co ltd
Xianfusi Technology Wuhan Co ltd
Original Assignee
Xianfusi Technology Wuhan 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 Xianfusi Technology Wuhan Co ltd filed Critical Xianfusi Technology Wuhan Co ltd
Priority to CN202210544632.9A priority Critical patent/CN114643448B/en
Publication of CN114643448A publication Critical patent/CN114643448A/en
Application granted granted Critical
Publication of CN114643448B publication Critical patent/CN114643448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • B23K37/00Auxiliary devices or processes, not specially adapted to a procedure covered by only one of the preceding main groups
    • B23K37/02Carriages for supporting the welding or cutting element
    • B23K37/0252Steering means
    • 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
    • B23K31/00Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups
    • B23K31/02Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups relating to soldering or welding
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • 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

Abstract

The invention provides a welding seam feature extraction device and a welding seam feature extraction method. The device comprises: the main control unit is connected with the robot controller and the image acquisition card, and also comprises a sensor module which mainly consists of a first laser, a second laser and a CCD camera and is arranged at the front end of the welding gun; the first laser and the second laser are used for irradiating laser signals to the workpiece; the CCD camera is used for acquiring an image signal containing double laser stripes on the workpiece, and the image signal is converted into a digital signal by an image acquisition card and then is sent to the main control unit; the main control unit is used for obtaining the height of the welding gun and the tracking deviation of the welding seam through welding seam characteristic extraction, sending a deviation signal to the robot controller and controlling the welding gun on the welding robot to be aligned to the welding seam. According to the invention, the two lasers are arranged on the sensor module, so that the height of the welding gun and the tracking deviation of the welding seam can be accurately obtained, and the tracking precision of the welding seam is improved.

Description

Weld joint feature extraction device and method
Technical Field
The invention belongs to the technical field of welding processing, and particularly relates to a welding seam feature extraction device and method.
Background
Welding is a process of heating or pressurizing or both to make atoms of workpieces to be welded penetrate through each other so as to achieve firm connection. The welding technology is widely applied and is mainly applied to various industrial departments of aviation, aerospace, ships, bridges, large-scale hoisting machinery, national defense and the like at present. At present, a welding robot is generally used at home and abroad to realize automatic welding. In places which are difficult to reach manually and dangerous places such as aerospace, deep sea, narrow space areas and the like, a welding robot is required to be used for automatic welding. The seam tracking is an important means for realizing automatic welding, and the quality of products can be improved. The welding seam tracking means that a welding gun is used as a controlled object, a welding seam tracking sensor is used for collecting images, deviation information of the welding seam relative to the welding seam is obtained through an image processing technology, and the welding gun is controlled to be always positioned right above the welding seam by adopting a certain control method. The robot is used for realizing automatic welding, so that on one hand, the productivity is increased; on the other hand, the quality of the welding seam is improved, and the cost is saved.
The initial positioning of the weld gun is required prior to weld seam tracking. The initial positioning of the welding gun comprises the identification of the transverse deviation of the welding gun and the identification of the height of the welding gun. The welding gun transverse deviation is mainly obtained by processing a welding seam image collected in real time, then the deviation signal is transmitted to a control system, the control system receives the deviation signal and sends out a corresponding control signal, and the deviation is reduced or eliminated by executing a corresponding mechanism. The height identification of the welding gun has important significance for controlling the quality of the welding seam. In the actual welding process, the surface of the workpiece to be welded cannot be absolutely flat, and certain difficulty is brought to the welding process. In the prior art, the height of the welding gun is generally identified by a mark searching method, the height of a sensor is firstly calibrated, then the height value and the corresponding laser stripe distance are stored in a memory of a computer, and the height value of the welding gun is determined by looking up a table. The method has slow searching speed, occupies a large amount of memory of a computer, has discontinuous calibrated height values, and can not search some height values in a table.
Disclosure of Invention
In order to solve the above problems in the prior art, the present invention provides a weld feature extraction device and method.
In order to achieve the above object, the present invention adopts the following technical solutions.
In a first aspect, the present invention provides a weld feature extraction device, including: the main control unit is connected with the robot controller and the image acquisition card, and also comprises a sensor module which mainly consists of a first laser, a second laser and a CCD camera and is arranged at the front end of the welding gun; the first laser and the second laser are used for irradiating laser signals to the workpiece; the CCD camera is used for acquiring an image signal containing double laser stripes on the workpiece, and the image signal is converted into a digital signal by an image acquisition card and then is sent to the main control unit; the main control unit is used for obtaining the height of the welding gun and the tracking deviation of the welding seam through welding seam characteristic extraction, sending a deviation signal to the robot controller and controlling the welding gun on the welding robot to be aligned to the welding seam.
Further, the weld joint feature extraction comprises image preprocessing, double-laser stripe segmentation and curve fitting, and tracking deviation calculation.
Furthermore, the sensor module further comprises a first reflective mirror and a second reflective mirror which are obliquely arranged under the first laser and the second laser respectively, and the first reflective mirror and the second reflective mirror are used for reflecting laser signals emitted by the first laser and the second laser and irradiating the laser signals onto a workpiece.
Further, the sensor module further includes a filter and a polarizer mounted in front of the lens of the CCD camera.
Still further, the sensor module further includes a cover glass plate mounted adjacent to the side of the welding gun for preventing dust and spatter from entering the sensor module.
Still further, the method for calculating the height of the welding gun comprises the following steps:
calculating the actual physical length of each pixel point
Figure 248888DEST_PATH_IMAGE002
Figure 856193DEST_PATH_IMAGE003
(1)
In the formula (I), the compound is shown in the specification,
Figure 293997DEST_PATH_IMAGE004
the focal height of the CCD camera, i.e. the vertical distance from the workpiece is
Figure 807017DEST_PATH_IMAGE005
The actual length corresponding to the width of the image,
Figure 707103DEST_PATH_IMAGE006
is the number of pixel points of the image width,
Figure 213039DEST_PATH_IMAGE007
the field angle of the CCD camera;
distance between two laser lines on workpiece
Figure 256082DEST_PATH_IMAGE008
Comprises the following steps:
Figure 705385DEST_PATH_IMAGE009
(2)
in the formula (I), the compound is shown in the specification,
Figure 325722DEST_PATH_IMAGE010
the distance between two laser stripes on the image is represented by the number of pixel points;
Figure 386082DEST_PATH_IMAGE008
by height difference
Figure 299942DEST_PATH_IMAGE011
Expressed as:
Figure 279400DEST_PATH_IMAGE012
(3)
in the formula (I), the compound is shown in the specification,
Figure 527978DEST_PATH_IMAGE013
Figure 874253DEST_PATH_IMAGE014
respectively are included angles between the first reflective mirror and the second reflective mirror and the vertical direction,
Figure 626308DEST_PATH_IMAGE013
=
Figure 730661DEST_PATH_IMAGE014
Figure 200957DEST_PATH_IMAGE015
Figure 117966DEST_PATH_IMAGE016
the distance between the intersection of the laser and the focus of the CCD camera is reflected by a first reflector and a second reflector, and the first reflector and the second reflector are installed at the same height and are symmetrical about the symmetry axis of the CCD camera;
obtained by the formulas (2) and (3):
Figure 353556DEST_PATH_IMAGE017
(4)
Figure 815762DEST_PATH_IMAGE018
(5)
height of welding gunHComprises the following steps:
Figure 22621DEST_PATH_IMAGE019
(6)
in the formula (I), the compound is shown in the specification,
Figure 962895DEST_PATH_IMAGE020
is the height difference between the welding gun and the focus of the CCD camera.
Still further, the method for calculating the weld joint tracking deviation comprises the following steps:
calculating the ordinate of the welding gun in the image:
Figure 581221DEST_PATH_IMAGE021
(7)
in the formula (I), the compound is shown in the specification,
Figure 463595DEST_PATH_IMAGE022
the horizontal distance of the welding gun from the center of the sensor module,
Figure 531652DEST_PATH_IMAGE023
calculated by equation (1), the image size is
Figure 541196DEST_PATH_IMAGE024
Pixel points;
fitting equation according to weld line straight line
Figure 637197DEST_PATH_IMAGE025
Calculating the abscissa of the welding gun
Figure 332883DEST_PATH_IMAGE026
Figure 655279DEST_PATH_IMAGE027
(8)
Calculating the deviation between the welding gun and the welding seamΔ
Figure 937356DEST_PATH_IMAGE028
(9)
In the formula (I), the compound is shown in the specification,
Figure 646119DEST_PATH_IMAGE029
the abscissa of the weld.
Further, the CCD camera is a WAT-704R type industrial camera.
Further, the image acquisition card is a DH-CG410 type acquisition card.
In a second aspect, the invention provides a method for extracting weld features by using the device, which comprises the following steps:
the first laser and the second laser irradiate laser signals to the surface of the workpiece;
the CCD camera shoots an image containing double laser stripes on the surface of the workpiece in real time;
the main control unit acquires the image in real time through an image acquisition card, and the height of the welding gun and the tracking deviation of the welding seam are obtained through welding seam characteristic extraction;
and the robot controller receives the deviation signal sent by the main control unit and controls the welding robot to enable the welding gun to be aligned with the welding seam.
Compared with the prior art, the invention has the following beneficial effects.
The invention is provided with a main control unit, a robot controller, an image acquisition card and a sensor module which mainly comprises a first laser, a second laser and a CCD camera and is arranged at the front end of a welding gun, wherein the first laser and the second laser are used for irradiating laser signals to a workpiece, the CCD camera is used for acquiring image signals containing double laser stripes on the workpiece, and the main control unit is used for obtaining the height of the welding gun and the tracking deviation of the welding seam through welding seam characteristic extraction and sending the deviation signals to the robot controller to control the welding gun on the welding robot to align the welding seam. According to the invention, the two lasers are arranged on the sensor module, so that the height of the welding gun and the tracking deviation of the welding seam can be accurately obtained, and the tracking precision of the welding seam is improved.
Drawings
Fig. 1 is a block diagram of a weld feature extraction apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic view of upper and lower stripes, the left being the upper stripe and the right being the lower stripe;
FIG. 3 is a schematic view of a weld gun height calculation;
FIG. 4 is a schematic diagram of weld bead deviation calculation;
fig. 5 is a flowchart of a method for extracting weld features by using the device according to an embodiment of the present invention.
In the figure: 1-a sensor module, 11-a first laser, 12-a second laser, 13-a CCD camera, 14-a first reflector, 15-a second reflector, 16-a protective glass plate, 2-a main control unit, 3-an image acquisition card, 4-a robot controller and 5-a workpiece.
Detailed Description
In order to make the technical solution and advantages of the present invention more clear and obvious, the present invention is further described with reference to the accompanying drawings and the detailed description. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a block diagram of a weld feature extraction apparatus according to an embodiment of the present invention, including: the device comprises a main control unit 2, a robot controller 4 and an image acquisition card 3 which are connected with the main control unit 2, and a sensor module 1 which mainly comprises a first laser 11, a second laser 12 and a CCD camera 13 and is arranged at the front end of a welding gun; the first laser 11 and the second laser 12 are used for irradiating laser signals to the workpiece 5; the CCD camera 13 is used for acquiring an image signal containing double laser stripes on the workpiece 5, and the image signal is converted into a digital signal by the image acquisition card 3 and then is sent to the main control unit 2; the main control unit 2 is used for obtaining the height of the welding gun and the tracking deviation of the welding seam through welding seam feature extraction, sending a deviation signal to the robot controller 4, and controlling the welding gun on the welding robot to align the welding seam.
The device mainly comprises a main control unit 2, a robot controller 4, an image acquisition card 3 and a sensor module 1, wherein the sensor module 1 mainly comprises a first laser 11, a second laser 12 and a CCD camera 13. The connection relationship of the modules is shown in fig. 1, the robot controller 4 and the image acquisition card 3 are both electrically connected with the main control unit 2, and the image acquisition card 3 is electrically connected with the CCD camera 13. The embodiment realizes the welding operation to the workpiece 5 by controlling the position of the welding gun by the welding robot, and the sensor module 1 and the welding gun are both installed on the welding robot. The functional principle of each component will be described separately below.
The sensor module 1 belongs to a structured light vision sensor and mainly comprises a CCD camera 13 and a laser, wherein the laser emits laser signals to the surface of a workpiece 5, and the CCD camera 13 shoots an image containing laser stripes on the surface of the workpiece 5. The biggest difference from the existing structured light vision sensor is that the sensor module 1 of the present embodiment is modified from the existing single laser to provide two lasers, i.e., the first laser 11 and the second laser 12. The two lasers simultaneously emit laser signals to the surface of the workpiece 5, and the CCD camera 13 can shoot an image containing double laser stripes. The sensor module 1 is arranged at the front end of the welding gun in the welding direction, and a certain height difference exists between the sensor module 1 and the welding gun; the two lasers are located at the same height on both sides of the CCD camera 13. The double laser stripes comprise welding gun height information and welding line deviation information, and feature extraction is carried out based on the double laser stripes, so that high-precision welding gun height and welding line deviation can be obtained. Two lasers, optionally semiconductor lasers, are the most important components of the sensor module 1. Practice shows that the line width of the laser emitted by the laser is less than 1mm when the distance between the laser and an outlet is 120mm, and the effect of the shot image is optimal; when the wavelength is 600-700 nm, the arc light is less, so the wavelength of the laser is 650 nm.
The main control unit 2 is a control and data processing center of the device, is mainly used for completing data processing tasks, and coordinates the work of other modules by outputting various control signals. The data processing tasks completed by the main control unit 2 mainly include: weld joint feature extraction is performed by processing an image shot by the CCD camera 13, and the height of the welding gun and the weld joint deviation are calculated. The main control unit 2 outputs a deviation signal to the robot controller 4 to control the welding robot, thereby controlling the position of the welding gun. Since field control is required, the main control unit 2 generally employs an industrial control computer in which image processing software is installed. The image processing software is written by VC + +6.0 in combination with an open source computer vision library OpenCV. VC + +6.0 is a very powerful software development tool, and is widely used in the fields of industrial production, image processing, robots, etc. because it has the advantages of flexible operation, high efficiency, etc.
The image acquisition card 3 is connected with the CCD camera 13 through a video cable and is mainly used for acquiring images shot by the CCD camera 13 to the main control unit 2. The analog image signal is converted into a digital signal and then stored in the buffer memory of the main control unit 2 for the CPU to call.
And a robot controller 4 for controlling the welding robot. The robot controller 4 is a controller dedicated to control of the robot and associated with the welding robot, and is provided by the manufacturer. The robot controller 4 is connected with the main control unit 2 through an external communication interface, and controls the welding robot by receiving and analyzing a control instruction sent by the main control unit 2.
As an optional embodiment, the weld joint feature extraction comprises image preprocessing, double-laser stripe segmentation and curve fitting, and tracking deviation calculation.
In this embodiment, the weld feature extraction includes several steps, such as image preprocessing, stripe segmentation, fitting, and deviation calculation. The image preprocessing method mainly comprises the following steps: ROI extraction, filtering processing, image threshold segmentation, edge extraction and deburring. When the welding seam is tracked, strict requirements are required on image processing time due to real-time requirements. And the characteristic information in the acquired welding seam image only occupies a small part of the whole image information, so that the processing speed and the welding seam tracking efficiency are improved, ROI extraction needs to be carried out on the acquired welding seam image, and the image processing time is reduced. Common ROI extraction methods include a human-computer interaction method, a method based on a point of regard, a method based on a visual attention model, a method based on specific object segmentation, and the like. Interference such as arc light, smoke, splash and the like can be generated in the welding process, so that a large amount of noise exists in the acquired image, and the noise can influence subsequent feature extraction and feature identification. Therefore, filtering and noise reduction processing is required for the image. The windowed image may be denoised using a fourier transform in the frequency domain. The image threshold segmentation is to segment the image by binarizing the image. Edge extraction and deburring are achieved by acquiring the boundaries of an image by using a Canny operator. The Canny operator has the function of smoothing the image boundary and can play a role in filtering and noise reduction. The double laser stripe segmentation is realized by averaging the extracted image boundaries to obtain the center line of the weld, and the schematic diagram of the obtained upper and lower stripes is shown in fig. 2. Windowing the left straight line, the left oblique straight line, the right oblique straight line and the right straight line of the stripe, linearly fitting the image subjected to windowing by adopting a least square method, and then solving the characteristic point by utilizing intersection of the straight lines subjected to fitting. The tracking deviation calculation comprises height identification of the welding gun and deviation calculation of the welding seam, and is realized by calculation based on the obtained geometric characteristics of the upper and lower stripes and the installation parameters of the sensor module 1. The following examples will give specific calculation methods.
As an optional embodiment, the sensor module 1 further includes a first reflective mirror 14 and a second reflective mirror 15, which are respectively installed under the first laser 11 and the second laser 12 and are obliquely placed, and are respectively used for reflecting the laser signals emitted by the first laser 11 and the second laser 12 and then irradiating the laser signals onto the workpiece 5.
The sensor module 1 of the present embodiment is further provided with a first reflecting mirror 14 and a second reflecting mirror 15 which are installed to be obliquely placed right below the first laser 11 and the second laser 12. The laser generated by the first laser 11 and the laser generated by the second laser 12 are vertically irradiated downwards, irradiate the first reflective mirror 14 and the second reflective mirror 15, reflect and irradiate the surface of the workpiece 5, and then are reflected and scattered by the surface of the workpiece 5 to enter the field range of the CCD camera 13. The angle of inclination of the two mirrors can be adjusted, for example to 15 ° each, as shown in figure 3.
As an alternative embodiment, the sensor module 1 further includes a filter and a polarizer mounted in front of the lens of the CCD camera 13.
Because a lot of smoke and splashes exist in the welding process, in order to prevent the smoke and splashes from entering the field range of the CCD camera 13 of the sensor module 1 and further polluting the acquired image, an optical filter and a polarizing film are arranged in front of the lens of the CCD camera 13.
As an alternative embodiment, the sensor module 1 further comprises a cover glass plate 16 mounted adjacent the side of the torch to prevent dust and spatter from entering the sensor module 1.
In order to prevent the dust and spatter generated during welding from entering the sensor module 1, the present embodiment is further provided with a spatter-proof partition plate, i.e., a cover glass plate 16, at a side close to the welding gun. The mounting position of the cover glass plate 16 is shown in fig. 1.
As an alternative embodiment, the method for calculating the height of the welding gun comprises:
calculating the actual physical length of each pixel point
Figure 480082DEST_PATH_IMAGE030
Figure 165142DEST_PATH_IMAGE031
(1)
In the formula (I), the compound is shown in the specification,
Figure 1642DEST_PATH_IMAGE032
the focal point height of the CCD camera 13, namely the vertical distance from the workpiece 5 is
Figure 682022DEST_PATH_IMAGE033
The actual length corresponding to the width of the image,
Figure 827832DEST_PATH_IMAGE034
is the number of pixel points of the image width,
Figure 216832DEST_PATH_IMAGE035
the angle of view of the CCD camera 13;
distance between two laser lines on workpiece 5
Figure 230924DEST_PATH_IMAGE036
Comprises the following steps:
Figure 172336DEST_PATH_IMAGE037
(2)
in the formula (I), the compound is shown in the specification,
Figure 974201DEST_PATH_IMAGE038
the distance between two laser stripes on the image is shown, and the unit is the number of pixel points;
Figure 227327DEST_PATH_IMAGE036
by height difference
Figure 920477DEST_PATH_IMAGE039
Expressed as:
Figure 204477DEST_PATH_IMAGE040
(3)
in the formula (I), the compound is shown in the specification,
Figure 816724DEST_PATH_IMAGE041
Figure 698093DEST_PATH_IMAGE042
the angles between the first reflective mirror 14 and the second reflective mirror 15 and the vertical direction are respectively,
Figure 414507DEST_PATH_IMAGE041
=
Figure 189565DEST_PATH_IMAGE042
Figure 848080DEST_PATH_IMAGE043
Figure 698968DEST_PATH_IMAGE044
the first reflector 14 and the second reflector 15 are installed at the same height and are symmetrical about the symmetry axis of the CCD camera 13 for the distance between the intersection point of the laser reflected by the first reflector 14 and the second reflector 15 and the focus of the CCD camera 13;
obtained by the formulas (2) and (3):
Figure 592974DEST_PATH_IMAGE045
(4)
Figure 832326DEST_PATH_IMAGE046
(5)
height of welding gunHComprises the following steps:
Figure 678053DEST_PATH_IMAGE047
(6)
in the formula (I), the compound is shown in the specification,
Figure 658647DEST_PATH_IMAGE048
is the height difference between the welding gun and the focal point of the CCD camera 13.
The embodiment provides a technical scheme for calculating the height of the welding gun. Because the welding gun and the sensor module 1 are different by a fixed distance when being installed
Figure 700553DEST_PATH_IMAGE048
The calculation of the height of the welding gun can therefore be converted into a calculation of the height of the sensor module 1. The present embodiment calculates the height of the sensor module 1 based on the geometric positional relationship of the first laser 11, the second laser 12, the CCD camera 13, the first reflecting mirror 14, and the second reflecting mirror 15, as shown in fig. 3. The specific calculation model is shown in the above formulas (1) - (6), and the detailed explanation is not provided here.
As an alternative embodiment, the method for calculating the weld joint tracking deviation includes:
calculating the ordinate of the welding gun in the image:
Figure 825371DEST_PATH_IMAGE049
(7)
in the formula (I), the compound is shown in the specification,
Figure 825688DEST_PATH_IMAGE050
the horizontal distance of the welding gun from the center of the sensor module 1,
Figure 27999DEST_PATH_IMAGE051
calculated by equation (1), the image size is
Figure 421065DEST_PATH_IMAGE052
Pixel points;
fitting equation according to weld line straight line
Figure 759643DEST_PATH_IMAGE053
Calculating the abscissa of the welding gun
Figure 196440DEST_PATH_IMAGE054
Figure 243637DEST_PATH_IMAGE055
(8)
Calculating the deviation between the welding gun and the welding seamΔ
Figure 17558DEST_PATH_IMAGE056
(9)
In the formula (I), the compound is shown in the specification,
Figure 351588DEST_PATH_IMAGE057
the abscissa of the weld.
The embodiment provides a technical scheme for calculating the weld joint tracking deviation. In order to automate the welding process and improve the quality of the weld seam, the welding torch must be controlled in real time to be positioned directly above the weld seam, which requires that the deviation between the welding torch and the weld seam be acquired in real time. In the device according to the present embodiment, the sensor module 1 is mounted in front of the welding gun (in the welding direction) at a fixed value
Figure 444440DEST_PATH_IMAGE050
Therefore, the position of the welding gun can be predicted according to the connecting line of the two laser stripe groove vertexes. Compared with the existing weld joint sensor module 1 with a single laser, the dual laser sensing mode of the embodiment can reduce the lead error. The deviation model between the welding gun and the welding seam is shown in figure 4, the position of the welding gun is shown as a point C in the figure, and the deviation model is calibrated before weldingX C . The image is sized to be nxm pixels, and theoretically the welding gun should be in line with the weld if a single one is usedIn the laser, the theoretical position of the torch is B, D points in the figure, and in the twin laser of the present embodiment, the theoretical position of the torch is a point a in the figure. It is clear that the accuracy of the dual laser scheme is better than the accuracy of the single laser scheme, which can effectively reduce the pre-error of the sensor module 1. The specific calculation model of the weld joint deviation is shown in the above formulas (7) - (9), and detailed explanation is not provided here.
As an alternative embodiment, the CCD camera 13 is a WAT-704R type industrial camera.
This embodiment gives a specific model of the CCD camera 13. In this embodiment, the CCD camera 13 is an industrial camera of the model WAT-704R. The camera can meet the requirements of miniaturization and light weight. The main technical parameters are as follows: the focal length is 3.8mm and is adjustable; viewing angle range of (V x H) 510*400(ii) a The effective pixel is (V × H) 768 × 554.
As an alternative embodiment, the image acquisition card 3 is a DH-CG410 type acquisition card.
This embodiment shows a specific model of the image capture card 3. In this embodiment, the image acquisition card 3 is a DH-CG410 type image acquisition card. The main performance characteristics are as follows:
standard PAL, NTSC color/black and white video signals;
maximum resolution of the image: 768 × 576 × 32bit (pal), 640 × 480 × 32bit (ntsc);
flexibly acquiring images: the method can be carried out in various modes such as single field, single frame, continuous field, continuous frame, several fields or several frames at intervals and the like;
the system supports a plurality of image display and storage formats of YUV4:2, RGB32, RGB24, RGB15, RGB16 and Y8 Bit;
the brightness, hue, color saturation, contrast of the image can be programmably set.
Fig. 5 is a flowchart of a method for extracting weld features by using the device according to an embodiment of the present invention, where the method includes the following steps:
step 101, irradiating laser signals to the surface of a workpiece 5 by a first laser 11 and a second laser 12;
step 102, shooting an image containing double laser stripes on the surface of the workpiece 5 by the CCD camera 13 in real time;
103, the main control unit 2 acquires the image in real time through the image acquisition card 3, and the height of the welding gun and the tracking deviation of the welding seam are obtained through welding seam feature extraction;
and 104, the robot controller 4 receives the deviation signal sent by the main control unit 2 and controls the welding robot to enable the welding gun to be aligned with the welding seam.
Compared with the technical solution of the embodiment of the apparatus shown in fig. 1, the method of this embodiment has similar implementation principle and technical effect, and is not described herein again.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A weld feature extraction device, comprising: the main control unit is connected with the robot controller and the image acquisition card, and also comprises a sensor module which mainly consists of a first laser, a second laser and a CCD camera and is arranged at the front end of the welding gun; the first laser and the second laser are used for irradiating laser signals to the workpiece; the CCD camera is used for acquiring an image signal containing double laser stripes on the workpiece, and the image signal is converted into a digital signal by an image acquisition card and then is sent to the main control unit; the main control unit is used for obtaining the height of the welding gun and the tracking deviation of the welding seam through welding seam characteristic extraction, sending a deviation signal to the robot controller and controlling the welding gun on the welding robot to be aligned to the welding seam.
2. The weld joint feature extraction device according to claim 1, wherein the weld joint feature extraction includes image preprocessing, double-laser stripe segmentation and curve fitting, and tracking deviation calculation.
3. The weld joint feature extraction device according to claim 1, wherein the sensor module further comprises a first reflective mirror and a second reflective mirror which are obliquely arranged right below the first laser and the second laser respectively, and are used for reflecting laser signals emitted by the first laser and the second laser and irradiating the laser signals onto a workpiece.
4. The weld bead feature extraction apparatus according to claim 1, wherein the sensor module further includes a filter and a polarizing plate installed in front of a lens of the CCD camera.
5. The weld bead feature extraction apparatus according to claim 1, wherein the sensor module further includes a cover glass plate mounted on a side near the welding gun for preventing dust and spatter from entering the sensor module.
6. The weld feature extraction device according to claim 3, wherein the calculation method of the welding gun height includes:
calculating the actual physical length of each pixel point
Figure DEST_PATH_IMAGE002
Figure DEST_PATH_IMAGE004
(1)
In the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE006
the focal height of the CCD camera, i.e. the vertical distance from the workpiece is
Figure DEST_PATH_IMAGE008
The actual length corresponding to the width of the image,
Figure DEST_PATH_IMAGE010
is a pixel of image widthThe number of points is counted,
Figure DEST_PATH_IMAGE012
the angle of view of the CCD camera;
distance between two laser lines on workpiece
Figure DEST_PATH_IMAGE014
Comprises the following steps:
Figure DEST_PATH_IMAGE016
(2)
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE018
the distance between two laser stripes on the image is represented by the number of pixel points;
Figure 247902DEST_PATH_IMAGE014
by height difference
Figure DEST_PATH_IMAGE020
Expressed as:
Figure DEST_PATH_IMAGE022
(3)
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE024
Figure DEST_PATH_IMAGE026
respectively are included angles between the first reflective mirror and the second reflective mirror and the vertical direction,
Figure 448857DEST_PATH_IMAGE024
=
Figure 310240DEST_PATH_IMAGE026
Figure DEST_PATH_IMAGE028
Figure 64439DEST_PATH_IMAGE030
the distance between the intersection point of the laser reflected by the first reflector and the second reflector and the focus of the CCD camera is obtained, and the first reflector and the second reflector are installed at the same height and are symmetrical about the symmetry axis of the CCD camera;
obtained by the formulas (2) and (3):
Figure 457636DEST_PATH_IMAGE032
(4)
Figure 500547DEST_PATH_IMAGE034
(5)
height of welding gunHComprises the following steps:
Figure 667086DEST_PATH_IMAGE036
(6)
in the formula (I), the compound is shown in the specification,
Figure 440571DEST_PATH_IMAGE038
is the height difference between the welding gun and the focus of the CCD camera.
7. The weld feature extraction device according to claim 6, wherein the calculation method of the weld tracking deviation includes:
calculating the ordinate of the welding gun in the image:
Figure 503205DEST_PATH_IMAGE040
(7)
in the formula (I), the compound is shown in the specification,
Figure 3718DEST_PATH_IMAGE042
the horizontal distance of the welding gun from the center of the sensor module,
Figure 301845DEST_PATH_IMAGE044
calculated by equation (1), the image size is
Figure 201274DEST_PATH_IMAGE046
Pixel points;
fitting equation according to weld line straight line
Figure 559443DEST_PATH_IMAGE048
Calculating the abscissa of the welding gun
Figure 921154DEST_PATH_IMAGE050
Figure 55595DEST_PATH_IMAGE052
(8)
Calculating the deviation between the welding gun and the welding seamΔ
Figure 451941DEST_PATH_IMAGE054
(9)
In the formula (I), the compound is shown in the specification,
Figure 954247DEST_PATH_IMAGE056
the abscissa of the weld.
8. The weld feature extraction device according to claim 1, wherein the CCD camera is a WAT-704R type industrial camera.
9. The weld joint feature extraction device according to claim 1, wherein the image acquisition card is a DH-CG410 type acquisition card.
10. A method for weld feature extraction using the apparatus of claim 1, comprising the steps of:
the first laser and the second laser irradiate laser signals to the surface of the workpiece;
the CCD camera shoots an image containing double laser stripes on the surface of the workpiece in real time;
the main control unit acquires the image in real time through an image acquisition card, and the height of the welding gun and the tracking deviation of the welding seam are obtained through welding seam characteristic extraction;
and the robot controller receives the deviation signal sent by the main control unit and controls the welding robot to enable the welding gun to be aligned with the welding seam.
CN202210544632.9A 2022-05-19 2022-05-19 Weld joint feature extraction device and method Active CN114643448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210544632.9A CN114643448B (en) 2022-05-19 2022-05-19 Weld joint feature extraction device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210544632.9A CN114643448B (en) 2022-05-19 2022-05-19 Weld joint feature extraction device and method

Publications (2)

Publication Number Publication Date
CN114643448A true CN114643448A (en) 2022-06-21
CN114643448B CN114643448B (en) 2022-09-27

Family

ID=81996582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210544632.9A Active CN114643448B (en) 2022-05-19 2022-05-19 Weld joint feature extraction device and method

Country Status (1)

Country Link
CN (1) CN114643448B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115283780A (en) * 2022-08-11 2022-11-04 山东水总有限公司 Welding seam identification and welding gun positioning construction process

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003154456A (en) * 2001-11-21 2003-05-27 Fuji Electric Co Ltd Automatic welding equipment
CN102528231A (en) * 2011-12-30 2012-07-04 南昌大学 Double-line cross laser sensing method for seam tracking
CN103203526A (en) * 2012-01-16 2013-07-17 成都熊谷加世电器有限公司 Laser visual tracking system
CN104668738A (en) * 2015-02-02 2015-06-03 南昌大学 Cross type double-line laser vision sensing welding gun height real-time identification system and method
CN104741778A (en) * 2015-03-30 2015-07-01 中国石油天然气集团公司 Welding seam tracking and controlling system for combined welding
CN106141426A (en) * 2015-04-28 2016-11-23 大族激光科技产业集团股份有限公司 A kind of optical imaging system followed the trail of for laser welded seam
CN109676243A (en) * 2019-01-21 2019-04-26 苏州实创德光电科技有限公司 Weld distinguishing and tracking system and method based on dual laser structure light
CN110064819A (en) * 2019-05-14 2019-07-30 苏州实创德光电科技有限公司 The extraction of cylinder longitudinal seam characteristic area, welding seam tracking method and system based on structure light
CN111695575A (en) * 2020-06-06 2020-09-22 南京理工大学 Weld image feature point extraction method based on improved mean filtering method
CN112296515A (en) * 2019-08-01 2021-02-02 通用汽车环球科技运作有限责任公司 System and method for multi-tasking laser welding
CN113798634A (en) * 2021-08-18 2021-12-17 中国科学院自动化研究所 Method, system and equipment for teaching spatial circular weld and tracking weld

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003154456A (en) * 2001-11-21 2003-05-27 Fuji Electric Co Ltd Automatic welding equipment
CN102528231A (en) * 2011-12-30 2012-07-04 南昌大学 Double-line cross laser sensing method for seam tracking
CN103203526A (en) * 2012-01-16 2013-07-17 成都熊谷加世电器有限公司 Laser visual tracking system
CN104668738A (en) * 2015-02-02 2015-06-03 南昌大学 Cross type double-line laser vision sensing welding gun height real-time identification system and method
CN104741778A (en) * 2015-03-30 2015-07-01 中国石油天然气集团公司 Welding seam tracking and controlling system for combined welding
CN106141426A (en) * 2015-04-28 2016-11-23 大族激光科技产业集团股份有限公司 A kind of optical imaging system followed the trail of for laser welded seam
CN109676243A (en) * 2019-01-21 2019-04-26 苏州实创德光电科技有限公司 Weld distinguishing and tracking system and method based on dual laser structure light
CN110064819A (en) * 2019-05-14 2019-07-30 苏州实创德光电科技有限公司 The extraction of cylinder longitudinal seam characteristic area, welding seam tracking method and system based on structure light
CN112296515A (en) * 2019-08-01 2021-02-02 通用汽车环球科技运作有限责任公司 System and method for multi-tasking laser welding
CN111695575A (en) * 2020-06-06 2020-09-22 南京理工大学 Weld image feature point extraction method based on improved mean filtering method
CN113798634A (en) * 2021-08-18 2021-12-17 中国科学院自动化研究所 Method, system and equipment for teaching spatial circular weld and tracking weld

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
赵滨: "双线激光视觉传感焊缝跟踪图像处理", 《双线激光视觉传感焊缝跟踪图像处理 *
高向东等: "熔池图像质心算法的焊缝位置测量模型", 《焊接学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115283780A (en) * 2022-08-11 2022-11-04 山东水总有限公司 Welding seam identification and welding gun positioning construction process
CN115283780B (en) * 2022-08-11 2024-04-19 山东水总有限公司 Weld joint identification and welding gun positioning construction process

Also Published As

Publication number Publication date
CN114643448B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN210046133U (en) Welding seam visual tracking system based on laser structured light
CN109226967B (en) Active laser vision steady weld joint tracking system for laser-arc hybrid welding
CN109483017A (en) A kind of seam tracking system and its optimization method based on image recognition
WO2022188482A1 (en) Active and passive vision combination-based welding deviation detection system and detection method
CN108127217B (en) Welding device and method for automatic guided welding of end face weld joint of spiral plate type heat exchanger
CN114643448B (en) Weld joint feature extraction device and method
CN108032011A (en) Initial point guiding device and method are stitched based on laser structure flush weld
CN203380508U (en) Laser processing system with machine vision
CN107843202B (en) Gap and face difference vision measurement device and method matched with robot
CN114140439A (en) Laser welding seam feature point identification method and device based on deep learning
CN105414710A (en) Active and passive visual welding pool composited sensing device and sensing method realized through same
CN113525631A (en) Underwater terminal docking system and method based on optical visual guidance
CN112304951A (en) Visual detection device and method for high-reflection welding seam through binocular single-line light path
CN108620714B (en) Welding deviation detection system based on GMAW (gas metal arc welding) molten pool profile characteristics and detection method thereof
CN107790853A (en) Ship's ladder robot broken line angle welding intelligent identification device and method
CN113894386A (en) Dual-sensing dual-wavelength integrated weld joint tracking sensor and deviation rectifying method
Ye et al. Weld seam tracking based on laser imaging binary image preprocessing
CN206010106U (en) Ship's ladder robot broken line angle welding intelligent identification device
CN206952357U (en) Weld seam tracking sensor
CN1511676A (en) Laser structure light vision sensor
CN112894133B (en) Laser welding system and welding spot position extraction method
CN114909993A (en) High-precision laser projection visual three-dimensional measurement system
CN114523236A (en) Intelligent automatic detection platform based on machine vision
CN109612581B (en) Diffuse reflection imaging strong laser parameter measuring device with camera protection function
CN209902467U (en) Multifunctional visual positioning laser main beam system

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231023

Address after: 430223 plant 1 of Wuhan Meguiar Electronics Co., Ltd., No. 1, No. 2 Road, Dongyi Industrial Park, Donghu Development Zone, Wuhan City, Hubei Province

Patentee after: XIANFUSI TECHNOLOGY (WUHAN) CO.,LTD.

Patentee after: WUHAN DONGFANG JUNCHI PRECISION MANUFACTURING CO.,LTD.

Address before: 430223 plant 1 of Wuhan Meguiar Electronics Co., Ltd., No. 1, No. 2 Road, Dongyi Industrial Park, Donghu Development Zone, Wuhan City, Hubei Province

Patentee before: XIANFUSI TECHNOLOGY (WUHAN) CO.,LTD.