Research on Path Planning and Tracking Control of Autonomous Vehicles Based on Improved RRT* and PSO-LQR
Abstract
:1. Introduction
- (1)
- For the driving intention of autonomous driving and the urban road scenario in which it is located, this study changes the sampling range of random points from the original complete state space sampling to adaptive Gaussian sampling around the nearest node, which reduces the invalid execution in the sampling process, decreases the number of algorithm iterations, and shortens the computation time.
- (2)
- This study introduces an improved artificial potential field method into the RRT* algorithm. For the nearest nodes, the target point and random sampling point are set to have different attractive forces on them, and the concept of road boundary repulsion is introduced to make the obstacles and road boundary repel the nearest nodes. The combined direction of gravitational and repulsive forces is used as the extension direction of the new node to control the growth of the random tree toward the target point, reduce randomness, and speed up the path search. This study also uses path pruning based on the maximum steering angle constraint of the vehicle and the thrice B-spline algorithm to optimize the sampled generated paths to obtain paths that match the actual tracking of the vehicle.
- (3)
- In this study, a PSO-LQR controller with feedforward control is designed to eliminate the external disturbances caused by the target path. Meanwhile, an objective function considering both tracking accuracy and vehicle stability is established to maintain vehicle stability and achieve higher tracking accuracy. The performance of the PSO-LQR controller is verified in this study by conducting simulation experiments on the LQR controller before and after optimization. Moreover, tracking experiments are conducted for planned paths at different speeds using the PSO-LQR controller to verify the feasibility of the improved RRT* algorithm for path planning and the effectiveness of the tracking control performance.
2. Path Planning Algorithm
2.1. Vehicle Kinematic Model
2.2. RRT* Algorithm
2.3. Improved RRT* Algorithm
2.3.1. Variable Sampling Area
2.3.2. Improved APF-RRT* Algorithm
2.3.3. Path Optimization Algorithms
3. Path Tracking Controller
3.1. Establishment of Path Tracking Model
3.1.1. Vehicle Dynamic Model
3.1.2. Path Tracking Error Model
3.2. Design of LQR Path Tracking Controller Based on Particle Swarm Optimization
3.2.1. LQR Controller Design
3.2.2. Feedforward Control
3.3. Optimization of LQR Controller Based on Particle Swarm Optimization Algorithm
4. Simulation Analysis
4.1. Simulation Analysis of Path Planning
4.2. Simulation Analysis of Path Tracking Control
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Lv, Z.; Shang, W. Impacts of Intelligent Transportation Systems on Energy Conservation and Emission Reduction of Transport Systems: A Comprehensive Review. Green Technol. Sustain. 2023, 1, 100002. [Google Scholar] [CrossRef]
- Yang, H.; Zheng, C.; Zhao, Y.; Wu, Z. Integrating the Intelligent Driver Model With the Action Point Paradigm to Enhance the Performance of Autonomous Driving. IEEE Access 2020, 8, 106284–106295. [Google Scholar] [CrossRef]
- Khaled Ahmed, S.; Mohammed Ali, R.; Maha Lashin, M.; Fayroz Sherif, F. Designing a New Fast Solution to Control Isolation Rooms in Hospitals Depending on Artificial Intelligence Decision. Biomed. Signal Process. Control 2023, 79, 104100. [Google Scholar] [CrossRef]
- Talavera, E.; Díaz-Álvarez, A.; Naranjo, J.E.; Olaverri-Monreal, C. Autonomous Vehicles Technological Trends. Electronics 2021, 10, 1207. [Google Scholar] [CrossRef]
- Sun, Y.; Ren, D.; Lian, S.; Fu, S.; Teng, X.; Fan, M. Robust Path Planner for Autonomous Vehicles on Roads with Large Curvature. IEEE Robot. Autom. Lett. 2022, 7, 2503–2510. [Google Scholar] [CrossRef]
- bt Mohd Shamsuddin, P.N.F.; bin Mansor, M.A. Motion Control Algorithm for Path Following and Trajectory Tracking for Unmanned Surface Vehicle: A Review Paper. In Proceedings of the 2018 3rd International Conference on Control, Robotics and Cybernetics (CRC), Penang, Malaysia, 26–28 September 2018; pp. 73–77. [Google Scholar]
- González, D.; Pérez, J.; Milanés, V.; Nashashibi, F. A Review of Motion Planning Techniques for Automated Vehicles. IEEE Trans. Intell. Transp. Syst. 2016, 17, 1135–1145. [Google Scholar] [CrossRef]
- Bresciani, M.; Ruscio, F.; Tani, S.; Peralta, G.; Timperi, A.; Guerrero-Font, E.; Bonin-Font, F.; Caiti, A.; Costanzi, R. Path Planning for Underwater Information Gathering Based on Genetic Algorithms and Data Stochastic Models. J. Mar. Sci. Eng. 2021, 9, 1183. [Google Scholar] [CrossRef]
- Zhao, P.; Chang, Y.; Wu, W.; Luo, H.; Zhou, Z.; Qiao, Y.; Li, Y.; Zhao, C.; Huang, Z.; Liu, B.; et al. Dynamic RRT: Fast Feasible Path Planning in Randomly Distributed Obstacle Environments. J. Intell. Robot. Syst. 2023, 107, 48. [Google Scholar] [CrossRef]
- Jin, X.; Yan, Z.; Yang, H.; Wang, Q.; Yin, G. A Goal-Biased RRT Path Planning Approach for Autonomous Ground Vehicle. In Proceedings of the 2020 4th CAA International Conference on Vehicular Control and Intelligence (CVCI), Hangzhou, China, 18–20 December 2020; pp. 743–746. [Google Scholar]
- Zhu, Y.; Tang, Y.; Zhang, Y.; Huang, Y. Path Planning of Manipulator Based on Improved RRT-Connect Algorithm. In Proceedings of the 2021 2nd International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE), Zhuhai, China, 24–26 September 2021; pp. 44–47. [Google Scholar]
- Dai, J.; Zhang, Y.; Deng, H. Novel Potential Guided Bidirectional RRT* with Direct Connection Strategy for Path Planning of Redundant Robot Manipulators in Joint Space. IEEE Trans. Ind. Electron. 2023, 1–10. [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]
- Qureshi, A.H.; Ayaz, Y. Potential Functions Based Sampling Heuristic for Optimal Path Planning. Auton. Robot. 2016, 40, 1079–1093. [Google Scholar] [CrossRef] [Green Version]
- Chen, Z.; Yu, J.; Zhao, Z.; Wang, X.; Chen, Y. A Path-Planning Method Considering Environmental Disturbance Based on VPF-RRT*. Drones 2023, 7, 145. [Google Scholar] [CrossRef]
- 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]
- Ayawli, B.B.K.; Mei, X.; Shen, M.; Appiah, A.Y.; Kyeremeh, F. Optimized RRT-A* Path Planning Method for Mobile Robots in Partially Known Environment. Inf. Technol. Control 2019, 48, 179–194. [Google Scholar] [CrossRef] [Green Version]
- Ghosh, D.; Nandakumar, G.; Narayanan, K.; Honkote, V.; Sharma, S. Kinematic Constraints Based Bi-Directional RRT (KB-RRT) with Parameterized Trajectories for Robot Path Planning in Cluttered Environment. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; pp. 8627–8633. [Google Scholar]
- Peng, J.; Chen, Y.; Duan, Y.; Zhang, Y.; Ji, J.; Zhang, Y. Towards an Online RRT-Based Path Planning Algorithm for Ackermann-Steering Vehicles. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China, 30 May–5 June 2021; pp. 7407–7413. [Google Scholar]
- Liao, B.; Hua, Y.; Wan, F.; Zhu, S.; Zong, Y.; Qing, X. Stack-RRT*: A Random Tree Expansion Algorithm for Smooth Path Planning. Int. J. Control Autom. Syst. 2023, 21, 993–1004. [Google Scholar] [CrossRef]
- Li, H.; Luo, J.; Yan, S.; Zhu, M.; Hu, Q.; Liu, Z. Research on Parking Control of Bus Based on Improved Pure Pursuit Algorithms. In Proceedings of the 2019 18th International Symposium on Distributed Computing and Applications for Business Engineering and Science (DCABES), Wuhan, China, 8–10 November 2019; pp. 21–26. [Google Scholar]
- Wang, L.; Zhai, Z.; Zhu, Z.; Mao, E. Path Tracking Control of an Autonomous Tractor Using Improved Stanley Controller Optimized with Multiple-Population Genetic Algorithm. Actuators 2022, 11, 22. [Google Scholar] [CrossRef]
- Yao, J.; Ge, Z. Path-Tracking Control Strategy of Unmanned Vehicle Based on DDPG Algorithm. Sensors 2022, 22, 7881. [Google Scholar] [CrossRef]
- Rupp, A.; Stolz, M. Survey on Control Schemes for Automated Driving on Highways. In Automated Driving: Safer and More Efficient Future Driving; Watzenig, D., Horn, M., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 43–69. ISBN 978-3-319-31895-0. [Google Scholar]
- Hu, C.; Chen, Y.; Wang, J. Fuzzy Observer-Based Transitional Path-Tracking Control for Autonomous Vehicles. IEEE Trans. Intell. Transp. Syst. 2021, 22, 3078–3088. [Google Scholar] [CrossRef]
- Wu, Y.; Wang, L.; Zhang, J.; Li, F. Path Following Control of Autonomous Ground Vehicle Based on Nonsingular Terminal Sliding Mode and Active Disturbance Rejection Control. IEEE Trans. Veh. Technol. 2019, 68, 6379–6390. [Google Scholar] [CrossRef]
- Tian, J.; Yang, M. Research on Trajectory Tracking and Body Attitude Control of Autonomous Ground Vehicle Based on Differential Steering. PLoS ONE 2023, 18, e02732552023. [Google Scholar] [CrossRef]
- Tian, J.; Zeng, Q.; Wang, P.; Wang, X. Active Steering Control Based on Preview Theory for Articulated Heavy Vehicles. PLoS ONE 2021, 16, e02520982021. [Google Scholar] [CrossRef]
- Kapania, N.R.; Gerdes, J.C. Design of a Feedback-Feedforward Steering Controller for Accurate Path Tracking and Stability at the Limits of Handling. Veh. Syst. Dyn. 2015, 53, 1687–1704. [Google Scholar] [CrossRef] [Green Version]
- Xu, S.; Peng, H. Design, Analysis, and Experiments of Preview Path Tracking Control for Autonomous Vehicles. IEEE Trans. Intell. Transp. Syst. 2020, 21, 48–58. [Google Scholar] [CrossRef]
- Yang, T.; Bai, Z.; Li, Z.; Feng, N.; Chen, L. Intelligent Vehicle Lateral Control Method Based on Feedforward + Predictive LQR Algorithm. Actuators 2021, 10, 228. [Google Scholar] [CrossRef]
- Lu, A.; Lu, Z.; Li, R.; Tian, G. Adaptive LQR Path Tracking Control for 4WS Electric Vehicles Based on Genetic Algorithm. In Proceedings of the 2022 6th CAA International Conference on Vehicular Control and Intelligence (CVCI), Nanjing, China, 28–30 October 2022; pp. 1–6. [Google Scholar]
- Wang, Z.; Sun, K.; Ma, S.; Sun, L.; Gao, W.; Dong, Z. Improved Linear Quadratic Regulator Lateral Path Tracking Approach Based on a Real-Time Updated Algorithm with Fuzzy Control and Cosine Similarity for Autonomous Vehicles. Electronics 2022, 11, 3703. [Google Scholar] [CrossRef]
- Zhang, J.; Wang, H.; Zheng, J.; Cao, Z.; Man, Z.; Yu, M.; Chen, L. Adaptive Sliding Mode-Based Lateral Stability Control of Steer-by-Wire Vehicles With Experimental Validations. IEEE Trans. Veh. Technol. 2020, 69, 9589–9600. [Google Scholar] [CrossRef]
- Li, B.L.; Zeng, L. Fractional Calculus Control of Road Vehicle Lateral Stability after a Tire Blowout. Mechanika 2021, 27, 475–482. [Google Scholar] [CrossRef]
- Pacejka, H.B.; Besselink, I.J.M. Magic Formula Tyre Model with Transient Properties. Veh. Syst. Dyn. 1997, 27, 234–249. [Google Scholar] [CrossRef]
- Hou, Y.; Xu, X. High-Speed Lateral Stability and Trajectory Tracking Performance for a Tractor-Semitrailer with Active Trailer Steering. PLoS ONE 2022, 17, e02773582022. [Google Scholar] [CrossRef]
- Li, Y.; Ma, Z.; Zheng, M.; Li, D.; Lu, Z.; Xu, B. Performance Analysis and Optimization of a High-Temperature PEMFC Vehicle Based on Particle Swarm Optimization Algorithm. Membranes 2021, 11, 691. [Google Scholar] [CrossRef]
- Xu, X.; Lin, P. Parameter Identification of Sound Absorption Model of Porous Materials Based on Modified Particle Swarm Optimization Algorithm. PLoS ONE 2021, 16, e02509502021. [Google Scholar] [CrossRef]
- Cheng, Z.; Lu, Z. Regression-Based Correction and I-PSO-Based Optimization of HMCVT’s Speed Regulating Characteristics for Agricultural Machinery. Agriculture 2022, 12, 580. [Google Scholar] [CrossRef]
Longitudinal Velocity (m/s) | Q | R |
---|---|---|
10 | diag [300 0.01 0.01 4.49] | 6.02 |
15 | diag [270.71 0.01 0.01 119.35] | 4.91 |
20 | diag [1.23 0.01 99.47 62.88] | 1.39 |
Algorithm | RRT* | Goal-Biased-RRT* | P-RRT* | Improved-RRT* |
---|---|---|---|---|
Average path length (m) | 102.4621 | 100.9605 | 100.8112 | 100.7826 |
Average running time (s) | 14.7644 | 7.0604 | 1.8454 | 1.3079 |
Average iterations | 480.8 | 310.4 | 219.3 | 146.4 |
Average memory consumption (MB) | 44.3 | 33.1 | 26.6 | 22.4 |
Algorithm | RRT* | Goal-Biased-RRT* | P-RRT* | Improved-RRT* |
---|---|---|---|---|
Average path length (m) | 122.3938 | 121.5995 | 121.2425 | 121.2192 |
Average running time (s) | 16.8818 | 11.9701 | 2.8668 | 1.0641 |
Average iterations | 634.4 | 401.8 | 334.1 | 218.2 |
Average memory consumption (MB) | 49.7 | 35.3 | 32.1 | 26.2 |
Algorithm | RRT* | Goal-Biased-RRT* | P-RRT* | Improved-RRT* |
---|---|---|---|---|
Average path length (m) | 102.8306 | 101.2469 | 100.7349 | 100.6376 |
Average running time (s) | 12.4730 | 8.0140 | 2.1727 | 1.4296 |
Average iterations | 518.5 | 349.7 | 282.5 | 177.1 |
Average memory consumption (MB) | 47.4 | 34.1 | 29.3 | 24.5 |
Parameters/Units | Value |
---|---|
Vehicle mass/kg | 1412 |
Distance from the center of mass to the front axis/mm | 1015 |
Distance from the center of mass to the rear axis/mm | 1895 |
Moment of inertia/kg·m2 | 1536.7 |
Front-wheel cornering stiffness/N/rad | −148,970 |
Rear wheel cornering stiffness/N/rad | −82,204 |
Wheelbase of the front axle/mm | 1675 |
Height of the center of mass/mm | 540 |
Effective radius of wheel/mm | 325 |
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. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, Y.; Gao, F.; Zhao, F. Research on Path Planning and Tracking Control of Autonomous Vehicles Based on Improved RRT* and PSO-LQR. Processes 2023, 11, 1841. https://doi.org/10.3390/pr11061841
Zhang Y, Gao F, Zhao F. Research on Path Planning and Tracking Control of Autonomous Vehicles Based on Improved RRT* and PSO-LQR. Processes. 2023; 11(6):1841. https://doi.org/10.3390/pr11061841
Chicago/Turabian StyleZhang, Yong, Feng Gao, and Fengkui Zhao. 2023. "Research on Path Planning and Tracking Control of Autonomous Vehicles Based on Improved RRT* and PSO-LQR" Processes 11, no. 6: 1841. https://doi.org/10.3390/pr11061841
APA StyleZhang, Y., Gao, F., & Zhao, F. (2023). Research on Path Planning and Tracking Control of Autonomous Vehicles Based on Improved RRT* and PSO-LQR. Processes, 11(6), 1841. https://doi.org/10.3390/pr11061841