[go: up one dir, main page]

WO2021238049A1 - Method, apparatus and control device for multi-load self-adaptive gravity compensation of manipulator - Google Patents

Method, apparatus and control device for multi-load self-adaptive gravity compensation of manipulator Download PDF

Info

Publication number
WO2021238049A1
WO2021238049A1 PCT/CN2020/124400 CN2020124400W WO2021238049A1 WO 2021238049 A1 WO2021238049 A1 WO 2021238049A1 CN 2020124400 W CN2020124400 W CN 2020124400W WO 2021238049 A1 WO2021238049 A1 WO 2021238049A1
Authority
WO
WIPO (PCT)
Prior art keywords
tool
robotic arm
mass
gravity compensation
gravity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2020/124400
Other languages
French (fr)
Chinese (zh)
Inventor
甘博涵
许靖
乔天
文理为
杜思傲
董旭亮
荣健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Jointech Ltd
Original Assignee
Hangzhou Jointech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Jointech Ltd filed Critical Hangzhou Jointech Ltd
Priority to KR1020227042228A priority Critical patent/KR102894762B1/en
Priority to JP2022569139A priority patent/JP7437081B2/en
Publication of WO2021238049A1 publication Critical patent/WO2021238049A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • B25J9/1633Programme controls characterised by the control loop compliant, force, torque control, e.g. combined with position control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/1605Simulation of manipulator lay-out, design, modelling of manipulator
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • B25J9/1653Programme controls characterised by the control loop parameters identification, estimation, stiffness, accuracy, error analysis

Definitions

  • This application relates to the technical field of robots, and specifically to a method, device and control equipment for gravity compensation of a mechanical arm.
  • robotic arms no longer only serve the production line, but also slowly enter various areas of life.
  • the traditional industrial robot arm needs to set a safety range, and personnel are strictly prohibited from entering its work area during operation to prevent injuries.
  • most of the application scenarios in life will have a lot of inconveniences when setting the safety range, and the efficiency is not high when man-machine cooperative operation is performed.
  • people have designed a collaborative robotic arm.
  • the collaborative robot arm has the ability to sense contact force and can react to the physical contact between the human body and the robot arm, thus allowing the operator and the robot arm to share the working space.
  • the emergence of collaborative robotic arms has greatly expanded the applications of robotic arms in home care, education and entertainment, health care, high-end manufacturing and other industries. The features of high efficiency, high precision, and high stability of robotic arms are used to improve all aspects of life.
  • Zero-force control technology means that during the process of dragging and teaching, the mechanical arm can move well in accordance with the external force, as if it is not affected by the gravity of the mechanical arm. This technology reduces the labor intensity of dragging and teaching, and increases the fluency of people in controlling the robotic arm. In order to enable the robotic arm to achieve zero-force control even when the end tool is clamped, it is necessary to calibrate the parameters of the robotic arm body and tools separately, and use reverse engineering methods to accurately calculate the masses and tools of each segment of the robotic arm. Centroid.
  • the gravity compensation scheme of a robotic arm generally requires the use of a weighing instrument to measure the mass of the end tool, and then use the suspension method or the support method to measure the center of mass of the tool. Then import the measured data into the control system of the robotic arm, and let the control system perform gravity compensation according to the parameters of the tool, so that the robotic arm can achieve zero-force control.
  • the tool is separated from the system. The measured parameters are easy to ignore the influence of the installation process on the quality and center of mass.
  • Gravity compensation can only be performed on the parameters of one tool at a time, and the tool must be stopped when switching tools. When the program requires multiple tools to switch frequently, the efficiency is low.
  • One of the objectives of the present application includes providing a multi-load adaptive gravity compensation method, device, control device, and readable storage medium of a mechanical arm, reducing operation steps, and improving efficiency and performance of gravity compensation.
  • an embodiment of the present application provides a multi-load adaptive gravity compensation method for a robotic arm, which includes the following steps:
  • step S1.1 the standard D-H method is used to construct the robotic arm joint coordinate system.
  • step S1.3 the robotic arm runs to any non-singular position in the workspace under no load, and the joint position and torque readings are sampled.
  • step S1.4 each tool is installed at the end of the robotic arm in stages, and step S1.3 is repeated to perform static position sampling.
  • step S1.4 for each tool, after the tool is installed at the end of the robotic arm, the current effective working space of the robotic arm corresponding to the tool is determined according to the size of the tool, and then Step S1.3 is repeated to perform static position sampling of the tool based on the effective working space.
  • step S1.5 the sampling data obtained in S1.3 and S1.4 are grouped according to tools, and then substituted into the gravity term in step S1.2 in turn.
  • step S1.6 for each tool, the parameter value calibrated when the tool is carried is compared with the parameter value calibrated without load, and based on the comparison result, the quality of the tool, the The relationship between the center of mass of the tool, the mass of the end arm in the robotic arm and the center of mass of the end arm is calculated, and the mass and center of mass of the tool are calculated.
  • an embodiment of the present application provides a multi-load adaptive gravity compensation device for a mechanical arm, the device including:
  • the model building module is configured to build a kinematic model of the robotic arm
  • the gravity reconstruction module is configured to reconstruct the gravity term of the dynamic model
  • Position sampling module configured for no-load static position sampling
  • the position sampling module is also configured to perform static position sampling after installing each tool
  • the parameter calibration module is configured to calculate the parameter values to be calibrated for each tool
  • the mass parameter calculation module is configured to calculate the mass and centroid of each tool separately;
  • the external force calculation module is configured to calculate the force exerted by the currently installed tool on the flange
  • the gravity compensation module is configured to compensate the gravity of the tool.
  • the model building module uses the standard D-H method to construct the robotic arm joint coordinate system during the process of building the kinematic model of the robotic arm.
  • the position sampling module controls the robot arm to run to any non-singular position in the working space when the robot arm is unloaded, and samples the joint position and torque readings.
  • the position sampling module installs each tool on the end of the robotic arm in stages, for each tool, according to the size of the tool, determine the current effective working space of the robotic arm corresponding to the tool, and then Based on the effective working space, the robot arm is repeatedly controlled to run to any non-singular position in the corresponding effective working space, and the joint position and torque readings are sampled.
  • the parameter calibration module groups the sampling data obtained by the position sampling module according to tools, and sequentially substitutes them into the gravity terms obtained by the gravity reconstruction module for calculation to obtain each The parameter value of the tool to be calibrated.
  • the quality parameter calculation module performs the calibration of the parameter value when the tool is carried with the parameter value of the no-load calibration for each tool. Compare and calculate the quality and center of mass of the tool based on the comparison result and the relationship between the quality of the tool, the center of mass of the tool, the mass of the end arm in the robotic arm, and the center of mass of the end arm.
  • an embodiment of the present application provides a control device for a robotic arm, including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor executes the computer During the program, the aforementioned multi-load adaptive gravity compensation method of the robotic arm is realized.
  • an embodiment of the present application provides a readable storage medium on which a computer program is stored.
  • the computer program When the computer program is run by a processor, it executes the aforementioned multi-load adaptive gravity compensation method for a robotic arm.
  • One of the beneficial effects of the embodiments of the present application includes: constructing a robot arm joint coordinate system through the D-H method, and then constructing the center of mass position of each segment of the robot arm based on the joint coordinate system.
  • split the terms related to the joint position and the terms related to the mass center of mass.
  • the parameters to be calibrated need to be appropriately combined, and then the split terms are put into two matrices. Multiplying it still satisfies the original gravity term. Then sample the static position of the robotic arm in the no-load state, then install each tool on the end of the robotic arm, and then sample the static position separately.
  • the different tools of the sampled data are grouped and substituted into the gravity term, and the combined parameter values can be solved by SVD decomposition. Finally, the combined object parameter separation method can be used to extract the quality and centroid of the tool from the combined parameters. Based on the calibrated parameters and real-time joint position feedback under no-load conditions, the force applied by the currently installed end tool to the flange can be calculated. According to the measured external force on the flange, the system can know which tool is currently installed on the flange, so that the calibrated parameter value can be used to directly measure the external force after compensating the tool gravity, or apply the obtained mass and center of mass Into the configuration of the robotic arm.
  • This method simplifies the operation steps in actual application by pre-calculating and acquiring tool parameters, and greatly enhances the fluency of collaborative operation.
  • the calibrated tool parameters are more in line with the kinematics and dynamics of the robotic arm, thereby improving the performance of zero-force control.
  • Fig. 1 is a flowchart of a multi-load adaptive gravity compensation method for a mechanical arm provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of the tool and the end of the robot arm of a multi-load adaptive gravity compensation method for a robot arm provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a multi-tool installation of a robotic arm in a multi-load adaptive gravity compensation method for a robotic arm provided by an embodiment of the present application;
  • FIG. 4 is a schematic diagram of the composition of a multi-load adaptive gravity compensation device of a mechanical arm provided by an embodiment of the present application.
  • the robotic arm is a seven-axis collaborative robotic arm, and each joint is equipped with high-precision position and torque sensors, which meets the configuration requirements for the robotic arm hardware in this application.
  • KUKA LBR Med 7 R800 seven-axis collaborative robot arm as an example to explain the actual operation.
  • the joint coordinate system of the robotic arm adopts the classic DH method (A Kinematic Notation for Lower-Pair Mechanisms Based on Matrices, J. Denavit). , RS Hartenberg).
  • the D-H parameter table is shown below.
  • ⁇ i link angle
  • a i the length of the link
  • d i link offset
  • ⁇ i denotes an angle joint.
  • the gravitational term is equal to the joint torque of the manipulator, and the formula is expressed as:
  • the gravitational term is related to the joint angle ⁇ i , the mass mi and the center of mass c i .
  • the mass mi and the center of mass c i are directly related to the calibration of the tool and need to be extracted. Therefore, the gravity term G must be split as follows:
  • each tool is installed in sequence to the end of the robotic arm, and step S1.3 is repeated to perform a round of motion sampling for each tool, and the data set after the singular position is eliminated is saved.
  • step S1.3 is repeated to perform a round of motion sampling for each tool, and the data set after the singular position is eliminated is saved.
  • the current effective working space of the robotic arm corresponding to the tool is determined according to the size of the tool. Then repeat the step S1.3 based on the effective working space to sample the static position of the tool.
  • step S1.5 all collected data needs to be grouped according to tools, and each group of data is stacked into the equation set obtained in S1.2, as shown below:
  • is a diagonal matrix, and all diagonal elements are matrices The singular value of ⁇ i and ⁇ 1 ⁇ 2 ... ⁇ n >0, so X can be found.
  • the process of performing step S1.5 requires the tool as a rigid body to be calibrated after being installed on the end of the robotic arm. Therefore, the mass and center of mass of the rigid body in the last segment of the calibrated parameters are actually the last segment of the robotic arm and the tool. Combine the following parameters. As a result, the quality and center of mass of the tool can be compared with the parameters calibrated with the tool and the parameters calibrated without load, and combined to characterize the relationship between the quality and center of mass of the tool and the mass and center of mass of the end arm of the robotic arm The centroid formula of the multi-body system of the relationship can be determined.
  • the parameter value calibrated when the tool is carried is compared with the parameter value calibrated without load, and based on the comparison result and the quality of the tool, The relationship between the center of mass of the tool, the mass of the end arm in the robotic arm and the center of mass of the end arm is calculated to obtain the mass and center of mass of the tool.
  • centroid formula of the multi-body system corresponding to the robotic arm system after clamping the tool has the following physical properties:
  • c c is the center of mass of the tool and the end arm
  • m t and c t are the mass and center of mass of the tool, respectively
  • m 7 and c 7 are the mass and center of mass of the end arm, respectively.
  • this application designs a system for automatically selecting tool parameters for gravity compensation.
  • the system uses the joint torque and the output of the position sensor as the input of the system, and calculates the force applied by the current tool at the end of the robotic arm inside the system to determine the type of tool clamped, and then applies the parameters calculated in S1 to complete gravity compensation.
  • the detailed implementation steps are explained below.
  • the parameters calibrated in the no-load state can be used to calculate the joint torque ⁇ robot at the current position caused by the manipulator body.
  • the real-time measured joint torque ⁇ measure is subtracted from ⁇ robot , and the joint torque ⁇ ext caused by the external force is obtained.
  • the Jacobian matrix again, the external force can be mapped from the joint space to the working space, and the external force on the end of the robotic arm (flange) in the working space can be calculated.
  • the difference between the tools will be reflected in the value of the external force.
  • the value in the XYZ direction of the external force can be used as the basis for distinguishing the tools; if the quality difference of the tools is small and the difference in the center of mass is large, the torque in the direction of the external force ABC can be considered as the distinction.
  • the torque in the direction of the external force ABC can be considered as the distinction.
  • the mass and center of mass of the tool calculated in step S1.6 can be directly written into the configuration of the robotic arm, and the built-in program of the robotic arm can calculate the external force applied on the tool ;
  • the parameters calibrated in step S1.5 can be directly used to calculate the external force received by the current tool. Therefore, the external force felt by the robotic arm is the external force after compensating for the gravity of the tool, and the control strategy that uses the external force as an input will also ignore the influence of the tool, that is, achieve zero-force control.
  • the present application also provides a multi-load adaptive gravity compensation device 100 of a mechanical arm, so as to realize the functions of the above-mentioned mechanical arm through various functional realization modules included in the multi-load adaptive gravity compensation device 100.
  • the multi-load adaptive gravity compensation method is executed.
  • the multi-load adaptive gravity compensation device 100 includes a model building module 110, a gravity reconstruction module 120, a position sampling module 130, a parameter calibration module 140, a mass parameter calculation module 150, an external force calculation module 160, and a gravity compensation module 170.
  • the model building module 110 is configured to build a kinematic model of the robotic arm.
  • the gravity reconstruction module 120 is configured to reconstruct the gravity term of the dynamic model.
  • the position sampling module 130 is configured to perform no-load static position sampling.
  • the position sampling module 130 is also configured to perform static position sampling after each tool is installed.
  • the parameter calibration module 140 is configured to respectively calculate the parameter values to be calibrated for each tool.
  • the mass parameter calculation module 150 is configured to calculate the mass and center of mass of each tool respectively.
  • the external force calculation module 160 is configured to calculate the force exerted on the flange by the currently installed tool.
  • the gravity compensation module 170 is configured to compensate the gravity of the tool.
  • the model building module 110 uses the standard D-H method to construct the robotic arm joint coordinate system during the process of building the kinematic model of the robotic arm.
  • the position sampling module 130 controls the robot arm to run to any non-singular position in the working space when the robot arm is unloaded, and samples joint positions and torque readings.
  • the position sampling module 130 installs each tool on the end of the robotic arm in stages, for each tool, it determines the current corresponding to the robotic arm according to the size of the tool. Effective working space, and then based on the effective working space, repeatedly control the manipulator to run to any non-singular position in the corresponding effective working space, and sample the joint position and torque readings.
  • the parameter calibration module 140 groups the sampling data obtained by the position sampling module according to tools, and sequentially substitutes them into the gravity term obtained by the gravity reconstruction module. Perform calculations to obtain the parameter values to be calibrated for each tool.
  • the present application also provides a control device of a mechanical arm, the control device including a memory and a processor.
  • the memory may include one or more computer program products, and the computer program product may include various forms of readable storage media, such as volatile memory and/or nonvolatile memory.
  • the volatile memory may include random access memory and/or cache memory, for example.
  • the non-volatile memory may include, for example, a read-only memory, a hard disk, a flash memory, and the like.
  • One or more computer programs can be stored on the readable storage medium, and the processor can run the computer programs to realize the functions represented by the above-mentioned multi-load adaptive gravity compensation method of the robotic arm and/or other desired Function.
  • Various application programs and various data such as various data used and/or generated by the application program, can also be stored in the readable storage medium.
  • the processor may be implemented in the form of at least one of a digital signal processor, a field programmable gate array, and a programmable logic array.
  • the processor may be a central processing unit or have data processing capabilities and/or instruction execution One or a combination of several processing units in other forms of capabilities, and can control other components in the control device to perform desired functions.
  • the processor can correspondingly execute the computer program stored in the memory to realize the function represented by the computer program.
  • the above-mentioned multi-load adaptive gravity compensation device 100 of the robotic arm can be stored in the memory of the control device in the form of software or firmware, and the processor of the control device The software function modules and computer programs included in the multi-load adaptive gravity compensation device 100 in the memory are executed to realize the functions corresponding to the above-mentioned multi-load adaptive gravity compensation method of the robotic arm.
  • the above scheme uses the D-H method to construct the robotic arm joint coordinate system, and then builds the center of mass position of each segment of the robotic arm based on the joint coordinate system.
  • split the terms related to the joint position and the terms related to the mass center of mass.
  • the parameters to be calibrated need to be appropriately combined, and then the split terms are put into two matrices. Multiplying it still satisfies the original gravity term.
  • sample the static position of the robotic arm in the no-load state then install each tool on the end of the robotic arm, and then sample the static position separately.
  • the different tools of the sampled data are grouped and substituted into the gravity term, and the combined parameter values can be solved by SVD decomposition.
  • the combined object parameter separation method can be used to extract the quality and centroid of the tool from the combined parameters.
  • the force applied by the currently installed end tool to the flange can be calculated.
  • the system can know which tool is currently installed on the flange, so that the calibrated parameter value can be used to directly measure the external force after compensating the tool gravity, or apply the obtained mass and center of mass Into the configuration of the robotic arm.
  • This method simplifies the operation steps in actual application by pre-calculating and acquiring tool parameters, and greatly enhances the fluency of collaborative operation.
  • the calibrated tool parameters are more in line with the kinematics and dynamics of the robotic arm, thereby improving the performance of zero-force control.
  • the embodiment of the application provides a multi-load adaptive gravity compensation method, device, control device, and readable storage medium for a robotic arm.
  • the robotic arm joint coordinate system is constructed by the DH method, and the coordinate system of each segment of the robotic arm is determined based on the joint coordinate system.
  • the position of the center of mass is used to establish the system.
  • split the terms related to the joint position and the terms related to the mass center of mass.
  • the parameters to be calibrated need to be appropriately combined, and then the split terms are put into two matrices. Multiplying it still satisfies the original gravity term. Then sample the static position of the robotic arm in the no-load state, then install each tool on the end of the robotic arm, and then sample the static position separately.
  • the different tools of the sampled data are grouped and substituted into the gravity term, and the combined parameter values can be solved by SVD decomposition. Finally, the combined object parameter separation method can be used to extract the quality and centroid of the tool from the combined parameters. Based on the calibrated parameters and real-time joint position feedback under no-load conditions, the force applied by the currently installed end tool to the flange can be calculated. According to the measured external force on the flange, the system can know which tool is currently installed on the flange, so that the calibrated parameter value can be used to directly measure the external force after compensating the tool gravity, or apply the obtained mass and center of mass Into the configuration of the robotic arm.
  • This method simplifies the operation steps in actual application by pre-calculating and acquiring tool parameters, and greatly enhances the fluency of collaborative operation.
  • the calibrated tool parameters are more in line with the kinematics and dynamics of the robotic arm, thereby improving the performance of zero-force control.

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)

Abstract

Disclosed is a method for the multi-load self-adaptive gravity compensation of a manipulator, the method comprising the following steps: S1.1, building a kinematics model for a manipulator; S1.2, reconstructing a gravity item of a dynamics model; S1.3, sampling in a no-load static position; S1.4, sampling in a static position after tools are installed; S1.5, respectively calculating the value of a parameter to be calibrated of each tool; S1.6, respectively calculating the mass and the centroid of each tool; S2.1, calculating a force which is applied to a flange by the tool which is currently installed; and S2.2, compensating for the gravity of the tool. By means of the method, operation steps are reduced, and the efficiency and the gravity compensation performance are improved.

Description

机械臂的多负载自适应重力补偿方法、装置及控制设备Multi-load adaptive gravity compensation method, device and control equipment of mechanical arm

相关申请的交叉引用Cross-references to related applications

本申请要求于2020年05月28日提交中国专利局的申请号为202010466099.X、名称为“一种机械臂的多负载自适应重力补偿方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 28, 2020, with the application number 202010466099.X, titled "A Multi-load Adaptive Gravity Compensation Method for a Robotic Arm", the entire content of which is approved The reference is incorporated in this application.

技术领域Technical field

本申请涉及机器人技术领域,具体地说,涉及一种机械臂的重力补偿方法、装置及控制设备。This application relates to the technical field of robots, and specifically to a method, device and control equipment for gravity compensation of a mechanical arm.

背景技术Background technique

随着机械臂制造工业和传感器工业的逐步发展,机械臂不再仅仅服务于生产流水线,也开始慢慢进入生活中的各个领域。传统的工业机械臂需要设置安全范围,在运行时严格禁止人员进入其工作区域,以防止人员受伤。然而大部分生活中的应用场景在设定安全范围时会有诸多不便,在人机协同操作时效率也不高。为使人和机器的工作空间不再割裂,从而做到真正高效率高精度的人机协同操作,人们设计出了协作型机械臂。协作型机械臂具有感知接触力的能力,能对人体和机械臂的物理接触做出反应,因此允许操作人员和机械臂共享工作空间。协作型机械臂的出现大大扩展了机械臂在家庭陪护、教育娱乐、健康医疗、高端制造业等行业的应用,利用机械臂高效、高精度、高稳定性的特点来改善生活的各个方面。With the gradual development of the robotic arm manufacturing industry and the sensor industry, robotic arms no longer only serve the production line, but also slowly enter various areas of life. The traditional industrial robot arm needs to set a safety range, and personnel are strictly prohibited from entering its work area during operation to prevent injuries. However, most of the application scenarios in life will have a lot of inconveniences when setting the safety range, and the efficiency is not high when man-machine cooperative operation is performed. In order to make the working space of man and machine no longer separate, so as to achieve truly high-efficiency and high-precision man-machine collaborative operation, people have designed a collaborative robotic arm. The collaborative robot arm has the ability to sense contact force and can react to the physical contact between the human body and the robot arm, thus allowing the operator and the robot arm to share the working space. The emergence of collaborative robotic arms has greatly expanded the applications of robotic arms in home care, education and entertainment, health care, high-end manufacturing and other industries. The features of high efficiency, high precision, and high stability of robotic arms are used to improve all aspects of life.

零力控制技术指的是在拖动示教的过程中,机械臂能很好的顺应外力进行运动,仿佛不受机械臂本身重力影响。这种技术降低了拖动示教的劳动强度,增加了人在控制机械臂时的流畅性。为了使机械臂在夹持了末端工具的情况下依然能实现零力控制,需要对机械臂本体和工具分别做参数标定,用逆向工程的方法准确计算出机械臂各段臂和工具的质量和质心。关于机械臂本体参数标定的技术在文献Identifying the dynamic model used by the KUKA LWR:A reverse engineering approach.(C.Gaz,F.Flacco)和Gravity compensation of KUKA LBR IIWA Through Fast Robot Interface.(C.Hou,Y.Zhao)中都有详细介绍,然而针对末端工具参数的标定资料较少。在有些复杂应用中,机械臂甚至需要更换末端工具才能完成工作。在这种情况下,机械臂如何能自适应补偿工具的重力,从而保证不同的末端工具都能获得零力控制,成为协作操作是否顺畅的关键。Zero-force control technology means that during the process of dragging and teaching, the mechanical arm can move well in accordance with the external force, as if it is not affected by the gravity of the mechanical arm. This technology reduces the labor intensity of dragging and teaching, and increases the fluency of people in controlling the robotic arm. In order to enable the robotic arm to achieve zero-force control even when the end tool is clamped, it is necessary to calibrate the parameters of the robotic arm body and tools separately, and use reverse engineering methods to accurately calculate the masses and tools of each segment of the robotic arm. Centroid. The technology of the robot body parameter calibration is in the literature Identifying the dynamic model used by the KUKA LWR: A reverse engineering approach (C.Gaz, F.Flacco) and Gravity compensation of KUKA LBR IIWA Through Fast Robot Interface. (C.Hou , Y. Zhao), but there are few calibration data for the end tool parameters. In some complex applications, the robotic arm even needs to change the end tool to complete the work. In this case, how the robotic arm can adaptively compensate for the gravity of the tool, so as to ensure that different end tools can obtain zero-force control, has become the key to whether the collaborative operation is smooth.

目前机械臂重力补偿的方案普遍需要先使用称量仪器测末端工具的质量,再用悬挂法或支撑法测出工具的质心。然后把测得的数据导入机械臂的控制系统,让控制系统根据工具的参数进行重力补偿,使机械臂能做到零力控制。但是测工具质量和质心的时候工具是 与系统分离的状态,测得的参数容易忽略安装过程对质量和质心的影响,并且每次只能对一个工具的参数进行重力补偿,切换工具时必须停止程序,需要多种工具频繁切换时,效率低下。At present, the gravity compensation scheme of a robotic arm generally requires the use of a weighing instrument to measure the mass of the end tool, and then use the suspension method or the support method to measure the center of mass of the tool. Then import the measured data into the control system of the robotic arm, and let the control system perform gravity compensation according to the parameters of the tool, so that the robotic arm can achieve zero-force control. However, when measuring the quality and center of mass of the tool, the tool is separated from the system. The measured parameters are easy to ignore the influence of the installation process on the quality and center of mass. Gravity compensation can only be performed on the parameters of one tool at a time, and the tool must be stopped when switching tools. When the program requires multiple tools to switch frequently, the efficiency is low.

发明内容Summary of the invention

本申请的目的之一包括提供一种机械臂的多负载自适应重力补偿方法、装置、控制设备及可读存储介质,减少操作步骤,提升效率和重力补偿的性能。One of the objectives of the present application includes providing a multi-load adaptive gravity compensation method, device, control device, and readable storage medium of a mechanical arm, reducing operation steps, and improving efficiency and performance of gravity compensation.

为了实现上述目的,本申请所采用的技术方案如下:In order to achieve the above objectives, the technical solutions adopted in this application are as follows:

第一方面,本申请实施例提供了一种机械臂的多负载自适应重力补偿方法,包括如下步骤,In the first aspect, an embodiment of the present application provides a multi-load adaptive gravity compensation method for a robotic arm, which includes the following steps:

S1.1,搭建机械臂的运动学模型;S1.1, build the kinematics model of the robotic arm;

S1.2,重构动力学模型的重力项;S1.2, reconstruct the gravity term of the dynamic model;

S1.3,无负载静态位置采样;S1.3, sampling at no-load static position;

S1.4,安装各个工具后分别进行静态位置采样;S1.4, perform static position sampling after installing each tool;

S1.5,分别计算各个工具待标定的参数值;S1.5, respectively calculate the parameter values to be calibrated for each tool;

S1.6,分别计算各个工具的质量和质心;S1.6, respectively calculate the quality and centroid of each tool;

S2.1,计算当前安装的工具对法兰施加的力;S2.1, calculate the force exerted by the currently installed tool on the flange;

S2.2,补偿工具重力。S2.2, compensation of tool gravity.

在一种可能的实现方式中,S1.1步骤中,使用标准D-H法构建机械臂关节坐标系。In a possible implementation, in step S1.1, the standard D-H method is used to construct the robotic arm joint coordinate system.

在一种可能的实现方式中,S1.3步骤中,机械臂在无负载情况下,运行到工作空间下任意非奇异位置,采样关节位置和力矩读数。In a possible implementation, in step S1.3, the robotic arm runs to any non-singular position in the workspace under no load, and the joint position and torque readings are sampled.

在一种可能的实现方式中,S1.4步骤中,将各工具分次安装在机械臂末端,重复步骤S1.3步骤进行静态位置采样。In a possible implementation manner, in step S1.4, each tool is installed at the end of the robotic arm in stages, and step S1.3 is repeated to perform static position sampling.

在一种可能的实现方式中,S1.4步骤中,针对每个工具,在将该工具安装在机械臂末端后,根据该工具的尺寸确定机械臂当前与该工具对应的有效工作空间,然后基于有效工作空间重复步骤S1.3步骤对该工具进行静态位置采样。In a possible implementation manner, in step S1.4, for each tool, after the tool is installed at the end of the robotic arm, the current effective working space of the robotic arm corresponding to the tool is determined according to the size of the tool, and then Step S1.3 is repeated to perform static position sampling of the tool based on the effective working space.

在一种可能的实现方式中,S1.5步骤中,将S1.3和S1.4得到的采样数据根据工具进行分组,依次代入S1.2步骤中的重力项内。In a possible implementation, in step S1.5, the sampling data obtained in S1.3 and S1.4 are grouped according to tools, and then substituted into the gravity term in step S1.2 in turn.

在一种可能的实现方式中,S1.6步骤中,针对每个工具,将携带该工具时标定的参数值与无负载标定的参数值进行比较,并根据比较结果以及该工具的质量、该工具的质心、机械臂中末段臂的质量和末段臂的质心之间的关联关系,计算得到该工具的质量和质心。In a possible implementation, in step S1.6, for each tool, the parameter value calibrated when the tool is carried is compared with the parameter value calibrated without load, and based on the comparison result, the quality of the tool, the The relationship between the center of mass of the tool, the mass of the end arm in the robotic arm and the center of mass of the end arm is calculated, and the mass and center of mass of the tool are calculated.

第二方面,本申请实施例提供了一种机械臂的多负载自适应重力补偿装置,所述装置 包括:In the second aspect, an embodiment of the present application provides a multi-load adaptive gravity compensation device for a mechanical arm, the device including:

模型搭建模块,配置成搭建机械臂的运动学模型;The model building module is configured to build a kinematic model of the robotic arm;

重力重构模块,配置成重构动力学模型的重力项;The gravity reconstruction module is configured to reconstruct the gravity term of the dynamic model;

位置采样模块,配置成无负载静态位置采样;Position sampling module, configured for no-load static position sampling;

位置采样模块,还配置成安装各个工具后分别进行静态位置采样;The position sampling module is also configured to perform static position sampling after installing each tool;

参数标定模块,配置成分别计算各个工具待标定的参数值;The parameter calibration module is configured to calculate the parameter values to be calibrated for each tool;

质参计算模块,配置成分别计算各个工具的质量和质心;The mass parameter calculation module is configured to calculate the mass and centroid of each tool separately;

外力计算模块,配置成计算当前安装的工具对法兰施加的力;The external force calculation module is configured to calculate the force exerted by the currently installed tool on the flange;

重力补偿模块,配置成补偿工具重力。The gravity compensation module is configured to compensate the gravity of the tool.

在一种可能的实现方式中,所述模型搭建模块在搭建机械臂的运动学模型的过程中,使用标准D-H法构建机械臂关节坐标系。In a possible implementation manner, the model building module uses the standard D-H method to construct the robotic arm joint coordinate system during the process of building the kinematic model of the robotic arm.

在一种可能的实现方式中,所述位置采样模块在机械臂无负载情况下,控制机械臂运行到工作空间下任意非奇异位置,采样关节位置和力矩读数。In a possible implementation manner, the position sampling module controls the robot arm to run to any non-singular position in the working space when the robot arm is unloaded, and samples the joint position and torque readings.

在一种可能的实现方式中,所述位置采样模块在将各工具分次安装在机械臂末端后,针对每个工具根据该工具的尺寸确定机械臂当前与该工具对应的有效工作空间,然后基于有效工作空间重复控制机械臂运行到对应有效工作空间下任意非奇异位置,采样关节位置和力矩读数。In a possible implementation manner, after the position sampling module installs each tool on the end of the robotic arm in stages, for each tool, according to the size of the tool, determine the current effective working space of the robotic arm corresponding to the tool, and then Based on the effective working space, the robot arm is repeatedly controlled to run to any non-singular position in the corresponding effective working space, and the joint position and torque readings are sampled.

在一种可能的实现方式中,所述参数标定模块通过将所述位置采样模块得到的采样数据根据工具进行分组,并依次代入到所述重力重构模块得到的重力项内进行计算,得到各个工具待标定的参数值。In a possible implementation manner, the parameter calibration module groups the sampling data obtained by the position sampling module according to tools, and sequentially substitutes them into the gravity terms obtained by the gravity reconstruction module for calculation to obtain each The parameter value of the tool to be calibrated.

在一种可能的实现方式中,所述质参计算模块在计算各个工具的质量和质心的过程中,分别针对每个工具,将携带该工具时标定的参数值与无负载标定的参数值进行比较,并根据比较结果以及该工具的质量、该工具的质心、机械臂中末段臂的质量和末段臂的质心之间的关联关系,计算得到该工具的质量和质心。In a possible implementation manner, in the process of calculating the mass and center of mass of each tool, the quality parameter calculation module performs the calibration of the parameter value when the tool is carried with the parameter value of the no-load calibration for each tool. Compare and calculate the quality and center of mass of the tool based on the comparison result and the relationship between the quality of the tool, the center of mass of the tool, the mass of the end arm in the robotic arm, and the center of mass of the end arm.

第三方面,本申请实施例提供了一种机械臂的控制设备,包括存储器、处理器,所述存储器中存储有可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现前述的机械臂的多负载自适应重力补偿方法。In a third aspect, an embodiment of the present application provides a control device for a robotic arm, including a memory and a processor, the memory stores a computer program that can run on the processor, and the processor executes the computer During the program, the aforementioned multi-load adaptive gravity compensation method of the robotic arm is realized.

第四方面,本申请实施例提供了一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行前述的机械臂的多负载自适应重力补偿方法。In a fourth aspect, an embodiment of the present application provides a readable storage medium on which a computer program is stored. When the computer program is run by a processor, it executes the aforementioned multi-load adaptive gravity compensation method for a robotic arm.

本申请实施例的有益效果之一包括:通过D-H法构建机械臂关节坐标系,再基于关节坐标系对每段机械臂的质心位置进行建系。在原始的重力项中,将关节位置相关的项与质量质心相关的项拆分,拆分过程中需要将待标定的参数进行适当组合,再将拆分后的项放 入两个矩阵中,使其相乘依然满足原来的重力项。然后对无负载状态时机械臂的静态位置进行采样,之后将各个工具安装在机械臂的末端,再分别进行静态位置采样。将采样数据不同工具分组后代入重力项内,使用SVD分解可解得组合后的参数的值,最后利用组合物体参数分离的方法,可在组合后的参数中提取出工具的质量和质心。基于在无负载情况下标定的参数和实时关节位置的反馈,可计算出当前安装的末端工具对法兰施加的力的大小。根据测得法兰上的外力,系统可得知当前在法兰上安装的是哪一个工具,从而可直接使用标定的参数值进行补偿工具重力后的外力测量,或是将得到的质量和质心应用到机械臂的配置之中。该方法通过预先计算获取工具参数的方式,使实际应用时的操作步骤得到简化,大大增强了协作操作的流畅性。此外,通过使用关节位置和力矩传感器对工具进行参数标定,也使标定的工具参数更加符合机械臂的运动学和动力学特性,从而改善了零力控制的性能。One of the beneficial effects of the embodiments of the present application includes: constructing a robot arm joint coordinate system through the D-H method, and then constructing the center of mass position of each segment of the robot arm based on the joint coordinate system. In the original gravity term, split the terms related to the joint position and the terms related to the mass center of mass. During the splitting process, the parameters to be calibrated need to be appropriately combined, and then the split terms are put into two matrices. Multiplying it still satisfies the original gravity term. Then sample the static position of the robotic arm in the no-load state, then install each tool on the end of the robotic arm, and then sample the static position separately. The different tools of the sampled data are grouped and substituted into the gravity term, and the combined parameter values can be solved by SVD decomposition. Finally, the combined object parameter separation method can be used to extract the quality and centroid of the tool from the combined parameters. Based on the calibrated parameters and real-time joint position feedback under no-load conditions, the force applied by the currently installed end tool to the flange can be calculated. According to the measured external force on the flange, the system can know which tool is currently installed on the flange, so that the calibrated parameter value can be used to directly measure the external force after compensating the tool gravity, or apply the obtained mass and center of mass Into the configuration of the robotic arm. This method simplifies the operation steps in actual application by pre-calculating and acquiring tool parameters, and greatly enhances the fluency of collaborative operation. In addition, through the use of joint position and torque sensors to calibrate the parameters of the tool, the calibrated tool parameters are more in line with the kinematics and dynamics of the robotic arm, thereby improving the performance of zero-force control.

附图说明Description of the drawings

图1是本申请实施例提供的一种机械臂的多负载自适应重力补偿方法的流程图。Fig. 1 is a flowchart of a multi-load adaptive gravity compensation method for a mechanical arm provided by an embodiment of the present application.

图2是本申请实施例提供的一种机械臂的多负载自适应重力补偿方法的工具与机械臂末端示意图。2 is a schematic diagram of the tool and the end of the robot arm of a multi-load adaptive gravity compensation method for a robot arm provided by an embodiment of the present application.

图3是本申请实施例提供的一种机械臂的多负载自适应重力补偿方法的机械臂多工具安装示意图;FIG. 3 is a schematic diagram of a multi-tool installation of a robotic arm in a multi-load adaptive gravity compensation method for a robotic arm provided by an embodiment of the present application;

图4是本申请实施例提供的一种机械臂的多负载自适应重力补偿装置的组成示意图。FIG. 4 is a schematic diagram of the composition of a multi-load adaptive gravity compensation device of a mechanical arm provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合具体实施例和说明书附图对本申请做进一步阐述和说明:The application will be further elaborated and illustrated below in conjunction with specific embodiments and the accompanying drawings of the specification:

请参考图1-图3,在完整的机械臂动力学方程中,含有惯性项、离心力与科氏力项、重力项和摩擦力项。其中惯性项与关节加速度相关,离心力与科氏力项和关节速度相关,摩擦力项也与关节速度相关,而关节加速度和关节速度在机械臂处于静止状态时都为0,因此对于静态位置的研究可只针对重力项开展。构建含有重力项的动力学方程需要以机械臂的关节位置和力矩作为输入,因此对机械臂的硬件有一定要求。以KUKA LBR Med 7 R800为例,该机械臂为七轴协作型机械臂,各个关节都配备了高精度的位置和力矩传感器,符合本申请对机械臂硬件的配置要求。以KUKA LBR Med 7 R800七轴协作型机械臂为例对实际操作进行解释。Please refer to Figure 1 to Figure 3. In the complete dynamics equation of the mechanical arm, there are inertia terms, centrifugal force and Coriolis force terms, gravity terms and friction terms. The inertia term is related to the joint acceleration, the centrifugal force is related to the Coriolis term and the joint speed, and the friction term is also related to the joint speed. The joint acceleration and joint speed are both 0 when the robot arm is at rest. Therefore, for the static position Research can only be carried out on the gravity term. The construction of dynamic equations with gravity terms requires the joint position and moment of the robotic arm as input, so there are certain requirements for the hardware of the robotic arm. Taking KUKA LBR Med 7 R800 as an example, the robotic arm is a seven-axis collaborative robotic arm, and each joint is equipped with high-precision position and torque sensors, which meets the configuration requirements for the robotic arm hardware in this application. Take KUKA LBR Med 7 R800 seven-axis collaborative robot arm as an example to explain the actual operation.

S1.1:搭建机械臂的运动学模型。S1.1: Build a kinematic model of the robotic arm.

在本实施例的一种可能的实现方式中,搭建机械臂的运动学模型时,机械臂的关节坐标系建立采用经典的D-H法(A Kinematic Notation for Lower-Pair Mechanisms Based on Matrices,J.Denavit,R.S.Hartenberg)。对于KUKA LBR Med 7 R800,其D-H参数表如下所 示。In a possible implementation of this embodiment, when building the kinematics model of the robotic arm, the joint coordinate system of the robotic arm adopts the classic DH method (A Kinematic Notation for Lower-Pair Mechanisms Based on Matrices, J. Denavit). , RS Hartenberg). For KUKA LBR Med 7 R800, the D-H parameter table is shown below.

表格1:KUKA LBR Med 7 R800的D-H参数表Table 1: KUKA LBR Med 7 R800 D-H parameter table

关节编号Joint number α i α i a i(mm) a i (mm) d i(mm) d i (mm) θ i θ i 11 -π/2-π/2 00 340340 θ 1 θ 1 22 π/2π/2 00 00 θ 2 θ 2 33 -π/2-π/2 00 400400 θ 3 θ 3 44 π/2π/2 00 00 θ 4 θ 4 55 -π/2-π/2 00 400400 θ 5 θ 5 66 π/2π/2 00 00 θ 6 θ 6 77 00 00 126126 θ 7 θ 7

其中α i表示连杆转角,a i表示连杆长度,d i表示连杆偏距,θ i表示关节角。在建立了关节坐标系后,以一定规则对每段机械臂的质心位置建立质心坐标系。建立质心坐标系时只需要保证坐标系原点位于每一段臂的质心处即可,旋转角度可与第i+1关节的旋转角度保持一致。 Where α i represents link angle, a i represents the length of the link, d i represents link offset, θ i denotes an angle joint. After the joint coordinate system is established, a centroid coordinate system is established for the centroid position of each segment of the manipulator according to certain rules. When establishing the center of mass coordinate system, it is only necessary to ensure that the origin of the coordinate system is at the center of mass of each arm, and the rotation angle can be consistent with the rotation angle of the i+1th joint.

S1.2:重构动力学模型的重力项。S1.2: Reconstruct the gravity term of the dynamic model.

在本实施例中,对于静止状态的机械臂,重力项等于机械臂关节力矩,公式表示为:In this embodiment, for the stationary manipulator, the gravitational term is equal to the joint torque of the manipulator, and the formula is expressed as:

G(θ,m,c)=τG(θ,m,c)=τ

从公式中可知,重力项与关节角θ i、质量m i和质心c i有关。其中质量m i和质心c i与工具的标定直接相关,需要提取出来,因此要对重力项G做如下拆分: It can be seen from the formula that the gravitational term is related to the joint angle θ i , the mass mi and the center of mass c i . Among them, the mass mi and the center of mass c i are directly related to the calibration of the tool and need to be extracted. Therefore, the gravity term G must be split as follows:

Y(θ)·A(m,c)=τY(θ)·A(m,c)=τ

容易发现,质量m i和质心c i在重力项中是耦合的,无法单独分离。因此为了组成待标定参数的矩阵A,须在满足方程成立的同时,通过将参数合理组合,使标定的参数变为组合的m i和c i。组合参数时应尽量减少A中的参数数目,以此可以避免线性方程组的解陷入局部最优,从而得到更好的标定效果。 It is easy to find that the mass mi and the center of mass c i are coupled in the gravitational term and cannot be separated separately. Therefore, in order to form the matrix A of the parameters to be calibrated, it is necessary to make the calibrated parameters become combined mi and c i by combining the parameters reasonably while satisfying the establishment of the equation. When combining parameters, the number of parameters in A should be reduced as much as possible, so as to avoid the solution of the linear equations from falling into the local optimum, so as to obtain a better calibration effect.

S1.3:无负载静态位置采样。S1.3: No-load static position sampling.

在本实施例中,确认机械臂处于无负载状态,运动机械臂到工作空间的非奇异位置,在各个关节都静止后,采集关节的位置和力矩。重复采样步骤,使采样点尽可能遍布整个工作空间。在采样过程中,可能会有少部分采样点非常接近奇异位置,由于奇异点位置机械臂自由度的缺失会导致力矩反馈不准确,因此这些采样点应被剔除出采样集。In this embodiment, confirm that the robotic arm is in a no-load state, move the robotic arm to a non-singular position in the working space, and collect the positions and moments of the joints after each joint is stationary. Repeat the sampling steps to make the sampling points spread as much as possible throughout the working space. During the sampling process, there may be a small number of sampling points that are very close to the singular position. The lack of freedom of the manipulator at the singular point position will cause the torque feedback to be inaccurate, so these sampling points should be excluded from the sampling set.

请参考图3,S1.4:安装各个工具后分别进行静态位置采样。Please refer to Figure 3, S1.4: Perform static position sampling after installing each tool.

在本实施例中,依次安装各个工具至机械臂末端,重复S1.3步骤对每一个工具都进行 一轮运动采样,将剔除奇异位置后的数据集予以保存。由于工具本身具有一定的尺寸,对机械臂的运动范围会产生一定限制,在运动过程中可能会出现碰撞机械臂本体或外围障碍物的意外,所以在对工具机械能静态位置采样的过程中应对有效工作空间重新予以确认,设计合理的运动轨迹,使采样点在尽量布满工作空间的同时,防止碰撞的发生。由此,在本实施例的一种可能的实现方式中,针对每个工具,在将该工具安装在机械臂末端后,根据该工具的尺寸确定机械臂当前与该工具对应的有效工作空间,然后基于有效工作空间重复S1.3步骤对该工具进行静态位置采样。In this embodiment, each tool is installed in sequence to the end of the robotic arm, and step S1.3 is repeated to perform a round of motion sampling for each tool, and the data set after the singular position is eliminated is saved. Because the tool itself has a certain size, there will be certain restrictions on the range of motion of the robotic arm, and accidents may occur during the movement of the robotic arm body or peripheral obstacles, so it is effective in the process of sampling the static position of the tool's mechanical energy The working space is reconfirmed, and a reasonable movement trajectory is designed so that the sampling points can fill the working space as much as possible while preventing collisions. Therefore, in a possible implementation of this embodiment, for each tool, after the tool is installed at the end of the robotic arm, the current effective working space of the robotic arm corresponding to the tool is determined according to the size of the tool. Then repeat the step S1.3 based on the effective working space to sample the static position of the tool.

S1.5:分别计算各个工具待标定的参数值。S1.5: Calculate the parameter values to be calibrated for each tool respectively.

在本实施例中,执行S1.5步骤需将采集到的所有数据按照工具进行分组,将每一组数据堆叠到S1.2中得到的方程组内,如下所示:In this embodiment, to perform step S1.5, all collected data needs to be grouped according to tools, and each group of data is stacked into the equation set obtained in S1.2, as shown below:

Figure PCTCN2020124400-appb-000001
Figure PCTCN2020124400-appb-000001

其中,数据集中的关节位置将被堆叠到矩阵

Figure PCTCN2020124400-appb-000002
中,而关节力矩堆叠到
Figure PCTCN2020124400-appb-000003
由于堆叠矩阵
Figure PCTCN2020124400-appb-000004
Figure PCTCN2020124400-appb-000005
都已被确认,待标定参数矩阵A(m,c)可通过SVD分解求线性方程组的方式得到。矩阵
Figure PCTCN2020124400-appb-000006
可被分解为以下形式: Among them, the joint positions in the data set will be stacked into a matrix
Figure PCTCN2020124400-appb-000002
While the joint moments are stacked to
Figure PCTCN2020124400-appb-000003
Due to stacked matrix
Figure PCTCN2020124400-appb-000004
with
Figure PCTCN2020124400-appb-000005
It has been confirmed that the parameter matrix A(m,c) to be calibrated can be obtained by SVD decomposition to obtain a linear equation system. matrix
Figure PCTCN2020124400-appb-000006
It can be broken down into the following forms:

Figure PCTCN2020124400-appb-000007
Figure PCTCN2020124400-appb-000007

其中左奇异矩阵U和右奇异矩阵V都是正交矩阵,因此对于超定方程

Figure PCTCN2020124400-appb-000008
令X=V TA,
Figure PCTCN2020124400-appb-000009
则有新表达式 Among them, the left singular matrix U and the right singular matrix V are both orthogonal matrices, so for the overdetermined equation
Figure PCTCN2020124400-appb-000008
Let X=V T A,
Figure PCTCN2020124400-appb-000009
There are new expressions

ΣX=BΣX=B

在上述表达式中,Σ是一个对角矩阵,对角元素全部为矩阵

Figure PCTCN2020124400-appb-000010
的奇异值σ i且σ 1≥σ 2…≥σ n>0,因此可以求出X。最后根据A=VX即可求出矩阵A中的待标定参数。 In the above expression, Σ is a diagonal matrix, and all diagonal elements are matrices
Figure PCTCN2020124400-appb-000010
The singular value of σ i and σ 1 ≥σ 2 …≥σ n >0, so X can be found. Finally, the parameters to be calibrated in matrix A can be obtained according to A=VX.

S1.6:分别计算各个工具的质量和质心。S1.6: Calculate the mass and centroid of each tool separately.

在本实施例中,执行步骤S1.5的过程需要作为刚体的工具在安装到机械臂末端后再进行参数标定,因此标定的参数中最后一段刚体的质量和质心实际为机械臂最后一段和工具结合以后的参数。由此,工具的质量和质心可通过将带工具标定的参数和无负载标定的参数进行比较,再结合用于表征工具的质量和质心与机械臂中末段臂的质量和质心之间的关联关系的多体系统质心公式可得到确定。因此,在本实施例的一种可能的实现方式中,可针对每个工具,将携带该工具时标定的参数值与无负载标定的参数值进行比较,并根据比较结果以及该工具的质量、该工具的质心、机械臂中末段臂的质量和末段臂的 质心之间的关联关系,计算得到该工具的质量和质心。In this embodiment, the process of performing step S1.5 requires the tool as a rigid body to be calibrated after being installed on the end of the robotic arm. Therefore, the mass and center of mass of the rigid body in the last segment of the calibrated parameters are actually the last segment of the robotic arm and the tool. Combine the following parameters. As a result, the quality and center of mass of the tool can be compared with the parameters calibrated with the tool and the parameters calibrated without load, and combined to characterize the relationship between the quality and center of mass of the tool and the mass and center of mass of the end arm of the robotic arm The centroid formula of the multi-body system of the relationship can be determined. Therefore, in a possible implementation of this embodiment, for each tool, the parameter value calibrated when the tool is carried is compared with the parameter value calibrated without load, and based on the comparison result and the quality of the tool, The relationship between the center of mass of the tool, the mass of the end arm in the robotic arm and the center of mass of the end arm is calculated to obtain the mass and center of mass of the tool.

其中,以KUKA LBR Med 7 R800的末端为例,请参考图2,夹持工具后的机械臂系统所对应的多体系统质心公式有如下物理性质:Among them, taking the end of KUKA LBR Med 7 R800 as an example, please refer to Figure 2. The centroid formula of the multi-body system corresponding to the robotic arm system after clamping the tool has the following physical properties:

Figure PCTCN2020124400-appb-000011
Figure PCTCN2020124400-appb-000011

其中c c是工具和末段臂结合后的质心,m t和c t分别是工具的质量和质心,m 7和c 7分别是末段臂的质量和质心。将以上公式与标定的参数表达式联立,即可求出工具的质量m t和质心c tWhere c c is the center of mass of the tool and the end arm, m t and c t are the mass and center of mass of the tool, respectively, m 7 and c 7 are the mass and center of mass of the end arm, respectively. Combining the above formula with the calibrated parameter expression, the mass m t and the centroid c t of the tool can be obtained.

同时,本申请设计了一套自动选择工具参数应用于重力补偿的系统。该系统以关节力矩和位置传感器的输出作为系统的输入,在系统内部计算当前工具在机械臂末端施加的力,从而判断夹持的工具类型,再套用S1中计算的参数,完成重力补偿。以下解释详细实施步骤。At the same time, this application designs a system for automatically selecting tool parameters for gravity compensation. The system uses the joint torque and the output of the position sensor as the input of the system, and calculates the force applied by the current tool at the end of the robotic arm inside the system to determine the type of tool clamped, and then applies the parameters calculated in S1 to complete gravity compensation. The detailed implementation steps are explained below.

S2.1:计算当前安装的工具对法兰(机械臂末端)施加的力。S2.1: Calculate the force exerted by the currently installed tool on the flange (end of the robotic arm).

在本实施例中,可使用无负载状态下标定的参数,可计算出当前位置由机械臂本体导致的关节力矩τ robot。将实时测量的关节力矩τ measure与τ robot相减,得到的是由外力导致的关节力矩τ ext。再利用雅可比矩阵,可将外力从关节空间映射到工作空间,计算出机械臂末端(法兰)在工作空间中受到的外力。 In this embodiment, the parameters calibrated in the no-load state can be used to calculate the joint torque τ robot at the current position caused by the manipulator body. The real-time measured joint torque τ measure is subtracted from τ robot , and the joint torque τ ext caused by the external force is obtained. Using the Jacobian matrix again, the external force can be mapped from the joint space to the working space, and the external force on the end of the robotic arm (flange) in the working space can be calculated.

S2.2:补偿工具重力。S2.2: Compensation of tool gravity.

在本实施例中,工具之间的差异性会反映在外力的数值上。例如,工具之间的质量差异较大,可以外力XYZ方向上的数值作为区分工具的依据;若是工具的质量差异较小,质心差异较大,则可考虑用外力ABC方向上的扭矩作为区分的根据;对于质量和质心差异都不大的工具,可考虑将其视为一种工具,套用同一套标定的参数,亦可获得较好的补偿效果。对于允许输入工具参数自动做重力补偿的机械臂来说,可将步骤S1.6中计算出来的工具的质量和质心直接写入机械臂的配置中,让机械臂内置程序计算工具上施加的外力;对于无重力补偿功能的机械臂来说,可直接应用步骤S1.5中标定的参数来计算当前工具所受到的外力。由此,机械臂所感受的外力为补偿工具重力后的外力,以此外力作为输入的控制策略也将忽略工具的影响,即做到零力控制。In this embodiment, the difference between the tools will be reflected in the value of the external force. For example, if the quality difference between tools is large, the value in the XYZ direction of the external force can be used as the basis for distinguishing the tools; if the quality difference of the tools is small and the difference in the center of mass is large, the torque in the direction of the external force ABC can be considered as the distinction. According to: For tools with little difference in quality and center of mass, it can be considered as a tool and the same set of calibrated parameters can be applied to obtain a better compensation effect. For a robotic arm that allows input of tool parameters for automatic gravity compensation, the mass and center of mass of the tool calculated in step S1.6 can be directly written into the configuration of the robotic arm, and the built-in program of the robotic arm can calculate the external force applied on the tool ; For the mechanical arm without gravity compensation function, the parameters calibrated in step S1.5 can be directly used to calculate the external force received by the current tool. Therefore, the external force felt by the robotic arm is the external force after compensating for the gravity of the tool, and the control strategy that uses the external force as an input will also ignore the influence of the tool, that is, achieve zero-force control.

此外,请参考图4,本申请还提供一种机械臂的多负载自适应重力补偿装置100,以通过该多负载自适应重力补偿装置100所包括的各项功能实现模块,对上述机械臂的多负载自适应重力补偿方法进行执行。其中,所述多负载自适应重力补偿装置100包括模型搭建模块110、重力重构模块120、位置采样模块130、参数标定模块140、质参计算模块150、外力计算模块160及重力补偿模块170。In addition, please refer to FIG. 4, the present application also provides a multi-load adaptive gravity compensation device 100 of a mechanical arm, so as to realize the functions of the above-mentioned mechanical arm through various functional realization modules included in the multi-load adaptive gravity compensation device 100. The multi-load adaptive gravity compensation method is executed. The multi-load adaptive gravity compensation device 100 includes a model building module 110, a gravity reconstruction module 120, a position sampling module 130, a parameter calibration module 140, a mass parameter calculation module 150, an external force calculation module 160, and a gravity compensation module 170.

模型搭建模块110,配置成搭建机械臂的运动学模型。The model building module 110 is configured to build a kinematic model of the robotic arm.

重力重构模块120,配置成重构动力学模型的重力项。The gravity reconstruction module 120 is configured to reconstruct the gravity term of the dynamic model.

位置采样模块130,配置成无负载静态位置采样。The position sampling module 130 is configured to perform no-load static position sampling.

位置采样模块130,还配置成安装各个工具后分别进行静态位置采样。The position sampling module 130 is also configured to perform static position sampling after each tool is installed.

参数标定模块140,配置成分别计算各个工具待标定的参数值。The parameter calibration module 140 is configured to respectively calculate the parameter values to be calibrated for each tool.

质参计算模块150,配置成分别计算各个工具的质量和质心。The mass parameter calculation module 150 is configured to calculate the mass and center of mass of each tool respectively.

外力计算模块160,配置成计算当前安装的工具对法兰施加的力。The external force calculation module 160 is configured to calculate the force exerted on the flange by the currently installed tool.

重力补偿模块170,配置成补偿工具重力。The gravity compensation module 170 is configured to compensate the gravity of the tool.

在本实施例的一种可能的实现方式中,所述模型搭建模块110在搭建机械臂的运动学模型的过程中,使用标准D-H法构建机械臂关节坐标系。In a possible implementation of this embodiment, the model building module 110 uses the standard D-H method to construct the robotic arm joint coordinate system during the process of building the kinematic model of the robotic arm.

在本实施例的一种可能的实现方式中,所述位置采样模块130在机械臂无负载情况下,控制机械臂运行到工作空间下任意非奇异位置,采样关节位置和力矩读数。In a possible implementation of this embodiment, the position sampling module 130 controls the robot arm to run to any non-singular position in the working space when the robot arm is unloaded, and samples joint positions and torque readings.

在本实施例的一种可能的实现方式中,所述位置采样模块130在将各工具分次安装在机械臂末端后,针对每个工具根据该工具的尺寸确定机械臂当前与该工具对应的有效工作空间,然后基于有效工作空间重复控制机械臂运行到对应有效工作空间下任意非奇异位置,采样关节位置和力矩读数。In a possible implementation of this embodiment, after the position sampling module 130 installs each tool on the end of the robotic arm in stages, for each tool, it determines the current corresponding to the robotic arm according to the size of the tool. Effective working space, and then based on the effective working space, repeatedly control the manipulator to run to any non-singular position in the corresponding effective working space, and sample the joint position and torque readings.

在本实施例的一种可能的实现方式中,所述参数标定模块140通过将所述位置采样模块得到的采样数据根据工具进行分组,并依次代入到所述重力重构模块得到的重力项内进行计算,得到各个工具待标定的参数值。In a possible implementation of this embodiment, the parameter calibration module 140 groups the sampling data obtained by the position sampling module according to tools, and sequentially substitutes them into the gravity term obtained by the gravity reconstruction module. Perform calculations to obtain the parameter values to be calibrated for each tool.

需要说明的是,本申请实施例所提供的多负载自适应重力补偿装置100,其基本原理及产生的技术效果与前述的多负载自适应重力补偿方法相同,为简要描述,本实施例部分未提及之处,可参考上述的针对多负载自适应重力补偿方法的描述内容。It should be noted that the basic principles and technical effects of the multi-load adaptive gravity compensation device 100 provided by the embodiment of the present application are the same as those of the aforementioned multi-load adaptive gravity compensation method. For a brief description, part of this embodiment is not For what is mentioned, please refer to the above description of the multi-load adaptive gravity compensation method.

此外,本申请还提供一种机械臂的控制设备,该控制设备包括存储器、处理器。其中,所述存储器可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器和/或高速缓冲存储器等。所述非易失性存储器例如可以包括只读存储器、硬盘、闪存等。在所述可读存储介质上可以存储一个或多个计算机程序,处理器可以运行所述计算机程序,以实现上述的机械臂的多负载自适应重力补偿方法所代表的功能以及/或者其它期望的功能。在所述可读存储介质中还可以存储各种应用程序和各种数据,例如所述应用程序使用和/或产生的各种数据等。In addition, the present application also provides a control device of a mechanical arm, the control device including a memory and a processor. The memory may include one or more computer program products, and the computer program product may include various forms of readable storage media, such as volatile memory and/or nonvolatile memory. The volatile memory may include random access memory and/or cache memory, for example. The non-volatile memory may include, for example, a read-only memory, a hard disk, a flash memory, and the like. One or more computer programs can be stored on the readable storage medium, and the processor can run the computer programs to realize the functions represented by the above-mentioned multi-load adaptive gravity compensation method of the robotic arm and/or other desired Function. Various application programs and various data, such as various data used and/or generated by the application program, can also be stored in the readable storage medium.

所述处理器可以采用数字信号处理器、现场可编程门阵列、可编程逻辑阵列中的至少一种硬件形式来实现,所述处理器可以是中央处理单元或者具有数据处理能力和/或指令执行能力的其它形式的处理单元中的一种或几种的组合,并且可以控制所述控 制设备中的其它组件以执行期望的功能。所述处理器可相应地执行所述存储器中存储的计算机程序,以实现该计算机程序所代表的功能。The processor may be implemented in the form of at least one of a digital signal processor, a field programmable gate array, and a programmable logic array. The processor may be a central processing unit or have data processing capabilities and/or instruction execution One or a combination of several processing units in other forms of capabilities, and can control other components in the control device to perform desired functions. The processor can correspondingly execute the computer program stored in the memory to realize the function represented by the computer program.

在本实施例的一种可能的实现方式中,上述机械臂的多负载自适应重力补偿装置100可采用软件或固件的形式存储在所述控制设备的存储器中,由所述控制设备的处理器执行所述存储器中的所述多负载自适应重力补偿装置100所包括的软件功能模块及计算机程序等,来实现上述机械臂的多负载自适应重力补偿方法所对应的功能。In a possible implementation of this embodiment, the above-mentioned multi-load adaptive gravity compensation device 100 of the robotic arm can be stored in the memory of the control device in the form of software or firmware, and the processor of the control device The software function modules and computer programs included in the multi-load adaptive gravity compensation device 100 in the memory are executed to realize the functions corresponding to the above-mentioned multi-load adaptive gravity compensation method of the robotic arm.

综上所述,上述方案通过D-H法构建机械臂关节坐标系,再基于关节坐标系对每段机械臂的质心位置进行建系。在原始的重力项中,将关节位置相关的项与质量质心相关的项拆分,拆分过程中需要将待标定的参数进行适当组合,再将拆分后的项放入两个矩阵中,使其相乘依然满足原来的重力项。然后对无负载状态时机械臂的静态位置进行采样,之后将各个工具安装在机械臂的末端,再分别进行静态位置采样。将采样数据不同工具分组后代入重力项内,使用SVD分解可解得组合后的参数的值,最后利用组合物体参数分离的方法,可在组合后的参数中提取出工具的质量和质心。基于在无负载情况下标定的参数和实时关节位置的反馈,可计算出当前安装的末端工具对法兰施加的力的大小。根据测得法兰上的外力,系统可得知当前在法兰上安装的是哪一个工具,从而可直接使用标定的参数值进行补偿工具重力后的外力测量,或是将得到的质量和质心应用到机械臂的配置之中。该方法通过预先计算获取工具参数的方式,使实际应用时的操作步骤得到简化,大大增强了协作操作的流畅性。此外,通过使用关节位置和力矩传感器对工具进行参数标定,也使标定的工具参数更加符合机械臂的运动学和动力学特性,从而改善了零力控制的性能。To sum up, the above scheme uses the D-H method to construct the robotic arm joint coordinate system, and then builds the center of mass position of each segment of the robotic arm based on the joint coordinate system. In the original gravity term, split the terms related to the joint position and the terms related to the mass center of mass. During the splitting process, the parameters to be calibrated need to be appropriately combined, and then the split terms are put into two matrices. Multiplying it still satisfies the original gravity term. Then sample the static position of the robotic arm in the no-load state, then install each tool on the end of the robotic arm, and then sample the static position separately. The different tools of the sampled data are grouped and substituted into the gravity term, and the combined parameter values can be solved by SVD decomposition. Finally, the combined object parameter separation method can be used to extract the quality and centroid of the tool from the combined parameters. Based on the calibrated parameters and real-time joint position feedback under no-load conditions, the force applied by the currently installed end tool to the flange can be calculated. According to the measured external force on the flange, the system can know which tool is currently installed on the flange, so that the calibrated parameter value can be used to directly measure the external force after compensating the tool gravity, or apply the obtained mass and center of mass Into the configuration of the robotic arm. This method simplifies the operation steps in actual application by pre-calculating and acquiring tool parameters, and greatly enhances the fluency of collaborative operation. In addition, through the use of joint position and torque sensors to calibrate the parameters of the tool, the calibrated tool parameters are more in line with the kinematics and dynamics of the robotic arm, thereby improving the performance of zero-force control.

最后应当说明的是,以上实施例仅用以说明本申请的技术方案,而非对本申请保护范围的限制,尽管参照可选的实现方式对本申请作了详细地说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的实质和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, not to limit the scope of protection of this application. Although this application has been described in detail with reference to alternative implementations, those of ordinary skill in the art should It is understood that the technical solution of the present application can be modified or equivalently replaced without departing from the essence and scope of the technical solution of the present application.

工业实用性Industrial applicability

本申请实施例提供了一种机械臂的多负载自适应重力补偿方法、装置、控制设备及可读存储介质,通过D-H法构建机械臂关节坐标系,再基于关节坐标系对每段机械臂的质心位置进行建系。在原始的重力项中,将关节位置相关的项与质量质心相关的项拆分,拆分过程中需要将待标定的参数进行适当组合,再将拆分后的项放入两个矩阵中,使其相乘依然满足原来的重力项。然后对无负载状态时机械臂的静态位置进行采样,之后将各个工具安装在机械臂的末端,再分别进行静态位置采样。将采样数据不同工具分组后代入重力项内,使用SVD分解可解得组合后的参数的值,最后利用组合物体参数分离的方法,可在组合后的参数中提取出工具的质量和质心。基于在无负载情况下标定的参数和实时关节位置 的反馈,可计算出当前安装的末端工具对法兰施加的力的大小。根据测得法兰上的外力,系统可得知当前在法兰上安装的是哪一个工具,从而可直接使用标定的参数值进行补偿工具重力后的外力测量,或是将得到的质量和质心应用到机械臂的配置之中。该方法通过预先计算获取工具参数的方式,使实际应用时的操作步骤得到简化,大大增强了协作操作的流畅性。此外,通过使用关节位置和力矩传感器对工具进行参数标定,也使标定的工具参数更加符合机械臂的运动学和动力学特性,从而改善了零力控制的性能。The embodiment of the application provides a multi-load adaptive gravity compensation method, device, control device, and readable storage medium for a robotic arm. The robotic arm joint coordinate system is constructed by the DH method, and the coordinate system of each segment of the robotic arm is determined based on the joint coordinate system. The position of the center of mass is used to establish the system. In the original gravity term, split the terms related to the joint position and the terms related to the mass center of mass. During the splitting process, the parameters to be calibrated need to be appropriately combined, and then the split terms are put into two matrices. Multiplying it still satisfies the original gravity term. Then sample the static position of the robotic arm in the no-load state, then install each tool on the end of the robotic arm, and then sample the static position separately. The different tools of the sampled data are grouped and substituted into the gravity term, and the combined parameter values can be solved by SVD decomposition. Finally, the combined object parameter separation method can be used to extract the quality and centroid of the tool from the combined parameters. Based on the calibrated parameters and real-time joint position feedback under no-load conditions, the force applied by the currently installed end tool to the flange can be calculated. According to the measured external force on the flange, the system can know which tool is currently installed on the flange, so that the calibrated parameter value can be used to directly measure the external force after compensating the tool gravity, or apply the obtained mass and center of mass Into the configuration of the robotic arm. This method simplifies the operation steps in actual application by pre-calculating and acquiring tool parameters, and greatly enhances the fluency of collaborative operation. In addition, through the use of joint position and torque sensors to calibrate the parameters of the tool, the calibrated tool parameters are more in line with the kinematics and dynamics of the robotic arm, thereby improving the performance of zero-force control.

Claims (15)

一种机械臂的多负载自适应重力补偿方法,其特征在于,包括如下步骤,A multi-load adaptive gravity compensation method for a mechanical arm is characterized in that it includes the following steps: S1.1,搭建机械臂的运动学模型;S1.1, build the kinematics model of the robotic arm; S1.2,重构动力学模型的重力项;S1.2, reconstruct the gravity term of the dynamic model; S1.3,无负载静态位置采样;S1.3, sampling at no-load static position; S1.4,安装各个工具后分别进行静态位置采样;S1.4, perform static position sampling after installing each tool; S1.5,分别计算各个工具待标定的参数值;S1.5, respectively calculate the parameter values to be calibrated for each tool; S1.6,分别计算各个工具的质量和质心;S1.6, respectively calculate the quality and centroid of each tool; S2.1,计算当前安装的工具对法兰施加的力;S2.1, calculate the force exerted by the currently installed tool on the flange; S2.2,补偿工具重力。S2.2, compensation of tool gravity. 如权利要求1所述的机械臂的多负载自适应重力补偿方法,其特征在于,S1.1步骤中,使用标准D-H法构建机械臂关节坐标系。The multi-load adaptive gravity compensation method of the robotic arm according to claim 1, wherein in step S1.1, the standard D-H method is used to construct the robotic arm joint coordinate system. 如权利要求1或2所述的机械臂的多负载自适应重力补偿方法,其特征在于,S1.3步骤中,机械臂在无负载情况下,运行到工作空间下任意非奇异位置,采样关节位置和力矩读数。The multi-load adaptive gravity compensation method of the robotic arm according to claim 1 or 2, characterized in that, in step S1.3, the robotic arm runs to any non-singular position in the workspace under the condition of no load, and the joints are sampled Position and torque readings. 如权利要求3所述的机械臂的多负载自适应重力补偿方法,其特征在于,S1.4步骤中,将各工具分次安装在机械臂末端,重复步骤S1.3步骤进行静态位置采样。The multi-load adaptive gravity compensation method of the robotic arm according to claim 3, wherein in step S1.4, each tool is installed at the end of the robotic arm in stages, and step S1.3 is repeated to perform static position sampling. 如权利要求4所述的机械臂的多负载自适应重力补偿方法,其特征在于,S1.4步骤中,针对每个工具,在将该工具安装在机械臂末端后,根据该工具的尺寸确定机械臂当前与该工具对应的有效工作空间,然后基于有效工作空间重复S1.3步骤对该工具进行静态位置采样。The multi-load adaptive gravity compensation method of the robotic arm according to claim 4, wherein, in step S1.4, for each tool, after the tool is installed at the end of the robotic arm, the size of the tool is determined The current effective working space of the robotic arm corresponding to the tool, and then repeating step S1.3 based on the effective working space to sample the static position of the tool. 如权利要求1-5中任意一项所述的机械臂的多负载自适应重力补偿方法,其特征在于,S1.5步骤中,将S1.3和S1.4得到的采样数据根据工具进行分组,依次代入S1.2步骤中的重力项内。The multi-load adaptive gravity compensation method for a robotic arm according to any one of claims 1-5, wherein in step S1.5, the sampled data obtained in S1.3 and S1.4 are grouped according to tools , And substitute them into the gravity item in step S1.2 in turn. 如权利要求1-6中任意一项所述的机械臂的多负载自适应重力补偿方法,其特征在于,S1.6步骤中,针对每个工具,将携带该工具时标定的参数值与无负载标定的参数值进行比较,并根据比较结果以及该工具的质量、该工具的质心、机械臂中末段臂的质量和末段臂的质心之间的关联关系,计算得到该工具的质量和质心。The multi-load adaptive gravity compensation method of a mechanical arm according to any one of claims 1-6, wherein, in step S1.6, for each tool, the parameter value calibrated when the tool is carried is compared with the The parameter values of the load calibration are compared, and the quality of the tool is calculated according to the comparison result and the relationship between the quality of the tool, the center of mass of the tool, the mass of the end arm in the robotic arm, and the center of mass of the end arm. Centroid. 一种机械臂的多负载自适应重力补偿装置,其特征在于,所述装置包括:A multi-load adaptive gravity compensation device for a mechanical arm, characterized in that the device includes: 模型搭建模块,配置成搭建机械臂的运动学模型;The model building module is configured to build a kinematic model of the robotic arm; 重力重构模块,配置成重构动力学模型的重力项;The gravity reconstruction module is configured to reconstruct the gravity term of the dynamic model; 位置采样模块,配置成无负载静态位置采样;Position sampling module, configured for no-load static position sampling; 位置采样模块,还配置成安装各个工具后分别进行静态位置采样;The position sampling module is also configured to perform static position sampling after installing each tool; 参数标定模块,配置成分别计算各个工具待标定的参数值;The parameter calibration module is configured to calculate the parameter values to be calibrated for each tool; 质参计算模块,配置成分别计算各个工具的质量和质心;The mass parameter calculation module is configured to calculate the mass and centroid of each tool separately; 外力计算模块,配置成计算当前安装的工具对法兰施加的力;The external force calculation module is configured to calculate the force exerted by the currently installed tool on the flange; 重力补偿模块,配置成补偿工具重力。The gravity compensation module is configured to compensate the gravity of the tool. 如权利要求8所述的机械臂的多负载自适应重力补偿装置,其特征在于,所述模型搭建模块在搭建机械臂的运动学模型的过程中,使用标准D-H法构建机械臂关节坐标系。8. The multi-load adaptive gravity compensation device of the robotic arm according to claim 8, wherein the model building module uses the standard D-H method to construct the robotic arm joint coordinate system during the process of building the kinematic model of the robotic arm. 如权利要求8或9所述的机械臂的多负载自适应重力补偿装置,其特征在于,所述位置采样模块在机械臂无负载情况下,控制机械臂运行到工作空间下任意非奇异位置,采样关节位置和力矩读数。The multi-load adaptive gravity compensation device of the mechanical arm according to claim 8 or 9, wherein the position sampling module controls the mechanical arm to run to any non-singular position in the working space when the mechanical arm is unloaded, Sample joint position and torque readings. 如权利要求10所述的机械臂的多负载自适应重力补偿装置,其特征在于,所述位置采样模块在将各工具分次安装在机械臂末端后,针对每个工具根据该工具的尺寸确定机械臂当前与该工具对应的有效工作空间,然后基于有效工作空间重复控制机械臂运行到对应有效工作空间下任意非奇异位置,采样关节位置和力矩读数。The multi-load adaptive gravity compensation device of the mechanical arm according to claim 10, wherein the position sampling module determines the size of each tool according to the size of the tool after each tool is installed at the end of the mechanical arm in stages. The current effective working space of the robotic arm corresponding to the tool, and then based on the effective working space, the robotic arm is repeatedly controlled to run to any non-singular position in the corresponding effective working space, and the joint position and torque readings are sampled. 如权利要求8-11中任意一项所述的机械臂的多负载自适应重力补偿装置,其特征在于,所述参数标定模块通过将所述位置采样模块得到的采样数据根据工具进行分组,并依次代入到所述重力重构模块得到的重力项内进行计算,得到各个工具待标定的参数值。The multi-load adaptive gravity compensation device for a mechanical arm according to any one of claims 8-11, wherein the parameter calibration module groups the sampling data obtained by the position sampling module according to tools, and Substituting into the gravity term obtained by the gravity reconstruction module in turn for calculation, and obtaining the parameter values to be calibrated for each tool. 如权利要求8-12中任意一项所述的机械臂的多负载自适应重力补偿装置,其特征在于,所述质参计算模块在计算各个工具的质量和质心的过程中,分别针对每个工具,将携带该工具时标定的参数值与无负载标定的参数值进行比较,并根据比较结果以及该工具的质量、该工具的质心、机械臂中末段臂的质量和末段臂的质心之间的关联关系,计算得到该工具的质量和质心。The multi-load adaptive gravity compensation device of the robotic arm according to any one of claims 8-12, wherein the mass parameter calculation module is for each tool in the process of calculating the mass and center of mass of each tool. Tool, compare the calibrated parameter value when carrying the tool with the parameter value calibrated without load, and based on the comparison result and the quality of the tool, the center of mass of the tool, the mass of the end arm of the robotic arm, and the center of mass of the end arm Calculate the quality and center of mass of the tool. 一种机械臂的控制设备,包括存储器、处理器,所述存储器中存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,实现权利要求1-7中任意一项所述的机械臂的多负载自适应重力补偿方法。A control device for a robotic arm, comprising a memory and a processor, and a computer program that can be run on the processor is stored in the memory, wherein the processor implements the claims when the computer program is executed by the processor. The multi-load adaptive gravity compensation method of the mechanical arm described in any one of 1-7. 一种可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器运行时,执行权利要求1-7中任意一项所述的机械臂的多负载自适应重力补偿方法。A readable storage medium with a computer program stored thereon, wherein the computer program executes the multi-load adaptive gravity compensation of the robotic arm according to any one of claims 1-7 when the computer program is run by a processor method.
PCT/CN2020/124400 2020-05-28 2020-10-28 Method, apparatus and control device for multi-load self-adaptive gravity compensation of manipulator Ceased WO2021238049A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020227042228A KR102894762B1 (en) 2020-05-28 2020-10-28 Method, device and control device for multi-load adaptive gravity compensation of a manipulator
JP2022569139A JP7437081B2 (en) 2020-05-28 2020-10-28 Multi-load adaptive gravity compensation method, apparatus and control device for robot arm

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010466099.XA CN111618857B (en) 2020-05-28 2020-05-28 A Multi-Load Adaptive Gravity Compensation Method for Manipulators
CN202010466099.X 2020-05-28

Publications (1)

Publication Number Publication Date
WO2021238049A1 true WO2021238049A1 (en) 2021-12-02

Family

ID=72256196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124400 Ceased WO2021238049A1 (en) 2020-05-28 2020-10-28 Method, apparatus and control device for multi-load self-adaptive gravity compensation of manipulator

Country Status (3)

Country Link
JP (1) JP7437081B2 (en)
CN (1) CN111618857B (en)
WO (1) WO2021238049A1 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296454A (en) * 2021-12-24 2022-04-08 大连理工大学人工智能大连研究院 An adaptive motion control method and system for an omnidirectional all-drive mobile robot
CN114750148A (en) * 2022-03-17 2022-07-15 广东工业大学 Force closed loop zero force control method and system for self-adaptive measurement of gravity
CN115462830A (en) * 2022-09-26 2022-12-13 武汉库柏特科技有限公司 An ultrasonic scanning robot force-controlled drag scanning method, device and equipment
CN115533916A (en) * 2022-10-31 2022-12-30 广州大学 A method, system, device and medium for identifying load quality at the end of a mechanical arm
CN115561004A (en) * 2022-10-21 2023-01-03 哈尔滨工业大学 Space multi-branch robot ground test platform and test method
CN115741718A (en) * 2022-12-07 2023-03-07 江西省智能产业技术创新研究院 Robot complete zero force control method and system
CN115778752A (en) * 2022-11-24 2023-03-14 浙江工业大学 Zero-force control method capable of inhibiting shaking in sitting-lying type rehabilitation robot
CN115816461A (en) * 2022-12-26 2023-03-21 睿尔曼智能科技(北京)有限公司 Method for calculating load centroid range of mechanical arm and drawing load curve graph
CN116442240A (en) * 2023-05-26 2023-07-18 中山大学 Robot zero-force control method and device based on high-pass filtering decoupling
CN116901087A (en) * 2023-09-13 2023-10-20 真健康(北京)医疗科技有限公司 Method and equipment for determining tail end force and moment of puncture operation robot
CN116922399A (en) * 2023-09-15 2023-10-24 季华实验室 Robotic arm gravity compensation method, device, electronic equipment and storage medium
CN119304884A (en) * 2024-11-25 2025-01-14 广州龙之杰医疗科技有限公司 A mechanical arm load compensation method, device, electronic device and storage medium
CN119328746A (en) * 2024-10-08 2025-01-21 河北工业大学 Dynamic self-diagnosis and compensation method of variable load at the end of the robot arm under quick change
CN119635647A (en) * 2024-12-26 2025-03-18 无锡奕帆微电子有限公司 Robot, mechanical arm, mechanical arm detection control device and method thereof

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111618857B (en) * 2020-05-28 2021-04-20 杭州键嘉机器人有限公司 A Multi-Load Adaptive Gravity Compensation Method for Manipulators
CN112140111B (en) * 2020-09-24 2022-08-19 珠海格力智能装备有限公司 Method for determining center of mass of tail end load of robot
CN113768626B (en) * 2020-09-25 2024-03-22 武汉联影智融医疗科技有限公司 Surgical robot control method, computer device and surgical robot system
EP4218649A4 (en) 2020-09-25 2024-10-23 Wuhan United Imaging Healthcare Surgical Technology Co., Ltd. CONTROL METHOD FOR SURGICAL ROBOT, COMPUTER DEVICE AND SURGICAL ROBOT SYSTEM
CA3212211A1 (en) 2021-03-31 2022-10-06 David Paul Noonan Co-manipulation surgical system for use with surgical instruments for performing laparoscopic surgery
US12042241B2 (en) 2021-03-31 2024-07-23 Moon Surgical Sas Co-manipulation surgical system having automated preset robot arm configurations
US12167900B2 (en) 2021-03-31 2024-12-17 Moon Surgical Sas Co-manipulation surgical system having automated preset robot arm configurations
US12178418B2 (en) 2021-03-31 2024-12-31 Moon Surgical Sas Co-manipulation surgical system having a coupling mechanism removeably attachable to surgical instruments
US11812938B2 (en) 2021-03-31 2023-11-14 Moon Surgical Sas Co-manipulation surgical system having a coupling mechanism removeably attachable to surgical instruments
CN113510698B (en) * 2021-04-26 2022-07-29 深圳市优必选科技股份有限公司 Mechanical arm control method and device, mechanical arm and readable storage medium
US11986165B1 (en) 2023-01-09 2024-05-21 Moon Surgical Sas Co-manipulation surgical system for use with surgical instruments for performing laparoscopic surgery while estimating hold force
US11839442B1 (en) * 2023-01-09 2023-12-12 Moon Surgical Sas Co-manipulation surgical system for use with surgical instruments for performing laparoscopic surgery while estimating hold force
US12370001B2 (en) 2023-01-09 2025-07-29 Moon Surgical Sas Co-manipulation surgical system having automated user override detection

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009088828A1 (en) * 2007-12-31 2009-07-16 Abb Research Ltd. Method and apparatus using a force sensor to provide load compensation for a robot
CN206216738U (en) * 2016-10-17 2017-06-06 华南理工大学 A kind of six-DOF robot end load dynamic parameters identification device
CN109676607A (en) * 2018-12-30 2019-04-26 江苏集萃智能制造技术研究所有限公司 A kind of zero-g control method of non-moment sensing
CN109746913A (en) * 2018-12-29 2019-05-14 深圳市大象机器人科技有限公司 A kind of robot posture keeps the method and system of dragging teaching
CN110103229A (en) * 2019-06-06 2019-08-09 上海电气集团股份有限公司 Gravity compensation method and system for a tool located at the end of a robot
CN110193829A (en) * 2019-04-24 2019-09-03 南京航空航天大学 A kind of robot precision's control method of coupled motions and stiffness parameters identification
CN110549333A (en) * 2019-08-06 2019-12-10 天津大学 gravity compensation method for TriMule horizontal series-parallel robot
CN110561438A (en) * 2019-09-19 2019-12-13 华中科技大学 Force/position compliance control method for industrial robots based on dynamic parameter identification
CN110666794A (en) * 2019-09-25 2020-01-10 天津大学 End load force compensation method for multi-DOF collaborative robot dragging
CN111618857A (en) * 2020-05-28 2020-09-04 甘博涵 Multi-load self-adaptive gravity compensation method for mechanical arm

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5767648A (en) * 1996-04-19 1998-06-16 Massachusetts Institute Of Technology Base force/torque sensor apparatus for the precise control of manipulators with joint friction and a method of use thereof
SE9700767D0 (en) 1997-03-04 1997-03-04 Asea Brown Boveri Method for determining load parameters of an industrial robot
DE102008001664B4 (en) 2008-05-08 2015-07-30 Deutsches Zentrum für Luft- und Raumfahrt e.V. Medical robot and method for meeting the performance requirement of a medical robot
CN104626152B (en) * 2013-11-14 2016-08-31 沈阳新松机器人自动化股份有限公司 Industrial robot Active Compliance Control method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009088828A1 (en) * 2007-12-31 2009-07-16 Abb Research Ltd. Method and apparatus using a force sensor to provide load compensation for a robot
CN206216738U (en) * 2016-10-17 2017-06-06 华南理工大学 A kind of six-DOF robot end load dynamic parameters identification device
CN109746913A (en) * 2018-12-29 2019-05-14 深圳市大象机器人科技有限公司 A kind of robot posture keeps the method and system of dragging teaching
CN109676607A (en) * 2018-12-30 2019-04-26 江苏集萃智能制造技术研究所有限公司 A kind of zero-g control method of non-moment sensing
CN110193829A (en) * 2019-04-24 2019-09-03 南京航空航天大学 A kind of robot precision's control method of coupled motions and stiffness parameters identification
CN110103229A (en) * 2019-06-06 2019-08-09 上海电气集团股份有限公司 Gravity compensation method and system for a tool located at the end of a robot
CN110549333A (en) * 2019-08-06 2019-12-10 天津大学 gravity compensation method for TriMule horizontal series-parallel robot
CN110561438A (en) * 2019-09-19 2019-12-13 华中科技大学 Force/position compliance control method for industrial robots based on dynamic parameter identification
CN110666794A (en) * 2019-09-25 2020-01-10 天津大学 End load force compensation method for multi-DOF collaborative robot dragging
CN111618857A (en) * 2020-05-28 2020-09-04 甘博涵 Multi-load self-adaptive gravity compensation method for mechanical arm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HOU CHE; ZHAO YIWEN; SONG GUOLI; WANG JUNCHEN: "Gravity Compensation of KUKA LBR IIWA Through Fast Robot Interface", 2018 IEEE 8TH ANNUAL INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 19 July 2018 (2018-07-19), pages 164 - 168, XP033537367, DOI: 10.1109/CYBER.2018.8688323 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296454A (en) * 2021-12-24 2022-04-08 大连理工大学人工智能大连研究院 An adaptive motion control method and system for an omnidirectional all-drive mobile robot
CN114296454B (en) * 2021-12-24 2024-05-28 大连理工大学人工智能大连研究院 Self-adaptive motion control method and system for omnidirectional full-drive mobile robot
CN114750148B (en) * 2022-03-17 2024-05-17 广东工业大学 A closed-loop zero-force control method and system for gravity adaptive measurement
CN114750148A (en) * 2022-03-17 2022-07-15 广东工业大学 Force closed loop zero force control method and system for self-adaptive measurement of gravity
CN115462830A (en) * 2022-09-26 2022-12-13 武汉库柏特科技有限公司 An ultrasonic scanning robot force-controlled drag scanning method, device and equipment
CN115462830B (en) * 2022-09-26 2025-08-15 武汉库柏特科技有限公司 Manual dragging scanning method, device and equipment of ultrasonic scanning robot
CN115561004A (en) * 2022-10-21 2023-01-03 哈尔滨工业大学 Space multi-branch robot ground test platform and test method
CN115561004B (en) * 2022-10-21 2023-04-18 哈尔滨工业大学 Space multi-branch robot ground test platform and test method
CN115533916A (en) * 2022-10-31 2022-12-30 广州大学 A method, system, device and medium for identifying load quality at the end of a mechanical arm
CN115778752A (en) * 2022-11-24 2023-03-14 浙江工业大学 Zero-force control method capable of inhibiting shaking in sitting-lying type rehabilitation robot
CN115741718B (en) * 2022-12-07 2024-06-07 江西省智能产业技术创新研究院 Robot complete zero-force control method and system
CN115741718A (en) * 2022-12-07 2023-03-07 江西省智能产业技术创新研究院 Robot complete zero force control method and system
CN115816461B (en) * 2022-12-26 2023-10-24 睿尔曼智能科技(北京)有限公司 A method for calculating the range of the robot arm's load center of mass and drawing the load curve
CN115816461A (en) * 2022-12-26 2023-03-21 睿尔曼智能科技(北京)有限公司 Method for calculating load centroid range of mechanical arm and drawing load curve graph
CN116442240A (en) * 2023-05-26 2023-07-18 中山大学 Robot zero-force control method and device based on high-pass filtering decoupling
CN116442240B (en) * 2023-05-26 2023-11-14 中山大学 A zero-force control method and device for robots based on high-pass filter decoupling
CN116901087B (en) * 2023-09-13 2023-11-17 真健康(北京)医疗科技有限公司 Method and equipment for determining tail end force and moment of puncture operation robot
CN116901087A (en) * 2023-09-13 2023-10-20 真健康(北京)医疗科技有限公司 Method and equipment for determining tail end force and moment of puncture operation robot
CN116922399B (en) * 2023-09-15 2023-11-24 季华实验室 Robotic arm gravity compensation method, device, electronic equipment and storage medium
CN116922399A (en) * 2023-09-15 2023-10-24 季华实验室 Robotic arm gravity compensation method, device, electronic equipment and storage medium
CN119328746A (en) * 2024-10-08 2025-01-21 河北工业大学 Dynamic self-diagnosis and compensation method of variable load at the end of the robot arm under quick change
CN119304884A (en) * 2024-11-25 2025-01-14 广州龙之杰医疗科技有限公司 A mechanical arm load compensation method, device, electronic device and storage medium
CN119304884B (en) * 2024-11-25 2025-08-08 广州龙之杰医疗科技有限公司 A method, device, electronic device and storage medium for compensating load of a robotic arm
CN119635647A (en) * 2024-12-26 2025-03-18 无锡奕帆微电子有限公司 Robot, mechanical arm, mechanical arm detection control device and method thereof

Also Published As

Publication number Publication date
JP7437081B2 (en) 2024-02-22
JP2023524897A (en) 2023-06-13
KR20230003233A (en) 2023-01-05
CN111618857A (en) 2020-09-04
CN111618857B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2021238049A1 (en) Method, apparatus and control device for multi-load self-adaptive gravity compensation of manipulator
CN107433590B (en) Gravity compensation method based on mechanical arm load mass and sensor null shift online identification
TWI630081B (en) Direct teaching method of robot
CN109176494B (en) Self-calibration method and system for rope-driven multi-joint flexible robot and storage medium
CN104440864B (en) A kind of master-slave mode remote operating industrial robot system and its control method
CN112171673B (en) Robot arm operation control method, control apparatus, and computer-readable storage medium
WO2016208467A1 (en) Calibration device and robot system using same
WO2018090323A1 (en) Method, system, and device for calibrating coordinate system
WO2022227536A1 (en) Robot arm control method and apparatus, and robot arm and readable storage medium
CN109746913B (en) Method and system for teaching robot posture keeping dragging
CN110253574A (en) A Multi-task Manipulator Pose Detection and Error Compensation Method
CN111590569A (en) Industrial robot positioning error compensation method
CN114310912A (en) Mechanical arm assembly control method and device, mechanical arm control equipment and storage medium
CN115416021A (en) Mechanical arm control method based on improved impedance control
CN106020024A (en) Mechanical arm tail end motion compensation device and compensation method thereof
JP2013039635A (en) Robot control system and robot control method
CN107009360A (en) The calibrating installation and method of a kind of six axles multi-joint industrial robot
CN113091670B (en) Calibration device and calibration method for robot joint stiffness
CN110450165A (en) A kind of robot calibration method based on zero-force control
CN118046396B (en) Weight compensation method for mechanical arm detection end based on six-dimensional force sensor
KR102894762B1 (en) Method, device and control device for multi-load adaptive gravity compensation of a manipulator
CN111912336A (en) A method, device and electronic device for measuring repeatability of single-axis positioning
WO2019216416A1 (en) Deflection amount estimation device, robot control device, and deflection amount estimation method
Wang et al. Image-based visual servoing control for robot manipulator with actuator backlash
Wang et al. Control and modeling for direct teaching of industrial articulated robotic arms

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20938048

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022569139

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20227042228

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20938048

Country of ref document: EP

Kind code of ref document: A1