Target correlation method and system based on adaptive rotating ellipse correlation gate
By using the adaptive rotating ellipse associated gate method, combined with the target kinematics model and cascaded association scheme, the association region and threshold are optimized, solving the mismatch problem of the Hungarian algorithm in dense target scenarios and improving the accuracy and stability of target tracking in autonomous driving.
Patent Information
- Application Number
- CN202310304791.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-03-24
AI Technical Summary
In existing multi-target tracking technologies, the Hungarian algorithm is prone to association errors in dense target scenarios, resulting in inaccurate target tracking. Existing association algorithms have high computational costs and serious mismatch phenomena in complex environments.
An adaptive rotating ellipse association gate method is adopted. By establishing an ellipse model and a kinematic model, and combining the target's motion state, an ellipse model with an adaptive rotation direction is designed. A cascade association scheme is adopted, the association threshold is adjusted, the association region is optimized, and false matching is reduced.
It improves the accuracy and stability of target association, reduces computational load, decreases the number of false matches, and enhances the performance of multi-target tracking.
Smart Images

Figure CN116451443B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of autonomous driving technology, and more specifically, to a target association method and system based on an adaptive rotating ellipse associated gate. Background Technology
[0002] With the development of autonomous driving technology, driving safety is a crucial aspect. To perceive their surroundings, autonomous vehicles are typically equipped with various sensors (cameras, LiDAR, millimeter-wave radar, etc.). By processing and analyzing the sensor data, they obtain information about the surrounding environment, targets, and obstacles, providing support for autonomous driving planning and control.
[0003] Autonomous driving perception technology requires the tracking and trajectory prediction of detected targets. Therefore, multi-target tracking technology is currently a hot research topic in autonomous driving perception technology. Data association between multiple targets is a crucial step in multi-target tracking; the accuracy of data association directly affects the performance of tracking and predicting the true trajectory of the target. A high error rate in association will result in many false targets; only by improving the accuracy of association can the actual number of targets in the real scene be accurately reproduced.
[0004] Currently, commonly used association algorithms include the Hungarian algorithm, the nearest neighbor algorithm, probability density estimation algorithms, and joint probability density estimation methods. The nearest neighbor algorithm is simple in principle and achieves good association results in sparse target scenarios or single-target tracking scenarios. However, when there are many targets in the same area, the simple matching mechanism makes it prone to association errors. While probability density data association and joint probability density data association methods can improve association results in dense target scenarios by calculating the association probabilities between targets, the computational cost is high because it requires calculating the probabilities of all possible events. The Hungarian association algorithm is a globally optimal association algorithm that achieves association between targets by calculating the minimum sum of costs in the cost matrix. Because of its moderate computational cost, it is widely used, but even globally optimal association methods can lead to some association errors.
[0005] Chinese invention patent document CN113160280A discloses a dynamic multi-target tracking method based on lidar. First, it acquires and displays the lidar target detection results. Then, it uses the Hungarian algorithm to associate targets, and simultaneously determines the generation or disappearance of a target by the intersection-over-union ratio (IoU) between the predicted target position and the current detection result. When association is successful, the target position is updated using the detection bounding box position. Based on the multimodal Kalman filter corresponding to the attribute labels output from the detection results, the target's motion information is estimated. When association fails, the unassociated target state is deleted, and a newly detected target is generated for the current moment. In general environments, compared to traditional multi-target tracking methods, the multi-target tracking method disclosed in this invention can effectively improve the accuracy of multi-target tracking.
[0006] The above technical solution uses a single threshold (IOU threshold, Euclidean distance threshold, etc.) to construct an association matrix and combines it with the Hungarian algorithm for target association matching. This method is prone to associating real measurement data that are not the target with the same gate. When using the Hungarian algorithm to calculate the global minimum cost, it is easy to produce incorrect matching. This association method will affect the convergence of the filter for target tracking. Summary of the Invention
[0007] To address the shortcomings of existing technologies, the purpose of this invention is to provide a target association method and system based on an adaptive rotating ellipse associated gate.
[0008] In a first aspect, the present invention provides a target association method based on an adaptive rotating ellipse association gate, comprising the following steps:
[0009] Ellipse creation steps: Create an ellipse model and obtain the associated gates;
[0010] Steps for obtaining the rotating ellipse: By combining the ellipse model with the kinematic model of the target and the associated gate, an ellipse model with an adaptive rotation direction is obtained;
[0011] Target association steps: Focus on the target to be associated located within the association gate using an elliptical model with adaptive rotation direction.
[0012] Preferably, the method further includes a cascaded scheme acquisition step: establishing a multi-threshold adaptive cascaded association scheme by combining the features of the target category with an elliptical model of adaptive rotation direction;
[0013] In the target association step, target association is performed by combining an elliptical model with an adaptive rotation direction with a multi-threshold adaptive cascade association scheme.
[0014] Preferably, in the ellipse establishment step, it is assumed that there are m tracked targets at time k. After predicting the target motion state, the following is obtained n measurement targets
[0015] Construct the association cost matrix at time k. mat for:
[0016]
[0017] Where X represents the set of tracked targets; x m This indicates the m-th tracked target; Represents the set of tracked targets after state prediction; y represents the m-th tracked target after state prediction; M represents the set of measurement targets; n Indicates the nth measurement target;
[0018] y j For the j-th measurement target, Let i be the i-th tracking target after state prediction; when the sum of the costs of the tracking target and the measurement target for any i or j is less than the threshold ε, it is considered that the tracking target and the measurement target with a sum of costs less than the threshold ε have a potential correlation.
[0019] After the Hungarian matching algorithm, the resulting matching matrix is Match matrix for:
[0020]
[0021] Among them, trac r and meas c For associated matching pairs, trac r Corresponding to cost mat row index; meas c Corresponding to cost mat The column index; k = min(m, n);
[0022] The associated gate model can be summarized as follows:
[0023] cost mat [trac r ][meas c ]≤ε 2
[0024] 0≤i≤m,0≤j≤n
[0025] When the associated matching pair satisfies the above formula, the association is considered successful, and then the target state information update step is carried out.
[0026] The target is presumably to move in a straight line along the y-axis. This is achieved by establishing a standard elliptical model in the distance direction:
[0027]
[0028] Where (x0, y0) represents the predicted coordinates of the target, (x0, y0) i y i R represents the actual measured coordinates of the target; a R is the radius of the major axis of the elliptical model. b Let be the minor axis radius of the elliptical model.
[0029] Preferably, in the step of obtaining the rotating ellipse, the motion state model of the moving target at time t is assumed. for:
[0030]
[0031] Where p represents position; px k and py k The target's position is represented by v; velocity is represented by vx. k and vy k The target velocity is represented by T, which stands for transpose.
[0032]
[0033] Where X(t) represents the set of tracking targets;
[0034] yaw angle θ of the target orientation k for
[0035]
[0036] Target state transition function x(t+Δt) k for:
[0037]
[0038] Where Δt represents the time interval from time t to time t+1. Let be the motion state at time t. The motion state at time t+1 = t + Δt;
[0039] Adaptive rotation orientation of elliptical associated gate, rotation matrix rotation mat for:
[0040]
[0041] Where θ is the orientation angle of the target's motion state;
[0042] The coordinates of the center of the ellipse (x) o y o ), with a major axis radius of R a The minor axis radius is Rb The ellipse along the rotation mat Rotation yields:
[0043]
[0044] Where (x′, y′) are the coordinates of the center of the rotated ellipse.
[0045] Preferably, in the cascaded scheme acquisition step, a target association model is established using Euclidean distance and velocity dimensions. If multiple associated targets exist, the measurement with the lowest cost is used for association update.
[0046]
[0047] Among them, dis measure To measure the location information of the target; vel measure To measure the velocity information of the target, dis predi To track the predicted location information of the target; vel predi To track the predicted velocity information of the target, dis thrd The correlation threshold for distance, vel thrd The threshold value associated with speed.
[0048] Preferably, the target association step includes the following steps:
[0049] Linkage step S1: Obtain the target tracking estimation state and measure the target state;
[0050] Association step S2: Input the obtained target tracking estimation state and the measured target state into the adaptive rotating ellipse model association model, and calculate the IOU cost association matrix;
[0051] Association Step S3: Use the IOU cost association matrix to update, generate, or disappear targets, calculate Hungarian matching, update the status of tracked targets, and determine whether targets without measurement updates have disappeared.
[0052] Association step S4: Determine if there are any unassociated measurement and tracking targets. If so, proceed to association step S5; otherwise, proceed to association step S7.
[0053] Association Step S5: Adaptive rotating ellipse model association model, calculate Euclidean distance cost association matrix;
[0054] Association Step S6: Target update, generation or disappearance management is performed through the Euclidean distance cost association matrix, Hungarian matching is calculated, the status of the tracked target is updated, and it is determined whether the target without measurement update has disappeared, and a new tracked target is generated;
[0055] Related step S7: Output tracking information.
[0056] Secondly, this invention provides a target association system based on an adaptive rotating ellipse association gate, comprising the following modules:
[0057] Ellipse creation module: Creates an ellipse model and obtains associated gates;
[0058] Rotation Ellipse Acquisition Module: By combining the ellipse model, associated gates, and the target's kinematic model, an ellipse model with adaptive rotation direction is obtained;
[0059] Target association module: It focuses on targets to be associated located within the association gate by using an elliptical model with adaptive rotation direction.
[0060] Preferably, the system further includes a cascaded scheme acquisition module: by combining the features of the target category with an elliptical model of adaptive rotation direction, a multi-threshold adaptive cascaded association scheme is established;
[0061] In the target association module, target association is performed by combining an elliptical model with an adaptive rotation direction with a multi-threshold adaptive cascade association scheme.
[0062] Preferably, in the ellipse establishment module, it is assumed that there are m tracked targets at time k. After predicting the target motion state, the following is obtained n measurement targets
[0063] Construct the association cost matrix at time k. mat for:
[0064]
[0065] Where X represents the set of tracked targets; x m This indicates the m-th tracked target; Represents the set of tracked targets after state prediction; This represents the m-th tracked target after state prediction; M represents the set of measured targets; y n Indicates the nth measurement target;
[0066] y j For the j-th measurement target, Let i be the i-th tracking target after state prediction; when the sum of the costs of the tracking target and the measurement target for any i or j is less than the threshold ε, it is considered that the tracking target and the measurement target with a sum of costs less than the threshold ε have a potential correlation.
[0067] After the Hungarian matching algorithm, the resulting matching matrix is Match matrix for:
[0068]
[0069] Among them, trac r and meas c For associated matching pairs, trac r Corresponding to cost mat row index; meas c Corresponding to cost mat The column index; k = min(m, n);
[0070] The associated gate model can be summarized as follows:
[0071] cost mat [trac r ][meas c ]≤ε 2
[0072] 0≤i≤m,0≤j≤n
[0073] When the associated matching pair satisfies the above formula, the association is considered successful, and then the target state information update step is carried out.
[0074] The target is presumably to move in a straight line along the Y-axis. This is achieved by establishing a standard elliptical model in the distance direction:
[0075]
[0076] Where (x0, y0) represents the predicted coordinates of the target, (x i y i R represents the actual measured coordinates of the target; a R is the radius of the major axis of the elliptical model. b Let be the minor axis radius of the ellipse model.
[0077] Preferably, in the rotating ellipse acquisition module, a motion state model of the moving target at time t is assumed. for:
[0078]
[0079] Where p represents position; px k and py k The target's position is represented by v; velocity is represented by vx. k and vy k The target velocity is represented by T, which stands for transpose.
[0080]
[0081] Where X(t) represents the set of tracking targets;
[0082] yaw angle θ of the target orientation k for
[0083]
[0084] Target state transition function x(t+Δt) k for:
[0085]
[0086] Where Δt represents the time interval from time t to time t+1. Let be the motion state at time t. The motion state at time t+1 = t + Δt;
[0087] Adaptive rotation orientation of elliptical associated gate, rotation matrix rotation mat for:
[0088]
[0089] Where θ is the orientation angle of the target's motion state;
[0090] The coordinates of the center of the ellipse (x) o y o ), with a major axis radius of R a The minor axis radius is R b The ellipse along the rotation mat Rotation yields:
[0091]
[0092] Where (x′, y′) are the coordinates of the center of the rotated ellipse.
[0093] Compared with the prior art, the present invention has the following beneficial effects:
[0094] 1. This invention improves the accuracy of target association and enhances tracking stability by designing a cascaded association method and implementing different association threshold adjustment methods;
[0095] 2. This invention designs an elliptical association model, optimizes the calculation method of the cost matrix, narrows the region of interest for target association, reduces unnecessary region calculations, lowers the computational load of the algorithm, and shortens the time consumption of the target association module;
[0096] 3. This invention adaptively adjusts the orientation of the major and minor axes of the ellipse based on the target's motion state, matching the target's actual motion state and adjusting the target's associated region, which can effectively reduce the number of mismatches caused by the circular model. Attached Figure Description
[0097] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0098] Figure 1 This is a diagram illustrating the relationship between circles and ellipses.
[0099] Figure 2 A diagram of a constant ellipse model;
[0100] Figure 3 This is a schematic diagram of an adaptive elliptic correlation model;
[0101] Figure 4 This is a diagram illustrating IOU calculation.
[0102] Figure 5 A schematic diagram illustrating the correlation between predicted information and the Interchange of Unit (IOU) of the measurement target;
[0103] Figure 6 A schematic diagram illustrating the correlation between predicted information and the distance to the measured target;
[0104] Figure 7 Here is the algorithm flowchart;
[0105] Figure 8 Diagram of adaptive rotating ellipse associated gate module;
[0106] Figure 9 Update / generate / disappear management modules for the target. Detailed Implementation
[0107] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.
[0108] Example 1
[0109] This invention discloses a target association method based on an adaptive rotating ellipse correlation gate, comprising the following steps:
[0110] Ellipse creation steps: Create an ellipse model and obtain the associated gates.
[0111] In one embodiment, it is assumed that there are m tracked targets at time k. After predicting the target motion state, the following is obtained n measurement targets
[0112] Construct the association cost matrix at time k. mat for:
[0113]
[0114] Where X represents the set of tracked targets; x m This indicates the m-th tracked target; Represents the set of tracked targets after state prediction; This represents the m-th tracked target after state prediction; M represents the set of measured targets; y n Indicates the nth measurement target;
[0115] y j For the j-th measurement target, Let i be the i-th tracking target after state prediction; when the sum of the costs of the tracking target and the measurement target for any i or j is less than the threshold ε, it is considered that the tracking target and the measurement target with a sum of costs less than the threshold ε have a potential correlation.
[0116] After the Hungarian matching algorithm, the resulting matching matrix is Match matrix for:
[0117]
[0118] Among them, trac r and meas c For associated matching pairs, trac r Corresponding to cost mat row index; meas c Corresponding to cost mat The column index; k = min(m, n);
[0119] The associated gate model can be summarized as follows:
[0120] cost mat [trac r ][meas c ]≤ε 2
[0121] 0≤i≤m,0≤j≤n
[0122] When the associated matching pair satisfies the above formula, the association is considered successful, and then the target state information update step is carried out.
[0123] The target is presumably to move in a straight line along the y-axis. This is achieved by establishing a standard elliptical model in the distance direction:
[0124]
[0125] Where (x0, y0) represents the predicted coordinates of the target, (x i yi R represents the actual measured coordinates of the target; a R is the radius of the major axis of the elliptical model. b Let be the minor axis radius of the ellipse model.
[0126] Furthermore, the preset targets include three: A, B, and C, where (x0, y0) represents the predicted coordinates of target A, ... and (x0, y0) represents the predicted coordinates of target B. i y i ), where i∈[A,B,c] represents the actual measured coordinates of targets A, B, and C.
[0127] In one embodiment, we assume the motion state model of the moving target at time t. for:
[0128]
[0129] Where p represents position; px k and py k The target's position is represented by v; velocity is represented by vx. k and vy k The target velocity is represented by T, which stands for transpose.
[0130]
[0131] Where X(t) represents the set of tracking targets;
[0132] yaw angle θ of the target orientation k for
[0133]
[0134] Target state transition function x(t+Δt) k for:
[0135]
[0136] Where Δt represents the time interval from time t to time t+1. Let be the motion state at time t. The motion state at time t+1 = t + Δt;
[0137] Adaptive rotation orientation of elliptical associated gate, rotation matrix rotation mat for:
[0138]
[0139] Where θ is the orientation angle of the target's motion state;
[0140] The coordinates of the center of the ellipse (x) o yo ), with a major axis radius of R a The minor axis radius is R b The ellipse along the rotation mat Rotation yields:
[0141]
[0142] Where (x′, y′) are the coordinates of the center of the rotated ellipse.
[0143] Steps for obtaining the rotating ellipse: By combining the ellipse model with the kinematic model of the target and the associated gate, an ellipse model with an adaptive rotation direction is obtained.
[0144] Steps for obtaining the cascaded scheme: By combining the features of the target category with the elliptical model of adaptive rotation direction, a multi-threshold adaptive cascaded association scheme is established.
[0145] In one embodiment, a target association model is established using Euclidean distance and velocity dimensions. If multiple associated targets exist, the measurement with the lowest cost is used for association updates.
[0146]
[0147] Among them, dis measure To measure the location information of the target; vel measure To measure the velocity information of the target, dis predi To track the predicted location information of the target; vel predi To track the predicted velocity information of the target, dis thrd The correlation threshold for distance, vel thrd This is the threshold for the correlation of speed.
[0148] Target association steps: Focus on targets to be associated located within the association gate using an elliptical model with adaptive rotation direction. Target association is then performed using a cascaded association scheme combining the elliptical model with adaptive multi-threshold parameters.
[0149] In one embodiment, the target association step includes the following steps:
[0150] Linkage step S1: Obtain the target tracking estimation state and measure the target state;
[0151] Association step S2: Input the obtained target tracking estimation state and the measured target state into the adaptive rotating ellipse model association model, and calculate the IOU cost association matrix;
[0152] Association Step S3: Use the IOU cost association matrix to update, generate, or disappear targets, calculate Hungarian matching, update the status of tracked targets, and determine whether targets without measurement updates have disappeared.
[0153] Association step S4: Determine if there are any unassociated measurement and tracking targets. If so, proceed to association step S5; otherwise, proceed to association step S7.
[0154] Association Step S5: Adaptive rotating ellipse model association model, calculate Euclidean distance cost association matrix;
[0155] Association Step S6: Target update, generation or disappearance management is performed through the Euclidean distance cost association matrix, Hungarian matching is calculated, the status of the tracked target is updated, and it is determined whether the target without measurement update has disappeared, and a new tracked target is generated;
[0156] Related step S7: Output tracking information.
[0157] The present invention also provides a target association system based on an adaptive rotating elliptical correlation gate. The target association system based on the adaptive rotating elliptical correlation gate can be implemented by executing the process steps of the target association method based on the adaptive rotating elliptical correlation gate. That is, those skilled in the art can understand the target association method based on the adaptive rotating elliptical correlation gate as a preferred embodiment of the target association system based on the adaptive rotating elliptical correlation gate.
[0158] Example 2
[0159] This invention discloses a target association system based on an adaptive rotating ellipse association gate, comprising the following modules:
[0160] Ellipse creation module: Creates an ellipse model and obtains associated gates.
[0161] Rotation Ellipse Acquisition Module: By combining the ellipse model with the kinematic model of the target and the associated gate, an ellipse model with adaptive rotation direction is obtained.
[0162] Cascaded Scheme Acquisition Module: By combining the features of the target category with an elliptical model that adapts to the rotation direction, a multi-threshold adaptive cascaded association scheme is established.
[0163] Target association module: Target association is performed by combining an elliptical model with an adaptive rotation direction with a multi-threshold adaptive cascade association scheme, focusing on targets to be associated located within the association gate.
[0164] In the ellipse modeling module, it is assumed that there are m tracked targets at time k. After predicting the target motion state, the following is obtained n measurement targets
[0165] Construct the association cost matrix at time k. mat for:
[0166]
[0167] Where X represents the set of tracked targets; xm represents the m-th tracked target; Represents the set of tracked targets after state prediction; This represents the m-th tracked target after state prediction; M represents the set of measured targets; y n This represents the nth measurement target.
[0168] y j For the j-th measurement target, Let i be the i-th tracking target after state prediction. When the sum of the costs of the tracking target and the measurement target for any i or j is less than the threshold ε, it is considered that the tracking target and the measurement target with a sum of costs less than the threshold ε have a potential correlation.
[0169] After the Hungarian matching algorithm, the resulting matching matrix is Match matrix for:
[0170]
[0171] Among them, trac r and meas c For associated matching pairs, trac r Corresponding to cost mat row index; meas c Corresponding to cost mat The column index; k = min(m, n).
[0172] The associated gate model can be summarized as follows:
[0173] cost mat [trac r ][meas c ]≤ε 2
[0174] 0≤i≤m,0≤j≤n
[0175] When the associated matching pair satisfies the above formula, the association is considered successful, and then the target state information update step is carried out.
[0176] The target is presumably to move in a straight line along the Y-axis. This is achieved by establishing a standard elliptical model in the distance direction:
[0177]
[0178] Where (x0, y0) represents the predicted coordinates of the target, (x0, y0) i y iR represents the actual measured coordinates of the target; a R is the radius of the major axis of the elliptical model. b Let be the minor axis radius of the ellipse model.
[0179] In the rotating ellipse acquisition module, we assume the motion state model of the moving target at time t. for:
[0180]
[0181] Where p represents position; px k and py k The target's position is represented by v; velocity is represented by vx. k and vy k The velocity of the target is represented by T, which represents the transpose.
[0182]
[0183] Where X(t) represents the set of tracking targets.
[0184] yaw angle θ of the target orientation k for
[0185]
[0186] Target state transition function x(t+Δt) k for:
[0187]
[0188] Where Δt represents the time interval from time t to time t+1. Let be the motion state at time t. Let t+1 = t+Δt be the motion state at time t+1 = t+Δt.
[0189] Adaptive rotation orientation of elliptical associated gate, rotation matrix rotation mat for:
[0190]
[0191] Where θ is the orientation angle of the target's motion state.
[0192] The coordinates of the center of the ellipse (x) o y o ), with a major axis radius of R a The minor axis radius is R b The ellipse along the rotation mat Rotation yields:
[0193]
[0194] Where (x′, y′) are the coordinates of the center of the rotated ellipse.
[0195] Example 3
[0196] This invention presents a target association method based on an adaptive rotating ellipse association gate. By constructing a more effective association cost matrix (associations are only possible within the association region), it improves the computational cost minimization and reduces false associations caused by the Hungarian data association method. Furthermore, by designing a cascaded association scheme, it continuously improves and enhances the target association accuracy, thereby increasing the stability of target tracking.
[0197] This invention provides a point cloud target association algorithm based on an adaptive rotating elliptical model and associated threshold. By designing an elliptical model with an adaptive rotation direction to construct the association cost matrix, it improves target association accuracy and enhances multi-target matching and tracking performance. Furthermore, a cascaded association scheme is designed to further improve target association accuracy, compensate for the shortcomings of single association algorithms, and continuously improve tracking stability.
[0198] The technical solution of this invention is as follows:
[0199] 1. To address the issue of single-threshold association errors, an elliptical model is designed to narrow the association range and focus more on the target to be associated located within the association gate.
[0200] Assume there are m tracked targets at time k. After predicting the target motion state, the following is obtained n measurement targets Construct the association cost matrix at time k. mat For example, Formula 1 is:
[0201]
[0202] Where X represents the set of tracked targets; xm represents the m-th tracked target; Represents the set of tracked targets after state prediction; This represents the m-th tracked target after state prediction; M represents the set of measured targets; y n This represents the nth measurement target.
[0203] y j For the j-th measurement target, Let be the i-th tracking target after state prediction. A potential correlation is considered to exist between the tracking target and the measurement target if the sum of their costs is less than a threshold ε for any i or j. The resulting matching matrix after the Hungarian matching algorithm is called Match. matrix For example, Formula 2 is:
[0204]
[0205] Among them, trac r and meas c For associated matching pairs, the corresponding cost is... mat The row and column indices, k = min(m, n).
[0206] The associated gate model of the general technical solution can be summarized as Formula 3:
[0207] cost mat [trac r ][meas c ]≤ε 2 , 0≤i≤m, 0≤j≤n Formula 3
[0208] When the associated matching pairs satisfy Formula 3 above, the association is considered successful, and the subsequent target state information update step can proceed. However, if... Figure 1 As illustrated in the example, when the predicted information for target A exists within a correlation gate, including the actual measurements of target A, target C, and target B, correlation errors are more likely to occur when the cost distance between the measurements of targets B and C and the predicted information for target A is smaller than the threshold between the predicted information and the actual measurements of target A. This is because a circular correlation gate is non-directional and assumes that all measurements have equal weights—a type of indifferent correlation gate.
[0209] However, the elliptical model, relying on the different radii of its major and minor axes, is a correlated gate model with a certain natural directionality. For example... Figure 1 As shown, it is assumed that the target A moves in a straight line along the Y-axis, that is, the lateral displacement Δx along the X-axis is very small, and the longitudinal displacement Δy along the Y-axis is very large.
[0210] pass Figure 1 By comparing the two, a standard elliptical model in the distance direction is designed as shown in Formula 4:
[0211]
[0212] Where (x0, y0) is assumed to be the predicted information of target A, (x0, y0) is the actual measurement information of target, i∈[A, B, C], Δ represents the first target, B represents the second target, and C represents the third target; Ra and Rb are the major and minor axis radii of the elliptical model, respectively.
[0213] like Figure 1 As shown, the presence of the lateral minor axis Rb reduces the lateral correlation range, decreases the possibility of target A measurement being correlated with targets B and C, and thus improves the stability and accuracy of tracking.
[0214] 2. Based on the target's kinematic model, design an elliptical model that can adaptively rotate:
[0215] In addition to proposing the design of an elliptical correlation gate to filter out some potential erroneous correlation matches, this patent proposal will also design an adaptively rotatable elliptical correlation model in conjunction with the target motion state.
[0216] Assume the motion state model of the moving target at time t is as follows: Where k represents the k-th tracking target, yaw angle θ of the target orientation k Defined as Where p represents position; px k and py k The target's position is represented by v; velocity is represented by vx. k and vy k The target velocity is represented by T, which stands for transpose. Let X(t) represent the motion state of the m-th moving target at time t. Let X(t) represent the set of tracked targets.
[0217] The target state transition function can be expressed as Equation 5:
[0218]
[0219] Where Δt represents the time interval from time t to time t+1. The motion state of the hook at time t. Let t+1 = t+Δt be the motion state at time t+1 = t+Δt.
[0220] Because the moving target ((vx) k ≠0)or(vy k The motion state of the moving target changes at each moment (≠0), therefore the orientation θ of the moving target at each moment is... k It also changes, assuming the use of Figure 2 In the constant ellipse model shown, targets moving laterally or turning are prone to losing their association.
[0221] To solve Figure 2 The problem shown is addressed by this patented solution, which designs a rotatable, elliptical associated gate. The formula is defined as follows:
[0222] The rotation matrix is shown in Equation 6:
[0223]
[0224] Where θ is the orientation angle of the target's motion state.
[0225] The center of the ellipse (x) o y o An ellipse with major and minor axes radii Ra and Rb, respectively, along the rotation...mat Rotation yields Formula 7:
[0226]
[0227] Where (x′, y′) are the coordinates of the center of the rotated ellipse.
[0228] Related effects such as Figure 3 As shown in the figure, adding the rotating ellipse model will improve the correlation effect of the target turning state.
[0229] 3. Based on the characteristics of the target category, design a multi-threshold adaptive cascading association scheme.
[0230] In the field of autonomous driving, common target types include small cars, medium and large vehicles, pedestrians, and non-motorized vehicles. If a single association threshold and association scheme are used, and sensor data frames are lost, relying solely on IOU matching can easily lead to association errors. Taking IOU association as an example, a diagram is shown below. Figure 4 As shown, the formula for calculating the Intersection over Union (IOU) is shown in Formula 8:
[0231]
[0232] Assume that in the first frame, a non-motorized vehicle is observed turning. The length, width, and height of the non-motorized vehicle are 2m, 1m, and 1m respectively, and its direction of travel is as follows: Figure 5 As shown, the driving speed is 10 m / s. After Δt = 0.3 s (one frame of data was lost), the speed is 7 m / s. The IOU diagram of the correlation between the predicted and measured values is shown below. Figure 5 As shown, the shaded intersection area represents the associated IOU.
[0233] like Figure 6 As shown, the target association model is designed using Euclidean distance and velocity as two dimensions, as shown in Equation 9. Targets meeting this condition can be associated. If multiple targets exist to be associated, the measurement with the lowest cost is used for association updating.
[0234]
[0235] Where dismeasure and velmeasure are the position and velocity information of the target being measured. predi vel predi To track the predicted position and velocity information of the target, dis thrd vel thrd This is the threshold for the correlation between distance and speed.
[0236] In summary, the algorithm flowchart of this patented solution is as follows: Figure 7 The diagram shows the target association steps. The algorithm flow can be described as follows:
[0237] Step 1: Obtain the target tracking estimation state and the measured target state in the i-th frame;
[0238] Step 2: Enter the adaptive rotating ellipse model association module and calculate the IOU cost association matrix;
[0239] Step 3: Enter the target update / generation / disappearance management module, calculate the Hungarian matching, track the status update of the target, and determine whether the target without measurement update has disappeared;
[0240] Step 4: Determine if there are any unrelated measurement and tracking targets. If so, proceed to step 5; otherwise, proceed to step 7.
[0241] Step 5: Adaptive rotating ellipse model association module, calculate Euclidean distance cost association matrix;
[0242] Step 6: The target update / generation / disappearance management module calculates the Hungarian matching, updates the status of the tracked target, determines whether a target without measurement updates has disappeared, and generates a new tracked target.
[0243] Step 7: Output tracking information;
[0244] Adaptive rotating elliptic associated gate model, such as Figure 8 As shown, the execution steps are described below:
[0245] Step 1: Initialize the initial values and rotation direction of the elliptical model based on the predicted state of the tracked target;
[0246] Step 2: Determine whether the state of the measured target falls within the elliptical associated gate of the tracked target. If yes, proceed to Step 3; otherwise, proceed to Step 4.
[0247] Step 3: Calculate the IOU / Distance between the tracked target and the measured target;
[0248] Step 4: Assign a Max Value
[0249] Step 5: Generate the cost correlation matrix;
[0250] Step 6: Proceed to the next processing step.
[0251] Target update / generation / disappearance management module, such as Figure 9 As shown, the execution steps are described below:
[0252] Step 1: Obtain the correlation cost matrix between the tracking target and the measurement target;
[0253] Step 2: Determine if the association threshold is met. If it is, proceed to Step 6 for Kalman state update.
[0254] Step 3: Determine whether the target is generated or disappeared. If the target is generated, proceed to Step 4; otherwise, proceed to Step 5.
[0255] Step 4: Generate a new objective;
[0256] Step 5: Delete the targets that have disappeared;
[0257] Step 6: Target tracking, update the Kalman filter;
[0258] Step 7: Output tracking information.
[0259] This invention proposes a target association method based on an adaptive rotating elliptical correlation gate, used to achieve association between the predicted target and the measured target, improving the accuracy of target association, enhancing target tracking performance, and reducing the resulting safety risks. This includes, but is not limited to, other clustering or association algorithms that can be designed as elliptical models, such as probability density estimation (PDA) and joint probability density estimation (JPDA). This invention also proposes a method for adaptively updating the rotation direction of an elliptical model based on the target's motion state, applicable to autonomous driving scenarios, including but not limited to park scenarios, vehicle-mounted scenarios, and traffic radar scenarios, all of which should fall within the scope of protection. Furthermore, this invention proposes a cascaded association method based on lidar, including but not limited to lidar, and other sensor target association schemes involving IOU and distance association, such as millimeter-wave radar, radar, and cameras, all of which fall within the scope of protection. This invention relates to autonomous driving and intelligent transportation, achieving target association by adjusting the rotating elliptical correlation model and cascaded schemes.
[0260] Those skilled in the art will understand that, besides implementing the system and its various devices, modules, and units provided by this invention in the form of purely computer-readable program code, the same functions can be achieved entirely through logical programming of the method steps, making the system and its various devices, modules, and units of this invention function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, the system and its various devices, modules, and units provided by this invention can be considered as a hardware component, and the devices, modules, and units included therein for implementing various functions can also be considered as structures within the hardware component; alternatively, the devices, modules, and units for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0261] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.
Claims
1. A target association method based on an adaptive rotating ellipse association gate, characterized in that, Includes the following steps: Ellipse creation steps: Create an ellipse model and obtain the associated gates; Steps for obtaining the rotating ellipse: By combining the ellipse model with the kinematic model of the target and the associated gate, an ellipse model with an adaptive rotation direction is obtained; Target association steps: Focus on the target to be associated located within the association gate using an elliptical model with adaptive rotation direction; In the ellipse establishment step, assume that the first k Always m One tracked target After the target motion state is predicted, the following is obtained: , n Individual measurement targets M = ; Construct the first k Correlation cost matrix at time step for: in, Represents the set of tracked targets; Indicates the first One tracked target; Represents the set of tracked targets after state prediction; Represents the state prediction after the first... One tracking target; M Represents the set of measurement targets; Indicates the first One measurement target; For the first j One measurement target, The first state after prediction i One tracking target; when any i , j The cost of tracking and measuring the target is less than the threshold. When the cost is less than the threshold, it is considered that the total cost is less than the threshold. There is a potential correlation between the tracking target and the measurement target; The matching matrix obtained after the Hungarian matching algorithm for: in, and For associated matching pairs, Corresponding to Row index; Corresponding to Column index; ; The associated gate model can be summarized as follows: When the associated matching pair satisfies the above formula, the association is considered successful, and then the target state information update step is carried out. Preset target along y The axis moves in a straight line, which can be represented by a standard elliptical model in the distance direction: in, For the predicted coordinate information of the target, The actual measured coordinate information of the target; Let the radius of the major axis of the elliptical model be . Let be the minor axis radius of the ellipse model; In the step of obtaining the rotated ellipse, assume that the first t Motion state model of a moving target at any given time for: in, Indicates location; and Indicates the location of the target; Indicates speed; and Indicates the speed of the target. T Indicates transpose; in, Indicates a set of tracking targets; yaw angle of the target orientation for Target state transition function for: in, express t Time's up t The time interval at +1, for t The state of motion at any given moment for The state of motion at any given moment; Adaptive rotation orientation of elliptical associated gate, rotation matrix For: Among them, The orientation angle of the target's motion state; Coordinates of the center of the ellipse The major axis radius is The minor axis radius is The ellipse along Rotation yields: in, These are the coordinates of the center of the ellipse after rotation.
2. The target association method based on adaptive rotating ellipse correlation gate according to claim 1, characterized in that, The method also includes a cascade association scheme acquisition step: by combining the features of the target category with an elliptical model of adaptive rotation direction, a multi-threshold adaptive cascade association scheme is established; In the target association step, target association is performed by combining an elliptical model with an adaptive rotation direction with a multi-threshold adaptive cascade association scheme.
3. The target association method based on adaptive rotating ellipse correlation gate according to claim 2, characterized in that, In the cascaded association scheme acquisition step, a target association model is established using Euclidean distance and velocity dimensions. If multiple associated targets exist, the measurement with the lowest replacement cost is used for association update. in, To measure the location information of the target; To measure the target's velocity information, To track the predicted location information of the target; To track the predicted speed information of the target, For the correlation threshold of distance, The threshold value associated with speed.
4. The target association method based on adaptive rotating ellipse association gate according to claim 1, characterized in that, The target association step includes the following steps: Related step S1: Obtain the target tracking prediction state and measure the target state; Association step S2: Input the acquired target tracking prediction state and the measured target state into the adaptive rotating ellipse model association model, and calculate the IOU cost association matrix; Association Step S3: Use the IOU cost association matrix to update, generate, or disappear targets, calculate Hungarian matching, update the status of tracked targets, and determine whether targets without measurement updates have disappeared. Association step S4: Determine if there are any unassociated measurement and tracking targets. If so, proceed to association step S5; otherwise, proceed to association step S7. Association Step S5: Adaptive rotating ellipse model association model, calculate Euclidean distance cost association matrix; Association Step S6: Target update, generation or disappearance management is performed through the Euclidean distance cost association matrix, Hungarian matching is calculated, the status of the tracked target is updated, and it is determined whether the target without measurement update has disappeared, and a new tracked target is generated; Related step S7: Output tracking information.
5. A target association system based on an adaptive rotating elliptical correlation gate, characterized in that, Includes the following modules: Ellipse creation module: Creates an ellipse model and obtains associated gates; Rotation Ellipse Acquisition Module: By combining the ellipse model, associated gates, and the target's kinematic model, an ellipse model with adaptive rotation direction is obtained; Target association module: It focuses on targets to be associated located within the association gate using an elliptical model with adaptive rotation direction; In the ellipse creation module, it is assumed that the first... k Always m One tracked target After the target motion state is predicted, the following is obtained: , n Individual measurement targets M = ; Construct the first k Correlation cost matrix at time step for: in, Represents the set of tracked targets; Indicates the first One tracked target; Represents the set of tracked targets after state prediction; Represents the state prediction after the first... One tracking target; M Represents the set of measurement targets; Indicates the first One measurement target; For the first j One measurement target, The first state after prediction i One tracking target; when any i , j The cost of tracking and measuring the target is less than the threshold. When the cost is less than the threshold, it is considered that the total cost is less than the threshold. There is a potential correlation between the tracking target and the measurement target; The matching matrix obtained after the Hungarian matching algorithm for: in, and For associated matching pairs, Corresponding to Row index; Corresponding to Column index; ; The associated gate model can be summarized as follows: When the associated matching pair satisfies the above formula, the association is considered successful, and then the target state information update step is carried out. Preset target along Y The axis moves in a straight line, which can be represented by a standard elliptical model in the distance direction: in, For the predicted coordinate information of the target, The actual measured coordinate information of the target; The radius of the major axis of the elliptical model. Let be the minor axis radius of the ellipse model; In the rotating ellipse acquisition module, assuming the first t Motion state model of a moving target at any given time for: in, Indicates location; and Indicates the location of the target; Indicates speed; and Indicates the speed of the target. T Indicates transpose; in, Indicates a set of tracking targets; yaw angle of the target orientation for Target state transition function for: in, express t Time's up t The time interval at +1, for t The state of motion at any given moment for The state of motion at any given moment; Adaptive rotation orientation of elliptical associated gate, rotation matrix for: in, The orientation angle of the target's motion state; Coordinates of the center of the ellipse The major axis radius is The minor axis radius is The ellipse along Rotation yields: in, These are the coordinates of the center of the ellipse after rotation.
6. The target association system based on adaptive rotating elliptical correlation gate according to claim 5, characterized in that, The system also includes a cascade association scheme acquisition module: by combining the features of the target category with an elliptical model of adaptive rotation direction, a multi-threshold adaptive cascade association scheme is established; In the target association module, target association is performed by combining an elliptical model with an adaptive rotation direction with a multi-threshold adaptive cascade association scheme.
Citation Information
Patent Citations
Dynamic multi-target tracking method based on laser radar
CN113160280A
Target tracking method and device, storage medium and electronic device
CN115100244A
