A method for reconstructing carbon dioxide concentration field in unknown areas
By combining TDLAS and SLAM technology, the carbon dioxide concentration field reconstruction in the unknown area is achieved, which solves the detection difficulties of traditional methods in the presence of large areas and obstacles. Using a mobile platform and an improved projection coefficient calculation method, an efficient Gas concentration distribution reconstruction.
Patent Information
- Application Number
- CN202410888128.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing TDLAS technology has limitations in the reconstruction of gas concentration fields in unknown spaces, especially in large areas and areas with random obstacles, making it difficult to achieve effective detection and reconstruction.
Combining TDLAS and SLAM technology, the unknown area is scanned through the mobile platform, and the SLAM algorithm is used to generate a raster map and obtain the emission starting point and angle of the laser data. The projection coefficient calculation method is improved to realize the calculation of the laser projection coefficient for any contour and obstacle area. The iterative operation obtains the two-dimensional concentration distribution map of carbon dioxide.
It achieves the reconstruction of a large-scale carbon dioxide concentration field in an unknown area using a small number of simple devices, can effectively detect and reconstruct the gas concentration distribution in the unknown space, and improves the accuracy and flexibility of reconstruction.
Smart Images

Figure CN118425097B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of gas concentration detection, and in particular relates to a method for reconstructing a carbon dioxide concentration field in an unknown area. Background Art
[0002] The present invention is based on TDLAS gas detection technology and SLAM technology, which are deeply integrated. TDLAS (Tunable Diode Laser Absorption Spectroscopy) is tunable semiconductor laser absorption spectroscopy technology. This technology is an effective CO2 concentration detection technology. It inverts gas concentration by detecting the intensity of characteristic absorption lines of gas. It is widely used in the field of gas component concentration detection due to its advantages of non-contact, high sensitivity, high precision, high selectivity, rapid measurement, and no need for preprocessing. In recent years, gas concentration field detection technology based on TDLAS has developed rapidly at home and abroad. Its principle is to use the TDLAS gas detection system to obtain spectral data on the laser line, and then combine computed tomography (CT) technology to reconstruct the concentration field distribution map. At present, TDLAS technology is used for research and application of gas concentration field reconstruction, and the algebraic iteration method (ART) in CT technology is mostly used. The ART algorithm mainly includes the discretization of the detection area, the calculation of the laser projection coefficient, and the final iterative operation. When using the ART algorithm, it is necessary to grid discretize the reconstruction area in advance, such as Figure 1 As shown in the figure, taking a common square area as an example, the reconstruction area is divided into n×n grids of the same size. It is assumed that the gas concentration in each grid is single and uniform, and there are M laser rays passing through the area from different directions. Different rays will leave projections in different grids. The ART algorithm needs to calculate the projection length of each laser and finally form a matrix for iterative calculations.
[0003] SLAM, or Simultaneous Localization and Mapping, is a robotics technology that aims at real-time positioning and mapping. SLAM technology is now widely used in unmanned driving, robotics, VR / AR and other fields. The current mainstream SLAM technology applications are divided into laser SLAM (based on laser radar) and visual SLAM (based on single / binocular cameras). The implementation is mainly divided into filter-based SLAM and graph-based SLAM. There are many algorithms in the field of laser SLAM, such as gmapping, hector, karto, Cartographer, etc.
[0004] At present, there is no research combining TDLAS technology with SLAM technology, and the gas concentration field reconstruction technology based on TDLAS is mainly used in combustion flow field diagnosis. For example, Zang Yipeng built 16 pairs of fixed TDLAS laser transceivers in the article "Reconstruction of combustion field temperature and gas concentration two-dimensional distribution based on hyperspectral tomography technology" and reconstructed the cross-sectional water vapor concentration field distribution of circular and rectangular flat flame furnaces, where the inner diameter of the circular flat flame furnace is 62mm, and the rectangular flat flame furnace is 78mm long and 36mm wide. In addition, Wang Yang et al. established a simulation model of the cross section of the economy class of the Boeing B737-700 passenger aircraft in the article "Imaging of gas pollutant distribution in the aircraft cabin", simulated the layered scanning of the cabin by 16 fixed orthogonal parallel rays, and used the ART algorithm in CT technology to reconstruct the scanning results into a gas concentration distribution map of the cabin cross section. For gas detection in a larger area, current research has also involved this. In the article "Research on Spatial Dynamic Distribution Monitoring Technology and Application of Natural Gas Leakage Based on TDLAS", Qian Jiren et al. established an online reconstruction algorithm for the absorption rate function based on the odd harmonic signal of TDLAS, and proposed a method and system for spatial monitoring of natural gas leakage. The system performs three-dimensional modeling of natural gas stations based on the GIS platform, integrates and processes monitoring data, and uses a spatial concentration field inversion algorithm to generate a concentration dynamic distribution map of the entire station after dynamic scanning. However, the system is complicated and needs to be deployed locally in advance, which cannot be achieved when it is necessary to detect areas with unknown environmental information.
[0005] The traditional gas concentration field reconstruction method that only uses TDLAS basically adopts the ART algorithm. The ART algorithm needs to discretize the reconstruction area into grids before calculation, and then calculate the projection length of the laser in each grid. Because of this step, the application scenario of this algorithm has been limited to small areas with known contours for a long time. For example, in the traditional process of reconstructing gas concentration distribution based on TDLAS telemetry, it is necessary to arrange multiple laser transceivers around the reconstruction area to obtain different measurement data, which does not have the exploration of unknown space and the device is relatively complex. When the detection area is an unknown large-scale space, the current method cannot meet the detection needs well. In addition, the unknown space not only has unknown contours, but also has many randomly distributed obstacles, which brings challenges to the current reconstruction method. TDLAS technology can be used to scan and reconstruct indoor gas concentration distribution, but most of the gas concentration reconstruction studies that only use TDLAS lack the exploration of unknown space and are difficult to meet the reconstruction of carbon dioxide concentration fields in unknown indoor spaces.
[0006] The above problems can be solved by combining TDLAS technology with SLAM technology. By installing the TDLAS telemetry system on a mobile platform, a large amount of laser data can be obtained with a small number of simple devices. At the same time, combined with SLAM technology, the surrounding environment can be mapped and the trajectory information of the mobile platform can be located in real time. By effectively combining SLAM technology and TDLAS, the contours and obstacle information of the unknown room can be obtained, as well as the emission starting point and emission angle information of the laser data. At present, there is no research using this method. There is an urgent need for a method that uses both TDLAS and SLAM technology to reconstruct the carbon dioxide concentration field in an unknown room. Summary of the invention
[0007] In view of the deficiency of lack of exploration of unknown space when reconstructing gas concentration distribution by only using TDLAS technology, the present invention organically combines laser SLAM technology on the basis of existing reconstruction methods, realizes grid discretization of indoor areas with unknown contours and obstacles, and improves the projection coefficient calculation of traditional ART algorithm, thereby realizing the calculation of laser projection coefficients for areas with arbitrary contours and obstacles.
[0008] A method for reconstructing a carbon dioxide concentration field in an unknown area, based on TDLAS and SLAM algorithms, comprises the following steps:
[0009] Step 1: The mobile platform runs along the planned path to scan unknown indoor environment information;
[0010] Step 2, using the SLAM algorithm to obtain point cloud data and generate a two-dimensional rasterized plane map, i.e., a raster map;
[0011] Step 3, obtaining the trajectory and attitude information data of the mobile platform, synchronizing the trajectory and attitude information data of the mobile platform with the laser data of the TDLAS telemetry device, and obtaining the emission starting point coordinates and angles of the laser data of the TDLAS telemetry device;
[0012] Step 4: Use the improved projection coefficient calculation method to obtain the projection coefficient of each laser. The specific calculation process is as follows:
[0013] Step 4.1 Read raster map data;
[0014] Step 4.2: read the laser sequence data of the TDLAS telemetry device and calculate the starting grid coordinates of each laser;
[0015] Step 4.3 calculates the projection coefficient vector of each laser one by one, and each element in the vector contains the coordinate value passing through the grid and its projection length.
[0016] Step 5, iterative calculation to obtain a two-dimensional concentration distribution map of carbon dioxide.
[0017] Furthermore, the path planning process of the mobile platform when scanning the indoor environment in step 1 is as follows:
[0018] The mobile platform is close to the wall of the indoor space so that the laser can cover the indoor space. The laser of the TDLAS telemetry device is perpendicular to the direction of travel. The mobile platform makes at least one circle to obtain an approximately orthogonal distribution of light beams. At the same time, the laser emission direction is rotated at a low speed at the corner to obtain a fan-shaped beam to improve the reconstruction accuracy.
[0019] Furthermore, the process of obtaining the two-dimensional rasterized plane map in step 2 is as follows:
[0020] After obtaining two-dimensional laser point cloud data through lidar scanning, the SLAM algorithm is used to combine the two-dimensional laser point cloud data with the occupancy probability grid map method to obtain a rasterized two-dimensional plane map. The side length of each grid in the map is 5 cm. In the rasterized two-dimensional plane map, a pixel value of 1 indicates that there is no obstacle, which means that the laser light can pass through, otherwise it means that there is an obstacle.
[0021] Furthermore, the process of obtaining the emission starting point coordinates and angles of the laser data of the TDLAS telemetry device in step 3 is as follows:
[0022] Step 3.1 Use the original coordinates in the grid map obtained by the SLAM algorithm to convert the mobile platform trajectory coordinate system into the grid map coordinate system;
[0023] Step 3.2: Fusing the coordinate and attitude information updated each time by the mobile platform with the laser data information of the TDLAS telemetry device at the corresponding time;
[0024] Step 3.3 obtains the launch point coordinates and angles of the laser data of the effective TDLAS telemetry device through coordinate transformation.
[0025] Further, in step 4, a more specific improved projection coefficient calculation method process is as follows: In step 4, a more specific improved projection coefficient calculation method process is as follows:
[0026] Step 4.1 Read raster map data;
[0027] First, read the grid map file in pgm format, including the grid resolution, the height and width of the grid map, and the occupancy status of each grid; initialize a matrix of the same size based on the read height and width, and assign values to each element in it based on the occupancy status;
[0028] Step 4.2: read the laser data sequence and calculate the starting grid coordinates of each laser;
[0029] When reading the laser data sequence, the time information of the laser data is interpolated into the mobile platform trajectory data sequence, and the corresponding coordinates and angles when the laser is emitted are estimated by the corresponding time difference; let the laser data time be t, match the time in the mobile platform trajectory data Moment and Between moments, The corresponding coordinates at that time are , Time corresponding to coordinates , then the coordinates of the launch starting point corresponding to the laser data at this time for:
[0030] ;
[0031] Get the starting point coordinates of the laser After that, according to the resolution read in step 4.1, that is, the side length of each grid, the starting grid coordinates (i, j) of the current laser are obtained:
[0032] ;
[0033] Step 4.3 calculates the projection coefficient vector of each laser one by one, and each element in the vector contains the coordinate value passing through the grid and its projection length.
[0034] Furthermore, carbon dioxide can also be one of methane, ammonia, carbon monoxide, and hydrogen.
[0035] The present invention has the following beneficial technical effects:
[0036] (1) A large-scale reconstruction of the carbon dioxide concentration field was achieved using a small amount of simple equipment:
[0037] In the traditional method of reconstructing the gas concentration field using TDLAS technology, it is necessary to arrange multiple groups of laser transceivers around the reconstruction area to ensure that enough laser beams are obtained to cover the detection area, and a sufficient number of orthogonal laser beams are required. However, the present invention installs a single TDLAS telemetry device (which can realize laser emission and reception) on a mobile platform, and allows the mobile platform to circle the detection area during detection, so as to dynamically obtain multiple laser beams covering the detection area, and reasonably plan the driving path of the mobile platform during detection to obtain effective orthogonal laser rays or rays intersecting at other angles, thereby ensuring the final solvability of the concentration matrix iteration.
[0038] (2) Realized the detection of unknown areas:
[0039] The present invention deeply integrates TDLAS and laser SLAM (simultaneous localization and mapping). During the driving process of the mobile platform, not only the TDLAS device is used to scan the environmental gas information, but also the laser radar is used to scan the environment and map and locate its own coordinates and posture in real time. After the deep fusion of the two, the starting point, angle and projection coefficient vector of the TDLAS laser can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a schematic diagram of the calculation of raster projection coefficients for the ART algorithm;
[0041] Figure 2 This is a schematic diagram of grid map update in SLAM algorithm;
[0042] Figure 3 The overall flow chart of the method for reconstructing the carbon dioxide concentration field in the unknown area;
[0043] Figure 4 For rasterized maps;
[0044] Figure 5 This is the fused carbon dioxide concentration distribution map. DETAILED DESCRIPTION
[0045] The present invention relates to a method for reconstructing a carbon dioxide concentration field in an unknown area, and in particular to TDLAS gas detection and laser radar SLAM algorithm, especially in the process of gas scanning, involving path planning of a mobile platform, scanning and mapping of a laser radar, and acquisition of real-time coordinates and posture information of a mobile platform. The present invention uses a 2D laser SLAM technology based on graph optimization. The laser radar used in 2D laser SLAM is a 2D laser radar, which only focuses on one plane in the area, such as a sweeping robot. The laser SLAM algorithm used in the present invention is based on the Cartographer algorithm, which is an algorithm based on graph optimization launched by Google in 2016. It is mainly divided into two parts. The first part is the front-end local optimization, which uses the pose data collected by IMU (inertial measurement unit) and odometer to initialize and subsequently predict and update the pose; then the sub-graph is constructed and updated through the point cloud information collected by the laser radar, and this part constructs and updates the sub-graph through a series of radar scanning data. The second part is the global optimization of the back-end, which continuously updates the fused sub-graph in a Ceres-based manner to eliminate possible cumulative errors, wherein Ceres is an open source nonlinear optimization library. The entire algorithm stops running until the front-end and back-end processes detect no new data or sub-maps. In this algorithm, a rasterized probability map is used for map updates. Figure 2As shown, this is a map update method, with squares representing map blocks, and internally stored data used to represent the probability of being occupied. A laser beam is emitted and hits an obstacle point, which is called a hit point, and the empty area on the middle line is called a miss point. The laser scans multiple times, and each scan will update the probability value in the grid involved, and the map size will gradually expand as the scan area changes. This grid map is used in the gas concentration field reconstruction ART algorithm of the present invention.
[0046] A method for reconstructing a carbon dioxide concentration field in an unknown area, based on TDLAS and SLAM algorithms, comprises the following steps:
[0047] Step 1: The mobile platform runs along the planned path to scan unknown indoor environment information;
[0048] Step 2, using the SLAM algorithm to obtain point cloud data and generate a two-dimensional rasterized plane map, i.e., a raster map;
[0049] Step 3, obtaining the trajectory and attitude information data of the mobile platform, synchronizing the trajectory and attitude information data of the mobile platform with the laser data of the TDLAS telemetry device, and obtaining the emission starting point coordinates and angles of the laser data of the TDLAS telemetry device;
[0050] Step 4, using an improved projection coefficient calculation method to obtain the projection coefficient of each laser;
[0051] Step 5, iterative calculation to obtain a two-dimensional concentration distribution map of carbon dioxide.
[0052] The overall flow chart of a method for reconstructing an unknown indoor carbon dioxide concentration field is as follows: Figure 3 shown.
[0053] The path planning process of the mobile platform in step 1 when scanning the indoor environment in the present invention is as follows:
[0054] Path planning should make the mobile platform close to the indoor wall so that the laser can cover a wider range of indoor space. The TDLAS laser is perpendicular to the direction of travel, and the mobile platform should make at least one circle to obtain an approximately orthogonal distribution of the beam. At the same time, the laser emission direction should be rotated at a low speed at the corner to obtain a fan-shaped beam to improve the reconstruction accuracy.
[0055] The process of obtaining the two-dimensional rasterized plane map in step 2 of the present invention is as follows:
[0056] After obtaining two-dimensional laser point cloud data through laser radar scanning, the SLAM algorithm is used to combine the two-dimensional laser point cloud data with the occupancy probability grid map method to obtain a rasterized two-dimensional plane map. The side length of each grid in the map is 5 cm. Each grid in the occupancy probability grid map has only two states, either there is an obstacle (Occupied state, represented by 1 below) or there is no obstacle (Free state, represented by 0 below). p (s = 0) is used to represent the probability of it being in the Free state, and p (s = 1) is used to represent the probability of it being in the Occupied state. The sum of the two is 1. The ratio of the two, Odds, is used as the state of the grid in the algorithm, as shown in Formula 1.
[0057] (1)
[0058] Assume that the state of the grid before observation is represented as Odd(s), and the state after observation is represented as Odd(s|z). According to the derivation, the grid state of this point after observation z is made can be obtained:
[0059] (2)
[0060] According to the Bayesian formula:
[0061] (3)
[0062] (4)
[0063] Substituting formula (3) and (4) into formula (2) yields:
[0064] (5)
[0065] in, is the update coefficient, z represents the observed state, that is, there are two states: hit (z=1) and miss (z=0), so the update coefficient for a grid hit is expressed as , the update coefficient of miss is expressed as The four probability values corresponding to the numerator and denominator of the two update coefficients are specific values determined by the sensor model and have a value range of (0,1).
[0066] From formula (1), we can get the probability of grid being occupied when Odds(s) is known, that is, p(s=1):
[0067] (6)
[0068] Each time an update is performed, the Odds(s) of the current observation is obtained by formula (5), and then the probability p(s=1) that the grid is occupied is obtained by formula (6).
[0069] In the rasterized two-dimensional map, a pixel value of 1 indicates that there is no obstacle, which means that the laser light can pass through, otherwise it means that there is an obstacle. Figure 4 As shown, it is a 374×272 rasterized two-dimensional plane map.
[0070] In step 3 of the present invention, the process of synchronizing the mobile platform trajectory data with the TDLAS laser data to obtain the emission starting point and angle of the laser data is as follows:
[0071] After the mobile platform completes scanning of the unknown area, the SLAM algorithm will obtain the grid map data and the trajectory posture data of the mobile platform, where the grid map data also includes the coordinates of the lower left corner of the map relative to the mobile platform coordinate system. The specific steps include:
[0072] Step 3.1 Use the original coordinates in the grid map obtained by the SLAM algorithm to convert the mobile platform trajectory coordinate system into the grid map coordinate system;
[0073] Since the starting point of the grid map coordinate system generated by the SLAM algorithm is located at the upper left corner, the right is the positive direction of the x-axis, and the downward direction is the positive direction of the y-axis; and the trajectory coordinates of the mobile platform are based on the starting point of the mobile platform, the starting point's forward direction is the positive direction of the x-axis, and the left direction is the positive direction of the y-axis. The x-axis direction of the grid map is consistent with the x-axis direction of the mobile platform, but the y-axis direction is opposite, and the starting point is different. For the convenience of calculation, the origin coordinates in the grid map given by the SLAM algorithm (in fact, the coordinate value of the lower left corner vertex of the grid map relative to the mobile platform coordinate system) are used to unify the coordinate system with the lower left corner as the starting point, the right as the positive direction of the x-axis, and the upward direction as the positive direction of the y-axis. Suppose the trajectory coordinates of the mobile platform are ( , after conversion to , the conversion is performed according to formula (7):
[0074] (7)
[0075] Step 3.2: Fuse the coordinate and attitude information updated by the mobile platform each time with the TDLAS laser data information at the corresponding time;
[0076] Step 3.3 obtains the emission point coordinates and angles of effective laser data through coordinate conversion. The trajectory coordinates of the mobile platform represent the emission point coordinates of the laser. The angle of laser emission always points to the left side of the direction of travel of the mobile platform, and the range is (-180°, 180°]. While the mobile platform locates its own trajectory coordinates, it also records the attitude angle information, with the initial starting point forward direction as the reference, and counterclockwise rotation is the positive direction. Assume that the attitude angle of the mobile platform is , the laser emission angle is obtained by the following formula :
[0077] (8)
[0078] The process of calculating the laser projection coefficient using the improved projection coefficient calculation method in step 4 of the present invention is as follows:
[0079] The projection coefficient vector of each laser is calculated recursively, that is, starting from the grid where the laser emission starts, the projection length of each grid that the laser passes through is recursively calculated, and the judgment of the cutoff grid is added on the basis of the existing projection coefficient calculation method. When the next grid that the laser is about to pass through is occupied by an obstacle, the recursive calculation of the projection coefficient vector ends. When storing the projection coefficient vector, only the grids that the laser passes through, that is, the grids whose projection is not zero, are stored to reduce the spatial complexity of the algorithm. The general process is as follows:
[0080] Step 4.1 Read raster map data;
[0081] First, read the grid map file in pgm format, including the grid resolution, the height and width of the grid map, and the occupancy status of each grid. According to the read height and width, initialize a matrix of the same size and assign values to each element according to the occupancy status.
[0082] Step 4.2: read the laser data sequence and calculate the starting grid coordinates of each laser;
[0083] When reading the laser data sequence, the time information of the laser data is interpolated into the mobile platform trajectory data sequence, and the corresponding coordinates and angles when the laser was emitted are estimated by the corresponding time difference. Let the laser data time be t, and match the time information in the mobile platform trajectory data. Time (corresponding to coordinates )and (Corresponding coordinates ) time, then the coordinates of the launch starting point corresponding to the laser data at this time are for:
[0084] (9)
[0085] Get the starting point coordinates of the laser Then, according to the resolution read in step (1), that is, the side length of each grid, the starting grid coordinates (i, j) of the current laser are obtained:
[0086] (10)
[0087] Step 4.3 calculates the projection coefficient vector of each laser line one by one, and each element in the vector contains the coordinate value passing through the grid and its projection length;
[0088] The projection coefficient calculation in the present invention adopts a recursive method. After the coordinates of the laser emission starting point and the emission angle are determined by step 4.2, the projection coefficient in the next grid that the laser will pass through is recursively calculated. Three important optical path factors are defined: the vertical optical path accumulation factor v, which represents the optical path from the starting point to the vertical grid line that the current grid is about to pass through; the horizontal optical path accumulation factor h, which represents the optical path from the starting point to the horizontal grid line that the current grid is about to pass through; the traversed optical path accumulation factor d, which represents the optical path from the starting point to the previous grid. In addition, two constants are defined, represents the optical path of the laser between two adjacent vertical grid lines, Represents the optical path of the laser between two adjacent horizontal grid lines. These two quantities are fixed and constant for each laser.
[0089] When performing iterative calculations, the laser emission angles are divided into four types: (0°, 90°], (90°, 180°], (-180°, -90°], (-90°, 0°]. Taking (0°, 90°] as an example, the following formula is followed during recursive calculation:
[0090] (11)
[0091] Among them, (i, j) is the coordinate of the current grid, is the coordinate of the next grid that the laser will pass through, according to h and v Each recursive calculation should determine whether an obstacle is encountered, that is, whether the next grid is occupied. If it is occupied, the recursive calculation ends here, otherwise the recursive calculation continues until an obstacle is encountered or the boundary is reached.
[0092] (12)
[0093] in, h is the horizontal optical path accumulation factor of the light at the current grid; v is the vertical optical path accumulation factor of the light at the current grid; d is the optical path accumulation factor of the light at the current grid that has been traversed; in order to facilitate the calculation of the next traversed grid The projection coefficient at this time needs to update the optical path accumulation factor in each recursive process. The formula is as follows:
[0094] (13)
[0095] in, For light in the grid Horizontal optical path accumulation factor at ; For light in the grid The vertical optical path accumulation factor at ; For light in the grid The distance traversed at .
[0096] The experimental results of the unknown area carbon dioxide concentration field reconstruction method based on TDLAS and SLAM are as follows:
[0097] The present invention verifies the effectiveness of the method through preliminary experiments. The TDLAS telemetry device is installed on a mobile platform, and then the mobile platform is driven around on a planned path to scan the environmental information in the area, obtain the plane map information of the environment, and reconstruct the carbon dioxide concentration field on the basis of this map to obtain the carbon dioxide concentration distribution map after fusion with the original map, as shown in the figure. Figure 5 As shown, the brighter areas are areas of higher concentration.
[0098] High-concentration carbon dioxide gas sources are pre-arranged in the center of the indoor area and near the wall. It can be seen that when the equipment performance indicators are met, the final reconstruction result can roughly reflect the current distribution of carbon dioxide concentration in the room.
Claims
1. A method for reconstructing carbon dioxide concentration field in unknown areas, based on TDLAS and SLAM algorithm, characterized in that: The method comprises the following steps: Step 1: Perform path planning for the mobile platform. The mobile platform drives along the planned path and scans unknown indoor environment information. The planned path enables the laser radar and TDLAS telemetry devices to cover the entire indoor area. Step 2: Using the SLAM algorithm, the laser radar point cloud data is obtained and a two-dimensional rasterized plane map, i.e., a raster map, is generated to realize scanning and mapping of the indoor space. Step 3, obtaining the trajectory and attitude information data of the mobile platform, synchronizing the trajectory and attitude information data of the mobile platform with the laser data of the TDLAS telemetry device, and obtaining the emission starting point coordinates and angle of the laser data of the TDLAS telemetry device; Step 4: Use the improved projection coefficient calculation method to obtain the projection coefficient of each laser. The specific process is as follows: Step 4.1 Read raster map data; Step 4.2: read the laser sequence data of the TDLAS telemetry device and calculate the starting grid coordinates of each laser; Step 4.3 calculates the projection coefficient vector of each laser line one by one, and each element in the vector contains the coordinate value passing through the grid and its projection length; Step 5, iterative calculation to obtain a two-dimensional concentration distribution map of carbon dioxide; The process of obtaining a two-dimensional rasterized plane map in step 2 is as follows: After obtaining two-dimensional laser point cloud data through laser radar scanning, the SLAM algorithm is used to combine the two-dimensional laser point cloud data with the occupancy probability grid map method to obtain a rasterized two-dimensional plane map. The side length of each grid in the map is 5 cm. In the rasterized two-dimensional plane map, a pixel value of 1 indicates that there is no obstacle, indicating that the laser light can pass through, otherwise it means that there is an obstacle. In step 4, a more specific improved projection coefficient calculation method is as follows: Step 4.1 Read raster map data; First, read the grid map file in pgm format, including the grid resolution, the height and width of the grid map, and the occupancy status of each grid; initialize a matrix of the same size based on the read height and width, and assign values to each element in it based on the occupancy status; Step 4.2: read the laser data sequence and calculate the starting grid coordinates of each laser; When reading the laser data sequence, the time information of the laser data is interpolated into the mobile platform trajectory data sequence, and the corresponding coordinates and angles when the laser is emitted are estimated by the corresponding time difference; let the laser data time be t, match the time in the mobile platform trajectory data Moment and Between moments, The coordinates corresponding to the time are , Time corresponding to coordinates , then the coordinates of the launch starting point corresponding to the laser data at this time for: ; Get the starting point coordinates of the laser After that, according to the resolution read in step 4.1, that is, the side length of each grid, the starting grid coordinates (i, j) of the current laser are obtained: ; Step 4.3 calculates the projection coefficient vector of each laser one by one, and each element in the vector contains the coordinate value passing through the grid and its projection length.
2. The method for reconstructing the carbon dioxide concentration field in an unknown area according to claim 1, characterized in that: The path planning process of the mobile platform when scanning the indoor environment in step 1 is as follows: The mobile platform is close to the wall of the indoor space so that the laser can cover the indoor space. The laser of the TDLAS telemetry device is perpendicular to the direction of travel. The mobile platform makes at least one circle to obtain an approximately orthogonal distribution of light beams. At the same time, the laser emission direction is rotated at a low speed at the corner to obtain a fan-shaped beam to improve the reconstruction accuracy.
3. The method for reconstructing carbon dioxide concentration field in an unknown area according to claim 2, characterized in that: The process of obtaining the emission starting point coordinates and angles of the laser data of the TDLAS telemetry device in step 3 is as follows: Step 3.1 Use the original coordinates in the grid map obtained by the SLAM algorithm to convert the mobile platform trajectory coordinate system into the grid map coordinate system; Step 3.2: Fusing the coordinate and attitude information updated each time by the mobile platform with the laser data information of the TDLAS telemetry device at the corresponding time; Step 3.3 obtains the launch point coordinates and angles of the laser data of the effective TDLAS telemetry device through coordinate transformation.
4. The method for reconstructing carbon dioxide concentration field in an unknown area according to claim 1, characterized in that: Carbon dioxide can also be one of methane, ammonia, carbon monoxide, and hydrogen.
