A large structural weld grinding robot programming method, device and system

Through three-dimensional measurement and offline programming technology, the problems of low efficiency and low accuracy in weld grinding of large structural parts are solved, and efficient and precise grinding of weld grinding robots is realized, avoiding human error and repeated calculations, and improving welds Overall efficiency and accuracy of polishing.

CN117400261BActive Publication Date: 2024-12-06HUST WUXI RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311618033.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-12-06
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

In the process of grinding welds of large structural parts, the prior art has problems of low efficiency, low accuracy and safety hazards, especially due to the large amount of data processing and human error caused by the complex shape and deformation of the welds.

Method used

Using a three-dimensional measurement system and offline programming software, a three-dimensional model of the standard workpiece and the workpiece to be polished after welds are polished is established. The robot grinding processing trajectory is generated through the three-dimensional layout model, and the offline area workpiece coordinate system is replaced with the actual area workpiece coordinate system. Update the offline robot program to avoid manual teaching and repeated calculations, and ensure that the grinding trajectory matches the length direction of the weld.

Benefits of technology

It improves the efficiency and accuracy of the weld grinding robot for large structural parts, reduces human error and data processing pressure, reduces rework rate, and shortens programming time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117400261B_ABST
    Figure CN117400261B_ABST
Patent Text Reader

Abstract

The present application relates to a programming method, device and system for a large structural weld grinding robot, which belongs to the field of robot programming, wherein the method includes: establishing a three-dimensional model of a workpiece to be ground and a three-dimensional model of a weld grinding robot system; completing the layout of the working environment of the weld grinding robot system to obtain a three-dimensional layout model; establishing a corresponding grinding process library; establishing an offline regional workpiece coordinate system for each grinding area to obtain a robot grinding processing trajectory; generating a robot offline program; obtaining conversion relationships and workpiece positioning data; establishing an actual regional workpiece coordinate system; aligning the offline regional workpiece coordinate system with the actual regional workpiece coordinate system to update the robot offline program. The present application combines offline programming and a three-dimensional measurement system, and can effectively improve the problem of low efficiency of the weld grinding robot in grinding the welds of large structural parts by only updating the workpiece coordinate system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robot programming, and in particular to a robot programming method, device and system for grinding welds of large structural parts. Background Art

[0002] Many metal workpieces in daily life, such as faucets and door handles, are mostly produced by metal welding, and welds are produced during the welding process; in order to improve the quality, strength and durability of the finished product, grinding robots are usually used to grind the welds on large structural parts. At present, some production lines for grinding welds use the method of manual teaching programming, that is, for each clamped workpiece to be polished, it is necessary to manually control the grinding robot to move along the required grinding trajectory. The grinding robot will record the grinding trajectory throughout the process and generate a robot offline program carrying the grinding trajectory. Some other production lines for grinding welds use a method of pre-setting a robot offline program carrying a grinding trajectory and updating the robot offline program through a visual detection device, that is, obtaining the error matrix of the workpiece to be polished in the clamped state through a visual detection device, and recalculating the trajectory points on the grinding trajectory based on the error matrix, thereby generating a new robot offline program carrying an updated grinding trajectory.

[0003] However, when the above two types of grinding robots are applied to large structural parts, such as the frame parts used for turning rail transit trains, the following problems will occur. Large structural parts are usually produced by welding processes. Their structures are large in size and relatively complex in shape. After welding, there will be many welds in different directions on their surfaces, and these welds will produce different degrees of welding deformation during the welding process. Grinding it by manual teaching programming not only relies on the operator's experience and is prone to human errors, but also has certain safety issues. Once improperly operated, it may cause damage to the grinding robot or the operator; and the method of pre-setting the grinding trajectory and updating the grinding trajectory through a visual inspection device requires calculating the error matrix of each weld on the workpiece to be polished in the clamping state, and recalculating the trajectory points on the grinding trajectory corresponding to each weld according to these error matrices to reprogram a new robot offline program. However, due to the large number of welds, this method will cause a huge amount of data processing when calculating these updated trajectory points, and this method only considers the error of the workpiece to be polished during clamping and positioning, and does not consider the different deformations of the weld during the welding process, which makes the grinding accuracy low, resulting in the need for further finishing and improvement of the weld grinding work, and even rework is required when the weld deformation is large, thereby extending the grinding working time; all of the above lead to the low grinding efficiency of the grinding robot when grinding the welds of large structural parts. Summary of the invention

[0004] In order to improve the problem of low efficiency of grinding robots in grinding welds of large structural parts, the present application provides a robot programming method, robot programming equipment and system applied to large structural parts.

[0005] In the first aspect, the present application provides a large structural weld grinding robot programming method, equipment and system, which adopts the following technical solutions:

[0006] A large-scale structural weld grinding robot programming method, the large-scale structural weld grinding robot programming method is based on a weld grinding robot system, the weld grinding robot system includes a three-dimensional measurement system and a robot; the large-scale structural weld grinding robot programming method includes:

[0007] Establishing a three-dimensional model of a standard workpiece after weld grinding, a three-dimensional model of a workpiece to be grinded, and a three-dimensional model of a weld grinding robot system by using three-dimensional software, wherein the workpiece to be grinded has a plurality of grinding areas;

[0008] Based on the three-dimensional model of the workpiece to be polished and the three-dimensional model of the weld polishing robot system, the layout of the working environment of the weld polishing robot system is completed on the three-dimensional software to obtain a three-dimensional layout model;

[0009] Establishing a corresponding grinding process library according to the features to be ground in each grinding area of ​​the workpiece to be ground, wherein the grinding process library includes grinding tools, grinding angles, grinding directions, grinding speeds, and grinding feed rates;

[0010] Importing the three-dimensional layout model and the three-dimensional model of the standard workpiece into an offline programming software, establishing an offline regional workpiece coordinate system for each of the grinding regions in the offline programming software, and obtaining a robot grinding processing trajectory based on the offline regional workpiece coordinate system;

[0011] Generate a robot offline program according to the robot grinding process trajectory and the grinding process library, wherein the robot offline program carries the offline area workpiece coordinate system;

[0012] Acquire a conversion relationship between an end-tool coordinate system of the robot installed in the three-dimensional measurement system and a measurement system coordinate system of the three-dimensional measurement system;

[0013] Acquire workpiece positioning data of the installed workpiece to be polished obtained by scanning measurement by the three-dimensional measurement system, wherein the workpiece positioning data includes regional positioning data;

[0014] Establishing an actual regional workpiece coordinate system of each of the polishing regions of the installed workpiece to be polished according to the regional positioning data and the conversion relationship;

[0015] The offline area workpiece coordinate system is aligned with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program.

[0016] By adopting the above technical solution, it is only necessary to replace the offline area workpiece coordinate system in the robot's offline program with the actual area workpiece coordinate system to match the grinding processing trajectory of the grinding robot with the length direction of the weld on the installed workpiece to be ground to a certain extent; compared with the method of programming through manual teaching, this programming method no longer relies on the operator's experience, can avoid human errors, and also avoids the safety issues of manual teaching, that is, it avoids damage to the operator and the grinding robot due to mistakes during the teaching process; compared with the method of pre-setting the grinding trajectory and updating the grinding trajectory through a visual detection device, this programming method does not need to update the grinding processing trajectory by recalculating the coordinate data of each trajectory point on the grinding processing trajectory, that is, no reprogramming is required, which avoids a lot of tedious calculations, reduces the pressure of data processing, and greatly reduces the requirements of the grinding robot for clamping and fixing the workpiece to be ground, effectively improving the problem of low efficiency of the weld grinding robot in grinding the welds of large structural parts.

[0017] In a specific implementation scheme, before obtaining the robot grinding machining trajectory based on the offline area workpiece coordinate system, the method further includes:

[0018] A global workpiece coordinate system is established on the three-dimensional model of the three-dimensional measurement system of the weld grinding robot system through the offline programming software. The global workpiece coordinate system is a reference for the three-dimensional measurement system to guide the robot to move from a starting position to the workpiece to be ground according to the robot grinding processing trajectory.

[0019] By adopting the above technical solution, a global workpiece coordinate system is established on the 3D model of the 3D measurement software. The global workpiece coordinate system is a rough reference for the robot's vision-guided positioning. Through the global workpiece coordinate system, the 3D measurement system can guide the robot to quickly reach the workpiece to be polished so that the subsequent polishing work can be started on each polishing area.

[0020] In a specific implementation scheme, before obtaining the robot grinding machining trajectory based on the offline area workpiece coordinate system, the method further includes:

[0021] Dividing each of the polishing areas into a plurality of polishing sub-areas;

[0022] An offline sub-region workpiece coordinate system corresponding to each of the grinding sub-regions is established on the three-dimensional model of the three-dimensional measurement system of the weld grinding robot system by the offline programming software, wherein the offline sub-region workpiece coordinate system is a reference for the three-dimensional measurement system to guide the robot to perform grinding work in each of the grinding sub-regions according to the length direction of the deformed weld according to the robot grinding processing trajectory;

[0023] The robot grinding processing trajectory obtained based on the offline area workpiece coordinate system specifically includes:

[0024] A robot grinding processing trajectory is obtained based on the offline area workpiece coordinate system, the global workpiece coordinate system and the offline sub-area workpiece coordinate system.

[0025] By adopting the above technical scheme, since the workpiece to be polished will produce a certain degree of deformation during the welding process, there will be a slight difference between the weld on the surface of the workpiece to be polished and the weld on the established three-dimensional model of the workpiece to be polished. Therefore, each polishing area is divided into several polishing sub-areas, and an offline sub-area workpiece coordinate system is established for each polishing sub-area, which helps the three-dimensional measurement system to guide the robot to perform polishing work in each polishing sub-area according to the length direction of the deformed weld. Through the actual sub-area workpiece coordinate system of each polishing area, the robot's polishing processing trajectory is matched with the actual length direction of the weld; the problem that the weld will be deformed during the welding process is taken into consideration, and the accuracy of polishing through the programming method of the large structural weld polishing robot is greatly improved.

[0026] In a specific implementation scheme, the step of aligning the offline area workpiece coordinate system with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program specifically includes:

[0027] Determine whether the offline area workpiece coordinate system is consistent with the actual area workpiece coordinate system;

[0028] If the judgment result is consistent, the offline area workpiece coordinate system carried by the robot offline program is kept unchanged;

[0029] If the judgment result is inconsistent, the offline area workpiece coordinate system carried by the robot offline program is updated to the actual area workpiece coordinate system.

[0030] In a specific implementation scheme, the robot offline program also carries the offline sub-area workpiece coordinate system and the global workpiece coordinate system; the workpiece positioning data also includes sub-area positioning data; the step of aligning the offline area workpiece coordinate system with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program also includes:

[0031] Establishing an actual sub-region workpiece coordinate system of each of the polishing sub-regions of the installed workpiece to be polished according to the sub-region positioning data and the conversion relationship;

[0032] The offline sub-region workpiece coordinate system carried by the robot offline program is updated to the actual sub-region workpiece coordinate system of the installed workpiece to be polished.

[0033] By adopting the above technical scheme, when there is an offset error between the installed weld grinding robot system and the workpiece to be ground and the designed three-dimensional layout model, or when the relative position between the robot's end tool and the workpiece to be ground changes after the workpiece to be ground is replaced and clamped, the offline area workpiece coordinate system carried by the robot's offline program is replaced with the actual area workpiece coordinate system, and the offline sub-area workpiece coordinate system carried by the robot's offline program is replaced with the actual sub-area workpiece coordinate system to complete the update of the robot's offline program. Reprogramming is no longer required, but only the workpiece coordinate system carried by the robot's offline program needs to be replaced, so that the grinding processing trajectory can be kept consistent with the length direction of the weld of each grinding sub-area on the actual workpiece to be ground, which greatly shortens the programming time and greatly improves the efficiency of the weld grinding robot in grinding the welds of large structural parts.

[0034] In a specific implementation scheme, the step of establishing the actual regional workpiece coordinate system of each of the grinding regions of the installed workpiece to be ground according to the regional positioning data and the conversion relationship specifically includes:

[0035] Using the three-dimensional model of the standard workpiece to perform three-dimensional template matching on each of the grinding areas of the workpiece to be ground in the three-dimensional layout model, to obtain a number of typical feature points in each of the grinding areas;

[0036] An actual regional workpiece coordinate system of each of the grinding regions of the installed workpiece to be ground is established according to the typical feature points, the regional positioning data and the conversion relationship.

[0037] In a second aspect, the present application provides a robot programming system for large structural parts, which adopts the following technical solution:

[0038] A robot programming device comprises a memory and a processor, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the above method.

[0039] In a third aspect, the present application provides a robot programming device for large structural parts, which adopts the following technical solution:

[0040] A weld grinding robot system, comprising a robot, a three-dimensional measurement system, and the robot programming device mentioned above;

[0041] The robot is used to perform grinding work on the workpiece to be ground;

[0042] The three-dimensional measurement system is used to collect the measurement data of the weld of the workpiece to be ground in real time when the robot is performing the grinding work;

[0043] The robot programming device is in communication connection with the robot and the three-dimensional measurement system, and is used for acquiring the measurement data collected by the three-dimensional measurement system and controlling the robot to perform or stop grinding work according to the measurement data.

[0044] In summary, the present application includes at least one of the following beneficial technical effects:

[0045] 1. This application only requires replacing the offline area workpiece coordinate system in the robot's offline program with the actual area workpiece coordinate system to a certain extent so that the grinding processing trajectory of the grinding robot can match the length direction of the weld on the installed workpiece to be ground; it no longer relies on the operator's experience and can avoid human errors and safety issues of manual teaching.

[0046] 2. This application does not require reprogramming due to position errors caused by clamping and fixing the workpiece to be polished, thereby avoiding a large number of tedious calculations, reducing the pressure of data processing, and greatly reducing the requirements of the polishing robot for clamping and fixing the workpiece to be polished;

[0047] 3. The present application takes into account the problem of deformation of the weld during the welding process. Through the actual area workpiece coordinate system and the actual sub-area workpiece coordinate system of each grinding area, the robot grinding processing trajectory is matched with the actual length direction of the weld, thereby greatly improving the efficiency of the weld grinding robot in grinding the welds of large structural parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a structural schematic diagram of a weld grinding robot system according to an embodiment of the present application.

[0049] Figure 2 It is a flow chart of a programming method for a large structural component weld grinding robot according to another embodiment of the present application.

[0050] Figure 3 It is a schematic diagram for reflecting the relationship between the actual area workpiece coordinate system and the offline area workpiece coordinate system according to another embodiment of the present application.

[0051] Figure 4 It is a schematic diagram of another embodiment of the present application for reflecting the relationship between the actual sub-area workpiece coordinate system and the offline sub-area workpiece coordinate system.

[0052] Description of the accompanying drawings: 100, robot; 200, three-dimensional measurement system; 300, robot programming device; 310, memory; 320, processor. DETAILED DESCRIPTION

[0053] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0054] One embodiment of the present application discloses a weld grinding robot system. Figure 1 The weld grinding robot system includes a robot 100, a three-dimensional measurement system 200, and a robot programming device 300, and the robot programming device 300 includes a memory 310 and a processor 320. The robot 100 is used to grind the workpiece to be ground using its end tool; the three-dimensional measurement system 200 is used to collect the measurement data of the weld of the current workpiece to be ground in real time when the robot 100 is grinding; the robot programming device 300 is connected to the robot 100 and the three-dimensional measurement system 200 in communication; the robot programming device 300 is used to obtain the measurement data in the three-dimensional measurement system 200 and control the robot 100 to perform or stop the grinding work according to the measurement data. The memory 310 is used to store at least one instruction, at least one program, code set or instruction set; the processor 320 performs the following steps of the large structural weld grinding robot programming method when running at least one instruction, at least one program, code set or instruction set.

[0055] The following is a detailed description of the implementation of a large structural weld grinding robot programming method in conjunction with the weld grinding robot system:

[0056] Reference Figure 2 Another embodiment of the present application discloses a large structural component weld grinding robot programming method, comprising:

[0057] S10, establishing a three-dimensional model of the standard workpiece after weld grinding, a three-dimensional model of the workpiece to be ground, and a three-dimensional model of the weld grinding robot system by using three-dimensional software;

[0058] The workpiece to be polished has a plurality of polishing areas, and each weld corresponds to a polishing area; the standard workpiece is the standard shape of the workpiece to be polished after each weld is polished;

[0059] S20, completing the layout of the working environment of the weld grinding robot system on a three-dimensional software based on the three-dimensional model of the workpiece to be ground and the three-dimensional model of the weld grinding robot system to obtain a three-dimensional layout model;

[0060] The three-dimensional layout model is a three-dimensional solid model of a weld grinding robot system designed and laid out, and the weld grinding robot system includes a robot 100, a three-dimensional measurement system 200, a robot programming device 300, a quick-change mechanism, a grinding tool, a workpiece turntable, and a ground rail. The quick-change mechanism is used to replace the end tool of the robot 100; the workpiece turntable is used to clamp and position the workpiece to be polished, and adjust the position and posture of the workpiece to be polished; the ground rail is used to expand the motion space range of the robot 100. And the relative positions of the various components in the three-dimensional solid model designed and laid out in S20 are fixed.

[0061] It should be noted that all three-dimensional models in S10 and S20 are saved in step, igs, stl or x_t formats. Specifically, the robot programming device 300 accurately models the standard workpiece and each component in the grinding robot 100 system through three-dimensional design software such as Solidworks, UG or ProE, and completes the layout according to the actual size, shape, function and motion logic of each component in the weld grinding robot system.

[0062] S30, establishing a corresponding grinding process library according to the features to be ground in each grinding area of ​​the workpiece to be ground;

[0063] Specifically, S30 includes:

[0064] S31, establishing a three-dimensional model library according to each grinding area of ​​the workpiece to be ground;

[0065] S32, establishing a corresponding polishing process library according to the features to be polished in each polishing area in the three-dimensional model library;

[0066] Among them, the 3D model library includes all the grinding areas of the workpiece to be ground, the features that need to be ground refer to the weld's excess height, size, shape, etc., and the grinding process library includes grinding tools, grinding angles, grinding directions, grinding speeds, and grinding feeds, etc. For example, the weld's excess height that needs to be ground in a certain grinding area is 10 mm, 1 meter long, and is a straight line as a whole. Then the grinding process library corresponding to the grinding area is an angle grinder, the angle grinder is parallel to the weld surface, the direction is consistent with the weld rib direction, 500 revolutions per minute, and the grinding feed is 0.6 mm per revolution.

[0067] S40, importing the three-dimensional layout model and the three-dimensional model of the standard workpiece into an offline programming software, establishing an offline regional workpiece coordinate system for each grinding area in the offline programming software, and obtaining a robot grinding processing trajectory based on the offline regional workpiece coordinate system;

[0068] Specifically, establishing the offline area workpiece coordinate system of each grinding area in S40 includes:

[0069] S41, performing 3D template matching on the 3D model of the standard workpiece and the 3D model of the workpiece to be polished in the 3D layout model to obtain a number of typical feature points in each polishing area;

[0070] Among them, the three-dimensional template matching is a method of finding a target model similar to the three-dimensional model of the standard workpiece by inputting the three-dimensional model of a standard workpiece into the current three-dimensional layout model. The target model in this embodiment is the three-dimensional model of the workpiece to be polished in the three-dimensional layout model. Three-dimensional template matching is a prior art and will not be described in detail here. After obtaining the position of the three-dimensional model of the workpiece to be polished in the three-dimensional layout model, the three-dimensional model of the workpiece to be polished established in S10 and the three-dimensional model of the workpiece to be polished in the three-dimensional layout model are processed into point clouds to obtain the three-dimensional point cloud data corresponding to each polishing area of ​​the two, and then the same three-dimensional point cloud in each polishing area between the two is obtained by comparison and used as the typical feature point of each polishing area.

[0071] S42, establishing an offline area workpiece coordinate system according to typical feature points in each grinding area;

[0072] The offline area workpiece coordinate system is the reference for the three-dimensional measurement system 200 to guide the robot 100 to perform grinding work in each grinding area according to the length direction of the weld. The typical feature points of this embodiment are three non-collinear three-dimensional point clouds as an example, and the positions of the three typical feature points in each grinding area are determined and the relative positions in each grinding area are consistent. Specifically, the three-point calibration method is used to establish the offline area workpiece coordinate system, that is, the three typical feature points in each grinding area are respectively used as the origin, the point on the x-axis and the point on the xOy plane to establish the offline area workpiece coordinate system X离线区域 O 离线区域 Y 离线区域 .

[0073] In order to enable the robot 100 to reach the position of the workpiece to be polished more quickly to start the polishing work, before obtaining the robot polishing processing trajectory based on the offline area workpiece coordinate system in S40, the following steps are also included:

[0074] S43, establishing a global workpiece coordinate system on the three-dimensional model of the three-dimensional measurement system 200 of the weld grinding robot system through offline programming software;

[0075] The global workpiece coordinate system is the reference for the three-dimensional measurement system 200 to guide the robot 100 to move from the starting position to the workpiece to be polished; the global workpiece coordinate system is established with the location of the three-dimensional measurement system 200 as the origin, the direction from the three-dimensional measurement system 200 to the workpiece to be polished as the x-axis, and the horizontal plane as the xy plane. 全局 O 全局 Y 全局 For example.

[0076] S44, dividing each polishing area into a plurality of polishing sub-areas;

[0077] S45, establishing an offline sub-region workpiece coordinate system corresponding to each grinding sub-region on the three-dimensional model of the three-dimensional measurement system 200 of the weld grinding robot system through the offline programming software;

[0078] The offline sub-area workpiece coordinate system is a reference for the three-dimensional measurement system 200 to guide the robot 100 to perform grinding work in each grinding sub-area according to the length direction of the deformed weld, which helps the robot 100 to complete the grinding of the deformed weld more accurately. Specifically, the method for establishing the offline sub-area workpiece coordinate system is as follows:

[0079] S46, performing three-dimensional template matching on the three-dimensional model of the workpiece to be polished established in S10 and the three-dimensional model of the workpiece to be polished in the three-dimensional layout model to obtain a number of key feature points in each polishing sub-area;

[0080] Among them, after obtaining the position of each grinding sub-area of ​​the workpiece to be polished in the three-dimensional layout model, the three-dimensional model of the workpiece to be polished established in S10 and the three-dimensional model of the workpiece to be polished in the three-dimensional layout model are point clouded to obtain the three-dimensional point cloud data of each grinding sub-area corresponding to the two, and then the same three-dimensional point cloud in each grinding sub-area between the two is obtained by comparison and used as the key feature point of each grinding sub-area.

[0081] S47, establishing an offline sub-region workpiece coordinate system according to key feature points in each grinding sub-region;

[0082] Among them, the key feature points of this embodiment are taken as three non-collinear three-dimensional point clouds, and the positions of the three key feature points in each grinding sub-area are determined and the relative positions in each grinding sub-area are consistent. Specifically, the three-point calibration method is used to establish the offline sub-area workpiece coordinate system, that is, the three key feature points in each grinding sub-area are respectively used as the origin O, the point on the x-axis and the point on the xy plane to establish the offline sub-area workpiece coordinate system X 离线子区域 O 离线子区域 Y 离线子区域 .

[0083] In order to enable the subsequent S90 to update the offline area workpiece coordinate system and the offline sub-area workpiece coordinate system carried by the robot offline program obtained based on the robot grinding processing trajectory, and the robot 100 can come to the workpiece to be polished according to the global workpiece coordinate system established in S43, the robot grinding processing trajectory obtained based on the offline area workpiece coordinate system in S40 specifically includes:

[0084] The robot grinding machining trajectory is obtained based on the offline area workpiece coordinate system, the global workpiece coordinate system and the offline sub-area workpiece coordinate system.

[0085] Among them, the robot grinding process trajectory is obtained through a kinematic model, and the kinematic model is a model used for planning trajectories in the field of robotics, which is a prior art and will not be described in detail here. After obtaining the robot grinding process trajectory, a simulation test will be performed on the robot grinding process trajectory, that is, the process of simulating the robot 100 to perform grinding work according to the robot grinding process trajectory in the offline programming software, and in this process, it is judged whether there is any target point in the test trajectory that is unreachable or any two components collide with each other; if none of the above situations exist, then it is judged whether there is an interference problem. The interference problem of this embodiment refers to errors such as collisions and singular points, wherein singular points refer to the robot 100 losing certain degrees of freedom at certain positions, resulting in failure to work normally, and collisions refer to the robot 100 hitting anything that should not be touched during the grinding work, resulting in more or less damage; if none of the above problems exist, it is considered to have passed the simulation test.

[0086] S50, generating a robot offline program according to the robot grinding process trajectory and the grinding process library;

[0087] The robot offline program carries the offline area workpiece coordinate system, the offline sub-area workpiece coordinate system and the global workpiece coordinate system. Specifically, the step of S50 can be implemented in offline programming software such as ABB, KUKA, Fanuc, Yaskawa, Staubli, etc. Generating the robot offline program according to the grinding process trajectory and the grinding process library is a prior art and will not be described in detail here.

[0088] S60, obtaining a conversion relationship between an end tool coordinate system of the installed robot 100 in the three-dimensional measurement system 200 and a measurement system coordinate system of the three-dimensional measurement system 200;

[0089] Among them, the three-dimensional measurement system 200 of this embodiment can be installed above the end tool of the robot 100 or on a preset fixed bracket, so that the positions of the measurement system coordinate system of the three-dimensional measurement system 200 and the end tool coordinate system of the robot 100 are relatively unchanged; the calibration method adopted in this embodiment is hand-eye calibration, which is actually to let the end tool of the robot 100 know the position of the current workpiece to be polished scanned and measured by the three-dimensional measurement system 200 relative to the end tool, that is, to establish a conversion relationship between the measurement system coordinate system of the three-dimensional measurement system 200 and the end tool coordinate system of the robot 100; obtaining the conversion relationship between the coordinate systems through hand-eye calibration is a prior art and will not be repeated here.

[0090] S70, obtaining workpiece positioning data of the installed workpiece to be polished obtained by the three-dimensional measurement system 200 through scanning measurement;

[0091] Among them, the workpiece positioning data includes regional positioning data and sub-region positioning data; the regional positioning data refers to the position of each grinding area of ​​the installed workpiece to be polished relative to the three-dimensional measurement system 200; the sub-region positioning data refers to the position of each grinding sub-region of the installed workpiece to be polished relative to the three-dimensional measurement system 200.

[0092] S80, establishing an actual regional workpiece coordinate system of each grinding area of ​​the installed workpiece to be ground according to the regional positioning data and the conversion relationship;

[0093] The method for establishing the actual area workpiece coordinate system is the same as the method for establishing the offline area workpiece coordinate system in S40. 实际区域 O 实际区域 Y 实际区域 For example; specifically, S80 also includes:

[0094] Establishing an actual sub-region workpiece coordinate system of each grinding sub-region of the installed workpiece to be ground according to the sub-region positioning data and the conversion relationship;

[0095] The method for establishing the actual sub-region workpiece coordinate system is the same as the method for establishing the offline sub-region workpiece coordinate system in S45. 实际子区域 O 实际子区域 Y 实际子区域For example; through the sub-area positioning data, area positioning data and conversion relationship in S70, it is possible to obtain the position of each grinding area and each grinding sub-area of ​​the installed workpiece to be ground relative to the end tool of the robot 100.

[0096] S90, aligning the offline area workpiece coordinate system with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program;

[0097] Specifically, S90 includes:

[0098] S91, determining whether the workpiece coordinate system in the offline area is consistent with the workpiece coordinate system in the actual area;

[0099] Specifically, the GSP software is used to determine whether the coordinate system of the workpiece in the offline area is consistent with the coordinate system of the workpiece in the actual area. The principle is that if the relative relationship between the two sets of coordinate systems is consistent, there is only a relationship between them in translation, rotation and scaling. At this time, the two sets of coordinate systems are converted and calculated to obtain their respective coordinates and compare their residual sizes. If the residual is smaller than the preset threshold, the two sets of coordinate systems are consistent; if the residual is larger than the preset threshold, the two sets of coordinate systems are inconsistent. Using the GSP software to determine whether the coordinate system is consistent is a prior art and will not be repeated here.

[0100] S92, if the judgment result is inconsistent, updating the offline area workpiece coordinate system carried by the robot offline program to the actual area workpiece coordinate system;

[0101] Among them, refer to Figure 3 The updating process is to keep the position of the robot grinding processing trajectory in the offline area workpiece coordinate system unchanged, and replace the offline area workpiece coordinate system with the actual area workpiece coordinate system, so that the robot grinding processing trajectory is roughly coincident with the weld on the workpiece to be ground.

[0102] S93, if the judgment result is consistent, the offline area workpiece coordinate system carried by the robot offline program is kept unchanged.

[0103] In addition, the S90 includes:

[0104] S94, updating the offline sub-area workpiece coordinate system carried by the robot offline program to the actual sub-area workpiece coordinate system of the installed workpiece to be polished.

[0105] Among them, refer to Figure 4 The updating process is to keep the position of the robot grinding processing trajectory in the offline sub-area workpiece coordinate system unchanged, and replace the offline sub-workpiece coordinate system with the actual sub-workpiece coordinate system, so that the robot grinding processing trajectory and the deformed weld on the workpiece to be ground can be more accurately coincided.

[0106] It should be noted that, in this embodiment, the three-dimensional measurement system 200 is in communication connection with the robot 100. When the robot 100 grinds the large structural part according to the updated robot offline program, the three-dimensional measurement system 200 will collect the measurement data of the weld in the current grinding area in real time and control the robot 100 to end the grinding work when the measurement data meets the stop condition.

[0107] The measurement data includes the residual data of the weld of the current workpiece to be polished and the residual height data of the weld in the current polishing area; when the residual data is 0, it is considered that the stop condition is met, and the robot 100 is controlled to end the polishing work; when the residual height data is within a preset accuracy threshold range, the robot 100 is controlled to go to the next polishing area to continue the polishing work on the current workpiece to be polished. The accuracy threshold range of this embodiment is 0-3 mm. All coordinate systems in this embodiment are Cartesian space rectangular coordinate systems.

[0108] Based on the same inventive concept mentioned above, another embodiment of the present application discloses a robot programming device applied to large structural parts, the robot programming device includes a memory and a processor, the storage medium stores at least one instruction, at least one program, code set or instruction set, at least one instruction, at least one program, code set or instruction set can be loaded and executed by the processor to implement the large structural part weld grinding robot programming method provided in the above method embodiment.

[0109] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0110] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by a program to instruct related hardware. The program can be stored in a computer-readable storage medium. The above-mentioned storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0111] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A programming method for a large structural weld grinding robot, characterized in that: The large-scale structural component weld seam grinding robot programming method is based on a weld seam grinding robot system, wherein the weld seam grinding robot system comprises a three-dimensional measurement system (200) and a robot (100); the large-scale structural component weld seam grinding robot programming method comprises: Establishing a three-dimensional model of a standard workpiece after weld grinding, a three-dimensional model of a workpiece to be grinded, and a three-dimensional model of a weld grinding robot system by using three-dimensional software, wherein the workpiece to be grinded has a plurality of grinding areas; Based on the three-dimensional model of the workpiece to be polished and the three-dimensional model of the weld polishing robot system, the layout of the working environment of the weld polishing robot system is completed on the three-dimensional software to obtain a three-dimensional layout model; Establishing a corresponding grinding process library according to the features to be ground in each grinding area of ​​the workpiece to be ground, wherein the grinding process library includes grinding tools, grinding angles, grinding directions, grinding speeds, and grinding feed rates; Importing the three-dimensional layout model and the three-dimensional model of the standard workpiece into an offline programming software, establishing an offline regional workpiece coordinate system for each of the grinding regions in the offline programming software, and obtaining a robot grinding processing trajectory based on the offline regional workpiece coordinate system; Generate a robot offline program according to the robot grinding process trajectory and the grinding process library, wherein the robot offline program carries the offline area workpiece coordinate system; Acquiring a conversion relationship between an end tool coordinate system of the robot (100) installed in the three-dimensional measurement system (200) and a measurement system coordinate system of the three-dimensional measurement system (200); Acquiring workpiece positioning data of the installed workpiece to be polished obtained by scanning measurement of the three-dimensional measurement system (200), wherein the workpiece positioning data includes regional positioning data; Establishing an actual regional workpiece coordinate system of each of the polishing regions of the installed workpiece to be polished according to the regional positioning data and the conversion relationship; The offline area workpiece coordinate system is aligned with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program.

2. The method according to claim 1, characterized in that Before obtaining the robot grinding processing trajectory based on the offline area workpiece coordinate system, the method further includes: A global workpiece coordinate system is established on the three-dimensional model of the three-dimensional measurement system (200) of the weld grinding robot system through the off-line programming software, and the global workpiece coordinate system is a reference for the three-dimensional measurement system (200) to guide the robot (100) to move from a starting position to the workpiece to be ground according to the robot grinding processing trajectory.

3. The method according to claim 2, characterized in that Before obtaining the robot grinding processing trajectory based on the offline area workpiece coordinate system, the method further includes: Dividing each of the polishing areas into a plurality of polishing sub-areas; An offline sub-region workpiece coordinate system corresponding to each of the grinding sub-regions is established on the three-dimensional model of the three-dimensional measurement system (200) of the weld grinding robot system by means of the offline programming software, wherein the offline sub-region workpiece coordinate system is a reference for the three-dimensional measurement system (200) to guide the robot (100) to perform grinding work in each of the grinding sub-regions according to the length direction of the deformed weld according to the robot grinding processing trajectory; The robot grinding processing trajectory obtained based on the offline area workpiece coordinate system specifically includes: A robot grinding processing trajectory is obtained based on the offline area workpiece coordinate system, the global workpiece coordinate system and the offline sub-area workpiece coordinate system.

4. The method according to claim 3, characterized in that The step of aligning the offline area workpiece coordinate system with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program specifically includes: Determine whether the offline area workpiece coordinate system is consistent with the actual area workpiece coordinate system; If the judgment result is consistent, the offline area workpiece coordinate system carried by the robot offline program is kept unchanged; If the judgment result is inconsistent, the offline area workpiece coordinate system carried by the robot offline program is updated to the actual area workpiece coordinate system.

5. The method according to claim 3, characterized in that: The robot offline program also carries the offline sub-area workpiece coordinate system and the global workpiece coordinate system; the workpiece positioning data also includes sub-area positioning data; the step of aligning the offline area workpiece coordinate system with the actual area workpiece coordinate system to update the offline area workpiece coordinate system carried by the robot offline program also includes: Establishing an actual sub-region workpiece coordinate system of each of the polishing sub-regions of the installed workpiece to be polished according to the sub-region positioning data and the conversion relationship; The offline sub-region workpiece coordinate system carried by the robot offline program is updated to the actual sub-region workpiece coordinate system of the installed workpiece to be polished.

6. The method according to claim 1, characterized in that The step of establishing the actual regional workpiece coordinate system of each of the grinding regions of the installed workpiece to be ground according to the regional positioning data and the conversion relationship specifically includes: Using the three-dimensional model of the standard workpiece to perform three-dimensional template matching on each of the grinding areas of the workpiece to be ground in the three-dimensional layout model, to obtain a number of typical feature points in each of the grinding areas; An actual regional workpiece coordinate system of each of the grinding regions of the installed workpiece to be ground is established according to the typical feature points, the regional positioning data and the conversion relationship.

7. A robot programming device, characterized in that: It comprises a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the method according to any one of claims 1 to 6.

8. A weld grinding robot system, characterized in that: It comprises a robot (100), a three-dimensional measurement system (200), and a robot programming device (300) as claimed in claim 7; The robot (100) is used to perform grinding work on a workpiece to be ground; The three-dimensional measurement system (200) is used to collect measurement data of the weld of the workpiece to be ground in real time when the robot (100) is performing a grinding operation; The robot programming device (300) is communicatively connected to the robot (100) and the three-dimensional measurement system (200), and the robot programming device (300) is used to obtain the measurement data collected by the three-dimensional measurement system (200) and control the robot (100) to perform or stop grinding work according to the measurement data.