Path Planning for Manipulators of Automotive Welding Unit Based on an Improved RRT* Algorithm
Abstract
1. Introduction
- An improved RRT* algorithm is proposed by incorporating a sampling strategy based on a virtual force field, which enhances exploration efficiency and reduces redundant trajectories in complex environments.
- A novel path optimization strategy is developed to further shorten the trajectory length and improve path quality.
- A distance-constrained quaternion interpolation method is introduced to ensure smooth and stable orientation transitions of the manipulator’s end-effector during motion.
2. Improved RRT* Algorithm and Control Method of Manipulator’s Posture
2.1. Sampling Strategy Based on Virtual Force Field
2.2. Connection Strategy After Obtaining the Initial Path
| Algorithm 1. Pseudo-code of improved RRT* algorithm |
| Improved-RRT* (qstart → qend) |
| 1 Tree ← Initialize_Tree () 2 Tree ← Insert_Node (qstart, Tree) 3 For i = 1:N do 4 If rand() > 0.3 5 qrand ← Sample (i) 6 Else 7 qrand ← qend 8 qnearest ← Nearest_Distance (Tree, qrand) 9 (qnew, Tree) ← Steer (qrand, qnearest) 10 If Collision_Free (qnew) 11 qnear ← Near (Tree, qnew, r) 12 qmin ← Choose (qnear, qnearest, qnew) 13 Else 14 qnew ← Move (Tree, qnew) 15 qnear ← Near (Tree, qnew, r) 16 qmin ← Choose (qnear, qnearest, qnew) 17 T ← Insert_Node (Tree, qmin, qnew) 18 T ← Rewire (Tree, qnear, qnew, qmin) 19 If PathFound 20 (T, Cost) ← Path_Optimization (Tree, qstart, qend) 21 Return T |
2.3. Control Method of Manipulator’s Posture
2.3.1. Quaternion
2.3.2. Spherical Linear Interpolation
3. Path Planning for Manipulators Based on Improved RRT* Algorithm
3.1. Coordinate System of Links
3.2. Forward Kinematics of Robot
3.3. Inverse Kinematics of Robot
- Constraint principle for joint angles. The joint angles derived from the manipulator’s inverse kinematics must be within the range of joint angles. If any single angle in a set of inverse solutions exceeds this range, the entire set is discarded.
- Principle of minimal angular displacement. The angular displacements of the manipulator’s six joints should be minimized. However, since the length of the link corresponding to each axis of the manipulator is different, the impact of each axis on the overall system differs. Therefore, the impact weights of six axes are introduced:
3.4. Model of Collision Detection for Manipulator
3.4.1. Cylindrical Bounding Box for Manipulators
3.4.2. Bounding Box Model for Obstacles
4. Simulation-Based Validation and Field Implementation Assessment
4.1. Results and Analysis of Simulation Experiment
- Transformation of the manipulator’s initial and target joint angles via forward kinematics to obtain the end-effector’s initial and target positions, as well as the corresponding initial and target postures.
- Generation of a set of random positions and postures through an improved RRT* algorithm coupled with quaternion interpolation for posture.
- Computation of the manipulator’s six joint angles using inverse kinematics for each generated position and posture.
- Evaluation of the computed joint angles using a collision detection model. If a collision is detected, the random position and posture are regenerated. Conversely, if no collision is detected, the node is incorporated into the expansion tree.
- After reaching a predefined maximum number of iterations, all feasible paths connecting the start and goal nodes in the improved RRT* tree are extracted. The optimal path is then selected by minimizing the total path length, defined as the sum of Euclidean distances between consecutive nodes.
- No collisions were observed.
- The trajectory of manipulator No. 1 was significantly optimized.
- The cycle time for this segment was reduced from 11.08 s to 9.60 s, representing a 13.36% improvement in processing efficiency.
- The end-effector’s travel distance decreased from 2993.652 mm to 2737.299 mm. These optimizations are visually represented in Figure 10.
4.2. Field Implementation
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Bartoš, M.; Bulej, V.; Bohušík, M.; Stanček, J.; Ivanov, V.; Macek, P. An overview of robot applications in automotive industry. Transp. Res. Procedia 2021, 55, 837–844. [Google Scholar] [CrossRef]
- Dzedzickis, A.; Subačiūtė-Žemaitienė, J.; Šutinys, E.; Samukaitė-Bubnienė, U.; Bučinskas, V. Advanced applications of industrial robotics: New trends and possibilities. Appl. Sci. 2021, 12, 135. [Google Scholar] [CrossRef]
- Goel, R.; Gupta, P. Robotics and Industry 4.0; Advances in Science, Technology & Innovation; Springer: Cham, Switzerland, 2020; pp. 157–169. [Google Scholar]
- Pillai, R.; Sivathanu, B.; Mariani, M.; Rana, N.P.; Yang, B.; Dwivedi, Y.K. Adoption of AI-empowered industrial robots in auto component manufacturing companies. Prod. Plan. Control 2022, 33, 1517–1533. [Google Scholar] [CrossRef]
- Lee, J.S.; Chua, P.C.; Chen, L.Q.; Ng, P.H.N.; Kim, Y.; Wu, Q.; Jeon, S.; Jung, J.H.; Chang, S.H.; Moon, S.K. Key enabling technologies for smart factory in automotive industry: Status and applications. Int. J. Precis. Eng. Manuf. Smart Technol. 2023, 1, 93–105. [Google Scholar] [CrossRef]
- Wang, Z.; Chang, J.; Li, B.; Wang, C.; Liu, C. Application of improved rapidly-exploring random trees (RRT) algorithm for obstacle avoidance of snake-like manipulator. In Proceedings of the 2020 IEEE International Conference on Mechatronics and Automation (ICMA), Beijing, China, 13–16 October 2020; pp. 490–495. [Google Scholar]
- Chen, G.; Luo, N.; Liu, D.; Zhao, Z.H.; Liang, C.C. Path planning for manipulators based on an improved probabilistic roadmap method. Robot. Comput. Integr. Manuf. 2021, 72, 102196. [Google Scholar] [CrossRef]
- Li, B.H.; Chen, B.D. An adaptive rapidly-exploring random tree. IEEE/CAA J. Autom. Sin. 2021, 9, 283–294. [Google Scholar] [CrossRef]
- Han, C.Y.; Li, B.Y. Mobile robot path planning based on improved A* algorithm. In Proceedings of the 2023 IEEE 11th Joint International Information Technology and Artificial Intelligence Conference (ITAIC), Chongqing, China, 8–10 December 2023; pp. 672–676. [Google Scholar]
- Alshammrei, S.; Boubaker, S.; Kolsi, L. Improved Dijkstra algorithm for mobile robot path planning and obstacle avoidance. Comput. Mater. Contin. 2022, 72, 5939–5954. [Google Scholar] [CrossRef]
- Batista, J.; Souza, D.; Silva, J.; Ramos, K.; Costa, L.D.R.; Braga, A. Trajectory planning using artificial potential fields with metaheuristics. IEEE Lat. Am. Trans. 2020, 18, 914–922. [Google Scholar] [CrossRef]
- Yu, J.L.; Su, Y.C.; Liao, Y.F. The path planning of mobile robot by neural networks and hierarchical reinforcement learning. Front. Neurorobotics 2020, 14, 63. [Google Scholar] [CrossRef] [PubMed]
- Rahmaniar, W.; Rakhmania, A.E. Mobile robot path planning in a trajectory with multiple obstacles using genetic algorithms. J. Robot. Control (JRC) 2022, 3, 1–7. [Google Scholar] [CrossRef]
- Miao, C.W.; Chen, G.Z.; Yan, C.L.; Wu, Y.Y. Path planning optimization of indoor mobile robot based on adaptive ant colony algorithm. Comput. Ind. Eng. 2021, 156, 107230. [Google Scholar] [CrossRef]
- Zhou, X.; Wang, X.W.; Gu, X.S. An approach for solving the three-objective arc welding robot path planning problem. Eng. Optim. 2023, 55, 650–667. [Google Scholar] [CrossRef]
- Karaman, S.; Frazzoli, E. Sampling-based algorithms for optimal motion planning. Int. J. Robot. Res. 2011, 30, 846–894. [Google Scholar]
- Nasir, J.; Islam, F.; Malik, U.; Ayaz, Y.; Hasan, O.; Khan, M.; Muhammad, M.S. RRT*-SMART: A rapid convergence implementation of RRT. Int. J. Adv. Robot. Syst. 2013, 10, 299. [Google Scholar] [CrossRef]
- Gammell, J.D.; Srinivasa, S.S.; Barfoot, T.D. Informed RRT*: Optimal sampling-based path planning focused via direct sampling of an admissible ellipsoidal heuristic. In Proceedings of the 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems, Chicago, IL, USA, 14–18 September 2014; pp. 2997–3004. [Google Scholar]
- 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]
- Jiang, L.H.; Liu, S.Y.; Cui, Y.M.; Jiang, H.X. Path planning for robotic manipulator in complex multi-obstacle environment based on improved_RRT. IEEE/ASME Trans. Mechatron. 2022, 27, 4774–4785. [Google Scholar] [CrossRef]
- Qi, J.Y.; Yuan, Q.N.; Wang, C.; Du, X.Y.; Du, F.L.; Ren, A. Path planning and collision avoidance based on the RRT* FN framework for a robotic manipulator in various scenarios. Complex Intell. Syst. 2023, 9, 7475–7494. [Google Scholar] [CrossRef]
- Gao, Q.Y.; Yuan, Q.N.; Sun, Y.; Xu, L.Y. Path planning algorithm of robot arm based on improved RRT* and BP neural network algorithm. J. King Saud Univ. Comput. Inf. Sci. 2023, 35, 101650. [Google Scholar] [CrossRef]
- 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]
- Connell, D.; La, M.H. Dynamic path planning and replanning for mobile robots using RRT. In Proceedings of the 2017 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Banff, AB, Canada, 5–8 October 2017; pp. 1429–1434. [Google Scholar]
- Wang, Z.P.; Li, Y.S.; Zhang, H.; Liu, C.; Chen, Q.J. Sampling-based optimal motion planning with smart exploration and exploitation. IEEE/ASME Trans. Mechatron. 2020, 25, 2376–2386. [Google Scholar]
- Cao, X.M.; Zou, X.J.; Jia, C.Y.; Chen, M.Y.; Zeng, Z.Q. RRT-based path planning for an intelligent litchi-picking manipulator. Comput. Electron. Agric. 2019, 156, 105–118. [Google Scholar] [CrossRef]
- Xie, Y.; Zhang, Z.D.; Wu, X.D.; Shi, Z.; Chen, Y.Y.; Wu, B.X. Obstacle avoidance and path planning for multi-joint manipulator in a space robot. IEEE Access 2019, 8, 3511–3526. [Google Scholar] [CrossRef]











| Parameters | Setting Value |
|---|---|
| Starting Point | [8, 5] |
| Target Point | [42, 20] |
| Step Size | 4 |
| Offset Probability | 0.3 |
| Search Radius | 15 |
| Number of Iterations | 10,000 |
| Link | ai−1 (mm) | αi−1 (rad) | di (mm) | θi (rad) | θi Range (°) |
|---|---|---|---|---|---|
| 1 | 0 | 0 | 0 | θ1 | −180~180 |
| 2 | 312 | −pi/2 | 0 | θ2 − pi/2 | −60~76 |
| 3 | 1075 | pi | 0 | θ2 + θ3 | −132~230 |
| 4 | 225 | −pi/2 | −1280 | θ4 | −360~360 |
| 5 | 0 | pi/2 | 0 | θ5 | −125~125 |
| 6 | 0 | −pi/2 | 0 | θ6 | −360~360 |
| Flange | 0 | pi | −215 (165F)/−235 (210F) | θ7 | −360~360 |
| Sequence | X (mm) | Y (mm) | Z (mm) | R (deg) | P (deg) | Y (deg) |
|---|---|---|---|---|---|---|
| 1 | −1277.56 | 2009.52 | 1075.66 | −136.954 | −61.674 | 43.133 |
| 2 | 380.923 | 1485.474 | 1691.494 | −110.242 | −28.279 | −0.968 |
| 3 | 622.208 | 562.172 | 1993.64 | −88.938 | −26.21 | −10.196 |
| 4 | 633.228 | 492.385 | 2168.98 | −89.216 | −25.241 | −9.677 |
| 5 | −269.178 | −808.938 | 2145.324 | −92.827 | −22.943 | −158.638 |
| 6 | −1410.502 | −1467.555 | 1433.845 | −114.867 | 6.479 | 161.849 |
| Sequence | J1 (deg) | J2 (deg) | J3 (deg) | J4 (deg) | J5 (deg) | J6 (deg) |
|---|---|---|---|---|---|---|
| 1 | 148.058 | 11.412 | −11.893 | 74.083 | −56.526 | 68.421 |
| 2 | 112.959 | −30.709 | 34.651 | 37.814 | −61.492 | 88.079 |
| 3 | 86.564 | −56.862 | 67.144 | 7.472 | −66.099 | 113.308 |
| 4 | 89.511 | −46.077 | 76.056 | 9.717 | −75.282 | 112.904 |
| 5 | −61.873 | −42.035 | 75.201 | 8.611 | −77.731 | 110.798 |
| 6 | −132.305 | −6.877 | 34.838 | −26.62 | −64.682 | 107.033 |
| Robot No. | X (mm) | Y (mm) | Z (mm) | R (deg) | P (deg) | Y (deg) |
|---|---|---|---|---|---|---|
| 2 | 951.648 | −1174 | 2830.98 | −1.91 | −74.185 | −52.34 |
| 3 | 1417.39 | −132.937 | 307.027 | 1.221 | −0.118 | −64.958 |
| Robot No. | J1 (deg) | J2 (deg) | J3 (deg) | J4 (deg) | J5 (deg) | J6 (deg) |
|---|---|---|---|---|---|---|
| 2 | −44.07 | −13.336 | 62.596 | 15.433 | −34.012 | −7.469 |
| 3 | 24.098 | −20.504 | 2.131 | 0.098 | −90.909 | −89.052 |
| Sequence | J1 (deg) | J2 (deg) | J3 (deg) | J4 (deg) | J5 (deg) | J6 (deg) |
|---|---|---|---|---|---|---|
| 1 | 148.058 | 11.412 | −11.893 | 74.083 | −56.526 | 68.421 |
| 2 | 143.788 | −20.377 | 5.485 | 71.120 | −57.909 | 71.479 |
| 3 | 118.141 | −41.135 | 57.707 | 30.673 | −73.657 | 128.126 |
| 4 | 89.511 | −46.077 | 76.056 | 9.717 | −75.282 | 112.904 |
| 5 | −61.873 | −42.035 | 75.201 | 8.611 | −77.731 | 110.798 |
| 6 | −132.305 | −6.877 | 34.838 | −26.62 | −64.682 | 107.033 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Li, X.; Wang, P.; Xu, Y.; Yan, J. Path Planning for Manipulators of Automotive Welding Unit Based on an Improved RRT* Algorithm. Machines 2026, 14, 447. https://doi.org/10.3390/machines14040447
Li X, Wang P, Xu Y, Yan J. Path Planning for Manipulators of Automotive Welding Unit Based on an Improved RRT* Algorithm. Machines. 2026; 14(4):447. https://doi.org/10.3390/machines14040447
Chicago/Turabian StyleLi, Xiang, Pengxiang Wang, Yuchun Xu, and Jihong Yan. 2026. "Path Planning for Manipulators of Automotive Welding Unit Based on an Improved RRT* Algorithm" Machines 14, no. 4: 447. https://doi.org/10.3390/machines14040447
APA StyleLi, X., Wang, P., Xu, Y., & Yan, J. (2026). Path Planning for Manipulators of Automotive Welding Unit Based on an Improved RRT* Algorithm. Machines, 14(4), 447. https://doi.org/10.3390/machines14040447

