Source-linked AI summary

Real-Time Shape Control of Multi-Segment Soft Robotic Arms Using Koopman Operators with Global and Local Observables

Jiahe Wang, Eron Ristich, Sultan Haidar Ali, Eric weissman, Lei Zhang, Wanxin Jin, Yi Ren, Jiefeng Sun

arXiv:2609.03175v1cs.ROeess.SY

TL;DR

Tip-based control leaves a soft arm’s body deformation undetermined, while global observables alone are insufficient for multi-segment shape control under nonlinear continuum dynamics. The paper combines global and local observables in a Koopman-based dense-MPC framework, demonstrating improved numerical scalability and real-time shape-control performance.

  • Problem

    Tip-based control leaves infinite-dimensional body deformation undetermined, while global-frame observables do not describe local deformation in multi-segment soft robots with strongly nonlinear dynamics.

    Source: §I · pp. 1–2
  • Method

    The paper combines global and local observables within a unified Koopman-based dense-MPC architecture for full-body shape control.

    Source: §I · p. 2
  • Results

    The combined-observable controller achieves substantially greater accuracy and improved scalability in numerical experiments, including robots with up to 10 independently actuated segments.

    Source: B. Numerical Experiment Results · pp. 8–9, §VII · p. 15
  • Takeaways & Limitations

    Observable mappings and the control cost function are more critical to multi-segment shape-control performance than increasing model complexity, within the demonstrated scope.

    Source: §VI · p. 14

    The current hardware remains limited by external motion capture, predefined unplanned reference trajectories, carefully curated training data, and actuator and sensing constraints.

    Source: C. Limitations · p. 15

Abstract

from arXiv · show

Multi-segment soft robotic arms can continuously reconfigure their body shapes for safe interaction, but tip control alone is insufficient for constrained-space tasks. Therefore, shape control is a more important task for multi-segment soft arms than tip control, but remains challenging due to the high dimensionality and nonlinear dynamics of continuum deformation. In existing work, shape control accuracy is defined by the error in the global frame (global shape error). For multi-segment soft arms, using only global shape error as the control objective is insufficient, as segment coupling, gravity-induced loading, and inertial effects become more significant. This difficulty increases with the number of segments. In this paper, we present a Koopman-based model predictive control framework that combines global and local observables, enabling real-time shape control on multi-segment soft robotic arms. The framework is evaluated through numerical and physical experiments. Numerical experiments demonstrate the scalability of the proposed controller by achieving shape control on robots with up to 10 independently actuated segments. The physical experiments demonstrate that the controller is capable of (1) real-time shape control of 3- and 5-segment robotic arms with tip speeds up to 0.6 m/s, (2) robust tracking without retraining, including distal payloads up to 400~g and recovery from a 7~N lateral disturbance, and (3) the potential for future inspection applications through a confined-space demonstration. These results demonstrate that the proposed framework enables dynamic, scalable, and accurate real-time shape control on multi-segment soft robotic arms.

I. INTRODUCTION

Multi-segment soft-arm shape control requires regulating full-body deformation rather than only the tip, but real-time control remains difficult as nonlinear coupling and segment count increase. The paper addresses this with Koopman MPC using combined global and local observables.

  • Tip control leaves body deformation undetermined, making it inadequate for tasks such as navigating cluttered environments.Source: §I · p. 1
  • Increasing segment count strengthens gravity-induced coupling because proximal segments support and compensate for distal segments whose loading changes with robot shape.Source: §I · p. 1
  • Existing real-time shape-control studies are often restricted to planar or small-deformation motions and robots with few segments.Source: §I · p. 1
  • Global-frame Koopman observables can underfit local backbone deformation because they encode global pose without local-frame deformation information.Source: §I · p. 2
  • The proposed framework combines global and local observables in a Koopman-based dense MPC formulation to regulate full-body configuration and reduce both global and local shape errors.Source: §I · p. 2
  • Simulation scales to robots with up to 10 independently actuated segments, while hardware validation uses 3- and 5-segment robots with real-time full-body tracking and robustness tests.Source: §I · p. 2

A. Koopman Operator Theory

Koopman theory converts nonlinear controlled dynamics into a linear representation over observables. The paper approximates this representation from trajectory data using EDMDc and LASSO-regularized least squares.

C. Koopman MPC and Dense Form

The Koopman MPC formulation uses a lifted linear model, reconstructs the original state through an output matrix, and optimizes controls efficiently in dense form. This supports high-frequency real-time control despite large lifting dimensions.

III. GLOBAL, LOCAL, AND COMBINED OBSERVABLES

The paper defines control-relevant observable mappings for Koopman lifting, using global task-space positions, reduced geometric features, and delay coordinates. The proposed combined representation integrates global consistency with local detail for shape control.

Observable mappings

  • The Koopman framework compares global, local, and combined observable mappings that determine the lifted state and control representation.The lifting function composes an observable mapping h with delay embedding Ψ.Source: §III · p. 4, A. Lifting Function Design · p. 4

Lifting function design

  • The reduced control state extracts geometric features from measured states instead of directly retaining all position and orientation coordinates.This avoids adding orientation constraints that increase model complexity without directly improving backbone shape control.Source: A. Lifting Function Design · p. 4, B. Observable Mapping Design · p. 4
  • Delay coordinates augment instantaneous geometric features to represent latent dynamics such as velocities and internal forces.The lifted state uses a delay horizon Nd through Ψ.Source: A. Lifting Function Design · p. 4

1) Global observable

  • Global-coordinate representations work well for low-dimensional tip or planar-shape tasks with no more than 3 segments but can become unstable for multi-segment shape control.The paper motivates reduced global observables as a way to improve model consistency and control stability.Source: 1) Global observable · pp. 4–5
  • Global observables represent backbone positions in the fixed global frame, with projections onto its x–z normal plane for more stable modeling.The projection removes the poorly modeled extension direction associated with strong nonlinearity.Source: 1) Global observable · p. 5

2) Local observable:

The local observable expresses each backbone point in its corresponding segment-base frame to capture segment-wise deformation. Because it omits explicit task-space position, local errors can accumulate into global drift.

2) Local observable

  • The local observable introduces segment-frame information to better represent deformation for multi-segment soft robotic arms.Each measured point is assigned to a segment through λ(i), and its position is expressed in that segment’s local base frame.Source: 2) Local observable · p. 5
  • Local coordinates capture segment-wise deformation by projecting each point onto the normal plane of its corresponding segment frame.The projection uses a segment-specific matrix ¯R{Bλ(i)} ∈ R2×3.Source: 2) Local observable · p. 5
  • The local representation does not explicitly encode task-space position, so small local errors can propagate along the serial chain and produce global drift.This limitation motivates combining local and global observables.Source: 2) Local observable · p. 5

3) Combined observable:

The combined observable concatenates global and local representations to preserve task-space consistency while capturing segment-level deformation. Its main control benefit is improved MPC objective conditioning rather than explicitly improved prediction accuracy.

3) Combined observable

  • The combined observable unifies global and local representations to exploit their complementary strengths in shape control.It retains global position information while adding local deformation detail.Source: 3) Combined observable · p. 5
  • The combined lifted state is formed by concatenating the independently obtained global and local lifted states.The corresponding Koopman model is constructed from independently trained global and local models.Source: 3) Combined observable · p. 5
  • The block-diagonal combined model does not explicitly improve prediction accuracy; its benefit comes from richer state representation and better MPC objective conditioning.The combined MPC cost jointly penalizes deviations in global and local representations through QCombined = diag(QGlobal, QLocal).Source: 3) Combined observable · p. 6, C. Global and Local Shape Error · p. 6

C. Global and Local Shape Error

  • Global shape error measures average squared backbone-position discrepancies, but different segment deformations can produce similar global errors.The metric includes tip error as the special case at the final measured point.Source: C. Global and Local Shape Error · p. 6, Figure 3 · p. 6
  • Local shape error captures deformation in segment frames, but local errors can accumulate into global task-space drift; therefore both metrics are reported.The two metrics provide complementary assessments of global position and local deformation.Source: C. Global and Local Shape Error · p. 6, Figure 3 · p. 6
  • The MPC objective is optimized in the lifted state rather than directly minimizing exact geometric errors such as eglobal or elocal.Observable mappings are designed so that the lifted quadratic objective indirectly reflects geometric shape errors.Source: C. Global and Local Shape Error · p. 6

D. Special Considerations

The framework uses practical modeling and data-collection choices to keep Koopman-based MPC within a tractable dynamical regime. Simulation and training use Kirchhoff-rod dynamics, PD motor actuation, ramp-and-hold inputs, and reduced tip-point state representations.

  • Input increments Δu replace absolute inputs u in MPC, explicitly limiting actuation changes to avoid regimes dominated by unmodeled inertial effects.The constraint is ∥Δu_k∥∞≤Δu_max, while preserving sufficient actuation for meaningful motion.Source: D. Special Considerations · p. 6
  • Reference trajectories come from experimentally collected motions generated by predefined input sequences excluded from the Koopman training dataset.Reference generation is treated as outside the paper’s main focus.Source: D. Special Considerations · p. 6
  • The control state uses reduced tip-point representations because denser intermediate measurements reduce physical control stability, unlike noiseless numerical simulations.The same reduced representation is used in simulation for consistency.Source: D. Special Considerations · p. 6
  • The simulated arm separates backbone, cables, and plates, with Kirchhoff-rod dynamics solved using the implicit BDF-α method.Cable forces are incorporated into the backbone model.Source: A. Description of Simulation Setup · p. 7
  • Each segment has two independent control inputs, with motor angles driving cable forces through PD-controlled antagonistic cable pairs.The motor model computes cable force from motor torque using the pulley radius.Source: A. Description of Simulation Setup · p. 7, Figure 4 · p. 7
  • Training data comprise 200,000 snapshots for 3-, 5-, 8-, and 10-segment arms, generated using randomly sampled ramp-and-hold inputs.The Koopman interval is Δt=0.01s, with tr=40Δt, th=10Δt, and N=4000.Source: A. Description of Simulation Setup · pp. 7–8

B. Numerical Experiment Results

Numerical experiments show that global observables become inadequate as the number of segments increases, whereas combined global and local observables maintain accurate tracking across tested configurations. The combined controller also achieves lower error variance, although performance degrades with increasing system complexity.

  • The global-observable controller fails beyond 3 segments, while combined-observable control tracks 5-, 8-, and 10-segment reference shapes with substantially lower residual error.Representative trajectories show the global controller converging to high-error configurations as complexity increases.Source: B. Numerical Experiment Results · p. 8
  • Combined observables reduce the magnitude of steady-state drift caused by modeling inaccuracies in the Koopman approximation.Both controllers can exhibit transient oscillations arising from the soft robot’s dynamics.Source: B. Numerical Experiment Results · p. 8
  • Orders of magnitude higher accuracy across global and local error metrics is achieved by combined observables than by global observables across all tested robots.The comparison covers 200 simulations with 200 time steps, and percentile ranges show smaller variance for the combined controller.Source: B. Numerical Experiment Results · pp. 8–9
  • The converged global shape error of the combined-observable controller empirically grows exponentially as the number of segments increases.All controllers show decreasing performance in each metric with more segments.Source: B. Numerical Experiment Results · pp. 8–9
  • In a three-cable force-driven setting with dense backbone measurements, global and combined controllers failed to converge, while the local-observable controller remained stable.These results motivate introducing a PD motor controller and support the observable-design conclusions.Source: B. Numerical Experiment Results · p. 9

V. PHYSICAL EXPERIMENTS

Physical experiments evaluate the proposed method on 3- and 5-segment prototypes using modular, locally actuated cable mechanisms and motion-capture state reconstruction. The setup supports comparisons across observables, varied target shapes, robustness tests, and confined-space evaluation.

  • The physical evaluation uses 3- and 5-segment prototypes to compare global, local, and combined observables under shared reference trajectories.The 5-segment evaluation includes multiple target shapes with varied deformation patterns.Source: §V · p. 9
  • Each segment carries two orthogonally mounted motors that actuate antagonistic cable pairs through dual-groove pulleys.The proposed architecture mounts motors at the base of each segment rather than centralizing all actuators at the robot base.Source: 2) Actuation · p. 9, A. Robot Design and Data Collection · p. 9
  • Motor position increments Δu∈R6 define the control input for the physical robot.Oppositely wound cable pairs allow one cable to be pulled while the other is released during motor rotation.Source: 2) Actuation · p. 10
  • Motion capture measures robot shape at 100 Hz and reconstructs seven rigid-body poses along the 3-segment backbone, yielding x∈R49.Markers on intermediate and distal plates define global poses and a local base frame.Source: 3) Shape Measurement · p. 10
  • The integrated system uses internal motor PID control and ROS2 for state reconstruction, reference generation, synchronization, logging, and real-time K-MPC computation.Source: 4) System Integration · p. 10

5) Data Collection:

The evaluation compares global, local, and combined observables for real-time shape tracking of a 3-segment soft robotic arm under slow and fast motion. The combined observable provides the strongest overall tracking performance, while faster motion increases errors for all controllers.

Observable comparison

  • The 3-segment evaluation uses identical training data and reference trajectories while comparing global, local, and combined observables with dense MPC at 100 Hz.The controller uses Nd = 20 time-delay coordinates and a prediction horizon of NH = 5.Source: C. Control the 3-Segment Robot · p. 11
  • The combined observable provides the best tracking performance under both slow and fast motions.It achieves lower errors than either global or local observables alone, although faster motion increases errors for all controllers.Source: C. Control the 3-Segment Robot · p. 11, 2) Fast shape control · p. 12

Slow shape control

  • During slow tracking, the global observable produces the largest global-frame and local shape errors, especially for distal points.The results indicate that global observables alone do not accurately capture segment-wise deformation.Source: 1) Slow shape control · p. 11
  • The combined observable has the smallest global and local shape errors for most of the slow-tracking trajectory.The local observable improves shape-error performance but leaves larger global-frame errors.Source: 1) Slow shape control · p. 12

Fast shape control

  • 0.6 m/s is the approximate maximum tip speed during fast tracking, when motors operate near their speed limitation.At this speed, the combined observable still yields lower errors for Seg 1 and Seg 2, while Seg 3 shows a lower global-frame tip RMSE with the global observable but large shape errors.Source: 2) Fast shape control · p. 12
  • Tip error alone cannot determine the multi-segment robot shape because low tip error can coexist with incorrect backbone deformation.Full-body shape metrics are therefore needed to evaluate segment-wise deformation.Source: 2) Fast shape control · p. 12

D. Control the 5-Segment Robot

The 5-segment experiments test diverse shapes, payloads, external disturbances, and confined-space motion. The combined observable maintains global and local tracking while remaining stable under unmodeled effects and supporting a 28 s inspection demonstration.

D. Control the 5-Segment Robot

  • Six target shapes span multi-curvature bending, asymmetric deformation, and helix patterns across the robot workspace.The shapes are executed in one sequential ramp-and-hold trial.Source: D. Control the 5-Segment Robot · pp. 12–13
  • 718.63 mm2 is exceeded by local shape errors under the global observable for large and asymmetric deformations.The local observable achieves significantly lower local shape errors for Shapes 1, 3, and 6.Source: D. Control the 5-Segment Robot · p. 13
  • 0.4 m/s is the approximate maximum tip speed during 5-segment shape tracking.Oscillatory velocity reflects inertia and shape deformation, while speed decays toward zero during holds.Source: D. Control the 5-Segment Robot · p. 13
  • 2739.92 mm2 (5.23%L) average global shape error and 52.19 mm2 (3.61%Lseg) average local shape error are achieved across all six shapes.The combined observable provides the best tracking performance across the diverse shape set.Source: D. Control the 5-Segment Robot · p. 13

Robustness evaluation

F. Confined-Space Shape-Control Demonstration

  • 28 s covers approach, aperture traversal, target observation, and return motion in the confined-space demonstration.The 5-segment arm follows manually specified reference shapes through a circular aperture toward a target.Source: F. Confined-Space Shape-Control… · p. 14

VI. DISCUSSION

The discussion identifies observable and error-metric design as central to scalable multi-segment shape control, while outlining practical limits and future sensing and robustness extensions.

Choice of local observable

  • Observable mappings can matter more than model complexity because global coordinates ambiguously represent multi-segment deformation.Global-frame projections may map multiple backbone configurations to the same coordinates, whereas local projections preserve segment-wise geometry.Source: §VI · p. 14, A. Choice of local observable · p. 15
  • Local segment-frame observables make the coordinate-to-deformation mapping locally unique and avoid overlap in global projections.The resulting representation better captures segment-wise geometry and improves modeling accuracy for multi-segment arms.Source: A. Choice of local observable · p. 15, Figure 14 · p. 15

Shape Error Metric

  • Global and local shape errors are both required because optimizing either metric alone can miss local deformation or accumulate task-space drift.Global observables can achieve lower global shape error while missing local deformation, whereas local observables can accumulate global error along the arc-length.Source: B. Shape Error Metric · p. 15

Limitations and Future Work

  • External motion capture, predefined data-derived references, self-contact restrictions, sensing rate, actuator capability, and highly inertial regimes constrain current deployment.Future work proposes richer onboard sensing, self-contact and payload handling, force-based actuation, and adaptive robustness across loading conditions.Source: C. Limitations · p. 15, §VII · pp. 15–16

Conclusion

  • The proposed Koopman dense-MPC framework combines global and local observables and reduces both global and local shape errors, with simulations scaling to 10 independently actuated segments.Physical scaling remains constrained by motor capacity and space constraints.Source: §VII · p. 15
Loading 2609.03175v1…