Perception data completion method based on shockwave traffic flow model
Through the Bayesian network method based on the shockwave traffic flow model, combined with radar and video data, the completion of traffic perception data is achieved, which solves the problem of completing perception data information in the existing technology and improves the accuracy of traffic conditions.
Patent Information
- Application Number
- CN202211732054.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Existing traffic sensing technology has poor detection results under abnormal conditions such as low illumination, rain, and snow. Radar data has discontinuities and duplications, making it difficult to accurately depict the trajectory of each vehicle on the road, making it difficult to complete sensory data information.
A sensory data completion method based on the shockwave traffic flow model is used to filter vehicle trajectories and establish a Bayesian network model. The fusion of radar and video trajectory data is used to perform parameter inference and data completion to achieve accurate estimation of traffic status.
It effectively improves the accuracy and coverage of sensory data, provides a basis for accurate analysis and judgment of traffic conditions, and solves the problem of completing sensory data information.
Smart Images

Figure CN116504052B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of traffic perception data mining, and in particular to a perception data completion method based on a shockwave traffic flow model. Background Art
[0002] With the increasing complexity of the road traffic environment and the acceleration of urbanization, the requirements for road traffic management are getting higher and higher. In various business scenarios, accurate perception of target characteristics, behaviors, environmental characteristics and attributes can provide basic data for user business applications, big data analysis and refined traffic management.
[0003] Video and radar are the two mainstream means of traffic perception at present, but no matter which perception means, there are technical bottlenecks. Video detection effect is poor in abnormal conditions such as low illumination, rain, snow, etc., the accuracy of detecting physical information such as target speed and position is insufficient, and the detection range and distance are limited. Radar technology has the advantages of accurate positioning, high spatial resolution, and long detection distance, but in actual applications, due to the interference of a large number of irrelevant objects and problems with the radar equipment itself, radar data is seriously intermittent and repeated, and it is often difficult to accurately depict the running trajectory of each vehicle on the road. Therefore, how to integrate the information provided by various perception means to achieve the completion of perception data information, thereby achieving the improvement of perception accuracy is an urgent problem to be solved. Summary of the invention
[0004] The purpose of the present invention is to provide a perception data completion method based on the shockwave traffic flow model to address the problems existing in the prior art. The traffic flow model is used to establish an analytical expression of vehicle trajectories, and a Bayesian network is used to infer unknown parameters based on sampled data. The perception data is completed using a dual-driven method of model data.
[0005] The technical solution to achieve the purpose of the present invention is: a method for completing perception data based on the shockwave traffic flow model, the method comprising the following steps:
[0006] Step 1, filter vehicle trajectories from raw traffic perception data;
[0007] Step 2, using the shockwave traffic flow model to establish a reasoning analysis model, analytically express the vehicle trajectory, and obtain the analytical expression relationship between the parameters;
[0008] Step 3: Establish a two-stage Bayesian network model to statistically describe the relationship between observed variables and unobserved variables through the Bayesian reasoning framework, which is used for parameter learning and estimation of traffic conditions such as traffic volume and travel time;
[0009] Step 4: Based on the fused trajectory data of radar trajectory data and video trajectory data, solve the Bayesian network model, complete the unknown parameter estimation, and realize data information completion.
[0010] Furthermore, in step 1, the original traffic perception data uses radar trajectory data. Due to the serious discontinuity and repetition of radar data, it is difficult to accurately describe the running trajectory of each vehicle on the road. The specific method for screening vehicle trajectories is as follows:
[0011] The traffic flow trajectory identified by video data is taken as the true value, and the radar trajectory data screening rules are formulated accordingly: the number of trajectory points is greater than 4, the speed direction of the trajectory points is consistent, the speed of the last trajectory point is greater than "zero", and the X and Y positions of the trajectory points at the stop line are within the lane line.
[0012] Furthermore, the relationship between the three parameters of flow, density and speed in the shockwave traffic flow model described in step 2 is modeled using a triangular basic graph model;
[0013] Through the shockwave traffic flow model, we can get th signal period, n i The change of traffic state after the vehicle enters the intersection and road section (q a,i ,k a,i ) and congestion state (0,k j ), and congestion state (0,k j ) and the maximum traffic volume state (q max ,k c ) are respectively ω a,i and ω:
[0014]
[0015]
[0016] Among them, q a,i For the i th The flow rate of a signal cycle, k a,i For the i th The density of signal cycles, k j is the density of the congestion state, k c is the critical density under the maximum traffic volume state, q max is the maximum traffic volume, v f is the free flow speed;
[0017] Calculate the critical time t at which the vehicle in the i-th cycle will encounter delay c,i , expressed as:
[0018]
[0019] Among them, R i is the duration of the red light in the i-th cycle;
[0020] If the jth vehicle V sampled in the i-th cycle i j The time of entering the intersection is t i j , vehicle V i j The delay can be expressed as
[0021]
[0022] Vehicle V i j The travel time T i j Delay at intersection D i j Free flow travel time l·p f The sum of:
[0023]
[0024] Where l represents the distance between the upstream and downstream positions of the intersection, and p f is the free flow velocity v f The reciprocal of .
[0025] Furthermore, based on the analysis of the relationship between traffic parameters such as vehicle arrival time and travel time in step 2, a two-stage Bayesian inference framework is developed using the radar-visual fusion data as a sample of the real vehicle trajectory to statistically describe the relationship between observed variables and unobserved variables. In step 3, a two-stage Bayesian network model is established, which specifically includes:
[0026] (1) Phase I:
[0027] Assume that the free flow speed of vehicles running at the intersection can be calibrated through the perceived speed data. Considering the driving process of the vehicle on the road section, the trajectory sampling before the vehicle enters the intersection is used, and the free flow speed distribution of the road section is fitted using the Gaussian mixture model, which is expressed as p f The joint probability distribution of
[0028]
[0029] Where μ1, μ2, σ1, σ2 are the means and standard deviations of the two Gaussian distributions, and π1 is the weight parameter of the mixture of the two Gaussian distributions;
[0030] Assume that the probability distribution of the mixed Gaussian distribution is in are the mean and variance of the mixed Gaussian distribution respectively;
[0031] (2) Second stage:
[0032] Study the shockwave traffic flow model at the intersection and convert n i Expressed as the number of vehicles at the intersection, assuming that the number of vehicles entering the intersection or road section in each signal cycle follows a Poisson distribution, the number of vehicles at the intersection n i The probability density is expressed as Q(n i ; λ):
[0033]
[0034] Among them, λ is the Poisson distribution parameter, which represents the average arrival rate of vehicles;
[0035] The travel time of vehicles can be expressed using the same probability distribution as the free-flow speed;
[0036] For vehicles that encounter delays, consider the analytical expression of vehicle delay in formula (4), vehicle V i j Travel time T at the intersection i j Expressed as:
[0037]
[0038] For vehicles without delays, the travel time is:
[0039]
[0040] Among them, q a,i By calculating the following formula, C i is the length of the i-th signal cycle:
[0041]
[0042] Therefore, the vehicle V i j The travel time T i j The distribution of can be based on the parameters λ,n i ,μ1,μ2,σ1,σ2,π1 and q max Calibrate, where q max The video detection results can be used to estimate T i j and can be extracted from the trajectory of the sampled vehicle. i j The joint distribution in follows: From this we can further get the travel time T i j The probability density function of Vehicles experiencing delays are indicated as follows:
[0043]
[0044] or for vehicles that are not delayed,
[0045]
[0046] Assume T i is the intersection travel time set of the sampled vehicles in the i-th cycle. Therefore, for the i-th signal cycle, n i and The joint probability density is:
[0047]
[0048] Among them, m i is the total number of sampled vehicles in the i-th cycle;
[0049] Finally, the joint probability distribution of all vehicles in all signal periods is obtained as:
[0050]
[0051] Where T is the set of intersection travel times of all periodically sampled vehicles.
[0052] Furthermore, in step 4, based on the fused trajectory data of the radar trajectory data and the video trajectory data, the Bayesian network model is solved, and specifically the Expectation-Maximization algorithm, namely, the EM algorithm, is used for solving, and the process includes:
[0053] Step 4-1, initialize parameters π, μ1, σ1 2 ,μ2,σ2 2 ;
[0054] Step 4-2, in step E, according to the parameters π, μ1, σ1 2 ,μ2,σ2 2 The free stream velocity distribution of the first stage is obtained, and then for the second stage, n i It is estimated to be:
[0055]
[0056] Among them, Q i (n i ) is in The posterior distribution under the condition of ;
[0057] By Bayes' rule, Q i (n i =n i '|T i ;λ,μ pf ,σ pf ) is expressed as:
[0058]
[0059] In the M step, the radar and video trajectory data and the output n of the E step are used. i Calculate and optimize the update parameters λ,π,μ1,σ1 by maximizing the likelihood function of the entire Bayesian inference 2 ,μ2,σ2 2 :
[0060]
[0061] Step 4-3, repeat steps E and M until the Bayesian network converges, obtain the estimation of vehicle arrival rate and vehicle passing rate within a single signal cycle, and complete the data information completion.
[0062] Compared with the prior art, the present invention has the following significant advantages: in view of the low sampling rate situation in reality where perception data can only cover a small part of the total traffic volume and vehicle trajectory, a dual-driven model-data method is adopted. On the basis of radar-visual fusion perception data, a two-stage traffic flow reasoning and analysis model is established in combination with the shockwave traffic flow model, and the Bayesian network is used to infer unknown parameters based on the sampled data, thereby effectively realizing the completion of perception data information and laying the foundation for accurate analysis of traffic conditions.
[0063] The present invention is further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 It is a flow chart of the perception data completion method based on the shockwave traffic flow model of the present invention.
[0065] Figure 2 It is a schematic diagram of the complete trajectory screening of the present invention.
[0066] Figure 3 It is a basic model of a triangle according to an embodiment of the present invention.
[0067] Figure 4 It is a schematic diagram of an implementation scenario of the present invention.
[0068] Figure 5 It is a schematic diagram of the present invention using the EM algorithm to iteratively solve the Bayesian network. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] It should be noted that if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0071] In one embodiment, in combination Figure 1 , provides a perception data completion method based on the shockwave traffic flow model, including the following steps:
[0072] Step 1: Filter out relatively complete trajectories from the original traffic perception data, and use these complete trajectories as overall sampling for subsequent parameter estimation.
[0073] Using radar data from an intersection in Suzhou, it is difficult to accurately depict the trajectory of each vehicle on the road due to the serious discontinuity and duplication of radar data. Figure 2 As shown in the figure, the traffic flow trajectory identified by video data is taken as the true value, and the radar data screening rules are formulated accordingly: the number of trajectory points is greater than 4, the speed direction of the trajectory points is consistent, the speed of the last trajectory point is greater than "zero", and the X and Y positions of the trajectory points at the stop line are within the lane line.
[0074] Step 2: Use the shockwave traffic flow model to establish a reasoning analysis model, analytically express the spatiotemporal trajectory of the vehicle, and thus derive the analytical expression relationship between the parameters.
[0075] Use Figure 3 The basic triangular model shown in Figure 1 models the vehicles on the road section and at the intersection. Through the shockwave traffic flow model, the vehicles on the i-th th signal period, n i The corresponding traffic state changes after the vehicle enters the intersection and road section (q a,i ,k a,i ), state (q a,i ,k a,i) and congestion state (0,k j ), and congestion state (0,k j ) and the maximum traffic volume state (q max ,k c ) are respectively ω a,i and ω:
[0076]
[0077]
[0078] where q a,i For the i th The flow rate of a signal cycle, k a,i For the i th The density of signal cycles, k j is the density of the congestion state, k c is the critical density under the maximum traffic volume state, q max is the maximum traffic volume, v f is the free flow speed.
[0079] Calculate the critical time t at which the vehicle in the i-th cycle will encounter delay c,i It can be expressed as:
[0080]
[0081] Where R i is the duration of the red light in the i-th cycle.
[0082] If the jth vehicle V sampled in the i-th cycle i j The time of entering the intersection is t i j , vehicle V i j The delay can be expressed as:
[0083]
[0084] Vehicle V i j The travel time is the intersection delay D i j Free flow travel time l·p f The sum of:
[0085]
[0086] Where l represents the distance between the upstream and downstream positions of the intersection, p f is the free flow velocity v f The reciprocal of .
[0087] Step 3: Establish a two-stage Bayesian network model. Through the Bayesian reasoning framework, the relationship between observed variables and unobserved variables is statistically described for parameter learning and estimation of traffic conditions such as traffic volume and travel time.
[0088] like Figure 4 In the implementation scenario shown, the perception data in reality can often only cover a small part of the total traffic volume and vehicle trajectory. Therefore, the present invention uses radar data fusion as a sampling of real vehicle trajectories and develops a Bayesian reasoning framework to statistically describe the relationship between observed variables and unobserved variables.
[0089] Phase 1:
[0090] For the first stage, it is assumed that the free flow speed of vehicles running at the intersection can be calibrated by the perceived speed data. Considering the driving process of the vehicle on the road section, the trajectory sampling before the vehicle enters the intersection is used, and the free flow speed distribution of the road section is fitted using the Gaussian mixture model, which is expressed as p f The joint probability distribution of
[0091]
[0092] Where μ1, μ2, σ1, σ2 are the means and standard deviations of the two Gaussian distributions respectively, and π1 is the weight parameter of the mixture of the two Gaussian distributions.
[0093] Assume that the probability distribution of the mixed Gaussian distribution is in are the mean and variance of the mixed Gaussian distribution, respectively.
[0094] Phase 2:
[0095] In the second stage, the shockwave traffic flow model at the intersection is studied. i Expressed as the number of vehicles at the intersection, assuming that the number of vehicles entering the intersection or road section in each signal cycle follows a Poisson distribution, the number of vehicles at the intersection n i The probability density of can be expressed as Q(n i ; λ):
[0096]
[0097] The travel time of a vehicle can be expressed using the same probability distribution as the free-flow speed.
[0098] For vehicles that encounter delays, consider the analytical expression of vehicle delay in formula (21), vehicle V i j Travel time T at the intersection ij It can be expressed as:
[0099]
[0100] For vehicles without delays, the travel time is:
[0101]
[0102] Among them, q a,i It can be calculated by the following formula, C i is the length of the i-th signal cycle:
[0103]
[0104] Therefore, the vehicle V i j The travel time T i j The distribution of can be based on the parameters λ,n i ,μ1,μ2,σ1,σ2,π1 and q max Calibrate, where q max The video detection results can be used to estimate T i j and can be extracted from the trajectory of the sampled vehicle. i j The joint distribution in follows: From this we can further get the travel time T i j The probability density function of For vehicles experiencing delays, it can be expressed as:
[0105]
[0106] Or for vehicles that are not delayed,
[0107]
[0108] Assume T i is the intersection travel time set of the sampled vehicles in the i-th cycle. Therefore, for the i-th signal cycle, n i and The joint probability density is:
[0109]
[0110] Where m i is the total number of vehicles sampled in the i-th cycle.
[0111] Finally, the joint probability distribution of all vehicles in all signal periods is obtained as:
[0112]
[0113] Where T is the intersection travel time set of all sampled vehicles in the cycle
[0114] Step 4: Use the fused trajectory data and the EM (Expectation-Maximization) algorithm to solve the Bayesian network, complete the unknown parameter estimation, and realize data information completion.
[0115] The radar trajectory data and video trajectory data are used to solve the problem using the EM (Expectation-Maximization) algorithm.
[0116] First, initialize the parameters π, μ1, σ1 2 ,μ2,σ2 2 .
[0117] In step E, firstly according to the parameters π, μ1, σ1 2 ,μ2,σ2 2 The free stream velocity distribution of the first stage is obtained, and then for the second stage, n i can be estimated as:
[0118]
[0119] Here, Q i (n i ) is in is the posterior distribution conditional on .
[0120] By Bayes' rule, Q i (n i =n i '|T i ;λ,μ pf ,σ pf ) can be expressed as:
[0121]
[0122] Next, in step M, the radar and video trajectory data and the output n of step E are used to i Calculate and optimize the update parameters λ,π,μ1,σ1 by maximizing the likelihood function of the entire Bayesian inference 2 ,μ2,σ2 2 .
[0123]
[0124] Then, steps E and M are repeated until the Bayesian network converges, and estimates of the vehicle arrival rate and vehicle passing rate within a single signal cycle are obtained to complete the data information.
[0125] like Figure 5 The figure shows the iterative diagram of the EM algorithm. By comparing the video data, the actual number of vehicles arriving at the intersection in one signal cycle is 16 and 17, and the number of vehicles passing through the intersection is 15 and 16, which is consistent with the result of Bayesian network estimation.
[0126] In one embodiment, a perception data completion system based on a shockwave traffic flow model is provided, the system comprising:
[0127] The first module is used to filter vehicle trajectories from raw traffic perception data;
[0128] The second module is used to establish a reasoning analysis model using the shockwave traffic flow model, analytically express vehicle trajectories, and obtain the analytical expression relationship between parameters;
[0129] The third module is used to establish a two-stage Bayesian network model, which uses the Bayesian inference framework to statistically describe the relationship between observed variables and unobserved variables for estimating traffic status;
[0130] The fourth module is used to solve the Bayesian network model based on the fused trajectory data of radar trajectory data and video trajectory data, complete the estimation of unknown parameters, and realize data information completion.
[0131] For the specific definition of the perception data completion system based on the shockwave traffic flow model, please refer to the definition of the perception data completion method based on the shockwave traffic flow model in the above text, which will not be repeated here. Each module in the above-mentioned perception data completion system based on the shockwave traffic flow model can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0132] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0133] Step 1: Filter out relatively complete trajectories from the original traffic perception data, and use these complete trajectories as overall sampling for subsequent parameter estimation.
[0134] Step 2: Use the shockwave traffic flow model to establish a reasoning analysis model, analytically express the spatiotemporal trajectory of the vehicle, and thus derive the analytical expression relationship between the parameters.
[0135] Step 3: Establish a two-stage Bayesian network model. Through the Bayesian reasoning framework, the relationship between observed variables and unobserved variables is statistically described for parameter learning and estimation of traffic conditions such as traffic volume and travel time.
[0136] Step 4: Use the fused trajectory data and the EM (Expectation-Maximization) algorithm to solve the Bayesian network, complete the unknown parameter estimation, and realize data information completion.
[0137] For the specific limitations of each step, please refer to the limitations of the perception data completion method based on the shockwave traffic flow model mentioned above, which will not be repeated here.
[0138] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0139] Step 1: Filter out relatively complete trajectories from the original traffic perception data, and use these complete trajectories as overall sampling for subsequent parameter estimation.
[0140] Step 2: Use the shockwave traffic flow model to establish a reasoning analysis model, analytically express the spatiotemporal trajectory of the vehicle, and thus derive the analytical expression relationship between the parameters.
[0141] Step 3: Establish a two-stage Bayesian network model. Through the Bayesian reasoning framework, the relationship between observed variables and unobserved variables is statistically described for parameter learning and estimation of traffic conditions such as traffic volume and travel time.
[0142] Step 4: Use the fused trajectory data and the EM (Expectation-Maximization) algorithm to solve the Bayesian network, complete the unknown parameter estimation, and realize data information completion.
[0143] For the specific limitations of each step, please refer to the limitations of the perception data completion method based on the shockwave traffic flow model mentioned above, which will not be repeated here.
[0144] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for completing perception data based on shockwave traffic flow model, characterized in that: The method comprises the following steps: Step 1, filter vehicle trajectories from raw traffic perception data; Step 2, using the shockwave traffic flow model to establish a reasoning analysis model, analytically express the vehicle trajectory, and obtain the analytical expression relationship between the parameters; Step 3: Establish a two-stage Bayesian network model to statistically describe the relationship between observed variables and unobserved variables through the Bayesian reasoning framework for estimating traffic status; Step 4: Based on the fused trajectory data of radar trajectory data and video trajectory data, solve the Bayesian network model, complete the unknown parameter estimation, and realize data information completion; The relationship between the three parameters of flow, density and speed in the shockwave traffic flow model described in step 2 is modeled using a triangular basic graph model; Through the shockwave traffic flow model, we can get th signal period, n i The change of traffic state after the vehicle enters the intersection and road section (q a,i ,k a,i ) and congestion state (0,k j ), and congestion state (0,k j ) and the maximum traffic volume state (q max ,k c ) are respectively ω a,i and ω: Among them, q a,i For the i th The flow rate of signal cycles, k a,i For the i th The density of signal cycles, k j is the density of the congestion state, k c is the critical density under the maximum traffic volume state, q max is the maximum traffic volume, v f is the free flow speed; Calculate the critical time t at which the vehicle in the i-th cycle will encounter delay c,i , expressed as: Among them, R i is the duration of the red light in the i-th cycle; If the jth vehicle V sampled in the i-th cycle i j The time of entering the intersection is t i j , vehicle V i j The delay can be expressed as Vehicle V i j The travel time T i j Delay at intersection D i j Free flow travel time l·p f The sum of: Where l represents the distance between the upstream and downstream positions of the intersection, and p f is the free flow velocity v f The reciprocal of .
2. The method for completing perception data based on the shockwave traffic flow model according to claim 1, characterized in that: In step 1, the original traffic perception data uses radar trajectory data, and the vehicle trajectory is filtered as follows: The traffic flow trajectory identified by video data is taken as the true value, and the radar trajectory data screening rules are formulated accordingly: the number of trajectory points is greater than the set threshold, the speed direction of the trajectory points is consistent, the speed of the last trajectory point is greater than "zero", and the X and Y positions of the trajectory points at the stop line are within the lane line.
3. The method for completing perception data based on the shockwave traffic flow model according to claim 2, characterized in that: The set threshold is 4.
4. The method for completing perception data based on the shockwave traffic flow model according to claim 1, characterized in that: In step 3, a two-stage Bayesian network model is established, which specifically includes: (1) Phase I: Assume that the free flow speed of vehicles running at the intersection can be calibrated through the perceived speed data. Considering the driving process of the vehicle on the road section, the trajectory sampling before the vehicle enters the intersection is used, and the free flow speed distribution of the road section is fitted using the Gaussian mixture model, which is expressed as p f The joint probability distribution of Where μ1, μ2, σ1, σ2 are the means and standard deviations of the two Gaussian distributions, and π1 is the weight parameter of the mixture of the two Gaussian distributions; Assume that the probability distribution of the mixed Gaussian distribution is in are the mean and variance of the mixed Gaussian distribution respectively; (2) Second stage: n i Expressed as the number of vehicles at the intersection, assuming that the number of vehicles entering the intersection or road section in each signal cycle follows a Poisson distribution, the number of vehicles at the intersection n i The probability density is expressed as Q(n i ; λ): Among them, λ is the Poisson distribution parameter, which represents the average arrival rate of vehicles; The travel time of vehicles can be expressed using the same probability distribution as the free-flow speed; For vehicles that encounter delays, consider the analytical expression of vehicle delay in formula (4), vehicle V i j Travel time T at the intersection i j Expressed as: For vehicles without delays, the travel time is: Among them, q a,i By calculating the following formula, C i is the length of the i-th signal cycle: From this we can further obtain the travel time T i j The probability density function of For vehicles experiencing delays, this is represented by: or for vehicles that are not delayed, Assume T i is the intersection travel time set of the sampled vehicles in the i-th cycle. Therefore, for the i-th signal cycle, n i and The joint probability density is: Among them, m i is the total number of sampled vehicles in the i-th cycle; Finally, the joint probability distribution of all vehicles in all signal periods is obtained as: Where T is the set of intersection travel times of all periodically sampled vehicles.
5. The method for completing perception data based on the shockwave traffic flow model according to claim 4, characterized in that: In step 4, based on the fused trajectory data of radar trajectory data and video trajectory data, the Bayesian network model is solved. Specifically, the Expectation-Maximization algorithm, namely the EM algorithm, is used for solving. The process includes: Step 4-1, initialize parameters π, μ1, σ1 2 ,μ2,σ2 2 ; Step 4-2, in step E, according to the parameters π, μ1, σ1 2 ,μ2,σ2 2 The free stream velocity distribution of the first stage is obtained, and then for the second stage, n i It is estimated to be: Among them, Q i (n i ) is in The posterior distribution under the condition of ; By Bayes' rule, Q i (n i =n i '|T i ;λ,μ pf ,σ pf ) is expressed as: In the M step, the radar and video trajectory data and the output n of the E step are used. i Calculate and optimize the update parameters λ,π,μ1,σ1 by maximizing the likelihood function of the entire Bayesian inference 2 ,μ2,σ2 2 : Step 4-3, repeat steps E and M until the Bayesian network converges, obtain the estimation of vehicle arrival rate and vehicle passing rate within a single signal cycle, and complete the data information completion.
6. A perception data completion system based on a shockwave traffic flow model based on the method of any one of claims 1 to 5, characterized in that: The system includes executing in sequence: The first module is used to filter vehicle trajectories from raw traffic perception data; The second module is used to establish a reasoning analysis model using the shockwave traffic flow model, analytically express vehicle trajectories, and obtain the analytical expression relationship between parameters; The third module is used to establish a two-stage Bayesian network model, which uses the Bayesian inference framework to statistically describe the relationship between observed variables and unobserved variables for estimating traffic status; The fourth module is used to solve the Bayesian network model based on the fused trajectory data of radar trajectory data and video trajectory data, complete the estimation of unknown parameters, and realize data information completion.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
