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

Weld joint feature extraction device and method Download PDF

Info

Publication number
CN114643448B
CN114643448B CN202210544632.9A CN202210544632A CN114643448B CN 114643448 B CN114643448 B CN 114643448B CN 202210544632 A CN202210544632 A CN 202210544632A CN 114643448 B CN114643448 B CN 114643448B
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.)
Active
Application number
CN202210544632.9A
Other languages
Chinese (zh)
Other versions
CN114643448A (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 the 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 weld seam tracking is an important means for realizing automatic welding, and can improve the quality of products. 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 angle of view 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) and having an image size of
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 height calculation of the welding gun;
FIG. 4 is a schematic view of a weld bead bias 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 characteristic extraction, sending a deviation signal to the robot controller 4 and controlling the welding gun on the welding robot to be aligned with 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 an existing single laser to provide two lasers, i.e., the first laser 11 and the second laser 12. 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, and is mainly used for completing data processing tasks and coordinating 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 for controlling the robot, which is provided by a manufacturer, and is used in cooperation with the welding robot. 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. The edge extraction and deburring are realized by adopting a Canny operator to obtain the boundary of the image. 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 windowed image by adopting a least square method, and then solving the characteristic points by intersecting the fitted straight lines. 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 alternative 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 installed obliquely just 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 the following steps:
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 represented by 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. Since the welding torch and the sensor module 1 are mountedThe waiting time differs by a fixed distance
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, the welding torch must be controlled in real time to be positioned directly above the weld, which requires that the deviation between the welding torch and the weld 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 N × M pixels, the welding torch should be theoretically aligned with the weld, if a single laser is used, the theoretical positions of the welding torches are B, D points in the figure, and if the dual laser of the present embodiment is used, the theoretical positions of the welding torches are a point 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, a CCD camera13 industrial camera with model WAT-704R is selected. 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) 51 0 *40 0 (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 capture card 3 is a DH-CG410 capture 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 and contrast of the image can be set programmably.
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:
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, acquiring the image in real time by the main control unit 2 through the image acquisition card 3, and extracting the height of the welding gun and the tracking deviation of the welding seam through the characteristic of the welding seam;
and 104, receiving the deviation signal sent by the main control unit 2 by the robot controller 4, and controlling the welding robot to enable the welding gun to align to 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 (7)

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 with the welding seam;
the sensor module also comprises a first reflector and a second reflector which are obliquely arranged under 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;
the method for calculating the height of the welding gun comprises the following steps:
calculating the actual physical length k corresponding to each pixel point:
Figure FDA0003747661150000011
in the formula, L 1 The focal height of the CCD camera, namely the vertical distance from the workpiece is H 1 Actual length, N, corresponding to the image width 1 The number of pixel points is the width of the image, and beta is the field angle of the CCD camera;
two laser lines on the workpieceA distance l of 1 Comprises the following steps:
Figure FDA0003747661150000012
in the formula, y 1 The distance between two laser stripes on the image is shown, and the unit is the number of pixel points;
l 1 expressed as height difference Δ H:
l 1 =△H(tan2α 1 +tan2α 2 ) (3)
in the formula, alpha 1 、α 2 Respectively the included angles alpha between the first reflector and the second reflector and the vertical direction 1 =α 2 ,△H=H 1 -H 0 ,H 0 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 FDA0003747661150000021
Figure FDA0003747661150000022
the height H of the welding gun is as follows:
H=H 0 +△H-△h (6)
in the formula, delta h is the height difference between a welding gun and the focus of the CCD camera;
the method for calculating the welding seam tracking deviation comprises the following steps:
calculating the ordinate of the welding gun in the image:
Y h =M/2+△L/k (7)
in the formula, Delta L is the horizontal distance between the welding gun and the center of the sensor module, k is calculated by the formula (1), and the image size is M multiplied by N pixel points;
calculating the abscissa X of the welding gun according to the linear fitting equation y of the welding seam as ax + b h
X h =(Y h -b)/a (8)
Calculating the deviation delta between the welding gun and the welding seam:
△=k(X h -X C ) (9)
in the formula, X C The abscissa of the weld.
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 feature extraction device according to claim 1, wherein the sensor module further comprises a filter and a polarizer mounted in front of a lens of the CCD camera.
4. 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.
5. The weld feature extraction device according to claim 1, wherein the CCD camera is a WAT-704R type industrial camera.
6. The weld joint feature extraction device according to claim 1, wherein the image acquisition card is a DH-CG410 type acquisition card.
7. 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 CN114643448A (en) 2022-06-21
CN114643448B true 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)

Families Citing this family (1)

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

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3937814B2 (en) * 2001-11-21 2007-06-27 富士電機ホールディングス株式会社 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
CN104668738B (en) * 2015-02-02 2017-01-11 南昌大学 Cross type double-line laser vision sensing welding gun height real-time identification system and method
CN104741778B (en) * 2015-03-30 2016-08-17 中国石油天然气集团公司 A kind of Combined Welding Weld Seam Tracking Control system
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
CN110064819B (en) * 2019-05-14 2021-04-30 苏州实创德光电科技有限公司 Cylindrical surface longitudinal weld characteristic region extraction and weld tracking method and system based on structured light
US20210031297A1 (en) * 2019-08-01 2021-02-04 GM Global Technology Operations LLC System and method for multi-task laser welding
CN111695575B (en) * 2020-06-06 2022-10-28 南京理工大学 Weld image feature point extraction method based on improved mean filtering method
CN113798634B (en) * 2021-08-18 2022-09-06 中国科学院自动化研究所 Method, system and equipment for teaching spatial circular weld and tracking weld

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
双线激光视觉传感焊缝跟踪图像处理;赵滨;《双线激光视觉传感焊缝跟踪图像处理》;中国优秀硕士学位论文全文数据库 信息科技辑;20170315;第33-36页 *

Also Published As

Publication number Publication date
CN114643448A (en) 2022-06-21

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
WO2022188482A1 (en) Active and passive vision combination-based welding deviation detection system and detection method
CN108032011B (en) Initial point guiding device and method are stitched based on laser structure flush weld
CN109483017A (en) A kind of seam tracking system and its optimization method based on image recognition
CN201357275Y (en) Device for tracking seams by adopting manner of multi-structured light and binocular complex vision
CN109604830A (en) A kind of accurate seam tracking system of active laser vision guide robotic laser welding
CN114643448B (en) Weld joint feature extraction device and method
CN108127217B (en) Welding device and method for automatic guided welding of end face weld joint of spiral plate type heat exchanger
CN108344693B (en) Automatic welding-oriented visual measurement method for misalignment of sheet welding seam
CN203380508U (en) Laser processing system with machine vision
CN105414710A (en) Active and passive visual welding pool composited sensing device and sensing method realized through same
CN106378514A (en) Stainless steel non-uniform tiny multi-weld-joint visual inspection system and method based on machine vision
CN109834373A (en) A kind of view-based access control model and the automation submerged arc soldering equipment of laser tracking
CN113894386A (en) Dual-sensing dual-wavelength integrated weld joint tracking sensor and deviation rectifying method
CN112304951A (en) Visual detection device and method for high-reflection welding seam through binocular single-line light path
CN107790853A (en) Ship's ladder robot broken line angle welding intelligent identification device and method
CN109671059A (en) A kind of battery case image processing method and system based on OpenCV
CN112950660A (en) Method for positively and negatively identifying backlight module of mobile phone
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
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

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

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.

TR01 Transfer of patent right