CN112091967A - Off-line programming batch correction method for welding robot track - Google Patents
Off-line programming batch correction method for welding robot track Download PDFInfo
- Publication number
- CN112091967A CN112091967A CN202010731056.XA CN202010731056A CN112091967A CN 112091967 A CN112091967 A CN 112091967A CN 202010731056 A CN202010731056 A CN 202010731056A CN 112091967 A CN112091967 A CN 112091967A
- Authority
- CN
- China
- Prior art keywords
- file
- correction
- program
- row
- track
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012937 correction Methods 0.000 title claims abstract description 44
- 238000003466 welding Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000003491 array Methods 0.000 claims description 28
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 230000007547 defect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 239000011324 bead Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B23—MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
- B23K—SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- B23K37/00—Auxiliary devices or processes, not specially adapted to a procedure covered by only one of the preceding main groups
- B23K37/02—Carriages for supporting the welding or cutting element
- B23K37/0252—Steering means
Abstract
The invention discloses a welding robot track offline programming batch correction method, which comprises the following steps: the method comprises the steps of firstly, designing and generating a reference track for robot welding, backing up a program file, secondly, manually correcting the reference track on a workpiece on line, and storing the corrected program file, thirdly, comparing the program files of the first step and the second step by adopting a correction program module for the robot welding track, calculating the correction quantity of each program step, storing the correction quantity as a correction file, and fourthly, calling the correction file to perform batch correction on all tracks when the robot welding track is programmed off line. By adopting the method, the welding robot track can be corrected in batch by off-line programming only by one-time operation on the actual workpiece, the correction efficiency of the multilayer multi-path welding track can be greatly improved, and the on-site debugging time of the welding robot track is reduced.
Description
Technical Field
The invention relates to the technical field of robot welding, in particular to a welding robot track off-line programming batch correction method.
Background
Currently, when a welding robot is used for off-line programming of a welding track, due to various complex reasons, a certain deviation exists between an actual running track and a programming track, as shown in fig. 1. Some welding conditions are sensitive to welding track deviation, and the deviation can cause poor weld bead overlapping and affect the welding quality. To solve the problem, the traditional processing method directly carries out manual online correction on the welding track by taking a workpiece as a reference. The defects that firstly, each path needs to be manually corrected during multi-layer and multi-path welding, and the programming efficiency is extremely low; and secondly, after off-line programming is carried out again each time, the track needs to be corrected again.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an off-line programming batch correction method for the track of a welding robot.
The technical scheme adopted by the invention is a welding robot track offline programming batch correction method, which comprises the following steps:
firstly, designing and generating a reference track for robot welding, backing up a program file,
secondly, manually correcting the reference track on the workpiece on line, storing the corrected program file,
thirdly, comparing the program files of the first step and the second step by adopting a correction program module of the welding track of the robot, calculating the correction amount of each program step point, storing the correction amount as a correction file,
and fourthly, calling a correction file to perform batch correction on all the tracks when the welding tracks of the robot are programmed off line.
Furthermore, the program module for correcting the welding track of the robot in the third step comprises a main program module, wherein the main program module comprises a file reading subprogram module, a comparison and search subprogram module and a calculation and generation subprogram module.
Further, the file reading subprogram module comprises the following steps: and opening an original file program file and a modified file program according to the paths of the track files before and after modification input by the program interface, reading corresponding data of each step point, closing the program file, and caching the data of each step point of the program file in an array A and an array B according to the step point format.
Further, the comparison and search subprogram module comprises the following steps: firstly, executing a step 3.1, respectively reading first row data from the arrays A and B, comparing the data in the arrays A and B by the first row, entering a step 3.2, judging whether the data are the same, if so, entering a step 3.4, storing blank spaces in the arrays C and D, if not, entering a step 3.3, respectively storing the row data in the arrays C and D, entering a step 3.6, judging whether the row is the last row of the arrays A and B, and if not, entering a step 3.5, comparing the next row; if yes, entering step 3.7, reading first row data of the arrays C and D, separating the compared arrays C and D row by row, entering step 3.8, judging whether the row head character of the row of data is XYZ, if yes, entering step 3.9, separating the X, Y and Z coordinates of the step point before and after correction from the row, and respectively storing the X, Y and Z coordinates in the arrays E and F; if not, skipping, entering step 3.10, judging whether the line is the last line, if yes, entering step 3.12, ending, if not, entering step 3.11, starting the next line, returning to step 3.7, reading the data of the next line arrays C and D, and separating the next line.
The invention has the beneficial effects that: in the traditional processing method, a welding track is directly subjected to manual online teaching correction by taking a workpiece as a reference. And manual teaching correction is adopted, manual correction is needed for each welding pass when multilayer and multi-pass welding is carried out, the efficiency is low, and the robot operation time is long. By adopting the method, the welding robot track can be corrected in batch by off-line programming only by one-time operation on the actual workpiece, the correction efficiency of the multilayer multi-path welding track can be greatly improved, and the on-site debugging time of the welding robot track is reduced.
Drawings
FIG. 1 is a schematic diagram of the deviation of the robot trajectory according to the present invention.
FIG. 2 is a flowchart of a main process of the present invention.
FIG. 3 is a flowchart of the comparison search procedure of the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings, and provides a batch correction method for an offline programming track of a welding robot, which comprises the following specific steps:
firstly, a reference track is generated through design on an off-line programming system, → backup of a program file (original program file) → manual on-line correction of the reference track on a workpiece → storage of a corrected program file (corrected program file) → comparison of the program file before correction and the corrected program file through a specially designed computer program, calculation of a correction amount at each program step → storage as a correction file → calling of the correction file to perform batch correction on all tracks when off-line programming is performed again.
The main program of the invention mainly comprises a reading file subprogram, a comparison searching subprogram and a calculation generating subprogram. The flow chart is shown in the attached figure 2,
reading a file subprogram: reading the program files before and after the modification,
the read file subprogram firstly opens the files (original program file and modified program file) according to the paths of the track file before and after modification input by the program interface, then reads the corresponding data of each step point, and finally closes the program file, and the data of each step point of the program file is cached in the array A and the array B according to the step point format.
Comparing and searching the subprogram; the flow chart is shown in a figure 3,
the comparison and search subroutine firstly executes step 3.1, reads the first row of data from the arrays A and B respectively, the first row starts to compare the data in the arrays A and B, step 3.2 is entered, whether the data are the same or not is judged, if yes, step 3.4 is entered, a blank is stored in the arrays C and D, if not, step 3.3 is entered, the row of data is stored in the arrays C and D respectively, step 3.6 is entered, whether the row is the last row of the arrays A and B is judged, if not, step 3.5 is entered, and then the next row is compared; if yes, entering step 3.7, reading first row data of the arrays C and D, separating the compared arrays C and D row by row, entering step 3.8, judging whether the row head character of the row of data is XYZ, if yes, entering step 3.9, separating the X, Y and Z coordinates of the step point before and after correction from the row, and respectively storing the X, Y and Z coordinates in the arrays E and F; if not, skipping, entering step 3.10, judging whether the line is the last line, if yes, entering step 3.12, ending, if not, entering step 3.11, starting the next line, returning to step 3.7, reading the data of the next line arrays C and D, and separating the next line.
Calculating and generating a subprogram;
subtracting the x, y and z coordinates stored in the arrays E and F line by line to obtain a track correction quantity, then adding characters to modify the track correction quantity into a format required by a track correction table, and finally generating a file corresponding to the file name under a corresponding directory according to information selected by a program interface to obtain a modified file.
Claims (4)
1. The welding robot track off-line programming batch correction method is characterized by comprising the following steps: the method comprises the following steps:
firstly, designing and generating a reference track for robot welding, backing up a program file,
secondly, manually correcting the reference track on the workpiece on line, storing the corrected program file,
thirdly, comparing the program files of the first step and the second step by adopting a correction program module of the welding track of the robot, calculating the correction amount of each program step point, storing the correction amount as a correction file,
and fourthly, calling a correction file to perform batch correction on all the tracks when the welding tracks of the robot are programmed off line.
2. The welding robot trajectory offline programming batch correction method according to claim 1, characterized in that: and the third step of the program module for correcting the welding track of the robot comprises a main program module, wherein the main program module comprises a file reading subprogram module, a comparison and search subprogram module and a calculation and generation subprogram module.
3. The welding robot trajectory offline programming batch correction method according to claim 2, characterized in that: the file reading subprogram module comprises the following steps: and opening an original file program file and a modified file program according to the paths of the track files before and after modification input by the program interface, reading corresponding data of each step point, closing the program file, and caching the data of each step point of the program file in an array A and an array B according to the step point format.
4. The welding robot trajectory offline programming batch correction method according to claim 2, characterized in that: the comparison and search subprogram module comprises the following steps: firstly, executing a step 3.1, respectively reading first row data from the arrays A and B, comparing the data in the arrays A and B by the first row, entering a step 3.2, judging whether the data are the same, if so, entering a step 3.4, storing blank spaces in the arrays C and D, if not, entering a step 3.3, respectively storing the row data in the arrays C and D, entering a step 3.6, judging whether the row is the last row of the arrays A and B, and if not, entering a step 3.5, comparing the next row; if yes, entering step 3.7, reading first row data of the arrays C and D, separating the compared arrays C and D row by row, entering step 3.8, judging whether the row head character of the row of data is XYZ, if yes, entering step 3.9, separating the X, Y and Z coordinates of the step point before and after correction from the row, and respectively storing the X, Y and Z coordinates in the arrays E and F; if not, skipping, entering step 3.10, judging whether the line is the last line, if yes, entering step 3.12, ending, if not, entering step 3.11, starting the next line, returning to step 3.7, reading the data of the next line arrays C and D, and separating the next line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010731056.XA CN112091967B (en) | 2020-07-27 | 2020-07-27 | Off-line programming batch correction method for welding robot track |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010731056.XA CN112091967B (en) | 2020-07-27 | 2020-07-27 | Off-line programming batch correction method for welding robot track |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112091967A true CN112091967A (en) | 2020-12-18 |
CN112091967B CN112091967B (en) | 2024-04-19 |
Family
ID=73750576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010731056.XA Active CN112091967B (en) | 2020-07-27 | 2020-07-27 | Off-line programming batch correction method for welding robot track |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112091967B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0076498A2 (en) * | 1981-10-07 | 1983-04-13 | Messer Griesheim Gmbh | A method controlling an arc welding torch of a welding robot |
EP1314510A1 (en) * | 2001-11-26 | 2003-05-28 | Mitsubishi Heavy Industries, Ltd. | Method of welding three-dimensional structure and apparatus for use in such method |
JP3136997U (en) * | 2007-08-29 | 2007-11-08 | 株式会社ナカヨ通信機 | Three-dimensional mounting structure for electronic components |
CN202257196U (en) * | 2011-05-18 | 2012-05-30 | 大连光洋科技工程有限公司 | Numerical control system capable of recording and utilizing operation information |
CN103706945A (en) * | 2013-12-12 | 2014-04-09 | 武汉钢铁(集团)公司 | Method and device for correcting tool central point of industrial robot |
CN104308362A (en) * | 2014-08-27 | 2015-01-28 | 深圳市大族激光科技股份有限公司 | Laser welding method for cambered stamping part |
US20150066177A1 (en) * | 2013-09-03 | 2015-03-05 | National Tsing Hua University | Method of dispatching semiconductor batch production |
CN105823713A (en) * | 2016-05-24 | 2016-08-03 | 深圳市蜂联科技有限公司 | Method for improving measuring precision of air quality detection device through iteration optimal calibration |
CN106945047A (en) * | 2017-04-27 | 2017-07-14 | 上海新朋联众汽车零部件有限公司 | Welding robot error compensation control system and its control method |
CN107378246A (en) * | 2016-05-16 | 2017-11-24 | 大族激光科技产业集团股份有限公司 | A kind of method and system for correcting laser welding track |
KR20180040314A (en) * | 2016-10-12 | 2018-04-20 | 충북대학교 산학협력단 | Method and device for driving mobile robot using vanishing point in corridor |
CN108672907A (en) * | 2018-05-31 | 2018-10-19 | 华南理工大学 | The online method for correcting error of arc welding robot weld seam based on structured light visual sensing |
CN111185901A (en) * | 2018-11-14 | 2020-05-22 | 发那科株式会社 | Robot device |
CN111215797A (en) * | 2020-01-13 | 2020-06-02 | 华工法利莱切焊系统工程有限公司 | Automatic positioning welding method and system based on photographing visual guidance |
-
2020
- 2020-07-27 CN CN202010731056.XA patent/CN112091967B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0076498A2 (en) * | 1981-10-07 | 1983-04-13 | Messer Griesheim Gmbh | A method controlling an arc welding torch of a welding robot |
EP1314510A1 (en) * | 2001-11-26 | 2003-05-28 | Mitsubishi Heavy Industries, Ltd. | Method of welding three-dimensional structure and apparatus for use in such method |
JP3136997U (en) * | 2007-08-29 | 2007-11-08 | 株式会社ナカヨ通信機 | Three-dimensional mounting structure for electronic components |
CN202257196U (en) * | 2011-05-18 | 2012-05-30 | 大连光洋科技工程有限公司 | Numerical control system capable of recording and utilizing operation information |
US20150066177A1 (en) * | 2013-09-03 | 2015-03-05 | National Tsing Hua University | Method of dispatching semiconductor batch production |
CN103706945A (en) * | 2013-12-12 | 2014-04-09 | 武汉钢铁(集团)公司 | Method and device for correcting tool central point of industrial robot |
CN104308362A (en) * | 2014-08-27 | 2015-01-28 | 深圳市大族激光科技股份有限公司 | Laser welding method for cambered stamping part |
CN107378246A (en) * | 2016-05-16 | 2017-11-24 | 大族激光科技产业集团股份有限公司 | A kind of method and system for correcting laser welding track |
CN105823713A (en) * | 2016-05-24 | 2016-08-03 | 深圳市蜂联科技有限公司 | Method for improving measuring precision of air quality detection device through iteration optimal calibration |
KR20180040314A (en) * | 2016-10-12 | 2018-04-20 | 충북대학교 산학협력단 | Method and device for driving mobile robot using vanishing point in corridor |
CN106945047A (en) * | 2017-04-27 | 2017-07-14 | 上海新朋联众汽车零部件有限公司 | Welding robot error compensation control system and its control method |
CN108672907A (en) * | 2018-05-31 | 2018-10-19 | 华南理工大学 | The online method for correcting error of arc welding robot weld seam based on structured light visual sensing |
CN111185901A (en) * | 2018-11-14 | 2020-05-22 | 发那科株式会社 | Robot device |
CN111215797A (en) * | 2020-01-13 | 2020-06-02 | 华工法利莱切焊系统工程有限公司 | Automatic positioning welding method and system based on photographing visual guidance |
Non-Patent Citations (1)
Title |
---|
本书编委会: ""数控一代"案例集 河南卷", 中国科学技术出版社, pages: 49 * |
Also Published As
Publication number | Publication date |
---|---|
CN112091967B (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1701358B1 (en) | Data write-in method for flash memory | |
CN110458168A (en) | Processing method, device, computer equipment and the storage medium of vehicle detection report | |
US20180107597A1 (en) | Memory system and method for operating the same | |
CN112091967B (en) | Off-line programming batch correction method for welding robot track | |
CN116777391A (en) | Welding process management system and welding process rule generation method and system | |
CN111191321B (en) | Control method, system and storage medium for renaming welding spots | |
CN110473586B (en) | Replacement method, device and equipment for write failure storage unit and storage medium | |
CN116618878A (en) | Pre-welding process parameter determination method, welding quality online prediction method, device and storage medium | |
CN107481764B (en) | 3D Nand Flash scanning detection method and system | |
CN114238623A (en) | Heterogeneous text data processing method and device | |
CN116757145B (en) | Integrated circuit design layout processing method and device, electronic equipment and storage medium | |
CN112719627A (en) | Laser cutting system and laser cutting material supplementing method | |
CN110908332A (en) | Method for realizing cutter radius compensation control for arc cutter path in numerical control system | |
CN101246728B (en) | Random access control method and optical disc drive | |
CN116757145A (en) | Integrated circuit design layout processing method and device, electronic equipment and storage medium | |
CN111143067B (en) | Method for realizing on-line synchronous tool path generation and tool path processing execution | |
CN112677155B (en) | Control method and control device for single-step movement of robot and storage medium | |
JP4678994B2 (en) | Memory failure relief analysis method and memory test equipment | |
CN115816444A (en) | Robot off-line program detection method, device, equipment and storage medium | |
CN111488270B (en) | Interference area instruction detection method, system and storage medium for robot offline program | |
CN111722950B (en) | Hard disk fault maintenance method | |
CN101211586A (en) | Method and apparatus of determining optimized power for recording medium | |
JPH05189868A (en) | Data writing control system of write once optical disc apparatus | |
KR100328818B1 (en) | How to save data in flash memory | |
CN107704193B (en) | FLASH memory block erasing circuit and block erasing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |