A 4D millimeter wave radar target heading angle fitting method and storage medium

By combining the principal component analysis and the minimum bounding box loss function fitting algorithm, the fitting method is selected according to the target longitudinal distance, which solves the problem of inaccurate target heading angle fitting in the existing technology and achieves more accurate heading in intelligent driving. angle judgment.

CN114839615BActive Publication Date: 2024-09-13CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210471195.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-09-13
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

When the existing technology uses millimeter wave radar to fit target heading angles, especially in the case of multiple targets and targets with low speeds, it is difficult to obtain accurate heading angle results, and a single frame point cloud generates the heading angle of the target. The fit is not good.

Method used

A method that combines the fitting algorithm based on principal component analysis and the fitting algorithm based on the minimum bounding box loss function is used to fit the 4D millimeter wave radar target heading angle. The appropriate fitting algorithm is selected according to the longitudinal distance of the target. The longitudinal distance If the distance is less than 40m, the minimum bounding box loss function is used, and if the distance is greater than 40m, principal component analysis is used to fit, and DBSCAN clustering and Kalman filtering are combined for tracking algorithm processing.

Benefits of technology

The accuracy of the target heading angle is significantly improved. By analyzing the characteristics of targets at different locations and selecting an appropriate fitting algorithm, the calculation efficiency and accuracy are improved, ensuring the accurate judgment of the target heading angle in intelligent driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114839615B
    Figure CN114839615B
Patent Text Reader

Abstract

The present invention discloses a 4D millimeter wave radar target heading angle fitting method and storage medium, including S1, obtaining the vehicle signal, the target position signal and the 4D millimeter wave radar point cloud signal, and analyzing and preprocessing the signal; S2, clustering the point cloud signal to obtain a point cloud cluster; S3, according to the target position signal, using a principal component analysis fitting algorithm and a minimum bounding box loss function fitting algorithm to perform heading angle fitting processing on the point cloud cluster to obtain the target's azimuth heading angle. After analyzing the characteristics of the sensor, the present invention adopts different heading angle fitting algorithms for targets at different positions, and uses different weights under different conditions in combination with the heading angle of the target after reference tracking and the heading angle formed by the target's external frame, which significantly improves the accuracy of the target heading angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automobile intelligent driving, and more specifically relates to a 4D millimeter wave radar target heading angle fitting method and a storage medium. Background Art

[0002] Ordinary millimeter-wave radars generally have large errors in their output target heading angles because their horizontal angle resolution is not small enough and the target point cloud density is insufficient. In the multi-sensor fusion stage, this value is generally not referenced or the weight of this value is set very low. However, with the advent of multi-chip cascaded 4D millimeter-wave radars, the industry average level of horizontal angle resolution has reached around 1.5°. The point cloud of each target can almost describe the true outline of the target. At this time, if a reasonable fitting method is used for the target heading angle, a sufficiently accurate result can be obtained to serve the subsequent multi-sensor fusion.

[0003] my country's patent 201910686591.5 discloses a millimeter-wave radar target detection method and system, the method includes: obtaining a swept frequency transmission signal and an echo signal on a millimeter-wave radar; processing the transmission signal and the echo signal to obtain a swept frequency complex difference signal; determining the distance spectrum function model of the radar target according to the swept frequency complex difference signal; determining the noise power estimation value according to the distance spectrum function model; determining the threshold value according to the noise power estimation value; selecting the larger value between the threshold value and the set empirical threshold value as the final threshold value for judging the target. The method or system of this invention can reduce the false alarm probability of the background. However, when the patent generates the target after the point cloud, it does not fit the external frame of the target, so it is impossible to obtain the heading angle attribute of the target, and thus it is impossible to output the motion attribute.

[0004] my country's patent CN202010244026.6 discloses a point cloud division and track matching method for millimeter wave radar target tracking, which belongs to the field of millimeter wave radar signal processing. In order to improve the accuracy of personnel counting by millimeter wave radar in the case of multiple targets, the present application includes: transmitting electromagnetic wave signals to the measured spatial range through millimeter wave radar, and receiving the signals reflected back from the measured spatial range through millimeter wave radar; processing the received signals to obtain target point traces; for the target point traces, condensing the point traces into different areas; matching the condensed point trace areas to known tracks according to conditions, distinguishing the motion trajectories of different targets, obtaining the motion status of people in the target area, and updating the counting results in the target area. This patent completes the overall process from millimeter wave radar point cloud to the tracked target, but the assignment of the target heading angle in this patent is determined by the speed direction of the target after multi-frame tracking. The results obtained in this way can meet the needs under normal circumstances, but the fitting effect is not good for targets with lower speeds, and this method is difficult to have an accurate fitting result for the heading angle of the target generated by a single frame of point cloud. Summary of the invention

[0005] To solve the above problems, the present invention provides a 4D millimeter-wave radar target heading angle fitting method and storage medium, which uses different weights under different conditions in combination with the heading angle of the target after reference tracking and the heading angle formed by the target's external frame, which significantly improves the accuracy of the target heading angle.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows: a 4D millimeter wave radar target heading angle fitting method comprises the following steps:

[0007] S1. Obtain the vehicle signal, the target position signal and the 4D millimeter wave radar point cloud signal, and analyze and preprocess the signal;

[0008] S2. performing clustering processing on the point cloud signal to obtain a point cloud cluster;

[0009] S3. According to the position signal of the target, a principal component analysis-based fitting algorithm and a minimum bounding box loss function-based fitting algorithm are combined to perform heading angle fitting processing on the point cloud cluster to obtain the azimuth heading angle of the target.

[0010] As an optimization, the position signal of the target includes the longitudinal distance between the target and the 4D millimeter wave radar.

[0011] As an optimization, in step S3, the heading angle fitting process is performed on the target whose longitudinal distance is less than 40m by using the minimum bounding box loss function fitting algorithm; and the heading angle fitting process is performed on the target whose longitudinal distance is greater than 40m by using the principal component analysis fitting algorithm.

[0012] As an optimization, the heading angle fitting process is performed based on the principal component analysis fitting algorithm, specifically,

[0013] S3011, performing mean zeroing processing on the point cloud cluster;

[0014] S3012. Obtain the eigenvalues ​​and eigenvectors of the point cloud cluster to obtain the azimuth and heading angle of the target.

[0015] As an optimization, the heading angle fitting process is performed based on the minimum bounding box loss function fitting algorithm, specifically,

[0016] S3021, establishing a minimum bounding box, where the minimum bounding box is a rectangular box that can enclose the point cloud cluster and has the smallest area;

[0017] S3022, setting the fitting loss function and angle step size;

[0018] S3023. Taking the angle corresponding to the minimum loss function as the fitting result, the azimuth and heading angle of the target are obtained.

[0019] As an optimization, step S3024 is also included to verify and correct the fitting result. If the angle corresponding to the fitting result is a secondary direction, the direction with a larger projection length is selected as the main direction according to the projection length of the point cloud cluster on the longitudinal axis after the coordinate rotation.

[0020] As an optimization, in step S3022, the following loss function is used:

[0021]

[0022]

[0023] In the formula, dis(i) represents the minimum distance from the i-th point to the four sides of the minimum bounding box; Represents the average error distance of the four categories calculated according to the minimum distance to the four sides of the minimum bounding box.

[0024] As an optimization, the angle step is set to 1°.

[0025] As an optimization, the method further includes step S4, performing tracking algorithm processing on the target, and obtaining the speed and heading angle of the target in combination with the azimuth and heading angle.

[0026] A storage medium stores one or more programs, and when the one or more programs are executed by a processor, the steps of the 4D millimeter wave radar target heading angle fitting method are executed.

[0027] Compared with the prior art, the present invention has the following advantages:

[0028] The present invention receives the vehicle signal and 4D millimeter wave radar point cloud signal from the vehicle CAN port and the vehicle Ethernet respectively, analyzes and pre-processes these signals; clusters the classic DBSCAN algorithm used for the 4D millimeter wave radar point cloud; estimates the heading angle of the clustered point cloud cluster; performs tracking algorithms such as association and fusion on the generated target, and performs Kalman filtering through historical information to make the target motion attribute more accurate. The main solution is the problem of heading angle fitting of the intelligent driving 4D millimeter wave radar target. After analyzing the characteristics of the sensor, different heading angle fitting algorithms are used for targets at different positions, which mainly include the fitting algorithm based on principal component analysis and the fitting algorithm based on the minimum bounding box loss function. The former has high computational efficiency and strong versatility, and mainly acts on targets beyond the longitudinal distance of 40m; the latter has low computational efficiency, but has high fitting accuracy for targets with L-shaped point clouds, and accurately judges the heading angle of the cut-in target, and mainly acts on targets within the longitudinal distance of 40m. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a flow chart of the present invention;

[0030] Figure 2 This is a test result diagram comparing the target heading angle fitting and the actual angle of the present invention. DETAILED DESCRIPTION

[0031] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0032] Example: See Figure 1-Figure 2 .

[0033] Specifically, a 4D millimeter wave radar target heading angle fitting method includes the following steps:

[0034] S1. Obtain the vehicle signal, the target position signal and the 4D millimeter wave radar point cloud signal, and parse and preprocess the signal; the target position signal includes the longitudinal distance between the target and the 4D millimeter wave radar.

[0035] S2. Perform clustering processing on the point cloud signal to obtain a point cloud cluster.

[0036] S3. According to the position signal of the target, a principal component analysis fitting algorithm (PLA fitting algorithm) and a minimum bounding box loss function fitting algorithm (Lshape fitting algorithm) are combined to perform heading angle fitting processing on the point cloud cluster to obtain the azimuth heading angle of the target.

[0037] First, it is necessary to determine which targets the heading angle fitting algorithm uses L-type fitting and principal component fitting for. The judgment condition of this step requires the user to make a judgment based on the characteristics of the radar he is using. Since the point cloud density of the target shot by the 4D radar will decay as the polar diameter increases, the effect of using L-type fitting will also gradually decay. Therefore, the target distance using L-type fitting should not be too large. Specifically, for the target with a longitudinal distance less than 40m, the heading angle fitting algorithm based on the minimum bounding box loss function is used for the heading angle fitting process; for the target with a longitudinal distance greater than 40m, the heading angle fitting algorithm based on principal component analysis is used for the heading angle fitting process.

[0038] The heading angle fitting process is performed based on the principal component analysis fitting algorithm, which is actually the process of obtaining the eigenvalues ​​and eigenvectors of the point cloud cluster. Before obtaining, the point cloud cluster needs to be preprocessed by returning the mean to zero. Specifically,

[0039] S3011, performing mean zeroing processing on the point cloud cluster;

[0040] S3012. Obtain the eigenvalues ​​and eigenvectors of the point cloud cluster to obtain the azimuth and heading angle of the target.

[0041] The heading angle fitting process is performed using a fitting algorithm based on the minimum bounding box loss function.

[0042] S3021, establishing a minimum bounding box, where the minimum bounding box is a rectangular box that can enclose the point cloud cluster and has the smallest area;

[0043] S3022, setting the fitting loss function and angle step size;

[0044] S3023. Taking the angle corresponding to the minimum loss function as the fitting result, the azimuth and heading angle of the target are obtained.

[0045] Specifically, L-type fitting is based on the assumption of the minimum bounding box, that is, there is a square box with the smallest area that can enclose the entire point cloud cluster. The fitting loss function and the fitting angle step can be defined based on user needs. To ensure fitting accuracy and computational efficiency, the fitting angle step is recommended to be 1°. The loss functions recommended for use in this invention are:

[0046]

[0047]

[0048] In the formula, dis(i) represents the minimum distance from the i-th point to the four sides of the minimum bounding box; Represents the average error distance of the four categories calculated according to the minimum distance to the four sides of the minimum bounding box.

[0049] When the loss function of a certain angle is the smallest, this angle is selected as the fitting result. It should be noted that the loss function of the secondary direction may be the smallest. At this time, it is necessary to correctly select the main direction. The projection of the rotated point cloud cluster on the longitudinal axis can be used as a reference. The direction with the larger projection length is selected as the main direction.

[0050] S4, perform tracking algorithm processing on the target, and obtain the target's speed and heading angle in combination with the azimuth and heading angle. Specifically, the present invention fits the azimuth and heading angle of the target based on the coordinate position of the target point. This angle is not necessarily equal to the speed and heading angle formed by the lateral and longitudinal velocities of the target. The calculation of these two angles helps to make a more accurate weighted evaluation of the target heading angle when tracking the radar target. It should also be noted that the output result of the azimuth and heading angle fitted by the present invention has two angles, namely the main component angle and the secondary component angle. The two angle directions form a perpendicular angle to each other, and the main component angle corresponds to the direction in which the data changes more dramatically.

[0051] A storage medium stores one or more programs, and when the one or more programs are executed by a processor, the steps of the 4D millimeter wave radar target heading angle fitting method are executed.

[0052] The present invention receives the vehicle signal and 4D millimeter wave radar point cloud signal from the vehicle CAN port and the vehicle Ethernet respectively, analyzes and pre-processes these signals; clusters the classic DBSCAN algorithm used for the 4D millimeter wave radar point cloud; estimates the heading angle of the clustered point cloud cluster; performs tracking algorithms such as association and fusion on the generated target, and performs Kalman filtering through historical information to make the target motion attribute more accurate. The main solution is the problem of heading angle fitting of the intelligent driving 4D millimeter wave radar target. After analyzing the characteristics of the sensor, different heading angle fitting algorithms are used for targets at different positions, which mainly include the fitting algorithm based on principal component analysis and the fitting algorithm based on the minimum bounding box loss function. The former has high computational efficiency and strong versatility, and mainly acts on targets beyond the longitudinal distance of 40m; the latter has low computational efficiency, but has high fitting accuracy for targets with L-shaped point clouds, and accurately judges the heading angle of the cut-in target, and mainly acts on targets within the longitudinal distance of 40m.

[0053] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. A 4D millimeter wave radar target heading angle fitting method, characterized in that: The following steps are included: S1. Obtain the vehicle signal, the target position signal and the 4D millimeter wave radar point cloud signal, and parse and preprocess the signal; the target position signal includes the longitudinal distance between the target and the 4D millimeter wave radar; S2. performing clustering processing on the point cloud signal to obtain a point cloud cluster; S3. According to the position signal of the target, the heading angle fitting process is performed on the point cloud cluster by combining the principal component analysis fitting algorithm and the minimum bounding box loss function fitting algorithm to obtain the azimuth heading angle of the target; specifically, for the target whose longitudinal distance is less than 40m, the heading angle fitting process is performed by the minimum bounding box loss function fitting algorithm; for the target whose longitudinal distance is greater than 40m, the heading angle fitting process is performed by the principal component analysis fitting algorithm.

2. The 4D millimeter wave radar target heading angle fitting method according to claim 1, characterized in that: The heading angle fitting process is performed based on the principal component analysis fitting algorithm, specifically, S3011, performing mean zeroing processing on the point cloud cluster; S3012. Obtain the eigenvalues ​​and eigenvectors of the point cloud cluster to obtain the azimuth and heading angle of the target.

3. The 4D millimeter wave radar target heading angle fitting method according to claim 2, characterized in that: The heading angle fitting process is performed using a fitting algorithm based on the minimum bounding box loss function. Specifically, S3021, establishing a minimum bounding box, where the minimum bounding box is a rectangular box that can enclose the point cloud cluster and has the smallest area; S3022, setting the fitting loss function and angle step size; S3023. Taking the angle corresponding to the minimum loss function as the fitting result, the azimuth and heading angle of the target are obtained.

4. The 4D millimeter wave radar target heading angle fitting method according to claim 3, characterized in that: The method further includes step S3024, in which the fitting result is verified and corrected. If the angle corresponding to the fitting result is a secondary direction, the direction with a larger projection length is selected as the primary direction according to the projection length of the point cloud cluster on the longitudinal axis after the coordinate rotation.

5. The 4D millimeter wave radar target heading angle fitting method according to claim 3, characterized in that: In step S3022, the following loss function is used: or In the formula, dis(i) represents the minimum distance from the i-th point to the four sides of the minimum bounding box; Represents the average error distance of the four categories calculated according to the minimum distance to the four sides of the minimum bounding box.

6. The 4D millimeter wave radar target heading angle fitting method according to claim 5, characterized in that: The angle step is set to 1°.

7. The 4D millimeter wave radar target heading angle fitting method according to claim 6, characterized in that: The method further includes step S4, performing tracking algorithm processing on the target, and obtaining the speed and heading angle of the target in combination with the azimuth and heading angle.

8. A storage medium, characterized in that: The storage medium stores one or more programs, and when the one or more programs are executed by the processor, the steps of the 4D millimeter wave radar target heading angle fitting method according to any one of claims 1 to 7 are executed.