A vehicle trajectory reconstruction method considering overtaking behavior
Through the cubic polynomial function curve and vehicle sequence change model, the vehicle trajectory is accurately reconstructed, which solves the problem of trajectory reconstruction accuracy under the influence of overtaking behavior in the existing technology, and achieves higher reconstruction accuracy and refinement of traffic flow status. evaluate.
Patent Information
- Application Number
- CN202310576909.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-05-22
AI Technical Summary
Existing traffic operation monitoring systems cannot effectively consider overtaking behavior when reconstructing vehicle trajectories, resulting in reduced trajectory reconstruction accuracy. Especially when overtaking behavior is instantaneous and random, traditional methods have larger errors.
Using a cubic polynomial function curve model combined with a vehicle sequence change model, by extracting vehicle license plate, speed and time information, the overtaking moment and location are determined, a piecewise linear vehicle sequence change model is established, and the vehicle trajectory is accurately reconstructed.
The trajectory reconstruction error is significantly reduced. Compared with the error of the classic model, the error is reduced by 22% and 12.5%. It achieves accurate reconstruction of vehicle trajectories and improves the detailed evaluation of traffic flow status and the reliability of control measures.
Smart Images

Figure CN116543559B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a vehicle trajectory reconstruction method considering overtaking behavior, and belongs to the field of traffic perception and big data analysis. Background Art
[0002] Vehicle trajectories contain rich traffic information both in space and time. Complete vehicle trajectory information is helpful for traffic flow modeling, signal optimization, and exhaust emission estimation. However, direct access to complete trajectory information is limited by many factors such as technology and cost. In order to obtain a complete traffic flow image, the most commonly used method is to reconstruct vehicle trajectories based on limited detected traffic data.
[0003] The existing traffic operation monitoring systems are mainly based on fixed detection methods such as coils, geomagnetism, radar, and video. The typical trajectory reconstruction method is to estimate the vehicle trajectory using cross-sectional data observed by circular coils, etc. It is widely used, but can only collect trajectory data at specific locations and will cause damage to the road surface structure. Radar acquisition technology can achieve large-scale and high-precision monitoring, but it is costly, difficult to detect low-speed targets, and there is a situation of missing vehicles. As a unique and advantageous data resource in my country, video detectors can provide continuous detection data of all sample vehicles. In particular, the development of computer technology has made Automatic Vehicle Identification (AVI) technology more mature and accurate, which can provide key information such as license plates, speeds, passing time, vehicle order, passing lanes, acceleration, etc. of all sample vehicles under various working conditions, providing good technical conditions for the accurate reconstruction of vehicle trajectories under the interweaving of overtaking behavior.
[0004] Reconstructing vehicle trajectories is very important for evaluating the performance of traffic systems and formulating accurate management and control measures. Traditional trajectory reconstruction methods follow the first-in-first-out assumption, that is, the order of observation of vehicles passing through upstream and downstream detection sections will not change. However, since overtaking behavior often occurs in the real world, the first-in-first-out assumption is inconsistent with the actual data. The upstream and downstream detector data often show the phenomenon of vehicle order changes, and the trajectory reconstruction accuracy is greatly reduced. At present, only a few domestic and foreign scholars have conducted theoretical research on vehicle trajectory reconstruction considering overtaking behavior. However, it is assumed that vehicles overtake throughout the journey and the overtaking points are evenly distributed, which violates the instantaneous and random characteristics of overtaking behavior. In this context, the new vehicle trajectory reconstruction method takes into account the characteristics of the real overtaking behavior of vehicles, narrows the overtaking location to a specific road section, and the trajectory reconstruction error is only 7%, which is about 22% and 12.5% less than the estimation errors of the two classic models of trajectory reconstruction. Summary of the invention
[0005] Purpose of the invention: The present invention takes urban expressways as the research object, extracts the license plate, speed and passing time of vehicles passing through fixed detectors, and establishes a cubic polynomial function curve model to determine the specific time of overtaking; extracts vehicle order information, and establishes a piecewise linear vehicle order change model to describe the vehicle order change; by determining the vehicle order and position at any time, the accurate reconstruction of the vehicle operation trajectory information in all time and space is achieved.
[0006] Technical solution: In order to solve the above problems, the present invention proposes a vehicle trajectory reconstruction method considering overtaking behavior, which includes the following steps:
[0007] Step 1: retrieve the observation records of the same vehicle passing through the upstream and downstream fixed detectors according to the license plate information, extract the speed, time and sequence information, and arrange these records in chronological order;
[0008] Step 2, select a cubic polynomial curve to represent the vehicle trajectory, calibrate the curve parameters according to the data extracted in step 1, establish a polynomial model for each vehicle, and simulate the initial driving trajectory of the vehicle;
[0009] Step 3, considering the randomness of overtaking behavior, traverse all vehicles and determine the overtaking position and specific time according to the intersection of the polynomial curve;
[0010] Step 4: Create a vehicle sequence variable and map it with the accumulated traffic of the fixed detector to calculate the sequence change of each vehicle, whose value reflects the number of times the vehicle overtakes and is overtaken;
[0011] Step 5, establish a piecewise linear vehicle sequence change model, calculate the vehicle sequence in each time step, and describe the vehicle overtaking behavior;
[0012] Step 6: Calculate the vehicle position in each time step, select the minimum value of the vehicle position under free flow and non-free flow conditions as the vehicle position estimate, and reconstruct the full-time and space vehicle operation trajectory information.
[0013] Furthermore, in step 1, the license plate number of the same vehicle is used as the vehicle ID, and the speed and elapsed time observation records of the vehicle passing through the upstream and downstream fixed detectors are retrieved, and the time when vehicle i passes the upstream checkpoint is recorded as e i , the time to pass the downstream checkpoint is d i , so the observation set of the same vehicle i at the upstream checkpoint is [x(e i ),v(e i ),e i ], the observation set of the downstream checkpoint is [x(d i ),v(d i ),d i ], where x(e i ) and x(di ) are the positions of the vehicle passing through the upstream and downstream checkpoints, v(e i ) and v(d i ) are the speeds of the vehicle when passing through the upstream and downstream checkpoints respectively.
[0014] Furthermore, the specific method of step 2 is as follows:
[0015] Step 2.1, select the cubic polynomial curve as the basic form of the trajectory, and establish a cubic polynomial model of the vehicle trajectory with respect to time, which is expressed as:
[0016] x(t)=at 3 +bt 2 +ct+d (1)
[0017] Step 2.2, solve the parameters of the cubic polynomial curve, and take the derivative of equation (1) with respect to time t to obtain
[0018] x′(t)=v(t)=3at 2 +2bt+c (2)
[0019] Substituting the position, speed and time of the vehicle at the upstream and downstream checkpoints, we get four equilibrium equations, namely formula (3):
[0020] Solve for the function's parameters a, b, c, d;
[0021]
[0022] Furthermore, the specific implementation steps of step 3 are as follows:
[0023] Step 3.1: Search for the overtaking vehicle j for the same vehicle i based on the travel time of entering and exiting the road section. If t(e j )>t(e i ), t(d j )<t(d i ), then vehicle i is considered to be overtaken by vehicle j, where t(e i ) is the time when vehicle i passes the upstream checkpoint, t(d i ) is the time when vehicle i passes the downstream checkpoint; t(e j ) is the time when vehicle j passes the upstream checkpoint, t(d j ) is the time when vehicle j passes the downstream checkpoint;
[0024] Step 3.2, determine the specific overtaking point of the vehicle. Assume that vehicle i is overtaken by vehicle j. The trajectory curves of vehicle i and vehicle j are respectively expressed as formula (4) and formula (5):
[0025] x i (t) = a i(t) 3 +b i (t) 2 +c i (t)+d i (4)
[0026] x j (t) = a j (t) 3 +b j (t) 2 +c j (t)+d j (5)
[0027] The overtaking point is approximated as the intersection point of the two vehicle trajectories, that is, x i (t) = x j (t), then the overtaking time is t c The function expression of is formula (6):
[0028]
[0029] Among them, Δa=a i -a j ; Δb=b i -b j ; Δc=c i -c j ; Δd=d i -d j , according to Δa, Δb, Δc, Δd, the number of roots of equation (6) is the number of times vehicle i is overtaken by vehicle j, and, x i (t c ), x j (t c ) is regarded as the location where vehicles i and j overtake each other.
[0030] Furthermore, the specific implementation steps of step 4 are as follows:
[0031] Step 4.1, introduce the vehicle sequence variable, using represents the order of vehicle i at time t, then the order of vehicle i at the upstream and downstream checkpoints is and Equivalent to the period [0, t], x = x i The cumulative traffic volume N(x,t) at (t), that is:
[0032]
[0033] Step 4.2, calculate the order change of all vehicles, the vehicle order variable μ i It represents the change in the order when vehicle i passes through the road section, that is, formula (8);
[0034]
[0035] Among them, μ i and Used to describe the vehicle's overtaking behavior, if μ i > 0, the order of vehicle i when it leaves the road section increases, and it is defined as the overtaken vehicle. i <0, the order of vehicle i when it leaves the road section decreases, and it is defined as an overtaking vehicle, μ i The value of reflects the number of times the vehicle was overtaken and overtaken.
[0036] Furthermore, the specific implementation steps of step 5 are as follows:
[0037] Step 5.1, determine the vehicle type, traverse all vehicle IDs according to the vehicle license plate, and determine whether the vehicle is the overtaken vehicle or the overtaking vehicle according to the method in step 4.2;
[0038] Step 5.2, establish a piecewise linear model of vehicle sequence change;
[0039] For the same overtaken vehicle i, all overtaking vehicles j are obtained according to the method in step 3.1, and t 1 For i to be the first car j 1 The moment of overtaking, i.e., the moment when vehicles i and j are overtaken in step 3 1 The intersection point of the cubic polynomial curve is t 2 For i to be the second car j 2 The moment of transcendence, and so on, t c For i to be the last car j c At the moment of overtaking, until the next overtaking point, the order of vehicles remains unchanged, and a piecewise linear model of the order change of the overtaken vehicle i is established, that is, formula (9);
[0040]
[0041] For the same overtaking vehicle j, all the overtaken vehicles i are obtained according to the method in step 3.1, and t 1 For j to overtake the first car i 1 The moment of overtaking, i.e., the moment when vehicles j and i are overtaken in step 3 1 The intersection point of the cubic polynomial curve is t 2 For j to overtake the second car i 2 The moment of c For j to overtake the last car i c At the moment of passing, the order of vehicles remains unchanged until the next overtaking point. A piecewise linear model of the order change of overtaking vehicle j is established, namely, formula (10):
[0042]
[0043] Furthermore, the specific implementation steps of step 6 are as follows:
[0044] Step 6.1, divide the time step Δt into 0.1s, t = ωΔt, ω is an integer representing the number of time intervals at time t, ω∈[1,10(d i -e i )];
[0045] Step 6.2, calculate the vehicle position under free flow conditions. When the actual road flow is less than the traffic capacity, the road section is defined as a free flow state. The order of vehicle i at any time t is expressed as formula (11), where U(t) is the cumulative number of vehicles recorded by the upstream checkpoint of the road section during the period [0, t], and N 0 is the initial number of vehicles in the road section at t = 0, v f is the free flow speed of the road section. The inverse function is used to find the vehicle position at the corresponding time under free flow conditions according to the known vehicle sequence. That is, formula (12);
[0046]
[0047]
[0048] Step 6.3, calculate the vehicle position under non-free flow conditions. When the actual road flow is higher than the capacity, the road section is defined as a non-free flow state. The order of vehicle i at any time t is expressed as formula (13), where l is the length of the road section, D(t) is the cumulative number of vehicles recorded by the downstream checkpoint of the road section during the period [0, t], w is the shock wave velocity of the road section, and k j is the road congestion density. The inverse function can be used to find the vehicle position at the corresponding time under non-free flow conditions based on the known vehicle sequence. That is, formula (14). Since formula (14) has no analytical solution, it is solved by Newton's method or least squares method;
[0049]
[0050]
[0051] Step 6.4, Compare and Take the minimum value as the estimated position x of vehicle i at time t i (t);
[0052] Step 6.5: Reconstruct the full-time and space vehicle operation trajectory information and determine t+Δt≥d i Is it true? If not, calculate the order of vehicle i at time t = ωΔt + Δt and position x i (t); if true, output the completed vehicle trajectory sequence: x i (e i ),x i (e i +Δt),x i (e i +2Δt),...,x i (d i ).
[0053] Beneficial effects: Compared with the prior art, the present invention has the following beneficial technical effects:
[0054] The present invention fully exploits the key data such as vehicle license plate, speed, time, order, etc. recorded by the fixed detectors upstream and downstream of the road section, combines the cubic polynomial model with the vehicle operating conditions, and simulates the initial driving trajectory of the vehicle; at the same time, it combines the traffic flow theory to model the vehicle's microscopic overtaking behavior, determine the corresponding position relationship when the vehicle overtakes, and reconstruct the vehicle's true trajectory. The full-time and space vehicle trajectory reconstruction method considering overtaking behavior proposed by the present invention can accurately control the state of traffic flow, which is an important condition for further ensuring traffic safety, monitoring environmental pollution, and optimizing control measures. It has important academic significance and application value for refining traffic state evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 (a) is a schematic diagram of the traditional method for determining the overtaking position;
[0056] Figure 1 (b) is a schematic diagram of determining the overtaking position according to the present invention;
[0057] Figure 2 is a vehicle sequence change distribution curve diagram under an embodiment;
[0058] Figure 3 is a comparison diagram of individual vehicle trajectory reconstruction results under an embodiment;
[0059] Figure 4 (a) is a vehicle trajectory reconstruction result diagram of the Newell model under the first-in-first-out assumption;
[0060] Figure 4 (b) is a vehicle trajectory reconstruction result diagram of the Rey model under the non-first-in-first-out assumption;
[0061] Figure 4 (c) is a vehicle trajectory reconstruction result diagram of the method of the present invention under the non-first-in-first-out assumption;
[0062] Figure 5 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0063] The present invention will be further described in detail below in conjunction with the accompanying drawings. These drawings are all simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner. Therefore, they only show the structures related to the present invention, which are explanations of the present invention rather than limitations.
[0064] Figure 1 (b) is a schematic diagram of the principle of the present invention, and is different from the principle diagram of the traditional method considering overtaking behavior ( Figure 1 (a)). Assume that the red vehicle is overtaken by four vehicles on a road section of length l. The traditional method ( Figure 1 (a) Assuming that the overtaking vehicles arrive evenly, the overtaking time is evenly distributed according to the change of vehicle order. That is, the position where the red vehicle is overtaken is the quarter-point of the travel time, such as Figure 1 The present invention takes into account the instantaneous and random nature of vehicle overtaking and narrows the overtaking location to a specific location, such as Figure 1 (b) is the circular intersection. Obviously, the method proposed in the present invention can significantly reduce the error of the reconstructed trajectory.
[0065] according to Figure 5 The present invention proposes a vehicle trajectory reconstruction method considering overtaking behavior, the method comprising the following steps:
[0066] Step 1: retrieve the observation records of the same vehicle passing through the upstream and downstream fixed detectors according to the license plate information, extract the speed, time and sequence information, and arrange these records in chronological order;
[0067] Step 2, select a cubic polynomial curve to represent the vehicle trajectory, calibrate the curve parameters according to the data extracted in step 1, establish a polynomial model for each vehicle, and simulate the initial driving trajectory of the vehicle;
[0068] Step 3, considering the randomness of overtaking behavior, traverse all vehicles and determine the overtaking position and specific time according to the intersection of the polynomial curve;
[0069] Step 4: Create a vehicle sequence variable and map it with the accumulated traffic of the fixed detector to calculate the sequence change of each vehicle, whose value reflects the number of times the vehicle overtakes and is overtaken;
[0070] Step 5, establish a piecewise linear vehicle sequence change model, calculate the vehicle sequence in each time step, and describe the vehicle overtaking behavior;
[0071] Step 6: Calculate the vehicle position in each time step, select the minimum value of the vehicle position under free flow and non-free flow conditions as the vehicle position estimate, and reconstruct the full-time and space vehicle operation trajectory information.
[0072] Furthermore, in step 1, the license plate number of the same vehicle is used as the vehicle ID, and the speed and elapsed time observation records of the vehicle passing through the upstream and downstream fixed detectors are retrieved, and the time when vehicle i passes the upstream checkpoint is recorded as e i , the time to pass the downstream checkpoint is d i , so the observation set of the same vehicle i at the upstream checkpoint is [x(e i ),v(e i ),e i ], the observation set of the downstream checkpoint is [x(d i ),v(d i ),d i ], where x(e i ) and x(d i ) are the positions of the vehicle passing through the upstream and downstream checkpoints, v(e i ) and v(d i ) are the speeds of the vehicle when passing through the upstream and downstream checkpoints respectively.
[0073] Furthermore, the specific method of step 2 is as follows:
[0074] Step 2.1, select the cubic polynomial curve as the basic form of the trajectory, and establish a cubic polynomial model of the vehicle trajectory with respect to time, which is expressed as:
[0075] x(t)=at 3 +bt 2 +ct+d (1)
[0076] Step 2.2, solve the parameters of the cubic polynomial curve, and take the derivative of equation (1) with respect to time t to obtain
[0077] x′(t)=v(t)=3at 2 +2bt+c (2)
[0078] Substituting the position, speed and time of the vehicle at the upstream and downstream checkpoints, we get four equilibrium equations, namely formula (3), and solve for the function parameters a, b, c, d;
[0079]
[0080] Furthermore, the specific implementation steps of step 3 are as follows:
[0081] Step 3.1: Search for the overtaking vehicle j for the same vehicle i based on the travel time of entering and exiting the road section. If t(e j )>t(e i ), t(d j )<t(d i ), then vehicle i is considered to be overtaken by vehicle j, where t(e i) is the time when vehicle i passes the upstream checkpoint, t(d i ) is the time when vehicle i passes the downstream checkpoint; t(e j ) is the time when vehicle j passes the upstream checkpoint, t(d j ) is the time when vehicle j passes the downstream checkpoint;
[0082] Step 3.2, determine the specific overtaking point of the vehicle. Assume that vehicle i is overtaken by vehicle j. The trajectory curves of vehicle i and vehicle j are respectively expressed as formula (4) and formula (5):
[0083] x i (t) = a i (t) 3 +b i (t) 2 +c i (t)+d i (4)
[0084] x j (t) = a j (t) 3 +b j (t) 2 +c j (t)+d j (5)
[0085] The overtaking point is approximated as the intersection point of the two vehicle trajectories, that is, x i (t) = x j (t), then the overtaking time is t c The function expression of is formula (6):
[0086] Δat c 3 +Δbt c 2 +Δct c +Δd=0 (6)
[0087] Among them, Δa=a i -a j ; Δb=b i -b j ; Δc=c i -c j ; Δd=d i -d j , according to Δa, Δb, Δc, Δd, the number of roots of equation (6) is the number of times vehicle i is overtaken by vehicle j, and, x i (t c ), x j (t c ) is regarded as the location where vehicles i and j overtake each other.
[0088] Furthermore, the specific implementation steps of step 4 are as follows:
[0089] Step 4.1, introduce the vehicle sequence variable, using represents the order of vehicle i at time t, then the order of vehicle i at the upstream and downstream checkpoints is and Equivalent to the period [0, t], x = x i The cumulative traffic volume N(x,t) at (t), that is:
[0090]
[0091] Step 4.2, calculate the order change of all vehicles, the vehicle order variable μ i It represents the change in the order when vehicle i passes through the road section, that is, formula (8);
[0092]
[0093] Among them, μ i and Used to describe the vehicle's overtaking behavior, if μ i > 0, the order of vehicle i when it leaves the road section increases, and it is defined as the overtaken vehicle. i <0, the order of vehicle i when it leaves the road section decreases, and it is defined as an overtaking vehicle, μ i The value of reflects the number of times the vehicle was overtaken and overtaken.
[0094] Furthermore, the specific implementation steps of step 5 are as follows:
[0095] Step 5.1, determine the vehicle type, traverse all vehicle IDs according to the vehicle license plate, and determine whether the vehicle is the overtaken vehicle or the overtaking vehicle according to the method in step 4.2;
[0096] Step 5.2, establish a piecewise linear model of vehicle sequence change;
[0097] For the same overtaken vehicle i, all overtaking vehicles j are obtained according to the method in step 3.1, and t 1 For i to be the first car j 1 The moment of overtaking, i.e., the moment when vehicles i and j are overtaken in step 3 1 The intersection point of the cubic polynomial curve is t 2 For i to be the second car j 2 The moment of transcendence, and so on, t c For i to be the last car j c At the moment of overtaking, until the next overtaking point, the order of vehicles remains unchanged, and a piecewise linear model of the order change of the overtaken vehicle i is established, that is, formula (9);
[0098]
[0099] For the same overtaking vehicle j, all the overtaken vehicles i are obtained according to the method in step 3.1, and t 1 For j to overtake the first car i 1 The moment of overtaking, i.e., the moment when vehicles j and i are overtaken in step 3 1 The intersection point of the cubic polynomial curve is t 2 For j to overtake the second car i 2 The moment of c For j to overtake the last car i c At the moment of passing, the order of vehicles remains unchanged until the next overtaking point. A piecewise linear model of the order change of overtaking vehicle j is established, namely, formula (10):
[0100]
[0101] The specific implementation steps of step 6 are as follows:
[0102] Step 6.1, divide the time step Δt into 0.1s, t = ωΔt, ω is an integer representing the number of time intervals at time t, ω∈[1,10(d i -e i )];
[0103] Step 6.2, calculate the vehicle position under free flow conditions. When the actual road flow is less than the traffic capacity, the road section is defined as a free flow state. The order of vehicle i at any time t is expressed as formula (11), where U(t) is the cumulative number of vehicles recorded by the upstream checkpoint of the road section during the period [0, t], and N 0 is the initial number of vehicles in the road section at t = 0, v f is the free flow speed of the road section. The inverse function is used to find the vehicle position at the corresponding time under free flow conditions according to the known vehicle sequence. That is, formula (12);
[0104]
[0105]
[0106] Step 6.3, calculate the vehicle position under non-free flow conditions. When the actual road flow is higher than the capacity, the road section is defined as a non-free flow state. The order of vehicle i at any time t is expressed as formula (13), where l is the length of the road section, D(t) is the cumulative number of vehicles recorded by the downstream checkpoint of the road section during the period [0, t], w is the shock wave velocity of the road section, and k j is the road congestion density. The inverse function can be used to find the vehicle position at the corresponding time under non-free flow conditions based on the known vehicle sequence. That is, formula (14). Since formula (14) has no analytical solution, it is solved by Newton's method or least squares method;
[0107]
[0108]
[0109] Step 6.4, Compare and Take the minimum value as the estimated position x of vehicle i at time t i (t);
[0110] Step 6.5: Reconstruct the full-time and space vehicle operation trajectory information and determine t+Δt≥d i Is it true? If not, calculate the order of vehicle i at time t = ωΔt + Δt and position x i (t); if true, output the completed vehicle trajectory sequence: x i (e i ),x i (e i +Δt),x i (e i +2Δt),...,x i (d i ).
[0111] Case Study:
[0112] The case location is Shenzhen Airport South Road in Baoan Hangcheng Street, Baoan District, Shenzhen. The research section is the elevated section of the city expressway from west to east on Airport South Road. The section is about 2 kilometers long and the speed limit is 80km / h. In this study, a total of 76.90% of vehicles overtook. During the study period, each vehicle overtook 11.43 times on average. The statistical information of the traffic state variables is shown in Table 1.
[0113] Table 1 Traffic status information
[0114]
[0115] First, data processing was performed. The longitude and latitude of the GPS trajectory points of the study section were corrected using the map matching method. The coordinates of the GPS trajectory data were converted to obtain the spatiotemporal trajectory dataset of the floating vehicle. Missing and repeated AVI data were preprocessed to extract useful record information. Finally, 162 floating vehicle GPS datasets and 3042 floating vehicle AVI datasets were obtained. The AVI and GPS data processing formats are shown in Tables 2 and 3.
[0116] Table 2 AVI data example
[0117]
[0118]
[0119] Table 3 GPS data example
[0120]
[0121] Then input the traffic flow parameters and the initial number of vehicles on the road section. The model parameters of this case are shown in Table 4:
[0122] Table 4 Model parameters
[0123]
[0124] Based on the constructed data set and input parameters, the trajectory reconstruction algorithm according to the present invention reconstructs the trajectories of all vehicles passing through the road section during the evening peak period (excluding vehicles leaving from the exit and entering from the entrance in the middle of the road section). In the vehicle sequence expression, the slope reflects the speed change of the vehicle sequence. Figure 2 is the distribution of all vehicle order changes. Kolmogorov-Smirnov (KS) is used to perform a nonparametric test on the observed data to determine whether the population follows a normal distribution. Since the p value is greater than 0.05, the proportion of overtaking behavior in this case follows a normal distribution.
[0125] Relative error (RE) is used to evaluate the reconstruction accuracy. Trajectory reconstruction results of three algorithms based on Newell model (first-in, first-out), Rey model (non-first-in, first-out) and the method of the present invention (non-first-in, first-out). The estimation error of each vehicle i is defined as the difference between the estimated trajectory and the observed trajectory:
[0126]
[0127] Among them, x i (t) represents the estimated position of vehicle i at time t, represents the observed position of vehicle i at time t. The larger the error, the greater the deviation between the true value and the estimated value.
[0128] Figure 3 The reconstruction result of an overtaking vehicle. As can be seen from the figure, the trajectory estimated by the non-FIFO model is closer to the actual trajectory, and the overtaking position is consistent with the actual trajectory. The FIFO model deviates significantly from the actual trajectory. Using Formula 7, the estimation errors of the three algorithms are 9.1%, 4.6%, and 3.9%, respectively, which shows that the estimated trajectory of the non-FIFO model is better.
[0129] In addition, Figure 4(a), (b), and (c) show the errors of all vehicles under the three models during data collection from a macro perspective. The trajectory reconstruction error curve under the method of the present invention is more concentrated on the left, indicating that it is more accurate and reliable than other models. For the convenience of observation, the distribution of errors can be approximated by a gamma distribution curve, which can be characterized by two parameters: a shape parameter and a scale parameter. Table 5 summarizes the fitting parameters and average estimation errors of the three models. The average relative errors of the first two methods are both above 8%, and the average relative error of the method in this paper is close to 7%. These results further demonstrate the superiority of the algorithm proposed in the present invention, and also confirm the necessity of considering overtaking behavior in trajectory estimation.
[0130] Table 5 Comparison of trajectory reconstruction results between the present invention and the traditional method
[0131]
Claims
1. A vehicle trajectory reconstruction method considering overtaking behavior, characterized in that: The method comprises the following steps: Step 1: retrieve the observation records of the same vehicle passing through the upstream and downstream fixed detectors according to the license plate information, extract the speed, time and sequence information, and arrange these records in chronological order; Step 2, select a cubic polynomial curve to represent the vehicle trajectory, calibrate the curve parameters according to the data extracted in step 1, establish a polynomial model for each vehicle, and simulate the initial driving trajectory of the vehicle; Step 3, considering the randomness of overtaking behavior, traverse all vehicles and determine the overtaking position and specific time according to the intersection of the polynomial curve; Step 4: Create a vehicle sequence variable and map it with the accumulated traffic of the fixed detector to calculate the sequence change of each vehicle, whose value reflects the number of times the vehicle overtakes and is overtaken; Step 5, establish a piecewise linear vehicle sequence change model, calculate the vehicle sequence in each time step, and describe the vehicle overtaking behavior; Step 6, calculate the vehicle position in each time step, select the minimum value of the vehicle position under free flow and non-free flow conditions as the vehicle position estimate, and reconstruct the full-time and space vehicle operation trajectory information; The specific implementation steps of step 3 are as follows: Step 3.1: Search for the overtaking vehicle j for the same vehicle i based on the travel time of entering and exiting the road section. If t(e j )>t(e i ), t(d j )<t(d i ), then vehicle i is considered to be overtaken by vehicle j, where t(e i ) is the time when vehicle i passes the upstream checkpoint, t(d i ) is the time when vehicle i passes the downstream checkpoint; t(e j ) is the time when vehicle j passes the upstream checkpoint, t(d j ) is the time when vehicle j passes the downstream checkpoint; Step 3.2, determine the specific overtaking point of the vehicle. Assume that vehicle i is overtaken by vehicle j. The trajectory curves of vehicle i and vehicle j are respectively expressed as formula (4) and formula (5): x i (t)=a i (t) 3 +b i (t) 2 +c i (t)+d i (4) x j (t)=a j (t) 3 +b j (t) 2 +c j (t)+d j (5) The overtaking point is approximated as the intersection point of the two vehicle trajectories, that is, x i (t) = x j (t), then the overtaking time is t c The function expression of is formula (6): Δat c 3 +Δbt c 2 +Δct c +Δd=0 (6) Among them, Δa=a i -a j ; Δb=b i -b j ; Δc=c i -c j ; Δd=d i -d j , according to Δa, Δb, Δc, Δd, the number of roots of equation (6) is the number of times vehicle i is overtaken by vehicle j, and, x i (t c ), x j (t c ) is regarded as the location where vehicles i and j overtake each other; The specific implementation steps of step 4 are as follows: Step 4.1, introduce the vehicle sequence variable, using represents the order of vehicle i at time t, then the order of vehicle i at the upstream and downstream checkpoints is and Equivalent to the period [0, t], x = x i The cumulative traffic volume N(x,t) at (t), that is: Step 4.2, calculate the order change of all vehicles, the vehicle order variable μ i It represents the change in the order when vehicle i passes through the road section, that is, formula (8); Among them, μ i and Used to describe the vehicle's overtaking behavior, if μ i > 0, the order of vehicle i when it leaves the road section increases, and it is defined as the overtaken vehicle. i <0, the order of vehicle i when it leaves the road section decreases, and it is defined as an overtaking vehicle, μ i The value of reflects the number of times the vehicle was overtaken and overtaken; The specific implementation steps of step 5 are as follows: Step 5.1, determine the vehicle type, traverse all vehicle IDs according to the vehicle license plate, and determine whether the vehicle is the overtaken vehicle or the overtaking vehicle according to the method in step 4.2; Step 5.2, establish a piecewise linear model of vehicle sequence change; For the same overtaken vehicle i, all overtaking vehicles j are obtained according to the method in step 3.
1. Let t1 be the moment when i is overtaken by the first vehicle j1, i.e., the intersection of the cubic polynomial curves of vehicles i and j1 in step 3. Let t2 be the moment when i is overtaken by the second vehicle j2, and so on. c For i to be the last car j c At the moment of overtaking, until the next overtaking point, the order of vehicles remains unchanged, and a piecewise linear model of the order change of the overtaken vehicle i is established, that is, formula (9); For the same overtaking vehicle j, all overtaken vehicles i are obtained according to the method in step 3.
1. Let t1 be the moment when j overtakes the first vehicle i1, i.e., the intersection of the cubic polynomial curves of vehicles j and i1 in step 3. Let t2 be the moment when j overtakes the second vehicle i2, and so on. c For j to overtake the last car i c At the moment of passing, the order of vehicles remains unchanged until the next overtaking point. A piecewise linear model of the order change of overtaking vehicle j is established, namely, formula (10):
2. The vehicle trajectory reconstruction method considering overtaking behavior according to claim 1, characterized in that: In step 1, the license plate number of the same vehicle is used as the vehicle ID, and the speed and elapsed time observation records of the vehicle passing through the upstream and downstream fixed detectors are retrieved, and the time when vehicle i passes the upstream checkpoint is recorded as e i , the time to pass the downstream checkpoint is d i , so the observation set of the same vehicle i at the upstream checkpoint is [x(e i ),v(e i ),e i ], the observation set of the downstream checkpoint is [x(d i ),v(d i ),d i ], where x(e i ) and x(d i ) are the positions of the vehicle passing through the upstream and downstream checkpoints, v(e i ) and v(d i ) are the speeds of the vehicle when passing through the upstream and downstream checkpoints respectively.
3. The vehicle trajectory reconstruction method considering overtaking behavior according to claim 1, characterized in that: The specific method of step 2 is as follows: Step 2.1, select the cubic polynomial curve as the basic form of the trajectory, and establish a cubic polynomial model of the vehicle trajectory with respect to time, which is expressed as: x(t)=at 3 +bt 2 +ct+d (1) Step 2.2, solve the parameters of the cubic polynomial curve, and take the derivative of equation (1) with respect to time t to obtain x′(t)=v(t)=3at 2 +2bt+c (2) Substituting the position, speed and time of the vehicle at the upstream and downstream checkpoints, we get four equilibrium equations, namely formula (3), and solve for the function parameters a, b, c, d; 4. The vehicle trajectory reconstruction method considering overtaking behavior according to claim 1, characterized in that: The specific implementation steps of step 6 are as follows: Step 6.1, divide the time step Δt into 0.1s, t = ωΔt, ω is an integer representing the number of time intervals at time t, ω∈[1,10(d i -e i )]; Step 6.2, calculate the vehicle position under free flow conditions. When the actual road flow is less than the traffic capacity, the road section is defined as a free flow state. The order of vehicle i at any time t is expressed as formula (11), where U(t) is the cumulative number of vehicles recorded by the upstream checkpoint of the road section during the period [0, t], N0 is the initial number of vehicles in the road section at t = 0, and v f is the free flow speed of the road section. The inverse function is used to find the vehicle position at the corresponding time under free flow conditions according to the known vehicle sequence. That is, formula (12); Step 6.3, calculate the vehicle position under non-free flow conditions. When the actual road flow is higher than the capacity, the road section is defined as a non-free flow state. The order of vehicle i at any time t is expressed as formula (13), where l is the length of the road section, D(t) is the cumulative number of vehicles recorded by the downstream checkpoint of the road section during the period [0, t], w is the shock wave velocity of the road section, and k j is the road congestion density. The inverse function can be used to find the vehicle position at the corresponding time under non-free flow conditions based on the known vehicle sequence. That is, formula (14). Since formula (14) has no analytical solution, it is solved by Newton's method or least squares method; Step 6.4, Compare and Take the minimum value as the estimated position x of vehicle i at time t i (t); Step 6.5: Reconstruct the full-time and space vehicle operation trajectory information and determine t+Δt≥d i Is it true? If not, calculate the order of vehicle i at time t = ωΔt + Δt and position x i (t); if true, output the completed vehicle trajectory sequence: x i (e i ),x i (e i +Δt),x i (e i +2Δt),...,x i (d i ).
Citation Information
Patent Citations
Urban trunk road vehicle trajectory reconstruction method based on fixed-point detector and signal timing data fusion
CN105788252A
Method for checking passing possibility condition
CN109844843A
Vehicle trajectory reconstruction method based on license plate recognition data
CN112365711A
Lane merging and plugging behavior analysis method based on license plate recognition and trajectory data
CN113284344A
Visual analysis platform for vehicle track-guided geographic spatial-temporal characteristics
CN114265833A
