A method for identifying obstacles at intersections based on multi-channel laser radar
Through the obstacle recognition method of multiple lidar, point cloud data registration and neural network recognition technology are used to solve the problem of insufficient recognition accuracy of a single lidar, and high-precision, real-time identification and tracking of target obstacles in the intersection are achieved. , improving traffic safety and efficiency.
Patent Information
- Application Number
- CN202410146400.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-02-02
AI Technical Summary
When using a single lidar to identify target obstacles in an intersection, the redundant perception information of multiple lidars cannot be effectively utilized, resulting in insufficient perception accuracy and the inaccuracy of target obstacles in an intersection in real time and accurately detecting and identifying target obstacles in the intersection.
The intersection obstacle recognition method of multi-channel lidar is adopted to obtain the original lidar point cloud data in each import path direction, and the registration fusion, point cloud neural network target recognition, cluster analysis and coordinate conversion are carried out to obtain the target obstacle. latitude and longitude coordinates to improve recognition accuracy and real-time.
Effectively utilize the redundant information of multiple lidars, improve the perception accuracy and identification accuracy of obstacles, reduce the amount of point cloud data, improve real-time, and divide the coordinate positions of different obstacles through clustering, which facilitates traffic Participants will make corresponding treatments.
Smart Images

Figure CN118247738B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle-road collaboration, and in particular to an intersection obstacle recognition method based on multi-channel laser radar. Background Art
[0002] With the continuous development of urban transportation and the increasing severity of traffic congestion, the safety and efficiency of intersections have become the focus of attention. At intersections, the presence of target obstacles (i.e. objects other than compliant traffic participants, such as litter, small animals, etc.) can lead to traffic accidents and traffic jams, causing danger and inconvenience to traffic participants. Therefore, timely detection and identification of target obstacles in intersections is crucial to improving the safety and traffic efficiency of intersections.
[0003] In traditional intersection monitoring systems, video monitoring, image processing and other technologies are usually used to detect abnormal situations at intersections. However, since video monitoring is based on the principle of passive imaging, it is easily affected by factors such as light and weather, and the video does not have direct distance information, it is impossible to accurately detect and identify target obstacles in the intersection in real time. In order to improve this problem, in recent years, the intersection target obstacle recognition method based on LiDAR has gradually attracted attention and research from the industry.
[0004] By placing laser radars on the electric alarm poles or signal poles in each direction of the intersection, the system can obtain 3D point cloud data and perform calculations and processing, and can detect and identify target obstacles in the intersection in real time and send out warning signals, thereby guiding traffic participants and managers to take corresponding safety protection actions. However, the industry currently uses a single laser radar to identify the targets in their respective areas, and then simply splices the recognition results of multiple laser radars. Although this reduces the computational complexity, it does not effectively utilize the redundant perception information of multiple laser radars on the same object, and thus does not maximize the perception accuracy of target obstacles in intersection scenes. Summary of the invention
[0005] In order to solve the deficiencies in the prior art, the present invention proposes an intersection obstacle recognition method based on multi-channel laser radar, which can effectively utilize the perception information of multiple laser radar sensors on the same object and improve the accuracy of obstacle perception.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is a method for identifying obstacles at intersections based on multi-channel laser radar, comprising the following steps:
[0007] S1. Obtain the original laser radar point cloud data in each entrance direction, filter the point cloud data of each laser radar obtained at the same time, and use any direction of the radar coordinate system as a reference, and perform registration and fusion in the clockwise direction of the radar position to obtain the point cloud data org_cloud and maintain it in a unified radar coordinate system;
[0008] S2. Use point cloud neural network target recognition technology to perform target recognition on the point cloud data org_cloud and obtain the remaining point cloud obs_cloud, including:
[0009] S21. Incrementally expand the enclosed areas output by all recognition boxes obtained by the point cloud neural network method to obtain a point cloud index set index_box;
[0010] S22. Using the point cloud plane recognition algorithm, identify the point cloud index set index_plane belonging to the ground;
[0011] S23. Filter the point cloud data org_cloud of the entire intersection to remove the point cloud set index_box contained in the identification box and the point cloud set index_plane contained in the plane, and obtain the remaining point cloud obs_cloud.
[0012] S3. Obtain target obstacle information through cluster analysis of the remaining point cloud obs_cloud;
[0013] S4. Track and calculate the target obstacle to determine whether the number of occurrences and size of the target obstacle within the cycle is greater than the threshold. If so, proceed to the next step;
[0014] S5. Use the point cloud clustering algorithm to obtain the ID number and radar coordinate data of the target obstacle, transform the radar coordinates of the target obstacle through the transformation matrix M, obtain the longitude and latitude coordinates of the corresponding target obstacle, and report the target obstacle information and longitude and latitude coordinates to the cloud control center or send them to all traffic participants.
[0015] Preferably, the registration fusion method in step S1 is:
[0016] Through matrix rotation and translation changes, multiple sets of point cloud data in different coordinate systems are unified into the same coordinate system. The corresponding relationship of the point cloud matrix before and after the change is: ,
[0017] Among them, p is the matrix coordinate before the change, q is the matrix coordinate after the change; R is the rotation matrix, which represents the rotation transformation around the x, y, and z axes respectively, and T is the translation matrix.
[0018] Preferably, the method for obtaining the transformation matrix M is:
[0019] By establishing a numerical optimization objective function model for linear programming: ,
[0020] When the objective function f(X) reaches the minimum value, X is the optimal transformation matrix, that is, the coordinate transformation matrix M, a is the coordinate matrix in the spatial coordinate point set A, and b is the latitude and longitude coordinate matrix in the corresponding world coordinate system set B.
[0021] Preferably, a GPS positioning device is used to collect a set B of longitude and latitude coordinates of multiple points at the intersection, and a set A of position coordinates of the points in the point cloud data is recorded while collecting.
[0022] Compared with the prior art, the advantages of this application are as follows:
[0023] The fusion of multi-channel radar point cloud data through the registration algorithm can improve the overall accuracy of the data and effectively utilize the redundant information of the sensor. The multi-channel radar point cloud data is first fused and then passed through the neural network for target recognition to improve the recognition accuracy.
[0024] Taking any direction of the radar coordinate system as a reference, the registration and fusion are performed in sequence in the clockwise direction of the radar position to avoid directly registering the radar point cloud data in the diagonal direction to improve the accuracy of the registration.
[0025] By incrementing the enclosed areas output by all recognition frames, point cloud data that should be included in some recognition frames but are missed can be included, which can avoid classifying normal traffic participants as obstacles and improve the accuracy of target recognition.
[0026] The longitude and latitude coordinates obtained by converting the obstacle radar coordinate data obtained by the point cloud clustering algorithm into M coordinates can, firstly, reduce the number of point clouds and improve real-time performance. At the same time, different obstacles can be segmented by clustering, and the coordinate positions of obstacles with corresponding ID numbers can be obtained to facilitate traffic participants to make corresponding processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 Schematic diagram of the deployment of the intersection radar of the present invention
[0028] Figure 2 This is a calculation step diagram of the intersection target obstacle recognition method based on multi-channel laser radar of the present invention.
[0029] Figure 3 Schematic diagram of the radar screening area of the present invention DETAILED DESCRIPTION
[0030] The following detailed description is illustrative and is intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those of ordinary skill in the art to which the present application belongs. It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application.
[0031] like Figure 1 FIG. 1 is a schematic diagram of the deployment of the intersection radar of the present invention. The laser radars are deployed at the east entrance, south entrance, west entrance, and north entrance of the cross intersection. The embodiment provides an intersection obstacle recognition method based on multi-channel laser radars, such as Figure 2 As shown, the method specifically comprises the following steps:
[0032] S1. Obtain the original LiDAR point cloud data in each entrance direction and perform registration and fusion to obtain the point cloud data org_cloud;
[0033] First, filter the point cloud data of each laser radar acquired at the same time, that is, filter and delete the point cloud data outside the ROI area, reduce the processed point cloud, and improve the computing power, such as Figure 3 Preferably, the ROI area is an area formed by the road surface range of the intersection, and specifically, the boundary of the area is a polygonal area surrounded by each stop line and the extension line.
[0034] Secondly, the data from each lidar is registered and fused, that is, the registration algorithm is used to merge multiple point cloud data in turn. After the merger, the point cloud data org_cloud of the entire intersection is obtained and maintained in a unified radar coordinate system.
[0035] Specifically, the multiple point cloud data respectively represent the laser radar point cloud data in the south, west, north, and east directions.
[0036] The basic principle of registration is to transform multiple sets of point cloud data in different coordinate systems into the same coordinate system through matrix rotation and translation. The corresponding relationship between the point cloud matrices before and after the change can be expressed as: ,
[0037] Among them, q is the point cloud coordinate matrix after the conversion coordinate system, and p is the point cloud coordinate matrix of the original coordinate system;
[0038] R is the rotation matrix, which represents the rotation transformation around the x, y, and z axes respectively. Specifically: , , , T is the translation matrix, specifically: ,
[0039] Among them, tx, ty, tz are the translation column vectors on the x, y, and z axes respectively, and α, β, and γ are the corresponding rotation angles of the cloud around the XYZ axes respectively.
[0040] Specifically, the iterative closest point ICP algorithm or the normal distribution transform NDT algorithm can be selected to solve the above rotation matrix R and translation matrix T. For example, three transformation matrix groups can be calculated in advance according to the ICP registration algorithm: ,
[0041] Represent the rotation matrix R and translation matrix T from west to north, north to east, and east to south respectively.
[0042] In terms of the order of registration, the radar coordinate system in any direction is used as the reference point cloud coordinate system. Considering the size of the overlapping area of the point cloud coverage area, it is preferred to perform registration and fusion operations in the clockwise direction of the radar position to avoid direct registration of the radar point cloud data in the diagonal direction to improve the accuracy of the registration.
[0043] For example, taking the south radar coordinate system as the reference coordinate system, the registration and fusion operations are performed in the order of west, north, east, and south. That is, first convert the coordinate system of the west point cloud matrix to the north coordinate system: ,
[0044] Then merge it with the original point cloud matrix data of the north-facing radar to obtain the new north-facing point cloud matrix data: ,
[0045] Then transform the radar coordinate system of the new north-facing point cloud matrix data into the east-facing radar coordinate system: ,
[0046] Among them, p represents the original point cloud data in a certain direction, and q is the point cloud data after p is converted into the radar coordinate system.
[0047] By iterating the calculations in the above steps, the point cloud data in all directions can be finally fused and converted into the point cloud data org_cloud with the south coordinate system as the reference coordinate system.
[0048] In specific implementation, if the computing power of the edge computing equipment on the side of the intersection is limited, and since the angle of the radar does not change frequently, a pre-debugged registration conversion matrix can be used to avoid calculating the conversion matrix once in each frame, thereby improving the processing speed. That is, in the early morning or when there are no traffic participants, three conversion matrix groups can be calculated in advance according to the ICP registration algorithm. During daily real-time detection, the above three pre-calculated conversion matrix group values can be directly substituted into the fusion algorithm, avoiding the consumption of computing resources and time resources for calculating the conversion matrix at every moment.
[0049] The use of a single radar algorithm is easily affected by environmental noise. By integrating the point cloud data of radars in multiple directions through the point cloud registration algorithm, we can obtain road condition point cloud data with a denser, more three-dimensional and comprehensive point cloud density. As a result, in the next step of neural network recognition, more accurate target recognition results can be obtained, and indirectly the final accuracy of abnormal obstacle recognition is greatly improved.
[0050] S2. Perform target recognition on the point cloud data org_cloud through point cloud neural network target recognition technology to obtain the remaining point cloud;
[0051] First, the point cloud neural network technology is used to identify regular traffic participants, that is, a pre-trained neural network model for point cloud that can output target type, recognition box and confidence is used, and the parameters of the recognition type are set, that is, regular traffic participant categories are established, such as pedestrians, motor vehicles, non-motor vehicles, etc., and then the point cloud data fused in step S1 is identified, and a list of identified objects is output.
[0052] In the specific implementation, dedicated point cloud recognition neural network models such as PointRCNN and PVRCNN can be used for target recognition. Specifically, the attributes of the output target object bounding box (Bounding Box) are: ,
[0053] Where x, y, z are the spatial center coordinates of the target;
[0054] w, h, l are the width, height, and length of the bounding box;
[0055] class is the preset category to which the target belongs, such as motor vehicle, pedestrian, etc.;
[0056] confidence is the confidence of identifying the target;
[0057] Then, the remaining obstacle point cloud is obtained. The method for obtaining the remaining obstacle point cloud is to filter out the point cloud of regular traffic participants and road infrastructure, that is, the above-obtained identification list is simply processed and then filtered and deleted, which includes the following sub-steps:
[0058] S21 Due to the errors in neural network recognition and the shape of special vehicles, the identification frames of some vehicles may not be able to surround all the real point cloud data of the target, and thus may be mistakenly identified as abnormal obstacles. Therefore, the present invention incrementally expands the original vehicle identification frame to reduce the misjudgment rate of abnormal obstacles.
[0059] Specifically, the enclosing area output by all recognition boxes is incrementally expanded, and the point cloud index set index_box contained in the updated recognition box is obtained. The incremental adjustment is to change the original enclosing box into: ,
[0060] Among them, dw, dh, and dl are preset increment values, and are preferably set to 0.5 meters.
[0061] S22. Use the point cloud plane recognition algorithm to identify the point cloud index set index_plane belonging to the ground.
[0062] S23. Filter the originally obtained point cloud org_cloud to remove the point cloud set index_box contained in the identification box and the point cloud set index_plane contained in the plane, and obtain the original remaining point cloud obs_cloud.
[0063] Since the remaining point cloud data is a set of points, it is necessary to identify whether it is an obstacle, and provide accurate coordinate position and size information to traffic participants, so that traffic participants can take preventive measures to improve safety. At the same time, there may be multiple obstacles, and the measures taken by traffic participants are different for different types. If the remaining point cloud is treated as a target obstacle, it may cause inaccurate identification, so further analysis of the remaining point cloud is required.
[0064] S3. Obtain target obstacle information through cluster analysis of the remaining point clouds;
[0065] The remaining point clouds are clustered by using a point cloud clustering algorithm, and the center coordinates and length, width, height and other information of the target obstacle are obtained by using a bounding box algorithm. Preferably, the point cloud clustering algorithm uses a DBSCAN clustering algorithm, i.e., a clustering algorithm based on the density of points, to cluster the remaining point clouds and obtain the type ID of the obstacle and its radar coordinate data.
[0066] S4. Track and calculate the target obstacle to determine whether the number of obstacles and their size within the period are greater than the threshold. If so, proceed to the next step;
[0067] Because of factors such as environmental changes and object materials, the system cannot identify abnormal obstacles in every frame. Therefore, the present invention determines whether an abnormal obstacle actually exists by cumulative counting over a period of time to reduce the false alarm rate of the system. Specifically, the number of occurrences of the target obstacle obtained in step S5 is accumulated within a continuous time period of cycle T to obtain a count n. If n is greater than a preset threshold number N, it is determined that the target obstacle has appeared and the next step is entered.
[0068] S5. Report the target obstacle information and longitude and latitude coordinates to the cloud control center or send it to all traffic participants.
[0069] First, the method for obtaining the coordinates of the target obstacle in the world coordinate system is:
[0070] S51. Calibrate the position of the point cloud data org_cloud in the world coordinate system to obtain the coordinate transformation matrix M;
[0071] Considering that the x and y coordinates are sufficient for daily applications, and that too much data will cause delays, in order to improve the real-time performance of the calculation, the z-point coordinate factor is removed, that is, only the conversion of the 2D coordinates of the point in the radar coordinate system to the longitude and latitude coordinates of the world coordinate system is considered, and the conversion of the altitude coordinates is not considered. The specific conversion steps are as follows:
[0072] S52, using a GPS positioning device to collect a set of longitude and latitude coordinates B of multiple points at the intersection. While collecting, a set of position coordinates A of the points in the point cloud data is recorded.
[0073] S53. Establish and solve the coordinate transformation equation through linear programming and other methods to obtain the coordinate transformation matrix M.
[0074] Specifically, the objective function of the numerical optimization model of linear programming is first established as: ,
[0075] Where X is the transformation matrix, a is the coordinate matrix in the spatial coordinate point set A, and b is the longitude and latitude coordinate matrix in the corresponding world coordinate system set B. Through optimization numerical tools such as CVXPY, the matrix X that minimizes f(X) can be solved, that is, the optimal matrix, which is recorded as the coordinate transformation matrix M.
[0076] Secondly, the point cloud clustering algorithm is used to obtain the ID number and radar coordinates of the target obstacle. The radar coordinate data of the above obstacle are transformed through the transformation matrix M to obtain the longitude and latitude coordinates of the corresponding target obstacle.
[0077] Finally, an alarm notification containing the target obstacle information and coordinates is sent to the roadside edge computing device. Specifically, the coordinate information includes the length, width, height and obstacle ID number of the target obstacle obtained in step S3, and then uploaded to the cloud control center via the roadside edge device or sent to nearby traffic participants through the RSU device.
[0078] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for identifying obstacles at intersections based on multi-channel laser radar, characterized in that: The following steps are involved: S1. Obtain the original laser radar point cloud data in each entrance direction, filter the point cloud data of each laser radar obtained at the same time, and use any direction of the radar coordinate system as a reference, and perform registration and fusion in the clockwise direction of the radar position to obtain the point cloud data org_cloud and maintain it in a unified radar coordinate system; S2. Use point cloud neural network target recognition technology to perform target recognition on the point cloud data org_cloud and obtain the remaining point cloud obs_cloud, including: S21. Incrementally expand the enclosed areas output by all recognition boxes obtained by the point cloud neural network method to obtain a point cloud index set index_box; S22. Using the point cloud plane recognition algorithm, identify the point cloud index set index_plane belonging to the ground; S23. Filter the point cloud data org_cloud of the entire intersection to remove the point cloud set index_box contained in the identification box and the point cloud set index_plane contained in the plane, and obtain the remaining point cloud obs_cloud; S3. Obtain target obstacle information through cluster analysis of the remaining point cloud obs_cloud; S4. Track and calculate the target obstacle to determine whether the number of occurrences and size of the target obstacle within the cycle is greater than the threshold. If so, proceed to the next step; S5. Use the point cloud clustering algorithm to obtain the ID number and radar coordinate data of the target obstacle, transform the radar coordinates of the target obstacle through the transformation matrix M, obtain the longitude and latitude coordinates of the corresponding target obstacle, and report the target obstacle information and longitude and latitude coordinates to the cloud control center or send them to all traffic participants.
2. The method for identifying obstacles at intersections based on multi-path laser radar according to claim 1, characterized in that: The registration fusion method in step S1 is: Through matrix rotation and translation changes, multiple sets of point cloud data in different coordinate systems are unified into the same coordinate system. The corresponding relationship of the point cloud matrix before and after the change is: , Among them, p is the matrix coordinate before the change, q is the matrix coordinate after the change; R is the rotation matrix, which represents the rotation transformation around the x, y, and z axes respectively, and T is the translation matrix.
3. The method for identifying obstacles at intersections based on multi-path laser radar according to claim 1, characterized in that: The method to obtain the transformation matrix M is: By establishing a numerical optimization objective function model for linear programming: , When the objective function f(X) reaches the minimum value, X is the optimal transformation matrix, that is, the coordinate transformation matrix M, a is the coordinate matrix in the spatial coordinate point set A, and b is the latitude and longitude coordinate matrix in the corresponding world coordinate system set B.
4. The method for identifying obstacles at intersections based on multi-path laser radar according to claim 1, characterized in that: The GPS positioning device is used to collect the latitude and longitude coordinate set B of multiple points at the intersection, and the position coordinate set A of the point in the point cloud data is recorded while collecting.
