CN106408960A - Signal control time period dividing method based on ordered clustering - Google Patents
Signal control time period dividing method based on ordered clustering Download PDFInfo
- Publication number
- CN106408960A CN106408960A CN201610924283.8A CN201610924283A CN106408960A CN 106408960 A CN106408960 A CN 106408960A CN 201610924283 A CN201610924283 A CN 201610924283A CN 106408960 A CN106408960 A CN 106408960A
- Authority
- CN
- China
- Prior art keywords
- class
- data
- value
- error function
- divided
- 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.)
- Pending
Links
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a signal control time period dividing method based on ordered clustering. The signal control time period dividing method utilizes regular fluctuations of actual sequences of a traffic flow, and performs division and clustering on time sequences with high similarities, so as to obtain reasonable division of traffic time periods and define a traffic control time period dividing scheme. The signal control time period dividing method based on ordered clustering realizes automatic optimization of number of intersection signal control time periods, thereby achieving reasonable grouping of the traffic flow.
Description
Technical field
The present invention relates to a kind of orderly cluster method of signal control time segmentation, can be with Automatic Optimal clusters number and defeated
Go out splitting scheme, provide for timing controlled at times and support, belong to traffic control research field.
Background technology
Although majority signal control system is provided with adaptive control function, it is limited to the constraint of information integrity, timesharing
The fixed signal of section controls one of control mode being still most commonly seen.Adopting currently for the segmentation of control time more
Traditional clustering method, according to the attribute of flow itself, mathematically according to certain similitude or otherness index, quantitative description
Close and distant relation between sample, and by this close and distant degree, cluster analysis is completed to sample, namely Time segments division.Existing method is deposited
Not enough as follows:It is unable to the rational clusters number of Automatic Optimal, preferred plan can only be sought by way of enumerating, its method
Time complexity is very big.It is therefore proposed that a kind of time complexity is little and method that can automatically export clusters number and scheme is inevitable
The speed of Time segments division and the reliability of result can be greatly promoted, controlling for multi-period fixed signal provides technical support.
Content of the invention
It is an object of the invention to realizing the Automatic Optimal of integrative design intersection fixed number and concrete scheme, it is basic
Thought is:Using the regular fluctuation of the actual sequence of the magnitude of traffic flow, time series higher for similitude is carried out segmentation cluster, from
And obtain the classifying rationally of traffic slot, define traffic control Time segments division scheme.
The basic step of the present invention is as follows:
C1, set cluster number be k, calculating different value of K in the case of each class diameter;
Error function in the case of c2, design different value of K;
Error recursion value in the case of c3, calculating different value of K;
C4, cluster numbers k are determined by error amount in the case of different value of Kop;
C5, according to kopObtain optimal classification scheme with error function.
The process of step c1 includes:
C11, the traffic statistics interval of intersection are generally fixing period T, usually 5 minutes, 10 minutes or 15 minutes;
Assume that the data on flows of a day has n data sample, then
C12, one day n ordered data sample is made to be followed successively by Z1,Z2,…,Zn, the data sample that class G comprises has { Zi,
Zi+1,…,Zj}(j>I), i.e. G={ i, i+1 ..., j }, calculates such diameter D (i, j)
1. calculate such class average
In formula:Average for class G;T numbers for seasonal effect in time series;ZtFlow value corresponding to the sequence samples t time.
2. calculate the diameter of each class, i.e. sum of squares of deviations in class:
In formula:D (i, j) is the distance between i-th, j section;T is the time;ZtStream corresponding to the sequence samples t time
Value;Average for class G;Weigh the sum of squares of deviations of each class by calculated diameter, for representing data difference DRS in class
Degree, numerical value is less to represent that difference is less.
The process of step c2 includes:
C21, calculating cluster sum are error function during k, remember that concrete sorting technique is:
G1={ i1,i1+1,…,i2-1}
G2={ i2,i2+1,…,i3-1}
…
Gk={ ik,ik+1,…,n}
Wherein branch is 1=i1<i2<…<ik<N=ik+1- 1 (i.e. n+1=ik+1).
Its error function expresses formula:
In formula:K is cluster numbers;B (n, k) is a certain sorting technique that n data is divided into k class;L [b (n, k)] is n
Data is divided into the error function of k class;T numbers for time series;D(it,it+1- 1) it is i-thtWith it+1The distance value of -1 data, meter
Calculate error function, for the classification of optimal recurrence.
The process of step c3 includes:
C31, calculation error function recursion value, and record the position j of optimal partition point;
In formula:P (n, k) is that n data is divided into k class to make error function reach the sorting technique of minimum;L [p (n, 2)] is n
The data on flows of individual section is divided into the error function of 2 classes;L [p (n, k)] is that the data on flows of n section is divided into the error letter of k class
Number;D (j, n) is the diameter between jth and n data;Work as n, when k is fixing, L [p (n, k)] is less, represent the deviation of all classes
Quadratic sum is minimum, and classification is rationally.Therefore, understand that calculating n sample is divided into the error function of k class to reach minimum by stepping type, then
J-1 sample of calculating is needed to be divided into the error function of k-1 class to reach minimum, by that analogy.
The process of step c4 includes:
C41, make the tendency chart that L [p (n, k)] changes with k, as shown in Figure 2;
C42, searched out k value corresponding to maximum flex point by tendency chart as preferable clustering number kop;
1. calculate the rate of change of error corresponding to any two adjacent k value:
2. the slope difference before and after calculating, obtains front difference diff1, rear difference diff2Value:
C43, utilize front difference diff1With rear difference diff2Ratio be worth to decision diagram maximum flex point, that is,:
K value when c44, diff value is maximum is optimal cluster number kop.
The process of step c5 includes:
C51, according to kopObtain optimal segmentation scheme with error function:
N data sample is divided into kopThe optimum segmentation of class is divided into k it should set up in j-1 sampleopThe optimal sorting of -1 class
On the basis of cutting, by that analogy.Using the error recurrence function calculating, the position j with record optimal partition point, respectively obtain poly-
For 2,3 ... kopSegmentation situation during class.
Beneficial effects of the present invention:The present invention proposes a kind of signal control time dividing method based on orderly cluster,
Using the regular fluctuation of the actual sequence of the magnitude of traffic flow, time series higher for similitude is clustered, realize intersecting message
The Automatic Optimal of number control time number, thus obtaining the reasonable packet of the magnitude of traffic flow, defines traffic control Time segments division with this
Scheme.
Brief description
Fig. 1 algorithm realizes process flow diagram flow chart;
Fig. 2 preferable clustering number number k tendency chart;
Fig. 3 sequence data cluster result figure.
Specific embodiment
, data is split, sees Fig. 1 taking certain 24 hours flow in city intersection sky as a example.
1st, the number setting class is as k, the diameter of each class in the case of calculating different value of K;
The data on flows of (1) one day has 1440 data samples;When the traffic statistics interval of intersection is generally fixing
Section T, this fixation period is taken as 5 minutes.
(2) remember that one day 288 Ordered Sample time flow point is followed successively by { Z1,Z2,…,Zn, class GiComprising sample has { Zi,
Zi+1,…,Zj}(j>I), remember Gi=i, i+1 ..., j };
1. calculate each class average
2. calculate the diameter of each class;
2nd, the error function in the case of calculating different value of K;
(1) calculate cluster sum for error during k;
Remember that concrete sorting technique is:
G1={ i1,i1+1,…,i2-1}
G2={ i2,i2+1,…,i3-1}
…
Gk={ ik,ik+1,…,n}
Wherein branch is 1=i1<i2<…<ik<N=ik+1-1.Its error function expresses formula:
3rd, calculate different value of K in the case of error function recurrence formula;
(1) calculation error function recurrence formula, and record taken point position j;
4th, cluster numbers k are determined by error function;
(1) make the tendency chart that L [p (n, 2)] changes with k, as shown in Figure 2;
(2) the k value corresponding to maximum flex point is searched out by tendency chart;
1. calculate the rate of change of error corresponding to any two adjacent k value:
2. the slope difference before and after calculating, obtains front difference diff1, rear difference diff2Value:
3. utilize front difference diff1With rear difference diff2Ratio be worth to decision diagram maximum flex point, that is,:
4. k value when diff value is maximum is optimal cluster number kop.
5th, according to kopObtain optimal cluster segmentation with error function.
(1) according to kopObtain optimal cluster segmentation with error function:
N data sample is divided into kopThe optimum segmentation of class is divided into k it should set up in j-1 sampleopThe optimal sorting of -1 class
On the basis of cutting, by that analogy.Using the error recurrence function calculating, the position j with record optimal partition point, respectively obtain poly-
For 2,3 ... kopSegmentation situation during class, as shown in Figure 3.
Claims (6)
1. the signal control time dividing method based on orderly cluster is it is characterised in that the method comprises the following steps:
C1, set cluster number be k, calculating different value of K in the case of each class diameter;
Error function in the case of c2, design different value of K;
Error recursion value in the case of c3, calculating different value of K;
C4, cluster numbers k are determined by error amount in the case of different value of Kop;
C5, according to kopObtain optimal classification scheme with error function.
2. the signal control time dividing method based on orderly cluster according to claim 1 it is characterised in that:Step c1
Specifically:
C11, the traffic statistics interval of intersection, using fixing period T, are 5 minutes, 10 minutes or 15 minutes;Assume one day
Data on flows has n data sample, then
C12, one day n ordered data sample is made to be followed successively by Z1,Z2,…,Zn, class GiThe data sample comprising has { Zi,Zi+1,…,
Zj}(j>I), i.e. Gi=i, i+1 ..., and j }, calculate such diameter D (i, j)
1. calculate the class average of each class
In formula:For class GiAverage;T numbers for seasonal effect in time series;ZtFlow value corresponding to the sequence samples t time;
2. calculate the diameter of each class, i.e. sum of squares of deviations in class:
In formula:D (i, j) is the distance between i-th, j section;T is the time;ZtFlow value corresponding to the sequence samples t time;For class GiAverage;Weigh the sum of squares of deviations of each class by calculated diameter, for representing data difference degree in class,
Numerical value is less to represent that difference is less.
3. the signal control time dividing method based on orderly cluster according to claim 2 it is characterised in that:Step c2
Specifically:
C21, calculating cluster sum are error function during k, and note is specifically categorized as:
G1={ i1,i1+1,…,i2-1}
G2={ i2,i2+1,…,i3-1}
…
Gk={ ik,ik+1,…,n}
Wherein branch is 1=i1<i2<…<ik<N=ik+1- 1 (i.e. n+1=ik+1);
Its error function expresses formula:
In formula:K is cluster numbers;B (n, k) is a certain sorting technique that n data is divided into k class;L [b (n, k)] is n data
It is divided into the error function of k class;T numbers for time series;D(it,it+1- 1) it is i-thtWith it+1The distance value of -1 data, calculates by mistake
Difference function, for the classification of optimal recurrence.
4. the signal control time dividing method based on orderly cluster according to claim 3 it is characterised in that:Step c3
Specifically:
C31, calculation error function recursion value, and record the position j of optimal partition point;
In formula:P (n, k) is that n data is divided into k class to make error function reach the sorting technique of minimum;L [p (n, 2)] is n area
The data on flows of section is divided into the error function of 2 classes;L [p (n, k)] is that the data on flows of n section is divided into the error function of k class;D
(j, n) is the diameter between jth and n data;Work as n, when k is fixing, L [p (n, k)] is less, represent the deviation square of all classes
And minimum, classification is rationally;Therefore, calculating n sample is divided into the error function of k class to reach minimum, then need to calculate j-1 sample
The error function being divided into k-1 class reaches minimum, by that analogy.
5. the signal control time dividing method based on orderly cluster according to claim 4 it is characterised in that:Step c4
Specifically:
C41, make the tendency chart that L [p (n, k)] changes with k;
C42, searched out k value corresponding to maximum flex point by tendency chart as preferable clustering number kop;
1. calculate the rate of change of error corresponding to any two adjacent k value:
2. the slope difference before and after calculating, obtains front difference diff1, rear difference diff2Value:
C43, utilize front difference diff1With rear difference diff2Ratio be worth to decision diagram maximum flex point, that is,:
K value when c44, diff value is maximum is optimal cluster number kop.
6. the signal control time dividing method based on orderly cluster according to claim 5 it is characterised in that:Step c5
Specifically:
N data sample is divided into kopThe optimum segmentation of class is divided into k it should set up in j-1 sampleopThe base of the optimum segmentation of -1 class
On plinth, by that analogy;Using the error recurrence function calculating, the position j with record optimal partition point, respectively obtain gather for 2,
3……kopSegmentation situation during class.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610924283.8A CN106408960A (en) | 2016-10-29 | 2016-10-29 | Signal control time period dividing method based on ordered clustering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610924283.8A CN106408960A (en) | 2016-10-29 | 2016-10-29 | Signal control time period dividing method based on ordered clustering |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106408960A true CN106408960A (en) | 2017-02-15 |
Family
ID=58013610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610924283.8A Pending CN106408960A (en) | 2016-10-29 | 2016-10-29 | Signal control time period dividing method based on ordered clustering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106408960A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107833463A (en) * | 2017-10-25 | 2018-03-23 | 上海应用技术大学 | Traffic signals Time segments division method and system based on two dimension cluster |
CN108053661A (en) * | 2017-12-19 | 2018-05-18 | 青岛海信网络科技股份有限公司 | A kind of method and device of traffic control |
CN108615375A (en) * | 2018-05-28 | 2018-10-02 | 安徽畅通行交通信息服务有限公司 | A kind of intersection signal timing Time segments division method |
CN109871412A (en) * | 2018-12-26 | 2019-06-11 | 航天科工广信智能技术有限公司 | Lane flow analysis method based on K-Means cluster |
CN109887293A (en) * | 2019-04-04 | 2019-06-14 | 中电海康集团有限公司 | A kind of integrative design intersection Time segments division method |
CN110443455A (en) * | 2019-07-04 | 2019-11-12 | 安徽富煌科技股份有限公司 | A kind of crest segment partitioning algorithm based on passenger flow data |
CN110930695A (en) * | 2019-11-07 | 2020-03-27 | 深圳大学 | Urban intersection signal control time interval dividing method and system based on Poisson distribution |
CN111192465A (en) * | 2020-01-07 | 2020-05-22 | 上海宝康电子控制工程有限公司 | Method for realizing signal timing scheme group division processing based on flow data |
CN111627209A (en) * | 2020-05-29 | 2020-09-04 | 青岛大学 | Traffic flow data clustering and compensating method and equipment |
CN113034940A (en) * | 2019-12-25 | 2021-06-25 | 中国航天***工程有限公司 | Fisher ordered clustering-based single-point signalized intersection optimization timing method |
CN114419889A (en) * | 2022-01-24 | 2022-04-29 | 上海商汤智能科技有限公司 | Time interval dividing method and device, electronic equipment and storage medium |
CN115019524A (en) * | 2022-05-12 | 2022-09-06 | 浙江大华技术股份有限公司 | Traffic control time interval dividing method, device, equipment and storage medium |
CN115512543A (en) * | 2022-09-21 | 2022-12-23 | 浙江大学 | Vehicle path chain reconstruction method based on deep reverse reinforcement learning |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655847A (en) * | 2008-08-22 | 2010-02-24 | 山东省计算中心 | Expansive entropy information bottleneck principle based clustering method |
CN105702029A (en) * | 2016-02-22 | 2016-06-22 | 北京航空航天大学 | Express way traffic state prediction method taking spatial-temporal correlation into account at different times |
-
2016
- 2016-10-29 CN CN201610924283.8A patent/CN106408960A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655847A (en) * | 2008-08-22 | 2010-02-24 | 山东省计算中心 | Expansive entropy information bottleneck principle based clustering method |
CN105702029A (en) * | 2016-02-22 | 2016-06-22 | 北京航空航天大学 | Express way traffic state prediction method taking spatial-temporal correlation into account at different times |
Non-Patent Citations (3)
Title |
---|
曹成涛等: "基于时段自动划分的交叉口混合控制方法", 《科学技术与工程》 * |
肖华刚: "基于客流数据挖掘的公交时刻表编制研究", 《万方数据知识服务平台》 * |
赵伟明: "面向交通控制的时段划分与子区划分", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107833463B (en) * | 2017-10-25 | 2020-05-12 | 上海应用技术大学 | Traffic signal time interval division method and system based on two-dimensional clustering |
CN107833463A (en) * | 2017-10-25 | 2018-03-23 | 上海应用技术大学 | Traffic signals Time segments division method and system based on two dimension cluster |
CN108053661A (en) * | 2017-12-19 | 2018-05-18 | 青岛海信网络科技股份有限公司 | A kind of method and device of traffic control |
CN108615375B (en) * | 2018-05-28 | 2021-02-05 | 安徽畅通行交通信息服务有限公司 | Intersection signal timing time interval dividing method |
CN108615375A (en) * | 2018-05-28 | 2018-10-02 | 安徽畅通行交通信息服务有限公司 | A kind of intersection signal timing Time segments division method |
CN109871412A (en) * | 2018-12-26 | 2019-06-11 | 航天科工广信智能技术有限公司 | Lane flow analysis method based on K-Means cluster |
CN109887293A (en) * | 2019-04-04 | 2019-06-14 | 中电海康集团有限公司 | A kind of integrative design intersection Time segments division method |
CN110443455A (en) * | 2019-07-04 | 2019-11-12 | 安徽富煌科技股份有限公司 | A kind of crest segment partitioning algorithm based on passenger flow data |
CN110930695A (en) * | 2019-11-07 | 2020-03-27 | 深圳大学 | Urban intersection signal control time interval dividing method and system based on Poisson distribution |
CN113034940A (en) * | 2019-12-25 | 2021-06-25 | 中国航天***工程有限公司 | Fisher ordered clustering-based single-point signalized intersection optimization timing method |
CN111192465A (en) * | 2020-01-07 | 2020-05-22 | 上海宝康电子控制工程有限公司 | Method for realizing signal timing scheme group division processing based on flow data |
CN111627209A (en) * | 2020-05-29 | 2020-09-04 | 青岛大学 | Traffic flow data clustering and compensating method and equipment |
CN114419889A (en) * | 2022-01-24 | 2022-04-29 | 上海商汤智能科技有限公司 | Time interval dividing method and device, electronic equipment and storage medium |
CN115019524A (en) * | 2022-05-12 | 2022-09-06 | 浙江大华技术股份有限公司 | Traffic control time interval dividing method, device, equipment and storage medium |
CN115512543A (en) * | 2022-09-21 | 2022-12-23 | 浙江大学 | Vehicle path chain reconstruction method based on deep reverse reinforcement learning |
CN115512543B (en) * | 2022-09-21 | 2023-11-28 | 浙江大学 | Vehicle path chain reconstruction method based on deep reverse reinforcement learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106408960A (en) | Signal control time period dividing method based on ordered clustering | |
CN106408939B (en) | Magnitude of traffic flow sequence division methods based on density peaks cluster | |
CN103747523B (en) | A kind of customer location forecasting system and method based on wireless network | |
CN110276966B (en) | Intersection signal control time interval dividing method | |
CN105069134B (en) | A kind of automatic collection method of Oracle statistical informations | |
CN105243388B (en) | Waveform classification based on dynamic time warping and partitioning algorithm | |
CN106846538A (en) | Cross car record treating method and apparatus | |
CN104183119B (en) | Based on the anti-arithmetic for real-time traffic flow distribution forecasting method pushed away of section OD | |
CN105631003B (en) | Support intelligent index construct, inquiry and the maintaining method of mass data classified statistic | |
CN103731916B (en) | A kind of customer location forecasting system and method based on wireless network | |
CN105335752A (en) | Principal component analysis multivariable decision-making tree-based connection manner identification method | |
CN104239213A (en) | Two-stage scheduling method of parallel test tasks facing spacecraft automation test | |
CN108615361A (en) | Crossing control time division methods and system based on multidimensional time-series segmentation | |
CN110503245A (en) | A kind of prediction technique of air station flight large area risk of time delay | |
CN106898142B (en) | A kind of path forms time reliability degree calculation method considering section correlation | |
CN111105628A (en) | Parking lot portrait construction method and device | |
CN107544251A (en) | A kind of minimum based on Robust distributed model always drags the Single Machine Scheduling method of phase | |
CN105808582A (en) | Parallel generation method and device of decision tree on the basis of layered strategy | |
CN105469219A (en) | Method for processing power load data based on decision tree | |
CN106251260A (en) | A kind of candidates' aspiration makes a report on analog systems and method | |
CN109982361A (en) | Signal interference analysis method, device, equipment and medium | |
CN109034187A (en) | A kind of subscriber household work address excavation process | |
CN107657838B (en) | Method for extracting parameter index in air traffic flow characteristic parameter index system | |
CN105631465A (en) | Density peak-based high-efficiency hierarchical clustering method | |
CN106126727A (en) | A kind of big data processing method of commending system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170215 |
|
WD01 | Invention patent application deemed withdrawn after publication |