Method and device for determining interpolation correction value of welding robot and electronic equipment

By calculating the interpolation correction values ​​of the weld fitting trajectory and the teaching motion trajectory, the contradiction between the response speed of the welding robot and the tracking accuracy is solved, and the rapid response and high-precision welding effect is achieved.

CN118926809APending Publication Date: 2024-11-12HUAGONG TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing welding robots are prone to high-frequency vibrations when responding to correction errors quickly, resulting in noise; while reducing the response speed to smooth the tracking accuracy will be reduced.

Method used

By obtaining the weld fitting trajectory, teaching motion trajectory and advance correction distance, calculate the interpolation correction value, if it is within the configured interpolation range, it is determined as the target interpolation correction value, and the welding robot is controlled to perform interpolation motion, Achieve fast response and high-precision tracking.

Benefits of technology

While quickly responding to tracking errors by welding robots, it ensures smooth tracking accuracy, avoids high-frequency vibration and noise, and improves welding accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118926809A_ABST
    Figure CN118926809A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for determining an interpolation correction value of a welding robot and electronic equipment, and relates to the field of welding seam tracking. According to a preset control period, a first pose of a current weld joint node where a welder in the welding robot is located in the current period is obtained; after a second pose corresponding to the first pose in the teaching motion track is extracted, an advanced correction pose is determined according to the advanced correction distance and the second pose; calculating the difference between the actual welding line pose and the lead correction pose, and determining an interpolation correction value; and if the absolute value of the interpolation correction value is within the configured interpolation range, determining the interpolation correction value as a target interpolation correction value, and controlling the welding robot to perform interpolation motion on the lead correction node according to the target interpolation correction value. According to the method, the welding robot can quickly respond to the tracking error, and the tracking trajectory of the welding robot is smoothed while the tracking precision is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of weld tracking, and in particular to a method, device and electronic equipment for determining an interpolation correction value of a welding robot. Background Art

[0002] At present, the real-time motion tracking system of welds is based on the comparison and correction between the current posture of the welding robot and the weld trajectory. Correction is only performed when there is a tracking error. If the welding robot responds quickly, the error can be corrected quickly, but high-frequency vibration is prone to occur and noise is generated. If the response speed of the welding robot is reduced to make its correction trajectory smooth, the tracking accuracy will be reduced. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, device and electronic equipment for determining the interpolation correction value of a welding robot, so as to solve the above-mentioned problems existing in the prior art, and to improve the tracking accuracy of the welding robot, thereby improving the welding accuracy.

[0004] In a first aspect, a method for determining an interpolation correction value of a welding robot is provided, and the method may include:

[0005] Obtaining a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including a plurality of welding nodes;

[0006] When it is detected that the welding robot is welding according to the weld fitting trajectory, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle;

[0007] After extracting the second posture corresponding to the teaching motion trajectory of the first posture, determining the advance correction posture according to the advance correction distance and the second posture;

[0008] The difference between the actual weld posture and the advance correction posture is calculated to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node among the multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot in the weld fitting trajectory;

[0009] If the absolute value of the interpolation correction value is within the configured interpolation range, the interpolation correction value is determined as a target interpolation correction value, and the welding robot is controlled to perform interpolation movement on the advance correction node with the target interpolation correction value.

[0010] In a possible implementation, the multiple weld nodes of the weld fitting trajectory are determined according to the preset control cycle and movement speed of the welding robot.

[0011] In a possible implementation, extracting a second posture corresponding to the first posture in the teaching motion trajectory includes:

[0012] The configured total interpolation correction distance is removed from the first posture to determine a second posture of the welder on the teaching motion trajectory in the current cycle.

[0013] In a possible implementation, the process of determining the actual weld posture includes:

[0014] Calculating the preset control cycle and the movement duration of the welding robot to obtain the first step length number;

[0015] Calculating the advance correction distance and the movement speed of the welding robot to obtain the number of second step lengths;

[0016] According to the sum of the first step length number and the second step length number, an advance correction node among multiple welding nodes is determined, and the actual weld position of the advance correction node in the weld fitting trajectory is determined.

[0017] In a possible implementation, the critical value of the interpolation range includes: a first threshold and a second threshold; wherein the first threshold is smaller than the second threshold;

[0018] After determining the interpolation correction value, the method further includes:

[0019] If the absolute value of the interpolation correction value is not greater than the first threshold, 0 is determined as the target interpolation correction value.

[0020] In a possible implementation, after determining the interpolation correction value, the method further includes:

[0021] If the absolute value of the interpolation correction value is not less than the second threshold, the second threshold is determined as the target interpolation correction value.

[0022] In a possible implementation, controlling the welding robot to perform interpolation motion on the advance correction node with the target interpolation correction value includes:

[0023] For any preset control cycle of the welding robot, in a plurality of orderly arranged motor control cycles of the preset control cycle, the welding robot is controlled to allocate the target interpolation correction value in increasing order in each motor control cycle in the arrangement order of the motor control cycles.

[0024] In a second aspect, a device for determining an interpolation correction value of a welding robot is provided, and the device may include:

[0025] An acquisition unit, used for acquiring a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including a plurality of welding nodes;

[0026] And, when it is detected that the welding robot is welding according to the weld fitting trajectory, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle;

[0027] A determination unit, configured to determine an advance correction posture according to the advance correction distance and the second posture after extracting the second posture corresponding to the first posture in the teaching motion trajectory;

[0028] And, the difference between the actual weld posture and the advance correction posture is calculated to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node among the multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot in the weld fitting trajectory;

[0029] and, if the absolute value of the interpolation correction value is within a configured interpolation range, determining the interpolation correction value as a target interpolation correction value;

[0030] The control unit is used to control the welding robot to perform interpolation motion on the advance correction node with the target interpolation correction value.

[0031] In a third aspect, an electronic device is provided, the electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0032] Memory, used to store computer programs;

[0033] The processor is used to implement any method step described in the first aspect when executing the program stored in the memory.

[0034] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step described in the first aspect is implemented.

[0035] The present application provides a method for determining an interpolation correction value of a welding robot, the method comprising: obtaining a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including multiple welding nodes; when detecting that the welding robot is welding according to the weld fitting trajectory, obtaining the first position of the current weld node where the welder in the welding robot is located in the current cycle according to the preset control cycle; after extracting the second position corresponding to the teaching motion trajectory of the first position, determining the advance correction posture according to the advance correction distance and the second position; calculating the difference between the actual weld posture and the advance correction posture to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node in the weld fitting trajectory of multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot; if the absolute value of the interpolation correction value is within the configured interpolation range, the interpolation correction value is determined as the target interpolation correction value, and the welding robot is controlled to interpolate the advance correction node with the target interpolation correction value. The present application can realize the rapid response of the welding robot to the tracking error, ensure the tracking accuracy and smooth the tracking trajectory of the welding robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A system architecture diagram of a method for determining an interpolation correction value for a welding robot provided in an embodiment of the present application;

[0038] Figure 2 A schematic flow chart of a method for determining an interpolation correction value of a welding robot provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of the structure of a real-time welding system provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of a weld fitting trajectory and a teaching motion trajectory provided in an embodiment of the present application;

[0041] Figure 5 A schematic diagram of the conversion of weld sampling points between various coordinate systems provided in an embodiment of the present application;

[0042] Figure 6 A schematic diagram of a weld fitting trajectory and an original trajectory provided in an embodiment of the present application;

[0043] Figure 7 A schematic diagram of an advance correction node provided in an embodiment of the present application;

[0044] Figure 8 A schematic diagram of an interpolation correction value provided in an embodiment of the present application;

[0045] Fig. 9 A schematic diagram of the corresponding relationship between the target interpolation correction value and the interpolation range provided in an embodiment of the present application;

[0046] Fig.10 A schematic diagram of allocating target interpolation correction values ​​to each motor control cycle provided in an embodiment of the present application;

[0047] Fig.11 A schematic diagram of the structure of a device for determining an interpolation correction value of a welding robot provided in an embodiment of the present application;

[0048] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] The method for determining the interpolation correction value of a welding robot provided in the embodiment of the present application can be applied in Figure 1 In the system architecture shown in Figure 1 As shown, the system may include: a server and a weld tracking system. The server may be a physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The weld tracking system and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0051] A weld tracking system is used to determine a weld fitting trajectory, a teaching motion trajectory and an advance correction distance, and send the weld fitting trajectory, the teaching motion trajectory and the advance correction distance to a server;

[0052] The server is used to receive the weld fitting trajectory, the teaching motion trajectory and the advance correction distance to execute a method for determining the interpolation correction value of a welding robot provided in the present application.

[0053] At present, the real-time motion tracking system of welds is based on the comparison and correction between the current posture of the welding robot and the weld trajectory. Correction is only performed when there is a tracking error. If the welding robot responds quickly, the error can be corrected quickly, but high-frequency vibration is prone to occur and noise is generated. If the response speed of the welding robot is reduced to make its correction trajectory smooth, the tracking accuracy will be reduced.

[0054] Therefore, the present application provides a method for determining an interpolation correction value of a welding robot, so as to solve the above-mentioned problems existing in the prior art, and can improve the tracking accuracy of the welding robot, thereby improving the welding accuracy.

[0055] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0056] Figure 2 The present invention provides a flow chart of a method for determining an interpolation correction value of a welding robot. Figure 2 As shown, the method may include:

[0057] Step S210, obtaining the weld fitting trajectory, teaching motion trajectory and advance correction distance of the workpiece to be welded.

[0058] Specifically, welding robots are widely used in real-time welding systems due to their high motion accuracy and rapid response. The system consists of a line laser camera, a welding robot, a welder, a weld tracking system, etc. The line laser camera samples the weld characteristic values ​​in real time, the weld tracking system performs filtering and noise reduction on the weld characteristic values ​​and fits the weld fitting trajectory, the welding robot completes the real-time motion tracking of the weld, and the welder completes the welding of the weld during the movement of the welding robot.

[0059] Combination Figure 3 As shown in the figure, the line laser camera (camera) and the welder are mounted on the end flange of the welding robot, and the line laser camera is placed in front of the welder in the direction of movement. Therefore, it is necessary to perform initial main motion teaching on the weld before welding to obtain the teaching motion trajectory to ensure that the weld is within the camera field of view of the line laser camera during the entire movement of the welding robot. Figure 4As shown in the figure, the teaching motion trajectory is divided into linear motion, circular arc motion, spline curve motion and their combination. Among them, the actual welding motion is the motion process of the welding robot with the welding fitting trajectory, and the welding fitting trajectory includes: the starting point of the weld fitting trajectory (the actual starting point of the weld) and the end point of the weld fitting trajectory (the actual end point of the weld). The main motion is the virtual motion process of the welding robot corresponding to the teaching motion trajectory; the teaching motion trajectory includes the teaching starting point and the teaching end point.

[0060] The line laser camera collects multiple weld sampling points in the weld trajectory in real time, removes abnormal points among the multiple weld sampling points, and performs spline curve fitting on the remaining weld sampling points to obtain the weld fitting trajectory.

[0061] It should be noted that, combined with Figure 5 As shown in the figure, the sampling point poses of multiple weld sampling points collected by the line laser camera are converted from the poses in the camera coordinate system to the poses in the world coordinate system. Specifically, the hand-eye calibration matrix of the line laser camera relative to the flange is recorded as The position and posture of the weld sampling point in the camera coordinate system is recorded as The transformation relationship between the welding robot's flange and the world coordinate system is: The position of the weld sampling point relative to the world coordinate system is (Sampling point pose) is:

[0062]

[0063] In short, the pose of the weld sampling point collected by the line laser camera in the camera coordinate system is converted to the pose in the world coordinate system.

[0064] The world coordinate system mentioned in this application is the coordinate system of the welding robot base.

[0065] Combination Figure 6 As shown in the figure, according to the camera sampling frequency and the robot flange posture sampling frequency, a certain number of sampling points of the weld are selected. The weld sampling points are cached and set as a group. The group of weld sampling points constitutes the original trajectory of the weld. The abnormal points in the original trajectory are removed, and the remaining weld sampling points are fitted with a spline curve to obtain the weld fitting trajectory.

[0066] Afterwards, the separation distance is determined according to the preset control cycle and movement speed of the welding robot, and the weld fitting trajectory is segmented at equal intervals according to the separation distance starting from the starting point of the weld fitting trajectory (the actual starting point of the weld) to obtain multiple weld nodes. Each weld node has a corresponding weld sampling point, so the position and posture of each weld node is also determined.

[0067] Specifically, the preset control cycle can be understood as the control frequency of the welding robot when performing motion control. In order to ensure the position accuracy of the robot's motion, a faster control frequency is required. For example, the Yaskawa robot and the Kuka robot both control the position and speed every 4 milliseconds, so the preset control cycle is 0.004 seconds.

[0068] Separation distance = preset control cycle × movement speed; for example: the movement speed of the welding robot is 100 mm / s; the preset control cycle is 0.004 seconds; the segmentation distance is: 100*0.004=0.4 mm, and the weld fitting trajectory is divided into equal parts of 0.4 mm.

[0069] It should be noted that the weld node is a virtual node obtained by virtually dividing the weld fitting trajectory in the server.

[0070] Step S220: When it is detected that the welding robot is welding according to the weld fitting trajectory, a second posture corresponding to the first posture of the current weld node in the teaching motion trajectory is extracted according to a preset control cycle.

[0071] Specifically, first, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle.

[0072] That is to say, when the welder welds the current weld node in the current control cycle, the first pose of the current weld node is determined according to the pose of the weld node corresponding to the current weld node in the teaching motion trajectory and the total interpolation correction distance; in simple terms, the first pose = the second pose + the total interpolation correction distance.

[0073] Furthermore, since the total interpolation correction distance is known data, the total interpolation correction distance in the first pose is removed to obtain the second pose corresponding to the first pose in the teaching motion trajectory.

[0074] For example: If the interpolation correction distance is recorded as Then the total interpolation correction distance of the entire motion in Cartesian space is: i is any weld node;

[0075] The first position corresponding to the current weld node is X cur_i , Y cur_i , Z cur_i ; Set the welding robot to the second position Traj corresponding to the teaching motion trajectory main Break it down:

[0076] Traj main =[X main ; Y main ; Z main ]

[0077] in,

[0078] The above mentioned X j , Y j , Z j They are respectively the coordinate components of the X-axis, Y-axis, and Z-axis of the corresponding parameters in the world coordinate system.

[0079] Step S230: Calculate the difference between the actual weld posture and the advanced correction posture to determine the interpolation correction value.

[0080] The specific steps may include:

[0081] Step 231: A. Determine the advance correction posture of the advance correction node among the multiple welding nodes in the teaching motion trajectory according to the advance correction distance and the second posture.

[0082] Specific, combined Figure 7 As shown, the second pose is recorded as Traj main The second posture obtained can also be understood as: the first posture of the current weld node minus the total interpolation correction distance is mapped to the posture of the first teaching weld node on the teaching motion trajectory; then, the first teaching weld node is calculated backwards by the advance correction distance D ahead =5mm, the teaching weld node is determined as the second teaching weld node; the second teaching weld node is reversely mapped back to the weld node in the weld fitting trajectory and is determined as the advance correction node; the advance correction posture Traj of the advance correction node is determined in the weld fitting trajectory ahead .

[0083] B. According to the preset control cycle, the movement duration, movement speed and advance correction distance of the welding robot, the actual weld position of the advance correction node among the multiple welding nodes in the weld fitting trajectory is determined.

[0084] Specifically, the preset control cycle and the motion duration of the welding robot are calculated to obtain the first step length number;

[0085] N1=T move / T interval

[0086] Among them, T move is the exercise duration, T interval is the preset control cycle, and N1 is the number of first step lengths.

[0087] And, the advance correction distance and the moving speed of the welding robot are calculated to obtain the number of second step lengths;

[0088] N2=D ahead / V

[0089] Where V is the moving speed, and the leading correction distance D is ahead , N2 is the number of second step lengths.

[0090] Afterwards, combined Figure 8 As shown, according to the sum of the number of the first step length and the number of the second step length, the subscript N of the advanced correction node among the multiple welding nodes is determined, wherein N=N1+N2;

[0091] At this point, the advance correction node is determined, and the actual weld position of the advance correction node in the weld fitting trajectory is determined. It can be understood that the position and posture of each weld node in the world coordinate system has been determined in step S210, and therefore, the actual weld position and posture of the advance correction node can also be determined.

[0092] Step 232: Calculate the difference between the actual weld posture and the advanced correction posture to obtain the interpolation correction value Corr i .

[0093]

[0094] Step S240: Match the interpolation correction value with the configured interpolation range to determine a target interpolation correction value.

[0095] The configured critical value of the interpolation range includes: a first threshold value and a second threshold value; wherein the first threshold value is less than the second threshold value;

[0096] Specifically, if the absolute value of the interpolation correction value is not greater than the first threshold, 0 is determined as the target interpolation correction value.

[0097] If the absolute value of the interpolation correction value is not less than the second threshold, the second threshold is determined as the target interpolation correction value.

[0098] If the absolute value of the interpolation correction value is within the configured interpolation range (greater than the first threshold and less than the second threshold), the interpolation correction value is determined as the target interpolation correction value.

[0099] Afterwards, the welding robot is controlled to perform interpolation motion on the advance correction node with the target interpolation correction value.

[0100] Combination Fig. 9 As shown, this method can also be understood as smoothing the interpolation correction value to determine the target interpolation correction value. threshold is the first threshold, C saturation is the second threshold, the x-axis is the interpolation correction value before smoothing, and the y-axis is the interpolation correction value after smoothing (target interpolation correction value).

[0101] The process of controlling the welding robot to perform interpolation motion on the advance correction node with the target interpolation correction value may specifically include:

[0102] For any preset control cycle of the welding robot, in a plurality of orderly arranged motor control cycles of the preset control cycle, the welding robot is controlled to allocate the target interpolation correction value in sequence and incrementally in each motor control cycle according to the arrangement sequence of the motor control cycles.

[0103] For example: Combine Fig.10 As shown, the control cycle of the welding robot is T interval In each welding robot control cycle, the control frequency of the motor control cycle of each joint of the welding robot is recorded as N motor (Because the control frequency of the motor control cycle is much greater than the control frequency of the welding robot, N motor The general value is f20~40).

[0104] That is, the control cycle of a welding robot is T interval Completed within N motor The target interpolation correction value is calculated according to Corr / N. motor ,2Corr / N motor ……(N motor -1)Corr / N motor , Corr is incrementally allocated to each motor control cycle.

[0105] It can be understood that the above steps S220-S240 are for processing the current weld node of the current cycle to determine the target interpolation correction value of the advance correction node corresponding to the current weld node; then, the next cycle adjacent to the current cycle is determined as the new current cycle, and the execution of step S220 is returned.

[0106] This application divides the weld fitting trajectory actually sampled by the line laser camera into equal intervals, and divides the actual motion trajectory of the welding robot (weld fitting trajectory) into the main motion (motion on the teaching motion trajectory) and the correction interpolation motion:

[0107] 1. The expected trajectory of the welding robot is calculated in advance by the main motion, and the trajectory deviation value of the welding robot is corrected in advance, thereby improving the correction accuracy;

[0108] 2. The interpolation correction value is saturated and denoised to improve its smoothness, and is evenly distributed to the motor control end, which significantly improves the stability of the welding robot's correction interpolation and avoids vibration and noise.

[0109] The present application provides a method for determining an interpolation correction value of a welding robot, the method comprising: obtaining a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including multiple welding nodes; when detecting that the welding robot is welding according to the weld fitting trajectory, obtaining the first position of the current weld node where the welder in the welding robot is located in the current cycle according to the preset control cycle; after extracting the second position corresponding to the teaching motion trajectory of the first position, determining the advance correction posture according to the advance correction distance and the second position; calculating the difference between the actual weld posture and the advance correction posture to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node in the weld fitting trajectory of multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot; if the absolute value of the interpolation correction value is within the configured interpolation range, the interpolation correction value is determined as the target interpolation correction value, and the welding robot is controlled to interpolate the advance correction node with the target interpolation correction value. The present application can realize the rapid response of the welding robot to the tracking error, ensure the tracking accuracy and smooth the tracking trajectory of the welding robot.

[0110] Corresponding to the above method, the embodiment of the present application also provides a device for determining the interpolation correction value of a welding robot, such as Fig.11 As shown, the device comprises:

[0111] An acquisition unit 1110 is used to acquire a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including a plurality of welding nodes;

[0112] And, when it is detected that the welding robot is welding according to the weld fitting trajectory, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle;

[0113] A determination unit 1120 is configured to determine an advance correction posture according to the advance correction distance and the second posture after extracting the second posture corresponding to the first posture in the teaching motion trajectory;

[0114] And, the difference between the actual weld posture and the advance correction posture is calculated to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node among the multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot in the weld fitting trajectory;

[0115] and, if the absolute value of the interpolation correction value is within a configured interpolation range, determining the interpolation correction value as a target interpolation correction value;

[0116] The control unit 1130 is used to control the welding robot to perform interpolation motion on the advance correction node with the target interpolation correction value.

[0117] The functions of each functional unit of the device for determining the interpolation correction value of a welding robot provided in the above-mentioned embodiment of the present application can be realized through the above-mentioned method steps. Therefore, the specific working process and beneficial effects of each unit in the device for determining the interpolation correction value of a welding robot provided in the embodiment of the present application will not be repeated here.

[0118] The present application also provides an electronic device, such as Fig.12 As shown, it includes a processor 1210 , a communication interface 1220 , a memory 1230 and a communication bus 1240 , wherein the processor 1210 , the communication interface 1220 , and the memory 1230 communicate with each other via the communication bus 1240 .

[0119] Memory 1230, used for storing computer programs;

[0120] The processor 1210 is used to implement the following steps when executing the program stored in the memory 1230:

[0121] Obtaining a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including a plurality of welding nodes;

[0122] When it is detected that the welding robot is welding according to the weld fitting trajectory, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle;

[0123] After extracting the second posture corresponding to the teaching motion trajectory of the first posture, determining the advance correction posture according to the advance correction distance and the second posture;

[0124] The difference between the actual weld posture and the advance correction posture is calculated to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node among the multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot in the weld fitting trajectory;

[0125] If the absolute value of the interpolation correction value is within the configured interpolation range, the interpolation correction value is determined as a target interpolation correction value, and the welding robot is controlled to perform interpolation movement on the advance correction node with the target interpolation correction value.

[0126] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0127] The communication interface is used for communication between the above electronic device and other devices.

[0128] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0129] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0130] The implementation methods and beneficial effects of the components of the electronic device in the above embodiments to solve the problems can be seen in Figure 2 The various steps in the illustrated embodiment are implemented, therefore, the specific working process and beneficial effects of the electronic device provided by the embodiment of the present application are not repeated here.

[0131] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes a method for determining an interpolation correction value of a welding robot as described in any of the above embodiments.

[0132] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute a method for determining an interpolation correction value of a welding robot as described in any one of the above embodiments.

[0133] Those skilled in the art will appreciate that the embodiments in the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt a complete hardware embodiment, a complete software embodiment, or a form of an embodiment combining software and hardware. Moreover, the present application may adopt a form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0134] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0137] Unless otherwise defined, the technical terms or scientific terms used in this application should be understood by people with ordinary skills in the field to which the present invention belongs. "First", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect", "couple" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0138] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the present application embodiments are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application embodiments.

[0139] Obviously, those skilled in the art can make various changes and modifications to the embodiments in the present application without departing from the spirit and scope of the embodiments in the present application. Thus, if these modifications and variations of the embodiments in the present application are within the scope of the embodiments in the present application and their equivalents, the embodiments in the present application are also intended to include these modifications and variations.

Claims

1. A method for determining an interpolation correction value of a welding robot, characterized in that: The method comprises: Obtaining a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including a plurality of welding nodes; When it is detected that the welding robot is welding according to the weld fitting trajectory, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle; After extracting the second posture corresponding to the teaching motion trajectory of the first posture, determining the advance correction posture according to the advance correction distance and the second posture; The difference between the actual weld posture and the advance correction posture is calculated to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node among the multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot in the weld fitting trajectory; If the absolute value of the interpolation correction value is within the configured interpolation range, the interpolation correction value is determined as a target interpolation correction value, and the welding robot is controlled to perform interpolation movement on the advance correction node with the target interpolation correction value.

2. The method according to claim 1, characterized in that The multiple weld nodes of the weld fitting trajectory are determined according to the preset control cycle and movement speed of the welding robot.

3. The method according to claim 2, characterized in that Extracting a second posture corresponding to the first posture in the teaching motion trajectory includes: The configured total interpolation correction distance is removed from the first posture to determine a second posture of the welder on the teaching motion trajectory in the current cycle.

4. The method according to claim 3, characterized in that The process of determining the actual weld posture includes: Calculating the preset control cycle and the movement duration of the welding robot to obtain the first step length number; Calculating the advance correction distance and the movement speed of the welding robot to obtain the number of second step lengths; According to the sum of the first step length number and the second step length number, an advance correction node among multiple welding nodes is determined, and the actual weld position of the advance correction node in the weld fitting trajectory is determined.

5. The method according to claim 1, characterized in that The critical value of the interpolation range includes: a first threshold value and a second threshold value; wherein the first threshold value is less than the second threshold value; After determining the interpolation correction value, the method further includes: If the absolute value of the interpolation correction value is not greater than the first threshold, 0 is determined as the target interpolation correction value.

6. The method according to claim 5, characterized in that After determining the interpolation correction value, the method further includes: If the absolute value of the interpolation correction value is not less than the second threshold, the second threshold is determined as the target interpolation correction value.

7. The method according to claim 6, characterized in that Controlling the welding robot to perform interpolation motion on the advance correction node with the target interpolation correction value, comprising: For any preset control cycle of the welding robot, in a plurality of orderly arranged motor control cycles of the preset control cycle, the welding robot is controlled to allocate the target interpolation correction value in increasing order in each motor control cycle in the arrangement order of the motor control cycles.

8. A device for determining an interpolation correction value of a welding robot, characterized in that: The device comprises: An acquisition unit, used for acquiring a weld fitting trajectory, a teaching motion trajectory and an advance correction distance of a workpiece to be welded, including a plurality of welding nodes; And, when it is detected that the welding robot is welding according to the weld fitting trajectory, the first position of the current weld node where the welder in the welding robot is located in the current cycle is obtained according to the preset control cycle; A determination unit, configured to determine an advance correction posture according to the advance correction distance and the second posture after extracting the second posture corresponding to the first posture in the teaching motion trajectory; And, the difference between the actual weld posture and the advance correction posture is calculated to determine the interpolation correction value; the actual weld posture is the posture of the advance correction node among the multiple welding nodes determined according to the preset control cycle, the movement duration, the movement speed and the advance correction distance of the welding robot in the weld fitting trajectory; and, if the absolute value of the interpolation correction value is within a configured interpolation range, determining the interpolation correction value as a target interpolation correction value; The control unit is used to control the welding robot to perform interpolation motion on the advance correction node with the target interpolation correction value.

9. An electronic device, characterized in that: The electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Automatic welding machine for aluminum material

    CN120940835A

  • Automatic aluminum material welding machine

    CN120940835B