CN107665583B - Method for calculating lane saturation flow rate under different weather conditions - Google Patents
Method for calculating lane saturation flow rate under different weather conditions Download PDFInfo
- Publication number
- CN107665583B CN107665583B CN201711159974.4A CN201711159974A CN107665583B CN 107665583 B CN107665583 B CN 107665583B CN 201711159974 A CN201711159974 A CN 201711159974A CN 107665583 B CN107665583 B CN 107665583B
- Authority
- CN
- China
- Prior art keywords
- weather
- data
- lane
- headway
- snow
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0108—Measuring and analyzing of parameters relative to traffic conditions based on the source of data
- G08G1/0116—Measuring and analyzing of parameters relative to traffic conditions based on the source of data from roadside infrastructure, e.g. beacons
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
- G08G1/0129—Traffic data processing for creating historical data or processing based on historical data
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
- G08G1/08—Controlling traffic signals according to detected number or speed of vehicles
Abstract
The lane saturation flow rate calculation method based on the electronic police data provides an efficient and accurate method for collecting and processing intersection signal light timing data, provides good data support for intersection signal light timing optimization, plays an important role in improving the efficiency of an intersection signal timing scheme, has a very important significance for improving the running efficiency of a whole traffic system and the effect of urban traffic control implementation, and is used for recommending the headway and the saturation flow rate as important factors of a signal timing determination period, distinguishing the factors of sunny, rain, snow and the like, performing accurate data calibration on parameters according to a large amount of historical data, fully playing the role of big data on the calibration of the parameters, and providing a data basis for accurate scene type signal timing.
Description
Technical Field
The invention relates to the technical field of traffic, in particular to a method for calculating lane saturation flow rate under different weather conditions.
Background
The reasonable and scientific signal timing scheme can effectively improve the operation efficiency of the urban traffic system and solve the problem of urban traffic jam, the making of traffic management measures, traffic plans and signal control schemes under different weather conditions are made and adjusted manually according to experience, and scientific theoretical guidance and support of traffic flow theory are lacked, so that the traffic system is easy to cause paralysis under special weather, therefore, in order to reduce the influence of extreme severe weather on the operation of the urban traffic system and formulate a reasonable traffic management and control strategy, the traffic flow characteristic parameters under different weather conditions must be mastered, the lane saturation flow rate is the basic data of the traffic flow characteristic parameters, the saturation flow rate of the same lane is different under different weather conditions, so how to obtain accurate intersection lane saturation flow rate data is the key point for obtaining a reasonable intersection signal timing scheme.
Disclosure of Invention
The invention aims to provide a method for calculating the saturated flow rate of a lane under different weather conditions.
In order to achieve the technical purpose, the invention adopts the following technical scheme that the method for calculating the lane saturation flow rate under different weather conditions comprises the following steps:
s1, obtaining historical weather data, inquiring an air table to obtain historical weather data of the previous n days, classifying the historical weather into three categories of sunny weather, rainy weather and snowy weather, wherein the categories are classified according to the following configuration modes: 1) sunny: sunny, cloudy; 2) rain: light rain, medium rain, heavy rain; 3) snow: small snow, medium snow and big snow;
s2, traversing historical weather data to respectively obtain time corresponding to three groups of data of sunny, rainy and snowy, turning to S3 to obtain vehicle passing data corresponding to various types of weather, and if the weather time corresponding to the history is empty, performing no next processing and finishing the calculation;
s3, respectively checking a table according to the weather time of the sunny weather, the rain weather and the snow weather to obtain vehicle passing data stored in the electronic police data under the weather conditions of the sunny weather, the rain weather and the snow weather;
s4, sorting the vehicle passing data by taking the lane ID as a unit according to the time stamp, and calculating the Headway of each lane to be t2-t1, namely the absolute value of the time difference of two adjacent vehicle passing data so as to obtain the Headway under the weather conditions of fine weather, rain weather and snow weather;
s5, marking all the lane IDs acquired from the lane basic information table of the electronic police database as Unvisited;
s6, taking the lane ID marked as Unvisited in the step S5, marking the lane ID as visited, and entering the next step;
s7, grouping the headway data corresponding to the lane ID marked as the found in the step S6 according to weather, weather and snow, wherein the grouped headway data are provided with three groups, and the headway data under the three groups are used as (x) headway data1,x2,…,xn) To mark, (x)1,x2,…,xn) The headway data of the lane in the first n days of the step S1 under the conditions of sunny, rainy and snowy weather are sorted according to the time stamp of the step S4, and (x) under the conditions of sunny, rainy and snowy weather is calculated according to the headway data1,x2,…,xn) Respective mean M and variance S2Standard deviation S:
s8, according to the calculation result of the step S7, if M is>2, and S is greater than or equal to 0.5, then take max [ (x)n-M)2]Removing xnGo to step S7 to continue the calculation, if M ≧ 2, and S<0.5, go to step S9, if M<2, not processing and terminating the calculation;
s9, M is not less than 2 in step S8, and S<0.5, obtaining the optimal M after iteration, namely the recommended headway, and calculating the saturation flow rate S of the lane according to the optimal M, namely the recommended headway timei=3600/M。
S10, after the saturated flow rate of the lane marked as the visited in the step S7 is calculated according to the step S9, turning to the step S6 to continue to select a lane ID marked as the visited and calculate the saturated flow rate until all the lane IDs are marked as the visited, and storing the corresponding data in the corresponding database, and turning to the step S11 to finish the calculation process;
and S11, ending the calculation.
Preferably, the data in step S10 is stored in the following format:
name: lane ID, code: LANE _ ID, data type: VARCHAR2 (60);
name: lane direction, code: recovery, data type: VARCHAR2 (9);
name: timestamp, code: TIMESTAMP, data type: a NUMBER (13);
name: suggesting headway, and coding: BEST _ header, data type: NUMBER (5, 2);
name: head saturation flow rate, code: SA _ volume, data type: NUMBER (5);
name: weather code, code: WEATHER _ CODE, data type: VARCHAR2 (3);
name: setting method, code: SET _ WAY, data type: VARCHAR2 (3).
Preferably, the remark information of the lane direction is: 1 right, 2 left, 3 straight, 4 off.
Preferably, the remark information of the weather code is: clear 0, rain 1, snow 3.
Preferably, the remark information of the setting method is as follows: 0 manual setting and 1 system recommendation.
The lane saturation flow rate calculation method based on the electronic police data provides an efficient and accurate method for collecting and processing intersection signal light timing data, provides good data support for intersection signal light timing optimization, plays an important role in improving the efficiency of an intersection signal timing scheme, has a very important significance for improving the running efficiency of a whole traffic system and the effect of urban traffic control implementation, and is used for recommending the headway and the saturation flow rate as important factors of a signal timing determination period, distinguishing the factors of sunny, rain, snow and the like, performing accurate data calibration on parameters according to a large amount of historical data, fully playing the role of big data on the calibration of the parameters, and providing a data basis for accurate scene type signal timing.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise specified and limited, it is to be understood that the terms "mounted," "connected," and "connected" are used broadly and can be, for example, mechanically or electrically connected, or can be internal to two elements, directly connected, or indirectly connected through an intermediate medium. The specific meaning of the above terms can be understood by those of ordinary skill in the art as appropriate.
The following describes a method for calculating the lane saturation flow rate under different weather conditions according to an embodiment of the present invention with reference to fig. 1, including the following steps:
s1, obtaining historical weather data, inquiring an air table to obtain historical weather data of the previous n days, classifying the historical weather into three categories of sunny weather, rainy weather and snowy weather, wherein the categories are classified according to the following configuration modes: 1) sunny: sunny, cloudy; 2) rain: light rain, medium rain, heavy rain; 3) snow: small snow, medium snow and big snow;
s2, traversing historical weather data to respectively obtain time corresponding to three groups of data of sunny, rainy and snowy, turning to S3 to obtain vehicle passing data corresponding to various types of weather, and if the weather time corresponding to the history is empty, performing no next processing and finishing the calculation;
s3, respectively checking a table according to the weather time of the sunny weather, the rain weather and the snow weather to obtain vehicle passing data stored in the electronic police data under the weather conditions of the sunny weather, the rain weather and the snow weather;
s4, sorting the vehicle passing data by taking the lane ID as a unit according to the time stamp, and calculating the Headway of each lane to be t2-t1, namely the absolute value of the time difference of two adjacent vehicle passing data so as to obtain the Headway under the weather conditions of fine weather, rain weather and snow weather;
s5, marking all the lane IDs acquired from the lane basic information table of the electronic police database as Unvisited;
s6, taking the lane ID marked as Unvisited in the step S5, marking the lane ID as visited, and entering the next step;
s7, grouping the headway data corresponding to the lane ID marked as the found in the step S6 according to weather, weather and snow, wherein the grouped headway data are provided with three groups, and the headway data under the three groups are used as (x) headway data1,x2,…,xn) To mark, (x)1,x2,…,xn) The headway data of the lane in the first n days of the step S1 under the conditions of sunny, rainy and snowy weather are sorted according to the time stamp of the step S4, and (x) under the conditions of sunny, rainy and snowy weather is calculated according to the headway data1,x2,…,xn) Respective mean M and variance S2Standard deviation S:
s8, according to the calculation result of the step S7, if M is>2, and S is greater than or equal to 0.5, then take max [ (x)n-M)2]Removing xnGo to step S7 to continue the calculation, if M ≧ 2, and S<0.5, go to step S9, if M<2, not processing and terminating the calculation;
s9, M is not less than 2 in step S8, and S<0.5, obtaining the optimal M after iteration, namely the recommended headway, and calculating the saturation flow rate S of the lane according to the optimal M, namely the recommended headway timei=3600/M。
S10, after the saturated flow rate of the lane marked as the visited in the step S7 is calculated according to the step S9, turning to the step S6 to continue to select a lane ID marked as the visited and calculate the saturated flow rate until all the lane IDs are marked as the visited, and storing the corresponding data in the corresponding database, and turning to the step S11 to finish the calculation process;
and S11, ending the calculation.
Preferably, the data in step S10 is stored in the following format:
name: lane ID, code: LANE _ ID, data type: VARCHAR2 (60);
name: lane direction, code: recovery, data type: VARCHAR2 (9);
name: timestamp, code: TIMESTAMP, data type: a NUMBER (13);
name: suggesting headway, and coding: BEST _ header, data type: NUMBER (5, 2);
name: head saturation flow rate, code: SA _ volume, data type: NUMBER (5);
name: weather code, code: WEATHER _ CODE, data type: VARCHAR2 (3);
name: setting method, code: SET _ WAY, data type: VARCHAR2 (3).
Preferably, the remark information of the lane direction is: 1 right, 2 left, 3 straight, 4 off.
Preferably, the remark information of the weather code is: clear 0, rain 1, snow 3.
Preferably, the remark information of the setting method is as follows: 0 manual setting and 1 system recommendation.
The lane saturation flow rate calculation method based on the electronic police data provides an efficient and accurate method for collecting and processing intersection signal light timing data, provides good data support for intersection signal light timing optimization, plays an important role in improving the efficiency of an intersection signal timing scheme, has a very important significance for improving the running efficiency of a whole traffic system and the effect of urban traffic control implementation, and is used for recommending the headway and the saturation flow rate as important factors of a signal timing determination period, distinguishing the factors of sunny, rain, snow and the like, performing accurate data calibration on parameters according to a large amount of historical data, fully playing the role of big data on the calibration of the parameters, and providing a data basis for accurate scene type signal timing.
In the description herein, references to the description of "one embodiment," "an example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims (5)
1. A method for calculating the saturated flow rate of a lane under different weather conditions is characterized by comprising the following steps:
s1, obtaining historical weather data, inquiring an air table to obtain historical weather data of the previous n days, classifying the historical weather into three categories of sunny weather, rainy weather and snowy weather, wherein the categories are classified according to the following configuration modes: 1) sunny: sunny, cloudy; 2) rain: light rain, medium rain, heavy rain; 3) snow: small snow, medium snow and big snow;
s2, traversing historical weather data to respectively obtain time corresponding to three groups of data of sunny, rainy and snowy, turning to S3 to obtain vehicle passing data corresponding to various types of weather, and if the weather time corresponding to the history is empty, performing no next processing and finishing the calculation;
s3, respectively checking a table according to the weather time of the sunny weather, the rain weather and the snow weather to obtain vehicle passing data stored in the electronic police data under the weather conditions of the sunny weather, the rain weather and the snow weather;
s4, sorting the vehicle passing data by taking the lane ID as a unit according to the time stamp, and calculating the Headway of each lane to be t2-t1, namely the absolute value of the time difference of two adjacent vehicle passing data so as to obtain the Headway under the weather conditions of fine weather, rain weather and snow weather;
s5, marking all the lane IDs acquired from the lane basic information table of the electronic police database as Unvisited;
s6, taking the lane ID marked as Unvisited in the step S5, marking the lane ID as visited, and entering the next step;
s7, grouping the headway data corresponding to the lane ID marked as the found in the step S6 according to weather, weather and snow, wherein the grouped headway data are provided with three groups, and the headway data under the three groups are used as (x) headway data1,x2,…,xn) To mark, (x)1,x2,…,xn) The headway data of the lane in the first n days of the step S1 under the conditions of sunny, rainy and snowy weather are sorted according to the time stamp of the step S4, and (x) under the conditions of sunny, rainy and snowy weather is calculated according to the headway data1,x2,…,xn) Respective mean M and variance S2Standard deviation S:
s8, according to the calculation result of the step S7, if M is>2, and S is greater than or equal to 0.5, then take max [ (x)n-M)2]Removing xnGo to step S7 to continue the calculation, if M ≧ 2, and S<0.5, go to step S9, if M<2, not processing and terminating the calculation;
s9, M is not less than 2 in step S8, and S<0.5, obtaining the optimal M after iteration, namely the recommended headway, and calculating the saturation flow rate S of the lane according to the optimal M, namely the recommended headway timei=3600/M,
S10, after the saturated flow rate of the lane marked as the visited in the step S7 is calculated according to the step S9, turning to the step S6 to continue to select a lane ID marked as the visited and calculate the saturated flow rate until all the lane IDs are marked as the visited, and storing the corresponding data in the corresponding database, and turning to the step S11 to finish the calculation process;
and S11, ending the calculation.
2. The computing method according to claim 1, wherein the data in step S10 is stored in the following format:
name: lane ID, code: LANE _ ID, data type: VARCHAR2 (60);
name: lane direction, code: recovery, data type: VARCHAR2 (9);
name: timestamp, code: TIMESTAMP, data type: a NUMBER (13);
name: suggesting headway, and coding: BEST _ header, data type: NUMBER (5, 2);
name: head saturation flow rate, code: SA _ volume, data type: NUMBER (5);
name: weather code, code: WEATHER _ CODE, data type: VARCHAR2 (3);
name: setting method, code: SET _ WAY, data type: VARCHAR2 (3).
3. The calculation method according to claim 2, wherein the remark information in the lane direction is: 1 right, 2 left, 3 straight, 4 off.
4. The computing method of claim 2, wherein the remark information of the weather code is: clear 0, rain 1, snow 3.
5. The calculation method according to claim 2, wherein the remark information of the setting method is: 0 manual setting and 1 system recommendation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711159974.4A CN107665583B (en) | 2017-11-20 | 2017-11-20 | Method for calculating lane saturation flow rate under different weather conditions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711159974.4A CN107665583B (en) | 2017-11-20 | 2017-11-20 | Method for calculating lane saturation flow rate under different weather conditions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107665583A CN107665583A (en) | 2018-02-06 |
CN107665583B true CN107665583B (en) | 2021-07-02 |
Family
ID=61145307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711159974.4A Active CN107665583B (en) | 2017-11-20 | 2017-11-20 | Method for calculating lane saturation flow rate under different weather conditions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107665583B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109360419A (en) * | 2018-11-16 | 2019-02-19 | 浩鲸云计算科技股份有限公司 | A kind of calculation method of link flow alarm |
CN112037508B (en) * | 2020-08-13 | 2022-06-17 | 山东理工大学 | Intersection signal timing optimization method based on dynamic saturation flow rate |
CN112991787B (en) * | 2021-04-15 | 2023-04-28 | 吉林大学 | Intersection traffic signal optimization method and system in ice and snow weather |
CN113643531B (en) * | 2021-07-20 | 2022-09-20 | 东北大学 | Intersection lane saturation flow rate calculation method based on small time zone division statistics |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1441369A (en) * | 2002-02-27 | 2003-09-10 | 杨绍鹏 | Traffic control method and facilities |
CN101751782A (en) * | 2009-12-30 | 2010-06-23 | 北京大学深圳研究生院 | Crossroad traffic event automatic detection system based on multi-source information fusion |
CN106530720A (en) * | 2016-12-28 | 2017-03-22 | 吉林大学 | Highway road traffic safety dark-spot road recognition and early-warning method |
CN106652562A (en) * | 2017-02-09 | 2017-05-10 | 吉林大学 | Road traffic safety pre-warning method for expressway |
-
2017
- 2017-11-20 CN CN201711159974.4A patent/CN107665583B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1441369A (en) * | 2002-02-27 | 2003-09-10 | 杨绍鹏 | Traffic control method and facilities |
CN101751782A (en) * | 2009-12-30 | 2010-06-23 | 北京大学深圳研究生院 | Crossroad traffic event automatic detection system based on multi-source information fusion |
CN106530720A (en) * | 2016-12-28 | 2017-03-22 | 吉林大学 | Highway road traffic safety dark-spot road recognition and early-warning method |
CN106652562A (en) * | 2017-02-09 | 2017-05-10 | 吉林大学 | Road traffic safety pre-warning method for expressway |
Non-Patent Citations (2)
Title |
---|
不利天气条件下城市交叉口交通流特征参数研究;刘力力;《中国优秀硕士学位论文全文数据库(电子期刊)》;20140315;全文 * |
不同天气情况下的高速公路交通流特性研究;孙夕雄;《中国优秀硕士学位论文全文数据库(电子期刊)》;20150315;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107665583A (en) | 2018-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107665583B (en) | Method for calculating lane saturation flow rate under different weather conditions | |
CN110111592B (en) | Method for dynamically matching optimal signal timing scheme based on traffic signal controller | |
CN110728842B (en) | Abnormal driving early warning method based on reasonable driving range of vehicles at intersection | |
CN108109382B (en) | Congestion point, congestion line and congestion area discovery method based on composite network | |
CN112820108B (en) | Self-learning road network traffic state analysis and prediction method | |
CN104376327B (en) | A kind of clustering method of public bicycles lease point | |
CN109215350B (en) | Short-term traffic state prediction method based on RFID electronic license plate data | |
CN104036646B (en) | The division methods of intersection signal timing period | |
CN108802776B (en) | Bus GPS (global positioning system) deviation rectifying method based on abnormal point elimination and track compression algorithm | |
CN111932898B (en) | ETC portal system-based short-time flow prediction method | |
CN106920402A (en) | A kind of time series division methods and system based on the magnitude of traffic flow | |
CN102968900B (en) | Method for processing RFID (Radio Frequency Identification) traffic data | |
CN109887289A (en) | A kind of network vehicle flowrate maximization approach of urban traffic network model | |
CN102592495A (en) | Road estimation device and method for estimating road | |
CN110070734B (en) | Signalized intersection saturated headway estimation method based on Gaussian mixture model | |
CN108847042A (en) | A kind of traffic information dissemination method and device | |
CN110705484B (en) | Method for recognizing continuous lane change illegal behaviors by utilizing driving track | |
CN106250515A (en) | Miss path restoration methods based on historical data | |
CN107730892A (en) | A kind of traffic congestion index number evaluation method merged based on FCD with internet data | |
CN109816271A (en) | Cycle track service level evaluation method based on shared bicycle track data | |
CN105513356A (en) | OD matrix estimation method and OD matrix estimation system based on locus tracking | |
CN105574313A (en) | Road grade determining method and device | |
CN109887294B (en) | Road plane intersection traffic volume analysis method based on multi-source data fusion | |
CN109859475B (en) | Intersection signal control method, device and system based on DBSCAN density clustering | |
CN105489009A (en) | Tide lane identification method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 210012 room 627, Ning Shuang Road, Yuhuatai District, Nanjing, Jiangsu, 627 Applicant after: Ho whale cloud computing Polytron Technologies Inc Address before: 210012 No. 68 Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing Applicant before: ZTEsoft Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |