A track optimization method and system for intelligent vehicle competition based on three-dimensional detection

By deploying LiDAR to acquire synchronous point clouds in the intelligent vehicle competition field and combining it with 3D detection algorithms to optimize the path, the problem of insufficient trajectory optimization in intelligent vehicle competitions was solved, and real-time path optimization and performance improvement were achieved.

CN117288199BActive Publication Date: 2026-11-24SHENZHEN TECH UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311246253.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2026-11-24
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

Current intelligent vehicle competitions cannot detect the driving status of intelligent vehicles, the interaction status of multiple intelligent vehicles, and the track status in real time, resulting in insufficient trajectory optimization and an inability to effectively improve performance.

Method used

By deploying LiDAR on the intelligent vehicle competition track to acquire synchronous point clouds, extract cone positions and information on multiple intelligent vehicles, and combine this with 3D detection algorithms to optimize the path, the speed, direction and relationship between adjacent vehicles of the intelligent vehicles are adjusted in real time to plan the optimal trajectory.

Benefits of technology

It enables real-time path optimization for intelligent vehicles during competitions, improves competition results, overcomes the shortcomings of trajectory planning in existing technologies, and can effectively utilize the real-time driving status of intelligent vehicles and the interaction status information of multiple intelligent vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117288199B_ABST
    Figure CN117288199B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for optimizing the trajectory of intelligent vehicles in a race based on 3D detection, relating to the field of intelligent control. The method includes: acquiring a synchronized point cloud of a preset 3D space in the intelligent vehicle race track using lidar deployed at predetermined locations within the race track; extracting cone point clouds from the synchronized point cloud to determine cone positions; determining the ideal path for the intelligent vehicle on the race track based on the cone positions; determining the optimized path for the intelligent vehicle on the race track based on the synchronized point cloud, the position and size information, speed and direction of multiple intelligent vehicles, and the angle between the distance and speed direction of adjacent intelligent vehicles; and determining the intelligent vehicle's motion path based on the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud. This invention can effectively improve performance during intelligent vehicle races by optimizing the path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control, and in particular to a method and system for optimizing the racing trajectory of intelligent vehicles based on three-dimensional detection. Background Technology

[0002] With the rapid development of artificial intelligence and the problems of pollution and resource shortages in traditional energy, the traditional automotive industry is gradually entering the intelligent era. In order to accelerate the development of intelligent vehicles and cultivate high-level young talents familiar with this field, various intelligent vehicle competitions have emerged. Intelligent vehicle competitions often give the final result based on the completion time of the competition, without considering the state of the intelligent vehicle itself, the interaction state of multiple intelligent vehicles, and the state of the intelligent vehicle track itself during the competition. This makes it impossible to have a beneficial closed-loop improvement during the competition or the debugging process. Existing methods have the problem that intelligent vehicles cannot be calibrated and optimized for subsequent trajectories during the competition.

[0003] Existing research mainly focuses on planning the trajectory of a vehicle in the next moment based on the state of the vehicle itself at a certain moment. Wang Jinkun et al. obtained the environment and state information of the intelligent vehicle to be planned and input the information into a local trajectory planner. Based on the kinematic model, they planned the local optimal trajectory. However, they did not consider the factors of other vehicles and environmental changes, and could not guide the vehicle to perform multi-level trajectory optimization.

[0004] A Chinese patent publication (CN201911094805.6) describes a trajectory planning method for intelligent vehicles based on an improved artificial potential field method. The method includes: acquiring intelligent vehicle information, obstacle information, road boundary information, and target point location information; establishing an obstacle repulsive potential field and a target point gravitational potential field based on the intelligent vehicle information, obstacle information, and target point location; establishing an equilibrium equation based on the forces acting on the intelligent vehicle in the composite field of all obstacle repulsive potential fields and target point gravitational potential fields to obtain a series of points; and connecting these points with a smooth curve to obtain a formal trajectory of the intelligent vehicle during the planning cycle. However, this method cannot collect the driving status information of the intelligent vehicle, the interaction status of multiple intelligent vehicles, and the cone status information throughout the entire intelligent vehicle competition, and it cannot guide the vehicle to perform multi-level trajectory optimization, making it impossible to effectively improve performance through debugging during the intelligent vehicle competition. Summary of the Invention

[0005] The purpose of this invention is to provide a method and system for optimizing the trajectory of intelligent vehicle races based on three-dimensional detection, which can effectively improve performance by optimizing the path during intelligent vehicle races.

[0006] To achieve the above objectives, the present invention provides the following solution:

[0007] A method for optimizing the racing trajectory of intelligent vehicles based on 3D detection, the optimization method comprising:

[0008] The synchronous point cloud of the intelligent vehicle competition venue is obtained by using LiDAR at a pre-deployed location in the intelligent vehicle competition venue;

[0009] Based on the synchronized point cloud, extract the cone point cloud and determine the cone position;

[0010] When the offset between the cone position of the current frame and the cone position of the previous frame of the synchronized point cloud is less than or equal to a set threshold, the ideal path of the intelligent vehicle on the race track is determined based on the cone position, and the intelligent vehicle moves along the ideal path.

[0011] When the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud is greater than a set threshold, three-dimensional target detection is performed on the intelligent vehicles in the intelligent vehicle competition field based on the synchronized point cloud to obtain the position information and size information of multiple intelligent vehicles.

[0012] Based on the position and size information of the multiple intelligent vehicles, determine the speed and direction of the multiple intelligent vehicles, as well as the distance and the angle between the speed and direction of adjacent intelligent vehicles;

[0013] Based on the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud, the speed and direction of the multiple intelligent vehicles, and the angle between the distance and speed direction between adjacent intelligent vehicles, the position information of the multiple intelligent vehicles in the next frame is determined, the optimized path of the intelligent vehicle on the race track is obtained, and the intelligent vehicle moves along the optimized path.

[0014] Optionally, the LiDAR at the deployment location is used to acquire a synchronized point cloud in a preset three-dimensional space of the intelligent vehicle competition venue, specifically including:

[0015] By applying the lidar at the deployment location, multiple point cloud data of the preset three-dimensional space of the intelligent vehicle competition venue are obtained;

[0016] The multiple point cloud data are synchronized in time and space to obtain the original synchronized point cloud;

[0017] Based on the original synchronized point cloud, conditional filtering based on polygonal regions is used to obtain the effective range of the point cloud in the XY plane;

[0018] Based on the point cloud within the effective range of the XY plane, a through-filter of the height difference is applied to filter the point cloud on the Z-axis to obtain an effective XYZ three-dimensional spatial point cloud.

[0019] Based on the valid XYZ 3D spatial point cloud, an adaptive radius filter based on distance metric is applied to remove noise points, resulting in a synchronized point cloud.

[0020] Optionally, based on the synchronized point cloud, the cone point cloud is extracted to determine the cone position, specifically including:

[0021] Based on the synchronized point cloud, the density-based DBSCAN clustering algorithm is applied to extract the cone-shaped point cloud;

[0022] Based on the cone point cloud, the position information of the cone on the lidar reference coordinate system is calculated to determine the position of the cone; the lidar reference coordinate system is the XYZ coordinate system where the original synchronized point cloud is located.

[0023] Optionally, the ideal path for the intelligent vehicle on the race track is determined based on the position of the cones, specifically including:

[0024] Based on the cone positions, the alpha shapes contour extraction algorithm is applied to determine the inner and outer contour cone positions on the intelligent vehicle racing track.

[0025] Based on the position points of the inner and outer contour cones, the center path point is determined by applying the outer point traversal algorithm.

[0026] The ideal path is obtained by fitting the center path point with a cubic B-spline curve.

[0027] Optionally, the speed and direction of the intelligent vehicle are:

[0028]

[0029] in, Let x represent the speed of the intelligent vehicle in frame t, where T represents the time interval between two adjacent frames in the LiDAR point cloud data. t y t and z t This represents the coordinates of the center point of the intelligent vehicle in frame t, x. t-2 y t-2 and z t-2 This represents the coordinates of the center point of the intelligent vehicle in frame t-2.

[0030] The distance between adjacent intelligent vehicles is:

[0031]

[0032] in, This represents the distance between intelligent car i and intelligent car j. and This represents the coordinates of the center point of the intelligent vehicle in frame t. and This represents the coordinate information of the center point of intelligent vehicle i in frame t-1. and This represents the coordinates of the center point of the intelligent vehicle j in frame t. and This represents the coordinates of the center point of the intelligent vehicle j in the (t-1)th frame;

[0033] The angle between the directions of velocity is:

[0034]

[0035] in, This represents the angle between the velocity directions of intelligent vehicle i and intelligent vehicle j in frame t. Let i represent the velocity vector of the intelligent vehicle i in frame t. Let represent the velocity vector of intelligent vehicle j in frame t.

[0036] Optionally, the offset between the cone position of the current frame and the cone position of the previous frame in the synchronized point cloud is:

[0037]

[0038] Where, x c,t , yc,t and z c,t The x-coordinate represents the position coordinate of the cone in frame t. c,t-2 y c,t-2 and z c,t-2 This represents the position coordinates of the cone in frame t-2.

[0039] Optionally, the location information of the multiple intelligent vehicles in the next frame is:

[0040]

[0041]

[0042] z' t =z t

[0043] Where, x' t y' t 、z' t The x represents the optimized trajectory coordinates of the intelligent vehicle. t y t z t Indicates the initial position of the original intelligent vehicle. ΔDcdx and ΔDcdy represent the x- and y-direction components of the vehicle's velocity in frame t, respectively; ΔDcdx and ΔDcdy represent the x- and y-direction components of the cone's centroid position offset; and k indicates whether multiple intelligent vehicles exist (1 if so, 0 otherwise). Indicates the distance between the intelligent vehicle workshop, This indicates the angle between the speed and direction of the intelligent vehicle.

[0044] Optionally, the optimization method further includes:

[0045] The deployment position of the lidar on the intelligent vehicle racing track is determined based on the preset angle of the bottom corner of the lidar's laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the lidar to the center point of the intelligent model vehicle.

[0046] Optionally, determining the deployment position of the lidar on the intelligent vehicle racing track based on a preset angle at the bottom corner of the lidar's laser beam and a preset shortest distance from the lidar's ground projection point to the center point of the intelligent model vehicle specifically includes:

[0047] The height of the laser radar above the ground is determined based on the preset angle of the bottom corner of the laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the laser radar to the center point of the intelligent model vehicle.

[0048] The apex angle of the laser beam on the top of the intelligent vehicle is determined based on the ground height of the lidar, the height of the intelligent model vehicle, the length of the intelligent model vehicle, and the horizontal distance between the lidar and the intelligent model vehicle.

[0049] The vertical angle range of the lidar on the intelligent model vehicle is determined based on the preset angles of the top and bottom angles of the laser beam.

[0050] The deployment location of the lidar on the intelligent vehicle racing track is determined based on the vertical angle range and the top angle of the laser beam.

[0051] A three-dimensional detection-based intelligent vehicle racing trajectory optimization system, applying the aforementioned three-dimensional detection-based intelligent vehicle racing trajectory optimization method, wherein the optimization system includes:

[0052] The acquisition module is used to acquire synchronous point clouds of a preset three-dimensional space in the intelligent vehicle competition venue using the lidar deployed at the application location;

[0053] The extraction module is used to extract the cone point cloud based on the synchronized point cloud and determine the cone position;

[0054] An ideal path determination module is used to determine the ideal path of the intelligent vehicle on the race track based on the cone position when the offset between the cone position of the current frame of the synchronized point cloud and the cone position of the previous frame is less than or equal to a set threshold, and the intelligent vehicle moves along the ideal path.

[0055] The detection module is used to perform three-dimensional target detection on the intelligent vehicles in the intelligent vehicle competition field based on the synchronized point cloud when the offset between the cone position of the current frame and the cone position of the previous frame is greater than a set threshold, thereby obtaining the position information and size information of multiple intelligent vehicles.

[0056] The orientation determination module is used to determine the speed and orientation of the multiple intelligent vehicles, as well as the distance and the angle between the speed and orientation of adjacent intelligent vehicles, based on the position and size information of the multiple intelligent vehicles.

[0057] The optimized path determination module is used to determine the position information of multiple intelligent vehicles in the next frame based on the offset of the cone position of the current frame of the synchronized point cloud from the cone position of the previous frame, the speed and direction of multiple intelligent vehicles, and the angle between the distance and speed direction between adjacent intelligent vehicles, so as to obtain the optimized path of the intelligent vehicle on the race track, and the intelligent vehicle moves along the optimized path.

[0058] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0059] This invention compares the offset of the cone position in the current frame of the synchronized point cloud from the cone position in the previous frame with a preset threshold. When the offset is less than the preset threshold, the ideal path of the intelligent vehicle on the race track is determined based on the cone position, and the intelligent vehicle moves along the ideal path. When the offset is greater than or equal to the preset threshold, three-dimensional target detection is performed on the intelligent vehicles in the race track based on the synchronized point cloud to obtain the position and size information of multiple intelligent vehicles. Based on the position and size information of multiple intelligent vehicles, the speed and direction of multiple intelligent vehicles, as well as the distance and speed direction angle between adjacent intelligent vehicles, are determined. Based on the offset of the cone position in the current frame of the synchronized point cloud from the cone position in the previous frame, the speed and direction of multiple intelligent vehicles, as well as the distance and speed direction angle between adjacent intelligent vehicles, the position information of multiple intelligent vehicles in the next frame is determined, resulting in an optimized path for the intelligent vehicle on the race track, and the intelligent vehicle moves along the optimized path. This allows for real-time detection of the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud, thereby determining the operating status of the intelligent vehicle in real time. Based on the operating status of the intelligent vehicle, the optimal path can be planned in real time, effectively improving performance during intelligent vehicle competitions by optimizing the path. Attached Figure Description

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

[0061] Figure 1 This is a flowchart of the multi-level trajectory optimization method for intelligent vehicles based on lidar detection according to the present invention;

[0062] Figure 2 This is an overall block diagram of the multi-level trajectory optimization method for intelligent vehicles based on lidar detection according to the present invention;

[0063] Figure 3 This is a schematic diagram showing the deployment location of the lidar of the present invention;

[0064] Figure 4 This is a flowchart of the external point traversal algorithm described in this invention;

[0065] Figure 5 This is a diagram showing the fitted actual path and the optimized secondary trajectory path of the intelligent vehicle racing process described in this invention.

[0066] Figure 6 This is a diagram illustrating the point cloud clustering effect of the present invention. Detailed Implementation

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

[0068] The purpose of this invention is to provide a method and system for optimizing the trajectory of intelligent vehicle races based on three-dimensional detection, which can effectively improve performance by optimizing the path during intelligent vehicle races.

[0069] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0070] Example 1

[0071] like Figure 1 and Figure 2 As shown, this invention provides a method for optimizing the racing trajectory of intelligent vehicles based on three-dimensional detection. The optimization method includes:

[0072] Step S1: Use LiDAR sensors deployed at pre-defined locations within the intelligent vehicle competition area to acquire synchronized point clouds in a pre-defined three-dimensional space of the competition area. S1 specifically includes:

[0073] Step S11: Apply the lidar at the deployment location to obtain multiple point cloud data of the preset three-dimensional space of the intelligent vehicle competition venue.

[0074] Step S12: Synchronize the multiple point cloud data in time and space to obtain the original synchronized point cloud.

[0075] In practical applications, by processing the time and space synchronization of multiple lidars, the reference time of multiple lidars is obtained, and accurate time synchronization is achieved. The space synchronization of multiple lidars is actually the mutual transformation of coordinate systems between multiple lidars, which includes the rotation and translation of coordinate systems.

[0076] As a specific implementation method, the RoboSense multi-LiDAR calibration software can perform time and space synchronization processing for multiple LiDARs, obtain the reference time of multiple LiDARs, and perform accurate time synchronization.

[0077] Time synchronization: Time synchronization of multi-sensor data is a crucial issue in multi-sensor information fusion. It effectively addresses the problem of data misalignment in the time dimension caused by differences in activation times or sampling frequencies between different sensors. For example, when two lidar sensors are not accurately synchronized, a "ghosting" effect on the target object can occur, affecting the accuracy of subsequent detection models. Therefore, to fully leverage the advantages of multiple lidar sensors, accurate time synchronization is essential.

[0078] The calculation formula is as follows:

[0079] T1 = T GPS +T 1s +T timestamp

[0080] In the formula, T1 is the exact time of the data packet, and T GPS It is the UTC time currently provided to the lidar by the GPS timing module, T 1s T is a constant of 1 second. timestamp This refers to the internal timestamp information of the lidar in the frame header of the data packet, which is the reception time of the first laser beam in the first data block of the data packet.

[0081] Once the exact time of each data packet is determined, the exact time of each laser point can be obtained using the formula T1 above. By analyzing the timestamps of each laser point and combining them with the formula T1 above, the exact time of each laser point from multiple lidar systems can be obtained, i.e., the data after time synchronization of multiple lidar systems.

[0082] T pc_offset =t1·(Seq-1)+t2·Ind

[0083] In the formula, T pc_offset t1 is the time offset of the laser point in the data packet; t2 is the time it takes for all lasers of the lidar to complete one round of emission and charging, which is generally between 50 and 60 microseconds; t3 is the emission time interval between two lasers; Seq is the channel number of the laser; Ind is the sequence number of a complete round of laser data in the data packet.

[0084] Spatial synchronization: Spatial synchronization of multiple lidar systems is essentially the transformation of coordinate systems between them, which includes coordinate system rotation and translation. Assume p = (x... P y P , z P Let p be a point in the lidar coordinate system P. Then the transformation formula from point p in coordinate system L to coordinate system S is:

[0085]

[0086] In the formula, T = [x′, y′, z′] T R is the displacement of the origin of coordinate system L to P; R is a 3×3 rotation matrix.

[0087]

[0088] Where α is the pitch angle, β is the roll angle, and η is the yaw angle.

[0089] Step S13: Based on the original synchronized point cloud, conditional filtering based on the polygon region is performed to obtain the effective range of the point cloud in the XY plane.

[0090] In practical applications, the original point cloud obtained after the spatiotemporal synchronization processing of multiple lidar in step S12 is used to filter out a large number of invalid point clouds in order to obtain the effective point cloud range.

[0091] Specifically, the redundant parts in the XY plane are removed, and an effective range is selected. For this effective range, a pass-through filter that takes into account the height difference is used to filter out the redundant Z-axis point cloud. This is equivalent to obtaining an effective xyz three-dimensional space and removing all the rest.

[0092] To read a frame of point cloud data, conditional filtering based on polygon regions is first used to determine the effective range of the point cloud in the XY plane. Specifically, based on the size of the intelligent vehicle racing track and its offset relative to the LiDAR coordinate system, 6-10 pre-aiming points are determined, and the original point cloud data is cropped based on the polygon region formed by the pre-aiming points.

[0093] In practical applications, the number of aiming points can be selected according to the actual situation. Different venues and different obstacles may require different numbers of points. Fine-tuning is needed during actual operation. The six points selected in this invention have better results.

[0094] Step S14: Based on the point cloud within the effective range of the XY plane, apply a through-filter based on the height difference to filter the point cloud on the Z-axis to obtain an effective XYZ three-dimensional spatial point cloud.

[0095] In practical applications, for the polygonal region obtained by S13, a pass-through filter considering the height difference is used to filter the point cloud on the Z-axis to obtain an effective XYZ three-dimensional point cloud.

[0096] Specifically, the height difference between the intelligent vehicle and the cone is used to obtain partial point cloud data representing the cone, and an appropriate threshold range is used to filter out point cloud data that does not meet the requirements.

[0097] Calculation formula:

[0098] H dif =H bar -H car

[0099] H dif H represents the height difference between the smart car and the traffic cones. bar H is the height of the cone. car The height of the intelligent vehicle is used. A pass-through filter with a threshold range of 0.38 ≤ z ≤ 0.63 is used to filter out point cloud data that does not meet the requirements.

[0100] Step S15: Based on the valid XYZ three-dimensional spatial point cloud, apply adaptive radius filtering based on distance metric to remove noise points and obtain a synchronized point cloud.

[0101] In practical applications, for the effective XYZ three-dimensional spatial point cloud obtained by S14, an adaptive radius filter based on distance metric is used to remove noise points.

[0102] Specifically, the process involves reading a frame of point cloud data, calculating the distance from each point to the origin of each lidar coordinate system, and then standardizing the distance using the following formula:

[0103]

[0104] In the formula, d is the distance metric; Dis1 and Dis2 are the distances from a certain point to the two radar coordinate origins, in meters; w is the weighting factor. Since the number of point clouds of low-line-count lidar is relatively low relative to the total number of point clouds, the weighting factor is set to 0.3 to reduce its influence; Norm is the standardization constant.

[0105] Query the number of point clouds in the neighborhood of point i and determine whether it is greater than the determined threshold for the number of point clouds. If it is greater, the point meets the requirements and is retained; otherwise, the point is discarded. Determine whether all point clouds have been traversed. If not, repeat the previous step; otherwise, end the loop and perform point cloud filtering for the next frame.

[0106] Step S1 is the acquisition and preprocessing of multi-LiDAR data; step S11 is the placement of multi-LiDAR locations; step S12 is to synchronize the placed multi-LiDAR locations in time and space; steps S13 and S14 are to preprocess the data acquired by multi-LiDAR. First, an effective xy region is selected, and then a suitable z-axis region is selected within that xy region. This finds an effective xyz three-dimensional space. Since there are still noisy point clouds, a final method is used to remove the noisy points. Step S15 generates a frame of preprocessed point cloud information. The subsequent information on the track cones and the intelligent vehicle is identified based on this.

[0107] Step S2: Extract the cone point cloud based on the synchronized point cloud and determine the cone position.

[0108] S2 specifically includes:

[0109] Step S21: Based on the synchronized point cloud, apply the density-based DBSCAN clustering algorithm to extract the cone point cloud.

[0110] In practical applications, the density-based DBSCAN clustering algorithm is used to remove noise points and erroneous point cloud information representing the intelligent vehicle, retaining the key point cloud data at the top of the cones and classifying them. Specifically, classification means identifying each cone individually and removing noise points and erroneous information. The method used is the density-based DBSCAN clustering algorithm, such as... Figure 6 As shown.

[0111] Step S22: Based on the cone point cloud, calculate the position information of the cone in the lidar reference coordinate system and determine the position of the cone; the lidar reference coordinate system is the XYZ coordinate system where the original synchronized point cloud is located.

[0112] In practical applications, point cloud data for each cone is obtained, and the position information of the cone in the lidar reference coordinate system is calculated. The reference coordinate system refers to the coordinate system after spatial synchronization, that is, the lidar reference coordinate system is the XYZ coordinate system where the original synchronized point cloud is located.

[0113] The coordinates of the centroid of the cone can be represented as:

[0114]

[0115]

[0116]

[0117] In the above formula: x c y c and z c This indicates the coordinates of the centroid of the cone, x. i y i and z i This represents the spatial coordinate information of a point cloud cluster, where N represents the total number of points in the cluster, and c is the calibration constant of the centroid on the X and Y axes.

[0118] Step S3: When the offset between the cone position of the current frame and the cone position of the previous frame of the synchronized point cloud is less than or equal to a set threshold, the ideal path of the intelligent vehicle on the race track is determined based on the cone position, and the intelligent vehicle moves along the ideal path.

[0119] S3 specifically includes:

[0120] Step S31: Based on the cone positions, apply the alpha shapes contour extraction algorithm to determine the inner and outer contour cone positions on the intelligent vehicle racing track.

[0121] Step S32: Based on the position points of the inner and outer contour cones, apply the outer point traversal algorithm to determine the center path point.

[0122] Step S33: Apply a cubic B-spline curve to fit the center path point to obtain the ideal path.

[0123] In practical applications, x obtained in step S2 c y c and z c These three parameters are the x, y, and z axis coordinates of the cone. After obtaining the inner and outer contour points of the intelligent vehicle racing track, the center position coordinates of the two cones, i.e., the ideal path points, can be obtained using the inner and outer cones. After fitting all the ideal path points into a closed-loop curve, the ideal path of the intelligent vehicle racing track is formed.

[0124] Specifically, regarding the coordinates X of the centroid of the cone obtained above... c Y c Z c The alpha shapes contour extraction algorithm is used to obtain the inner and outer contour points of the intelligent vehicle racing track, that is, to distinguish the inner and outer cones of the intelligent vehicle racing track. Based on the coordinate information of the inner and outer cones, the outer point traversal algorithm is used to obtain the center path point. The set of center path points is fitted into a closed loop curve using a cubic B-spline curve, which is the ideal path of the intelligent vehicle racing track.

[0125] Furthermore, such as Figure 4 As shown, the coordinates of the inner and outer cone points have been divided into two point sets, A and B, where A is the point set of the outer cone points and B is the point set of the inner cone points. All points in point set A are transformed from Cartesian coordinates to polar coordinates, and then sorted clockwise from smallest to largest (-180° to 180°). The sorted points are a1, a2, ... a1. n Then, take point a according to the sequence number. i (1≤i≤n) and find the distance a from the inner cone point set B. i The two closest points b i b j b was calculated separately. i b j to a i The process ends when all points in point set A have been traversed, resulting in the center point set C. After obtaining the center point set, a cubic B-spline curve is used to fit the center point set to form a closed-loop curve, which is the ideal path.

[0126] Step S4: When the offset between the cone position of the current frame and the cone position of the previous frame in the synchronized point cloud is greater than a set threshold, three-dimensional target detection is performed on the intelligent vehicles in the intelligent vehicle competition field based on the synchronized point cloud to obtain the position information and size information of multiple intelligent vehicles.

[0127] Specifically, the offset between the cone position of the current frame and the cone position of the previous frame in the synchronized point cloud is:

[0128]

[0129] Where, x c,t y c,t and z c,t The x-coordinate represents the position coordinate of the cone in frame t. c,t-2 y c,t-2 and z c,t-2 This represents the position coordinates of the cone in frame t-2.

[0130] Step S5: Based on the position and size information of the multiple intelligent vehicles, determine the speed and direction of the multiple intelligent vehicles, as well as the angle between the distance and speed direction of adjacent intelligent vehicles.

[0131] Specifically, the speed and direction of the intelligent vehicle are:

[0132]

[0133] in, Let x represent the speed of the intelligent vehicle in frame t, where T represents the time interval between two adjacent frames in the LiDAR point cloud data. t y t and zt This represents the coordinates of the center point of the intelligent vehicle in frame t, x. t-2 y t-2 and z t-2 This represents the coordinates of the center point of the intelligent vehicle in frame t-2.

[0134] The distance between adjacent intelligent vehicles is:

[0135]

[0136] in, This represents the distance between intelligent car i and intelligent car j. and This represents the coordinates of the center point of the intelligent vehicle i in frame t. and This represents the coordinate information of the center point of intelligent vehicle i in frame t-1. and This represents the coordinates of the center point of the intelligent vehicle j in frame t. and This represents the coordinate information of the center point of the intelligent vehicle j in the (t-1)th frame.

[0137] The angle between the directions of velocity is:

[0138]

[0139] in, This represents the angle between the velocity directions of intelligent vehicle i and intelligent vehicle j in frame t. Let i represent the velocity vector of the intelligent vehicle i in frame t. Let represent the velocity vector of intelligent vehicle j in frame t.

[0140] In practical applications, based on existing technologies (Li P, Zhao H, Liu P, et al. Rtm3d: Real-time monocular 3d detection from object keypoints for autonomous driving. 16th European Conference on Computer Vision [C]. Glasgow. 2020. Berlin: Springer Science, 2020: 644-660), an encoding method using RGB-BEV feature maps with point cloud height, density, and reflection intensity information is adopted. Then, a ResNet18 feature pyramid network is used to extract multi-level feature maps. KFPN is introduced to fuse multi-level feature map information, and a corresponding multi-task loss function is designed. The training, validation, and performance evaluation of the model are completed on a self-built dataset, and finally, the position x of the intelligent vehicle is obtained. ty t z t And three-dimensional dimensional information.

[0141] Step S6: Based on the offset between the cone position of the current frame and the cone position of the previous frame in the synchronized point cloud, the speed and direction of the multiple intelligent vehicles, and the angle between the distance and speed direction between adjacent intelligent vehicles, determine the position information of the multiple intelligent vehicles in the next frame, obtain the optimized path of the intelligent vehicle on the race track, and the intelligent vehicle moves along the optimized path.

[0142] Specifically, the location information of the multiple intelligent vehicles in the next frame is as follows:

[0143]

[0144]

[0145] Z' t =z t

[0146] Where, x' t y' t 、z' t The x represents the optimized trajectory coordinates of the intelligent vehicle. t y t z t Indicates the initial position of the original intelligent vehicle. ΔDcdx and ΔDcdy represent the x- and y-direction components of the vehicle's velocity in frame t, respectively; ΔDcdx and ΔDcdy represent the x- and y-direction components of the cone's centroid position offset; and k indicates whether multiple intelligent vehicles exist (1 if so, 0 otherwise). Indicates the distance between the intelligent vehicle workshop, This indicates the angle between the speed and direction of the intelligent vehicle.

[0147] like Figure 5 As shown, when the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud exceeds a set threshold, the driving trajectory of the intelligent vehicle is re-optimized to enable the intelligent vehicle to achieve the optimal trajectory driving competition. The deviation terms between the actual intelligent vehicle and the ideal path are calculated; these deviation terms are used to guide the actual intelligent vehicle to achieve the effect of the ideal path during driving. Figure 5 In this context, "car track path" refers to the driving trajectory of the intelligent vehicle; "ideal path" refers to the ideal path taken by the intelligent vehicle.

[0148] In addition, intelligent vehicle racing trajectory optimization methods based on 3D detection also include:

[0149] The deployment position of the lidar on the intelligent vehicle racing track is determined based on the preset angle of the bottom corner of the lidar's laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the lidar to the center point of the intelligent model vehicle.

[0150] In practical applications, such as Figure 3 As shown, since the target object to be detected is relatively small, and the quality of the point cloud data acquired by the LiDAR is significantly affected by the installation height, thus impacting the accuracy of the subsequent detection model, it is necessary to analyze the deployment height of the LiDAR. The deployment of multiple LiDARs is completed, determining their positions on the intelligent vehicle racing track. Specifically, this includes:

[0151] (1) Determine the ground clearance of the laser radar based on the preset angle of the laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the laser radar to the center point of the intelligent model vehicle. Specifically:

[0152] The altitude of a lidar unit above the ground can be expressed as:

[0153] h1=-tan(λ)·L1

[0154] In the above formula: h1 represents the height of the lidar above the ground, λ represents the bottom corner of the laser beam that the lidar hits on the bottom of the smart car, and L1 represents the shortest distance from the ground projection point of the lidar to the center point of the model car.

[0155] (2) Determine the top angle of the laser beam on the top of the intelligent vehicle based on the ground height of the laser radar, the height of the intelligent model vehicle, the length of the intelligent model vehicle, and the horizontal distance between the laser radar and the intelligent model vehicle.

[0156] The apex angle of the laser beam from the lidar hitting the top of the smart car can be represented as:

[0157]

[0158] In the above formula: This represents the top corner of the laser beam that the lidar hits on the top of the smart car; h1 represents the lidar's height above the ground; h2 represents the smart car's actual height; and L represents the horizontal distance between the lidar and the smart car. car This indicates the actual length of the intelligent vehicle.

[0159] (3) Determine the vertical angle range of the laser radar on the intelligent model vehicle based on the top angle of the laser beam and the preset angle of the bottom angle of the laser beam.

[0160] The vertical angle range of the lidar hitting the intelligent model car can be expressed as:

[0161]

[0162] In the above formula: Δσ represents the vertical angle range of the LiDAR hitting the intelligent model car. λ represents the top corner of the laser beam from the lidar hitting the top of the smart car. λ represents the bottom corner of the laser beam from the lidar hitting the bottom of the smart model car.

[0163] (4) Determine the deployment position of the lidar on the intelligent vehicle racing track based on the vertical angle range and the top angle of the laser beam.

[0164] Because the target object is relatively small compared to a normal vehicle, the laser beam must be sufficiently dense in the vertical direction to acquire high-quality point cloud data. This requires the placement height to be limited, but too low a height will result in severe occlusion by obstacles, leading to situations where the target cannot be detected for an extended period. This is determined through calculations... The reference position for the lidar can be determined by Δσ, and different placement positions are selected according to different tracks. The reference position is a range of locations, and the parameters mentioned above are used to guide the lidar placement and need to be adjusted according to the actual situation. This invention uses two lidars for a single track, and the subsequent data processing involves spatiotemporal synchronization of these two lidars.

[0165] This invention can be effectively used for multi-level trajectory optimization of intelligent vehicles in intelligent vehicle competitions. It overcomes the shortcomings of existing research in real-time driving status detection of intelligent vehicles during competitions and the simplistic trajectory planning methods. It achieves real-time target detection and cone centroid detection for intelligent vehicles, and further optimizes the intelligent vehicle trajectory based on parameters such as the intelligent vehicle's own state, cone offset, and multi-vehicle interaction state. This enables multi-level trajectory optimization during intelligent vehicle competitions and can be widely applied to various intelligent vehicle competitions. Furthermore, this invention addresses the problem that existing trajectory planning methods for intelligent vehicles in intelligent vehicle competitions cannot effectively utilize the real-time driving status of intelligent vehicles and are limited in scope.

[0166] Example 2

[0167] To implement the method corresponding to Embodiment 1 above and achieve the corresponding functions and technical effects, a three-dimensional detection-based intelligent vehicle racing trajectory optimization system is provided below. The optimization system includes:

[0168] The acquisition module is used to acquire synchronous point clouds of a preset three-dimensional space in the intelligent vehicle competition venue using lidar deployed at the application location.

[0169] The extraction module is used to extract the cone point cloud based on the synchronized point cloud and determine the cone position.

[0170] The ideal path determination module is used to determine the ideal path of the intelligent vehicle on the race track based on the cone position when the offset between the cone position of the current frame of the synchronized point cloud and the cone position of the previous frame is less than or equal to a set threshold, and the intelligent vehicle moves along the ideal path.

[0171] The detection module is used to perform three-dimensional target detection on the intelligent vehicles in the intelligent vehicle competition field based on the synchronized point cloud when the offset between the cone position of the current frame and the cone position of the previous frame is greater than a set threshold, thereby obtaining the position information and size information of multiple intelligent vehicles.

[0172] The direction determination module is used to determine the speed and direction of the multiple intelligent vehicles, as well as the angle between the distance and speed direction between adjacent intelligent vehicles, based on the position and size information of the multiple intelligent vehicles.

[0173] The optimized path determination module is used to determine the position information of multiple intelligent vehicles in the next frame based on the offset of the cone position of the current frame of the synchronized point cloud from the cone position of the previous frame, the speed and direction of multiple intelligent vehicles, and the angle between the distance and speed direction between adjacent intelligent vehicles, so as to obtain the optimized path of the intelligent vehicle on the race track, and the intelligent vehicle moves along the optimized path.

[0174] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.

[0175] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for optimizing the racing trajectory of an intelligent vehicle based on 3D detection, characterized in that, The optimization method includes: The synchronous point cloud of the intelligent vehicle competition venue is obtained by using LiDAR at a pre-deployed location in the intelligent vehicle competition venue; Based on the synchronized point cloud, extract the cone point cloud and determine the cone position; When the offset between the cone position of the current frame and the cone position of the previous frame of the synchronized point cloud is less than or equal to a set threshold, the ideal path of the intelligent vehicle on the race track is determined based on the cone position, and the intelligent vehicle moves along the ideal path. When the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud is greater than a set threshold, three-dimensional target detection is performed on the intelligent vehicles in the intelligent vehicle competition field based on the synchronized point cloud to obtain the position information and size information of multiple intelligent vehicles. Based on the position and size information of the multiple intelligent vehicles, determine the speed and direction of the multiple intelligent vehicles, as well as the distance and the angle between the speed and direction of adjacent intelligent vehicles; Based on the offset between the cone position in the current frame and the cone position in the previous frame of the synchronized point cloud, the speed and direction of the multiple intelligent vehicles, and the angle between the distance and speed direction between adjacent intelligent vehicles, the position information of the multiple intelligent vehicles in the next frame is determined, the optimized path of the intelligent vehicle on the race track is obtained, and the intelligent vehicle moves along the optimized path.

2. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 1, characterized in that, The application of lidar at the deployment location to acquire synchronous point clouds in a preset three-dimensional space of the intelligent vehicle competition track specifically includes: By applying the lidar at the deployment location, multiple point cloud data of the preset three-dimensional space of the intelligent vehicle competition venue are obtained; The multiple point cloud data are synchronized in time and space to obtain the original synchronized point cloud; Based on the original synchronized point cloud, conditional filtering based on polygonal regions is used to obtain the effective range of the point cloud in the XY plane; Based on the point cloud within the effective range of the XY plane, a through-filter of the height difference is applied to filter the point cloud on the Z-axis to obtain an effective XYZ three-dimensional spatial point cloud. Based on the valid XYZ 3D spatial point cloud, an adaptive radius filter based on distance metric is applied to remove noise points, resulting in a synchronized point cloud.

3. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 2, characterized in that, Based on the synchronized point cloud, extract the cone point cloud and determine the cone position, specifically including: Based on the synchronized point cloud, the density-based DBSCAN clustering algorithm is applied to extract the cone-shaped point cloud; Based on the cone point cloud, the position information of the cone on the lidar reference coordinate system is calculated to determine the position of the cone; the lidar reference coordinate system is the XYZ coordinate system where the original synchronized point cloud is located.

4. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 1, characterized in that, Based on the position of the cones, the ideal path of the intelligent vehicle on the race track is determined, specifically including: Based on the cone positions, the alpha shapes contour extraction algorithm is applied to determine the inner and outer contour cone positions on the intelligent vehicle racing track. Based on the position points of the inner and outer contour cones, the center path point is determined by applying the outer point traversal algorithm. The ideal path is obtained by fitting the center path point with a cubic B-spline curve.

5. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 1, characterized in that, The speed and direction of the intelligent vehicle are: in, This represents the speed of the intelligent vehicle in frame t. This represents the time interval between two adjacent frames in the lidar point cloud data. , and This represents the coordinates of the center point of the intelligent vehicle in frame t. , and This represents the coordinates of the center point of the intelligent vehicle in frame t-2. The distance between adjacent intelligent vehicles is: in, Indicating intelligent vehicles With smart cars The distance between them , and Represents the intelligent car in frame t. Center point coordinate information , and Indicates the intelligent vehicle in frame t-1. Center point coordinate information , and Represents the intelligent car in frame t. Center point coordinate information , and Indicates the intelligent vehicle in frame t-1. Center point coordinates; The angle between the directions of velocity is: in, Represents the intelligent car in frame t. With smart cars Angle of velocity direction, Represents the intelligent car in frame t. velocity vector Represents the intelligent car in frame t. Velocity vector.

6. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 1, characterized in that, The offset between the cone position of the current frame and the cone position of the previous frame in the synchronized point cloud is: in, , and This represents the position coordinates of the cone in frame t. , and This represents the position coordinates of the cone in frame t-2.

7. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 1, characterized in that, The location information of the multiple intelligent vehicles in the next frame is as follows: in, , , This indicates the trajectory coordinates after the intelligent vehicle's trajectory has been optimized. , , This represents the coordinates of the center point of the intelligent vehicle in frame t. , This represents the x-axis and y-axis components of the vehicle's velocity in frame t. , This represents the x-component and y-component of the offset of the cone's center of mass. This indicates whether multiple intelligent vehicles exist; a value of 1 indicates existence, and a value of 0 indicates otherwise. Indicating intelligent vehicles With smart cars The distance between them Represents the intelligent car in frame t. With smart cars Angle between the velocity direction and velocity.

8. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 1, characterized in that, The optimization method further includes: The deployment position of the lidar on the intelligent vehicle racing track is determined based on the preset angle of the bottom corner of the lidar's laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the lidar to the center point of the intelligent model vehicle.

9. The intelligent vehicle racing trajectory optimization method based on three-dimensional detection according to claim 8, characterized in that, The step of determining the deployment position of the lidar on the intelligent vehicle racing track based on the preset angle of the bottom corner of the lidar's laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the lidar to the center point of the intelligent model vehicle specifically includes: The height of the laser radar above the ground is determined based on the preset angle of the bottom corner of the laser beam at the bottom of the intelligent model vehicle and the preset shortest distance from the ground projection point of the laser radar to the center point of the intelligent model vehicle. The apex angle of the laser beam on the top of the intelligent vehicle is determined based on the ground height of the lidar, the height of the intelligent model vehicle, the length of the intelligent model vehicle, and the horizontal distance between the lidar and the intelligent model vehicle. The vertical angle range of the lidar on the intelligent model vehicle is determined based on the preset angles of the top and bottom angles of the laser beam. The deployment location of the lidar on the intelligent vehicle racing track is determined based on the vertical angle range and the top angle of the laser beam.

10. A system for optimizing the racing trajectory of an intelligent vehicle based on three-dimensional detection, characterized in that, The optimization system includes: The acquisition module is used to acquire synchronous point clouds of a preset three-dimensional space in the intelligent vehicle competition venue using the lidar deployed at the application location; The extraction module is used to extract the cone point cloud based on the synchronized point cloud and determine the cone position; An ideal path determination module is used to determine the ideal path of the intelligent vehicle on the race track based on the cone position when the offset between the cone position of the current frame of the synchronized point cloud and the cone position of the previous frame is less than or equal to a set threshold, and the intelligent vehicle moves along the ideal path. The detection module is used to perform three-dimensional target detection on the intelligent vehicles in the intelligent vehicle competition field based on the synchronized point cloud when the offset between the cone position of the current frame and the cone position of the previous frame is greater than a set threshold, thereby obtaining the position information and size information of multiple intelligent vehicles. The orientation determination module is used to determine the speed and orientation of the multiple intelligent vehicles, as well as the distance and the angle between the speed and orientation of adjacent intelligent vehicles, based on the position and size information of the multiple intelligent vehicles. The optimized path determination module is used to determine the position information of multiple intelligent vehicles in the next frame based on the offset of the cone position of the current frame of the synchronized point cloud from the cone position of the previous frame, the speed and direction of multiple intelligent vehicles, and the angle between the distance and speed direction between adjacent intelligent vehicles, so as to obtain the optimized path of the intelligent vehicle on the race track, and the intelligent vehicle moves along the optimized path.

Citation Information

Patent Citations

  • Intelligent vehicle trajectory planning method based on improved artificial potential field

    CN110908373A

  • Laser radar 3D real-time target detection method fusing multi-frame time sequence point cloud

    CN111429514A

  • Method and system for extracting information of cone buckets in racing track based on laser radar.

    CN113655498A