[go: up one dir, main page]

CN103413443B - Short-term traffic flow forecasting method based on hidden Markov model - Google Patents

Short-term traffic flow forecasting method based on hidden Markov model Download PDF

Info

Publication number
CN103413443B
CN103413443B CN201310276581.7A CN201310276581A CN103413443B CN 103413443 B CN103413443 B CN 103413443B CN 201310276581 A CN201310276581 A CN 201310276581A CN 103413443 B CN103413443 B CN 103413443B
Authority
CN
China
Prior art keywords
traffic flow
state
hidden markov
markov model
hidden
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
CN201310276581.7A
Other languages
Chinese (zh)
Other versions
CN103413443A (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.)
Taiyuan University of Technology
Original Assignee
Taiyuan 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 Taiyuan University of Technology filed Critical Taiyuan University of Technology
Priority to CN201310276581.7A priority Critical patent/CN103413443B/en
Publication of CN103413443A publication Critical patent/CN103413443A/en
Application granted granted Critical
Publication of CN103413443B publication Critical patent/CN103413443B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

本发明涉及智能交通系统领域,尤其是涉及利用路段的参数值序列对短时交通流状态进行预测。一种基于隐马尔科夫模型短时交通流状态预测方法,包括以下步骤:对采集的数据进行处理和统计,通过设定预测窗口,对预测窗口起始时刻测得值以及预测窗口内参数平均值和序列对比度离散化,构成隐马尔科夫模型的隐状态和观察状态集合,然后利用Baum-Welch算法结合训练数据对模型参数进行学习。最后,对于一定的预测窗口,在已知观察状态序列的基础上,利用Viterbi算法求得最优的隐状态序列,则最优隐状态序列的最后的状态即为预测状态。本发明方法可以对未来短时的交通状态进行预测,是一种有效的短时交通状态预测方法。

The invention relates to the field of intelligent traffic systems, in particular to predicting the short-term traffic flow state by using the parameter value sequence of road sections. A short-term traffic flow state prediction method based on the hidden Markov model, including the following steps: processing and counting the collected data, by setting the prediction window, averaging the values measured at the start time of the prediction window and the parameters in the prediction window The value and sequence contrast are discretized to form the hidden state and observation state set of the hidden Markov model, and then the model parameters are learned by using the Baum-Welch algorithm combined with the training data. Finally, for a certain prediction window, on the basis of the known observation state sequence, use the Viterbi algorithm to obtain the optimal hidden state sequence, then the last state of the optimal hidden state sequence is the predicted state. The method of the invention can predict the future short-term traffic state, and is an effective short-term traffic state prediction method.

Description

基于隐马尔科夫模型的短时交通流状态预测方法Short-term Traffic Flow State Prediction Method Based on Hidden Markov Model

技术领域technical field

本发明涉及智能交通系统领域,具体涉及利用路段的交通流参数值序列对短时交通流状态进行预测,特别涉及一种基于隐马尔科夫模型的短时交通流状态预测方法。The invention relates to the field of intelligent traffic systems, in particular to predicting short-term traffic flow states by using traffic flow parameter value sequences of road sections, and in particular to a short-term traffic flow state prediction method based on a hidden Markov model.

背景技术Background technique

随着国家城市化水平的不断发展深化,以及人民生活水平的持续提高,汽车已然走入了每个人的生活中,并且对每个人的工作、生活、学习产生深刻的影响。与之伴随的是交通基础设施的滞后以及交通服务水平的低效,更严重的是因此导致的交通拥挤、环境污染、能源浪费造成了极大的经济损失。因此,智能交通系统(IntelligentTransportation System,ITS)应运而生,其在现有交通基础设施和运载工具的基础上,将先进的信息技术、通讯技术、传感技术、控制技术以及计算机技术等有效地集成运用于整个交通运输管理体系,从而建立起的一种在大范围、全方位、实时、准确、高效的综合运输和管理系统。ITS是世界交通运输发展的热点和前沿,是现代交通运输业的重要标志。并且随着ITS研究的不断深入,已成为了国家发展战略的重要组成部分。With the continuous development and deepening of the country's urbanization level and the continuous improvement of people's living standards, cars have entered everyone's life and have a profound impact on everyone's work, life and study. Accompanied by the lagging of transportation infrastructure and the inefficiency of transportation service level, what is more serious is the resulting traffic congestion, environmental pollution and energy waste, which have caused great economic losses. Therefore, the Intelligent Transportation System (Intelligent Transportation System, ITS) came into being, based on the existing transportation infrastructure and vehicles, it effectively integrates advanced information technology, communication technology, sensor technology, control technology and computer technology. It is integrated and applied to the entire transportation management system, thus establishing a large-scale, all-round, real-time, accurate and efficient comprehensive transportation and management system. ITS is the focus and frontier of the world's transportation development and an important symbol of the modern transportation industry. And with the continuous deepening of ITS research, it has become an important part of the national development strategy.

并且,随着人们对于交通信息要求的提高,往往在出行前就希望得到未来的交通状况信息,以便选择合适的出行方式,选择最优的出行路线。短时交通流状态预测就是对于某个路段未来短时内的交通状态进行预测,短时交通流状态预测区别于长时交通预测,前者的预测时长一般为5min、10min、15min等不超过1h的情况,主要服务对象是交通驾驶人员,在先进的交通信息系统(ATIS)中完成。而后者的预测时长则为天、月、年等宏观的交通预测,主要服务对象是交通管理部门,以便其做出基础设施建设、公交路线设定、发展规划等,其主要在先进的交通管理系统(ATMS)中完成。Moreover, as people's requirements for traffic information increase, they often hope to obtain future traffic status information before travel, so as to choose a suitable travel mode and an optimal travel route. Short-term traffic flow state prediction is to predict the traffic state of a road section in a short period of time in the future. Short-term traffic flow state prediction is different from long-term traffic prediction. The main service object is traffic drivers, and it is completed in the advanced traffic information system (ATIS). The forecast duration of the latter is macro-traffic forecasts such as days, months, and years. The main service targets are traffic management departments, so that they can make infrastructure construction, bus route setting, development planning, etc., mainly in advanced traffic management. system (ATMS).

实时准确的短时交通流的预测是实现智能交通控制和诱导的关键,短时交通状态预测有利于出行人员选择合适的出行方式,规划合理的出行路线,进而达到缩短行驶时间、减少污染、疏导交通、提高市政服务水平的目的,因此已经成为了智能交通研究领域的热点课题。并且国内外学者已经提出了一系列的预测模型和方法,用于对交通状态的预测。Real-time and accurate short-term traffic flow prediction is the key to intelligent traffic control and guidance. Short-term traffic state prediction is helpful for travelers to choose the appropriate travel mode and plan a reasonable travel route, thereby shortening travel time, reducing pollution, and facilitating traffic flow. The purpose of improving transportation and improving the level of municipal services has become a hot topic in the field of intelligent transportation research. And scholars at home and abroad have proposed a series of prediction models and methods for the prediction of traffic conditions.

短时交通流预测模型和方法目前主要分为三类,一类是以数理统计和微积分等传统数学方法为基础发展的数学模型,例如:历史平均法(History Average)、线性回归模型、时间序列方法(Time-seriesModel)、自回归综合移动平均算法(ARIMA,Auto-RegressionIntegrated Moving Average)、卡尔曼滤波法(Kalman filtering)、Markov预测。Short-term traffic flow forecasting models and methods are mainly divided into three categories at present. One is a mathematical model based on traditional mathematical methods such as mathematical statistics and calculus, such as: History Average, linear regression model, time Sequence method (Time-seriesModel), auto-regressive integrated moving average algorithm (ARIMA, Auto-Regression Integrated Moving Average), Kalman filtering method (Kalman filtering), Markov prediction.

另一类是利用神经网络、模糊控制等现代科学方法为基础所提出的预测模型,其特点是对交通流的拟合预测,但是参数移植性较差。The other is the prediction model based on modern scientific methods such as neural network and fuzzy control. Its characteristic is the fitting prediction of traffic flow, but the parameter transplantation is poor.

第三类是综合不同方法优缺点的复合预测方法,逐渐成为了近年来研究的热点。例如基于小波分解理论和卡尔曼滤波算法的预测模型、时间序列与小波理论相结合的预测方法等。The third category is the composite prediction method that combines the advantages and disadvantages of different methods, which has gradually become a research hotspot in recent years. For example, forecasting models based on wavelet decomposition theory and Kalman filter algorithm, forecasting methods combining time series and wavelet theory, etc.

隐马尔科夫模型是一种基于参数表示的描述随机过程的概率模型,其中包含马尔科夫链和随机过程两部分。马尔可夫链描述状态的转移,用转移概率描述;一般随机过程描述状态与观察序列间的关系,用发生概率描述。隐马尔科夫模型可以用五元组表示,即λ=(N,M,Π,A,B),参数说明如下:Hidden Markov model is a probability model based on parameter representation to describe random process, which includes two parts of Markov chain and random process. The Markov chain describes the transition of the state, which is described by the transition probability; the general stochastic process describes the relationship between the state and the observation sequence, and is described by the probability of occurrence. The Hidden Markov Model can be represented by a quintuple, that is, λ=(N,M,Π,A,B), and the parameters are described as follows:

(1)N:模型中隐状态的数目,设状态集合为S={s1,s2,…,sN},当t时刻Markov链状态为Xt,则Xt∈S。(1) N: The number of hidden states in the model. Let the state set be S={s 1 ,s 2 ,…,s N }, when the Markov chain state is X t at time t, then X t ∈ S.

(2)M:模型中观测状态的数目,设观测集合为O={o1,o2,…,oM},当t时刻观察状态为Ot,则Ot∈O。(2) M: The number of observation states in the model. Let the observation set be O={o 1 ,o 2 ,…,o M }, when the observation state at time t is O t , then O t ∈ O.

(3)Π:隐马尔科夫模型中的各状态的初始概率分布;记为Π={πi},(1≤i≤N)这里,πi=P(X1=si),(1≤i≤N);且0≤πi≤1,πi表示开始时刻初始状态si被选中的概率。(3) Π: the initial probability distribution of each state in the hidden Markov model; recorded as Π={π i }, (1≤i≤N) here, π i =P(X 1 =s i ), ( 1≤i≤N); and 0≤π i ≤1, π i represents the probability that the initial state s i is selected at the beginning.

(4)A:隐马尔科夫模型的状态转移概率矩阵,A=(aij)N×N,(1≤i,j≤N),其中,aij=P{Xt+1=sj|Xt=si},(si,sj∈S),aij表示状态si向sj转移的概率。(4) A: state transition probability matrix of hidden Markov model, A=(a ij ) N×N , (1≤i,j≤N), where a ij =P{X t+1 =s j |X t = s i }, (s i , s j ∈ S), a ij represents the probability of transition from state s i to s j .

(5)B:隐马尔科夫模型中的发生矩阵,描述的是隐状态和对应观察状态的关系;B=(bij)N×M,其中bij=P{Ot=oj|Xt=si},(1≤i≤N,1≤j≤M)。(5) B: The occurrence matrix in the hidden Markov model, which describes the relationship between the hidden state and the corresponding observed state; B=(b ij ) N×M , where b ij =P{O t =o j |X t = s i }, (1≤i≤N, 1≤j≤M).

发明内容Contents of the invention

本发明的目的在于提供一种短时预测某一路段交通流状态的方法,解决了预测短时交通流状态的问题,提供了一种基于隐马尔科夫模型的短时交通流状态预测方法。The purpose of the present invention is to provide a short-term method for predicting the traffic flow state of a road section, which solves the problem of predicting the short-term traffic flow state, and provides a short-term traffic flow state prediction method based on a hidden Markov model.

本发明是采用如下技术方案实现的:The present invention is realized by adopting the following technical solutions:

一种基于隐马尔科夫模型的短时交通流状态预测方法,包括如下步骤:A short-term traffic flow state prediction method based on hidden Markov model, comprising the following steps:

(1)、确定隐马尔科夫模型的隐状态集合和观察状态集合,具体如下:(1) Determine the hidden state set and observed state set of the hidden Markov model, as follows:

I、以采集周期δ对通过某路段横截面的某一交通流状态参数进行采集,得到对应于该参数在已检测时段内的以采集周期δ为间隔的数据序列;1. Collect a certain traffic flow state parameter through a section cross-section with the acquisition period δ, and obtain a data sequence corresponding to the parameter in the detected period with the acquisition period δ as an interval;

Ⅱ、设定固定的时段长度作为预测窗口Φ,即短时预测时长,所述预测窗口Φ是采集周期δ的整数倍,因此预测窗口Φ内含有Φ/δ个某一交通流状态参数值组成的数据序列;Ⅱ. Set a fixed time period as the prediction window Φ, that is, the short-term prediction duration. The prediction window Φ is an integer multiple of the acquisition period δ, so the prediction window Φ contains Φ/δ parameters of a certain traffic flow state. data sequence;

设定转移窗口Δ,表示预测窗口Φ以转移窗口Δ为单位在时间轴上依次向后滑动转移,所述转移窗口Δ是采集周期δ的整数倍,范围为δ≤Δ≤Φ;据此确定在已检测时段内预测窗口Φ的数量;Set the transfer window Δ, which means that the prediction window Φ slides backwards on the time axis in units of the transfer window Δ, and the transfer window Δ is an integer multiple of the acquisition period δ, and the range is δ≤Δ≤Φ; determined accordingly The number of prediction windows Φ in the detected period;

利用灰度联合共生矩阵C和对比度,确定每个预测窗口Φ内数据序列的对比度CON;如下:灰度联合共生矩阵C中的元素cij表示数据点的强度值(交通流参数值)为i及其相邻的数据点的强度值为j这样的数据组合出现的频率,即 CON = Σ i , j | j - i | ( j - i ) c ij ; Using the gray-scale joint co-occurrence matrix C and the contrast, determine the contrast CON of the data sequence in each prediction window Φ; and the intensity value of its adjacent data points is the frequency of data combinations such as j, that is but CON = Σ i , j | j - i | ( j - i ) c ij ;

每个预测窗口Φ均对应有一个参数平均值 Each prediction window Φ corresponds to a parameter average

每个预测窗口Φ内的起始时刻参数值θt作为观察值,则所有观察值构成观察值序列O={O1,O2,…,OT}。The initial moment parameter value θ t in each prediction window Φ is used as the observation value, then all the observation values constitute the observation value sequence O={O 1 ,O 2 ,…,O T }.

Ⅲ、统计所有观察值的变化范围,根据统计结果,将观察值的变化范围进行离散化为M个区间,同时得到对应于区间的等级,即将所有观察值离散化为M级,设定等级即为观察状态oi(i=1,2,…,M),从而得到观察状态集合O={o1,o2,…,oM};Ⅲ. Count the change range of all observed values. According to the statistical results, discretize the change range of observed values into M intervals, and at the same time obtain the grades corresponding to the intervals, that is, discretize all observed values into M grades, and set the grades as is the observation state o i (i=1,2,...,M), so as to obtain the observation state set O={o 1 ,o 2 ,...,o M };

同理,统计预测窗口Φ内的参数平均值和对比度CON的变化范围,根据统计结果,将参数平均值和对比度CON分别进行离散化为m个和n个区间,同时得到对应于区间的等级,即将参数平均值离散化为m级、对比度CON离散化为n级,再利用参数平均值和对比度CON的所有等级的二维全因子联合描述隐状态就是m×n个,从而得到隐状态集合S={s1,s2,…,sN},N=m×n。Similarly, the average value of parameters within the statistical prediction window Φ and the variation range of the contrast CON, according to the statistical results, the parameter average and the contrast CON are discretized into m and n intervals respectively, and at the same time, the grade corresponding to the interval is obtained, that is, the parameter average value Discretize into m levels, discretize the contrast CON into n levels, and then use the average value of the parameters The two-dimensional full factors of all levels of contrast CON describe the hidden states jointly, which is m×n, so as to obtain the hidden state set S={s 1 ,s 2 ,…,s N }, N=m×n.

(2)、在确定了隐马尔科夫模型的隐状态集合和观察状态集合之后,对隐马尔科夫模型进行训练,得到适于交通流的隐马尔科夫模型 λ ‾ = ( Π ‾ , A ‾ , B ‾ ) , 具体如下:(2) After determining the hidden state set and observed state set of the hidden Markov model, train the hidden Markov model to obtain a hidden Markov model suitable for traffic flow λ ‾ = ( Π ‾ , A ‾ , B ‾ ) , details as follows:

首先利用随机赋值对隐马尔科夫模型参数进行初始化,得到隐马尔科夫初始化模型λinitial=(Π,A,B),根据λinitial=(Π,A,B)和已知的观察值序列O={O1,O2,…,OT},利用隐马尔科夫重估公式迭代得到新的隐马尔科夫模型可以证明对重估过程继续迭代直到收敛,此时的即为所求的适于交通流的隐马尔科夫模型 λ ‾ = ( Π ‾ , A ‾ , B ‾ ) . First, use random assignment to initialize the parameters of the hidden Markov model to obtain the hidden Markov initialization model λ initial = (Π, A, B), according to λ initial = (Π, A, B) and the known sequence of observations O={O 1 ,O 2 ,…,O T }, using the hidden Markov revaluation formula to iteratively obtain a new hidden Markov model can prove Continue to iterate on the revaluation process until Convergence, at this time Hidden Markov model suitable for traffic flow λ ‾ = ( Π ‾ , A ‾ , B ‾ ) .

(3)、在给定适于交通流状态的隐马尔科夫模型和观察值序列的基础上,利用Viterbi算法求得与观察值序列对应的最优隐状态序列,则最优隐状态序列中的最后状态即为已检测时段后的所预测的交通流状态;并依次推移进行短时交通流状态预测。因为,观察值与每个预测窗口的起始时刻测得值相对应,则隐状态与预测窗口内的交通流状态对应,则预测时间长度就是预测窗口的长度。(3), given the hidden Markov model suitable for traffic flow state On the basis of the observed value sequence and the Viterbi algorithm, the optimal hidden state sequence corresponding to the observed value sequence is obtained, then the last state in the optimal hidden state sequence is the predicted traffic flow state after the detected period; and Carry out short-term traffic flow state prediction sequentially. Because the observed value corresponds to the measured value at the beginning of each prediction window, the hidden state corresponds to the traffic flow state in the prediction window, and the length of the prediction time is the length of the prediction window.

工作时,本发明以预测路段未来短时(5min或10min)内的交通状态为目的,根据从路段数据站所采集的交通流参数数据序列为基础,通过对其进行分析,进一步了解交通流在时间轴上的变化特点,可知,交通流是一种时变的、非线性的随机过程。然而传统预测模型往往是对交通状态进行定量确定性的预测,仅对交通流静态信息进行研究,忽略了交通流的变化趋势。基于此,利用隐马尔科夫(HMM)统计模型对交通状态进行预测。When working, the present invention is aimed at predicting the traffic state in the short time (5min or 10min) of the road section in the future, based on the traffic flow parameter data sequence collected from the road section data station, and by analyzing it, further understanding of the traffic flow in the road section. From the change characteristics on the time axis, it can be known that traffic flow is a time-varying, non-linear random process. However, the traditional forecasting models usually predict the traffic state quantitatively and deterministically, and only study the static information of traffic flow, ignoring the changing trend of traffic flow. Based on this, the hidden Markov (HMM) statistical model is used to predict the traffic state.

首先,对隐马尔科夫模型参数进行构造,对预测窗口内的数据序列进行统计分析,得到其平均值,以及预测窗口内数据序列对比度,从而得到模型的隐状态序列。并设定预测窗口开始时刻的测得值对应的取值区间作为观察状态(值)序列。从而构造出了隐状态集合和观察状态集合。Firstly, the hidden Markov model parameters are constructed, and the data sequence in the prediction window is statistically analyzed to obtain the average value and the contrast of the data sequence in the prediction window, so as to obtain the hidden state sequence of the model. And set the value interval corresponding to the measured value at the beginning of the forecast window as the observation state (value) sequence. Thus, the hidden state set and the observed state set are constructed.

其次,利用HMM中的EM算法,利用所采集的训练数据对模型的参数进行训练,得到模型参数,包括状态转移矩阵、发生矩阵、初始状态概率分布,并结合交通流的特点对参数进行分析。Secondly, the EM algorithm in HMM is used to train the parameters of the model with the collected training data, and the model parameters are obtained, including the state transition matrix, occurrence matrix, and initial state probability distribution, and the parameters are analyzed in combination with the characteristics of traffic flow.

然后,在所获得的模型基础上,利用新的隐马尔科夫模型对短时交通状态进行了预测。Then, on the basis of the obtained model, the short-term traffic state is predicted by using a new hidden Markov model.

本发明对采集的数据进行处理和统计,通过设定预测窗口,对预测窗口起始时刻测得值以及预测窗口内参数平均值和序列对比度离散化,构成隐马尔科夫模型的隐状态和观察状态集合,然后利用Baum-Welch算法结合训练数据对模型参数进行学习。最后,对于一定的预测窗口,在已知观察状态序列的基础上,利用Viterbi算法求得最优的隐状态序列,则最优隐状态序列的最后的状态即为预测状态。The present invention processes and counts the collected data, and discretizes the measured value at the start time of the prediction window and the average value of parameters and sequence contrast in the prediction window by setting the prediction window to form the hidden state and observation of the hidden Markov model. State collection, and then use the Baum-Welch algorithm combined with training data to learn model parameters. Finally, for a certain prediction window, on the basis of the known observation state sequence, use the Viterbi algorithm to obtain the optimal hidden state sequence, then the last state of the optimal hidden state sequence is the predicted state.

本发明设计合理,用于城市快速路未来短时内的交通状态预测,有助于出行人员选择合理的出行方式或最优路径,是一种有效的短时交通状态预测方法。The invention has a reasonable design, is used for short-term traffic state prediction on urban expressways in the future, helps travelers to choose a reasonable travel mode or an optimal route, and is an effective short-term traffic state prediction method.

附图说明Description of drawings

图1是短时交通状态的预测流程图。Figure 1 is a flow chart of short-term traffic state prediction.

图2是预测窗口Φ和转移窗口Δ示意图。Fig. 2 is a schematic diagram of prediction window Φ and transfer window Δ.

图3是灰度联合共生矩阵示意图。Fig. 3 is a schematic diagram of a gray-level joint co-occurrence matrix.

图4是Viterbi预测流程图。Figure 4 is a flow chart of Viterbi prediction.

具体实施方式Detailed ways

下面结合附图对本发明的具体实施例进行详细说明。Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

本实施例中,基于交通流状态确定的隐马尔科夫模型称为“交通隐马尔科夫模型”,简记为“THMM”。设定参数采集周期δ为30s,则一天24h中含有2880组数据,以每天的从500至1500共计1001组早高峰数据序列作为本实施例的数据。为了便于对THMM的构造,定义三个时间窗口:预测窗口Φ、转移窗口Δ、采集窗口(周期)δ。In this embodiment, the hidden Markov model determined based on the traffic flow state is called "traffic hidden Markov model", abbreviated as "THMM". Set the parameter acquisition period δ to 30s, then there are 2880 sets of data in 24 hours a day, and a total of 1001 sets of morning peak data sequences from 500 to 1500 per day are used as the data of this embodiment. In order to facilitate the construction of THMM, three time windows are defined: prediction window Φ, transfer window Δ, acquisition window (period) δ.

定义1:预测窗口Φ,目的是预测未来短时的交通状态,设定5min的时间长度作为预测窗口,即预测的未来“短时”就是5min。Definition 1: Prediction window Φ, the purpose is to predict the short-term traffic status in the future, and set the time length of 5 minutes as the prediction window, that is, the predicted future "short-term" is 5 minutes.

定义2:转移窗口Δ,指由时刻t到t+(1*Δ)的时间窗口中,交通状态发生了转移,例如设定了3种转移窗口,即30s/2min/5min。Definition 2: Transition window Δ, which refers to the time window from time t to t+(1*Δ), the traffic state has transitioned, for example, three transition windows are set, namely 30s/2min/5min.

定义3:采集窗口δ:因为数据序列以30s为采样间隔,因此系统以30s为1步依次滚动,则设定30s为采集窗口δ,在本实施例中是固定的。Definition 3: Acquisition window δ: Since the data sequence takes 30s as the sampling interval, the system scrolls sequentially with 30s as a step, so 30s is set as the acquisition window δ, which is fixed in this embodiment.

利用隐马尔科夫模型(HMM)对交通流进行研究,首先需要对模型的隐状态和观察状态进行确定。对于5min的预测窗口Φ,设定预测窗口Φ开始时刻的参数测得值对应的状态作为THMM的观察状态(观察值);因为模型的隐状态要同时表示交通流的静态和动态信息两方面内容,所以隐状态由两因子联合确定,即利用时间窗口内的参数序列的参数平均值和对比度CON联合表述。如图2所示为THMM模型在时间轴上隐状态和观察值的示意图。To use Hidden Markov Model (HMM) to study traffic flow, it is first necessary to determine the hidden state and observed state of the model. For the prediction window Φ of 5 minutes, set the state corresponding to the measured value of the parameter at the beginning of the prediction window Φ as the observation state (observation value) of THMM; because the hidden state of the model should represent both static and dynamic information of traffic flow , so the hidden state is jointly determined by two factors, that is, using the parameter average value of the parameter sequence in the time window Combined expression with contrast CON. Figure 2 is a schematic diagram of the hidden state and observed values of the THMM model on the time axis.

因为采样间隔为30s,本实施例中取参数值序列早高峰时段的500-1500共计1001组数据进行研究。预测窗口Φ长度为5min,其中含有10个30s的数据点,由于设定30秒作为转移窗口Δ,因此,早高峰时段中涵盖了992个预测窗口,窗口之间存在重叠部分。其中,St(1≤t≤992)表示每个5min预测窗口Φ内的交通流隐状态。为了利用模型对预测窗口内的状态进行预测,设定每个预测窗口Φ的起始时刻的参数值θt对应的观察状态为Ot,(1≤t≤992),并构成了观察状态(值)序列O=(O1,O2,…,O992)。Because the sampling interval is 30s, in this embodiment, a total of 1001 sets of data from 500 to 1500 in the morning peak period of the parameter value sequence are used for research. The length of the prediction window Φ is 5 minutes, which contains 10 data points of 30 seconds. Since 30 seconds is set as the transition window Δ, 992 prediction windows are covered in the morning peak hours, and there are overlaps between the windows. Among them, S t (1≤t≤992) represents the hidden state of traffic flow in each 5min prediction window Φ. In order to use the model to predict the state in the prediction window, the observation state corresponding to the parameter value θ t at the initial moment of each prediction window Φ is set as O t , (1≤t≤992), and the observation state ( value) sequence O=(O 1 ,O 2 ,…,O 992 ).

下面对一种基于隐马尔科夫模型的短时交通流状态预测方法进行详细描述,包括如下步骤:The following is a detailed description of a short-term traffic flow state prediction method based on the hidden Markov model, including the following steps:

(1)、确定隐马尔科夫模型的隐状态集合和观察状态集合,具体如下:(1) Determine the hidden state set and observed state set of the hidden Markov model, as follows:

I、以采集周期δ(30s)对通过某路段横截面的某一交通流状态参数(例如交通流速度、车流量、占有率中的任意一个)进行采集,得到对应于该参数在已检测时段内的以采集周期δ为间隔的数据序列。I. Collect a certain traffic flow state parameter (such as any one of traffic flow speed, traffic volume, and occupancy rate) passing through a certain road section cross section with the collection period δ (30s), and obtain the parameters corresponding to the detected period of time. The data sequence within the interval of the acquisition period δ.

Ⅱ、设定固定的时段长度作为预测窗口Φ(5min),即短时预测时长,所述预测窗口Φ是采集周期δ的整数倍,因此预测窗口Φ内含有Φ/δ(Φ/δ=10)个某一交通流状态参数值组成的数据序列。Ⅱ. Set a fixed period length as the prediction window Φ (5min), that is, the short-term prediction duration. The prediction window Φ is an integer multiple of the acquisition period δ, so the prediction window Φ contains Φ/δ (Φ/δ=10 ) A data sequence composed of a certain traffic flow state parameter value.

设定转移窗口Δ,表示预测窗口Φ以转移窗口Δ为单位在时间轴上依次向后滑动转移,所述转移窗口Δ是采集周期δ的整数倍,范围为δ≤Δ≤Φ;据此确定在已检测时段(500min)内预测窗口Φ的数量992个。Set the transfer window Δ, which means that the prediction window Φ slides backwards on the time axis in units of the transfer window Δ, and the transfer window Δ is an integer multiple of the acquisition period δ, and the range is δ≤Δ≤Φ; determined accordingly The number of prediction windows Φ in the detected period (500min) is 992.

每个预测窗口Φ均对应有一个参数平均值Each prediction window Φ corresponds to a parameter average .

每个预测窗口Φ内的起始时刻参数值θt作为观察值,则所有观察值构成观察值序列O={O1,O2,…,OT}。The initial moment parameter value θ t in each prediction window Φ is used as the observation value, then all the observation values constitute the observation value sequence O={O 1 ,O 2 ,…,O T }.

利用灰度联合共生矩阵C,确定每个预测窗口Φ内数据序列的对比度CON。具体如下:Using the gray-scale joint co-occurrence matrix C, determine the contrast CON of the data sequence within each prediction window Φ. details as follows:

利用预测窗口的某一交通流参数在一定时段(已检测时段500min)内的参数平均值(一阶统计变量)和描述参数在时间轴上波动情况对比度CON(二阶统计量)二者的联合来对交通状态进行说明。其中,参数平均值可以对交通流的当前或历史的静态信息进行直观的展现,对比度则可以描述参数序列的变化趋势和波动程度。The average value of a certain traffic flow parameter in a certain period of time (the detected period is 500min) using the forecast window (first-order statistical variable) and the description parameter fluctuations on the time axis contrast ratio CON (second-order statistics) to describe the traffic state. Among them, the average value of the parameters can intuitively display the current or historical static information of the traffic flow, and the contrast ratio can describe the changing trend and fluctuation degree of the parameter sequence.

要对交通流参数在时间轴上的变化趋势进行分析,从统计的角度,就必须要对参数序列进行二阶统计分析。To analyze the change trend of traffic flow parameters on the time axis, from a statistical point of view, it is necessary to conduct second-order statistical analysis on the parameter sequence.

本发明扩展了图像研究领域中广泛应用的灰度联合共生矩阵(GLCM)和对比度(Contrast,CON)的定义。在对图像分析中,灰度级表示像素的亮度和强度,而对于交通流参数序列而言,交通参数值便相当于灰度值。本实施例中的数据集合的采集间隔为30s,对5min内的10个参数值构成的数据序列进行分析,进而生成灰度联合共生矩阵,从而求得对比度CON。给定一组数据序列,灰度联合共生矩阵(GLCM)C中的元素cij表示数据点的强度值(交通流参数值)为i及其相邻的数据点的强度值为j这样的数据组合出现的频率。即元素cij表示序列中数据点的强度值(交通流参数值)为i及其相邻的数据点的强度值为j构成数据组合出现的次数,与10个参数值构成的数据序列中所有可能的数据组合的总数的比值,如式(1)所示。此处,灰度联合共生矩阵C是一个Ng×Ng的矩阵,其中Ng表示灰度级的个数。The present invention expands the definitions of gray level joint co-occurrence matrix (GLCM) and contrast (Contrast, CON), which are widely used in the field of image research. In image analysis, the gray level represents the brightness and intensity of pixels, and for the traffic flow parameter sequence, the traffic parameter value is equivalent to the gray value. The collection interval of the data set in this embodiment is 30s, and the data sequence composed of 10 parameter values within 5 minutes is analyzed to generate a gray-scale joint co-occurrence matrix, thereby obtaining the contrast CON. Given a set of data sequences, the element c ij in the gray level joint co-occurrence matrix (GLCM) C represents the data whose intensity value (traffic flow parameter value) of the data point is i and the intensity value of its adjacent data point is j. How often the combination occurs. That is to say, the element c ij represents the number of occurrences of the data combination with the strength value of the data point (traffic flow parameter value) i and its adjacent data point j in the sequence, and all The ratio of the total number of possible data combinations, as shown in formula (1). Here, the gray-level joint co-occurrence matrix C is a matrix of N g ×N g , where N g represents the number of gray levels.

图像中衡量像素点与其相邻像素点的强度的对比值,以及图像局部灰度变化的量称为对比度CON,其表达式如下:The contrast value that measures the intensity of a pixel point and its adjacent pixel points in the image, and the amount of local grayscale change in the image is called the contrast CON, and its expression is as follows:

CONCON == ΣΣ ii ,, jj || ii -- jj || 22 cc ijij -- -- -- (( 22 ))

本发明中,将上式(2)改进,如下:In the present invention, the above formula (2) is improved as follows:

CONCON == ΣΣ ii ,, jj || jj -- ii || (( jj -- ii )) cc ijij -- -- -- (( 33 ))

由式(3)可知,在交通序列中,对比度CON表示参数随时间的正负变化,可以反映出交通参数的变化趋势。其绝对值|CON|的大小表示了速度变化趋势的剧烈程度。It can be seen from formula (3) that in the traffic sequence, the contrast CON represents the positive and negative changes of parameters over time, which can reflect the changing trend of traffic parameters. The magnitude of its absolute value |CON| indicates the intensity of the speed change trend.

现在以一组数据序列为例,直观地对灰度联合共生矩阵(GLCM)和对比度(Contrast,CON)进行说明。设5min的预测窗口中的10个数据值构成了一组序列:O=(10,10,7,10,8,9,10,10,8,8),根据式(1)可求得联合共生矩阵C,如图3所示。在矩阵C中,元素c10,10=0.22,因为数据序列O中(10,10)的组合出现了2次,而序列总共有组合数为9,故其比值2/9=0.22。Now take a set of data sequences as an example to visually illustrate the gray level joint co-occurrence matrix (GLCM) and contrast (Contrast, CON). Assuming that 10 data values in the 5min prediction window constitute a set of sequences: O=(10,10,7,10,8,9,10,10,8,8), the joint can be obtained according to formula (1) Co-occurrence matrix C, as shown in Figure 3. In the matrix C, the element c 10,10 =0.22, because the combination of (10,10) in the data sequence O appears twice, and the total number of combinations in the sequence is 9, so the ratio 2/9=0.22.

由式(3)可知,对比度CON具有正负的变化。在交通序列中,对比度CON就可以表示参数随时间的正负变化,例如当速度具有升高的趋势,对比度CON就为正值,反之为负,而其绝对值|CON|的大小表示了速度变化趋势的剧烈程度。则上述5min内数据序列的对比度CON:It can be seen from formula (3) that the contrast CON has positive and negative changes. In the traffic sequence, the contrast CON can represent the positive and negative changes of parameters over time. For example, when the speed has a rising trend, the contrast CON is positive, otherwise it is negative, and its absolute value |CON| represents the speed The severity of the changing trend. Then the contrast CON of the data sequence within the above 5min:

CON=0.11×(10-7)2+0.11×(9-8)2+0.11×(10-9)2 CON=0.11×(10-7) 2 +0.11×(9-8) 2 +0.11×(10-9) 2

-0.11×(10-7)2-0.22×(10-8)2=0.67。-0.11×(10-7) 2 -0.22×(10-8) 2 =0.67.

Ⅲ、统计所有观察值的变化范围,根据统计结果,将观察值的变化范围进行离散化为M个区间,同时得到对应于区间的等级,即将所有观察值离散化为M级,设定等级即为观察状态oi(i=1,2,…,M),得到观察状态集合O={o1,o2,…,oM}。Ⅲ. Count the change range of all observed values. According to the statistical results, discretize the change range of observed values into M intervals, and at the same time obtain the grades corresponding to the intervals, that is, discretize all observed values into M grades, and set the grades as To observe the state o i (i=1,2,...,M), obtain the set of observed states O={o 1 ,o 2 ,...,o M }.

本实施例中,以参数速度为例,速度变化区间大约为(0mph,60mph),将速度观察值分为了11个等级,如表1所示。In this embodiment, taking the parameter speed as an example, the speed change interval is about (0mph, 60mph), and the observed speed values are divided into 11 levels, as shown in Table 1.

表1速度观察状态离散化Table 1 Discretization of speed observation state

同理,统计预测窗口Φ内的参数平均值和对比度CON的变化范围,根据统计结果,将参数平均值和对比度CON分别进行离散化为m个和n个区间,同时得到对应于区间的等级,即将参数平均值离散化为m级、对比度CON离散化为n级。Similarly, the average value of parameters within the statistical prediction window Φ and the variation range of the contrast CON, according to the statistical results, the parameter average and the contrast CON are discretized into m and n intervals respectively, and at the same time, the grade corresponding to the interval is obtained, that is, the parameter average value The discretization is m-level, and the contrast CON is discretized into n-level.

在构造THMM模型的隐状态时,对预测窗口内速度平均值进行离散化为6级,与传统方法类似,不同速度级对应于交通流的不同参数取值区间。如表2所示,When constructing the hidden state of the THMM model, the average speed in the prediction window is discretized into 6 levels. Similar to the traditional method, different speed levels correspond to different parameter value intervals of traffic flow. As shown in table 2,

表2平均速度离散化Table 2 Average speed discretization

由预测窗口内的平均速度离散化表可知,不同速度等级描述的是交通流状态的静态信息,可以直观的表述当前交通流的通行能力。From the average speed discretization table in the forecast window, it can be seen that different speed levels describe the static information of the traffic flow state, which can intuitively express the current traffic flow capacity.

本实施例中,速度对比度CON的变化范围主要为(-70,70)。为了便于对交通隐马尔科夫模型隐状态的构建,与预测窗口内平均速度的离散化类似,将对比度CON离散化为7个等级,7个等级分别对应于对比度从负值到正值的7个区间,如表3所示。In this embodiment, the variation range of the speed contrast CON is mainly (-70, 70). In order to facilitate the construction of the hidden state of the traffic hidden Markov model, similar to the discretization of the average speed in the prediction window, the contrast CON is discretized into 7 levels, and the 7 levels correspond to the contrast from negative to positive. range, as shown in Table 3.

表3速度对比度离散化Table 3 Velocity contrast discretization

在构造交通流隐马尔科夫模型时,将预测窗口内序列平均值离散化为若干代表不同速度区间的等级和窗口内参数序列对比度CON离散化等级分别作为隐状态的两个因子。利用对比度CON与数据序列平均值离散化后等级的二维全因子联合描述模型隐状态集合S={s1,s2,…,sN}。这种对隐状态的联合表述,克服了传统方法仅描述交通状态静态信息较片面的缺点。When constructing a hidden Markov model of traffic flow, the average value of the sequence within the window will be predicted The discretization is divided into several levels representing different speed intervals and the discretization level of the parameter sequence contrast CON in the window is used as two factors of the hidden state respectively. Utilizing the contrast con with the data series mean The discretized two-dimensional full factor joint description model hidden state set S={s 1 ,s 2 ,…,s N }. This joint representation of the hidden state overcomes the one-sided shortcoming of the traditional method which only describes the static information of the traffic state.

例如,对预测窗口内的参数平均值以及对比度CON分别离散化为m级和n级,则其可描述的交通流隐状态就是m×n个。本实施例以“速度”为例,对预测窗口内速度平均值和对比度分别离散为6级和7级,因此模型的隐状态就有6×7=42种,则隐状态集合为S={s1,s2,…,s42}。For example, for the parameter mean within the forecast window And the contrast CON is discretized into m levels and n levels respectively, then the hidden states of traffic flow that can be described are m×n. In this embodiment, "speed" is taken as an example, and the average speed and contrast in the prediction window are discretely divided into 6 levels and 7 levels, so there are 6×7=42 hidden states in the model, and the hidden state set is S={ s 1 , s 2 ,..., s 42 }.

为了简便,将隐状态用阿拉伯数字来表示,如表3所示。从而,可以将预测窗口(5min)中的数据序列(5min中含10个检测值)所表示的交通状况设为某种状态。For simplicity, the hidden state is represented by Arabic numerals, as shown in Table 3. Therefore, the traffic conditions represented by the data sequence (including 10 detection values in 5 minutes) in the prediction window (5 minutes) can be set as a certain state.

表4隐状态构成表Table 4 Hidden state composition table

注:表4中一些状态是在行驶过程中经常遇到的路况,例如状态17就是高峰时段拥挤导致交通流速度较小的情况。状态39表示道路畅通,并且路况良好,车辆之间影响较小的情况。然而,有的状态很少见,例如状态1,速度已经很低了,继续下降的可能性非常小。尽管如此,为了使模型涵盖所有的状态,仍将其计算在内。Note: Some states in Table 4 are road conditions that are often encountered during driving. For example, state 17 is a situation where traffic flow speed is low due to congestion during peak hours. State 39 indicates that the road is clear and the road condition is good, and the influence between vehicles is small. However, some states are rare, such as state 1, the speed is already very low, and the possibility of further decline is very small. Nevertheless, it is still counted in order for the model to cover all states.

(2)、在确定了隐马尔科夫模型的隐状态集合和观察状态集合之后,对隐马尔科夫模型进行训练,得到适于交通流的隐马尔科夫模型 λ ‾ = ( Π ‾ , A ‾ , B ‾ ) , 具体如下:(2) After determining the hidden state set and observed state set of the hidden Markov model, train the hidden Markov model to obtain a hidden Markov model suitable for traffic flow λ ‾ = ( Π ‾ , A ‾ , B ‾ ) , details as follows:

首先利用随机赋值对隐马尔科夫模型参数进行初始化,得到了隐马尔科夫初始化模型λinitial=(Π,A,B),根据λinitial=(Π,A,B)和已知的观察值序列O={O1,O2,…,OT},利用隐马尔科夫重估公式迭代得到新的隐马尔科夫模型可以证明对重估过程继续迭代直到收敛,此时的即为所求的适于交通流的隐马尔科夫模型 λ ‾ = ( Π ‾ , A ‾ , B ‾ ) . First, use random assignment to initialize the hidden Markov model parameters, and obtain the hidden Markov initialization model λ initial = (Π, A, B), according to λ initial = (Π, A, B) and known observation values Sequence O={O 1 ,O 2 ,…,O T }, use the hidden Markov revaluation formula to iteratively obtain a new hidden Markov model can prove Continue to iterate on the revaluation process until Convergence, at this time Hidden Markov model suitable for traffic flow λ ‾ = ( Π ‾ , A ‾ , B ‾ ) .

(3)、在给定的适用于交流流的隐马尔科夫模型和观察值序列的基础上,利用Viterbi算法求得与观察值序列对应的最优隐状态序列,则隐状态序列中的最后状态即为已检测时段后的所预测的交通流状态;并依次推移进行短时交通流状态预测。因为,观察值与每个预测窗口的起始时刻测得值相对应,则隐状态与预测窗口内的交通流状态对应,则预测时间长度就是预测窗口的长度。(3) On the basis of a given hidden Markov model suitable for AC flow and an observation sequence, the Viterbi algorithm is used to obtain the optimal hidden state sequence corresponding to the observation sequence, then the last hidden state sequence in the hidden state sequence The state is the predicted traffic flow state after the detected period; and the short-term traffic flow state prediction is carried out sequentially. Because the observed value corresponds to the measured value at the beginning of each prediction window, the hidden state corresponds to the traffic flow state in the prediction window, and the length of the prediction time is the length of the prediction window.

首先,在给定隐马尔科夫模型以及观察值序列O=(O1,O2,…,Ot)的基础上,利用Viterbi算法求得与观察序列的最优隐状态序列S=(S1,S2,…,St)。First, given the hidden Markov model And on the basis of the observation sequence O=(O 1 ,O 2 ,…,O t ), use the Viterbi algorithm to obtain the optimal hidden state sequence S=(S 1 ,S 2 ,…,S t ) of the observation sequence .

其次,利用Viterbi变量δt(i)和记忆变量通过Viterbi算法迭代得到对应于O最优的隐状态序列S。Second, using the Viterbi variable δ t (i) and the memory variable The hidden state sequence S corresponding to the O-optimum is obtained through Viterbi algorithm iteration.

因为设定预测窗口起始时刻的测得值对应于观察状态Ot,而对应的最优隐状态序列中的最后隐状态St即为预测窗口内的中的交通状态的描述,因此最优匹配的状态序列S中最后时刻的状态St即为预测的状态,并依次推移进行短时交通流状态预测。Because the measured value at the beginning of the prediction window corresponds to the observation state O t , and the last hidden state S t in the corresponding optimal hidden state sequence is the description of the traffic state in the prediction window, so the optimal The state S t at the last moment in the matching state sequence S is the predicted state, and the short-term traffic flow state prediction is carried out sequentially.

Claims (5)

1., based on a short-term traffic flow trend prediction method for Hidden Markov Model (HMM), it is characterized in that: comprise the steps:
(1), hidden state set and the observation state set of Hidden Markov Model (HMM) is determined, specific as follows:
I, with collection period δ, a certain traffic flow modes parameter by certain section xsect to be gathered, obtain corresponding to this parameter detecting the data sequence being interval with collection period δ in the period;
II, set fixing Period Length as prediction window Φ, i.e. short-term prediction duration, described prediction window Φ is the integral multiple of collection period δ, therefore contains the data sequence that Φ/δ a certain traffic flow modes parameter value forms in prediction window Φ;
Setting transition window Δ, represent that prediction window Φ slides backward transfer successively on a timeline in units of transition window Δ, described transition window Δ is the integral multiple of collection period δ, and scope is δ≤Δ≤Φ; Determine in the quantity detecting prediction window Φ in the period accordingly;
Utilize gray scale united symbiosis Matrix C, determine the contrast C ON of data sequence in each prediction window Φ; Element c in gray scale united symbiosis Matrix C ijrepresent the intensity level of data point to be the intensity level of i and adjacent data point thereof be the frequency that the such data assemblies of j occurs, namely then CON=Σ i,j| j-i| (j-i) c ij;
Each prediction window Φ is all to there being a mean parameter
Initial time parameter value θ in each prediction window Φ tas observed value, then all observed values form observed value sequence O={O 1, O 2..., O t;
III, add up the variation range of all observed values, according to statistics, the variation range of observed value is carried out discrete turn to M interval, obtain corresponding to interval grade, turn to M level by all observed values are discrete, setting grade is observation state o simultaneously i(i=1,2 ..., M), obtain observation state set O={o 1, o 2..., o m;
In like manner, the mean parameter in statistical forecast window Φ with the variation range of contrast C ON, according to statistics, by mean parameter with contrast C ON carry out respectively discrete turn to m and n interval, obtain the grade corresponding to interval, by mean parameter simultaneously the discrete m of turning to level, contrast C ON are discrete turns to n level, then utilize mean parameter combining the hidden state of description with the two-dimentional total divisor of the grade of contrast C ON is exactly m × n, obtains hidden state set S={s 1, s 2..., s n, N=m × n;
(2), after the hidden state set determining Hidden Markov Model (HMM) and observation state set, utilize Baum-Welch algorithm to train Hidden Markov Model (HMM), obtain the Hidden Markov Model (HMM) being suitable for traffic flow specific as follows:
First utilize random assignment to carry out initialization to Hidden Markov Model (HMM) parameter, obtain Hidden Markov initialization model λ initial=(Π, A, B), according to λ initial=(Π, A, B) and known observed value sequence O={O 1, O 2..., O t, utilize Hidden Markov revaluation formula iteration to obtain new Hidden Markov Model (HMM) can prove to revaluation process continue iteration until convergence, now be the required Hidden Markov Model (HMM) being suitable for traffic flow λ ‾ = ( Π ‾ , A ‾ , B ‾ ) ;
(3), on the basis of the given Hidden Markov Model (HMM) being applicable to traffic flow and observed value sequence, the hidden status switch of optimum utilizing Viterbi algorithm to try to achieve to answer with observed value sequence pair, the traffic flow modes predicted after final state then in hidden status switch is and detects the period, and short-term traffic flow status predication is carried out in passing successively.
2. the short-term traffic flow trend prediction method based on Hidden Markov Model (HMM) according to claim 1, is characterized in that: the traffic flow modes parameter of described collection is traffic flow speed or vehicle flowrate or occupation rate.
3. the short-term traffic flow trend prediction method based on Hidden Markov Model (HMM) according to claim 1 and 2, is characterized in that: the duration detecting the period in described step I is 500min.
4. the short-term traffic flow trend prediction method based on Hidden Markov Model (HMM) according to claim 3, is characterized in that: described collection period δ is 30s.
5. the short-term traffic flow trend prediction method based on Hidden Markov Model (HMM) according to claim 4, is characterized in that: the duration of described prediction window Φ is 5min or 10min.
CN201310276581.7A 2013-07-03 2013-07-03 Short-term traffic flow forecasting method based on hidden Markov model Expired - Fee Related CN103413443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310276581.7A CN103413443B (en) 2013-07-03 2013-07-03 Short-term traffic flow forecasting method based on hidden Markov model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310276581.7A CN103413443B (en) 2013-07-03 2013-07-03 Short-term traffic flow forecasting method based on hidden Markov model

Publications (2)

Publication Number Publication Date
CN103413443A CN103413443A (en) 2013-11-27
CN103413443B true CN103413443B (en) 2015-05-20

Family

ID=49606448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310276581.7A Expired - Fee Related CN103413443B (en) 2013-07-03 2013-07-03 Short-term traffic flow forecasting method based on hidden Markov model

Country Status (1)

Country Link
CN (1) CN103413443B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745602B (en) * 2014-01-16 2016-04-13 银江股份有限公司 A kind of traffic flow forecasting method average based on sliding window
CN104021665B (en) * 2014-06-06 2016-09-07 河南理工大学 Genetic search Short-time Traffic Flow Forecasting Methods
CN104464291B (en) * 2014-12-08 2017-02-01 杭州智诚惠通科技有限公司 Traffic flow predicting method and system
CN104408203A (en) * 2014-12-18 2015-03-11 西安电子科技大学宁波信息技术研究院 Method for predicting path destination of moving object
CN104537891B (en) * 2014-12-30 2016-08-24 江苏理工学院 Ship track real-time prediction method
CN104616498B (en) * 2015-02-02 2017-01-25 同济大学 Combination Forecasting Method of Traffic Congestion Based on Markov Chain and Neural Network
CN109255493A (en) * 2015-03-31 2019-01-22 江苏理工学院 Subway train track real-time prediction method based on robust strategy
CN105303835B (en) * 2015-11-13 2017-09-01 西安邮电大学 A Short-term Prediction Method of Road Traffic Flow State
CN106097726A (en) * 2016-08-23 2016-11-09 苏州科达科技股份有限公司 The detection determination in region, traffic information detection method and device
CN106373410B (en) * 2016-09-21 2018-12-21 青岛大学 A kind of Optimal Method of Urban Traffic Signal Control
CN106530715B (en) * 2016-12-24 2019-05-31 浙江工业大学 Road network traffic state prediction method based on fuzzy Markov process
CN106649122B (en) * 2016-12-28 2020-06-26 Tcl科技集团股份有限公司 Model construction method and device for terminal application
US10140854B2 (en) 2017-04-03 2018-11-27 Here Global B.V. Vehicle traffic state determination
CN107437339A (en) * 2017-06-20 2017-12-05 北京交通大学 Coordinated control method and system for a variable information intelligence board under information guidance
CN108629457B (en) * 2018-05-09 2021-09-28 西南交通大学 Travel prediction mode and method and device for building prediction model
CN109147325B (en) * 2018-09-04 2022-01-28 广州视源电子科技股份有限公司 Road condition prediction method and device, storage medium and processor
CN109344195B (en) * 2018-10-25 2021-09-21 电子科技大学 HMM model-based pipeline security event recognition and knowledge mining method
CN109637128B (en) * 2018-12-14 2021-06-18 南通大学 A Markov-based Grey Verhulst Short-Term Traffic Flow Prediction Method and System
CN109981358A (en) * 2019-03-13 2019-07-05 南京理工大学 A kind of adaptive network performance method for early warning based on built-up pattern
CN110084112B (en) * 2019-03-20 2022-09-20 太原理工大学 Traffic jam judging method based on image processing
CN110085026A (en) * 2019-03-28 2019-08-02 中国公路工程咨询集团有限公司 A kind of traffic status prediction method based on clustering and Markov model
CN110020475B (en) * 2019-04-03 2023-10-10 北京工业大学 Markov particle filtering method for traffic flow prediction
CN110415521B (en) * 2019-07-31 2021-03-05 京东城市(北京)数字科技有限公司 Traffic data prediction method, apparatus and computer-readable storage medium
CN111444302B (en) * 2020-04-17 2020-12-18 中国传媒大学 Mobility prediction method, system and device based on user classification
CN111951553B (en) * 2020-08-17 2022-11-11 上海电科智能系统股份有限公司 Prediction method based on traffic big data platform and mesoscopic simulation model
CN113380026B (en) * 2021-05-28 2022-07-22 南京理工大学 HMM-based highway traffic prediction method
CN113762644B (en) * 2021-09-26 2023-11-24 中国联合网络通信集团有限公司 Congestion state prediction method and device based on Markov chain
CN114282169B (en) * 2021-10-12 2024-07-12 腾讯科技(深圳)有限公司 Abnormal data detection method and related device
CN115547050A (en) * 2022-10-11 2022-12-30 云控智行(上海)汽车科技有限公司 An intelligent traffic signal control optimization method and software based on Markov decision process

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707544A (en) * 2005-05-26 2005-12-14 上海交通大学 Estimation Method of Traffic Flow State in Urban Road Network
CN1776739A (en) * 2004-11-16 2006-05-24 微软公司 Traffic predictiong using model-setting and analuzing to probability relativity and environment data
US20070208492A1 (en) * 2006-03-03 2007-09-06 Inrix, Inc. Dynamic time series prediction of future traffic conditions
CN101188002A (en) * 2007-12-24 2008-05-28 北京大学 A real-time and continuous urban traffic state prediction system and method
US20090002195A1 (en) * 2007-06-29 2009-01-01 Microsoft Corporation Sensing and predicting flow variance in a traffic system for traffic routing and sensing
US20120072096A1 (en) * 2006-03-03 2012-03-22 Chapman Craig H Dynamic prediction of road traffic conditions
CN102695637A (en) * 2009-08-31 2012-09-26 丰田自动车欧洲股份有限公司 Vehicle or traffic control method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776739A (en) * 2004-11-16 2006-05-24 微软公司 Traffic predictiong using model-setting and analuzing to probability relativity and environment data
CN1707544A (en) * 2005-05-26 2005-12-14 上海交通大学 Estimation Method of Traffic Flow State in Urban Road Network
US20070208492A1 (en) * 2006-03-03 2007-09-06 Inrix, Inc. Dynamic time series prediction of future traffic conditions
US20120072096A1 (en) * 2006-03-03 2012-03-22 Chapman Craig H Dynamic prediction of road traffic conditions
US20090002195A1 (en) * 2007-06-29 2009-01-01 Microsoft Corporation Sensing and predicting flow variance in a traffic system for traffic routing and sensing
CN101188002A (en) * 2007-12-24 2008-05-28 北京大学 A real-time and continuous urban traffic state prediction system and method
CN102695637A (en) * 2009-08-31 2012-09-26 丰田自动车欧洲股份有限公司 Vehicle or traffic control method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于小波分析的随机交通流组合预测方法研究;丁恒,等;《系统仿真学报》;20120208;第24卷(第2期);第377-381页 *
基于影响模型的短时交通流预测方法;丁栋,等;《计算机工程》;20120520;第38卷(第10期);第164-167页 *

Also Published As

Publication number Publication date
CN103413443A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103413443B (en) Short-term traffic flow forecasting method based on hidden Markov model
CN101216998B (en) An urban traffic flow information amalgamation method of evidence theory based on fuzzy rough sets
CN110400462B (en) Track traffic passenger flow monitoring and early warning method and system based on fuzzy theory
CN103903430B (en) Dynamic fusion type travel time predicting method with multi-source and isomorphic data adopted
CN106427589A (en) Electric car driving range estimation method based on prediction of working condition and fuzzy energy consumption
CN105679025B (en) A kind of arterial street travel time estimation method based on Changeable weight mixed distribution
CN103606299B (en) Parking space information based on smart mobile phone shares method
CN112434854B (en) Intelligent environmental sanitation management method and device, computer equipment and readable medium
CN102074124A (en) A Dynamic Bus Arrival Time Prediction Method Based on SVM and H∞ Filter
CN107194491A (en) A kind of dynamic dispatching method based on Forecasting of Travel Time between bus passenger flow and station
CN112669595B (en) A deep learning-based online car-hailing traffic flow prediction method
CN106228808A (en) City expressway travel time prediction method based on Floating Car space-time grid data
CN107085943A (en) A kind of road travel time short term prediction method and system
CN110889092A (en) Short-time large-scale activity peripheral track station passenger flow volume prediction method based on track transaction data
CN104766475A (en) Urban traffic bottleneck mining method
CN105374209A (en) Urban region road network running state characteristic information extraction method
CN113657725A (en) Bus route and scheduling optimization method, system, device and medium
CN106157624A (en) Many granularities road shunting visual analysis methods based on traffic location data
CN118230546A (en) Urban green traffic management system and method based on multi-source data
Hu et al. Graph transformer embedded deep learning for short-term passenger flow prediction in urban rail transit systems: A multi-gate mixture-of-experts model
CN106228268A (en) A kind of Forecasting Methodology of expressway travel time based on charge data
Liu et al. Highway traffic congestion detection and evaluation based on deep learning techniques
CN119599172A (en) Urban garbage bin distribution intelligent decision-making method and system
Berlotti et al. Proposal of an ai based approach for urban traffic prediction from mobility data
CN117787688A (en) A risk prediction method for traffic accidents on national and provincial trunk roads

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

Granted publication date: 20150520

CF01 Termination of patent right due to non-payment of annual fee