CN114239272B - Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior - Google Patents

Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior Download PDF

Info

Publication number
CN114239272B
CN114239272B CN202111544059.3A CN202111544059A CN114239272B CN 114239272 B CN114239272 B CN 114239272B CN 202111544059 A CN202111544059 A CN 202111544059A CN 114239272 B CN114239272 B CN 114239272B
Authority
CN
China
Prior art keywords
bicycle
lane
speed
flow
lanes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111544059.3A
Other languages
Chinese (zh)
Other versions
CN114239272A (en
Inventor
魏中华
黄文佳
陈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN202111544059.3A priority Critical patent/CN114239272B/en
Publication of CN114239272A publication Critical patent/CN114239272A/en
Application granted granted Critical
Publication of CN114239272B publication Critical patent/CN114239272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/065Traffic control systems for road vehicles by counting the vehicles in a section of the road or in a parking area, i.e. comparing incoming count with outgoing count

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a hybrid bicycle flow microscopic modeling method and device based on retrograde motion, which comprises the following steps: acquiring the running speed of the hybrid bicycle; and establishing a cellular automaton model of the traffic flow of the hybrid bicycle based on the running rule and the lateral movement rule of the hybrid bicycle according to the running speed of the hybrid bicycle, and describing a lane changing process and a reverse behavior in the hybrid bicycle flow. By adopting the technical scheme of the invention, the problems that the personal safety of a driver is seriously threatened by the retrograde motion of the non-motor vehicle and the road passing efficiency is greatly influenced are solved.

Description

一种基于逆行行为的混合自行车流微观建模方法和装置A mixed bicycle flow micro-modeling method and device based on retrograde behavior

技术领域Technical Field

本发明属于交通工程技术领域,尤其涉及一种基于逆行行为的混合自行车流微观建模方法和装置。The invention belongs to the technical field of traffic engineering, and in particular relates to a mixed bicycle flow micro-modeling method and device based on reverse behavior.

背景技术Background Art

随着电动自行车的推广和共享自行车的兴起,自行车成为居民出行和接驳的重要工具。非机动车数量的剧增对非机动车道条件提出更高的要求。但是,现有部分非机动车道缺乏合理的规划与设计,导致自行车出行秩序差、逆向骑行和闯红灯等现象。这些现象不仅降低了道路的通行能力,还对居民的出行安全造成严重的负面影响,引起了交通界对自行车交通流研究的重视。交通流仿真是研究交通流运行规律的基本方法。其中,由于元胞自动机(Cellular Automaton,CA)模型具有规则简单、运行效率高的特点,国内外研究者基于CA模型对非机动车交通流进行了广泛、深入的研究。With the promotion of electric bicycles and the rise of shared bicycles, bicycles have become an important tool for residents to travel and connect. The sharp increase in the number of non-motorized vehicles has put forward higher requirements on the conditions of non-motorized vehicle lanes. However, some existing non-motorized vehicle lanes lack reasonable planning and design, resulting in poor bicycle travel order, riding in the opposite direction, and running red lights. These phenomena not only reduce the traffic capacity of the road, but also have a serious negative impact on the travel safety of residents, which has attracted the attention of the transportation community to the study of bicycle traffic flow. Traffic flow simulation is a basic method to study the operation laws of traffic flow. Among them, due to the characteristics of simple rules and high operation efficiency of the Cellular Automaton (CA) model, domestic and foreign researchers have conducted extensive and in-depth research on non-motorized vehicle traffic flow based on the CA model.

研究者对元胞自动机在非机动车交通特性的研究已取得丰富的成果,但也存在部分不足之处:(1)多数研究者针对电动自行车或传统自行车进行了研究,对电动自行车和传统自行车组成的混合自行车流交通特性研究相对较少;(2)涉及逆行行为对混合自行车流影响的研究鲜见;(3)缺乏考虑自行车逆行行为交通设施设计的研究。逆向骑行容易形成多种冲突和干扰,降低出行效率,也极易导致交通事故的发生,严重威胁驾驶人安全。Researchers have achieved rich results in the study of cellular automata in the characteristics of non-motorized vehicle traffic, but there are also some shortcomings: (1) Most researchers have conducted research on electric bicycles or traditional bicycles, and relatively few have studied the traffic characteristics of mixed bicycle flows composed of electric bicycles and traditional bicycles; (2) There are few studies on the impact of reverse behavior on mixed bicycle flows; (3) There is a lack of research on the design of traffic facilities that consider reverse bicycle behavior. Reverse riding can easily cause various conflicts and interferences, reduce travel efficiency, and easily lead to traffic accidents, seriously threatening the safety of drivers.

发明内容Summary of the invention

本发明要解决的技术问题是,提供一种基于逆行行为的混合自行车流微观建模方法和装置,通过单侧双向非机动车道的设置,解决非机动车逆行严重威胁驾驶人的人身安全,且对道路通行效率影响较大的问题。The technical problem to be solved by the present invention is to provide a mixed bicycle flow micro-modeling method and device based on retrograde behavior, and to solve the problem that the retrograde non-motor vehicle seriously threatens the personal safety of the driver and has a great impact on the road traffic efficiency by setting up a single-sided two-way non-motor vehicle lane.

为实现上述目的,本发明采用如下的技术方案:To achieve the above object, the present invention adopts the following technical solution:

一种基于逆行行为的混合自行车流微观建模方法,包括以下步骤:A mixed bicycle flow micro-modeling method based on retrograde behavior includes the following steps:

步骤S1、获取混合自行车的行驶速度;Step S1, obtaining the running speed of the hybrid bicycle;

步骤S2、根据所述混合自行车的行驶速度,建立基于自行车运行规则和侧向移动规则的混合自行车交通流元胞自动机模型,对混合自行车流中的换道过程和逆行行为进行描述。Step S2: According to the running speed of the hybrid bicycles, a cellular automaton model of the hybrid bicycle traffic flow based on bicycle running rules and lateral movement rules is established to describe the lane changing process and reverse behavior in the hybrid bicycle flow.

作为优选,侧向移动规则为:若驾驶人在当前车道所能达到的速度小于其换道后行驶的速度,且满足换道的安全条件,那么驾驶人将选择换道以达到更大的行驶速度,否则将继续在当前车道行驶;当有逆行行为存在时,根据目标车道前车的行驶方向实现自行车换道,若目标车道前车与当前车辆行驶方向相同,则只需满足安全距离即可实现换道;若当前车道前车与当前车辆行驶方向相反,则需满足安全距离和两车间距实现换道;当两车间距达到大于第一阈值时,车辆不会再进入其左侧车道;当两车间距小于第二阈值时,车辆向右侧车道换道行驶,若换道无法完成,则停止运动等待换道。Preferably, the lateral movement rule is: if the speed that the driver can achieve in the current lane is less than the speed after changing lanes, and the safety conditions for lane changing are met, then the driver will choose to change lanes to achieve a higher driving speed, otherwise he will continue to drive in the current lane; when there is a wrong-way behavior, the bicycle lane change is realized according to the driving direction of the front vehicle in the target lane. If the driving direction of the front vehicle in the target lane is the same as that of the current vehicle, the lane change can be realized by meeting the safety distance; if the driving direction of the front vehicle in the current lane is opposite to that of the current vehicle, the lane change must meet the safety distance and the distance between the two vehicles; when the distance between the two vehicles reaches greater than the first threshold, the vehicle will no longer enter the lane on its left; when the distance between the two vehicles is less than the second threshold, the vehicle changes lanes to the right lane. If the lane change cannot be completed, the movement stops and waits for the lane change.

作为优选,自行车运行规则为:自行车将经历加速、减速、随机慢化、位置更新四个步骤来完成更新过程。As a preferred embodiment, the bicycle operation rule is: the bicycle will go through four steps of acceleration, deceleration, random slowing down, and position update to complete the update process.

作为优选,自行车加速运行规则为:骑行过程中骑行者期望以最大速度行驶,即vn(t+1)=min{vn(t)+an,vn max},其中,vn(t)为t时刻自行车n的速度,vn(t+1)为t+1时刻自行车n的速度,an为自行车n的加速度,vn max为自行车n的最大速度。Preferably, the bicycle acceleration operation rule is: during riding, the rider expects to travel at the maximum speed, that is, vn (t+1)=min{ vn (t)+a n ,vn max }, wherein vn (t) is the speed of bicycle n at time t, vn (t+1) is the speed of bicycle n at time t+1, a n is the acceleration of bicycle n, and vn max is the maximum speed of bicycle n.

作为优选,自行车减速运行规则为:首先计算出在满足安全条件的情况下,下一时间步自行车在当前车道及其左右两侧车道的速度,然后比较各车道速度大小,选择速度最大的车道作为行驶车道。Preferably, the bicycle deceleration operation rule is: firstly calculate the speed of the bicycle in the current lane and the lanes on its left and right sides in the next time step under the condition of meeting safety conditions, then compare the speeds of the lanes, and select the lane with the largest speed as the driving lane.

作为优选,随机慢化运行规则为:自行车随机慢化概率为P,当满足随机慢化条件时,自行车减速,即vn(t+1)=max{vn(t+1)-1,0}。Preferably, the random slowing down operation rule is: the random slowing down probability of the bicycle is P, and when the random slowing down condition is met, the bicycle decelerates, that is, v n (t+1)=max{v n (t+1)-1,0}.

作为优选,位置更新运行规则为:自行车以更新后的速度向前行驶,即xn(t+1)=xn(t)+vn(t+1),其中,xn(t)为t时刻自行车n的位置,xn(t+1)为t+1时刻自行车n的位置。Preferably, the position update operation rule is: the bicycle moves forward at the updated speed, that is, xn (t+1)= xn (t)+ vn (t+1), wherein xn (t) is the position of bicycle n at time t, and xn (t+1) is the position of bicycle n at time t+1.

本发明还提供一种基于逆行行为的混合自行车流微观建模装置,包括:The present invention also provides a hybrid bicycle flow microscopic modeling device based on retrograde behavior, comprising:

获取模块,用于获取混合自行车的行驶速度;An acquisition module, used for acquiring the running speed of the hybrid bicycle;

建模模块,用于根据所述混合自行车的行驶速度,建立基于自行车运行规则和侧向移动规则的混合自行车交通流元胞自动机模型,对混合自行车流中的换道过程和逆行行为进行描述。The modeling module is used to establish a mixed bicycle traffic flow cellular automaton model based on bicycle operation rules and lateral movement rules according to the running speed of the mixed bicycles, and to describe the lane changing process and reverse behavior in the mixed bicycle flow.

作为优选,侧向移动规则为:若驾驶人在当前车道所能达到的速度小于其换道后行驶的速度,且满足换道的安全条件,那么驾驶人将选择换道以达到更大的行驶速度,否则将继续在当前车道行驶;当有逆行行为存在时,根据目标车道前车的行驶方向实现自行车换道,若目标车道前车与当前车辆行驶方向相同,则只需满足安全距离即可实现换道;若当前车道前车与当前车辆行驶方向相反,则需满足安全距离和两车间距实现换道;当两车间距达到大于第一阈值时,车辆不会再进入其左侧车道;当两车间距小于第二阈值时,车辆向右侧车道换道行驶,若换道无法完成,则停止运动等待换道。Preferably, the lateral movement rule is: if the speed that the driver can achieve in the current lane is less than the speed after changing lanes, and the safety conditions for lane changing are met, then the driver will choose to change lanes to achieve a higher driving speed, otherwise he will continue to drive in the current lane; when there is a wrong-way behavior, the bicycle lane change is realized according to the driving direction of the front vehicle in the target lane. If the driving direction of the front vehicle in the target lane is the same as that of the current vehicle, the lane change can be realized by meeting the safety distance; if the driving direction of the front vehicle in the current lane is opposite to that of the current vehicle, the lane change must meet the safety distance and the distance between the two vehicles; when the distance between the two vehicles reaches greater than the first threshold, the vehicle will no longer enter the lane on its left; when the distance between the two vehicles is less than the second threshold, the vehicle changes lanes to the right lane. If the lane change cannot be completed, the movement stops and waits for the lane change.

作为优选,自行车运行规则为:自行车将经历加速、减速、随机慢化、位置更新四个步骤来完成更新过程。As a preferred embodiment, the bicycle operation rule is: the bicycle will go through four steps of acceleration, deceleration, random slowing down, and position update to complete the update process.

非机动车逆行严重威胁驾驶人的人身安全,且对道路通行效率影响极大。为解决逆行行为对混合自行车流交通特性的影响,本发明通过建立考虑逆行行为的混合自行车流微观模型,分析电动自行车比例、逆行车辆比例对混合自行车流的影响以及单侧双向非机动车道的设置条件。采用逆行行为会降低混合自行车流的速度和流量;混合自行车流的速度和流量与逆行车辆比例成非线性关系;车流密度相对较小时,随着密度的增加低逆行比例的车流平均速度下降速度比高逆行比例的车流平均速度下降速度快;逆行比例较小时的最大流量比逆行比例较大时的最大流量小;合理设置单侧双向非机动车道可以提高通行效率。The reverse movement of non-motor vehicles seriously threatens the personal safety of drivers and has a great impact on the road traffic efficiency. In order to solve the impact of reverse movement on the traffic characteristics of mixed bicycle flow, the present invention establishes a mixed bicycle flow micro-model that takes reverse movement into account, analyzes the impact of the proportion of electric bicycles and the proportion of reverse vehicles on the mixed bicycle flow, and the setting conditions of the single-sided two-way non-motor vehicle lane. The use of reverse movement will reduce the speed and flow of mixed bicycle flow; the speed and flow of mixed bicycle flow are nonlinearly related to the proportion of reverse vehicles; when the traffic density is relatively small, as the density increases, the average speed of the traffic with a low reverse ratio decreases faster than the average speed of the traffic with a high reverse ratio; the maximum flow when the reverse ratio is small is smaller than the maximum flow when the reverse ratio is large; the reasonable setting of single-sided two-way non-motor vehicle lanes can improve traffic efficiency.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为基于逆行行为的混合自行车流微观建模方法的流程图;FIG1 is a flow chart of a mixed bicycle flow micro-modeling method based on retrograde behavior;

图2为自行车行驶方向示意图;Figure 2 is a schematic diagram of the direction of bicycle travel;

图3基于逆行行为的混合自行车流微观建模装置的结构示意图。Fig. 3 Schematic diagram of the structure of the mixed bicycle flow micro-modeling device based on retrograde behavior.

具体实施方式DETAILED DESCRIPTION

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

实施例1:Embodiment 1:

实施例1涉及到的公式符号如表1:The formula symbols involved in Example 1 are shown in Table 1:

表1:Table 1:

Figure BDA0003415258780000041
Figure BDA0003415258780000041

如图1所示,本发明提供一种基于逆行行为的混合自行车流微观建模方法,建立考虑逆行行为的混合自行车交通流元胞自动机模型,得到逆行行为影响下混合自行车交通流三参数的变化,考虑逆行行为提出设置单侧双向非机动车道策略,并给出设置条件。具体包括以下步骤:As shown in FIG1 , the present invention provides a mixed bicycle flow micro-modeling method based on retrograde behavior, establishes a mixed bicycle traffic flow cellular automaton model considering retrograde behavior, obtains the changes of three parameters of mixed bicycle traffic flow under the influence of retrograde behavior, proposes a strategy for setting a unilateral bidirectional non-motorized vehicle lane considering retrograde behavior, and gives setting conditions. Specifically, the following steps are included:

步骤S1、获取混合自行车的行驶速度;Step S1, obtaining the running speed of the hybrid bicycle;

步骤S2、根据所述混合自行车的行驶速度,建立基于自行车运行规则和侧向移动规则的混合自行车交通流元胞自动机模型,对混合自行车流中的换道过程和逆行行为进行描述。Step S2: According to the running speed of the hybrid bicycles, a cellular automaton model of the hybrid bicycle traffic flow based on bicycle running rules and lateral movement rules is established to describe the lane changing process and reverse behavior in the hybrid bicycle flow.

作为本发明实施例的一种实施方式,步骤S2中,为保证车辆以最大速度行驶,引入侧向移动规则。若驾驶人在当前车道所能达到的速度小于其换道后可以行驶的速度,且能够满足换道的安全条件,那么驾驶人将选择换道以达到更大的行驶速度;否则将继续在当前车道行驶。当有逆行行为存在时,自行车换道需要考虑目标车道前车的行驶方向。若目标车道前车与当前车辆行驶方向相同,则只需满足安全距离即可实现换道;若当前车道前车与当前车辆行驶方向相反,则需满足安全距离和两车间距实现换道;当两车间距达到大于第一阈值时,车辆不会再进入其左侧车道;当两车间距小于第二阈值时,车辆向右侧车道换道行驶,若换道无法完成,则停止运动等待换道。As an implementation method of an embodiment of the present invention, in step S2, in order to ensure that the vehicle travels at the maximum speed, a lateral movement rule is introduced. If the speed that the driver can reach in the current lane is less than the speed that he can travel after changing lanes, and the safety conditions for changing lanes can be met, then the driver will choose to change lanes to achieve a higher driving speed; otherwise, it will continue to drive in the current lane. When there is a reverse behavior, the lane change of the bicycle needs to consider the driving direction of the vehicle in front of the target lane. If the vehicle in front of the target lane is traveling in the same direction as the current vehicle, it is only necessary to meet the safety distance to achieve the lane change; if the vehicle in front of the current lane is traveling in the opposite direction to the current vehicle, it is necessary to meet the safety distance and the distance between the two vehicles to achieve the lane change; when the distance between the two vehicles reaches a value greater than the first threshold, the vehicle will no longer enter the lane on its left; when the distance between the two vehicles is less than the second threshold, the vehicle changes lanes to the right lane. If the lane change cannot be completed, the movement stops and waits for the lane change.

如图2所示,在时刻t→t+1,自行车将经历加速、减速、随机慢化、位置更新四个步骤来完成更新过程,自行车具体运行规则如下:As shown in Figure 2, at time t→t+1, the bicycle will go through four steps of acceleration, deceleration, random slowing, and position update to complete the update process. The specific operation rules of the bicycle are as follows:

(1)加速:骑行过程中骑行者期望以最大速度行驶,即:(1) Acceleration: During riding, the rider expects to travel at the maximum speed, that is:

vn(t+1)=min{vn(t)+an,vn max} (1)v n (t+1)=min{v n (t)+a n ,v n max } (1)

(2)减速:首先计算出在满足安全条件的情况下,下一时间步自行车n在当前车道及其左右两侧车道的速度,然后比较各车道速度大小,选择速度最大的车道作为行驶车道。不同的交通状况对应的车速计算规则不相同,需要根据不同的交通状况分别对车速计算规则进行定义。(2) Deceleration: First, calculate the speed of bicycle n in the current lane and the lanes on its left and right sides in the next time step while meeting safety conditions. Then compare the speeds of each lane and select the lane with the highest speed as the driving lane. Different traffic conditions correspond to different speed calculation rules, and the speed calculation rules need to be defined according to different traffic conditions.

当无逆行行为时,下一时间步自行车n在当前车道及其左右两侧车道的速度计算公式如下:When there is no retrograde behavior, the speed calculation formula of bicycle n in the current lane and the lanes on its left and right sides in the next time step is as follows:

Figure BDA0003415258780000051
Figure BDA0003415258780000051

Figure BDA0003415258780000061
Figure BDA0003415258780000061

Figure BDA0003415258780000062
Figure BDA0003415258780000062

当有逆行行为时,自行车n在骑行过程中可能遇到对向行驶的车辆,在计算下一时间步自行车n在当前车道及其左右两侧车道的速度时需要考虑自行车的行驶方向。模型中定义两个安全距离参数d1、d2(d1>d2),当自行车n与前方自行车ncf的距离小于d1时,为方便对向车辆通过,设定车辆不会再进入其左侧车道,即:

Figure BDA0003415258780000063
当两车间距小于d2时,为避免冲突发生,此时车辆需向右侧车道换道行驶,若换道无法完成,则停止运动等待换道,即:
Figure BDA0003415258780000064
When there is a reverse behavior, bicycle n may encounter vehicles traveling in the opposite direction during riding. The direction of the bicycle needs to be considered when calculating the speed of bicycle n in the current lane and the lanes on its left and right sides in the next time step. Two safety distance parameters d 1 and d 2 (d 1 >d 2 ) are defined in the model. When the distance between bicycle n and the bicycle n cf in front is less than d 1 , in order to facilitate the passage of the oncoming vehicle, it is assumed that the vehicle will not enter its left lane again, that is:
Figure BDA0003415258780000063
When the distance between the two vehicles is less than d 2 , in order to avoid conflict, the vehicle needs to change lanes to the right lane. If the lane change cannot be completed, the vehicle stops moving and waits for the lane change, that is:
Figure BDA0003415258780000064

下一时间步自行车n在当前车道及其左右两侧车道的速度计算公式如下:The speed calculation formula of bicycle n in the current lane and the lanes on its left and right sides at the next time step is as follows:

Figure BDA0003415258780000065
Figure BDA0003415258780000065

Figure BDA0003415258780000066
Figure BDA0003415258780000066

Figure BDA0003415258780000071
Figure BDA0003415258780000071

公式(6)和(7)中,

Figure BDA0003415258780000072
表示t时刻自行车n与其左后方自行车nlb行驶方向相同;
Figure BDA0003415258780000073
表示t时刻自行车n与其右后方自行车nrb行驶方向相同;
Figure BDA0003415258780000074
表示t时刻自行车n与其前方自行车ncf行驶方向相反。In formulas (6) and (7),
Figure BDA0003415258780000072
It means that at time t, bicycle n and bicycle n lb behind it on the left are traveling in the same direction;
Figure BDA0003415258780000073
It means that at time t, bicycle n and bicycle n rb behind it on the right are traveling in the same direction;
Figure BDA0003415258780000074
It means that at time t, bicycle n and bicycle n cf in front of it are traveling in opposite directions.

在确定自行车在当前车道以及左右两侧车道的速度后,比较各车道所能达到的最大速度,由此确定下一时间步的行驶车道,其运算规则如下:After determining the speed of the bicycle in the current lane and the lanes on the left and right sides, compare the maximum speeds that can be achieved in each lane to determine the driving lane for the next time step. The calculation rules are as follows:

如果

Figure BDA0003415258780000075
if
Figure BDA0003415258780000075

那么

Figure BDA0003415258780000076
So
Figure BDA0003415258780000076

如果

Figure BDA0003415258780000077
if
Figure BDA0003415258780000077

那么

Figure BDA0003415258780000078
So
Figure BDA0003415258780000078

如果

Figure BDA0003415258780000079
if
Figure BDA0003415258780000079

那么

Figure BDA00034152587800000710
So
Figure BDA00034152587800000710

(3)随机慢化:自行车随机慢化概率为P,当满足随机慢化条件时,自行车减速,即:(3) Random slowing down: The probability of random slowing down of a bicycle is P. When the random slowing down condition is met, the bicycle slows down, that is:

vn(t+1)=max{vn(t+1)-1,0} (8)v n (t+1)=max{v n (t+1)-1,0} (8)

(4)位置更新:自行车以更新后的速度向前行驶,即:(4) Position update: The bicycle moves forward at the updated speed, that is:

xn(t+1)=xn(t)+vn(t+1) (9)x n (t+1)=x n (t)+v n (t+1) (9)

仿真实验:Simulation experiment:

运用Visual Studio对混合自行车流进行仿真,仿真时间设为8000步(即8000s),选取后2000步的仿真数据进行分析。本发明中的仿真数据为20次仿真的平均值,以减小随机性对结果的影响。模型中其它参数设置为:d1=30,d2=10,P=0.3,an=1。Visual Studio was used to simulate the mixed bicycle flow, and the simulation time was set to 8000 steps (i.e. 8000s). The simulation data of the last 2000 steps were selected for analysis. The simulation data in the present invention is the average value of 20 simulations to reduce the influence of randomness on the results. Other parameters in the model were set as: d 1 =30, d 2 =10, P=0.3, a n =1.

为定量分析混合自行车流中电动自行车出行比例、逆行行为对自行车交通流特性的影响。定义电动自行车的比例为α,混合自行车流中逆行车辆比例为λ,t时刻通过某非机动车道断面的自行车数为N(t),非机动车道中传统自行车总数为R,电动自行车总数为E,t时刻传统自行车i的速度为vi(t),t时刻电动自行车j的速度为vj(t)。非机动车道的平均流量Q(bike/(s·m))、平均密度K(bike/m2)、传统自行车平均速度Vr(m/s)、电动自行车平均速度Ve(m/s)的计算公式如下:To quantitatively analyze the influence of the proportion of electric bicycles and reverse behavior in mixed bicycle flow on the characteristics of bicycle traffic flow. Define the proportion of electric bicycles as α, the proportion of reverse vehicles in mixed bicycle flow as λ, the number of bicycles passing through a non-motorized lane section at time t as N(t), the total number of traditional bicycles in the non-motorized lane as R, the total number of electric bicycles as E, the speed of traditional bicycle i at time t as vi (t), and the speed of electric bicycle j at time t as vj (t). The calculation formulas for the average flow Q(bike/(s·m)), average density K(bike/ m2 ), average speed Vr (m/s) of traditional bicycles, and average speed Ve (m/s) of electric bicycles in non-motorized lanes are as follows:

Figure BDA0003415258780000081
Figure BDA0003415258780000081

Figure BDA0003415258780000082
Figure BDA0003415258780000082

Figure BDA0003415258780000083
Figure BDA0003415258780000083

Figure BDA0003415258780000084
Figure BDA0003415258780000084

通过仿真计算,α=0,α=0.5,α=1时不同逆行比例下自行车平均速度与平均密度的关系,可以得到如下结论:Through simulation calculation, the relationship between the average speed and average density of bicycles under different reverse ratios when α=0, α=0.5, and α=1 can be concluded as follows:

(1)当K≤0.1时,在α=0情况下,传统自行车的平均速度随着平均密度的增加保持不变;在α=0.5和1情况下,传统自行车和电动自行车的平均速度随着平均密度的增加而减小。当0.1<K<0.5时,在不同电动自行车比例的情况下,自行车的平均速度都会随着平均密度的增加而减小。这是因为传统自行车的期望速度比电动自行车的期望速度小,在低密度状态下,当无电动自行车时,车头间距可以保证传统自行车流维持自由流状态,此时平均速度随着平均密度的增加保持不变;当有电动自行车时,车头间距无法保证自行车流维持自由流状态,此时平均速度随着平均密度的增加而减小。(1) When K≤0.1, when α=0, the average speed of traditional bicycles remains unchanged as the average density increases; when α=0.5 and 1, the average speeds of traditional bicycles and electric bicycles decrease as the average density increases. When 0.1<K<0.5, the average speed of bicycles decreases as the average density increases at different proportions of electric bicycles. This is because the expected speed of traditional bicycles is lower than that of electric bicycles. Under low density conditions, when there are no electric bicycles, the head spacing can ensure that the flow of traditional bicycles maintains a free flow state, and the average speed remains unchanged as the average density increases; when there are electric bicycles, the head spacing cannot ensure that the flow of bicycles maintains a free flow state, and the average speed decreases as the average density increases.

(2)当无逆行行为时,即λ=0时,自行车的平均速度比有逆行行为时自行车的平均速度大。这是因为逆行车辆的存在,增加了自行车交通流的冲突和干扰,产生冲突的车辆需要减速避让甚至停车避让,并且逆向行驶车辆的期望速度低于正向行驶车辆的期望速度,所以无逆行行为时自行车的平均速度比有逆行行为时自行车的平均速度大。(2) When there is no wrong-way traffic, that is, when λ = 0, the average speed of bicycles is greater than that when there is wrong-way traffic. This is because the presence of wrong-way vehicles increases the conflict and interference of bicycle traffic flow. Conflicting vehicles need to slow down or even stop to avoid them, and the expected speed of wrong-way vehicles is lower than that of forward-way vehicles. Therefore, the average speed of bicycles when there is no wrong-way traffic is greater than that when there is wrong-way traffic.

(3)随着逆行车辆比例的增加,自行车的平均速度与逆行车辆比例之间的关系为非线性关系。其中,当K由0.1增加到0.2的过程中,λ=0.1和0.2的平均速度下降速度比λ=0.3、0.4和0.5的平均速度下降速度快。这是因为当车流密度不大且逆行自行车数量较少时,为了避让断断续续存在的逆行自行车,产生冲突的自行车会进行比较频繁的换道,对整体交通流产生一定程度的扰动,降低了平均速度;当车流密度不大且逆行自行车数量较多时,自行车选择进入左侧车道的概率降低,此时双向自行车流呈现一种跟随行驶的状态,自行车不会进行频繁的换道,冲突行为减少,此时随着平均密度的增加,平均速度下降速度比逆行车辆比例较小时平均速度下降速度慢。(3) As the proportion of vehicles traveling against the flow increases, the relationship between the average speed of bicycles and the proportion of vehicles traveling against the flow becomes nonlinear. When K increases from 0.1 to 0.2, the average speeds of λ = 0.1 and 0.2 decrease faster than those of λ = 0.3, 0.4, and 0.5. This is because when the traffic density is not large and the number of bicycles traveling against the flow is small, in order to avoid the intermittent bicycles traveling against the flow, the bicycles that conflict with the flow will change lanes more frequently, causing a certain degree of disturbance to the overall traffic flow and reducing the average speed. When the traffic density is not large and the number of bicycles traveling against the flow is large, the probability of bicycles choosing to enter the left lane decreases. At this time, the two-way bicycle flow presents a state of following driving, and bicycles will not change lanes frequently, and conflict behavior is reduced. At this time, as the average density increases, the average speed decreases more slowly than when the proportion of vehicles traveling against the flow is small.

当λ=0、0.3、0.4和0.5时,平均流量与平均密度的关系曲线具有相似的变化趋势,平均流量随着平均密度的增加先增加到峰值,然后降低。当λ=0.1和0.2时,平均流量与平均密度的关系曲线具有相似的变化趋势,平均流量随着平均密度的增加先增加到峰值,然后维持平峰,之后降低。平均流量出现平峰的原因是当车流密度不大且逆行自行车数量较少(λ=0.1和0.2)时,为了避让断断续续的逆行自行车,产生冲突的自行车会进行比较频繁的换道,当逆行自行车数量较多(λ=0.3、0.4和0.5)时,双向自行车流呈现一种跟随行驶的状态,冲突行为减少。此时随着平均密度的增加,逆行车辆比例较小时平均速度下降速度比逆行车辆比例较大时平均速度下降速度快,导致逆行车辆比例较小时平均流量变化较小,出现平峰状态。When λ=0, 0.3, 0.4 and 0.5, the relationship curves between average flow and average density have similar changing trends. The average flow increases to a peak value first and then decreases with the increase of average density. When λ=0.1 and 0.2, the relationship curves between average flow and average density have similar changing trends. The average flow increases to a peak value first and then maintains a flat peak with the increase of average density, and then decreases. The reason for the flat peak in the average flow is that when the traffic density is not large and the number of bicycles traveling against the flow is small (λ=0.1 and 0.2), in order to avoid intermittent bicycles traveling against the flow, the bicycles that cause conflict will change lanes more frequently. When the number of bicycles traveling against the flow is large (λ=0.3, 0.4 and 0.5), the two-way bicycle flow presents a state of following driving, and the conflict behavior is reduced. At this time, with the increase of average density, the average speed decreases faster when the proportion of vehicles traveling against the flow is small than when the proportion of vehicles traveling against the flow is large, resulting in a small change in the average flow and a flat peak state when the proportion of vehicles traveling against the flow is small.

当λ=0.1或0.2时最大流量比当λ=0.3、0.4或0.5时最大流量小。从前面的分析可知,当逆行自行车数量较少时,自行车行驶过程中产生的冲突较多,降低了自行车通行效率;当逆行自行车数量较多时,双向自行车流呈现一种跟随行驶的状态,冲突行为减少,提高了自行车通行效率。此外,当λ<0.5时,α=1的最大流量均大于其它两种情况的最大流量。这是因为电动自行车具有较高的行驶速度,电动自行车比例越大,最大流量越大。When λ=0.1 or 0.2, the maximum flow is smaller than when λ=0.3, 0.4 or 0.5. From the previous analysis, it can be seen that when the number of bicycles traveling against the flow is small, there are more conflicts during the bicycle driving process, which reduces the efficiency of bicycle traffic; when the number of bicycles traveling against the flow is large, the two-way bicycle flow presents a following driving state, the conflict behavior is reduced, and the efficiency of bicycle traffic is improved. In addition, when λ<0.5, the maximum flow of α=1 is greater than the maximum flow of the other two cases. This is because electric bicycles have a higher driving speed. The larger the proportion of electric bicycles, the greater the maximum flow.

实施例2:Embodiment 2:

如图3所示,本发明还提供一种基于逆行行为的混合自行车流微观建模装置,包括:As shown in FIG3 , the present invention further provides a hybrid bicycle flow microscopic modeling device based on retrograde behavior, comprising:

获取模块,用于获取混合自行车的行驶速度;An acquisition module, used for acquiring the running speed of the hybrid bicycle;

建模模块,用于根据所述混合自行车的行驶速度,建立基于自行车运行规则和侧向移动规则的混合自行车交通流元胞自动机模型,对混合自行车流中的换道过程和逆行行为进行描述。The modeling module is used to establish a mixed bicycle traffic flow cellular automaton model based on bicycle operation rules and lateral movement rules according to the running speed of the mixed bicycles, and to describe the lane changing process and reverse behavior in the mixed bicycle flow.

进一步,侧向移动规则为:若驾驶人在当前车道所能达到的速度小于其换道后行驶的速度,且满足换道的安全条件,那么驾驶人将选择换道以达到更大的行驶速度,否则将继续在当前车道行驶;当有逆行行为存在时,根据目标车道前车的行驶方向实现自行车换道,若目标车道前车与当前车辆行驶方向相同,则只需满足安全距离即可实现换道;若当前车道前车与当前车辆行驶方向相反,则需满足安全距离和两车间距实现换道;当两车间距达到大于第一阈值时,车辆不会再进入其左侧车道;当两车间距小于第二阈值时,车辆向右侧车道换道行驶,若换道无法完成,则停止运动等待换道。Furthermore, the lateral movement rule is: if the speed that the driver can achieve in the current lane is less than the speed after changing lanes, and the safety conditions for lane changing are met, then the driver will choose to change lanes to achieve a higher driving speed, otherwise he will continue to drive in the current lane; when there is a reverse traffic behavior, the bicycle lane change is realized according to the driving direction of the front vehicle in the target lane. If the driving direction of the front vehicle in the target lane is the same as that of the current vehicle, the lane change can be realized by meeting the safety distance; if the driving direction of the front vehicle in the current lane is opposite to that of the current vehicle, the lane change must meet the safety distance and the distance between the two vehicles; when the distance between the two vehicles reaches greater than the first threshold, the vehicle will no longer enter the lane on its left; when the distance between the two vehicles is less than the second threshold, the vehicle changes lanes to the right lane. If the lane change cannot be completed, the movement stops and waits for the lane change.

进一步,自行车运行规则为:自行车将经历加速、减速、随机慢化、位置更新四个步骤来完成更新过程。Furthermore, the bicycle operation rules are as follows: the bicycle will go through four steps of acceleration, deceleration, random slowing down, and position update to complete the update process.

本发明考虑传统自行车和电动自行车的换道和逆行行为特性,基于NaSch模型建立混合自行车流微观仿真模型。利用该模型仿真分析了电动自行车比例、逆行车辆比例对混合自行车流交通特性的影响,确定了单侧双向非机动车道的设置条件,得到结论如下:The present invention considers the lane-changing and reverse behavior characteristics of traditional bicycles and electric bicycles, and establishes a mixed bicycle flow micro-simulation model based on the NaSch model. The model is used to simulate and analyze the influence of the proportion of electric bicycles and the proportion of reverse vehicles on the traffic characteristics of mixed bicycle flow, and the setting conditions of the one-side two-way non-motorized vehicle lane are determined. The following conclusions are drawn:

(1)无逆行行为时混合自行车流的平均速度和平均流量均比有逆行行为时混合自行车流的平均速度和平均流量大。(1) The average speed and average flow rate of mixed bicycle flow without counter-current behavior are greater than those with counter-current behavior.

(2)随着逆行车辆比例的增加,混合自行车流的平均速度、平均流量与逆行车辆比例之间的关系是非线性关系。当车流密度较小时,随着平均密度的增加,逆行自行车数量较少时的平均速度下降速度比逆行自行车数量较多时的平均速度下降速度快。逆行比例较小(λ=0.1或0.2)时的最大流量比逆行比例较大(λ=0.3、0.4或0.5)时的最大流量小。(2) As the proportion of vehicles traveling against the flow increases, the relationship between the average speed, average flow rate and the proportion of vehicles traveling against the flow is nonlinear. When the traffic density is small, as the average density increases, the average speed decreases faster when there are fewer bicycles traveling against the flow than when there are more bicycles traveling against the flow. The maximum flow rate when the proportion of vehicles traveling against the flow is small (λ = 0.1 or 0.2) is smaller than the maximum flow rate when the proportion of vehicles traveling against the flow is large (λ = 0.3, 0.4 or 0.5).

(3)单侧双向非机动车道在4车道非机动车道的设置条件:无逆行车辆时,不设置逆向车道;逆行车辆比例较小(0<λ≤0.3)时,可设置3条顺向车道和1条逆向车道;逆行比例较大(λ≥0.3)时,可设置2条逆向车道。(3) The conditions for setting up a one-sided two-way non-motorized vehicle lane in a four-lane non-motorized vehicle lane are as follows: when there are no vehicles going in the opposite direction, no opposite lane shall be set up; when the proportion of vehicles going in the opposite direction is small (0<λ≤0.3), three forward lanes and one opposite lane may be set up; when the proportion of vehicles going in the opposite direction is large (λ≥0.3), two opposite lanes may be set up.

非机动车逆行严重威胁驾驶人的人身安全,且对道路通行效率影响极大。为解决逆行行为对混合自行车流交通特性的影响,本发明通过建立考虑逆行行为的混合自行车流微观模型,分析电动自行车比例、逆行车辆比例对混合自行车流的影响以及单侧双向非机动车道的设置条件。采用逆行行为会降低混合自行车流的速度和流量;混合自行车流的速度和流量与逆行车辆比例成非线性关系;车流密度相对较小时,随着密度的增加低逆行比例的车流平均速度下降速度比高逆行比例的车流平均速度下降速度快;逆行比例较小时的最大流量比逆行比例较大时的最大流量小;合理设置单侧双向非机动车道可以提高通行效率。The reverse movement of non-motor vehicles seriously threatens the personal safety of drivers and has a great impact on the road traffic efficiency. In order to solve the impact of reverse movement on the traffic characteristics of mixed bicycle flow, the present invention establishes a mixed bicycle flow micro-model that takes reverse movement into account, analyzes the impact of the proportion of electric bicycles and the proportion of reverse vehicles on the mixed bicycle flow, and the setting conditions of the single-sided two-way non-motor vehicle lane. The use of reverse movement will reduce the speed and flow of mixed bicycle flow; the speed and flow of mixed bicycle flow are nonlinearly related to the proportion of reverse vehicles; when the traffic density is relatively small, as the density increases, the average speed of the traffic with a low reverse ratio decreases faster than the average speed of the traffic with a high reverse ratio; the maximum flow when the reverse ratio is small is smaller than the maximum flow when the reverse ratio is large; the reasonable setting of single-sided two-way non-motor vehicle lanes can improve traffic efficiency.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims (5)

1.一种基于逆行行为的混合自行车流微观建模方法,其特征在于,包括以下步骤:1. A mixed bicycle flow micro-modeling method based on retrograde behavior, characterized by comprising the following steps: 步骤S1、获取混合自行车的行驶速度;Step S1, obtaining the running speed of the hybrid bicycle; 步骤S2、根据所述混合自行车的行驶速度,建立基于自行车运行规则和侧向移动规则的混合自行车交通流元胞自动机模型,对混合自行车流中的换道过程和逆行行为进行描述;Step S2: establishing a cellular automaton model of mixed bicycle traffic flow based on bicycle running rules and lateral movement rules according to the running speed of the mixed bicycles, and describing the lane changing process and reverse behavior in the mixed bicycle flow; 其中,侧向移动规则为:若驾驶人在当前车道所能达到的速度小于其换道后行驶的速度,且满足换道的安全条件,那么驾驶人将选择换道以达到更大的行驶速度,否则将继续在当前车道行驶;当有逆行行为存在时,根据目标车道前车的行驶方向实现自行车换道,若目标车道前车与当前车辆行驶方向相同,则只需满足安全距离即可实现换道;若当前车道前车与当前车辆行驶方向相反,则需满足安全距离和两车间距实现换道;当两车间距达到小于第一阈值时,车辆不会再进入其左侧车道;当两车间距小于第二阈值时,车辆向右侧车道换道行驶,若换道无法完成,则停止运动等待换道;The lateral movement rule is as follows: if the speed that the driver can reach in the current lane is less than the speed after changing lanes, and the safety conditions for lane changing are met, then the driver will choose to change lanes to achieve a higher speed, otherwise he will continue to drive in the current lane; when there is a reverse driving behavior, the bicycle lane change is realized according to the driving direction of the front vehicle in the target lane. If the front vehicle in the target lane has the same driving direction as the current vehicle, the lane change can be realized by meeting the safety distance; if the front vehicle in the current lane is driving in the opposite direction to the current vehicle, the lane change must meet the safety distance and the distance between the two vehicles; when the distance between the two vehicles is less than the first threshold, the vehicle will no longer enter the lane on its left; when the distance between the two vehicles is less than the second threshold, the vehicle changes lanes to the right lane. If the lane change cannot be completed, the vehicle stops moving and waits for the lane change; 自行车运行规则为:自行车将经历加速、减速、随机慢化、位置更新四个步骤来完成更新过程;The bicycle operation rules are as follows: the bicycle will go through four steps of acceleration, deceleration, random slowing, and position update to complete the update process; 减速:首先计算出在满足安全条件的情况下,下一时间步自行车n在当前车道及其左右两侧车道的速度,然后比较各车道速度大小,选择速度最大的车道作为行驶车道;不同的交通状况对应的车速计算规则不相同,需要根据不同的交通状况分别对车速计算规则进行定义;Deceleration: First, calculate the speed of bicycle n in the current lane and the lanes on its left and right sides in the next time step while meeting safety conditions. Then compare the speeds of each lane and select the lane with the highest speed as the driving lane. Different traffic conditions correspond to different speed calculation rules, and the speed calculation rules need to be defined according to different traffic conditions. 当无逆行行为时,下一时间步自行车n在当前车道及其左右两侧车道的速度计算公式如下:When there is no retrograde behavior, the speed calculation formula of bicycle n in the current lane and the lanes on its left and right sides in the next time step is as follows:
Figure FDA0004088557290000021
Figure FDA0004088557290000021
Figure FDA0004088557290000022
Figure FDA0004088557290000022
Figure FDA0004088557290000023
Figure FDA0004088557290000023
其中,vn(t+1)为t+1时刻自行车n的速度,
Figure FDA0004088557290000024
为t时刻自行车n与前方自行车ncf的距离,
Figure FDA0004088557290000025
为t时刻自行车n的左侧车道;
Figure FDA0004088557290000026
为t时刻自行车n与左后方自行车nlb的距离,
Figure FDA0004088557290000027
时刻自行车n左后方自行车nlb的速度,
Figure FDA0004088557290000028
为t时刻自行车n与左前方自行车nlf的距离,
Figure FDA0004088557290000029
为t时刻自行车n的右侧车道,
Figure FDA00040885572900000210
时刻自行车n与右后方自行车nrb的距离,
Figure FDA00040885572900000211
为t+1时刻自行车n右后方自行车nrb的速度,
Figure FDA00040885572900000212
为t时刻自行车n与右前方自行车nrf的距离;
Where v n (t+1) is the speed of bicycle n at time t+1,
Figure FDA0004088557290000024
is the distance between bicycle n and the bicycle n cf in front at time t,
Figure FDA0004088557290000025
is the left lane for bicycle n at time t;
Figure FDA0004088557290000026
is the distance between bicycle n and the bicycle n lb behind it at time t,
Figure FDA0004088557290000027
The speed of bicycle n lb behind bicycle n at the moment,
Figure FDA0004088557290000028
is the distance between bicycle n and the bicycle n lf in front of it on the left at time t,
Figure FDA0004088557290000029
is the right lane for bicycle n at time t,
Figure FDA00040885572900000210
The distance between bicycle n and the bicycle n rb behind it at the moment,
Figure FDA00040885572900000211
is the speed of bicycle n rb behind bicycle n at time t+1,
Figure FDA00040885572900000212
is the distance between bicycle n and the bicycle n rf in front of it at time t;
当有逆行行为时,自行车n在骑行过程中可能遇到对向行驶的车辆,在计算下一时间步自行车n在当前车道及其左右两侧车道的速度时需要考虑自行车的行驶方向;模型中定义两个安全距离参数d1、d2,其中d1>d2,当自行车n与前方自行车ncf的距离小于d1时,为方便对向车辆通过,设定车辆不会再进入其左侧车道,即:
Figure FDA0004088557290000031
当两车间距小于d2时,为避免冲突发生,此时车辆需向右侧车道换道行驶,若换道无法完成,则停止运动等待换道,即:
Figure FDA0004088557290000032
When there is a wrong-way behavior, bicycle n may encounter vehicles traveling in the opposite direction during riding. The direction of the bicycle needs to be considered when calculating the speed of bicycle n in the current lane and the lanes on its left and right sides at the next time step. Two safety distance parameters d 1 and d 2 are defined in the model, where d 1 >d 2 . When the distance between bicycle n and the bicycle n cf in front is less than d 1 , in order to facilitate the passage of the oncoming vehicle, it is assumed that the vehicle will not enter its left lane again, that is:
Figure FDA0004088557290000031
When the distance between the two vehicles is less than d 2 , in order to avoid conflict, the vehicle needs to change lanes to the right lane. If the lane change cannot be completed, the vehicle stops moving and waits for the lane change, that is:
Figure FDA0004088557290000032
下一时间步自行车n在当前车道及其左右两侧车道的速度计算公式如下:The speed calculation formula of bicycle n in the current lane and the lanes on its left and right sides at the next time step is as follows:
Figure FDA0004088557290000041
Figure FDA0004088557290000041
Figure FDA0004088557290000042
Figure FDA0004088557290000042
Figure FDA0004088557290000043
Figure FDA0004088557290000043
公式中,
Figure FDA0004088557290000044
表示t时刻自行车n与其左后方自行车n1b行驶方向相同;
Figure FDA0004088557290000045
表示t时刻自行车n与其右后方自行车nrb行驶方向相同;
Figure FDA0004088557290000046
表示t时刻自行车n与其前方自行车ncf行驶方向相反;
In the formula,
Figure FDA0004088557290000044
It means that at time t, bicycle n and bicycle n 1b behind it on the left are traveling in the same direction;
Figure FDA0004088557290000045
It means that at time t, bicycle n and bicycle n rb behind it on the right are traveling in the same direction;
Figure FDA0004088557290000046
It means that at time t, bicycle n and bicycle n cf in front of it are traveling in opposite directions;
在确定自行车在当前车道以及左右两侧车道的速度后,比较各车道所能达到的最大速度,由此确定下一时间步的行驶车道Ln(t+1),其运算规则如下:After determining the speed of the bicycle in the current lane and the lanes on the left and right sides, compare the maximum speeds that can be achieved in each lane to determine the driving lane Ln (t+1) for the next time step. The calculation rules are as follows: 如果
Figure FDA0004088557290000051
if
Figure FDA0004088557290000051
那么
Figure FDA0004088557290000052
So
Figure FDA0004088557290000052
如果
Figure FDA0004088557290000053
if
Figure FDA0004088557290000053
那么
Figure FDA0004088557290000054
So
Figure FDA0004088557290000054
如果
Figure FDA0004088557290000055
if
Figure FDA0004088557290000055
那么
Figure FDA0004088557290000056
So
Figure FDA0004088557290000056
2.如权利要求1所述的基于逆行行为的混合自行车流微观建模方法,其特征在于,自行车加速运行规则为:骑行过程中骑行者期望以最大速度行驶,即vn(t+1)=min{vn(t)+an,vnmax},其中,vn(t)为t时刻自行车n的速度,vn(t+1)为t+1时刻自行车n的速度,an为自行车n的加速度,vnmax为自行车n的最大速度。2. The mixed bicycle flow microscopic modeling method based on retrograde behavior as claimed in claim 1 is characterized in that the bicycle acceleration operation rule is: during riding, the rider expects to travel at the maximum speed, that is, vn (t+1)=min{ vn (t)+a n , vnmax }, wherein vn (t) is the speed of bicycle n at time t, vn (t+1) is the speed of bicycle n at time t+1, a n is the acceleration of bicycle n, and vnmax is the maximum speed of bicycle n. 3.如权利要求2所述的基于逆行行为的混合自行车流微观建模方法,其特征在于,首先计算出在满足安全条件的情况下,下一时间步自行车在当前车道及其左右两侧车道的速度,然后比较各车道速度大小,选择速度最大的车道作为行驶车道。3. The mixed bicycle flow microscopic modeling method based on retrograde behavior as claimed in claim 2 is characterized in that the speed of the bicycle in the current lane and the lanes on its left and right sides in the next time step is calculated under the condition that the safety condition is met, and then the speeds of the lanes are compared, and the lane with the largest speed is selected as the driving lane. 4.如权利要求3所述的基于逆行行为的混合自行车流微观建模方法,其特征在于,随机慢化运行规则为:自行车随机慢化概率为P,当满足随机慢化条件时,自行车减速,即vn(t+1)=max{vn(t+1)-1,0}。4. The microscopic modeling method of mixed bicycle flow based on retrograde behavior as claimed in claim 3 is characterized in that the random slowing-down operation rule is: the random slowing-down probability of a bicycle is P, and when the random slowing-down condition is met, the bicycle slows down, that is, v n (t+1)=max{v n (t+1)-1,0}. 5.如权利要求4所述的基于逆行行为的混合自行车流微观建模方法,其特征在于,位置更新运行规则为:自行车以更新后的速度向前行驶,即xn(t+1)=xn(t)+vn(t+1),其中,xn(t)为t时刻自行车n的位置,xn(t+1)为t+1时刻自行车n的位置。5. The mixed bicycle flow microscopic modeling method based on retrograde behavior as claimed in claim 4 is characterized in that the position update operation rule is: the bicycle moves forward at the updated speed, that is, xn (t+1)= xn (t)+ vn (t+1), wherein xn (t) is the position of bicycle n at time t, and xn (t+1) is the position of bicycle n at time t+1.
CN202111544059.3A 2021-12-16 2021-12-16 Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior Active CN114239272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111544059.3A CN114239272B (en) 2021-12-16 2021-12-16 Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111544059.3A CN114239272B (en) 2021-12-16 2021-12-16 Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior

Publications (2)

Publication Number Publication Date
CN114239272A CN114239272A (en) 2022-03-25
CN114239272B true CN114239272B (en) 2023-03-28

Family

ID=80757071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111544059.3A Active CN114239272B (en) 2021-12-16 2021-12-16 Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior

Country Status (1)

Country Link
CN (1) CN114239272B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115158320A (en) * 2022-08-11 2022-10-11 小米汽车科技有限公司 Vehicle control method and device, vehicle and readable storage medium
CN117079451B (en) * 2023-07-11 2024-04-19 清华大学 Control method and device for mixed traffic system in urban continuous intersection scenario

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472271A (en) * 2019-07-01 2019-11-19 电子科技大学 A kind of non-motorized lane Mixed contact construction method of microscopic traffic simulation
CN113204863A (en) * 2021-04-09 2021-08-03 燕山大学 Manual-CACC automatic driving vehicle mixed flow simulation method based on cellular automata

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2354940A1 (en) * 2010-02-01 2011-08-10 Siemens Aktiengesellschaft Calibration of stream models and stream simulation tools
CN104809554B (en) * 2015-04-21 2017-11-07 华南理工大学 A kind of DSS and method towards road traffic accident emergency disposal
CN106898143A (en) * 2017-04-10 2017-06-27 合肥学院 A kind of magnitude of traffic flow modeling method of pilotless automobile
CN108932855A (en) * 2017-05-22 2018-12-04 阿里巴巴集团控股有限公司 Road traffic control system, method and electronic equipment
CN110178167B (en) * 2018-06-27 2022-06-21 潍坊学院 Video Recognition Method of Intersection Violation Based on Camera Cooperative Relay
CN113010967B (en) * 2021-04-22 2022-07-01 吉林大学 Intelligent automobile in-loop simulation test method based on mixed traffic flow model

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472271A (en) * 2019-07-01 2019-11-19 电子科技大学 A kind of non-motorized lane Mixed contact construction method of microscopic traffic simulation
CN113204863A (en) * 2021-04-09 2021-08-03 燕山大学 Manual-CACC automatic driving vehicle mixed flow simulation method based on cellular automata

Also Published As

Publication number Publication date
CN114239272A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN114239272B (en) Hybrid bicycle flow microscopic modeling method and device based on retrograde behavior
CN105035090B (en) Autonomous land vehicle trajectory predictions control method based on traffic lights
CN105976621B (en) It is a kind of to guide the not parking device and method by intersection of vehicle based on car speed induction strategies
CN114023108B (en) A mixed traffic flow lane change model and lane change simulation method
Zhao et al. Cellular automata model for Urban Road traffic flow Considering Internet of Vehicles and emergency vehicles
CN106652564A (en) Traffic flow cellular automaton modeling method under car networking environment
CN103225246B (en) Method for confirming optimal distance of weaving sections of large hub interchanges
CN103456169A (en) Urban road intersection holographic three-dimensional dynamic analysis method
CN115497315B (en) A dynamic bus lane energy-saving optimization control method in a vehicle-road collaborative environment
CN108182812B (en) Urban road intersection ecological driving behavior optimization method based on reinforcement learning
CN110363986A (en) A centralized vehicle speed optimization method in the merge area based on vehicle-vehicle game and driving potential force
Zhao et al. Cellular automata model under Kerner’s framework of three-phase traffic theory considering the effect of forward–backward vehicles in internet of vehicles
CN110472271A (en) A kind of non-motorized lane Mixed contact construction method of microscopic traffic simulation
CN111932910A (en) Real-time dynamic variable lane safety control method under intelligent vehicle-road cooperative environment
CN106530691A (en) Hybrid vehicle model multilane cellular automaton model considering vehicle occupancy space
CN112365714A (en) Traffic signal control method for intersection of intelligent rail passing main branch road
CN114299755A (en) A method of changing lanes in an intelligent networked queue
CN103456181A (en) Improved MULTIBAND main line coordination control method
CN114582142A (en) Intersection vehicle running state modeling method and system with variable lanes
Huang et al. Cooperative multi-intersection traffic signal control based on deep reinforcement learning
CN105109487B (en) A method for optimizing vehicle speed for efficient running of vehicles
CN114863681B (en) Vehicle track optimization method for conflict elimination of main line entrance ramp confluence area
CN108572651A (en) A kind of automatic driving vehicle that intelligence degree is high
Echab et al. Effect of connected and autonomous vehicles on traffic flow at a bidirectional road
CN115171388A (en) Multi-intersection travel time collaborative optimization method for intelligent internet vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Chen Liang

Inventor after: Wei Zhonghua

Inventor after: Huang Wenjia

Inventor before: Wei Zhonghua

Inventor before: Huang Wenjia

Inventor before: Chen Liang