You are currently viewing a new version of our website. To view the old version click .
Sensors
  • Article
  • Open Access

29 May 2023

A Path Planning Method with a Bidirectional Potential Field Probabilistic Step Size RRT for a Dual Manipulator

,
,
,
and
1
Anhui Key Laboratory of Detection Technology and Energy Saving Devices, Anhui Polytechnic University, Wuhu 241000, China
2
Research Office, Wuhu Institute of Technology, Wuhu 241000, China
3
Mechanical Engineering Department, Anhui Polytechnic University, Wuhu 241000, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Aerial Robotics: Navigation and Path Planning

Abstract

The search efficiency of a rapidly exploring random tree (RRT) can be improved by introducing a high-probability goal bias strategy. In the case of multiple complex obstacles, the high-probability goal bias strategy with a fixed step size will fall into a local optimum, which reduces search efficiency. Herein, a bidirectional potential field probabilistic step size rapidly exploring random tree (BPFPS-RRT) was proposed for the path planning of a dual manipulator by introducing a search strategy of a step size with a target angle and random value. The artificial potential field method was introduced, combining the search features with the bidirectional goal bias and the concept of greedy path optimization. According to simulations, taking the main manipulator as an example, compared with goal bias RRT, variable step size RRT, and goal bias bidirectional RRT, the proposed algorithm reduces the search time by 23.53%, 15.45%, and 43.78% and decreases the path length by 19.35%, 18.83%, and 21.38%, respectively. Moreover, taking the slave manipulator as another example, the proposed algorithm reduces the search time by 6.71%, 1.49%, and 46.88% and decreases the path length by 19.88%, 19.39%, and 20.83%, respectively. The proposed algorithm can be adopted to effectively achieve path planning for the dual manipulator.

1. Introduction

Path planning is an essential component of robot motion planning and is a research hotspot in the field of robotics and other related intelligent fields [1]. Among them, the manipulator, as an important industrial robot, has autonomy and intelligence levels that are crucial for improving production efficiency and quality. Path planning can help the manipulator automatically plan the optimal path, reduce dependence on staff, and improve the autonomy of the manipulator. Path planning can be flexibly adjusted and optimized according to different task characteristics, thereby improving the motion accuracy and speed of the manipulator, which directly affects production efficiency and quality. Compared with a single manipulator, the form of a dual manipulator collaborative operation can meet the needs of complex, intelligent, and compliant modern industrial systems, and dual manipulators have more advantages in efficiency and performance [2,3] and are gradually gaining attention in the industry. Path planning for dual manipulators is an important work of collaborative operations [4]. To enhance the adaptability and flexibility of dual-manipulator systems, it is necessary to flexibly adjust and optimize paths based on various production environments and task requirements. The equipment transformation and upgrading of production lines are of great significance, but there are high requirements for efficiency, real-time performance, and safety in collaborative operations [5]. To address these challenges, researchers are continuously developing and improving various path planning methods for dual manipulators to enhance their efficiency and precision and meet different demands in industrial production environments. Therefore, different path planning algorithms need to be designed or selected for various fields to achieve the goal of fast matching and application.

3. Posture Description and Collision Detection

3.1. Posture Description

The dual manipulator model is composed of the double PUMA560 manipulators, and the DH modeling method [23] is used to establish the link coordinate system of the dual manipulator. As shown in Figure 1, ( x o , y o , z o ) is the global base coordinate system, ( x l o , y l o , z l o ) and ( x r o , y r o , z r o ) are the base coordinate systems of the left and right manipulators, respectively, and ( x i , y i , z i ) and ( x i , y i , z i ) are the coordinate systems of the left and right manipulator joints i , respectively.
Figure 1. Structure diagram of the dual manipulator.
Table 2 presents the DH parameters of the main manipulator; the mirror image of the main and slave manipulators is symmetrical and α and θ are opposite to each other, where D = 1 m, d 3 = 0.1500 m, d 4 = 0.4318 m, a 2 = 0.4318 m, and a 3 = 0.0203 m. The DH parameters of a rigid link depend on the link parameters of the member (i.e., a i and α i ) and the joint parameters of the adjacent links (i.e., d i and θ i ).
Table 2. DH parameters of the main manipulator.
The two-link offset d i is the moving joint variable and the joint angle of the two links θ i is the variable of rotating joints. The pose of the adjacent links is expressed by the T i i 1 matrix [24] as:
T i i 1 = R r o t z i 1 , θ i · T t r a n s z i 1 , d i · T t r a n s x i 1 , a i · R r o t x i 1 , α i
Equation (2) shows the main manipulator homogeneous coordinate transformation matrix.
T i i 1 = c θ i s θ i 0 0 s θ i c α i c θ i c α i s α i 0 s θ i s α i c θ i s α i c α i 0 a i c θ i a i s θ i d i 1
Substituting the DH parameter, the transformation matrix [25] relative to the base coordinate system is shown in Equation (3):
T = T 1 0 T 2 1 T 3 2 T 4 3 T 5 4 T 6 5
The transformation matrix of the main manipulator is unified in the base coordinate system [26] by Equation (3), as shown in Equation (4):
S = S b a s e T
The slave manipulator pose is also calculated according to the above steps.

3.2. Collision Detection

The hemispherical–cylindrical enveloping box method [27] is employed. Figure 2 shows the proposed dual manipulator encirclement box model. The collision detection mainly judges the distance between the d m i n and ( R a i + R b j ) . The dual manipulator overlapping workspace is obtained based on the Monte Carlo method [28]. Equations (5)–(7) show the collision conditions [29].
Figure 2. A dual manipulator bounding box model.
If the two vertical feet are inside the links, the shortest distance d m i n is as follows:
d m i n = m i n A i B j 2
If one of the vertical feet is on the extension of the links, then the shortest distance d m i n is as follows:
d m i n = m i n A i O b j 2 , B j O a i 2
If both the vertical feet are outside the extension line of the links, the shortest distance d m i n is as follows:
d m i n = m i n O a i O b j 2
where i = 1 , 2 , 3 6 , j = 1,2 , 3 6 . If d m i n > R a i + R b j , the links of the main slave manipulators do not collide. Conversely, a collision occurs between the links.

4. Motion Planning

4.1. Improvement of the RRT Algorithm

4.1.1. RRT-Connect Algorithm

This algorithm defines two random trees, namely, T r e e 1 and T r e e 2 . T r e e 1 is expanded from the starting point Q i n i t and T r e e 2 is expanded from the goal point Q g o a l . Sampling generates random nodes Q r a n d , the existing random trees are traversed, and Q n e a r e s t is found to be the closest to Q r a n d from the node in the tree. Q n e a r e s t extends to Q r a n d by step size δ and obtains the new node Q n e w . The collision detection is performed on Q n e w . If Q n e w hits an obstacle, the node is dropped; otherwise, Q n e w is added to the tree. At this time, the parent node of Q n e w is Q n e a r e s t and continues to expand according to the above way, until the Q n e w of the two trees is less than the step size threshold. T r e e 1 and T r e e 2 can then be connected, that is, the path planning is successful. Figure 3 shows the growth process of the random tree of the RRT-connect.
Figure 3. A schematic diagram of double tree expansion.

4.1.2. Strategy for Step Size Selection

The traditional RRT algorithm has a large number of blind searches, which reduces the convergence speed and occupies a lot of computational power. To solve this problem, a high-probability goal bias strategy [30] is used to guide the random tree to search in the direction of the goal with probability. The sampling direction is derived from Equation (8):
D i r e c t i o n = g o a l ,    0 < γ < P a r a n d ,    P a γ 1 γ 0,1
By employing this strategy, the probability of sampling pointing toward the goal direction is increased. In addition, a bidirectional potential field probabilistic step size strategy based on angle selection is proposed. Unlike conventional variable step size, the algorithm instead utilizes a random value γ as the variable step size parameter. The starting point and the goal point search for each other by introducing the goal bias probability. The step size amount of the goal bias is increased, thereby improving the algorithm’s efficiency.
The process configuration of RRT-connect [31] grows the new node Q n e w , as shown in Equation (9):
Q n e w = Q n e a r e s t + δ Q n e a r e s t Q r a n d Q n e a r e s t Q r a n d + δ Q n e a r e s t Q g o a l Q n e a r e s t Q g o a l
The goal bias and probabilistic step size δ 1 2 are introduced, and the new node Q n e w 1 expansion direction of the starting point [31] is shown in Equation (10):
Q n e w 1 = Q n e a r e s t 1 + δ 1 Q n e a r e s t 1 Q r a n d 1 Q n e a r e s t 1 Q r a n d 1 2 + δ 2 Q n e a r e s t 1 Q g o a l Q n e a r e s t 1 Q g o a l 2
The new node Q n e w 2 expansion direction of the goal point is given by Equation (11):
Q n e w 2 = Q n e a r e s t 2 + δ 1 Q n e a r e s t 2 Q r a n d 2 Q n e a r e s t 2 Q r a n d 2 2 + δ 2 Q n e a r e s t 2 Q i n i t Q n e a r e s t 2 Q i n i t 2
Figure 4 shows the angle selection of Q r a n d 1 and Q r a n d 2 . Equation (12) shows the vector representations of random points and goal points [32].
D 1 = Q r a n d Q n e a r e s t D 2 = Q g o a l Q n e a r e s t
Figure 4. A diagram of angle selection.
The angle expression is given by Equation (13):
θ = a r c c o s ( D 1 · D 2 D 1 · D 2 )
To improve the search capability for complex environments, the step size of the angle selection expression is shown in Equation (14):
S =   δ 1 = δ · γ , θ ϵ ( π 2 , π ] δ 2 = δ · 2 γ , θ ϵ 0 , π 2
where both δ 1 and δ 2 step sizes are randomly varied. When 0 θ π / 2 , the random point sampling direction is biased toward the goal, and the random value is used as the step size growth rate to expand toward the goal point; when π / 2 < θ π , the random point sampling direction deviates from the goal, and the random value is used as the step size magnification to deviate from the goal point expansion. Due to the bias of sampling points toward the target, with γ between 0 and P a , using γ as a step growth rate provides only a small growth advantage. Instead, ( 1 γ ) is used as the step growth rate.
The artificial potential field method is introduced to improve the step size step efficiency by integrating the potential field method. The gravitational field step size expression [33] is shown in Equation (15):
F g = S · k g Q n e a r e s t Q g o a l Q n e a r e s t Q g o a l 2
Additionally, the step size of the repulsive field [33] is expressed as:
F r = S · k r Q n e a r e s t Q r a n d Q n e a r e s t Q r a n d 2
Additionally, the step size of the combined force is shown in Equation (17):
F = F g + F r
In the improved step size sampling process illustrated in Figure 5, if the directions of Q n e a r e s t and the goal fall within the range of 0 to π / 2 (indicated by black dots in the figure), the step sizes all follow the growth of δ 2 . After incorporating the potential field method, the step sizes increase with length F , including the gravitational step size F g and repulsive step size F r (indicated by the red dot in the figure). Conversely, when moving away from the goal, the step sizes all follow the growth of δ 1 (indicated by blue dots in the figure). This results in a shortening of the length of F . By taking small and variable step sizes, it becomes easier for the algorithm to adapt to complex environments. The random value is used as the step size parameter to maintain the randomness of the sampling algorithm and accelerate the convergence speed.
Figure 5. Improving the sampling process with step size.

4.1.3. Greedy Algorithm for Path Optimization

The fixed step size produces redundant path nodes. A greedy algorithm [34] is used to remove redundant nodes. Therefore, the optimal path at the moment is constructed. The path nodes are obtained by the proposed algorithm to define the nodes set C [ S , N ] , as shown in Equation (18):
N = ( n 1 , n 2 , n 3 , , n i 1 , n i )
where i = 2 , 3 , 4 .
The mathematical model of the traversing process [35] is shown in Equation (19):
O P T S , G = O P T ( S , n i 1 ) c h e c k { O P T S , n i }
S is set as a fixed point. If there is an obstacle between S and n i , the retention point v is returned, as shown in Equation (20):
O P T v , G = O P T ( v , n j 1 ) c h e c k { O P T v , n j }
where j = i 1 .
The iterative endpoint expression is shown in Equation (21).
O P T v , n j = c h e c k { O P T v , G }
In i 1 iterations, the v of each round is added to the set, and the path optimization is completed. The path is shown in Equation (22):
S n i 1 n j 1 G
The greedy algorithm is used to traverse all the nodes along the path, and all the redundant nodes are checked and deleted, as shown in Figure 6, where the black route, the red dashed line, and the blue line represent the original path, the collision path, and the optimization path, respectively. In the optimization path S t a r t n o d e 1 n o d e 2 , it has one redundant node and deletes it. When traversing to the goal point G o a l , it has three redundant nodes and deletes them, and then the optimal path is S t a r t n o d e 1 G o a l .
Figure 6. A schematic diagram of path optimization.

4.2. Process of the BPFPS-RRT Algorithm

In the proposed BPFPS-RRT algorithm, the input consists of two random trees, namely, T r e e 1 and T r e e 2 , and the output is the optimization path, as shown in Algorithm 1. First, a point Q r a n d is sampled, and the start and goal nodes are then expanded in the direction of Q r a n d at the same time. Second, the new nodes Q n e w 1 and Q n e w 2 are obtained by the extending algorithm E x t e n d ( T , Q ) (lines 4–8). If the distance between Q n e w 1 and Q n e w 2 is less than the step threshold, then the cycle is terminated, and the path between T r e e 1 and T r e e 2 is connected. Finally, the greedy algorithm is used to generate the optimal path (lines 9–16).
Algorithm 1: Pseudocode for BPFPS-RRT
Input:The two random trees, T r e e 1 and T r e e 2 .
Output:Connection from T1 to T2, path optimization.
1:T = initialize ( T r e e 1 , T r e e 2 );
2: δ = initialize ();
3:T [0] = Node ( Q i n i t , Q g o a l );
4:for   i = 1 to M do
5:   Q r a n d   Sample(random);
6:  Qnew1   E x t e n d ( T r e e 1 , Q g o a l );
7:  if Qnew1 ≠ NULL, then
8:    Qnew2    E x t e n d ( T r e e 2 , Q i n i t )
9:    if Distance (Qnew1, Qnew2) < δ , then
10:     return path ( T r e e 1 , T r e e 2 )
11:    end if
12:  end if
13:  path optimization  OPT (path);
14:  return path optimization
15:  swap ( T r e e 1 , T r e e 2 )
16:end for
Algorithm 2 shows the pseudocode for the E x t e n d ( T , Q ) algorithm. The input is the high goal probability threshold P a , the random value γ , and step size δ , and the output is the new node Q n e w 1 . First, if the random value is greater than the threshold P a , then Q r a n d is randomly sampled. Conversely, Q r a n d samples to the goal point and calculates the angle θ between D 1 and D 1 (lines 1–4). Second, the range of angle θ is evaluated using the conditional statement. Based on the result of this evaluation, the suitable step size for the search is determined. The artificial potential field method is then incorporated to compute the combined force and obtain Q n e w (lines 5–10). Finally, the CollisionFree algorithm is used to determine the path between Q n e a r e s t and Q n e w . If the path exists, then Q n e w is added to the node set of the random tree, and edges ( Q n e a r e s t , Q n e w ) are added to the edge set of the random tree (lines 11–14).
Algorithm 2: Pseudocode for extend (T, Q)
Input:Goal-bias  P a .   Random   value   γ .   The   step   size   δ .
Output: the   new   node ,   Q n e w
1:if  γ > Pa
2: Q r a n d Sample(random); else
3: Q r a n d Sample(goal); end if
4: θ = |   cal   ( D 1 , D 2 ) |;
5: if    0 θ π / 2
6:     step   size = δ · 2 γ ; else
7:     step   size = δ · γ ;
8:end if
9: F = F g + F r
10: Q n e w = Q n e a r e s t + F
11:if CollisionFree  ( Q n e a r e s t ,   Q n e w ), then
12:    add-vertex    ( Q n e w ), add-edge  ( Q n e a r e s t ,   Q n e w );
13:end if
14: return   Q n e w

5. Planning Simulation

5.1. Performance of the BPFPS-RRT Algorithm

The simulation is performed using MATLAB 2020b. The hardware is an Intel (R) Core (TM) i7-12700H CPU. The reference frequency is 2.70 GHz and the memory is 16 G. The initial conditions of the simulation are as follows: the starting point coordinates are [10, 10, 10], the endpoint coordinates are [150, 150, 150], and the initial step size is δ = 10 mm, k g = 1.5, and k r = 1. The five balls of different specifications are simulated as obstacles in a three-dimensional space, and the G-RRT, VT-RRT, and GBI-RRT are selected as the control groups.
Figure 7 shows the search process of the control groups and the proposed BPFPS-RRT. Figure 7a–d shows the search path process of the G-RRT, VT-RRT, GBI-RRT, and BPFPS-RRT algorithms, respectively. The green and blue dots represent the starting point and the goal point, respectively. The control groups are compared to the BPFPS-RRT. As shown in Figure 7a, the G-RRT produces redundant sampling in the surrounding environment. As shown in Figure 7b, the two trees use variable step size sampling, but their tendency toward the goal is poor. As shown in Figure 7c, the two nodes expand toward each other; however, a large number of tree nodes are generated during the sampling process, and the fixed step size produces a complex path. As shown in Figure 7d, the proposed algorithm has fewer path nodes, and the search step size can be adaptively adjusted based on the surrounding environment. This method avoids the failure of local planning and improves the efficiency of the path search.
Figure 7. The search process of the four algorithms. (a) G-RRT, (b) VT-RRT, (c) GBI-RRT, and (d) BPFPS-RRT.
The experiment is repeated 20 times to explore the algorithm search time and planning path performance. Figure 8a–d shows the search time, path length, tree nodes, and number of path nodes of the four algorithms, respectively. The data differences of each algorithm are visually reflected by the box plot and normal curve. Table 3 presents the average experimental data of the four algorithms.
Figure 8. Simulation data of the four algorithms. (a) Search time, (b) path length, (c) number of tree nodes, and (d) number of path nodes.
Table 3. Average experimental data of the four algorithms.
Compared to the G-RRT algorithm, the search time is reduced by 24.50% and the number of path nodes is reduced by 58.06%. Because the G-RRT searches in one direction, it is easy to increase the number of path nodes in complex environments. Among them, compared to the G-RRT algorithm, the path length of the BPFPS-RRT algorithm is shortened by 13.38%, and the number of tree nodes is reduced by 20.45%. These results suggest that BPFPS-RRT generates fewer nodes, makes better use of path points, and exhibits better overall performance compared to G-RRT.
The search time of the BPFPS-RRT is 10.76% shorter than the VT-RRT, and the number of tree nodes and path length of the BPFPS-RRT are reduced by 14.63% and 13.03%, respectively. The variable step size of the VT-RRT performs better than the G-RRT and GBI-RRT in complex environments but lacks potential field guidance, and its overall performance is inferior to the BPFPS-RRT. The number of path nodes was reduced by 43.48% compared with the VT-RRT. Based on data comparison, it is found that there are too many redundant nodes present in the vicinity and the path utilization rate is also low.
Compared to the GBI-RRT algorithm, the search time of the BPFPS-RRT is reduced by 36.39%, the path length is shortened by 18.38%, the number of tree nodes is reduced by 48.53%, and the number of path nodes is reduced by 61.76%. Since the fixed step size of the GBI-RRT can easily fall into a dead corner in a complex environment, it jumps out of the local planning by increasing the number of tree nodes. These findings indicate that in complex environments, the BPFPS-RRT exhibits a significant reduction in extension nodes. There is a stronger tendency toward the search goal in its sampling process, the path length is shorter, and it takes less time.

5.2. Ablation Experiment

To further visualize the improvement effects of each optimization strategy, an ablation experiment is conducted. The four main contribution strategies in Section 2 are, respectively, designated algorithm A, algorithm B, algorithm C, and algorithm D. The basic algorithm is RRT-connect, and the algorithm (A + B + C + D) is called the BPFPS-RRT algorithm. The simulation uses the same specific parameters as above and simulates obstacles in a three-dimensional space using four different sizes of spheres. The coordinates of their centers are (100, 100, 100), (50, 60, 60), (100, 60, 60), and (50, 110, 80), with radii of (30, 20, 20, 20), respectively. The experiment is repeated twenty times, simulation data for five algorithms as shown in Figure 9, and average experimental data for the five algorithms, as shown in Table 4, are obtained.
Figure 9. Simulation data of the five algorithms. (a) Search time, (b) path length, (c) number of tree nodes, and (d) number of path nodes.
Table 4. Average experimental data of the five algorithms.
Through box plots and normal distribution curves, it is intuitively reflected that the performance is improved with the addition of each optimization strategy. Combining Figure 9 and Table 4 for analysis, algorithm A introduces a high goal probability bias strategy based on RRT-connect, so it improves by 7.28%, 3.35%, 3.41%, and 5.26% in terms of search time, path length, tree nodes, and path nodes compared to RRT-connect, respectively. By increasing the randomness in the search toward the goal direction, although the improvement effect is relatively small, it can provide assistance for subsequent improvements. Algorithm (A + B) adds a strategy that restricts the dual-tree search direction using angle selection, compared to algorithm A. In terms of performance, algorithm (A + B) improves by 23.40%, 8.20%, 24.71%, and 8.33% compared to algorithm A, respectively. It can be observed that there is a significant improvement in search time and tree nodes because the efficiency of searching toward the goal point is further improved by restricting the search direction, and redundant sampling of the surrounding environment is avoided as much as possible. Algorithm (A + B + C) adds a potential field probability step size compared to algorithm (A + B). In terms of performance, algorithm (A + B + C) improves by 37.76%, 14.48%, 40.63%, and 48.48% compared to algorithm (A + B), respectively. The random value is used as the step parameter, which changes with the variation of high goal probability bias, and through the guidance of the artificial potential field method, it can adaptively adjust the search step length. From the analysis of the number of nodes in the algorithm, the improvement is significant, with a reduction of approximately 20 nodes. The reduction in tree and path nodes indicates an improvement in the sampling efficiency of the goal. The search time has been improved by 2 s, and the path length has been significantly improved compared to the previous groups, with a length reduction of nearly 50 mm; this has resulted in a qualitative improvement in overall performance. The BPFPS-RRT adds a path optimization strategy compared to algorithm (A + B + C). In terms of performance, the BPFPS-RRT improves by 2.74%, 6.98%, 7.89%, and 41.18% compared to algorithm (A + B + C), respectively. The greedy algorithm optimizes the path mainly by trimming the path nodes and removing redundant nodes so that the path quality is improved. There is a significant improvement in the performance of the path nodes, with the optimized path length reduced by approximately 20 mm. The search time is improved by about 0.09 s, which can be ignored as it is an optimization of the path and has no effect on the search efficiency and falls within the normal fluctuation range.
Through the ablation experiment, the simulation experiments are conducted for each improvement strategy point, and it can be seen that among the five sets of simulation data comparisons, the performance improvement of the algorithm after adding the potential field probability step size is the largest, which is also the most important improvement point in this paper.

6. Path Planning Case

The three-dimensional obstacle environment and the dual manipulator model are set up to verify the effectiveness of the obstacle avoidance path planning of the dual manipulator. The collision detection model of the boundary ball is adopted. Four spherical static obstacles with a radius of 0.1 cm were established, and their center locations, along with the motion parameters of the manipulator, are presented in Table 5. In this section, the units of the parameters δ , F g , F r , and F are all in centimeters.
Table 5. Motion parameters of the dual manipulator.
The obstacles are placed on the path of the dual manipulator moving toward the goal point. Figure 10 shows the dual manipulator pathless planning scenario, where the red and blue colors represent the obstacle avoidance trajectory of the main manipulator and the obstacle avoid-ance trajectory of the slave manipulator, respec-tively. As depicted in Figure 10a,c, in the ab-sence of an obstacle avoidance path, the slave manipulator collides with the main manipulator during the dual manipulator’s motion. As shown in Figure 10b, the dual manipulator col-lides with static obstacles, and the final motion trajectory without path planning is shown in Figure 10d. Throughout the entire motion pro-cess, the slave manipulator failed to avoid ob-stacles and the moving main manipulator. While the environment around the dual manip-ulator is unchanged, the BPFPS-RRT path plan-ning algorithm is deployed in the simulation. Figure 11 shows the motion process of the dual manipulator, Figure 11a shows the initial movement of the dual manipulator, and both are without contact with obstacles. Figure 11c,d show the obstacle avoidance process of the dual manipulator. It is observed that the dual ma-nipulator avoids obstacles, and the slave ma-nipulator avoids not only obstacles but also the moving main manipulator without collision. Figure 11d shows the final state of movement of the dual manipulator.
Figure 10. Dual manipulator pathless planning scenario, (a,c) dual manipulator collision, (b) collision with obstacles, (d) final state of movement.
Figure 11. Movement process of the dual manipulator. (a) The initial state of movement, (b,c) obstacle avoidance process, (d) final state of movement.
Figure 12 depicts the change in joint angles in the dual manipulator, where the sampling interval is represented by the abscissa N. As shown in Figure 12a, the obstacle avoidance process during the main manipulator’s motion from the starting point to the goal point is somewhat complex, but the degree of completion is high. The joint angles exhibit significant fluctuations in the middle of the movement, but the overall trajectory is smooth, and the main manipulator reaches the target position successfully. The joint angle change in the slave manipulator is presented in Figure 12b. The path planning from the starting point to the goal point is executed successfully. During the motion process, the slave manipulator primarily adheres to the obstacle avoidance requirements of the main manipulator, and the joint angle changes remain stable, ultimately successfully reaching the goal position.
Figure 12. Dual manipulator joint angle change. (a) Main manipulator, (b) slave manipulator.
These algorithms are applied to the dual manipulator simulation. In the event that the path produced by the algorithm is excessively lengthy or intricate, it may lead to singular configurations of the dual manipulator while executing the motion and, therefore, be interpreted as a failure of the path planning strategy. Table 6 presents the average operation data results after 20 sets of path planning experiments. For the main manipulator, the BPFPS-RRT is compared with the control group method, the path length of the BPFPS-RRT is reduced by 19.35%, 18.83%, and 21.38%. The path length of the control group method is close. The search time of the BPFPS-RRT is reduced by 23.53%, 15.45%, and 43.78%. When compared with the BPFPS-RRT, GBI-RRT requires more time due to its inclination to get trapped in local planning, which increases the search time. Although the path length of the GBI-RRT is similar to other control groups, its overall superiority is not as pronounced as that of the proposed algorithm. This characteristic can be attributed to the adaptive variation of its potential field probabilistic step size, which helps avoid a substantial number of redundant tree nodes. For the slave manipulator, the search time of the BPFPS-RRT is reduced by 6.71%, 1.49%, and 46.88% compared to the control groups, respectively. The path lengths of the BPFPS-RRT are shortened by 19.88%, 19.39%, and 20.83% compared to the control groups, respectively. As a result of poor goal orientation, complex paths were generated around the main and slave manipulators. The success rate of the G-RRT was only 19 and 18 times, respectively, while the GBI-RRT failed just once, and all other methods were executed successfully. It can be seen that the overall performance of the BPFPS-RRT is better than the control groups.
Table 6. Average running data of the four algorithms.

7. Limitations and Future Scope

The focus of this paper is on the path planning of dual manipulators in three-dimensional environments, and the proposed algorithm can also be applied to various types of robots, such as mobile cars, drones, etc. In practical applications in other intelligent fields, such as intelligent congestion control [36], only map information is required to plan the optimal path, and the BPFPS-RRT algorithm has demonstrated good path planning performance in this field by taking advantage of each improved strategy point. However, in practical applications in the field of robotics, its application challenges mainly lie in efficiency, real-time updates, and robot kinematics characteristics, which may result in some differences from the simulation experimental results. Therefore, in response to these issues and challenges, future research will focus on relevant practical application research by combining the characteristics of dual manipulators and practical application scenarios. The objective is to conduct experiments to optimize algorithms in order to improve the operational efficiency and reliability of path planning in practical applications.

8. Conclusions

In this paper, a path planning method with angle-selected bidirectional potential field probabilistic step size RRT is proposed. To balance the randomness and blindness of the algorithm, the goal bias angle and random values are used as the strategy for step size searches, the artificial potential field method is introduced, and the bidirectional goal bias features of searches and the concept of greedy path optimization are combined. By analyzing the performance of the algorithms, it was found that the search time of the BPFPS-RRT algorithm is reduced by 24.50%, 10.76%, and 36.39%, respectively, compared with the G-RRT, VT-RRT, and GBI-RRT algorithms, the path lengths are reduced by 13.38%, 13.03%, and 18.38%, respectively, and the performance of the improved strategy is verified by an ablation experiment. Therefore, the planning path and search time of the proposed algorithm are more advantageous than the control groups. For the obstacle avoidance problem in path planning, the proposed algorithm is applied to the main manipulator of the dual manipulator. The search time of the proposed algorithm is reduced by 23.53%, 15.45%, and 43.78%, respectively, relative to the control groups, and the path lengths are reduced by 19.35%, 18.83%, and 21.38%, respectively. On the slave manipulator of the dual manipulator, the search time of the proposed algorithm is reduced by 6.71%, 1.49%, and 46.88% relative to the control groups, respectively, and the path lengths are reduced by 19.88%, 19.39%, and 20.83%, respectively. The simulation results show that the dual manipulator successfully avoids the obstacles to reach the goal position, and the trajectory of each joint is smooth.

Author Contributions

Conceptualization, Y.L. (Youyu Liu), W.T. and S.L.; methodology, Y.L. (Yi Li) and W.T.; software, Q.W.; validation, S.L., Y.L. (Youyu Liu) and Y.L. (Yi Li); formal analysis, Q.W.; investigation, W.T.; resources, Y.L. (Youyu Liu) and Q.W.; data curation, W.T.; writing—original draft preparation, Y.L. (Yi Li); writing—review and editing, S.L. and W.T.; visualization, Y.L. (Youyu Liu); supervision, Q.W. and Y.L. (Yi Li); project administration, Y.L. (Youyu Liu).; funding acquisition, S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported in part by the Open Research Fund of the Anhui Key Laboratory of Detection Technology and Energy Saving Devices under grant No. JCKJ2022A03, by the Enterprise Cooperation Projects from Anhui Institute of Future Technologies under grant No. 2023qyhz18, and by the Innovation and Entrepreneurship Training Program for College Students under grant No. 202110363011.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

d i offset of the two adjacent links (m)
a i length of the links (m)
Ddistance between the two manipulators (m)
x x-direction (mm)
y y-direction (mm)
z z-direction (mm)
α i torsion angle of the links ( ° )
θ i the angle between the two adjacent links ( ° )
R r o t · , · rotational transformation matrix
T t r a n s ( · , · ) translational transformation matrix
c cosine function
s sine function
S b a s e transformation matrix of the base coordinate system
R a i , R b j the radii of the left and right manipulator link encirclement boxes (mm)
O a i , O b j the center points of each link joint
d m i n the shortest distance between the two links (mm)
i , j count
δ the fixed step size (mm)
γ a random value prior to expansion (mm)
Pathe threshold of high goal probability
δ 1 randomly varying the step size for shortening (mm)
δ 2 randomly varying the step size for increasing (mm)
Q node
Q r a n d 1 the nearest neighbor random point of the starting point
Q r a n d 2 the nearest neighbor random point of the goal point
D1the vectors of Q n e a r e s t random point
D2the vectors of Q n e a r e s t goal point
θ the angle between D 1 and D 2 ( ° )
S r the probability step size base on angle selection (mm)
k g gravitational proportional coefficient
k r proportional coefficient of repulsion
F g gravitational field step size (mm)
F r repulsive field step size (mm)
F the step size of the combined force (mm)
C the set of nodes
Sstarting node
Nthe sequence of path nodes
G goal point
n i 1 the current node
v retention point

References

  1. Xu, M.; David, J.M.; Kim, S.H. The fourth industrial revolution: Opportunities and challenges. Int. J. Financ. Res. 2018, 9, 90–95. [Google Scholar] [CrossRef]
  2. Turlapati, S.H.; Campolo, D. Towards Haptic-Based Dual-Arm Manipulation. Sensors 2022, 23, 376. [Google Scholar] [CrossRef] [PubMed]
  3. Weng, W.T.; Huang, H.P.; Zhao, Y.L.; Lin, C.Y. Development of a Visual Perception System on a Dual-Arm Mobile Robot for Human-Robot Interaction. Sensors 2022, 22, 9545. [Google Scholar] [CrossRef]
  4. Afsari, K.; Gupta, S.; Afkhamiaghda, M.; Lu, Z. Applications of collaborative industrial robots in building construction. In Proceedings of the 54th ASC Annual International Conference Proceedings, Minneapolis, MA, USA, 18–21 April 2018; pp. 472–479. [Google Scholar]
  5. Buhl, J.F.; Grønhøj, R.; Jørgensen, J.K.; Mateus, G.; Pinto, D.; Sørensen, J.K.; Bøgh, S.; Chrysostomou, D. A dual-arm collaborative robot system for the smart factories of the future. Procedia Manuf. 2019, 38, 333–340. [Google Scholar] [CrossRef]
  6. Wang, H.; Yu, Y.; Yuan, Q. Application of Dijkstra Algorithm in Robot Path-Planning. In Proceedings of the 2011 Second International Conference on Mechanic Automation and Control Engineering, Hohhot, China, 15–17 July 2011; pp. 1067–1069. [Google Scholar] [CrossRef]
  7. Bayili, S.; Polat, F. Limited-Damage A*: A path search algorithm that considers damage as a feasibility criterion. Knowl.-Based Syst. 2011, 24, 501–512. [Google Scholar] [CrossRef]
  8. Qing, G.; Zheng, Z.; Yue, X. Path-Planning of Automated Guided Vehicle Based on Improved Dijkstra Algorithm. In Proceedings of the 2017 29th Chinese Control and Decision Conference (CCDC), Chongqing, China, 28–30 May 2017; pp. 7138–7143. [Google Scholar] [CrossRef]
  9. Warren, C.W. Global Path Planning Using Artificial Potential Fields. In Proceedings of the 1989 International Conference on Robotics and Automation, Scottsdale, AZ, USA, 14–19 May 1989; pp. 316–321. [Google Scholar] [CrossRef]
  10. Ge, S.S.; Cui, Y.J. Dynamic motion planning for mobile robots using potential field method. Auton. Robot. 2002, 13, 207–222. [Google Scholar] [CrossRef]
  11. Xia, X.; Li, T.; Sang, S.; Cheng, Y.; Ma, H.; Zhang, Q.; Yang, K. Path Planning for Obstacle Avoidance of Robot Arm Based on Improved Potential Field Method. Sensors 2023, 23, 3754. [Google Scholar] [CrossRef]
  12. Rodriguez, S.; Tang, X.; Lien, J.M.; Amato, N.M. An Obstacle-Based Rapidly-Exploring Random Tree. In Proceedings of the 2006 IEEE International Conference on Robotics and Automation, ICRA 2006, Orlando, FL, USA, 15–19 May 2006; pp. 895–900. [Google Scholar] [CrossRef]
  13. Sánchez, G.; Latombe, J.C. On delaying collision checking in PRM planning: Application to multi-robot coordination. Int. J. Robot. Res. 2002, 21, 5–26. [Google Scholar] [CrossRef]
  14. Li, Q.; Xu, Y.; Bu, S.; Yang, J. Smart vehicle path planning based on modified PRM algorithm. Sensors 2022, 22, 6581. [Google Scholar] [CrossRef]
  15. Liu, Y.Y.; Chen, B.; Zhang, X.Y.; Li, R.J. Research on the Dynamic Path Planning of Manipulators Based on a Grid-Local Probability Road Map Method. IEEE Access 2021, 9, 101186–101196. [Google Scholar] [CrossRef]
  16. Kuffner, J.; LaValle, S.M. RRT-Connect: An Efficient Approach to Single-Query Path Planning. In Proceedings of the IEEE International Conference on Robotics and Automation, San Francisco, CA, USA, 24–28 April 2000; pp. 473–479. [Google Scholar] [CrossRef]
  17. Kang, J.-G.; Lim, D.-W.; Choi, Y.-S.; Jang, W.-J.; Jung, J.-W. Improved RRT-connect algorithm based on triangular inequality for robot path planning. Sensors 2021, 21, 333. [Google Scholar] [CrossRef] [PubMed]
  18. Zhang, Z.; Wu, D.F.; Gu, J.D.; Li, F.S. A Path-Planning Strategy for Unmanned Surface Vehicles Based on an Adaptive Hybrid Dynamic Stepsize and Target Attractive Force-RRT Algorithm. J. Mar. Sci. Eng. 2019, 7, 132. [Google Scholar] [CrossRef]
  19. Li, Z.; Ma, H.; Zhang, X.; Fei, Q. Path Planning of the Dual-Arm Robot Based on VT-RRT Algorithm. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; pp. 4359–4364. [Google Scholar] [CrossRef]
  20. Zhang, N.; Cui, C.; Wu, G. Path planning of a 5-dof robotic arm based on BiRRT-APF algorithm considering obstacle avoidance. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2022, 236, 9282–9292. [Google Scholar] [CrossRef]
  21. Shao, J.; Xiong, H.; Liao, J.; Song, W.; Chen, Z.; Gu, J.; Zhu, S. RRT-GoalBias and Path Smoothing Based Motion Planning of Mobile Manipulators with Obstacle Avoidance. In Proceedings of the 2021 IEEE International Conference on Real-Time Computing and Robotics (RCAR), Xining, China, 15–19 July 2021; pp. 217–222. [Google Scholar] [CrossRef]
  22. Liu, H.; Zhang, X.; Wen, J.; Wang, R.; Chen, X. Goal-biased bidirectional RRT based on curve-smoothing. IFAC-Pap. 2019, 52, 255–260. [Google Scholar] [CrossRef]
  23. Long, D.T.; Binh, T.V.; Hoa, R.V.; Anh, L.V.; Toan, N.V. Robotic arm simulation by using matlab and robotics toolbox for industry application. Int. J. Electron. Commun. Eng. 2020, 7, 1–4. [Google Scholar] [CrossRef]
  24. Cai, J.; Deng, J.; Zhang, W. Modeling method of autonomous robot manipulator based on DH algorithm. Mob. Inf. Syst. 2021, 2021, 4448648. [Google Scholar] [CrossRef]
  25. Toquica, A.; Martinez, L.O.; Rodriguez, R.; Chavarro, A.C.; Cardozo, T. Kinematic modelling of a robotic arm manipulator using Matlab. J. Eng. Appl. Sci. 2017, 12, 2037–2039. [Google Scholar]
  26. Shi, W.B.; Wang, K.; Zhao, C.; Tian, M.Q. Obstacle Avoidance Path Planning for the Dual-Arm Robot Based on an Improved RRT Algorithm. Appl. Sci. 2022, 12, 4087. [Google Scholar] [CrossRef]
  27. Wang, C.; Zhang, Z.; Long, Y.; Wang, S. Improved hybrid bounding box collision detection algorithm. J. Syst. Simul. 2018, 30, 4236. [Google Scholar] [CrossRef]
  28. Wiback, S.J.; Famili, I.; Greenberg, H.J.; Palsson, B.Ø. Monte Carlo sampling can be used to determine the size and shape of the steady-state flux space. J. Theor. Biol. 2004, 228, 437–447. [Google Scholar] [CrossRef]
  29. Ren, T.; Dong, Y.; Wu, D.; Chen, K. Collision detection and identification for robot manipulators based on extended state observer. Control. Eng. Pract. 2018, 79, 144–153. [Google Scholar] [CrossRef]
  30. Fan, J.; Chen, X.; Liang, X. UAV trajectory planning based on bi-directional APF-RRT* algorithm with goal-biased. Expert Syst. Appl. 2023, 213, 119137. [Google Scholar] [CrossRef]
  31. Zhang, D.; Xu, Y.; Yao, X. An improved path planning algorithm for unmanned aerial vehicle based on RRT-Connect. In Proceedings of the 2018 37th Chinese Control Conference (CCC), Wuhan, China, 25–27 July 2018; pp. 4854–4858. [Google Scholar] [CrossRef]
  32. Li, S.; Zhao, D.; Sun, Y.; Wang, S. Path Planning Algorithm Based on the Improved RRT-Connect for Home Service Robot Arms. In Proceedings of the 2021 IEEE International Conference on Intelligence and Safety for Robotics (ISR), Tokoname, Japan, 4–6 March 2021; pp. 403–407. [Google Scholar] [CrossRef]
  33. Yuan, Q.; Yi, J.; Sun, R.; Bai, H. Path Planning of a Mechanical Arm Based on an Improved Artificial Potential Field and a Rapid Expansion Random Tree Hybrid Algorithm. Algorithms 2021, 14, 321. [Google Scholar] [CrossRef]
  34. Hu, S.; Wang, B.; Zhang, A.; Deng, Y.J.S. Genetic Algorithm and Greedy Strategy-Based Multi-Mission-Point Route Planning for Heavy-Duty Semi-Rigid Airship. Sensor 2022, 22, 4954. [Google Scholar] [CrossRef]
  35. Jukna, S.; Schnitger, G. On the optimality of Bellman–Ford–Moore shortest path algorithm. Theor. Comput. Sci. 2016, 628, 101–109. [Google Scholar] [CrossRef]
  36. Prakash, P.S.; Kavitha, D.; Reddy, P.C. A rapidly-exploring random tree-based intelligent congestion control through an alternate routing for WSNs. Int. J. Commun. Netw. Distrib. Syst. 2023, 29, 71–94. [Google Scholar] [CrossRef]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.