Manuscript Offprint
arXiv:2611.09877Locating Contact on Tendon-Driven Continuum Robots From Tendon Measurements Alone via Constrained Moving Horizon Estimation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Tendon-driven continuum robots can reach through constrained spaces, but contact along their bodies is invisible to the sensors at their motors. We show that this is a structural limitation rather than a tuning problem: the map from contact forces to tendon measurements has a null space of dimension at least seven, so no estimator that leaves the contact support free can locate contact. When the obstacle geometry is known, however, non-penetration and complementarity make the contact force locally identifiable, and we prove that the resulting system with unknown contact inputs is locally exponentially strongly detectable. We present a constrained moving horizon estimator (MHE) that encodes these conditions and runs in real time as one quadratic program per sample, and we give a local, mode-wise robust stability result for it. In a finite-element benchmark of a two-section robot pressing and sliding on a wall, the estimator located contact to 0.9 mm and estimated contact force to 0.22 N, compared with 65 mm and 0.72 N for a tuned extended Kalman filter (EKF) with state projection. The estimator tolerated millimeter-level errors in the obstacle position and unmodeled wall friction, under which the projected EKF failed. Under randomized model mismatch over 40 trials, including unmodeled tendon friction, it remained better in force and location in every trial. Without contact, the MHE offered no advantage over the EKF, which confirms that its benefit comes from the contact constraints. This report extends a letter submitted to IEEE Control Systems Letters with complete proofs and additional experiments.
1 Introduction
Continuum robots could act as our hands in spaces that rigid instruments cannot reach, such as the anatomy traversed in minimally invasive surgery [1]. In these spaces the robot body touches its surroundings along its length, and knowing where and how hard it touches is needed both for safety and for control. However, sensing contact on a continuum robot is challenging, because force sensors are difficult to integrate into slender, flexible, and often sterilizable bodies.
Existing methods therefore infer contact from the robot's own deflection. Table 1 summarizes the closest work. Xu and Simaan [2] estimated external wrenches from actuation forces, and Bajo and Simaan [3] detected and localized contacts from kinematic deviations of multisegment robots. Aloi et al. [4] estimated distributed loads and their locations from shape measurements with a Cosserat model and an EKF, Ferguson et al. [5] estimated shape and external loads jointly,
Table 1: Contact estimation for continuum robots: sensing and estimated quantities.
| Work | Sensing | Estimates | Estimator |
|---|---|---|---|
| Xu & Simaan [2] | actuation forces, configuration | wrench | statics |
| Bajo & Simaan [3] | segment kinematics | contact, segment | thresholds |
| Aloi et al. [4] | 3D shape, tensions | loads and locations | EKF |
| Ferguson et al. [5] | position or strain | shape and loads | batch estimation |
| Johnston et al. [6] | shape, motor current | wrench | momentum observer |
| Prakash et al. [7] | strain, tip pose, tensions | multiple contact forces | factor graph |
| Tavangarifard et al. [8] | distributed fiber strain | contact, location, force | learned |
| Feng et al. [9] | tendon tension and displacement | tip force | learned |
| This work | tendon tension and displacement | shape, force, location | constrained MHE |
Johnston et al. [6] used a modal momentum observer, and Prakash et al. [7] estimated multiple contact forces with a factor graph from strain and pose measurements. Learned methods have used distributed optical-fiber strain [8]. Each of these methods that localizes contact along the body relies on a shape signal. The only method we found that uses tendon measurements alone [9] estimates the force at the tip, not where contact occurs.
Building on these results, there is a need for an estimator that locates and sizes contact along a tendon-driven robot using only the signals available at its motors. This report presents such an estimator, explains why it requires constraints that a Kalman filter cannot represent, and states when it is stable. Constrained moving horizon estimation (MHE) [10,11] with contact complementarity has been used for legged robots [12], where contact sensors provide the active contact set; here the active set must be inferred from geometry. The contributions of this work are:
-
An identifiability and detectability analysis of contact from tendon measurements. We prove that contact forces are not identifiable from tendon lengths without information on the contact support (Proposition 1), and that complementarity with a known obstacle restores local identifiability (Proposition 2) and local exponential strong detectability (Proposition 3). In contrast to prior observability discussions [6], which concern wrench components at a known contact, our analysis addresses where along the body contact occurs.
-
A real-time constrained MHE with a stability result. We encode non-penetration, non-negative forces, and complementarity in an MHE and solve it with a real-time iteration [13,14], replacing complementarity by a linearized penalty. We give a local, mode-wise robust stability result (Theorem 1). In contrast to [12], our estimator infers the active contact set from geometry.
-
A finite-element benchmark against tuned Kalman filtering. We compare the estimator with tuned EKFs, including state projection [15], under nominal conditions, obstacle-position error, unmodeled wall friction, mid-body contact, randomized model mismatch, and, as a control, motion without contact.
The remainder of this report is organized as follows. Section 2 describes the robot, the reduced model, and the contact model. Section 3 presents the identifiability and detectability analysis. Section 4 presents the estimator and its stability. Section 5 reports the simulation study, and Section 6 concludes.
2.1 Robot and sensors
We consider a two-section tendon-driven robot of length 0.6 m. Each section has three tendons spaced at and offset 20 mm from the backbone, and the tendons of the second section are rotated by relative to the first. Twenty-four spacer disks of radius 26 mm route the tendons. The only measurements are the six tendon length changes at the motors, with 0.1 mm noise, and the six tendon tensions , with 0.5 N noise, both sampled at 20 Hz. The length measurements include the elastic elongation of the tendons, which we compensate with a tendon stiffness that is deliberately 10% different from the true value. The tensions are commanded by a feedforward allocation that keeps all tendons above a 2 N pretension.
2.2 Reduced model
The estimators use a pseudo-rigid-body rod with joints placed at the midpoints of 12 equal segments, so that a constant-curvature arc is reproduced exactly at the joints. Each joint has two bending angles and one torsion angle, so the configuration is with . We include torsion because a lateral contact at the tip twists the backbone by approximately in our scenarios: a 1.85 N contact force acting at a lever of approximately 0.2 m against a torsional stiffness . Without torsion, every model-based estimator we tested failed in sliding contact, with shape errors of 9–12 mm instead of 2–3 mm.
Tendon-driven continuum robots move slowly relative to their elastic dynamics, so we model the motion as overdamped and write it with implicit Euler discretization as
where s is the sample time; is a scalar damping coefficient; is the diagonal joint stiffness, with entries for bending and for torsion, segment length m, and ; is the gravitational potential of the disks; are the tendon path lengths, computed as polylines through the disk holes, with Jacobian ; and is the Jacobian of the candidate contact points defined below. The tendon term follows from virtual work: a tendon under tension does work . We chose implicit Euler because the elastic dynamics are stiff at s. We calibrated on one free-motion training run by matching the open-loop shape; the best value, N ms, agrees with , the structural damping of the ground truth, and we use it unchanged throughout. The measurement model is
where is measurement noise with standard deviation .
2.3 Contact model
The obstacle is a plane at a known position along its normal. We place candidate contact points at the 12 joints and the tip, with normal forces and gaps
(4) where are the point coordinates along the obstacle normal and mm is the spacer-disk radius, so that a zero gap corresponds to a disk rim touching the plane. Figure 1(a) shows the candidate points on the ground-truth robot during contact. Physically admissible contact satisfies
The last condition, i.e., complementarity, states that force acts only where the robot touches the obstacle. Contact in the estimators is frictionless; Section 5.4 tests the effect of friction in the ground truth.
3 Identifiability and Detectability
This section shows that tendon measurements cannot locate contact on their own and that complementarity supplies the missing information. We first analyze the quasi-static map from forces to measurements, and then the dynamic system with unknown contact inputs.
3.1 Quasi-static identifiability
Let , the Hessian of the elastic and gravitational potential plus the tendon-curvature term. In all configurations analyzed below, the symmetric part of was positive definite (Section 3.3). At an equilibrium , the implicit function theorem gives locally, and the sensitivity of the measurements to the contact forces is
Proposition 1 (Non-identifiability). Since rank , the null space has dimension at least . For any admissible and any with admissible, the two force distributions produce the same measurements to first order. Therefore no estimator that leaves the support of free can identify locally from .
Proof. has six rows, so and . Local identifiability at requires the measurement map to be locally injective, which requires ; this is impossible when .
Proposition 2 (Identifiability under complementarity). Let be the active contact set, assume strict complementarity ( for ), and let denote the columns of indexed by . If has full column rank, then under (5) the forces are locally identifiable from , and any unbiased estimator satisfies the Cramér–Rao bound
Proof. Under (5), for , so the unknown reduces to . Locally, with Gaussian , whose Fisher information is . This matrix is nonsingular if and only if has full column rank, in which case the map is injective and (7) follows from the Cramér–Rao inequality.
Remark 1 (Where the active set comes from). Proposition 1 shows that the active set cannot be read from . It comes from geometry: the shape is pinned by the measurements together with the model (1), and the gap constraint with complementarity selects the points that touch the known obstacle. Complementarity is a nonconvex, combinatorial condition, which a Kalman filter
(a)

(b)
Figure 1: Problem setting. (a) Finite-element ground truth during contact (run 1, side view), with the 13 candidate contact points and the true contact force at the tip. (b) Singular values of the sensitivity G from contact forces to tendon measurements (median and 10th–90th percentiles over 990 configurations). Seven directions lie in ker G and only approximately three exceed the noise level.
cannot represent. An EKF that augments with random-walk states inherits Proposition 1: its covariance grows along ker , and projecting each estimate onto [15] removes only the infeasible part of the resulting drift.
Figure 2 evaluates these quantities along five simulated contact runs (990 configurations, 805 in contact). The median singular values of were 21, 1.3, 0.14, 0.021, , and mm/N, so with mm only approximately three force directions are detectable at 1 N. Neighboring columns of were nearly parallel (median cosine 0.9997), so the measurements alone cannot distinguish adjacent contact points. The active set contained one point in 96% and two points in 4% of the contact configurations; had full column rank in all of them, with a median smallest singular value of 11 mm/N (minimum 0.05 mm/N). The Cramér–Rao bound on the total contact force had a median of 0.009 N (95th percentile 0.02 N).
3.2 Strong detectability with unknown contact inputs
For estimation over time, we linearize (1)–(3) along a reference trajectory . Writing , this gives
with , , and . For an active set , let denote the columns of indexed by .
Assumption 1. For a fixed active set A and a compact neighborhood of the reference trajectory:
(S1) for some ;
(S2)
(S3) the zero dynamics , with , are uniformly exponentially stable, i.e., for some and all .

Figure 2: Identifiability along five contact runs. (a) Singular values of . (b) A force distribution in ker , which changes no tendon length. (c) Similarity of neighboring columns of : adjacent contact points look almost identical to the tendons. (d) Cramér–Rao bound on the total contact force with a known active set, compared with the error of the real-time MHE; the gap of approximately is due to model mismatch rather than sensor noise.
Condition (S1) states that elastic stiffness dominates, which makes the implicit step well posed. Condition (S2) is the discrete-time analogue of the rank condition for unknown-input observers, and (S3) requires the states that produce zero output under a suitable unknown input to decay; together, (S2) and (S3) are the linear characterization of strong detectability [16,17].
Proposition 3 (Local exponential strong detectability). Under Assumption 1, there exist , , and such that any two solutions and of the model (1)–(3) with additive process disturbances that remain within of the reference satisfy, for all ,
where denotes the difference between the two solutions. That is, the system with unknown input is locally exponentially strongly detectable in the sense of [17].
Proof. Let , , , and .
Step 1 (local expansion). By (S1), is invertible on the neighborhood, so by the implicit function theorem the step map defined by (1) is and
where bounds the second derivatives on the compact neighborhood and .
Step 2 (input recovery). Substituting the first line into the second gives . By (S2), has a left inverse with norm at most , so
Since , , and are bounded and the remainders are quadratic, for small enough this yields (10) with a suitable .
Step 3 (error dynamics). Inserting into the first line of Step 1 gives
By (S3), the transition matrix of satisfies with and the maximum norm of products of fewer than factors. Variation of constants gives
Step 4 (absorbing the remainder). On the neighborhood, for some proportional to , so each quadratic term is bounded by times the corresponding linear term. Choosing such that and applying a discrete Gronwall argument by induction on gives (9) with and a suitable .
Remark 2. If all candidates are treated as unknown inputs, i.e., without complementarity, then and (S2) fails. This is the dynamic counterpart of Proposition 1.
3.3 Numerical verification of the assumptions
We evaluated Assumption 1 at the 805 contact configurations. The smallest eigenvalue of was 0.36, so (S1) holds, and the free dynamics were contractive with . The matrix had full column rank in all 805 configurations, with a median smallest singular value of 2.2 mm/N and a minimum of 0.004 mm/N, so (S2) holds with a large but finite input-recovery gain at a few configurations. For (S3), the pointwise spectral radius of was at most 0.967 (median 0.81); single steps could expand the norm by up to near changes of the active set, so we evaluated products along full trajectories. Products over 20 consecutive samples (1 s) had norm at most 0.32, and over 40 samples at most 0.033, on runs 1, 3, and 5. With all 13 candidates as unknown inputs, in every configuration.
4 Constrained Moving Horizon Estimation
This section presents the estimator, its real-time implementation, and its stability.
4.1 Problem formulation
At sample , the MHE estimates the configurations and contact forces over the window by solving
(11)
where ; is the residual of (1), which eliminates the process noise as a decision variable; and define the arrival cost; weights the model residual; is a small weight that favors sparse forces; and relaxes complementarity. We chose the horizon
(0.3 s) to be long enough to span the settling of the overdamped dynamics but short enough to keep the problem small. Solved to convergence with IPOPT [18] through CasADi [19], using a Gauss-Newton Hessian of the Lagrangian (which gave the same solutions as the exact Hessian faster), (11) takes 580 ms per sample.
4.2 Real-time iteration
Following [13,14], we solve one Gauss-Newton quadratic program (QP) per sample, linearized at the window from the previous sample shifted by one step. The residual Jacobians come from small per-stage functions compiled to C, which compile in minutes, unlike a function for the whole window. We solve the QP with OSQP [20], warm-started and polished, with tolerances of .
Because complementarity is nonconvex, we replace it in the QP by a linearized penalty,
where is the linearization point and prices force at each candidate point by its current gap; we also fix when mm. Non-penetration is kept as a linearized hard constraint. We first tried a hard rule that fixed whenever mm. This rule failed: when the estimated robot drifted slightly away from the obstacle, the estimated force locked at zero for more than 1 s. The penalty (12) degrades gracefully instead, because a slightly misplaced contact point only raises the price of force there.
The real-time estimator takes 28 ms per sample on average (95th percentile 47 ms; 2.2% of samples above the 50 ms budget) in Python on a two-core virtual machine, with accuracy equal to the fully converged MHE (Section 5).
4.3 Stability
Theorem 1 (Local robust stability of the real-time MHE). Assume hold for every visited active set, process and measurement disturbances are bounded by and , and active sets persist for at least samples. Let bound the linear perturbation of the QP cost introduced by (12). Then there exist , and gains such that, for , , and , the real-time MHE satisfies, for all ,
where .
Proof sketch. Fixed active set, exact MHE. Proposition 3 gives local exponential strong detectability. Under this property, MHE with a sufficiently long horizon is a robust unknown-input estimator with exponential bounds [17, Thm. 3.6], which builds on the Lyapunov-based robust stability analysis of [21] and the detectability framework of [22].
Real-time iteration. With full-rank Gauss-Newton Jacobians, the single-QP scheme inherits the contraction of the exact MHE in a neighborhood of the solution, up to an additional term that is quadratic in the linearization error [14]. Choosing small keeps this term dominated by the contraction.
Penalty. The QP has a positive-definite Gauss-Newton Hessian on the free directions and linearly independent active constraints, so its solution is unique and Lipschitz in the linear cost term. The penalty (12) therefore shifts the estimate by at most .
Changes of the active set. The Lyapunov functions of adjacent active sets are equivalent on the neighborhood, so the error bound grows by at most a factor at each change. If , i.e., , a dwell-time argument [23] preserves exponential decrease across changes.
Remark 3 (Scope). Theorem 1 is local and mode-wise. Its detectability assumptions are proven to imply the needed property (Proposition 3) and are verified numerically along the simulated trajectories (Section 3.3), but the constants are not computed. Section 5.5 checks the predicted behavior empirically.
5 Simulation Study
This section compares the estimators on a finite-element ground truth. We first describe the setup and baselines, and then report the nominal comparison, robustness tests, convergence, model mismatch, and a control experiment without contact.
5.1 Ground truth
We simulated the robot in SOFA [24] with a corotational Timoshenko beam of 24 elements on rigid frames, with physical disk mass and rotational inertia. Routed tendons apply their load as distributed local moments in the frame of each element they pass through. We chose this representation because SOFA's corotational beam mishandled the large follower compression that the equivalent point forces produce, while the axial strain neglected in this way is below 0.5%. The wall is a stiff penalty contact (3000 N/m) on the backbone points, offset by the disk radius. Five 40 s runs with randomized commands placed the wall 0.26–0.31 m from the base axis; the robot was in contact 67–94% of the time, with forces up to 4.7 N at 0.525–0.6 m of arc length. We tuned all estimators on a separate run.
5.2 Baselines
We compare against four estimators. PCC inversion fits a piecewise-constant-curvature model [25] to the tendon lengths by least squares. The other three share the model (1)–(3): an EKF without contact; an EKF with the 13 contact forces as random-walk states; and the same EKF with projection of each estimate onto by a QP [15]. We tuned the EKF's force process noise on the tuning run over a grid of 0.02–0.5 N. The best values were 0.05 N without and 0.1 N with projection; an earlier untuned value of 0.5 N had overstated the MHE's force advantage by approximately .
5.3 Nominal comparison
The real-time MHE estimated total contact force with an RMSE of 0.22 N and contact location with an error of 0.9 mm, compared with 0.72 N and 65 mm for the projected EKF (Table 2). Shape error was the same for both (3.0 and 3.2 mm), which shows that the gain comes from the contact constraints rather than from the model. Without projection, the EKF placed 6.6 N of force at points that were not in contact and estimated the robot 25.8 mm inside the wall, as Proposition 1 predicts. Figure 3 shows the effect over time: the projected EKF overestimated the force at 38 s (7.6 N versus 2.9 N) and its location estimate moved between candidate points by up to 0.3 m, while the MHE remained at the true contact point. The real-time MHE matched the fully converged MHE, with a slightly lower force error, likely due to the smoothing effect of the penalty (12).
Table 2: Mean (standard deviation) over five contact runs. Location: error in the force-weighted contact arc length. Spurious: mean force estimated at points more than 10 mm from the wall. Penetr.: maximum estimated penetration into the wall. Detect.: fraction of samples with correct contact detection (threshold 0.3 N).
| Estimator | Shape (mm) | Force (N) | Location (mm) | Spurious (N) | Penetr. (mm) | Detect. (%) | Time (ms) |
|---|---|---|---|---|---|---|---|
| PCC | 13.8 (2.3) | – | – | – | – | – | 0.5 |
| EKF, no contact | 23.0 (3.2) | – | – | – | – | – | 91 |
| EKF + forces | 5.6 (0.4) | 2.44 (0.62) | – | 6.6 | 25.8 | 41 | 137 |
| EKF + projection | 3.2 (0.3) | 0.72 (0.26) | 65 (12) | 0.50 | 9.0 | 95 | 140 |
| MHE, IPOPT | 3.0 (0.3) | 0.25 (0.12) | 2.1 (0.6) | 0.009 | 0 | 98 | 580 |
| MHE, real time | 3.0 (0.3) | 0.22 (0.08) | 0.9 (0.8) | <0.001 | 0.04 | 98 | 28 |

Figure 3: Contact estimation over time (run 1). (a) Total contact force. (b) Force-weighted contact location along the arc length, shown when the force exceeds 0.3 N.
5.4 Robustness
Table 3 and Fig. 5 summarize four further tests with unchanged tuning. First, an error of ±5 mm in the assumed wall position raised the MHE's force error from 0.22 to at most 0.27 N, and its reported penetration, measured against its own wrong wall, stayed below 0.7 mm. The projected EKF's location error nearly doubled when the wall was assumed 2 mm too close. Second, with Coulomb friction at the wall ( and 0.3), implemented in the ground truth as tangential springs with slip at up to 2 N and modeled by no estimator, the MHE's force error stayed below 0.8 N and its location error near 1 mm. The projected EKF showed repeated excursions to 30–150 N, likely because small tangential loads push its estimate along ker . Both estimators' shape errors rose above 22 mm, because friction adds lateral loads and torsion that the model cannot explain. Third, with contact near the middle of the robot (0.375–0.5 m, with the wall at 0.13–0.16 m), the MHE's location error rose to 17 mm, because contact spread across several candidate points spaced 50 mm apart; its force error of 0.48 N remained 3× lower than the EKF's.

(e) Contact force, run 1
(f) Where on the arm the contact is, run 1
Figure 4: Nominal comparison over five contact runs. Top: shape error, total contact force RMSE (log scale), contact location error, and maximum wall penetration for each estimator. Bottom: total contact force and contact location over time for run 1.
5.5 Convergence
To test the behavior predicted by Theorem 1, we perturbed the whole estimation window eight times during run 1, by 0.08 rad per joint and by a wrong force of 3–8 N at a random candidate point, giving initial deviations from the unperturbed estimate of up to 46 mm and 5.6 N. In all eight cases, the estimate returned to within 0.03 mm and 0.004 N of the unperturbed estimate within 2 s, decaying by approximately every 0.25 s (Fig. 6(a,b)). We also scaled the tendon-length noise from 0.05 to 0.8 mm. The force RMSE stayed at 0.28 N up to 0.2 mm and rose to 0.31 N at 0.4 mm and 0.50 N at 0.8 mm (Fig. 6(c)): the error is set by model mismatch until noise dominates, after which it grows with a bounded gain, as the theorem predicts.
5.6 Model mismatch
To test the estimator against a robot that differs from its model, we simulated 20 further runs in which the true stiffness was scaled by 0.86–1.15, the tendon offset by 0.94–1.07, and the structural damping by 0.72–1.28, and in which the tendon tension decayed along its routing with a capstan friction coefficient of 0–0.085. None of these effects is modeled. We evaluated each run with two noise realizations (40 trials) and unchanged tuning. Table 4 and Fig. 7 report the results. The MHE was better in force and location in all 40 trials (Wilcoxon signed-rank test, ). Mismatch roughly doubled the MHE's force error (0.22 to 0.40 N; 95th percentile 1.06 N) and raised
Table 3: Robustness with unchanged tuning (five runs per condition): force RMSE in N, location and shape error in mm.
| Condition | Real-time MHE | EKF + projection | ||||
|---|---|---|---|---|---|---|
| Force | Location | Shape | Force | Location | Shape | |
| Nominal | 0.22 | 0.9 | 3.0 | 0.72 | 65 | 3.2 |
| Wall assumed 2 mm too close | 0.22 | 1.0 | 3.1 | 1.16 | 118 | 3.5 |
| Wall assumed 2 mm too far | 0.24 | 0.9 | 3.2 | 0.50 | 36 | 3.2 |
| Wall assumed ±5 mm off | ≤0.27 | ≤1.0 | ≤3.8 | – | – | – |
| Wall friction μ = 0.1 | 0.61 | 1.3 | 22.4 | 19.4 | 286 | 28.7 |
| Wall friction μ = 0.3 | 0.78 | 1.4 | 23.1 | 18.2 | 269 | 29.0 |
| Mid-body contact | 0.48 | 17 | 5.0 | 1.51 | 61 | 5.9 |



Figure 5: Robustness. (a) Force RMSE versus error in the assumed wall position. (b) Normal-force RMSE under unmodeled Coulomb friction at the wall. (c) Mid-body contact.
its shape error from 3.0 to 7.5 mm, while the projected EKF degraded by 7× in force and 3× in location. The largest MHE force errors occurred when a soft robot (stiffness scaled by 0.86–0.9) was combined with tendon friction.
5.7 Control experiment: motion without contact
To test whether the MHE's advantage depends on the contact constraints, we ran a separate study without obstacles, in which an unknown payload of 40–120 g (nominal) or 150–350 g (heavy) was attached to the tip during each 40 s run, and in which 2% of the length measurements were replaced by 3–8 mm outliers (outliers). The estimators used the model without torsion and estimated the payload as an additional state, constrained to be non-negative in the MHE. Table 5 reports the results over five runs per condition. The MHE and the EKF reached the same shape and payload accuracy in every condition; a robust (pseudo-Huber) MHE reduced shape error under outliers by 9%, which is within one standard deviation. Both model-based estimators were limited by the reduced model: with the true payload and no noise, the model alone gave shape errors of 4–13 mm. Without contact constraints, the MHE therefore offers no advantage, which supports our conclusion that its benefit comes from encoding complementarity.



Figure 6: Convergence of the real-time MHE. (a) Shape and (b) total-force deviation from the unperturbed estimate after eight large perturbations of the estimation window. (c) Force RMSE and shape error versus tendon-length noise.
Table 4: Model-mismatch Monte Carlo (40 trials): mean and 95% bootstrap confidence interval.
| Metric | Real-time MHE | EKF + projection | MHE better | Wilcoxon p |
|---|---|---|---|---|
| Force RMSE (N) | 0.40 [0.31, 0.51] | 4.8 [3.7, 6.1] | 40/40 | |
| Location error (mm) | 2.8 [2.0, 3.6] | 193 [155, 232] | 40/40 | |
| Shape error (mm) | 7.5 [6.6, 8.4] | 10.7 [9.6, 12.0] | 30/40 | |
| Max penetration (mm) | 0.37 [0.15, 0.65] | 15.6 [10.4, 22.1] | 37/40 | |
| Contact detection (%) | 94 | 83 | - | - |
6 Discussion and Conclusion
We presented an analysis and an estimator for locating contact on tendon-driven continuum robots using only tendon lengths and tensions. A key takeaway is that the information needed to locate contact is not in the measurements but in the geometry: tendon measurements leave at least seven force directions unobservable, and a known obstacle with complementarity restores identifiability and strong detectability. Using this insight, we presented a constrained MHE that runs in real time and locates contact to approximately 1 mm in a finite-element benchmark, where a tuned EKF with projection does not. The control experiment without contact, in which the MHE and the EKF performed identically, confirms that the benefit comes from the constraints rather than from the optimization.
The approach is well suited to tasks in which the geometry of the surroundings is known or can be measured beforehand, such as instrument guidance against registered anatomy or manipulation inside known enclosures. There are situations in which it would not be the choice, such as contact with unknown or moving obstacles, where shape sensing remains necessary. One question that remains open is how best to combine the two: for example, by estimating a parametrized obstacle together with the contact forces.
This work has several limitations, at least in its current form. First, all results are in simulation; the ground truth is a beam finite-element model, and effects such as hysteresis, manufacturing tolerances, and sensor bias remain untested. Second, the estimator assumes a known planar obstacle and frictionless contact; friction preserved force accuracy but degraded shape estimation to more than 22 mm. Third, contact near the middle of the robot spreads over adjacent candidate points,



Figure 7: Model-mismatch Monte Carlo (20 runs, two noise realizations each). (a) Force RMSE. (b) Contact location error (values below 0.1 mm shown at 0.1 mm). (c) Shape error. (d) Real-time MHE force RMSE versus true stiffness, colored by tendon friction.
Table 5: Motion without contact (five runs per condition): mean backbone shape error in mm (standard deviation) and payload RMSE in g.
| Estimator | Nominal | Heavy payload | Outliers | |||
|---|---|---|---|---|---|---|
| Shape | Payload | Shape | Payload | Shape | Payload | |
| PCC | 4.14 (0.39) | - | 9.42 (1.46) | - | 5.24 (0.40) | - |
| EKF | 3.52 (0.37) | 8.3 | 7.70 (2.08) | 20.4 | 4.01 (0.37) | 10.2 |
| MHE | 3.55 (0.38) | 8.3 | 7.75 (2.10) | 20.1 | 3.98 (0.39) | 10.8 |
| Robust MHE | 3.55 (0.39) | 8.6 | 7.89 (2.09) | 22.4 | 3.65 (0.37) | 9.0 |
which raised the location error to 17 mm; a finer or continuous contact parametrization would likely reduce it. Fourth, Theorem 1 is local and mode-wise, with constants that we did not compute, and the conditions of Proposition 3 were verified numerically along the simulated trajectories rather than proven for all configurations. Finally, timing was measured in Python, and a compiled implementation is needed for hard real-time guarantees. Future work will validate the estimator on a tendon-driven prototype pressing on an instrumented surface, add friction cones and curved obstacles to the constraints, and quantify how uncertainty in the obstacle geometry propagates to the contact estimate.
Acknowledgment
Portions of the manuscript text, the simulation and analysis code, and the figures were drafted with the assistance of the AI system Claude (Anthropic) [26]; the author reviewed, verified, and takes full responsibility for all content.
Data and code availability
The simulation scenes, estimator code, and result data are available from the author upon request.
References
[1] J. Burgner-Kahrs, D. C. Rucker, and H. Choset, “Continuum robots for medical applications: A survey,” IEEE Trans. Robot., vol. 31, no. 6, pp. 1261–1280, 2015.
[2] K. Xu and N. Simaan, “Intrinsic wrench estimation and its performance index for multisegment continuum robots,” IEEE Trans. Robot., vol. 26, no. 3, pp. 555–561, 2010.
[3] A. Bajo and N. Simaan, “Kinematics-based detection and localization of contacts along multisegment continuum robots,” IEEE Trans. Robot., vol. 28, no. 2, pp. 291–302, 2012.
[4] V. Aloi, K. T. Dang, E. J. Barth, and D. C. Rucker, “Estimating forces along continuum robots,” IEEE Robot. Autom. Lett., vol. 7, no. 4, pp. 8877–8884, 2022.
[5] J. M. Ferguson, D. C. Rucker, and R. J. Webster III, “Unified shape and external load state estimation for continuum robots,” IEEE Trans. Robot., vol. 40, 2024.
[6] G. L. H. Johnston, N. Shihora, and N. Simaan, “A modal-space formulation for momentum observer contact estimation and effects of uncertainty for continuum robots,” Int. J. Robot. Res., 2025, accepted; arXiv:2505.03044.
[7] A. Prakash, P. A. Vela, and P. Tsiotras, “Multi-contact force estimation for continuum robots via Gaussian-parameterized factor graphs,” arXiv:2606.29165, 2026.
[8] M. Tavangarifard, J. S. Kacines, Q. Li, and F. Alambeigi, “A learning-based approach for contact detection, localization, and force estimation of continuum manipulators with integrated OFDR optical fiber,” arXiv:2603.12347, 2026.
[9] Feng, Hong, and Xie, “A learning-based tip contact force estimation method for tendon-driven continuum manipulator,” Sci. Rep., vol. 11, 2021, doi:10.1038/s41598-021-97003-1.
[10] C. V. Rao, J. B. Rawlings, and D. Q. Mayne, “Constrained state estimation for nonlinear discrete-time systems: Stability and moving horizon approximations,” IEEE Trans. Autom. Control, vol. 48, no. 2, pp. 246–258, 2003.
[11] J. B. Rawlings, D. Q. Mayne, and M. M. Diehl, Model Predictive Control: Theory, Computation, and Design, 2nd ed. Madison, WI: Nob Hill Publishing, 2017.
[12] J. Kang and X. Xiong, “Simultaneous ground reaction force and state estimation via constrained moving horizon estimation,” arXiv:2411.12047, 2024.
[13] M. Diehl, H. G. Bock, and J. P. Schlöder, “A real-time iteration scheme for nonlinear optimization in optimal feedback control,” SIAM J. Control Optim., vol. 43, no. 5, pp. 1714–1736, 2005.
[14] A. Wynn, M. Vukov, and M. Diehl, “Convergence guarantees for moving horizon estimation based on the real-time iteration scheme,” IEEE Trans. Autom. Control, vol. 59, no. 9, pp. 2215–2221, 2014.
[15] D. Simon, “Kalman filtering with state constraints: A survey of linear and nonlinear algorithms,” IET Control Theory Appl., vol. 4, no. 8, pp. 1303–1318, 2010.
[16] M. L. J. Hautus, “Strong detectability and observers,” Linear Algebra Appl., vol. 50, pp. 353–368, 1983.
[17] Y. Guo, J. A. Moreno, and S. Streif, "Strong nonlinear detectability and moving horizon estimation for nonlinear systems with unknown inputs," arXiv:2511.23385, 2025.
[18] A. Wächter and L. T. Biegler, "On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming," Math. Program., vol. 106, no. 1, pp. 25–57, 2006.
[19] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, "CasADi: A software framework for nonlinear optimization and optimal control," Math. Program. Comput., vol. 11, no. 1, pp. 1–36, 2019.
[20] B. Stellato, G. Banjac, P. Goulart, A. Bemporad, and S. Boyd, "OSQP: An operator splitting solver for quadratic programs," Math. Program. Comput., vol. 12, no. 4, pp. 637–672, 2020.
[21] J. D. Schiller, S. Muntwiler, J. Köhler, M. N. Zeilinger, and M. A. Müller, "A Lyapunov function for robust stability of moving horizon estimation," IEEE Trans. Autom. Control, vol. 68, no. 12, pp. 7466–7481, 2023.
[22] D. A. Allan, J. B. Rawlings, and A. R. Teel, "Nonlinear detectability and incremental input/output-to-state stability," SIAM J. Control Optim., vol. 59, no. 4, pp. 3017–3039, 2021.
[23] D. Liberzon, Switching in Systems and Control. Boston, MA: Birkhäuser, 2003.
[24] F. Faure, C. Duriez, H. Delingette, J. Allard, B. Gilles, S. Marchesseau, H. Talbot, H. Courte-cuisse, G. Bousquet, I. Peterlik, and S. Cotin, "SOFA: A multi-model framework for interactive physical simulation," in Soft Tissue Biomechanical Modeling for Computer Assisted Surgery. Berlin, Germany: Springer, 2012, pp. 283–321.
[25] R. J. Webster III and B. A. Jones, "Design and kinematic modeling of constant curvature continuum robots: A review," Int. J. Robot. Res., vol. 29, no. 13, pp. 1661–1683, 2010.
[26] Anthropic, "Claude," Large language model, https://claude.ai, accessed Nov. 2026, 2026.