Spatial trajectory processing method, device, equipment and medium for industrial robot

By obtaining multiple joint space points of the industrial robot and dividing them into single-segment trajectories, the input shaper parameters are determined based on the dynamic equations, which solves the problem of difficult selection of shaper design parameters in the existing technology and improves the adaptability of robot trajectory processing. properties and effects.

CN118493406BActive Publication Date: 2024-10-29FOSHAN INST OF INTELLIGENT EQUIP TECH

Patent Information

Application Number
CN202410956273.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-29
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing industrial robot shaping technology lacks analysis and processing of actual working conditions during design, making it difficult to select shaper design parameters, resulting in poor results and difficulty in coping with changes in working conditions.

Method used

By obtaining multiple joint space points of the industrial robot and dividing them into multiple single-segment trajectories, analytical modal analysis is performed based on the dynamic equations of joint flexibility to determine the input shaper corresponding to each single-segment trajectory and determine the input based on actual working conditions. Shaper parameters, adjust the trajectory to reduce residual vibration at the end.

Benefits of technology

It improves the correlation between the selection efficiency of input shaper design parameters and actual working conditions, enhances the adaptability of industrial robot spatial trajectory processing, and reduces terminal residual vibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118493406B_ABST
    Figure CN118493406B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of industrial robot trajectory control, and specifically to a method, device, equipment and medium for processing the spatial trajectory of an industrial robot. The present invention includes: by acquiring multiple joint space points of an industrial robot, a continuous complex trajectory is divided into multiple single-segment trajectories according to the joint space points for planning, each joint point for planning a complex trajectory is regarded as a point of occurrence of residual vibration, an input shaper corresponding to each single-segment trajectory is determined by the joint space points, and the parameters of the input shaper are determined in combination with the actual working conditions of the industrial robot, so that the parameter selection efficiency of the input shaper design is highly correlated with the actual working conditions, and the adaptability of the spatial trajectory processing of the industrial robot is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial robot trajectory control, and in particular to a method, device, computer equipment and storage medium for processing the spatial trajectory of an industrial robot. Background Art

[0002] In the prior art, the flexible structures such as reducers and transmission belts used at the rotating joints of industrial robots reduce the joint stiffness of the robot and introduce flexible joint structures, which causes uncontrolled vibrations to occur at the end of the robot after the movement stops, i.e., residual vibrations at the end. Input Shaping Technology (IST) is an offline vibration suppression technology that avoids residual vibrations by generating trajectories with self-cancelling characteristics. However, the existing input shaping technology (IST) basically uses a single system parameter for design when designing the shaper of industrial robots, without analyzing and processing the actual working conditions, which makes it extremely difficult to select the design parameters of the shaper, and the designed shaper is not very effective in actual applications and is difficult to cope with some changing working conditions. Summary of the invention

[0003] Based on this, a method, device, computer equipment and storage medium for processing the spatial trajectory of an industrial robot are provided.

[0004] A spatial trajectory processing method for an industrial robot, applied to an industrial robot including multiple links, comprises:

[0005] Obtain multiple joint space points of industrial robots;

[0006] Determining a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points;

[0007] Based on the dynamic equations of joint flexibility and the spatial positions of each joint, the input shaper corresponding to each single-segment trajectory is determined;

[0008] Each single-segment trajectory is input into a corresponding input shaper, and the continuous spatial trajectory of the industrial robot is obtained according to the output result of the input shaper.

[0009] In one embodiment, determining a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points includes:

[0010] According to the multiple joint space points, two adjacent joint space points are used as the starting point and the ending point of a single-segment trajectory to divide the multiple single-segment trajectories.

[0011] In one embodiment, the step of determining the input shaper corresponding to each single-segment trajectory based on the dynamic equation of joint flexibility and each joint space point position includes:

[0012] Based on the dynamic equation of joint flexibility, analytical modal analysis is performed on each joint space point to obtain the natural frequency and damping ratio corresponding to each joint space point;

[0013] Determine the input shaper corresponding to each single-segment trajectory according to the natural frequency and the damping ratio;

[0014] The input parameters of the dynamic equation of the joint flexibility include at least two of the inertia of the robot link side, the inertia of the robot motor side and the elastic torsion spring stiffness coefficient.

[0015] In one of the embodiments, the robot connecting rod side inertia, the robot motor side inertia and the elastic torsion spring stiffness coefficient are obtained by parameter identification.

[0016] In one embodiment, determining the input shaper corresponding to each single-segment trajectory according to the natural frequency and the damping ratio includes:

[0017] According to the corresponding relationship between each joint space point and each single-segment trajectory, the natural frequency and damping ratio of each joint space point are input into a predetermined input shaper equation to obtain the input shaper corresponding to each single-segment trajectory.

[0018] In one embodiment, the step of inputting each single-segment trajectory into a corresponding input shaper and obtaining the continuous spatial trajectory of the industrial robot according to an output result of the input shaper comprises:

[0019] Convert each single-segment trajectory into a Cartesian space trajectory;

[0020] Inputting the Cartesian space trajectory into a shaper for processing, and obtaining a plurality of space trajectories according to the output result of the input shaper;

[0021] The multiple spatial trajectories are spliced ​​in the trajectory running order to obtain a continuous spatial trajectory of the industrial robot.

[0022] In one embodiment, converting each single-segment trajectory into a Cartesian space trajectory includes:

[0023] Performing kinematic modeling on the industrial robot to obtain a homogeneous transformation matrix of two adjacent connecting rods;

[0024] According to the product of each homogeneous transformation matrix, a terminal homogeneous transformation matrix of the industrial robot is obtained;

[0025] The posture parameters of each joint space point of the industrial robot are obtained, and the Cartesian space trajectory is obtained based on the posture parameters and the end homogeneous transformation matrix.

[0026] A spatial trajectory processing device for an industrial robot, applied to an industrial robot including multiple links, comprises:

[0027] A joint space point acquisition module is used to acquire multiple joint space points of an industrial robot;

[0028] A single-segment trajectory determination module, used to determine a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points;

[0029] An input shaper determination module performs an analytical modal analysis on each joint space point based on the dynamic equation of joint flexibility to obtain the natural frequency and damping ratio corresponding to each joint space point; and determines the input shaper corresponding to each single-segment trajectory according to the natural frequency and damping ratio; wherein the input parameters of the dynamic equation of joint flexibility include at least two of the robot link side inertia, the robot motor side inertia and the elastic torsion spring stiffness coefficient;

[0030] The continuous space trajectory determination module inputs each single-segment trajectory into a corresponding input shaper, and obtains the continuous space trajectory of the industrial robot according to the output result of the input shaper.

[0031] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method embodiment when executing the computer program.

[0032] A computer-readable storage medium stores a computer program, which implements the steps of the above method embodiment when executed by a processor.

[0033] The present invention obtains multiple joint space points of an industrial robot, divides a continuous complex trajectory into multiple single-segment trajectories according to the joint space points to be planned, regards each joint point used to plan the complex trajectory as a generating point of residual vibration, determines an input shaper corresponding to each single-segment trajectory through the joint space points, and determines the parameters of the input shaper in combination with the actual working condition of the industrial robot, so that the parameter selection efficiency of the input shaper design is highly correlated with the actual working condition, and further improves the adaptability of the industrial robot's spatial trajectory processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a flow chart of a method for processing a spatial trajectory of an industrial robot in one embodiment of the present invention;

[0035] Figure 2A structural block diagram of a spatial trajectory processing device for an industrial robot provided in one embodiment of the present invention;

[0036] Figure 3 An internal structure diagram of a computer device provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0039] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0040] In the prior art, the flexible structures such as reducers and transmission belts used at the rotating joints of industrial robots reduce the joint stiffness of the robot and introduce joint flexible structures, so that the robot end still has uncontrolled vibration after the movement stops, that is, residual vibration of the end. Input Shaping Technology (IST) is an offline vibration suppression technology that avoids residual vibration by generating a trajectory with self-cancelling characteristics. However, the existing input shaping technology (IST) basically uses a single system parameter for design when designing the industrial robot shaper, without analyzing and processing the actual working conditions, which makes it extremely difficult to select the shaper design parameters, and the designed shaper is not very effective in actual application and is difficult to cope with some changing working conditions. Based on the above problems, the present invention proposes a spatial trajectory processing method for an industrial robot, which designs an input shaper through parameter adaptation and combines the trajectory data of multiple joint space points to adjust the segmented trajectory of a multi-link industrial robot into a continuous spatial trajectory.

[0041] To more clearly describe the scenario of the present invention, the relevant concepts in the present invention are explained as follows:

[0042] The joint space point refers to the specific position and posture of each joint of the robot manipulator at a certain moment. For a manipulator with n degrees of freedom, the positions of all its links can be determined by a set of n joint variables, which are usually called n*1 joint vectors. The space composed of all joint vectors is called joint space.

[0043] Input Shaping Technology (IST) is an open-loop control method that eliminates the vibration of the system itself by generating a series of pulse signals. The controlled object is divided into several segments (segment processing). Taking the two-pulse input shaper as an example, starting from time 0, a pulse signal is given to the system at time t1 to generate a vibration with an amplitude of A1; another pulse signal is given to the system at time t2 to generate a vibration with an amplitude of A2. The amplitudes of these two vibration responses are equal in size and opposite in direction, and they cancel each other out, so that the controlled object does not vibrate when it reaches the target position and is immediately positioned at the target position.

[0044] Analytical modal analysis is a method to study the dynamic response of robot structure under specific excitation, which is mainly used to determine the robot's natural frequency, damping ratio, modal vibration shape and other parameters. These parameters are important indicators for evaluating the dynamic performance of the robot.

[0045] Cartesian space trajectory refers to dividing the robot's motion trajectory into multiple intermediate points in the Cartesian coordinate system by knowing the starting and ending points, ensuring that the robot's end effector passes through these points in sequence during the movement, thus forming a continuous and smooth motion trajectory.

[0046] Parameter identification is a technique that combines theoretical models with experimental data for prediction. It determines a set of model parameter values ​​based on experimental data and the established model so that the numerical results calculated by the model can best fit the test data (i.e., achieve curve fitting).

[0047] The robot DH parameter table is an important tool for describing the kinematic characteristics of a robot or manipulator. The DH parameter table contains four main parameters: Link length (a): indicates the length of the common perpendicular line of two adjacent joint axes. This parameter describes the length characteristics of the link itself. Link angle (α): indicates the angle between two adjacent joint axes. This parameter describes the rotation characteristics of the link itself. Link offset (d): indicates the distance along the common axis of two adjacent links. This parameter describes the offset distance between the links. Joint angle (θ): indicates the angle between two adjacent links around the common axis. This parameter describes the relative rotation angle between the links.

[0048] The following describes the spatial trajectory processing method of the industrial robot according to some embodiments of the present invention with reference to the accompanying drawings. The method is applied to a multi-link industrial robot. The following uses the method as an example to illustrate the controller of the industrial robot. It should be understood that the method can also be applied to a server or terminal connected to the industrial robot.

[0049] In one embodiment, Figure 1 As shown, a spatial trajectory processing method for an industrial robot is provided, comprising:

[0050] S110, obtaining multiple joint space points of the industrial robot.

[0051] The industrial robot has a certain number of trajectory planning positioning numbers, that is, there are a corresponding number of joint point positions in the corresponding storage parameter position. In specific implementation, when configuring the input shaper of the industrial robot, the controller can obtain multiple joint space points of the industrial robot from the register.

[0052] S120: Determine a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points.

[0053] Among them, the complex motion trajectory of the robot is often composed of multiple simple single-segment trajectories. The starting point and end point of each single-segment trajectory are the spatial points used to plan the complex trajectory. The residual vibration of the robot's end mainly occurs when the robot stops moving. Therefore, each joint point used to plan the complex trajectory can be regarded as the occurrence point of the residual vibration.

[0054] In a specific implementation, multiple joint space points have a movement order. The controller can segment the trajectory of the industrial robot according to the movement order of the multiple space points to obtain multiple single-segment trajectories, and use the joint space starting point and end point of each single-segment trajectory as the occurrence point of residual vibration. In some cases, the controller can use two adjacent joint space points as the starting point and end point of a single-segment trajectory to divide multiple single-segment trajectories.

[0055] For example, assuming that the number of trajectory planning positions n = 6, the number of joint points in the register used to plan continuous complex trajectories is q1, q2, ..., q6. The continuous complex trajectory can be divided into 5 simple single-segment trajectories: trajectory 1 (q1-q2), trajectory 2 (q2-q3), trajectory 3 (q3-q4), trajectory 4 (q4-q5), trajectory 5 (q5-q6).

[0056] S130, based on the dynamic equation of joint flexibility and the spatial position of each joint, determine the input shaper corresponding to each single-segment trajectory.

[0057] Among them, the dynamic equation of joint flexibility is a mathematical model that describes the dynamic behavior of a mechanical system with flexible joints, including the dynamic behavior caused by joint flexibility, including the matrix generated by joint flexibility, the damping matrix, the matrix generated by joint stiffness, and the relationship between the joint angle or position and the external driving torque.

[0058] In the specific implementation, the dynamic equations of joint flexibility and each joint space point can be used to obtain the design parameters of the input shaper at each joint space point, such as natural frequency and damping ratio, based on analytical modal analysis. The parameters of the input shaper are selected from the joint space points, fully considering the actual working conditions of the industrial robot and improving the adaptability of spatial trajectory processing.

[0059] Based on the design parameters and the pre-selected input shaper, the input shaper of each joint space point can be determined. The input shaper can select a commonly used model, such as a zero vibration shaper, a zero vibration first-order differential shaper, etc., which is not specifically limited in the present invention.

[0060] S140, inputting each single-segment trajectory into a corresponding input shaper, and obtaining a continuous spatial trajectory of the industrial robot according to an output result of the input shaper.

[0061] In the specific implementation, the controller can input each single-segment trajectory into the corresponding input shaper, obtain multiple spatial trajectories according to the output results of the input shaper, splice the multiple spatial trajectories according to the trajectory running order, and obtain the continuous spatial trajectory of the industrial robot, ensuring that the end of the industrial robot moves according to the expected trajectory and reducing residual vibration at the end.

[0062] The controller may input each single-segment trajectory to the input shaper corresponding to the single-segment trajectory to correct the data corresponding to each single-segment trajectory to obtain a corrected trajectory. Specifically, the controller may perform kinematic transformation on each single-segment trajectory, introduce the robot DH parameter table, and correct the trajectory through the input shaper.

[0063] The method of the above embodiment obtains multiple joint space points of the industrial robot, divides the continuous complex trajectory into multiple single-segment trajectories according to the joint space points to be planned, regards each joint point used to plan the complex trajectory as the occurrence point of residual vibration, determines the input shaper corresponding to each single-segment trajectory through the joint space points, and determines the parameters of the input shaper in combination with the actual working conditions of the industrial robot, so that the parameter selection efficiency of the input shaper design is highly correlated with the actual working conditions, and further improves the adaptability of the industrial robot's spatial trajectory processing.

[0064] In one embodiment, the step S130 above, based on the dynamic equation of joint flexibility and the spatial position of each joint, determines the input shaper corresponding to each single-segment trajectory, including:

[0065] Based on the dynamic equation of joint flexibility, analytical modal analysis is performed on each joint space point to obtain the natural frequency and damping ratio corresponding to each joint space point; according to the natural frequency and damping ratio, the input shaper corresponding to each single-segment trajectory is determined.

[0066] In the specific implementation, the controller can construct the dynamic equation of joint flexibility, and import the robot link side inertia, robot motor side inertia, and elastic torsion spring stiffness coefficient into the equation. The robot link side inertia, robot motor side inertia, and elastic torsion spring stiffness coefficient can all be obtained through parameter identification.

[0067] In some embodiments, the controller considers that the flexible joint dynamics equation of the robot on the motor side and the link side can be linearized as formula (1):

[0068]

[0069] Among them, M(q) is the inertia matrix of the robot link side at the joint angle q, B is the inertia matrix of the robot motor side, is the Coriolis force and centrifugal force matrix on the connecting rod side, g(q) is the gravity vector matrix of the robot connecting rod, D and D m are the damping matrices on the connecting rod side and the motor side respectively, K is the joint stiffness matrix, and the matrix (i is the number of joints, when the joint is a revolute joint, r i =1), q is the connecting rod side joint angle, q m is the joint angle on the motor side, is the angular velocity of the connecting rod side, is the motor side angular velocity, is the connecting rod side angular acceleration, is the motor side angular acceleration, τ m is the external torque on the motor side, τ ext is the connecting rod side external moment, J T (q) is the Jacobian matrix on the link side at the joint angle q.

[0070] According to the PD control rate based on gravity compensation, the motor side external torque τ can be obtained m , expressed as formula (2):

[0071]

[0072] Among them, q d is the command joint angle, K p is the proportional gain matrix, K D is the integral gain matrix.

[0073] Substituting equation (2) into equation (1), we can obtain the dynamic differential equation of the robot at the equilibrium position (3):

[0074]

[0075] Formula (3) can be simplified as formula (4):

[0076]

[0077] In formula (4), and The disturbance vector representing the equilibrium position of the joint And in the equilibrium position

[0078] In formula (4), The matrix is ​​the linearized inertia matrix, which can be expressed as formula (5):

[0079]

[0080] In formula (4), The matrix is ​​the damping matrix, which can be expressed as formula (6):

[0081]

[0082] In formula (4), The matrix is ​​an elastic matrix, which can be expressed as formula (7):

[0083]

[0084] K in formula (7) G (q d ) can be expressed as formula (8):

[0085]

[0086] From equations (5), (6) and (7), the state matrix A of the robot in the equilibrium position can be derived:

[0087]

[0088] Where, I is the identity matrix.

[0089] Find the eigenvalue λ of the state matrix in equation (9) k The natural frequency w of the robot at the joint angle q can be obtained n and damping ratio ζ. Taking n = 6 and the number of joint points as q1, q2, ..., q6, the natural frequency w of the industrial robot at positions q2...q6 is nThe characteristic value λ and the damping ratio ζ can be obtained by using equation (9) k get.

[0090] Natural frequency w n It is expressed as formula (10):

[0091]

[0092] Among them, real(λ k ) is the complex eigenvalue λ k Real part, imag(λ k ) is the complex eigenvalue λ k Imaginary part, w n The unit of measurement is ad / s.

[0093] The damping ratio ζ is expressed as formula (11):

[0094]

[0095] The method of the above embodiment determines the natural frequency and damping ratio through the spatial points of each joint of the industrial robot, so that the parameters of the input shaper are determined based on the actual working parameters of the industrial robot instead of a single system parameter, thereby improving the correlation between the input shaper parameter acquisition and the actual working conditions. The input shaper obtained in this way has good adaptability and can cope with changing working conditions.

[0096] In some embodiments, the industrial robot can input the natural frequency and damping ratio of each joint space point into a predetermined input shaper equation according to the correspondence between each joint space point and each single-segment trajectory to obtain an input shaper corresponding to each single-segment trajectory.

[0097] Among them, according to the natural frequency and damping ratio, the input shaper corresponding to each single-segment trajectory is determined, and the implementation process is as follows:

[0098] The input shaper can be expressed as Among them, A i represents the amplitude of the ith pulse, t i represents the action time of the i-th pulse, and u represents the total number of pulses.

[0099] The selection of input shaper takes ZV input shaper as an example, refer to formula (12):

[0100]

[0101] in,

[0102] Specifically, taking the case where the number of joint points is q1, q2, ..., q6, there are 5 single-segment trajectories, and 5 input shapers need to be designed. The natural frequency w of the industrial robot at positions q2...q6 is calculated. n Substituting the damping ratio ζ into equation (12), we can obtain the input shaper acting on each single-segment trajectory.

[0103] In one embodiment, the step of inputting each single-segment trajectory into a corresponding input shaper in S140, and obtaining the continuous spatial trajectory of the industrial robot according to the output result of the input shaper, comprises:

[0104] Each single-segment trajectory is converted into a Cartesian space trajectory; the Cartesian space trajectory is input into a shaper for processing, and a plurality of space trajectories are obtained according to the output result of the input shaper; the plurality of space trajectories are spliced ​​according to the trajectory running sequence to obtain a continuous space trajectory of the industrial robot.

[0105] In this embodiment, the controller can convert each single-segment trajectory into a Cartesian space trajectory. Specifically, the controller can perform kinematic modeling on the industrial robot to obtain a homogeneous transformation matrix of two adjacent links; obtain a terminal homogeneous transformation matrix of the industrial robot according to the product of each homogeneous transformation matrix; obtain the posture parameters of each joint space point of the industrial robot, and obtain a Cartesian space trajectory based on the posture parameters and the terminal homogeneous transformation matrix.

[0106] Taking an industrial robot with n=6 and joint point q1 as an example, the joint space trajectory is converted into the Cartesian space trajectory through forward kinematics as follows:

[0107] Kinematic modeling of industrial robots is performed to obtain the homogeneous transformation matrix of two adjacent links. Formula (13):

[0108]

[0109] The robot posture parameter table (DH parameter table) is established, and the values ​​of the parameters θ, a, α, and d in formula (13) can be directly entered from the table.

[0110] Table 1DH parameter table

[0111] θ(rad) d(m) a(m) α(rad) 1 <![CDATA[θ1]]> 0 0 <![CDATA[α1]]> 2 <![CDATA[θ2]]> <![CDATA[d1]]> <![CDATA[a1]]> 0 3 <![CDATA[θ3]]> 0 0 <![CDATA[α2]]> 4 <![CDATA[θ4]]> <![CDATA[d2]]> 0 <![CDATA[α3]]> 5 <![CDATA[θ5]]> <![CDATA[d3]]> 0 <![CDATA[α4]]> 6 <![CDATA[θ6]]> <![CDATA[d4]]> 0 0

[0112] In the table, θ is the angle of each joint in the joint point in step 1, such as q1 = [θ1, θ2, θ3, θ4, θ5, θ6]. The above DH parameter table is only for example reference and is not limited to a specific model of robot.

[0113] The end homogeneous transformation matrix of the six-link robot is the product of the homogeneous transformation matrices of each link. After substituting the parameters in Table 1, the end homogeneous transformation matrix can be expressed as formula (14):

[0114]

[0115] Among them, r 11 ,r 12 ,…,r 33 is the element of the rotation matrix R, which represents the posture change of q6 relative to q1, p x ,p y ,p z is the translation distance of q6 relative to q1 along the X, Y, and Z axes.

[0116] In some embodiments, the controller can obtain the posture parameters of each joint space point of the industrial robot, and obtain the Cartesian space trajectory based on the posture parameters and the end homogeneous transformation matrix.

[0117] Specifically, the controller can obtain the Cartesian space interpolation trajectory based on the data points of the joint space interpolation trajectory. The object of joint space interpolation trajectory planning is the angle of each joint of the robot. This planning method generates the joint rotation angle of each interpolation cycle of the robot through a specific speed planning method based on the joint angles of the starting point and the target point.

[0118] In some cases, the controller can periodically (e.g., every control cycle) calculate the end homogeneous transformation matrix, and extract the position (x, y, z) and attitude (e.g., using a rotation matrix or quaternion) of the end effector from each end homogeneous transformation matrix. These positions and attitudes are arranged in time order to obtain a Cartesian space trajectory.

[0119] In some embodiments, the controller can input the Cartesian spatial trajectory into a shaper for processing, and obtain multiple spatial trajectories according to the output result of the input shaper; and splice the multiple spatial trajectories according to the trajectory running order to obtain a continuous spatial trajectory of the industrial robot.

[0120] Specifically, the controller can correct the input shaper of each single-segment trajectory, and the correction method refers to formula (15):

[0121]

[0122] Among them, S IS (t) is the corrected trajectory after shaping, S(t) is the original trajectory without shaping, and f IS For the shaper.

[0123] In some embodiments, the controller can connect the corrected single-segment Cartesian trajectories in the trajectory running order to form a corrected continuous Cartesian space trajectory, ensuring that the industrial robot moves according to the expected trajectory at the end and reducing residual vibration at the end.

[0124] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present invention.

[0125] In one embodiment, Figure 2 As shown, a spatial trajectory processing device for an industrial robot is provided, and the device 200 includes:

[0126] A joint space point acquisition module 210 is used to acquire multiple joint space points of the industrial robot;

[0127] A single-segment trajectory determination module 220, configured to determine a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points;

[0128] An input shaper determination module 230 determines an input shaper corresponding to each single-segment trajectory based on the dynamic equation of joint flexibility and each joint space point position;

[0129] The continuous space trajectory determination module 240 inputs each single-segment trajectory into a corresponding input shaper, and obtains the continuous space trajectory of the industrial robot according to the output result of the input shaper.

[0130] In one embodiment, the single-segment trajectory determination module 220 is further used to divide the multiple single-segment trajectories according to the multiple joint space points by taking two adjacent joint space points as the starting point and the ending point of the single-segment trajectory.

[0131] In one embodiment, the input shaper determination module 230 includes: a parameter acquisition unit, which is used to perform analytical modal analysis on each joint space point based on the dynamic equation of joint flexibility to obtain the natural frequency and damping ratio corresponding to each joint space point; an input shaper determination unit, which is used to determine the input shaper corresponding to each single-segment trajectory according to the natural frequency and damping ratio; wherein the input parameters of the dynamic equation of joint flexibility include at least two of the robot link side inertia, the robot motor side inertia, and the elastic torsion spring stiffness coefficient.

[0132] In one embodiment, the input shaper determination module 230 includes: the robot link side inertia, the robot motor side inertia, and the elastic torsion spring stiffness coefficient are obtained by parameter identification.

[0133] In one embodiment, the input shaper determination unit is further used to input the natural frequency and damping ratio of each joint space point into a predetermined input shaper equation according to the correspondence between each joint space point and each single-segment trajectory, so as to obtain the input shaper corresponding to each single-segment trajectory.

[0134] In one embodiment, the continuous space trajectory determination module 240 includes: a Cartesian space trajectory acquisition unit, used to convert each single-segment trajectory into a Cartesian space trajectory; a continuous space trajectory acquisition unit, used to input the Cartesian space trajectory into a shaper for processing, and obtain multiple space trajectories according to the output result of the input shaper; splicing the multiple space trajectories according to the trajectory running order to obtain the continuous space trajectory of the industrial robot.

[0135] In one embodiment, the Cartesian space trajectory acquisition unit is further used to perform kinematic modeling on the industrial robot to obtain the homogeneous transformation matrix of two adjacent links; obtain the end homogeneous transformation matrix of the industrial robot according to the product of each homogeneous transformation matrix; obtain the posture parameters of each joint space point of the industrial robot, and obtain the Cartesian space trajectory based on the posture parameters and the end homogeneous transformation matrix.

[0136] For the specific definition of the spatial trajectory processing device of the industrial robot, please refer to the definition of the spatial trajectory processing method of the industrial robot above, which will not be repeated here. Each module in the above-mentioned spatial trajectory processing device of the industrial robot can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0137] The present invention can be applied to computer devices, such as smart phones, tablet computers, laptop computers, desktop computers, rack servers, blade servers, tower servers or cabinet servers (including independent servers or server clusters composed of multiple servers) that can execute programs. The computer device of this embodiment includes at least but is not limited to: a memory and a processor that can communicate with each other through a system bus, such as Figure 3 It should be pointed out that Figure 3Only a computer device with a memory and a processor component is shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. The memory (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory can be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory is generally used to store operating systems and various application software installed on the computer device, such as joint space points, dynamic equations, etc. In addition, the memory can also be used to temporarily store various types of data that have been output or are about to be output. The processor can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor is generally used to control the overall operation of a computer device. In this embodiment, the processor is used to run the program code stored in the memory or process data to implement a spatial trajectory processing method for an industrial robot.

[0138] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0139] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0140] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0141] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0142] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A spatial trajectory processing method for an industrial robot, applied to an industrial robot including multiple links, characterized in that: include: Obtain multiple joint space points of industrial robots; Determining a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points; Based on the dynamic equation of joint flexibility, analytical modal analysis is performed on each joint space point to obtain the natural frequency and damping ratio corresponding to each joint space point; Determine the input shaper corresponding to each single-segment trajectory according to the natural frequency and the damping ratio; Wherein, the input parameters of the dynamic equation of the joint flexibility include at least two of the inertia of the robot link side, the inertia of the robot motor side and the elastic torsion spring stiffness coefficient; Each single-segment trajectory is input into a corresponding input shaper, and the continuous spatial trajectory of the industrial robot is obtained according to the output result of the input shaper.

2. The method according to claim 1, characterized in that Determining a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points comprises: According to the multiple joint space points, two adjacent joint space points are used as the starting point and the ending point of a single-segment trajectory to divide the multiple single-segment trajectories.

3. The method according to claim 1, characterized in that: The robot connecting rod side inertia, the robot motor side inertia and the elastic torsion spring stiffness coefficient are obtained by parameter identification.

4. The method according to claim 1, characterized in that: Determining the input shaper corresponding to each single-segment trajectory according to the natural frequency and the damping ratio includes: According to the corresponding relationship between each joint space point and each single-segment trajectory, the natural frequency and damping ratio of each joint space point are input into a predetermined input shaper equation to obtain the input shaper corresponding to each single-segment trajectory.

5. The method according to any one of claims 1 to 4, characterized in that: The step of inputting each single-segment trajectory into a corresponding input shaper and obtaining the continuous spatial trajectory of the industrial robot according to the output result of the input shaper comprises: Convert each single-segment trajectory into a Cartesian space trajectory; Inputting the Cartesian space trajectory into a shaper for processing, and obtaining a plurality of space trajectories according to the output result of the input shaper; The multiple spatial trajectories are spliced ​​in the trajectory running order to obtain a continuous spatial trajectory of the industrial robot.

6. The method according to claim 5, characterized in that The step of converting each single-segment trajectory into a Cartesian space trajectory comprises: Performing kinematic modeling on the industrial robot to obtain a homogeneous transformation matrix of two adjacent connecting rods; According to the product of each homogeneous transformation matrix, a terminal homogeneous transformation matrix of the industrial robot is obtained; The posture parameters of each joint space point of the industrial robot are obtained, and the Cartesian space trajectory is obtained based on the posture parameters and the end homogeneous transformation matrix.

7. A spatial trajectory processing device for an industrial robot, applied to an industrial robot including multiple links, characterized in that: include: A joint space point acquisition module is used to acquire multiple joint space points of an industrial robot; A single-segment trajectory determination module, used to determine a plurality of single-segment trajectories of the industrial robot according to the plurality of joint space points; An input shaper determination module performs an analytical modal analysis on each joint space point based on the dynamic equation of joint flexibility to obtain the natural frequency and damping ratio corresponding to each joint space point; and determines the input shaper corresponding to each single-segment trajectory according to the natural frequency and damping ratio; wherein the input parameters of the dynamic equation of joint flexibility include at least two of the robot link side inertia, the robot motor side inertia and the elastic torsion spring stiffness coefficient; The continuous space trajectory determination module inputs each single-segment trajectory into a corresponding input shaper, and obtains the continuous space trajectory of the industrial robot according to the output result of the input shaper.

8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Mechanical arm splicing path planning method and device

    CN113650011A

  • Mobile robot path planning method based on image processing

    CN114442629A

Cited By

  • A variable parameter cooperative input shaping method for synchronous positioning of a double-sided welding robot

    CN123060336A