A method and system for predicting vehicle speed at a merging area based on space-time propagation
By dividing the spatial region within the merging zone, identifying the highly correlated influence areas of key motion parameters, and determining the propagation time, the problems of spatial influence differences and temporal mismatch in vehicle state prediction in the merging zone are solved, and more accurate vehicle merging speed prediction is achieved.
Patent Information
- Application Number
- CN202611673563.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
Within the merging zone, existing vehicle state prediction methods fail to effectively characterize the spatial and temporal differences in the effects of different vehicle motion parameters, leading to inaccurate predictions of the target vehicle's merging speed.
The merging zone is divided into multiple spatial regions, and highly correlated areas of key motion parameters are identified. A reasonable propagation time range is determined based on regional distance, traffic flow direction, and speed. Historical vehicle motion parameters are extracted and predicted using an edge computing module.
It improves the accuracy and reliability of predicting the merging speed of target vehicles in the merging zone, reduces time mismatch, and reflects the spatiotemporal differences in the interaction status of vehicles in the merging zone.
Smart Images

Figure CN123182431A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent transportation technology, specifically relating to a method and system for predicting vehicle speed in merging zones based on spatiotemporal propagation. Background Technology
[0002] In merging zones of highways and urban expressways, vehicles merging from ramps typically need to continuously adjust their speed, spacing, and lane changes based on the mainline traffic conditions. The speed at which a vehicle completes its merging and lane change reflects the traffic interaction during the merging process. Predicting the merging speed of target vehicles can provide a reference for merging conflict early warning, traffic operation control, and vehicle collaborative decision-making. With the development of roadside video sensing and vehicle trajectory extraction technologies, information such as the position, speed, acceleration, and relative motion of vehicles in the merging zone can be continuously acquired, providing data conditions for predicting merging speeds based on vehicle motion states.
[0003] The interactions between vehicles within a merging zone exhibit significant spatial differences and temporal delays. During merging, a target vehicle is not only affected by neighboring vehicles, but the operational states of vehicles at different locations on the ramp, merging lane, and mainline can also influence its subsequent merging state through processes such as following, yielding, lane changing, and traffic flow disturbances. Furthermore, the degree and duration of influence of different types of vehicle motion parameters vary at different spatial locations. Existing vehicle state prediction methods typically construct prediction inputs based on the current or historical motion states of the target vehicle and its surrounding vehicles. Some methods also improve the predictive model's ability to describe changes in traffic conditions by introducing spatial relationships or time-series information to characterize the interactions between vehicles.
[0004] However, in merging zones, which exhibit significant spatial heterogeneity and traffic state propagation characteristics, uniformly inputting vehicle motion parameters from different spatial locations into the prediction model, or processing different motion state information according to a uniform historical timescale, can easily overlook the main spatial sources of influence for different types of motion parameters and the temporal differences in the effects of these spatial sources. This can lead to a temporal mismatch between historical traffic information and the true merging state of the target vehicle. Furthermore, relying solely on statistical relationships of data sequences to determine historical information, without constraints from actual traffic conditions such as road location, traffic flow direction, and vehicle speed, may result in inconsistencies between the determined temporal relationships and the actual traffic state propagation process. Therefore, there is still room for improvement in how to more reasonably characterize the spatial influence differences and temporal differences of different vehicle motion parameters to improve the accuracy and reliability of target vehicle merging speed prediction in merging zones. Summary of the Invention
[0005] In view of the above-mentioned problems in the prior art, the purpose of this invention is to provide a method for predicting vehicle speed in merging zones based on spatiotemporal propagation.
[0006] A method for predicting vehicle speed in merging zones based on spatiotemporal propagation includes the following steps: Historical vehicle trajectory data of the merging area is obtained, vehicle motion parameters are calculated based on the historical vehicle trajectory data, and the merging area is divided into multiple spatial regions to form vehicle motion parameter observation data corresponding to each spatial region; vehicles that complete the lane change from the ramp to the main line in the historical vehicle trajectory are taken as sample target vehicles, and the longitudinal speed of the sample target vehicles when they complete the lane change is taken as the merging speed label. Key motion parameters are determined based on the degree of influence of each vehicle's motion parameters on the merged speed label; For each key motion parameter, determine its correlation strength with the incoming velocity label in each spatial region, and determine the corresponding high correlation influence region based on the correlation strength; For each high-correlation influence area corresponding to each key motion parameter, a reasonable propagation time range is determined based on the spatial distance from the high-correlation influence area to the position where the sample target vehicle completes the lane change, the direction of traffic flow, and the average speed of traffic flow. Based on the lag correlation strength corresponding to different lag times within the reasonable propagation time range, the propagation delay of the key motion parameter within the high-correlation influence area is determined. For the target vehicle to be predicted, based on the propagation delay of each key motion parameter in its respective highly correlated influence area, the observation values of the key motion parameters are extracted from the corresponding historical time of the corresponding highly correlated influence area, and the merging speed of the target vehicle to be predicted is predicted based on the extracted observation values.
[0007] The second objective of this invention is to propose a vehicle speed prediction system for merging zones based on spatiotemporal propagation, comprising a video acquisition module, an edge computing module, and a network control module; The video acquisition module is used to acquire video images of vehicles passing through the merging zone section, and the network control module is used to realize data transmission between the video acquisition module and the edge computing module. The edge computing module includes a data processing unit, a spatial partitioning unit, a key motion parameter filtering unit, a highly correlated influence area identification unit, a propagation delay extraction unit, and a vehicle speed prediction unit. The data processing unit is used to acquire vehicle trajectory data and calculate vehicle motion parameters based on the video image, and to determine the sample target vehicle that has completed the lane change from the ramp to the main line from the historical vehicle trajectory data, and to use the longitudinal speed of the sample target vehicle when it completes the lane change as the merging speed label. The spatial division unit is used to divide the merging area into multiple spatial regions and form vehicle motion parameter observation data corresponding to each spatial region; The key motion parameter screening unit is used to determine key motion parameters based on the degree of influence of each vehicle motion parameter on the imported speed label. The high correlation influence region identification unit is used to determine the corresponding high correlation influence region for each key motion parameter based on its correlation strength with the incoming velocity label in each spatial region. The propagation delay extraction unit is used to determine a reasonable propagation time range for each highly correlated influence area corresponding to each key motion parameter, based on the spatial distance from the highly correlated influence area to the position where the sample target vehicle completes the lane change, the direction of traffic flow, and the average speed of traffic flow, and to determine the corresponding propagation delay based on the lag correlation strength corresponding to different lag times within the reasonable propagation time range. The vehicle speed prediction unit is used to predict the merging speed of a target vehicle that has not yet completed the lane change from the ramp to the main line. Based on the propagation delay of each key motion parameter in the corresponding highly correlated influence area, the unit extracts the observation values of key motion parameters from the corresponding historical time and predicts the merging speed of the target vehicle based on the extracted observation values.
[0008] The beneficial effects of this invention are: This application divides the merging zone into multiple spatial regions and determines the degree of influence of different vehicle motion parameters on the merging speed of the target vehicle, as well as the corresponding highly correlated influence areas. This allows different vehicle motion parameters to retain their main spatial sources of influence, avoiding treating the vehicle states at different locations within the entire merging zone as having the same importance. This reduces the interference of spatial information with weak correlation to the merging state of the target vehicle on the prediction results, and more specifically characterizes the spatial influence differences of different vehicle motion states during the merging process.
[0009] Furthermore, this application determines a reasonable propagation time range for each highly correlated influence area corresponding to each key motion parameter, based on the spatial distance from that area to the target vehicle's merging and lane-changing position, the traffic flow direction, and the average speed of the traffic flow. Within this reasonable propagation time range, a corresponding propagation delay is determined. This combines the constraints of traffic operating conditions on the influence propagation process with the historical correlation characteristics of vehicle motion parameters. The determination of the propagation delay not only reflects the temporal correlation between data but also corresponds to the actual spatial location relationship of the merging area and the traffic flow status, thereby reducing time mismatches caused by using a uniform delay or unconstrained historical moments.
[0010] Based on this, this application extracts vehicle motion parameter observations from corresponding historical moments and constructs prediction inputs according to the propagation delays of different key motion parameters within their respective highly correlated influence areas. This allows vehicle motion states from different spatial regions and with different durations of influence to participate in the prediction of target vehicle merging speed according to their corresponding propagation relationships, achieving differentiated temporal alignment of different spatial influence information. Compared with directly using current time data or constructing prediction inputs using a uniform historical time scale, this approach can more fully reflect the spatiotemporal differences in vehicle interaction states in the merging area and improve the ability of the target vehicle merging speed prediction results to represent the actual traffic operation process. Attached Figure Description
[0011] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart of the method of the present invention; Figure 2 This is a schematic diagram of the spatial division of the merging zone road section according to the present invention; Figure 3 This is a system structure block diagram of the present invention; Figure 4 This is a schematic diagram of the system deployment of the present invention. Detailed Implementation
[0012] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. It should be understood that the described embodiments are merely some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0013] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0014] Furthermore, in this application, directional terms are defined relative to the orientation of the components schematically placed in the accompanying drawings. It should be understood that these directional terms are relative concepts, used for relative description and clarification, and can change accordingly depending on the orientation of the components in the accompanying drawings.
[0015] Example 1 This embodiment provides a method for predicting vehicle speed in merging areas based on spatiotemporal propagation. This embodiment uses the Huangpu Avenue merging section of the Second Ring Road in Wuhan as a specific application scenario to illustrate the detailed implementation process of the method.
[0016] This method acquires vehicle trajectory data in the merging zone, analyzes the influence of different vehicle motion parameters on the merging speed of target vehicles based on spatial region division, and further identifies the main spatial sources of influence and corresponding propagation delays for different key motion parameters. Then, based on the determined spatial influence relationships and propagation delays, it extracts vehicle motion parameter observations from different historical moments to construct the predictive input for the target vehicle merging speed. This ensures that the different motion parameters used in the prediction correspond to their respective spatial regions and historical moments where they actually play a major role, avoiding the direct input of vehicle motion states from different spatial sources and with different propagation times into the prediction model at a uniform time.
[0017] like Figure 1 As shown, the specific steps of this merging zone vehicle speed prediction method based on spatiotemporal propagation are as follows: S1. Acquire and process vehicle trajectory data in the merging zone, and establish historical samples of vehicle motion parameters organized by spatial region.
[0018] First, video images of vehicles passing through the merging zone section described in this embodiment are acquired, and the vehicles in the video images are identified and tracked continuously frame by frame to obtain the position of the same vehicle in consecutive video frames. The direction of travel along the road is defined as the longitudinal s direction, and the direction perpendicular to the road is defined as the transverse l direction. The pixel coordinates of the vehicles in the video images are converted into actual road coordinates, thereby obtaining the trajectory data of each vehicle over time.
[0019] Specifically, calibration reference points are selected on the road surface in the merging zone that can be located simultaneously in both video images and the actual road. These reference points can be lane line endpoints, road marking corners, or other fixed and easily identifiable road feature points. At least four sets of corresponding calibration points are set up for the same road segment. A coordinate conversion relationship is established based on the correspondence between image coordinates and actual road coordinates. This conversion relationship is then used to convert the pixel coordinates of the vehicle in each video frame into actual road coordinates, so that the subsequently calculated parameters such as vehicle position, distance, speed, and acceleration have practical road physical meaning.
[0020] The vehicle trajectory data obtained after coordinate transformation undergoes data cleaning. Data cleaning includes removing abnormal trajectory data and completing missing trajectory data. For the same vehicle, the displacement between adjacent video frames is calculated. When the displacement change corresponding to a certain trajectory data point exceeds the 95% confidence interval of the vehicle's own displacement distribution, the trajectory data point is designated as an abnormal point to be verified. Further verification is performed in conjunction with vehicle kinematic constraints such as longitudinal acceleration, lateral velocity, and maximum steering angular velocity to avoid abnormal trajectory data from participating in subsequent parameter calculations due to factors such as target recognition errors, tracking jumps, or occlusion. For trajectory data with no more than 5 consecutive missing frames, cubic spline interpolation is used for completion. For cases with more than 5 consecutive missing frames, continuous interpolation may lead to significant trajectory estimation errors, therefore, continuous tracking of the corresponding vehicle within that trajectory segment is terminated.
[0021] Vehicle motion parameters are calculated based on the cleaned vehicle trajectory data. In this embodiment, the vehicle motion parameters include the vehicle's instantaneous velocity v0 and longitudinal velocity v0. s Lateral velocity v l Relative distance d r Relative velocity v r Relative longitudinal velocity v s,r Relative lateral velocity v l,r Longitudinal acceleration a s lateral acceleration a l Relative longitudinal acceleration a s,r and relative lateral acceleration a l,r .
[0022] The relative quantities are determined based on the motion state between the current vehicle and the nearest vehicle ahead in the same lane along the vehicle's direction of travel. For example, relative distance characterizes the distance relationship between the current vehicle and the vehicle ahead in its lane, while relative speed and relative acceleration characterize the speed and acceleration differences between the two vehicles in their respective directions. When there are no vehicles ahead in the same lane, to ensure consistent data dimensions for all historical samples, this embodiment uses the relative distance d... r Assign a value of 200m and set the relative velocity v r Relative longitudinal velocity v s,r Relative lateral velocity v l,r Relative longitudinal acceleration a s,r and relative lateral acceleration a l,r The value is assigned to 0.
[0023] After obtaining the vehicle trajectory and vehicle motion parameters, the merging area is spatially divided. For example... Figure 2As shown, this embodiment comprehensively considers the spatial location of different road sections in the merging area and the functional differences of different road sections during the vehicle merging process, and divides the merging area longitudinally into the upstream adjustment area A, the merging influence area B, and the downstream dissipation area C.
[0024] The upstream adjustment zone A is the area where vehicles adjust their speed, select lanes, and prepare for merging before entering the main merging intersection. In this embodiment, the section extending 100m upstream from the upstream boundary of the merging impact zone is defined as the upstream adjustment zone A. The merging impact zone B is the area where vehicles on the ramps merge, vehicles on the mainline yield or adjust their speed, and where there is significant interaction between vehicles. This includes the triangular area where the ramps and mainlines intersect, as well as the adjacent road sections. The downstream dissipation zone C is the area where traffic disturbances caused by merging gradually dissipate and traffic flow gradually returns to stability after vehicles have completed their merging. In this embodiment, the section extending 200m downstream from the downstream boundary of the merging impact zone is defined as the downstream dissipation zone C.
[0025] Simultaneously, the road is divided laterally into ramps (a), merging lanes (b), and mainline through lanes (c) according to lane function. These longitudinal functional areas, combined with the lateral lane functions, form multiple spatial regions describing the spatial origins of different traffic states. Therefore, subsequent vehicle motion parameters are no longer treated as uniform traffic parameters for the entire merging zone, but rather their corresponding spatial region information is retained. This allows for further analysis of the differences in the impact of the same vehicle motion parameters on the merging behavior of target vehicles in different spatial regions.
[0026] Based on the actual road coordinates of the vehicle at each time point, the vehicle is matched to the corresponding spatial region. For each spatial region, at the same time, other vehicles within that region besides the target vehicle are counted, and the arithmetic mean of the same vehicle motion parameters is calculated. This average value is used as the regional summary value of the vehicle motion parameters for that spatial region at that time. Through the above processing, the vehicle status within a region, which varies in number over time, can be converted into regional vehicle motion parameters with a unified dimension. When there are no other vehicles besides the target vehicle in a certain spatial region, this embodiment sets the summary value of the vehicle motion parameters for that spatial region to 0 to maintain the consistency of the historical sample dimension.
[0027] Furthermore, the target vehicles for establishing historical samples are determined from historical vehicle trajectory data. For vehicles that enter the main line from the ramp and eventually complete the lane change in the historical trajectory, they are used as target vehicles, and the instantaneous longitudinal velocity of the target vehicle at the moment of completing the lane change from the ramp to the main line is determined as the corresponding merging speed label.
[0028] For the same target vehicle, multiple prediction times are selected before it completes its lane change merging. The observed vehicle motion parameters in the spatial region corresponding to each prediction time are extracted and correlated with the merging speed label of the target vehicle to form historical samples. These historical samples from multiple target vehicles constitute the historical dataset used for subsequent key motion parameter screening, identification of highly correlated influence areas, determination of propagation delay, and training of the prediction model. In the actual prediction stage, vehicles that have not yet completed their lane change merging and require merging speed prediction are designated as target vehicles to be predicted. Merging speed prediction is then performed using the key motion parameters, highly correlated influence areas, and propagation delay determined based on the historical dataset.
[0029] Therefore, the output of step S1 includes not only vehicle trajectory data and vehicle motion parameters, but also historical samples of vehicle motion parameters with clear spatial region attributes and corresponding target vehicle merging speed labels, providing a data foundation for subsequent analysis of the spatial influence sources and propagation delays of different motion parameters.
[0030] S2. Screen the key motion parameters that have a major impact on the merging speed of the target vehicles in the sample.
[0031] Based on the historical samples established in step S1, the influence relationship between different vehicle motion parameters and the merging speed label of the target vehicle is analyzed to screen out key motion parameters that have a significant impact on the merging speed label of the target vehicle from all candidate vehicle motion parameters. This step can reduce the number of parameters that need to be processed in subsequent spatial influence analysis and propagation delay analysis, while retaining motion state information that is strongly related to the merging speed label of the target vehicle.
[0032] Specifically, the aggregated vehicle motion parameters corresponding to different spatial regions in each historical sample are used as input features, and the merging speed labels of the target vehicles in the corresponding samples are used as outputs to establish an XGBoost model. After the model is trained, the SHAP method is used to calculate the SHAP value corresponding to each input feature to characterize the contribution of different input features to the merging speed prediction results.
[0033] Since the same vehicle motion parameter forms different input features in different spatial regions, in order to obtain the overall influence of the vehicle motion parameter itself, this embodiment sums the absolute values of the SHAP of the corresponding input features in each spatial region for the same vehicle motion parameter, thereby obtaining the comprehensive influence of the vehicle motion parameter on the merging speed label of the sample target vehicle. Subsequently, the vehicle motion parameters are sorted from largest to smallest according to their comprehensive influence, and the top 6 vehicle motion parameters are selected as key motion parameters to form a set of key motion parameters.
[0034] In this embodiment, the six key motion parameters obtained through the above screening are, in order, relative longitudinal velocity, relative distance, lateral velocity, longitudinal velocity, relative velocity, and relative longitudinal acceleration.
[0035] S3. Identify the corresponding highly correlated influence regions for different key motion parameters.
[0036] After determining the key motion parameters in step S2, the correlation between the same key motion parameter and the merging speed of the target vehicle in different spatial regions is further analyzed. The purpose is to avoid treating the influence of all spatial regions within the entire merging zone on the same motion parameter equally, and instead to identify the spatial sources with a high degree of correlation to the merging speed of the target vehicle for different key motion parameters.
[0037] Specifically, for any key motion parameter determined in step S2, the observation sequence of that key motion parameter as it changes with historical samples is extracted in each spatial region, and the correlation strength between the corresponding observation sequence in each spatial region and the merging speed label sequence of the target vehicle in the sample is calculated. The correlation strengths of each spatial region are ranked, and the two spatial regions with the highest correlation strengths are determined as the high-correlation influence regions corresponding to that key motion parameter.
[0038] This embodiment uses mutual information to characterize the aforementioned correlation strength and employs a nonparametric estimation method based on K-nearest neighbors to estimate the mutual information, where the number of nearest neighbors k is 5. For the observation sequence corresponding to a key motion parameter in the i-th spatial region... Merge the speed label sequence with the target vehicle in the sample Their mutual information can be represented as:
[0039] In the formula, This represents the joint probability density of the key motion parameters and the merging speed label of the target vehicle in the i-th spatial region. and These represent the corresponding edge probability densities. The greater the mutual information, the higher the correlation between the key motion parameter and the merging speed of the target vehicle within that spatial region.
[0040] For the same key motion parameter, calculate its mutual information across all spatial regions and sort them from largest to smallest mutual information to determine the main spatial sources of influence for that key motion parameter. Perform the above operation on all key motion parameters obtained in step S2 to establish the correspondence between "key motion parameter - highly correlated influence region".
[0041] The historical trajectory data of the merging scenario used in this embodiment shows that the main sources of spatial influence corresponding to different key motion parameters are not entirely the same.
[0042] in: The high-correlation impact areas corresponding to relative longitudinal speeds are the merging impact zone - ramps and the upstream adjustment zone - merging lanes; The high-correlation impact areas corresponding to the relative distance are the merging impact zone - ramp and the merging impact zone - merging lane; The high-correlation impact areas corresponding to lateral speeds are the merging impact zone - ramps and the merging impact zone - merging lanes; The high-correlation impact areas corresponding to longitudinal speeds are the merging impact zone - ramps and the merging impact zone - merging lanes; The high-correlation impact areas corresponding to relative speed are the merging impact area - ramp and the upstream adjustment area - merging lane; The high-correlation impact areas corresponding to the relative longitudinal acceleration are the merging impact area - ramps and the upstream adjustment area - merging lanes.
[0043] S4. Determine the propagation delay for each combination of key motion parameters and highly correlated influence regions.
[0044] Based on the correspondence between "key motion parameters and highly correlated influence areas" established in step S3, the propagation delay corresponding to the influence of different key motion parameters on the merging speed label of the target vehicle in different spatial areas is further determined.
[0045] Step S4 is performed based on the historical dataset. For the same key motion parameter and its corresponding highly correlated influence area, the corresponding propagation path is determined according to the position of the sample target vehicle completing the lane change in the historical samples and the spatial position of the highly correlated influence area. The spatial distance range from the highly correlated influence area to the position of the sample target vehicle completing the lane change is determined based on the spatial distance corresponding to each historical sample.
[0046] Because different highly correlated influence areas have varying spatial distances from the final merging positions of the target vehicles, and vehicle speeds also differ across these areas, the time required for motion states from different spatial sources to effectively influence the merging behavior of target vehicles varies. To avoid obtaining lag results lacking practical traffic significance by directly searching for statistical correlations within arbitrary lag time ranges, this embodiment first determines a reasonable propagation time range based on road spatial location and traffic flow status, and then determines a specific propagation delay within that reasonable propagation time range.
[0047] Specifically, for the j-th highly correlated influence area corresponding to the i-th key motion parameter, the propagation path from this highly correlated influence area to the position where the target vehicle completes its lane change is determined based on the traffic flow direction and road connectivity between areas. Along the determined propagation path, the minimum spatial distance between the boundary of this highly correlated influence area and the position where the target vehicle completes its lane change is determined. and maximum spatial distance Based on historical vehicle trajectory data, the average vehicle speed range along the propagation path is determined, and the maximum average vehicle speed is obtained. and minimum average speed .
[0048] Based on the relationship between spatial distance and vehicle speed, determine the corresponding reasonable propagation time range: , and will The reasonable propagation time range for this key motion parameter within the highly correlated influence area was determined. This indicates a shorter propagation time that may occur under conditions of short distance and high traffic flow speed. This indicates a potentially longer propagation time when the distance is long and the traffic flow speed is low.
[0049] Within the defined reasonable propagation time range, different lag times are traversed with a time step of 0.1s. For any candidate lag duration... The observation sequence of the i-th key motion parameter in the j-th highly correlated influence region is shifted towards the historical direction by the corresponding time, and the historical time is calculated. The hysteresis mutual information between the observed motion parameters and the merging speed label of the target vehicle at time t. This hysteresis mutual information can be expressed as:
[0050] In the formula, This indicates that the i-th key motion parameter is in the j-th highly correlated influence region at a historical time. The corresponding observed values, This indicates the inflow speed label of the target vehicle corresponding to the relevant historical sample. Indicates the candidate lag time.
[0051] Within a reasonable propagation time range, the lag mutual information corresponding to different candidate lag durations is compared, and the lag duration corresponding to the lag mutual information reaching its maximum value is determined as the propagation delay of the i-th key motion parameter in the j-th highly correlated influence region. .
[0052] Therefore, each key motion parameter does not have a single uniform propagation delay, but rather has a corresponding propagation delay based on its different highly correlated influence areas, thus forming a correspondence of "key motion parameter - highly correlated influence area - propagation delay".
[0053] In the historical data of the merging scenario in this embodiment, there are significant differences in the peak lag times corresponding to different key motion parameters and their different spatial sources. For example, the peak lag times of relative longitudinal velocity in the merging influence zone-ramp and the upstream adjustment zone-merging lane are approximately 0.6s and 1.3s, respectively; the peak lag times of relative distance in the merging influence zone-ramp and the merging influence zone-merging lane are approximately 0.9s and 0.3s, respectively.
[0054] The above results further indicate that even for the same type of vehicle motion parameters, the propagation time corresponding to their effect on the merging behavior of target vehicles from different spatial regions can be different. Therefore, it is necessary to determine the propagation delay for different combinations of "key motion parameters-highly correlated influence areas".
[0055] S5. Predict the merging speed of the target vehicle based on the predetermined key motion parameters, highly correlated influence area, and propagation delay.
[0056] Through steps S2 to S4, a set of key motion parameters, the highly correlated influence areas corresponding to each key motion parameter, and the corresponding propagation delays are pre-obtained based on historical datasets. In the actual prediction phase, vehicles that have not yet completed merging from the ramp to the main line are identified as target vehicles to be predicted. Based on the aforementioned key motion parameters, highly correlated influence areas, and propagation delays, vehicle motion parameter observations are extracted from the corresponding historical moments to construct the prediction input corresponding to the current prediction moment of the target vehicle.
[0057] Specifically, taking the current prediction time t as a reference, the propagation delay of the i-th key motion parameter in the j-th highly correlated influence region is... Determine the corresponding historical moment: And extract the j-th highly correlated influence region at historical time. The corresponding observed value of the i-th key motion parameter: The aforementioned historical observation extraction operation is performed on each key motion parameter and its corresponding highly correlated influence region. In this way, the data extracted from different key motion parameters, as well as the data extracted from the same key motion parameter in different spatial regions, can come from different historical moments, thus allowing each input data to correspond to the temporal relationship of its influence propagating to the target vehicle's merging position.
[0058] Subsequently, according to the pre-set parameter order and spatial region order, the aforementioned historical observations are sequentially concatenated to form the feature vector corresponding to the current prediction time. In this embodiment, a total of 6 key motion parameters are selected, each key motion parameter corresponds to 2 highly correlated influence regions, so each key motion parameter corresponds to a 2D sub-vector, and the 6 2D sub-vectors are sequentially concatenated to form a 12-dimensional feature vector.
[0059] For example, the feature vector corresponding to the current prediction time can be represented as:
[0060] While the different components collectively constitute the prediction input for the current prediction time t, the actual observation times of the original vehicle motion parameters corresponding to each component can be different. In this way, the input data can be corrected for historical time based on the spatial source and propagation time of different motion parameters, reducing time mismatches caused by directly using all vehicle motion parameters at the same moment.
[0061] This embodiment uses a gated recurrent unit (GRU) as the merging speed prediction model. During the model training phase, historical feature vectors constructed in the manner described above, along with the corresponding target vehicle merging speed labels, form training samples to train the GRU prediction model. The GRU prediction model in this embodiment includes two layers of GRUs, each with 64 hidden units. Mean squared error is used as the loss function, and the Adam optimizer is employed for parameter optimization. The initial learning rate is set to 0.001.
[0062] After the model training is completed, for the target vehicle to be predicted, the vehicle motion parameters of each spatial region are obtained and calculated according to step S1 at the current prediction time. Based on the predetermined key motion parameters, highly correlated influence areas and propagation delay, the corresponding observation values are extracted from each corresponding historical time to construct a 12-dimensional prediction feature vector. The prediction feature vector is input into the trained GRU prediction model to obtain the predicted merging speed of the target vehicle when it merges from the ramp to the main line.
[0063] Through the above steps, this embodiment first selects key motion parameters that have a major impact on the merging speed of the target vehicle from all vehicle motion parameters. Then, it determines the main spatial sources of influence for each key motion parameter, and further determines the corresponding propagation delay for the combination of each key motion parameter and a highly correlated influence region. Finally, it extracts vehicle motion state data from different historical moments as prediction input according to their respective propagation delays. This establishes a hierarchical correspondence between vehicle motion parameters, spatial sources of influence, propagation delays, and merging speed prediction, ensuring that the spatial and temporal propagation differences of different vehicle motion parameters are reflected in the prediction input construction process.
[0064] Example 2 This embodiment provides a system for executing the spatiotemporal propagation-based vehicle speed prediction method for merging areas as described in Embodiment 1. See also... Figure 4 The system includes a video acquisition module, an edge computing module, and a network control module.
[0065] The video acquisition module is deployed on a roadside cantilevered column in the merging zone to collect continuous video images of vehicles within the merging zone. The video acquisition module is used to collect video images of vehicles passing through the merging zone and send the collected video images to the edge computing module.
[0066] The edge computing module is deployed on a roadside cantilevered pillar in the merging zone and interacts with the video acquisition module via a network control module to perform vehicle data processing and merging speed prediction near the video acquisition end. The edge computing module receives the video images and, based on these images, performs vehicle trajectory data processing, calculates vehicle motion parameters, divides spatial regions and summarizes regional vehicle motion parameters, filters key motion parameters, identifies highly correlated influence areas, determines propagation delay, and predicts the merging speed of the target vehicle, outputting the predicted merging speed value of the target vehicle.
[0067] The network control module establishes a communication connection between the video acquisition module and the edge computing module to transmit video images and related processed data. The network control module can use either wired or wireless communication, and the specific communication method can be configured according to the site deployment conditions.
[0068] In other embodiments, the specific deployment location and communication method of the video acquisition module, edge computing module, and network control module can be adjusted according to the road conditions, as long as video image acquisition, data transmission, and the vehicle speed prediction method described in Embodiment 1 can be achieved.
[0069] Furthermore, such as Figure 3 As shown, the edge computing module includes a data processing unit, a spatial partitioning unit, a key motion parameter filtering unit, a highly correlated influence area identification unit, a propagation delay extraction unit, and a vehicle speed prediction unit.
[0070] The data processing unit is used to process the video images acquired by the video acquisition module, extract vehicle trajectory data, and calculate vehicle motion parameters.
[0071] The spatial division unit is used to divide the merging area into regions according to the spatial location and lane function of the merging area, and match the vehicle trajectory to the corresponding spatial region to form vehicle motion parameter data organized by spatial region.
[0072] The key motion parameter screening unit is used to determine the key motion parameters that have a major impact on the merging speed of the target vehicle based on the vehicle motion parameters corresponding to each spatial region.
[0073] The high-correlation influence area identification unit is used to determine the corresponding high-correlation influence areas for different key motion parameters, thereby establishing the correspondence between key motion parameters and major spatial influence sources.
[0074] The propagation delay extraction unit is used to determine the propagation delay of each key motion parameter in the corresponding high-correlation influence area based on the correspondence between the key motion parameters and the high-correlation influence area, thereby establishing the correspondence between key motion parameters, high-correlation influence areas and propagation delay.
[0075] The vehicle speed prediction unit is used to extract corresponding historical observation values based on the correspondence between the key motion parameters, highly correlated influence areas and propagation delays, construct prediction inputs, and output the predicted merging speed of the target vehicle to be predicted.
[0076] The aforementioned units sequentially transmit processing results according to the vehicle data processing flow. Specifically, the data processing unit and spatial partitioning unit generate vehicle motion parameter data with spatial region attributes; the key motion parameter filtering unit and the high-correlation influence region identification unit determine the main spatial sources of influence for different key motion parameters; the propagation delay extraction unit further determines the propagation delay corresponding to different combinations of "key motion parameters - high-correlation influence regions"; and the vehicle speed prediction unit uses this information to predict the merging speed. The specific data processing procedures for each unit can be implemented using the methods described in the corresponding steps of Example 1, and will not be repeated here.
[0077] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for predicting vehicle speed in merging zones based on spatiotemporal propagation, characterized in that, Includes the following steps: Historical vehicle trajectory data of the merging area is obtained, vehicle motion parameters are calculated based on the historical vehicle trajectory data, and the merging area is divided into multiple spatial regions to form vehicle motion parameter observation data corresponding to each spatial region; vehicles that complete the lane change from the ramp to the main line in the historical vehicle trajectory are taken as sample target vehicles, and the longitudinal speed of the sample target vehicles when they complete the lane change is taken as the merging speed label. Key motion parameters are determined based on the degree of influence of each vehicle's motion parameters on the merged speed label; For each key motion parameter, determine its correlation strength with the incoming velocity label in each spatial region, and determine the corresponding high correlation influence region based on the correlation strength; For each high-correlation influence area corresponding to each key motion parameter, a reasonable propagation time range is determined based on the spatial distance from the high-correlation influence area to the position where the sample target vehicle completes the lane change, the direction of traffic flow, and the average speed of traffic flow. Based on the lag correlation strength corresponding to different lag times within the reasonable propagation time range, the propagation delay of the key motion parameter within the high-correlation influence area is determined. For the target vehicle to be predicted, based on the propagation delay of each key motion parameter in its respective highly correlated influence area, the observation values of the key motion parameters are extracted from the corresponding historical time of the corresponding highly correlated influence area, and the merging speed of the target vehicle to be predicted is predicted based on the extracted observation values.
2. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 1, characterized in that, The merging area is divided into an upstream adjustment zone, a merging impact zone, and a downstream dissipation zone along the direction of traffic flow. The upstream adjustment zone is the section where vehicles adjust their speed and choose lanes before entering the merging impact zone. The merging impact zone is the section where vehicles merge, interact, and yield. The downstream dissipation zone is the section where traffic flow gradually recovers after vehicles have merged. The road is divided into ramps, merging lanes, and mainline straight lanes according to their functions along the transverse direction of traffic. These multiple spatial areas are formed by combining the areas divided along the driving direction of traffic with the lanes divided along the transverse direction of traffic.
3. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 1, characterized in that, The vehicle motion parameters include at least two of the following: instantaneous vehicle speed, longitudinal speed, lateral speed, relative distance, relative speed, relative longitudinal speed, relative lateral speed, longitudinal acceleration, lateral acceleration, relative longitudinal acceleration, and relative lateral acceleration. Based on historical vehicle trajectory data, each vehicle is matched to its corresponding spatial region. For vehicles other than the target vehicle located in the same spatial region at the same time, the arithmetic mean of the same type of vehicle motion parameters is taken as the observed value of the vehicle motion parameters corresponding to that spatial region.
4. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 1, characterized in that, An XGBoost model was established using the vehicle motion parameters corresponding to each spatial region as input and the merging speed label of the sample target vehicle as output. The SHAP method was used to determine the degree of influence of each input feature on the merging speed label of the sample target vehicle. For the same vehicle motion parameter, the absolute values of the SHAP of the input features corresponding to the vehicle motion parameter in different spatial regions are summed to obtain the comprehensive influence of the vehicle motion parameter on the merging speed, and the key motion parameter is determined based on the comprehensive influence.
5. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 1, characterized in that, For each key motion parameter, the historical observation sequence of that key motion parameter in each spatial region is obtained, and the mutual information between each historical observation sequence and the sample target vehicle merging speed label sequence is calculated. The highly correlated influence region corresponding to the key motion parameter is determined based on the mutual information magnitude of each spatial region. The highly correlated influence region is determined independently for each key motion parameter.
6. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 1, characterized in that, For each highly correlated influence area corresponding to each key motion parameter, the propagation path from the highly correlated influence area to the position where the sample target vehicle completes the lane change is determined based on the traffic flow direction between areas and the connection relationship between areas. Determine the minimum and maximum spatial distances from the highly correlated influence area to the position where the sample target vehicle completes the lane change along the propagation path, and determine the maximum and minimum values of the average speed of the traffic flow along the propagation path; The reasonable propagation time range is determined based on the minimum spatial distance, the maximum spatial distance, and the maximum and minimum values of the average speed of the traffic flow.
7. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 6, characterized in that, Within the reasonable propagation time range, multiple candidate lag times are traversed according to a preset time step, and the lag mutual information between the historical observation sequence of the key motion parameter and the merging speed label sequence of the sample target vehicle in the highly correlated influence area is calculated respectively. The candidate lag time corresponding to when the lag mutual information reaches its maximum value is determined as the propagation delay of the key motion parameter in the highly correlated influence region. When the same key motion parameter corresponds to multiple highly correlated influence regions, the corresponding propagation delay is determined for each of the different highly correlated influence regions.
8. The method for predicting vehicle speed in merging zones based on spatiotemporal propagation according to claim 1, characterized in that, For the current prediction time t of the target vehicle to be predicted, the propagation delay of the i-th key motion parameter in the j-th highly correlated influence region. ,Will The corresponding historical moment is determined, and the observed value of the i-th key motion parameter of the j-th highly correlated influence region at the corresponding historical moment is extracted; According to the preset order of key motion parameters and the order of highly correlated influence areas, the observation values extracted from each key motion parameter at their respective historical moments are combined to form the prediction feature vector corresponding to the target vehicle to be predicted at the current prediction moment. The prediction feature vector is then input into the merging speed prediction model trained with historical samples, and the merging speed prediction value of the target vehicle to be predicted is output.
9. A vehicle speed prediction system for merging zones based on spatiotemporal propagation, characterized in that, It includes a video acquisition module, an edge computing module, and a network control module; The video acquisition module is used to acquire video images of vehicles passing through the merging zone, and the network control module is used to realize data transmission between the video acquisition module and the edge computing module. The edge computing module includes a data processing unit, a spatial partitioning unit, a key motion parameter filtering unit, a highly correlated influence area identification unit, a propagation delay extraction unit, and a vehicle speed prediction unit. The data processing unit is used to acquire vehicle trajectory data and calculate vehicle motion parameters based on the video image, and to determine the sample target vehicle that has completed the lane change from the ramp to the main line from the historical vehicle trajectory data, and to use the longitudinal speed of the sample target vehicle when it completes the lane change as the merging speed label. The spatial division unit is used to divide the merging area into multiple spatial regions and form vehicle motion parameter observation data corresponding to each spatial region; The key motion parameter screening unit is used to determine key motion parameters based on the degree of influence of each vehicle motion parameter on the imported speed label. The high correlation influence region identification unit is used to determine the corresponding high correlation influence region for each key motion parameter based on its correlation strength with the incoming velocity label in each spatial region. The propagation delay extraction unit is used to determine a reasonable propagation time range for each highly correlated influence area corresponding to each key motion parameter, based on the spatial distance from the highly correlated influence area to the position where the sample target vehicle completes the lane change, the direction of traffic flow, and the average speed of traffic flow, and to determine the corresponding propagation delay based on the lag correlation strength corresponding to different lag times within the reasonable propagation time range. The vehicle speed prediction unit is used to predict the merging speed of a target vehicle that has not yet completed the lane change from the ramp to the main line. Based on the propagation delay of each key motion parameter in the corresponding highly correlated influence area, the unit extracts the observation values of key motion parameters from the corresponding historical time and predicts the merging speed of the target vehicle based on the extracted observation values.
10. The vehicle speed prediction system for merging zones based on spatiotemporal propagation according to claim 9, characterized in that, Both the video acquisition module and the edge computing module are deployed on roadside cantilevered pillars in the merging zone. The vehicle video images acquired by the video acquisition module are transmitted to the edge computing module through the network control module. The edge computing module then processes the vehicle trajectory data, calculates the vehicle motion parameters, and predicts the merging speed of the target vehicle.
