Multi-mobile-robot visual SLAM (Simultaneous Localization and Mapping) method based on deep learning

Deep learning technology is used to eliminate dynamic object interference and construct dense point cloud maps in multi-mobile robot visual SLAM, which solves the problems of traditional visual SLAM positioning accuracy and map construction in dynamic environments, and achieves more efficient multi-robot collaborative navigation and maps. Fusion.

CN118781192AActive Publication Date: 2024-10-15SOUTHEAST UNIV

Patent Information

Application Number
CN202410953524.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-15
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Traditional visual SLAM algorithms are disturbed in dynamic environments and cannot construct dense point cloud maps, especially when collaborative navigation in multi-mobile robot systems faces the challenges of information sharing and map fusion.

Method used

A multi-mobile robot visual SLAM method based on deep learning is used to eliminate dynamic object interference through the target detection network, add a dense point cloud map building module, and perform multi-map fusion through a map fusion algorithm to generate a complete visual SLAM method. Specific steps include dynamic object detection and feature point elimination, local map construction and dense point cloud construction, map optimization and multi-robot map fusion, using Intel Realsense camera, ORB feature points and improved YOLOv8s model, Robust ICP algorithm, etc.

Benefits of technology

It improves the system's positioning accuracy and map construction capabilities in dynamic environments, enhances robustness and real-time performance, is suitable for multi-robot cooperative navigation in complex environments, and achieves higher precision and complete map fusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118781192A_ABST
    Figure CN118781192A_ABST
Patent Text Reader

Abstract

The invention discloses a visual simultaneous localization and mapping (SLAM) method for a plurality of mobile robots based on deep learning, and the visual simultaneous localization and mapping (SLAM) method for the plurality of mobile robots based on deep learning. The method comprises the following steps: firstly, a plurality of single wheeled mobile robots use an improved visual SLAM algorithm based on deep learning to construct an environment map; and secondly, fusing dense point cloud maps constructed by a plurality of mobile robots by using a map fusion algorithm based on a Roust ICP algorithm to obtain a complete and accurate environment map. The environmental map constructed by the multi-mobile-robot visual SLAM method provided by the invention is relatively accurate, and interference of dynamic objects in the environment can be effectively removed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a visual SLAM technology optimized by a target detection algorithm, belonging to the field of robot perception technology. Background Art

[0002] As one of the important methods for autonomous perception of mobile robots, visual SLAM technology has gradually become important in recent years. This technology uses cameras to collect environmental images and analyzes these image data to infer the robot's position in the environment and build a detailed three-dimensional map of the surrounding environment. The main challenge of visual SLAM is to effectively extract continuous visual information to obtain accurate spatial positioning data and accurately reconstruct the environmental map. Its development has a far-reaching impact on the field of robotics, especially in the fields of autonomous driving, drone navigation, and indoor robots. This technology enables robots to effectively navigate in indoor environments or complex urban landscapes without GPS signals. Compared with other navigation technologies, visual SLAM has the advantages of high cost-effectiveness and strong adaptability to the environment. It uses relatively cheap and popular cameras instead of relying on equipment such as laser radar (LIDAR), making it an economical and practical choice. However, early visual SLAM still faces many challenges, such as low feature extraction efficiency, sensitivity to dynamic object interference, and high map generation errors. With the continuous innovation of SLAM technology and the development of deep learning technology, these challenges have gradually been overcome.

[0003] Deep learning has the potential to improve the accuracy and robustness of visual SLAM systems. Through neural networks, machines are able to extract features more effectively and maintain stable performance under a wider range of environmental conditions. An important advantage that deep learning technology brings to visual SLAM is its high adaptability to various environmental conditions. It can work stably under different lighting conditions and even operate effectively in environments with insufficient or excessive light. In addition, it can adapt to visual interference caused by weather changes and dynamic changes in scenes, such as the presence of rain, snow, or moving objects. This adaptability makes visual SLAM more reliable in practical applications, especially in situations where environmental changes are frequent or difficult to predict.

[0004] However, most of the current research focuses on the visual SLAM system of a single robot, while relatively few studies have been conducted on multi-mobile robot systems. Research on multi-mobile robot systems, especially in collaboration, is of great significance to the advancement of robotics. These systems show higher efficiency and adaptability in performing complex tasks, especially in scenarios that require large-scale coverage or multi-angle observation. For example, multi-robot systems can play an important role in disaster response, environmental monitoring, or large-scale industrial applications. However, to achieve this goal, it is necessary for robots to effectively share information and coordinate actions, which is the core of multi-mobile robot visual SLAM research based on deep learning.

[0005] In addition, the application of deep learning in visual SLAM also brings new challenges. For example, the dependence of deep learning models on data, the demand for computing resources, and how to effectively combine deep learning technology with traditional SLAM algorithms. In the face of these challenges, this patent aims to explore and develop a new multi-mobile robot visual SLAM system based on deep learning to improve its positioning accuracy and map building capabilities in various environments.

[0006] In summary, the research on multi-mobile robot visual SLAM algorithm based on deep learning is not only an extension of existing technology, but also a foresight of the possible development direction of future intelligent systems. The success of this research will have a profound impact on the practical application of mobile robots and provide more effective tools for solving complex real-world problems. Summary of the invention

[0007] Technical issues:

[0008] Aiming at the problem that traditional visual SLAM algorithms are greatly disturbed in dynamic environments and cannot construct dense point cloud maps, a multi-mobile robot visual SLAM method based on deep learning is proposed. The interference of dynamic objects in the environment is eliminated through the target detection network, a dense point cloud map construction module is added, and multiple maps are fused through the map fusion algorithm to obtain a complete visual SLAM method.

[0009] Technical solution:

[0010] To achieve the purpose of the present invention, the technical solution adopted by the present invention is: a multi-mobile robot visual SLAM method based on deep learning, the steps include:

[0011] In the first step, the mobile robot is equipped with a camera to collect images and pass them into the tracking thread and the target detection thread to detect dynamic objects and eliminate dynamic feature points.

[0012] In the second step, the tracking thread generates key frames and passes them into the local mapping thread and the dense point cloud map construction module to perform local map construction optimization and dense point cloud map construction respectively.

[0013] The third step is to optimize the map and remove duplicate point cloud points to obtain a complete map of the environment constructed by a single mobile robot.

[0014] The fourth step is to upload the environmental maps constructed by multiple mobile robots to the server and fuse them using a map fusion algorithm based on the Robust ICP algorithm to obtain a more complete and accurate environmental map.

[0015] Furthermore, in the first step, an Intel Realsense D435i camera is used for image acquisition, the camera resolution is 1920 pixels×1080 pixels, and the maximum frame rate is 90 FPS. The camera is mounted on the mobile robot using a fixed bracket.

[0016] In addition, in the first step, the Tracking thread and the target detection thread respectively obtain the images collected by the camera for feature point extraction and feature point screening. In the Tracking thread, this method extracts ORB (Oriented FAST and Rotated BRIEF) feature points. ORB features are composed of Fast key points and Brief descriptors. Fast is a corner point that mainly detects places where the grayscale of local pixels changes significantly, and the detection speed is very fast. The main idea is to determine whether it can become a Fast corner point by detecting the difference between the pixel and the surrounding pixels. Brief descriptor is a descriptor commonly used in feature point SLAM, which belongs to the binary type of descriptor. Its main advantages are concise storage format and fast calculation speed. In practical applications, the Brief descriptor randomly selects two pixels p and q near the corner point and compares them. If the grayscale value of p is greater than q, the point is recorded as 1; otherwise, it is recorded as 0. In order to obtain enough information, 128 pairs of such pixels are usually selected. In the target detection thread, this method uses YOLOv8s as the basic target detection model to detect and screen dynamic objects in the environment. The SlimNeck structure consisting of the Coordinate Attention mechanism and the GSConv module is added to the YOLOv8s model. Coordinate Attention is a special attention mechanism designed to embed exact spatial location information in the neural network architecture, so as to effectively capture the association between features and dependencies across long distances. First of all, the design of Coordinate Attention aims to consider both position information and direction-related information at the same time, avoiding the simple compression of spatial information into the channel dimension. To achieve this goal, it uses average pooling operations in both width and height dimensions when processing feature maps. Specifically, it is represented by pooling the input feature map of size C·H·W to generate two feature maps of C·H·1 and C·1·W:

[0017]

[0018] Among them, C, H, and W are the length, height, and width of the image respectively, and x c (i, j) is the value of the input feature map at coordinate (i, j), They are the height feature map and width feature map after pooling respectively.

[0019] Next, the two pooled feature maps are further processed. The feature map of C·1·W is subjected to a specific transposition operation to facilitate subsequent processing steps. After that, the transformed feature map is concatenated with the original feature map of C·H·1. After the concatenation is completed, a 1·1 convolution kernel is used to process the concatenated feature map. Finally, the convolutional feature map is activated by the Sigmoid activation function.

[0020] f=δ(F1([z h ,z w ]))

[0021] Among them, z h 、z w is the height feature map and the width feature map, F1 is the convolution function of size 1·1, and δ is the Sigmoid activation function. In the final stage of the Coordinate Attention mechanism, a split operation is performed to divide the activated output function f into two parts, namely f h and f w . Then, the convolution kernel of size 1·1 is applied to the two parts to perform dimensionality increase. Finally, the attention vector g is obtained by activating it with the Sigmoid function. h With g w :

[0022]

[0023] The output formula of the Coordinate Attention module can be expressed as:

[0024]

[0025] Among them, x c (i, j) is the value of the input feature map at coordinate (i, j), y c (i, j) is the value of the output feature map at coordinate (i, j), is the attention weight in the height direction, is the attention weight in the width direction.

[0026] After obtaining the improved target detection algorithm, this method chooses to make further improvements based on the ORB-SLAM3 system. In this patent, the front-end visual odometer module of ORB-SLAM3 has been significantly improved, mainly reflected in the integration of an independent target detection thread, which complements the tracking thread and is activated or not by the tracking thread. The specific implementation process is as follows: The input RGB image is first sent to the feature extraction module and the optimized YOLOv8s target detection thread. In this process, the target detection thread is responsible for identifying dynamic objects in the image and specially marking the feature points on these objects. Then, the system will perform matching operations between the image and the feature points to identify the feature points belonging to high-dynamic, low-dynamic or static objects. In order to optimize the system performance, feature points from high-dynamic objects will be excluded from the feature matching process, while other feature points will be retained.

[0027] Afterwards, considering that the motion trajectory of highly dynamic objects is difficult to predict and these objects may occupy most of the area in the image, the ORB-SLAM3 system may experience tracking loss, thus affecting the overall accuracy. To address this problem, this method introduces trajectory tracking and feature point judgment logic. The Byte-track tracker is used to track all objects in the image and assign a unique number to each object. In the logical judgment of the feature points, if the detected tags are humans or other mobile robots, and the detection box area of ​​these objects exceeds half of the total area of ​​the image, the system will retain their feature points even if these objects belong to the highly dynamic category. This strategy aims to avoid too frequent tracking loss events, reduce the number of inactive maps generated, and thus reduce the consumption of computing resources.

[0028] And in this method, dense map construction is designed as an independent module, and its activation or not depends on the setting of input parameters. This module is mainly composed of two parallel threads, which are responsible for the construction of dense point cloud maps and semantic segmentation respectively. The input data of the module comes from the key frame images selected by the ORB-SLAM3 system. In the dense point cloud map construction thread, the first step is to use the RGB information and depth information in the key frame for data fusion, realize the projection from two-dimensional image points to three-dimensional space points, and generate initial point cloud data. Next, the system converts these preliminary constructed point cloud data to the global coordinate system, and integrates and splices the point cloud data. The process is described as:

[0029]

[0030] Finally, this method proposes a map fusion strategy that aims to integrate the dense point cloud environment maps constructed by multiple mobile robots to generate a more accurate and denser integrated map. The map fusion process is mainly divided into three key steps: point cloud registration, point cloud fusion, and fused map optimization. Point cloud registration is the first step in the fusion process, and its purpose is to accurately align the point cloud data from different robots into a unified coordinate system. Next, the point cloud fusion step is dedicated to merging these aligned point clouds into a continuous and comprehensive representation of the environment. Finally, in the fused map optimization stage, various algorithms are used to further improve the accuracy and quality of the fused map to ensure the practicality and reliability of the map.

[0031] The beneficial effects of the present invention are that the proposed visual SLAM system has better robustness in complex and dynamic environments, and builds a dense point cloud map with higher accuracy without losing the real-time performance of the system.

[0032] Beneficial effects:

[0033] The improved YOLOv8 model is used to detect dynamic objects and remove feature points, which reduces the interference of dynamic objects on positioning and improves the positioning accuracy of the system in dynamic environments.

[0034] Based on ORB-SLAM3, multiple parallel threads are added, including target detection thread and dense point cloud map construction module, which enables the system to process data in complex environments more efficiently and enhances the robustness of the system;

[0035] The lightweight YOLOv8 model and GSConv structure are used to optimize the target detection and feature extraction process, improve the real-time performance of the system, and are suitable for mobile devices with limited resources.

[0036] Introducing a dense point cloud map construction module, using deep learning algorithms to generate dense point cloud data, and performing optimization and noise removal to build a high-precision environment map;

[0037] The Robust ICP algorithm is used to fuse the environmental maps constructed by multiple mobile robots to generate a more complete and accurate environmental map, which is suitable for multi-robot collaborative navigation and task execution. The system can adaptively adjust feature points and pose estimation according to changes in the dynamic environment, improving the system's adaptability in different environments.

[0038] The pose detection method of the present invention can achieve an average trajectory error of 0.0163 in multiple experiments of multiple sequences in the TUM data set, which is 95% more accurate than the mainstream visual SLAM algorithm in a dynamic environment, and the overall trajectory error is small. In addition, the overall SLAM system detection speed is increased from 37FPS to 45FPS, which is a significant improvement. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the structure of the visual SLAM system;

[0040] Figure 2 This is the structure diagram of the target detection algorithm model;

[0041] Figure 3 Schematic diagram of multi-mobile robot visual SLAM. DETAILED DESCRIPTION

[0042] Example:

[0043] like Figure 1 As shown in the figure, the overall process of a multi-mobile robot visual SLAM method based on deep learning is to first collect target images, then use the target detection algorithm to remove dynamic objects, then generate key frames to build dense point cloud maps, and finally fuse multiple mobile robot dense point cloud maps to generate a more accurate and complete dense point cloud map. In the image acquisition stage, Hikvision Intel Realsense D435i camera is used for image acquisition. The camera has a resolution of 1920 pixels × 1080 pixels and a maximum frame rate of 90FPS. The camera is mounted on the mobile robot using a fixed bracket.

[0044] like Figure 2 As shown in the figure, in the target detection algorithm, after the image passes through the Coordinate Attention mechanism of the backbone network, a feature map with richer information and more reasonable weight distribution is obtained. After that, the feature map is further fused through the SlimNeck structure composed of GSConv to obtain richer features and more detailed and related information. Finally, a more accurate detection result is obtained in the Head part. Integrating the target detection algorithm into Figure 1 In the feature point screening part, the feature points generated by the SLAM system for dynamic objects are removed, so as to eliminate the interference of dynamic information when further calculating the camera pose. After that, the key frames generated by the SLAM system without dynamic information interference are transmitted to the local mapping thread and the dense point cloud map construction module respectively. After generating map points in the local mapping thread and optimizing the local map, they are passed to the loop detection thread for error correction. The dense point cloud map construction module performs semantic segmentation and point cloud recovery on the input key frames, and further reduces the interference of dynamic information by fusing semantic labels with dense point clouds after segmenting low-dynamic objects. Finally, point cloud stitching and removal of duplicate point cloud points based on voxel grid filtering are performed to obtain a complete and accurate dense point cloud map as well as camera pose and trajectory information with smaller errors.

[0045] like Figure 3As shown in the figure, multiple mobile robots perform synchronous SLAM in the environment, and transmit the obtained dense point cloud map to the server for fusion. During the fusion process, the Robust ICP algorithm is first used for point cloud registration to align each point cloud data set to a unified coordinate system. This operation ensures that the three-dimensional coordinates of all point clouds are in the same coordinate space, thus laying the foundation for finding the most suitable Euclidean transformation. The purpose of this Euclidean transformation is to minimize the error in spatial position and direction between the two point cloud data sets, laying the foundation for further point cloud data fusion steps. After obtaining the registered point cloud through the Robust-ICP algorithm, it is necessary to fuse multiple point cloud data. Specifically, first divide the entire point cloud space into regular, fixed-size cubic grids, each grid is called a voxel. Secondly, the point simplification in the voxel is performed. For each non-empty voxel, that is, a voxel containing at least one point, the filter simplifies all points in the voxel into a single point. The position of this representative point can be the centroid, geometric center or other specific calculated point of all points in the voxel. Finally, these representative points constitute the new point cloud after downsampling. The purpose of downsampling is to reduce the amount of computation and storage requirements, while simplifying the processing of point clouds without significantly losing detailed information about the point clouds. Finally, the fused map is optimized, and the quality of the fused point cloud map can be effectively improved through statistical outlier removal, radius outlier removal, and Gaussian filter smoothing.

[0046] The above implementation is only for explaining the technical idea of ​​the present invention, and the protection scope of the present invention cannot be limited by it. It is worth noting that any improvement made to the technical solution based on the technical idea of ​​the present invention belongs to the protection scope of the present invention.

Claims

1. A multi-mobile robot visual SLAM method based on deep learning, characterized in that: The following steps are involved: In the first step, the mobile robot carries a camera to collect images and transmit them to the tracking thread and the target detection thread to detect dynamic objects and remove dynamic feature points; In the second step, the tracking thread generates key frames and passes them into the local mapping thread and the dense point cloud map construction module to perform local map construction optimization and dense point cloud map construction respectively; The third step is to optimize the map and remove duplicate point cloud points to obtain a complete map of the environment constructed by a single mobile robot; The fourth step is to upload the environmental maps constructed by multiple mobile robots to the server and fuse them using a map fusion algorithm based on the Robust ICP algorithm to obtain a more complete and accurate environmental map.

2. A multi-mobile robot visual SLAM method based on deep learning according to claim 1, characterized in that: The first step of image acquisition, dynamic object detection, and dynamic feature point removal includes the following specific steps: Each mobile robot is equipped with a high-resolution camera to collect images of the surrounding environment in real time. The collected image data is transmitted to the tracking thread and the target detection thread; Use the improved YOLOv8 model to detect dynamic objects, mark the dynamic object areas in the image, and extract image feature points using the ORB feature extraction algorithm; The feature points located in the dynamic object area are eliminated and only static feature points are retained to reduce the positioning error caused by dynamic objects.

3. A multi-mobile robot visual SLAM method based on deep learning according to claim 1, characterized in that: The second step of key frame generation, local mapping, and dense point cloud map construction includes the following specific steps: The tracking thread generates key frames based on the image data during the robot's movement. The selection criteria include the image's motion amplitude, scene changes, etc. The key frame is passed to the local map construction thread to build the local map, and the local map is optimized using the Bundle Adjustment (BA) algorithm to ensure the accuracy and consistency of the local map; The key frames are simultaneously passed into the dense point cloud map construction module, which uses a deep learning algorithm to generate dense point cloud data, uses a depth estimation network (such as DepthNet) to extract depth information from the image, and combines the position information of the key frames to generate a dense point cloud map.

4. A multi-mobile robot visual SLAM method based on deep learning according to claim 1, characterized in that: The third step of global map optimization and duplicate point cloud point removal includes the following specific steps: Use global optimization algorithms (such as Pose Graph Optimization) to optimize the entire map to ensure the consistency of the global map, and consider the relative postures and mutual observation relationships between robots to improve the accuracy of the global map; The dense point cloud generated by multiple key frames is processed and the iterative closest point (ICP) algorithm is used to align the point cloud, remove duplicate and redundant points, and improve the quality of the point cloud; By integrating the optimized and de-duplicated point cloud data, a complete map of the environment for a single mobile robot is constructed, including dense point cloud data and corresponding location information, providing reliable data support for navigation and path planning.

5. A multi-mobile robot visual SLAM method based on deep learning according to claim 1, characterized in that: The fourth step of map uploading, map fusion, and complete map construction includes the following specific steps: Each mobile robot uploads the complete map data (including dense point cloud and location information) it constructs to the server. The server receives the map data uploaded by multiple mobile robots and performs unified storage and processing. Use the Robust ICP (Iterative Closest Point) algorithm for map fusion. Perform initial registration on the uploaded map based on the relative position of the mobile robot, and introduce a robust processing mechanism (such as the weighted iterative method) for multiple iterative optimizations to reduce the registration error and ensure accurate map fusion. After fusion processing, the server generates a complete and accurate environmental map. The complete map includes the fusion results of local maps constructed by multiple mobile robots. It has high precision and high consistency and can be used in application scenarios such as multi-mobile robot collaborative navigation, path planning and task execution.

Citation Information

Patent Citations

  • Visual SLAM method and system for indoor dynamic scene based on deep learning

    CN115393538A

  • Visual SLAM method based on deep learning in dynamic environment

    CN116563340A

  • Visual slam method applicable to indoor dynamic environment

    WO2022041596A1

Cited By

  • Dynamic environment dense point cloud SLAM method and system based on YOLOv11 and ORB-SLAM3

    CN119540942A