Dexterous finger reset control method and system based on multi-source mechanical data fusion

By using a multi-source mechanical data fusion method to calibrate the relationship between joint angles and rope length, and combining the friction history state vector for restricted bidirectional detection, the problem of insufficient force transmission state recognition of rope-driven dexterous fingers after external impact is solved, thereby improving the accuracy of reset control and grasping stability.

CN123129236APending Publication Date: 2026-11-20ANHUI ZHONGKE LINGXI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611654331.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing methods for resetting dexterous fingers using ropes cannot accurately identify changes in force transmission after external impacts. This results in joint angles meeting resetting requirements but internal force transmission still deviating, affecting grasping consistency and stability.

Method used

By fusing multi-source mechanical data, the relationship between joint angle, rope length and elastic elongation is calibrated, and a hysteresis feature vector is generated. Combined with the friction history state vector, a restricted bidirectional detection is performed to perform position correction, restricted reciprocating adjustment or directional tension trial compensation, thereby achieving dynamic correction of the reset error.

Benefits of technology

It improves the discriminability and force transmission consistency of the dexterous finger's reset state after external impact, reduces the impact of friction hysteresis on reset control, and enhances the stability of repeated grasping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123129236A_ABST
    Figure CN123129236A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on multi-source mechanical data fusion's dexterous finger reset control method and system, it is related to robot dexterous hand control technical field.The method obtains reference hysteresis characteristics by calibrating joint angle, rope length and elastic elongation relationship;Collect joint angle, motor encoder and current data, divide before and after impact state sequence, calculate compensation rope length residual, extract commutation dead zone and historical residual offset, construct friction history state vector;According to friction history state, implement limited bidirectional detection, extract loading and unloading tension response, calculate current hysteresis characteristics;Combined with reference hysteresis characteristics and joint angle deviation generates reset error vector, implements differentiated compensation and iterative feedback control.The application can identify the difference between joint position recovery and rope driving force state recovery, reduce the influence of friction hysteresis on reset control, improve the reset consistency and grasping stability of dexterous finger.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot dexterous hand control technology, specifically to a dexterous finger reset control method and system based on multi-source mechanical data fusion. Background Technology

[0002] With the widespread application of robotic dexterous hands in precision assembly, electronic component manipulation, and micro-workpiece grasping, higher demands are placed on the repositioning accuracy and grasping stability of dexterous fingers. Existing tethered dexterous fingers typically use a motor-driven tether to transmit driving force through a guide sleeve, and achieve motion control through joint angle feedback and tether tension adjustment. Some dexterous fingers employ rolling contact joints, combined with a central ligament and tension spring to provide elastic repositioning, improving the joint's ability to return to its original position after external disturbances. However, when the drive tether moves inside the sleeve, it is affected by both contact friction and elastic deformation. The loading and unloading processes are prone to direction-dependent transmission hysteresis, causing the correspondence between the motor-side tether length, tension, and the actual joint motion state to change with the motion history.

[0003] For example, during the precision insertion of electronic connectors, dexterous fingers grip the connector for alignment. When the connector collides laterally with the mounting hole, the joint experiences a momentary impact, deviating from its original gripping configuration. This alters the local contact and friction state between the drive rope and the sleeve. After the impact subsides, although the joint can reapproach the target angle under elastic reset and motor control, the frictional hysteresis and tension distribution inside the sleeve may not recover synchronously. This can lead to different actual force transmission states at the same joint angle, causing fluctuations in gripping force or positional deviations during subsequent gripping operations. Especially in repetitive assembly operations, such deviations can continuously affect gripping consistency. Simply increasing the drive tension based on the angle deviation may also alter the original friction state, making it difficult to guarantee the reset control effect.

[0004] Current repositioning control for roping-driven dexterous fingers typically focuses on joint angle error correction, drive rope tension adjustment, and pre-set transmission relationship compensation. It fails to adequately consider changes in friction state in the forward and backward directions following external impacts, making it difficult to distinguish between joint position recovery and roping force transmission state recovery based solely on instantaneous angle and tension data. Furthermore, the lack of effective discrimination against changes in force transmission state during repositioning can easily lead to situations where the joint angle meets repositioning requirements but internal force transmission state still deviates, affecting the stability of subsequent grasping operations. Summary of the Invention

[0005] The purpose of this invention is to provide a dexterous finger reset control method and system based on multi-source mechanical data fusion, thereby solving the problems existing in the prior art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a dexterous finger repositioning control method based on multi-source mechanical data fusion, applicable to cannulated rope-driven dexterous fingers with central ligament and tension spring repositioning, comprising: S1. The relationship between calibration angle, rope length and elastic elongation is used to obtain the loading and unloading tension under the target configuration, calculate the reference hysteresis center and width, and generate the first hysteresis feature vector. S2. Collect joint angles, motor encoders and current, calculate rope length and tension, and divide the state sequence before and after impact based on angle deviation and tension change. S3. Calculate the compensation rope length residual of the two sequences, extract the dead zone amount of the reversal and the historical residual offset under the conditions of angle, motion direction and tension interval matching, and generate the friction history state vector. S4. Combining the elastic reset torque and the gripping tension constraint to control the return position, after entering the target angle neighborhood, the system performs restricted bidirectional detection based on the friction history state vector to form a detection sequence. S5. Extract the loading and unloading tension responses from the detection sequence. If the common angle interval is identifiable, calculate the current hysteresis center and width, and generate the second hysteresis feature vector. Otherwise, adjust the detection amplitude. S6. Compare the first and second hysteresis feature vectors, and combine them with the directional angle deviation to generate a reset error vector; S7. Based on the priority of angle, hysteresis width, and hysteresis center deviation in the reset error vector, perform position correction, restricted reciprocating adjustment, or directional tension trial compensation. S8. Perform compensation, update the friction history state vector and reset error vector, iteratively adjust according to the error improvement, and end when the thresholds are met. If there is no improvement or the error is unidentifiable, output the reset unconfirmed state.

[0007] A system for a dexterous finger repositioning control method based on multi-source mechanical data fusion, applied to a dexterous finger with a central ligament, tension spring, and sleeve rope drive mechanism, comprising: The calibration module is used to obtain the correspondence between joint angle, drive rope release and take-up length and tension, and to calculate the reference hysteresis center and width through bidirectional micro-amplitude calibration to generate the first hysteresis feature vector. The data acquisition module is used to synchronously acquire joint encoder, motor-side encoder and motor current data, construct multi-source mechanical state sequence, and identify the impact moment according to angle deviation and tension change, and divide the state sequence before and after impact. The friction state identification module is used to calculate the compensation rope length residual before and after the impact, extract the commutation dead zone and historical residual offset, and construct the friction history state vector. The active detection module is used to control the joint return by combining the elastic reset torque and the gripping tension constraint, determine the restricted bidirectional detection amplitude based on the friction history state vector, and collect the loading and unloading tension response; The reset state evaluation module is used to calculate the current hysteresis center and width based on the identifiability of the loading and unloading tension response, generate a second hysteresis feature vector, and construct a reset error vector by combining the first hysteresis feature vector and the directed angle deviation. The compensation decision module is used to determine the position correction, restricted reciprocating adjustment or directional tension trial compensation strategy based on the priority of angular deviation, hysteresis width deviation and hysteresis center deviation in the reset error vector, and generate reset compensation instructions. The closed-loop execution module is used to control the drive motor according to the reset compensation command, update the friction history state vector and reset error vector, and iteratively adjust the compensation amplitude or direction according to the degree of error improvement until each deviation meets the corresponding threshold to complete the reset control; when the compensation is ineffective or the detection is unidentifiable, the reset unconfirmed state is output.

[0008] As can be seen from the above technical solution, the present invention has the following beneficial effects: This invention analyzes the changes in transmission residuals before and after external impact by correlating joint angles, drive rope length, and tension data. It extracts the reversal dead zone and historical residual offset, achieving an indirect characterization of the direction-dependent friction history state, reducing the deviation caused by judging the reset state solely based on instantaneous angles or tension. Based on the friction history state, it conducts restricted bidirectional detection to obtain the hysteresis response during loading and unloading. By comparing the reference hysteresis characteristics with the current hysteresis characteristics, it incorporates joint position deviations and force transmission state deviations into the reset evaluation, further identifying force transmission anomalies that persist after joint angle recovery. Simultaneously, it determines corresponding compensation methods based on different deviations, avoiding unreasonable adjustments caused by using a single tension increase strategy. It dynamically corrects the control quantity through compensation effect feedback, promptly terminating automatic compensation when it is ineffective or the state is unidentifiable. This helps reduce the impact of friction hysteresis on reset control, improving the discriminability of the reset state after impact, the consistency of force transmission, and the stability of repeated grasping. Attached Figure Description

[0009] Figure 1 This is a flowchart of the dexterous finger reset control method based on multi-source mechanical data fusion of the present invention; Figure 2 This is a timing diagram of the dexterous finger reset control method based on multi-source mechanical data fusion of the present invention; Figure 3The following is a comparison chart of the angle-rope length calibration curve and the transmission residual curve before and after elastic elongation compensation in the embodiments of the present invention, wherein (a) is the comparison between the angle-rope length calibration curve and the actual measurement; (b) is the error residual before and after elastic elongation compensation. Figure 4 This is a dual-timeline curve diagram of the external impact recognition timing features in an embodiment of the present invention, where (a) is the deviation between the actual joint angle and the commanded angle; and (b) is the change in driving tension at adjacent sampling times. Figure 5 This is a bidirectional tension hysteresis loop diagram before and after impact, according to an embodiment of the present invention. Figure 6 This is a comparison diagram of the deviation components under three impact intensities according to an embodiment of the present invention; Figure 7 The graph shows a comparison of the convergence process of the hysteresis width deviation with the compensation iteration in the embodiments of the present invention. (a) shows the convergence of the hierarchical compensation of the prediction method of the present invention (the red dot is the 1.5N hysteresis width threshold); (b) shows the angle-only closed loop: the hysteresis width deviation stagnates. Figure 8 The diagram shows the peak gripping force fluctuation and distribution of 100 impact-grip cycles in this embodiment of the invention. (a) shows the peak gripping force fluctuation over 100 cycles; (b) shows a comparison of the distribution of the three methods. Detailed Implementation

[0010] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0011] Example 1: like Figure 1 and Figure 2 As shown, this invention provides a technical solution: a dexterous finger repositioning control method based on multi-source mechanical data fusion, applicable to cannulated rope-driven dexterous fingers with central ligament and tension spring repositioning, comprising: S1. The relationship between calibration angle, rope length and elastic elongation is used to obtain the loading and unloading tension under the target configuration, calculate the reference hysteresis center and width, and generate the first hysteresis feature vector. S2. Collect joint angles, motor encoders and current, calculate rope length and tension, and divide the state sequence before and after impact based on angle deviation and tension change. S3. Calculate the compensation rope length residual of the two sequences, extract the dead zone amount of the reversal and the historical residual offset under the conditions of angle, motion direction and tension interval matching, and generate the friction history state vector. S4. Combining the elastic reset torque and the gripping tension constraint to control the return position, after entering the target angle neighborhood, the system performs restricted bidirectional detection based on the friction history state vector to form a detection sequence. S5. Extract the loading and unloading tension responses from the detection sequence. If the common angle interval is identifiable, calculate the current hysteresis center and width, and generate the second hysteresis feature vector. Otherwise, adjust the detection amplitude. S6. Compare the first and second hysteresis feature vectors, and combine them with the directional angle deviation to generate a reset error vector; S7. Based on the priority of angle, hysteresis width, and hysteresis center deviation in the reset error vector, perform position correction, restricted reciprocating adjustment, or directional tension trial compensation. S8. Perform compensation, update the friction history state vector and reset error vector, iteratively adjust according to the error improvement, and end when the thresholds are met. If there is no improvement or the error is unidentifiable, output the reset unconfirmed state.

[0012] In the above scheme, the dexterous finger includes interlocking phalanges, joints located between the phalanges, a sleeve-rope drive mechanism for driving joint rotation, and a central ligament and tension spring for providing joint repositioning. The sleeve-rope drive mechanism includes a drive motor, a drum, a sleeve, and a drive rope passing through the sleeve. One end of the drive rope is connected to the force-bearing part corresponding to the joint, and the other end is connected to the drum driven by the drive motor. The drive motor controls the drum's rotation, causing the drive rope to tighten or release along the inside of the sleeve, thereby changing the driving torque applied to the joint. The central ligament provides repositioning to the joint through its preload and elastic deformation. The tension spring generates restoring tension through its stretching deformation following joint movement. The tension generated by the central ligament and the tension spring are converted into elastic repositioning torques acting on the joint through stress arms. When the tension of the drive rope changes, the joint rotates under the combined action of the driving torque applied by the drive rope, the repositioning torque generated by the central ligament, and the repositioning torque generated by the tension spring. Due to contact friction between the drive rope and the inner wall of the sleeve, the drive rope experiences directional frictional resistance during tightening and releasing. Furthermore, the drive rope and transmission path undergo elongation under stress, resulting in a difference between the rope length generated by the drive motor and the geometric rope length change corresponding to the actual joint rotation. When the dexterous finger is subjected to external impact, the joint stress state, drive rope tension, and internal sleeve contact friction state change. Even after the impact, if the joint returns to the target angle, the loading history, unloading history, and residual transmission state of the drive rope may still differ from those before the impact. Therefore, this application uses joint angle, drive rope length, and drive rope tension as interrelated state information. By establishing a reference hysteresis state, identifying residual transmission changes before and after the impact, implementing restricted bidirectional detection, and performing graded closed-loop compensation, the resetting process of the dexterous finger is controlled and judged.

[0013] In the above scheme, before executing the reset control, the joint angle of the dexterous finger, the length of the drive rope, and the elastic elongation relationship are first calibrated. During the calibration process, the controller controls the drive motor to tighten or release the drive rope according to the preset angle sampling position, and simultaneously records the joint angle detected by the joint encoder, the drum rotation angle detected by the motor-side encoder, and the corresponding tension of the drive rope. The controller calculates the actual length of the drive rope based on the effective radius of the drum and the change in the drum rotation angle, establishes a correspondence between the joint angle at each sampling moment and the length of the drive rope according to a unified rope length zero point, and determines the theoretical rope length between sampling angles through interpolation between adjacent calibration data. Here, the theoretical rope length represents the change in the length of the drive rope required according to the joint geometric transmission relationship when the joint rotates from the calibration reference position to the corresponding angle. Subsequently, while keeping the joint angle constant, the controller records the change in the length of the drive rope under different tension states, determines the change in the corresponding rope length relative to the reference tension state as the elastic elongation, and establishes a compensation relationship between tension and elastic elongation. During the calibration process, the same rope length measurement direction, angle reference position, and tension benchmark are used to ensure that the theoretical rope length and elastic elongation correspond to joint geometric motion and force elongation respectively in the subsequent residual calculation, and the same rope length changes are not calculated repeatedly.

[0014] After completing the above calibration, the controller adjusts the dexterous finger to the target reset configuration and controls the drive rope to perform bidirectional micro-amplitude retraction and release within the preset joint angle and tension range. When the drive rope tightens, the controller sequentially records the joint angle and drive rope tension to form a loading response sequence; when the drive rope releases, it records the joint angle and drive rope tension using the same data acquisition method to form an unloading response sequence. The controller performs segmented interpolation on the loading and unloading response sequences according to the joint angles to determine the angle range simultaneously covered by the two response sequences, and selects a predetermined reference angle from this range. At each reference angle, the drive rope tension corresponding to the loading process and the drive rope tension corresponding to the unloading process are extracted respectively. The two tension values ​​are added together and divided by two to obtain the reference hysteresis center corresponding to that reference angle; the loading tension is subtracted from the unloading tension and the absolute value is taken to obtain the reference hysteresis width corresponding to that reference angle. The reference hysteresis center represents the average level of bidirectional tension response under the target configuration, and the reference hysteresis width represents the difference between the loading tension and the unloading tension at the same joint angle. The controller organizes each reference angle, along with its corresponding reference hysteresis center and reference hysteresis width, into a first hysteresis characteristic vector according to the order of the reference angles. This vector is then used as a reference for determining the current hysteresis state after the impact. The first hysteresis characteristic vector is determined before the start of this reset control and remains unchanged during the compensation iteration of this impact reset to avoid synchronous drift of the reference state during the compensation process.

[0015] In the above scheme, when the dexterous finger enters the grasping control or maintains the control state, the controller collects data output from the joint encoder, motor-side encoder, and motor current detection device according to a preset sampling period, and matches it with the sampling timestamp to ensure that the joint angle, motor rotation angle, and motor current at the same sampling moment are synchronously recorded. For data with inconsistent sampling times, the controller interpolates and aligns them according to a unified sampling time, and discards sampling records that exceed the allowable time difference. Subsequently, the cumulative winding and unwinding length of the drive rope is calculated based on the drum rotation angle and effective drum radius recorded by the motor encoder. The current drive rope tension is estimated based on the pre-calibrated correspondence between motor current and drive rope tension, and the joint angle, drive rope winding and unwinding length, drive rope tension, and corresponding sampling time are organized into a state record, forming a continuous mechanical state sequence in chronological order. Among them, the calibration relationship between current and tension uses calibration data corresponding to the actual drive motor, drum, and transmission path, so that the driving torque reflected by the motor current is converted into the motor-side drive rope tension after transmission parameter conversion, avoiding the direct use of the motor current value as the drive rope tension.

[0016] In the above implementation, the controller subtracts the command angle at the corresponding time from the actual joint angle at each sampling moment to obtain the joint angle deviation, and subtracts the drive rope tension at the previous sampling moment from the drive rope tension at the current sampling moment to obtain the tension change between adjacent sampling moments. The controller compares the absolute value of the angle deviation with a preset impact angle threshold and the absolute value of the tension change with a preset tension mutation threshold. When the angle deviation exceeds the impact angle threshold, and the tension change exceeds the tension mutation threshold within the corresponding preset time window, the moment that meets the joint judgment condition is identified as the external impact moment. By using angle deviation and tension mutation together in impact identification, isolated joint command changes or instantaneous fluctuations in motor current do not directly trigger impact judgment. The controller uses the identified impact moment as a time sequence boundary, organizes the state records that have been synchronously acquired before the impact into a first time sequence state sequence, and organizes the state records obtained after the impact into a second time sequence state sequence. The first time-series state sequence is fixed and saved after the impact identification is completed, serving as a comparison benchmark for the transmission state before the impact; the second time-series state sequence is continuously updated as the controller subsequently samples, used to record the actual process of joint movement, drive rope winding and unwinding, and tension changes after the impact.

[0017] In the above implementation, to identify the transmission state changes caused by external impact, the controller reads the joint angles, drive rope length, and drive rope tension from the first and second time-series state sequences, respectively. Based on a pre-established correspondence between angles and rope lengths, it calculates the theoretical rope length for each sampling moment, and then calculates the corresponding elastic elongation based on the drive rope tension and elastic elongation compensation relationship at that sampling moment. The controller subtracts the theoretical rope length from the actual length and then subtracts the elastic elongation to obtain the compensation rope length residual for the corresponding sampling moment. Following the above calculation order, the pre-impact state sequence and the post-impact state sequence are processed to obtain the first and second transmission residual sequences. Since the theoretical rope length corresponds to the change in joint geometry, and the elastic elongation corresponds to the force-induced elongation of the drive rope, the compensation rope length residual represents the remaining portion of the actual length not explained by the above two calibration relationships. This remaining portion includes the internal friction history of the sleeve, the transmission idle stroke, and transmission state changes not covered by the calibration model. The controller does not consider all the residual length of the compensation rope as friction deformation, but instead uses the changes related to the direction of motion and the state before and after the impact to extract the friction history characteristics.

[0018] In the above implementation, the controller identifies the reversal moment when the drive rope changes from tightening to releasing or from releasing to tightening based on the drive rope retraction and release directions of adjacent sampling moments in the second time-sequence state sequence, and accumulates the retraction and release length generated by the drive rope along the new motion direction starting from the reversal moment. Simultaneously, the controller continuously compares the difference between the real-time joint angle and the joint angle at the reversal moment. When the absolute value of this difference first exceeds a preset joint response threshold, and the joint motion direction is consistent with the corresponding driving action, the current rope length accumulation is stopped, and the accumulated retraction and release rope length from the reversal moment to the effective angle response of the joint is determined as the reversal dead zone. If no joint motion meeting the response conditions is detected within the allowable retraction and release rope range, the accumulated rope length is not directly identified as the complete reversal dead zone, but rather marked as pending update. The reversal dead zone is used to describe the rope length travel corresponding to the moment when the drive rope changes its motion direction but the motor-side retraction and release action has not yet been converted into an effective joint angle change. Simultaneously, the controller filters data from the first and second transmission residual sequences where the joint angle is within the corresponding matching tolerance, the drive rope movement direction is the same, and the tension is within the corresponding matching interval. Residual records meeting these conditions are paired. For each pair of matched records, the residual difference is calculated in the order of post-impact transmission residual minus pre-impact transmission residual. All valid residual differences are summed and divided by the number of valid matching groups to obtain the historical residual offset. This offset retains its positive and negative sign, representing the direction and degree of offset of the post-impact transmission residual relative to the pre-impact state. The controller combines the commutation dead zone and the historical residual offset into a friction history state vector. When the matching conditions are not met or a complete commutation response is missing, the corresponding component is marked as pending update and continues to be identified during subsequent state acquisition. Through this processing, the friction history state vector simultaneously contains the idle travel information corresponding to the drive rope commutation process and the residual offset information under the same motion conditions before and after the impact.

[0019] Furthermore, after identifying the friction history, the controller calculates the corresponding reset torque based on the current joint angle, the pretension state of the central ligament, and the elastic deformation of the tension spring. For the central ligament, the controller determines the current tension based on the pre-calibrated relationship between the central ligament tension and deformation, and then determines the applied reset torque based on the lever arm of the central ligament relative to the joint axis. For the tension spring, the controller determines the spring tension based on the product of the current spring elongation and the spring stiffness, and then determines the reset torque generated by the spring based on the lever arm of the spring relative to the joint axis. During the calculation, the direction of each torque is determined according to the uniform positive direction of the joint angle. Torques with the same direction are added together, and torques with opposite directions are canceled out to obtain the current elastic reset torque. Based on the deviation between the actual joint angle and the target reset angle, the controller determines the required return direction of the joint, and then determines the rope winding or unwinding action of the drive motor by combining the elastic reset torque and the direction of the drive rope force. When the direction of the elastic reset torque aligns with the target return direction, the controller releases or adjusts the drive rope tension, causing the central ligament and tension spring to push the joint to rotate towards the target angle. When joint return requires the drive rope to apply a driving torque in the corresponding direction, the controller adjusts the drive motor output within the allowable tension range, allowing the drive rope and elastic reset element to jointly control the joint movement. Throughout the return process, the controller continuously monitors the joint angle and drive rope tension, limiting the tension within a predetermined allowable gripping tension range, while also limiting the amplitude of a single rope retraction / release command to prevent the return action from exceeding the allowable joint angle range or the drive rope tension boundary.

[0020] Specifically, when the absolute value of the deviation between the real-time joint angle and the target reset angle enters the preset target angle neighborhood, and the absolute value of the joint angular velocity calculated at adjacent sampling times does not exceed the preset velocity threshold, the controller stops the routine return adjustment and enters the restricted bidirectional detection stage. The controller reads the commutation dead zone and historical residual offset in the friction history state vector. First, the commutation dead zone is used as the basis for determining the candidate detection rope length amplitude, and then the absolute value of the historical residual offset is used as the basis for amplitude correction, so that the candidate amplitude simultaneously considers the commutation idle travel and the change in transmission residual after impact. When any component in the friction history state vector has not yet been identified, the controller uses the pre-calibrated bidirectional detection amplitude and does not use the component to be updated to participate in amplitude correction. The controller limits the candidate detection amplitude based on the distance between the current joint angle and the allowable angle boundary, and the difference between the current drive rope tension and the allowable tension boundary, to ensure that the rope winding and unwinding actions of this amplitude will not cause the joint angle or drive rope tension to exceed the corresponding boundary. Subsequently, the controller, according to the determined detection amplitude, first controls the drive rope to move along the loading direction, then controls the drive rope to move along the unloading direction, and simultaneously records the joint angle, rope length, drive rope tension, and direction of movement at each sampling moment, forming a third time-series state sequence. This third time-series state sequence has the same sampling time reference and rope length and tension calculation basis as the second time-series state sequence after the impact. The third time-series state sequence is specifically used to extract the loading and unloading responses corresponding to this round of bidirectional detection.

[0021] In the above implementation, the controller extracts the joint angle and tension records corresponding to the drive rope tightening process from the third time-series state sequence to form the current loading response sequence, and extracts the joint angle and tension records corresponding to the drive rope release process to form the current unloading response sequence. The controller performs segmented interpolation on the two response sequences according to the joint angles to establish the current loading tension response curve and the current unloading tension response curve, and determines the angle interval covered by the two curves. Subsequently, the controller checks whether the common angle interval covers the reference angle used by the first hysteresis feature vector, checks whether the width of the common angle interval reaches the preset interval threshold, and checks whether each response curve has the valid sampling records required to complete the corresponding reference angle interpolation. When the common angle interval covers the reference angle used for comparison in this round, the interval width meets the requirements, and both the loading and unloading responses have corresponding valid sampling data, it is determined that the current bidirectional detection result meets the identifiable condition. If any condition is not met, the controller increases the preset rope length step amplitude within the allowable range of joint angle and drive rope tension, re-executes bidirectional detection and updates the third time-series state sequence until response data that meets the identifiable condition is obtained, or the detection amplitude allows the boundary is reached. When the detection amplitude reaches the allowable boundary but still cannot form a common angle range that meets the requirements, the controller outputs an unidentifiable mark and does not use the loading and unloading tension data that do not have a corresponding relationship to calculate the current hysteresis state.

[0022] In the above implementation, when the detection result meets the identifiable condition, the controller extracts tension values ​​from the current loading tension response curve and the current unloading tension response curve at the same reference angle used by the first hysteresis feature vector. For each reference angle, the current loading tension and the current unloading tension are added together and divided by two to obtain the current hysteresis center; the current loading tension is subtracted from the current unloading tension and the absolute value is taken to obtain the current hysteresis width. The controller organizes the corresponding current hysteresis center and current hysteresis width into a second hysteresis feature vector according to the reference angle arrangement order of the first hysteresis feature vector. The first hysteresis feature vector and the second hysteresis feature vector use the same reference angle, the same loading and unloading direction definition, the same tension measurement position, and the same hysteresis feature calculation method. Therefore, the difference between the two corresponds to the tension hysteresis change between the target configuration reference state and the current state after impact. The controller performs feature comparison for each corresponding reference angle, subtracts the reference hysteresis center from the current hysteresis center to obtain the hysteresis center deviation; subtracts the reference hysteresis width from the current hysteresis width to obtain the hysteresis width deviation; and subtracts the target reset angle from the joint real-time angle to obtain the directional angle deviation. The directional angle deviation retains its positive and negative signs to distinguish which side the actual joint angle is located on from the target angle; the hysteresis center deviation retains its positive and negative signs to distinguish the offset direction of the current tension hysteresis center relative to the reference hysteresis center; and the hysteresis width deviation also retains its positive and negative signs to distinguish the direction of change of the current loading and unloading tension difference relative to the reference state. For the hysteresis center deviation and hysteresis width deviation formed using different reference angles, the controller saves them according to the corresponding reference angle and checks whether the deviation corresponding to each reference angle meets the threshold requirements during the reset judgment. The controller organizes the directional angle deviation, hysteresis center deviation, and hysteresis width deviation into a reset error vector and compares the absolute value of each deviation with the corresponding error threshold to form the reset state judgment result.

[0023] It should be noted that the controller determines the reset compensation action in the order of angular deviation, hysteresis width deviation, and hysteresis center deviation. When the absolute value of the directional angular deviation exceeds the angular error threshold, the controller prioritizes position correction. Based on the sign of the directional angular deviation, it determines the correction direction the joint should face. Then, considering the elastic reset torque of the central ligament and tension spring, the direction of the drive rope's force, and the current gripping tension range, it determines the allowable rope retraction / release amplitude for this cycle. The controller limits the position correction amplitude to within the allowable range of joint angle and tension, controls the drive motor to perform the corresponding rope retraction or release action, and judges the correction result based on the actual angle change fed back by the joint encoder. When the angular deviation meets the angular error threshold, but the hysteresis width deviation still exceeds the corresponding threshold, the controller switches to restricted reciprocating adjustment. It determines the reciprocating rope retraction / release stroke for this cycle based on the commutation dead zone in the friction history state vector, and limits the reciprocating amplitude based on the current joint angle and tension boundary. After executing one restricted rope retraction and release cycle, the controller re-acquires the loading and unloading tension response, calculates the new hysteresis width deviation, and compares its absolute value with the absolute value of the hysteresis width deviation before adjustment. When the absolute value of the adjusted hysteresis width deviation decreases, subsequent adjustments follow the verified action amplitude and direction sequence; when the absolute value of the adjusted hysteresis width deviation does not decrease, the controller stops repeating the compensation command and redetermines the next round of reciprocating adjustment amplitude based on the updated friction history state to prevent the continuous accumulation of reciprocating actions that have not been verified by feedback.

[0024] Specifically, when both the directional angle deviation and the hysteresis width deviation meet their respective error thresholds, but the hysteresis center deviation still exceeds the corresponding threshold, the controller performs directional tension trial compensation. The controller first determines the tension trial amplitude based on the difference between the current drive rope tension and the allowable tension boundary. Under the condition that it does not exceed the gripping tension range, it controls the drive motor to perform a tension trial and then re-executes the restricted bidirectional detection to obtain the loaded and unloaded tensions after the trial, calculating the new hysteresis center deviation. The controller compares the absolute value of the hysteresis center deviation after the trial with the absolute value of the hysteresis center deviation before the trial. When the absolute value of the deviation after the trial decreases, the tension adjustment direction of this trial is determined as the effective compensation direction, and the next round of compensation amplitude is determined within the allowable tension range. When the absolute value of the deviation after the trial does not decrease, the controller stops increasing the compensation amount along the current direction and, under the condition that the tension and angle constraints are met, re-determines the compensation direction through a reverse tension trial. Because the contact friction between the drive rope and the sleeve affects the relationship between tension adjustment and hysteresis center change due to motion history, the tension compensation direction is determined based on the actual hysteresis center change before and after the trial, rather than directly based on the sign of the hysteresis center deviation to determine the motor's rope winding and unwinding direction. After completing the above priority judgment, the controller generates a reset compensation command containing the compensation action type and corresponding control amplitude based on the type of current out-of-limit error. When the angle deviation, hysteresis width deviation, and hysteresis center deviation all meet the corresponding thresholds, the controller generates a zero compensation command and no longer performs additional rope winding and unwinding adjustments.

[0025] In the above implementation, the controller selects the corresponding closed-loop control quantity according to the action type of the reset compensation command. When the compensation action is position correction or restricted reciprocating adjustment, the drive rope length is used as the main control quantity, and the drive rope tension and joint angle are used as feedback monitoring quantities. When the compensation action is directional tension probing, the drive rope tension is used as the main control quantity, and the drive rope length and joint angle are used as feedback monitoring quantities. During execution, the controller continuously checks whether the drive rope tension, joint angle, and length of the drive rope are within the preset allowable range. When any feedback quantity reaches the corresponding boundary, the controller stops increasing the control quantity in that direction. After each round of compensation action, the controller re-acquires the joint encoder, motor-side encoder, and motor current data, adds the compensated state record to the second time-series state sequence, recalculates the theoretical rope length, elastic elongation, and compensation rope length residual based on the updated state record, and updates the friction history state vector using the newly added effective reversal record and the matching residual record before and after the impact. When the real-time joint angle and drive rope tension meet the bidirectional detection constraints, the controller re-executes the restricted bidirectional detection to obtain the updated loading and unloading tension responses. When the identifiable conditions are met, the second hysteresis feature vector is recalculated, and the reset error vector is updated based on the first hysteresis feature vector and the real-time joint angle.

[0026] In the above implementation, to determine the actual improvement in each round of compensation, the controller divides the absolute values ​​of the directional angle deviation, hysteresis center deviation, and hysteresis width deviation by the corresponding positive error thresholds to obtain three dimensionless normalized error values. Then, each of the three normalized error values ​​is multiplied by itself, and the results are summed and square-rooted to obtain the normalized error magnitude of the current reset error vector. For hysteresis deviations stored using different reference angles, the controller uses the maximum result of dividing the absolute value of the deviation corresponding to each reference angle by its error threshold as the normalized value of the corresponding hysteresis deviation component, ensuring that any reference angle with an out-of-limit deviation participates in the reset state evaluation. The controller subtracts the normalized error magnitude of the current round of compensation from the normalized error magnitude of the previous round of compensation to obtain the improvement amount of the error magnitude in this round. This improvement amount is compared with a preset minimum improvement threshold, and simultaneously, it checks whether the three error components meet their respective error thresholds. When the improvement in error magnitude reaches the preset minimum improvement threshold, and the current compensation round does not cause previously compliant priority errors to exceed the limit again, the controller determines the next round of action according to the current compensation strategy. When the improvement in error magnitude does not reach the preset minimum improvement threshold, the insufficient improvement status of the current round is recorded, and the direction or magnitude of the next round of compensation is adjusted according to the compensation type. If the compensation action causes previously compliant priority errors to exceed the limit again, the compensation action is reselected in the order of angle deviation, hysteresis width deviation, and hysteresis center deviation to avoid ignoring individual error limits based solely on the decrease in the overall error magnitude.

[0027] In the above implementation, the controller performs a reset termination judgment after each round of compensation. When the absolute value of the joint angle deviation does not exceed the preset angle error threshold, the absolute value of the hysteresis width deviation corresponding to each reference angle does not exceed the preset hysteresis width error threshold, the absolute value of the hysteresis center deviation corresponding to each reference angle does not exceed the preset hysteresis center error threshold, and the current loading and unloading tension response meets the identifiable condition, the controller confirms that the dexterous finger has met the target reset state, outputs a reset confirmation result, and ends the compensation. When the error improvement that meets the minimum improvement threshold is not achieved after a preset number of consecutive compensation rounds, or when the cumulative number of compensation rounds reaches the upper limit of the preset number of iterations, the controller terminates the compensation and outputs a reset unconfirmed state. When bidirectional detection has reached the allowable angle or tension boundary, but the loading and unloading tension response still cannot meet the identifiable condition of the common angle range, the controller also terminates the compensation and outputs a reset unconfirmed state. The reset unconfirmed state indicates that the current detection data is insufficient to prove that the joint angle and tension hysteresis state simultaneously meet the target requirements, and is not directly equated with joint structure damage. Through the aforementioned state recognition, limitation compensation, feedback update, and termination determination process, the dexterous finger, after being subjected to external impact, completes closed-loop reset control of joint position and transmission hysteresis state according to a unified data calculation relationship and control determination sequence.

[0028] Example 2: S1 includes: Collect the drive rope release and take-up lengths and tensions corresponding to different joint angles, and construct an angle-rope length calibration sequence; Establish the interpolation correspondence between angle and rope length based on the calibration sequence, and determine the elastic elongation compensation relationship by combining the rope length changes corresponding to different tensions at the same angle. Perform bidirectional micro-amplitude rope retraction and extension within the target configuration and preset tension and angle thresholds to obtain the loading response sequence and unloading response sequence; Interpolation matching is performed based on the common angle range of the two response sequences to extract the loading tension and unloading tension under the same reference angle; The first hysteresis feature vector is constructed by using the mean and absolute value of the difference between the loading tension and the unloading tension as the reference hysteresis center and reference hysteresis width, respectively.

[0029] In the above scheme, the dexterous finger is equipped with a controller, joint encoder, motor-side encoder, and current detection device. The controller includes a processor, memory, and a drive interface connected to the drive motor. The memory stores a computer program for performing calibration operations, as well as calibration data for the effective radius of the drum, motor current, and drive rope tension, the allowable rotation range of the joint, and the target reset angle. The processor executes the computer program in the memory, sends rope winding and unwinding control commands to the drive motor through the drive interface, receives the joint angle fed back by the joint encoder, the motor rotation angle fed back by the motor-side encoder, and the motor current fed back by the current detection device, and writes the corresponding data into the memory according to the sampling timestamp. During calibration, the joint is first positioned at a predetermined reference angle, the corresponding drive rope winding and unwinding length is set as the rope length reference value, and then the drive motor is controlled to sequentially drive the joint to each preset calibration angle. At each calibration angle, the processor reads the actual joint angle, the cumulative motor rotation angle, and the motor current. It calculates the drive rope winding / unwinding length relative to the rope length reference value by multiplying the effective drum radius by the corresponding radian number of the cumulative motor rotation angle. Based on a pre-established correspondence between motor current and drive rope tension, it calculates the current tension through linear interpolation of the tension corresponding to adjacent calibration currents. This correspondence between current and tension is obtained by synchronously measuring the motor current and the actual drive rope tension during the calibration phase and stored in memory. The processor stores the joint angle, drive rope winding / unwinding length, and tension corresponding to each calibration angle in angular order, forming an angle-rope length calibration sequence.

[0030] In the above implementation, the processor extracts angle and rope length data under the same reference tension condition from the angle-rope length calibration sequence and establishes an interpolation correspondence between the joint angle and the theoretical rope length. The reference tension is the stable tension when the drive rope is pre-tensioned and the joint is in the calibration reference position, and it remains consistent throughout the angle-rope length calibration process. For the angle to be calculated located between two adjacent calibration angles, the processor first calculates the difference between the angle to be calculated and the previous calibration angle, then divides it by the difference between the two adjacent calibration angles to obtain the angle interpolation ratio; subsequently, it calculates the difference between the rope length corresponding to the next calibration angle and the rope length corresponding to the previous calibration angle, multiplies this difference by the angle interpolation ratio, and adds the rope length corresponding to the previous calibration angle to obtain the theoretical rope length corresponding to the angle to be calculated. For input angles that match the calibration angles, the corresponding rope length is read directly. The processor stores the corresponding data of calibration angles, reference tension, and theoretical rope lengths in memory for subsequent lookup of the theoretical rope length based on the actual joint angle.

[0031] It should be noted that the calibration of the elastic elongation compensation relationship is performed after the angle-rope length correspondence is established. During calibration, the joint is fixed at the selected calibration angle, and the processor controls the drive motor to sequentially reach the preset tension sampling value along the tightening direction of the drive rope, recording the drive rope take-up and release lengths corresponding to each tension sampling value. Using the take-up and release lengths corresponding to the reference tension as a benchmark, the take-up and release lengths corresponding to the current tension are subtracted from the take-up and release lengths corresponding to the reference tension, and the difference is used as the elastic elongation compensation amount under the current tension. For the input tension between two adjacent tension sampling values, the processor calculates the position ratio of the input tension within the adjacent tension interval, multiplies this ratio by the difference in elastic elongation compensation amounts corresponding to the two adjacent tension sampling values, and adds the elastic elongation compensation amount corresponding to the previous tension sampling value to obtain the elastic elongation compensation amount corresponding to the input tension. The above calibration is completed under the condition that the joint angle is kept fixed and the drive rope movement direction is consistent. The processor writes the corresponding data of tension and elastic elongation compensation amount into the memory and saves it in association with the angle-rope length calibration sequence. When calculating the transmission residual, the processor reads the theoretical rope length based on the real-time joint angle, reads the elastic elongation compensation amount based on the real-time tension, and performs the calculation by subtracting the theoretical rope length and the elastic elongation compensation amount from the actual rope length in sequence.

[0032] After completing the above calibration, the processor reads the target reset angle, the allowable joint angle range, and the allowable tension range of the drive rope from the memory to determine the angle threshold and tension threshold for bidirectional micro-amplitude rope deployment and retraction. The angle threshold is determined based on the distance from the target reset angle to the two mechanical limit angles of the joint (positive and negative), and the allowable angular offset of the target configuration. The allowable angular offset of the target configuration is obtained through calibration experiments. During calibration, the joint angle is gradually changed while maintaining the target configuration, and the angular offset when the target configuration cannot be maintained for the first time is recorded. The maximum tested offset that could previously maintain the target configuration is taken as the allowable value. The processor compares this allowable value with the distance from the target angle to the two mechanical limit angles, and takes the minimum of the three as the angle threshold for this detection. The tension thresholds include an upper and a lower allowable tension limit. The upper allowable tension limit is the minimum value among the rated load-bearing tension of the drive rope, the drive rope tension calculated from the allowable continuous output torque of the motor, and the allowable tension under target grasping conditions. The lower allowable tension limit is determined through target configuration retention tests. The joint retention state is tested in a stepwise decreasing order of drive rope tension, and the minimum tested tension that can maintain the target configuration is taken as the lower allowable tension limit. The above angle and tension thresholds are calibrated and stored in memory as control boundaries for bidirectional micro-amplitude rope release and take-up.

[0033] In the above embodiment, the processor controls the drive motor to adjust the joint to the target reset angle, and confirms that the current angle and tension are within the range limited by the threshold based on the data fed back by the joint encoder and the current detection device. Subsequently, the processor sends a rope-retracting command to the drive interface according to the preset micro-rope length in the memory, causing the drive rope to move in the tightening direction, and records the joint angle and drive rope tension at each sampling moment to form a loading response sequence. During the rope-retracting process, the difference between the joint angle and the target reset angle, as well as the relationship between the drive rope tension and the upper limit of the allowable tension, are continuously checked. When the rope-retracting length reaches the preset amplitude or the angle and tension reach the corresponding limit boundary, rope-retracting stops. The processor then sends a rope-releasing command to the drive interface, causing the drive rope to move in the release direction, and records the joint angle and drive rope tension according to the same sampling period to form an unloading response sequence. When the rope-releasing length reaches the corresponding preset amplitude or the angle and tension reach the limit boundary, the current detection ends. The loading response sequence and the unloading response sequence are divided according to the drive rope tightening direction and release direction, respectively, and their sampling data use the same joint angle measurement benchmark and tension conversion relationship.

[0034] The processor extracts the minimum and maximum angle values ​​from the loading and unloading response sequences, respectively. The maximum of the two minimum angles is taken as the starting angle of the common angle interval, and the minimum of the two maximum angles is taken as the ending angle of the common angle interval. When the ending angle is greater than the starting angle, it is determined that a common angle interval exists between the two response sequences, and a reference angle is extracted from the common angle interval according to a preset reference angle interval. The reference angle interval is determined based on the angle resolution of the joint encoder and the interval between adjacent effective sampling angles in the calibration sequence, and is selected as an angle interval not less than the encoder angle resolution that allows finding corresponding interpolation segments in both the loading and unloading response sequences. When a common angle interval is not formed, or when the reference angle lacks a corresponding interpolation segment in either response sequence, the processor adjusts the rope winding and unwinding amplitude within the determined angle and tension threshold and re-acquires response data, without extrapolating the tension for which there is no matching basis.

[0035] After determining the reference angle, the processor extracts adjacent valid sampling records located on both sides of the reference angle from the load response sequence and the unload response sequence, respectively. For the load response sequence, the difference between the reference angle and the previous sampling angle is first calculated and divided by the difference between two adjacent sampling angles to obtain the interpolation ratio; then, the tension difference between two adjacent sampling records is multiplied by this ratio and the tension of the previous sampling record is added to obtain the load tension at that reference angle. For the unload response sequence, the unload tension at that reference angle is obtained according to the same calculation order. When the reference angle matches the actual sampling angle, the corresponding tension is directly read. The processor adds the load tension and unload tension at the same reference angle, and then divides the sum by 2 to obtain the reference hysteresis center at that reference angle; the load tension is subtracted from the unload tension, and the absolute value of the difference is taken to obtain the reference hysteresis width at that reference angle.

[0036] The processor, according to the arrangement of reference angles, forms a first hysteresis feature vector by combining each reference angle with its corresponding reference hysteresis center and reference hysteresis width, and stores this vector in memory in association with the target reset angle. The first hysteresis feature vector remains unchanged during this impact reset control process. Subsequent actively detected loading and unloading tensions generate a second hysteresis feature vector according to the same reference angle and the same calculation order, which is then used by the processor to calculate the hysteresis center deviation and hysteresis width deviation.

[0037] Example 3: S2 includes: Collect joint angle, motor rotation angle and motor current according to the preset sampling period, and align the timestamps to obtain a synchronous sampling sequence; The drive rope winding and unwinding length is calculated based on the effective radius of the drum, and the drive rope tension is estimated based on the calibration relationship between current and tension. A multi-source mechanical state vector sequence is then constructed. The deviation between the actual joint angle and the synchronous command angle is calculated, and the driving rope tension is subjected to time-series difference to generate a characteristic sequence of angle deviation and tension change. Based on the moment when the angle deviation exceeds a preset threshold, and combined with the tension change characteristics within a preset time window, the moment of external impact is identified. Using the moment of external impact as the dividing point, the multi-source mechanical state vector sequence is divided into a first time-series state sequence before impact and a second time-series state sequence after impact. The first time-series state sequence is fixed and the second time-series state sequence is updated in a rolling manner.

[0038] In the above scheme, the processor runs the data acquisition and impact recognition program pre-stored in the memory, reads the detection data output by the joint encoder, motor-side encoder, and current detection device through the data acquisition interface, and calls the calibration relationship between the effective radius of the drum, the motor current and the drive rope tension, and the joint command angle data stored in the memory. The processor acquires the actual joint angle, motor rotation angle, and motor current according to a preset sampling period, and records the sampling timestamp corresponding to each detection data. The sampling period is determined based on the effective data update period of the joint encoder, motor-side encoder, and current detection device. A unified period that allows the three types of detection data to be effectively updated once in each sampling period is selected and stored in the memory. The processor uses the time corresponding to the sampling period as a unified time reference to align the timestamps of the three types of detection data. When the original sampling time of the detection data is inconsistent with the unified time reference, the two effective sampling values ​​before and after the unified time are extracted. The time difference between the unified time and the previous sampling time is divided by the time difference between the two sampling times to obtain the interpolation ratio. Then, the difference between the two sampling values ​​is multiplied by the interpolation ratio and added to the previous sampling value to obtain the detection value corresponding to the unified time. For moments lacking valid preceding and following sample values, the processor marks them as invalid moments and does not use the data from those moments in impact determination. After timestamp alignment is completed, the joint angle, motor rotation angle, and motor current corresponding to each unified sampling moment are written into the memory in chronological order to form a synchronous sampling sequence.

[0039] The processor sequentially reads the motor angle and motor current from the synchronous sampling sequence. It subtracts the pre-saved motor angle reference value from the current motor angle to obtain the cumulative change in motor angle. Based on the transmission relationship between the drive motor and the drum, it calculates the drum angle, then converts the drum angle to radians and multiplies it by the effective drum radius to obtain the cumulative take-up and release length of the drive rope relative to the calibration reference position. The positive and negative directions of rope take-up and release are consistent with the aforementioned angle-rope length calibration process. For the drive rope tension, the processor reads the current and tension calibration data from the memory based on the current motor current. When the current current is between two adjacent calibration currents, it calculates the difference between the current current and the previous calibration current, divides it by the difference between the two adjacent calibration currents to obtain the current interpolation ratio, multiplies the tension difference corresponding to adjacent calibration currents by this ratio, and adds the tension corresponding to the previous calibration current to obtain the estimated tension of the current drive rope. For data consistent with the calibration current, the corresponding tension is directly read. The processor combines the joint angle, cumulative length of the drive rope, estimated tension, and timestamp at the same sampling moment into a set of multi-source mechanical state data, and forms a multi-source mechanical state vector sequence in chronological order, which is then stored in memory.

[0040] In the above implementation, the processor reads the actual joint angle and the synchronous command angle output by the control program at each sampling moment, subtracts the synchronous command angle from the actual joint angle to obtain the directional angle deviation; simultaneously, it reads the driving rope tension at the current sampling moment and the previous sampling moment, subtracts the tension at the previous sampling moment from the current tension to obtain the tension change within adjacent sampling periods. The processor saves the directional angle deviation and tension change according to the sampling timestamp, forming an angle deviation feature sequence and a tension change feature sequence. The angle deviation threshold and tension change threshold used for impact identification are determined through normal operation calibration. Specifically, under conditions without external impact, the controller drives the dexterous finger to operate according to a predetermined joint movement command, and records the actual angle, command angle, and driving rope tension according to the sampling period. The processor calculates the absolute value of the angle deviation and the absolute value of the tension change in adjacent sampling periods at each sampling moment, and extracts the maximum value of the absolute value of the angle deviation and the maximum value of the absolute value of the tension change. The angle deviation threshold is determined by adding the maximum absolute value of the angle deviation to the angle value corresponding to one joint encoder angle resolution unit. The tension change threshold is determined by adding the maximum absolute value of the tension change to the tension change calculated using the current-tension calibration relationship, which is then converted to one current detection resolution unit. For different interpolation intervals in the current-tension calibration relationship, the maximum tension change within the normal operating current range is used to determine the tension detection resolution. These thresholds, after calibration, are written into memory as fixed judgment parameters for impact identification.

[0041] The impact recognition time window is determined based on the time interval between the change in drive rope tension and the response of the joint angle. During calibration, the processor records the sampling time when the drive rope tension first shows a valid change under the predetermined rope retraction / release action, and the sampling time when the joint angle first shows a corresponding valid change. The time difference between these two times is calculated, and the maximum value of this time difference is extracted from each valid calibration record. This maximum value is then added to one sampling period and rounded up to an integer multiple of the sampling period to determine the length of the impact recognition time window. The valid tension change is determined according to the tension change amount corresponding to one current detection resolution unit, and the valid joint angle change is determined according to one joint encoder angle resolution unit. The processor stores the determined time window length in memory and associates it with the angle deviation and tension change characteristics during subsequent impact recognition processes.

[0042] During impact identification, the processor reads data from the angle deviation feature sequence one by one, comparing the absolute value of the directional angle deviation with the angle deviation threshold. When the absolute value of the angle deviation first exceeds the angle deviation threshold, the sampling moment is recorded as an angle anomaly moment, and the tension change features within the half-impact identification time window before and after that moment are extracted. The processor calculates the absolute value of the extracted tension change and compares it one by one with the tension mutation threshold. When there is a valid record within the time window where the absolute value of the tension change exceeds the tension mutation threshold, the angle deviation anomaly and the tension mutation satisfy the joint impact judgment condition, and the moment with the earlier timestamp between the angle anomaly moment and the moment of the first tension mutation within the time window is determined as the external impact moment; when there is no tension change record within the time window that meets the condition, the angle anomaly is not confirmed as an external impact. For the judgment involving sampling data after the angle anomaly moment, the processor performs impact confirmation after the data acquisition within the corresponding time window is completed, and retains the previously acquired state data to avoid losing the state record corresponding to the impact moment due to the delay in impact confirmation.

[0043] After determining the moment of external impact, the processor uses the timestamp of that moment as a boundary to extract state records from the multi-source mechanical state vector sequence whose timestamps are earlier than the moment of external impact. These records are then formed into a first temporal state sequence according to the original sampling order and written into a fixed data area of ​​the memory, where they remain unchanged during the current reset control. State records with timestamps equal to or later than the moment of external impact are grouped into a second temporal state sequence and stored in a rolling data area. After impact identification is completed, the processor continues to collect joint angles, motor rotation angles, and motor currents according to a preset sampling period. State records with timestamp alignment and rope length and tension conversion are sequentially written into the second temporal state sequence. When the rolling data area reaches a preset storage capacity, the earliest written state record is overwritten in chronological order. The storage capacity is determined based on the sampling period and the continuous data time required for subsequent transmission residual calculations and reversing dead zone identification, ensuring that the rolling data area can store the state records required for the corresponding calculations. The processor uses the first and second temporal state sequences as input data for the subsequent friction state identification program, maintaining a fixed reference for the transmission state before the impact and continuously updating the transmission state after the impact during the reset control process.

[0044] Example 4: S3 includes: The joint angles, rope lengths and tensions in the state sequences before and after the impact are extracted respectively. The theoretical rope length and elastic elongation are calculated based on the angle-rope length relationship and the elastic elongation compensation relationship. Calculate the difference between the actual rope length and the theoretical rope length and the elastic elongation to generate the first transmission residual sequence and the second transmission residual sequence; The timing of the drive rope reversal after the impact is identified based on the second transmission residual sequence. The rope length change during the period from the reversal to the joint angle change exceeding the response threshold is accumulated to obtain the reversal dead zone. Match the data in two transmission residual sequences that meet the comparability conditions for angle, direction of motion and tension range, calculate the statistical value of the corresponding residual difference, and obtain the historical residual offset. The commutation dead zone and historical residual offset are combined into a friction history state vector. When no valid matching data can be obtained, the corresponding component is marked as a state to be updated.

[0045] In the above scheme, the processor executes the friction state identification program in the memory, reads the saved first time-series state sequence, the continuously updated second time-series state sequence, and the pre-calibrated angle-rope length correspondence and elastic elongation compensation relationship. The processor extracts the joint angle, cumulative winding and unwinding length of the drive rope, and estimated tension at each sampling moment in the two time-series state sequences. Based on the current joint angle, it queries the angle-rope length calibration sequence, calculates the corresponding theoretical rope length according to the interpolation relationship between adjacent calibration angles, and then queries the elastic elongation compensation relationship based on the current drive rope tension to calculate the elastic elongation amount generated by the tension relative to the reference tension. Subsequently, the actual winding and unwinding rope length at the current sampling moment is subtracted from the theoretical rope length, and then the elastic elongation amount is subtracted to obtain the transmission residual at that sampling moment, retaining the positive or negative sign of the calculation result. The processor calculates the transmission residual corresponding to each state record before and after the impact in the order of sampling time, associates and stores the transmission residual with the joint angle, drive rope winding and unwinding length, tension, and sampling timestamp, generating the first transmission residual sequence and the second transmission residual sequence. The two transmission residual sequences use the same rope length reference, retraction and release direction, and elastic elongation compensation relationship. The first transmission residual sequence remains unchanged during this reset control, while the second transmission residual sequence is recalculated as the post-impact state data is updated.

[0046] The processor identifies the reversal time after the impact based on the drive rope winding and unwinding length associated with the second transmission residual sequence and the sampling timestamp.

[0047] Specifically, the length of the drive rope at the next sampling moment is subtracted from the length of the drive rope at the previous sampling moment to obtain the rope length change in adjacent sampling periods. The direction of drive rope movement is determined based on the sign of the rope length change. Sampling records with an absolute value of rope length change not exceeding one motor encoder resolution unit corresponding to the rope length are not included in the direction of movement determination. When the effective rope length changes in two consecutive sampling periods have the same sign, and the sign is opposite to the previously determined direction of movement, the sampling moment when the new direction of movement first appears is determined as the reversal moment, and the joint angle and the length of drive rope at that moment are recorded. Starting from the reversal moment, the processor accumulates the absolute value of the rope length change in adjacent sampling periods according to the new direction of movement, and simultaneously subtracts the joint angle at the reversal moment from the current joint angle to obtain the joint angle change after reversal. When the absolute value of the angle change first exceeds the preset joint response threshold, and the direction of angle change is consistent with the joint movement direction determined by the angle-rope length calibration relationship, the accumulation stops, and the accumulated rope length change between the reversal moment and that sampling moment is determined as the reversal dead zone. The joint response threshold is determined through joint static calibration. During calibration, the joint is kept at a fixed angle, and joint encoder data is continuously collected. The difference between each sampled angle and the calibration starting angle is calculated, and the maximum absolute value of the difference is extracted and added to the angle value corresponding to one joint encoder angle resolution unit. This value is used as the joint response threshold and stored in memory. If no joint angle change exceeding the response threshold occurs before the drive rope reverses direction again, the current reversal record is not used to calculate the reversal dead zone. The processor updates the reversal dead zone with the most recent reversal record that completed a valid angle response after the impact. If no reversal record meeting the conditions is obtained, the component is marked as pending update.

[0048] For historical residual offsets, the processor reads the joint angle, drive rope tension, and direction of motion corresponding to each record in the first and second transmission residual sequences, respectively, and filters the corresponding records before and after the impact according to angle matching tolerance, same direction of motion, and tension matching tolerance. The angle matching tolerance is determined through joint static calibration, taking the maximum absolute value of the difference between each sampled angle and the initial angle during static calibration, and the sum of the angle value corresponding to one joint encoder angle resolution unit. The tension matching tolerance is determined through constant tension calibration. The processor keeps the drive motor's tension control command unchanged at a preset tension sampling position, continuously collects motor current and converts it into drive rope tension, calculates the arithmetic mean of the set of tension sample values, then calculates the absolute value of the difference between each sampled tension and this average value, extracts the maximum value, and adds the tension change obtained by converting one current detection resolution unit through the current-tension calibration interval, as the matching tolerance for the corresponding tension interval. The above matching tolerances are stored in memory after calibration. During matching, the processor sequentially selects records from the second transmission residual sequence and searches for records in the first transmission residual sequence that have the same direction of motion, whose absolute value of joint angle difference does not exceed the angle matching tolerance, and whose absolute value of drive rope tension difference does not exceed the tension matching tolerance. When a record that meets the conditions exists, the record with the smallest absolute value of joint angle difference is selected as the matching object; when the absolute values ​​of angle difference are the same, the record with the smallest absolute value of tension difference is selected. The processor subtracts the transmission residual of the corresponding record before the impact from the transmission residual of the record after the impact to obtain the residual offset value of that set of data, and processes the remaining records after the impact that meet the matching conditions in the same way. After matching is completed, all residual offset values ​​are added together and then divided by the number of valid matching groups to obtain the historical residual offset, retaining its positive or negative sign. When no record meets the matching conditions, the historical residual offset is marked as pending update, and the statistical calculation of the residual offset value is not performed.

[0049] In this embodiment, the processor combines the calculated commutation dead zone and historical residual offset into a friction history state vector in a predetermined order, and writes the values ​​and validity markers of each component into the memory.

[0050] Among them, the commutation dead zone corresponds to the length of the drive rope during the period from commutation to the effective angular response of the joint after impact, and the historical residual offset corresponds to the average offset value of the transmission residual after impact relative to the matching state before impact. For components marked as to be updated, the processor retains the mark and does not replace the missing identification results with zero values. As the second time-series state sequence is continuously updated, the processor recalculates the transmission residual for the newly added state data and updates the friction history state vector according to the newly added commutation records and residual records that meet the matching conditions. The updated results are saved in memory for subsequent active detection programs to read in order to determine the detection amplitude of the restricted bidirectional commutation and retraction of the drive rope.

[0051] Example 5: S4 includes: Obtain the real-time joint angle, central ligament pretension force, and tension spring stiffness, and calculate the elastic restoring torque by combining the elastic deformation and stress arm. The tension adjustment amount is determined based on the elastic reset torque and the direction of force applied by the drive rope, and the joint return is controlled within the gripping tension threshold range. When the joint angle deviation and angular velocity are both below the corresponding thresholds, the friction history state vector is extracted. Candidate detection amplitudes are determined based on the commutation dead zone, amplitude correction is performed by combining historical residual offsets, and detection amplitudes are limited by angle and tension thresholds. When effective historical data is lacking, pre-calibrated amplitudes are used. Perform bidirectional rope retraction and release according to the limited detection range, simultaneously collect joint angles, rope lengths and tension, and generate a third time-series state sequence based on the sampling time.

[0052] In the above scheme, the processor executes the computer program in memory for joint return and active detection, reads the real-time angle fed back by the joint encoder, and calls the central ligament pretension force, tension spring stiffness, elastic element installation geometry parameters, and lever arm calibration data stored in memory to calculate the elastic return torque corresponding to the current joint angle. The central ligament pretension force is obtained by tension measurement when the joint is at the calibrated reference angle, and the tension spring stiffness is obtained through tension calibration, specifically by dividing the difference in spring tension corresponding to two calibration positions by the difference in the corresponding elongation. The processor calculates the current lengths of the central ligament and tension spring based on the real-time joint angle and the installation geometry of the elastic elements. It subtracts the reference length corresponding to the pre-tensioned state from the current length of the central ligament to obtain the elastic deformation of the central ligament. Based on a pre-calibrated relationship between tension and deformation, it determines the tension increment and adds this increment to the central ligament pre-tension force to obtain the current central ligament tension. The processor subtracts the spring's free length from the current length to obtain the spring elongation, and then multiplies this elongation by the spring stiffness to obtain the tension spring force. If the spring has not reached the tension state corresponding to its free length, it is treated as having zero tension. The processor multiplies the central ligament tension and the tension spring force by their respective vertical lever arms relative to the joint axis to obtain the corresponding joint torques. It determines the sign of each torque based on the actual force direction of the elastic element and adds the two directional torques to obtain the current elastic restoring torque. The vertical lever arm is the vertical distance from the joint axis to the corresponding tension line of action, determined by pre-measured installation geometry parameters and joint angles.

[0053] In the above embodiment, the processor subtracts the target reset angle from the real-time joint angle, determines the joint return direction based on the sign of the difference, and reads the elastic reset torque of the central ligament and tension spring corresponding to the current joint angle, as well as the effective lever arm of the drive rope relative to the joint axis. The processor uses the direction of joint angle increase as the positive direction of the torque, determines the sign of the elastic reset torque based on the actual force direction of the central ligament and tension spring, and multiplies the current drive rope tension by the effective lever arm of the drive rope, determining the sign of the drive torque according to the joint rotation direction generated when the drive rope tightens. Subsequently, the elastic reset torque is added to the drive torque to obtain the directional torque corresponding to the currently calibrated force term. The processor compares the direction of this directional torque with the required joint return direction. When tightening the drive rope increases the torque in the return direction, the direction of tension increase is determined; when the reset torque generated by the central ligament and tension spring points to the target angle, and the torque currently applied by the drive rope hinders joint return, the direction of tension decrease is determined.

[0054] Specifically, when the current directional torque is opposite to the required return direction of the joint, the processor divides the absolute value of the current directional torque by the effective lever arm of the drive rope to obtain the tension change corresponding to counteract the current reverse torque. This is then added to form a candidate tension adjustment amplitude. The tension adjustment unit is determined based on the resolution of the current detection device and the calibration relationship between current and tension, taking the tension change corresponding to one current resolution unit within the calibration range of the current current. When the current directional torque is already pointing towards the joint return direction, the processor first determines whether the joint angle has changed effectively along the return direction based on feedback from the joint encoder. If no effective change has occurred, one tension adjustment unit is used as the candidate adjustment amplitude. The processor adds or subtracts the candidate adjustment amplitude from the current drive rope tension according to the determined tension adjustment direction to obtain the candidate target tension, and limits it between the pre-calibrated lower and upper limits of the gripping tension.

[0055] The processor compares the limited target tension with the real-time estimated tension. Based on the difference, it controls the drive motor to tighten or release the drive rope via the motor drive interface, and re-acquires the joint angle and drive rope tension in each sampling cycle. When the joint angle changes along the return direction but does not reach the target angle neighborhood, the next adjustment amount is re-determined based on the updated elastic reset torque and actual tension. When the joint angle change direction is opposite to the target return direction, the current tension adjustment is stopped, and the drive rope force direction and elastic reset torque are re-determined. When the tension reaches the corresponding limit boundary, but the joint angle still does not change along the return direction beyond the joint response threshold, tension adjustment in that direction is stopped, and no control commands exceeding the gripping tension range are generated. For joint positions where the effective lever arm of the drive rope is zero, tension conversion based on that lever arm is not performed, and tension adjustment in the corresponding direction is stopped.

[0056] During joint repositioning, the processor acquires the joint angle at two consecutive sampling times according to a preset sampling period. The current angle is subtracted from the previous sampling angle, and then divided by the corresponding sampling time interval to obtain the joint angular velocity. The processor calculates the absolute value of the difference between the real-time joint angle and the target reset angle, as well as the absolute value of the joint angular velocity, and compares them with preset angle deviation thresholds and angular velocity thresholds. The angle deviation threshold uses the allowable angle offset determined in the aforementioned target configuration calibration and is constrained by the distance from the target angle to the joint's mechanical limit. The angular velocity threshold is determined through joint static calibration. Specifically, the joint is kept at a fixed angle, and the joint angle is continuously acquired according to a preset sampling period. The absolute value of the difference between adjacent sampling angles is divided by the sampling time interval, and the maximum value of the resulting absolute angular velocity is extracted. This maximum value is then added to the angular velocity value obtained by dividing one joint encoder angle resolution unit by the sampling period to obtain the angular velocity threshold. These thresholds are stored in memory. When both the absolute value of the angle deviation and the absolute value of the angular velocity are lower than the corresponding thresholds, the processor ends the current repositioning adjustment, reads the friction history state vector and its validity marker from memory, and enters the detection amplitude determination process.

[0057] The processor first checks the commutation dead zone and historical residual offset in the friction history state vector. When both components are valid, the commutation dead zone is added to the take-up / delay rope length corresponding to one motor encoder resolution unit to obtain the initial detection amplitude. Then, the absolute value of the historical residual offset is added to the initial detection amplitude to obtain the corrected candidate detection amplitude. When either component is in an update-pending state, the friction history state vector is not used to calculate the detection amplitude; instead, a pre-calibrated detection amplitude is read from the memory. The pre-calibrated amplitude is the minimum tested take-up / delay rope amplitude that allows both the loading and unloading responses to form valid sampled data at a predetermined reference angle during the bidirectional take-up / delay rope calibration process of the target configuration, and where the joint angle and drive rope tension do not touch the limit boundary.

[0058] After determining the candidate detection amplitude, the processor reads the current joint angle, drive rope tension, and preset angle and tension thresholds, and calculates the allowable rope length changes in the tightening and releasing directions, respectively. For angle limitations, based on the difference between the current joint angle and the corresponding allowable angle boundary, the angle-rope length calibration relationship is invoked to calculate the theoretical rope length change corresponding to the joint moving from the current position to the angle boundary. For tension limitations, based on the difference between the current tension and the corresponding gripping tension boundary, the rope length and tension response data obtained during the target configuration calibration stage are invoked, and the rope length when the tension reaches the corresponding boundary is determined by interpolation. The processor takes the minimum value between the angle-limited rope length change and the tension-limited rope length change in the tightening and releasing directions, respectively, to obtain the allowable detection amplitude in each direction. The candidate detection amplitude is then compared with the minimum value of the allowable detection amplitude in the two directions, and the minimum value is taken as the final detection amplitude. During detection execution, the processor continuously monitors the joint angle and drive rope tension. When either monitored quantity reaches the corresponding limit boundary, the rope tightening and releasing action in that direction is immediately terminated.

[0059] The processor converts the final detection amplitude into a motor rotation angle command based on the effective radius of the drum. It then controls the drive motor to run along the rope winding direction via the drive interface, and synchronously acquires data from the joint encoder, motor-side encoder, and current detection device according to the aforementioned sampling cycle. The processor timestamps the acquired data, converts the motor rotation angle into the cumulative winding and unwinding length of the drive rope, and converts the motor current into drive rope tension according to the calibration relationship. It then writes the joint angle, winding / unwinding rope length, and tension at the corresponding sampling time into memory. After completing the restricted rope winding, the processor controls the drive motor to run along the unwinding direction and records the data of the unwinding process using the same sampling and conversion method. The processor arranges the sampling timestamps, joint angles, drive rope winding / unwinding lengths, tension, and winding / unwinding directions obtained during this bidirectional rope winding and unwinding process in chronological order to generate a third time-series state sequence. The winding process corresponds to the loading direction, and the unwinding process corresponds to the unloading direction. This third time-series state sequence is stored in memory as input data for subsequent loading responses, unloading responses, and the calculation of the current hysteresis characteristics.

[0060] Example 6: S5 includes: Extract joint angles, drive rope tension, and release / retraction direction from the detection sequence to construct loading and unloading response sequences; Piecewise interpolation is performed on the two response sequences to generate loading response curves and unloading response curves, respectively; Calculate the common angle interval of the two response curves, and determine whether the preset identifiable conditions are met based on the reference angle coverage, interval width, and effective sampling number. If the identification conditions are not met, the detection amplitude is adjusted within the angle and tension limits and resampling is performed. If the conditions are still not met after reaching the limits, an unidentifiable mark is output. When the identifiability condition is met, the loading tension and unloading tension under the same reference angle are extracted, and the mean and absolute value of the difference between the two are used as the current hysteresis center and the current hysteresis width, respectively, to construct the second hysteresis feature vector.

[0061] In the above scheme, the processor executes the hysteresis feature extraction program stored in memory, reads the third time-series state sequence generated by the aforementioned active detection process, and, according to the drive rope retraction and release direction corresponding to each sampling record, assembles the joint angle and tension data collected during the drive rope tightening period into a loading response sequence, and the joint angle and tension data collected during the drive rope release period into an unloading response sequence. The processor performs validity checks on the timestamps, joint angles, and tensions of each sampling record, discarding records with failed timestamp alignment, missing angle data, and invalid tension conversions, and arranges the remaining records in the order of sampling time. Subsequently, it checks the joint angle change direction of adjacent sampling records in the loading response sequence and the unloading response sequence, and divides records where the joint angle changes continuously in the same direction into corresponding interpolation segments. Records where the absolute value of the difference between adjacent angles does not reach one joint encoder angle resolution unit are not used as the endpoints of independent interpolation segments. The processor establishes a piecewise linear interpolation relationship based on two adjacent valid sampling angles and corresponding tensions in each interpolation segment. When the angle to be calculated lies between two adjacent sampling angles, first subtract the previous sampling angle from the angle to be calculated, then divide by the difference between the two adjacent sampling angles to obtain the angle interpolation ratio; subsequently, subtract the tension of the previous sampling record from the tension of the next sampling record, multiply the resulting difference by the angle interpolation ratio, and add the tension of the previous sampling record to obtain the tension corresponding to the angle to be calculated. The loading response sequence and unloading response sequence are processed in the above manner to generate loading response curves and unloading response curves, and the effective interpolation segments corresponding to each curve are saved in memory.

[0062] The processor extracts the effective angle ranges of the loading and unloading response curves respectively. The maximum value of the lower limit of the corresponding angles of the loading and unloading response curves is determined as the starting angle of the common angle interval, and the minimum value of the upper limit of the corresponding angles of the two curves is determined as the ending angle of the common angle interval. The width of the common angle interval is obtained by subtracting the starting angle from the ending angle. For response curves with discontinuous interpolation segments, only the continuous angle range with effective interpolation data in both the loading and unloading response curves is considered as the common angle interval, without interpolating across angle segments without effective sampling records. The processor reads the reference angles corresponding to the first hysteresis feature vector in memory, checks whether each reference angle is located within the common effective interpolation interval of the loading and unloading response curves, and checks whether each reference angle has corresponding effective tension data in both response sequences.

[0063] The common angle interval width threshold in the identifiable condition is determined based on the reference angle range corresponding to the first hysteresis feature vector. The processor extracts the maximum and minimum values ​​of the reference angles, subtracts the minimum reference angle from the maximum reference angle to obtain the reference angle coverage width, and compares this width with the angle values ​​corresponding to the angle resolution units of the two joint encoders, taking the maximum value as the common angle interval width threshold. The effective sampling number threshold is determined based on the data endpoints required for piecewise linear interpolation. The loading response sequence and unloading response sequence each contain at least two effective sampling records with different joint angles, and each reference angle is located within the effective interpolation segment of the corresponding response curve. The processor compares the common angle interval width with the width threshold and checks the coverage of all reference angles and the effective sampling number of the two response sequences. When the common angle interval width reaches the corresponding threshold, tension data can be obtained from all reference angles in the loading and unloading response curves, and the two response sequences meet the effective sampling number requirements, the current round of detection is determined to meet the identifiable condition; if any condition is not met, the current round of detection is determined not to meet the identifiable condition.

[0064] When the current detection does not meet the identifiable conditions, the processor reads the current detection amplitude and the angle and tension limit parameters determined during the aforementioned active detection process. Using the rope length corresponding to one motor encoder resolution unit as the amplitude adjustment step, the processor adds the current detection amplitude to the adjustment step to obtain the candidate detection amplitude for the next round. Based on the current joint angle and gripping tension, the processor calls the calibrated angle-rope length correspondence and the rope length-tension correspondence to determine the allowable rope length change when the tightening and release directions reach the corresponding angle and tension boundaries, respectively. The minimum allowable rope length change in each direction is taken as the upper limit of the detection amplitude. When the candidate detection amplitude does not exceed the upper limit, the processor sends an adjusted bidirectional rope winding / unwinding command through the motor drive interface, controlling the drive motor to re-execute the limited detection. Simultaneously, it collects the joint angle, motor rotation angle, and motor current, completes timestamp alignment and rope length / tension conversion, updates the third timing state sequence, and re-executes response curve generation and identifiable judgment. When the candidate detection amplitude exceeds the detection amplitude limit, and the response data obtained using the detection amplitude limit still does not meet the identifiable condition, the processor stops adjusting the detection amplitude, generates an unidentifiable marker and writes it into memory, and does not generate a second hysteresis feature vector in this round.

[0065] When the detection results meet the identifiable condition, the processor extracts the drive rope tension corresponding to the same reference angle from the loading response curve and the unloading response curve, respectively, according to the reference angle order stored in the first hysteresis feature vector. For each reference angle, the loading tension and the unloading tension are added together, and the result is divided by 2 to obtain the current hysteresis center corresponding to that reference angle; the loading tension is subtracted from the unloading tension, and the absolute value of the difference is taken to obtain the current hysteresis width. The processor combines the current hysteresis center and the current hysteresis width corresponding to each reference angle into a second hysteresis feature vector according to the arrangement order of the reference angles, and stores it in association with the third time-series state sequence and the identifiable state of this round. The second hysteresis feature vector uses the same reference angles and calculation order as the first hysteresis feature vector as the input data for subsequent reset error calculation.

[0066] Example 7: S6 includes: Obtain the first hysteresis feature vector and the second hysteresis feature vector, and extract the hysteresis center and hysteresis width data corresponding to the same reference angle; Calculate the hysteresis center deviation by subtracting the reference hysteresis center from the current hysteresis center; Calculate the hysteresis width deviation by subtracting the reference hysteresis width from the current hysteresis width. Obtain the real-time joint angle and the target reset angle, and calculate the directional angle deviation in the order of real-time angle minus target reset angle; The directional angle deviation, hysteresis center deviation, and hysteresis width deviation are combined into a reset error vector, and a deviation status mark is generated based on the comparison between the absolute value of each component and the corresponding threshold.

[0067] In the above scheme, the processor runs a reset state evaluation program in memory, reads the first hysteresis feature vector corresponding to the target configuration and the second hysteresis feature vector generated by the current bidirectional probe, and checks the identifiable state marker corresponding to the second hysteresis feature vector. When the second hysteresis feature vector meets the identifiable condition, the processor extracts the reference hysteresis center, reference hysteresis width, current hysteresis center, and current hysteresis width corresponding to the same reference angle according to the reference angle order stored in the first hysteresis feature vector. For each reference angle, the processor subtracts the reference hysteresis center from the current hysteresis center to obtain the hysteresis center deviation; it subtracts the reference hysteresis width from the current hysteresis width to obtain the hysteresis width deviation, and retains the positive and negative signs of the two deviations. The processor stores the hysteresis center deviation and hysteresis width deviation corresponding to each reference angle in association according to the reference angle order, so that the current hysteresis state corresponds to the reference hysteresis state of the target configuration item by item. When the second hysteresis feature vector has an unidentifiable mark, or the reference angles in the two hysteresis feature vectors cannot correspond, the processor does not perform the corresponding hysteresis deviation calculation and writes the unidentifiable state into the memory for subsequent compensation control program to execute termination judgment.

[0068] The processor reads the real-time angle output by the joint encoder through the data acquisition interface, retrieves the target reset angle from memory, and subtracts the target reset angle from the real-time angle to obtain the directed angle deviation. The real-time angle is taken from the effective angle data output by the joint encoder after the current round of bidirectional detection, and is stored corresponding to the current second hysteresis feature vector. The processor organizes the reset error vector in the order of directed angle deviation, hysteresis center deviation, and hysteresis width deviation, where the hysteresis center deviation and hysteresis width deviation are stored according to the reference angle order. Each deviation retains a positive or negative sign; a positive value indicates that the current value exceeds the corresponding target value, and a negative value indicates that the current value is less than the corresponding target value, for subsequent compensation decision-making procedures to determine the deviation direction.

[0069] Specifically, the threshold for determining the reset error vector is determined during the target configuration calibration stage. The angle error threshold uses the allowable angle offset obtained from the aforementioned target configuration calibration, and this allowable angle offset is compared with the angular distances from the target reset angle to the joint's forward and reverse mechanical limits, respectively. The minimum value among these is taken as the angle error threshold. The hysteresis center error threshold and hysteresis width error threshold are determined through repeated bidirectional calibration under the target configuration.

[0070] Specifically, after the first hysteresis feature vector is generated, maintaining the target configuration and the same detection amplitude, sampling period, and tension constraints, three rounds of bidirectional micro-amplitude rope deployment and retraction are continuously executed. The hysteresis center and hysteresis width are calculated for each round at each reference angle. The processor subtracts the corresponding reference hysteresis center from the first hysteresis feature vector for each round's hysteresis center, takes the absolute value of the difference, and extracts the maximum value from the three rounds' calculations. This maximum value is added to the tension resolution obtained by converting one current detection resolution unit using the current-tension calibration relationship, and used as the hysteresis center error threshold for the corresponding reference angle. For the hysteresis width, the difference is calculated in the order of subtracting the reference hysteresis width from each round's hysteresis width, and the absolute value is taken. The maximum value of the absolute values ​​of the three rounds' differences is extracted, and then added to two tension resolutions to obtain the hysteresis width error threshold for the corresponding reference angle. The tension resolution is determined based on the current-tension interpolation interval where the calibrated tension is located at the corresponding reference angle. The processor associates and stores the angle error threshold and the corresponding hysteresis center and hysteresis width error thresholds for each reference angle with the first hysteresis feature vector, keeping them unchanged during this impact reset control.

[0071] After calculating the reset error vector, the processor compares the absolute value of the directed angle deviation with the angle error threshold, the absolute value of the hysteresis center deviation corresponding to each reference angle with the corresponding hysteresis center error threshold, and the absolute value of the hysteresis width deviation corresponding to each reference angle with the corresponding hysteresis width error threshold. When the absolute value of the deviation does not exceed the corresponding threshold, the component is marked as compliant; when the absolute value of the deviation exceeds the corresponding threshold, it is marked as positive or negative over-limit according to the sign of the deviation. For hysteresis center deviations and hysteresis width deviations involving multiple reference angles, the processor checks the judgment results corresponding to each reference angle. Only when the deviations corresponding to all reference angles meet their respective threshold requirements is the type of deviation marked as compliant; if any deviation corresponding to any reference angle exceeds the limit, the type of deviation is marked as over-limit, and the corresponding reference angle and deviation direction are retained. The processor writes the reset error vector, the deviation status flags corresponding to each component, and the error thresholds into memory and outputs them to the compensation decision program as the basis for determining the reset compensation action according to the priority of angle deviation, hysteresis width deviation, and hysteresis center deviation.

[0072] Example 8: S7 includes: Obtain the reset error vector and the corresponding error threshold, and determine the compensation priority in the order of angle, hysteresis width, and hysteresis center deviation; When the angle deviation exceeds the limit, the correction amplitude of the restricted position is determined based on the elastic reset torque and the direction of the force applied by the drive rope. When the angle deviation meets the standard but the hysteresis width deviation exceeds the limit, the amount of rope retraction and release with the limit is determined based on the reversal dead zone in the friction history state vector. When the two current deviations meet the standard but the hysteresis center deviation exceeds the limit, a restricted tension test is performed and the bidirectional tension response is reacquired. The direction and amplitude of tension compensation are determined based on the change of the hysteresis center before and after the test. Select the corresponding control action according to the compensation priority, generate a reset compensation instruction containing the action type and control amplitude, and generate a zero compensation instruction when all deviations meet the standard.

[0073] In the above scheme, the processor runs the compensation decision program in the memory, reads the reset error vector, corresponding error threshold, and deviation status flag output by the aforementioned reset state evaluation program, and calls the friction history state vector, elastic reset torque, and gripping tension constraint parameters stored in the memory. The processor first compares the absolute value of the directional angle deviation with the angle error threshold. When the angle deviation exceeds the limit, the current compensation action is determined to be position correction. When the angle deviation meets the standard, the processor continues to check the hysteresis width deviation corresponding to each reference angle. If the hysteresis width deviation of any reference angle exceeds the limit, the current compensation action is determined to be restricted reciprocating adjustment. When both types of deviations meet the standard, the processor then checks the hysteresis center deviation corresponding to each reference angle. If it exceeds the limit, the processor determines to perform directional tension trial compensation. The error threshold is a value determined and stored in the aforementioned target configuration calibration stage. The angle error threshold is determined based on the allowable angle offset of the target configuration and the joint mechanical limit. The hysteresis width and hysteresis center error thresholds are determined based on the characteristic deviation of repeated bidirectional calibration and the tension detection resolution. In the same round of compensation decision-making, the processor selects only the control action corresponding to the highest priority out-of-limit deviation, and does not generate compensation instructions for different deviation types at the same time.

[0074] It should be noted that when the angle deviation exceeds the limit, the processor determines the joint correction direction based on the directional deviation between the real-time joint angle and the target reset angle, and reads the current elastic reset torque and the force direction of the drive rope relative to the joint axis to determine the corresponding rope winding or unwinding action of the drive motor. For a state where the elastic reset torque acts along the target correction direction and the drive rope tension acts in the opposite direction, the processor determines the rope unwinding correction direction; for a state where the driving torque generated by the tightening of the drive rope acts along the target correction direction, the processor determines the rope winding correction direction. Subsequently, the processor calls the angle-rope length calibration relationship to calculate the theoretical rope length corresponding to the real-time joint angle and the target reset angle, respectively. It subtracts the theoretical rope length corresponding to the real-time angle from the theoretical rope length corresponding to the target angle to obtain the theoretical rope length correction amount, and checks whether the correction action is consistent with the target return direction based on the determined rope winding / unwinding direction and the current elastic reset torque. The processor then calculates the allowable rope length corresponding to the angle constraint based on the distance between the current joint angle and the allowable angle boundary, using the angle-rope length calibration relationship. It also calculates the allowable rope length corresponding to the tension constraint based on the difference between the current tension and the gripping tension boundary, using the calibrated rope length-tension correspondence relationship. The absolute value of the theoretical rope length correction is compared with both allowable rope lengths, and the minimum value is taken as the restricted position correction amplitude, while the corresponding rope direction is saved. The angle and tension limits use the allowable range determined during the joint return phase. When the current tension has reached the tension boundary corresponding to the correction direction, no control amplitude is generated to further increase the driving force along that direction.

[0075] When the angle deviation meets the standard but the hysteresis width deviation exceeds the limit, the processor reads the commutation dead zone and its corresponding validity flag from the friction history state vector. When the commutation dead zone is valid, it is added to the take-up / release rope length corresponding to one motor encoder resolution unit to obtain the candidate reciprocating take-up / release rope length. When the commutation dead zone is in an update-pending state, the pre-calibrated detection amplitude determined in the memory is read as the candidate reciprocating take-up / release rope length. The processor calculates the allowable rope length variation in the take-up and release directions based on the current joint angle and drive rope tension, and takes the minimum value between the candidate reciprocating take-up / release rope length and the allowable rope length variation in the two directions to obtain the limited reciprocating take-up / release rope length. Subsequently, the processor generates a reciprocating adjustment command containing the take-up and release actions, with the same limited rope length value used in both motion directions, and subject to corresponding angle and tension boundary constraints respectively. The limited reciprocating rope release and take-up amount is used to control the drive rope to complete the restricted directional movement. The compensated hysteresis width deviation is calculated by the re-acquired bidirectional tension response, and the hysteresis width is not directly determined to meet the standard based on whether the reciprocating rope release and take-up action is completed.

[0076] In the above implementation, when both the directional angle deviation and the hysteresis width deviation meet the corresponding error thresholds, but the hysteresis center deviation exceeds the limit, the processor reads the hysteresis center deviation and error threshold corresponding to each reference angle, divides the absolute value of each hysteresis center deviation by the corresponding threshold, and selects the reference angle with the largest ratio as the evaluation angle for this round of tension testing. The processor reads the current hysteresis center and the reference hysteresis center corresponding to this reference angle and saves the drive rope tension before the test. Subsequently, the allowable test direction is determined based on the difference between the current tension and the upper and lower limits of the gripping tension, and the tension change corresponding to one current detection resolution unit within the current current calibration interval is used as the initial test amplitude. When the tension increase direction meets the allowable tension range, the processor controls the drive motor to increase the drive rope tension; when the increase direction is limited by the upper tension limit, a tension reduction test is performed under the condition that the tension decrease direction meets the allowable range. The processor obtains the adjusted actual tension through the current detection device and subtracts the actual tension before the test from the adjusted actual tension to obtain the actual tension adjustment amount for this test.

[0077] After completing the tension test, the processor controls the drive rope to perform restricted bidirectional retraction and release according to the aforementioned active detection process, and re-acquires the joint angles and drive rope tension during the loading and unloading processes. During the re-detection, the same reference angle, retraction / release direction, and tension conversion relationship as before the test are used, and the same bidirectional detection amplitude is maintained within the allowable angle and tension range. The processor determines whether the current detection meets the identifiable conditions based on the coverage of the common angle interval, the interval width, and the number of effective samples. If the identifiable conditions are met, the loading tension and unloading tension are extracted at the selected evaluation angle, and the two tensions are added together and divided by 2 to obtain the hysteresis center after the test; if the identifiable conditions are not met, the data from this test is not used to determine the compensation direction and amplitude.

[0078] The processor subtracts the hysteresis center before the test from the hysteresis center after the test to obtain the change in hysteresis center. It then checks whether the actual tension adjustment reaches one tension detection resolution unit and whether the absolute value of the change in hysteresis center exceeds the hysteresis center repeated measurement fluctuation limit under the corresponding evaluation angle. This fluctuation limit is determined based on the hysteresis center data obtained from three consecutive rounds of bidirectional detection during the target configuration calibration phase. It is the sum of the maximum absolute value of the difference between the hysteresis center and the reference hysteresis center in each round and the tension change corresponding to one tension detection resolution unit. When both the actual tension adjustment and the change in hysteresis center meet the above conditions, the processor divides the change in hysteresis center by the actual tension adjustment to obtain the hysteresis center change value corresponding to the unit tension adjustment in this test.

[0079] The processor subtracts the reference hysteresis center from the probed hysteresis center to obtain the current hysteresis center deviation. Based on the sign of this deviation and the sign of the hysteresis center change value corresponding to the unit tension adjustment, it determines the tension compensation direction that causes the hysteresis center to change towards the reference hysteresis center. Then, it divides the absolute value of the current hysteresis center deviation by the absolute value of the hysteresis center change value corresponding to the unit tension adjustment to obtain the candidate tension compensation amplitude. Based on the determined compensation direction, the processor calculates the difference between the current drive rope tension and the corresponding gripping tension boundary, compares the candidate compensation amplitude with this difference, and takes the minimum value as the current limited tension compensation amplitude. The compensation direction and amplitude are then written into a reset compensation instruction.

[0080] If the change in hysteresis center after the trial does not exceed the repeated measurement fluctuation limit, the processor does not use the result of this trial to calculate the compensation amplitude, and performs a reverse trial under the condition that the tension constraint is met in another tension adjustment direction. If the reverse trial still fails to obtain a valid change in hysteresis center, no tension compensation amplitude is generated without valid response verification, and the hysteresis center deviation exceeding the limit is retained. For cases where a valid trial response is obtained, the processor re-acquires the bidirectional tension response after subsequent compensation execution, calculates the updated hysteresis center deviation, and compares it with the hysteresis center deviation before compensation. When the absolute value of the hysteresis center deviation after compensation decreases, the compensation result of this round is used for the next round of amplitude adjustment; when the absolute value of the deviation does not decrease, the compensation amplitude is stopped from increasing along the current direction, and the tension trial is re-executed. If the compensation causes the angle deviation or hysteresis width deviation to exceed the limit again, the compensation action is re-determined according to the priority of angle deviation, hysteresis width deviation, and hysteresis center deviation.

[0081] After completing the selection of compensation action and amplitude calculation, the processor writes the action type, control direction, control amplitude, and corresponding angle and tension limit parameters into the reset compensation instruction and stores them in memory for subsequent closed-loop execution program calls. Specifically, position correction and restricted reciprocating adjustment use the drive rope's winding and unwinding length as the control quantity, while directional tension compensation uses the drive rope tension as the control quantity. When the directional angle deviation, the hysteresis width deviation corresponding to each reference angle, and the hysteresis center deviation all meet the corresponding thresholds, and the second hysteresis feature vector has a valid identifiable marker, the processor generates a zero-compensation instruction with a control amplitude of 0 and passes the current reset error vector and deviation status marker to the closed-loop execution program. The final reset state is determined by the subsequent reset termination judgment process.

[0082] Example 9: S8 includes: Based on the action type of the reset compensation command, select rope length or tension as the control quantity and another variable as the feedback monitoring quantity to perform amplitude limiting compensation. Collect compensated multi-source mechanical state data, update the post-impact state sequence, and recalculate the transmission residual and friction history state vector; When the joint angle and gripping tension meet the detection constraints, the bidirectional tension response is reacquired, and the second hysteresis feature vector and reset error vector are updated. The normalized error modulus is calculated based on the ratio of each error component to its corresponding threshold. The direction or magnitude of the next round of compensation is then adjusted based on the modulus improvement and whether the individual deviation exceeds the limit. When all error components meet the standard, the reset is confirmed; when continuous improvement is insufficient, the iteration limit is reached, or the detection becomes unidentifiable, the compensation is terminated and the reset unconfirmed status is output.

[0083] In the above scheme, the processor runs the closed-loop compensation program in memory, reads the reset compensation instruction generated by the compensation decision program, and outputs the corresponding control signal to the motor drive interface according to the action type, control direction, and control amplitude in the instruction. When the compensation instruction is position correction or limited reciprocating adjustment, the processor divides the winding and unwinding rope length in the instruction by the effective radius of the drum to obtain the corresponding drum rotation angle. Then, it calculates the target rotation angle of the motor according to the transmission relationship between the drive motor and the drum. It calculates the executed winding and unwinding rope length through the actual rotation angle fed back by the motor-side encoder, and controls the drive motor to run according to the difference between the target winding and unwinding rope length and the actual winding and unwinding rope length. At the same time, it reads the motor current and calculates the drive rope tension according to the calibration relationship. When the compensation instruction is directional tension compensation, the processor adds or subtracts the tension compensation amplitude from the current drive rope tension according to the adjustment direction in the instruction to obtain the target tension. Then, it compares the target tension with the real-time estimated tension, adjusts the motor output according to the tension difference, and monitors the winding and unwinding length of the drive rope through the rotation angle fed back by the motor-side encoder. During compensation, the processor continuously acquires the actual angle feedback from the joint encoder and checks whether the joint angle, drive rope tension, and rope length reach the corresponding limit boundaries. The angle and tension limits follow the allowable range determined by the aforementioned target configuration calibration, and the rope length limit uses the control amplitude stored in the compensation command. The current round of compensation ends when the main control quantity reaches the command target value; when any monitored quantity reaches the limit boundary, the output of drive commands in the corresponding direction stops, and the actual execution amplitude is recorded as the basis for updating the state after this round of compensation.

[0084] After compensation, the processor reads the data output by the joint encoder, motor-side encoder, and current detection device according to the preset sampling cycle. After completing the timestamp alignment, it calculates the cumulative winding and unwinding length of the drive rope based on the effective radius of the drum, and calculates the drive rope tension based on the current and tension calibration relationship. The joint angle, cumulative winding and unwinding rope length, tension, and sampling timestamp are written into the second timing state sequence. Subsequently, the processor calls the angle-rope length correspondence and elastic elongation compensation relationship in the memory to calculate the theoretical rope length and elastic elongation at each sampling time. The actual winding and unwinding rope length is subtracted from the theoretical rope length, and then the elastic elongation is subtracted to obtain the compensated transmission residual, and the second transmission residual sequence is updated. The processor identifies the moment of drive rope reversal based on the newly added records, accumulates the rope length change from the reversal until the joint angle change exceeds the response threshold, and updates the reversal dead zone. Simultaneously, according to the matching conditions of joint angle, motion direction, and tension range, it matches the valid records in the second transmission residual sequence with the fixed-stored first transmission residual sequence, calculates the difference between the post-impact residual and the corresponding pre-impact residual, and divides the sum of the valid differences by the number of valid matching groups to update the historical residual offset. The processor writes the above update results into the friction history state vector. If no valid reversal record or valid matching data is obtained, the previously determined valid components are retained; if no valid identification result is obtained for the corresponding component, it remains in a pending update state.

[0085] The processor reads the compensated real-time joint angle and drive rope tension, and compares them with the target angle allowable range and gripping tension allowable range determined in the aforementioned active detection phase. When both the joint angle and drive rope tension meet the detection constraints, the active detection program is invoked. Based on the updated friction history state vector, the bidirectional rope retraction and release amplitude is determined. The drive rope is controlled via the motor drive interface to perform restricted tightening and release actions, and the joint angle, rope length, and tension are recorded simultaneously, updating the third time-series state sequence. The processor extracts the loading response sequence and unloading response sequence according to the retraction and release direction, generates the corresponding tension response curve through piecewise interpolation, and checks the reference angle coverage, interval width, and effective sampling number of the common angle interval. When the detection result meets the identifiable condition, the current loading tension and unloading tension are extracted according to the reference angle saved in the first hysteresis feature vector. The two are added together and divided by 2 to obtain the current hysteresis center. The absolute value of the difference between the two is used as the current hysteresis width, and the second hysteresis feature vector is updated. Subsequently, the processor calculates the difference between the current hysteresis center and the reference hysteresis center, the difference between the current hysteresis width and the reference hysteresis width, and the difference between the real-time joint angle and the target reset angle, and updates the reset error vector accordingly. If the angle or tension does not meet the detection constraints, this round of bidirectional detection is not executed, and the processor redetermines the permissible compensation actions based on the current angle deviation and tension limits. If bidirectional detection still does not meet the identifiable conditions after reaching the corresponding limit, an unidentifiable marker is generated, and the reset error vector is not updated using the data from this round of detection.

[0086] In the above implementation, the processor calculates the normalized error magnitude based on the updated reset error vector.

[0087] Specifically, the absolute value of the directional angle deviation is divided by the angle error threshold to obtain the angle normalization error. The absolute value of the hysteresis width deviation corresponding to each reference angle is divided by the corresponding hysteresis width error threshold, and the maximum value of the resulting ratio is taken as the hysteresis width normalization error. Similarly, the absolute value of the hysteresis center deviation corresponding to each reference angle is divided by the corresponding hysteresis center error threshold, and the maximum value of the resulting ratio is taken as the hysteresis center normalization error. Subsequently, the above three normalization errors are squared, the three squared results are summed, and the square root of the summation is performed to obtain the current normalization error magnitude. The angle error threshold, hysteresis width error threshold, and hysteresis center error threshold are all positive values, following the calibration results from the aforementioned reset state evaluation stage, and remain unchanged during this reset control period. The processor subtracts the normalization error magnitude calculated after compensation from the normalization error magnitude saved before this round of compensation to obtain the magnitude improvement for this round, which is used to determine the error change after compensation execution.

[0088] The minimum improvement threshold corresponding to the modulus length improvement is determined through repeated detection calibration under the target configuration. Specifically, under conditions of no external impact and no compensation, three rounds of state evaluation are continuously completed according to the same sampling period and bidirectional detection method. The normalized error modulus length of each round is calculated, and the absolute value of the difference between the modulus lengths of two adjacent rounds is calculated, and the maximum value is extracted. At the same time, the angle value corresponding to one joint encoder angle resolution unit is divided by the angle error threshold to obtain the normalized value corresponding to the angle detection resolution. The maximum value of the two values ​​is taken as the minimum improvement threshold and stored in memory. When the modulus length improvement in this round reaches the minimum improvement threshold, the compensation in this round is marked as effective, and the number of consecutive insufficient improvements is cleared to zero. When the modulus length improvement does not reach the minimum improvement threshold, the number of consecutive insufficient improvements is increased by one. The processor also checks the comparison results of each error component with the corresponding threshold. When the previously acceptable angle deviation or hysteresis width deviation exceeds the limit again, the compensation priority is re-determined in the order of angle deviation, hysteresis width deviation, and hysteresis center deviation, and the original compensation instruction is not executed.

[0089] When the current round of compensation achieves effective improvement without causing the already achieved priority error to exceed the limit again, the processor redetermines the compensation action based on the current reset error vector and retains the verified effective compensation direction. When the current round of compensation is insufficient, for position correction or restricted reciprocating adjustment, the actual rope release / retraction amplitude executed in the previous round is divided by 2 as the candidate compensation amplitude for the next round, and the allowable amplitude is re-determined based on the current angle and tension limits; for directional tension compensation, the increase in tension compensation along the original direction is stopped, and the restricted tension trial is re-executed. The subsequent tension compensation direction and amplitude are determined based on the change in the hysteresis center before and after the trial. The processor submits the re-determined action type, control direction, and amplitude to the compensation decision program to generate the next round of reset compensation instructions and returns to the closed-loop execution process.

[0090] It should be noted that after each round of compensation and error evaluation, the processor checks the reset termination conditions. When the absolute value of the directional angle deviation does not exceed the angle error threshold, the absolute values ​​of the hysteresis width deviation and hysteresis center deviation corresponding to each reference angle do not exceed the corresponding thresholds, and the bidirectional tension response of this round meets the identifiable condition, the processor generates a reset confirmation result and stops outputting subsequent compensation instructions. For states that do not meet the above conditions, the processor continues to check the number of consecutive insufficient improvements and the cumulative number of compensation rounds. In this embodiment, the upper limit of the number of consecutive insufficient improvements is preset to 3 times, and the upper limit of the cumulative number of compensation rounds is preset to 10 rounds. The parameters are pre-stored in the memory to limit the number of compensations when there is no effective improvement and the cumulative number of executions of a single impact reset process, respectively. When the number of consecutive insufficient improvements reaches 3 times, the cumulative compensation reaches 10 rounds, or the bidirectional detection still cannot obtain an identifiable response after reaching the angle and tension limits, the processor terminates the compensation, outputs a reset unconfirmed state, and writes the current reset error vector, friction history state vector, cumulative compensation rounds, and termination reason into the memory. For unconfirmed reset status, the processor stops executing new compensation instructions and continues to monitor the joint status according to the preset angle and gripping tension limit. It does not determine the angle return result that does not meet the hysteresis status evaluation conditions as a reset completion.

[0091] Example 10: A system applicable to the aforementioned dexterous finger repositioning control method based on multi-source mechanical data fusion, applied to a dexterous finger with a central ligament, a tension spring, and a sleeve-driven mechanism, comprising: The calibration module is used to obtain the correspondence between joint angle, drive rope release and take-up length and tension, and to calculate the reference hysteresis center and width through bidirectional micro-amplitude calibration to generate the first hysteresis feature vector. The data acquisition module is used to synchronously acquire joint encoder, motor-side encoder and motor current data, construct multi-source mechanical state sequence, and identify the impact moment according to angle deviation and tension change, and divide the state sequence before and after impact. The friction state identification module is used to calculate the compensation rope length residual before and after the impact, extract the commutation dead zone and historical residual offset, and construct the friction history state vector. The active detection module is used to control the joint return by combining the elastic reset torque and the gripping tension constraint, determine the restricted bidirectional detection amplitude according to the friction history state vector, and collect the loading and unloading tension response; The reset state evaluation module is used to calculate the current hysteresis center and width based on the identifiability of the loading and unloading tension response, generate a second hysteresis feature vector, and construct a reset error vector by combining the first hysteresis feature vector and the directed angle deviation. The compensation decision module is used to determine the position correction, restricted reciprocating adjustment or directional tension trial compensation strategy based on the priority of angular deviation, hysteresis width deviation and hysteresis center deviation in the reset error vector, and generate reset compensation instructions. The closed-loop execution module is used to control the drive motor according to the reset compensation command, update the friction history state vector and reset error vector, and iteratively adjust the compensation amplitude or direction according to the degree of error improvement until each deviation meets the corresponding threshold to complete the reset control; when the compensation is ineffective or the detection is unidentifiable, the reset unconfirmed state is output.

[0092] In the above scheme, the system includes a controller, a joint encoder, a motor-side encoder, a current detection device, and a motor drive interface. The controller includes a processor and a memory. The joint encoder is connected to the joint of the dexterous finger, the motor-side encoder is connected to the drive motor, and the current detection device is used to detect the operating current of the drive motor. Each detection device transmits detection data to the controller through a data acquisition interface. The motor drive interface drives the motor to run according to the control signal output by the controller. The memory stores a computer program and pre-calibrated mechanism parameters, control thresholds, and status data. The computer program includes program instructions to implement the corresponding functions of a calibration module, a data acquisition module, a friction state identification module, an active detection module, a reset state evaluation module, a compensation decision module, and a closed-loop execution module. The processor calls and executes the corresponding program instructions, acquires detection data through the data acquisition interface, completes data processing and control quantity calculation according to the program instructions, and outputs control commands through the motor drive interface. The above modules correspond to the functional parts of the computer program in the memory. The status data and control results generated during their operation are stored in the memory and called by the processor according to the reset control process.

[0093] During calibration module operation, the processor controls the drive motor to sequentially move the joints to preset calibration angles. It reads the joint angles fed back by the joint encoders, the motor rotation angles fed back by the motor-side encoders, and the motor current fed back by the current detection device. Based on the effective radius of the drum, it calculates the drive rope winding and unwinding lengths and obtains the drive rope tension according to the calibration relationship between current and tension. The processor assembles the corresponding sampled data into an angle-rope length calibration sequence. Under reference tension conditions, it interpolates the winding and unwinding rope lengths corresponding to adjacent calibration angles to establish a correspondence between joint angles and theoretical rope lengths. For rope length records corresponding to different tensions at the same joint angle, it subtracts the rope length corresponding to the reference tension from the rope length corresponding to the current tension to obtain the elastic elongation compensation amount and establishes a correspondence between tension and elastic elongation compensation amount. Subsequently, the processor controls the drive motor to perform bidirectional micro-range rope winding and unwinding within the angle and tension constraints corresponding to the target configuration, acquiring loading and unloading response sequences respectively. Interpolation matching is performed on reference angles within the common angle range. The loading tension and unloading tension at the same reference angle are added and divided by 2 to obtain the reference hysteresis center. The absolute value of the difference between the loading tension and unloading tension is taken to obtain the reference hysteresis width. The processor generates the first hysteresis feature vector according to the reference angle sequence and associates and stores it with the angle-rope length correspondence and elastic elongation compensation relationship, serving as the data basis for subsequent friction state identification and reset state evaluation.

[0094] During data acquisition, the processor reads data from the joint encoder, motor-side encoder, and current detection device according to a preset sampling cycle. It then forms a synchronous sampling record based on the timestamp alignment and calculates the drive rope length and tension according to the effective radius of the drum and the calibration relationship between current and tension. This constructs a multi-source mechanical state vector sequence containing joint angle, rope length, tension, and sampling timestamps. The processor subtracts the synchronous command angle from the actual joint angle to obtain the directional angle deviation. It subtracts the tension from the tension at the previous sampling moment from the current sampling moment's drive rope tension to obtain the tension change. A joint judgment is then made based on preset impact angle thresholds and tension mutation thresholds. The impact angle threshold is determined by the sum of the maximum absolute value of the angle deviation during normal operation calibration and the angle value corresponding to one joint encoder angle resolution unit. The tension mutation threshold is determined by the sum of the maximum absolute value of the tension change in a single cycle during normal operation and the tension change corresponding to one current detection resolution unit. The impact identification time window is determined by adding one sampling cycle to the maximum time interval between the calibrated tension change and the joint angle response. When the angle deviation exceeds the corresponding threshold and there are records within the preset time window where the tension change exceeds the tension mutation threshold, the processor determines the external impact moment, forms the first time-series state sequence from the state records before the impact moment and saves it, forms the second time-series state sequence from the state records after the impact moment, and continuously writes the subsequently collected valid state data.

[0095] It should be noted that the friction state recognition module reads the first and second time-series state sequences, calculates the theoretical rope length and elastic elongation based on the joint angle and tension at each sampling moment, subtracts the theoretical rope length and elastic elongation from the actual rope length, and generates the first and second transmission residual sequences. The processor determines the reversal moment based on the rope length change associated with the second transmission residual sequence, and accumulates the rope length generated by the drive rope along the new direction of motion from the reversal moment. When the joint angle change exceeds the response threshold, the accumulation stops and the reversal dead zone is obtained. The response threshold is the sum of the maximum absolute value of the angle change during joint static calibration and the angle value corresponding to one joint encoder angle resolution unit. The processor further matches the valid records in the two transmission residual sequences according to the joint angle, drive rope motion direction, and tension range. The angle matching tolerance is determined based on the joint static calibration angle fluctuation and encoder resolution, and the tension matching tolerance is determined based on the tension fluctuation and current detection resolution during constant tension calibration. The historical residual offset is obtained by subtracting the pre-impact residual from the post-impact residual in each set of matched records, summing all valid differences, and dividing by the number of valid matched sets. The processor combines the commutation dead zone and the historical residual offset into a friction history state vector and saves the validity flag of each component. When no valid commutation record or residual matching record is obtained, the corresponding component is marked as pending update.

[0096] The active detection module reads the real-time joint angle, central ligament pretension force, tension spring stiffness, and stress arm parameters. Based on the joint angle, it determines the elastic deformation of the central ligament and tension spring, calculates the central ligament tension and tension spring tension respectively, multiplies each tension by the corresponding vertical lever arm, and synthesizes the current elastic reset torque according to the direction of action. The processor determines the tension adjustment amount based on the deviation between the real-time angle and the target reset angle, the elastic reset torque, and the direction of the drive rope force. It controls the drive motor to tighten or release the drive rope via the motor drive interface and uses joint angle and tension feedback to limit the return motion. When the absolute value of the angle deviation and the absolute value of the joint angular velocity are lower than the corresponding thresholds, the processor reads the friction history state vector, determines the initial detection amplitude based on the sum of the commutation dead zone and the corresponding rope length of one motor encoder unit, and adds the absolute value of the historical residual offset to obtain the candidate detection amplitude. When the corresponding component is in a pending update state, the pre-calibrated detection amplitude is called. The processor calculates the allowable rope lengths for tightening and releasing in the tightening and releasing directions based on the current joint angle and drive rope tension, limits the candidate detection amplitude, and controls the drive motor to perform bidirectional rope tightening and releasing, collecting status data during the loading and unloading process. The angle and gripping tension thresholds are adopted from the allowable range determined during the target configuration calibration stage, and the angular velocity threshold is the sum of the maximum absolute value of the angular velocity obtained from the joint static calibration and the value obtained by dividing one angle resolution unit by the sampling period. The processor arranges the joint angle, rope length, tension, and motion direction collected in this round of bidirectional detection according to the sampling time to form a third time-series state sequence.

[0097] The reset state evaluation module reads the third timing state sequence, extracts the loading and unloading responses according to the tightening and releasing directions of the drive rope, and obtains the corresponding tension response curves through piecewise interpolation. The processor calculates the common angle interval of the two response curves, checks whether the interval covers the reference angle in the first hysteresis feature vector, whether the interval width reaches a preset threshold, and whether the loading and unloading responses have valid sampling records required to complete the interpolation. The common angle interval width threshold is determined based on the difference between the maximum and minimum reference angles in the first hysteresis feature vector, and the maximum value among the angle values ​​corresponding to the angle resolution units of the two joint encoders; the effective sampling quantity requirement is that the loading and unloading responses each have at least two valid sampling records with different angles, and interpolation can be completed at each reference angle. When all the above conditions are met, the processor extracts the loading tension and unloading tension at the same reference angle, calculates their arithmetic mean and the absolute value of their difference, obtains the current hysteresis center and the current hysteresis width, and generates the second hysteresis feature vector. When the identifiable condition is not met, the detection amplitude is adjusted within the angle and tension limits and resampling is performed. If the condition is still not met after reaching the limit, an unidentifiable mark is output. After obtaining a valid second hysteresis feature vector, the processor calculates the corresponding deviations in the following order: current hysteresis center minus reference hysteresis center, current hysteresis width minus reference hysteresis width, and real-time joint angle minus target reset angle. These deviations are combined to form a reset error vector. The absolute value of each deviation is then compared with its corresponding threshold to generate a deviation status marker. The error threshold is a value determined by target configuration calibration and repeated bidirectional probing, and is stored in association with the first hysteresis feature vector.

[0098] It should be noted that the compensation decision module reads the reset error vector and deviation status markers, and determines the compensation action in the order of angle deviation, hysteresis width deviation, and hysteresis center deviation. When the angle deviation exceeds the limit, the processor determines the joint correction direction based on the elastic reset torque and the direction of the driving rope force, calculates the position correction amount based on the theoretical rope length difference between the real-time angle and the target reset angle, and then determines the limited position correction amplitude according to the allowable range of angle and tension. When the angle deviation meets the standard but the hysteresis width deviation exceeds the limit, the processor determines the candidate reciprocating rope length based on the reversing dead zone amount in the friction history state vector, and limits the amplitude according to the allowable rope length range of the tightening and releasing directions. When the angle deviation and hysteresis width deviation both meet the standards, but the hysteresis center deviation exceeds the limit, the processor performs a tension test within the tension threshold range to reacquire the bidirectional tension response. The processor subtracts the hysteresis center before the test from the hysteresis center after the test to obtain the change in hysteresis center. This change is then divided by the actual tension adjustment to determine the hysteresis center change value corresponding to a unit tension adjustment. Based on this, the processor determines the tension compensation direction and amplitude that will bring the hysteresis center closer to the reference hysteresis center. The processor combines the selected action type, control direction, and control amplitude into a reset compensation instruction and writes it to memory; a zero compensation instruction is generated when all deviations meet the standards.

[0099] Furthermore, the closed-loop execution module reads the reset compensation command and controls the drive motor to perform the corresponding action. When the compensation action is position correction or restricted reciprocating adjustment, the processor uses the drive rope winding and unwinding length as the control quantity, calculates the actual winding and unwinding rope length based on the feedback from the motor-side encoder, and uses the drive rope tension as the feedback monitoring quantity. When the compensation action is directional tension compensation, the processor uses the drive rope tension as the control quantity, adjusts the motor output based on the motor current feedback, and uses the winding and unwinding rope length as the feedback monitoring quantity. The processor simultaneously reads the real-time joint angle and stops outputting drive commands along that direction when any monitored quantity reaches the corresponding control boundary. After the compensation is completed, the joint angle, motor rotation angle, and motor current are re-acquired, the second timing state sequence is updated, and the friction state identification module is called to update the transmission residual and friction history state vector. When the joint angle and drive rope tension meet the detection constraints, the active detection module and reset state evaluation module are called to update the second hysteresis feature vector and reset error vector.

[0100] The processor divides the absolute value of the directional angle deviation by the angle error threshold, and divides the absolute values ​​of the hysteresis width deviation and hysteresis center deviation corresponding to each reference angle by the corresponding threshold. It then extracts the maximum value from the hysteresis width deviation ratio and the hysteresis center deviation ratio. The processor squares the three normalized errors, sums them, and then performs a square root operation to obtain the normalized error magnitude. The processor subtracts the normalized error magnitude after compensation from the normalized error magnitude before compensation to obtain the magnitude improvement, and compares it with a preset minimum improvement threshold. The minimum improvement threshold is the maximum absolute value of the difference between adjacent normalized error magnitudes obtained from three rounds of repeated state evaluation under the target configuration, and the maximum value of the normalized angle error corresponding to one encoder angle resolution unit. When the improvement reaches the corresponding threshold and does not cause the already achieved priority error to exceed the limit again, the amplitude of the next round is re-determined according to the current effective compensation direction; when the improvement is insufficient, the position correction and restricted reciprocating adjustment use half of the actual executed amplitude of this round as the candidate amplitude of the next round, the directional tension compensation is re-executed with restricted tension probing, and the compensation direction and amplitude are determined according to the updated hysteresis center change.

[0101] The processor checks the reset termination condition after each round of compensation. When the directional angle deviation, the hysteresis width deviation corresponding to all reference angles, and the hysteresis center deviation all meet their respective thresholds, and the current bidirectional tension response meets the identifiable condition, the closed-loop execution module outputs a reset confirmation status and ends the compensation. When the number of consecutive insufficient improvements reaches 3, the cumulative number of compensation rounds reaches 10, or the bidirectional detection still cannot obtain an identifiable response after reaching the angle and tension limits, the processor terminates the compensation and outputs a reset unconfirmed status, while writing the current friction history state vector, reset error vector, and termination reason into the memory. The above termination parameters are consistent with the aforementioned method implementation, and no new compensation instructions are executed in the reset unconfirmed state.

[0102] Example 11: The main parameters of the test platform and prototype are shown in Table 1.

[0103] Table 1. Main parameters and test / measurement configuration of the prototype.

[0104] Table 1 Explanation and Summary: All parameters above are taken from the engineering range of a conventional tendon sheath-driven dexterous hand. Due to the combined action of the central ligament and the tension spring, the elastic return torque at 45° is approximately 108 mN·m, which translates to a driving tension of approximately 13.5 N on the joint side. Based on the exponential transmission relationship of sleeve friction, the loaded tension at this angle is approximately 20.5 N, and the unloaded tension is approximately 8.9 N, corresponding to a hysteresis width of approximately 11.6 N and a hysteresis center of approximately 14.7 N. This numerical structure indicates that the hysteresis width is clearly distinguishable by a tension measurement channel with a resolution of 0.05 N, and the hysteresis center is on the same order of magnitude as the elastic return tension, thus providing a physical basis for "hysteresis width" and "hysteresis center" as two independent evaluation components. Furthermore, the elastic elongation of the driving rope under 20 N tension is approximately 2.77 mm, which differs from the transmission residual limit of 0.25 mm by an order of magnitude, indicating that the elastic elongation must be compensated independently; otherwise, it will be misjudged as sleeve friction.

[0105] Experiment 1: Angle-Rope Length Calibration and Elastic Elongation Compensation The length change of the drive rope along the tightening direction is defined as positive, and along the release direction as negative. The position of the motor encoder under the preset initial configuration is used as the reference for rope length calculation. The joint movement is controlled in 15° increments within the 0-90° range. At each sampling moment, the joint angle, motor encoder rotation angle, and drive tension are recorded synchronously. The motor rotation angle is converted into the rope length for winding and unwinding using the motor-drum transmission ratio and the effective radius of the drum, establishing an angle-rope length calibration sequence. Linear interpolation is used to determine the reference rope length for the angle values ​​between adjacent calibration angles. Subsequently, keeping the joint angle constant, the tension is adjusted according to the preset tension sequence within the 5-20N range. Using 5N as the reference tension, the elastic elongation compensation is obtained by subtracting the rope length corresponding to the reference tension from the rope length corresponding to the current tension, establishing an elastic elongation compensation relationship. Finally, the rope length for winding and unwinding at each calibration angle is remeasured under a 20N tension. The uncompensated length deviation and the transmission residual after compensation are calculated, and the interpolation deviation at the midpoint of adjacent calibration nodes is examined.

[0106] Experiment 2: External Impact Recognition and Bidirectional Tension Hysteresis Characteristics The joint angle, motor rotation angle, and motor current are collected at a sampling period of 1ms. The timestamps of the three channels are aligned and interpolated to obtain a synchronous sampling sequence. The rope length is calculated based on the motor rotation angle and the effective radius of the drum, and the driving tension is calculated based on the pre-calibrated current-tension relationship, forming a multi-source mechanical state vector sequence. The difference between the actual angle and the synchronous command angle is used as the angle deviation, and the absolute value of the tension difference between adjacent sampling times is used as the tension change criterion. An angle deviation threshold of 2.5°, a tension change threshold of 2.5N, and a 5ms recognition time window are set. When the angle deviation exceeds the limit and a tension change occurs within the time window, the system detects the change. The candidate impact moment is marked, and then the normal driving action is excluded by the controller's active motion command to determine the external impact moment. Using this moment as the boundary, the data before 200ms is divided into the first time-series state sequence (remaining unchanged), and the data thereafter is divided into the second time-series state sequence (continuously updated). The reference rope length and elastic elongation compensation are subtracted from the two sets of sequences respectively to obtain the first and second transmission residual sequences; the reversing dead zone is obtained from the cumulative rope length change from the reversing moment to the first time the joint angle change exceeds the response threshold in the second sequence; the historical residual offset is obtained from the median of the residual difference between the two sets of residuals under the same angle, same motion direction and same tension range conditions. The two are combined to form the friction history state vector.

[0107] Experiment 3: Comparison of Reset Control and Cyclic Stability Ten impact-reset tests were conducted at each of the three impact levels: slight (0.15J), moderate (0.35J), and strong (0.60J), for a total of 30 tests. The impact was applied by a pendulum falling 0.3m from the corresponding height to strike the fingertip, with the impact point 45mm from the joint axis. The impact energy was determined by the pendulum mass and the fall height. Method A stopped control only after the joint angle entered the target neighborhood; Method B applied a fixed +3N tension increment after the angle met the target; Method C used the method of this invention, prioritizing angle deviation, hysteresis width deviation, and hysteresis center deviation, sequentially performing position correction, restricted reciprocating adjustment, and directional tension testing. The angle error threshold was set at 0.5°, the hysteresis width error threshold at 1.5N, and the hysteresis center error threshold at 0.6N. After reset, bidirectional micro-amplitude detection was performed again at the same reference angle of 45°, the hysteresis center and hysteresis width were recalculated, and the compliance of each component was evaluated.

[0108] After the above reset test, 100 "impact-grip" cycle tests were performed on each of the three methods: each cycle was first impacted with 0.35J to deviate the joint, then reset was performed and the joint was driven to grip the same standard test object (φ40mm, mass 200g cylinder), and the peak gripping force and the hysteresis width at the end of the cycle were recorded.

[0109] Experiment 1: The results of angle-rope length calibration and elastic elongation compensation are shown in Table 2.

[0110] Table 2. Verification Results of Angle-Rope Length Calibration and Elastic Elongation Compensation

[0111] Table 2 Explanation and Summary: Under a tension of 20N, the elastic elongation compensation of the drive rope at each calibration angle is 2.77mm. Without deducting this, the deviation between the measured rope length and the calibration rope length remains stable at +2.63-+2.82mm. This deviation is much larger than the reversing dead zone (0.34-0.46mm), which would constitute a systematic bias in the residual calculation, rendering the determination of the offset direction of the friction history state vector meaningless. After deducting the elastic elongation, the maximum transmission residual at each angle is only 0.143mm, all within the engineering limit of 0.25mm. The maximum interpolation deviation at the midpoint of adjacent calibration nodes is 0.120mm, which is only 1.02% of the reference rope length of approximately 11.8mm at that point, indicating that the linear interpolation in 15° increments has sufficient accuracy between nodes. Conclusion: The calibration and elastic elongation compensation processes are effective, providing a clean comparison base for subsequent residual calculations.

[0112] Experiment 2: The results of external impact identification are shown in Table 3.

[0113] Table 3 External Impact Identification Results

[0114] Figure 4 As illustrated in Table 3, none of the 12 normal driving actions were falsely identified because the peak angle deviation was only 0.9° and the peak tension change was only 1.1N, both failing to simultaneously exceed the combined thresholds of 2.5° and 2.5N. This indicates that the dual-condition joint criterion of angle deviation and tension change effectively eliminates interference from the controller's active movement. Of the 36 real impacts, 35 were correctly identified, achieving a recognition rate of 97.2%. The only missed detection occurred in the minor impact group, where the peak tension change was only 2.1N, below the 2.5N threshold. The recognition delay decreased with increasing impact intensity (from 8.6ms to 6.1ms), consistent with the physical law that greater impact energy leads to more severe angle deviation and tension change. This suggests that the criterion responds faster to strong impacts, while sacrificing slightly longer delays for reliable recognition in the case of weak impacts.

[0115] Experiment 2: The bidirectional tension hysteresis characteristics before and after impact are shown in Table 4.

[0116] Table 4. Friction history and bidirectional tension hysteresis characteristics before and after impact.

[0117] Figure 5As explained in Table 4: all measurements were taken with the joint back to the reference angle of 45°. The post-impact loading tension gradually increased from 20.5N to 25.3N, while the unloading tension only slightly increased from 8.9N to 9.0N. This asymmetrical change resulted in a hysteresis width increasing from 11.6N to 16.4N (an increase of approximately 41% under strong impact conditions), and a hysteresis center increasing from 14.7N to 17.1N. Correspondingly, the commutation dead zone increased from 0.34mm to 0.46mm, and the historical residual offset increased from 0 to +0.24mm. This data provides the most direct evidence for the core argument of this invention: simply returning the joint angle to the target value does not necessarily indicate that the transmission state has been restored; a difference of approximately 23% can occur in the loading tension at the same joint angle. Meanwhile, the width increments (+1.70, +2.88, +4.81N) and center increments (+0.78, +1.51, +2.43N) caused by the three impact levels all increase monotonically with the impact intensity, indicating that the hysteresis width deviation and hysteresis center deviation can quantitatively characterize the impact intensity and can be used as driving forces for subsequent compensation actions.

[0118] Experiment 3: The performance comparison of the three reset control methods is shown in Table 5.

[0119] Table 5. Performance comparison of three reset control methods (30 times each)

[0120] Table 5 explains: (1) The number of times that all three criteria of Method A are met simultaneously is 0 / 30, and the number of times that the hysteresis width criterion is met is only 1 / 30. However, 13 of these tests were judged as completed because the angle entered the target neighborhood. This shows that the reset criterion of angle-only closed loop has obvious loopholes: the angle error has been reduced to 0.50°, but the hysteresis width deviation is still as high as 3.15N (about 2.1 times the threshold of 1.5N). The abnormal force transmission is completely missed, which is consistent with the defects of the prior art pointed out in the invention.

[0121] (2) After applying a fixed tension increment of +3N using method B, the hysteresis center deviation, which was introduced by the impact at approximately 1.6N, worsened to 4.59N, and there were four instances of tension exceeding the limit or over-adjustment. This indicates that when the direction of sleeve friction is unknown, a single tension increase strategy may result in useless or even harmful adjustments.

[0122] (3) In Method C, all three criteria were met simultaneously 28 / 30 times, the hysteresis width deviation was reduced to 0.68N, approximately 1 / 5 of that in Method A; the hysteresis center deviation was reduced to 0.41N; and there was no tension exceeding the limit throughout the process. The cost was that the average reset time increased from 1.13s to 2.18s and the average iteration time was 3.2 rounds, which is a reasonable trade-off between time and consistent force transmission. Of the two instances of "reset not confirmed," one was triggered by the unidentifiable probe and the other by reaching the iteration limit. Both were correct outputs as designed, rather than misjudgments.

[0123] Experiment 3: The compensation iteration process and hierarchical confirmation results are shown in Table 6.

[0124] Table 6. Hierarchical compensation iteration and termination status of the method of the present invention.

[0125] Table 6 shows that the number of compensation iterations monotonically increases with impact intensity (width increment +1.70N corresponds to 2.0 iterations, +4.81N corresponds to 4.4 iterations, correlation coefficient 0.97), indicating that the control quantity adapts to the actual error rather than a fixed step size. The strong impact group experienced one instance of unidentifiable termination and one instance of iteration upper limit termination, proving that the termination logic is effective under extreme conditions, and the system will not falsely report a state that has not yet received valid confirmation as a reset completion.

[0126] Experiment 3: The stability of 100 "impact-grab" cycles is shown in Table 7.

[0127] Table 7. Grasping stability of the three methods under 100 impact-grasp cycles.

[0128] Table 7 explains: The target peak gripping force is 8.6 N. The standard deviations of methods A and B are 1.27 N and 1.75 N, respectively, with 75 and 82 instances of peak gripping force deviating from the target by more than 0.5 N, respectively. The mean of method B shifts to 9.47 N, reflecting systematic over-grip caused by the fixed tension increment. The standard deviation of method C is 0.28 N, the range is 1.32 N, the deviation from the limit is only 6 times, and the hysteresis width drift after 100 cycles is only +0.4 N (compared to +2.9 N for method A and +4.3 N for method B).

[0129] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A dexterous finger repositioning control method based on multi-source mechanical data fusion, applicable to cannulated rope-driven dexterous fingers with central ligament and tension spring repositioning, characterized in that, include: S1. The relationship between calibration angle, rope length and elastic elongation is used to obtain the loading and unloading tension under the target configuration, calculate the reference hysteresis center and width, and generate the first hysteresis feature vector. S2. Collect joint angles, motor encoders and current, calculate rope length and tension, and divide the state sequence before and after impact based on angle deviation and tension change. S3. Calculate the compensation rope length residual of the two sequences, extract the dead zone amount of the reversal and the historical residual offset under the conditions of angle, motion direction and tension interval matching, and generate the friction history state vector. S4. Combining the elastic reset torque and the gripping tension constraint to control the return position, after entering the target angle neighborhood, the system performs restricted bidirectional detection based on the friction history state vector to form a detection sequence. S5. Extract the loading and unloading tension responses from the detection sequence. If the common angle interval is identifiable, calculate the current hysteresis center and width, and generate the second hysteresis feature vector. Otherwise, adjust the detection amplitude. S6. Compare the first and second hysteresis feature vectors, and combine them with the directional angle deviation to generate a reset error vector; S7. Based on the priority of angle, hysteresis width, and hysteresis center deviation in the reset error vector, perform position correction, restricted reciprocating adjustment, or directional tension trial compensation. S8. Perform compensation, update the friction history state vector and reset error vector, iteratively adjust according to the error improvement, and end when the thresholds are met. If there is no improvement or the error is unidentifiable, output the reset unconfirmed state.

2. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S1 includes: Collect the drive rope release and take-up lengths and tensions corresponding to different joint angles, and construct an angle-rope length calibration sequence; Establish the interpolation correspondence between angle and rope length based on the calibration sequence, and determine the elastic elongation compensation relationship by combining the rope length changes corresponding to different tensions at the same angle. Perform bidirectional micro-amplitude rope retraction and extension within the target configuration and preset tension and angle thresholds to obtain the loading response sequence and unloading response sequence; Interpolation matching is performed based on the common angle range of the two response sequences to extract the loading tension and unloading tension under the same reference angle; The first hysteresis feature vector is constructed by using the mean and absolute value of the difference between the loading tension and the unloading tension as the reference hysteresis center and reference hysteresis width, respectively.

3. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S2 includes: Collect joint angle, motor rotation angle and motor current according to the preset sampling period, and align the timestamps to obtain a synchronous sampling sequence; The drive rope winding and unwinding length is calculated based on the effective radius of the drum, and the drive rope tension is estimated based on the calibration relationship between current and tension. A multi-source mechanical state vector sequence is then constructed. The deviation between the actual joint angle and the synchronous command angle is calculated, and the driving rope tension is subjected to time-series difference to generate a characteristic sequence of angle deviation and tension change. Based on the moment when the angle deviation exceeds a preset threshold, and combined with the tension change characteristics within a preset time window, the moment of external impact is identified. Using the moment of external impact as the dividing point, the multi-source mechanical state vector sequence is divided into a first time-series state sequence before impact and a second time-series state sequence after impact. The first time-series state sequence is fixed and the second time-series state sequence is updated in a rolling manner.

4. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S3 includes: The joint angles, rope lengths and tensions in the state sequences before and after the impact are extracted respectively. The theoretical rope length and elastic elongation are calculated based on the angle-rope length relationship and the elastic elongation compensation relationship. Calculate the difference between the actual rope length and the theoretical rope length and the elastic elongation to generate the first transmission residual sequence and the second transmission residual sequence; The timing of the drive rope reversal after the impact is identified based on the second transmission residual sequence. The rope length change during the period from the reversal to the joint angle change exceeding the response threshold is accumulated to obtain the reversal dead zone. Match the data in two transmission residual sequences that meet the comparability conditions for angle, direction of motion and tension range, calculate the statistical value of the corresponding residual difference, and obtain the historical residual offset. The commutation dead zone and historical residual offset are combined into a friction history state vector. When no valid matching data can be obtained, the corresponding component is marked as a state to be updated.

5. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S4 includes: Obtain the real-time joint angle, central ligament pretension force, and tension spring stiffness, and calculate the elastic restoring torque by combining the elastic deformation and stress arm. The tension adjustment amount is determined based on the elastic reset torque and the direction of force applied by the drive rope, and the joint return is controlled within the gripping tension threshold range. When the joint angle deviation and angular velocity are both below the corresponding thresholds, the friction history state vector is extracted. Candidate detection amplitudes are determined based on the commutation dead zone, amplitude correction is performed by combining historical residual offsets, and detection amplitudes are limited by angle and tension thresholds. When effective historical data is lacking, pre-calibrated amplitudes are used. Perform bidirectional rope retraction and release according to the limited detection range, simultaneously collect joint angles, rope lengths and tension, and generate a third time-series state sequence based on the sampling time.

6. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S5 includes: Extract joint angles, drive rope tension, and release / retraction direction from the detection sequence to construct loading and unloading response sequences; Piecewise interpolation is performed on the two response sequences to generate loading response curves and unloading response curves, respectively; Calculate the common angle interval of the two response curves, and determine whether the preset identifiable conditions are met based on the reference angle coverage, interval width, and effective sampling number. If the identification conditions are not met, the detection amplitude is adjusted within the angle and tension limits and resampling is performed. If the conditions are still not met after reaching the limits, an unidentifiable mark is output. When the identifiability condition is met, the loading tension and unloading tension under the same reference angle are extracted, and the mean and absolute value of the difference between the two are used as the current hysteresis center and the current hysteresis width, respectively, to construct the second hysteresis feature vector.

7. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S6 includes: Obtain the first hysteresis feature vector and the second hysteresis feature vector, and extract the hysteresis center and hysteresis width data corresponding to the same reference angle; Calculate the hysteresis center deviation by subtracting the reference hysteresis center from the current hysteresis center; Calculate the hysteresis width deviation by subtracting the reference hysteresis width from the current hysteresis width. Obtain the real-time joint angle and the target reset angle, and calculate the directional angle deviation in the order of real-time angle minus target reset angle; The directional angle deviation, hysteresis center deviation, and hysteresis width deviation are combined into a reset error vector, and a deviation status mark is generated based on the comparison between the absolute value of each component and the corresponding threshold.

8. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S7 includes: Obtain the reset error vector and the corresponding error threshold, and determine the compensation priority in the order of angle, hysteresis width, and hysteresis center deviation; When the angle deviation exceeds the limit, the correction amplitude of the restricted position is determined based on the elastic reset torque and the direction of the force applied by the drive rope. When the angle deviation meets the standard but the hysteresis width deviation exceeds the limit, the amount of rope retraction and release with the limit is determined based on the reversal dead zone in the friction history state vector. When the two current deviations meet the standard but the hysteresis center deviation exceeds the limit, a restricted tension test is performed and the bidirectional tension response is reacquired. The direction and amplitude of tension compensation are determined based on the change of the hysteresis center before and after the test. Select the corresponding control action according to the compensation priority, generate a reset compensation instruction containing the action type and control amplitude, and generate a zero compensation instruction when all deviations meet the standard.

9. The dexterous finger repositioning control method based on multi-source mechanical data fusion according to claim 1, characterized in that, S8 includes: Based on the action type of the reset compensation command, select rope length or tension as the control quantity and another variable as the feedback monitoring quantity to perform amplitude limiting compensation. Collect compensated multi-source mechanical state data, update the post-impact state sequence, and recalculate the transmission residual and friction history state vector; When the joint angle and gripping tension meet the detection constraints, the bidirectional tension response is reacquired, and the second hysteresis feature vector and reset error vector are updated. The normalized error modulus is calculated based on the ratio of each error component to its corresponding threshold. The direction or magnitude of the next round of compensation is then adjusted based on the modulus improvement and whether the individual deviation exceeds the limit. When all error components meet the standard, the reset is confirmed; when continuous improvement is insufficient, the iteration limit is reached, or the detection becomes unidentifiable, the compensation is terminated and the reset unconfirmed status is output.

10. A system applicable to the dexterous finger repositioning control method based on multi-source mechanical data fusion as described in any one of claims 1-9, applied to a dexterous finger having a central ligament, a tension spring, and a sleeve-driven mechanism, characterized in that, include: The calibration module is used to obtain the correspondence between joint angle, drive rope release and take-up length and tension, and to calculate the reference hysteresis center and width through bidirectional micro-amplitude calibration to generate the first hysteresis feature vector. The data acquisition module is used to synchronously acquire joint encoder, motor-side encoder and motor current data, construct multi-source mechanical state sequence, and identify the impact moment according to angle deviation and tension change, and divide the state sequence before and after impact. The friction state identification module is used to calculate the compensation rope length residual before and after the impact, extract the commutation dead zone and historical residual offset, and construct the friction history state vector. The active detection module is used to control the joint return by combining the elastic reset torque and the gripping tension constraint, determine the restricted bidirectional detection amplitude based on the friction history state vector, and collect the loading and unloading tension response; The reset state evaluation module is used to calculate the current hysteresis center and width based on the identifiability of the loading and unloading tension response, generate a second hysteresis feature vector, and construct a reset error vector by combining the first hysteresis feature vector and the directed angle deviation. The compensation decision module is used to determine the position correction, restricted reciprocating adjustment or directional tension trial compensation strategy based on the priority of angular deviation, hysteresis width deviation and hysteresis center deviation in the reset error vector, and generate reset compensation instructions. The closed-loop execution module is used to control the drive motor according to the reset compensation command, update the friction history state vector and reset error vector, and iteratively adjust the compensation amplitude or direction according to the degree of error improvement until each deviation meets the corresponding threshold to complete the reset control; when the compensation is ineffective or the detection is unidentifiable, the reset unconfirmed state is output.