Force estimation method and device, electronic equipment and readable storage medium

By determining the minimum cutoff frequency and speed coefficient, calculating the target cutoff frequency and filter coefficient, and filtering the torque at the end of the robotic arm, the problem of low accuracy of estimated force at the end of the robotic arm is solved, and the precision and accuracy of the estimated torque are improved. .

CN118809575APending Publication Date: 2024-10-22CHINA MOBILE COMM LTD RES INST +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311108145.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-30
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In the existing technology, the accuracy of the estimated force at the end of the robotic arm is low, mainly due to noise and inaccurate modeling caused by the use of AC servo motors in industrial robotic arms.

Method used

By determining the minimum cutoff frequency and speed coefficient, the target cutoff frequency is calculated based on the target parameters and movement speed, the filter coefficient is determined based on the time interval, and the sampling torque is filtered to improve the accuracy of the estimated torque.

Benefits of technology

The precision and accuracy of torque estimation are improved at different motion speeds, the impact of noise is reduced, and the filtering and noise reduction effect at nonlinear speeds is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118809575A_ABST
    Figure CN118809575A_ABST
Patent Text Reader

Abstract

The invention discloses a force estimation method and device, electronic equipment and a readable storage medium, relates to the technical field of teleoperation robot interaction, and aims at solving the problem that the accuracy of a force estimation value at the tail end of a mechanical arm is low. The method comprises the following steps: determining a minimum cut-off frequency, and determining a speed coefficient; calculating a target cut-off frequency based on a target parameter and the minimum cut-off frequency, wherein the target parameter is determined based on the speed coefficient and the movement speed of the tail end of the mechanical arm; determining a filtering coefficient based on the target cut-off frequency and a time interval, wherein the time interval is used for representing an interval between any two adjacent sampling moments; and filtering processing is conducted on sampling torque based on the filtering coefficient, estimated torque at the sampling moment is obtained, and the sampling torque is the contact torque of the tail end of the mechanical arm and the outside at the sampling moment. The embodiment of the invention can improve the accuracy of the estimated value of the tail end force of the mechanical arm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of teleoperated robot interaction technology, and in particular to a force estimation method, device, electronic equipment and readable storage medium. Background Art

[0002] Teleoperation technology is a typical tactile interaction technology, which includes the interaction between humans and robots and the interaction between robots and the environment. In order to enable the host operator to more effectively feel various information from the actual working environment, the tactile interaction force in the virtual environment is usually constructed by the teleoperation robot end force estimation method without force sensor.

[0003] The existing technology usually performs kinematic modeling on the robot arm, estimates the end force of the robot arm based on the mapping relationship between the robot joint torque and the end force, obtains the current value of the joint motor and converts it into the joint torque, and calculates the end force using the Jacobian matrix. However, since most industrial robot arms currently use AC servo motors, there are problems such as noise and inaccurate modeling, which results in low accuracy of the estimated value of the end force of the robot arm. Summary of the invention

[0004] Embodiments of the present invention provide a force estimation method, device, electronic device and readable storage medium to solve the problem of low accuracy of force estimation value at the end of a robotic arm.

[0005] In a first aspect, an embodiment of the present invention provides a force estimation method, comprising:

[0006] Determine the minimum cut-off frequency, and determine the speed factor;

[0007] Calculating a target cutoff frequency based on a target parameter and the minimum cutoff frequency, wherein the target parameter is determined based on the speed coefficient and the movement speed of the end of the robot arm;

[0008] Determine a filter coefficient based on the target cutoff frequency and a time interval, wherein the time interval is used to characterize the interval between any two adjacent sampling moments;

[0009] The sampling torque is filtered based on the filtering coefficient to obtain an estimated torque at the sampling moment, where the sampling torque is the contact torque between the end of the robotic arm and the outside world at the sampling moment.

[0010] Optionally, determining the minimum cutoff frequency includes:

[0011] When the movement speed of the end of the robot arm is less than or equal to the first threshold, performing the first operation multiple times until the jitter parameter is greater than or equal to the second threshold, and obtaining a minimum cutoff frequency, wherein the jitter parameter is used to characterize the accuracy of the estimated torque;

[0012] The Kth first operation among the multiple first operations includes:

[0013] When the jitter parameter corresponding to the K-1th first operation is less than the second threshold, reducing the K-1th frequency value to obtain the Kth frequency value, where K is a positive integer greater than 1;

[0014] When the target cutoff frequency is equal to the Kth frequency value, calculating a jitter parameter corresponding to the Kth first operation;

[0015] When the jitter parameter corresponding to the K-th first operation is greater than or equal to the second threshold, the minimum cutoff frequency is determined to be the K-th frequency value.

[0016] Optionally, when the target cutoff frequency is equal to the Kth frequency value, calculating the jitter parameter corresponding to the Kth first operation includes:

[0017] When the target cutoff frequency is equal to the Kth frequency value, obtaining a sampling moment in a target time period, and obtaining an estimated moment corresponding to the sampling moment in the target time period;

[0018] A jitter parameter corresponding to the K-th first operation is determined based on a similarity between the sampled moment and the estimated moment.

[0019] Optionally, determining the speed coefficient includes:

[0020] When the movement speed of the end of the robot arm is greater than or equal to the third threshold, the second operation is performed multiple times until the delay parameter is less than or equal to the fourth threshold, and a speed coefficient is obtained, wherein the delay parameter is used to characterize the delay time for determining the estimated torque;

[0021] The Lth second operation among the multiple second operations includes:

[0022] When the delay parameter corresponding to the L-1th first operation is greater than the fourth threshold, increase the L-1th parameter value to obtain the Lth parameter value, where L is a positive integer greater than 1;

[0023] Calculating an Lth target parameter based on the Lth parameter value and the movement speed of the end of the robotic arm;

[0024] Calculating an Lth target cutoff frequency based on the Lth target parameter and the minimum cutoff frequency;

[0025] When the target cutoff frequency is equal to the Lth target cutoff frequency, calculating a delay parameter corresponding to the Lth second operation;

[0026] When the delay parameter corresponding to the L-th second operation is less than or equal to the fourth threshold, the speed coefficient is determined to be the L-th parameter value.

[0027] Optionally, when the movement speed of the end of the robot arm is greater than or equal to the third threshold, performing the second operation multiple times until the delay parameter is less than or equal to the fourth threshold, and obtaining the speed coefficient includes:

[0028] determining a plurality of target speeds, each of the target speeds being greater than or equal to a third threshold;

[0029] For each of the target speeds, when the movement speed of the end of the robotic arm is the target speed, the second operation is performed multiple times until the delay parameter is less than or equal to a fourth threshold, so as to obtain a speed coefficient corresponding to each of the target speeds.

[0030] Optionally, filtering the sampling moment based on the filtering coefficient to obtain the estimated moment at the sampling moment includes:

[0031] The sampling moment is subjected to first-order filtering or second-order filtering based on the filtering coefficient to obtain an estimated moment at the sampling moment.

[0032] Optionally, the calculating the target cutoff frequency based on the target parameter and the minimum cutoff frequency includes:

[0033] Determine the target parameter based on the speed coefficient and the movement speed of the end of the robot arm;

[0034] The sum of the target parameter and the minimum cutoff frequency is determined as the target cutoff frequency.

[0035] In a second aspect, an embodiment of the present invention provides a force estimation device, comprising:

[0036] A first determination module is used to determine a minimum cut-off frequency and a speed coefficient;

[0037] A calculation module, configured to calculate a target cutoff frequency based on a target parameter and the minimum cutoff frequency, wherein the target parameter is determined based on the speed coefficient and a movement speed of the end of the robotic arm;

[0038] A second determination module, used to determine a filter coefficient based on the target cutoff frequency and a time interval, wherein the time interval is used to characterize an interval between any two adjacent sampling moments;

[0039] A processing module is used to filter the sampling torque based on the filtering coefficient to obtain the estimated torque at the sampling moment, where the sampling torque is the contact torque between the end of the mechanical arm and the outside world at the sampling moment.

[0040] In a third aspect, an embodiment of the present invention provides an electronic device comprising: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the method described in the first aspect.

[0041] In a fourth aspect, an embodiment of the present invention provides a readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps in the method described in the first aspect.

[0042] In an embodiment of the present invention, a minimum cutoff frequency is determined, and a speed coefficient is determined; the target cutoff frequency is calculated based on the target parameter and the minimum cutoff frequency, and the target parameter is determined based on the speed coefficient and the movement speed of the end of the manipulator. The filter coefficient is determined based on the target cutoff frequency and the time interval, and the sampling torque is filtered based on the filter coefficient to obtain an estimated torque at the sampling moment. Through the above method, when determining the estimated torque, filtering and noise reduction are performed, so that the accuracy of the estimated torque is higher. At the same time, since the target parameter is determined based on the speed coefficient and the movement speed of the end of the manipulator, different target parameters can be obtained at different movement speeds, and then different target cutoff frequencies can be obtained, which improves the rationality and flexibility of the cutoff frequency, so that the method can also achieve a good filtering and noise reduction effect at nonlinear speeds, and further improves the precision and accuracy of the estimated torque. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0044] Figure 1 is a flow chart of a force estimation method provided by an embodiment of the present invention;

[0045] Figure 2 This is a workflow diagram of a telepresence remote control operation virtual reality system provided by an embodiment of the present invention;

[0046] Figure 3 is a flow chart of filtering parameter adjustment provided by an embodiment of the present invention;

[0047] Figure 4 is a structural diagram of a force estimation device provided by an embodiment of the present invention;

[0048] Figure 5 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0050] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a force estimation method provided by an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a force estimation method, which can estimate the torque at the end of a robotic arm and can be applied to a telepresence remote control operation virtual reality system.

[0051] For ease of understanding, the following is a brief introduction to the workflow of the telepresence remote control operation virtual reality system. Figure 2 , the user operates the force tactile feedback device at the master end, thereby generating a control signal using the force tactile feedback device, and the control signal is sent to the virtual scene in the robot system. The virtual scene sends the control signal to the remote robot through an interactive network or other communication methods, and the robot's robotic arm at the remote end transmits the interactive information of the environment back to the virtual scene in the robot system through an interactive network or other communication methods. The virtual scene in the robot system calculates the virtual force data based on the environmental interactive force data, sends the virtual force data to the force tactile feedback device, and then feeds back the information to the user. The virtual scene in the robot system can obtain the estimated torque of the end of the robotic arm through the force estimation method provided in the embodiment of the present application, and the virtual force data includes the estimated torque of the end of the robotic arm.

[0052] like Figure 1 As shown, the force estimation method specifically includes the following steps:

[0053] Step 101, determining the minimum cutoff frequency and the speed coefficient.

[0054] It should be understood that the specific method of determining the minimum cut-off frequency is not limited herein. In some embodiments, the minimum cut-off frequency can be directly determined by statistics or experience. Optionally, in some embodiments, the determining the minimum cut-off frequency includes:

[0055] When the movement speed of the end of the robot arm is less than or equal to the first threshold, performing the first operation multiple times until the jitter parameter is greater than or equal to the second threshold, and obtaining a minimum cutoff frequency, wherein the jitter parameter is used to characterize the accuracy of the estimated torque;

[0056] The Kth first operation among the multiple first operations includes:

[0057] When the jitter parameter corresponding to the K-1th first operation is less than the second threshold, reducing the K-1th frequency value to obtain the Kth frequency value, where K is a positive integer greater than 1;

[0058] When the target cutoff frequency is equal to the Kth frequency value, calculating a jitter parameter corresponding to the Kth first operation;

[0059] When the jitter parameter corresponding to the K-th first operation is greater than or equal to the second threshold, the minimum cutoff frequency is determined to be the K-th frequency value.

[0060] It should be understood that the specific value of the first threshold is not limited here. The first threshold can be set and adjusted based on the performance of the robot itself. The size and model of the motor on each robot are different, and the corresponding first threshold is also different. When the movement speed of the end of the robot is less than or equal to the first threshold, it can be considered that the end of the robot remains stationary or runs at the lowest operating speed of the robot.

[0061] It should be understood that the specific value of the second threshold is not limited here, and the second threshold can be set and adjusted based on the performance of the robot itself and actual needs. When the jitter parameter is greater than or equal to the second threshold, it is considered that when the movement speed of the end of the robot is less than or equal to the first threshold, the accuracy of the estimated torque obtained is high and meets the needs.

[0062] Keeping the movement speed of the end of the robotic arm at a state less than or equal to the first threshold is equivalent to keeping the end of the robotic arm stationary or running at the lowest operating speed of the robotic arm. At this time, the first operation is performed multiple times until the precision and accuracy of the estimated torque obtained in this case meet the requirements, thereby obtaining the minimum cutoff frequency.

[0063] It should be understood that when the first operation is performed for the first time, the first frequency value is a preset initial value, and the value of the initial value can be set based on experience. Performing the first operation multiple times is equivalent to gradually reducing the value of the minimum cutoff frequency on the basis of the initial value, until the accuracy of the estimated torque obtained when the robot arm remains stable or runs at the lowest operating speed is greater than or equal to the second threshold, thereby determining the final minimum cutoff frequency.

[0064] It should be noted that the target cutoff frequency is calculated based on the target parameter and the minimum cutoff frequency, and the target parameter is determined based on the speed coefficient and the movement speed of the end of the robot arm. Further, in some embodiments, the product of the speed coefficient and the movement speed of the end of the robot arm is determined as the target parameter, and the sum of the target parameter and the minimum cutoff frequency is determined as the target cutoff frequency.

[0065] In this embodiment, the target cutoff frequency being equal to the Kth frequency value can also be understood as setting the target parameter to 0, or setting the speed coefficient to 0, which is equivalent to the target cutoff frequency being equal to the minimum cutoff frequency.

[0066] For ease of understanding, the following description is made using any first operation as an example. When performing the Kth first operation, reduce the K-1th frequency value to obtain the Kth frequency value. Substitute the Kth frequency value into the target cutoff frequency for calculation to obtain the jitter parameter corresponding to the Kth first operation to determine whether the end of the robotic arm can remain stable during low-speed movement when the target cutoff frequency is the Kth frequency value. If the jitter parameter is greater than or equal to the second threshold, the current Kth frequency value is determined as the minimum cutoff frequency, otherwise the next first operation is performed.

[0067] In the process of force estimation, when the speed of the end of the manipulator is low, the target cutoff frequency can be considered to be determined by the minimum cutoff frequency. The above method ensures that when the target cutoff frequency is equal to the minimum cutoff frequency, the accuracy and precision of the estimated torque obtained when the end of the manipulator moves at a low speed are both high. Therefore, the above method can make it possible to obtain a higher accuracy and precision of the estimated torque when the speed of the end of the manipulator is low.

[0068] In this embodiment, when the movement speed of the end of the robotic arm is less than or equal to the first threshold, the first operation is performed multiple times until the jitter parameter is greater than or equal to the second threshold, and the minimum cutoff frequency is obtained. Through this method, when the speed of the end of the robotic arm is low, the force information reconstruction in the virtual scene can have a higher force accuracy.

[0069] It should be understood that the jitter parameter is used to characterize the precision and accuracy of the estimated torque calculated by the virtual environment, and its specific form and determination method are not limited herein. Optionally, in some embodiments, when the target cutoff frequency is equal to the Kth frequency value, calculating the jitter parameter corresponding to the Kth first operation includes:

[0070] When the target cutoff frequency is equal to the Kth frequency value, obtaining a sampling moment in a target time period, and obtaining an estimated moment corresponding to the sampling moment in the target time period;

[0071] A jitter parameter corresponding to the K-th first operation is determined based on a similarity between the sampled moment and the estimated moment.

[0072] The end of the manipulator is measured to obtain the sampled torque, and the estimated torque estimated by the virtual environment within the target time period is obtained. The similarity between the sampled torque (actual force information) and its corresponding estimated torque (estimated force information) is calculated to obtain the accuracy of the estimated torque.

[0073] In a specific implementation, the target time period can be a time window, and the curve of the sampling torque changing with time within the target time period can be displayed by an oscilloscope or the like. The virtual environment can obtain the curve of the estimated torque changing with time within the target time period through calculation. By comparing the curve of the sampling torque within the target time period with the curve of the estimated torque, the similarity between the sampling torque and the estimated torque can be obtained.

[0074] Based on the similarity between the sampled moment and the estimated moment, the gap between the estimated moment calculated in the virtual scene and the sampled moment measured can be represented, thereby judging the accuracy and precision of the estimated moment.

[0075] It should be understood that the specific method of determining the speed coefficient is not limited herein. In some embodiments, the speed coefficient may be directly determined by statistics or experience. Optionally, in some embodiments, the determining the speed coefficient includes:

[0076] When the movement speed of the end of the robot arm is greater than or equal to the third threshold, the second operation is performed multiple times until the delay parameter is less than or equal to the fourth threshold, and a speed coefficient is obtained, wherein the delay parameter is used to characterize the delay time for determining the estimated torque;

[0077] The Lth second operation among the multiple second operations includes:

[0078] When the delay parameter corresponding to the L-1th first operation is greater than the fourth threshold, increase the L-1th parameter value to obtain the Lth parameter value, where L is a positive integer greater than 1;

[0079] Calculating an Lth target parameter based on the Lth parameter value and the movement speed of the end of the robotic arm;

[0080] Calculating an Lth target cutoff frequency based on the Lth target parameter and the minimum cutoff frequency;

[0081] When the target cutoff frequency is equal to the Lth target cutoff frequency, calculating a delay parameter corresponding to the Lth second operation;

[0082] When the delay parameter corresponding to the L-th second operation is less than or equal to the fourth threshold, the speed coefficient is determined to be the L-th parameter value.

[0083] The delay parameter is used to characterize the delay time required to calculate the estimated torque in the virtual scene. In specific implementation, the time for the robot arm to obtain force information and the time for the force information to be reconstructed in the virtual scene can be measured respectively, and the delay parameter can be determined based on the time difference between the two. The details are not elaborated here.

[0084] It should be understood that the specific value of the third threshold is not limited here. The third threshold can be set and adjusted based on the performance of the robot arm itself. The size and model of the motor on each robot arm are different, and the corresponding third threshold is also different. When the movement speed of the end of the robot arm is greater than or equal to the third threshold, it can be considered that the movement speed of the end of the robot arm is faster.

[0085] It should be understood that the specific value of the fourth threshold is not limited here, and the fourth threshold can be set and adjusted according to actual needs. When the delay parameter is less than or equal to the fourth threshold, it is considered that the force information reconstruction in the virtual scene has a lower delay.

[0086] Keeping the movement speed of the end of the robotic arm at a state greater than or equal to the third threshold is equivalent to keeping the end of the robotic arm in a relatively high-speed movement state. At this time, the second operation is performed multiple times until the delay time of force information reconstruction in the virtual scene is less than or equal to the fourth threshold, thereby obtaining a speed coefficient.

[0087] It should be understood that when the second operation is performed for the first time, the first parameter value is a preset initial value, and the value of the initial value can be set based on experience, for example, the initial value can be 0. Performing the second operation multiple times is equivalent to gradually increasing the value of the parameter value on the basis of the initial value until the delay time of force information reconstruction in the virtual scene is small when the robot arm maintains high-speed operation, thereby determining the final speed coefficient.

[0088] For ease of understanding, the following description is made by taking any first operation as an example. When performing the Lth second operation, increase the L-1th parameter value to obtain the Lth parameter value. Substitute the Lth parameter value into the speed coefficient for calculation to obtain the delay parameter corresponding to the Lth second operation to determine whether the delay in force information reconstruction in the virtual scene is small when the speed coefficient is the Lth parameter value. If the delay parameter is less than or equal to the fourth threshold, the current Lth parameter value is determined as the speed coefficient, otherwise the next second operation is performed.

[0089] In the process of force estimation, the above method ensures that the force information in the virtual scene is reconstructed with low delay when the end of the robot arm is in high-speed motion. The specific method of determining the delay parameter is not limited here.

[0090] In this embodiment, when the movement speed of the end of the robot arm is greater than or equal to the third threshold, the second operation is performed multiple times until the delay parameter is less than or equal to the fourth threshold, and the speed coefficient is obtained. Through this method, when the speed of the end of the robot arm is large, the force information reconstruction in the virtual scene has a lower delay, thereby improving the estimation efficiency of the environmental force information in the telepresence remote control operation virtual reality system.

[0091] Optionally, in some embodiments, when the movement speed of the end of the robot arm is greater than or equal to the third threshold, performing the second operation multiple times until the delay parameter is less than or equal to the fourth threshold, and obtaining the speed coefficient includes:

[0092] determining a plurality of target speeds, each of the target speeds being greater than or equal to a third threshold;

[0093] For each of the target speeds, when the movement speed of the end of the robotic arm is the target speed, the second operation is performed multiple times until the delay parameter is less than or equal to a fourth threshold, so as to obtain a speed coefficient corresponding to each of the target speeds.

[0094] The specific values ​​of the multiple target speeds are not limited herein. Exemplarily, in some embodiments, the multiple target speeds include a first target speed, a second target speed, and a third target speed, wherein the first target speed may be a faster movement speed of the end of the robotic arm, the second target speed may be an ultra-fast movement speed of the end of the robotic arm, and the third target speed may be a maximum movement speed of the end of the robotic arm.

[0095] In this embodiment, for a plurality of different target speeds, a speed coefficient corresponding to each target speed can be obtained, so that at different speeds, force information reconstruction in the virtual scene can have a lower delay.

[0096] Step 102, calculating a target cutoff frequency based on a target parameter and the minimum cutoff frequency, wherein the target parameter is determined based on the speed coefficient and the movement speed of the end of the robot arm.

[0097] It should be understood that the specific calculation method of the target cutoff frequency is not limited here. Optionally, in some embodiments, the step 102 includes:

[0098] Determine the target parameter based on the speed coefficient and the movement speed of the end of the robot arm;

[0099] The sum of the target parameter and the minimum cutoff frequency is determined as the target cutoff frequency.

[0100] The product of the speed coefficient and the movement speed of the end of the robot arm is determined as a target parameter, and the target cutoff frequency is obtained by adding the target parameter to the minimum cutoff frequency.

[0101] Step 103: determining a filter coefficient based on the target cutoff frequency and a time interval, wherein the time interval is used to characterize an interval between any two adjacent sampling moments.

[0102] It should be understood that the length of the time interval is not limited here, and its specific value can be set and adjusted according to actual needs.

[0103] Step 104 , filtering the sampling torque based on the filtering coefficient to obtain an estimated torque at the sampling moment, wherein the sampling torque is the contact torque between the end of the manipulator and the outside world at the sampling moment.

[0104] The contact torque between the end of the manipulator and the outside world is obtained at the sampling moment, and the sampled torque is filtered based on the filter coefficient to obtain an estimated torque. Through the above processing, the estimated torque can be filtered and denoised to improve the accuracy of the estimated torque. Through the step 104, the estimated torque at different sampling moments can be obtained.

[0105] It should be understood that the specific manner of filtering the sampling moment based on the filter coefficient is not limited herein. Exemplarily, the sampling moment may be filtered in different orders or in different forms based on the filter coefficient. Optionally, in some embodiments, step 104 includes:

[0106] A first-order filtering process or a second-order filtering process is performed on the sampling moment based on the filtering coefficient to obtain an estimated moment at the sampling moment.

[0107] It should be understood that the form of the filter coefficient may be different in different filtering processing methods. For the convenience of description, the filter coefficient is recorded as α. As an optional implementation, when the sampling moment is subjected to first-order filtering, α satisfies:

[0108]

[0109] As another optional implementation, when performing second-order filtering on the sampled moment, α satisfies:

[0110]

[0111] Among them, T is used to represent the time interval, and t satisfies:

[0112]

[0113] Among them, f c is the target cutoff frequency.

[0114] In an embodiment of the present invention, a minimum cutoff frequency is determined, and a speed coefficient is determined; the target cutoff frequency is calculated based on the target parameter and the minimum cutoff frequency, and the target parameter is determined based on the speed coefficient and the movement speed of the end of the manipulator. The filter coefficient is determined based on the target cutoff frequency and the time interval, and the sampling torque is filtered based on the filter coefficient to obtain an estimated torque at the sampling moment. Through the above method, when determining the estimated torque, filtering and noise reduction are performed, so that the accuracy of the estimated torque is higher. At the same time, since the target parameter is determined based on the speed coefficient and the movement speed of the end of the manipulator, different target parameters can be obtained at different movement speeds, and then different target cutoff frequencies can be obtained, which improves the rationality and flexibility of the cutoff frequency, so that the method can also achieve a good filtering and noise reduction effect at nonlinear speeds, and further improves the precision and accuracy of the estimated torque.

[0115] For ease of understanding, a specific embodiment is used as an example for explanation. First, the dynamic model of the robotic arm system is explained. The dynamic model of the robotic arm system satisfies the following formula 1:

[0116]

[0117] Among them, q, They represent the joint angle, joint angular velocity and joint angular acceleration of the robot arm rotation respectively; M(q) is the inertia coefficient matrix of the robot arm, with a size of n×n, where n is the number of rotations of the robot arm joints; is the coefficient of Coriolis force and centrifugal force, which is n×n; g(q) is the gravity term; is the friction term; τ is the torque provided by the robot joint; τ e is the contact torque between the end of the robot and the outside world (i.e., sampling torque).

[0118] Among them, the robot arm rotation joint angle q and joint angular velocity can be obtained through the robot arm system. and joint angular acceleration And through the dynamic parameter identification, the inertia coefficient matrix M(q) of the robot arm, the Coriolis force and centrifugal force coefficients of each joint can be obtained. Gravity term g(q) and friction term

[0119] Since formula 1 satisfies the properties shown in formula 2:

[0120]

[0121] The robot's generalized momentum P can be defined as shown in Equation 3:

[0122]

[0123] Generalized Momentum Differentiation for Robots It can be defined as shown in Formula 4:

[0124]

[0125] According to equations 1, 2, 3 and 4, we can get the generalized momentum differential: Satisfies the following equation 5:

[0126]

[0127] Design an r vector and let the estimated moment The dynamics of the constructed momentum observer satisfies the following equations 6 and 7:

[0128]

[0129]

[0130] Among them, k is the gain matrix of the external torque observer, which is generally taken as a diagonal matrix.

[0131] According to equation 6 and equation 7, the following equation 8 can be obtained:

[0132]

[0133] According to the integration of formula 8, we can get the following formula 9 and formula 10:

[0134]

[0135]

[0136] As an optional implementation, discretizing equation 8 and equation 10 may yield the following equation 11 and equation 12:

[0137] r N+1 =kTτ e,N +(1-kT)r N ;

[0138]

[0139] Where T is the time interval. N+1 is the estimated moment at the N+1th sampling moment, r N is the estimated moment at the Nth sampling moment, τ e,N is the sampling torque at the Nth sampling moment.

[0140] According to formula 11, it can be seen that r is a function of τ eIn this embodiment, the estimated torque is obtained by first-order filtering the sampled torque. In order to overcome the problem of high force tracking delay when the end of the manipulator moves quickly and poor force tracking accuracy when the manipulator moves at a low speed, a filter coefficient is introduced, where the filter coefficient α satisfies the following formula 13:

[0141]

[0142] Furthermore, t satisfies the following formula 14:

[0143]

[0144] Furthermore, f c The following formula 15 is satisfied:

[0145] f c =f cmin +βv;

[0146] Among them, f c is the target cutoff frequency, f cmin is the minimum cutoff frequency, β is the velocity coefficient, and v is the movement speed of the end of the robot arm, where v can be obtained by converting the joint angular velocity and the Jacobian matrix. The robot arm's own joint motor encoder can obtain the joint angular velocity, which will not be described in detail here. In some embodiments, the movement speed of the end of the robot arm can also be converted into acceleration for calculation, which will not be described in detail here.

[0147] See also Figure 3 , determine f cmin The specific steps for determining the values ​​of and β are as follows:

[0148] Let β = 0, and set the minimum cutoff frequency to a reasonable initial value. Make the movement speed of the end of the manipulator less than or equal to the first threshold value, so as to ensure that the manipulator remains stable or runs at a very low speed. The jitter parameter is used to determine whether the accuracy and precision of the estimated torque calculated in the virtual environment meet the requirements under different minimum cutoff frequency values. If the accuracy and precision of the estimated torque calculated in the virtual scene are low, the value of the minimum cutoff frequency is reduced until the accuracy and precision of the estimated torque calculated in the virtual scene are high and meet the requirements, and the value at this time is determined as the final value of the minimum cutoff frequency.

[0149] After determining the value of the minimum cutoff frequency, increase the movement speed of the manipulator so that the movement speed of the end of the manipulator is greater than or equal to the third threshold, thereby ensuring that the manipulator moves at a higher speed. Determine whether the delay of force reconstruction in the virtual scene meets the requirements under different values ​​of the speed coefficient through the delay parameter. If the delay of force reconstruction in the virtual scene is greater than or equal to the fourth threshold, gradually increase the value of the speed coefficient from 0 until the delay of force reconstruction in the virtual scene meets the requirements of the virtual scene, and determine the value at this time as the final value of the speed coefficient.

[0150] The minimum cutoff frequency determined in the above manner can make the force information reconstruction in the virtual scene have higher force accuracy when the end speed of the robot arm is low. The speed coefficient determined in the above manner can make the force information reconstruction in the virtual scene have lower delay when the end speed of the robot arm is high.

[0151] After determining the final values ​​of the minimum cutoff frequency and the velocity coefficient through the above method, the filter coefficient can be calculated based on Equations 13, 14, and 15, and the obtained filter coefficient can be substituted into Equation 11. In the virtual scene, force reconstruction can be performed based on Equation 11 to obtain the estimated torque at the end of the robotic arm at each sampling moment.

[0152] Currently, the existing force estimation technology mostly uses Kalman filtering. Kalman filtering relies on process models and measurement models, but the noise in the actual joint torque is not completely Gaussian white noise, so its filtering effect is also limited. At present, the motion state of the basic remote manipulator system is a nonlinear system. The first-order filtering and Kalman filtering of the fixed speed model have a large delay in following the high-speed motion state and have poor adaptability.

[0153] In this embodiment, the movement speed of the end of the robotic arm is utilized to continuously adjust the corresponding cutoff frequency during the calculation process of the force information reconstruction of the virtual scene, so that when the movement speed of the end of the robotic arm is relatively high, the force information reconstruction of the virtual scene has a lower delay, and when the movement speed of the end of the robotic arm is relatively low, the force information reconstruction of the virtual scene has a higher force accuracy.

[0154] See also Figure 4 The embodiment of the present invention further provides a force estimation device 400, comprising:

[0155] The first determination module 401 is used to determine the minimum cut-off frequency and the speed coefficient;

[0156] A calculation module 402, configured to calculate a target cutoff frequency based on a target parameter and the minimum cutoff frequency, wherein the target parameter is determined based on the speed coefficient and the movement speed of the end of the robot arm;

[0157] A second determination module 403, configured to determine a filter coefficient based on the target cutoff frequency and a time interval, wherein the time interval is used to characterize an interval between any two adjacent sampling moments;

[0158] The processing module 404 is used to filter the sampling torque based on the filtering coefficient to obtain the estimated torque at the sampling moment, where the sampling torque is the contact torque between the end of the manipulator and the outside world at the sampling moment.

[0159] Optionally, determining the minimum cutoff frequency includes:

[0160] When the movement speed of the end of the robot arm is less than or equal to the first threshold, performing the first operation multiple times until the jitter parameter is greater than or equal to the second threshold, and obtaining a minimum cutoff frequency, wherein the jitter parameter is used to characterize the jitter of the estimated torque;

[0161] The Kth first operation among the multiple first operations includes:

[0162] When the jitter parameter corresponding to the K-1th first operation is less than the second threshold, reducing the K-1th frequency value to obtain the Kth frequency value, where K is a positive integer greater than 1;

[0163] When the target cutoff frequency is equal to the Kth frequency value, calculating a jitter parameter corresponding to the Kth first operation;

[0164] When the jitter parameter corresponding to the K-th first operation is greater than or equal to the second threshold, the minimum cutoff frequency is determined to be the K-th frequency value.

[0165] Optionally, when the target cutoff frequency is equal to the Kth frequency value, calculating the jitter parameter corresponding to the Kth first operation includes:

[0166] When the target cutoff frequency is equal to the Kth frequency value, obtaining a sampling moment in a target time period, and obtaining an estimated moment corresponding to the sampling moment in the target time period;

[0167] A jitter parameter corresponding to the K-th first operation is determined based on a similarity between the sampled moment and the estimated moment.

[0168] Optionally, determining the speed coefficient includes:

[0169] When the movement speed of the end of the robot arm is greater than or equal to the third threshold, the second operation is performed multiple times until the delay parameter is less than or equal to the fourth threshold, and a speed coefficient is obtained, wherein the delay parameter is used to characterize the delay time for determining the estimated torque;

[0170] The Lth second operation among the multiple second operations includes:

[0171] When the delay parameter corresponding to the L-1th first operation is greater than the fourth threshold, increase the L-1th parameter value to obtain the Lth parameter value, where L is a positive integer greater than 1;

[0172] Calculating an Lth target parameter based on the Lth parameter value and the movement speed of the end of the robotic arm;

[0173] Calculating an Lth target cutoff frequency based on the Lth target parameter and the minimum cutoff frequency;

[0174] When the target cutoff frequency is equal to the Lth target cutoff frequency, calculating a delay parameter corresponding to the Lth second operation;

[0175] When the delay parameter corresponding to the L-th second operation is less than or equal to the fourth threshold, the speed coefficient is determined to be the L-th parameter value.

[0176] Optionally, when the movement speed of the end of the robot arm is greater than or equal to the third threshold, performing the second operation multiple times until the delay parameter is less than or equal to the fourth threshold, and obtaining the speed coefficient includes:

[0177] determining a plurality of target speeds, each of the target speeds being greater than or equal to a third threshold;

[0178] For each of the target speeds, when the movement speed of the end of the robotic arm is the target speed, the second operation is performed multiple times until the delay parameter is less than or equal to a fourth threshold, so as to obtain a speed coefficient corresponding to each of the target speeds.

[0179] Optionally, the second determining module 403 is specifically configured to:

[0180] The sampling moment is subjected to first-order filtering or second-order filtering based on the filtering coefficient to obtain an estimated moment at the sampling moment.

[0181] Optionally, the calculation module 402 includes:

[0182] A first determining unit, configured to determine a target parameter based on the speed coefficient and a movement speed of the end of the robotic arm;

[0183] The second determining unit is configured to determine the sum of the target parameter and the minimum cutoff frequency as the target cutoff frequency.

[0184] The force estimation device 400 provided in the embodiment of the present invention can perform the above-mentioned Figure 1The implementation principle and technical effect of the method embodiment shown are similar, and this embodiment will not be repeated here.

[0185] The force estimation device 400 provided in the embodiment of the present invention is used to determine the minimum cutoff frequency and the speed coefficient; the target cutoff frequency is calculated based on the target parameter and the minimum cutoff frequency, and the target parameter is determined based on the speed coefficient and the movement speed of the end of the manipulator. The filter coefficient is determined based on the target cutoff frequency and the time interval, and the sampled torque is filtered based on the filter coefficient to obtain the estimated torque at the sampling moment. Through the above method, when determining the estimated torque, the noise is reduced by filtering, so that the accuracy of the estimated torque is higher. At the same time, since the target parameter is determined based on the speed coefficient and the movement speed of the end of the manipulator, different target parameters can be obtained at different movement speeds, and then different target cutoff frequencies can be obtained, which improves the rationality and flexibility of the cutoff frequency, so that the method can also achieve a good filtering and noise reduction effect at nonlinear speeds, and further improves the precision and accuracy of the estimated torque.

[0186] like Figure 5 As shown, the embodiment of the present invention further provides an electronic device 500, including a processor 501, a memory 502, a program or instruction stored in the memory 502 and executable on the processor 501, and the program or instruction is executed by the processor 501 to implement the following Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0187] The embodiment of the present invention further provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the following is implemented: Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0188] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0189] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0190] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0191] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0192] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A force estimation method, characterized in that: include: Determine the minimum cut-off frequency, and determine the speed factor; Calculating a target cutoff frequency based on a target parameter and the minimum cutoff frequency, wherein the target parameter is determined based on the speed coefficient and the movement speed of the end of the robot arm; Determine a filter coefficient based on the target cutoff frequency and a time interval, wherein the time interval is used to characterize an interval between any two adjacent sampling moments; The sampling torque is filtered based on the filtering coefficient to obtain an estimated torque at the sampling moment, where the sampling torque is the contact torque between the end of the robotic arm and the outside world at the sampling moment.

2. The method according to claim 1, characterized in that The determining of the minimum cut-off frequency comprises: When the movement speed of the end of the robot arm is less than or equal to the first threshold, performing the first operation multiple times until the jitter parameter is greater than or equal to the second threshold, and obtaining a minimum cutoff frequency, wherein the jitter parameter is used to characterize the accuracy of the estimated torque; The Kth first operation among the multiple first operations includes: When the jitter parameter corresponding to the K-1th first operation is less than the second threshold, reducing the K-1th frequency value to obtain the Kth frequency value, where K is a positive integer greater than 1; When the target cutoff frequency is equal to the Kth frequency value, calculating a jitter parameter corresponding to the Kth first operation; When the jitter parameter corresponding to the K-th first operation is greater than or equal to the second threshold, the minimum cutoff frequency is determined to be the K-th frequency value.

3. The method according to claim 2, characterized in that The step of calculating the jitter parameter corresponding to the K-th first operation when the target cutoff frequency is equal to the K-th frequency value includes: When the target cutoff frequency is equal to the Kth frequency value, obtaining a sampling moment in a target time period, and obtaining an estimated moment corresponding to the sampling moment in the target time period; A jitter parameter corresponding to the K-th first operation is determined based on a similarity between the sampled moment and the estimated moment.

4. The method according to claim 1, characterized in that The determining of the speed coefficient comprises: When the movement speed of the end of the robot arm is greater than or equal to the third threshold, the second operation is performed multiple times until the delay parameter is less than or equal to the fourth threshold, and a speed coefficient is obtained, wherein the delay parameter is used to characterize the delay time for determining the estimated torque; The Lth second operation among the multiple second operations includes: When the delay parameter corresponding to the L-1th first operation is greater than the fourth threshold, increase the L-1th parameter value to obtain the Lth parameter value, where L is a positive integer greater than 1; Calculating an Lth target parameter based on the Lth parameter value and the movement speed of the end of the robotic arm; Calculating an Lth target cutoff frequency based on the Lth target parameter and the minimum cutoff frequency; When the target cutoff frequency is equal to the Lth target cutoff frequency, calculating a delay parameter corresponding to the Lth second operation; When the delay parameter corresponding to the L-th second operation is less than or equal to the fourth threshold, the speed coefficient is determined to be the L-th parameter value.

5. The method according to claim 4, characterized in that When the movement speed of the end of the robot arm is greater than or equal to the third threshold, the second operation is performed multiple times until the delay parameter is less than or equal to the fourth threshold, and the speed coefficient is obtained, including: determining a plurality of target speeds, each of the target speeds being greater than or equal to a third threshold; For each of the target speeds, when the movement speed of the end of the robotic arm is the target speed, the second operation is performed multiple times until the delay parameter is less than or equal to a fourth threshold, so as to obtain a speed coefficient corresponding to each of the target speeds.

6. The method according to claim 1, characterized in that The filtering process on the sampling moment based on the filtering coefficient to obtain the estimated moment at the sampling moment includes: The sampling moment is subjected to first-order filtering or second-order filtering based on the filtering coefficient to obtain an estimated moment at the sampling moment.

7. The method according to claim 1, characterized in that The calculating the target cutoff frequency based on the target parameter and the minimum cutoff frequency comprises: Determine the target parameter based on the speed coefficient and the movement speed of the end of the robot arm; The sum of the target parameter and the minimum cutoff frequency is determined as the target cutoff frequency.

8. A force estimation device, characterized in that: include: A first determination module is used to determine a minimum cut-off frequency and a speed coefficient; A calculation module, configured to calculate a target cutoff frequency based on a target parameter and the minimum cutoff frequency, wherein the target parameter is determined based on the speed coefficient and a movement speed of the end of the robotic arm; A second determination module, used to determine a filter coefficient based on the target cutoff frequency and a time interval, wherein the time interval is used to characterize an interval between any two adjacent sampling moments; A processing module is used to filter the sampling torque based on the filtering coefficient to obtain the estimated torque at the sampling moment, where the sampling torque is the contact torque between the end of the mechanical arm and the outside world at the sampling moment.

9. An electronic device, comprising: A memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: The processor is used to read the program in the memory to implement the steps in the method according to any one of claims 1 to 7.

10. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Apparatus and method for adaptively converting filtering coefficient according to movement data and apparatus, method, and system for processing movement data thereof

    KR1020100132909A

  • Trajectory representation in design and testing of a surgical robot

    US20210077203A1

  • Method and apparatus for generating data for estimating three-dimensional (3D) pose of object included in input image, and prediction model for estimating 3D pose of object

    US20210209788A1