Intelligent optical perception processing system and welding method based on intelligent welding robot
Through the optical perception processing of the intelligent welding robot system, a variety of optical devices are combined to build a 3D model of the weld seam, and the welding trajectory and process parameters are adjusted in real time, which solves the adaptability problem of welding automation equipment in multiple types of weld seams and multi-industry characteristics, and improves Improve welding accuracy and efficiency.
Patent Information
- Application Number
- CN202211260165.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-14
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-10-14
AI Technical Summary
Existing welding automation equipment cannot provide an all-in-one solution with wide adaptability when faced with multiple types of welds and multi-industry characteristics. It is difficult to meet the needs of real-time measurement and real-time processing during the welding process, resulting in inaccurate welding positions and poor welding performance. The sewing quality is not high and the efficiency is low.
An intelligent welding robot system is used, combined with a camera positioning module, a single weld positioning module, a laser scanner and a molten pool camera, to build a 3D model of the weld, monitor and adjust the welding trajectory, posture and process parameters in real time to achieve real-time monitoring of the weld. and processing.
It improves the accuracy of welding positions and weld quality, enhances welding efficiency, can adapt to multiple types of welds and multi-industry characteristics, handles unexpected situations in real time, and ensures the accuracy and efficiency of the welding process.
Smart Images

Figure CN115464669B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent welding robots, and in particular relates to an intelligent optical perception processing system and a welding method based on an intelligent welding robot. Background Art
[0002] In the traditional welding industry, more and more automated equipment is being introduced to improve welding efficiency, and sensing technology, as the data collection end, is a very important link.
[0003] Most automation equipment uses a wide variety of perception and processing methods, such as increasing assembly and processing accuracy, using lower-precision industrial cameras for positioning; using 3D structured light cameras for large-format positioning measurement, but these cannot meet the real-time requirements of welding, and the measurement accuracy is reduced due to the wide measurement area; laying visual scanning tracks in the known direction of the weld to ensure that the weld is in a good measurement position, but it also limits the use of the equipment; although these methods can guarantee welding needs in their respective aspects, such as real-time deformation and real-time measurement needs during welding, high-precision measurement needs of welding processes, and unexpected situations such as welding leaks and welding deviations during welding, when faced with a variety of market needs and multi-industry characteristics, they can only be developed one-to-one through project-based customization, and cannot launch an integrated solution with a wider adaptability. Therefore, it is necessary to propose improvements to the above-mentioned problems. Summary of the invention
[0004] The technical problem solved by the present invention is as follows: an intelligent optical perception processing system and a welding method based on an intelligent welding robot are provided. Under the real-time monitoring of an optical perception device including a camera positioning module, a single weld positioning module, a laser scanner and a molten pool camera, a weld 3D model is constructed. According to the monitoring data, the intelligent welding robot is subjected to real-time adjustment of the running trajectory, real-time correction of the welding posture, real-time adjustment after comparison between the measured value and the welding process parameter value, and real-time monitoring and processing of the abnormal state of the molten pool. The adaptability problem of various types of welds and the need for real-time measurement and real-time processing of unexpected situations during the welding process are solved. The intelligent welding robot has accurate welding position, high weld quality, and improved welding efficiency.
[0005] The technical solution adopted by the present invention is: a welding method based on an intelligent optical perception processing system of an intelligent welding robot, comprising the following steps:
[0006] 1) The camera positioning module sends the real-time image information of the target workpiece on the entire workstation to the industrial computer. After the industrial computer processes the received information, it identifies the positions of all surface welds on the target workpiece, and stores each identified weld after sorting and labeling.
[0007] 2) According to the label sequence of each weld, the position information of a weld is extracted, and the intelligent welding robot performs the welding task of the weld according to the initial position information of the weld. The position information of the weld is photographed in real time by a single weld positioning module installed at the end of the intelligent welding robot. The industrial computer processes the image of the position information of the weld and determines the accurate welding trajectory of the weld. The industrial computer transmits the accurate welding trajectory information of the weld to the intelligent welding robot through the communication network cable for real-time adjustment of the running trajectory.
[0008] 3) In the process of executing the above step 2), the laser scanner installed at the end of the intelligent welding robot collects the position and morphological feature data of the weld in real time, and uses the weld 3D model reconstruction method and the weld scanning and tracking processing method to realize laser positioning, laser tracking and laser measurement during the welding process; the industrial computer determines the posture correction value and welding process parameter value of the intelligent welding robot within a period of 30ms-50ms based on the weld position and morphological feature data collected by the laser scanner, and the intelligent welding robot performs real-time correction of the welding posture and real-time adjustment after comparing the measured value with the welding process parameter value based on the posture correction value and welding process parameter value sent by the industrial computer;
[0009] 4) In the process of executing the above step 2), the molten pool camera installed at the end of the intelligent welding robot collects the welding molten pool information through real-time video, and the industrial computer compares the welding molten pool information collected by the molten pool camera with the data stored in the molten pool information library, judges the abnormal state of the molten pool, realizes online monitoring of the molten pool state, and assigns the correction parameters corresponding to the abnormal processing under the abnormal state of the molten pool to the posture correction value and process parameter value of the intelligent welding robot for unexpected adjustment;
[0010] 5) Repeat the above steps 2) to 4) according to the order of the weld number in the industrial computer until all welds on the target workpiece are welded.
[0011] In the above step 1), the camera positioning module includes a plurality of industrial cameras respectively distributed at the top, left, right, front and back positions of the target workpiece in three-dimensional space, the industrial cameras are structured light 3D industrial cameras or binocular industrial cameras, and the industrial cameras are connected to the industrial computer through a switch;
[0012] The camera positioning module captures the contour image information of the target workpiece surface and selects the image information sent by the industrial camera at any viewing angle to obtain the spatial intersection lines of the two planes, save the position coordinates of the starting point and the end point corresponding to the intersection lines, search and identify the positioning welding points for each intersection line, sort the welds determined according to the positioning welding points by number, and save the position of each weld in the memory of the industrial computer.
[0013] In the above step 2), the single weld positioning module is an industrial camera I, and the industrial camera I is connected to an industrial computer via a switch;
[0014] The industrial computer locates the precise starting position and precise ending position of the weld in the area according to the weld information in the local area photographed in real time by the industrial camera I, generates the accurate welding trajectory of the weld in the area through straight line fitting according to the precise starting position and precise ending position of the weld, repeatedly determines the accurate welding trajectory of the weld in each local area of the weld, and realizes real-time adjustment of the operation trajectory of the intelligent welding robot.
[0015] In the above step 3), during laser positioning, the intelligent welding robot steps from the starting position to the ending position according to the weld trajectory corresponding to the stored label, and the laser scanner processes the raw data scanned in the measurement plane. The data processing module in the industrial computer reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method to determine whether there is a weld in the measurement plane. If so, the industrial computer calculates the relative offset of the weld center in the measurement plane from the weld center position in the weld 3D model, adjusts the position of the intelligent welding robot according to the relative offset, and calculates whether the tip of the welding gun has reached the weld center position in the weld 3D model. If so, the intelligent welding robot waits for welding. If not, repeat the laser positioning until the tip of the welding gun of the intelligent welding robot reaches the center position of the weld in the weld 3D model.
[0016] During laser tracking, the intelligent welding robot steps from the starting position to the ending position according to the weld trajectory corresponding to the stored label. The laser scanner processes the raw data scanned in the measurement plane. The data processing module in the industrial computer reconstructs the weld 3D model of the raw data according to the weld scanning and tracking processing method and the weld 3D model reconstruction method. The weld center position is calculated on the constructed 3D model and stored in the memory of the industrial computer. The current position of the intelligent welding robot is compared to see if it is the weld center position stored in the industrial computer. If so, the correction value between the current position of the intelligent welding robot and the weld center position in the 3D model is determined by the distance calculation formula, and the position of the intelligent welding robot is corrected according to the correction value. When the intelligent welding robot reaches the weld end position, the laser tracking stops. Otherwise, the laser tracking is repeated until the intelligent welding robot reaches the weld end position.
[0017] During laser measurement, the intelligent welding robot steps from the starting position to the ending position according to the weld trajectory corresponding to the stored label. The laser scanner processes the raw data scanned in the measurement plane. The data processing module in the industrial computer reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method. The characteristic values of the welding process parameters are calculated on the reconstructed 3D weld model. The data processing module determines whether the weld ending position is reached based on the characteristic values of the welding process parameters. If so, the intelligent welding robot stops welding. Otherwise, the laser measurement is repeated.
[0018] Furthermore, the weld type parameters of the target workpiece are input into the industrial computer and compared with the weld data collected by the laser scanner, and whether it is a weld is determined based on the comparison result; if it is a weld, the measured weld size information is converted into a process parameter value according to the welding process calculation formula, the process parameter value is matched with the process database information stored in the industrial computer, and the process correction value is output; if it is not a weld, data processing is performed again until the weld end position is reached and stopped.
[0019] In the above step 4), the molten pool camera is connected to the industrial computer via a switch, and the molten pool information library is stored in the industrial computer;
[0020] The input end of the industrial computer is connected to the output end of the keyboard, and correction instructions are manually input through the keyboard according to the molten pool state and measurement monitoring data. The industrial computer sends the correction instructions to the intelligent welding robot through the communication network cable to control the intelligent welding robot to perform posture correction and process correction.
[0021] An intelligent optical perception processing system based on an intelligent welding robot includes an industrial computer for comprehensive data processing, the industrial computer is connected to an optical perception device through a switch to realize information interaction between the optical perception device and the industrial computer, the optical perception device includes a camera positioning module, a single weld positioning module, a laser scanner and a molten pool camera; the camera positioning module is installed on a gantry and is used to collect type information of a target workpiece and image information of an initial position and an end position of a weld on the target workpiece; the single weld positioning module and the laser scanner are installed on a robot arm at the end of the intelligent welding robot, and the laser scanner is used to collect weld morphological feature data and weld position on the target workpiece in real time, while the single weld positioning module is used to capture position image information of the weld in real time, and the molten pool camera is installed on the robot arm of the intelligent welding robot to collect image information of the molten pool; the industrial computer is connected to the intelligent welding robot through a communication network cable, and adjusts the motion trajectory and welding posture of the intelligent welding robot in real time according to the data information of the weld and the molten pool detected by the camera positioning module, the single weld positioning module, the laser scanner and the molten pool camera.
[0022] Furthermore, the camera positioning module includes a plurality of industrial cameras with positioning functions and respectively distributed at the top, left, right, front and back positions of the target workpiece in three-dimensional space. The industrial cameras are structured light 3D industrial cameras or binocular industrial cameras. The industrial cameras are connected to an industrial computer via a switch. The industrial computer identifies the type of the target workpiece and the start and end positions of the weld according to the target workpiece image information taken by the industrial camera, and transmits the identification results to the intelligent welding robot via a communication control network.
[0023] Furthermore, the laser scanner adopts a laser profiler, and the laser profiler is connected to the switch via a communication network cable. The weld position and weld morphology feature data collected by the laser profiler are transmitted to the industrial computer through the switch for data processing and judgment of the weld position result. The industrial computer transmits the judged weld position result to the intelligent welding robot through the communication control network.
[0024] Furthermore, the molten pool camera is connected to the switch via a communication network cable, and the molten pool image data collected by the molten pool camera is transmitted to the industrial computer via the switch for data processing and determination of the molten pool state, and the industrial computer transmits the determination result to the intelligent welding robot via the communication control network;
[0025] The switch is a 10 Gigabit switch, and the industrial computer stores a process database.
[0026] The advantages of the present invention compared with the prior art are:
[0027] 1. This technical solution builds a 3D model of the weld under real-time monitoring by optical sensing equipment including a camera positioning module, a single weld positioning module, a laser scanner and a molten pool camera. According to the monitoring data, the intelligent welding robot can adjust its running trajectory in real time, correct its welding posture in real time, and adjust the measured value in real time after comparing it with the welding process parameter value. It can also monitor and process the abnormal state of the molten pool in real time. This solves the adaptability problems of various types of welds and the needs of real-time measurement and real-time processing of unexpected situations during welding. The intelligent welding robot has accurate welding position, high weld quality, and improved welding efficiency.
[0028] 2. This technical solution provides conditions for the initial positioning of the type of the target workpiece and the start and end positions of the weld on the target workpiece by setting up multiple industrial cameras distributed at the top, left, right, front and back positions of the target workpiece in three-dimensional space;
[0029] 3. This technical solution sets a laser scanner on the intelligent welding robot to collect the weld position and weld morphology feature data in real time, providing a basis for adjusting the welding position and posture of the intelligent welding robot in the next second, thus ensuring the accuracy and efficiency of the welding process;
[0030] 4. This technical solution can monitor the state of the molten pool in real time during the welding process by setting a molten pool camera for sensing molten pool image data, and make the intelligent welding robot make corresponding adjustments according to the current molten pool state, thereby ensuring the accuracy of the welding results;
[0031] 5. This technical solution solves the problem that the intelligent welding robot collides during movement due to the deviation between the actual placement position of the target workpiece and the position in the model. According to the precise position of the weld detected in real time, the running posture, welding gun position and welding parameters of the intelligent welding robot can be accurately and reliably adjusted, so that the welding position is accurate, the weld quality is high, and the welding efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a flow chart of the present invention;
[0033] Figure 2 A flowchart of the present invention for obtaining the positions of multiple welds on a target workpiece through a camera positioning module;
[0034] Figure 3 A flowchart of the present invention for obtaining a precise welding trajectory of a weld in real time through a single weld positioning module;
[0035] Figure 4 This is a flowchart of the present invention using a laser scanner to perform laser positioning;
[0036] Figure 5 A flowchart of laser tracking using a laser scanner according to the present invention;
[0037] Figure 6 This is a flowchart of the laser measurement performed by using a laser scanner in the present invention;
[0038] Figure 7 It is a flowchart of the data processing module of the present invention performing data processing according to the input weld type parameters and the data collected by the laser scanner;
[0039] Figure 8 It is a flowchart of the accident handling of the molten pool camera of the present invention;
[0040] Fig. 9 The present invention is a flowchart of manually correcting the molten pool state observed by the molten pool camera. DETAILED DESCRIPTION
[0041] The following will be combined with the embodiments of the present invention Figure 1-9, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions. The elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0043] The welding method based on the intelligent optical perception processing system of the intelligent welding robot includes the following steps:
[0044] 1) The camera positioning module 3 sends the image information of the target workpiece on the entire workstation taken in real time to the industrial computer 1. After the industrial computer 1 performs image processing on the received information, it identifies the positions of all surface welds on the target workpiece, and stores each identified weld after sorting by number. Specifically, the camera positioning module 3 includes a plurality of industrial cameras respectively distributed at the top, left, right, front and back positions of the target workpiece in three-dimensional space. The industrial camera uses a structured light 3D industrial camera or a binocular industrial camera, and the industrial camera is connected to the industrial computer 1 through a switch 2. The camera positioning module captures the contour image information of the surface of the target workpiece, selects the image information sent by the industrial camera at any viewing angle, and can obtain the spatial intersection straight lines of the two planes, save the position coordinates of the starting point and the end point corresponding to the intersection straight line, search and identify the positioning weld point for each intersection line, sort the welds determined according to the positioning weld point, and save the position of each weld in the memory of the industrial computer 1.
[0045] 2) According to the numbering sequence of each weld, the position information of a weld is extracted, and the intelligent welding robot 6 performs the welding task of the weld according to the initial position information of the weld, and the position information of the weld is photographed in real time by the single weld positioning module 7 installed at the end of the intelligent welding robot 6. The industrial computer 1 performs image processing on the photographed position information of the weld to determine the accurate welding trajectory of the weld, and the industrial computer 1 transmits the accurate welding trajectory information of the weld to the intelligent welding robot 6 through the communication network cable for real-time adjustment of the running trajectory; specifically, the single weld positioning module 7 is an industrial camera I, and the industrial camera I is connected to the industrial computer 1 through the switch 2;
[0046] The industrial computer 1 locates the precise starting position and the precise ending position of the weld in the area according to the weld information in the local area captured in real time by the industrial camera I, generates the accurate welding trajectory of the weld in the area by linear fitting according to the precise starting position and the precise ending position of the weld, repeatedly determines the accurate welding trajectory of the weld in each local area of the weld, and realizes real-time adjustment of the running trajectory of the intelligent welding robot 6;
[0047] 3) In the process of executing the above step 2), the laser scanner 4 installed at the end of the intelligent welding robot 6 collects the position and morphological feature data of the weld in real time, and uses the weld 3D model reconstruction method and the weld scanning and tracking processing method (wherein, the weld 3D model reconstruction method and the weld scanning and tracking processing method are two other patents applied for by the company) to realize laser positioning, laser tracking and laser measurement during the welding process; the industrial computer 1 determines the posture correction value and welding process parameter value of the intelligent welding robot 6 within a period of 30ms-50ms based on the weld position and morphological feature data collected by the laser scanner 4, and the intelligent welding robot 6 performs real-time correction of the welding posture and real-time adjustment after comparing the measured value with the welding process parameter value based on the posture correction value and welding process parameter value sent by the industrial computer 1; specifically, the laser positioning When the intelligent welding robot 6 steps from the starting position to the ending position according to the weld trajectory corresponding to the stored label, the laser scanner 4 processes the raw data scanned in the measuring plane, and the data processing module in the industrial computer 1 reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method, and determines whether there is a weld in the measuring plane. If so, the industrial computer 1 calculates the relative offset of the weld center in the measuring plane from the weld center position in the weld 3D model, adjusts the position of the intelligent welding robot 6 according to the relative offset, and calculates whether the tip of the welding gun has reached the weld center position in the weld 3D model. If so, the intelligent welding robot 6 waits for welding. If not, repeat the laser positioning until the tip of the welding gun of the intelligent welding robot reaches the center position of the weld in the weld 3D model.
[0048] During laser tracking, the intelligent welding robot 6 steps along the weld trajectory corresponding to the stored number from the starting position to the ending position, and the laser scanner 4 processes the raw data scanned in the measurement plane. The data processing module in the industrial computer 1 reconstructs the weld 3D model of the raw data according to the weld scanning and tracking processing method and the weld 3D model reconstruction method, calculates the weld center position on the constructed 3D model and stores it in the memory of the industrial computer 1, and compares whether the current position of the intelligent welding robot 6 is the weld center position stored in the industrial computer 1. If so, the correction value between the current position of the intelligent welding robot 6 and the weld center position in the 3D model is determined by the distance calculation formula, and the position of the intelligent welding robot 6 is corrected according to the correction value. When the intelligent welding robot reaches the weld end position, the laser tracking stops, otherwise, the laser tracking is repeated until the intelligent welding robot 6 reaches the weld end position.
[0049] During laser measurement, the intelligent welding robot 6 steps along the weld trajectory corresponding to the stored number from the starting position to the ending position. The laser scanner 4 processes the raw data scanned in the measurement plane. The data processing module in the industrial computer 1 reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method. The characteristic values of the welding process parameters are calculated on the reconstructed 3D weld model. The data processing module determines whether the weld ending position is reached according to the characteristic values of the welding process parameters. If so, the intelligent welding robot 6 stops welding. Otherwise, the laser measurement is repeated. ; Specifically, the weld type parameters of the target workpiece are input into the industrial computer 1 (weld type parameters include weld angle, weld width, weld depth, plate thickness, material properties, gap, and misalignment), and compared with the weld data collected by the laser scanner, and whether it is a weld is determined according to the comparison result; if it is a weld, the measured weld size information is converted into a process parameter value according to the welding process calculation formula, the process parameter value is matched with the process database information stored in the industrial computer 1, and the process correction value is output; if it is not a weld, the data is reprocessed until the weld end position is reached and stopped;
[0050] 4) In the process of executing the above step 2), the molten pool camera 5 installed at the end of the intelligent welding robot 6 collects the welding molten pool information through real-time video, and the industrial computer 1 compares the welding molten pool information collected by the molten pool camera 5 with the data stored in the molten pool information library, judges the abnormal state of the molten pool, realizes online monitoring of the molten pool state, and assigns the correction parameters corresponding to the abnormal processing under the abnormal state of the molten pool to the posture correction value and process parameter value of the intelligent welding robot 6 for unexpected adjustment; specifically, the molten pool camera 5 is connected to the industrial computer 1 through the switch 2, and the molten pool information library is stored in the industrial computer 1;
[0051] The input end of the industrial computer 1 is connected to the output end of the keyboard, and a correction instruction is manually input through the keyboard according to the molten pool state and the measurement monitoring data. The industrial computer 1 sends the correction instruction to the intelligent welding robot 6 through the communication network cable to control the intelligent welding robot 6 to perform posture correction and process correction;
[0052] 5) Repeat the above steps 2) to 4) according to the order of the weld number of each weld in the industrial computer 1 until all welds on the target workpiece are welded.
[0053] Under the real-time monitoring of the optical sensing equipment including the camera positioning module, the single weld positioning module 7, the laser scanner and the molten pool camera, the weld 3D model is constructed, and the intelligent welding robot is adjusted in real time according to the monitoring data, the welding posture is corrected in real time, and the measurement value is adjusted in real time after the comparison with the welding process parameter value, and the abnormal state of the molten pool is monitored and processed in real time, which solves the adaptability problem of multiple types of welds and the needs of real-time measurement and real-time processing of unexpected situations during the welding process. The intelligent welding robot has accurate welding position, high weld quality, and improved welding efficiency;
[0054] The intelligent optical perception processing system based on the intelligent welding robot includes an industrial computer 1 for comprehensive data processing. The industrial computer 1 is connected to the optical perception device through a switch 2 to realize the information interaction between the optical perception device and the industrial computer 1. The optical perception device includes a camera positioning module 3, a single weld positioning module 7, a laser scanner 4 and a molten pool camera 5; the camera positioning module 3 is installed on the gantry and is used to collect the type information of the target workpiece and the image information of the initial position and the end position of the weld on the target workpiece; the single weld positioning module 7 and the laser scanner 4 are installed on the robot arm at the end of the intelligent welding robot 6, and the laser scanner 4 is used to collect the weld morphology feature data and weld position on the target workpiece in real time, and the single weld positioning module 7 is used to shoot the position of the weld in real time. Image information, so that the industrial computer 1 determines the accurate welding trajectory of the weld according to the captured position image information, providing conditions for the real-time adjustment of the operation trajectory of the intelligent welding robot 6; the molten pool camera 5 is installed on the robot arm of the intelligent welding robot 6, and is used to collect image information of the molten pool; the industrial computer 1 is connected to the intelligent welding robot 6 through a communication network cable, and adjusts the motion trajectory and welding posture of the intelligent welding robot 6 in real time according to the weld detected by the camera positioning module 3, the single weld positioning module 7, the laser scanner 4 and the molten pool camera 5 and the data information of the molten pool; the single weld positioning module 7 has the function of connecting the upper and lower parts, connecting the weld obtained by the camera positioning module 3, and the transition process between the laser scanner 4 scanning a certain weld, which is also very important and is a part of the complete process.
[0055] Among them, the camera positioning module 3 is specifically as follows: the camera positioning module 3 includes a plurality of industrial cameras with positioning functions and respectively distributed at the upper, left, right, front and rear positions of the target workpiece in three-dimensional space. The industrial camera uses a structured light 3D industrial camera or a binocular industrial camera. The industrial camera is connected to the industrial computer 1 through a switch 2. The industrial computer 1 identifies the type of the target workpiece and the start and end positions of the weld according to the target workpiece image information taken by the industrial camera, and transmits the identification result to the intelligent welding robot 6 through the communication control network; in the above structure, by setting a plurality of industrial cameras respectively distributed at the upper, left, right, front and rear positions of the target workpiece in three-dimensional space, conditions are provided for the initial positioning of the type of the target workpiece and the start and end positions of the weld on the target workpiece; the software involved in the industrial camera in the camera positioning module 3 and the industrial camera I in the single weld positioning module 7 specifically refers to the content in the serial number 2022R11L1152519 and the name "visual software in the gantry inverted robot";
[0056] The laser scanner 4 adopts a laser profiler, and the laser profiler is connected to the switch 2 through a communication network cable. The weld position and weld morphology feature data collected by the laser profiler are transmitted to the industrial computer 1 through the switch 2 for data processing and judgment of the weld position result. The industrial computer 1 transmits the judged weld position result to the intelligent welding robot 6 through the communication control network; in the above structure, by arranging the laser scanner 4 on the intelligent welding robot 6, the weld position and weld morphology feature data collected in real time can provide an adjustment basis for the welding position and posture of the intelligent welding robot 6 in the next second, thereby ensuring the accuracy and efficiency of the welding process; the software involved specifically refers to the content in the serial number 2022R11L1153760 and the name "Laser tracking measurement function of intelligent welding robot";
[0057] The molten pool camera 5 is connected to the switch 2 through a communication network cable, and the molten pool image data collected by the molten pool camera 5 is transmitted to the industrial computer 1 through the switch 2 for data processing and judgment of the molten pool state, and the industrial computer 1 transmits the judgment result to the intelligent welding robot 6 through the communication control network; the switch 2 adopts a 10 Gigabit switch, and the industrial computer 1 stores a process database; in the above-mentioned mechanism, by setting a molten pool camera 5 for sensing molten pool image data, the molten pool state can be monitored in real time during the welding process, and the intelligent welding robot 6 can make corresponding adjustments according to the current molten pool state, thereby ensuring the accuracy of the welding result; the software involved specifically refers to the serial number 2022R11L1153256 and the name is "Welding process monitoring function of intelligent welding robot".
[0058] This technical solution solves the problem that the intelligent welding robot 6 may collide during movement due to the deviation between the actual placement position of the target workpiece and the position in the model. According to the precise position of the weld detected in real time, the running posture, welding gun position and welding parameters of the intelligent welding robot 6 can be accurately and reliably adjusted, so that the welding position is accurate, the weld quality is high, and the welding efficiency is improved.
[0059] Among them, the specific steps of the weld 3D model reconstruction method are as follows:
[0060] 1) Use a laser profiler to scan the weld to obtain the profile data information of the weld and its surroundings;
[0061] 2) Based on the collected x-axis and z-axis weld 2D data profile information, and the y-axis data constructed according to the scanning speed, the 3D point cloud data of the weld is formed;
[0062] 3) For the constructed weld 3D point cloud data, radius filtering is used to remove outliers;
[0063] 4) After smoothing the 3D point cloud data using the moving least squares method, a flawless and smooth surface model is established;
[0064] 5) Extracting the spatial plane equation from the 3D point cloud data: Randomly select three points in the initial point cloud and calculate their corresponding plane equations Ax+By+Cz+D=0. According to the formula d i =|Ax i +By i +Cz i +D|Calculate the algebraic distance between all points and the plane equation and select the threshold d threshold , if d i ≤d threshold , then the point is considered to be a sample point inside the model, otherwise it is a sample point outside the model. The number of current internal points is recorded, and the ratio of the number of internal points to the total number of sample points is calculated through the obtained plane equation. The plane equation with the highest ratio is the best fitting parameter, that is, the best fitting parameter is the plane equation corresponding to the plane with the largest number of internal points. Then the error rate Δ at the end of each iteration is calculated, and the calculation formula is as follows:
[0065]
[0066] In the above formula, error mean is the average of the distance differences between all non-interior points and the plane equations corresponding to the interior points, error min The error is the minimum value of the distance difference between all non-interior points and the plane equation corresponding to the interior point. max It is the maximum value of the distance difference between all non-interior points and the plane equation corresponding to the interior point;
[0067] Then according to the determined number of internal points N inliers , the total number of samples N in the three-dimensional space, calculate the iteration end judgment factor δ, the calculation formula of the iteration end judgment factor δ is as follows:
[0068]
[0069] In the above formula, ω0 is the set proportional coefficient 0.7, ω1 is the set proportional coefficient 0.3, if the evaluation factor δ at the end of the iteration does not fall within the interval [0,1], then three points are randomly reselected in the initial point cloud, and this step is repeated for the next iteration; if the evaluation factor δ at the end of the iteration falls within the interval [0,1], then the iteration is stopped; after the iteration, the optimal model parameter is the extracted spatial plane equation;
[0070] 6) According to the type of weld on the target workpiece, determine the number of planes F of the weld of this type, determine the first spatial plane equation according to step 5), separate the inner points on the determined first spatial plane equation from the three-dimensional point cloud data, repeat step 5) on the remaining three-dimensional point cloud data, and determine the same number of spatial plane equations as the number of planes F;
[0071] 7) According to the obtained F spatial plane equations, the point cloud sets within all spatial plane equations are filtered out from the original laser profiler scanning data to reconstruct the weld model;
[0072] 8) Determine the plane normal vectors of F space plane equations from the reconstructed 3D weld model, and calculate the normal vector angle β of the plane normal vectors of the F space plane equations in pairs according to the input weld angle α according to the travel direction, take the two normal vectors when Δt=α-β is the smallest, and determine the space plane equation corresponding to the normal vector, which is the two weld bead sides where the weld is located;
[0073] 9) The equation of the intersecting straight line in space is obtained by extending the two planes in space. From the scanning starting point to the scanning ending point, the straight line segment on the straight line equation is obtained, which is the weld position.
[0074] The specific steps of the weld scanning and tracking processing method are as follows:
[0075] 1) Weld pre-scanning: According to the preset trajectory, the laser installed at the end of the robot first scans the laser data of a small section of the weld. The laser data is 2D point data formed in the X and Z directions. According to the robot coordinate conversion relationship, all scanned laser data are converted to the spatial 3D coordinate system. On the 3D spatial data, the above process is repeated until the laser data of the first V-shaped line segment corresponding to the weld is found, which is the starting position of the weld. In the laser data of the first V-shaped line segment, the center point position (X center ,Ycenter ,Z center ), according to the preset starting position of the laser weld scanning (X start , Y start , Z start ), the difference between the center point position and the preset starting position is calculated by the distance formula between two points in space, and the corrected position of the laser on the robot is obtained (ΔX = X start -X center ,ΔY=Y start -Y center ,ΔZ=Z start -Z center ), then adjust the laser to the corrected position and start scanning the weld after correction;
[0076] Specifically, the robot coordinate transformation relationship is as follows:
[0077]
[0078] Among them, R is the rotation matrix from the manually calibrated laser to the robot, T is the translation matrix from the manually calibrated laser to the robot, and X L and Z L The X and Z direction data are obtained for the laser data respectively. w ,Y w ,Z w It is the data corresponding to the X direction, Y direction and Z direction in 3D space; all scanned laser data are converted into the spatial 3D coordinate system.
[0079] 2) Weld scanning: repeat step 1), collect the original data of the weld according to the preset robot scanning trajectory at each laser correction position, use the robot coordinate transformation relationship in step 1), transform all the original data of the weld into 3D spatial data, establish a 3D point cloud data set Ω0, and complete the scanning process;
[0080] 3) Weld space data processing, the specific steps are as follows:
[0081] a First, the original data is preprocessed by denoising, trimming and padding; the specific steps of denoising, trimming and padding the original data are as follows:
[0082] a1 uses a median filter and sets a sliding window size of 5-10 points to filter out salt and pepper noise interference;
[0083] a2 uses a low-pass filter to convert the spatial 3D data into the frequency domain, sets the filter cutoff frequency to 1KHz, filters out the high-frequency noise in the frequency domain data, and converts it back to the spatial domain data;
[0084] a3 uses the K-means unsupervised clustering method, sets the number of categories to 3-8, performs clustering classification, retains the first three categories with the largest number of point clouds, and removes the categories with small number of point clouds;
[0085] a4 uses the nearest neighbor interpolation method and sets the sliding window size to 20-50 point clouds to fill in the missing areas.
[0086] b. Weld bead feature recognition: Based on the input weld surroundings including the number of weld scanning planes, weld groove shape, weld angle, weld depth, and weld width, RANSAC point cloud recognition is performed on the weld raw data to obtain valid weld data. The specific steps are as follows:
[0087] b1 In the overall 3D spatial data after preprocessing in step a, first, according to the weld angle, find the area in the overall 3D spatial data that meets the weld angle in the X direction along the Y direction, and according to the weld width, find the area in the overall 3D spatial data that meets the weld angle in the Z direction along the Y direction. The area intercepted in the X and Z directions is the spatial region 1 where the weld is located. According to the weld groove shape and the weld edge data information obtained by scanning, the edge of weld 2 is located in the spatial region 1 where the weld is located, and a straight line fitting is performed in the 3D space to determine the straight line equations of the two edges of weld 2, and the direction vectors ν1 and ν2 of the two weld edge straight lines are calculated. According to the direction vectors ν1 and ν2, plane fitting is performed on the planes on both sides of the weld respectively to determine two plane equations A11 and A21, and then the normal vectors ν3 and ν4 of the two plane equations A11 and A21 are calculated;
[0088] b2: along the moving direction Y of the weld scanning, set the sampling area, take the distance of 10mm in the Y-axis direction as a sampling area segment, determine the two spatial plane equations P11 and P21 in the sampling area through the plane normal vectors ν3 and ν4 on both sides of the weld, and then classify the point cloud data located in the two spatial plane equations P11 and P21 in the sampling area through the spatial distance calculation formula, and obtain the intersecting spatial straight line equation Q1 from the two spatial plane equations P11 and P21, and obtain all the point cloud data in the cylindrical space area H1 with the spatial straight line as the axis and the radius of 1.5mm, and perform a quadratic fitting straight line in the above cylindrical space area H1 through the average direction vector of v1 and v2, and obtain all the real point sets in the cylindrical space area H2 with the quadratic fitting straight line as the axis and the radius of 0.5mm, then the real point set is the center point of the bottom of all welds in the sampling area;
[0089] b3 Repeat step b2 until the Y axis traversal is completed, and the weld bottom center point data set Ω1 is obtained. The robot will track the weld according to the data set Ω1;
[0090] 4) Weld bead information reconstruction: poll the points p in the weld dataset Ω1 in sequence i ,i=1,…,end, take this point as the center point, take the set XOZ plane as the reference welding plane, and establish p i The spatial plane equation P31 in the reference welding plane is calculated, and the spatial distance between the original data and the spatial plane equation P31 is calculated to obtain all points on the spatial plane equation P31, that is, the points constitute the welding section plane Pn1; specifically, the welding section plane is the cross section of the welding plane in the original data space;
[0091] 5) Repeat step 4) and after traversing Ω1, the welding section plane Pn obtained each time i The new weld data set Ω2 is formed by repeating b2 in step 3) above to obtain the plane equations P1 on both sides of the welds. i and P2 i This constitutes the weld bead data set Ω3;
[0092] 6) Weld measurement: Take the data set Ω2 as the calculation data set, and i In the embodiment, the weld plane equation in Ω3 is used to calculate the weld depth value by the difference between the highest point and the lowest point in the plane on each side of the weld in the Z direction, and the weld width is calculated by the difference between the two end points in the X direction in the Ω2 data set, that is, the weld measurement function is completed; specifically, the specific calculation process of calculating the weld depth value by the difference between the highest point and the lowest point in the plane on each side of the weld in the Z direction is: the average value of the difference between the highest point and the lowest point in the weld plane on one side of the weld in the Z direction and the difference between the highest point and the lowest point in the weld plane on the other side in the Z direction is the weld depth.
[0093] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0094] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A welding method based on an intelligent optical perception processing system of an intelligent welding robot, characterized in that The invention comprises an industrial computer (1) for data comprehensive processing, wherein the industrial computer (1) is connected to an optical sensing device via a switch (2), wherein the optical sensing device comprises a camera positioning module (3), a single weld positioning module (7), a laser scanner (4) and a molten pool camera (5); the camera positioning module (3) is mounted on a gantry, the single weld positioning module (7) and the laser scanner (4) are mounted on a machine arm at the end of an intelligent welding robot (6), the molten pool camera (5) is mounted on the machine arm of the intelligent welding robot (6), and the industrial computer (1) is connected to the intelligent welding robot (6) via a communication network cable; the welding method comprises the following steps: 1) The camera positioning module (3) sends the image information of the target workpiece on the entire workstation captured in real time to the industrial control computer (1). The industrial control computer (1) performs image processing on the received information, identifies the positions of all surface welds on the target workpiece, and numbers and sorts each identified weld before storing it; 2) extracting the position information of a weld according to the number sequence of each weld, the intelligent welding robot (6) performs the welding task of the weld according to the initial position information of the weld, using the position information of the weld photographed in real time by a single weld positioning module (7) installed at the end of the intelligent welding robot (6), the industrial control computer (1) performs image processing on the photographed position information of the weld to determine the accurate welding trajectory of the weld, and the industrial control computer (1) transmits the accurate welding trajectory information of the weld to the intelligent welding robot (6) via a communication network cable to adjust the running trajectory in real time; 3) During the execution of the above step 2), the laser scanner (4) installed at the end of the intelligent welding robot (6) collects the position and morphological feature data of the weld in real time, and uses the weld 3D model reconstruction method and the weld scanning and tracking processing method to realize laser positioning, laser tracking and laser measurement during the welding process; the industrial control computer (1) determines the posture correction value and welding process parameter value of the intelligent welding robot (6) within a period of 30ms-50ms based on the weld position and morphological feature data collected by the laser scanner (4), and the intelligent welding robot (6) performs real-time correction of the welding posture and real-time adjustment after comparing the measured value with the welding process parameter value based on the posture correction value and welding process parameter value sent by the industrial control computer (1); 4) During the execution of the above step 2), the molten pool camera (5) installed at the end of the intelligent welding robot (6) collects the welding molten pool information through real-time video, and the industrial control computer (1) compares the welding molten pool information collected by the molten pool camera (5) with the data stored in the molten pool information database, judges the abnormal state of the molten pool, realizes online monitoring of the molten pool state, and assigns the correction parameters corresponding to the abnormal processing under the abnormal state of the molten pool to the posture correction value and process parameter value of the intelligent welding robot (6) for unexpected adjustment; 5) Repeat the above steps 2) to 4) according to the order of the weld numbers in the industrial computer (1) until all welds on the target workpiece are welded.
2. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: In the above step 1), the camera positioning module (3) includes a plurality of industrial cameras respectively distributed at the top, left, right, front and back positions of the target workpiece in three-dimensional space, the industrial cameras are structured light 3D industrial cameras or binocular industrial cameras, and the industrial cameras are connected to the industrial computer (1) via a switch (2); The camera positioning module captures contour image information of the target workpiece surface, selects image information sent by the industrial camera at any viewing angle, obtains the spatial intersection line of two planes, saves the position coordinates of the starting point and the end point corresponding to the intersection line, searches and identifies the positioning welding point for each intersection line, sorts the welds determined according to the positioning welding point, and saves the position of each weld in the memory of the industrial computer (1).
3. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: In the above step 2), the single weld positioning module (7) is an industrial camera I, and the industrial camera I is connected to the industrial computer (1) via a switch (2); The industrial control computer (1) locates the precise starting position and precise ending position of the weld in the local area based on the weld information in the local area captured in real time by the industrial camera I, generates the precise welding trajectory of the weld in the area through straight line fitting based on the precise starting position and precise ending position of the weld, and repeatedly determines the precise welding trajectory of the weld in each local area of the weld, thereby achieving real-time adjustment of the running trajectory of the intelligent welding robot (6).
4. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: In the above step 3), during the laser positioning, the intelligent welding robot (6) steps from the starting position to the ending position according to the weld trajectory corresponding to the stored label, the laser scanner (4) processes the raw data scanned in the measurement plane, and the data processing module in the industrial control computer (1) reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method to determine whether there is a weld in the measurement plane. If so, the industrial control computer (1) calculates the relative offset of the weld center in the measurement plane from the weld center position in the weld 3D model, adjusts the position of the intelligent welding robot (6) according to the relative offset, and calculates whether the tip of the welding gun has reached the weld center position in the weld 3D model. If so, the intelligent welding robot (6) waits for welding. If not, the laser positioning is repeated until the tip of the welding gun of the intelligent welding robot reaches the weld center position in the weld 3D model. During laser tracking, the intelligent welding robot (6) steps along the weld trajectory corresponding to the stored label from the starting position to the ending position, the laser scanner (4) processes the raw data scanned in the measurement plane, the data processing module in the industrial computer (1) reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method, calculates the weld center position on the constructed 3D model and stores it in the memory of the industrial computer (1), compares the current position of the intelligent welding robot (6) to see if it is the weld center position stored in the industrial computer (1), and if so, determines the correction value between the current position of the intelligent welding robot (6) and the weld center position in the 3D model through a distance calculation formula, and corrects the position of the intelligent welding robot (6) according to the correction value, and stops laser tracking when the intelligent welding robot reaches the weld end position, otherwise, repeats laser tracking until the intelligent welding robot (6) reaches the weld end position; During laser measurement, the intelligent welding robot (6) steps along the weld trajectory corresponding to the stored number from the starting position to the ending position, and the laser scanner (4) processes the raw data scanned in the measurement plane. The data processing module in the industrial control computer (1) reconstructs the weld 3D model of the raw data according to the weld scanning tracking processing method and the weld 3D model reconstruction method. The characteristic value of the welding process parameter is calculated on the reconstructed 3D weld model. The data processing module determines whether the weld ending position is reached according to the characteristic value of the welding process parameter. If so, the intelligent welding robot (6) stops welding. Otherwise, the laser measurement is repeated.
5. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 4 is characterized in that: The weld type parameters of the target workpiece are input into the industrial computer (1) and compared with the weld data collected by the laser scanner, and whether it is a weld is determined based on the comparison result; if it is a weld, the measured weld size information is converted into a process parameter value based on the welding process calculation formula, the process parameter value is matched with the process database information stored in the industrial computer (1), and a process correction value is output; if it is not a weld, data processing is performed again until the weld end position is reached and the process stops.
6. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: In the above step 4), the molten pool camera (5) is connected to the industrial computer (1) via the switch (2), and the molten pool information database is stored in the industrial computer (1); The input end of the industrial control computer (1) is connected to the output end of the keyboard, and a correction instruction is manually input through the keyboard according to the molten pool state and the measurement monitoring data. The industrial control computer (1) sends the correction instruction to the intelligent welding robot (6) through the communication network cable, and controls the intelligent welding robot (6) to perform posture correction and process correction.
7. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: The industrial computer (1) is connected to the optical sensing device via a switch (2) to realize information exchange between the optical sensing device and the industrial computer (1); the camera positioning module (3) is installed on the gantry and is used to collect type information of the target workpiece and image information of the initial position and the end position of the weld on the target workpiece; the single weld positioning module (7) and the laser scanner (4) are installed on the robot arm at the end of the intelligent welding robot (6), and the laser scanner (4) is used to collect weld morphological feature data and weld position on the target workpiece in real time, while the single weld positioning module (7) is used to capture the position image information of the weld in real time; the molten pool camera (5) is installed on the robot arm of the intelligent welding robot (6) and is used to collect image information of the molten pool; the industrial computer (1) is connected to the intelligent welding robot (6) via a communication network cable and adjusts the motion trajectory and welding posture of the intelligent welding robot (6) in real time according to the weld and molten pool data information detected by the camera positioning module (3), the single weld positioning module (7), the laser scanner (4) and the molten pool camera (5).
8. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: The camera positioning module (3) comprises a plurality of industrial cameras having a positioning function and respectively distributed at the top, left, right, front and rear positions of the target workpiece in three-dimensional space. The industrial cameras are structured light 3D industrial cameras or binocular industrial cameras. The industrial cameras are connected to an industrial control computer (1) via a switch (2). The industrial control computer (1) identifies the type of the target workpiece and the start and end positions of the weld according to the image information of the target workpiece captured by the industrial camera, and transmits the identification result to the intelligent welding robot (6) via a communication control network.
9. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1 is characterized in that: The laser scanner (4) uses a laser profiler, and the laser profiler is connected to the switch (2) via a communication network cable. The weld position and weld morphology feature data collected by the laser profiler are transmitted to the industrial control computer (1) via the switch (2) for data processing and weld position result determination. The industrial control computer (1) transmits the determined weld position result to the intelligent welding robot (6) via a communication control network.
10. The welding method based on the intelligent optical perception processing system of the intelligent welding robot according to claim 1, characterized in that: The molten pool camera (5) is connected to the switch (2) via a communication network cable, and the molten pool image data collected by the molten pool camera (5) is transmitted to the industrial control computer (1) via the switch (2) for data processing and determination of the molten pool state, and the industrial control computer (1) transmits the determination result to the intelligent welding robot (6) via the communication control network; The switch (2) is a 10 Gigabit switch, and the industrial computer (1) stores a process database.
