A flow distribution method for AVI detector based on maximum likelihood estimation

By using a method based on maximum likelihood estimation and using AVI detector traffic to infer the destination and path order of vehicle samples, the problem of difficult acquisition and inseparable calculation of OD traffic in traditional traffic allocation methods is solved, achieving a more realistic and Efficient path traffic distribution.

CN117912245BActive Publication Date: 2024-09-27SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410046345.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-12
Publication Date
2024-09-27
Estimated Expiration
2044-01-12

AI Technical Summary

Technical Problem

The traditional traffic allocation method is difficult to obtain OD flow, the information utilization is not high, and the calculation cannot be divided, making it impossible to effectively estimate the path flow.

Method used

The AVI detector traffic allocation method based on maximum likelihood estimation is used to determine candidate destinations through space-time prism, a biased random walk algorithm is used to generate a path set, a likelihood function optimization model is constructed, and the order sum of vehicle samples and destinations is inferred. Matching probability of path order, calculation of distribution probability of detector traffic, and realization of segmentation estimation of path traffic.

Benefits of technology

The input data is easier to obtain, the individual information is richer, the calculation range can be divided, the output is more realistic path flow distribution, and the consideration of the balance relationship of the road network is simplified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117912245B
    Figure CN117912245B
Patent Text Reader

Abstract

The present invention discloses an AVI detector traffic allocation method based on maximum likelihood estimation, comprising: defining a search range of a candidate destination set based on a space-time prism; generating a candidate path set connecting each destination based on the candidate destination set using a biased random walk algorithm; inferring the matching probability of different candidate destination sets by solving a likelihood function optimization model; and performing detector traffic allocation based on maximum likelihood estimation; the present invention regards the path flow as the allocation result of the detector flow rather than the OD flow, and based on this new perspective, replaces the UE hypothesis and the prior OD matrix with the time consistency hypothesis and the observed traffic flow between detector pairs, thereby obtaining a more realistic result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of traffic distribution principle and computing technology, and in particular to an AVI detector flow distribution method based on maximum likelihood estimation. Background Art

[0002] Traffic Assignment distributes the traffic flow obtained from the survey to the roads according to the travel selection criteria, thereby achieving effective deduction of the road network operation situation. After more than 50 years of development, traffic assignment has become the core theory and basic method of traffic planning and control. In the traditional traffic assignment method, the input is the origin and destination travel distribution (OD matrix) obtained through the survey, the travel selection criterion is the random user equilibrium, and the output is the road section flow.

[0003] The traditional detector traffic allocation method uses the difficult-to-obtain OD traffic as input. Unlike the traditional method, the present invention uses the traffic flow recorded by the AVI (Automatic Vehicle Identification) detectors widely deployed in my country as input, and invents an AVI detector traffic allocation method based on maximum likelihood estimation; the input of the allocation process of the present invention is the detector traffic, which can be collected directly from the AVI detector, and the input data is easier to obtain. Secondly, the current research does not make much use of the information of the detector. The present invention comprehensively utilizes the individual spatial constraints and time information, and the input individual information is richer. In addition, the calculation of the existing traffic allocation problem is not divisible. The present invention only estimates one or more path flows by executing the allocation process on the relevant detectors, without considering the complex balance relationship between the paths on the entire road network, so that the calculation range can be divided. Summary of the invention

[0004] The purpose of the present invention is to provide an AVI detector traffic allocation method based on maximum likelihood estimation. Different from the traditional path flow estimation method, the present invention regards the path flow as the allocation result of the detector flow, rather than the OD flow. Using this new perspective, the UE assumption and the prior OD matrix are replaced by the time consistency assumption and the observed traffic flow between the detector pairs, and a more realistic result is output.

[0005] To achieve the above functions, the present invention designs an AVI detector flow distribution method based on maximum likelihood estimation. For the target area, the following steps S1 to S4 are performed to complete the distribution of the detector flow:

[0006] Step S1: for each vehicle sample traveling in the target area, based on the space-time prism, determine the candidate destination of the vehicle sample and construct a candidate destination set;

[0007] Step S2: Based on the candidate destination set, a biased random walk algorithm is used to generate a candidate path set connecting each destination;

[0008] Step S3: constructing a destination order candidate set and a path order candidate set according to the destination order and path order that the vehicle sample passes through, constructing and solving a likelihood function optimization model based on the probability that the vehicle sample is captured by the detector, and inferring the matching probability of the vehicle sample with different destination orders and path orders;

[0009] Step S4: Based on the matching probability between the vehicle samples and different destination orders and path orders, the distribution probability of the detector traffic is calculated, and the detector traffic is distributed to the road network of the target area according to the destination and path corresponding to the maximum distribution probability.

[0010] Beneficial effects: Compared with the prior art, the advantages of the present invention include:

[0011] 1. Input data is easier to obtain. The input of the new allocation process is the detector flow rate, which can be collected directly from the AVI detector, instead of the OD flow rate that is difficult to obtain in the traditional method.

[0012] 2. Richer individual information. The detector stream provides richer individual travel information, including not only spatial constraints (the tracked vehicle must be close to the detector that observed it, and is unlikely to pass through a detector that has never captured it), but also temporal information (the passing time recorded by two adjacent detectors should be equal to the total time consumed by the tracked vehicle's movement). Such spatiotemporal information will help us construct new allocation rules to estimate path flow.

[0013] 3. The calculation scope can be divided. We can estimate the flow of one or more paths by only performing the assignment process on the relevant detectors, without considering the complex balance relationship between the paths on the entire road network. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flow chart of a method for allocating flow of an AVI detector based on maximum likelihood estimation according to an embodiment of the present invention;

[0015] Figure 2 is a schematic diagram of a road network structure of a πNEUMA dataset provided according to an embodiment of the present invention;

[0016] Figure 3 is a schematic diagram of a layout scheme of 41 detectors provided according to an embodiment of the present invention;

[0017] Figure 4 is a schematic diagram of a detector flow distribution result based on maximum likelihood estimation provided according to an embodiment of the present invention;

[0018] Figure 5 It is a schematic diagram of the actual traffic distribution of a road network provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0020] An AVI detector flow distribution method based on maximum likelihood estimation provided by an embodiment of the present invention is directed to a target area, referring to Figure 1 , perform the following steps S1 to S4 to complete the distribution of the detector flow:

[0021] Step S1: for each vehicle sample traveling in the target area, based on the space-time prism, determine the candidate destination of the vehicle sample and construct a candidate destination set;

[0022] The space-time prism is defined as follows: The space-time prism is determined by the positions that an individual must be at the beginning and end of an interval, any time required to participate in an activity during that interval, and the rate at which an individual can trade time for space during movement (i.e., travel speed). The space-time prism measures the reachability of an individual in a specific spatial and temporal context and encompasses all points in space and time that an individual can reach within a certain time interval.

[0023] The interval start time of the space-time prism described in step S1 is when the nth vehicle sample is detected by the detector The timestamp of the record The interval end time of the space-time prism is when the nth vehicle sample is detected by the detector The timestamp of the record The time axis of the space-time prism needs to satisfy the time difference constraint, that is, the time consumption is less than the time budget, where the time consumption is the time when the vehicle sample is in the detector. and The sum of the travel time between and the destination stay time; the time budget is the vehicle sample passing through the detector and The difference between the recorded timestamps, i.e.

[0024] Step S2: Based on the candidate destination set, a biased random walk algorithm is used to generate a candidate path set connecting each destination;

[0025] Step S3: constructing a destination order candidate set and a path order candidate set according to the destination order and path order that the vehicle sample passes through, constructing and solving a likelihood function optimization model based on the probability that the vehicle sample is captured by the detector, and inferring the matching probability of the vehicle sample with different destination orders and path orders;

[0026] The specific steps of step S3 are as follows:

[0027] Step S3.1: According to the order of the destinations and paths that the vehicle samples pass through, a destination order candidate set and a path order candidate set are constructed; according to the total probability formula, the nth vehicle sample is detected by the detector. Probability of capture is the order of all destinations Ω i The sum of the probabilities is as follows:

[0028]

[0029] In the formula, Pr(Ω i ) indicates that the vehicle samples are ordered by destination Ω i Through the detector The probability of Indicates that the destination order is selected i Under the condition of Probability of capture;

[0030] According to the destination order candidate set, a path order candidate set is generated. Further broken down into:

[0031]

[0032] In the formula, Φ i is the path order, is the destination derivation formula, indicating that after the destination order Ω is selected i Under the condition of i And the detector Probability of capture;

[0033] The likelihood function is constructed as follows:

[0034]

[0035] In the formula, LL is the likelihood function, that is, the objective function of the optimization model, indicating that all vehicle samples are detected by the detector. Logarithm of the observed probability, N i,i+1 For the detector pair The total number of observed vehicle samples;

[0036] Step S3.2: Construct the likelihood function optimization model as follows:

[0037]

[0038] Because the likelihood function LL is a strictly concave function, the likelihood function optimization model has a unique maximum value, which is solved using the classic quasi-Newton method; for the destination derivation formula According to the probability multiplication rule, the following formula is derived:

[0039]

[0040] in, is the matching probability model, indicating the order of destinations in a given order Ω i and path order Φ i Under this condition, the vehicle samples are detected by the detector. The observed probability; Pr(Φ i |Ω i ) is the path order selection model, which means that in a given destination order Ω i Next, select the path order Φ i probability.

[0041] Matching probability model in step S3.2 It is measured by the temporal consistency of the observed time budget and time consumption between the path-destination combination, where the temporal consistency refers to the time consistency of the detector for The difference between the timestamps of the observed nth vehicle sample is consistent with the actual driving time consumption; the time consumption includes the path time consumption and the destination time consumption, and the path time consumption function is recorded as f(c|p i,j ), the destination time consumption function is Where c is the consumption time, The vehicle sample passes through the destination d i,j time, when connecting the detector and destination i,1 The path is p i,0 Under the condition of Time from the detector Departure and Arrival at first destination at time d i,1 The probability is:

[0042]

[0043] In the formula, Represents the vehicle sample on path p i,0 The path time consumption function on Indicates that the vehicle sample is Depart at any time and Arrive at your destination in no time;

[0044] definition For vehicle samples from the detector Departure and Time to leave the first destination i,1 The probability of the first destination is as follows:

[0045]

[0046] In the formula, Indicates that the vehicle sample is at the destination d i,1 The destination time consumption function, Indicates that the vehicle sample is Arrive at the destination in time and Always leave your destination;

[0047] Calculated using the chain rule:

[0048]

[0049] in For the nth vehicle sample passing through the detector The subsequent motion state is {p i,0 ,p i,1 ,…,p i,J-1 ,d i,1 ,…,d i,J}, the vehicle leaves the last destination d i,J Departure time is probability; By solving and The recursive process of

[0050] If the detector and There is no destination between Φ i =[p i,0 ]), then the matching probability model is simplified to:

[0051]

[0052] In the formula, Represents a vehicle sample with path p i,0 Through the detector Represents the vehicle sample on path p i,0 The path time consumption function on Indicates that the vehicle sample is Depart at any time and Arrive at your destination in no time.

[0053] The path order selection model described in step S3.2 is the most classic logic-based model, and the solution process is as follows:

[0054] Assuming that all drivers are completely consistent, the utility function is defined as follows:

[0055] V i,j =β FTT FTT i,j +β NSI NSI i,j +β PE ln(PE i,j )+β PS ln(PS i,j )+β SB ln(SB i,j )

[0056] Among them, FTT i,j , NSI i,j , PE i,j , P.S. i,j , S.B. i,j For each subpath attribute, FTT i,j is the sum of the average free travel time of all paths, NSI i,j is the number of semaphores on the subpath, PE i,j is the proportion of expressway type road sections, PS i,j is an indicator that captures sample correlation, SB i,j is an indicator for correcting sample bias; β FTT , β NSI , β PE , β PS and β SB The attributes of the subpaths are FTT i,j , NSI i,j , PE i,j , P.S. i,j , S.B. i,j The preference coefficient of

[0057] The preference coefficients of the attributes of the above five sub-paths are: β FTT =-0.17856, β nSI =0.00052, β PE =-9.22457, β PS =1.87072, β SB =0.15409, the above constitutes the preference coefficient set β.

[0058] The path order selection model Pr(Φ i |Ω i ) is decomposed into individual selection probabilities for solution:

[0059]

[0060] Among them, β is the preference coefficient set, Pr(p i,0 ,p i,1 ,…,p i,J |d i,1 ,…,d i,J ) indicates that the destinations are d i,1 ,…,d i,J When we select path p i,0 ,p i,1 ,…,p i,J The probability, Pr(p i,j |β) means that path p is selected under the condition of preference coefficient β i,j probability.

[0061] Step S4: Based on the matching probability between the vehicle samples and different destination orders and path orders, the distribution probability of the detector traffic is calculated, and the detector traffic is distributed to the road network of the target area according to the destination and path corresponding to the maximum distribution probability.

[0062] The specific steps of step S4 are as follows:

[0063] Step S4.1: Based on the Bayesian formula, the distribution probability of the detector flow is calculated as follows:

[0064]

[0065] Where, the distribution probability of the detector flow is Indicates that according to the detector The observed row information of the nth vehicle sample matches the nth vehicle sample to the corresponding destination sequence Ω i and path order Φ i probability; is the vehicle sample detected by the detector Probability of capture; is the destination derivation, Pr(Ω i ) indicates that the vehicle samples are ordered by destination Ω i Through the detector probability;

[0066] Step S4.2: The vehicle sample destination order and path order corresponding to the maximum detector flow allocation probability are regarded as their actual destination order and path travel order, and the optimal vehicle sample destination allocation result is And the path allocation results for:

[0067]

[0068] Distribute results by destination And the path allocation results Correspondingly, the detector traffic is distributed to the road network in the target area.

[0069] The following is an embodiment of an AVI detector flow distribution method based on maximum likelihood estimation designed by the present invention:

[0070] In this example, an empirical study with field test data is used to demonstrate the effectiveness of the method. It is difficult to directly observe the source of traffic congestion on a large road network, that is, the traffic volume on the path through the tracking link. πNEUMA is the largest open dataset with spatial coverage that can provide high-resolution path information. It records the vehicle trajectories captured by 10 drones hovering over the central business district of Athens. Figure 2 As shown, the area of ​​the dataset is 1.3km 2 , consisting of 573 road segments and 470 nodes. To simplify the modeling, the πNEUMA network is divided into 150×150m grid units ( Figure 2 Each grid cell represents a traffic zone (TAZ). The origin / destination of each trip is assigned to a TAZ centroid or boundary node (BD).

[0071] Step 1: Extracting real path data. The πNEUMA dataset provides complete sampled trajectories of vehicles passing through the study area. This paper extracts real path information from the trajectories based on a heuristic method. It includes four steps:

[0072] Generate candidate destination locations based on spatial clustering. Use a 10-meter spatial threshold to cluster trajectory points as candidate target locations.

[0073] Filter candidate locations with short duration. After spatial clustering, there is a sequential list of candidate locations, each with residence time, start time, and end time. If the residence time is greater than 120 seconds, the candidate location will be selected as the destination.

[0074] Determining a target location on a roundabout trajectory Since vehicles tend to move directly rather than on a roundabout, the present invention also considers candidate locations on a roundabout trajectory as destinations.

[0075] The driving path is extracted through a map matching algorithm. With the inferred destination location, the trajectory can be divided into different trips. The open source map matching software LeuvenMapMatching is then used to extract the actual driving path for each trip.

[0076] Due to the high sampling frequency and small position error of the πNEUMA trajectory, the trip information extracted based on the above four-step process is used as the real path data in this paper. During the study period, the driving paths of 14,032 trips were extracted. Through simple aggregation calculations, a total of 2,285 different paths and 805 OD pairs were identified.

[0077] Step 2: AVI detector deployment and traffic distribution.

[0078] This embodiment generates an example of a detector deployment plan. Figure 3 , contains 41 detectors, assuming that the tracking link is always monitored by one AVI detector, i.e., the target detector. The remaining detectors are then localized to seek the maximum observable detector deployment under budget constraints.

[0079] The detector flow distribution method proposed in the present invention is applied to allocate a specific path for each sample captured by the target detector. Figure 4 The flow distribution results of the method designed by the present invention are shown. Figure 5 This is the actual flow distribution obtained based on step 1. Comparison of the two shows that the results are very close, which verifies the effectiveness of the AVI detector flow distribution method based on maximum likelihood estimation proposed in the present invention.

[0080] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A method for allocating flow rates of AVI detectors based on maximum likelihood estimation, characterized in that: For the target area, perform the following steps S1 to S4 to complete the distribution of the detector flow: Step S1: for each vehicle sample traveling in the target area, based on the space-time prism, determine the candidate destination of the vehicle sample and construct a candidate destination set; Step S2: Based on the candidate destination set, a biased random walk algorithm is used to generate a candidate path set connecting each destination; Step S3: constructing a destination order candidate set and a path order candidate set according to the destination order and path order that the vehicle sample passes through, constructing and solving a likelihood function optimization model based on the probability that the vehicle sample is captured by the detector, and inferring the matching probability of the vehicle sample with different destination orders and path orders; The specific steps of step S3 are as follows: Step S3.1: According to the order of the destinations and paths that the vehicle samples pass through, a destination order candidate set and a path order candidate set are constructed; according to the total probability formula, the nth vehicle sample is detected by the detector. Probability of capture As follows: In the formula, Pr(Ω i ) indicates that the vehicle samples are ordered by destination Ω i Through the detector The probability of Indicates that the destination order is selected i Under the condition of Probability of capture; According to the destination order candidate set, a path order candidate set is generated. Further broken down into: In the formula, Φ i is the path order, is the destination derivation formula, indicating that after the destination order Ω is selected i Under the condition of i And the detector Probability of capture; The likelihood function is constructed as follows: In the formula, LL is the likelihood function, which means that all vehicle samples are detected by the detector. Logarithm of the observed probability, N i,i+1 For the detector pair The total number of observed vehicle samples; Step S3.2: Construct the likelihood function optimization model as follows: Because the likelihood function LL is a strictly concave function, the likelihood function optimization model has a unique maximum value, which is solved using the classic quasi-Newton method; for the destination derivation formula According to the probability multiplication rule, the following formula is derived: in, is the matching probability model, indicating the order of destinations in a given order Ω i and path order Φ i Under this condition, the vehicle samples are detected by the detector. The observed probability; Pr(Φ i |Ω i ) is the path order selection model, which means that in a given destination order Ω i Next, select the path order Φ i probability; Step S4: Based on the matching probability between the vehicle samples and different destination orders and path orders, the distribution probability of the detector traffic is calculated, and the detector traffic is distributed to the road network of the target area according to the destination and path corresponding to the maximum distribution probability.

2. The AVI detector flow distribution method based on maximum likelihood estimation according to claim 1, characterized in that: The interval start time of the space-time prism described in step S1 is when the nth vehicle sample is detected by the detector The timestamp of the record The interval end time of the space-time prism is when the nth vehicle sample is detected by the detector The timestamp of the record The time axis of the space-time prism needs to satisfy the time consumption less than the time budget, where the time consumption is the time that the vehicle sample is in the detector. and The sum of the travel time between and the destination stay time; the time budget is the vehicle sample passing through the detector and The difference in timestamps recorded.

3. The AVI detector flow distribution method based on maximum likelihood estimation according to claim 1, characterized in that: Matching probability model in step S3.2 It is measured by the temporal consistency of the observed time budget and time consumption between the path-destination combination, where the temporal consistency refers to the time consistency of the detector for The difference between the timestamps of the observed nth vehicle sample is consistent with the actual driving time consumption; the time consumption includes the path time consumption and the destination time consumption, and the path time consumption function is recorded as f(c|p i,j ), the destination time consumption function is Where c is the consumption time, The vehicle sample passes through the destination d i,j time, when connecting the detector and destination i,1 The path is p i,0 Under the condition of Time from the detector Departure and Arrival at first destination at time d i,1 The probability is: In the formula, Represents the vehicle sample on path p i,0 The path time consumption function on Indicates that the vehicle sample is Depart at any time and Arrive at your destination in no time; definition For vehicle samples from the detector Departure and Time to leave the first destination i,1 The probability of the first destination is as follows: In the formula, Indicates that the vehicle sample is at the destination d i,1 The destination time consumption function, Indicates that the vehicle sample is Arrive at the destination in time and Always leave your destination; The path order Φ i and destination order Ω i Expand and calculate according to the chain rule: in For the nth vehicle sample passing through the detector The subsequent motion state is {p i,0 ,p i,1 ,…,p i,J-1 ,d i,1 ,…,d i,J }, the vehicle leaves the last destination d i,J Departure time is probability; By solving and The recursive process of If the detector and If there is no destination between them, the matching probability model is simplified to: In the formula, Represents a vehicle sample with path p i ,0 passes through the detector Represents the vehicle sample on path p i ,0 path time consumption function, Indicates that the vehicle sample is Depart at any time and Arrive at your destination in no time.

4. The AVI detector flow distribution method based on maximum likelihood estimation according to claim 1, characterized in that: The path order selection model solution process described in step S3.2 is as follows: The utility function is defined as follows: V i,j =b FTT FTT i,j +b NSI NSI i,j +b PE ln(PE i,j )+b PS ln(PS i,j )+b SB ln(SB i,j ) Among them, FTT i,j is the sum of the average free travel time of all paths, NSI i,j is the number of semaphores on the subpath, PE i,j is the proportion of expressway type road sections, PS i,j is an indicator that captures sample correlation, SB i,j is an indicator for correcting sample bias; β FTT , β NSI , β PE , β PS and β SB The attributes of the subpaths are FTT i,j , NSI i,j , PE i,j , P.S. i,j , S.B. i,j The preference coefficient of The path order selection model Pr(Φ i |Ω i ) is decomposed into individual selection probabilities for solution: Among them, β is the preference coefficient set, Pr(p i,0 ,p i,1 ,…,p i,J |d i,1 ,…,d i,J ) indicates that the destinations are d i,1 ,…,d i,J When we select path p i,0 ,p i,1 ,…,p i,J The probability, Pr(p i,j |β) means that path p is selected under the condition of preference coefficient β i,j probability.

5. The method for allocating flow of an AVI detector based on maximum likelihood estimation according to claim 4, characterized in that: The values ​​of preference coefficients are: β FTT =-0.17856, β NSI =0.00052, β PE =-9.22457, β PS =1.87072, β SB =0.15409.

6. The method for allocating flow of an AVI detector based on maximum likelihood estimation according to claim 1, characterized in that: The specific steps of step S4 are as follows: Step S4.1: Calculate the distribution probability of the detector flow as follows: Where, the distribution probability of detector flow is Indicates that according to the detector The observed row information of the nth vehicle sample matches the nth vehicle sample to the corresponding destination sequence Ω i and path order Φ i The probability of is the vehicle sample detected by the detector Probability of capture; is the destination derivation formula, Pr(Ω i ) indicates that the vehicle samples are ordered by destination Ω i Through the detector The probability of Step S4.2: The vehicle sample destination order and path order corresponding to the maximum detector flow allocation probability are regarded as their actual destination order and path travel order, and the optimal vehicle sample destination allocation result is And the path allocation results for: Distribute results by destination And the path allocation results Correspondingly, the detector traffic is distributed to the road network in the target area.