Roundabout locking early warning method

Using multiple laser radars to fully cover the roundabout and process point cloud data, it solves the problem that existing technology cannot sense the traffic load in advance when it breaks through the carrying capacity, realizes all-round monitoring and early warning of traffic around the island, and improves the timely traffic management. sex and accuracy.

CN118571012AInactive Publication Date: 2024-08-30CHINA AUTOMOTIVE ENG RES INST

Patent Information

Application Number
CN202410681930.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing traffic early warning methods on roundabout roads cannot sense in advance that the traffic load is about to exceed the critical value of carrying capacity, resulting in unsatisfactory lock-up early warning effects.

Method used

Multiple laser radars are used to scan the roundabout area with full coverage, obtain point cloud data, convert it into a unified coordinate system through calibration parameters, perform point cloud splicing, clustering and target detection, count vehicle density and speed, and provide early warning.

Benefits of technology

It achieves all-round perception and monitoring of the traffic situation around the island, can detect in advance that the traffic load is about to exceed the carrying capacity, reduce the risk of lock-up, reduce costs, and improve the timeliness and accuracy of traffic management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118571012A
    Figure CN118571012A
Patent Text Reader

Abstract

The invention relates to the field of channel control methods of traffic roads, in particular to a roundabout locking early warning method, which comprises the following steps of: acquiring point cloud data of roundabout driving by completely covering a drivable area of a whole roundabout through scanning areas of a plurality of laser radars; converting the point cloud data scanned by the plurality of laser radars to the same coordinate system based on the calibration parameters; splicing and aggregating the scanned point cloud data of different areas, and performing target detection based on the spliced and aggregated point cloud data; multi-target tracking is carried out based on a target detection result, a unique tracking identifier is allocated to each tracked target, a bounding box of a current frame of target and a bounding box of a previous frame of target are associated, and the two associated targets are kept to have the same tracking identifier; and according to the detected target position, carrying out statistics on the statistical magnitude of the real-time vehicles in the roundabout area defined in advance, and when the statistical magnitude reaches a threshold value, carrying out early warning. The roundabout bearing capacity critical value can be sensed in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of channel control methods for traffic roads, and in particular to a roundabout deadlock warning method. Background Art

[0002] A roundabout consists of a circular road and several entrances and exits, used for traffic management and turning. A roundabout allows vehicles to bypass without having to stop or change direction. The setting of the roundabout requires that traffic from any direction, after entering the roundabout, must rotate in a single direction around the center of the roundabout until it turns to the desired direction and leaves. Because it does not require traffic lights, reduces traffic conflict points, improves traffic safety factors, and is cheaper than viaducts, it is generally believed that within the normal traffic volume range, the traffic efficiency of a roundabout is better than that of a level crossing.

[0003] However, at some roundabouts with high traffic volume, vehicles need to queue for a long time outside the roundabout before they have the opportunity to enter the roundabout, and once the traffic volume exceeds the traffic volume range that the roundabout can bear, the roundabout is prone to lock. Therefore, the roundabout road traffic warning method, system, terminal device and computer-readable storage medium in the existing literature obtain the driving status information of the target vehicle after detecting that the target vehicle enters the roundabout road intersection; obtain the first traffic information related to the target vehicle in the direction perpendicular to the roundabout road; obtain the second traffic information related to the target vehicle in the direction parallel to the roundabout road; based on the driving status information of the target vehicle, the first traffic information and the second traffic information related to the target vehicle, predict whether the target vehicle can drive safely in the roundabout road, and if not, issue a first warning prompt to the target vehicle.

[0004] However, the existing methods target traffic and pedestrians within the roundabout and have detection blind spots. They cannot sense in advance that the traffic load is about to exceed the critical value of the roundabout's carrying capacity, which leads to unsatisfactory roundabout lock warning effect. Summary of the invention

[0005] The present invention is intended to provide a roundabout lock warning method to solve the problem that it is impossible to perceive in advance that the traffic load is about to exceed the critical value of the roundabout carrying capacity.

[0006] The roundabout lock warning method in this solution includes:

[0007] S10, completely covering the drivable area of ​​the entire roundabout through scanning areas of multiple laser radars, and obtaining point cloud data of roundabout driving;

[0008] S20, converting the point cloud data scanned by the plurality of laser radars into the same coordinate system based on the pre-obtained calibration parameters;

[0009] S30, stitching and aggregating the scanned point cloud data of different areas, filtering the background point cloud based on the stitched and aggregated point cloud data, clustering the point cloud of the foreground target, distinguishing the point cloud of each target, and finally fitting a bounding box for the point cloud of each target as a representation of the target, then outputting the bounding box, leaving only the point cloud of the foreground target, and performing target detection. The target detection result represents the vehicle in the roundabout in the form of a rotating bounding box in a bird's-eye view;

[0010] S40, performing multi-target tracking based on the target detection result, assigning a unique tracking identifier to each tracked target, associating the bounding box of the target in the current frame with the bounding box of the target in the previous frame, and the two associated targets keep having the same tracking identifier;

[0011] S50, counting the real-time vehicle statistics in the pre-defined roundabout area according to the detected target position, and issuing an early warning when the statistics reach a threshold.

[0012] The beneficial effects of this program are:

[0013] Multiple laser radars are used to sense all traffic participants on the traffic section, which can not only detect the traffic volume, but also the vehicle density, vehicle speed and other indicators, so as to provide roundabout lock warnings based on data from multiple aspects. The real-time position and real-time speed of all vehicles in the roundabout are also obtained, and the traffic conditions of the roundabout can be remotely holographically displayed, which is convenient for the traffic management department to understand the traffic conditions of the roundabout in real time. Real-time monitoring of various indicators in the roundabout can detect in advance that the traffic load is about to exceed the corresponding carrying capacity, so as to carry out corresponding traffic management in time and prevent roundabout locks. In addition, no additional data is required for model training during the specific implementation, which greatly reduces the cost and facilitates the deployment of the algorithm.

[0014] Furthermore, in S10, before acquiring the point cloud data, a plurality of laser radars are calibrated to obtain calibration parameters.

[0015] The beneficial effect is that the laser radar is calibrated in advance, which can ensure that the collected point cloud data is accurately mapped to the target coordinates.

[0016] Furthermore, in S10, during calibration, the UTM plane coordinate system is used as the calibration coordinate system, and the homography matrix between the XY plane of the lidar coordinate system and the UTM coordinate system plane is calculated. The coordinates (x, y) of the point cloud data in each lidar coordinate system are converted to the UTM coordinate system using the homography matrix, and the point clouds in multiple lidar coordinate systems are converted to the same coordinate system.

[0017] Further, in the S20, during calibration, multiple key points are selected in the XY plane of the laser radar coordinate system, and the number of key points is at least four, and the longitude and latitude of the key points in the geographic space are measured at the same time, and then the measured longitude and latitude are converted into UTM coordinates, so that the point pairs of the laser radar XY coordinate system and the UTM coordinate system can be obtained, and finally the homography matrix H of the two coordinate systems is calculated. After obtaining the homography matrix, the points of the laser radar XY coordinate system plane are converted to the UTM coordinate system, which can be expressed as:

[0018] X utm =HX x-y .

[0019] Further, in S30, the target detection process is:

[0020] S31, taking the point cloud data of the road without any vehicles and pedestrians collected by the laser radar on each roadside as the road background point cloud, and then rasterizing the background point cloud, setting the height and dimension of each grid to infinity during rasterization, and retaining the height of the highest point of all the points falling in this grid in each grid, and obtaining a two-dimensional grid map after rasterization, performing interpolation operation on the obtained grid map to fill the blank part on the grid map, constructing a dense first grid map, and storing it for subsequent use;

[0021] S32, after each frame of point cloud data is input for point cloud target detection, the input point cloud is rasterized using the rasterization parameters in S31 to obtain a second raster map, and the first raster map is rasterized with the second raster map to obtain a foreground point cloud;

[0022] S33, using the calibrated homography matrix, converting the (x, y) coordinates of the foreground point cloud from the laser radar XY coordinate system to the UTM coordinate system. In this process, the z coordinate of the foreground point cloud is discarded, and a two-dimensional point cloud in the UTM coordinate system is obtained;

[0023] S34, clustering the two-dimensional point cloud in the UTM coordinate system, and distinguishing each target according to the distance between points;

[0024] S35, using the principal component analysis method to obtain the characteristic vector of the point set to obtain the axis direction of the circumscribed frame, and calculate the circumscribed bounding box with the rotation angle.

[0025] The beneficial effect is: through grid processing during target detection and then interpolation to fill in the gaps, the poor background filtering effect of the subsequent grid difference filtering step is avoided, the actual data is differentiated from the first grid map, and the background interference point cloud is accurately removed, which can improve the accuracy of target detection.

[0026] Further, in S32, the differential height threshold is 0.05m, the number of grids in the rasterization process is set according to the actual point cloud distribution of the scene, the number of point cloud grids is calculated according to the actual measurement distance range, the calculation strategy is to set the grid size to 0.2m, and the radar measurement distance range is from -80m to 80m in the longitudinal direction and is set according to the road width in the lateral direction;

[0027] In each grid, the centroid and the height of the highest point of all points falling in this grid should be retained to obtain the second grid map.

[0028] The beneficial effect is that according to the actual setting of rasterized data, the rasterization can be accurately matched with the actual situation.

[0029] Further, in S30, the target detection result is expressed as (x, y, l, w, r), wherein x and y represent the coordinates of the center of the target vehicle in a top view, l and w represent the length and width of the vehicle, and r is the heading angle of the vehicle, and the range of r is (0, 360°).

[0030] The beneficial effect is that the position of the vehicle target can be fully fed back by using parameters of multiple aspects of vehicle detection as the detection position.

[0031] Furthermore, in S40, the spatial original point cloud mapping alignment matching fusion is adopted to remove repeated tracking targets in the point cloud data obtained by different laser radar scans.

[0032] The beneficial effect is that through the alignment, matching and fusion of this method, the problem of different radars repeatedly tracking vehicle targets at the same time can be avoided, and the waste of resources caused by repeated tracking and the warning error problem of roundabout locking can be prevented.

[0033] Further, in S50, the statistics include the real-time target number of vehicles, the vehicle density in the roundabout is calculated by dividing the vehicle speed by the roundabout area, the average speed of all vehicles in the roundabout area is calculated based on the vehicle speed obtained by target tracking, and the vehicle flow at each entrance and exit is counted.

[0034] The beneficial effect is that the statistics include parameters of multiple vehicle targets, which can comprehensively reflect the driving conditions in the roundabout area and accurately warn of the roundabout driving conditions in advance. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flowchart of the first embodiment of the roundabout deadlock warning method of the present invention;

[0036] Figure 2 A schematic diagram of the installation of a roundabout laser radar according to Embodiment 1 of the roundabout deadlock warning method of the present invention;

[0037] Figure 3A schematic diagram showing a target enclosing frame of a first embodiment of a roundabout deadlock warning method of the present invention;

[0038] Figure 4 This is a flowchart of a laser radar point cloud target detection algorithm according to Embodiment 1 of the roundabout deadlock warning method of the present invention. DETAILED DESCRIPTION

[0039] The following is further explained in detail through specific implementation methods.

[0040] Embodiment 1

[0041] Roundabout lock warning method, such as Figure 1 As shown, including:

[0042] S10, take a typical crossroad roundabout as an example to explain the equipment installation method. The laser radar is a 360° rotating mechanical laser radar, which is installed on the vertical pole of the road test. There are two laser radars, which are installed opposite the roundabout. Figure 2 The installation of lidars on both sides can achieve lidar sensing range covering the entire roundabout area. In addition to lidars, edge computing devices (MEC) are also deployed on site. The lidars are connected to MEC via Ethernet. MEC is used to receive lidar data and run algorithms to process data for roundabout lock warning.

[0043] Before obtaining the point cloud data of the laser radar, multiple laser radars are calibrated to obtain calibration parameters. During calibration, the UTM plane coordinate system is used as the calibration coordinate system. By calculating the homography matrix between the XY plane of the laser radar coordinate system and the plane of the UTM coordinate system, the coordinates (x, y) of the point cloud data in each laser radar coordinate system are converted to the UTM coordinate system using the homography matrix, and the point clouds in multiple laser radar coordinate systems are converted to the same coordinate system.

[0044] The scanning areas of multiple LiDARs completely cover the drivable area of ​​the entire roundabout and obtain point cloud data of roundabout driving.

[0045] S20, based on the calibration parameters obtained in advance, the point cloud data scanned by multiple laser radars are converted to the same coordinate system, multiple key points are selected in the XY plane of the laser radar coordinate system, and the number of key points is at least four, and the longitude and latitude of the key points in the geographic space are measured at the same time, and then the measured longitude and latitude are converted to UTM coordinates, so that the point pairs of the laser radar XY coordinate system and the UTM coordinate system can be obtained, and finally the homography matrix H of the two coordinate systems is calculated. After obtaining the homography matrix, the points of the laser radar XY coordinate system plane are converted to the UTM coordinate system, which can be expressed as:

[0046] X utm =HX x-y .

[0047] S30, stitching and aggregating the scanned point cloud data of different areas, filtering the background point cloud based on the stitched and aggregated point cloud data, and then clustering the point cloud of the foreground target to distinguish the point cloud of each target, such as Figure 3 As shown in the figure, a bounding box is fitted to the point cloud of each target as the representation of the target, and then the bounding box is output, leaving only the point cloud of the foreground target for target detection. The target detection result represents the vehicle in the roundabout in the form of a rotating bounding box in the top view. The target detection result is represented as (x, y, l, w, r), where x and y represent the coordinates of the center of the target vehicle in the top view, l and w represent the length and width of the vehicle, and r is the heading angle of the vehicle, and the range of r is (0, 360°).

[0048] like Figure 4 As shown, the process of target detection is:

[0049] S31, taking the point cloud data of the road without any vehicles and pedestrians collected by the laser radar on each roadside as the road background point cloud, and then rasterizing the background point cloud, setting the height and dimension of each grid to infinity during rasterization, and retaining the height of the highest point of all the points falling in this grid in each grid, and obtaining a two-dimensional grid map after rasterization, performing interpolation operation on the obtained grid map to fill the blank part on the grid map, constructing a dense first grid map, and storing it for subsequent use;

[0050] S32, after each frame of point cloud data is input for point cloud target detection, the input point cloud is rasterized using the rasterization parameters in S31 to obtain a second raster map, and the first raster map is rasterized with the second raster map to obtain a foreground point cloud;

[0051] The differential height threshold is 0.05m. During the rasterization process, the number of grids is set according to the actual point cloud distribution of the scene. The number of point cloud grids is calculated based on the actual measurement distance range. The calculation strategy is to set the grid size to 0.2m, and the radar measurement distance range is from -80m to 80m in the longitudinal direction and is set according to the road width in the lateral direction.

[0052] In each grid, the centroid and the height of the highest point of all points in the grid should be retained to obtain the second grid map;

[0053] S33, using the calibrated homography matrix, converting the (x, y) coordinates of the foreground point cloud from the laser radar XY coordinate system to the UTM coordinate system. In this process, the z coordinate of the foreground point cloud is discarded, and a two-dimensional point cloud in the UTM coordinate system is obtained;

[0054] S34, clustering the two-dimensional point cloud in the UTM coordinate system, and distinguishing each target according to the distance between points;

[0055] S35, using the principal component analysis method, the characteristic vector of the point set is obtained to obtain the axis direction of the external bounding box, and the external bounding box with the rotation angle is calculated. The principal component analysis method is as follows:

[0056] 1) Calculate the covariance matrix of the point set data: covariance = cov(points);

[0057] 2) Find the eigenvalue of the covariance matrix: eigVector = eigs(covariance);

[0058] 3) Multiply the point set data by the eigenvalue for mapping dataMapped = points*eigVector;

[0059] 4) Find the maximum value (max) and minimum value (min) of the mapped coordinates (including the directions of the principal component and the second principal component);

[0060] The length and width of the bounding box are the maximum and minimum ranges in the corresponding directions respectively;

[0061] 5) The center coordinate of the bounding box is the average value of the maximum and minimum values. centerMapped = (max + min) / 2. The coordinate after reverse mapping is center = center / eigVector.

[0062] S40, based on the target detection results, multi-target tracking is performed, and a unique tracking identifier is assigned to each tracked target, and the bounding box of the current frame target is associated with the bounding box of the previous frame target, and the two associated targets maintain the same tracking identifier. Multi-target tracking uses a method combining Kalman filtering and Hungarian matching. First, the Kalman filter is used to estimate and predict the state of the target; the two laser radar point clouds are matched and fused to solve the target geometry, and the multi-frame target tracking is continuously performed through matching fusion constraints in the process of optimal state estimation based on the geometric solution, so as to ensure the continuous stability of the target geometry and state information. Because the fusion matching can increase the density of the point cloud at the same position of the same target, and the point clouds at different positions are complementary, more complete target geometry information can be obtained, and then the state quantities such as acceleration, speed, and time are used to complete the optimal estimation of the target state, which is more accurate than the measurement of a single sensor. The prediction is based on the recursive calculation of the optimal estimated state quantity within the unit time t to estimate the state quantity at the next moment. Because the two radar point clouds are complementary and fused, the speed, acceleration, angular velocity, angle, position and geometric size are accurately estimated, so a better target state quantity at the next moment can be obtained during the prediction.

[0063] Then, the existing Hungarian matching algorithm is used to associate the current observation with the prediction to obtain the best match between the current frame and the previous frame. The speed of each target is obtained by dividing the position change of the same target in two frames by the time between the two frames of point clouds.

[0064] In view of the overlap of local point cloud areas in the two radar detection scanning point clouds and the complementarity of the same target in the local area by the two radar detection point cloud areas, if the two radars perform target detection and tracking first, the target in the overlapping area will be detected and tracked repeatedly. After the detection and tracking processing, target-level fusion is performed, but there is still no way to eliminate the interference of incomplete spatial alignment or delay on the fusion caused by incomplete data matching. In special scenarios, a real target tracking may even be split into two targets, which will affect the traffic flow and vehicle density in the target roundabout area, resulting in misjudgment of information and inability to perform effective roundabout lock warning. Therefore, the original point cloud mapping alignment matching fusion is used to remove the repeated tracking targets in the point cloud data obtained by different laser radar scans. Based on the UTM coordinate system, the spatial transformation of different laser radar point clouds is uniformly mapped to the UTM coordinate system space according to the homography matrix calibrated and solved in S33. At the same time, the UTM coordinate position of the same target is consistent, and matching is performed through positioning calculation to remove interference fusion or geometric complementary fusion.

[0065] Since the laser radar detects the target through laser pulses, according to the principle of light propagation in a straight line, two laser radars are installed opposite the roundabout. In the overlapping area detected by the two laser radars, the point cloud of the same target is measured from two directions. The two parts of the point cloud of the same target at the same time in the geodetic coordinate system form a part of complementary and a part of overlapping in space. The overlapping part can still increase the density of the target point cloud. The original point cloud fusion measurement of the two radars can improve the spatial positioning accuracy of the target. The complementary overlapping fusion process of the point cloud of the same target measured by the two radars at the same time is realized by mapping to the geodetic coordinate system through joint calibration with RTK. After the fusion of the original point clouds of the two radars is completed, the target detection is performed. When there are multiple laser radars, this method is still feasible. It only needs to establish a unified mapping relationship with the UTM coordinate space. In the UTM coordinate system space, the matching fusion of multiple laser radar point clouds based on complementarity and the superposition of point cloud density at the same position can be completed.

[0066] S50: Count the real-time vehicle statistics in the pre-defined roundabout area according to the detected target position, and issue an early warning when the statistics reach a threshold. The early warning is issued when any of the following conditions is met:

[0067] 1) The inlet flow rate of the roundabout is greater than the threshold and the inlet flow rate is greater than the outlet flow rate;

[0068] 2) The vehicle density in the roundabout is greater than the density threshold;

[0069] 3) The average speed of vehicles in the roundabout is lower than the speed threshold.

[0070] When it is detected that the traffic load is about to exceed the roundabout's carrying capacity, for example, in practice, based on the conventional roundabout traffic capacity design and detection statistics, the average daily traffic volume from the North Ring to Lijia section in area A exceeds 65,000, and the average daily traffic volume of the roundabout section of Lijia Children's Hospital in area B also exceeds 10,000. According to the capacity design, when the roundabout traffic volume exceeds 1,000 per hour, it will cause traffic congestion in some time periods. Generally, the average daily traffic volume of the roundabout is in the order of 5,000. When it exceeds this order of magnitude, it exceeds the traffic load. When the roundabout traffic is still congested under the overload condition, the traffic lights at each entrance are turned on to sort out and control the traffic flow. By turning on the traffic lights at each entrance of the roundabout, the number of vehicles released into the roundabout can be controlled to ensure that the traffic load of the roundabout does not exceed the limit of the roundabout and avoid the roundabout from being locked. After the traffic load decreases, the roundabout signal lights are turned off, and the roundabout is free to pass, maximizing the characteristics of high-efficiency traffic on the roundabout.

[0071] The statistics include the real-time target number of vehicles, the vehicle density in the roundabout calculated by dividing the vehicle speed by the roundabout area, the average speed of all vehicles in the roundabout area calculated based on the vehicle speed obtained by target tracking, and the vehicle flow at each entrance and exit.

[0072] Vehicle density: First, the drivable area of ​​the roundabout is delineated as a polygon in the UTM coordinate system, and the position of each vehicle detected by the target is determined to be inside the polygon. If it is inside the polygon, the number of vehicles in the roundabout is increased by 1. The area of ​​the drivable area of ​​the roundabout is calculated in advance through an electronic map, and the vehicle density is calculated by dividing the number of vehicles in the roundabout by the area of ​​the drivable area of ​​the roundabout.

[0073] Average vehicle speed: The average speed of the vehicles inside the roundabout counted in the previous step is calculated to obtain the average vehicle speed.

[0074] Vehicle flow in and out: Draw the cutoff line of each entrance and exit of the roundabout on the UTM coordinate system. During the tracking process, connect the current position and the previous frame position of the same ID, that is, the same target, into a line segment. If the line segment passes through the pre-drawn cutoff line, there is a vehicle entering or exiting, and the number of vehicles entering or exiting is increased by 1. Count the number of vehicles entering or exiting within a period of time, and then divide the number of vehicles entering or exiting by the time to get the flow of vehicles entering or exiting.

[0075] Compared with the existing warning method of roundabout congestion by directly judging vehicles as targets, this embodiment uses multiple laser radars installed in the roundabout to make the laser radar scanning area completely cover the drivable area of ​​the entire roundabout. The edge computing unit synchronously obtains the real-time point cloud scanned by multiple laser radars, uses the point cloud perception algorithm to detect and track multiple targets on the vehicles in the roundabout, obtains the position and speed of each vehicle in the roundabout, and uses the detected vehicle information to count the vehicle-related data in the roundabout (real-time vehicle density in the roundabout, average vehicle speed, exit flow, entrance flow), and designs corresponding rules based on the statistical data to determine whether the roundabout is about to reach the load limit. When the load limit is about to be reached, a corresponding warning is issued, which can deal with the roundabout problem in advance and make traffic management more timely and accurate.

[0076] Embodiment 2

[0077] The roundabout deadlock warning method differs from the first embodiment in that, in S40, the width and length of the bounding box are corrected based on the slope information at the location of the roundabout, the position of the laser radar acquisition position relative to the position and interval distance of the vehicle on the slope, the slope information is stored in advance, and the position and interval distance are calculated from the point cloud data. The specific calculation method is existing and will not be repeated here. When the slope information is less than the first threshold, the bounding box is not corrected; when the slope information is greater than the first threshold and less than the second threshold, it is determined whether the position is above the slope of the laser radar relative to the vehicle. The first threshold is 25° and the second threshold is 40°. If the position is below the slope, the bounding box is not corrected; if the position is above the slope, it is determined whether the interval distance is greater than the set value. The set value is set according to the slope value. For example, the set value of the slope of 30° is set to 200m. When the interval distance is greater than the set value, the collected point cloud data will not be complete target data. The bounding box is corrected by a preset amplitude. The preset amplitude is the width and length. The preset amplitude of the width is 1-3mm, and the preset amplitude of the length is 3-10mm. The specific preset amplitude is adaptively adjusted according to the interval distance; when the interval distance is less than the set value, the bounding box is not corrected.

[0078] The elongation or shortening of the target point cloud data collection caused by the tilt angle will cause a difference between the target's bounding box and the actual vehicle length and width, which will cause errors in target density judgment and quantity judgment. Therefore, by judging the slope in the actual vehicle environment, the relative position and interval between the vehicle and the LiDAR, the angle of the LiDAR's point cloud data collection of the vehicle can be taken into account to prevent the inaccurate delineation of the vehicle's bounding box due to the extremely small blind area of ​​the LiDAR's collection caused by the vehicle on the slope, and thus prevent the accumulation of subtle differences in the bounding boxes of vehicle recognition from causing errors in the judgment of the critical value of the roundabout's carrying capacity.

[0079] Embodiment 3

[0080] The roundabout deadlock warning method is different from the second embodiment in that, in S40, each time the bounding box is corrected, a feedback signal is returned to S30; in S30, the received feedback signals are counted within a preset time length to obtain a count value, and when the count value is greater than a quantity threshold, S31 is repeated again to update the background point cloud, and the first grid map is obtained again for storage.

[0081] The number of corrections made to the bounding box within a certain period of time triggers the update of the background point cloud. This can timely monitor changes in the environment around the roundabout and update the background point cloud, thereby improving the accuracy of vehicle identification and tracking, and making roundabout lock warnings more timely and accurate.

[0082] The above is only an embodiment of the present invention, and the common knowledge such as the known specific structure and characteristics in the scheme is not described in detail here. It should be pointed out that for those skilled in the art, several deformations and improvements can be made without departing from the structure of the present invention, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A roundabout deadlock warning method, characterized in that: include: S10, completely covering the drivable area of ​​the entire roundabout through scanning areas of multiple laser radars, and obtaining point cloud data of roundabout driving; S20, converting the point cloud data scanned by the plurality of laser radars into the same coordinate system based on the pre-obtained calibration parameters; S30, stitching and aggregating the scanned point cloud data of different areas, filtering the background point cloud based on the stitched and aggregated point cloud data, clustering the point cloud of the foreground target, distinguishing the point cloud of each target, and finally fitting a bounding box for the point cloud of each target as a representation of the target, then outputting the bounding box, leaving only the point cloud of the foreground target, and performing target detection. The target detection result represents the vehicle in the roundabout in the form of a rotating bounding box in a bird's-eye view; S40, performing multi-target tracking based on the target detection result, assigning a unique tracking identifier to each tracked target, associating the bounding box of the target in the current frame with the bounding box of the target in the previous frame, and the two associated targets keep having the same tracking identifier; S50, counting the real-time vehicle statistics in the pre-defined roundabout area according to the detected target position, and issuing an early warning when the statistics reach a threshold.

2. A roundabout deadlock warning method according to claim 1, characterized in that: In S10, before acquiring the point cloud data, multiple laser radars are calibrated to obtain calibration parameters.

3. A roundabout deadlock warning method according to claim 2, characterized in that: In S10, during calibration, the UTM plane coordinate system is used as the calibration coordinate system, and the homography matrix between the XY plane of the lidar coordinate system and the UTM coordinate system plane is calculated. The coordinates (x, y) of the point cloud data in each lidar coordinate system are converted to the UTM coordinate system using the homography matrix, and the point clouds in multiple lidar coordinate systems are converted to the same coordinate system.

4. A roundabout deadlock warning method according to claim 3, characterized in that: In the S20, during calibration, multiple key points are selected in the XY plane of the laser radar coordinate system, and the number of key points is at least four. The longitude and latitude of the key points in the geographic space are measured at the same time, and then the measured longitude and latitude are converted into UTM coordinates, so that the point pairs of the laser radar XY coordinate system and the UTM coordinate system can be obtained. Finally, the homography matrix H of the two coordinate systems is calculated. After obtaining the homography matrix, the points of the laser radar XY coordinate system plane are converted to the UTM coordinate system, which can be expressed as: X utm =HX x-y 。 5. A roundabout deadlock warning method according to claim 4, characterized in that: In S30, the process of target detection is as follows: S31, taking the point cloud data of the road without any vehicles and pedestrians collected by the laser radar on each roadside as the road background point cloud, and then rasterizing the background point cloud, setting the height and dimension of each grid to infinity during rasterization, and retaining the height of the highest point of all the points falling in this grid in each grid, and obtaining a two-dimensional grid map after rasterization, performing interpolation operation on the obtained grid map to fill the blank part on the grid map, constructing a dense first grid map, and storing it for subsequent use; S32, after each frame of point cloud data is input for point cloud target detection, the input point cloud is rasterized using the rasterization parameters in S31 to obtain a second raster map, and the first raster map is rasterized with the second raster map to obtain a foreground point cloud; S33, using the calibrated homography matrix, converting the (x, y) coordinates of the foreground point cloud from the laser radar XY coordinate system to the UTM coordinate system. In this process, the z coordinate of the foreground point cloud is discarded, and a two-dimensional point cloud in the UTM coordinate system is obtained; S34, clustering the two-dimensional point cloud in the UTM coordinate system, and distinguishing each target according to the distance between points; S35, using the principal component analysis method to obtain the characteristic vector of the point set to obtain the axis direction of the circumscribed frame, and calculate the circumscribed bounding box with the rotation angle.

6. A roundabout deadlock warning method according to claim 5, characterized in that: In S32, the differential height threshold is 0.05m, the number of grids in the rasterization process is set according to the actual point cloud distribution of the scene, the number of point cloud grids is calculated according to the actual measurement distance range, the calculation strategy is to set the grid size to 0.2m, and the radar measurement distance range is from -80m to 80m in the longitudinal direction and is set according to the road width in the lateral direction; In each grid, the centroid and the height of the highest point of all points falling in this grid should be retained to obtain the second grid map.

7. The roundabout deadlock warning method according to claim 1, characterized in that: In S30, the target detection result is expressed as (x, y, l, w, r), where x and y represent the coordinates of the center of the target vehicle in a top view, l and w represent the length and width of the vehicle, and r is the heading angle of the vehicle, and the range of r is (0, 360°).

8. The roundabout deadlock warning method according to claim 1, characterized in that: In S40, the spatial original point cloud mapping alignment matching fusion is adopted to remove repeated tracking targets in the point cloud data obtained by different laser radar scans.

9. The roundabout deadlock warning method according to claim 1, characterized in that: In S50, the statistics include the real-time target number of vehicles, the vehicle density in the roundabout is calculated by dividing the vehicle speed by the roundabout area, the average speed of all vehicles in the roundabout area is calculated based on the vehicle speed obtained by target tracking, and the vehicle flow at each entrance and exit is counted.

Citation Information

Patent Citations

  • Roadside-laser-radar-based vehicle queuing length real-time estimation method and system

    CN111540201A

  • In-transit target classification method based on roadside laser radar

    CN113191459A

  • Target detection method and device based on laser radar and electronic equipment

    CN113658256A

  • Highway shunting area anti-collision method based on roadside laser radar

    CN115273549A

  • Ramp traffic scheduling method and device

    CN115691152A

Cited By

  • Method for carrying out global tracking on vehicle in semi-closed scene, medium and equipment

    CN122134758A

  • Method, medium and device for globally tracking a vehicle within a semi-occluded scene

    CN122134758B