当前位置:网站首页>AR model in MATLAB for short-term traffic flow prediction
AR model in MATLAB for short-term traffic flow prediction
2022-07-26 09:39:00 【studyer_ domi】
1、 Content abstract
A little
438- Can communicate 、 consulting 、 Answering question
2、 Content description
The purpose of intelligent transportation system , Is to use rich traffic detection data , Predict the future traffic flow state , For the most efficient use of Expressway resources , Reduce traveler time , Reduce traffic congestion and traffic accidents on expressways . Short term traffic flow prediction is a road traffic control system 、 One of the most important problems to be solved in the field of traffic flow guidance system . Study the theory and method of short-term traffic flow prediction , So as to accurately predict the road traffic flow in minutes or even shorter time in the future , For alleviating urban traffic congestion 、 Avoiding the waste of social resources has important significance and application value . This paper takes the typical two adjacent intersections in the urban road network as the research object , Consider the traffic flow at the intersection in the past several times and the traffic flow related to the turning at the upstream intersection , A wavelet decomposition model is established to predict the first step , Combined with neural network, the hybrid prediction method for the second step prediction . By analyzing the characteristics of sample data of traffic flow at urban intersections , The short-term traffic flow shows strong nonlinearity 、 Time varying 、 uncertainty , And the correlation with the traffic flow at the upstream intersection . A single prediction method is difficult to meet the requirements of prediction accuracy , therefore , This paper proposes that the traffic flow data should be processed first “ frequency ” decompose , Firstly, wavelet transform is used to filter the traffic flow data , Filter the components of sudden changes in traffic flow caused by various uncertain factors into frequency bands , Get a basic data sequence and interference signal data sequence of different frequency bands , In this way, each group of data after decomposition becomes a relatively simple component 、 Data column with relatively stable data changes . Then use the model to predict the decomposed data in different frequency bands , Then add the prediction results of each sequence to get the first prediction . Finally, combined with the traffic flow of relevant turns at the upstream intersection, the neural network is used to predict the second step , Get the overall traffic flow prediction results with high accuracy .
key word : short-term traffic flow forecasting ,AR Model , neural network , Mixed Forecasting
3、 Simulation analysis

clear,clc,close all
data = xlsread(' Four days 17 Point to the 20 Point traffic flow data .xlsx');
time = data(:,1);
flow = data(:,2);
num = length(time)/4;
figure
plot(time(1:num),flow(1:num))
title The first day 17 Point to the 20 Point traffic flow data
xlabel Time /5min
ylabel Traffic
set(gcf,'color','w');
set(gca,'box','off');
figure
plot(time(num+1:num*2),flow(num+1:num*2))
title the second day 17 Point to the 20 Point traffic flow data
xlabel Time /5min
ylabel Traffic
set(gcf,'color','w');
set(gca,'box','off');
figure
plot(time(num*2+1:num*3),flow(num*2+1:num*3))
title On the third day 17 Point to the 20 Point traffic flow data
xlabel Time /5min
ylabel Traffic
set(gcf,'color','w');
set(gca,'box','off');
figure
plot(time(num*3+1:num*4),flow(num*3+1:num*4))
title The fourth day 17 Point to the 20 Point traffic flow data
xlabel Time /5min
ylabel Traffic
set(gcf,'color','w');
set(gca,'box','off');
% y = iddata(flow(num*3+1:num*4),[],5*60);
% mb = ar(y,4,'burg')
% EstMdl = estimate(mb,time(num*2+1:num*3)); % y is your data
%% The first day 17 Point to the 20 Point traffic flow data
num = length(time)/4;
order = 6;
y1 = flow(1:num); y2 = flow(num+1:num*2);
y3 = flow(num*2+1:num*3); y4 = flow(num*3+1:num*4);
model1 = ar(y1, order, 'burg', 'Ts', 5*60, 'IntegrateNoise', false)
p1_1=predict(model1,y2);
p1_2=predict(model1,y3);
p1_3=predict(model1,y4);
figure
plot(y2)
hold on
plot(p1_1)
hold off
figure
plot(y3)
hold on
plot(p1_2)
hold off
figure
plot(y4)
hold on
plot(p1_3)
hold off
4、 Reference paper
A little
边栏推荐
- Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
- Great reward for interview questions
- Development to testing: a six-year road to automation starting from 0
- 面试题目大赏
- M-ary number STR to n-ary number
- RMQ学习笔记
- 如何添加一个PDB
- Source code analysis of object wait notify notifyAll
- Qt随手笔记(二)Edit控件及float,QString转化、
- asp.net 使用redis缓存(二)
猜你喜欢
随机推荐
登录模块用例编写
Fiddler download and installation
keepalived 实现mysql自动故障切换
JS judge the data types object.prototype.tostring.call and typeof
注册模块用例编写
POJ 1012 Joseph
Add DLL
Fiddler抓包工具之移动端抓包
Login module use case writing
在同一conda环境下先装Pytroch后装TensorFlow
SSG框架Gatsby访问数据库,并显示到页面上
R语言ggplot2可视化: 将图例标题(legend title)对齐到ggplot2中图例框的中间(默认左对齐、align legend title to middle of legend)
高斯消元求解异或线性方程组
asp.net 使用redis缓存(二)
EOJ 2020 January race E-number transformation
dll中的全局变量
Basic knowledge of website design
MQTT X CLI 正式发布:强大易用的 MQTT 5.0 命令行工具
docker配置mysql集群
m进制数str转n进制数







