Controllable trajectory generation and interactive twin simulation method for real-time traffic decision
By combining multi-source data processing and interactive twin models, real-time mapping and optimization of virtual and physical scenes are achieved, solving the problems of high latency in synchronous updates and insufficient model accuracy in existing technologies. This improves the accuracy and adaptability of traffic simulation models, forms a closed-loop calibration mechanism, and meets the needs of real-time traffic decision-making.
Patent Information
- Application Number
- CN202611305861.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, the synchronization update latency between virtual scenes and physical traffic scenes is relatively high, making it difficult to achieve accurate virtual-real mapping at the minute or even second level. The twin model and trajectory generation algorithm lack deep coupling, making it impossible to achieve real-time feedback. This leads to a disconnect between trajectory generation and twin simulation, resulting in insufficient accuracy and carrying capacity of the simulation model, which cannot support online simulation of millions of vehicles. Furthermore, the lack of a closed-loop calibration mechanism leads to a decrease in model accuracy and trajectory adaptability.
By employing multi-source traffic data acquisition and standardized preprocessing, a multi-dimensional trajectory controllable constraint matrix is constructed. An interactive digital twin model is built by combining GIS and BIM technologies. Spatiotemporal convolutional networks and deep reinforcement learning algorithms are integrated to achieve real-time mapping and synchronous updates between virtual and physical scenes. Trajectory optimization is performed through human-computer collaborative interaction, forming a closed-loop calibration mechanism, and physical execution data is collected in real time to adjust model parameters.
It achieves precise alignment between virtual and physical scenes, improves the accuracy of twin models to 95%, supports online simulation of millions of vehicles, accurately reproduces traffic conditions at intersection and regional levels, enhances the controllability and adaptability of trajectory generation, and forms a complete closed-loop calibration mechanism to ensure the long-term stability of the model.
Smart Images

Figure CN123179882A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent transportation technology, specifically to a method for controllable trajectory generation and interactive twin simulation for real-time traffic decision-making. Background Technology
[0002] With the acceleration of urbanization and the continuous growth of motor vehicle ownership, problems such as traffic congestion, low traffic efficiency, and frequent traffic accidents are becoming increasingly prominent. Real-time, accurate, and safe traffic decision-making has become a core requirement in the field of intelligent transportation. The rapid development of technologies such as digital twins, artificial intelligence, and multi-source data fusion has provided new technical paths for traffic trajectory planning and dynamic scheduling, promoting the transformation of intelligent transportation systems from "passive monitoring" to "active decision-making." In the field of traffic digital twin applications, existing technologies mostly focus on road network visualization or static simulation.
[0003] However, in existing technologies, the synchronization update latency between virtual and physical traffic scenes is relatively high, making it difficult to achieve accurate virtual-real mapping at the minute or even second level. Furthermore, twin models are mostly independent modules, lacking deep coupling with trajectory generation algorithms. They can only perform simple playback verification of generated trajectories, failing to provide real-time feedback for trajectory optimization. This results in a disconnect between "trajectory generation" and "twin simulation," failing to form an effective virtual verification closed loop. Simultaneously, existing twin simulation models lack sufficient accuracy and capacity to support micro-simulation of millions of vehicles simultaneously online, and cannot accurately reproduce traffic operation status and trajectory conflict risks at intersection and regional levels. Moreover, existing technologies generally lack a complete closed-loop calibration mechanism. After the trajectory is sent to the physical traffic control system, the actual execution data is not effectively collected and fed back, making it impossible to adjust the constraint weights of the trajectory generation algorithm and the simulation parameters of the twin model based on trajectory execution deviations in the physical scene. This leads to a decline in model accuracy and trajectory adaptability after long-term use.
[0004] Therefore, there is a need to provide controllable trajectory generation and interactive twin simulation methods for real-time traffic decision-making. Summary of the Invention
[0005] The purpose of this invention is to provide a controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making. This addresses the high latency in the synchronization between virtual and physical traffic scenarios, making it difficult to achieve accurate virtual-real mapping at the minute or even second level, as mentioned in the background. Furthermore, twin models are often independent modules lacking deep coupling with the trajectory generation algorithm, only allowing for simple playback verification of generated trajectories and failing to provide real-time feedback for trajectory optimization. This results in a disconnect between "trajectory generation" and "twin simulation," failing to form an effective virtual verification closed loop. Simultaneously, existing twin simulation models suffer from insufficient accuracy and capacity, making it difficult to support microscopic simulations of millions of vehicles simultaneously online. They cannot accurately reproduce traffic operation status and trajectory conflict risks at intersection and regional levels. Moreover, existing technologies generally lack a complete closed-loop calibration mechanism. After the trajectory is distributed to the physical traffic control system, the actual execution data is not effectively collected and fed back, making it impossible to adjust the constraint weights of the trajectory generation algorithm and the simulation parameters of the twin model based on trajectory execution deviations in the physical scenario. This leads to a decline in model accuracy and trajectory adaptability after long-term use.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for controllable trajectory generation and interactive twin simulation for real-time traffic decision-making, comprising the following steps:
[0007] S1. Multi-source traffic data acquisition and standardized preprocessing: Construct a multi-source real-time traffic data acquisition and preprocessing module, deploying multiple types of data acquisition terminals to collect road network topology data, traffic flow parameters, vehicle dynamic status, and environmental perception data. Traffic flow parameters include vehicle density, driving speed, and vehicle spacing, while environmental perception data includes meteorological data, road construction information, and traffic signal timing data. A spatiotemporal alignment algorithm is used to synchronize the time axis and match the spatial coordinates of the multi-source heterogeneous data. Anomalies are removed using the 3σ criterion, and missing values are filled using an interpolation algorithm. Combined with spatiotemporal data indexing technology, real-time association of multi-source data is achieved, a standardized data mart is constructed, and standardized data that meets the input requirements of subsequent modules is output.
[0008] S2. Controllable Trajectory Constraint Modeling and Initial Trajectory Generation: Based on the standardized data output from Step 1, constraint quantification and model construction for controllable trajectory generation are carried out. Layered quantification and assignment of constraints on traffic efficiency, safe distance, driving energy consumption, and traffic decision preferences are performed to construct a multi-dimensional controllable trajectory constraint matrix. Based on the constraint matrix, a multi-objective optimization objective function is generated, and an improved deep reinforcement learning algorithm is introduced. This algorithm integrates spatiotemporal convolutional networks and deep reinforcement learning. ST-CNN is used to predict the road network congestion propagation path and traffic flow change trend, optimize the decision strategy of the DRL agent, complete the initial controllable trajectory generation for multiple traffic participants, and output the spatiotemporal coordinate sequence and driving parameters of the initial trajectory.
[0009] S3. Interactive Digital Twin Model Construction and Virtual-Real Mapping: Construct an interactive digital twin model of the traffic scene, build a 3D virtual mirror of the road network based on GIS and BIM fusion technology, and restore the road network topology, intersection layout and distribution of traffic facilities; integrate a traffic flow simulation engine, set up a synchronous update mechanism between the virtual scene and the physical traffic scene, realize the real-time mapping of the traffic status of the physical scene, vehicle operation data and the initial controllable trajectory generated in step 2 to the virtual scene, complete the accurate alignment between the virtual scene and the physical scene, and support the subsequent simulation process;
[0010] S4. Twin Simulation and Trajectory Deviation Conflict Detection: Initiate the interactive twin simulation process, import the initial controllable trajectory generated in step 2 into the digital twin model, and simulate the entire process of the initial controllable trajectory in the virtual traffic scenario; capture the spatiotemporal deviation data during the trajectory execution process in real time, analyze whether the trajectory intersections, speed differences and safety distances between vehicles meet the constraints, identify potential traffic conflict risks, generate a simulation operation report simultaneously, and present the simulation results in a visual form through the human-machine collaborative interaction interface;
[0011] S5. Human-Machine Collaborative Iteration and Optimized Trajectory Reconstruction: Based on the human-machine collaborative interaction interface, the system receives parameter adjustment and trajectory correction instructions from the decision-making entity, transforms the decision instructions into trajectory constraint update parameters and twin simulation configuration parameters; reconstructs the trajectory controllable constraint matrix and multi-objective optimization objective function based on the updated parameters, regenerates the optimized controllable trajectory adapted to the adjustment requirements, synchronously updates the trajectory data and simulation parameters in the digital twin model, restarts the twin simulation, and repeats the above interaction-update-simulation process to complete multiple rounds of trajectory iterative optimization;
[0012] S6. Optimal Trajectory Implementation and Full-Process Model Calibration: The optimal controllable trajectory after multiple rounds of iterative optimization and the results of the digital twin simulation are pushed to the physical traffic control system to support actual traffic scheduling and vehicle driving guidance; a data feedback terminal is deployed simultaneously to collect the actual execution data of the optimal controllable trajectory in the physical traffic scenario in real time, calculate the spatiotemporal deviation between the physical execution trajectory and the virtual simulation trajectory, and adjust the constraint weights of the trajectory generation algorithm and the simulation parameters of the digital twin model based on the deviation value to form a complete technical closed loop to support subsequent traffic decision-making and trajectory generation work.
[0013] Preferably, in step S1, the multi-source real-time traffic data includes traffic checkpoint data, vehicle GPS trajectory data, road condition monitoring data, meteorological data, and traffic signal timing data, with a data acquisition frequency reaching the second level. During preprocessing, the 3σ criterion is used to remove invalid data with abnormal speeds or spacing. The interpolation algorithm uses a combination of linear interpolation and nearest neighbor interpolation to complete missing values. The spatiotemporal alignment algorithm uses a combination of timestamp synchronization and spatial coordinate projection matching to ensure the timeliness and completeness of the input data. This solves the problem of poor input data quality and spatiotemporal asynchrony in existing technologies, which leads to insufficient accuracy of subsequent models and provides a reliable data foundation for trajectory generation and twin modeling.
[0014] Preferably, in step S2, the hierarchical quantization assignment adopts the analytic hierarchy process (AHP) to assign weight coefficients to traffic efficiency, safe distance, driving energy consumption, and traffic decision preference constraints. The weight coefficients can be dynamically adjusted according to the real-time traffic scenario. In the improved deep reinforcement learning algorithm, ST-CNN is used to extract the spatiotemporal features of the road network and predict the congestion propagation path. The DRL agent uses trajectory fit and constraint satisfaction as reward functions to optimize the decision strategy, realize the dynamic generation and global fit of the initial controllable trajectory of multiple traffic participants, and predict traffic flow changes through ST-CNN to make trajectory generation forward-looking, avoid the defects of traditional algorithms that passively respond to traffic conditions, and improve the global fit and dynamic optimization capability of the trajectory of multiple traffic participants.
[0015] Preferably, in step S3, the interactive digital twin model of the traffic scene includes a road network modeling layer, a traffic flow simulation layer, and a virtual-real mapping layer. The road network modeling layer restores the road network topology, intersection channelization, and traffic facility details based on the integration of GIS and BIM technologies. The traffic flow simulation layer uses microscopic traffic simulation algorithms to support vehicle driving simulation. The virtual-real mapping layer achieves minute-level synchronous updates of the physical and virtual scenes through a data interface. The model accuracy is not less than 95%, which can support the simultaneous online simulation of millions of vehicles, accurately reproduce the traffic operation status at the intersection and regional levels, provide a high-fidelity, large-scale simulation carrier for trajectory simulation, and support the full-process virtual verification of the trajectories of traffic participants.
[0016] Preferably, in step S4, the trajectory execution deviation is calculated by the difference in spatiotemporal coordinates between the virtual trajectory and the initial planned trajectory, and the deviation threshold can be manually set through the interactive interface; potential conflict risks are determined by analyzing vehicle trajectory intersections, instantaneous speed differences, and safety distance thresholds, and the safety distance threshold is dynamically adjusted according to vehicle type and driving speed. The simulation operation report includes trajectory deviation details, conflict risk level, and traffic flow operation parameters, and is synchronously output to the human-machine collaborative interaction interface through visual charts. The visual report intuitively presents the simulation results, providing a clear basis for trajectory optimization for the decision-making body.
[0017] Preferably, in step S5, the human-machine collaborative interaction interface supports multi-dimensional parameter adjustment, including trajectory smoothness threshold, traffic efficiency and safety weight allocation, conflict avoidance priority setting and iteration number limit. The decision-making subject can view the simulation process replay through the interface, manually correct the coordinates of key trajectory nodes, and the interface response time is no more than 1 second. It can convert decision instructions into parameters in real time and update the simulation scene and trajectory generation model synchronously, realizing the deep integration of human decision-making experience and automatic algorithm optimization. It can flexibly respond to sudden traffic events, improve the flexibility and pertinence of trajectory optimization, and meet the needs of complex traffic decision-making.
[0018] Preferably, in step S5, the termination conditions for multi-round iterative optimization include: trajectory execution deviation is less than a preset threshold, there is no potential traffic conflict, and traffic operation efficiency reaches the decision target threshold. The iteration can be automatically terminated when any one of the conditions is met. Alternatively, the iteration can be manually terminated according to the decision-making body's instruction, and the current optimal controllable trajectory can be output. The preset range of the number of iterations is 3-10 times, which can be adjusted through the interactive interface to balance optimization efficiency and trajectory quality. The termination method can be flexibly switched according to actual decision-making needs to ensure that the iteration results accurately match the traffic decision-making objectives.
[0019] Preferably, in step S6, the reverse calibration process includes: collecting actual execution data of the optimal controllable trajectory in the physical traffic scenario, calculating the spatiotemporal deviation between the physical execution trajectory and the virtual simulation trajectory, adjusting the constraint weights of the trajectory generation algorithm based on the deviation value using a gradient descent algorithm, and simultaneously correcting the simulation parameters of the digital twin model, including the vehicle driving resistance coefficient and the traffic flow simulation step size, to improve the accuracy and spatiotemporal mapping consistency of subsequent trajectory generation, dynamically optimizing the parameters of the trajectory generation algorithm and the twin model, continuously improving the accuracy and spatiotemporal mapping consistency of subsequent trajectory generation, and ensuring the long-term stable operation of the solution.
[0020] Preferably, in step S2, the trajectory controllable constraint matrix can be dynamically adjusted according to the traffic scenario type. Differentiated constraint weights are set for urban congested road sections, highway networks, and intersection areas. Specifically, traffic efficiency constraint weights are prioritized for urban congested road sections, safe distance constraint weights are prioritized for highway networks, and conflict avoidance constraint weights are prioritized for intersection areas, to meet the traffic decision-making needs of different scenarios.
[0021] Preferably, in step S6, before the optimal trajectory is implemented, a safety verification is required. The optimized controllable trajectory is verified using Signal Timing Logic (STL). Traffic rules and safety criteria are converted into STL specifications, and a safety quantification value is calculated using a robust function. Only when the safety quantification value meets the preset safety threshold can the optimal controllable trajectory be pushed to the physical traffic control system to ensure that the trajectory meets the requirements for safe operation.
[0022] Compared with the prior art, the beneficial effects of the present invention are:
[0023] By adopting GIS and BIM integrated modeling technology, coupled with a minute-level virtual-real synchronous update mechanism, it can realize real-time mapping of physical traffic status, vehicle data and trajectories, and accurately align virtual scenes with physical scenes; at the same time, the twin model has an accuracy of no less than 95%, which can support the online micro-simulation of millions of vehicles at the same time, and can accurately reproduce the traffic operation status at the intersection level and the region level, solving the defects of traditional twin models that are more visual but less accurate.
[0024] By integrating various constraints such as traffic efficiency, safe distance, driving energy consumption, and decision preferences through a multi-dimensional trajectory controllable constraint matrix, hierarchical quantitative assignment is performed using the analytic hierarchy process. At the same time, the constraint weights can be dynamically adjusted according to different scenarios such as urban congested road sections, highway networks, and intersection areas, so as to achieve on-demand adaptation of trajectory generation and significantly improve the controllability of the trajectory and its adaptability to complex scenarios.
[0025] An improved reinforcement learning algorithm that integrates ST-CNN and DRL is adopted. ST-CNN extracts the spatiotemporal features of the road network, predicts the congestion propagation path and traffic flow change trend, and optimizes the decision-making strategy of the DRL agent. This makes the trajectory generation forward-looking, dynamically adapts to the evolution of traffic flow, avoids the trajectory from being out of touch with the real-time traffic status, and improves the overall optimization effect. Attached Figure Description
[0026] Figure 1 This is the overall flowchart of the present invention;
[0027] Figure 2 This is a flowchart illustrating the basic data processing and initial trajectory generation process of this invention.
[0028] Figure 3 This is a flowchart of the twin simulation deduction and human-machine collaborative iterative optimization stages of the present invention;
[0029] Figure 4 This is a flowchart of the optimal trajectory safety verification process of the present invention. Detailed Implementation
[0030] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0031] Please see Figure 1-4 This invention provides a controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making. To make the objectives, technical solutions, and beneficial effects of this invention clearer, the following detailed description is provided in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described in this specification are merely for explaining the invention and are not intended to limit the invention.
[0032] This application embodiment is implemented using a traffic scheduling scenario during morning and evening rush hours in the core area of a first-tier city. The area experiences an average daily commuter flow of approximately 80,000 vehicles, with an average traffic density of 280 pcu / km on main roads during the morning rush hour. This frequently results in problems such as overflowing queues at intersections and vehicle weaving conflicts. Furthermore, the traffic situation is dynamically changing due to environmental factors such as pedestrian crossings in commercial areas, temporary construction encroachments, rainfall, and smog. Traditional fixed-trajectory planning and static simulation scheduling modes are insufficient to meet the demands for real-time and accurate traffic decision-making. This embodiment, based on this scenario, fully implements the six-step method of this invention to achieve controllable trajectory generation and interactive twin simulation scheduling for multiple traffic participants. This embodiment serves as the implementation background.
[0033] S1. Multi-source traffic data acquisition and standardized preprocessing: Multiple types of data acquisition terminals are deployed in this core area, including traffic checkpoints, vehicle GPS trajectory acquisition devices, road condition monitoring equipment, weather monitoring stations, traffic signals, and temporary monitoring terminals for construction-occupied roads. The data acquisition frequency is set to the second level to ensure real-time performance. Data processing then proceeds, using the 3σ criterion to remove outlier data, focusing on invalid data with abnormal speed and spacing, resulting in the removal of approximately 3.2% of outliers. Data missing due to temporary equipment malfunctions is supplemented using a combination of linear interpolation and nearest neighbor interpolation. A spatiotemporal alignment algorithm combining timestamp synchronization and spatial coordinate projection matching is used to correlate multi-source heterogeneous data. Finally, a standardized spatiotemporal dataset is constructed, containing standardized data such as road network topology, traffic flow parameters, vehicle dynamic status, and environmental perception data, which is then output to subsequent modules.
[0034] S2. Controllable trajectory constraint modeling and initial trajectory generation: The analytic hierarchy process (AHP) is used to quantify and assign values to multiple constraints in a hierarchical manner. The target weight vector is set as [traffic efficiency 0.4, safe distance 0.3, driving energy consumption 0.15, traffic decision preference 0.15]. The safe distance constraint is dynamically set according to vehicle type, and the driving energy consumption constraint is adjusted in conjunction with meteorological data. Then, the initial trajectory is generated. Based on the standardized data output from S1, the improved ST-CNN-DRL algorithm model is input: ST-CNN extracts the spatiotemporal features of the road network and predicts the congestion propagation path and traffic flow change trend. The DRL agent uses trajectory fit and constraint satisfaction as reward functions to optimize the decision-making strategy and generate initial controllable trajectories for 3,000 key dispatch vehicles in the area. The spatiotemporal coordinate sequence of the trajectory and driving parameters are output.
[0035] S3. Interactive digital twin model construction and virtual-real mapping, road network modeling layer: Based on GIS and BIM integration technology, it restores the three-dimensional road network virtual mirror of the core area, including details such as road center lines, lane markings, intersection channelization, and traffic facilities, with a modeling accuracy of 0.5m level;
[0036] Traffic flow simulation layer: integrates a micro traffic simulation engine, uses car-following and lane-changing models to support vehicle driving simulation, and sets the simulation step size to 0.1 seconds;
[0037] Virtual-Real Mapping Layer: Enables minute-level synchronous updates between physical and virtual scenes via HTTP / 2 data interface;
[0038] Precise alignment between virtual and physical: The standardized road network data of S1, real-time traffic status data, and the initial controllable trajectory generated by S2 are synchronously mapped to the virtual twin scene. Through GPS positioning calibration and radar data feedback, it is ensured that the positional deviation between the virtual road network and the physical road network is ≤1m, and the spatiotemporal deviation between the virtual vehicle position and the physical vehicle position is ≤2 seconds. The model accuracy has been tested to reach 96.2%, which can support the online simulation of 50,000 vehicles in the area at the same time, accurately reproducing the situation of vehicle queuing, weaving and conflict at intersections.
[0039] S4. Twin Simulation and Trajectory Deviation Conflict Detection: The initial controllable trajectories of 3,000 key vehicles generated in S2 are imported into the digital twin model. An interactive twin simulation is initiated to simulate the entire trajectory execution process during the morning rush hour. By calculating the difference in spatiotemporal coordinates between the virtual trajectory and the initial planned trajectory, it is found that some vehicles have a higher traffic density in the virtual scene than initially predicted, resulting in the actual virtual driving trajectory lagging behind the planned trajectory, which has a spatiotemporal deviation. The analysis of vehicle trajectory intersections, instantaneous speed differences, and safety distances reveals that there are vehicle trajectory intersections at some intersections, which are identified as conflict risks. A simulation operation report is generated, which includes details of trajectory deviation, conflict risk level, and traffic flow operation parameters. The report is presented to the traffic dispatcher in the form of visual charts through a human-machine collaborative interaction interface.
[0040] S5. Human-machine collaborative iteration and optimized trajectory reconstruction, human-machine interaction command input: Traffic dispatchers view the simulation playback through the human-machine collaborative interaction interface and issue adjustment commands for detected problems.
[0041] Adjusting the weights of multiple constraints: The priority of conflict avoidance at intersections with conflict risks is increased, and the weight allocation between traffic efficiency and safe distance is adjusted;
[0042] Manually correct key trajectory nodes: For vehicles with a risk of conflict, manually adjust their time window for passing through intersections and correct the coordinates of key trajectory nodes;
[0043] Set iteration limit: preset the number of iterations, the interface response time meets the requirements in actual testing, and the simulation scene parameters are updated in real time.
[0044] Trajectory Reconstruction and Multiple Iterations:
[0045] First iteration: Reconstruct the controllable trajectory constraint matrix according to the scheduling instructions, regenerate the optimized controllable trajectory, and synchronously update the trajectory data in the twin model; restart the simulation, the risk of conflict is reduced, but the trajectory deviation of some vehicles is still higher than the preset threshold;
[0046] Second iteration: The dispatcher further adjusted the trajectory smoothness threshold, regenerated the trajectory and simulated again. All vehicle trajectory deviations met the requirements, there were no potential conflicts, and the traffic operation efficiency reached the decision target threshold.
[0047] If the automatic termination condition is met, stop the iteration and output the optimal controllable trajectory after the second round of iteration;
[0048] S6. Optimal Trajectory Implementation and Full-Process Model Calibration: The optimal controllable trajectory, optimized through multiple iterations, and the results of twin simulation verification are pushed to the physical traffic system via the traffic management platform.
[0049] For buses: Precise driving trajectory and speed guidance instructions are issued through the onboard terminal;
[0050] For private vehicles: Optimize routes via navigation apps;
[0051] For traffic signal controllers at intersections: synchronously send signal timing schemes adapted to the traffic trajectory;
[0052] Physical data acquisition and reverse calibration:
[0053] Deploy data feedback terminals to collect real-time execution data of the optimal controllable trajectory in the physical scene, continuously monitor for a preset duration, and collect the actual driving trajectory of key vehicles and traffic flow parameters of road sections.
[0054] Calculate the deviation between the physical and virtual trajectories: Based on the collected physical execution data, calculate the spatiotemporal deviation between the physical execution trajectory and the virtual simulation trajectory;
[0055] Model calibration: Based on the deviation value, the gradient descent algorithm is used to adjust the constraint weights of the trajectory generation algorithm in S2, and at the same time, the simulation parameters of the twin model are corrected.
[0056] After calibration, the adaptation accuracy between the twin model and the physical scene is significantly improved, providing more reliable model support for subsequent traffic decisions and trajectory generation, forming a complete technical closed loop;
[0057] Through the complete implementation of this embodiment, the traffic operation indicators of the core area during the morning rush hour have been significantly optimized: the number of vehicle conflicts at intersections has decreased significantly, the average speed on main roads has increased significantly, the queue length at intersections has been effectively shortened, and the on-time rate of key vehicles has been significantly improved; moreover, through the closed-loop calibration mechanism, the trajectory generation accuracy has remained stable at a high level for a period of time, effectively solving the real-time decision-making problem in the dynamic traffic scenario of this area.
[0058] 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 controllable trajectory generation and interactive twin simulation for real-time traffic decision-making, characterized by: Includes the following steps: S1. Multi-source traffic data acquisition and standardized preprocessing: Construct a multi-source real-time traffic data acquisition and preprocessing module, use a spatiotemporal alignment algorithm to complete the time axis synchronization and spatial coordinate matching of multi-source heterogeneous data, remove abnormal data through the 3σ criterion, complete missing value completion based on interpolation algorithm, combine spatiotemporal data indexing technology to realize real-time association of multi-source data, construct a standardized data mart, and output standardized data. S2. Controllable trajectory constraint modeling and initial trajectory generation: Based on the standardized data output in step 1, constraint quantification and model construction are carried out for controllable trajectory generation, and a multi-dimensional controllable trajectory constraint matrix is constructed; based on the constraint matrix, a multi-objective optimization objective function is generated, an improved deep reinforcement learning algorithm is introduced, and the spatiotemporal coordinate sequence and driving parameters of the initial trajectory are output. S3. Interactive Digital Twin Model Construction and Virtual-Real Mapping: Construct an interactive digital twin model of a traffic scene, build a 3D road network virtual mirror based on GIS and BIM fusion technology, and complete the precise alignment of the virtual scene and the physical scene to support the subsequent simulation process. S4. Twin Simulation and Trajectory Deviation Conflict Detection: Start the interactive twin simulation process, import the initial controllable trajectory generated in step 2 into the digital twin model, simulate the entire process of the initial controllable trajectory in the virtual traffic scenario, and present the simulation results in a visual form through the human-computer collaborative interaction interface. S5. Human-machine collaborative iteration and optimized trajectory reconstruction: Based on the human-machine collaborative interaction interface, the system receives parameter adjustment and trajectory correction instructions from the decision-making subject, transforms the decision instructions into trajectory constraint update parameters and twin simulation configuration parameters, reconstructs the trajectory controllable constraint matrix and multi-objective optimization objective function based on the updated parameters, and regenerates the optimized controllable trajectory that adapts to the adjustment requirements. S6. Optimal Trajectory Implementation and Full-Process Model Calibration: The optimal controllable trajectory after multiple rounds of iterative optimization and the results of the digital twin simulation are pushed to the physical traffic control system. Data feedback terminals are deployed simultaneously to calculate the spatiotemporal deviation between the physical execution trajectory and the virtual simulation trajectory. Based on the deviation, the constraint weights of the trajectory generation algorithm and the simulation parameters of the digital twin model are adjusted.
2. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 1, characterized in that: In step S1, the multi-source real-time traffic data includes traffic checkpoint data, vehicle GPS trajectory data, road condition monitoring data, meteorological data, and traffic signal timing data.
3. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 1, characterized in that: In step S2, the hierarchical quantification assignment uses the analytic hierarchy process to assign weight coefficients to traffic efficiency, safe distance, driving energy consumption and traffic decision preference constraints. The weight coefficients are dynamically adjusted according to the real-time traffic scenario. In the improved deep reinforcement learning algorithm, ST-CNN is used to extract the spatiotemporal features of the road network and predict the congestion propagation path.
4. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 1, characterized in that: In step S3, the interactive digital twin model of the traffic scenario includes a road network modeling layer, a traffic flow simulation layer, and a virtual-real mapping layer. The road network modeling layer uses GIS and BIM fusion technology to restore the road network topology, intersection channelization, and traffic facility details; The traffic flow simulation layer uses microscopic traffic simulation algorithms to support vehicle driving simulation, while the virtual-real mapping layer achieves minute-level synchronous updates between the physical and virtual scenes through a data interface.
5. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 1, characterized in that: In step S4, the trajectory execution deviation is calculated by the difference in spatiotemporal coordinates between the virtual trajectory and the initial planned trajectory. The deviation threshold can be manually set through the interactive interface. Potential conflict risks are determined by analyzing vehicle trajectory intersections, instantaneous speed differences, and safe distance thresholds. The safe distance threshold is dynamically adjusted according to vehicle type and driving speed. The simulation operation report includes trajectory deviation details, conflict risk level, and traffic flow operation parameters, which are synchronously output to the human-machine collaborative interaction interface through visual charts.
6. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 5, characterized in that: In step S5, the human-machine collaborative interaction interface supports multi-dimensional parameter adjustment, including trajectory smoothness threshold, traffic efficiency and safety weight allocation, conflict avoidance priority setting, and iteration number limit.
7. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 6, characterized in that: In step S5, the termination conditions for multi-round iterative optimization include: trajectory execution deviation is less than a preset threshold, there is no potential traffic conflict, and traffic operation efficiency reaches the decision target threshold. The iteration will automatically terminate when any one of these conditions is met.
8. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 1, characterized in that: In step S6, the reverse calibration process includes: collecting actual execution data of the optimal controllable trajectory in the physical traffic scenario, calculating the spatiotemporal deviation between the physical execution trajectory and the virtual simulation trajectory, and adjusting the constraint weights of the trajectory generation algorithm based on the deviation value using the gradient descent algorithm.
9. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 3, characterized in that: In step S2, the trajectory controllable constraint matrix can be dynamically adjusted according to the traffic scenario type. Differentiated constraint weights are set for urban congested road sections, highway networks, and intersection areas. Specifically, traffic efficiency constraint weights are prioritized for urban congested road sections, safe distance constraint weights are prioritized for highway networks, and conflict avoidance constraint weights are prioritized for intersection areas, to meet the traffic decision-making needs of different scenarios.
10. The controllable trajectory generation and interactive twin simulation method for real-time traffic decision-making according to claim 8, characterized in that: In step S6, before the optimal trajectory is implemented, a safety verification is required. Signal timing logic (STL) is used to perform a safety verification on the optimized controllable trajectory, and traffic rules and safety criteria are converted into STL specifications.
