A method for estimating six-dimensional force at the end of a robot arm

By using selective parameter bootstrapping and covariance cross-fusion processing, the accuracy and robustness issues of six-dimensional force estimation at the end of a robotic arm under complex working conditions are solved, achieving high-precision and robust six-dimensional force estimation output that is adaptable to observation source failure and noise interference.

CN123129151APending Publication Date: 2026-11-20BEIJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611335040.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing six-dimensional force estimation methods for robotic arm ends struggle to balance accuracy and robustness under complex contact conditions. They are susceptible to noise when fusing multi-source force observations and lack dynamic quantification of the reliability of observation sources and handling of failure scenarios.

Method used

By constructing a selective parameter bootstrapping mechanism to expand the effective measurement sample, combining the sample acceptance rate and measurement information bias to dynamically determine the reliability of the observation source, and using covariance cross-fusion to process the inter-source correlation, a hierarchical degradation output strategy is set to improve the estimation accuracy and robustness.

Benefits of technology

It improves the accuracy and robustness of six-dimensional force estimation at the end of the robotic arm, reduces the impact of abnormal measurements, ensures the continuity and reliability of the estimation output, adapts to changes in working conditions, and enhances computational load balancing and fault tolerance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123129151A_ABST
    Figure CN123129151A_ABST
Patent Text Reader

Abstract

The application discloses a mechanical arm end six-dimensional force estimation method, and belongs to the field of robot force perception and multi-sensor fusion. End six-dimensional force sensor observation information and joint torque sensor observation information are obtained, and a second end six-dimensional force is obtained from a dynamics model; a state transition and observation model is established and state prediction is performed; a selective sampling area is constructed by using predicted measurement and bootstrap measurement equivalent innovation covariance, parameter bootstrap measurement samples are generated and screened, and source level state estimation and estimation error covariance are obtained; reliability and fusion weight are determined by combining sample acceptance rate, measurement innovation Mahalanobis distance and normalized estimation error covariance, and fusion estimation is obtained by using covariance cross fusion; and fusion, single path degradation or missing penalty output is executed according to the effective state of observation. The method can inhibit the influence of abnormal measurement, avoid repeated weighting of information caused by unknown correlation between sources, and keep continuous output when observation is missing, so that the estimation accuracy and robustness are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a six-dimensional force estimation method for the end effector of a robotic arm, belonging to the field of robot force perception and multi-sensor information fusion technology. Background Technology

[0002] In contact operations such as assembly, grinding, and polishing, the six-dimensional force / torque information at the end effector of a robotic arm is a crucial input for achieving compliant control, force feedback control, and contact state recognition. To obtain this information, industrial practice typically employs two observation methods: one is to install a six-dimensional force / torque sensor on the robotic arm wrist to directly measure the end-effector contact force; the other is to use joint current or joint torque sensors to indirectly estimate the generalized end-effector force through the robotic arm's dynamics model. The former is highly direct and sensitive, but is limited by sensor cost, range, zero-bias temperature drift, and installation location, making it more sensitive to random abnormal measurements. The latter does not add additional load to the end effector, but heavily relies on the accuracy of the dynamics model and is susceptible to unmodeled friction, link parameter errors, and joint-side noise. Therefore, a single observation source cannot simultaneously achieve both accuracy and robustness under complex contact conditions.

[0003] To improve the stability of end-effector six-dimensional force estimation, multi-source force observation fusion technology has attracted widespread attention. Centralized Kalman filtering integrates all observation sources into a single state equation for unified estimation, theoretically yielding the optimal solution in the maximum likelihood sense. However, it suffers from concentrated computational burden, significant communication bottlenecks, and low tolerance for single-point failures. To overcome these shortcomings, distributed Kalman filtering performs state estimation at multiple local nodes and weights and fuses the local estimation results according to an information matrix. This approach offers advantages such as balanced computational load, strong scalability, and high fault tolerance, and has been applied in fields such as multi-sensor integrated navigation and robot state estimation.

[0004] Currently, several state estimation methods based on multi-source observation fusion have been proposed. For example, Chinese patent CN103105611A discloses a distributed multi-sensor intelligent information fusion method, which uses Kalman filtering to perform local state estimation at each distributed node and fuses the local estimation results based on the information matrix; Chinese patent CN121365356A discloses a six-dimensional sensor multi-source data fusion system based on dynamic weights, which dynamically adjusts the fusion weights by analyzing the output characteristics and residual information of each observation source to improve the adaptability of multi-source data fusion.

[0005] However, the above methods still have the following shortcomings when applied to the fusion of multi-source force observations of robotic arms: First, each local channel is usually updated using only one original measurement, resulting in insufficient sample support. When there is strong observation noise or abnormal measurements, the fusion results are easily contaminated, leading to peak divergence or estimation drift. While sampling methods such as particle filtering can expand the sample, they suffer from problems such as high computational cost, particle degradation, and lack of a screening mechanism aligned with the predicted distribution, making it difficult to meet the real-time requirements of force control loops. Second, the fusion process implicitly assumes that each local estimate is independent, ignoring the correlation brought about by common priors and the coupling of robotic arm kinematics and dynamics. Directly accumulating the information matrix will cause repeated weighting of relevant information, resulting in an overly optimistic fusion covariance. Third, the reliability of each observation source is mostly assessed using fixed weighting or only weighting based on the measurement covariance, lacking dynamic quantification of the difficulty of sample screening and the uncertainty of source-level estimation. Furthermore, no clear degradation output strategy is provided for situations where observations are missing, such as sensor failure or local model mismatch.

[0006] Therefore, the key technical issues that need to be addressed in improving the accuracy and robustness of multi-source force observation fusion for robotic arms are: how to expand the effective measurement samples consistent with the prediction distribution during the local state estimation process to reduce the impact of abnormal measurements on source-level estimation; how to avoid redundant weighting of relevant information when the correlation between sources is unknown and dynamically determine the fusion weight based on the real-time reliability of each observation source; and how to maintain the continuity and credibility of the estimation output when some or all observation sources fail. Summary of the Invention

[0007] In view of this, the purpose of this invention is to overcome the shortcomings of the prior art and provide a method for estimating the six-dimensional force at the end effector of a robotic arm. This method expands the effective measurement sample by constructing a selective parameter bootstrapping mechanism aligned with the predicted distribution, dynamically determines the reliability of the observation source by combining sample acceptance rate, measurement innovation bias, and source-level estimation uncertainty, and uses covariance cross-fusion to handle unknown correlations between sources. Simultaneously, it sets a graded degradation output strategy for observation source failure scenarios, thereby improving the accuracy, robustness, and output continuity of the six-dimensional force estimation at the end effector of the robotic arm.

[0008] To achieve the above objectives, this invention provides a six-dimensional force estimation method for the end effector of a robotic arm, specifically including:

[0009] S1 Acquires the observation information from the first end-effector six-dimensional force sensor and the second end-effector joint torque sensor; based on the second end-effector joint torque sensor observation information, solves the robot arm dynamics model to obtain the corresponding end-effector six-dimensional force information; unifies the time reference, coordinate reference and measurement reference of the two end-effector six-dimensional force information, and determines the effective state of each information;

[0010] S2 establishes a discrete state transition model and observation model for the terminal six-dimensional force based on the terminal six-dimensional force information obtained from the two channels; performs state prediction based on the estimated value at the previous moment, obtains the prior state estimate and prior estimate error covariance at the current moment, and calculates the predicted measurement, original measurement innovation covariance and bootstrap measurement equivalent innovation covariance corresponding to each channel of terminal six-dimensional force information.

[0011] S3 Constructs a sampling region based on the equivalent information covariance of the predicted measurement and the bootstrap measurement; adds random perturbation to the six-dimensional force information at the two ends to generate parameters and bootstrap measurement samples as candidate samples, and filters the candidate samples that fall into the sampling region to obtain a set of retained samples. When the number of candidate samples generated reaches the upper limit of the preset candidate samples and the number of retained samples is lower than the lower limit of the preset retained samples, the corresponding observation information is marked as invalid.

[0012] S4 takes the prior state estimate and prior estimation error covariance as a common prior, updates the state based on the retained sample set, and obtains the source-level state estimate and source-level estimation error covariance corresponding to the six-dimensional force at each end.

[0013] S5 determines the sample acceptance rate based on the number of retained samples and the number of candidate samples corresponding to the six-dimensional forces at the end of each path; calculates the Mahalanobis distance of the measurement innovation based on the original measurement innovation covariance, and determines the fusion weight of each source-level state estimate by combining the source-level estimation error covariance; and performs weighted fusion of each source-level state estimate according to the covariance cross-fusion rule to obtain the fusion estimation error covariance and fusion estimate of the six-dimensional forces at the end of the current time.

[0014] S6 Based on the valid status of each information path, when both paths are valid, output the fusion estimate and the fusion estimate error covariance; when only one path is valid, output the source-level state estimate and the source-level estimate error covariance corresponding to that path; when both paths are invalid, output the prior state estimate and superimpose the preset symmetric positive semi-definite missing penalty matrix onto the prior estimate error covariance; use the output end-effector six-dimensional force estimate and its estimate error covariance as prior information for state prediction at the next moment, for six-dimensional force control at the end of the robotic arm.

[0015] The S1 described in the above method specifically includes:

[0016] Let the current discrete time be The observations from the six-dimensional force sensor at the end of the first path are as follows:

[0017]

[0018] in, , , , , , These are the force and torque components output by the six-dimensional force sensor at the end of the robotic arm at time k in the X, Y, and Z directions, respectively.

[0019] Let the current discrete time be The torque sensor observations at the second robotic arm joints are as follows:

[0020]

[0021] in, Discrete time No. The output torque of the joint , The number of joints in the robotic arm;

[0022] The dynamic equations of the robotic arm are constructed as follows

[0023]

[0024] in, Joint torque; , , These are joint acceleration, joint velocity, and joint position, respectively. The joint space inertia matrix; These are the Coriolis force and centrifugal force terms; This is the term related to gravity. The Jacobian matrix at the end effector of the robotic arm; It is the actual end-point six-dimensional force in the dynamic equation;

[0025] Define the generalized momentum of the robotic arm joint space as

[0026]

[0027] For the generalized momentum Perform time differentiation and combine it with the aforementioned robotic arm dynamics equations and matrix relationships. As a property of skew-symmetric matrices, we can obtain:

[0028]

[0029] Construct a joint-space generalized momentum observer and output the momentum residual. :

[0030]

[0031] in, For diagonal positive definite observer gain, From the above equation, we can obtain that the residuals satisfy first-order stable dynamics:

[0032]

[0033] Discrete time The momentum residual is:

[0034]

[0035] Based on the discrete time momentum residual Construct the six-dimensional force observations at the end of the second path:

[0036]

[0037] in, Discrete time The estimated value of the six-dimensional force at the end of the arm is calculated based on the joint torque and the dynamic model of the robotic arm. Discrete time The end Jacobian matrix is ​​calculated based on the joint position of the robotic arm. Indicates generalized inverse; when and When the term of office is completed,

[0038]

[0039] For the first path end six-dimensional force Second-way end six-dimensional force Time base unification is performed, including data acquisition timestamp alignment, interpolation by fusion period, and nearest neighbor resampling;

[0040] Unify the coordinate and measurement benchmarks for the six-dimensional forces at the ends of the first and second paths: determine the first... Rotation matrix of the path observation coordinate system relative to the target fusion coordinate system and the origin position vector ;

[0041] Unify the six-dimensional force observations from all endpoints to the target fusion coordinate system and the same reference point:

[0042]

[0043]

[0044] in For vectors The antisymmetric matrix; for The first transformation after changing to the target fused coordinate system and the target reference point Road observations;

[0045] Zero-bias calibration and tool gravity compensation are performed on the first-channel end-point six-dimensional force sensor to construct a zero-bias compensation model:

[0046]

[0047] in, For the compensated first-path end-six-dimensional force information, The zero bias of the first observation path. This is the amount of gravity compensation for the tool;

[0048] Based on the information of the first and second path terminal six-dimensional forces, an effective state judgment model is constructed:

[0049]

[0050] in, As a time-series validity indicator, when the first When the six-dimensional force at the end of the road arrives within the preset receiving time limit, ,otherwise ; As a time synchronization flag, when the first The absolute value of the deviation between the six-dimensional force timestamp at the end of the road and the current fusion time does not exceed the preset time synchronization tolerance, and is set to 1; otherwise, it is set to 0. As a data integrity flag, when the first The value is 1 when the road observation information is complete, and 0 when data loss occurs. As a non-saturation indicator, when the first The value is 1 when the road observation is not saturated and 0 when it is saturated. As a sign of range compliance, when the first If none of the measured components of the road observation exceed the corresponding physical range, take 1; otherwise, take 0.

[0051] Based on the aforementioned effective judgment model, the effective criterion is:

[0052]

[0053] in Indicates the first Discrete time of the path The observation was effective. Indicates the first Discrete time of the path The observation is invalid.

[0054] The S2 described in the above method specifically includes:

[0055] Define discrete time The end-point six-dimensional force state is Based on the aforementioned six-dimensional force information at the two ends, a discrete linear state transition model with process noise is established as follows:

[0056]

[0057] in, This is the state transition matrix; The process noise follows a zero-mean Gaussian distribution, and its covariance matrix is... ;

[0058] Establish an observation model and set discrete time intervals. The The six-dimensional force at the end of the road is characterized as follows:

[0059]

[0060] in, For the first Road observation matrix; For the first The road observation noise follows a zero-mean Gaussian distribution, and its covariance matrix is... ;

[0061] The estimated value at the previous time step is defined as and its estimation error covariance is Based on the discrete state transition model and observation model of the terminal six-dimensional force, the prior state estimate and prior estimate error covariance at the current moment are calculated respectively:

[0062]

[0063]

[0064] For each valid observation, calculate the corresponding predicted measurement:

[0065]

[0066] For the first The covariance of the original measurement information is solved separately for each road observation. Equivalent Information Covariance of Bootstrap Measurement :

[0067]

[0068]

[0069] in For the first Road parameter bootstrap disturbance amplitude coefficient;

[0070] The S3 described in the above method specifically includes:

[0071] Regarding the first The current effective observations of the road are set at a preset information level. To predict measurement Centered on the equivalent information covariance of bootstrap measurement Construct selective sampling regions for the shape matrix:

[0072]

[0073] in, For the first Dimension of path observation For degrees of freedom Confidence level Chi-square quantiles;

[0074] According to the preset parameter bootstrap perturbation distribution, random perturbations are added to the two-channel end six-dimensional force information to generate parameter bootstrap measurement samples as candidate samples. The candidate samples are

[0075]

[0076] in, For random perturbations:

[0077]

[0078] like If so, the candidate sample is added to the set of retained samples;

[0079] Set the current time. The cumulative number of candidate samples generated by the road is The number of retained samples is ,in ;when At that time, mark the observation of that route as valid and set it. Preserve the sample set The construction is complete, among which To preset the upper limit of candidate samples, To retain the number of samples for the preset target, and All are positive integers;

[0080] when If so, the observation along that route is marked as invalid and set to... ;in, And it is a positive integer;

[0081] All retained samples will be renumbered according to the order of acceptance. , recorded as This yields the set of retained samples for that path at the current moment:

[0082]

[0083] The S4 described in the above method specifically includes:

[0084] Regarding the first With the path still valid observations, calculate the Kalman gain based on the covariance of equivalent innovations from common priors and bootstrap measurements:

[0085]

[0086] For the retained sample set Each bootstrap measurement sample in , based on prior estimation and To establish a common prior, perform state measurement updates to obtain local state estimates:

[0087]

[0088] Calculate the local estimation error covariance using the Joseph form:

[0089]

[0090] According to the same route The local state estimate determines the first... Source-level state estimates corresponding to the path :

[0091]

[0092] and the Source-level estimation error covariance corresponding to the path :

[0093]

[0094] The above method, specifically S5, includes:

[0095] Define the parameter bootstrap sample acceptance rate:

[0096]

[0097] Based on the original measurement information covariance Calculate the squared Mahalanobis distance of the original measurement. :

[0098]

[0099] To avoid the direct addition of covariance traces across physical dimensions, a scaling matrix is ​​introduced:

[0100]

[0101] in and These are the preset force and torque dimensions, respectively;

[0102] The source-level estimation error covariance is normalized to obtain the normalized estimation error covariance:

[0103]

[0104] Definition of the first Reliability of source-level estimation:

[0105]

[0106] in, This is a preset dimensionless regularization constant;

[0107] when At that time, calculate the fusion weights corresponding to the first path:

[0108]

[0109] The fusion weights corresponding to the second source-level state estimation are: ; Calculate the covariance of the fusion estimation error:

[0110]

[0111] And the estimated fusion state:

[0112]

[0113] S6 in the above method specifically includes:

[0114] when At that time, output the final six-dimensional force fusion estimate. and its fusion estimation error covariance for:

[0115]

[0116]

[0117] when At that time, output the source-level state estimation result corresponding to the first path:

[0118]

[0119] when At that time, output the source-level state estimation result corresponding to the second path:

[0120]

[0121] when At that time, output the prior state estimate and apply a missing value penalty to the prior estimate error covariance:

[0122]

[0123] in The default symmetric positive semidefinite missing penalty matrix;

[0124] Output Six-dimensional force control for the end effector of robotic arm contact operations, and and Used for predicting the state at the next time step.

[0125] Compared with existing technologies, this invention has the following advantages: First, by constructing a selective sampling region centered on the predicted measurement and applying parameter bootstrapping perturbation to the original measurement to generate candidate samples, only valid samples consistent with the predicted distribution are retained, reducing the impact of single anomalous measurements and random shocks on source-level state updates, thereby improving source-level estimation accuracy and resistance to anomalous measurements. Second, by setting the original measurement innovation covariance and the bootstrapping equivalent innovation covariance separately, the measurement reliability assessment and source-level state update are decoupled, avoiding underestimation of the degree of anomalousness due to the amplification of innovation covariance caused by bootstrapping perturbation, thus improving the accuracy of reliability evaluation. Third, by dynamically calculating the reliability of each observation source by comprehensively considering the sample acceptance rate, the Mahalanobis distance of the original measurement innovation, and the normalized source-level estimation error covariance, and determining the covariance cross-fusion weight accordingly, the influence of fixed weights or single covariance weighting on insufficient adaptability to changes in operating conditions is reduced; at the same time, when the correlation between sources is unknown, relevant information is avoided from being weighted repeatedly, thereby improving the accuracy of fusion estimation and covariance consistency. Furthermore, corresponding output strategies are set for three scenarios: both sources are valid, one source is valid, and both sources are invalid. When both sources are invalid, a missing source penalty covariance is added to prevent short-term failure of the observation source from causing interruption of the estimation output or underestimation of uncertainty, thereby improving the robustness and output continuity of multi-source force estimation. Finally, the local estimation error covariance is updated using the Joseph form to maintain the symmetry and positive semidefiniteness of the covariance matrix, improving the numerical stability of the recursive estimation process. Summary of the Invention

[0126] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort or labor.

[0127] Figure 1 This is a flowchart illustrating a six-dimensional force estimation method for the end effector of a robotic arm provided in an embodiment of the present invention.

[0128] Figure 2 This is a flowchart of selective sampling bootstrap measurement provided in an embodiment of the present invention;

[0129] Figure 3 This is a comparative diagram of the fusion effect provided in the embodiments of the present invention;

[0130] Figure 4 This is a schematic diagram comparing the fusion methods provided in the embodiments of the present invention; Detailed Implementation

[0131] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0132] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0133] Please refer to Figure 1 This invention provides a method for estimating the six-dimensional force at the end of a robotic arm.

[0134] Step S1: Synchronously acquire observation data from the end effector six-dimensional force sensor and the joint torque sensor; the first raw measurement is directly obtained from the end effector six-dimensional force sensor:

[0135]

[0136] In the continuous robotic arm Each sampling time satisfies At that time, the continuous Each sampling time is defined as a stationary sampling window, and the arithmetic mean of the first path of observations within that window is used as the zero bias; whenever a continuous sampling time is used, the sampling window is defined as a stationary sampling window. A zero-bias update is performed once each sampling time satisfies the static determination condition;

[0137] The second source measurement is obtained directly from the torque sensor on the joint side of the robotic arm:

[0138]

[0139] Based on the inverse kinematics model, the six-dimensional forces at the end of the robotic arm are obtained, and the rigid body dynamics equations of the robotic arm are constructed:

[0140]

[0141] in, Joint torque; , , These are joint acceleration, joint velocity, and joint position, respectively. The joint space inertia matrix; These are the Coriolis force and centrifugal force terms; This is the term related to gravity. The Jacobian matrix at the end effector of the robotic arm; This is the generalized force at the end contact. The gravity term... The parameters are determined based on the robot arm's body parameters, the mass of the end effector, the position of the end effector's center of gravity, and the parameters of the load it carries.

[0142] Define generalized momentum Construct a generalized momentum observer:

[0143]

[0144] in, For diagonal positive definite observer gain, In this embodiment, the gain of each joint observer is taken as a uniform value. The corresponding convergence time constant of the residual dynamics is approximately 33ms, balancing convergence speed and noise suppression; the momentum residuals satisfy first-order stable dynamics:

[0145]

[0146] Discrete time The momentum residual is:

[0147]

[0148] Based on the discrete time momentum residual Construct the six-dimensional force observations at the end of the second path:

[0149]

[0150] in, This is the estimated value of the six-dimensional force at the end of the arm, calculated based on the joint torque and the dynamic model of the robotic arm at time k. For the first The end effector Jacobian matrix is ​​calculated based on the joint positions of the robotic arm at all times; Indicates generalized inverse; when and When the term of office is completed,

[0151]

[0152] When the minimum singular value of the Jacobian matrix at the end of the robotic arm In this embodiment, To avoid The numerical instability caused by ill-conditioning is addressed by using damped least squares generalized inverse. To make a substitution , As a preset damping coefficient, this embodiment takes... To limit the generalized inverse gain when approaching singular configurations, thus avoiding numerical divergence;

[0153] Unify the coordinate and measurement benchmarks for the six-dimensional forces at the ends of the first and second paths: determine the first... Rotation matrix of the path observation coordinate system relative to the target fusion coordinate system and the origin position vector ;

[0154] Unify the six-dimensional force observations from all endpoints to the target fusion coordinate system and the same reference point:

[0155]

[0156]

[0157] in For vectors The antisymmetric matrix; the first matrix after coordinate unification Road measurement ;

[0158] Zero-bias calibration, drift compensation, and tool gravity compensation are performed on the first-channel end six-dimensional force sensor to construct a zero-bias compensation model:

[0159]

[0160] in, For the compensated first-path end-six-dimensional force information, The zero bias of the first observation path. This is the tool gravity compensation amount; to unify subsequent representations, the first measurement after preprocessing is defined as... Second measurement To achieve the unification of time reference, coordinate reference, and measurement reference, the final six-dimensional force of the dynamic inverse solution is determined; subsequent steps uniformly adopt... Indicates the first Six-dimensional force measurement at the end of the path after preprocessing.

[0161] Based on the information of the first and second path terminal six-dimensional forces, an effective state judgment model is constructed:

[0162]

[0163] in, As a time-series validity indicator, when the first When the six-dimensional force at the end of the road arrives within the preset receiving time limit, ,otherwise ; As a time synchronization flag, when the first The absolute value of the deviation between the six-dimensional force timestamp at the end of the road and the current fusion time does not exceed the preset time synchronization tolerance, and is set to 1; otherwise, it is set to 0. As a data integrity flag, when the first The value is 1 when the road observation data is complete, and 0 when data loss occurs. As a non-saturation indicator, when the first The value is 1 when the road observation is not saturated and 0 when it is saturated. As a sign of range compliance, when the first If none of the measured components of the road observation exceed the corresponding physical range, take 1; otherwise, take 0.

[0164] Based on the aforementioned effective judgment model, the effective criterion is:

[0165]

[0166] in Indicates the first Discrete time of the path The observation was effective. Indicates the first Discrete time of the path The observation is invalid.

[0167] Step S2: Define discrete time intervals The end-point six-dimensional force state is Based on the aforementioned six-dimensional force information at the two ends, a discrete linear state transition model with process noise is established as follows:

[0168]

[0169] in, This is the state transition matrix; The process noise follows a zero-mean Gaussian distribution, and its covariance matrix is... ;

[0170] Establish an observation model and set discrete time intervals. The The six-dimensional force at the end of the road is characterized as follows:

[0171]

[0172] in, For the first Road observation matrix; For the first The road observation noise follows a zero-mean Gaussian distribution, and its covariance matrix is... ;

[0173] The estimated value at the previous time step is defined as and its estimation error covariance is Based on the discrete state transition model and observation model of the terminal six-dimensional force, the prior state estimate and prior estimate error covariance at the current moment can be calculated:

[0174]

[0175]

[0176] For each valid observation, calculate the corresponding predicted measurement:

[0177]

[0178] For the first The path observations are used to solve for the original measurement innovation covariance and the bootstrap measurement equivalent innovation covariance, respectively:

[0179]

[0180]

[0181] in, For the first The bootstrap perturbation scaling factor is taken in this embodiment. The above two settings for separating the prediction covariance ensure that the reliability assessment of the original measurement is not affected by the random disturbances introduced by the bootstrap sample, and avoid the underestimation of the Mahalanobis distance of abnormal measurements due to the artificial amplification of the prediction covariance.

[0182] Step S3: Please refer to Figure 2 The diagram shown is a flowchart of the selective parameter bootstrapping process provided in an embodiment of the present invention; this step, in the sense of prediction distribution alignment, is applied to the first... The original road measurements are subjected to a finite number of Gaussian perturbations and filtered according to a Mahalanobis distance threshold to obtain a subset of acceptable samples falling within the confidence region of the predicted distribution. The bootstrap measurement equivalent innovation covariance is then used. For the shape matrix, construct the first... Selective sampling area:

[0183]

[0184] in, For the first Path observation dimension, in this embodiment ; For degrees of freedom Confidence level The chi-square quantile in this embodiment According to the preset parameter bootstrap perturbation distribution, random perturbations are added to the six-dimensional force information at both ends to generate parameter bootstrap measurement samples as candidate samples, where the first... Each candidate sample generates a random perturbation:

[0185]

[0186]

[0187] like Then the candidate sample is added to the set of retained samples; let the current time be the nth time. The cumulative number of candidate samples generated by the road is The number of retained samples is ,in ;

[0188] When the number of candidate samples Reaching the preset upper limit of candidate samples or the number of retained samples To achieve the preset target number of retained samples At that time, retain the sample set The construction is complete, that is

[0189]

[0190] in, and All are positive integers; in this embodiment, we take... , Minimum number of accepted samples ;

[0191] When the number of candidate samples Reaching the preset upper limit of candidate samples And the number of retained samples The preset lower limit for candidate samples was not reached. If so, the observation along that route is marked as invalid and set to... ;

[0192] in, And it is a positive integer;

[0193] All retained samples will be renumbered according to the order of acceptance. , recorded as This yields the set of retained samples for that path at the current moment:

[0194]

[0195] Step S4: For the first With the path still valid observations, calculate the Kalman gain based on the covariance of equivalent innovations from common priors and bootstrap measurements:

[0196]

[0197] For the retained sample set Each bootstrap measurement sample in , based on prior estimation and To establish a common prior, perform state measurement updates to obtain local state estimates:

[0198]

[0199] Calculate the local estimation error covariance using the Joseph form:

[0200]

[0201] According to the same route The local state estimate determines the first... Source-level state estimates corresponding to the path :

[0202]

[0203] and the Source-level estimation error covariance corresponding to the path :

[0204]

[0205] Step S5: The source-level estimate obtained in step S4 in this step... Above, the fusion weights are dynamically determined based on the real-time reliability of the observations at this moment, and the multi-source level estimates are weighted and synthesized in the form of covariance cross.

[0206] Define the parameter bootstrap sample acceptance rate:

[0207]

[0208] Based on the original measurement information covariance Calculate the squared Mahalanobis distance of the original measurement. :

[0209]

[0210] To avoid the direct addition of covariance traces across physical dimensions, a scaling matrix is ​​introduced:

[0211]

[0212] in and These are preset force and torque dimensions, respectively. In this embodiment, we take... , ;

[0213] The source-level estimation error covariance is normalized to obtain the normalized estimation error covariance:

[0214]

[0215] Trace of error covariance estimated by normalization Characterizes the overall uncertainty of the source-level estimation in this path;

[0216] exist and Reliability With sample acceptance rate Proportional; in and Reliability Squared Mahalanobis distance Monotonically decreasing; in and Reliability trace of normalized covariance Monotonically decreasing; considering the above factors, the first is defined as... Reliability of source-level estimation:

[0217]

[0218] In this embodiment, the following is taken This is used to prevent numerical overflow caused by the denominator approaching zero; It monotonically increases with sample support and monotonically decreases with innovation bias and estimated dispersion, exhibiting both dynamic adjustment capability and numerical stability. For all valid observation sources... Normalization yields the fusion weights of each path at this moment;

[0219] when At that time, calculate the fusion weights corresponding to the first path:

[0220]

[0221] The fusion weights corresponding to the second source-level state estimation are: ; Calculate the covariance of the fusion estimation error:

[0222]

[0223] And the estimated fusion state:

[0224]

[0225] Invalid observation sources Participating in weight allocation means not entering the fusion process. The fusion estimation error covariance and the fusion state estimate are synthesized using a covariance cross-validation method:

[0226]

[0227]

[0228] Step S6: Handling different scenarios for missing observations, when... At that time, the final six-dimensional force fusion estimate and its fusion estimation error covariance for:

[0229]

[0230]

[0231] when At that time, output the source-level state estimation result corresponding to the first path:

[0232]

[0233] when At that time, output the source-level state estimation result corresponding to the second path:

[0234]

[0235] when At that time, output the prior state estimate and apply a missing value penalty to the prior estimate error covariance:

[0236]

[0237] In this embodiment, we take The force and torque components are subject to different degrees of uncertainty growth, reflecting a decrease in the reliability of the estimate under the pure prediction model;

[0238] Will Six-dimensional force control for the end effector of robotic arm contact operations, and and This serves as prior information for predicting the state at the next moment. In the above scenarios... The unified six-dimensional force estimate output at the current moment is sent to the robot's force control loop, and simultaneously substituted back into the state prediction equation of step S2 at the next moment, forming a complete temporal recursive link. Steps S1-S6 are executed cyclically at each sampling moment, thus obtaining the complete six-dimensional force fusion estimation sequence at the end. The above-mentioned case-by-case handling ensures the continuity of the fusion output while enabling the method of this invention to still have predictable degraded estimation capability when single or multiple observations are momentarily missing, avoiding output interruption or estimation divergence due to the temporary failure of individual observation sources.

[0239] To verify the effectiveness and feasibility of the six-dimensional force estimation method for the end effector of a robotic arm described in this invention, steps S1-S6 were run on a simulation platform. In this embodiment, a numerical simulation environment for a seven-DOF collaborative robotic arm and a six-dimensional force / torque sensor was built on a Python simulation platform to verify the method using Monte Carlo simulation. Two observation sources were set up in the simulation: the first observation source simulated the six-dimensional force sensor installed at the end effector of the robotic arm, and its measurement value consisted of the real force / torque superimposed with observation noise, serving as the direct measurement channel; the second observation source simulated the joint torque sensor integrated at the joint side of the robotic arm, and the estimated six-dimensional force at the end effector was obtained through inverse kinematics modeling, serving as the joint-side indirect estimation channel. The two observation sources output in parallel at the same sampling time, constituting the multi-source force observation data in this embodiment.

[0240] In the simulation, the sampling period is taken as =1ms, the total sampling time is 10s, and there are 10,000 sampling points. The noise of both observations is modeled as zero-mean Gaussian white noise, and outliers with a probability of 3% and a standard deviation of 10 are superimposed to simulate frictional disturbances and impacts in contact operations. The observation gaps are injected into the [2.0,2.5)s and [7.0,7.2)s time periods of the first observation, the [5.0,5.5)s and [8.5,8.7)s time periods of the second observation, and the [4.0,4.05)s time period that is missing in both observations.

[0241] See the fusion effect. Figure 3 As shown. By Figure 3 It can be seen that the root mean square errors of the two original observations are 0.1N ( (component) and 0.005 N·m ( The components (first path) and 0.1N and 0.01N·m (second path) are completely interrupted in the observation missing interval; after being fused by the method proposed in this invention, in Under constant force / constant torque conditions, the method of the present invention The estimated root mean square error is 0.0148N (approximately 14.8% of the original observation error of 0.1N for the first path). The estimated root mean square error is 0.0073 N·m, which is between 0.005 N·m of the first original observation and 0.01 N·m of the second original observation. The case-by-case handling of observation missing provides a degraded output strategy when single or multiple observations are instantaneously missing. In this embodiment, the fusion output is not interrupted during the cumulative 1.5s observation missing period, ensuring the temporal continuity of the fusion estimation sequence.

[0242] To further verify the performance advantages of the proposed method compared to existing mainstream methods, a horizontal comparison was conducted on the same set of simulation data using traditional Kalman filtering (KF), standard distributed Kalman filtering (standard DKF), and the proposed method (DKF-S). The root mean square error (RMSE) of the estimation for the three methods is shown in Table 1, and the comparison curves are shown in [reference needed]. Figure 4 As shown.

[0243] Table 1 Comparison of root mean square error of the fusion estimation of the three methods

[0244] method RMSE / N RMSE / N·m KF 0.0365 0.0164 DKF 0.0241 0.0117 Method of the present invention 0.0148 0.0073

[0245] From Table 1 and Figure 4 It can be seen that: the traditional Kalman filter The estimated root mean square error is 0.0365N. The output value is 0.0164 N·m, and it jumps during periods of missing observation; the standard distributed Kalman filter... The estimated root mean square error is 0.0241N. The flux density is 0.0117 N·m, which represents a reduction of 34.0% and 28.7% respectively compared to the traditional KF method; the method proposed in this invention... The estimated root mean square error is 0.0148N. The root mean square error is 0.0073 N·m, which is 59.5% and 55.5% lower than the traditional KF method, respectively, and 38.6% and 37.6% lower than the standard DKF method, respectively. The method of this invention has the smallest root mean square error among the three methods, and it still maintains continuous output during periods of missing observations.

[0246] The technical solution of this invention has the following beneficial effects: First, by constructing a selective sampling region centered on the predicted measurement and applying parameter bootstrapping perturbation to the original measurement to generate candidate samples, only valid samples consistent with the predicted distribution are retained, reducing the impact of single abnormal measurements and random shocks on source-level state updates, thereby improving source-level estimation accuracy and resistance to abnormal measurements. Second, by setting the original measurement innovation covariance and the bootstrapping equivalent innovation covariance respectively, the measurement reliability assessment and source-level state update are decoupled, avoiding underestimation of the degree of anomaly due to the amplification of innovation covariance caused by bootstrapping perturbation, thus improving the accuracy of reliability evaluation. Third, by dynamically calculating the reliability of each observation source by comprehensively considering the sample acceptance rate, the Mahalanobis distance of the original measurement innovation, and the normalized source-level estimation error covariance, and determining the covariance cross-fusion weight accordingly, the influence of fixed weights or single covariance weighting on insufficient adaptability to changes in operating conditions is reduced; at the same time, when the correlation between sources is unknown, relevant information is avoided from being weighted repeatedly, thereby improving the accuracy of fusion estimation and covariance consistency. Furthermore, corresponding output strategies are set for three scenarios: both sources are valid, one source is valid, and both sources are invalid. When both sources are invalid, a missing source penalty covariance is added to prevent short-term failure of the observation source from causing interruption of the estimation output or underestimation of uncertainty, thereby improving the robustness and output continuity of multi-source force estimation. Finally, the local estimation error covariance is updated using the Joseph form to maintain the symmetry and positive semidefiniteness of the covariance matrix, improving the numerical stability of the recursive estimation process.

Claims

1. A method for estimating the six-dimensional force at the end effector of a robotic arm, characterized in that, include: S1 acquires the observation information from the first end-effector six-dimensional force sensor and the observation information from the second robotic arm joint torque sensor; Based on the observation information of the second-path robotic arm joint torque sensor, the corresponding end-effector six-dimensional force information is obtained by solving the robotic arm dynamics model. The time reference, coordinate reference, and measurement reference of the two obtained end six-dimensional force information are unified, and the effective state of each information is determined; S2 establishes a discrete state transition model and observation model for the terminal six-dimensional force based on the terminal six-dimensional force information obtained from the two channels; performs state prediction based on the estimated value at the previous moment, obtains the prior state estimate and prior estimate error covariance at the current moment, and calculates the predicted measurement, original measurement innovation covariance and bootstrap measurement equivalent innovation covariance corresponding to each channel of terminal six-dimensional force information. S3 Constructs a sampling region based on the equivalent information covariance of the predicted measurement and the bootstrap measurement; adds random perturbation to the six-dimensional force information at the two ends to generate parameters and bootstrap measurement samples as candidate samples, and filters the candidate samples that fall into the sampling region to obtain a set of retained samples. When the number of candidate samples generated reaches the upper limit of the preset candidate samples and the number of retained samples is lower than the lower limit of the preset retained samples, the corresponding observation information is marked as invalid. S4 takes the prior state estimate and prior estimation error covariance as a common prior, updates the state based on the retained sample set, and obtains the source-level state estimate and source-level estimation error covariance corresponding to the six-dimensional force at each end. S5 determines the sample acceptance rate based on the number of retained samples and the number of candidate samples corresponding to the six-dimensional forces at the end of each path; calculates the Mahalanobis distance of the measurement innovation based on the original measurement innovation covariance, and determines the fusion weight of each source-level state estimate by combining the source-level estimation error covariance; and performs weighted fusion of each source-level state estimate according to the covariance cross-fusion rule to obtain the fusion estimation error covariance and fusion estimate of the six-dimensional forces at the end of the current time. S6 Based on the valid status of each information path, when both paths are valid, output the fusion estimate and the fusion estimate error covariance; when only one path is valid, output the source-level state estimate and the source-level estimate error covariance corresponding to that path; when both paths are invalid, output the prior state estimate and superimpose the preset symmetric positive semi-definite missing penalty matrix onto the prior estimate error covariance; use the output end-effector six-dimensional force estimate and its estimate error covariance as prior information for state prediction at the next moment, for six-dimensional force control at the end of the robotic arm.

2. The method according to claim 1, characterized in that, S1 includes: Let the current discrete time be The six-dimensional force sensor at the end of the first path observed the following: in, , , , , , These are the force and torque components output by the six-dimensional force sensor at the end of the robotic arm at time k in the X, Y, and Z directions, respectively. Let the current discrete time be The torque sensor observations at the second robotic arm joints are as follows: in, Discrete time No. The output torque of the joint , The number of joints in the robotic arm; The dynamic equations of the robotic arm are constructed as follows in, Joint torque; , , These are joint acceleration, joint velocity, and joint position, respectively. Here is the joint space inertia matrix; These are the Coriolis force and centrifugal force terms; This is the term related to gravity. The Jacobian matrix at the end effector of the robotic arm; It is the actual end-point six-dimensional force in the dynamic equation; Define the generalized momentum of the robotic arm joint space as For the generalized momentum Perform time differentiation, and combine it with the aforementioned robotic arm dynamics equations and matrix relationships. As a property of skew-symmetric matrices, we can obtain: Construct a joint-space generalized momentum observer and output the momentum residual. : in, For diagonal positive definite observer gain, From the above equation, we can obtain that the residuals satisfy first-order stable dynamics: Discrete time The momentum residual is: Based on the discrete time momentum residual Construct the six-dimensional force observations at the end of the second path: in, Discrete time The estimated value of the six-dimensional force at the end of the arm is calculated based on the joint torque and the dynamic model of the robotic arm. Discrete time The end Jacobian matrix is ​​calculated based on the joint position of the robotic arm. Indicates generalized inverse; when and When the term of office is completed, The first path end six-dimensional force Second-way end six-dimensional force Time base unification is performed, including data acquisition timestamp alignment, interpolation by fusion period, and nearest neighbor resampling; Unify the coordinate and measurement benchmarks for the six-dimensional forces at the ends of the first and second paths: determine the first... Rotation matrix of the path observation coordinate system relative to the target fusion coordinate system and the origin position vector ; Unify the six-dimensional force observations from all endpoints to the target fusion coordinate system and the same reference point: in For vectors The antisymmetric matrix; for The first transformation after changing to the target fused coordinate system and the target reference point Road observations; Gravity compensation of the zero-bias calibration tool is performed on the first-channel end six-dimensional force sensor to construct a zero-bias compensation model: in, To compensate for the first-way terminal six-dimensional force information, The zero bias of the first observation path. This is the tool gravity compensation amount; to unify subsequent representations, the first measurement after preprocessing is defined as... Second measurement To achieve the unification of time reference, coordinate reference, and measurement reference, the final six-dimensional force of the dynamic inverse solution is determined; subsequent steps uniformly adopt... Indicates the first Six-dimensional force measurement at the end of the path after preprocessing; Based on the information of the first and second path terminal six-dimensional forces, an effective state judgment model is constructed: in, As a time-series validity indicator, when the first When the six-dimensional force at the end of the road arrives within the preset receiving time limit, ,otherwise ; As a time synchronization flag, when the first The absolute value of the deviation between the six-dimensional force timestamp at the end of the road and the current fusion time does not exceed the preset time synchronization tolerance, and is set to 1; otherwise, it is set to 0. As a data integrity flag, when the first The value is 1 when the road observation information is complete, and 0 when data loss occurs. As a non-saturation indicator, when the first The value is 1 when the road observation is not saturated and 0 when it is saturated. As a sign of range compliance, when the first If none of the measured components of the road observation exceed the corresponding physical range, take 1; otherwise, take 0. According to the aforementioned effective judgment model, the effective criterion is: in Indicates the first Discrete time of the path The observation was effective. Indicates the first Discrete time of the path The observation is invalid.

3. The method according to claim 1, characterized in that, S2 includes: Define discrete time The end-point six-dimensional force state is Based on the aforementioned six-dimensional force information at the two ends, a discrete linear state transition model with process noise is established as follows: in, This is the state transition matrix; The process noise follows a zero-mean Gaussian distribution, and its covariance matrix is... ; Establish an observation model and set discrete time intervals. The The six-dimensional force at the end of the road is characterized as follows: in, For the first Road observation matrix; For the first The road observation noise follows a zero-mean Gaussian distribution, and its covariance matrix is... ; The estimated value at the previous time step is defined as and its estimation error covariance is Based on the discrete state transition model and observation model of the terminal six-dimensional force, the prior state estimate and prior estimate error covariance at the current moment are calculated respectively: For each valid observation, calculate the corresponding predicted measurement: For the The covariance of the original measurement information is solved separately for each road observation. Equivalent Information Covariance of Bootstrap Measurement : in For the first The self-bootstrap disturbance amplitude coefficient of the road parameters.

4. The method according to claim 1, characterized in that, S3 includes: Regarding the first The current effective observations of the road are set at a preset information level of [missing information]. To predict measurement Centered on the equivalent information covariance of bootstrap measurement Construct selective sampling regions for the shape matrix: in, For the first Dimension of path observation For degrees of freedom Confidence level Chi-square quantiles; According to the preset parameter bootstrap perturbation distribution, random perturbations are added to the two-channel end six-dimensional force information to generate parameter bootstrap measurement samples as candidate samples. The candidate samples are in, For random perturbations: like If so, the candidate sample is added to the set of retained samples; Set the current time. The cumulative number of candidate samples generated by the road is The number of retained samples is ,in ;when At that time, mark the observation of that route as valid and set it. Preserve the sample set The construction is complete, among which To preset the upper limit of candidate samples, To retain the number of samples for the preset target, and All are positive integers; when If so, the observation along that route is marked as invalid and set to... ;in, And it is a positive integer; All retained samples will be renumbered according to the order of acceptance. , recorded as This yields the set of retained samples for that path at the current moment:

5. The method according to claim 1, characterized in that, S4 includes: Regarding the first With the path still valid observations, calculate the Kalman gain based on the covariance of equivalent innovations from common priors and bootstrap measurements: For the retained sample set Each bootstrap measurement sample in , based on prior estimation and To establish a common prior, perform state measurement updates to obtain local state estimates: Calculate the local estimation error covariance using the Joseph form: According to the same route The local state estimate determines the first... Source-level state estimates corresponding to the path : and the Source-level estimation error covariance corresponding to the path :

6. The method according to claim 1, characterized in that, S5 includes: Define the parameter bootstrap sample acceptance rate: Based on the original measurement information covariance Calculate the squared Mahalanobis distance of the original measurement. : To avoid the direct addition of covariance traces across physical dimensions, a scaling matrix is ​​introduced: in and These are the preset force and torque dimensions, respectively; The source-level estimation error covariance is normalized to obtain the normalized estimation error covariance: Definition of the first Reliability of source-level estimation: in, This is a preset dimensionless regularization constant; when At that time, calculate the fusion weights corresponding to the first path: The fusion weights corresponding to the second source-level state estimation are: ; Calculate the covariance of the fusion estimation error: And the estimated fusion state: Invalid observation sources Participate in weight allocation.

7. The method according to claim 1, characterized in that, S6 includes: when At that time, output the covariance of the final six-dimensional force fusion estimation error. and fusion estimate : when At that time, output the source-level state estimation result corresponding to the first path: when At that time, output the source-level state estimation result corresponding to the second path: when At that time, output the prior state estimate and apply a missing value penalty to the prior estimate error covariance: in The default symmetric positive semidefinite missing penalty matrix; Output Six-dimensional force control for the end effector of robotic arm contact operations, and and Used for predicting the state at the next time step.

Citation Information

Patent Citations

  • Intelligent information fusion method of distributed multi-sensor

    CN103105611A

  • Six-dimensional sensor multi-source data fusion system based on dynamic weight

    CN121365356A