Automatic welding method based on visual positioning and welding robot

By classifying and labeling workpieces and autonomously planning welding paths, combined with modular fume extraction devices, the problems of low efficiency and visual positioning pollution in welding robots have been solved, achieving efficient and precise welding and convenient fume treatment.

CN118989775APending Publication Date: 2024-11-22刘囡南
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411315957.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Welding robots need to frequently plan welding paths when processing the same workpieces, which affects efficiency; visual positioning devices are easily contaminated by soot, resulting in blurred images; existing smoke extraction devices are bulky and inconvenient to install, and cannot adapt to different scenarios.

Method used

Workpieces are classified and identified using a visual positioning device, welding paths are preset, and paths are autonomously planned through image processing; the fumigation device is designed to be detachable and modular, including suction components, filters, and suction pipes, to adapt to different scenarios.

Benefits of technology

It improves welding efficiency and path accuracy, reduces visual positioning errors, lowers robot load, and simplifies the installation and maintenance of the fumigation device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118989775A_ABST
    Figure CN118989775A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robots, provides an automatic welding method based on visual positioning and further provides a welding robot which comprises a mechanical arm, a welding gun, a portal frame, a visual positioning device and a smoke suction device. The smoke suction device comprises a connecting part and an adsorption part, the connecting part is connected with the mechanical arm, and the adsorption part comprises a mounting cylinder, and an air suction piece, a filter piece and an air suction pipe which are arranged in the mounting cylinder; the air suction pipe is arranged on one side of the mounting cylinder, and the filter part is arranged in the mounting cylinder and abuts against one end of the air suction pipe; the air suction part is matched with the air suction pipe through the air suction part to press the filter part in the mounting cylinder; the method has the beneficial effects that the welding path is preset, structures such as welding seams do not need to be recognized, recognition procedures are saved, and the welding recognition efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot technology, and in particular to an automatic welding method and a welding robot based on visual positioning. Background Art

[0002] With the continuous adjustment, transformation and upgrading of the industrial structure, the intelligent equipment industry represented by robots has developed rapidly and has become an important benchmark for scientific and technological innovation in the new era. Welding robots, as new equipment in the welding industry, replace manual welding work. Visual positioning, as a more important technology in industrial robots, enables welding robots to autonomously find workpieces for welding.

[0003] CN112222692B discloses a positioning device for a welding robot based on a visual system, comprising a welding head, a support plate, a cone plate, and an outer shield; a connecting block is fixedly installed at the middle position of the welding head, and a threaded hole and a guide hole are respectively provided on the connecting block, a threaded rod is meshed and inserted through the threaded hole, a guide rod is movably inserted through the guide hole, and both ends of the threaded rod and the guide rod are respectively connected to a stand, one end of the threaded rod is also transmission-connected to a driving motor, one end of the support plate is fixedly connected to the connecting block, and the bottom end of the support plate is connected through Two groups of support rods are provided, and the support rods are respectively fixedly connected to the outside of the support sleeve, and the support sleeve is fixedly clamped on the front end of the welding head. An inner hole is also provided in the middle of the support plate, and a vertical cylinder is provided at the top of the inner hole. Three groups of visual positioning devices are connected to the outer wall of the vertical cylinder by bolts, and a suction fan is also inlaid on the inner top of the vertical cylinder. A clamping ring is also provided on the support plate, and the inner diameter of the clamping ring is larger than the outer diameter of the vertical cylinder. The inner side of the outer shield is connected to the top of the vertical cylinder, the top hole is provided at the top of the outer shield and connected to the vertical cylinder, and the cone plate is sealed and connected to the bottom side end of the support plate by bolts.

[0004] In the prior art, a welding robot needs to perform complex identification and planning of welding paths for each workpiece it processes during operation. In particular, when welding the same workpiece for a long time, the welding route needs to be replanned for each welding, which increases the amount of calculation in the system and affects the welding efficiency. At the same time, in order to prevent welding ash from affecting the visual positioning device, causing the image collected by the visual positioning device to be blurred and polluting the working environment, current welding robots currently have a fixed smoking device to absorb the ash. However, the current smoking device is large in size, which increases the load on the robot, is inconvenient to install and disassemble, and cannot be properly adjusted according to different usage scenarios. Summary of the invention

[0005] In the prior art, a welding robot needs to perform complex identification and planning of welding paths for each workpiece it processes during operation. In particular, when welding the same workpiece for a long time, the welding route needs to be replanned for each welding, which increases the amount of calculation in the system and affects the welding efficiency. At the same time, in order to prevent welding ash from affecting the visual positioning device, causing the image collected by the visual positioning device to be blurred and polluting the working environment, current welding robots currently have a fixed smoking device to absorb the ash. However, the current smoking device is large in size, which increases the load on the robot, is inconvenient to install and disassemble, and cannot be properly adjusted according to different usage scenarios.

[0006] In view of this, the present invention aims to propose an automated welding method based on visual positioning. In the present invention, the automated welding method based on visual positioning includes:

[0007] Step S1, installing the visual positioning device on the welding gun;

[0008] Step S2, dividing the workpieces to be welded into conventional workpieces and unconventional workpieces, performing first marking on the conventional workpieces to form first marked workpieces, and then performing second marking on different first marked workpieces one by one to form second marked workpieces;

[0009] Step S3, pre-planning paths for the second marked workpieces one by one to form a plurality of preset welding paths respectively matching the second marked workpieces;

[0010] Step S4, moving the workpiece to be welded to the welding area or moving the welding gun to the workpiece to be welded, and determining whether the workpiece to be welded is the first identified workpiece for first identification;

[0011] Step S5, if the welding workpiece is the first identified workpiece, continue to identify the second identification in the first identified workpiece, determine the type of the second identified workpiece, and the welding robot selects the preset welding path corresponding to the second identified workpiece to perform welding;

[0012] Step S6: If the welding workpiece is not the first identified workpiece, the welding robot autonomously plans a welding path to perform welding.

[0013] Furthermore, the autonomously planning the welding path includes:

[0014] Acquire two images captured by a visual positioning device, wherein the two images are captured from the same position and at different time points, and perform image processing on the two images to obtain two processed images;

[0015] Dividing the two images, using one as a detection image and the other as a comparison image, and segmenting both the detection image and the comparison image to form a plurality of blocks;

[0016] Comparing the multiple blocks of the detection image with the blocks at the same position of the comparison image one by one, calculating the grayscale difference of each block and forming a grayscale difference image for analysis, obtaining similar blocks in the comparison image according to the grayscale difference image, and obtaining enhancement factors according to the grayscale distribution information of the similar blocks;

[0017] At the same time, an average difference value is calculated according to the grayscale difference image, and the average difference value is compared with a preset difference threshold;

[0018] If the average difference value is less than the difference threshold, the grayscale distribution and texture information of the detection image are obtained, and the detection image is enhanced according to the grayscale distribution, texture information and the enhancement factor of the detection image to obtain an enhanced image;

[0019] Positioning is performed and a welding path is planned based on the enhanced image.

[0020] Furthermore, the image processing includes image enhancement, image filtering, image segmentation, image grayscale processing, edge simplification of the image using an edge detection algorithm, and feature elimination processing of the image.

[0021] The present invention also discloses a welding robot. In the present invention, the welding robot comprises a mechanical arm, a welding gun, a gantry, a visual positioning device and a smoking device;

[0022] The gantry is provided with a slide rail, one end of the mechanical arm is slidably connected to the gantry, and the other end is connected to the welding gun, and the visual positioning device is installed at the welding gun;

[0023] The smoking device is detachably mounted on a side of the mechanical arm close to the welding gun;

[0024] The smoking device comprises a connecting part and an adsorption part, wherein the connecting part is connected to the mechanical arm, and the adsorption part comprises a mounting tube and an air suction member, a filter member and an air suction pipe arranged inside the mounting tube;

[0025] The suction pipe at least includes a telescopic hose, and one end of the suction pipe is connected to one end of the mounting tube, and the other end can extend to the welding position of the welding gun; the filter is arranged inside the mounting tube and abuts against one end of the suction pipe; the suction member is inserted into the mounting tube from one end of the mounting tube away from the suction pipe;

[0026] The air suction member abuts against the filter member, and the air suction member cooperates with the air suction pipe to press the filter member into the installation tube.

[0027] Furthermore, the air suction pipe comprises a telescopic hose and a connecting frame;

[0028] One end of the connecting frame is inserted into the mounting tube and is threadedly connected to the mounting tube. One end of the telescopic hose is fixed on the connecting frame, and the telescopic hose can be retracted into the interior of the connecting frame.

[0029] Furthermore, the filter element comprises a filter cartridge and a filter core, the filter cartridge is provided as a cylindrical structure, and the filter cartridge is slidably connected to the inner wall of the mounting cartridge;

[0030] The filter core is slidably arranged inside the filter cartridge, a step groove is arranged on one side of the filter cartridge close to the air suction member, and the side of the filter core is embedded in the step groove; the air suction member contacts the filter core and tightly fixes the filter core in the step groove;

[0031] The side of the filter core facing the air suction pipe is arranged in a wave shape.

[0032] Further, the air suction member includes an air suction cylinder and a fan installed in the air suction cylinder;

[0033] An external thread is arranged on the outer wall of one end of the suction cylinder, an internal thread is arranged on the inner wall of the mounting cylinder, the suction cylinder is threadedly connected with the mounting cylinder, and one end of the suction cylinder passes through the mounting cylinder.

[0034] Furthermore, the telescopic hose is connected with an adsorption cover, the adsorption cover is detachably connected to the telescopic hose, and the adsorption cover is provided with a suction tube facing the welding position.

[0035] Furthermore, a first magnetic attraction portion is provided on the adsorption cover, and a second magnetic attraction portion which cooperates with the first magnetic attraction portion for adsorption is provided on one side of the welding gun.

[0036] Further, the connecting portion includes a fixing frame and a locking bolt, the fixing frame is connected to the mounting tube, and a bolt hole for the locking bolt to pass through is opened on the fixing frame;

[0037] The mechanical arm is provided with a limiting groove, and the fixing frame is sleeved on the outside of the mechanical arm and is located in the limiting groove.

[0038] The automated welding method based on visual positioning disclosed in the present invention classifies and identifies the workpieces to be welded, and pre-sets a preset welding path. When the workpiece to be welded is identified as a second-identified workpiece, the preset welding path corresponding to the second-identified workpiece can be directly started without the need to identify structures such as welds, thereby saving identification procedures and improving welding identification efficiency. At the same time, an autonomously planned welding path based on image recognition is set to meet the welding requirements of different workpieces.

[0039] In addition, the welding robot disclosed in the present invention is provided with a smoking device, which is provided as an integrated suction piece, a filter piece and a suction pipe. The suction piece, the filter piece and the suction pipe are installed inside the installation tube as a whole, and are all provided with a detachable connection, thereby reducing the overall volume of the smoking device, occupying a small space, and reducing the load on the robot arm when working. At the same time, the installation and maintenance are convenient, and the setting of the telescopic hose and the adsorption hood can be adjusted and used according to different usage scenarios during use to expand the scope of use.

[0040] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0042] Figure 1 is a flow chart of the welding method of the present invention;

[0043] Figure 2 A schematic diagram of the structure of a welding robot in one embodiment of the present invention;

[0044] Figure 3 A schematic side view of a welding robot in one embodiment of the present invention;

[0045] Figure 4 This is a schematic diagram of the structure of a smoking device in one embodiment of the present invention;

[0046] Figure 5 A schematic top view of a smoking device in one embodiment of the present invention;

[0047] Figure 6 It is a cross-sectional schematic diagram of a mounting cylinder in one embodiment of the present invention;

[0048] Figure 7 A schematic diagram of the structure of an air suction pipe in one embodiment of the present invention;

[0049] Figure 8 A schematic diagram of a filter element in one embodiment of the present invention;

[0050] Fig. 9 A schematic cross-sectional view of a filter element in one embodiment of the present invention;

[0051] Fig.10 A schematic diagram of the structure of an air suction member in one embodiment of the present invention;

[0052] Fig.11 A schematic diagram of the connection of an adsorption cover in one embodiment of the present invention;

[0053] Fig.12 It is a schematic structural diagram of another adsorption hood in one embodiment of the present invention.

[0054] Description of reference numerals:

[0055] 1. Gantry; 2. Slide rail; 3. Robotic arm; 4. Welding gun; 5. Mounting tube; 6. Suction pipe; 61. Telescopic hose; 62. Connecting frame; 63. Adsorption cover; 64. First magnetic suction part; 7. Filter element; 71. Filter tube; 72. Filter element; 73. Step groove; 8. Suction element; 81. Suction tube; 82. Fan; 9. Connecting part; 91. Fixing frame; 92. Locking bolt; 93. Bolt hole. DETAILED DESCRIPTION

[0056] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0057] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the present invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices; "fixed" or "fixed connection" generally refers to common mechanical connection methods, such as threaded connection, welding or bonding, etc.

[0059] In the prior art, a welding robot needs to perform complex identification and planning of welding paths for each workpiece it processes during operation. In particular, when welding the same workpiece for a long time, the welding route needs to be replanned for each welding, which increases the amount of calculation in the system and affects the welding efficiency. At the same time, in order to prevent welding ash from affecting the visual positioning device, causing the image collected by the visual positioning device to be blurred and polluting the working environment, current welding robots currently have a fixed smoking device to absorb the ash. However, the current smoking device is large in size, which increases the load on the robot, is inconvenient to install and disassemble, and cannot be properly adjusted according to different usage scenarios.

[0060] Embodiment 1

[0061] The present invention provides an automated welding method based on visual positioning, such as Figure 1 As shown, in this embodiment, the method includes the following steps:

[0062] Step S1, installing the visual positioning device on the welding gun in a detachable installation manner;

[0063] Step S2, dividing the workpieces to be welded into conventional workpieces and unconventional workpieces, performing a first mark on the conventional workpieces to form first marked workpieces, and then performing a second mark on different first marked workpieces one by one to form second marked workpieces;

[0064] Step S3, pre-planning paths for the second marked workpieces one by one to form a plurality of preset welding paths respectively matching the second marked workpieces;

[0065] Step S4, moving the workpiece to be welded to the welding area or moving the welding gun to the workpiece to be welded, and determining whether the workpiece to be welded is the first identified workpiece for first identification;

[0066] Step S5, if the welding workpiece is the first identified workpiece, continue to identify the second identification in the first identified workpiece, determine the type of the second identified workpiece, and the welding robot selects the preset welding path corresponding to the second identified workpiece to perform welding;

[0067] Step S6: If the welding workpiece is not the first identified workpiece, the welding robot autonomously plans a welding path to perform welding.

[0068] Regarding the classification of workpieces to be welded into conventional workpieces and unconventional workpieces, in the present invention, conventional workpieces are batch workpieces with uniform shapes, such as building steel structures, rail transit, engineering machinery and other workpieces with specified shapes that need to be welded in batches. In order to reduce subsequent identification steps, such workpieces that need to be welded in batches are defined as conventional workpieces; unconventional workpieces are workpieces that only require a small amount of welding, such as pipe workpieces that need to be adjusted according to the actual length and diameter. Such workpieces that do not require batch welding are positioned as unconventional workpieces.

[0069] For unconventional workpieces, the welding robot's visual positioning device can obtain real-time images and autonomously plan welding paths to perform welding work.

[0070] The conventional workpiece is first identified to form a first identified workpiece, and then different first identified workpieces are respectively second identified one by one to form second identified workpieces; the above-mentioned first identification and second identification are only used as a signal end for identification; the workpiece is determined to be a conventional workpiece, i.e., the first identified workpiece, by identifying the first identification, and then the identification of the second identification is started; in this embodiment, the second representation can be set as a signal identification of the workpiece outer contour pattern, when it is identified that the outer contour of the second identified workpiece corresponds to the corresponding outer contour pattern, the preset welding path corresponding to the second identified workpiece is directly started, and there is no need to identify structures such as welds, thereby saving identification procedures and improving welding identification efficiency; workpieces with different second identifications correspond to different preset welding paths for different second identified workpieces.

[0071] Wherein, the autonomously planned welding path includes:

[0072] Acquire two images captured by the visual positioning device, the two images are captured from the same position and different time points, and can be captured at a preset time interval. In this embodiment, the preset interval is five seconds, and perform image processing on the two images to obtain two processed images; since the acquisition of images of the welding robot in actual applications may be affected by light brightness, light refraction and reflection, dust flow, etc., it is necessary to process the images and then analyze them, wherein the image processing includes image enhancement, image filtering, image segmentation, image grayscale processing, edge simplification of the image using an edge detection algorithm, and feature elimination of the image;

[0073] The two images are divided, one is used as a detection image, and the other is used as a comparison image. The detection image and the comparison image are both segmented to form a plurality of blocks. In this embodiment, the blocks are segmented into nine blocks in the form of a nine-square grid, and the blocks do not overlap and are set to have the same size. In other embodiments, the size of the segmented blocks may be preset to segment the image, and the specific method and number are adjusted according to the actual scene;

[0074] Comparing the multiple blocks of the detection image with the blocks at the same position of the comparison image one by one, calculating the grayscale difference of each block and forming a grayscale difference image for analysis, obtaining similar blocks in the comparison image according to the grayscale difference image, and obtaining enhancement factors according to the grayscale distribution information of the similar blocks;

[0075] At the same time, an average difference value is calculated according to the grayscale difference image, and the average difference value is compared with a preset difference threshold;

[0076] If the average difference value is less than the difference threshold, it means that the similarity between the two images is extremely high and is not affected by external factors. The grayscale distribution and texture information of the detection image are obtained, and the detection image is enhanced according to the grayscale distribution, texture information and the enhancement factor of the detection image to obtain an enhanced image; positioning is performed and the welding path is planned according to the enhanced image.

[0077] If the average difference value is greater than or equal to the difference threshold, it means that the difference between the two images is large and there are interference factors in the work scene, such as lighting changes, workpiece offset, etc., and the image needs to be re-collected for processing and comparison. If the average difference value of more than two times is greater than or equal to the difference threshold, staff will be dispatched for on-site inspection.

[0078] By comparing images acquired at two different time points, it is possible to adapt to changes in usage scenario conditions, and by enhancing one image with another to obtain an enhanced image, the welding path is planned based on the enhanced image, which can reduce visual positioning errors and improve the accuracy of the welding path.

[0079] Embodiment 2

[0080] In order to reduce the volume of the smoking device, lighten the load of the robot, and improve the convenience of installation and disassembly; the present invention also discloses a welding robot, such as Figure 2 and Figure 3As shown, in the present invention, the welding robot includes a robotic arm 3, a welding gun 4, a gantry 1, a visual positioning device and a smoking device. In this embodiment, the gantry 1 is selected as the installation structure of the robotic arm 3. In addition, the installation structure of the welding robot includes but is not limited to ground rail type, overhead rail type and other forms of installation.

[0081] Specifically, in order to ensure the flexibility of the welding robot, the mechanical arm 3 can move on the gantry 1, a slide rail 2 is provided on the gantry 1, one end of the mechanical arm 3 is slidably connected to the gantry 1, and the other end is connected to the welding gun 4, and the visual positioning device is installed at the welding gun 4, and the welding gun 4 is used for welding work. When the welding gun 4 is working, the visual positioning device moves together with the welding gun 4;

[0082] In order to be able to absorb the welding smoke during welding, a smoking device is set, which can be detachably installed on the side of the robot arm 3 close to the welding gun 4; Figure 4 and Figure 5 As shown, the smoking device includes a connecting portion 9 and an adsorption portion, and the connecting portion 9 is connected to the mechanical arm 3. Specifically, the connecting portion 9 includes a fixing frame 91 and a locking bolt 92. In this embodiment, the fixing frame 91 is fixedly connected to the mounting tube 5. In other embodiments, in order to enable the adsorption portion to rotate, a rotating connection can be set between the fixing frame 91 and the adsorption portion so that they can rotate relatively; a bolt hole 93 for the locking bolt 92 to pass through is opened on the fixing frame 91. When connected, the locking bolt 92 passes through two bolt holes 93 on the fixing frame 91, and then one end is locked and fixed with a nut; in order to prevent the smoking device from sliding on the mechanical arm 3 after being fixed, the installation of the smoking device is fixed, and an annular limiting groove is set on the mechanical arm 3. The fixing frame 91 is sleeved on the outside of the mechanical arm 3 and is located in the limiting groove. Through the setting of the limiting groove, the connecting piece is limited to prevent it from moving after being fixed.

[0083] In order to reduce the volume of the adsorption part, the structure of the adsorption part is improved. Specifically, Figure 6 As shown, the adsorption part includes a mounting tube 5 and an air suction member 8, a filter member 7 and an air suction pipe 6 arranged inside the mounting tube 5; the air suction member 8, the filter member 7 and the air suction pipe 6 are all accommodated inside the mounting tube 5 to realize a modular installation design.

[0084] In order to meet the use requirements of the suction pipe 6, it can be extended for use and retracted for storage; Figure 7As shown, the suction pipe 6 is configured as a telescopic hose 61 and a connecting frame 62, one end of the connecting frame 62 is inserted into the mounting tube 5, and is threadedly connected to the mounting tube 5, so as to realize a detachable connection between the connecting frame 62 and the mounting tube 5, one end of the telescopic hose 61 is fixed on the connecting frame 62, and the telescopic hose 61 can be retracted into the inside of the connecting frame 62. When in use, the telescopic hose 61 is pulled out and extended so that its adsorption end is aligned with the welding position for use.

[0085] Regarding the filter element 7, the filter element 7 is arranged inside the mounting tube 5 and abuts against one end of the suction pipe 6; the suction element 8 is inserted into the mounting tube 5 from the end of the mounting tube 5 away from the suction pipe 6; the suction element 8 abuts against the filter element 7, and the suction element 8 and the suction pipe 6 are matched to press the filter element 7 into the mounting tube 5. It only requires a detachable mounting connection between the suction element 8 and the suction pipe 6, and there is no need to set an independent mounting structure for the filter element 7. The filter element 7 can be fixed by the cooperation of the suction element 8 and the suction pipe 6, and the installation is convenient.

[0086] like Figure 8 and Fig. 9 As shown, the filter element 7 is configured as a filter cartridge 71 and a filter core 72. The filter cartridge 71 is configured as a cylindrical structure that cooperates with the interior of the mounting cartridge 5. The diameter of the filter cartridge 71 is equal to the inner diameter of the mounting cartridge 5, and the filter cartridge 71 is slidably connected to the inner wall of the mounting cartridge 5; the filter core 72 is slidably arranged inside the filter cartridge 71, and a step groove 73 is provided on the side of the filter cartridge 71 close to the air suction member 8, and the side of the filter core 72 is embedded in the step groove 73; the step groove 73 is provided for the installation of the filter core 72 and limits the movement of the filter core 72, and the air suction member 8 is in contact with the filter core 72. During installation, the air suction member 8 presses and fixes the filter core 72 in the step groove 73; the side of the filter core 72 facing the air suction pipe 6 is configured to be wavy, which enlarges the contact area between the air inlet end of the filter core 72 and the gas, can reduce the blockage of the filter core 72, and improve the filtering effect.

[0087] Regarding the air suction member 8, Fig.10 As shown, the air suction member 8 is configured as an air suction cylinder 81 and a fan 82, the air suction cylinder 81 can be inserted into the mounting cylinder 5, and the fan 82 is installed inside the air suction cylinder 81, an outer thread is provided on the outer wall of one end of the air suction cylinder 81, and an inner thread is provided on the inner wall of the mounting cylinder 5, the air suction cylinder 81 is threadedly connected to the mounting cylinder 5, and one end of the air suction cylinder 81 passes through the mounting cylinder 5, so that the staff can manually screw and install and disassemble the air suction cylinder 81; when the air suction cylinder 81 is tightened and fixed, the air suction cylinder 81 presses the filter cylinder 71 against the connecting frame 62 to fix the filter cylinder 71, and at the same time, the air suction cylinder 81 presses the filter element 72 against the step groove 73 of the filter cylinder 71 to fix the filter element 72; when replacing the filter element 72, the air suction cylinder 81 can be directly screwed out to achieve the replacement of the filter cylinder 71 or the filter element 72.

[0088] In order to accurately absorb the smoke, an adsorption cover 63 is connected to the telescopic hose 61, and the adsorption cover 63 is detachably connected to the telescopic hose 61. In this embodiment, a threaded connection is adopted, and the adsorption cover 63 is screwed on the telescopic hose 61. The adsorption cover 63 is provided with a suction tube facing the welding position, and the adsorption cover 63 is provided with a first magnetic attraction part 64. The robot arm 3 is provided with a second magnetic attraction part on one side of the welding gun 4. The first magnetic attraction part 64 and the second magnetic attraction part are adsorbed to each other, and the first magnetic attraction part 64 and the second magnetic attraction part are configured as magnets that are magnetically attracted to each other in opposite directions. When in use, the telescopic hose 61 is pulled out, and the adsorption cover 63 is adsorbed on one side of the welding gun 4 so that the suction tube is aligned with the welding position.

[0089] In order to make the straw absorb smoke more accurately, Fig.11 and Fig.12 As shown, a plurality of adsorption covers 63 with straws in different orientations are prepared. In other embodiments, in order to adapt to different types of robot arms 3, first magnetic adsorption covers 63 with different positions can be set so that they can be used for adsorption in different directions, thereby further improving the accuracy of adsorption.

[0090] The present invention arranges the smoking device to include an integrated suction member 8, a filter member 7 and a suction pipe 6. The suction member 8, the filter member 7 and the suction pipe 6 are integrally installed in the installation tube 5 and are all arranged to be detachably connected, thereby reducing the overall volume of the smoking device, occupying less space, and reducing the load on the robot arm 3 when working. Meanwhile, the installation and maintenance are convenient. The arrangement of the telescopic hose 61 and the adsorption cover 63 can be adjusted according to different usage scenarios during use to expand the scope of use.

[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An automated welding method based on visual positioning, characterized in that: include: Step S1, installing the visual positioning device on the welding gun; Step S2, dividing the workpieces to be welded into conventional workpieces and unconventional workpieces, performing a first mark on the conventional workpieces to form first marked workpieces, and then performing a second mark on different first marked workpieces one by one to form second marked workpieces; Step S3, pre-planning paths for the second marked workpieces one by one to form a plurality of preset welding paths respectively matching the second marked workpieces; Step S4, moving the workpiece to be welded to the welding area or moving the welding gun to the workpiece to be welded, and determining whether the workpiece to be welded is the first identified workpiece for first identification; Step S5, if the welding workpiece is the first identified workpiece, continue to identify the second identification in the first identified workpiece, determine the type of the second identified workpiece, and the welding robot selects the preset welding path corresponding to the second identified workpiece to perform welding; Step S6: If the welding workpiece is not the first identified workpiece, the welding robot autonomously plans a welding path to perform welding.

2. The automated welding method based on visual positioning according to claim 1, characterized in that: The autonomously planned welding path includes: Acquire two images captured by a visual positioning device, wherein the two images are captured from the same position and at different time points, and perform image processing on the two images to obtain two processed images; Dividing the two images, using one as a detection image and the other as a comparison image, and segmenting both the detection image and the comparison image to form a plurality of blocks; Comparing the multiple blocks of the detection image with the blocks at the same position of the comparison image one by one, calculating the grayscale difference of each block and forming a grayscale difference image for analysis, obtaining similar blocks in the comparison image according to the grayscale difference image, and obtaining enhancement factors according to the grayscale distribution information of the similar blocks; At the same time, an average difference value is calculated according to the grayscale difference image, and the average difference value is compared with a preset difference threshold; If the average difference value is less than the difference threshold, the grayscale distribution and texture information of the detection image are obtained, and the detection image is enhanced according to the grayscale distribution, texture information and the enhancement factor of the detection image to obtain an enhanced image; Positioning is performed and a welding path is planned based on the enhanced image.

3. The automated welding method based on visual positioning according to claim 2, characterized in that: The image processing includes image enhancement, image filtering, image segmentation, image grayscale processing, edge detection algorithm is used to simplify the image edges, and feature elimination processing is performed on the image.

4. A welding robot, characterized in that: It comprises a mechanical arm (3), a welding gun (4), a gantry (1), a visual positioning device and a smoking device; The gantry (1) is provided with a slide rail (2), one end of the mechanical arm (3) is slidably connected to the gantry (1), and the other end is connected to the welding gun (4), and the visual positioning device is installed at the welding gun (4); The smoking device is detachably mounted on a side of the mechanical arm (3) close to the welding gun (4); The smoking device comprises a connecting portion (9) and an adsorption portion, wherein the connecting portion (9) is connected to the mechanical arm (3), and the adsorption portion comprises a mounting tube (5) and an air suction member (8), a filter member (7) and an air suction pipe (6) arranged inside the mounting tube (5); The suction pipe (6) at least comprises a telescopic hose (61), and one end of the suction pipe (6) is connected to one end of the mounting tube (5), and the other end can extend to the welding position of the welding gun (4); the filter element (7) is arranged inside the mounting tube (5) and abuts against one end of the suction pipe (6); the suction element (8) is inserted into the mounting tube (5) from one end of the mounting tube (5) away from the suction pipe (6); The air suction member (8) is in contact with the filter member (7), and the air suction member (8) is matched with the air suction pipe (6) to press the filter member (7) into the interior of the installation tube (5).

5. The welding robot according to claim 4, characterized in that: The air suction pipe (6) comprises a telescopic hose (61) and a connecting frame (62); One end of the connecting frame (62) is inserted into the installation tube (5) and is threadedly connected to the installation tube (5); one end of the telescopic hose (61) is fixed on the connecting frame (62); and the telescopic hose (61) can be retracted into the interior of the connecting frame (62).

6. The welding robot according to claim 4, characterized in that: The filter element (7) comprises a filter cartridge (71) and a filter core (72); the filter cartridge (71) is configured as a cylindrical structure, and the filter cartridge (71) is slidably connected to the inner wall of the mounting cartridge (5); The filter core (72) is slidably arranged inside the filter cartridge (71); a step groove (73) is arranged on a side of the filter cartridge (71) close to the air suction member (8); a side portion of the filter core (72) is embedded in the step groove (73); the air suction member (8) contacts the filter core (72) and presses and fixes the filter core (72) in the step groove (73); The side of the filter core (72) facing the air suction pipe (6) is arranged in a wave shape.

7. The welding robot according to claim 4, characterized in that: The air suction member (8) comprises an air suction cylinder (81) and a fan (82) installed in the air suction cylinder (81); An external thread is provided on the outer wall of one end of the suction tube (81), and an internal thread is provided on the inner wall of the mounting tube (5). The suction tube (81) is threadedly connected to the mounting tube (5), and one end of the suction tube (81) passes through the mounting tube (5).

8. The welding robot according to claim 5, characterized in that: The telescopic hose (61) is connected to a suction cover (63), the suction cover (63) is detachably connected to the telescopic hose (61), and a suction pipe facing the welding position is arranged on the suction cover (63).

9. The welding robot according to claim 8, characterized in that: The adsorption cover (63) is provided with a first magnetic attraction portion (64). The mechanical arm (3) is provided with a second magnetic attraction portion on one side of the welding gun (4) for adsorption in cooperation with the first magnetic attraction portion (64).

10. The welding robot according to any one of claims 4 to 9, characterized in that: The connecting portion (9) comprises a fixing frame (91) and a locking bolt (92); the fixing frame (91) is connected to the mounting tube (5); and a bolt hole (93) for the locking bolt (92) to pass through is formed on the fixing frame (91); The mechanical arm (3) is provided with a limiting groove, and the fixing frame (91) is sleeved on the outside of the mechanical arm (3) and is located in the limiting groove.