Next Article in Journal
From Point Clouds to Predictive Maintenance: A Review of Intelligent Railway Infrastructure Monitoring
Next Article in Special Issue
Active Pitch Stabilization of Tracked Platforms Using a Nonlinear Dynamic Model for Coordinated Inertial Actuation
Previous Article in Journal
Laser-Induced Graphene Dual Optical/Electrochemical Platform for In-Chip Sensing Applications
Previous Article in Special Issue
Design, Analysis, and Prototyping of a Multifunctional Digital Twin-Enabled Aerospace Drilling End-Effector Deployable by a Collaborative Robot
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid Offline–Online Configuration Planning Approach for Continuum Robots Based on Real-Time Shape Estimation

1
College of Artificial Intelligence, Nankai University, Tianjin 300350, China
2
Institute of Robotics and Automatic Information Systems, Nankai University, Tianjin 300350, China
3
Academy for Advanced Interdisciplinary Studies, Nankai University, Tianjin 300350, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(4), 1129; https://doi.org/10.3390/s26041129
Submission received: 4 January 2026 / Revised: 30 January 2026 / Accepted: 8 February 2026 / Published: 10 February 2026
(This article belongs to the Special Issue Applied Robotics in Mechatronics and Automation)

Abstract

Continuum robots possess highly flexible backbones, enabling remarkable adaptability and dexterity for motion in confined environments. However, this flexibility also introduces significant nonlinearities and uncertainties, making motion planning under physical constraints particularly challenging. To address this, a hybrid offline–online configuration planning framework is proposed in this work. Specifically, the configuration planning problem is formulated as a nonlinear optimization task that considers collision avoidance and structural constraints. A co-evolutionary strategy is incorporated into the differential evolution (DE) algorithm to decompose the target high-dimensional optimization problem. Then, an unscented Kalman filter (UKF)-based strategy is presented for real-time shape estimation using tip pose feedback for safe distance monitoring. Based on this shape feedback, an online configuration refiner is designed to locally adjust the preplanned configurations, thus leveraging the global perspective of the offline planning configuration to steer the continuum manipulator through constrained spaces. Validation and comparative experiments demonstrate the effectiveness of the proposed method, as well as its enhanced motion smoothness and safe motion performance in real-world environments.

1. Introduction

Continuum robots, leveraging their high flexibility and passive compliance, exhibit superior adaptability in confined spaces compared to traditional rigid robots. These properties have enabled continuum robots to demonstrate significant advantages in applications such as minimally invasive surgery [1,2], aero-engine maintenance [3,4], in-space inspection [5], and nuclear reactor maintenance [6]. Nevertheless, their inherent high nonlinearity and strong coupling between multiple degrees of freedom pose substantial challenges for planning and executing collision-free motion in constrained environments.
To enable reliable operation of continuum robots in narrow and constrained environments, configuration planning has attracted considerable research attention. A representative approach is the sampling-based planning method, which has been widely adopted for continuum robots due to its probabilistic completeness. Pan et al. [7] reformulated the configuration planning problem of manipulators as a path-planning problem in constrained spaces, using the rapidly exploring random tree (RRT) algorithm to find the initial path and fitting it with a quadratic Bézier curve. Gao et al. [8] developed an improved RRT-based path-planning method for multi-segment continuum robots, which incorporates kinematic constraints to prevent excessive deformation. However, it mainly focuses on applications in two-dimensional environments. Lang et al. [9] proposed an improved RRT-Connect algorithm and obtained a continuous trajectory by interpolating the joint-space parameters. To avoid strong nonlinear effects arising from joint-space planning, Meng et al. [10] proposed a workspace-guided RRT*-based algorithm, where Jacobian-based inverse kinematics is employed to evaluate the reachability between adjacent workspace nodes. In addition, improved strategies combining RRT and inverse kinematics have been proposed to plan collision-free motions for manipulators in constrained spaces [11,12,13]. Despite their ability to probabilistically guarantee the discovery of a feasible solution within finite time, the inherent random sampling nature makes it difficult to obtain smooth and globally optimal configuration sequences.
Optimization-based methods have demonstrated effectiveness in continuum robot motion planning and shown advantages in balancing multiple performance criteria. Qin et al. [14] developed an optimization-based pat- planning method for hyper-redundant space robots, in which viewpoints are continuously optimized while ensuring collision avoidance. Wang et al. [15] integrated a particle swarm optimization (PSO) algorithm to optimize the random sampling process in path planning and designed constraint units to limit deflection angles of the target path. Inverse-kinematics-based (IK-based) optimization methods [16,17] determine discrete-time configurations by minimizing end-effector pose deviation while satisfying constraints; however, they are typically unable to perform simultaneous planning of configurations and tip trajectory. Yang et al. [18] transformed the motion planning problem of continuum robots into an optimization framework subject to collision avoidance and input constraints. Niu et al. [19] proposed a forward search algorithm with region clipping to optimize manipulator configurations in constrained environments. Wu et al. [20] formulated the manipulator configuration planning for one step as a backbone-path-based optimization problem for collision avoidance. However, most optimization-based planning methods mainly focus on the isolated configuration at one time step, while being limited in the simultaneous planning of full configuration sequences and motion paths.
Additionally, the backbone is typically assumed to have uniform and constant curvature. This simplification makes it difficult to account for significant configuration deviations caused by uncertainty in real-world environments, thereby potentially leading to unsafe motion, especially in densely obstacle-constrained environments. Although the studies in [21,22] present collision avoidance control methods enhanced by real-time configuration adjustment, the generation of target tip trajectory is not addressed. In response to these challenges, this work proposes a hybrid offline-online configuration planning framework based on real-time shape estimation to enable collision-free motion for continuum robots in constrained spaces. Within this framework, a UKF-based estimation strategy is developed to enable real-time shape sensing based on tip pose feedback, providing accurate shape information and distance perception that serve as critical inputs for online collision avoidance. Additionally, unlike most existing methods, the continuum manipulator is guided by a globally optimized configuration sequence, thereby leveraging the global perspective of full configurations to facilitate passability and collision avoidance in constrained environments. The main contributions of this work are summarized as follows:
  • A configuration pre-planning method based on the co-evolutionary improved DE (CoDE) is proposed, where each flexible segment is modeled as a sub-population sharing elite solutions to enhance exploration and overall planning quality.
  • A UKF-based real-time shape estimation strategy is presented to reconstruct the manipulator’s shape under friction and deformation effects, enabling reliable feedback for configuration refinement and collision avoidance.
  • An online refiner is designed within the hybrid framework for local configuration adjustment, leveraging the global perspective advantage of offline planning for guidance and achieving improved collision avoidance performance.
  • Validation and comparative experiments in different constrained environments demonstrate its effectiveness and performance benefits in continuum robot configuration planning tasks.

2. Kinematic Modeling for Continuum Robot

The geometric configuration and coordinate definition of the continuum manipulator are shown in Figure 1. For any non-singular configuration, the deformation of a single segment of the continuum manipulator can be characterized by its bending angle θ i in the plane O k 1 O k 1 O k and its azimuth φ i about the Z k 1 -axis. The overall shape of the segment can be approximated as a constant-curvature arc [23,24,25].
For a single segment, the mapping between its configuration parameters and the tip’s position in the local coordinate frame can be expressed as
p k   k 1 = L k θ k c φ k c θ k c φ k s φ k c θ k s φ k s θ k
where L k denotes the length of the k-th flexible segment, c ( · ) is the abbreviation for cos ( · ) , and s ( · ) represents the abbreviation for sin ( · ) .
Therefore, the position of the manipulator’s tip in the base frame O 0 is given by
p 2 = f w , c q c = P · T 3 2 4 3 T 2 1 T 1 0 T p o 4 1
where q c = θ 1 , φ 1 , θ 2 , φ 2 , z T T R 5 is the configuration parameter for the robot. P = I 3 0 R 3 × 4 is a dimensional transformation matrix, and T k   k 1 is the homogeneous transformation matrix between adjacent frames, which is given by
T k   k 1 = R k 1 p k   k 1 0 1 × 3 1 SE ( 3 )
R k   k 1 = Rot Z k 1 , φ k · Rot Y k 1 , θ k · Rot Z k , φ k
Likewise, the position of the mid-segment in the base frame can be derived as
p mid = h w , c q c = P · T 1 0 2 1 T · p mid T o 2 , 1 T = 0.5 L mid c φ 1 s θ 1 c φ 1 c θ 1 1 L 1 / θ 1 0.5 L mid s φ 1 s θ 1 s φ 1 c θ 1 1 L 1 / θ 1 L 0 + z T + 0.5 L mid c θ 1 + s θ 1 L 1 / θ 1
The direction of the manipulator’s tip can be expressed as
v 2 = R 3 2 4 3 R 2 1 R 1 0 R · v ^
where v ^ R 3 is the direction vector of the tip in the local frame O 4 .
The actuation parameters are defined as q A = q 1 , 1 , q 1 , 2 , q 2 , 1 , q 2 , 2 , z T T R 5 , where q k , i denotes the deformation length of the i-th tendon in the k-th flexible segment. Its relationship with the configuration parameters can be derived as follows [26]:
q k , i = L k θ k r c φ k + ( i 1 ) α
where r is the radial distance from the tendon to the center of the vertebral joint (Figure 1).
By inverting (7), the mapping between the configuration parameters and the actuation parameters can be obtained:
q c = f c , A q A
Furthermore, by substituting (8) into (2), the mapping between the tip position and the actuation parameters is obtained:
p 2 = f w , A ( · ) = f w , c f c , A q A

3. Co-Evolutionary DE-Based Offline Configuration Planning

To achieve reliable collision avoidance and smooth motion in constrained spaces, a CoDE-based configuration pre-planning algorithm for the continuum manipulator is developed in this section. The configurations of the two flexible segments are evolved as independent populations, with information exchanged via an elite pool to enhance the algorithm’s exploitation of the search space. This offline planning process aims to provide reference configurations for online refinement in the real world, guiding the manipulator to reach the desired position around a globally optimized configuration sequence.

3.1. Continuization of Sparse Key Configurations

As shown in Figure 2, a sequence of key configuration frames is defined as C = C 1 , C 2 , , C N , where each key frame C i is parameterized by C i = θ 1 , i , φ 1 , i , θ 2 , i , φ 2 , i , z T , i . The motion trajectory of the manipulator body is obtained by continuously interpolating these sparse configurations based on the trajectories of the tip and the mid-segment.
For each key frame, the corresponding mid-segment position and tip position are computed using (5) and (2), respectively. To balance smoothness and computational efficiency, cubic spline interpolation is adopted to smooth the trajectory defined by the tip positions of the key frames. The overall configuration of the manipulator is jointly determined by the mid-position (denoted as s 1 in Figure 2) and the tip position (denoted as s 2 in Figure 2). Therefore, the manipulator’s configuration can be fully described by these two key positions. For any given position pair ( s 1 , s 2 ) , the corresponding configuration parameters C i can be obtained through inverse kinematics. Furthermore, uniform discretization of the mid-segment and tip trajectories yields the complete configuration sequence corresponding to the current set of key frames.

3.1.1. Segment 1 Configuration via Mid-Segment Position

As shown in Figure 1, for any non-singular configuration, the azimuth angle corresponding to the mid-segment position p mid = ( p mid , x , p mid , y , p mid , z ) is given by
φ 1 = arctan p mid , y p mid , x
Substituting k = p mid , x c φ 1 into (5) yields
c θ 1 1 0.5 L mid s θ 1 k = s θ 1 p mid , z L 0 + z T + 0.5 L mid c θ 1
Setting t = tan θ 1 2 and then transforming (11) as follows:
p mid , z L 0 z T + 0.5 L mid 1 t 2 1 + t 2 + 2 k t 1 + t = 0.5 L mid L 0 + p mid , z z T
By combining (10) and (12), θ 1 can be derived as
θ 1 = 2 arctan p mid , x cos arctan p mid , y p mid , x 0.5 L mid L 0 + p mid , z z T ( π , π ]
As shown in Figure 3, when z T = 0 , a mapping relationship exists between p mid , z and the radial distance R. By using (5), the corresponding parameter p mid , z and R = p mid , x 2 + p mid , y 2 for different θ 1 under the condition z T = 0 are calculated to construct the fitting dataset. Based on the fifth-order Gaussian model, the following mapping relationship can be obtained:
p mid , z = f z ( R ) = i = 1 5 a i e R b i 2 2 c i 2
where a i , b i , and c i are model parameters identified by the least squares method.
Therefore, configuration parameters at position p mid can be determined by the following equation:
q C ( 1 ) = g J , w p mid = θ 1 ( · ) , φ 1 ( · ) , f z p mid , x 2 + p mid , y 2 p mid , z T
where g J , w ( · ) is the kinematic mapping from the workspace to the configuration space.

3.1.2. Segment 2 Configuration via Tip Position

The configuration of the second flexible segment can be derived using differential inverse kinematics based on the tip position, together with the known configuration of the first segment obtained from (15). By reducing the dimensionality of the variable space, the overall manipulator configuration can be computed efficiently.
Given the current configuration parameters q 2 , k = θ 2 , k , φ 2 , k R 2 of the second flexible segment, the configuration q 2 , k + 1 at the next time step is given by
q 2 , k + 1 = q 2 , k + α J 2 1 p d f w , c q c , k 1 : 2 T p d f w , c q c , k 1 : 2
where q c , k = θ 1 , φ 1 , q 2 , k , 0 T , and the local Jacobian matrix J 2 = f w , c ( · ) θ 2 , f w , c ( · ) φ 2 R 2 × 2 . p d R 3 is the desired position of the manipulator’s tip in the workspace. ( · ) 1 : N denotes the first N dimensions of the current vector. α is the step size coefficient.
Based on the initial configuration q 2 , k , the algorithm iteratively approaches the target configuration via (16). At each iteration, the nonlinear kinematics are locally linearized around the current configuration. The specific procedure is shown in Algorithm 1.
In Algorithm 1, the overall inverse kinematics problem is reduced to a two-dimensional subspace for the solution. Since the local Jacobian matrix J 2 is square, each iteration involves only several basic matrix operations, thus resulting in low computational overhead. Experimental validation shows that on a personal computer equipped with an Intel® CoreTM Ultra 5 225H 1.70 GHz processor, the computation process can typically be completed within 0.1 ms, with a deviation below 0.5 mm.
Algorithm 1 Configuration for the Second Flexible Segment
1:Input: Desired position p d , current configuration q 2 , k , tolerance λ , step size α , maximum iteration K.
2:Output: Configuration parameter q c ( 2 ) R 2 for the second flexible segment.
3:Calculate current tip position: p 2 = f w , c ( q 2 , k ) .
4:Calculate current error: e = p d p 2 .
5:Initialization k 0 .
6:while  e > λ and k < K  do
7:   Calculate local Jacobian matrix J 2 .
8:   Calculate new q 2 , k by (16).
9:   Update p 2 and e.
10:    k k + 1 .
11:end while
12:Set q c ( 2 ) = q 2 , k .
Furthermore, by sequentially computing each discrete position pair s 1 , s 2 , the complete configuration sequence corresponding to the current key frame can be obtained as q s = C 1 , C 2 , , C M .

3.2. Evaluation of Configuration Planning Solution

In the proposed framework, the objective of offline planning is to guide a continuum robot from its current configuration to a designated operational region within a constrained space without collision. To this end, the trajectory of the end-effector should be as short and smooth as possible, while maintaining safe separation from surrounding constraint regions over the entire motion process.
For a given configuration sequence q s , the total length of the manipulator tip’s motion trajectory can be expressed as
f L = k = 1 N s 1 f w , c q s , k + 1 f w , c q s , k
where N s denotes the total number of configurations in the sequence set q s , and q s , k + 1 represents the k-th configuration within q s .
To achieve a smooth end-effector trajectory, the key configuration frames should avoid overly dense clustering in local regions of the workspace. A metric quantifying this distribution uniformity can be defined as
f η = k = 1 2 σ k μ k
μ k = 1 N 1 i = 1 N 1 f w , c q s , k + 1 f w , c q s , k σ k = 1 N 1 i = 1 N 1 f w , c q s , k + 1 f w , c q s , k μ k 2
where N is the number of optimized key frames. μ 1 and σ 1 represent the mean and standard deviation of the mid-position distances across these key frames, while μ 2 and σ 2 denote the corresponding mean and standard deviation of the tip position distances.
Furthermore, the configuration planning problem of a multi-segment continuum manipulator can be formulated as
min q s g q s = f L + ω η f η + ω a i = 1 N 2 g a q s , i , q s , i + 1 , q s , i + 2 + i = 1 N obs P i s . t . θ i 0 , π 2 , φ i [ π , π )
where ω η and ω a are two weighting coefficients, q s R N × 5 represents the set of optimized key frames, and g a q s , i , q s , i + 1 , q s , i + 2 denotes the angle of the path segment formed by the mid-positions of three adjacent manipulator configurations. The hard constraint term corresponds to the mechanical limits of the manipulator structure, ensuring that all deformations remain within the feasible operating range.
Given the minimum allowable clearance ε between the manipulator and constraint regions, the penalty term P i is defined as
P i = P ρ C i R o b s + d / 2 + ε 0 otherwise
where ρ C i denotes the minimum distance between the manipulator and the constraint center under configuration C i , and d is the outer diameter of the manipulator.

3.3. Co-Evolutionary Improved DE Algorithm for Configuration Planning

The two-segment continuum manipulator exhibits a highly nonlinear and multimodal mapping between its configuration space (C-Space) parameters and tip positions. To improve exploration of the solution space and facilitate the discovery of feasible configuration sequences, a co-evolutionary strategy is introduced for DE to decompose the high-dimensional nonlinear optimization problem.

3.3.1. Standard DE Algorithm

Given the robustness of the DE algorithm for complex nonlinear optimization [27,28], it is adopted to solve the planning problem of (20), with further enhancements to improve its exploration capability. The core procedure consists of four main steps:
(1)
Initialization operation: Initialize the population by randomly generating N p individuals within the predefined parameter search space:
x i ( 0 ) = x i , 1 , x i , 2 , , x i , D , i = 1 , 2 , , N p
where the value for each parameter dimension is generated by uniform random sampling within its defined domain.
(2)
Mutation operation: For the target individual x i ( g ) in the g-th generation, apply the differential mutation strategy to generate the corresponding mutant vector v i ( g + 1 ) :
v i ( g + 1 ) = x r 1 ( g ) + F · x r 2 ( g ) x r 3 ( g )
where r 1 , r 2 , and r 3 are distinct randomly selected individual indices; F is the scaling factor controlling the differential perturbation magnitude.
(3)
Crossover operation: Recombine the target individual x i ( g ) and the mutant individual v i ( g + 1 ) with a certain probability to generate the trial one u i ( g + 1 ) :
u i , j ( g + 1 ) = v i , j ( g + 1 ) , if rand ( 0 , 1 ) C R or j = j rand x i , j ( g ) , otherwise
where C R is the crossover probability, j denotes the index of the current individual in the population, and j r a n d is a randomly selected dimension index.
(4)
Selection operation: Select new individual between x i ( g ) and u i ( g + 1 ) based on the fitness value obtained by (20):
x i ( g + 1 ) = u i ( g + 1 ) , if g u i ( g + 1 ) g x i ( g ) x i ( g ) , otherwise

3.3.2. Co-Evolutionary Strategy

To enhance the exploration capability in the configuration space, a co-evolutionary strategy is introduced into the standard DE framework. Specifically, the configuration parameters of each flexible segment are treated as independent sub-populations, thereby decomposing the original high-dimensional decision variables and enabling parallel co-evolution of the configuration parameters corresponding to different segments. The sub-populations share a common pool of elite individuals, periodically exchanging high-quality solutions to facilitate the transfer of configuration parameters between segments, thereby enhancing the algorithm’s exploration capability in the solution space.
Figure 4 illustrates the overall framework of the CoDE algorithm. First, each sub-population is initialized independently, and one individual is randomly selected from each to form the representative individual pool T. The size of this pool remains constant and equals the number of sub-populations. Subsequently, each sub-population undergoes an independent evolutionary process. In the present case, the two sub-populations correspond to the configuration parameters of two distinct flexible segments, with their encoding scheme shown in Figure 5. During evolution, mutation, crossover, and selection operations are performed sequentially on individuals within a sub-population. The resulting trial individual is then combined with the corresponding representative individual extracted from pool T. The quality of this combined solution is evaluated based on the fitness function given in (20). This procedure iterates until all individuals in the sub-population have been evaluated. Finally, the individual yielding the optimal combined fitness is selected as a new elite individual to update the pool T, replacing the corresponding elite.

4. UKF-Based Real-Time Shape Estimation

To enable real-time perception of the manipulator’s shape and monitor its relative position with respect to the surrounding environment, a UKF-based shape estimation strategy is presented in this section.
Due to friction at the vertebral joints and cumulative friction along the driving tendons, the manipulator experiences shape loss in both the bending and azimuthal directions. To model this effect, the Euler curve is introduced to describe curvature attenuation in bending [29], assuming a linear variation in curvature along the arc length. The variation in the manipulator’s curvature leads to motion lag at its tip. For the k-th flexible segment, the bending angle along the arc length s of the backbone can be expressed as
θ k ( η , s ) = 0 s η k s + θ ¯ k L k d s
where η k represents the time-varying curvature damping factor in the bending direction, and θ ¯ k is the bending angle under the ideal constant-curvature condition.
Given the relatively small attenuation of deformation in the azimuthal direction, a time-varying damping coefficient σ is introduced to provide a linear approximation of the manipulator’s azimuthal deformation characteristics:
φ k ( σ , s ) = φ ¯ k σ k s
where φ k ( σ , s ) is the azimuth angle at the arc length s, and φ ¯ k is the azimuth angle under the ideal constant-curvature condition.
Therefore, for the k-th flexible segment, the position along the backbone at arc length s can be derived as
p O 2 k 1 s , ψ , q c = s θ i η i , k , s c φ i σ i , k , s d s , s θ i η i , k , s s φ i σ i , k , s d s , c θ i η i , k , s d s T
where ψ = η 1 , σ 1 , η 2 , σ 2 is the time-varying damping factor vector.
Furthermore, the position of any point on the manipulator in the base frame O 0 is given by
p ^ k s , ψ , q c = i = 1 2 k 1 T i   i 1 · P · p O 2 i 1 s , ψ k , q c
Substituting (26) and (27) into (4), the tip’s direction can be derived as
v ^ k s , ψ , q c = i = 1 4 R i   i 1 ( ψ ) · v ^
where v ^ is the direction vector of the tip in the local frame O 4 .
The state vector of the curvature damping factor at the k-th time step is defined as ψ k = η 1 , k , σ 1 , k , η 2 , k , σ 2 , k T . Given the slow time-varying nature of ψ k , the following random walk model is used:
ψ k + 1 = ψ k + ω k
where ω k N 0 , Q UKF is a zero-mean white Gaussian noise, and Q UKF R 4 × 4 is the process noise covariance matrix.
The position and orientation of the manipulator tip are taken as the measurement vector, denoted as z k = p ^ k , tip v ^ k , tip R 6 . The measurement model at the k-th time instant is given by
z k = h ψ k , q c + ζ k
where h ψ k , q c = p ^ L ˜ , ψ k , q c v ^ L ˜ , ψ k , q c is the observation function, L ˜ is the manipulator’s total length, and ζ k N ( 0 , R UKF ) is the zero-mean white Gaussian measurement noise with measurement noise covariance matrix R UKF R 6 × 6 .
Considering the nonlinear nature of the observation model, the standard six-step UKF algorithm [30] is employed to estimate the state vector ψ k . Equation (29) allows the spatial position at any arc length s along the manipulator to be efficiently calculated, which enables real-time shape reconstruction of the entire manipulator.

5. Online Refinement of Manipulator Configuration

Due to inherent passive compliance and nonlinear friction effects, multi-segment continuum manipulators exhibit significant uncertainties, making offline-planned configuration solutions insufficient for reliable motion in practical constrained environments. Therefore, an online re-planner is designed for configuration refinement and collision avoidance based on model predictive control (MPC). The online planning process is guided by the pre-planned configurations, thereby exploiting the global insight of offline planning and accurate shape estimation to enable safe and reliable motion.

5.1. Linearized and Discretized Model for Configuration Refinement

Defining the state variables of the target continuum robot system as x = ( p 2 , x , p 2 , y , p 2 , z , p mid , x , p mid , y , p mid , z ) T R 6 and the system inputs as q ˙ A = q ˙ 1 , 1 , q ˙ 1 , 2 , q ˙ 2 , 1 , q ˙ 2 , 2 , z ˙ T T R 5 , its instantaneous kinematics can be expressed in the following general form:
x ˙ ( t ) = g x ( t ) , q ˙ A ( t ) = J q · q ˙ A
J q = f w , c ( · ) q ˙ A ( 1 ) , f w , c ( · ) q ˙ A ( 2 ) , , f w , c ( · ) q ˙ A ( 5 ) h w , c ( · ) q ˙ A ( 1 ) , h w , c ( · ) q ˙ A ( 2 ) , , h w , c ( · ) q ˙ A ( 5 ) R 6 × 5
where p 2 , x , p 2 , y , and p 2 , z represent the coordinate components of the manipulator’s tip; q ˙ A ( i ) denotes the i-th component of the input vector q ˙ A ; and f w , c ( · ) and h w , c ( · ) respectively correspond to the functional mappings given in (2) and (5).
By applying a Taylor series expansion to (33), the original nonlinear system is linearized and transformed into the following linear time-varying (LTV) system:
x ˙ ( t ) = g x x ( t ) , q ˙ A ( t ) x ( t ) + g q ˙ A x ( t ) , q ˙ A ( t ) q ˙ A ( t ) + ω ( t ) = A t x ( t ) + B t q ˙ A ( t ) + ω ( t )
Following the forward Euler method, (35) is discretized, leading to the following discretized linearized model:
x ( k + 1 ) = A k x ( k ) + B k q ˙ A ( k ) + ω ( k )
where A k = g x x ( t ) , q ˙ A ( t ) · T + I 6 , B k = g q ˙ A x ( t ) , q ˙ A ( t ) · T . T is the time duration of a single control step, and ω ( k ) denotes a disturbance term that includes modeling errors.

5.2. Design of the Online Configuration Refiner

The objective of the designed configuration refiner is to safely guide the continuum manipulator toward a specified target position while avoiding collisions, guided by the offline-planned configuration sequence. The manipulator’s configuration can be fully characterized by its tip and mid-positions. Accordingly, the cost function for the online configuration refiner is designed as
min J = i = 1 N p x ( k + i k ) x ref ( k + i k ) Q ̲ ̲ 2 + i = 1 N c 1 Δ q ˙ A ( k + i k ) R 2 + k obs i = 1 N p j = 1 N obs 1 ρ min , j q ˙ A ( k + i k ) + ε s . t . q ˙ A q ˙ A , min , q ˙ A , max
where x ref R 6 denotes the offline-planned reference configuration, defined by the trajectories of the manipulator’s tip and mid-positions. The term x ( k + i k ) x ref ( k + i k ) Q 2 quantifies the deviation between the actual configuration and the offline-planned reference, which guides both the tip and the mid-positions around their pre-planned trajectories. Q R 6 × 6 and R R 5 × 5 denote the weighting matrices associated with the configuration tracking error and input effort, respectively. The tracking of the mid-segment position can be appropriately relaxed via Q to ensure overall motion feasibility. ρ min ( · ) is the distance from the current configuration to the nearest constraint region. k obs is the weighting coefficient for the collision avoidance penalty term. N p and N c are the prediction horizon and control horizon, respectively.
By substituting (36) into (37), the following reformulation is obtained:
min Δ q ˙ A T H Δ q ˙ A + 2 f T Δ q ˙ A + k obs i = 1 N p j = 1 N obs 1 ρ min , j 2 q ˙ A ( k + i k ) + ε P obs q ˙ A s . t . q ˙ A q ˙ A , min , q ˙ A , max
where P obs q ˙ A is the nonlinear collision penalty term; H = Θ T Q ¯ Θ + R ¯ is a positive definite matrix that governs the variation in control inputs; and f = 2 x x ref T Q ¯ Θ , with Θ being the control-to-state influence matrix, which describes the cumulative effect of control inputs on future states.
To efficiently solve the nonlinear optimization problem incorporating collision penalty terms (38), the sequential quadratic programming (SQP) framework is adopted, wherein the original problem is iteratively solved via a series of quadratic programming (QP) subproblems.
The gradient of the collision penalty term is given by the chain rule as
P o b s q ˙ A = i = 1 N p x k + i q ˙ A T P o b s x k + i
For a single prediction step, the gradient with respect to the state vector is given by
P obs x k + i = j = 1 N obs 2 ρ min , j q ˙ A ( k + i k ) · v k + i ρ min , j 2 q ˙ A ( k + i k ) + ε 2 , i = 1 , , N p
v k + i = P close P obs , j ρ min , j q ˙ A ( k + i k )
where P close denotes the closest position of the continuum manipulator to constraint regions, determined based on the real-time shape estimation results and the surrounding environment. By linearizing (38) at the current configuration and substituting (39) into it, the QP subproblem is then reconstructed as
min Δ q ˙ A T H Δ q ˙ A + 2 f + k obs P obs q ˙ A T Δ q ˙ A s . t . q ˙ A q ˙ A , min , q ˙ A , max
The SQP algorithm solves the original problem (37) iteratively via a series of QP subproblems (42). The detailed steps of the algorithm were provided in [31,32]. Then, a series of control inputs can be obtained:
Δ q ˙ A = Δ q ˙ A ( k ) , Δ q ˙ A ( k + 1 ) , , Δ q ˙ A k + N c 1
By applying q ˙ A = Δ q ˙ A ( k ) + q ˙ A , ref to the actual system, the refined configuration for the next time step can be obtained.

6. Experiments and Results

6.1. Structure and Platform

The configuration and parameters of the continuum robot are illustrated in Figure 6a. The system comprises a tendon-driven continuum manipulator and a driving module. The manipulator consists of 42 serially connected vertebrae, with each adjacent pair capable of rotating about two orthogonal directions. It is divided into two flexible segments separated by a switching disc. Each segment provides pitch and yaw motion, while an additional linear actuator enables axial extension, resulting in a five-degree-of-freedom (5-DOF) robotic system. The overall experimental platform is shown in Figure 6b. The system was actuated by nine DC motors (MAXON, DCX 19/26, Sachseln, Switzerland) through ball-screw transmission mechanisms. A tension sensor (DaySensor, DYMH-113, Bengbu, China) was mounted at the end of each driving cable to calibrate the initial zero-state tension. Two passive optical markers were fixed at the distal end of the manipulator, and their real-time position and direction were captured and fed back by a motion capture system (NOKOV, Mars2H, Beijing, China). All algorithms were implemented on a computer (Intel, Ultra 5 225H 1.70 GHz, Santa Clara, CA, USA). Control commands were transmitted via user datagram protocol (UDP) to the dSPACE system (dSPACE, 1202, Paderborn, Germany) for protocol conversion, and then forwarded to drivers (MOTION G, UF01A/03A, Shenzhen, China) to execute the corresponding actuation.

6.2. Performance Evaluation and Comparison in Simulated Environments

6.2.1. Effectiveness Validation of CoDE for Configuration Planning

To validate the effectiveness of the CoDE for offline manipulator configuration planning, performance tests were conducted and compared with results based on standard DE. In the experiment, the start and end positions in the operational workspace were set to P S T = ( 48.5 , 65 , 292.8 ) and P E D = ( 98.5 , 81.2 , 232 ) , respectively. The parameter settings for the CoDE algorithm are listed in Table 1. For comparison, the DE algorithm used a population size twice that of N p , while all other parameters were kept identical.
Five repeated experiments were conducted under identical conditions. The convergence curves of the algorithms are illustrated in Figure 7, and the corresponding quantitative results are summarized in Table 2. The results indicate that the standard DE algorithm tends to converge to local optima; across the five trials, the best fitness value obtained was 228.6. This behavior stems from the difficulty of the DE in effectively exploring multimodal solution spaces in high-dimensional nonlinear optimization problems. In contrast, CoDE exhibited superior fitness values in all trials, with an average fitness of 183.6 over five experiments, representing an improvement of approximately 25.3% compared with DE for this configuration planning task. These results indicate the effectiveness of CoDE for continuum manipulator configuration planning and its improved performance over conventional DE, which is mainly attributed to its co-evolutionary decomposition and inter-population information exchange mechanisms.

6.2.2. Validation and Comparative Analysis in Constrained Environments

Furthermore, several constrained environments with different complexity were constructed within the robot’s effective workspace to further evaluate the performance of the proposed CoDE-based configuration planning method. The specific environment settings are shown in Figure 8.
RRT-based algorithms have been widely adopted for continuum robot motion planning and have demonstrated good adaptability. To further assess the performance benefits of the proposed approach, the workspace-based RRT* (W-Space RRT*) algorithm was introduced for comparison. Unlike the conventional configuration space-based RRT* (C-Space RRT*), W-Space RRT* reduces unnecessary motions induced by the nonlinear mapping between configuration space and workspace, thereby producing higher-quality configuration trajectories.
The planning results are shown in Figure 8 and Table 3. A smoothness metric is introduced to quantify the trajectory continuity, characterized by the standard deviation (Std) of the trajectory curvature, which is calculated as follows:
γ = i = 1 N c i c ¯ 2 N
where c i denotes the curvature at the current position.
As shown in Figure 8, both methods achieve effective collision avoidance within a finite time in the three test environments. However, the tip path generated by the comparative method exhibits noticeable curvature discontinuities, which are primarily attributed to the inherent stochasticity of the sampling process. In contrast, the overall configuration and end-effector trajectory under the proposed CoDE-based method maintain better smoothness, which is expected to facilitate more stable motion in practical operation. To quantitatively evaluate the overall performance of the tip path obtained by configuration planning, a performance metric κ is introduced in Table 3, defined as the ratio of the inverse path length to the computation time. A higher value of κ indicates better overall performance in terms of both path length and computational efficiency. In the relatively simple single-constraint test scenario (Case 1), the W-Space RRT* obtained a solution with comparable path length at a lower computational time. Nevertheless, the proposed CoDE-based method demonstrated a consistent advantage in terms of motion smoothness. Furthermore, in complex and constrained environments (Cases 2 and 3), CoDE exhibited more pronounced performance benefits. Specifically, in Case 2, the CoDE configuration planner generated a shorter tip path with more uniformly distributed curvature. In Case 3, despite a slight increase in computational time, CoDE achieved improvements of 14.7% in the final path length and 96.8% in the smoothness metric γ , respectively. Moreover, as shown in Figure 8d,f, the configuration sequence obtained by the CoDE method satisfies collision-free motion constraints while exhibiting more continuous and natural bending deformations. Throughout the entire motion process, the manipulator moves without excessive body twisting. Such deformation can be achieved with lower tension of driving tendons, which typically implies lower vertebrae friction and reduced uncertainty, thereby allowing the planned configurations to be relatively accurately reproduced in real environments.

6.3. Performance Evaluation and Comparison in Real-World Environments

Based on the offline configuration planning solutions, the online refinement mechanism uses real-time shape estimation results to monitor the manipulator–environment interaction for configuration adjustment. Validation and comparison experiments were conducted to further validate the effectiveness of the proposed hybrid framework for collision-free configuration planning.

6.3.1. Effectiveness and Accuracy Evaluation of Shape Estimation

The accuracy of the UKF-based shape estimation strategy was evaluated to demonstrate its capability to effectively reflect the manipulator’s configuration within constrained spaces, thereby providing prior information for online configuration refinement. Six observation points were evenly selected along the manipulator, from the base to the tip (denoted by black circles in Figure 9a). These positions were measured in real time using a motion capture system. The average estimation error across these six points was used to assess the accuracy of the shape estimation [33]. The parameters were set as Q UKF = 10 3 × I 4 , R UKF = 10 3 × diag ( 27 , 27 , 27 , 0.025 , 0.025 , 0.025 ) , α UKF = 0.01 , and β UKF = 2 .
A total of 43 distinct configurations within the effective workspace were tested. The corresponding experimental results are illustrated in in Figure 9a. The orange and blue curves represent the reconstructed backbone shapes of the continuum manipulator obtained through the UKF-based method, while the black hollow circles denote the observation points measured by the motion capture system. Figure 10 compares the actual shapes of the continuum manipulator under five representative actuation configurations with the corresponding estimates obtained using the algorithm in this paper. Specifically, Figure 10b shows the estimated manipulator shape, where the black square markers denote key positions measured by the motion capture system. It can be observed that the estimated central backbone closely matches the actual manipulator shape. Moreover, all measured key points are located in close proximity to the estimated centerline, demonstrating good agreement between the estimated shape and the ground truth. To further quantify the performance, Figure 9c presents the error distribution over all 43 target test configurations, with detailed error metrics summarized in Table 4. The experimental results show that the proposed method achieves a minimum estimation error of 1.20 mm and a maximum error of 2.64 mm. The mean absolute error (MAE) and root mean square error (RMSE) are 1.90 mm and 1.94 mm, respectively, corresponding to just 1.18% of the total manipulator length, which demonstrates the satisfactory shape estimation accuracy of the proposed approach. Moreover, the close proximity of the MAE to the RMSE indicates that the estimation errors are consistently distributed without significant outliers, reflecting stable performance across different configurations. Furthermore, the average estimation errors at different observation points were statistically analyzed, as shown in Figure 9b. The horizontal axis represents the index of observation points ordered from the base to the tip of the manipulator, and the vertical axis indicates the average estimation error at each point. The results show a slight increasing trend along the manipulator, with all errors remaining within the range of 1.9 ± 0.6 mm. These results demonstrate the reliable shape estimation provided for online configuration refinement and collision avoidance.
Compared with the work in [33,34], the proposed UKF-based method achieves accurate estimation performance while avoiding reliance on extensive sensor feedback on the manipulator. The overall shape of the continuum manipulator is reconstructed using only the tip pose feedback and motor-side encoder position measurements. The encoders are integrated into the actuation system and are mechanically decoupled from the manipulator body, thus imposing no additional space requirements on the arm. Furthermore, unlike the online optimization-based shape estimation approaches in [29,35], the UKF-based framework does not rely on complex iterative computation, which enables real-time shape estimation. In the current setup, tip pose feedback is obtained by capturing two markers on the end effector using a motion capture system (calibration accuracy: 0.52 mm). This configuration can be further simplified by using a 5- or 6-DOF electromagnetic (EM) tracker (Northern Digital Inc., Waterloo, ON, Canada) which provides a nominal positioning accuracy of approximately 0.45 mm [36].

6.3.2. Real-Time Computational Performance Evaluation

To assess the real-time performance of the proposed method, the computation time within a single control cycle was measured. Figure 11 shows the distribution of computation time over 60 consecutive control cycles, where the blue and orange areas represent the total computation time and the time consumed by the shape estimation module, respectively. The results show an average computation time of 25.8 ms per cycle, with the UKF-based shape estimation accounting for 3.7 ms on average. Under the preset control frequency of 25 Hz (i.e., a 40 ms control cycle), all computational tasks were completed within this time frame, demonstrating the real-time capability of the proposed approach.

6.3.3. Validation and Comparison of Collision Avoidance in Constrained Environments

To further evaluate the performance of the method, collision avoidance experiments were conducted in a real environment. The setup was consistent with Case 3 in Section 6.2, which included five spherical constraint regions. The parameters of the online refiner were set as N p = 10 , Q = diag ( 2 , 2 , 2 , 0.8 , 0.8 , 0.8 ) , R = 20 × diag ( 1 , 1 , 1 , 1 , 0.3 ) , and k obs = 9 × 10 4 . For comparison, the proposed method without online configuration refinement and the W-Space RRT* method were also tested. All experiments were performed under identical environmental constraints.
Figure 12 shows the motion processes under the three methods, and the corresponding collision avoidance results are summarized in Table 5. Due to uncertainties caused by friction, the configuration planning results are difficult to accurately reproduce in real environments. This is particularly evident when the manipulator undergoes excessive deformation, as the large tendon tension required further amplifies the deviations, thus leading to collisions in practice (Figure 12a). As illustrated in Step 2 of Figure 12a, the continuum manipulator experiences significant deformation, causing its actual configuration to deviate substantially from the theoretically planned collision-free shape, and thus, resulting in collisions with the nearby obstacle-constrained region. Although, in theory, this issue can be mitigated by expanding the size of the constraint region during planning, this further reduces the limited available space for configuration planning. As shown in Figure 12b, the moderate deformation of the manipulator reduces collisions during motion; however, unsafe movements still persist. In contrast, the proposed hybrid planning framework achieves reliable collision avoidance across the entire constrained workspace (Figure 12c). This effectiveness benefits from accurate shape estimation, which allows the planner to continuously monitor the distance to surrounding obstacles and perform online refinements, thereby enabling reliable collision-free motion of the robotic system. As shown in Figure 13, the red and light blue dashed lines denote the offline-planned paths of the tip and mid-positions, respectively, while the blue and green solid lines represent their actual motions. To ensure reliable collision avoidance during the online re-planning process, the tracking constraint of the mid-position is relaxed by reducing the corresponding weighting term in matrix Q. This relaxation allows appropriate deviation of the mid-segment, providing sufficient configuration flexibility for local refinements around the reference configurations, and thus leveraging the global insight of the offline plan to achieve robust collision avoidance under constrained environments.

6.3.4. Performance Comparison Under Different Configuration Adjustment Mechanisms

To further validate the performance advantage of the hybrid configuration planning framework, a null-space-projection-based (NSP-based) collision avoidance approach was selected for comparison, which has been widely used for real-time collision avoidance in constrained environments [21,22,37,38]. Its core idea is to guide the manipulator’s tip along a given trajectory while exploiting the Jacobian null space to perform online adjustment of the manipulator configuration, thereby achieving whole-body collision avoidance. The experimental setup is identical to that in the previous section, and the core collision avoidance potential field law is as follows [21]:
U r , k = k r γ 1 d k q A 1 d l γ d k q A d l 0 d k q A > d l
where k r and γ are gain coefficients, d k ( · ) denotes the sensed minimum distance between the manipulator and the obstacle, and d l is the distance threshold for activating collision avoidance. In this experiment, the algorithm parameters were carefully tuned to k r = 200 , γ = 2 , and d l = 30 .
Figure 14 shows the distance profile between the continuum manipulator and the center of the constrained region under two methods, where the pink area denotes the influence radius of the nearest constraint. As observed in Figure 14a, for the NSP-based method, portions of the curve enter the constraint influence area during the collision avoidance motion, resulting in a collision with the spherical constraint, as illustrated by the corresponding snapshot. In contrast, the proposed hybrid framework achieves safe collision avoidance in this multiple-obstacle-constrained space, which is primarily attributed to its whole-body configuration-based guidance mechanism. Trajectory-guided NSP planning methods for continuum manipulators perform well in simple constraint spaces with isolated obstacles [21,22]. However, in cluttered environments with multiple obstacles, the inherently myopic nature of the online planner regarding the manipulator configuration increases the risk of being trapped in locally infeasible regions, where no admissible collision avoidance solution can be found given the current configuration. The proposed method exploits the global perspective provided by offline configuration planning. By dynamically sensing the distance between the manipulator and constraint regions, it guides and incrementally refines the whole-body configuration in real time. This combination of offline configuration guidance and real-time whole configuration refinement enables stable collision avoidance in confined spaces with multiple constraints.

7. Conclusions

This paper presents a hybrid offline–online configuration planning framework for safe motion of continuum robots in constrained environments. First, a CoDE-based configuration pre-planning method is developed, in which each flexible segment of the manipulator is treated as an independently evolving sub-population to decompose the high-dimensional nonlinear optimization problem, while elite solution sharing enhances global exploration in the search space. Then, a UKF-based shape estimation strategy is constructed to reconstruct the manipulator shape in real time using tip pose feedback, which enables effective safe distance monitoring with a limited number of manipulator-integrated sensors. Experimental results show that the MAE of this estimation is 1.9 mm, accounting for approximately 1.15% of the total manipulator length, which provides a reliable basis for collision avoidance. Finally, guided by the global perspective provided by offline planning, the online refiner performs local refinements of the manipulator configuration by solving an SQP problem around the reference configurations. Unlike conventional tip trajectory-guided configuration planning frameworks, the proposed method leverages a globally optimized whole-body configuration perspective to guide online refinement. The configuration is incrementally adjusted according to real-time shape estimation, enabling reliable collision avoidance in constrained environments. Runtime analysis shows that the average online computation time per control cycle is approximately 25.8 ms, which supports real-time operation on the robotic system with a 25 Hz control frequency. Experiments in multiple constrained environments show its performance advantage in continuum robot configuration planning, and real-world tests further demonstrate its effective and robust collision avoidance performance.
Future work will focus on extending the method to a more flexible three-segment continuum surgical robot and integrating a 5-DOF magnetic navigation sensor at the end-effector, with the aim of exploring potential applications in confined surgical environments.

Author Contributions

Methodology, H.Y. and J.Z.; validation, H.Y., Y.H., and Z.J.; formal analysis, H.Y., Z.J., and J.Z.; data curation, H.Y. and Y.H.; writing—original draft preparation, H.Y. and Z.J.; writing—review and editing, J.Z. and J.H.; visualization, H.Y. and Y.H.; supervision, J.Z. and J.H.; project administration, J.Z. and J.H.; funding acquisition, J.Z. and J.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the “National Key Research and Development Program of China (2022YFB4703000)”, the “Beijing Municipal Natural Science Foundation (L242165)”, and the “Beijing-Tianjin-Hebei Basic Research Cooperation Project of China (24JCZXJC00340)”.

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CoDECo-evolutionary improved DE
C-SpaceConfiguration space
DEDifferential evolution
DOFDegree of freedom
IK-basedInverse-kinematics-based
MAEMean absolute error
MPCModel predictive control
NSPNull space projection
PSOParticle Swarm Optimization
QPQuadratic programming
RMSERoot mean square error
RRTRapidly exploring random tree
SQPSequential quadratic programming
UDPUser datagram protocol
UKFUnscented Kalman filter
W-Space RRT*Workspace-based RRT*

References

  1. Zhang, S.; Li, Q.; Yang, H.; Zhao, J.; Xu, K. Configuration Transition Control of a Continuum Surgical Manipulator for Improved Kinematic Performance. IEEE Robot. Autom. Lett. 2019, 4, 3750–3757. [Google Scholar] [CrossRef]
  2. Wang, H.; Wang, X.; Yang, W.; Du, Z.; Yan, Z. Construction of Controller Model of Notch Continuum Manipulator for Laryngeal Surgery Based on Hybrid Method. IEEE/ASME Trans. Mechatronics 2021, 26, 1022–1032. [Google Scholar] [CrossRef]
  3. Barrientos-Diez, J.; Dong, X.; Axinte, D.; Kell, J. Real-Time Kinematics of Continuum Robots: Modelling and Validation. Robot. Comput. Integr. Manuf. 2021, 67, 102019. [Google Scholar] [CrossRef]
  4. Ba, W.; Dong, X.; Mohammad, A.; Wang, M.; Axinte, D.; Norton, A. Design and Validation of a Novel Fuzzy-Logic-Based Static Feedback Controller for Tendon-Driven Continuum Robots. IEEE/ASME Trans. Mechatronics 2021, 26, 3010–3021. [Google Scholar] [CrossRef]
  5. Qi, Q.; Qin, G.; Yang, Z.; Chen, G.; Xu, J.; Lv, Z.; Ji, A. Design and motion control of a tendon-driven continuum robot for aerospace applications. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2024, 238, 1296–1310. [Google Scholar] [CrossRef]
  6. Qin, G.; Cheng, Y.; Ji, A.; Pan, H.; Yang, Y.; Yao, Z.; Song, Y. Research on the cable-driven endoscopic manipulator for fusion reactors. Nucl. Eng. Technol. 2024, 56, 498–505. [Google Scholar] [CrossRef]
  7. Pan, Q.; Wang, H.; Feng, Y.; Guo, S.; Luo, J. RRT-based CPC: A configuration planning method for continuum robots using Rapidly-exploring Random Tree algorithm. Robot. Auton. Syst. 2026, 195, 105190. [Google Scholar] [CrossRef]
  8. Gao, G.; Li, D.; Liu, K.; Ge, Y.; Song, C. A study on path-planning algorithm for a multi-section continuum robot in confined multi-obstacle environments. Robotica 2024, 42, 3324–3347. [Google Scholar] [CrossRef]
  9. Lang, Y.; Liu, J.; Xiao, Q.; Tang, J.; Chen, Y.; Dian, S. Obstacle-Avoidance Planning in C-Space for Continuum Manipulator Based on IRRT-Connect. Sensors 2025, 25, 3081. [Google Scholar] [CrossRef]
  10. Meng, B.H.; Godage, I.S.; Kanj, I. RRT*-Based Path Planning for Continuum Arms. IEEE Robot. Autom. Lett. 2022, 7, 6830–6837. [Google Scholar] [CrossRef] [PubMed]
  11. Tao, S.; Yang, Y. Collision-free motion planning of a virtual arm based on the FABRIK algorithm. Robotica 2017, 35, 1431–1450. [Google Scholar] [CrossRef]
  12. Xie, Y.; Zhang, Z.; Wu, X.; Shi, Z.; Chen, Y.; Wu, B.; Mantey, K.A. Obstacle Avoidance and Path Planning for Multi-Joint Manipulator in a Space Robot. IEEE Access 2020, 8, 3511–3526. [Google Scholar] [CrossRef]
  13. Shen, H.; Xie, W.F.; Tang, J.; Zhou, T. Adaptive Manipulability-Based Path Planning Strategy for Industrial Robot Manipulators. IEEE/ASME Trans. Mechatronics 2023, 28, 1742–1753. [Google Scholar] [CrossRef]
  14. Qin, G.; Zhang, H.; Zheng, L.; Liu, S.; Chen, Q.; Hu, H.; Zhang, D.; Cheng, Y.; Zuo, C.; Ji, A. Research on 3D information collection path planning for hyper-redundant space robots (HSRs). Mech. Sci. 2024, 15, 531–539. [Google Scholar] [CrossRef]
  15. Wang, T.; Ma, G.; Xu, L.; Yu, R. CP-QRRT*: A Path Planning Algorithm for Hyper-Redundant Manipulators Considering Joint Angle Constraints. Sensors 2025, 25, 1490. [Google Scholar] [CrossRef]
  16. Santoso, J.; Onal, C.D. An Origami Continuum Robot Capable of Precise Motion Through Torsionally Stiff Body and Smooth Inverse Kinematics. Soft Robot. 2021, 8, 371–386. [Google Scholar] [CrossRef] [PubMed]
  17. Bai, Z.; Niu, Y.; Kong, Q. Kinematic Analysis and Trajectory Planning of Multi-Segment Continuum Manipulator. J. Mech. Robot. 2025, 17, 061008. [Google Scholar] [CrossRef]
  18. Yang, J.; Peng, H.; Wu, S.; Zhang, J.; Wu, Z.; Wu, J. A combined kinodynamic motion planning method for multisegment continuum manipulators in confined spaces. Nonlinear Dyn. 2023, 112, 2721–2744. [Google Scholar] [CrossRef]
  19. Niu, G.; Zheng, Z.; Gao, Q. Collision free path planning based on region clipping for aircraft fuel tank inspection robot. In Proceedings of the 2014 IEEE International Conference on Robotics and Automation (ICRA), Hong Kong, China, 31 May–7 June 2014; pp. 3227–3233. [Google Scholar] [CrossRef]
  20. Wu, H.; Yu, J.; Pan, J.; Pei, X. A novel obstacle avoidance heuristic algorithm of continuum robot based on FABRIK. Sci. China Technol. Sci. 2022, 65, 2952–2966. [Google Scholar] [CrossRef]
  21. Li, J.; Li, D.; Wang, C.; Guo, W.; Wang, Z.; Zhang, Z.; Liu, H. Active collision avoidance for teleoperated multi-segment continuum robots toward minimally invasive surgery. Int. J. Robot. Res. 2024, 43, 918–941. [Google Scholar] [CrossRef]
  22. Lai, J.; Lu, B.; Zhao, Q.; Chu, H.K. Constrained Motion Planning of a Cable-Driven Soft Robot with Compressible Curvature Modeling. IEEE Robot. Autom. Lett. 2022, 7, 4813–4820. [Google Scholar] [CrossRef]
  23. Tian, Y.; Zhu, X.; Meng, D.; Wang, X.; Liang, B. An Overall Configuration Planning Method of Continuum Hyper-Redundant Manipulators Based on Improved Artificial Potential Field Method. IEEE Robot. Autom. Lett. 2021, 6, 4867–4874. [Google Scholar] [CrossRef]
  24. Wei, X.; Ju, F.; Bai, D.; Guo, H.; Lu, C.; Wu, H.; Chen, B. Design and Compensation Control of Modular Variable Stiffness Continuum Manipulator for Nasal Surgery. IEEE Trans. Instrum. Meas. 2024, 73, 1–13. [Google Scholar] [CrossRef]
  25. Zhong, G.; Peng, B.; Dou, W. Kinematics analysis and trajectory planning of a continuum manipulator. Int. J. Mech. Sci. 2022, 222, 107206. [Google Scholar] [CrossRef]
  26. Lai, J.; Huang, K.; Lu, B.; Zhao, Q.; Chu, H.K. Verticalized-Tip Trajectory Tracking of a 3D-Printable Soft Continuum Robot: Enabling Surgical Blood Suction Automation. IEEE/ASME Trans. Mechatronics 2022, 27, 1545–1556. [Google Scholar] [CrossRef]
  27. Li, M.; Wang, J.; Cao, R.; Li, Y. A differential evolution framework based on the fluid model for feature selection. Eng. Appl. Artif. Intell. 2024, 133, 108560. [Google Scholar] [CrossRef]
  28. Wang, M.; Ma, Y. A differential evolution algorithm based on accompanying population and piecewise evolution strategy. Appl. Soft Comput. 2023, 143, 110390. [Google Scholar] [CrossRef]
  29. Rao, P.; Peyron, Q.; Burgner-Kahrs, J. Using Euler Curves to Model Continuum Robots. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China, 30 May–5 June 2021; pp. 1402–1408. [Google Scholar] [CrossRef]
  30. Wan, E.; Van Der Merwe, R. The unscented Kalman filter for nonlinear estimation. In Proceedings of the IEEE 2000 Adaptive Systems for Signal Processing, Communications, and Control Symposium (Cat. No.00EX373), Lake Louise, AB, Canada, 4 October 2000; pp. 153–158. [Google Scholar] [CrossRef]
  31. Murray, W. Some Aspects of Sequential Quadratic Programming Methods. In Large-Scale Optimization with Applications: Part II: Optimal Design and Control; Biegler, L.T., Coleman, T.F., Conn, A.R., Santosa, F.N., Eds.; Springer: New York, NY, USA, 1997; pp. 21–35. [Google Scholar] [CrossRef]
  32. Hasan, M.S.; Chowdhury, M.M.U.T.; Kamalasadan, S. Sequential Quadratic Programming (SQP) Based Optimal Power Flow Methodologies for Electric Distribution System with High Penetration of DERs. IEEE Trans. Ind. Appl. 2024, 60, 4810–4820. [Google Scholar] [CrossRef]
  33. Zhao, Q.; Lai, J.; Huang, K.; Hu, X.; Chu, H.K. Shape Estimation and Control of a Soft Continuum Robot Under External Payloads. IEEE/ASME Trans. Mechatronics 2022, 27, 2511–2522. [Google Scholar] [CrossRef]
  34. Li, Q.; Wang, W.; Liu, J.; Jain, A.; Armand, M. Data-driven Shape Sensing of Continuum Dexterous Manipulators Using Embedded Capacitive Sensor. In Proceedings of the 2023 IEEE SENSORS, Vienna, Austria, 29 October–1 November 2023; pp. 1–4. [Google Scholar] [CrossRef]
  35. Baibo, W.U.; Chang, Z.; Xiang, W.; Dawei, S.; Kai, X.U. Active compliance and force estimation of a continuum surgical manipulator based on the tip-pose feedback. Sci. China Technol. Sci. 2023, 66, 2517–2529. [Google Scholar] [CrossRef]
  36. Northern Digital Inc. Aurora Technical Specifications, 2025. Available online: https://www.ndigital.cn/products/aurora/ (accessed on 3 January 2026).
  37. Wu, Y.; Jia, X.; Li, T.; Xu, C.; Liu, J. Collision avoidance control for redundant manipulators in construction operations: A null-space-based task-priority adjustment approach. Ind. Robot. Int. J. Robot. Res. Appl. 2023, 51, 73–90. [Google Scholar] [CrossRef]
  38. Li, M.; Kang, R.; Branson, D.T.; Dai, J.S. Model-Free Control for Continuum Robots Based on an Adaptive Kalman Filter. IEEE/ASME Trans. Mechatronics 2018, 23, 286–297. [Google Scholar] [CrossRef]
Figure 1. Schematic and coordinate frame definitions of the manipulator.
Figure 1. Schematic and coordinate frame definitions of the manipulator.
Sensors 26 01129 g001
Figure 2. Sequence of key configuration frames.
Figure 2. Sequence of key configuration frames.
Sensors 26 01129 g002
Figure 3. Geometric configuration of flexible segment 1.
Figure 3. Geometric configuration of flexible segment 1.
Sensors 26 01129 g003
Figure 4. Framework of the CoDE algorithm.
Figure 4. Framework of the CoDE algorithm.
Sensors 26 01129 g004
Figure 5. Encoding scheme for configuration parameters.
Figure 5. Encoding scheme for configuration parameters.
Sensors 26 01129 g005
Figure 6. Overall experimental setup: (a) structure and parameters of the continuum robot; (b) schematic of the experimental platform.
Figure 6. Overall experimental setup: (a) structure and parameters of the continuum robot; (b) schematic of the experimental platform.
Sensors 26 01129 g006
Figure 7. Convergence curves from five independent runs: (a) standard DE; (b) CoDE.
Figure 7. Convergence curves from five independent runs: (a) standard DE; (b) CoDE.
Sensors 26 01129 g007
Figure 8. Configuration planning results and comparison across different test cases: (ac) results under the W-Space RRT* method; (df) results under the proposed CoDE-based method.
Figure 8. Configuration planning results and comparison across different test cases: (ac) results under the W-Space RRT* method; (df) results under the proposed CoDE-based method.
Sensors 26 01129 g008
Figure 9. Shape estimation error results of the continuum manipulator: (a) estimation and reconstruction results under different configurations, (b) distribution of estimation errors at different measurement positions, and (c) estimation errors for different configurations.
Figure 9. Shape estimation error results of the continuum manipulator: (a) estimation and reconstruction results under different configurations, (b) distribution of estimation errors at different measurement positions, and (c) estimation errors for different configurations.
Sensors 26 01129 g009
Figure 10. Comparison of actual and estimated shapes for five representative actuated configurations: (a) actual shapes; (b) estimated shapes.
Figure 10. Comparison of actual and estimated shapes for five representative actuated configurations: (a) actual shapes; (b) estimated shapes.
Sensors 26 01129 g010
Figure 11. Computation time distribution across 60 consecutive control cycles.
Figure 11. Computation time distribution across 60 consecutive control cycles.
Sensors 26 01129 g011
Figure 12. Motion snapshots in constrained environments under different methods: (a) W-Space RRT*, (b) proposed method without online refinement, and (c) proposed hybrid planning framework.
Figure 12. Motion snapshots in constrained environments under different methods: (a) W-Space RRT*, (b) proposed method without online refinement, and (c) proposed hybrid planning framework.
Sensors 26 01129 g012
Figure 13. Manipulator motion and driving signals: (a) trajectories of the tip and mid segments; (b) actuation displacements.
Figure 13. Manipulator motion and driving signals: (a) trajectories of the tip and mid segments; (b) actuation displacements.
Sensors 26 01129 g013
Figure 14. Minimum distance curve between the manipulator and the constraint center during motion: (a) NSP-based method; (b) proposed method.
Figure 14. Minimum distance curve between the manipulator and the constraint center during motion: (a) NSP-based method; (b) proposed method.
Sensors 26 01129 g014
Table 1. Parameter settings for CoDE.
Table 1. Parameter settings for CoDE.
Parameter NameValue
Population size N p = 20
Scaling factor F = 1
Crossover probability C R = 0.8
Iteration number i t e r = 150
Weighting coefficient ω η = 10 , ω a = 5
Penalty term P = 50
Table 2. Performance evaluation of algorithms under five trials.
Table 2. Performance evaluation of algorithms under five trials.
MethodsBest FitnessWorst FitnessAverageRMS
DE228.6251.6245.9246.2
CoDE179.3188.6183.6183.6
RMS: Root mean square.
Table 3. Comparison of configuration planning results.
Table 3. Comparison of configuration planning results.
Environment SettingsMethodTip Path LengthCurvature Std γ Computation TimeMetric κ × 10 4
Case 1W-Space RRT*210.8 mm 2.5 × 10 2 11.2 s4.23
Proposed201.9 mm 2 × 10 3 18.4 s2.69
Case 2W-Space RRT*249.8 mm 7.6 × 10 2 42.3 s0.95
Proposed170.4 mm 5 × 10 4 27.2 s2.16
Case 3W-Space RRT*207.3 mm 3.1 × 10 2 33.1 s1.46
Proposed176.9 mm 1 × 10 3 37.5 s1.51
Table 4. Shape estimation error results.
Table 4. Shape estimation error results.
Error MetricsValue
MinE (mm)1.20
MaxE (mm)2.64
MAE (mm)1.90
RMSE (mm)1.94
RMSE/ L m 1.18%
MinE: minimum error; MaxE: maximum error; L m : total length of continuum manipulator.
Table 5. Comparison of collision avoidance results under different methods.
Table 5. Comparison of collision avoidance results under different methods.
MethodsCollision StatusNumber of Interference Zones
W-Space RRT*Collided2
Proposed without refinementCollided1
Proposed hybrid frameworkSafe0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yuan, H.; Jing, Z.; He, Y.; Han, J.; Zhang, J. Hybrid Offline–Online Configuration Planning Approach for Continuum Robots Based on Real-Time Shape Estimation. Sensors 2026, 26, 1129. https://doi.org/10.3390/s26041129

AMA Style

Yuan H, Jing Z, He Y, Han J, Zhang J. Hybrid Offline–Online Configuration Planning Approach for Continuum Robots Based on Real-Time Shape Estimation. Sensors. 2026; 26(4):1129. https://doi.org/10.3390/s26041129

Chicago/Turabian Style

Yuan, Hexiang, Zhibo Jing, Yibo He, Jianda Han, and Juanjuan Zhang. 2026. "Hybrid Offline–Online Configuration Planning Approach for Continuum Robots Based on Real-Time Shape Estimation" Sensors 26, no. 4: 1129. https://doi.org/10.3390/s26041129

APA Style

Yuan, H., Jing, Z., He, Y., Han, J., & Zhang, J. (2026). Hybrid Offline–Online Configuration Planning Approach for Continuum Robots Based on Real-Time Shape Estimation. Sensors, 26(4), 1129. https://doi.org/10.3390/s26041129

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop