当前位置:网站首页>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
边栏推荐
- 微信小程序图片无法显示时显示默认图片
- C managed and unmanaged
- R语言ggpubr包ggsummarystats函数可视化分组箱图(自定义分组颜色)并在X轴标签下方添加分组对应的统计值(样本数N、中位数median、四分位数的间距iqr、统计值的色彩和分组图色匹配
- MFC handy notes
- 官方颁发的SSL证书与自签名证书结合实现网站双向认证
- Login module use case writing
- nodejs服务后台执行(forever)
- Jmeter配置元件之CSV数据文件设置
- The whole process of server environment configuration
- “互联网+”时代的现代医学
猜你喜欢

Source code analysis of object wait notify notifyAll

Server and client dual authentication (2)

高斯消元

Great reward for interview questions

docker配置mysql集群
![[Online deadlock analysis] by index_ Deadlock event caused by merge](/img/67/0a02ad248c3ab21d3240e12aa23313.png)
[Online deadlock analysis] by index_ Deadlock event caused by merge

MySQL的逻辑架构

Xiaobai makes a wave of deep copy and shallow copy

Registration module use case writing

Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
随机推荐
The provincial government held a teleconference on safety precautions against high temperature weather across the province
copyTo
OFDM Lecture 16 - OFDM
Does volatile rely on the MESI protocol to solve the visibility problem? (top)
【Mysql数据库】mysql基本操作集锦-看得会的基础(增删改查)
正则表达式
解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.
(二)面扫描仪与机械臂的手眼标定(眼在手外:九点标定)
Alibaba cloud technology expert haochendong: cloud observability - problem discovery and positioning practice
CSV data file settings of JMeter configuration components
asp.net 使用redis缓存(二)
phpexcel导出emoji符号报错
Mo team learning summary (II)
Implementation of fragment lazy loading after multi-layer nesting
JS 连等赋值操作
nodejs中mysql的使用
Application of Gauss elimination
antd TreeSelect获取父节点的值
Global variables in DLL
2019 ICPC Asia Yinchuan regional (water problem solution)