Single-line laser positioning method for dynamic scenes, mobile device and storage medium

By constructing relative positions and matching invalid point grid sets in real time in a single-line lidar, and optimizing pose by combining an inertial measurement unit and wheel velocity meter, the problem of unstable positioning of single-line lidar in highly dynamic indoor environments is solved, achieving higher positioning accuracy and stability, and expanding the application environment of indoor robots.

CN117908035BActive Publication Date: 2026-12-01BEIJING ZHIXINGZHE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211242529.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-11
Publication Date
2026-12-01
Estimated Expiration
2042-10-11

AI Technical Summary

Technical Problem

In highly dynamic indoor environments, the positioning accuracy and stability of single-line lidar are affected by changes in the local environment. Existing map-update and local map-switching schemes suffer from problems such as high computational load, high memory consumption, or limited sensing range, and cannot guarantee the stability and accuracy of real-time positioning.

Method used

By determining the relative position of two adjacent laser frames in real time using laser odometry, matching the original map of a single laser line with the dynamic scene in real time, constructing an invalid point grid set, generating a predicted position using the original map and performing constraint optimization, and combining inertial measurement unit and wheel speed meter data to optimize the pose to obtain an accurate current frame position.

Benefits of technology

Without increasing sensor and computing power, the positioning accuracy and stability of single-line lasers in highly dynamic environments have been improved, ensuring the stable operation of indoor robots in scenarios such as shopping malls and enhancing the versatility of indoor robots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117908035B_ABST
    Figure CN117908035B_ABST
Patent Text Reader

Abstract

This invention provides a single-line laser positioning method, a mobile device, and a storage medium for dynamic scenes. The method includes: determining the relative positions of two adjacent laser frames in a real-time sub-map constructed by a laser odometry; matching the single-line laser with the original map of the dynamic scene in real time to construct an invalid point grid set; identifying invalid laser points in the current frame that fall into the invalid point grid set, and performing corresponding constraint optimization on the valid laser points to obtain a first estimated absolute position of the current frame laser; and performing pose optimization on the first estimated absolute position based on the laser odometry to obtain a second estimated position of the current frame. This invention fully utilizes the limited data of the real-time single-line laser in highly dynamic environments, enabling real-time laser positioning accuracy and stability in scenarios with changing local map environments without adding sensors or significantly increasing computational costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of autonomous driving, and more particularly to a single-line laser positioning method, mobile device, and storage medium for dynamic scenes. Background Technology

[0002] With advancements in autonomous driving and robotics technologies, in addition to large outdoor robots, indoor robots capable of autonomous operation have also seen rapid development. Indoor robots are typically used for automated tasks such as cleaning, floor washing, and vacuuming within buildings, effectively reducing manpower requirements, improving work efficiency, and saving operating costs.

[0003] Due to its low cost, strong environmental adaptability, and high accuracy, single-line LiDAR can be widely used in low-speed indoor robots. In practical applications, indoor robots generally adopt a mapping-first, localization-later approach, matching the laser point cloud collected by single-line LiDAR with historical mapping information to determine the localization information. However, some indoor scenarios have highly dynamic environmental influences (for example, shopping malls often have various promotional interactions, and the layout of the mall is usually adjusted slightly, such as adding promotional signs on the streets). This can cause the pre-built map to become invalid due to local environmental changes. Since the effective range of single-line LiDAR is limited, using a map that has become invalid due to local environmental changes will significantly interfere with the stability of localization.

[0004] Currently, for highly dynamic indoor environments, in order to ensure the stability of robot positioning, the following methods are usually used: 1. Map update-based scheme; 2. Local map switching-based scheme.

[0005] In the process of realizing this invention, the inventors discovered at least the following problems in the related technology:

[0006] 1. The map-based update solution has a large computational load and high memory consumption. In actual operation, it is impossible to guarantee stable positioning in real time, which poses an operational risk. Stable real-time positioning can only be guaranteed after the map is updated.

[0007] 2. Solutions based on local map switching require the ability to build a relatively complete local map in real time that sufficiently covers the problem area, suitable for long-distance multi-line laser real-time positioning with 360-degree scanning. For single-line lasers, due to their shorter range, the measurement angle of single-line lasers used in indoor cleaning products is generally less than 270 degrees, resulting in a limited range of real-time perceived local maps. This makes it impossible to guarantee the ability to build an effective map in advance and thus compromises positioning accuracy. Summary of the Invention

[0008] To at least address the problem in existing technologies where dynamic indoor environments cause localized map inefficiencies, compromising positioning accuracy, the present invention provides, in a first aspect, a single-line laser positioning method for dynamic scenes, comprising:

[0009] Determine the relative positions of two adjacent laser frames in the real-time sub-map constructed by the laser odometry.

[0010] In real time, the single-line laser is matched with the original map of the dynamic scene to identify all invalid points in each frame of laser and rasterize them to construct an invalid point raster set.

[0011] An original sub-map is generated using the original map. The predicted position of the laser in the current frame is obtained by using the absolute position of the laser in the previous frame in the original sub-map and the relative positions of the lasers in two adjacent frames. The predicted position of the laser in the current frame is projected onto the coordinate system of the original map for matching. Invalid laser points in the current frame that fall into the invalid point grid set are identified. The valid laser points that do not fall into the invalid point grid set are subjected to corresponding constraint optimization to obtain the first estimated absolute position of the laser in the current frame.

[0012] Based on laser odometry, pose optimization is performed on the first estimated absolute position to obtain the second estimated position of the current frame.

[0013] Secondly, embodiments of the present invention provide a single-line laser positioning execution device for dynamic scenes, comprising:

[0014] The relative position determination module is used to determine the relative position of two adjacent frames of laser in the real-time sub-map constructed by the laser odometry.

[0015] The raster set construction module is used to match single-line lasers with the original map of the dynamic scene in real time, identify all invalid points in each frame of laser and rasterize them to construct an invalid point raster set.

[0016] The position estimation module is used to generate an original sub-map from the original map. By using the absolute position of the laser in the previous frame in the original sub-map and the determined relative positions of the lasers in two adjacent frames, the predicted position of the laser in the current frame is obtained. The predicted position of the laser in the current frame is projected onto the coordinate system of the original map for matching. Invalid laser points in the current frame that fall into the invalid point grid set are identified. For valid laser points that do not fall into the invalid point grid set, corresponding constraint optimization is performed to obtain the first estimated absolute position of the laser in the current frame.

[0017] The pose optimization module is used to optimize the pose of the first estimated absolute position based on the laser odometry to obtain the second estimated position of the current frame.

[0018] Thirdly, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the single-line laser positioning method for dynamic scenes according to any embodiment of the present invention.

[0019] Fourthly, embodiments of the present invention provide a mobile device, including a main body and an electronic device according to any embodiment of the present invention mounted on the main body.

[0020] Fifthly, embodiments of the present invention provide a storage medium storing a computer program thereon, characterized in that, when the program is executed by a processor, it implements the steps of the single-line laser positioning method for dynamic scenes according to any embodiment of the present invention.

[0021] Sixthly, embodiments of the present invention also provide a computer program product, which, when run on a computer, causes the computer to execute the single-line laser positioning method for dynamic scenes as described in any one of the embodiments of the present invention.

[0022] The beneficial effects of this invention are as follows: In highly dynamic environments, it makes full use of the limited data of real-time single-line lasers. Without adding sensors or increasing computational consumption, single-line lasers can ensure real-time laser positioning accuracy and stability in scenarios where the local environment of the map changes. This enables low-speed indoor robots that rely on single-line lasers to operate in indoor spaces such as shopping malls and factories, providing a more stable and reliable user experience, increasing the universality of indoor robot application environments, and promoting the rapid development of indoor commercial robots. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a flowchart of a single-line laser positioning method for dynamic scenes provided in an embodiment of the present invention;

[0025] Figure 2 This is a schematic diagram of the structure of a single-line laser positioning execution device for dynamic scenes provided in an embodiment of the present invention;

[0026] Figure 3This is a schematic diagram of an embodiment of an electronic device for single-line laser positioning in dynamic scenes, provided by an embodiment of the present invention. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0028] Those skilled in the art will recognize that embodiments of this application can be implemented as a system, apparatus, device, method, or computer program product. Therefore, this disclosure can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0029] For ease of understanding, the technical terms used in this application are explained below:

[0030] The term "mobile device" as used in this application includes, but is not limited to, vehicles with L0-L5 autonomous driving technology levels as defined by the Society of Automotive Engineers International (SAE International) or the Chinese national standard "Classification of Driving Automation for Automobiles".

[0031] In some embodiments, the mobile device may be a vehicle or robot having various functions, such as:

[0032] (1) Passenger transport function, such as family cars, buses, etc.;

[0033] (2) Cargo carrying function, such as ordinary trucks, box trucks, trailers, enclosed trucks, tank trucks, flatbed trucks, container trucks, dump trucks, special structure trucks, etc.

[0034] (3) Tool functions, such as logistics delivery vehicles, automated guided vehicles (AGVs), patrol vehicles, cranes, hoists, excavators, bulldozers, loaders, road rollers, loaders, off-road engineering vehicles, armored engineering vehicles, sewage treatment vehicles, sanitation vehicles, vacuum trucks, floor scrubbers, water sprinkler trucks, sweeping robots, food delivery robots, shopping guide robots, lawnmowers, golf carts, etc.

[0035] (4) Entertainment functions, such as recreational vehicles, amusement park automatic driving devices, balance bikes, etc.;

[0036] (5) Special rescue functions, such as fire trucks, ambulances, power repair vehicles, and engineering emergency rescue vehicles.

[0037] like Figure 1 The diagram shows a flowchart of a single-line laser positioning method for dynamic scenes according to an embodiment of the present invention, including the following steps:

[0038] S11: Determine the relative positions of two adjacent laser frames in the real-time sub-map constructed by the laser odometry.

[0039] S12: Match the single-line laser with the original map of the dynamic scene in real time, identify all invalid points in each frame of laser and rasterize them to construct an invalid point raster set;

[0040] S13: Generate an original sub-map using the original map. Obtain the predicted position of the laser in the current frame by using the absolute position of the laser in the previous frame in the original sub-map and the determined relative positions of the lasers in two adjacent frames. Project the predicted position of the laser in the current frame onto the coordinate system of the original map for matching. Determine the invalid laser points in the current frame that fall into the invalid point grid set. Perform corresponding constraint optimization on the valid laser points that do not fall into the invalid point grid set to obtain the first estimated absolute position of the laser in the current frame.

[0041] S14: Based on the laser odometry, the first estimated absolute position is optimized for pose to obtain the second estimated position of the current frame.

[0042] In this embodiment, the method can be applied to indoor mobile devices, such as automatic floor scrubbers used in shopping mall environments. Before use, a map of the shopping mall environment (the original map) is pre-deployed on the automatic floor scrubber. However, changes can occur in certain areas of a shopping mall; for example, a product might be on promotion, and signs might be placed in previously empty areas. Furthermore, shopping malls frequently host various events, resulting in a highly dynamic environment. Because the activities of different merchants within a shopping mall are irregular, and the arrangement of items placed / removed within the mall is not standardized, it is difficult to promptly configure the automatic floor scrubber with a new map whenever local changes occur. Considering this highly dynamic situation, this method allows the automatic floor scrubber to use the original map of the shopping mall environment for its map configuration.

[0043] Considering the usage scenarios of indoor automatic floor scrubbers, overly precise multi-line LiDAR is not necessary; typically, a single-line LiDAR is sufficient for positioning in indoor scenarios.

[0044] For step S11, when the automatic floor scrubber is working in the supermarket, the laser odometry thread is started during real-time positioning. The IMU (Inertial Measurement Unit) of the automatic floor scrubber is used to measure the angular velocity and acceleration of the automatic floor scrubber in the high dynamic scene space of the supermarket. The wheel speed meter of the automatic floor scrubber and the single-line laser point cloud data collected by the single-line laser are used to perform real-time laser odometry calculation.

[0045] Since local scenes may change in dynamic scenes, matching for single-line lasers needs to be performed in a real-time sub-map.

[0046] As one implementation method, the construction of the real-time sub-map includes:

[0047] The real-time calculation results of the laser odometer are determined based on inertial measurement unit data, wheel speedometer, and real-time acquisition of single-line laser data.

[0048] The real-time calculation results of the laser odometry are periodically inserted into the original sub-map generated using the original map according to preset requirements to construct the real-time sub-map.

[0049] In this implementation, due to the large size of the map in the scene, only a portion of the map is typically used for matching. Therefore, during map construction, a portion of the sub-map is extracted from the original map to construct the real-time sub-map.

[0050] Specifically, the real-time sub-map construction can stitch together a new sub-map by inserting a single frame of laser light into the sub-map every 0.3 meters based on the real-time calculation results (in the example above, the preset requirements can be adjusted according to actual needs, and are not limited to 0.3 meters. For example, if the automatic floor scrubber has a higher configuration and stronger computing power, it can be set to every 0.1 meters or 0.15 meters. If the automatic floor scrubber has a lower configuration and less computing power, it can be set to every 0.35 meters).

[0051] Considering that not all areas change in a dynamic scene, and taking into account the computing power of the automated floor scrubber, two sub-maps can be maintained together (the original sub-map and the real-time sub-map): a target sub-map and a sub-map to be switched, which are then matched. When the automated floor scrubber starts, the original sub-map is used as the target sub-map, and the real-time sub-map constructed at this time is used as the sub-map to be switched. When the laser frame data in the target sub-map exceeds 20 frames, both the target sub-map and the sub-map to be switched will be updated simultaneously. When the laser frame data in the target sub-map exceeds 40 frames (at which point the laser frame data in the sub-map to be switched is 20 frames), the sub-map to be switched will be used as the target sub-map, and the sub-map to be switched will be reset and the update will start again. The above example cycle is used to rotate between the sub-map to be switched and the target sub-map.

[0052] Matching the laser frame in laser odometry with the current sub-map can be achieved using graph optimization. Specifically, based on the positions of each point cloud data in the previous frame's laser point cloud, the predicted position of the current frame is obtained by IMU calculation. The predicted position of the current frame is used as the vertex in the graph optimization. IMU and wheel speed measurement information are used as one type of constraint, and the distance between each point in the laser frame and the nearest point on the map is used as a second type of constraint. The weights of the two types of constraints are designed based on the rotation status of the automatic floor scrubber, whether it is stationary, and the number of effective laser points. The optimal estimate of the current frame position can be obtained iteratively using a least squares approach. Laser odometry can obtain the relative positions of the laser from the previous frame and the current frame in a real-time scene, unaffected by changes in the local scene of the original map. Specifically, it can be determined using the following formula:

[0053]

[0054] In the above formula, β represents the constraint weight of a single laser point, n represents the total number of laser points involved in the constraint, T represents the current pose (x, y, θ) of the vehicle to be optimized, θ is the angle, pi represents the coordinates (xi, yi, θi) of the i-th laser point in the laser frame, Dis represents the distance between the i-th laser point and the nearest obstacle after being transformed to the map frame by T, γ represents the weight of the predicted pose in the optimization model, and T pre This represents the predicted pose of the current frame calculated using odometry.

[0055] For step S12, to ensure the consistency between the positioning result and the original map, it is necessary to match the current frame's single-line laser data with the original map in real time. The matched position is called the absolute position based on the map coordinate system. In scenarios where the map environment changes, the data sensed by the single-line laser in real time cannot completely correspond to the original map. For example, in a shopping mall scenario, if an advertising sign is added to one wall, the single-line laser data will not be the original wall data. If the advertising sign data is used to match the original map, the absolute position will deviate from the actual position. To ensure the accuracy of the absolute position, invalid points in the original map need to be removed.

[0056] As one implementation method, the real-time matching of single-line laser with the original map of the dynamic scene, identifying all invalid points in each frame of laser and rasterizing them to construct an invalid point raster set includes:

[0057] The real-time calculation result of the single-line laser based on the laser odometry is projected onto the coordinate system of the original map;

[0058] If the matching distance between the laser point in the single-line laser and the original map exceeds a set threshold, the laser point will be determined as an invalid point.

[0059] The original map is rasterized, and the raster containing the invalid points is designated as an invalid raster. An invalid point raster set is then constructed.

[0060] In this implementation, after each frame of laser data is matched with the original map, the system determines whether a point is a changed point (invalid point) based on the nearest matching distance between each laser point and the original map (e.g., it can be set to exceed 10cm; the example of 10cm is just an example, and the specific value is not limited). For example, if the local scene where the automatic floor scrubber is currently located has not changed, the nearest matching distance between each laser point and the original map is usually within the range of automatic floor scrubber jitter and single-line LiDAR error. If the local scene where the automatic floor scrubber is currently located has changed, then in the changed area, the nearest matching distance between each laser point and the original map is usually larger. If the nearest matching distance between a laser point and the original map exceeds the set 10cm, then that laser point is considered an invalid point.

[0061] The original map is rasterized, dividing it into several grids. Grids containing invalid laser points are designated as invalid grids. An invalid point grid set is determined using all invalid laser points. Considering the use of the invalid point grid set, the grid index corresponding to each frame's invalid point grid set can be represented by a hash table, called a single-frame invalid index set. The invalid point grid set can be composed of a real-time circular queue Q of 50 frames. New single-frame invalid index sets are inserted into queue Q after construction, and the circular queue Q maintains a maximum size of 50. If the queue size is exceeded, the oldest single-frame invalid index set is discarded.

[0062] For step S13, considering the computational load of the automatic floor scrubber, the original sub-map of the current area of ​​the automatic floor scrubber is selected for matching. An original sub-map is generated using the original map, and the relative positions of two adjacent laser frames are superimposed onto the absolute position of the previous laser frame in the original sub-map to obtain the predicted position of the current laser frame. The predicted position of the current laser frame is projected onto the coordinate system of the original map for matching, identifying invalid laser points in the current frame that fall into the invalid point grid set. Specifically, since the invalid point grid set is stored using a hash table, the hash value of each laser point is calculated during the matching process to check if the laser point belongs to the invalid laser point grid set. If a laser point belongs to the invalid laser point grid set, it is considered highly likely to be a dynamically changing invalid point and is excluded. The valid laser points that do not fall into the invalid point grid set are then subjected to corresponding constraint optimization to obtain an optimized position estimate.

[0063] As one implementation method, the constraint optimization for valid laser points that do not fall into the invalid point grid set includes:

[0064] The effective laser points are then optimized in the first round, which is related to the obstacle distance constraint.

[0065] A second round of chi-square correlation optimization is performed on the effective laser points after the first round of optimization to obtain the absolute position estimate.

[0066] In this implementation, during the first round of optimization, invalid points identified in the previous round are not included in the optimization. The nearest distance *d* from each valid laser point to the map obstacle and the final number of valid points are calculated. The constraints for optimization are: 1. The constraint of the nearest distance *d* from each valid point to the obstacle; 2. The position constraint predicted by the laser odometry. The weight of each constraint is determined by factors such as whether degradation has occurred and whether there are too few valid points. After the first round of optimization, a relatively accurate coarse-optimized pose is obtained.

[0067] The second round of optimization verifies the chi-square of each constraint based on the results of the first round. If the chi-square of a constraint exceeds a preset threshold, the constraint is considered unreliable and is marginalized. Simultaneously, the distribution of laser point constraints is adjusted based on the chi-square predicted by the laser odometry (e.g., if the chi-square is large, laser constraints concentrated in small areas are filtered out). This second round of constraints improves the optimization effect and ensures the accuracy of the optimized posture.

[0068] For step S14, to ensure the smoothness of the position output and prevent jump points from further optimizing the first estimated absolute position of the constraint optimization in step S13, specifically, using the absolute position as a fixed point and the relative positions of the lasers in two adjacent frames as constraints, a sliding window filtering process is performed to obtain the optimized second estimated position of the current frame.

[0069] In this embodiment, a sliding window filtering method can be used to smooth the absolute position estimation. The sliding window maintains the latest 10 frames of laser calculation data using a fixed-length queue. The absolute position estimation is used as the vertex, and the relative position between two laser odometry frames is used as a constraint. After optimization, the latest frame's optimized result is output, which can correct for absolute position fluctuations at the back end under laser odometry constraints. This result is used as the optimal position estimate for the current frame.

[0070] This implementation demonstrates that, in highly dynamic environments, it fully utilizes the limited data of real-time single-line lasers. Without adding sensors or significantly increasing computational costs, single-line lasers can maintain real-time laser positioning accuracy and stability in scenarios with changing local map environments. This enables low-speed indoor robots that rely on single-line lasers to operate in indoor spaces such as shopping malls and factories, providing a more stable and reliable user experience, increasing the versatility of indoor robot applications, and promoting the rapid development of indoor commercial robots.

[0071] like Figure 2The diagram shows a schematic of a single-line laser positioning execution device for dynamic scenes according to an embodiment of the present invention. The system can execute the single-line laser positioning method for dynamic scenes described in any of the above embodiments and is configured in the terminal.

[0072] This embodiment provides a single-line laser positioning execution device 10 for dynamic scenes, which includes: a relative position determination module 11, a grid set construction module 12, a position estimation module 13, and a pose optimization module 14.

[0073] The relative position determination module 11 is used to determine the relative position of two adjacent laser frames in the real-time sub-map constructed by the laser odometry. The grid set construction module 12 is used to match the single-line laser with the original map of the dynamic scene in real time, determine all invalid points in each laser frame and rasterize them to construct an invalid point grid set. The position estimation module 13 is used to generate an original sub-map using the original map, obtain the predicted position of the current laser frame by using the absolute position of the previous laser frame in the original sub-map and the determined relative position of two adjacent laser frames, project the predicted position of the current laser frame onto the original map coordinate system for matching, determine the invalid laser points in the current laser frame that fall into the invalid point grid set, and perform corresponding constraint optimization on the valid laser points that do not fall into the invalid point grid set to obtain the first estimated absolute position of the current laser frame. The pose optimization module 14 is used to perform pose optimization on the first estimated absolute position based on the laser odometry to obtain the second estimated position of the current frame.

[0074] Furthermore, the relative position determination module is used for:

[0075] The real-time calculation results of the laser odometer are determined based on inertial measurement unit data, wheel speedometer, and real-time acquisition of single-line laser data.

[0076] The real-time calculation results of the laser odometry are periodically inserted into the original sub-map generated from the original map according to preset requirements to construct the real-time sub-map.

[0077] Furthermore, the grid set construction module is used to: project the real-time calculation result of the single-line laser based on laser odometry onto the coordinate system of the original map;

[0078] If the matching distance between the laser point in the single-line laser and the original map exceeds a set threshold, the laser point will be determined as an invalid point.

[0079] The original map is rasterized, and the raster containing the invalid points is designated as an invalid raster. An invalid point raster set is then constructed.

[0080] Furthermore, the pose optimization module is used for:

[0081] Using the absolute position as a fixed point and the relative positions of two adjacent laser frames as constraints, a sliding window filtering process is performed to obtain the optimized second estimated position of the current frame.

[0082] This invention also provides a non-volatile computer storage medium storing computer-executable instructions that can execute the single-line laser positioning method for dynamic scenes in any of the above method embodiments.

[0083] In one embodiment, the non-volatile computer storage medium of the present invention stores computer-executable instructions, which are configured as follows:

[0084] Determine the relative positions of two adjacent laser frames in the real-time sub-map constructed by the laser odometry.

[0085] In real time, the single-line laser is matched with the original map of the dynamic scene to identify all invalid points in each frame of laser and rasterize them to construct an invalid point raster set.

[0086] An original sub-map is generated using the original map. The predicted position of the laser in the current frame is obtained by using the absolute position of the laser in the previous frame in the original sub-map and the relative positions of the lasers in two adjacent frames. The predicted position of the laser in the current frame is projected onto the coordinate system of the original map for matching. Invalid laser points in the current frame that fall into the invalid point grid set are identified. The valid laser points that do not fall into the invalid point grid set are subjected to corresponding constraint optimization to obtain the first estimated absolute position of the laser in the current frame.

[0087] Based on laser odometry, pose optimization is performed on the first estimated absolute position to obtain the second estimated position of the current frame.

[0088] As a non-volatile computer-readable storage medium, it can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the embodiments of the present invention. One or more program instructions are stored in the non-volatile computer-readable storage medium, and when executed by a processor, the single-line laser positioning method for dynamic scenes in any of the above method embodiments is executed.

[0089] This invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a single-line laser positioning method for dynamic scenes.

[0090] The electronic device provided in this embodiment can be implemented in the form of an autonomous driving domain controller. The autonomous driving domain controller is communicatively connected to various sensors (including but not limited to lidar, cameras, millimeter-wave radar, ultrasonic radar, inertial measurement units, wheel speed sensors, etc.) mounted on the mobile device. It acquires environmental perception data and vehicle speed information through these sensors, extracts obstacle information and generates the position information of the mobile device based on the acquired environmental perception data and vehicle speed information, and performs path planning based on the position information and obstacle information.

[0091] In some embodiments, the present invention also provides a mobile device, including a body and an electronic device according to any of the foregoing embodiments mounted on the body. The mobile device may be an unmanned vehicle, such as an unmanned sweeper, unmanned floor scrubber, unmanned logistics vehicle, unmanned passenger car, unmanned sanitation vehicle, unmanned minibus / bus, truck, mining truck, etc., or it may be a robot, etc.

[0092] In some embodiments, the present invention also provides a computer program product that, when run on a computer, causes the computer to execute any one of the single-line laser positioning methods for dynamic scenes described in the embodiments of the present invention.

[0093] Figure 3 This is a schematic diagram of the hardware structure of an electronic device for a single-line laser positioning method in a dynamic scene, provided in another embodiment of this application. Figure 3 As shown, the device includes:

[0094] One or more processors 310 and memory 320, Figure 3 Taking a processor 310 as an example, the device for a single-line laser positioning method in dynamic scenes may also include an input device 330 and an output device 340.

[0095] The processor 310, memory 320, input device 330, and output device 340 can be connected via a bus or other means. Figure 3 Taking the example of a connection between China and Israel via a bus.

[0096] The memory 320, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the single-line laser positioning method for dynamic scenes in the embodiments of this application. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions, and modules stored in the memory 320, thereby implementing the single-line laser positioning method for dynamic scenes described in the above-described method embodiments.

[0097] The memory 320 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function; the data storage area may store data, etc. Furthermore, the memory 320 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 320 may optionally include memory remotely located relative to the processor 310, and these remote memories can be connected to the mobile device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0098] Input device 330 can receive input numerical or character information. Output device 340 may include display devices such as a display screen.

[0099] The one or more modules are stored in the memory 320, and when executed by the one or more processors 310, they execute the single-line laser positioning method for dynamic scenes in any of the above method embodiments.

[0100] The above-described product can perform the methods provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for performing the methods. Technical details not described in detail in this embodiment can be found in the methods provided in the embodiments of this application.

[0101] Non-volatile computer-readable storage media may include a stored program area and a stored data area, wherein the stored program area may store an operating system and an application program required for at least one function; the stored data area may store data created based on the use of the device, etc. Furthermore, the non-volatile computer-readable storage medium may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the non-volatile computer-readable storage medium may optionally include memory remotely located relative to the processor, and these remote memories may be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0102] The electronic device described in this application embodiment may also exist in various other forms, including but not limited to:

[0103] (1) Mobile communication devices: These devices are characterized by their mobile communication capabilities and primarily aim to provide voice and data communication. These terminals include smartphones, multimedia phones, feature phones, and low-end phones.

[0104] (2) Ultra-mobile personal computer devices: These devices fall under the category of personal computers, possessing computing and processing capabilities, and generally also have mobile internet access features. These terminals include PDAs, MIDs, and UMPCs, such as tablet computers.

[0105] (3) Portable entertainment devices: These devices can display and play multimedia content. This category includes audio and video players, handheld game consoles, e-book readers, as well as smart toys and portable car navigation devices.

[0106] (4) Other mobile devices with data processing functions.

[0107] In this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising" or "including" include not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0108] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0109] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A single-line laser positioning method for dynamic scenes, comprising: The relative positions of two adjacent laser frames in a real-time sub-map constructed by a laser odometry system are determined. The construction of the real-time sub-map includes: determining the real-time calculation result of the laser odometry based on inertial measurement unit data, wheel speedometer, and real-time acquired single-line laser data; periodically inserting the real-time calculation result of the laser odometry into the original sub-map generated using the original map according to preset requirements to construct the real-time sub-map; jointly maintaining the original sub-map and the real-time sub-map; using the constructed real-time sub-map as the sub-map to be switched; simultaneously updating the target sub-map and the sub-map to be switched based on the laser frame data in the target sub-map; using the sub-map to be switched as the target sub-map; and resetting the sub-map to be switched to start updating again. In real time, a single-line laser is matched with the original map of the dynamic scene to identify all invalid points in each frame of laser and rasterize them to construct an invalid point raster set. This includes: projecting the real-time calculation result of the single-line laser based on laser odometry onto the coordinate system of the original map; if the matching distance between the laser point in the single-line laser and the original map exceeds a set threshold, the laser point is identified as an invalid point; the original map is rasterized, and the raster where the invalid point is located is an invalid raster; an invalid point raster set is constructed, and the invalid point raster set is composed of a real-time circular queue. After a new single-frame invalid index set is constructed, it is inserted into the queue; if the queue size is exceeded, the oldest single-frame invalid index set is discarded. By using the absolute position of the laser in the previous frame in the original sub-map and the determined relative positions of the lasers in two adjacent frames, the predicted position of the laser in the current frame is obtained. The predicted position of the laser in the current frame is then projected onto the coordinate system of the original map for matching. Invalid laser points in the current frame that fall into the invalid point grid set are identified, and corresponding constraint optimization is performed on the valid laser points that do not fall into the invalid point grid set to obtain the first estimated absolute position of the laser in the current frame. Based on laser odometry, pose optimization is performed on the first estimated absolute position to obtain the second estimated position of the current frame.

2. The method according to claim 1, characterized in that, The constraint optimization for valid laser points that do not fall into the invalid point grid set includes: The effective laser points are then optimized in the first round, which is related to the obstacle distance constraint. A second round of chi-square correlation optimization is performed on the effective laser points after the first round of optimization to obtain the absolute position estimate.

3. The method according to claim 1, characterized in that, The step of performing pose optimization on the first estimated absolute position based on laser odometry to obtain the second estimated position of the current frame includes: Using the absolute position as a fixed point and the relative positions of two adjacent laser frames as constraints, a sliding window filtering process is performed to obtain the optimized second estimated position of the current frame.

4. A single-line laser positioning execution device for dynamic scenes, comprising: The relative position determination module is used to determine the relative position of two adjacent laser frames in a real-time sub-map constructed by the laser odometry. The construction of the real-time sub-map includes: determining the real-time calculation result of the laser odometry based on inertial measurement unit data, wheel speed meter, and real-time acquired single-line laser data; periodically inserting the real-time calculation result of the laser odometry into the original sub-map generated using the original map according to preset requirements to construct the real-time sub-map; jointly maintaining the original sub-map and the real-time sub-map; using the constructed real-time sub-map as the sub-map to be switched; simultaneously updating the target sub-map and the sub-map to be switched based on the laser frame data in the target sub-map; using the sub-map to be switched as the target sub-map; and resetting the sub-map to be switched to start updating again. The raster set construction module is used to match single-line lasers with the original map of the dynamic scene in real time, identify all invalid points in each frame of laser and rasterize them to construct an invalid point raster set. This includes: projecting the real-time calculation result of the single-line laser based on laser odometry onto the coordinate system of the original map; if the matching distance between the laser point in the single-line laser and the original map exceeds a set threshold, the laser point is identified as an invalid point; the original map is rasterized, and the raster where the invalid point is located is an invalid raster; the invalid point raster set is constructed by a real-time circular queue. After a new single-frame invalid index set is constructed, it is inserted into the queue. If the queue size is exceeded, the oldest single-frame invalid index set is discarded. The position estimation module is used to obtain the predicted position of the laser in the current frame by using the absolute position of the laser in the previous frame in the original sub-map and the determined relative positions of the lasers in two adjacent frames. The predicted position of the laser in the current frame is projected onto the coordinate system of the original map for matching, invalid laser points in the current frame that fall into the invalid point grid set are identified, and corresponding constraint optimization is performed on the valid laser points that do not fall into the invalid point grid set to obtain the first estimated absolute position of the laser in the current frame. The pose optimization module is used to optimize the pose of the first estimated absolute position based on the laser odometry to obtain the second estimated position of the current frame.

5. An electronic device, comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method according to any one of claims 1-3.

6. A mobile device comprising the electronic device according to claim 5.

7. A storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method described in any one of claims 1-3.

Citation Information

Patent Citations

  • Method and device for filtering dynamic object through laser point cloud

    CN115014369A