Map Construction and Path Planning Method for a Mobile Robot Based on Multi-Sensor Information Fusion
Abstract
:1. Introduction
2. SLAM Based on Multi-Sensor Fusion
2.1. Description of Algorithm
- Sensor calibration: The camera, LiDAR, and IMU are calibrated in time and space, and therefore the data information output by the sensor is on the same plane and time.
- Data preprocessing: Data processing of laser point cloud and camera information. The IMU is pre-integrated to obtain the relative pose transformation matrix of the vehicle, which provides the transformation basis for the LiDAR point cloud frame matching.
- EKF data fusion: The extended Kalman filter is used to fuse the laser detection data and the visual detection data to generate a local map.
- Map construction and loopback detection: The real-time pose of the robot is used as the center of the circle, R is the radius to delineate the detection circle, and the laser point cloud ICP algorithm is used to perform loopback detection on the robot trajectory.
2.2. Data Preprocessing
- The obtained depth image is screened for the effective area to obtain the depth image (u, v) to be processed.
- Through the depth image (u, v) and the camera parameter model, the position coordinates M (x, y, z) of each pixel of the depth camera in the world coordinate system are obtained.
- Project the spatial point cloud (x, y, z) into the corresponding laser scanning range, and calculate the angle AOD between the straight lines AO and DO; the calculation formula is shown in (2):
2.3. Data Fusion Based on EKF
- Forecast section. First, initialize the current position and covariance error with the initial position of the robot. Use the depth camera on the vehicle to collect data on vehicle motion. This value is used as the current moment system input uk to predict the pose of the next moment, and the predicted error covariance is calculated. Predict xk|k − 1 according to the current pose:
- Data association. Before the data fusion of the depth camera and the LiDAR, the data of the two sensors need to be correlated to prevent the mis-matching of the sensor data and the inability to build a complete map. According to the Mahalanobis distance between the observation information obtained by the sensors, the correlation of the data obtained by the two sensors is judged. It indicates that the data correlation is high when the distance is less than the set threshold x2.
- Update section. First, calculate the Kalman gain Kk, and use the measured values of the multi-sensors to correct the previous system predictions, that is, to use the position information obtained by the LiDAR to correct the positioning data obtained by the camera for data fusion. At the same time, the optimal estimation value of sensor data fusion is calculated by Kalman gain, and the update of the covariance matrix is completed.
2.4. Map Construction and Loop Closure Detection
3. Path Planning for Mobile Robots
3.1. Global Path Planning Based on Improved Ant Colony Algorithm
- Initial state: In the initial state, the probability of the ants choosing a feasible path is equal, and the ant will determine the direction of the next node according to the pheromone content of the state transition point on the selection path. Setting the state transition probability of ant b from point I to point g on the grid graph as , the pheromone content Tig(t) from point i to point g, heuristic function Nig(t), pheromone heuristic factor a, and expectation the heuristic factor w are determined. Then the state transition probability formula is as follows:
- Improved heuristic function: On the basis of the square of the sum of the distance from the current node to the next node and the distance from the next node to the target in [23], the heuristic function is introduced to speed up the search speed of the ant colony, which is
- Pheromone update: In order to speed up the search time of ants, to reduce the probability of choosing the route that has been taken, and to avoid the pheromone concentration being too low or accumulating after volatilization, it is necessary to determine the maximum value Tmax and the minimum value Tmin of the pheromone concentration between two points. In this paper, the maximum and minimum values of pheromone were determined according to the volatilization degree and optimal path of the pheromone, which is
3.2. Path Smoothing Based on Cubic B-Spline Curve
3.3. Local Path Planning
3.4. Path Planning Combined with Improved Ant Colony Algorithm and Dynamic Window Algorithm
- Use on-board sensors to obtain environmental information to realize the vehicle’s own positioning and build a raster map.
- Use the improved ant colony algorithm to complete the global path planning of the intelligent vehicle and obtain the optimal path.
- According to the new obstacle information obtained by the vehicle sensor in real time, integrate the information into the grid map, and use the dynamic window method to complete the local obstacle avoidance.
- Combine the global planning path, plan the local moving target points in real time, and use the preview tracking method to track the target points according to the control parameters in the path planning process to achieve real-time obstacle avoidance and obtain the local optimal path.
- Determine whether the local moving target point is the final target point; if not, jump to Step 1. If yes, the intelligent vehicle reaches the target point, and the algorithm ends.
4. Analysis and Verification
4.1. ROS-Based Experimental Platform
4.2. Map Building Experiment
4.3. Path Planning Experiment
4.3.1. Simulation Experiment Verification and Analysis
4.3.2. Real Vehicle Test Verification and Analysis
5. Conclusions
- When a single sensor is used for map construction in an unknown environment, there are problems such as large mapping errors and poor robustness. The method of multi-sensor information fusion of LiDAR, depth camera, and IMU is used to obtain more comprehensive environmental information. Thereby, the reliability and accuracy of map construction are improved, and the robustness of the mobile robots in SLAM mapping is effectively improved.
- Aiming at the problem that the traditional ant colony algorithm has long searching time and is easy to fall into local stagnation, the heuristic function and pheromone updating strategy are improved, and the turning angle of the path is smoothed by using the cubic B-spline curve, which has good stability and improves the efficiency of path planning.
- The method of map construction and path planning based on multi-sensor fusion was verified and analyzed. The accuracy and robustness of the map construction was improved by the fusing of multi-sensor information. The local real-time obstacle avoidance can be realized by using the improved path planning algorithm, and the global optimal can be maintained. The efficiency of path planning was improved, and the automatic feedback control of an intelligent vehicle can be realized with good robustness and accuracy.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Wen, S.; Wen, Z.; Liu, X. Autonomous mapping and path planning of mobile robot based on ROS. J. Shenyang Univ. Technol. 2022, 46, 90–94. [Google Scholar]
- Zheng, G.; Zhang, L.; Zhuang, H. Multi-sensors Fusion Based Autonomous Exploration and Mapping of a Mobile Robot in Unknown Indoor Environment. Control Eng. China 2020, 27, 1743–1750. [Google Scholar]
- Cao, J.P.; Li, A.J.; Huang, Z.; Wang, J.B. Path Planning for Intelligent Vehicle Based on Improved Ant Colony Algorithm. In Proceedings of the 2021 Global Reliability and Prognostics and Health Management (PHM-Nanjing), Nanjing, China, 15–17 October 2021. [Google Scholar]
- Yang, Y.; Han, B.; Luo, X. Research on Simultaneous Localization and Mapping of Indoor Navigation Map for Mobile Robot. Sci. Technol. Eng. 2021, 21, 7597–7603. [Google Scholar]
- Chong, Y.; Ji, J.; Gong, M.; Chen, Q. A Stereo Visual Odometry Aided by IMU based on Swmi-direct Method. J. Southwest China Norm. Univ. (Nat. Sci. Ed.) 2021, 46, 112–120. [Google Scholar]
- Ye, H.Y.; Chen, Y.Y.; Liu, M. Tightly Coupled 3D Lidar Inertial Odometry and Mapping. In Proceedings of the 2019 International Conference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; pp. 3144–3150. [Google Scholar]
- Huang, K.H.; Stachniss, C. Joint Ego-motion Estimation Using a Laser Scanner and a Monocular Camera Through Relative Orientation Estimation and 1-DoF ICP. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 671–677. [Google Scholar]
- Chen, M.X.; Yang, S.W.; Yi, X.D.; Wu, D. Real-time 3D mapping using a 2D laser scanner and IMU-aided visual SLAM. In Proceedings of the 2017 IEEE International Conference on Real-time Computing and Robotics (RCAR), Okinawa, Japan, 14–18 July 2017; pp. 297–302. [Google Scholar]
- Ahmed, A.; Ahmed, S.; Ahmed, O. Dijkstra algorithm applied: Design and implementation of a framework to find nearest hotels and booking systems in Iraqi. In Proceedings of the 2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Sulaymaniyah, Iraq, 26–27 April 2017; pp. 126–132. [Google Scholar]
- Niu, H.; Li, A.; Huang, X.; Li, W.; Xu, C. Research on Global Dynamic Path Planning Method Based on Improved A* Algorithm. Math. Probl. Eng. 2021, 2021, 4977041. [Google Scholar] [CrossRef]
- Firmansyah, E.; Masruroh, S.; Fahrianto, F. Comparative Analysis of A* and Basic Theta* Algorithm in Android-Based Pathfinding Games. In Proceedings of the 2016 6th International Conference on Information and Communication Technology for The Muslim World (ICT4M), Jakarta, Indonesia, 22–24 November 2016; pp. 275–280. [Google Scholar]
- Xiong, C.; Chen, D.; Lu, D. Path planning of multiple autonomous marine vehicles for adaptive sampling using Voronoi-based ant colony optimization. Robot. Auton. Syst. 2019, 115, 90–103. [Google Scholar] [CrossRef]
- Eduardo, J.; Ángel, L.; Manuel, O. Dynamic window based approaches for avoiding obstacles in moving. Robot. Auton. Syst. 2019, 118, 112–130. [Google Scholar]
- Wang, H.; Yin, P.; Zheng, W. Mobile robot path planning based on improved A* algorithm and dynamic window mwthod. Robot 2020, 42, 346–353. [Google Scholar]
- Cheng, C.; Hao, X.; Li, J.; Zhang, Z.J.; Sun, G.P. Global dynamic path planning based on fusion of improved A* algorithm and dynamic window approach. J. Xi’an Jiaotong Univ. 2017, 51, 137–143. [Google Scholar]
- Patrick, G.; James, M.; Huang, G.Q. An efficient schmidt-ekf for 3D visual-inertial SLAM. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 12105–12115. [Google Scholar]
- Zhang, M.; Xu, X.Y.; Chen, Y.M.; Li, M.Y. A Lightweight and Accurate Localization Algorithm Using Multiple Inertial Measurement Units. IEEE Robot. Autom. Lett. 2020, 5, 1508–1515. [Google Scholar] [CrossRef] [Green Version]
- Hartley, R.; Ghaffari, M.; Eustice, R.; Grizzle, J. Contact-aided invariant extended Kalman filtering for robot state estimation. Int. J. Robot. Res. 2020, 39, 402–430. [Google Scholar] [CrossRef]
- Liu, W.; Wu, S.; Wen, Y.; Wu, X. Integrated Autonomous Relative Navigation Method Based on Vision and IMU Data Fusion. IEEE Access 2020, 8, 51114–51128. [Google Scholar] [CrossRef]
- Cheng, L.; Huang, Y. A Novel Adaptive EKF-SLAM Algorithm Via Cholesky Decomposition. J. Anhui Polytech. Univ. 2020, 35, 59–64. [Google Scholar]
- Li, Y.; Tang, D.; Dai, Q. Map-building of mobile robot in unknown environment based on multi sensor information fusion. J. Shaanxi Univ. Sci. Technol. 2021, 39, 151–159. [Google Scholar]
- Cao, F.; Zhuang, Y.; Yan, F.; Yang, Q.F.; Wang, W. Long-term Autonomous Environment Adaptation of Mobile Robots: State-of-the-art Methods and Prospects. Acta Autom. Sin. 2020, 46, 205–221. [Google Scholar]
- Liu, Y.; Zeng, G.; Huang, B. Research on robot path planning based on improved ant colony algorithm. Electron. Sci. Technol. 2020, 33, 13–18. [Google Scholar] [CrossRef]
- You, H.; Lu, Z. A fast ant colony algorithm for α, β and ρ adaptive adjustment. Manuf. Autom. 2018, 40, 99–102, 112. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Li, A.; Cao, J.; Li, S.; Huang, Z.; Wang, J.; Liu, G. Map Construction and Path Planning Method for a Mobile Robot Based on Multi-Sensor Information Fusion. Appl. Sci. 2022, 12, 2913. https://doi.org/10.3390/app12062913
Li A, Cao J, Li S, Huang Z, Wang J, Liu G. Map Construction and Path Planning Method for a Mobile Robot Based on Multi-Sensor Information Fusion. Applied Sciences. 2022; 12(6):2913. https://doi.org/10.3390/app12062913
Chicago/Turabian StyleLi, Aijuan, Jiaping Cao, Shunming Li, Zhen Huang, Jinbo Wang, and Gang Liu. 2022. "Map Construction and Path Planning Method for a Mobile Robot Based on Multi-Sensor Information Fusion" Applied Sciences 12, no. 6: 2913. https://doi.org/10.3390/app12062913
APA StyleLi, A., Cao, J., Li, S., Huang, Z., Wang, J., & Liu, G. (2022). Map Construction and Path Planning Method for a Mobile Robot Based on Multi-Sensor Information Fusion. Applied Sciences, 12(6), 2913. https://doi.org/10.3390/app12062913