1. Introduction
Mobile robots have a wide range of applications, including detection, search and rescue, and collaborative tasks, in which most mobile robots face limitations in navigating narrow spaces with numerous obstacles [Reference Luca, Oriolo, Vendittelli, Nicosia, Bicchi and Valigi1–Reference Ding, Peng, Lin and Wu3]. This challenge becomes evident in scenarios such as navigating intricate equipment, negotiating cluttered environments after earthquakes, and tackling multi-obstacle situations. Confined multi-obstacle environments are typically characterized by their small and intricate nature, demanding the use of smaller and more agile robots for effective task execution. Continuum robots, inspired by the grasping motions of elephants or the crawling motions of snakes, are a promising class of bionic robots [Reference Walker4–Reference Yang, Geng, Walker, Branson, Liu, Dai and Kang7]. Made from flexible materials, continuum robots boast deformable structures and muscle-like actuators, enhancing their elongated and agile form. Continuum robots, characterized by superior flexibility and degrees of freedom compared to conventional mobile robots, excel in maneuvering through confined spaces cluttered with obstacles, as illustrated in the scenarios mentioned above.
Applications of the continuum robots in medical surgery [Reference Burgner-Kahrs, Rucker and Choset8–Reference Zhang, Xie, Qian, Duan and Li12], environmental detection, and maintenance under complex and narrow environments [Reference Angrisani, Grazioso, Gironimo, Panariello and Tedesco13–Reference Cobos-Guzman, Palmer and Axinte18] have received significant attention. In the medical field, continuum robots have been utilized in endoscopic surgery, as elucidated in refs. [Reference Sarli and Simaan19] and [Reference Kato, Okumura, Song, Golby and Hata20]. A novel continuum robot for automated surgical blood suction is demonstrated in ref. [Reference Lai, Huang, Lu, Zhao and Chu21], demonstrating effective trajectory tracking and fluid suction capabilities. A miniature continuum robot with three flexible joints was introduced in ref. [Reference Dupourqué, Masaki, Colson, Kato and Hata22], designed specifically for visualizing the human bronchial tubes. Environmental inspection and maintenance are also scenarios in which continuum robots have been frequently applied in recent years. For instance, a slender continuum robot tailored for aircraft engine maintenance was presented in ref. [Reference Dong, Axinte, Palmer, Cobos, Raffles, Rabani and Kell23], while a growable continuum robot capable of firefighting in complex environments was introduced in ref. [Reference Hawkes, Blumenschein, Greer and Okanura24]. Furthermore, the utilization of continuum robots in deep-sea exploration was outlined in ref. [Reference Phillips, Becker, Kurumaya, Galloway, Whittredge, Vogt, Teeple, Rosen, Pieribone, Gruber and Wood25].
The flexibility and dexterity of continuum robots enable them to adapt effectively to confined spaces. Yet their unique structure and kinematic mechanisms pose challenges in planning feasible paths for these robots in such environments. Path-planning methods for traditional robots were well established [Reference Rasheed, Al-Araji and Abdullah26], including the A* algorithm [Reference Duchoň, Babinec, Kajan, Beňo, Florek, Fico and Jurišica27], the rapidly exploring random trees (RRT) algorithm [Reference Elbanhawi and Simic28], and the artificial potential field method [Reference Park, Jeon and Lee29]. However, these traditional path-planning algorithms still encounter certain challenges. The A* algorithm suffers from low efficiency, the RRT algorithm exhibits issues of blindness, instability, poor smoothness, and limited obstacle avoidance ability, while the artificial potential field method is prone to easily falling into local minima. Furthermore, innovative techniques for navigating continuum robots in real-time inspections within complex and constrained environments were proposed [Reference Palmer, Cobos-Guzman and Axinte30]. However, path planning has not been taken into consideration. In recent years, significant efforts have also been devoted to the study of path planning for continuum robots. Local path-planning techniques for continuum robots have been discussed in various literature. Godage et al. [Reference Godage, Branson, Guglielmino and Caldwell31] incorporated proximity sensors into the continuum robot to detect environmental information and prevent collisions with obstacles during its motion. Ataka et al. [Reference Ataka, Qi, Liu and Althoefer32] introduced a real-time path-planning algorithm for continuum robots utilizing a potential field approach, with efficient modifications based on the constant curvature assumption. Ouyang et al. [Reference Ouyang, Liu, Tam and Sun33] introduced a human-robot interactive control system for continuum robots, which proposes a shape correspondence approach based on user-defined desired curves. Additionally, an image-based controller is designed to prevent collisions between the robot and its environment. Wu et al. [Reference Wu, Yu, Pan and Xu34] presented a heuristic inverse kinematics algorithm for continuum robots, broadening its applicability through backward iteration. The effectiveness of the algorithm in trajectory tracking and obstacle avoidance for a multi-section continuum robot was validated through simulations. Although the aforementioned local path-planning methods offer significant advantages in real-time navigation for continuum robots, they still struggle to prevent these robots from getting trapped in local optima while navigating through complex environments, resulting in motion deadlocks. Likewise, global path planning for continuum robots has garnered significant attention. Torres et al. [Reference Torres, Kuntz, Gilbert, Swaney, Hendrick, Webster and Alterovit35] introduced a motion planning method tailored for concentric tube continuum robots. This method employs the rapidly exploring random graph (RRG) approach to pre-compute a collision-free roadmap. However, its applicability is limited to concentric tube continuum robots and does not extend to general continuum robots. Greigarn et al. [Reference Greigarn, Poirot, Xu and Cavusoglu36] presented a task-space motion planning technique for MRI-actuated continuum robots, employing the Jacobian approach to generate trajectories guiding the robot’s end-effector along a designated path. However, this method may produce inappropriate paths for the continuum robots within the task space. Seleem et al. [Reference Seleem, Assal, Ishii and El-Hussieny37] introduced a Demonstration Guided Pose Planning technique, designed for learning and planning point-to-point spatial motion for multi-section continuum robots. These methods emphasize the transfer of movement skills to the robot via teleoperation but do not include a process for generating feasible paths in the task space of continuum robots. Meng et al. [Reference Meng, Godage and Kanj38] proposed a path-planning method for continuum robots based on their workspace (W-Space), illustrating its application in robot obstacle avoidance and trajectory tracking. However, this method does not explore further the motion characteristics of the continuum robot as well.
For a continuum robot, pre-planning a globally optimal path before it enters a workspace with multiple obstacles can result in more efficient robot movement and reduced navigation time, such as the inspection and maintenance of airplane wings, supercomputers, etc. However, from the above research, it is evident that existing global path-planning algorithms for continuum robots overlook the consideration of the kinematic constraints specific to these robots. Neglecting the kinematic constraints of the continuum robot in path planning can lead to paths that do not align well with the configuration of robots in various scenarios, thereby significantly compromising the accuracy of the path-tracking motion. This paper focuses on global path planning for continuum robots, enhancing the RRT* algorithm [Reference Aggarwal and Kumar39] to generate paths that adhere to the kinematic constraints of these robots. Although the RRT* algorithm is probabilistically complete, its efficiency is hindered by its inherent randomness. To address this, the greedy algorithm [Reference Zhao, Zhou and Liu40] is integrated with RRT* to curtail its iteration count. To ensure optimality and adherence to continuum robot kinematic constraints, modifications are applied to the rewire rules and node numbers in RRT*. This enhanced algorithm is termed the continuum-RRT* algorithm in this study. The resulting path generated by the smoothed continuum-RRT* algorithm serves as the target path for the designed continuum robot, with path feasibility confirmed through continuum robot path-tracking experiments.
The remainder of this paper is organized as follows: The structure of the continuum robot used in this paper is introduced in Section 2. In Section 3, the motion planning algorithm of the continuum robot is elaborated. Path-tracking experiments of the continuum robot are carried out in Section 4. The conclusion is given in Section 5.
2. Prototype Design and Kinematic Model
2.1. Prototype design
The structure of the continuum robot is proposed as shown in Figure 1, which includes four flexible elements, actuation modules, and sensing modules. As displayed in Figure 2(a), the four-section continuum robot arm is comprised of four flexible elements. Each element features a flexible polyurethane rod material (TPU, Thermoplastic Polyurethane) serving as its backbone. The polyurethane rod material exhibits stable mechanical properties, uniform deformation, and excellent resilience, rendering it highly suitable as the backbone material for the continuum robot arm. On the backbone of each element, circular segments are uniformly distributed along the axial direction of the robot arm. Each circular segment is equipped with three evenly spaced circular holes circumferentially, which serve as passages for drive tendons. Corrugated hoses are wrapped around the continuum robot arm to ensure the torsional stability of the robot arm.
Each individual segment of the continuum robot arm is driven independently by three drive tendons. One end of each drive tendon is anchored to the top segment, while the other end sequentially passes through the circular holes in the middle segment. Metal rings are installed within these holes to minimize friction between the segments and the drive tendons. The connection structure between adjacent continuum robot arms is depicted in Figure 2(a) as well. Flexible tubing is situated beneath each single-section continuum robot arm to guide the drive tendons into the cavity of the following section, preventing spatial interference among the drive tendons of each individual section.
Furthermore, the sensing modules are distributed at the end of each flexible element of the continuum robot, as shown in Figure 2(b). The structure of the actuation module, as depicted in Figure 2(c), comprises a hollow shell known as the spiral drum, featuring a spiral groove on its exterior. The spiral drum is affixed to a rotating table, and several servo motors are positioned inside the spiral drum. In the non-working state of the continuum robot, the servo motors retract the drive tendons, causing the continuum robot arm to coil within the spiral groove of the spiral drum. Conversely, to transition the continuum robot arm into the working state, the drive tendons are released, and the rotating table is rotated, allowing the continuum robot arm to extend and enter the workspace in a linear feed [Reference Palmer and Axinte41].
2.2. Kinematic model
The concept of constant curvature kinematics [Reference Webster and Jones42] is employed to depict the motion of the continuum robot. Given that the primary mode of movement for the continuum robot discussed in this paper involves ground-level walking, gravitational forces have minimal impact on the posture of the robot. Regarding the flexible components, their curved configuration resembles a consistent curvature arc. Altering the effective length of the three drive tendons within each flexible element enables the bending of these elements in various planes. As shown in Figure 3, {x a , y a , z a } and {x e , y e , z e } are the base coordinate system and end coordinate system of the flexible element, respectively, $\varphi $ is the rotation angle to describe the bending direction and θ is bending angle to describe the bending degree, L is the axial length, where θ and $\varphi $ are attitude parameters, and L is assigned as L = 300 mm herein. θ is determined by the structure of the flexible elements. The maximum bending angle θ max of the flexible elements is assigned as 2π/3 considering the deformation limits of materials. The homogeneous transformation matrix T from the base coordinate system to the end coordinate system can be expressed as:
Thus, the endpoint of the flexible element can be expressed by:
Utilizing the constant curvature assumption, the mathematical correlation between the length of each drive tendon and the attitude parameters can be determined by leveraging the geometric distribution of each drive tendon, thereby achieving forward kinematics.
The kinematics of the driving parameters is illustrated in Figure 4. Here, ρ i denotes the bending radius of the i-th drive tendon, r represents the diameter of the circle of drive tendon distribution, and d i signifies the distance between the i-th drive tendon and the bending plane as well as the difference between ρ i and ρ. Based on trigonometric derivation, the relationship between d i and the attitude parameter $\varphi $ can be obtained as follows:
Based on the central angle theorem, θd i can characterize the driving amount of the drive tendons. However, since the drive tendons are distributed on different sides of the bent plane, the robot exhibits different states of elongation or contraction in the bent state. Therefore, it is necessary to assign a positive or negative property to d i . Adjusting the expression of d i based on Eq. (3) yields the driving amounts of each drive tendon.
According to Eq. (4), one can derive the relationship between the effective length of each drive tendon and the attitude parameters.
According to the forward kinematic of the series robot, the expression of the homogeneous transformation matrix of the four-section continuum robot arm from its base coordinate system to the end coordinate system can be obtained as:
where i-1 T i represents the homogeneous transformation matrix from the base coordinate system {x i-1, y i-1, z i-1} of the i-th flexible element to the base coordinate system {x i , y i , z i } of the i + 1 flexible element, as shown in Figure 5. In light of Eq. (1), i-1 T i could be simplified as:
If the pose information of a certain section end coordinate system relative to the base coordinate system in a multi-section robot is known, that is, the homogeneous transformation matrix i-1 T i is given, then the expression for solving the attitude parameters of this section based on i-1 T i is as follows:
From the structural design introduction of the multi-segment continuum robot in Figure 1, it is evident that each flexible section of the robot is driven by three tendons. Therefore, the actuation between the robotic sections is decoupled. Thus, based on the forward kinematics functions of the joint space and the driving space of the flexible section, the relationship between the effective length of the drive tendons of section j and the attitude parameters of that section is as follows:
According to the inverse kinematics functions of the joint space and the driving space of the single-section robot, the expression describing the attitude parameters of section j of the robot in terms of the effective length of each drive tendon of that section is as follows:
3. Path Planning for the Continuum Robot
3.1. Robot path planning
Path planning is essential for continuum robots to perform navigation in muti-obstacle environments. Their flexible structure provides remarkable adaptability. Ensuring obstacle-free motion is crucial for maintaining motion accuracy. According to the constant curvature kinematic, the shape of the four-section continuum robot arm is essentially composed of four constant curvature arcs. The bending angle θ of the flexible elements is confined by the material and structural constraints of the continuum robot. The maximum bending angle θ max of the flexible elements is assigned 2π/3 herein considering the deformation limits of materials. In such a condition, Figure 6 illustrates the passable and impassable paths of the continuum robot. In Figure 6(b), the kinematic solution of the continuum robot cannot be obtained due to the excessively large bending angle of the polyline path. Therefore, path planning for continuum robots needs to satisfy the following constraints:
-
(i) The path curve is continuous and differentiable.
-
(ii) The curvature at each point along the path curve should not exceed the maximum bending curvature of the continuum robot.
For paths that satisfy the mentioned constraints, a theoretical pose exists at each point along the path that can minimize the cumulative deviation between the continuum robot and the path curve. As a result, during the path-tracking motion of the continuum robot along such a path, a substantial level of alignment with the path can be achieved.
The “follow-the-leader” motion strategy [Reference Choset and Henning43] is adopted for the continuum robot in this study. By employing this strategy, the process of path planning for the continuum robot is analogous to devising a trajectory for a mobile robot characterized by complex motion constraints. Drawing from mobile robot path-planning techniques, the RRT* algorithm, known for its optimality, is employed. Nevertheless, modifications are required to customize the path according to the distinctive attributes of the continuum robot.
Based on the aforementioned analysis, the following improvements are implemented to the RRT* algorithm to match the kinematic characteristics of the continuum robot.
3.1.1. Heuristic bias sampling
In the RRT* algorithm, x init, x goal, and x rand are used to denote the starting node, the target node, and the randomly generated nodes in an input map, respectively. To produce feasible paths for the continuum robot, it is essential for the low-dimensional polyline paths generated by the RRT* algorithm to be relatively smooth. To achieve this, it becomes necessary to intervene in the random sampling process of the RRT* algorithm, specifying the tree expansion direction to ensure smoother path generation. By modifying the sample function in the RRT* algorithm, it is possible to generate nodes x rand closer to the target node x goal. Consequently, the expansion of the tree in the RRT* algorithm will tend to converge toward the target node x goal, resulting in the connection of the nodes in the tree also tending to be distributed near the straight line from x init to x goal. As a result, nodes in the vicinity of the target node x goal will have a higher probability of being sampled, leading to smoother branches in the tree.
A two-dimensional random variable (X, Y) is employed to denote the positions of the randomly sampled nodes in the two-dimensional configuration space. The random variables X and Y correspond to the horizontal and vertical coordinates of the sampling nodes, respectively. The probability of the random sampling nodes being selected is determined by the probability density function f(x, y) of the two-dimensional random variable (X, Y). f(x, y) can be defined as:
where u goal and v goal are the horizontal and vertical coordinates of the target node x goal in the input map of the RRT* algorithm, respectively; $\varepsilon $ is the bias coefficient, which determines the bias degree of the random sampling nodes x rand toward the target node x goal. k is the adaptation coefficient, which can be adjusted for different input maps according to:
The above modification to the sample function is called heuristic bias sampling. After the above modification, the path generated by the RRT* algorithm is shown in Figure 7. As evident from Figure 7, the sampling nodes demonstrate a tendency to cluster along the connection between the starting node x init and the target node x goal. Moreover, regions closer to the target node x goal exhibit a higher probability of the sampling nodes being selected.
The value of the bias coefficient $\varepsilon $ is the key to set the sampling rule of the algorithm. A smaller $\varepsilon $ value directs the tree expansion more definitively from the initial node to the target node, increasing the likelihood of obtaining feasible paths while reducing the number of nodes needed to expand the tree in search of the target node. This enhances the efficiency of the algorithm. Nevertheless, as $\varepsilon $ decreases, the nodes within the tree tend to expand with increased greediness. In relation to the greedy algorithm, it becomes apparent that excessive intervention in the sampling process can lead to suboptimal paths in certain scenarios. This is illustrated in Figure 8(a), where the algorithm requires more iterations to achieve the optimal path.
Besides, the modification of the sample function cannot guarantee that each expansion step will align with the kinematic characteristics of the continuum robot. For instance, as shown in Figure 8(b), certain adjacent polyline segments exhibit overly large angles, significantly diverging from the expected kinematic characteristics of the continuum robot. Therefore, beyond refining the sampling function, enhancements must also be made in parent node selection and rewire rules to ensure that the algorithm generates paths aligning with the kinematic characteristics of the continuum robot.
3.1.2. Parent nodes selection and rewire
In the low-dimensional polyline paths generated by the RRT* algorithm, the angle between adjacent polyline segments is essentially the steering angle for the mobile robots and is the bending angle θ for the single-section continuum robot. As shown in Figure 9, when the newly generated node x new of the RRT* algorithm selects its parent node, it needs to traverse all nodes in the circle centered on itself to find a node with the lowest cost as its parent node. For ease of description, the parent node of x new is recorded as x j, and the parent node of x j is recorded as x jparent. To obtain a path that satisfies the kinematic characteristics of the continuum robot, $\varphi $ j in Figure 9 must satisfy $\varphi $ j <θ max.
Once the set of x j nodes satisfying the above constraint is identified, the next step is to compute the path costs from x init to x new through each x j node. Among these costs, the one associated with the lowest value is recorded as x best. Subsequently, x best is chosen as the parent node of x new, and x new is connected to x best, as depicted in Figure 10(a).
The above process can be realized by changing the ChooseParent function in the RRT* algorithm. Similarly, the wiring process in RRT* will change the connections between the nodes, so it is also necessary to add angle constraints to the rewiring rules. As shown in Figure 10(a), traverse other nodes x j except x best within the range centered on x new, such as x 2, x 3. If the angle between the connection of x best and x new and the connection of x new and x j satisfies the relation in $\varphi $ j <θ max and the cost of the path from x init to x j through x new is lower compared to the cost of the path through x j in the original tree structure, change the parent node of x j to x new and delete the connection with its original parent node. As shown in Figure 10(b), the original tree structure x best x 2 x 3 is rewired into x best x new x 3 with a lower path cost.
3.1.3. Node optimization
The path obtained after the above process may still contain a substantial number of nodes with multiple turns. When the continuum robot follows such a path for path-tracking, the unevenness of the path can make it challenging to precisely conform the robot to the path, resulting in increased motion errors. To address this issue, it is necessary to optimize the output path by removing redundant nodes and minimizing steering in the path. This optimization process aims to create a path that better aligns with the kinematic characteristics of the continuum robot.
As shown in Figure 11, an array A is employed to store the path nodes output by the above modified RRT* algorithm, where element 1 represents the starting node x init, element n represents the target node x goal, and elements 2∼(n-1) represent the feasible nodes between the starting node x init and the target node x goal, and the specific steps for optimizing nodes are as follows:
(1) Defining a new array B and adding the starting node x init to B;
(2) If the connection between node k and node k + 1 does not interfere with the obstacle in the input map, determine whether the connection between node k and node k + 2 interferes with the obstacle. If not, skip node k + 2 to determine whether the connection between node k and node k + 3 interferes with the obstacle; if so, add the parent node of node k + 3 to array B, and then search backward with k + 2 as the starting node, and so on, where node k starts from the starting node x init;
(3) Repeat the process in (2) until the target node x goal is searched, then stop searching and add x goal to array B;
(4) Define a new array C, insert the starting node x init into array C, renumber the elements in array B and repeat the process in (2) until x goal is found, and add it to array C;
(5) Repeat the process from (2) ∼ (4) until a new array can be defined where the elements of the array no longer change.
The RRT* algorithm modified by steps (a), (b), and (c) is renamed as continuum-RRT* algorithm, and its pseudo-code is shown in Table 1.
Note: M denotes input map, x init denotes starting node, x goal denotes target node, x rand denotes randomly generated node, x near denotes neighboring node of x rand , x new denotes new generated node, R new denotes radius of circular area centered on x new , T denotes RRT* primitive tree structure, x j denotes parent node of x new , x jparent denotes parent node of x j , x k denotes x j that satisfies the angle constraint, x best denotes x j with lowest path cost, x A denotes x new that satisfied the angle constraint in rewire process, and C i denotes improved RRT* tree structure.
3.2. Simulation of the continuum-RRT* algorithm
To validate the feasibility of the continuum-RRT* algorithm, simulations are conducted using a 1000 mm*1000 mm raster map with a map resolution of 1 mm, as shown in Figure 12. The start node x init and the target node x goal are set to coordinates (20, 20) and (990, 990), respectively. Obstacles in the map are represented by dark rasters.
Figure 12(a) shows the results generated by the basic RRT* algorithm, and Figure 12(b) shows the simulation results of the continuum-RRT* algorithm. The latter produces paths with significant directionality and has reduced the number of node extensions in the RRT* algorithm.
The continuum-RRT* algorithm and the basic RRT/RRT* algorithms are simulated 50 times in randomized multi-obstacle environments, utilizing the same tree structure expansion step. In each simulation, the generated path length, the number of iterations, and the running time were recorded, as shown in Figure 13. Table 2 summarizes the average path length and average number of iterations obtained from both algorithm simulations. It is noteworthy that the path length is calculated as the sum of the Euclidean distances between adjacent nodes along the path generated by the algorithm.
In the aforementioned 50 simulations, the average number of nodes generated by the three algorithms is approximately 102, 604, and 1401, respectively. Compared to the RRT* and RRT algorithms, the continuum-RRT* algorithm yields an average path length reduction of 2.21% and 11.27%, respectively, along with an average iteration number reduction of 67.76% and 69.75%, respectively. The continuum-RRT* algorithm in this paper demonstrates a reduced path length and a decreased number of iterations, effectively mitigating the randomness and lack of guidance in tree structure expansion. By circumventing exhaustive global searches and curbing the iteration count, the algorithm achieves faster convergence. Furthermore, the feasible path generated by the continuum-RRT* algorithm exhibits increased proximity to the optimal path, aligning with the motion prerequisites of the continuum robot. Nevertheless, the continuum-RRT* algorithm exhibits a longer runtime primarily because the heuristic bias sampling necessitates assigning sampling probabilities to all points in the configuration space, resulting in computational overhead.
3.3. Robot trajectory generation
Path smoothing is necessary to convert the output path in Figure 12 into a suitable trajectory. The B-spline curve [Reference Elbanhawi, Simic and Jazar44] is used to smooth the path generated by the continuum-RRT* algorithm. Figure 14 shows the result of a polyline path smoothed by the clamped B-spline curve.
In order to ensure that the curve trajectory does not interfere with obstacles, local nodes are inserted into the initial path, and the B-spline curve trajectory is made to fit the initial path more closely by adding control points, as shown in Figure 15.
In Figure 15, A k-1, A k , and A k + 1 are the nodes in the initial path, and local nodes B k and B k + 1 are generated at the two ends of A k . Since the angle of each line segment in the initial path and the distance between each node and the obstacles in the initial path are different, the selection of local node positions adopts an adaptive method. The horizontal coordinates of the local node B k satisfy:
where m k is the adaptive coefficient, which is determined according to the positional relationship between each path segment and the obstacles. If the distance between the path and obstacles is short, choose a larger value for m k ; otherwise, opt for a smaller m k . The coordinates of each local node can be obtained according to the linear equations of different path segments and the adaptive coefficient m k .
The local nodes B i (i = 0, 1, 2, …, n) are introduced into the node set depicted in Figure 12(b), serving as control points for the clamped B-spline curve. This facilitates the smoothing of the initial path. The simulation outcome is demonstrated in Figure 16, where m 1 = m 2 = 17 according to simulation comparisons.
3.4. Path-tracking for continuum robot
3.4.1. Discretized representation of robot posture
The flexible element is represented by 65 discrete points, and the distance between each discrete point is 5 mm. According to the constant curvature kinematic, the homogeneous transformation matrix A T j from the base coordinate system origin oA to the end coordinate system origin o j in section j can be expressed as:
where R j and N j denote the pose matrix and position matrix of the end coordinate system of section j with respect to the base coordinate system, respectively. According to Eq. (2), the position of the k-th discrete point of the section j in the coordinate system {x j-1, y j-1, z j-1} can be expressed as:
The position of the k-th discrete point in the section j in the base coordinate system {x 0, y 0, z 0} can be calculated by the following expression:
When the posture parameters [θ j , $\varphi $ j ] (j = 1, 2, 3, 4) of the four-section continuum robot arm are obtained, the coordinates of its discrete points can be found by Eqs. (13) and (14).
3.4.2. Solving for posture parameters
Figure 17(a) and Figure 17(b) show the path deviation and tip deviation between the manipulator and its feasible path, respectively, where P(n) and Q(n) are the manipulator discrete points and the feasible path discrete points series, respectively. Path deviation and tip deviation can be represented by the Euclidean distance:
Given that the continuum robot in this paper primarily moves in a planar manner, both path deviation and tip deviation are calculated within a 2D space. Establish objective function according to Eq. (16) and Eq. (17)
where λ is a weighting factor to regulate the share of the tip deviation in the objective function.
The standard particle swarm algorithm (PSO) was used to solve the objective function F(P, Q) optimally. The feasible path Q and the objective function F(P, Q) of the four-section continuum manipulator are used as inputs to the PSO algorithm, and the output is the optimal posture parameter at each moment.
4. Experiment
In the previous section, the path-planning algorithm proposed is introduced and simulated. Whether the smoothed trajectory generation based on the B-spline curve meets the motion requirements of the continuum robot needs to be evaluated by the path-tracking experiment of the continuum robot. Herein, an experimental scenario is constructed as an input to the continuum-RRT* algorithm, and the output path of the algorithm, after B-spline processing, is used as the trajectory for the path-tracking experiment of the continuum robot. The Vicon 3D motion capture system is used to evaluate the attitude changes of the continuum robot along the planned trajectory.
4.1. Construction of experimental platform
The experimental platform built is shown in Figure 18. The spatial pose of the continuum robot is collected through the Vicon 3D motion capture system, the acquisition accuracy of this device is 0.001 mm, and the limit acquisition frequency is 330 HZ. Its software can output the position of the geometric center of the captured rigid body and the attitude rotation angle of the rigid body coordinate system relative to the calibration coordinate system. As shown in Figure 18, by arranging the reflective marker points evenly around the robot arm, the capture system can collect the central axis posture of the robot arm.
4.2. Path-tracking experiment
The experimental scene of the path-tracking of the continuum robot is shown in Figure 19(a). The size of the experimental scene is 1100 mm*880 mm, where the red sphere is the target node x goal, the green sphere is the initial node x init, and the irregularly shaped objects are obstacles. The above experimental scene is represented as a two-dimensional grid map, as shown in Figure 19(b), with 1 mm map resolution. This two-dimensional raster map serves as an input to the continuum-RRT* algorithm, and the algorithm simulation process is shown in Figure 20.
The motion of the four-section continuum robot arm following the target path in the experimental map is shown in Figure 21, where the spatial position of the robot arm at six different step sizes is recorded.
Throughout the movement process, there are no collisions between any parts of the continuum robot and the obstacles, affirming that the robot successfully navigates from the starting node to the target node of the experimental map.
While collecting data on the motion of the physical prototype, simulations of path-tracking motions under the target path are conducted simultaneously. The tip error and path deviation of the robot obtained at each step length in the experiment are then compared with the simulation results, as shown in Figure 22.
Through the comparison of experimental and simulation errors, it is evident that the actual path deviation slightly exceeds the values obtained in simulation, and exhibits a similar trend. This validates the effectiveness of the path-tracking method and kinematic model. The maximum path deviation observed in the experiment is 30.701 mm. Analysis of the path deviation curve reveals periodic fluctuations, attributed to the target path being composed of several uniformly curved segments. As the robot transitions between different curved segments, significant deviations occur due to variations in path curvature.
Regarding tip error, experimental measurements indicate values notably higher than those obtained in simulation, with a maximum tip error of 22.127 mm. Combining this with the accuracy analysis of the kinematic model from the previous section, the primary sources of robot motion error are as follows: the constant curvature assumption in kinematic modeling represents an idealized scenario, whereas in reality, the drive tendons within the robot do not form continuous curves but rather polygons segmented by segments; the influence of factors such as gravity and friction has not been considered in the motion control process of the robot, leading to a lack of corresponding compensation; elastic deformation of robot materials and manufacturing and assembly errors of components can all contribute to motion errors in the robot. Moreover, the curves of the tip error and path deviation measured from the experiments indicate that as the path length increases, there is an overall trend of increasing motion error in the robot.
To further validate the above analysis of the error sources, we first extracted the pose measurement data of Section 4 of the continuum robot at different steps from the experiments and analyzed the actual pose of its central axis. The comparison between the actual and theoretical bending postures of Section 4 at steps 92, 99, and 108 is shown in Figure 23(a). The actual bending degree of the robot exceeds the expected posture in the target path, and as the bending angle increases, the tip error gradually increases. When the theoretical bending angle of the robot is 70°, the tip error is 9.864 mm (0.74% relative to the total length of the robot, which is 1333 mm). This indicates that the robot is affected by friction between it and the ground during actual movement, and the thrust from the rear sections causes an excessive bending angle.
Next, we extracted the pose parameters of different sections of the continuum robot from the experimental data as they passed through the same bending path and compared them with the theoretical poses, as shown in Figure 23(b). The tip error of Section 2 reaches 9.064 mm, which is larger than that of Sections 3 and 4. This is because the continuum robot follows a head-following strategy, and the presence of the first two sections causes the tip error to accumulate continuously during path-following movement, making the tip error of Section 2 more pronounced. Additionally, since the continuum robot is composed of serial segments, the deformation errors of each segment accumulate forward, resulting in an overall increase in motion error as the moving distance increases. This is consistent with the trend of the error curve shown in Figure 22.
Furthermore, six different experimental scenarios were created by randomly placing obstacles. Each experimental scenario was represented as a grid map, and the continuum-RRT* algorithm was employed to search for paths. After smoothing, six feasible paths for continuum robots were generated. Motion control experiments for path tracking were conducted on these feasible paths within the experimental scenarios. The path error and tip error for the six experiments are determined by computing the ratios of the path deviation E path and tip deviation E tip to the length of the continuum robot arm. The results, including the tip error and path deviation of all target paths, were summarized in box plots in Figure 24. The maximum relative errors for each target path are listed in Table 3.
No outliers were observed in the experimental data, indicating that the robot maintained a consistent posture throughout the experiments. Similar to the simulation results, paths with uneven curvature exhibited more pronounced tip errors and path deviations. The experimental results revealed a maximum path deviation of 3.91%, occurring on path 6, while path 5 exhibited the smallest maximum path deviation at only 2.51%. Regarding tip error, the maximum tip errors ranged from 1.57% to 2.46% across the six target paths.
Comprehensive simulation and experimental results demonstrate that the path-planning method and path-tracking motion control strategy proposed in this paper effectively search feasible paths for the continuum robot and enable it to execute navigation motion along the planned path. Presently, the motion accuracy of the continuum robot is constrained by its kinematic modeling method, as well as factors such as the manufacturing and assembly of its flexible body and the influence of gravity. In future research, potential improvements can be made to the structure of the robot, and new modeling methods or closed-loop control strategies can be introduced to enhance its motion accuracy. It is important to highlight that in the simulations and experiments described above, considering the specific application scenarios addressed in this paper, the simulations were conducted within a two-dimensional environment. Nevertheless, the fundamental principle of this algorithm is to account for the motion constraints of the continuum robot, thus rendering it applicable to three-dimensional scenarios as well. Subsequent efforts will focus on incorporating the mechanical aspects of the robot to provide more accurate predictions of the posture of continuum robots in three-dimensional space. This will facilitate the extension of the path-planning algorithm presented in this paper to three-dimensional scenarios.
5. Conclusion
This paper proposes the continuum-RRT* algorithm for continuum robots, achieved by refining the RRT* algorithm. It capitalizes on the constant curvature kinematics inherent to continuum robots, enabling it to identify paths that align with the specific kinematic attributes of the robots, even in complex and multi-obstacle environments. To enhance the path output from the continuum-RRT* algorithm, B-spline curves are applied for smoothing. Moreover, a four-section continuum robot is constructed, along with corresponding environments for path-tracking experiments, providing validation for the efficacy of the proposed algorithm. Results from these experiments affirm that the four-section continuum robot adeptly accomplishes navigational tasks along the planned paths in multi-obstacle settings. Thus, the paths generated by the continuum-RRT* algorithm aptly satisfy the motion requirements of continuum robots within multi-obstacle environments.
Furthermore, adapting the multi-section continuum robot for three-dimensional scenarios is crucial. Future work will concentrate on developing compensation algorithms for gravity and friction to enhance the accuracy of posture predictions in 3D space. By further refining the calculation processes, we aim to extend the path-planning algorithm proposed in this paper to effectively address three-dimensional applications.
Author contributions
Guohua Gao and Kai Liu originated the design and path planning for a multi-section continuum robot. Prototype preparation, path-planning algorithm, and analysis were performed by Dongjian Li and Chunxu Song under the supervision of Guohua Gao and Kai Liu. Dongjian Li, Yuxin Ge, and Kai Liu wrote the article and all authors read and approved the final manuscript.
Financial support
This work was supported by the National Natural Science Foundation of China (Grant No. 52305003), the Great Scholars Program (Grant No. CIT&TCD20190309), and the China Postdoctoral Science Foundation (Grant No. 2023M730144).
Competing interests
The authors declare no conflicts of interest exist.
Ethical approval
The research does not involve human participants, their data, or biological material, and it does not involve animals.