Robot positioning mapping method based on SLAM and infrared imaging technology
By combining SLAM and infrared imaging technology, using lidar and infrared cameras, the accuracy of robot navigation in low-light environments and obstacle recognition in complex environments are achieved, solving the problem of poor navigation in low-light environments with traditional SLAM technology. problem, improving the robot's positioning and mapping capabilities in complex environments.
Patent Information
- Application Number
- CN202410474130.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional vision-based SLAM technology does not work well in low-light environments, making it difficult to achieve accurate navigation in complex structures and irregular terrains, especially in key facilities with changing lighting conditions such as power stations.
A robot positioning mapping method based on SLAM and infrared imaging technology is used to collect data through lidar, combine with SLAM technology for robot posture estimation and map construction, and use infrared cameras to capture thermal images to achieve data fusion and precise positioning.
It improves the robot's navigation accuracy in complex environments, can identify and avoid obstacles, and accurately measure object distances, and enhances positioning and mapping capabilities in low-light environments.
Smart Images

Figure CN118548870A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of robot positioning, and in particular to a robot positioning mapping method based on SLAM and infrared imaging technology. Background Art
[0002] With the increasing degree of industrial automation, robots are playing an increasingly important role in performing complex tasks such as facility maintenance and inspection. In critical facilities such as power stations, robots need to accurately navigate and map in low-light environments. Traditional robot navigation systems, such as vision-based SLAM (Simultaneous Localization and Mapping) technology, do not work well in low-light conditions because they rely on sufficient light to capture and analyze environmental images.
[0003] Vision limitations in low-light environments: Traditional vision-based SLAM technologies do not work well in low-light environments because they are highly dependent on the lighting conditions of the environment to capture and process images. In critical facilities such as power stations, lighting conditions often change and are usually dim, which poses a major challenge to the robot's vision system.
[0004] Navigation challenges in complex environments: In addition to lighting issues, robots must also navigate in complex environments, such as narrow passages, multi-layer equipment arrangements, and irregular terrain. This requires the navigation system to understand and adapt to the changing physical environment. Summary of the invention
[0005] In view of the above-mentioned problems, the present invention is proposed.
[0006] Therefore, the present invention provides a robot positioning and mapping method based on SLAM and infrared imaging technology, which collects environmental data through sensors on the robot and creates or updates the environmental map in real time. It can simultaneously perform positioning and mapping during the movement of the robot, thereby improving the accuracy of navigation; the infrared camera can capture thermal images in low-light environments, so that the robot can identify and avoid obstacles, and accurately measure the distance to objects.
[0007] To solve the above technical problems, the present invention provides the following technical solutions: a robot positioning and mapping method based on SLAM and infrared imaging technology, comprising the following steps:
[0008] Use laser radar to complete data collection and process the collected data;
[0009] Use SALM technology to complete robot posture estimation and map construction;
[0010] Implement data fusion and mapping for the processed data;
[0011] Based on mapping positioning technology, the robot can achieve precise positioning and navigation.
[0012] As a preferred solution of the robot positioning and mapping method based on SLAM and infrared imaging technology described in the present invention, wherein: the data processing of the collected data is to perform mathematical processing on the collected data so as to provide an accurate data basis for subsequent positioning, including data feature extraction and data filtering and optimization;
[0013] The data feature extraction is to extract data feature points from the collected point cloud data set and separate the data feature points to reduce the influence of noise and irrelevant data. The data feature points include corner points, edges and planes. The data feature extraction is to select a group of random points, calculate the distance from the data point to the fitting model through the fitting model, and distinguish the data feature points from the non-data feature points according to the set distance threshold. The specific implementation process is as follows:
[0014] Select a set of random points (x i ,y i ,z i ), calculate the distance from the data point to the fitted model,
[0015] When the fitting simulation is a straight line model ax+by+c=0, the distance calculation formula is as follows:
[0016]
[0017] When the fitting simulation is a plane model ax+by+cz+d=0, the distance calculation formula is as follows:
[0018]
[0019] Among them, (x i ,y i ,z i ) represents the selected random point, (a, b, c) represents the parameters of the fitting model, d1 and d2 represent the distance from the point to the fitting model;
[0020] According to the set distance threshold d α Complete the selection of data feature points, as follows:
[0021] When the calculated distance satisfies the formula (d1≤d α )∪(d2≤d α ), it indicates the selection of data feature points, and the data points that meet the formula are the selected data feature points;
[0022] When the calculated distance cannot satisfy the formula (d1≤d α )∪(d2≤d α), it means that the selection does not meet the data feature point, and the currently selected data point is noise and is deleted.
[0023] As a preferred solution of the robot positioning mapping method based on SLAM and infrared imaging technology described in the present invention, wherein: the data filtering and optimization is to reduce the measurement noise by filtering and optimizing the data, including data filtering and data optimization;
[0024] The data filtering is to process the extracted feature points through Gaussian filtering, thereby reducing the noise generated during measurement. The Gaussian filtering is to use the Gaussian kernel function to reduce the spatial dimension of the position coordinates of the feature points, so as to reduce the amount of data while maintaining the accuracy of the feature points. The specific implementation formula is as follows:
[0025]
[0026] Among them, σ represents the standard deviation of the Gaussian distribution, which is used to control the smoothness of the filter, and (x, y, z) represents the coordinates of the feature point;
[0027] The data optimization is completed by voxelization, which is to divide the point cloud data space into cubic voxels and average the point cloud data in each voxel, so as to reduce the amount of data and smooth the data, and improve the data processing efficiency and quality, as follows:
[0028] The continuous point cloud data space is divided into cubic voxels of fixed size, and the average position and reflection intensity in each voxel are calculated. The specific calculation formula is as follows:
[0029]
[0030]
[0031] Among them, P i represents the position coordinates of the i-th point in the voxel, N represents the total number of points in the voxel, and I i represents the reflection intensity of the i-th point in the voxel, P represents the calculated average position, and I represents the calculated average reflection intensity.
[0032] As a preferred solution of the robot positioning and mapping method based on SLAM and infrared imaging technology described in the present invention, wherein: the use of SALM technology to complete robot posture estimation and map construction is to complete robot posture estimation and three-dimensional map construction through an iterative closest point algorithm, and the completion of robot posture estimation through an iterative closest point algorithm is to iteratively optimize the correspondence between two point cloud data to minimize the distance between the two point cloud data, thereby obtaining the relative posture transformation between the two point cloud data, and then realizing the posture estimation of the robot, which is specifically implemented as follows:
[0033] Match the point cloud data at the current moment with the point cloud data at the previous moment, and calculate the corresponding relationship between the two, as follows:
[0034] d(p i ,p i-1 )=||p i -p i-1 ||
[0035] Among them, p i Represents the point cloud data at the current moment, p i-1 Represents the point cloud data of the previous moment;
[0036] According to the correspondence between the calculated point cloud data, relative posture transformation is performed. The specific transformation formula is as follows:
[0037]
[0038] Where T represents the transformation matrix, p i Represents the data points in the point cloud data, m i Represents corresponding points in the map.
[0039] As a preferred solution of the robot positioning mapping method based on SLAM and infrared imaging technology described in the present invention, the construction of the three-dimensional map is to introduce a weight factor representing the reflection intensity of the point cloud data, merge the new point cloud data with the existing map data, and then complete the update and optimization of the map. The specific implementation formula is as follows:
[0040]
[0041] I i =ρ i ·w i +b
[0042] Among them, w represents the introduced weight factor, which is used to reflect the reflection intensity of the point cloud data, ρ represents the density of the point cloud data in the voxel space, b represents the bias term of the correlation between the weight factor and the reflection intensity of the point cloud data, T represents the transformation matrix, and p iRepresents the data points in the point cloud data, m i Represents corresponding points in the map.
[0043] As a preferred solution of the robot positioning and mapping method based on SLAM and infrared imaging technology described in the present invention, wherein: the data fusion and mapping of the processed data is to fuse the processed data with the collected infrared imaging data in different scenes, providing the robot with comprehensive environmental perception capabilities, including data fusion in industrial scenes and data fusion in indoor operation scenes. The data fusion in the industrial scene is to convert each heat source in the infrared imaging data and fuse the converted data into three-dimensional map coordinates, as follows:
[0044] For each heat source (x ir ,y ir ,T ir ), using the infrared camera internal parameter matrix K and depth information d to calculate the heat source (x ir ,y ir ,T ir ) is converted into coordinates in a three-dimensional coordinate system as follows:
[0045]
[0046] Among them, (x i ,y i ,z i ) represents the converted three-dimensional coordinates, K represents the intrinsic parameter matrix of the camera, and d represents the depth information of the camera;
[0047] The nearest neighbor search algorithm is used to determine the corresponding position of each heat source in the constructed map. The Euclidean distance between two data points in the voxel space is calculated to complete the determination of the nearest neighbor point. The specific implementation formula is as follows:
[0048]
[0049] Among them, (x i ′,y i ′,z i ′) represents the coordinates of the nearest neighbor point finally determined, (x ir ,y ir ,T ir ) represents the coordinates of the current heat source in the three-dimensional map, d min It represents the minimum distance between two data points. By calculating the distance between multiple data points and the target data point, the nearest neighbor point is determined based on the minimum distance.
[0050] Finally, the fused data points are generated as (x i ′,yi ′,z i ′,T i ), indicating that the current infrared imaging data point is fused to the map data, and the data fusion in the industrial scenario is completed.
[0051] As a preferred solution of the robot positioning mapping method based on SLAM and infrared imaging technology described in the present invention, wherein: the precise positioning and navigation of the robot based on the mapping positioning technology is achieved by tracking infrared imaging data to achieve precise positioning of the robot, including the detection of abnormal heat sources and the tracking of dynamic heat sources; the detection of abnormal heat sources is to classify the infrared data using a support vector machine, and then complete the detection of abnormal heat sources, and the classification of infrared data using a support vector machine is to extract feature vectors [T max ,T avg ,A,x c ,y c ], input into the support vector machine for training, the specific formula is as follows:
[0052]
[0053] Among them, K(x i ,x) represents the training kernel function of the support vector machine, which is used to map the input data into a high-dimensional space in order to more accurately detect abnormal heat sources. i , b represents the training parameters, and the degree of training is controlled by adjusting the numerical value of the parameters, T max , T avg They represent the highest and lowest temperatures of the heat source data, respectively. A represents the heat source area of the heat source data. (x c ,y c ) represents the geometric center coordinates of the heat source data in the high-dimensional space, x represents the standard data, f(x) represents the calculation result of the input data and the standard data, and the abnormal heat source detection is completed according to the calculation result;
[0054] The detection of abnormal heat sources is completed by mapping the input data into a high-dimensional space, and using a support vector machine to calculate the similarity between the input data and the standard data. When the output result of the support vector machine is within the allowable error range of the standard data, the current input data is not an abnormal heat source. If it is within the allowable error range of the standard data, it indicates that the current input data is an abnormal heat source, and the abnormal heat source is located based on the geometric center coordinates of the input data.
[0055] Another object of the present invention is to provide a robot positioning and mapping system based on SLAM and infrared imaging technology, which can improve the robot's positioning and mapping capabilities in complex environments by integrating SLAM technology and infrared imaging data.
[0056] As a preferred solution of the robot positioning and mapping system based on SLAM and infrared imaging technology described in the present invention, it includes: a data acquisition and processing module, a SLAM module, a data fusion module, and a robot positioning module; the data acquisition and processing module is used to realize data collection and data preprocessing; the SLAM module is used to complete robot posture estimation and map construction using SLAM technology; the data fusion module is used to fuse infrared imaging data with processed point cloud data; the robot positioning module is used to realize precise positioning of the robot using mapping technology.
[0057] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, steps of a robot positioning and mapping method based on SLAM and infrared imaging technology are implemented.
[0058] A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of a robot positioning and mapping method based on SLAM and infrared imaging technology are implemented.
[0059] Beneficial effects of the present invention: The present invention collects environmental data through sensors on the robot and creates or updates the environmental map in real time. It can simultaneously perform positioning and mapping during the movement of the robot, thereby improving the accuracy of navigation; the infrared camera can capture thermal images in low-light environments, so that the robot can identify and avoid obstacles while accurately measuring the distance to objects; by integrating SLAM technology and infrared imaging data, the robot's positioning and mapping capabilities in complex environments can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0061] Figure 1 The present invention is a schematic diagram of the overall method steps of a robot positioning and mapping method based on SLAM and infrared imaging technology.
[0062] Figure 2 The figure is a schematic diagram of the overall structure of a robot positioning and mapping system based on SLAM and infrared imaging technology according to the present invention. DETAILED DESCRIPTION
[0063] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0064] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0065] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0066] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0067] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0068] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0069] Example 1
[0070] Reference Figure 1, which is the first embodiment of the present invention, provides a robot positioning and mapping method based on SLAM and infrared imaging technology, comprising the following steps:
[0071] S1: Use LiDAR to complete data collection and process the collected data.
[0072] Specifically, the data collection using laser radar is to use laser radar to scan the environment and generate an initial point cloud data set. The environmental scanning using laser radar is to collect environmental data of surrounding objects by emitting reflected signals. The environmental data of surrounding objects includes the angle θ between the laser radar and the object, the straight-line distance d between the laser radar and the object, and the reflected signal intensity l. The generated initial point cloud data set is a set consisting of the coordinate positions ([x, y, z]) of different time nodes and the reflected signal intensity l, as follows:
[0073] Z = [x i ,y i ,z i ,I i ]
[0074] Among them, i represents the data points at different time nodes, I represents the reflection signal intensity, and (x, y, z) represents the position coordinates of the point collected by the lidar in the current environment.
[0075] Furthermore, the data processing of the collected data is to perform mathematical processing on the collected data so as to provide an accurate data basis for subsequent positioning, including data feature extraction and data filtering and optimization;
[0076] The data feature extraction is to extract data feature points from the collected point cloud data set and separate the data feature points to reduce the influence of noise and irrelevant data. The data feature points include corner points, edges and planes. The data feature extraction is to select a group of random points, calculate the distance from the data point to the fitting model through the fitting model, and distinguish the data feature points from the non-data feature points according to the set distance threshold. The specific implementation process is as follows:
[0077] Select a set of random points (x i ,y i ,z i ), calculate the distance from the data point to the fitted model,
[0078] When the fitting simulation is a straight line model ax+by+c=0, the distance calculation formula is as follows:
[0079]
[0080] When the fitting simulation is a plane model ax+by+cz+d=0, the distance calculation formula is as follows:
[0081]
[0082] Among them, (x i ,y i ,z i ) represents the selected random point, (a, b, c) represents the parameters of the fitting model, d1 and d2 represent the distance from the point to the fitting model;
[0083] According to the set distance threshold d α Complete the selection of data feature points, as follows:
[0084] When the calculated distance satisfies the formula (d1≤d α )∪(d2≤d α ), it indicates the selection of data feature points, and the data points that meet the formula are the selected data feature points;
[0085] When the calculated distance cannot satisfy the formula (d1≤d α )∪(d2≤d α ), it means that the selection does not meet the data feature point, and the currently selected data point is noise and is deleted.
[0086] It should be noted that the set distance threshold d α It is related to the robot's working environment. By using infrared imaging technology to collect the robot's actual working environment, the distance threshold d is set. α ,When the robot works in a complex environment, the set distance threshold is smaller than the average value of the ,conventional working environment. When the robot works in a single environment, the set distance threshold is larger than the average value of ,the conventional working environment.
[0087] Furthermore, the data filtering and optimization is to reduce the measurement noise by filtering and optimizing the data, including data filtering and data optimization;
[0088] The data filtering is to process the extracted feature points through Gaussian filtering, thereby reducing the noise generated during measurement. The Gaussian filtering is to use the Gaussian kernel function to reduce the spatial dimension of the position coordinates of the feature points, so as to reduce the amount of data while maintaining the accuracy of the feature points. The specific implementation formula is as follows:
[0089]
[0090] Among them, σ represents the standard deviation of the Gaussian distribution, which is used to control the smoothness of the filter, and (x, y, z) represents the coordinates of the feature point;
[0091] The data optimization is completed by voxelization, which is to divide the point cloud data space into cubic voxels and average the point cloud data in each voxel, so as to reduce the amount of data and smooth the data, and improve the data processing efficiency and quality, as follows:
[0092] The continuous point cloud data space is divided into cubic voxels of fixed size, and the average position and reflection intensity in each voxel are calculated. The specific calculation formula is as follows:
[0093]
[0094]
[0095] Among them, P i represents the position coordinates of the i-th point in the voxel, N represents the total number of points in the voxel, and I i represents the reflection intensity of the i-th point in the voxel, P represents the calculated average position, and I represents the calculated average reflection intensity;
[0096] For the point cloud data in each voxel space, if the calculated average position and average reflection intensity can reflect the point cloud data characteristics of the current voxel space, it means that the data optimization is completed.
[0097] S2: Use SALM technology to complete robot posture estimation and map construction.
[0098] Specifically, the use of SALM technology to complete robot posture estimation and map construction is to complete robot posture estimation and three-dimensional map construction through an iterative closest point algorithm.
[0099] Furthermore, the robot posture estimation is completed by iterative closest point algorithm by iteratively optimizing the correspondence between two point cloud data to minimize the distance between the two point cloud data, thereby obtaining the relative posture transformation between the two point cloud data, and then realizing the posture estimation of the robot. The specific implementation is as follows:
[0100] Match the point cloud data at the current moment with the point cloud data at the previous moment, and calculate the corresponding relationship between the two, as follows:
[0101] d(p i ,p i-1 )=||p i -p i-1 ||
[0102] Among them, p i Represents the point cloud data at the current moment, p i-1 Represents the point cloud data of the previous moment;
[0103] According to the correspondence between the calculated point cloud data, relative posture transformation is performed. The specific transformation formula is as follows:
[0104]
[0105] Where T represents the transformation matrix, p i Represents the data points in the point cloud data, m i Represents corresponding points in the map;
[0106] Furthermore, the three-dimensional map is constructed by introducing a weight factor representing the reflection intensity of the point cloud data, fusing the new point cloud data with the existing map data, and then completing the update and optimization of the map. The specific implementation formula is as follows:
[0107]
[0108] I i =ρ i ·w i +b
[0109] Among them, w represents the introduced weight factor, which is used to reflect the reflection intensity of the point cloud data, ρ represents the density of the point cloud data in the voxel space, b represents the bias term of the correlation between the weight factor and the reflection intensity of the point cloud data, T represents the transformation matrix, and p i Represents the data points in the point cloud data, m i Represents corresponding points in the map;
[0110] It should be noted that before constructing a three-dimensional map, the collected infrared imaging data is first converted into a unified data format of point cloud data, and the converted infrared data is combined with the constructed three-dimensional map data to form a comprehensive environmental model containing space, structure and temperature information. The conversion of the collected infrared imaging data into a unified data format of point cloud data is to convert each infrared imaging data into point cloud data containing temperature information. The specific format is as follows:
[0111] Z′=[x i ′,y i ′,z i ′,T i ]
[0112] Among them, (x i ′,y i ′,z i ′) represents the coordinates in space, T i Indicates the corresponding temperature information, representing the temperature value of each point, which is used to identify heat sources and environmental monitoring.
[0113] S3: Implement data fusion and mapping for the processed data.
[0114] Specifically, the data fusion and mapping of the processed data is to fuse the processed data with the collected infrared imaging data in different scenarios to provide the robot with comprehensive environmental perception capabilities, including data fusion in industrial scenarios and data fusion in indoor operation scenarios.
[0115] Furthermore, the data fusion in the industrial scenario is to convert each heat source in the infrared imaging data and fuse the converted data into three-dimensional map coordinates, as follows:
[0116] For each heat source (x ir ,y ir ,T ir ), using the infrared camera internal parameter matrix K and depth information d to calculate the heat source (x ir ,y ir ,T ir ) is converted into coordinates in a three-dimensional coordinate system as follows:
[0117]
[0118] Among them, (x i ,y i ,z i ) represents the converted three-dimensional coordinates, K represents the intrinsic parameter matrix of the camera, and d represents the depth information of the camera;
[0119] The nearest neighbor search algorithm is used to determine the corresponding position of each heat source in the constructed map. The Euclidean distance between two data points in the voxel space is calculated to complete the determination of the nearest neighbor point. The specific implementation formula is as follows:
[0120]
[0121] Among them, (x i ′,y i ′,z i ′) represents the coordinates of the nearest neighbor point finally determined, (x ir ,y ir ,T ir ) represents the coordinates of the current heat source in the three-dimensional map, d min It represents the minimum distance between two data points. By calculating the distance between multiple data points and the target data point, the nearest neighbor point is determined based on the minimum distance.
[0122] Finally, the fused data points are generated as (x i ′,y i ′,z i ′,T i ), indicating that the current infrared imaging data point is fused to the map data, and the data fusion in the industrial scenario is completed.
[0123] It should be noted that the data fusion in the indoor operation scene is to track each moving heat source through an infrared camera, and map the tracked heat source to the three-dimensional space coordinates of the point cloud data, and finally fuse the heat source data points with speed information into the map data, which is (x i ′,y i ′,z i ′,V i ), V i It indicates the movement speed of the heat source in the infrared imaging data, and the update of the map data indicates that the data fusion in the internal operation scene is completed.
[0124] S4: Realize precise positioning and navigation of robots based on mapping positioning technology.
[0125] Specifically, the mapping positioning technology is used to achieve precise positioning and navigation of the robot by tracking infrared imaging data, including detection of abnormal heat sources and tracking of dynamic heat sources;
[0126] Furthermore, the detection of abnormal heat source is to classify infrared data using support vector machine, thereby completing the detection of abnormal heat source. The classification of infrared data using support vector machine is to extract feature vectors [T max ,T avg ,A,x c ,y c ], input into the support vector machine for training, the specific formula is as follows:
[0127]
[0128] Among them, K(x i ,x) represents the training kernel function of the support vector machine, which is used to map the input data into a high-dimensional space in order to more accurately detect abnormal heat sources. i , b represents the training parameters, and the degree of training is controlled by adjusting the numerical value of the parameters, T max , T avg They represent the highest and lowest temperatures of the heat source data, respectively. A represents the heat source area of the heat source data. (x c ,y c ) represents the geometric center coordinates of the heat source data in the high-dimensional space, x represents the standard data, f(x) represents the calculation result of the input data and the standard data, and the abnormal heat source detection is completed according to the calculation result;
[0129] It should be noted that the detection of abnormal heat sources is completed by mapping the input data into a high-dimensional space, and using a support vector machine to calculate the similarity between the input data and the standard data. When the output result of the support vector machine is within the allowable error range of the standard data, the current input data is not an abnormal heat source. If it does not meet the allowable error range of the standard data, it means that the current input data is an abnormal heat source, and the abnormal heat source is located based on the geometric center coordinates of the input data.
[0130] Furthermore, the tracking of the dynamic heat source is to calculate the movement of the heat source between consecutive frames using the optical flow method, and predict the future position of the heat source based on the Kalman filter. The calculation of the movement of the heat source between consecutive frames using the optical flow method is to calculate the gray value of the heat source data in adjacent frames, and then calculate the movement distance of the heat source. The specific implementation formula is as follows:
[0131]
[0132]
[0133] Among them, V t represents the velocity vector of the heat source at time t, represents the gradient of infrared imaging data, Indicates the rate of change of infrared imaging data over time, I x ,I y They represent the gradients of the heat source data in the x and y directions, respectively, and u and v represent the displacements of the heat source data in the x and y directions, respectively;
[0134] The prediction of the future position of the heat source according to the Kalman filter is to complete the tracking of the dynamic heat source by updating the state of the heat source data in real time. The specific implementation formula is as follows:
[0135] X t+1 =FX t +BU t +W
[0136] Among them, X t represents the current position state of the heat source data at time t, F represents the state transfer matrix of the heat source data, B represents the control matrix, and U t represents the control vector, and W represents the noise influencing factor in the process of position prediction;
[0137] It should be noted that before tracking the dynamic heat source, each heat source data is first converted into [x t ,y t ,z t ,V x ,V y ,V z ], where xt ,y t 、z t Respectively represent the coordinate data of the heat source data in space, V x 、V y 、V z They respectively represent the components of the moving speed of the heat source data in three-dimensional space.
[0138] Example 2
[0139] Reference Figure 2 , which is a second embodiment of the present invention, provides a robot positioning and mapping system based on SLAM and infrared imaging technology, including a data acquisition and processing module, a SLAM module, a data fusion module, and a robot positioning module;
[0140] Specifically, the data acquisition and processing module is used to realize data collection and data preprocessing; the SLAM module is used to complete robot posture estimation and map construction using SLAM technology; the data fusion module is used to fuse infrared imaging data with processed point cloud data; the robot positioning module is used to realize precise positioning of the robot using mapping technology.
[0141] Furthermore, the data acquisition and processing module realizes data collection and preprocessing, provides an accurate data basis for subsequent SLAM technology and data fusion, uses laser radar and infrared imaging technology to complete the collection of environmental data, and removes noise from the data, performs data calibration and coordinate conversion and other preprocessing operations to ensure the accuracy and consistency of the data;
[0142] The SLAM module uses SLAM technology to complete robot posture estimation and map construction, providing basic support for robot positioning and navigation, and estimates the robot's posture changes based on continuous point cloud data through methods such as iterative closest point algorithm, and finally constructs a three-dimensional map of the environment based on the results of posture estimation;
[0143] The data fusion module is to enhance the robot's ability to perceive the environment by fusing the infrared imaging data with the processed point cloud data, convert the heat source in the infrared imaging data into three-dimensional coordinates, and align them with the point cloud data. By fusing the infrared imaging data and the point cloud data in a three-dimensional map, the information of the two data is comprehensively considered to improve the integrity and accuracy of the map;
[0144] The robot positioning module uses mapping technology to achieve precise positioning of the robot, provides accurate positioning information for the robot's navigation and path planning, and based on the constructed three-dimensional map, adopts a map-based particle filter positioning method to achieve precise positioning of the robot. According to the robot's motion state and environmental changes, the robot's position information is continuously updated to ensure the accuracy and stability of positioning.
[0145] It should be noted that the various modules in the system are closely linked. The data acquisition and processing module provides an accurate data basis. The SLAM module uses this data for posture estimation and map construction. The data fusion module fuses information from different data sources. Finally, the robot positioning module uses map information to achieve precise positioning and complete the robot's positioning and navigation tasks.
[0146] Furthermore, if the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0147] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0148] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0149] Additionally, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment (ie, those features that are not relevant to the best mode presently contemplated for carrying out the invention or those that are not relevant to implementing the invention) may not be described.
[0150] It will be appreciated that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but will be a routine task of design, fabrication, and production for those of ordinary skill having the benefit of this disclosure without undue experimentation.
[0151] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A robot positioning and mapping method based on SLAM and infrared imaging technology, characterized in that: The following steps are included: Use laser radar to complete data collection and process the collected data; Use SALM technology to complete robot posture estimation and map construction; Implement data fusion and mapping for the processed data; Based on mapping positioning technology, the robot can achieve precise positioning and navigation.
2. A robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in claim 1, characterized in that: The data processing of the collected data is to perform mathematical processing on the collected data so as to provide an accurate data basis for subsequent positioning, including data feature extraction and data filtering and optimization; The data feature extraction is to extract data feature points from the collected point cloud data set and separate the data feature points to reduce the influence of noise and irrelevant data. The data feature points include corner points, edges and planes. The data feature extraction is to select a group of random points, calculate the distance from the data point to the fitting model through the fitting model, and distinguish the data feature points from the non-data feature points according to the set distance threshold. The specific implementation process is as follows: Select a set of random points (x i ,y i ,z i ), calculate the distance from the data point to the fitted model, When the fitting simulation is a straight line model ax+by+c=0, the distance calculation formula is as follows: When the fitting simulation is a plane model ax+by+cz+d=0, the distance calculation formula is as follows: Among them, (x i ,y i ,z i ) represents the selected random point, (a, b, c) represents the parameters of the fitting model, d1 and d2 represent the distance from the point to the fitting model; According to the set distance threshold d α Complete the selection of data feature points, as follows: When the calculated distance satisfies the formula (d1≤d α )∪(d2≤d α ), it indicates the selection of data feature points, and the data points that meet the formula are the selected data feature points; When the calculated distance cannot satisfy the formula (d1≤d α )∪(d2≤d α ), it means that the selection does not meet the data feature point, and the currently selected data point is noise and is deleted.
3. A robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in claim 2, characterized in that: The data filtering and optimization is to reduce the measurement noise by filtering and optimizing the data, including data filtering and data optimization; The data filtering is to process the extracted feature points through Gaussian filtering, thereby reducing the noise generated during measurement. The Gaussian filtering is to use the Gaussian kernel function to reduce the spatial dimension of the position coordinates of the feature points, so as to reduce the amount of data while maintaining the accuracy of the feature points. The specific implementation formula is as follows: Among them, σ represents the standard deviation of the Gaussian distribution, which is used to control the smoothness of the filter, and (x, y, z) represents the coordinates of the feature point; The data optimization is completed by voxelization, which is to divide the point cloud data space into cubic voxels and average the point cloud data in each voxel, so as to reduce the amount of data and smooth the data, and improve the data processing efficiency and quality, as follows: The continuous point cloud data space is divided into cubic voxels of fixed size, and the average position and reflection intensity in each voxel are calculated. The specific calculation formula is as follows: Among them, P i represents the position coordinates of the i-th point in the voxel, N represents the total number of points in the voxel, and I i represents the reflection intensity of the i-th point in the voxel, P represents the calculated average position, and I represents the calculated average reflection intensity.
4. A robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in claim 3, characterized in that: The SALM technology is used to complete the robot posture estimation and map construction by iterative closest point algorithm to complete the robot posture estimation and three-dimensional map construction. The iterative closest point algorithm is used to complete the robot posture estimation by iteratively optimizing the correspondence between two point cloud data to minimize the distance between the two point cloud data, thereby obtaining the relative posture transformation between the two point cloud data, and then realizing the robot posture estimation. The specific implementation is as follows: Match the point cloud data at the current moment with the point cloud data at the previous moment, and calculate the corresponding relationship between the two, as follows: d(p i ,p i-1 )=||p i -p i-1 || Among them, p i Represents the point cloud data at the current moment, p i-1 Represents the point cloud data of the previous moment; According to the correspondence between the calculated point cloud data, relative posture transformation is performed. The specific transformation formula is as follows: Where T represents the transformation matrix, p i Represents the data points in the point cloud data, m i Represents corresponding points in the map.
5. A robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in claim 4, characterized in that: The three-dimensional map is constructed by introducing a weight factor representing the reflection intensity of the point cloud data, fusing the new point cloud data with the existing map data, and then completing the update and optimization of the map. The specific implementation formula is as follows: I i =ρ i ·w i +b Among them, w represents the introduced weight factor, which is used to reflect the reflection intensity of the point cloud data, ρ represents the density of the point cloud data in the voxel space, b represents the bias term of the correlation between the weight factor and the reflection intensity of the point cloud data, T represents the transformation matrix, and p i Represents the data points in the point cloud data, m i Represents corresponding points in the map.
6. A robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in claim 5, characterized in that: The data fusion and mapping of the processed data is to fuse the processed data with the collected infrared imaging data in different scenarios to provide the robot with comprehensive environmental perception capabilities, including data fusion in industrial scenarios and data fusion in indoor operation scenarios. The data fusion in the industrial scenario is to convert each heat source in the infrared imaging data and fuse the converted data into three-dimensional map coordinates, as follows: For each heat source (x ir ,y ir ,T ir ), using the infrared camera internal parameter matrix K and depth information d to calculate the heat source (x ir ,y ir ,T ir ) is converted into coordinates in a three-dimensional coordinate system as follows: Among them, (x i ,y i ,z i ) represents the converted three-dimensional coordinates, K represents the intrinsic parameter matrix of the camera, and d represents the depth information of the camera; The nearest neighbor search algorithm is used to determine the corresponding position of each heat source in the constructed map. The Euclidean distance between two data points in the voxel space is calculated to complete the determination of the nearest neighbor point. The specific implementation formula is as follows: Among them, (x′ i ,y′ i ,z′ i ) represents the coordinates of the nearest neighbor point finally determined, (x ir ,y ir ,T ir ) represents the coordinates of the current heat source in the three-dimensional map, d min It represents the minimum distance between two data points. By calculating the distance between multiple data points and the target data point, the nearest neighbor point is determined based on the minimum distance. Finally, the fused data point is generated as (x′ i ,y′ i ,z′ i ,T i ), indicating that the current infrared imaging data point is fused to the map data, and the data fusion in the industrial scenario is completed.
7. A robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in claim 6, characterized in that: The robot is accurately positioned and navigated based on the mapping positioning technology by tracking infrared imaging data, including abnormal heat source detection and dynamic heat source tracking; the abnormal heat source detection is to classify the infrared data using a support vector machine, and then complete the abnormal heat source detection; the infrared data classification using a support vector machine is to extract the feature vector [T max ,T avg ,A,x c ,y c ], input into the support vector machine for training, the specific formula is as follows: Among them, K(x i ,x) represents the training kernel function of the support vector machine, which is used to map the input data into a high-dimensional space in order to more accurately detect abnormal heat sources. i , b represents the training parameters, and the degree of training is controlled by adjusting the numerical value of the parameters, T max , T avg They represent the highest and lowest temperatures of the heat source data, respectively. A represents the heat source area of the heat source data. (x c ,y c ) represents the geometric center coordinates of the heat source data in the high-dimensional space, x represents the standard data, f(x) represents the calculation result of the input data and the standard data, and the abnormal heat source detection is completed according to the calculation result; The detection of abnormal heat sources is completed by mapping the input data into a high-dimensional space, and using a support vector machine to calculate the similarity between the input data and the standard data. When the output result of the support vector machine is within the allowable error range of the standard data, the current input data is not an abnormal heat source. If it is within the allowable error range of the standard data, it indicates that the current input data is an abnormal heat source, and the abnormal heat source is located based on the geometric center coordinates of the input data.
8. A system using the robot positioning and mapping method based on SLAM and infrared imaging technology as claimed in any one of claims 1 to 7, characterized in that: Including data acquisition and processing module, SLAM module, data fusion module, robot positioning module; The data acquisition and processing module is used to realize data collection and data preprocessing; The SLAM module is used to complete robot posture estimation and map construction using SLAM technology; The data fusion module is used to fuse the infrared imaging data with the processed point cloud data; The robot positioning module is used to realize accurate positioning of the robot by utilizing mapping technology.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Warehousing feature learning method and system based on laser SLAM
CN119672548A
