A multi-lidar obstacle recognition method

Through the multi-lidar obstacle recognition method, point cloud preprocessing and ground top fast filtering technology are used to solve the problem of low obstacle recognition accuracy in the tunnel environment and achieve higher recognition accuracy and efficiency.

CN117237913BActive Publication Date: 2024-10-15LEIKE ZHITU (BEIJING) TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311162196.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2024-10-15
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

In the existing technology, the accuracy of laneway obstacle recognition is low and the ground point cloud extraction is inaccurate, which affects the quality of subsequent obstacle point cloud extraction and reduces the accuracy of obstacle recognition and positioning based on point clouds.

Method used

A multi-lidar obstacle recognition method is adopted, including point cloud preprocessing, ground top fast filtering and obstacle recognition steps, and accurate ground and obstacles are extracted through coordinate system clipping, voxel segmentation, horizontal and vertical constraint filtering and Euclidean distance clustering. Object point cloud to improve recognition accuracy.

Benefits of technology

It effectively improves the accuracy of obstacle detection and positioning, reduces misjudgments of non-obstacles, improves recognition accuracy and real-time performance, and enhances the utilization efficiency of point cloud data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117237913B_ABST
    Figure CN117237913B_ABST
Patent Text Reader

Abstract

The present application discloses a multi-laser radar obstacle recognition method for identifying roadway obstacles, which relates to the field of unmanned driving technology, including: obtaining the original three-dimensional point cloud collected by multiple laser radars; extracting the area of ​​interest; using the voxel segmentation method to perform downsampling preprocessing on the point cloud of different functional areas; performing two-dimensional rasterization on the preprocessed point cloud, calculating the lowest point in each grid unit, and using the horizontal and vertical slope constraints to judge the ground point; using the horizontal and vertical slope constraints to judge the top point, and combining the straight-through filtering to perform top filtering to obtain the filtered non-ground non-top point cloud; calculating the two-dimensional grid of the non-ground non-top point cloud, directly treating the wall point cloud as an obstacle according to the point cloud density, performing Euclidean distance clustering on the non-wall point cloud, and generating an obstacle bounding box. In view of the low accuracy of roadway obstacle recognition existing in the prior art, the present application improves the detection and positioning accuracy of obstacles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of unmanned driving technology, and in particular to a multi-laser radar obstacle recognition method for recognizing obstacles in a lane. Background Art

[0002] With the continuous development of LiDAR technology, environmental perception and obstacle detection based on LiDAR have become one of the important means in the field of autonomous driving. Due to the limitations of measurement range and angle, the point cloud data obtained by traditional single-line LiDAR is not rich enough, resulting in inaccurate environmental information extracted. In order to obtain more detailed and complete point cloud information, multi-line LiDAR systems came into being. However, the large amount of point cloud data obtained by multi-line LiDAR systems also brings processing difficulties.

[0003] In related technologies, for example, Chinese patent document CN116524219A provides an obstacle detection method based on laser radar point cloud clustering. First, point cloud preprocessing is performed, mainly by filtering the point cloud through outlier removal and downsampling. Then, a linear fitting algorithm is used to separate the ground point cloud and the obstacle point cloud. After that, Euclidean clustering is used to separate obstacles and improve the accuracy of obstacle detection. Finally, 3D bounding box fitting is performed on the clustered point cloud. However, this solution has at least the following technical problems: the ground point cloud extraction is inaccurate, which directly affects the quality of the subsequent obstacle point cloud extraction based on ground segmentation. The obstacle point cloud cannot fully express the real object, which reduces the accuracy of obstacle recognition and positioning based on the point cloud.

[0004] Based on this, it is necessary to study a multi-lidar obstacle recognition method to improve the accuracy of roadway obstacle recognition. Summary of the invention

[0005] 1. Technical problems to be solved

[0006] In view of the problem of low accuracy in lane obstacle identification in the prior art, the present invention provides a multi-lidar obstacle identification method, which realizes accurate extraction of ground point cloud through point cloud preprocessing, fast filtering of the ground top based on lateral and longitudinal constraints, and obstacle identification steps of wall classification, effectively copes with severely obstructed lane environments, and greatly improves the detection and positioning accuracy of obstacles.

[0007] 2. Technical solution

[0008] The purpose of the present invention is achieved through the following technical solutions.

[0009] The embodiment of the present specification provides a multi-lidar obstacle identification method for identifying obstacles in a roadway, including: a point cloud preprocessing step, obtaining the original three-dimensional point cloud collected by multiple laser radars; performing coordinate system restriction cropping on the point cloud to extract the area of ​​interest; using the voxel segmentation method to perform downsampling preprocessing on the point clouds of different functional areas; a ground top fast filtering step, performing two-dimensional rasterization on the preprocessed point cloud, calculating the lowest point in each grid cell, and using the horizontal and vertical slope constraints to judge the ground point; calculating the highest point in each grid cell, using the horizontal and vertical slope constraints to judge the top point, and combining the straight-through filtering to perform top filtering to obtain the filtered non-ground non-top point cloud; an obstacle identification step, calculating the two-dimensional grid of the non-ground non-top point cloud, directly treating the wall point cloud as an obstacle according to the point cloud density, performing Euclidean distance clustering on the non-wall point cloud, generating an obstacle bounding box, and outputting an obstacle set.

[0010] Furthermore, the ground top fast filtering step includes: two-dimensionally rasterizing the preprocessed three-dimensional point cloud data; calculating the lowest point in each grid unit, the lowest point includes the horizontal grid lowest point and the vertical grid lowest point; using the horizontal grid lowest point threshold M1 and the vertical grid lowest point threshold M2 constraint relationship to determine the ground lowest point; using the determined ground lowest point as a reference, calculating the slope from each point to the ground lowest point, when the slope is less than the ground slope threshold, the point is identified as a ground point; calculating the highest point in each grid unit, the highest point includes the horizontal grid lowest point and the vertical grid lowest point. The highest point and the highest point of the longitudinal grid; the highest point of the top is determined by using the constraint relationship between the highest point threshold M3 of the transverse grid and the highest point threshold M4 of the longitudinal grid; the slope from each point to the highest point of the top is calculated based on the determined highest point of the top, and when the slope is less than the top slope threshold, the point is identified as the top point; the identified top point is subjected to Z-axis height limit filtering to obtain a filtered non-ground non-top point cloud; the constraint relationship between the lowest point threshold M1 of the transverse grid and the lowest point threshold M2 of the longitudinal grid is: the value of M1 is M times that of M2, and M is a positive integer.

[0011] Furthermore, the top highest point is determined by utilizing the constraint relationship between the horizontal grid highest point threshold M3 and the vertical grid highest point threshold M4, including: the horizontal grid highest point threshold constraint relationship is: if the height difference between adjacent grid highest points is less than the preset horizontal grid highest point threshold, the highest point is accepted as the top point candidate; the vertical grid highest point threshold constraint relationship is: in the same grid column, if the height difference between adjacent grid highest points is less than the preset vertical grid highest point threshold, the highest point is accepted as the top point candidate; combining the horizontal constraint and the vertical constraint, determine the top highest point of each grid unit.

[0012] Furthermore, the filtered non-ground and non-top point cloud data are two-dimensionally rasterized; the number of point clouds in each grid is counted, and when the number of point clouds is greater than a preset threshold, all point clouds in the grid are used as wall obstacle point clouds; non-wall grid point clouds are retained as non-wall obstacle candidate point clouds, and non-wall grid point clouds are the remaining point clouds after excluding wall grid point clouds from two-dimensional grid point clouds; Euclidean distance clustering is performed on non-wall obstacle candidate point clouds to generate non-wall obstacle point clouds; cluster closure is used to obtain three-dimensional bounding boxes of wall obstacle point clouds and non-wall obstacle point clouds; and obstacle information is output, and the obstacle information includes: obstacle category, bounding box parameters and point cloud quantity.

[0013] Furthermore, an axis-aligned bounding box is used for the wall obstacle point cloud.

[0014] Furthermore, a directional bounding box is used for the non-wall obstacle point cloud.

[0015] Furthermore, the point cloud preprocessing step includes: obtaining the original three-dimensional point clouds collected by multiple lidars; performing coordinate cropping on the point cloud in the X-axis, Y-axis and Z-axis directions in the vehicle coordinate system to extract the region of interest; dividing the region of interest into multiple functional sub-regions according to the vehicle size range, and downsampling the point clouds in different functional sub-regions.

[0016] Furthermore, downsampling preprocessing of point clouds in different functional sub-areas includes: performing radius filtering on the point cloud on the surface of the vehicle body to obtain point cloud data with the vehicle body points removed; performing sparse downsampling processing on the point cloud in the first threshold area of ​​the vehicle body using a first-size voxel network; retaining the original point cloud in the second threshold area in front and behind the vehicle body; and performing downsampling processing on the third threshold area on both sides of the vehicle body using a second-size voxel grid.

[0017] Furthermore, the numerical value of the first size is N1 times the numerical value of the second size, where N1 is a positive integer.

[0018] Furthermore, the numerical value of the third threshold is N2 times the numerical value of the first threshold or the second threshold, where N2 is a positive integer.

[0019] 3. Beneficial effects

[0020] Compared with the prior art, the advantages of the present invention are:

[0021] (1) Through point cloud coordinate cropping and multi-scale downsampling, this method can effectively utilize point cloud data in different occluded areas and improve the integrity of obstacles. Through cropping and downsampling, unnecessary point cloud data can be filtered out and important feature points can be retained, thereby improving the accuracy of subsequent recognition;

[0022] (2) Determine the top of the ground based on the horizontal and vertical dual constraints, and effectively filter out non-obstacle point clouds. This method uses the horizontal and vertical slope constraints to determine the ground and top point clouds, identifies the ground and top points by setting thresholds, and filters the top points to remove non-obstacle point clouds. This can reduce the misjudgment of non-obstacles and improve the recognition accuracy;

[0023] (3) Using point cloud density to directly classify walls, avoiding unnecessary clustering calculations, significantly reducing recognition time, and improving real-time performance. This method directly uses the density information of the point cloud to directly classify the wall point cloud as an obstacle, avoiding a large amount of clustering calculations, speeding up the recognition speed, and improving the real-time performance in the lane environment.

[0024] In summary, this technical solution improves the utilization efficiency of point cloud data through point cloud coordinate clipping and multi-scale downsampling, improves the recognition accuracy by filtering out non-obstacle point clouds through horizontal and vertical dual constraints, and directly classifies walls using point cloud density to reduce calculation time and improve the real-time performance of recognition. These technical effects make obstacle recognition based on multi-lidar in roadway environments more accurate and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0026] Figure 1 is an exemplary flow chart of a multi-laser radar obstacle recognition method according to some embodiments of this specification;

[0027] Figure 2 is an exemplary flow chart of a regional point cloud preprocessing algorithm according to some embodiments of this specification;

[0028] Figure 3 is an exemplary flow chart of region-based downsampling according to some embodiments of this specification;

[0029] Figure 4 is an exemplary flow chart of a ground and top filtering algorithm based on horizontal and vertical grid slopes according to some embodiments of the present specification;

[0030] Figure 5 is an exemplary flow chart of a target obstacle recognition algorithm according to some embodiments of this specification.

[0031] Glossary

[0032] Point Cloud is a mathematical expression for the three-dimensional spatial coordinates of surface points of a target object. It consists of a large number of discrete three-dimensional spatial sampling points, each of which contains its xyz coordinate value information. In this application, point cloud mainly refers to the coordinate data set of three-dimensional surface points of target objects (such as tunnel walls, minerals) collected by equipment such as lidar. After processing, these point clouds can calculate the three-dimensional shape, size, surface features and other information of the object, providing data support for the environmental perception of tunnel cruising robots. The main features of point clouds include: composed of a large number of discrete three-dimensional coordinate points, which can represent the surface shape of the object; no continuity, no connection between points; contains coordinate information, and can quantitatively calculate features; the point cloud of the target object can be obtained through the acquisition equipment; it can be processed for tasks such as environmental perception and object recognition.

[0033] Coordinate system restriction clipping refers to the process of intercepting point cloud data based on the set three-dimensional coordinate range. In this application, coordinate system restriction clipping mainly has the following features: setting the three-dimensional coordinate boundary of point cloud data processing; clipping the original point cloud according to the coordinate range; point clouds that exceed the coordinate range limit will be deleted; retaining point cloud data within the limited coordinate range; reducing the point cloud scale and improving processing efficiency; deleting irrelevant and redundant point cloud data; ensuring that the processing is the valid point cloud of interest. Through coordinate system restriction clipping, the complex original point cloud can be reduced to a streamlined area of ​​interest, which greatly reduces the amount of calculation and improves the calculation speed. It can also delete irrelevant point clouds and reduce the difficulty of calculation. It is an important preprocessing step to improve the efficiency of point cloud processing. In short, coordinate system restriction clipping uses the set coordinate range to intercept the original point cloud and obtain the effective point cloud data of focus to reduce the processing difficulty and improve efficiency.

[0034] The region of interest (ROI) refers to the key part of the point cloud data that people are interested in. In this application, the region of interest mainly refers to the three-dimensional spatial object area that is screened out by the point cloud processing algorithm, such as the local area containing the key target. The main features of the region of interest include: it is a local subset of a specific object or scene in the point cloud; it contains key targets or objects of focus; it is segmented from the complete point cloud scene by extraction and segmentation algorithms; it has certain three-dimensional shape and range information; it is a streamlined target of focus. In short, the region of interest is a key part of the point cloud data extracted from a complex point cloud scene. It focuses on the spatial area containing the target information, making subsequent calculations and analysis more efficient.

[0035] Voxel segmentation is an algorithm for 3D point cloud segmentation. Its main idea is: divide the 3D point cloud space evenly into small voxels (voxels); each voxel corresponds to a small cube in the point cloud space; count the number of points in each voxel; according to the set threshold, classify the voxels with a point number greater than the threshold into one category; merge the touching voxels of the same type into a block, that is, a segmented object; repeat the above process until all voxels are classified; finally obtain multiple segmented areas of the point cloud. The voxel segmentation method realizes the unsupervised automatic segmentation of the point cloud by counting the number of points in the voxel. In this application, voxel segmentation can be used to segment key areas such as ore beds and tunnel walls to achieve segmentation and understanding of 3D scenes. It is an effective 3D point cloud segmentation method.

[0036] Two-dimensional rasterization is a preprocessing method that projects and plans three-dimensional point clouds onto a two-dimensional plane. The main ideas and steps are: calculate the three-dimensional range of point cloud data, determine the maximum and minimum values ​​of the X-axis and Y-axis; set a smaller grid length according to the point cloud density and feature size; divide the XZ or XY plane into two-dimensional grids with intersecting rows and columns; calculate the mapping position of each point cloud coordinate on the two-dimensional plane; assign each point cloud to the grid according to the mapping position; perform grid statistical analysis, such as counting the number of point clouds in each grid; based on the statistical results, implement algorithms such as segmentation and classification of point cloud scenes; and finally complete the conversion of point clouds from three-dimensional to two-dimensional structured representation. Two-dimensional rasterization uses coordinates to map point clouds to two dimensions, which is convenient for statistical analysis and feature extraction, and can significantly reduce computational complexity. In this application, it can be used to improve obstacle recognition efficiency.

[0037] Euclidean distance clustering is an unsupervised clustering method for point cloud data. The main idea is: calculate the Euclidean distance between each point in the point cloud data, that is, the actual straight-line distance between two points; according to the set distance threshold, classify the points with a distance less than the threshold into one category; recursively merge point cloud clusters with similar classes according to the clustering criteria; finally form multiple clusters, each of which contains points with similar distances; the clustering results can be used for segment classification and segmentation of point clouds. Euclidean distance measures the geometric distance between different points, which can effectively reflect the slight surface changes of point clouds. In this application, Euclidean distance clustering can be used to identify non-wall obstacles and realize unsupervised classification and segmentation of point cloud scenes. It is a commonly used point cloud clustering method.

[0038] A 3D bounding box is the smallest circumscribed volume that encloses a 3D point cloud or object with a simple 3D shape. Common 3D bounding boxes include: Axis-Aligned Bounding Box (AABB), a cuboid bounding box with all sides aligned to the coordinate axes; Oriented Bounding Box (OBB), a minimum rectangular bounding box that takes the direction of the object into consideration; Spherical Bounding Box (BoundingSphere), a bounding box represented by a sphere; Convex Hull, a bounding box represented by a polyhedron. The main functions of a 3D bounding box are to simplify the representation of the 3D shape and size of a point cloud or object; to quickly determine the relationship between points or objects, such as collision detection; and to provide key geometric information, such as volume, boundaries, etc. In this application, calculating different types of 3D bounding boxes can efficiently represent the size and orientation of various obstacles, and provide key geometric spatial information for path planning.

[0039] An obstacle set refers to a collection of multiple obstacles obtained through environmental perception. In this application, the main features of the obstacle set include: it contains multiple obstacles identified by point cloud processing; each obstacle has a category (wall or non-wall); each obstacle is represented by a three-dimensional bounding box to represent the size and shape; the positions of multiple obstacles constitute an obstacle set; the relationship between obstacles can be quickly determined based on the bounding box; the obstacle information in a complex environment is represented as a whole; obstacle space constraint information is provided for path planning; and it is updated in real time as the robot moves. In summary, the obstacle set as a whole represents the position and geometric information of each obstacle in a complex environment, and is the basic spatial constraint input for path planning.

[0040] The lowest point of the horizontal grid, when performing two-dimensional rasterization processing of point cloud data, the point cloud is divided horizontally, that is, along a fixed direction (such as the X-axis direction), the point cloud is divided into multiple rows of grids. Then, in each horizontal grid, find the point with the smallest Z-axis coordinate, that is, the lowest height. This lowest point is the "lowest point of the horizontal grid". The main features and functions of the lowest point of the horizontal grid include: representing the lowest point cloud data in the grid; can be used to quickly extract ground point clouds; connecting the lowest points of different grids to obtain the ground contour; providing important geometric information for point cloud segmentation; can be used as a key technical means for ground extraction. In short, the lowest point of the horizontal grid is an important geometric feature in the two-dimensional rasterization process, which can be used to efficiently extract point cloud ground and provide support for subsequent recognition. It uses rasterization structured processing to improve the method extraction efficiency.

[0041] The lowest point of the longitudinal grid. When performing two-dimensional rasterization processing of point cloud data, the point cloud is divided longitudinally, that is, along a fixed direction (such as the Y-axis direction), the point cloud is divided into multiple columns of grids. Then, in each longitudinal grid, find the point with the smallest Z-axis coordinate, that is, the lowest height. This lowest point is the "lowest point of the longitudinal grid". The main features and functions of the lowest point of the longitudinal grid include: representing the lowest point cloud data in the grid; can be used to quickly extract ground point clouds; connecting the lowest points of different grids to obtain the ground contour; providing important geometric information for point cloud segmentation; can be used as a key technical means for ground extraction. In short, the lowest point of the longitudinal grid is an important geometric feature in the two-dimensional rasterization process, which can be used to efficiently extract point cloud ground and provide support for subsequent recognition. It uses rasterization structured processing to improve extraction efficiency.

[0042] The main constraint relationships for the horizontal and vertical grid constraints and the horizontal and vertical grid minimum point thresholds are: the ground extraction constraint horizontal and vertical grid minimum point thresholds constrain the bottom height of the ground point cloud that can be extracted, that is, only points below the threshold will be judged as ground points. This ensures the extraction range of ground points; the obstacle height constraint minimum point threshold also indirectly constrains the minimum height of non-ground obstacles, and only obstacle areas above the threshold will be retained; the motion space constraint is based on the constraints of the ground and obstacle heights, and the robot's movable space range can be calculated; the safety spacing constraint robot needs to maintain a certain safety distance from the obstacle, and the minimum point threshold provides a basis for distance determination; the geometric shape constraint can obtain the basic geometric shape of the ground and obstacles according to the threshold. In summary, the minimum point threshold constrains the height range of key elements in the environment, ensuring the safety and feasibility of path planning.

[0043] The highest point of the horizontal grid. When performing two-dimensional rasterization on the point cloud data, the point cloud is horizontally divided along a certain direction (such as the X-axis) to obtain multiple rows of grids. Then, in each horizontal grid, find the point with the largest Z-axis coordinate, that is, the highest height. This point with the maximum height is called the "highest point of the horizontal grid". The main features and functions of the highest point of the horizontal grid: it represents the point cloud data with the highest height in the grid; connecting the highest points of adjacent grids can extract the scene outline; providing scene level height information for point cloud segmentation; can be used to identify protruding obstacles; it is an important geometric feature in the two-dimensional rasterization process. In short, the highest point of the horizontal grid helps to quickly extract the height features of the point cloud scene, provides important support in level segmentation and obstacle identification, and is the key geometric information for rasterization processing.

[0044] The highest point of the longitudinal grid. When performing two-dimensional rasterization on the point cloud data, the point cloud is divided longitudinally along a certain direction (such as the Y axis) to obtain multiple columns of grids. Then, in each longitudinal grid, find the point with the largest Z-axis coordinate, that is, the highest height. This point with the maximum height is called the "highest point of the longitudinal grid". The main features and functions of the highest point of the longitudinal grid: it represents the point cloud data with the highest height in the grid; connecting the highest points of adjacent grids can extract the scene outline; providing scene hierarchical height information for point cloud segmentation; can be used to identify protruding obstacles; it is an important geometric feature in the two-dimensional rasterization process. In short, the highest point of the longitudinal grid helps to quickly extract the height features of the point cloud scene, provides important support in hierarchical segmentation and obstacle identification, and is the key geometric information for rasterization processing.

[0045] Z-axis height limit filtering, when pre-processing the point cloud data, performs filtering processing to limit the height range according to the height information of the point cloud data in the Z-axis direction. The main ideas and steps are: analyze the Z-axis height range of the point cloud data and determine the appropriate height limit threshold; set the maximum and minimum height limits of the Z-axis; compare whether the Z-axis height of each point is within the set height limit range; retain the points with heights within the range, and filter and delete the points with heights outside the range; finally obtain the filtered point cloud data with limited Z-axis height. The main functions of the Z-axis height limit filtering are: delete outliers with abnormal heights; reduce the amount of point cloud data; extract point clouds with height ranges of interest; and provide better input data for subsequent recognition and segmentation algorithms. In summary, the Z-axis height limit filtering can effectively delete noise points and improve the quality of point cloud processing by filtering according to height information.

[0046] Axis-aligned bounding box (AABB) is a three-dimensional bounding box whose characteristic is that all edges are aligned with the xyz coordinate axis. Its main features include: the shape is a rectangular cuboid; the boundary is parallel to the coordinate axis direction; it can tightly enclose the three-dimensional shape of the object; it is defined by the coordinates of two diagonal vertices; it is simple and efficient, and the calculation and judgment of intersection are fast. In this application, the axis-aligned bounding box can be used to represent the three-dimensional spatial shape of obstacles; quickly judge the collision relationship between obstacles; provide the position and geometric information of obstacles for path planning; efficiently calculate the intersection of the robot and the environment, and judge the collision. In summary, the axis-aligned bounding box is a simple and effective bounding box that represents the shape of a three-dimensional object, which can provide support for the path planning in this application.

[0047] An oriented bounding box (OBB) is a minimum bounding rectangular box that takes into account the direction of a three-dimensional object. Its characteristics are: it is rectangular in shape and aligned with the direction of the object; it can closely conform to the shape and direction of the object; it can minimize the boundary through rotation transformation; it is defined by a center point, three axial vectors, and three pairs of projection distances; it has better adaptability than an axis-aligned bounding box; and it is more complicated to calculate the transformation relationship. In this application, an oriented bounding box can be used to: closely represent the size and direction of obstacles; provide accurate spatial information of obstacles for collision detection; provide support for path planning that considers orientation; and calculate the precise intersection between robot motion and obstacles. In summary, an oriented bounding box can efficiently represent the direction of an object, providing key support for the orientation-sensitive path planning of this application.

[0048] Radius filtering is a point cloud filtering method based on distance threshold. The core idea is: select a point P in the point cloud data as a reference point; calculate the Euclidean distance from all other points to point P to obtain a distance set; set the distance threshold R as the filter radius; retain neighboring points whose distance to point P is less than R, and delete points whose distance is greater than R; filter each point in turn as a reference point. The main functions and features of radius filtering: remove outliers and noise points; control the retained density by adjusting the radius; keep the edge contour of the point cloud unchanged; simple, efficient and easy to implement. In this application, radius filtering can be used to remove isolated and abnormal points, improve the quality of point clouds, and provide filtered input data for subsequent processing.

[0049] The size of the voxel, a voxel is the smallest unit that represents a spatial unit cube in a three-dimensional point cloud. The size of the voxel refers to the side length of the cubic voxel unit used to segment the three-dimensional point cloud. The main considerations for setting the voxel size are: the density and distribution of the original point cloud; the requirements for the precision of the three-dimensional shape representation; the calculation and storage requirements of the subsequent algorithm; the level of detail required to describe the overall three-dimensional scene. A smaller voxel size can represent more three-dimensional shape details, but it will also increase the amount of calculation. In this application, a reasonable setting of the voxel size can both ensure the shape characteristics and control the complexity of the algorithm. In summary, the voxel size directly affects the three-dimensional reconstruction effect and the efficiency of the algorithm, and it is necessary to set a suitable value for the specific scene. DETAILED DESCRIPTION

[0050] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0051] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0052] The method and system provided by the embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0053] Figure 1 is an exemplary flow chart of a multi-laser radar obstacle recognition method according to some embodiments of this specification, such as Figure 1 As shown, a multi-lidar obstacle recognition method includes the following technical steps: S110 point cloud preprocessing step: obtain the original three-dimensional point cloud collected by multiple laser radars, perform coordinate system conversion and cropping on the point cloud data, and extract the point cloud of the area of ​​interest; then use the voxel segmentation method to segment the point cloud into functional areas, and perform downsampling processing on the point clouds of different functional areas; S120 ground top fast filtering step: two-dimensionally rasterize the preprocessed point cloud data, calculate the lowest point and the highest point in each grid unit, judge the lowest point of the ground and the highest point of the top based on two sets of threshold constraints in the horizontal and vertical directions, and then determine the ground point and the top point; filter the top point in combination with the Z-axis height constraint to obtain the filtered non-ground non-top point cloud; S130 obstacle recognition step: calculate the two-dimensional grid of the non-ground non-top point cloud, and directly judge the wall obstacle point cloud according to the point cloud density in the grid; perform Euclidean distance clustering on the non-wall point cloud to identify obstacles; finally generate the bounding box of each obstacle, and output the obstacle set information.

[0054] Specifically, multiple groups of original three-dimensional point cloud data collected by lidar are obtained; in the vehicle coordinate system, the point cloud data is cropped in the coordinate range of the X / Y / Z directions according to the preset vehicle size parameters to extract the point cloud of the area of ​​interest; the area of ​​interest is divided into multiple sub-areas according to the distance: the body surface area: including the outer surface of the vehicle, used to extract the shape and contour information of the vehicle; the first threshold area: the area relatively close to the vehicle, used to obtain higher-resolution point cloud data; the second threshold area: the medium-distance area around the vehicle, used to obtain medium-resolution point cloud data; the third threshold area: the relatively far area around the vehicle, used to obtain lower-resolution point cloud data; different strategies are used to downsample the point clouds in different sub-areas: the body surface point cloud: the radius filtering algorithm is applied to remove outliers and retain the body surface point cloud. Point cloud in the first threshold area: downsample using a smaller voxel size to retain point cloud information with higher resolution; point cloud in the second threshold area: retain the original point cloud data without downsampling; point cloud in the third threshold area: downsample using a larger voxel size to reduce the amount of point cloud data; Through the operations in the above embodiments, multiple groups of original three-dimensional point cloud data collected by lidar are preprocessed. According to the vehicle size parameters, the point cloud data is cropped to extract the point cloud of the area of ​​interest. Then the area of ​​interest is divided into different sub-areas according to the distance, and different downsampling strategies are adopted for each sub-area to obtain point cloud data with different resolutions. In the specific implementation, the parameters should be adjusted according to the actual needs and data characteristics to obtain the best point cloud preprocessing results.

[0055] Specifically, the ground top fast filtering steps are: perform two-dimensional rasterization on the preprocessed point cloud data; calculate the lowest point and the highest point of each grid; determine the ground lowest point based on the horizontal and vertical lowest point threshold constraints; take the ground lowest point as the reference, calculate the slope from the point to the ground lowest point, and determine the point that is less than the ground slope threshold as the ground point; determine the top highest point based on the horizontal and vertical highest point threshold constraints; take the top highest point as the reference, calculate the slope from the point to the top highest point, and determine the point that is less than the top slope threshold as the top point; perform axial height limit filtering on the top point in the Z-axis direction to obtain the filtered non-ground non-top point cloud.

[0056] In this embodiment, the preprocessed point cloud data is subjected to two-dimensional rasterization. The point cloud data is projected onto a plane and divided into a series of grids; the lowest point and the highest point of each grid are calculated. Each grid is traversed to find the height values ​​of the lowest point and the highest point therein; the lowest point on the ground is determined based on the horizontal and vertical lowest point threshold constraints. According to the preset horizontal and vertical lowest point thresholds, point clouds with heights below the threshold are screened out in each grid, and these point clouds are determined as the lowest point on the ground; with the lowest point on the ground as the reference, the slope from the point to the lowest point on the ground is calculated. For each point cloud that is not the lowest point on the ground, the slope between it and the lowest point on the ground is calculated, for example, by calculating the ratio of the height difference to the horizontal distance; points less than the ground slope threshold are determined as ground points. According to the preset ground slope threshold, point clouds with slopes less than the threshold are screened out, and these point clouds are determined as ground points; the highest point on the top is determined based on the horizontal and vertical highest point threshold constraints. According to the preset horizontal and vertical highest point thresholds, point clouds with heights higher than the thresholds are screened out in each grid, and these point clouds are determined as the top highest points; with the top highest point as the reference, the slope from the point to the top highest point is calculated. For each point cloud that is not the top highest point, the slope between it and the top highest point is calculated, for example, by calculating the ratio of the height difference to the horizontal distance; points less than the top slope threshold are determined as top points. According to the preset top slope threshold, point clouds with slopes less than the threshold are screened out, and these point clouds are determined as top points; the top points are subjected to axial height limit filtering in the Z-axis direction. According to the preset top height limit value, the top points with heights exceeding the height limit value are filtered out in the Z-axis direction; and the filtered non-ground non-top point cloud is obtained. The non-ground non-top point cloud screened out by the above processing steps is taken as the final result; through the ground top fast filtering step in the above embodiment, the ground and non-ground non-top points in the point cloud can be effectively extracted, providing accurate data input for subsequent obstacle identification and other applications.

[0057] Specifically, the obstacle identification steps are as follows: calculate the two-dimensional grid of non-ground and non-top point clouds; directly determine the wall obstacle point cloud according to the point cloud density in the grid; perform Euclidean distance clustering on the non-wall point cloud to identify obstacles; generate a bounding box for each obstacle; output obstacle information, including category, bounding box parameters and number of point clouds.

[0058] In this embodiment, a two-dimensional grid of non-ground and non-top point clouds is calculated. The filtered non-ground and non-top point clouds are subjected to two-dimensional gridding processing, and the point cloud data is projected onto a plane and divided into a series of grids; the wall obstacle point cloud is directly judged according to the point cloud density in the grid. Each grid is traversed to calculate the density of the point cloud in the grid. If the point cloud density in the grid is higher than the preset wall judgment threshold, the point cloud in the grid is judged as a wall obstacle point cloud; the non-wall point cloud is subjected to Euclidean distance clustering to identify obstacles. For the point cloud in the grid of non-wall, the point cloud is grouped using the Euclidean distance clustering algorithm. If the Euclidean distance between two points is less than the preset cluster distance threshold, they are divided into the same cluster; a bounding box is generated for each obstacle. For each obstacle formed by the cluster, a minimum bounding box is calculated according to the minimum bounding box generation algorithm of the point cloud, and the bounding box is used to represent the spatial range of the obstacle; the obstacle information is output, including the category, bounding box parameters and the number of point clouds. For each identified obstacle, its category, bounding box parameters (such as center point, length, width and height) and the number of point clouds are output for subsequent processing and application. Through the obstacle identification step in the above embodiment, the filtered non-ground and non-top point clouds can be rasterized and obstacles can be determined and clustered, and finally the obstacle information is output.

[0059] In summary, the multi-laser radar obstacle recognition method of the present invention consists of three steps: point cloud preprocessing, ground top fast filtering and obstacle recognition, which together solve the technical problem of low obstacle recognition accuracy in the existing technology under complex tunnel environment. Among them, the point cloud preprocessing step improves the utilization efficiency of point clouds in different occluded areas and enhances the integrity of obstacle point clouds through multi-scale downsampling, which is the basis for improving the recognition accuracy of the overall solution. This is different from the simple filtering point cloud processing in the prior art; the fast filtering step accurately extracts the ground point cloud, effectively filters the non-obstacle point cloud, and avoids subsequent invalid recognition of it, thereby improving the recognition accuracy. This point improves the adaptability of ground point cloud extraction compared with the simple linear fitting in the prior art; in the recognition step, the wall is directly classified by using the point cloud density, skipping a large number of unnecessary clustering operations, greatly reducing the recognition time, and improving the real-time performance in the tunnel environment. This is significantly different from the comprehensive clustering recognition method in the prior art. Through the coordinated operation of the above three steps, an overall technical solution is formed, which further improves the efficiency of multi-laser radar obstacle recognition in the tunnel scene on the basis of ensuring the recognition accuracy.

[0060] Figure 2 is an exemplary flow chart of a regional point cloud preprocessing algorithm according to some embodiments of this specification, such as Figure 2 As shown in the figure, the regional point cloud preprocessing algorithm includes the following technical steps:

[0061] Acquire multiple groups of original three-dimensional point cloud data collected by laser radar; in the vehicle coordinate system, perform coordinate clipping on the original point cloud data in the X-axis, Y-axis and Z-axis directions to extract the point cloud of the area of ​​interest related to the vehicle movement; divide the area of ​​interest into multiple functional sub-areas according to the preset vehicle size parameters, including the vehicle surface area, the first threshold area, the second threshold area and the third threshold area; use different preprocessing strategies to downsample the point clouds in different functional sub-areas; output the preprocessed regional point cloud data set. Through the above technical steps, the regional point cloud downsampling with different preprocessing strategies according to the different functions of the point cloud acquisition area is realized, providing effective point cloud data for subsequent ground extraction.

[0062] Specifically, the original point cloud data collected by multiple groups of lidars contains a large number of redundant points. The data is cropped in the coordinate axis direction to extract the point cloud related to the vehicle movement, effectively reducing the amount of point cloud. Point clouds in different areas have different effects on environmental understanding. Different areas are divided according to distance and different downsampling strategies are adopted to retain the point cloud features of key areas. The point cloud on the surface of the vehicle body is useless for environmental recognition. Radius filtering is used to remove the body points to reduce redundancy. The processing time of a large amount of point cloud data is long. Downsampling is carried out by region and strategy to quickly and efficiently reduce the amount of point clouds and reduce the burden of subsequent processing calculations. Excessive downsampling leads to information loss. The fidelity of the point cloud in key areas is controlled to ensure the effect of environmental recognition.

[0063] In this embodiment, multiple groups of original three-dimensional point cloud data collected by laser radar are obtained, which contain a large number of redundant points; in the vehicle coordinate system, the original point cloud data is cropped in the direction of the coordinate axis to extract the point cloud related to the vehicle movement. The cropping process can be achieved by setting the minimum and maximum range of each axis; the point cloud is partitioned according to the distance. According to the preset distance threshold, the point cloud data is divided into different areas, such as the vehicle surface area, the first threshold area, the second threshold area and the third threshold area; different downsampling strategies are used for point clouds in different areas to retain the point cloud features of key areas. For example: for the point cloud of the vehicle surface area, the radius filtering method is used to remove the body points and reduce redundant point clouds; for the point cloud of the key area, the appropriate voxel size is set according to the distance for voxel downsampling to retain the point cloud features of the key area; by combining the point clouds of different areas that have been downsampled, a preprocessed point cloud data set is formed. Each area can be saved as an independent point cloud data set, or all areas can be aggregated into a global data set; through the point cloud preprocessing steps in the above embodiment, the point cloud volume can be effectively reduced and the point cloud features of the key areas can be retained by using the cropping in the coordinate axis direction and the downsampling method of the region and strategy. In this way, a large amount of point cloud data can be processed quickly and efficiently, and the computational burden of subsequent processing can be reduced. At the same time, it is necessary to pay attention to controlling the fidelity of the point cloud in the key area to ensure the effect of environmental recognition.

[0064] In summary, the present invention starts from the perspective of point cloud preprocessing, fully considers the point cloud distribution characteristics and processing objectives, and adopts a preprocessing process with different regions and strategies. In terms of technical principles, it not only reduces the amount of point cloud data, but also ensures the key point cloud features, thereby solving the problem of redundant point cloud processing of multiple laser radars. Due to perspective, occlusion and other reasons, point cloud distribution and characteristics are different in different vehicle body areas, so regional processing is required to adapt to the point cloud characteristics of different areas; the area is divided according to the vehicle body size parameters, which can be divided according to the actual distribution of the point cloud, so that each area contains point clouds with similar characteristics, providing a basis for regional processing; the radius filtering of the vehicle surface area removes the point cloud of the vehicle body itself to reduce the processing burden; the first threshold area is sparsely processed: the point cloud density in this area is large but it is not very meaningful for ground extraction, and the sampling is downsampled to reduce the scale of subsequent processing; the original point cloud of the second threshold key area is retained to ensure the accuracy of the point cloud containing key ground information, so as to improve the accuracy of subsequent ground extraction; the third threshold area is downsampled, and this area has little to do with the ground, so the sampling is downsampled to reduce the processing scale; the preprocessing strategy is designed according to the actual function of the point cloud to distinguish the area, so that the point cloud characteristics of each area are processed most appropriately, which not only ensures the accuracy of the key area, but also reduces the amount of calculation, which is conducive to improving the effect and efficiency of ground extraction; finally, the preprocessed regional point cloud is output to provide point cloud data with key information and suitable scale for subsequent ground extraction, so as to solve the problem of low efficiency of directly using the original point cloud. The design of regional preprocessing fully considers the point cloud distribution characteristics and processing requirements, so that the entire method can better adapt to complex roadway scenes to improve processing accuracy and efficiency.

[0065] Figure 3 is an exemplary flow chart of sub-region downsampling according to some embodiments of this specification, such as Figure 3As shown, the regional downsampling includes the following technical steps: performing radius filtering preprocessing on the point cloud of the vehicle surface area; defining a radius threshold to specify the neighborhood range of the vehicle surface point cloud; for each point in the vehicle surface area, calculating the point cloud density in the surrounding neighborhood; if the density is lower than the preset threshold, the point cloud is determined as a vehicle surface point and removed from the point cloud data; performing voxel downsampling of a first size on the point cloud in the first threshold area; defining a voxel size to specify the side length of the downsampled voxel; performing downsampling on the point cloud in the first threshold area Downsample voxels, merge point clouds with close distance into one voxel, reduce the amount of point cloud data; retain the original point cloud in the second threshold area; do not downsample the point cloud in the second threshold area, and retain its original data; downsample the point cloud in the third threshold area to the second size; define a voxel size, the side length of which is N1 times the first size; downsample the point cloud in the third threshold area to merge point clouds with close distance into one voxel; wherein the numerical size of the first size is N1 times the numerical size of the second size, and N1 is a positive integer. The numerical size of the third threshold is N2 times the numerical size of the first threshold or the second threshold, and N2 is a positive integer.

[0066] Among them, from the perspective of area division, the present invention divides the point cloud into multiple sub-areas including the vehicle body, short distance, medium distance and long distance according to the distance between the point cloud and the vehicle body. This makes it possible to implement different processing strategies for point clouds in different areas, thereby improving the targeted processing; from the perspective of size ratio limitation, the point cloud in the short distance area uses smaller voxels, and the medium and long distance areas use larger voxels. This is consistent with the distribution density of point clouds in each area, avoiding information loss caused by excessive downsampling. This solution retains the point clouds in the key areas before and after the vehicle body to avoid a decrease in recognition rate. Different downsampling strategies are used in different areas to reduce the amount of calculation and ensure the effect. This solution addresses the problem of large amount of redundant point cloud data from multiple laser radars, realizes rapid filtering and downsampling, reduces the computational burden of subsequent recognition, and ensures real-time performance. At the same time, the point cloud features in key areas are maintained to ensure recognition effect.

[0067] Specifically, the first threshold area is defined as follows: according to the distance from the edge of the vehicle body to the corresponding laser radar, in this embodiment, Figure 3Middle area 1 is the body contour boundary, and a 1-meter range around the body edge is set as the first threshold area; Definition of the second threshold area: According to the body size parameters, in this embodiment, a 15-meter range in front of the body and a 10-meter range behind the body are set as the second threshold area; Definition of the third threshold area: According to the obstacle recognition requirements of the body side, in this embodiment, a 5-meter range on each side of the body is set as the third threshold area; Definition of the first size: According to the environmental details and point cloud distribution near the first threshold area, in this embodiment, a 0.2-meter cubic pixel is set as the first size; Definition of the second size: According to the sparse point cloud characteristics of the third threshold area, in this embodiment, a 0.5-meter cubic pixel is set as the second size; Size relationship definition: The first size is N1 times the second size, N1 is 2, and in this embodiment, the first size is twice the second size; Threshold relationship definition: The third threshold area distance is N2 times the first threshold area distance, and in this embodiment, N2 is 5, that is, the third threshold distance is 5 times the first threshold distance.

[0068] In summary, different downsampling strategies are used for different areas because the point cloud features and importance of different areas are different and need to be classified; radius filtering is performed on the surface area of ​​the vehicle body to delete the point cloud of the vehicle body itself and reduce the burden of subsequent processing; the first threshold area is downsampled by the first size voxel because the point cloud density in this area is large and has little significance for ground extraction. Sparse sampling can greatly reduce the data size and reduce the amount of calculation; the second threshold area retains the original point cloud because this area contains key ground point cloud information. In order to ensure the accuracy of ground extraction, the original point cloud resolution needs to be maintained; the third threshold area is downsampled by the second size voxel because Since it has little correlation with the ground, appropriate sampling can reduce the data size and calculation amount; setting the first size larger than the second size is because the point cloud in the first threshold area is dense and requires a high degree of downsampling; while the point cloud in the third threshold area is relatively sparse, the sampling granularity can be finer to retain more features; setting the third threshold larger than the first and second thresholds is because the third area is far from the ground and needs to be downsampled in a wider range; through the design of regional, level, and customized sampling granularity, the point cloud in each area can be downsampled at the optimal level, which not only ensures key ground features but also minimizes redundant data, thereby improving the performance and efficiency of ground extraction in complex scenarios. In short, the technical design of regional downsampling is formulated in combination with scene requirements and point cloud distribution characteristics, with strong pertinence, and provides effective pre-processing of point cloud data to improve the accuracy of ground extraction.

[0069] Figure 4 is an exemplary flow chart of a ground and top filtering algorithm based on horizontal and vertical grid slopes according to some embodiments of this specification, such as Figure 4As shown in the figure, the ground and top filtering algorithm based on the horizontal and vertical grid slope includes the following technical steps: the pre-processed three-dimensional point cloud data is two-dimensionally gridded, and the lowest and highest points of each grid unit are calculated; the lowest point of the ground area around the vehicle is determined by the horizontal grid lowest point threshold constraint. The lowest point of each grid is traversed, and if the height of the lowest point is lower than the preset ground point threshold, the grid is marked as a ground area; the lowest point of each column grid is determined by the longitudinal grid lowest point threshold constraint. Each column grid is traversed from left to right, and the height of the lowest point of the adjacent columns is checked to see if the height of the lowest point of the adjacent columns meets the longitudinal adjacent grid lowest point height constraint. If the difference in the lowest point height is less than the preset longitudinal lowest point consistency threshold, these grids are marked as ground areas; the slope of each point to the corresponding grid lowest point is calculated, and those less than the preset slope threshold are identified as ground points; similarly, the top point is determined according to the longitudinal grid highest point threshold constraint. Traverse the highest point of each grid. If the height of the highest point is higher than the preset top point threshold, mark the grid as the top area; calculate the slope from each point to the highest point of the corresponding grid, and identify the point that is less than the preset slope threshold as the top point; use Z-axis height limit filtering on the top point to remove outliers. According to the preset top maximum height threshold, filter out the top points that exceed the height; finally output the filtered non-ground and non-top point cloud, including the ground area and the non-ground and non-top area point cloud determined by horizontal and vertical constraints;

[0070] Through the point cloud ground and top filtering steps in the above embodiment, the grid constraint information in both horizontal and vertical directions can be used to avoid misjudgment caused by complex situations such as long slopes, and improve the recognition accuracy of ground and top points. By combining slope filtering and axial height limit filtering, the filtering effect is further improved, the ground and top abnormal points are removed, and the filtered non-ground and non-top point cloud data is obtained.

[0071] Among them, the horizontal grid lowest point threshold M1 and the vertical grid lowest point threshold M2 satisfy the following size relationship: M1 = M * M2, where M is a positive integer, such as 2, 3, etc.; this means that the horizontal grid lowest point threshold M1 is an integer multiple of the vertical grid lowest point threshold M2, and M1 is greater than M2; the value of M can be adjusted according to actual conditions to achieve a suitable horizontal and vertical grid threshold relationship; the constraint relationship between the horizontal grid highest point threshold M3 and the vertical grid highest point threshold M4 determines the top highest point: the horizontal grid highest point threshold constraint relationship: to accept a point in a grid as a top candidate point, the following conditions must be met: the height difference with the highest point of the adjacent grid is less than the M3 value, indicating local horizontal coherence; if a grid has no adjacent grid, its highest point is accepted by default The highest point is used as a candidate point; the vertical grid highest point threshold constraint relationship: To accept a point in a grid as a top candidate point, the following conditions must be met: the height difference between the highest point in the same grid column and the highest point in the adjacent grid column is less than the M4 value, indicating longitudinal coherence; combining the horizontal and vertical constraints, determine the top highest point of each grid: for each grid, check whether its highest point satisfies the horizontal and vertical constraints; if it satisfies both the horizontal and vertical constraints, mark the point as the top area and use it as a top candidate point; through the above constraints, the size relationship of the horizontal and vertical grid thresholds is used to achieve the discrimination constraint on the coherence of the ground and top point clouds. This constraint control can avoid the interference of individual outliers on the ground and top recognition results, and improve the reliability of ground and top recognition.

[0072] Specifically, the point cloud is rasterized, and the collected point cloud data is transformed into the vehicle coordinate system. In this embodiment, the calculated point cloud ranges from 0 meters to 50 meters in the X-axis direction and from -5 meters to 5 meters in the Y-axis direction. The grid size is set to 0.5 meters × 0.5 meters, and it can be divided into a two-dimensional grid of 100 rows and 100 columns. The point cloud data is projected onto the grid structure, and the highest point Z high and the lowest point Z low of each grid unit are counted; the horizontal lowest point constraint, in this embodiment, the horizontal lowest point height difference threshold M1 is set to 0.05 meters. For each grid, compare it with the lowest point Z low of its adjacent grid. If the height difference is less than M1, the lowest point is accepted; the longitudinal lowest point constraint, in this embodiment, the longitudinal lowest point height difference threshold M2 is set to 0.02 meters. The relationship between M1 and M2 is M1=2*M2. For each grid, compare the lowest point Z with the lowest point of the adjacent grids in the same column. If the height difference is less than M2, accept the lowest point; extract the ground using the slope method. In this embodiment, calculate the slope from each point to the lowest point of the corresponding grid, and set the slope threshold to 10 degrees. Points with a degree less than 10 are determined as ground points; extract the top using the horizontal and vertical methods. Repeat the above steps, set the horizontal threshold M3 to 0.1 meters, and the vertical threshold M4 to 0.05 meters to extract the highest point of each grid; extract the top using the slope method. Calculate the slope from the point to the highest point of the corresponding grid. Set the slope threshold to 20 degrees, and points with a degree less than 20 degrees are determined as top points; perform Z-axis height limit filtering, and perform Z-axis limit. In this embodiment, points within a height range of 2.5 meters are reserved as top points; output the filtered non-ground and non-top point cloud.

[0073] In summary, rasterization processing: convert the disordered point cloud into a structured raster representation, which is convenient for accessing the statistical features of each raster by row and column index, laying the foundation for subsequent judgment processing; constrain the lowest point horizontally, consider the continuity of the ground, the height difference of the lowest points of adjacent grids will not have a large jump, and the horizontal threshold constraint can effectively suppress the influence of local outliers on the judgment; constrain the lowest point vertically, in the same column direction, the height change of the lowest point is also continuous, and the vertical threshold is further constrained to avoid missing ground points; the slope method is used to extract the ground, based on the lowest point of the grid, considering the point-to-surface distance, and distinguishing the continuous and slowly changing ground from irregular obstacles; constraining the highest point horizontally and vertically, with the same idea, considering the continuity of the top surface, suppressing the influence of outliers on the top judgment; extracting the top by the slope method, distinguishing between the arched top surface and irregular protrusions; limiting the axial height, further removing the overly high misjudged points, and refining the top features; outputting non-ground and non-vertex clouds, refining the point cloud of the object of interest, and providing effective data for subsequent recognition processing. In summary, the algorithm fully considers the geometric characteristics of the top of the ground, improves the judgment stability through grid and threshold constraints, refines the point cloud through multi-stage filtering, and improves the filtering accuracy.

[0074] Figure 5 is an exemplary flow chart of a target obstacle recognition algorithm according to some embodiments of this specification, such as Figure 5 As shown in FIG, the target obstacle recognition algorithm includes the following technical steps: performing two-dimensional rasterization processing on the filtered non-ground non-top point cloud data; counting the number of point clouds in each grid, if the number of point clouds is greater than a preset threshold, the grid is identified as containing a wall obstacle, and all the point clouds in the grid are used as wall point clouds; removing the wall grid from the grid, and retaining the remaining point clouds as non-wall obstacle candidate point clouds; performing Euclidean distance clustering on the non-wall candidate point clouds to obtain non-wall obstacle point cloud clusters; using the clustering information to calculate the three-dimensional bounding boxes of wall and non-wall obstacles; for wall point clouds, an axis-aligned bounding box representation can be used, that is, the minimum bounding rectangle (Minimum Bounding Rectangle, MBR) of the wall point cloud is calculated; for non-wall point cloud clusters, an oriented bounding box representation can be used, that is, the minimum oriented bounding rectangle (Minimum Oriented Bounding Rectangle, MBR) of the non-wall point cloud cluster is calculated. Rectangle, MOR); output obstacle category, bounding box parameters, point cloud quantity and other information, store or visualize the recognition result information; identify wall and non-wall obstacles by combining raster statistics with clustering, and use clustering information to calculate the bounding box representation of different types of obstacles, so as to extract obstacle information in the environment. Walls are represented by axis-aligned bounding boxes, and non-wall obstacles are represented by oriented bounding boxes, which can more accurately describe the shape and location of obstacles.

[0075] Specifically,

[0076] The non-ground and non-top point clouds are rasterized in two dimensions, and the grid size is smaller than the grid size of the ground filter to adapt to the sparse characteristics of the distant point clouds; the number of point clouds in each grid is counted, and the grids with a number greater than the preset threshold are identified as wall point clouds and directly marked as obstacles; the wall grids are removed from the grid, and the remaining point clouds are retained as non-wall obstacle candidate point clouds; Euclidean distance clustering is performed on the non-wall candidate point clouds, and considering the sparsity of the distant point clouds, a larger clustering radius and a smaller clustering threshold are set; Euclidean distance clustering generates non-wall obstacle point cloud clusters; the bounding boxes of the identified walls and non-wall obstacles are calculated; for wall obstacles, the axis-aligned bounding box (AABB) is used to represent them, and the minimum bounding rectangle of the wall point cloud is calculated; for non-wall obstacles, the oriented bounding box (OrientedBounding Box) is used The minimum oriented bounding rectangle of the non-wall obstacle point cloud cluster is calculated by using the boundary box (OBB) representation; the obstacle category, bounding box parameters and other identification information are output, and the identification result information can be stored or visualized; through the operations in the above embodiments, the non-ground and non-top point clouds are rasterized, the number of grid point clouds is counted, the wall point cloud is identified, the Euclidean distance clustering and the bounding box calculation process can realize the identification of wall and non-wall obstacles and obtain their corresponding bounding box representations. Wall obstacles use axis-aligned bounding boxes (AABB), while non-wall obstacles use oriented bounding boxes (OBB). In the specific implementation, parameter adjustment and verification should be carried out according to the actual scene and data characteristics to obtain accurate obstacle identification results and bounding box representations.

[0077] More specifically, the point cloud scene range is determined as X: 0 meters to 50 meters, Y: -5 meters to 5 meters; according to the point cloud scene and requirements, a reasonable grid size is selected, for example, the grid size is set to 0.2 meters; sampling statistics are performed on typical wall areas to determine the minimum number of grid samples N. Assuming that statistics show that there are 100 point cloud samples per grid in the wall area on average, N=100 is selected as the minimum number of grid samples; the judgment threshold K is determined according to the coefficient k, where k is an integer between 1 and 3. Assuming k=2 is selected, the judgment threshold K=2*N=200; the grid is traversed and the number of point clouds in each grid is counted; if the number of point clouds in a certain grid is greater than or equal to the judgment threshold K (that is, greater than or equal to 200), all point clouds in the grid are identified as wall point clouds; the grid point clouds determined as walls are output as obstacle information, where the number of wall point clouds may far exceed the judgment threshold K; through the operations in the above embodiments, the grid size is determined according to the point cloud scene, and the wall point cloud is determined by sampling statistics and threshold setting. In this example, the grid size is 0.2 meters, and the grid point cloud number threshold is set to 200. If the number of point clouds in a certain grid reaches or exceeds 200, that is, 350 point clouds, all point clouds in the grid will be identified as wall point clouds. This embodiment can adjust parameters and verify them according to the actual scene to achieve a balance between accuracy and efficiency, and further be used for the overall obstacle identification solution.

[0078] In summary, this application can achieve fast and accurate obstacle identification in the lane environment by reducing the amount of non-wall point clouds through segmentation, reducing the amount of clustering operations, and optimizing clustering parameters by considering distance factors. Rasterization processing divides the point cloud space into regular grids to facilitate statistical analysis of the distribution of point clouds in each grid; wall identification, using the high density of wall point clouds, quickly locates and extracts wall areas through grid statistics; non-wall extraction, removes high-density areas, and reduces the amount of subsequent clustering calculations; Euclidean clustering, considering that non-wall surfaces may be uneven, uses Euclidean distance to measure the similarity of neighboring point clouds; bounding box calculation, reasonably represents the volume space information of different obstacles; axis-aligned bounding boxes, reduce storage parameters, and are suitable for regular planes such as walls; directional bounding boxes, more accurately fit irregular surfaces, and are suitable for protruding obstacles; information output: provide key recognition results for subsequent processes such as path planning. In summary, the algorithm makes full use of the geometric features of point clouds, combines grid statistics with clustering algorithms to achieve rapid identification, calculates different types of bounding boxes to accurately represent obstacles, outputs key information, and improves the efficiency and safety of subsequent motion control.

[0079] The above schematically describes the invention and its implementation methods, which is not restrictive. Without departing from the spirit or basic features of the invention, the invention can be implemented in other specific forms. What is shown in the accompanying drawings is only one of the implementation methods of the invention. The actual structure is not limited thereto, and any figure mark in the claims should not limit the claims involved. Therefore, if a person of ordinary skill in the art is inspired by it, and does not deviate from the purpose of the invention, and does not creatively design a structural method and embodiment similar to the technical solution, they should all fall within the scope of protection of this patent. In addition, the word "including" does not exclude other elements or steps, and the word "one" before the element does not exclude the inclusion of "multiple" elements. The multiple elements stated in the product claim can also be implemented by one element through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.

Claims

1. A multi-lidar obstacle recognition method for identifying obstacles in a roadway. include: Point cloud preprocessing step, obtaining the original three-dimensional point clouds collected by multiple lidars; Crop the point cloud by limiting the coordinate system and extracting the area of ​​interest; The voxel segmentation method is used to perform downsampling preprocessing on point clouds of different functional areas; The ground top fast filtering step is to perform two-dimensional rasterization on the preprocessed point cloud, calculate the lowest point in each grid cell, and use the horizontal and vertical slope constraints to judge the ground point; calculate the highest point in each grid cell, use the horizontal and vertical slope constraints to judge the top point, and combine the straight-through filtering to perform top filtering to obtain the filtered non-ground non-top point cloud; Obstacle identification step: calculate the two-dimensional grid of non-ground and non-top point clouds, directly treat the wall point cloud as an obstacle according to the point cloud density, perform Euclidean distance clustering on the non-wall point cloud, generate an obstacle bounding box, and output the obstacle set; The ground top fast filtering steps include: Convert the preprocessed three-dimensional point cloud data into two-dimensional raster; Calculate the lowest point in each grid unit, wherein the lowest point includes the lowest point of the horizontal grid and the lowest point of the vertical grid; The lowest point on the ground is determined by using the constraint relationship between the horizontal grid lowest point threshold M1 and the vertical grid lowest point threshold M2; Taking the determined lowest point on the ground as a reference, the slope from each point to the lowest point on the ground is calculated, and when the slope is less than a ground slope threshold, the point is identified as a ground point; Calculate the highest point in each grid unit, wherein the highest point includes the highest point of the horizontal grid and the highest point of the vertical grid; The highest point on the top is determined by using the constraint relationship between the horizontal grid highest point threshold M3 and the vertical grid highest point threshold M4; Taking the determined highest point of the top as a reference, the slope from each point to the highest point of the top is calculated, and when the slope is less than the top slope threshold, the point is identified as the top point; Perform Z-axis height limit filtering on the identified top points to obtain the filtered non-ground and non-top point cloud; Among them, the constraint relationship between the horizontal grid minimum point threshold M1 and the vertical grid minimum point threshold M2 is: the value of M1 is M times of M2, and M is a positive integer; The constraint relationship between the horizontal grid highest point threshold M3 and the vertical grid highest point threshold M4 is used to determine the top highest point, including: The constraint relationship of the horizontal grid highest point threshold is: if the height difference between the highest points of adjacent grids is less than the preset horizontal grid highest point threshold, the highest point is accepted as the top point candidate; The constraint relationship of the vertical grid highest point threshold is: in the same grid column, if the height difference between the highest points of adjacent grids is less than the preset vertical grid highest point threshold, the highest point is accepted as the top point candidate; Combine the horizontal and vertical constraints to determine the highest point on the top of each grid cell.

2. The multi-laser radar obstacle recognition method according to claim 1, Features: The filtered non-ground and non-top point cloud data are two-dimensionally rasterized; Count the number of point clouds in each grid. When the number of point clouds is greater than the preset threshold, all point clouds in the grid are regarded as wall obstacle point clouds. Retaining the non-wall grid point cloud as a non-wall obstacle candidate point cloud, wherein the non-wall grid point cloud is the point cloud remaining after excluding the wall grid point cloud from the two-dimensional grid point cloud; Performing Euclidean distance clustering on the non-wall obstacle candidate point cloud to generate a non-wall obstacle point cloud; Use cluster closure to obtain the 3D bounding boxes of wall obstacle point clouds and non-wall obstacle point clouds; Output obstacle information, the obstacle information includes: obstacle category, bounding box parameters and point cloud quantity.

3. The multi-laser radar obstacle recognition method according to claim 2, Features: An axis-aligned bounding box is used for the wall obstacle point cloud.

4. The multi-laser radar obstacle recognition method according to claim 2, Features: A directional bounding box is used for the point cloud of non-wall obstacles.

5. The multi-laser radar obstacle recognition method according to claim 1, Features: Point cloud preprocessing steps include: Get the original 3D point cloud collected by multiple LiDARs; The point cloud is clipped in the X-axis, Y-axis and Z-axis directions in the vehicle coordinate system to extract the area of ​​interest; According to the vehicle size range, the region of interest is divided into multiple functional sub-regions, and the point clouds in different functional sub-regions are downsampled.

6. The multi-laser radar obstacle recognition method according to claim 5, Features: The downsampling preprocessing of point clouds in different functional sub-areas includes: Perform radius filtering on the point cloud of the vehicle body surface to obtain point cloud data without the vehicle body points; Performing sparse downsampling processing on the point cloud within the first threshold area of ​​the vehicle body using a first-size voxel network; The original point cloud is retained for the second threshold area in front and behind the vehicle body; The third threshold area on both sides of the vehicle body is downsampled using a second-size voxel grid.

7. The multi-laser radar obstacle recognition method according to claim 6, Features: The numerical value of the first size is N1 times the numerical value of the second size, where N1 is a positive integer.

8. The multi-laser radar obstacle recognition method according to claim 7, Features: The numerical value of the third threshold is N2 times the numerical value of the first threshold or the second threshold, where N2 is a positive integer.

Citation Information

Patent Citations

  • Obstacle detection method based on laser radar point cloud clustering

    CN116524219A

  • Road surface obstacle detection method for mine card automatic driving

    CN116152774A

  • Method and system for sensing automated driving environment

    WO2022022694A1