A method for testing deviation of joint axes of industrial robots
By determining the range of motion of the robot's joints, adjusting the test posture, installing the target ball and collecting data, combined with the least squares method for circle center fitting, the problem of the lack of effective joint axis deviation testing in the existing technology has been solved, and efficient and accurate joint testing has been achieved. Quantitative test of axis deviation.
Patent Information
- Application Number
- CN202110769227.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-07-07
AI Technical Summary
The existing technology lacks an effective quantitative test method for industrial robot joint axis deviation, which results in the inability to accurately evaluate the robot trajectory accuracy and affects the robot performance analysis.
An industrial robot joint axis deviation testing method is proposed, which includes determining the robot joint motion range, adjusting the test posture, installing the target ball, data collection and verification, and performing circle center fitting through the least squares method to calculate the joint axis deviation.
It achieves accurate quantitative testing of industrial robot joint axis deviation, improves testing efficiency and accuracy, and outputs data that is authentic, reliable, and highly applicable.
Smart Images

Figure CN113681592B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of robot performance testing, in particular to a method for testing the deviation of an industrial robot joint axis. Background Art
[0002] The robot joint axis deviation is mainly affected by the manufacturing accuracy of the robot body and the robot assembly error. It is one of the important performance indicators of industrial robots. However, the joint axis deviation does not increase the impact on the robot trajectory accuracy due to changes in its load. Therefore, the joint axis deviation is constant during the robot's movement.
[0003] In the past, when performing precision analysis on industrial robots, the influence of the robot joint axis on the absolute accuracy of the robot trajectory was rarely considered. With the increasing demand for robot trajectory accuracy, the deviation of the robot joint axis has become a problem that needs to be solved urgently. However, there is a lack of quantitative test methods for the deviation of the robot joint axis. Therefore, in order to solve the above problems, a new robot joint axis quantitative test method needs to be invented, and the robot joint axis deviation results need to be quantified and output.
[0004] Currently, there are few quantitative testing methods for robot joint axis deviations. Therefore, there is an urgent need to output a testing method for industrial robot joint axis deviations while ensuring that the data is authentic, reliable and highly applicable. Summary of the invention
[0005] In order to solve the above problem, the present invention proposes a method for testing the deviation of an industrial robot joint axis.
[0006] A method for testing the deviation of an industrial robot joint axis comprises the following steps:
[0007] S1: Determination of robot joint motion range;
[0008] S2: robot test posture adjustment;
[0009] S3: Joint axis deviation test target ball installation;
[0010] S4: Data collection and verification;
[0011] S5: Output of robot joint axis deviation calculation results.
[0012] In step S1, before the test, it should be ensured that the installation position of the test target ball is reasonable, the laser tracker does not lose light, and the range of motion of the robot joints should be expanded as much as possible. The reasonable installation position of the target ball is to ensure that the target ball does not fall off, does not lose light, and does not interfere; the laser tracker does not lose light to ensure that the test data is reasonable; the range of motion of the robot joints is expanded to ensure that the test data samples are easy to fit.
[0013] The step S2 is to ensure that the test process is not lost, the test range is large, and at the same time reduce the overturning moment applied to the joint by gravity, thereby reducing the unreasonable test results of the joint axis. When testing each joint axis, the remaining joints need to be adjusted to the specified position, which specifically includes the following steps:
[0014] a. When testing robot J1, the positions of J2-J6 joints need to be adjusted to the specified positions;
[0015] b. When testing robot J2, the positions of J1, J3-J6 joints need to be adjusted to the specified positions;
[0016] c. When testing robots J3, J4, J5, and J6, the same principle applies.
[0017] In step S3, since the later data processing requires different arc trajectory fitting and joint axis fitting calculation to finally obtain the optimal fitting result, it is necessary to perform arc trajectory tests on different positions of each joint. Each test position should avoid repeated measurement of test data due to being too close. The target ball installation position should be installed in combination with the test position, measurement range, and the possibility of avoiding light loss.
[0018] The specific steps of step S4 are as follows:
[0019] a. In the later stage of collecting experimental data, the least square method is preferred to fit the circle center data. At the same time, in order to ensure that a wide range of arc trajectory data is collected as much as possible, it is necessary to manually rotate the test target ball during the test;
[0020] b. During the test, at least 2-3 test positions of each joint should be ensured for subsequent data analysis;
[0021] c. It is necessary to conduct real-time analysis of the test data on site. First, analyze whether the data in the Cartesian coordinate system ensures the stability of the data acquisition cycle. Some data may cause deviations in the data cycle results due to objective factors. On this basis, conduct in-depth analysis of the data and use MATLAB to calculate whether the test data conforms to the normal distribution.
[0022] In step S4 a, it is necessary to verify the human error introduced by the manual rotation of the target ball. Therefore, in the preliminary experiment, the robot is fixed and the target ball is rotated, that is, the robot servo brake is engaged, and the target ball rotation trajectory data is collected with the help of a laser tracker. The position accuracy and position repeatability of the target ball data are calculated on-site with the help of RoboTL software. The calculation result is controlled within a reasonable range of 20μm, and it is considered that the target ball rotation operation is reasonable, which can be used for actual measurement of a large range of joint axes.
[0023] In step S4 b, during the test of the J4 joint axis, in order to reduce the introduction of geometric errors and non-geometric errors of the J1 joint, J2 joint and J3 joint, the J4 joint axis test must be performed after the current posture is kept unchanged after the first three joint tests are completed; in addition, due to the limitations of the geometric dimensions of the J5 and J6 joints, the target balls must be installed and measured with the help of small tooling, and the tooling stiffness is required to be within a reasonable range to avoid non-geometric errors introduced by the tooling.
[0024] In step S4 c, the normal distribution is not mainly aimed at the measured data in the Cartesian coordinate system, but is based on the experimental measured data, fitting the measured data center plane, calculating the distance of the measured data projected to the center plane, and performing normal distribution analysis on the plane distance. If some measuring point data do not conform to the normal distribution trend, even if the accuracy of the fitting result cannot be directly judged from the center fitting result alone, its normal distribution result obviously does not conform to the ideal normal distribution trend. The joint axis should be re-measured immediately to ensure the rationality of the test data.
[0025] The step S5 comprises the following steps:
[0026] a. After the data collection is completed, the minimum value between the measured data and the mean of the measured data is calculated with the help of MATLAB, that is, the common plane of the original data is determined, and the equation of the common plane is listed to intuitively display the display state of the plane. The spatial grid matrix is generated with the help of the meshgrid function, and then the common plane is drawn with the help of the mesh function;
[0027] b. The calculation result of the circle center fitting is obtained by the data. At this time, if the circle center fitting is directly performed on the projection point on the plane based on the arc trajectory, some of the circle center fitting results have a large deviation from the actual circle center position;
[0028] c. Taking the angle between the joint axes of J1 and J2 axes of an industrial robot as an example, in theory, the joint axes of J1 and J2 are absolutely vertical. However, due to manufacturing and assembly reasons of the robot, the J1 and J2 axes are not actually absolutely vertical. Based on the point normal equation, a plane normal vector perpendicular to the common plane and passing through the center of the fitting circle is made. The spatial angle between the two vectors is calculated to be the joint axis deviation of the J1 and J2 axes.
[0029] In step S5 b, the deviation between the partial circle center fitting result and the actual circle center position is large mainly because the arc trajectory is not a complete spatial circle trajectory. Due to the sensitivity of the least squares method to discrete data, the arc trajectory center fitting based on the least squares method will "bias" the actual circle center due to individual discrete data. Therefore, it is necessary to complete the spatial circle fitting of the arc trajectory, and perform circle center fitting based on the data after spatial circle fitting and using the least squares method.
[0030] The beneficial effects of the present invention are as follows: the present invention quantitatively obtains the deviation of the joint axis of the industrial robot based on a laser tracker, and uses the least squares method to perform circle center fitting on the sensitivity of discrete data. The test process is convenient and has low requirements on experimental testers; an industrial robot joint axis deviation quantitative test method is output, which has high test efficiency and high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0032] Figure 1 is a flow chart of the testing method of the present invention;
[0033] Figure 2 It is a schematic diagram of the installation of the test target ball of the present invention;
[0034] Figure 3 It is a normal distribution schematic diagram of the present invention;
[0035] Figure 4 It is a schematic diagram of raw data collection of the present invention;
[0036] Figure 5 It is a common plane fitting schematic diagram of the present invention;
[0037] Figure 6 It is a schematic diagram of the space center fitting of the present invention;
[0038] Figure 7 It is a schematic diagram of the joint axis deviation calculation process of the present invention. DETAILED DESCRIPTION
[0039] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further described below.
[0040] like Figure 1 As shown, a method for testing the deviation of the joint axis of an industrial robot specifically comprises the following steps:
[0041] S1: Determination of robot joint motion range;
[0042] S2: robot test posture adjustment;
[0043] S3: Joint axis deviation test target ball installation;
[0044] S4: Data collection and verification;
[0045] S5: Output of robot joint axis deviation calculation results.
[0046] Figure 2 This is a schematic diagram of the test target ball installation, where 1 is the J2 joint, 2 is the target ball, 3 is the test tooling, and 4 is the robot arm.
[0047] The present invention quantitatively obtains the deviation of the joint axis of the industrial robot based on a laser tracker, and uses the least squares method to perform circle center fitting on the sensitivity of discrete data. The test process is convenient and has low requirements on experimental testers. A quantitative test method for the deviation of the joint axis of the industrial robot is output, and the test efficiency and accuracy are high.
[0048] In the test method of step S1, before the robot joint axis deviation test, it should be ensured that the installation position of the test target ball is reasonable, the laser tracker does not lose light, and the robot joint motion range should be expanded as much as possible. The reasonable installation position of the target ball is to ensure that the target ball does not fall off, does not lose light, and does not interfere; the laser tracker does not lose light to ensure that the test data is reasonable; the robot joint motion range is expanded to ensure that the test data sample is easy to fit.
[0049] The step S2 is to ensure that the test process is not lost, the test range is large, and at the same time reduce the overturning moment applied to the joint by gravity, thereby reducing the unreasonable test results of the joint axis. When testing each joint axis, the remaining joints need to be adjusted to the specified position, which specifically includes the following steps:
[0050] a. When testing robot J1, the positions of J2-J6 joints need to be adjusted to the specified positions;
[0051] b. When testing robot J2, the positions of J1, J3-J6 joints need to be adjusted to the specified positions;
[0052] c. When testing robots J3, J4, J5, and J6, the same principle applies.
[0053] like Figure 2 As shown, in step S3, since the later data processing needs to perform different arc trajectory fitting and joint axis fitting calculation to finally obtain the optimal fitting result, it is necessary to perform arc trajectory tests on different positions of each joint. Each test position should avoid repeated measurement of test data due to being too close. The target ball installation position should be installed in combination with the test position, measurement range and the possibility of avoiding light loss.
[0054] The specific steps of step S4 are as follows:
[0055] a. In the later stage of collecting experimental data, the least square method is preferred to fit the circle center data. At the same time, in order to ensure that a wide range of arc trajectory data is collected as much as possible, it is necessary to manually rotate the test target ball during the test;
[0056] b. During the test, at least 2-3 test positions of each joint should be ensured for subsequent data analysis;
[0057] c. It is necessary to conduct real-time analysis of the test data on site. First, analyze whether the data in the Cartesian coordinate system ensures the stability of the data acquisition cycle. Some data may cause deviations in the data cycle results due to objective factors. On this basis, conduct in-depth analysis of the data and use MATLAB to calculate whether the test data conforms to the normal distribution.
[0058] In step S4 a, it is necessary to verify the human error introduced by the manual rotation of the target ball. Therefore, in the preliminary experiment, the robot is fixed and the target ball is rotated, that is, the robot servo brake is engaged, and the target ball rotation trajectory data is collected with the help of a laser tracker. The position accuracy and position repeatability of the target ball data are calculated on-site with the help of RoboTL software. The calculation result is controlled within a reasonable range of 20μm, and it is considered that the target ball rotation operation is reasonable, which can be used for actual measurement of a large range of joint axes.
[0059] In step S4 b, during the test of the J4 joint axis, in order to reduce the introduction of geometric errors and non-geometric errors of the J1 joint, J2 joint and J3 joint, the J4 joint axis test must be performed after the current posture is kept unchanged after the first three joint tests are completed; in addition, due to the limitations of the geometric dimensions of the J5 and J6 joints, the target balls must be installed and measured with the help of small tooling, and the tooling stiffness is required to be within a reasonable range to avoid non-geometric errors introduced by the tooling.
[0060] like Figure 3 As shown, in step S4 c, the normal distribution is not mainly aimed at the measured data in the Cartesian coordinate system, but based on the measured data, the measured data center plane is fitted, and the distance from the measured data projected to the center plane is calculated and recorded as D. Normal distribution analysis is performed on D. If some measuring point data do not conform to the normal distribution trend, the accuracy of the fitting result cannot be directly judged from the center fitting result alone, but its normal distribution result obviously does not conform to the ideal normal distribution trend. The joint axis should be re-measured immediately to ensure the rationality of the test data.
[0061] The step S5 comprises the following steps:
[0062] a. After the data collection is completed, the minimum value between the measured data and the mean of the measured data is calculated with the help of MATLAB, that is, the common plane of the original data is determined, and the equation of the common plane is listed to intuitively display the display state of the plane. The spatial grid matrix is generated with the help of the meshgrid function, and then the common plane is drawn with the help of the mesh function;
[0063] b. The calculation result of the circle center fitting is obtained by the data. At this time, if the circle center fitting is directly performed on the projection point on the plane based on the arc trajectory, some of the circle center fitting results have a large deviation from the actual circle center position;
[0064] c. Taking the angle between the joint axes of J1 and J2 axes of an industrial robot as an example, in theory, the joint axes of J1 and J2 are absolutely vertical. However, due to manufacturing and assembly reasons of the robot, the J1 and J2 axes are not actually absolutely vertical. Based on the point normal equation, a plane normal vector perpendicular to the common plane and passing through the center of the fitting circle is made. The spatial angle between the two vectors is calculated to be the joint axis deviation of the J1 and J2 axes.
[0065] like Figure 4 As shown, in the step S5, taking the test of the J1 joint axis of the industrial robot as an example, the robot arm and the upper part are placed in a vertical state, and the influence of the overturning moment caused by gravity on the test results of the joint axis is reduced by ensuring that the direction of the gravity field of the arm and the upper part falls on the J1 axis. Data collection is started under this working condition, and the collected data is the spatial position coordinates (xi, yi, zi) in the Cartesian space coordinate system of the laser tracker, which are output with the help of the plot3 function in matlab.
[0066] like Figure 5 As shown, in step S5 a, after the data is collected, the arc trajectory position coordinates (xi, yi, zi) are named planedata, the original data mean data is processed and named xyz0, and the minimum value of planedata and xyz0 is calculated with the help of the minus function in matlab, that is, the common plane of the original data is determined, and the common plane equation coefficients a, b, c, d are solved with the help of the SVD decomposition function, and the common plane equation a*x+b*y+c*z+d=0 is listed. In order to intuitively display the display state of the plane, the spatial grid matrix is generated with the help of the meshgrid function, and then the common plane is drawn with the help of the mesh function. At this time, the data coordinates of the original data projected to the common plane are named M, and M and the plane are output.
[0067] like Figure 6 As shown, in step S5 b, the deviation between the partial circle center fitting result and the actual circle center position is large mainly because the arc trajectory is not a complete spatial circle trajectory. Due to the sensitivity of the least squares method to discrete data, the arc trajectory center fitting based on the least squares method will "bias" the actual circle center due to individual discrete data. Therefore, it is necessary to complete the spatial circle fitting of the arc trajectory. The spatial position coordinates after the spatial circle fitting is completed are named G. Based on the G data and using the least squares method lsqnonlin function, the circle center fitting result of the complete spatial circle is output.
[0068] like Figure 7As shown in the figure, taking the joint axis angle of the industrial robot J1 and J2 axes as an example, theoretically, the joint axes of J1 and J2 are absolutely vertical, but due to the processing, manufacturing, assembly and other reasons of the robot, the J1 and J2 axes are not actually absolutely vertical. Based on the point normal equation, the plane normal vectors perpendicular to the common plane and passing through the center of the fitting circle are AB and CD respectively. The spatial angle between the two vectors AB and CD is calculated to be the joint axis deviation of the J1 and J2 axes. The joint axis deviation calculation process is shown.
[0069] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for testing the deviation of an industrial robot joint axis, characterized in that: The specific steps include: S1: Determination of robot joint motion range; S2: robot test posture adjustment; S3: Joint axis deviation test target ball installation; S4: Data collection and verification; S5: Output of robot joint axis deviation calculation results; The step S2 is to ensure that the test process is not lost, the test range is large, and at the same time reduce the overturning moment applied to the joint by gravity, thereby reducing the unreasonable test results of the joint axis. When testing each joint axis, the remaining joints need to be adjusted to the specified position, which specifically includes the following steps: a. When testing robot J1, the positions of J2-J6 joints need to be adjusted to the specified positions; b. When testing robot J2, the positions of J1, J3-J6 joints need to be adjusted to the specified positions; c. When testing robots J3, J4, J5, and J6, the same applies; the specific steps of step S4 include that the test process should ensure that at least 2-3 test positions of each joint are used for subsequent data analysis; In the step S4, during the test of the J4 joint axis, in order to reduce the introduction of geometric errors and non-geometric errors of the J1 joint, the J2 joint and the J3 joint, the J4 joint axis test needs to be performed after the first three joint tests are completed and the current posture remains unchanged; The specific steps of step S4 also include collecting experimental data and preferentially selecting the least square method to fit the circle center data. At the same time, in order to ensure that a wide range of arc trajectory data is collected as much as possible, it is necessary to manually rotate the test target ball during the test; In addition, the test data should be analyzed in real time on site. First, the data in the Cartesian coordinate system should be analyzed to see whether it guarantees the stability of the data acquisition cycle. Some data may have deviations in the data cycle results due to objective factors. On this basis, the data should be analyzed in depth, and MATLAB should be used to calculate whether the test data conforms to the normal distribution. In the step S4, the normal distribution is not mainly aimed at the measured data in the Cartesian coordinate system, but is based on the experimental measured data, fitting the measured data center plane, calculating the distance of the measured data projected to the center plane, and performing normal distribution analysis on the plane distance. If some measuring point data do not conform to the normal distribution trend, even if the accuracy of the fitting result cannot be directly judged from the center fitting result alone, its normal distribution result obviously does not conform to the ideal normal distribution trend. The joint axis should be re-measured immediately to ensure the rationality of the test data.
2. The method for testing the deviation of an industrial robot joint axis according to claim 1, characterized in that: In step S1, before the test, it should be ensured that the installation position of the test target ball is reasonable, the laser tracker does not lose light, and the range of motion of the robot joints should be expanded as much as possible. The reasonable installation position of the target ball is to ensure that the target ball does not fall off, does not lose light, and does not interfere; the laser tracker does not lose light to ensure that the test data is reasonable; the range of motion of the robot joints is expanded to ensure that the test data samples are easy to fit.
3. The method for testing the deviation of an industrial robot joint axis according to claim 1, characterized in that: In step S3, since the later data processing requires different arc trajectory fitting and joint axis fitting calculation to finally obtain the optimal fitting result, it is necessary to perform arc trajectory tests on different positions of each joint. Each test position should avoid repeated measurement of test data due to being too close. The target ball installation position should be installed in combination with the test position, measurement range, and the possibility of avoiding light loss.
4. The method for testing the deviation of an industrial robot joint axis according to claim 1, characterized in that: Based on this need, the human error introduced by the artificial rotation of the target ball needs to be verified. Therefore, in the preliminary experiment, the robot is fixed and the target ball is rotated, that is, the robot servo brake is engaged, and the rotation trajectory data of the target ball is collected with the help of a laser tracker. The position accuracy and position repeatability of the target ball data are calculated on-site with the help of RoboTL software. The calculation results are controlled within a reasonable range of 20μm, and it is considered that the target ball rotation operation is reasonable, which can be used for actual measurement of a large range of joint axes.
5. The method for testing the deviation of an industrial robot joint axis according to claim 4, characterized in that: In step S4, due to the limitation of geometric dimensions, the target sphere installation and actual measurement of the J5 and J6 joints must be performed with the aid of a small tooling. The tooling stiffness is required to be within a reasonable range to avoid non-geometric errors introduced by the tooling.
6. The method for testing the deviation of an industrial robot joint axis according to claim 1, characterized in that: The step S5 comprises the following steps: a. After the data collection is completed, the minimum value between the measured data and the mean of the measured data is calculated with the help of MATLAB, that is, the common plane of the original data is determined, and the equation of the common plane is listed to intuitively display the display state of the plane. The spatial grid matrix is generated with the help of the meshgrid function, and then the common plane is drawn with the help of the mesh function; b. The calculation result of the circle center fitting is obtained by the data. At this time, if the circle center fitting is directly performed on the projection point on the plane based on the arc trajectory, some of the circle center fitting results have a large deviation from the actual circle center position; c. Taking the angle between the joint axes of J1 and J2 axes of an industrial robot as an example, in theory, the joint axes of J1 and J2 are absolutely vertical. However, due to manufacturing and assembly reasons of the robot, the J1 and J2 axes are not actually absolutely vertical. Based on the point normal equation, a plane normal vector perpendicular to the common plane and passing through the center of the fitting circle is made. The spatial angle between the two vectors is calculated to be the joint axis deviation of the J1 and J2 axes.
7. The method for testing the deviation of the joint axis of an industrial robot according to claim 6, characterized in that: In step S5 b, the deviation between the partial circle center fitting result and the actual circle center position is large mainly because the arc trajectory is not a complete spatial circle trajectory. Due to the sensitivity of the least squares method to discrete data, the arc trajectory center fitting based on the least squares method will "bias" the actual circle center due to individual discrete data. Therefore, it is necessary to complete the spatial circle fitting of the arc trajectory, and perform circle center fitting based on the data after the spatial circle fitting and using the least squares method.
