Three-dimensional scene vehicle simulation method and system based on car-following model and road right

By combining the follow-up model with road speed limit and traffic light models in three-dimensional scenarios, a simulated road network is generated, which solves the problem of traffic simulation being difficult to directly interact and predict accuracy in the existing technology, real traffic flow analysis and intuitiveness are achieved congestion status display.

CN115578857BActive Publication Date: 2024-11-08CHENGDU SEFON SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211100415.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2024-11-08
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

The existing physical simulation software cannot directly implement traffic simulation through interface operations, and only program writing methods have been used, which leads to traffic simulation algorithms being unable to interact directly with the three-dimensional interactive interface in actual applications, which has high application difficulty and cannot simulate traffic light time changes and The impact of traffic flow on urban road networks is low in prediction accuracy.

Method used

Using a three-dimensional scene vehicle simulation method based on the follow-up model and road rights, the road network is generated by importing the road network into the three-dimensional scene, combining the road speed limit model and traffic light and intersection analysis model, and a simulated road network is generated, and the following model is used to simulate vehicle movement to achieve Real traffic simulation effect.

Benefits of technology

Real traffic flow analysis is realized, and the traffic flow in the urban road network can be reproduced, and the traffic analysis results are provided, which simplifies user operation processes, reduces the complexity of simulation settings, and is adapted to three-dimensional scene vehicle simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115578857B_ABST
    Figure CN115578857B_ABST
Patent Text Reader

Abstract

The present invention discloses a three-dimensional scene vehicle simulation method and system based on a following model and road rights, the method comprising: importing a road network into a selected three-dimensional scene; combining a road speed limit model with the road network to set a road speed limit, combining a traffic light and intersection analysis model with the road network to set road connections and traffic lights by clicking; generating a simulated road network based on the road speed limit, road connection, traffic lights and vehicle flow according to three-dimensional urban road network rules; simulating the simulated road network through a following model to obtain a vehicle simulation file in a three-dimensional scene. The present invention can efficiently realize three-dimensional scene vehicle simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of road simulation modeling, and in particular to a three-dimensional scene vehicle simulation method and system based on a car-following model and road right. Background Art

[0002] With the development of urban traffic management, higher requirements have been put forward for urban traffic governance and construction. The current basic analysis method is to collect urban traffic data for analysis and analyze urban road network traffic data through scattered sensors and coil points. This method can obtain real-time data for congestion analysis, but it cannot simulate the impact of changes in traffic light time and increased traffic volume on urban road networks. At the same time, the accuracy of direct prediction using historical data is low and unreliable.

[0003] Existing physical simulation software has traffic light or speed limit settings. Due to the complex relationship between speed and road right of way, the relationship between traffic light settings and the number of roads connected to the intersection, etc., the traffic light and road speed limit settings become complex and difficult professional problems. Traffic simulation cannot be achieved directly through interface operations, and there is only a program writing method to achieve it. As a result, the traffic simulation algorithm cannot directly interact with the three-dimensional interactive interface in actual applications, and there is a high degree of application difficulty in three-dimensional simulation applications. Summary of the invention

[0004] In view of this, the present invention provides a three-dimensional scene vehicle simulation method and system based on a car-following model and road right to solve the above technical problems.

[0005] The present invention discloses a three-dimensional scene vehicle simulation method based on a car-following model and road rights, comprising:

[0006] Import the road network into the selected 3D scene;

[0007] Combine the road speed limit model with the road network to set the road speed limit, and combine the traffic light and intersection analysis model with the road network to set the road connection and traffic light by clicking;

[0008] Generate a simulated road network according to the three-dimensional urban road network rules based on the road speed limits, road connections, traffic lights and vehicle flow;

[0009] The simulated road network is simulated by the car-following model to obtain a vehicle simulation file in a three-dimensional scene.

[0010] Furthermore, the step of combining the road speed limit model with the road network to set the road speed limit includes:

[0011] The road speed limit model is combined with the road network, and the intersection is selected by clicking the projected intersection in the three-dimensional scene, and then the traffic lights and time are set.

[0012] Furthermore, the influence formula of the road speed limit model on the vehicle speed in the car-following model is:

[0013] v f =min[v max ,v(t)+aΔt,v limit ,v safe ]

[0014] Among them, v f is the maximum speed of the vehicle behind that can maintain a safe distance between the current vehicle and the vehicle ahead, v max is the maximum speed that the vehicle can reach, v(t) represents the vehicle speed at time t, a represents the acceleration of the vehicle, Δt represents the time interval, and v limit Indicates the road speed limit, v safe Indicates the safe distance and speed that should be maintained from the vehicle ahead.

[0015] Furthermore, the traffic light and intersection analysis model is combined with the road network to set the road connection and traffic light by clicking, including:

[0016] The angle of the access road is analyzed at the intersection, starting from 0 degrees at 12 o'clock north, and the lanes accessing the intersection are numbered in sequence. After numbering, the angles between different lanes are analyzed one by one, and the steering angle of the vehicle is defined. When the red light and green light status are switched, the traffic rules are also switched at the same time, and the right-of-way regulations of right turn, left turn, and left turn and straight ahead stipulated in the traffic law are added; the steering angle includes straight going, left turn, slight left turn, right turn, and slight right turn.

[0017] Furthermore, the method of combining the traffic light and intersection analysis model with the road network to set the road connection and the traffic light by clicking, further includes:

[0018] When a multi-segment lane line accesses an intersection, the traffic rules are directly analyzed through the angle between the lane and the north direction, and the steering angle is automatically calculated based on the angle between other lanes and the lane of the line, so as to adjust the traffic light turning rules of its own lane to the newly added lane, realizing the automatic setting of simulation settings for multi-segment access intersections.

[0019] Furthermore, for each lane, other lanes are classified as opposite straight lanes or left-turn or right-turn lanes, and the traffic light status switches between the three, and the traffic light release signals are unified between different lanes to realize the automatic setting of multi-lane access intersections.

[0020] Furthermore, the three-dimensional urban road network rules include:

[0021] Draw the road network based on two-dimensional map graphics, set the road network layer and transform it into a three-dimensional urban road network.

[0022] Furthermore, the road network drawing of the two-dimensional map graphic includes:

[0023] Polyline drawing is adopted, and the concept of common points is used to realize the connection of the same layer or across layers. Layer 0 represents that the road network is located on the ground; a positive layer number indicates that the road is in the air above the ground; a negative layer number indicates that the road network is underground, below the ground depth.

[0024] Furthermore, in the following car model, the braking distance of the vehicle is calculated using the following formula:

[0025] L(v)=vt-bt 2 / 2

[0026] Where L(v) is the braking distance, v is the vehicle speed, t is the time, and b is the braking acceleration;

[0027] The Euler numerical integration is used to calculate and update the vehicle position in real time in the simulation, and the maximum speed of the rear vehicle that can be allowed to maintain a safe distance from the front vehicle is calculated by combining the braking distance and speed analysis formula.

[0028] The velocity analysis formula is:

[0029] L(v f )+v f τ <L(v l )+g

[0030] Among them, L(v f ) is the braking distance of the rear vehicle, v f is the maximum speed of the vehicle behind that can maintain a safe distance between the current vehicle and the vehicle ahead, v l is the speed of the front vehicle, τ is the driver’s reaction time, L(v l ) is the braking distance of the front vehicle, and g is the distance between vehicles.

[0031] The present invention discloses a three-dimensional scene vehicle simulation system based on a car-following model and road rights, comprising:

[0032] Import module, used to import the road network into the selected 3D scene;

[0033] The setting module is used to combine the road speed limit model with the road network to set the road speed limit, and combine the traffic light and intersection analysis model with the road network to set the road connection and traffic light by clicking;

[0034] A generation module, for generating a simulated road network according to the three-dimensional urban road network rules, based on the road speed limit, road connection, traffic lights and vehicle flow;

[0035] The simulation module simulates the simulated road network through a car-following model to obtain a vehicle simulation file in a three-dimensional scene.

[0036] Due to the adoption of the above technical solution, the present invention has the following advantages: the present invention can reproduce the traffic flow of the urban road network through microscopic traffic simulation technology, and adopts the car-following model in microscopic traffic combined with the traffic light configuration analysis model and road speed limit model proposed by the present invention to achieve a real simulation effect. Users can obtain more realistic traffic flow analysis results through speed limit and traffic light configuration consistent with the real environment, and can understand the congestion status and flow of the urban road network from both macroscopic and microscopic perspectives, and the display effect is intuitive and accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0038] Figure 1 A schematic flow chart of a three-dimensional scene vehicle simulation method based on a car-following model and road rights according to an embodiment of the present invention;

[0039] Figure 2 The present invention is a schematic diagram of connecting multiple sections of multi-directional lanes to an intersection according to an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The present invention is further described in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.

[0041] The present invention innovatively proposes a traffic light analysis model and a road speed limit model for intersections with multiple roads, and enables the simulation to easily and flexibly set the road connection status and traffic light settings of the intersection, and implement road speed limits in the road network, breaking away from the current method of using complex codes for settings, greatly simplifying the user's operation process. In terms of the two important technologies of traffic light configuration and road speed limit, it is realized that the configuration can be performed directly by applying point selection operations in the three-dimensional scene. The operation method is intuitive and convenient, and is truly adapted to three-dimensional scene vehicle simulation. Finally, by analyzing the defects of the existing three-dimensional urban road network, the present invention proposes a hierarchical height algorithm model for the three-dimensional urban road network. The algorithm solves the problem of implementing the three-dimensional urban road network in the three-dimensional scene, and innovatively proposes the concept of road network layers to hierarchical road network heights to multiple levels such as underground, ground, and above ground, thereby solving the problem of road and vehicle penetration. The method is reliable and efficient.

[0042] See also Figure 1 The present invention provides an embodiment of a three-dimensional scene vehicle simulation method based on a car-following model and road right. Specifically, the method comprises the following steps:

[0043] Import the road network into the selected 3D scene;

[0044] Combine the road speed limit model with the road network to set the road speed limit, and combine the traffic light and intersection analysis model with the road network to set the road connection and traffic light by clicking;

[0045] Generate a simulated road network based on the three-dimensional urban road network rules, road speed limits, road connections, traffic lights and vehicle flow;

[0046] The car-following model is used to simulate the road network and obtain the vehicle simulation file in the three-dimensional scene.

[0047] More specifically,

[0048] Following model:

[0049] The car-following model is the core simulation module of the microscopic traffic simulation model and plays an important role in traffic simulation. The car-following model realizes the movement of traffic by simulating the driving state of vehicles traveling in the road network system. The car-following model integrates the characteristics of psychology and dynamic calculation and is closely related to traffic driving experience.

[0050] Based on this car-following model, driving situations are divided into two categories: no vehicle ahead (free flow) and with a vehicle ahead (congested flow). In the free flow situation, there is almost no vehicle ahead of the vehicle, and the maximum speed of the vehicle is determined by the driving level of the driver, the road speed limit and road conditions, and the vehicle's own performance level. In the congested flow state, it is necessary to ensure that a safe distance is maintained with the vehicle ahead at all times in case the vehicle ahead brakes suddenly.

[0051] This embodiment proposes an improved carFollowing-Krauss model, which modifies the speed analysis method of the following vehicle in the case of a leading vehicle. In the original carFollowing-Krauss model, the average speed of the leading vehicle and the following vehicle is The Taylor expansion at is used to calculate the braking distance. This analysis method is easy to calculate a value that deviates from the actual value when one of the rear and front vehicles accelerates too much, which may lead to a collision accident that should not occur in the simulation and affect the correctness of the simulation.

[0052] Therefore, it is imperative to use a dynamic method to replace the solution. In this embodiment, it is proposed to use L(v)=vt-bt 2 / 2 dynamics algorithm is used to calculate the braking distance, and Euler numerical integration is used to calculate and update the vehicle position in real time during the simulation, and the braking distance and speed analysis formula L(v f )+v f τ <L(v l )+g is used to calculate the maximum speed of the rear vehicle based on the front vehicle, providing a more reliable theoretical basis for microscopic traffic simulation. Among them, L(v) is the braking distance, v is the vehicle speed, t is the time, and b is the braking acceleration; L(v f ) is the braking distance of the rear vehicle, v f is the maximum speed of the vehicle behind that can maintain a safe distance between the current vehicle and the vehicle ahead, v l is the speed of the front vehicle, τ is the driver’s reaction time, L(v l ) is the braking distance of the vehicle in front, and g is the distance between vehicles.

[0053] Traffic light and intersection analysis model:

[0054] There are a large number of intersections in the urban system. In actual traffic, it is easy to determine the connection of roads by observing the direction of the road with the naked eye to determine the traffic light status of the intersection where N roads are connected, and thus determine the traffic rules of the intersection controlled by the traffic lights. However, at intersections connected by more than four roads, and when each lane has different traffic rules, when designing simulations, even if a single intersection sets traffic rules lane by lane through connecting lines, it may be necessary to set more than a hundred traffic rules under the red and green light states. This is a considerable workload for micro-traffic simulation. As the city develops, it will be difficult to cope with the current development of traffic simulation needs by manually setting intersection traffic rules.

[0055] Based on the existing model, a new intelligent algorithm is proposed to automatically calculate the right of way priority between lanes by analyzing the connection relationship of the intersection. First, the angle of the access road is analyzed at the intersection, such as Figure 2As shown in the figure, starting from 0 degrees at 12 o'clock in the north direction, the lanes accessing the intersection are numbered in sequence. After numbering, the angles between different lanes are analyzed one by one, and the steering angles of vehicles when driving are defined (straight, left turn, slight left turn, right turn, slight right turn) to achieve the switching of traffic rules when the red light and green light states are switched, and the road rights of right turn to left turn and left turn to straight ahead stipulated in my country's traffic law are added. When a multi-segment lane line accesses an intersection, the traffic rules will be directly analyzed through the angle between the lane and the north direction, and the steering angle will be automatically calculated based on the angle between other lanes and the lane of the line, so as to adjust the traffic light steering rules of its own lane to the newly added lane, and realize the automatic setting of the simulation setting of multi-segment access intersections. For each lane, other lanes are classified as opposite straight lanes or left turn and right turn lanes, and the traffic light status switches between the three, and the traffic light release signal is unified between different lanes, realizing the automatic setting of automatic multi-lane access intersections.

[0056] Road speed limit model:

[0057] The road speed limit model is closely related to the car-following model, which is a simulation of the road speed limit under real traffic conditions. Adding the road speed limit makes the microscopic traffic simulation closer to the real situation. In the free flow state of the car-following model, the congested flow may also be affected by the speed limit when the road speed limit is low.

[0058] The road speed limit model is combined with the road network by selecting the projected intersection in the three-dimensional scene, and setting the traffic lights and time at the selected intersection. The specific formula for the impact on the vehicle speed in the following model is:

[0059] v f =min[v max ,v(t)+aΔt,v limit ,v safe ]

[0060] In the formula, v f is the maximum speed of the vehicle behind that can maintain a safe distance between the current vehicle and the vehicle ahead, v max is the maximum speed that the vehicle can reach, v(t) represents the vehicle speed at time t, a represents the acceleration of the vehicle, Δt represents the time interval, and v limit Indicates the road speed limit, v safe It indicates the safe distance speed that should be maintained from the vehicle in front. The road speed limit model combines the traffic law regulations of my country with the simulation formula, laying the foundation for reasonable simulation.

[0061] Three-dimensional urban road network:

[0062] It is very common to see three-dimensional crossings in real urban traffic, such as overpasses, underground passages and other three-dimensional crossing sections. Since the previous simulation technology usually uses two-dimensional simulation technology, vehicles intersect each other. However, when applied to three-dimensional scenes, the intersection of sections on non-three-dimensional urban road networks will cause vehicles to penetrate the model. In order to solve this problem from the perspective of efficient road network generation, this embodiment proposes to adopt the concept of road network layers. In two-dimensional map graphics, the road network is usually drawn with broken lines. The connection of the same layer or the connection across layers is realized through the concept of common points. Layer 0 represents that the road network is located on the ground. The layer sequence number is a positive number indicating that the road is located in the air above the ground. The sequence number is a negative number indicating that the road network is located underground and below the ground depth, thereby simulating overpasses, winding mountain roads, underground passages and other three-dimensional traffic forms. A simple method is used to break the traditional two-dimensional traffic simulation form, so as to realize the display of traffic simulation in a three-dimensional scene. This method can guide an efficient and fast three-dimensional urban road network generation algorithm, greatly reducing the calculation pressure of the server backend for the three-dimensional urban road network. At the same time, it will not cause the road network to directly cross in the three-dimensional scene to cause vehicle penetration problems.

[0063] This embodiment proposes a new following model, constructs an automated traffic light interaction method, and further improves the following model function through a road speed limit model, thereby realizing a new simulation mode and realizing the automation function of the simulation task. Finally, by constructing a three-dimensional urban road network, the simulation can be perfectly run in a three-dimensional scene, and a three-dimensional visual traffic rule setting without programming operation is added. The current traffic simulation field has not realized the automated construction of traffic simulation, and lacks traffic simulation presentation in a three-dimensional scene. The traffic simulation presentation in a three-dimensional scene proposed in this embodiment will bring a new visual perception and empower smart cities and smart transportation.

[0064] The present invention also provides an embodiment of a three-dimensional scene vehicle simulation system based on a car-following model and road rights, which includes:

[0065] Import module, used to import the road network into the selected 3D scene;

[0066] The setting module is used to combine the road speed limit model with the road network to set the road speed limit, and combine the traffic light and intersection analysis model with the road network to set the road connection and traffic light by clicking;

[0067] A generation module, for generating a simulated road network according to the three-dimensional urban road network rules, based on the road speed limit, road connection, traffic lights and vehicle flow;

[0068] The simulation module simulates the simulated road network through a car-following model to obtain a vehicle simulation file in a three-dimensional scene.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A three-dimensional scene vehicle simulation method based on a car-following model and road rights, characterized in that: include: Import the road network into the selected 3D scene; Combine the road speed limit model with the road network to set the road speed limit, and combine the traffic light and intersection analysis model with the road network to set the road connection and traffic light by clicking; Generate a simulated road network according to the three-dimensional urban road network rules based on the road speed limits, road connections, traffic lights and vehicle flow; The simulated road network is simulated by a car-following model to obtain a vehicle simulation file in a three-dimensional scene; The influence formula of the road speed limit model on the vehicle speed in the car-following model is: v f =min[v max ,v(t)+aΔt,v limit ,v safe ] Among them, v f is the maximum speed of the vehicle behind that can maintain a safe distance between the current vehicle and the vehicle ahead, v max is the maximum speed that the vehicle can reach, v(t) represents the vehicle speed at time t, a represents the acceleration of the vehicle, Δt represents the time interval, and v limit Indicates the road speed limit, v safe Indicates the safe distance and speed that should be maintained from the vehicle ahead; The method of combining the traffic light and intersection analysis model with the road network and setting the road connection and traffic light by clicking includes: Analyze the angle of the access road at the intersection, starting from 0 degrees at 12 o'clock in the north direction, and number the lanes of the access intersection in sequence. After numbering, analyze the angles between different lanes one by one, and define the steering angle of the vehicle when driving. When the red light and green light are switched, the traffic rules are also switched at the same time, and the road rights of right turn, left turn, and left turn and straight ahead stipulated in the traffic law are added; the steering angle includes straight ahead, left turn, slight left turn, right turn, and slight right turn; The method of combining the traffic light and intersection analysis model with the road network and setting the road connection and the traffic light by clicking includes: When a multi-segment lane line accesses an intersection, the traffic rules are directly analyzed through the angle between the lane and the true north direction, and the steering angle is automatically calculated based on the angle between other lanes and the lane of the line, so as to adjust the traffic light steering rules of its own lane to the newly added lane, realizing the automatic setting of the simulation setting of the multi-segment access intersection; For each lane, other lanes are classified as opposite through lanes or left-turn or right-turn lanes, and the traffic light status switches between the three, and the traffic light release signal is unified between different lanes to achieve automatic setting of multi-lane access intersections; In the following car model, the braking distance of the vehicle is calculated using the following formula: L(v)=vt-bt 2 / 2 Where L(v) is the braking distance, v is the vehicle speed, t is the time, and b is the braking acceleration; The Euler numerical integration is used to calculate and update the vehicle position in real time in the simulation, and the maximum speed of the rear vehicle that can be allowed to maintain a safe distance from the front vehicle is calculated by combining the braking distance and speed analysis formula. The velocity analysis formula is: L(v f )+v f τ <L(v l )+g Among them, L(v f ) is the braking distance of the rear vehicle, v f is the maximum speed of the vehicle behind that can maintain a safe distance between the current vehicle and the vehicle ahead, v l is the speed of the front vehicle, τ is the driver’s reaction time, L(v l ) is the braking distance of the vehicle in front, and g is the distance between vehicles.

2. The method according to claim 1, characterized in that: The step of combining the road speed limit model with the road network to set the road speed limit includes: The road speed limit model is combined with the road network, and the intersection is selected by clicking the projected intersection in the three-dimensional scene, and then the traffic lights and time are set.

3. The method according to claim 1, characterized in that The three-dimensional urban road network rules include: Draw the road network based on two-dimensional map graphics, set the road network layer and transform it into a three-dimensional urban road network.

4. The method according to claim 3, characterized in that The road network drawing of the two-dimensional map graphics includes: Polyline drawing is adopted, and the concept of common points is used to realize the connection of the same layer or across layers. Layer 0 represents that the road network is located on the ground; a positive layer number indicates that the road is in the air above the ground; a negative layer number indicates that the road network is underground, below the ground depth.

5. A three-dimensional scene vehicle simulation system based on a car-following model and road rights, implementing the method described in any one of claims 1 to 4, characterized in that: include: Import module, used to import the road network into the selected 3D scene; The setting module is used to combine the road speed limit model with the road network to set the road speed limit, and combine the traffic light and intersection analysis model with the road network to set the road connection and traffic light by clicking; A generation module, for generating a simulated road network according to the three-dimensional urban road network rules, based on the road speed limit, road connection, traffic lights and vehicle flow; The simulation module simulates the simulated road network through a car-following model to obtain a vehicle simulation file in a three-dimensional scene.