A method, system, device and medium for identifying load mass at the end of a robotic arm
By setting an unknown mass at the end of the manipulator and using the Lagrangian method to establish a dynamic model, combined with the electrodynamic model, the load mass is calculated and determined, which solves the problem of low accuracy in the existing technology that relies on external force sensors and achieves Provides more efficient load quality identification and precise control.
Patent Information
- Application Number
- CN202211347581.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-10-31
AI Technical Summary
In the existing technology, the load mass identification method at the end of the robotic arm relies on an external force sensor, which increases the cost and has low accuracy, making it difficult to achieve high-precision control.
The Lagrangian method is used to establish the load dynamics model of the six-degree-of-freedom manipulator, and the end load dynamics model based on current is used to calculate and determine the load mass using monitoring data, avoiding the stress analysis of the internal components of the manipulator system. The modeling and calculation process is simplified.
It achieves more accurate load mass identification, reduces usage costs, improves the movement accuracy and dynamic performance of the robotic arm, and avoids resonance problems between the load and the connecting rod.
Smart Images

Figure CN115533916B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot control technology, and in particular to a method and system for identifying the mass of load at the end of a robot arm. Background Art
[0002] At present, more and more six-axis robotic arms are used in working environments such as handling, and the weight of the heavy objects being handled is variable. If the control system does not compensate for the gravity torque and inertia torque generated by the load in time, the robot's motion accuracy will deteriorate, the dynamic performance will be reduced, and even resonance between the load and the connecting rod will occur in certain positions. Therefore, quickly and accurately identifying the load dynamic parameters is one of the keys to achieving high-precision control of the robot.
[0003] In the prior art, a multi-dimensional force sensor is generally installed at the end of the robot to sense the force information at the end, the robot is operated to make the end in different positions, and the force feedback information of the sensor in different positions is collected to infer the mass of the end load. However, this method requires the addition of a force sensor, which increases the cost of use and the accuracy of the identification result is low.
[0004] In view of this, there is an urgent need to provide a method and system for identifying the mass of the load at the end of a robotic arm that can solve the problem that the existing measurement method relies on an external force sensor and has low accuracy. Summary of the invention
[0005] One or more embodiments of this specification provide a method for identifying the mass of a load at the end of a robotic arm, comprising the following steps:
[0006] Set a load of unknown mass at the end of the robot arm;
[0007] The loaded dynamic model of the six-degree-of-freedom manipulator is established based on the Lagrangian method;
[0008] Plan the robot arm's running path, control the six-degree-of-freedom robot arm to move according to the desired trajectory, and collect the first monitoring data of each joint;
[0009] Establish a current-based end load dynamics model;
[0010] Substituting the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data into the load-carrying dynamics model, and calculating and determining the first moment of each joint;
[0011] Substituting the actual current of each joint obtained from the first monitoring data into the end load dynamics model to calculate and determine the second moment of each joint;
[0012] The load mass is determined by establishing an equation based on the first moment and the second moment of each joint.
[0013] One or more embodiments of this specification provide a system for identifying the mass of a load at the end of a robotic arm, including:
[0014] A six-degree-of-freedom robotic arm is connected to the computer through its control cabinet, a load of unknown mass is set at the end of the six-degree-of-freedom robotic arm, and the six-degree-of-freedom robotic arm is driven to move under the control of the computer;
[0015] The computer provides the user with visual control operations, plans and controls the operation of the six-degree-of-freedom robot arm; establishes an end-load dynamics model based on current and a load-carrying dynamics model of the six-degree-of-freedom robot arm based on the Lagrangian method; and is used to collect the first monitoring data of each joint when the six-degree-of-freedom robot arm moves, and calculates and determines the first torque of each joint using the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data and the load-carrying dynamics model; calculates and determines the second torque of each joint using the actual current of each joint obtained from the first monitoring data and the end-load dynamics model; and establishes an equation based on the first torque and second torque of each joint to determine the load mass.
[0016] One or more embodiments of the present specification provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for identifying the mass of the load at the end of a robotic arm as described above when executing the computer program.
[0017] One or more embodiments of the present specification provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for identifying the mass of the load at the end of a robotic arm as described above is implemented.
[0018] The present invention uses the Lagrangian method to establish a six-degree-of-freedom robotic arm with load dynamics model. The method is based on the perspective of system energy balance and uses matrix operations to derive the overall dynamics equation of the robotic arm. There is no need to perform force analysis on each component in the robotic arm system. For a more complex robotic arm system, the modeling and calculation process of the method is simpler and more efficient. The load mass calculation of the present invention is based on a dynamic model established under the condition of an unknown load set at the end of the robotic arm and an end load dynamics model based on current to solve the load mass. This is different from the prior art in which the load mass is determined by collecting the load torque with the controller, so that the identification is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 A flow chart of a method for identifying the mass of a load at the end of a robotic arm provided for one or more embodiments of this specification;
[0021] Figure 2 A schematic diagram of a structure for setting a load at the end of a six-degree-of-freedom robotic arm provided in one or more embodiments of this specification;
[0022] Figure 3 A schematic diagram of the structure of a load mass identification system at the end of a robotic arm provided in one or more embodiments of this specification;
[0023] Figure 4 A schematic diagram of the structure of an electronic device provided for one or more embodiments of this specification. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the protection scope of the present invention.
[0025] The present invention is described in detail below in conjunction with specific implementation methods and the accompanying drawings.
[0026] Method Embodiment
[0027] According to an embodiment of the present invention, a method for identifying the mass of a load at the end of a robot arm is provided. Figure 1 As shown, it is a flow chart of the method for identifying the mass of the load at the end of a manipulator provided in an embodiment. The method for identifying the mass of the load at the end of a manipulator according to an embodiment of the present invention comprises the following steps:
[0028] Step S1, setting a load of unknown mass at the end of the robotic arm;
[0029] Step S2, establishing a loaded dynamics model of a six-degree-of-freedom robotic arm based on the Lagrangian method;
[0030] Step S3, planning the running path of the robot arm, controlling the six-degree-of-freedom robot arm to move according to the expected trajectory, and collecting and acquiring the first monitoring data of each joint;
[0031] Step S4, establishing a terminal load dynamics model based on current;
[0032] Step S5, using the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data to substitute into the loaded dynamics model, and calculating and determining the first moment of each joint;
[0033] Step S6, using the actual current of each joint obtained from the first monitoring data to substitute into the end load dynamics model, and calculating and determining the second moment of each joint;
[0034] Step S7: Establish an equation based on the first torque and the second torque of each joint to determine the load mass.
[0035] In this embodiment, the Lagrangian method is first used to establish a dynamic model of a six-degree-of-freedom robotic arm with load. This method is based on the perspective of system energy balance and uses matrix operations to derive the overall dynamic equations of the robotic arm. There is no need to perform force analysis on each component in the robotic arm system. For a more complex robotic arm system, the modeling and calculation process of this method is simpler and more efficient. The load mass calculation method of this embodiment is based on a dynamic model established under the condition of an unknown load set at the end of the robotic arm and an end load dynamic model based on current to solve the load mass. This is different from the prior art in which the load mass is determined by collecting the load torque with load by the controller, so that the identification is more accurate.
[0036] refer to Figure 2 , which is a structural diagram of setting a load at the end of a six-degree-of-freedom robotic arm. In one embodiment, the load of unknown mass is provided with a mounting hole that can be installed at the end of the six-degree-of-freedom robotic arm by bolts, such as a cylindrical weight. The load mass can also be selected according to needs: 0.5kg, 1kg, 1.5kg, 2kg, 2.5kg, 3kg, 3.5kg, 4kg, so that it can be compared with the calculated mass to confirm the accuracy of the result.
[0037] In this embodiment, the robot is first kinematically modeled using the DH parameter method to obtain the robot's posture transformation matrix (T) and Jacobian matrix (jacobi);
[0038] The Jacobian matrix expression is:
[0039]
[0040] k0=[0 0 1] T
[0041]
[0042]
[0043]
[0044] Where: J v It is called the linear velocity Jacobian matrix, and the matrix J w The Jacobian matrix of angular velocity;
[0045] The inertia matrix (M) is as follows:
[0046]
[0047] In the formula, m i The mass of each joint axis, J wi , J vi is the Jacobian matrix of the linear velocity and angular velocity of each joint axis, I i is the inertia tensor matrix of link i.
[0048] The homogeneous transformation matrix term (T) is expressed as follows:
[0049]
[0050]
[0051] Then set the load mass as the unknown number m Q In the model, the unknown number m Q Added to the mass of the end link of the robot arm, the loaded dynamic model includes gravity term (G), Coriolis force and centrifugal force term (C), inertia matrix term (M), homogeneous transformation matrix term (T), Jacobi matrix term (jacobi) and various parameters of the robot arm, as shown below:
[0052]
[0053] Where τ is the moment of each joint, M is the measurement matrix, C is the Coriolis force and centrifugal force, G is the gravity term, q is the joint position, is the joint velocity, is the joint acceleration.
[0054] In this embodiment, the gravity term (G) is expressed as:
[0055]
[0056] Where: G is a 6x1 matrix, representing the gravity of each joint; g is a 3×1 gravity vector, representing the gravitational acceleration in the base coordinate system; p ciIt is a 3×1 matrix, representing the position vector of the center of mass of link i in the base coordinates.
[0057] In this embodiment, during the system solution process, the dynamic parameters that are independent of the motion state of the robot arm are first extracted from the loaded dynamic model τ and defined as the matrix The load dynamic equation can be rewritten as:
[0058]
[0059] Where W is the observation matrix in the robot dynamics linear model, which represents the coefficient function corresponding to the dynamics parameters.
[0060] represents the dynamic parameter vector of the i-th link of the robot arm, and its expression is as follows:
[0061]
[0062] Among them, m i is the mass of the i-th connecting rod; P xi , P yi , P zi is the coordinate of the center of mass of the i-th connecting rod; xxi , I yyi , I zzi is the principal moment of inertia of the i-th connecting rod; I xyi , I xzi , I yzi is the inertia product of the i-th connecting rod;
[0063] Depend on It can be seen that its mass m satisfies the linear superposition theorem:
[0064] m=m i +m Q (9)
[0065] In the formula, due to the center of mass position of the end link of the robot arm itself, the inertia parameter is very small, and the load mass is The impact is greater, so it has been The rest of the parameters are set as the robot's own parameters.
[0066] When the actual position, actual velocity and actual acceleration of each joint obtained from the first monitoring data are combined with the load dynamics model, the symbolic solution of the torque τ on each joint can be obtained; at this time, τ is a 6x1 matrix, which contains the unknown number m Q , so it is called a symbolic solution;
[0067] When the actual current obtained from the first monitoring data is brought into the end load dynamics equation based on current representation, the joint torque τ can be obtained. out The size of τout It is a 6x1 matrix, and the torque of each joint is a constant;
[0068] In this embodiment, a six-degree-of-freedom robot path is set, that is, waypoints for each joint of the robot are added in the robot arm teach pendant, the maximum movement speed, the maximum acceleration, and the joint is set to stay for 2 seconds after reaching each waypoint and then continue to move until it reaches the desired end point; this embodiment adds a certain mass of weight behind the end joint of the six-degree-of-freedom robot.
[0069] In one embodiment, the first monitoring data is the data obtained by feedback from the controller when the robotic arm moves along a preset trajectory. The data can be collected according to calculation requirements, including but not limited to the target position, target speed, target acceleration, target current, torque, actual position, actual speed, actual acceleration, actual current and control current of each joint.
[0070] In one embodiment, in order to filter out data that does not participate in subsequent calculations and reduce the redundancy of calculations, this embodiment uses a moving average filter (smooth). Filtering can reduce noise interference in the data and smooth the data.
[0071] In order to solve the problem in the prior art that there is no force sensor at the end joint of the robot arm, if the mass identification of the end load is to be realized, a force sensor needs to be configured. In order to solve this problem, the end load dynamic equation based on the current in this embodiment is as follows:
[0072] τ out =RKI-τ w (6)
[0073] Among them, τ out is a 6x1 constant matrix, which represents the actual output torque of each joint, R is the gearbox reduction ratio, K is the motor constant, I is the motor current of each joint (that is, the actual current after filtering). Since the motor cannot convert all electrical energy into mechanical energy, there will be a certain degree of energy loss, τ w is the torque loss caused by energy dissipation, which is an empirical parameter and can be 0.06RKI.
[0074] In this embodiment, step S7 determines the load mass according to the first torque and the second torque of each joint, specifically:
[0075] Establish the equation:
[0076]
[0077] The solution process is as follows:
[0078] First let y = τ out -τ can get a value about mass m QA linear function; through the solve function, that is, m Q =double(solve(y,m Q )); Solve the linear function to obtain the load mass m at the end of the robot arm Q .
[0079] System Example
[0080] According to an embodiment of the present invention, a system for identifying the mass of a load at the end of a robot arm is provided. Figure 3 FIG. 1 is a schematic diagram of a framework of a load mass identification system for a robot arm end provided in this embodiment. The load mass identification system for a robot arm end provided in this embodiment of the present invention includes:
[0081] A six-degree-of-freedom robotic arm is connected to the computer through its control cabinet, a load of unknown mass is set at the end of the six-degree-of-freedom robotic arm, and the six-degree-of-freedom robotic arm is driven to move under the control of the computer;
[0082] The computer provides visual control operations for users, plans and controls the operation of the six-degree-of-freedom robot arm; establishes an end-load dynamics model based on current and a load-carrying dynamics model of the six-degree-of-freedom robot arm based on the Lagrangian method; and is used to collect the first monitoring data of each joint when the six-degree-of-freedom robot arm moves, and substitutes the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data into the load-carrying dynamics model to calculate and determine the first torque of each joint; substitutes the actual current of each joint obtained from the first monitoring data into the end-load dynamics model to calculate and determine the second torque of each joint; and establishes an equation based on the first torque and second torque of each joint to determine the load mass.
[0083] In this embodiment, the load dynamics model is as follows:
[0084] Assume the unknown load mass is m Q Under the condition of Q Adding to the mass of the connecting rod at the end of the six-degree-of-freedom robot, the load dynamic model is as follows:
[0085]
[0086] Among them, τ is the torque of each joint, M is the measurement matrix, C is the Coriolis force and centrifugal force term, G is the gravity term, q is the joint position, is the joint velocity, is the joint acceleration.
[0087] The end load dynamic equation based on current is as follows:
[0088] τ out =RKI-τw (8)
[0089] In this embodiment, during the system solution process, the dynamic parameters that are independent of the motion state of the robot arm are first extracted from the loaded dynamic model τ and defined as the matrix The dynamic equation of the robot with load can be rewritten as:
[0090]
[0091] Where W is the observation matrix in the robot dynamics linear model, which represents the coefficient function corresponding to the dynamics parameters.
[0092] represents the dynamic parameter vector of the i-th link of the robot arm, and its expression is as follows:
[0093]
[0094] Among them, m i is the mass of the i-th connecting rod; P xi , P yi , P zi is the coordinate of the center of mass of the i-th connecting rod; xxi , I yyi , I zzi is the principal moment of inertia of the i-th connecting rod; I xyi , I xzi , I yzi is the inertia product of the i-th connecting rod;
[0095] Depend on It can be seen that its mass m satisfies the linear superposition theorem:
[0096] m=m i +m Q (11)
[0097] The load mass is determined by establishing an equation based on the first moment and the second moment of each joint. The specific equation is:
[0098]
[0099] The load mass m at the end of the robot arm can be obtained Q .
[0100] The embodiment of the present invention is a system embodiment corresponding to the above-mentioned method embodiment. The processing steps or specific operations of each system module can be understood by referring to the description of the method embodiment, which will not be repeated here.
[0101] like Figure 4As shown, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for identifying the mass of the load at the end of the manipulator arm in the above embodiment is implemented, or when the computer program is executed by a processor, the method for identifying the mass of the load at the end of the manipulator arm in the above embodiment is implemented. When the computer program is executed by the processor, the following method steps are implemented:
[0102] Step S1, setting a load of unknown mass at the end of the robotic arm;
[0103] Step S2, establishing a loaded dynamics model of a six-degree-of-freedom robotic arm based on the Lagrangian method;
[0104] Step S3, planning the running path of the robot arm, controlling the six-degree-of-freedom robot arm to move according to the expected trajectory, and collecting and acquiring the first monitoring data of each joint;
[0105] Step S4, establishing a terminal load dynamics model based on current;
[0106] Step S5, using the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data to substitute into the loaded dynamics model, and calculating and determining the first moment of each joint;
[0107] Step S6, using the actual current of each joint obtained from the first monitoring data to substitute into the end load dynamics model, and calculating and determining the second moment of each joint;
[0108] Step S7: determine the load mass according to the first torque and the second torque of each joint.
[0109] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0110] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for identifying the mass of load at the end of a robotic arm. It is characterized in that The following steps are involved: Set a load of unknown mass at the end of the robot arm; The loaded dynamic model of the six-degree-of-freedom manipulator is established based on the Lagrangian method; Plan the robot arm's running path, control the six-degree-of-freedom robot arm to move according to the desired trajectory, and collect the first monitoring data of each joint; Establish a current-based end load dynamics model; Substituting the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data into the load-carrying dynamics model, and calculating and determining the first moment of each joint; Substituting the actual current of each joint obtained from the first monitoring data into the end load dynamics model to calculate and determine the second moment of each joint; Establish equations based on the first moment and the second moment of each joint to determine the load mass; The load-carrying dynamics model of the six-degree-of-freedom manipulator established based on the Lagrangian method is specifically as follows: Assume the unknown load mass is m Q Under the condition of Q Adding to the mass of the connecting rod at the end of the six-degree-of-freedom robot, the load dynamic model is as follows: Among them, τ is the torque of each joint, M is the measurement matrix, C is the Coriolis force and centrifugal force term, G is the gravity term, q is the joint position, is the joint velocity, is the joint acceleration; The expression of gravity term (G) is: Where G is a 6x1 matrix representing the gravity of each joint; g is a 3×1 gravity vector representing the gravitational acceleration in the base coordinate system; p ci is a 3×1 matrix, representing the position vector of the center of mass of link i in the base coordinates; During the system solution process, the loaded dynamic model is rewritten as: Where W is the observation matrix in the robot dynamics linear model, represents the coefficient function corresponding to the kinetic parameters; represents the dynamic parameter vector of the i-th link of the robot arm, and its expression is as follows: Among them, m i is the mass of the i-th connecting rod; P xi ,P yi ,P zi is the coordinate of the center of mass of the i-th connecting rod; xxi ,I yyi ,I zzi is the principal moment of inertia of the i-th connecting rod; I xyi ,I xzi ,I yzi is the inertia product of the i-th connecting rod; Depend on It can be seen that the mass m of the connecting rod satisfies the linear superposition theorem: m=m i +m Q (5); In the formula, The remaining parameters are set as the parameters of the robot itself; the end load dynamics model is specifically as follows: t out =RKI-t w (6); Among them, τ out is the actual output torque of each joint, R is the gearbox reduction ratio, K is the motor constant, I is the actual current, τ w is the torque loss caused by energy dissipation; The load mass is determined by establishing an equation based on the first torque and the second torque of each joint, and the equation is specifically: The solution process is as follows: First let y = τ out -τ, we get a value for mass m Q The linear function is then solved by the solve function to obtain the load mass m at the end of the robot arm. Q .
2. A method for identifying the mass of a load at the end of a robotic arm as claimed in claim 1, It is characterized in that Includes steps: The first monitoring data is filtered and smoothed by a moving average filter to obtain the actual position, actual speed, actual acceleration and actual current data of each joint.
3. A six-degree-of-freedom robotic arm end load mass identification system, It is characterized in that include: A six-degree-of-freedom robotic arm is connected to a computer through its control cabinet, a load of unknown mass is set at the end of the six-degree-of-freedom robotic arm, and the six-degree-of-freedom robotic arm is driven to move under the control of the computer; The computer provides users with visual control operations to plan and control the operation of the six-degree-of-freedom robot arm; establishes an end load dynamics model based on current and a load dynamics model of the six-degree-of-freedom robot arm based on the Lagrangian method; It is also used to collect the first monitoring data of each joint when the six-degree-of-freedom manipulator moves, and substitute the actual position, actual speed and actual acceleration of each joint obtained from the first monitoring data into the load-carrying dynamics model to calculate and determine the first torque of each joint; Substituting the actual current of each joint obtained from the first monitoring data into the end load dynamics model, calculating and determining the second moment of each joint; establishing an equation based on the first moment and the second moment of each joint to determine the load mass; The load dynamics model is as follows: Assume the unknown load mass is m Q Under the condition of Q Adding to the mass of the connecting rod at the end of the six-degree-of-freedom robot, the load dynamic model is as follows: Among them, τ is the torque of each joint, M is the measurement matrix, C is the Coriolis force and centrifugal force term, G is the gravity term, q is the joint position, is the joint velocity, is the joint acceleration; The expression of gravity term (G) is: Where: G is a 6x1 matrix, representing the gravity of each joint; g is a 3×1 gravity vector, representing the gravitational acceleration in the base coordinate system; p ci is a 3×1 matrix, representing the position vector of the center of mass of link i in the base coordinates; During the solution process, the loaded dynamic model is rewritten as: Where W is the observation matrix in the robot dynamics linear model, represents the coefficient function corresponding to the kinetic parameters; represents the dynamic parameter vector of the i-th link of the robot arm, and its expression is as follows: Among them, m i is the mass of the i-th connecting rod; P xi ,P yi ,P zi is the coordinate of the center of mass of the i-th connecting rod; xxi ,I yyi ,I zzi is the principal moment of inertia of the i-th connecting rod; I xyi ,I xzi ,I yzi is the inertia product of the i-th connecting rod; Depend on It can be seen that the mass m of the connecting rod satisfies the linear superposition theorem: m=m i +m Q (12); In the formula, The rest of the parameters are set as the robot's own parameters; The end load dynamics model is specifically as follows: t out =RKI-t w (13); Among them, τ out is the actual output torque of each joint, R is the gearbox reduction ratio, K is the motor constant, I is the actual current, τ w is the torque loss caused by energy dissipation; The load mass is determined by establishing an equation based on the first torque and the second torque of each joint, and the equation is specifically: The solution process is as follows: First let y = τ ont -τ, we get a value for mass m Q The linear function is then solved by the solve function to obtain the load mass m at the end of the robot arm. Q .
4. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method for identifying the mass of the load at the end of the robot arm as described in any one of claims 1 to 2 is implemented.
5. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the method for identifying the mass of the load at the end of a robotic arm as described in any one of claims 1 to 2 is implemented.
