CN103500362B - A kind of urban road speed predicting method based on analysis of spectrum - Google Patents

A kind of urban road speed predicting method based on analysis of spectrum Download PDF

Info

Publication number
CN103500362B
CN103500362B CN201310390819.9A CN201310390819A CN103500362B CN 103500362 B CN103500362 B CN 103500362B CN 201310390819 A CN201310390819 A CN 201310390819A CN 103500362 B CN103500362 B CN 103500362B
Authority
CN
China
Prior art keywords
matrix
data
interval
days
road
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.)
Expired - Fee Related
Application number
CN201310390819.9A
Other languages
Chinese (zh)
Other versions
CN103500362A (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.)
Hangzhou Normal University
Original Assignee
Hangzhou Normal University
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 Hangzhou Normal University filed Critical Hangzhou Normal University
Priority to CN201310390819.9A priority Critical patent/CN103500362B/en
Publication of CN103500362A publication Critical patent/CN103500362A/en
Application granted granted Critical
Publication of CN103500362B publication Critical patent/CN103500362B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The present invention relates to a kind of urban road speed predicting method based on analysis of spectrum, including: a. collects the vehicle speed data that GPS collects;B. given data is utilized to select road speeds model parameter based on analysis of spectrum;C. according to the unknown road speeds of model formation prediction.Needed for the present invention has training pattern, historical data is relatively fewer, operation relative ease, parameter in model quickly can dynamically adjust with the change in section, period, can be suitably used for the section that traffic flow fluctuation is bigger, and the advantages such as preferable are mated with real road speed condition, improve accuracy and the reliability of prediction.

Description

A kind of urban road speed predicting method based on analysis of spectrum
Technical field
The present invention relates to a kind of urban road speed predicting method based on analysis of spectrum, belong to intelligent transportation system and grind Study carefully category.
Background technology
Urban highway traffic Forecasting Methodology is by the road speeds of respective stretch in prediction short time range, it is thus achieved that phase Answering road traffic state, and utilize multiple channel issue to predict the outcome, induction driver and crew select rationally to go out walking along the street Line, can play the effect alleviating traffic congestion, the most increasingly receive publicity.
Analysis of spectrum is a kind of mathematical method that spatial data carries out general layout, dimensional analysis, it is possible to present powerful Expressive ability, even a single point on road, it is also possible to strong earth's surface its real traffic existing, thus Reduce the impact that fluctuation brings, it is adaptable to analyze the time series that fluctuation is bigger.But directly utilize analysis of spectrum skill The method of art predicted city road speeds have not been reported.
At present, the main method of road speeds prediction includes ARIMA(difference ARMA model), Kalman filter model etc..ARIMA is a kind of Time Series Forecasting Methods being based entirely on empirical statistics, its The certain mathematical model of random sequence elapsed in time by prediction object and formed carrys out approximate description, and utilizes Past value and the present value of this sequence predict future value.Kalman filter model uses least mean-square error conduct The optimum criterion of prediction, utilizes the predictive value of previous moment and the observation of current time to update state variable Prediction, obtain the predictive value of current time.Although the data of the unknown can comparatively fast be predicted by both models, but It is not to be suitable for the bigger time series that fluctuates.In city road network, road traffic state existence change is fast, ripple The features such as dynamic scope is big, said method cannot reflect that these change in time, causes forecast error bigger.
Summary of the invention
Present invention the deficiencies in the prior art to be overcome, propose a kind of urban road prediction of speed side based on analysis of spectrum Method, alleviates the impact that road speeds is predicted by urban road traffic state rapid fluctuations, improves forecasting accuracy.
For achieving the above object, first the present invention collects road history data and prediction given data on the same day, then profit Selecting prediction model parameters by both corresponding interval relations, last bind profile is analyzed model prediction and is obtained the unknown Data.
The method of the present invention is realized by following steps:
Step 1. collects the vehicle speed data that GPS collects
GPS collects data such as comprising acquisition time, car number, car speed, wherein chooses car speed Data are as source data;
Step 2. preference pattern parameter
Represent that data to be predicted are right with it by the relation predicting the corresponding historical data of given data on the same day Answer the relation of historical data, i.e. refer to the parameter matrix C in forecast model;
Wherein road speeds forecast model formula based on analysis of spectrum is as follows:
X ^ = C · φ T - - - ( 1 )
In formula:Represent certain continuum road speeds matrix that prediction obtains;C representation parameter matrix;φ is The eigenvectors matrix of respective bins road speeds variation tendency is described;
Parameter matrix C is asked to specifically comprise the following steps that
First GPS car speed is converted into road speeds by map-matching method by 2.1;
Then 2.2 will be divided equally into N number of interval every day, it is known that N number of interval, history continuous N sky and J interval road speeds data before M+1 days;
The matrix that data are M*N rank in 2.3 definition N number of intervals, history continuous N sky, is denoted as X.According to R=XTX tries to achieve the covariance matrix R (N*N) of matrix X;
2.4 use QR decomposition method (matrix decomposition becomes an orthonomal matrix Q and upper triangular matrix R) to ask Obtain the eigenvectors matrix of covariance matrix R, be designated as φ (N*N).N*K is chosen in eigenvectors matrix φ Part is designated as φ ', and wherein, K (1≤K < N) represents exponent number, the quantity of the characteristic vector i.e. used.Choose square In battle array φ ', the 1st walks to jth row part, is designated as φ1(j*K);In like manner, the middle jth of φ '+1 walks to Nth row part, It is designated as φ2((N-j)*K);
The matrix of 2.5 the M+1 days known interval censored datas compositions is denoted asThe φ tried to achieve with previous step1Together substitute into Model formation (1) converts the formula obtainedIn, the M+1 days known districts of expression can be tried to achieve Between parameter matrix between (interval 1 to interval j) data and corresponding M days history interval censored datas, be designated as C1(1*K), it is possible to (, do not include interval j) data and go through after interval j as the unknown in M+1 days is interval The parameter matrix of history M days interval censored data;
Step 3. is according to model formation predicted link speed
By parameter matrix C obtained in the previous step1And φ2Substitute in formula (1) simultaneously, the most measurable the M+1 days Interval road speeds later for j.
The remarkable result of the present invention is: needed for urban road speed prediction model based on analysis of spectrum, historical data is relatively Few, model parameter can quickly make dynamically adjustment with section, the change of period, with real road speed condition Coupling preferably, and can alleviate the impact that road speeds is predicted by urban road traffic state rapid fluctuations, improves Forecasting accuracy.
Accompanying drawing explanation
Fig. 1 is urban road speed predicting method flow chart based on analysis of spectrum.
Detailed description of the invention
Below in conjunction with drawings and Examples, technical scheme is described in further detail.Following example Implementing under premise the technical scheme is that, giving detailed embodiment and process, but this The protection domain of invention is not limited to following embodiment.
It is as follows that the present embodiment is embodied as step:
Step 1. utilizes GPS to collect road speeds data
1.1GPS collects data such as comprising acquisition time, car number, car speed, wherein chooses vehicle Speed data is as source data.
1.2 with west part of the ring road, stadium road, city of Hangzhou, white sand road, west part of the ring road, protect hill path, the north of a road, 40 sections such as Bao Lufengqi road are as data acquisition region, and 00:00-23:59 is as data acquisition time Section, the vehicle speed data that GPS collected every 15 minutes is as source data.
It is internal memory 2G that 1.3 data are stored in hardware environment, on the PC of hard disk 300G.
Step 2. preference pattern parameter
Represent that data to be predicted are right with it by the relation predicting the corresponding historical data of given data on the same day Answer the relation of historical data, i.e. refer to the parameter matrix C in forecast model.
Wherein road speeds forecast model formula based on analysis of spectrum is as follows:
X ^ = C &CenterDot; &phi; T - - - ( 1 )
In formula:Represent certain continuum road speeds matrix that prediction obtains;C representation parameter matrix;φ is The eigenvectors matrix of respective bins road speeds variation tendency is described.
Parameter matrix C is asked to specifically comprise the following steps that
First GPS car speed is converted into road speeds by map-matching method by 2.1.
Then 2.2 will be divided equally into 96 intervals (every 15 minutes being an interval) every day, and this example is known JIUYUE in 2012 10 and JIUYUE 11 192 intervals of continuous 2 days and No. 12 the 1st to the 3rd districts of JIUYUE Between road speeds data.Choose 6 the interval censored data declarative procedures comprised in initial 00:00 01:30, Wherein exponent number K takes 2.
2.3 6 interval censored datas composition matrix X ' (2*6) of continuous 2 days of definition history.
41 38 32 19 30 22 24 44 36 39 38 31
According to formula R=XTX tries to achieve covariance matrix R (6*6), as follows:
2257 2614 2176 1715 2142 1646 2614 3380 2800 2438 2812 2200 2176 2800 2320 2012 2328 1820 1715 2438 2012 1882 2052 1627 2142 2812 2328 2052 2344 1838 1646 2200 1820 1627 1838 1445
2.4 use QR decomposition method to try to achieve the eigenvectors matrix φ (6*6) of R, as follows:
- 0.435 0.764 - 0.078 0.056 0.466 0.033 - 0.504 - 0.033 0.766 0.141 - 0.319 0.190 - 0.420 0.008 - 0.248 0.010 - 0.393 - 0 . 780 - 0.331 - 0.595 0.096 0.012 0.695 - 0.209 - 0.413 - 0 . 137 - 0.294 - 0.748 - 0.146 0.378 - 0.317 - 0.207 - 0.500 0.646 - 0.147 0.410
2.5 from the eigenvectors matrix φ of corresponding window selected part eigenvectors matrix φ ' (6*2), as follows:
- 0.435 0.764 - 0.504 - 0.033 - 0.420 0.008 - 0.331 - 0.595 - 0.413 - 0.137 - 0.317 - 0.207
2.6 choose front 3 intervals and rear 3 interval road speeds change in this matrix of expression from φ ' respectively The eigenvectors matrix φ of trend1(3*2) and φ2(3*2).The most as follows:
&phi; 1 = - 0.435 0.764 - 0.504 - 0.033 - 0.420 0.008 &phi; 2 = - 0.331 - 0.595 - 0.413 - 0.137 - 0.317 - 0.207
2.7 the following is the matrix of 3 corresponding interval data compositions front with this window in the 3rd day
{50 42 41}
WillAnd φ1Substituting into formula (1), calculate C (1*2), result is as follows:
{-89.52 14.66}
Step 3. is according to model formation predicted link speed
By φ2Substitute in model formation (1) with the parameter matrix C tried to achieve in step b, the most measurable JIUYUE 12 Number rear 3 unknown data corresponding with this window, result is as follows:
{21 35 25}
The present invention, on 40 sections of Hangzhou major trunk roads, acquires the gps data checking of 30 days.Experiment knot Fruit shows, compared with using ARIMA and kalman filter method predicted link speed, based on analysis of spectrum pre- Survey method makes forecast error (RMSE: root-mean-square error) reduce by more than 40%.

Claims (1)

1. a urban road speed predicting method based on analysis of spectrum, it is characterised in that comprise the following steps:
Step 1. collects the vehicle speed data that GPS collects
GPS collects the data comprising acquisition time, car number, car speed, wherein chooses car speed Data are as source data;
Step 2. preference pattern parameter
By the relation of given data corresponding history interval censored data on prediction same day represent data to be predicted with The relation of its corresponding historical data, i.e. refers to the parameter matrix C in forecast model;
Wherein road speeds forecast model formula based on analysis of spectrum is as follows:
X ^ = C &CenterDot; &phi; T - - - ( 1 )
In formula:Represent certain continuum road speeds matrix that prediction obtains;C representation parameter matrix;φ is The eigenvectors matrix of respective bins road speeds variation tendency is described;
Parameter matrix C is asked to specifically comprise the following steps that
First GPS car speed is converted into road speeds by map-matching method by 2.1;
Then 2.2 will be divided equally into N number of interval every day, it is known that N number of interval, history continuous N sky and J interval road speeds data before M+1 days;
The matrix that data are M*N rank in 2.3 definition N number of intervals, history continuous N sky, is denoted as X;According to R=XTX tries to achieve the covariance matrix R (N*N) of matrix X;
2.4 use QR decomposition method that matrix decomposition becomes an orthonomal matrix Q and upper triangular matrix R, ask Obtain the eigenvectors matrix of covariance matrix R, be designated as φ (N*N), in eigenvectors matrix φ, choose N*K Part is designated as φ ', and wherein, K represents exponent number, 1≤K < N, the quantity of the characteristic vector i.e. used;Choose square In battle array φ ', the 1st walks to jth row part, is designated as φ1(j*K);In like manner, the middle jth of φ '+1 walks to Nth row part, It is designated as φ2((N-j)*K);
The matrix of 2.5 the M+1 days known interval censored datas compositions is denoted asThe φ tried to achieve with previous step1Together substitute into Model formation (1) converts the formula obtainedIn, the M+1 days known districts of expression can be tried to achieve Between parameter matrix between 1 to j data and corresponding M days history interval censored datas, be designated as C1(1*K), it is possible to make Being the M+1 days the unknown interval censored datas and the parameter matrix of history M days interval censored data, wherein unknown interval is district Between after j, do not include interval j;
Step 3. is according to model formation predicted link speed
By parameter matrix C obtained in the previous step1And φ2Substitute in formula (1) simultaneously, the most measurable the M+1 days Interval road speeds later for j.
CN201310390819.9A 2013-08-30 2013-08-30 A kind of urban road speed predicting method based on analysis of spectrum Expired - Fee Related CN103500362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310390819.9A CN103500362B (en) 2013-08-30 2013-08-30 A kind of urban road speed predicting method based on analysis of spectrum

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310390819.9A CN103500362B (en) 2013-08-30 2013-08-30 A kind of urban road speed predicting method based on analysis of spectrum

Publications (2)

Publication Number Publication Date
CN103500362A CN103500362A (en) 2014-01-08
CN103500362B true CN103500362B (en) 2016-08-17

Family

ID=49865568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310390819.9A Expired - Fee Related CN103500362B (en) 2013-08-30 2013-08-30 A kind of urban road speed predicting method based on analysis of spectrum

Country Status (1)

Country Link
CN (1) CN103500362B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405127B (en) * 2015-10-30 2018-06-01 长安大学 A kind of highway minibus speed of service Forecasting Methodology
CN107993452B (en) * 2017-12-20 2021-06-08 杭州远眺科技有限公司 Speed measurement method for detecting road passing speed on highway based on WIFI probe
CN109711440B (en) * 2018-12-13 2022-02-08 新奥数能科技有限公司 Data anomaly detection method and device
CN111653084A (en) * 2019-07-26 2020-09-11 银江股份有限公司 Short-term traffic flow prediction method based on space-time feature selection and Kalman filtering
CN112950926A (en) * 2019-12-10 2021-06-11 宁波中国科学院信息技术应用研究院 Urban trunk road speed prediction method based on big data and deep learning

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006285493A (en) * 2005-03-31 2006-10-19 Daihatsu Motor Co Ltd Device and method for estimating road model
CN102610092A (en) * 2012-03-23 2012-07-25 天津大学 Urban road speed predication method based on RBF (radial basis function) neural network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006285493A (en) * 2005-03-31 2006-10-19 Daihatsu Motor Co Ltd Device and method for estimating road model
CN102610092A (en) * 2012-03-23 2012-07-25 天津大学 Urban road speed predication method based on RBF (radial basis function) neural network

Also Published As

Publication number Publication date
CN103500362A (en) 2014-01-08

Similar Documents

Publication Publication Date Title
CN103500362B (en) A kind of urban road speed predicting method based on analysis of spectrum
CN105513350A (en) Time-phased multi-parameter short-term traffic flow prediction method based on time-space characteristics
CN104157139B (en) A kind of traffic congestion Forecasting Methodology and method for visualizing
CN104484911B (en) Personalized automatic Pilot parameter optimization establishing method based on QoE
CN101639978B (en) Method capable of dynamically partitioning traffic control subregion
CN104933862A (en) Urban traffic jam intelligent combination prediction method based on track of floating vehicle
CN109840660A (en) A kind of vehicular characteristics data processing method and vehicle risk prediction model training method
CN106384509A (en) Urban road driving time distribution estimation method considering taxi operation states
CN102610092A (en) Urban road speed predication method based on RBF (radial basis function) neural network
CN110310474A (en) A kind of vehicle flowrate prediction technique and device based on space-time residual error network
CN104299442A (en) Urban route travel time forecasting method based on pattern matching
CN106652441A (en) Urban road traffic condition prediction method based on spatial-temporal data
CN104657791A (en) Wind power plant group wind speed distribution prediction method based on correlation analysis
CN110188797A (en) A kind of intelligent automobile method for rapidly testing based on Bayes&#39;s optimization
CN104217002A (en) Traffic information filling method based on high-quality data acquisition
CN112071062A (en) Driving time estimation method based on graph convolution network and graph attention network
CN104731963A (en) Grid path recommending method and system based on internet of vehicle
CN107170234A (en) A kind of method predicted based on SVM algorithm traffic in short-term
Lopez et al. Assessing the impacts of goods deliveries’ double line parking on the overall traffic under realistic conditions
CN109887284A (en) A kind of smart city traffic signalization recommended method, system and device
CN105047057A (en) Highway network macroscopic traffic flow simulation method with consideration of multiple driver styles and lane selection preferences
CN111524358B (en) Regional radiation sexual communication flow prediction method
CN103745602B (en) A kind of traffic flow forecasting method average based on sliding window
CN106370198A (en) Route selection method taking outgoing delayed reaction into account
He et al. Road grade prediction for predictive energy management in hybrid electric vehicles

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160817