CN110503833A - A linkage control method for on-ramps based on deep residual network model - Google Patents
A linkage control method for on-ramps based on deep residual network model Download PDFInfo
- Publication number
- CN110503833A CN110503833A CN201910809931.9A CN201910809931A CN110503833A CN 110503833 A CN110503833 A CN 110503833A CN 201910809931 A CN201910809931 A CN 201910809931A CN 110503833 A CN110503833 A CN 110503833A
- Authority
- CN
- China
- Prior art keywords
- data
- traffic flow
- model
- prediction
- rate
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012549 training Methods 0.000 claims abstract description 67
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 37
- 238000006243 chemical reaction Methods 0.000 claims abstract description 27
- 241000351238 Alinea Species 0.000 claims abstract description 19
- 238000004088 simulation Methods 0.000 claims abstract description 16
- 238000011156 evaluation Methods 0.000 claims abstract description 12
- 238000004458 analytical method Methods 0.000 claims abstract description 11
- 239000000284 extract Substances 0.000 claims abstract description 11
- 230000006870 function Effects 0.000 claims description 37
- 230000008859 change Effects 0.000 claims description 23
- 238000004364 calculation method Methods 0.000 claims description 16
- 238000005457 optimization Methods 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 14
- 230000033228 biological regulation Effects 0.000 claims description 13
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 239000011159 matrix material Substances 0.000 claims description 9
- 238000010606 normalization Methods 0.000 claims description 9
- 238000012360 testing method Methods 0.000 claims description 9
- 230000007704 transition Effects 0.000 claims description 9
- 239000013598 vector Substances 0.000 claims description 9
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000013480 data collection Methods 0.000 claims description 6
- 238000009499 grossing Methods 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000000644 propagated effect Effects 0.000 claims description 4
- 238000013135 deep learning Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000012804 iterative process Methods 0.000 claims description 3
- 241001269238 Data Species 0.000 claims 1
- 238000013479 data entry Methods 0.000 claims 1
- 238000003475 lamination Methods 0.000 claims 1
- 238000007781 pre-processing Methods 0.000 abstract description 8
- 230000010365 information processing Effects 0.000 abstract description 2
- 208000027744 congestion Diseases 0.000 description 9
- 230000000694 effects Effects 0.000 description 7
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 6
- 238000013507 mapping Methods 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 6
- 238000011176 pooling Methods 0.000 description 6
- 230000004913 activation Effects 0.000 description 5
- 238000011217 control strategy Methods 0.000 description 5
- 238000011144 upstream manufacturing Methods 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 230000008034 disappearance Effects 0.000 description 4
- 241000408896 Alenia Species 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- SUBDBMMJDZJVOS-DEOSSOPVSA-N esomeprazole Chemical compound C([S@](=O)C1=NC2=CC=C(C=C2N1)OC)C1=NC=C(C)C(OC)=C1C SUBDBMMJDZJVOS-DEOSSOPVSA-N 0.000 description 3
- 230000008439 repair process Effects 0.000 description 3
- 206010021033 Hypomenorrhoea Diseases 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000006185 dispersion Substances 0.000 description 2
- 210000002569 neuron Anatomy 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 238000011426 transformation method Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 101001095088 Homo sapiens Melanoma antigen preferentially expressed in tumors Proteins 0.000 description 1
- 102100037020 Melanoma antigen preferentially expressed in tumors Human genes 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000010219 correlation analysis Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003064 k means clustering Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012821 model calculation Methods 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0137—Measuring and analyzing of parameters relative to traffic conditions for specific applications
- G08G1/0145—Measuring and analyzing of parameters relative to traffic conditions for specific applications for active traffic flow control
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
- G08G1/075—Ramp control
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种基于深度残差网络模型的入口匝道联动控制方法,首先,收集交通流特征历史数据,预处理后进行数图转换;其次,输入图像数据,建立并训练交通流特征值的预测模型;第三,收集实时交通流特征数据,预处理后数图转换输入模型,输出短时变化趋势预测图,并利用图数转换将预测趋势图转为文本数据;第四,转换后的文本数据,利用训练好的预测模型对道路交通特征值进行短时预测,对汇入主线的车流量提前进行联动控制;最后,使用VB+VISSIM程序进行ALINEA算法的仿真评价与分析,并发布路况信息。本发明控制方法,数据预处理后分别进行数图转换,数图转换可提取二维图像更多细节特征,降低模型训练和预测时间,提高预测精度与实时信息处理速度。
The invention discloses an on-ramp linkage control method based on a deep residual network model. Firstly, the historical data of traffic flow characteristics is collected, and digital map conversion is performed after preprocessing; secondly, image data is input, and the characteristic value of traffic flow is established and trained. Forecasting model; third, collect real-time traffic flow characteristic data, convert the input model after preprocessing, and output short-term trend prediction graphs, and convert the predicted trend graphs into text data by graph-to-digital conversion; fourth, convert the Text data, use the trained prediction model to predict the road traffic characteristic value in a short time, and carry out linkage control on the traffic flow entering the main line in advance; finally, use the VB+VISSIM program to carry out the simulation evaluation and analysis of the ALINEA algorithm, and release the road conditions information. In the control method of the present invention, digital map conversion is performed after data preprocessing, and digital map conversion can extract more detailed features of two-dimensional images, reduce model training and prediction time, and improve prediction accuracy and real-time information processing speed.
Description
技术领域technical field
本发明属于交通数据预测领域,涉及一种短时交通流特征数据预测与交通流状态划 分方法,基于深度残差网络模型进行数据预测,并利用预测数据进行入口匝道联动控制的方法。The invention belongs to the field of traffic data prediction, and relates to a short-term traffic flow characteristic data prediction and traffic flow state division method, data prediction based on a deep residual network model, and a method for on-ramp linkage control using the prediction data.
背景技术Background technique
道路交通流特征数据主要包括车流量、车流速度、车流密度和车辆占有率。道路交通流特征数据预测能够预测下一时段数据并划分交通流状态,是进行交通管理和控制的必要前提。基于交通流预测的交通管理与控制不仅便于出行者制定更好的出行计划,还 有利于交通管理部门做出更好的管理决策。The characteristic data of road traffic flow mainly include traffic volume, traffic speed, traffic density and vehicle occupancy rate. Road traffic flow characteristic data prediction can predict the data of the next period and divide the traffic flow state, which is a necessary prerequisite for traffic management and control. Traffic management and control based on traffic flow forecasting not only facilitates travelers to make better travel plans, but also facilitates traffic management departments to make better management decisions.
在已有的道路交通流特征数据预测方法中,目前使用最广的是浅层模型和时序模型。 浅层模型不能较好的挖掘交通流数据中的信息,时序模型只考虑了交通流在时间上的特 征而忽略了空间上的影响。而深度残差网络不仅能够基于数据变化趋势图像提取时间上 的特征,还能提取空间上的特征,故本发明提出了一种基于深度残差网络的交通流特征数据预测方法,通过卷积提取交通流特征数据变化趋势图中的时空特征并进行非线性回归,最终实现道路交通流特征数据的预测,并基于预测数据进行交通管理与控制。Among the existing road traffic flow characteristic data prediction methods, shallow model and time series model are the most widely used at present. The shallow model cannot mine the information in the traffic flow data well, and the time series model only considers the characteristics of the traffic flow in time and ignores the influence of space. The deep residual network can not only extract temporal features based on the data trend image, but also extract spatial features. Therefore, the present invention proposes a traffic flow feature data prediction method based on the deep residual network. The temporal and spatial characteristics of the traffic flow characteristic data change trend graph are analyzed and nonlinear regression is performed, and finally the prediction of road traffic flow characteristic data is realized, and traffic management and control are carried out based on the predicted data.
随着深度学习与人工智能技术的飞速发展,对道路交通流预测的准确度日益提高。 道路交通流预测可以辅助交通管理部门做出更为合理的交通管控策略,为车主响应交通 管控策略提供参考,缓解交通拥堵,减少交通资源的浪费。基于深度残差网络模型的道路交通流预测为智能交通系统提供了基础数据,并推动了智能交通系统的发展和应用。With the rapid development of deep learning and artificial intelligence technology, the accuracy of road traffic flow prediction is increasing day by day. Road traffic flow prediction can assist the traffic management department to make more reasonable traffic control strategies, provide reference for vehicle owners to respond to traffic control strategies, alleviate traffic congestion, and reduce the waste of traffic resources. Road traffic flow prediction based on deep residual network model provides basic data for intelligent transportation systems and promotes the development and application of intelligent transportation systems.
发明目的purpose of invention
为了提高现有短时交通流特征数据预测与交通流状态划分方法精度的不足,同时解 决传统入口匝道控制方法不具有前馈机制与预测机制的短板,本发明提供一种基于深度 残差网络模型的短时交通流特征数据预测与入口匝道联动控制方法。In order to improve the accuracy of the existing short-term traffic flow characteristic data prediction and traffic flow state division methods, and to solve the shortcomings of the traditional on-ramp control method that does not have a feedforward mechanism and a prediction mechanism, the present invention provides a deep residual network based Model short-term traffic flow characteristic data prediction and on-ramp linkage control method.
实现一种基于深度残差网络模型的入口匝道联动控制方法,主要包括以下步骤:A method for on-ramp linkage control based on a deep residual network model is realized, which mainly includes the following steps:
步骤1:收集交通流特征历史数据,数据预处理后进行数图转换,将数据转换为以时间 为序列的二维图像;Step 1: Collect the historical data of traffic flow characteristics, perform digital map conversion after data preprocessing, and convert the data into two-dimensional images with time sequence;
步骤2:输入图像数据,建立并训练基于深度残差网络交通流特征值的预测模型,设置 超参数与网络层级,经过前向传播与反向传播进行参数调优,完成模型训练,并深度学习历 史交通流特征值变化趋势;Step 2: Input image data, establish and train a prediction model based on the characteristic value of traffic flow in the deep residual network, set hyperparameters and network levels, perform parameter tuning through forward propagation and back propagation, complete model training, and deep learning The change trend of historical traffic flow characteristic value;
步骤3:收集实时交通流特征数据,将经过预处理的数据进行数图转换,将数据转换为 以时间为序列的二维图像;转换后将图像数据输入训练好的深度残差网络预测模型进行短时 预测,输出短时变化趋势预测图,并利用图数转换将预测趋势图转为文本数据;Step 3: Collect real-time traffic flow characteristic data, convert the preprocessed data into digital images, and convert the data into two-dimensional images with time sequence; after conversion, input the image data into the trained deep residual network prediction model for Short-term forecasting, output short-term trend forecasting graphs, and convert the forecasting trend graphs into text data by using graph number conversion;
步骤4:转换后的文本数据,利用训练好的深度残差网络预测模型对道路交通特征值进 行短时预测,将预测数据和识别的车流状态输入至入口匝道控制ALINEA算法中,计算下一控 制周期车辆占有率与最大排队车辆数,对汇入主线的车流量提前进行联动控制;Step 4: Using the converted text data, use the trained deep residual network prediction model to make short-term predictions of road traffic characteristic values, input the predicted data and identified traffic flow status into the on-ramp control ALINEA algorithm, and calculate the next control Periodic vehicle occupancy rate and the maximum number of queuing vehicles, and the linkage control of the traffic flow into the main line in advance;
步骤5:使用VB+VISSIM程序进行ALINEA算法的仿真评价与分析,并发布路况信息。Step 5: Use the VB+VISSIM program to perform simulation evaluation and analysis of the ALINEA algorithm, and release road condition information.
步骤1具体包括如下步骤:Step 1 specifically includes the following steps:
1.1历史数据收集1.1 Historical data collection
通过无人机拍摄视频与车辆检测器检测两种方法收集历史车流量数据,无人机拍摄视频 可以收集路段车流量数据与路段车流状态变化情况;车辆检测器通过检测与处理可收集路段 各车道的交通流特征值;The historical traffic flow data can be collected by two methods: UAV shooting video and vehicle detector detection. UAV shooting video can collect road section traffic flow data and road section traffic state changes; vehicle detector can collect road section lanes through detection and processing The characteristic value of traffic flow;
定义交通流特征值为车流量Q、平均车流速度v、车流密度km和车辆占有率Rt,交通流特 征值可通过直接收集或间接计算得到,车辆占有率采用时间占有率为指标,计算公式如下:The traffic flow characteristic values are defined as traffic flow Q, average traffic speed v , traffic density km and vehicle occupancy rate Rt . The traffic flow characteristic values can be obtained through direct collection or indirect calculation. The vehicle occupancy rate uses the time occupancy rate index. The formula is as follows:
T为每个控制周期的时间长度;ti第i辆车通过断面所占时间,单位为秒;n为测定时间内 通过断面的车辆数。T is the time length of each control cycle; t i takes the i-th vehicle to pass the section, in seconds; n is the number of vehicles passing the section within the measurement time.
1.2数据预处理1.2 Data preprocessing
无人机和车辆检测器直接采集到的交通流特征值不可避免的总是存在数据丢失、错误、 无效、时间漂移等问题,如果直接将问题数据反馈给深度残差网络模型应用,将造成模型预 测出现误差。因此,数图转换前须对采集到的数据进行预处理,即数据清洗(dataclean), 包括异常数据识别、异常数据修复与数据去噪与归一化;The traffic flow feature values directly collected by drones and vehicle detectors inevitably have problems such as data loss, error, invalidity, and time drift. If the problem data is directly fed back to the deep residual network model application, it will cause the model Forecast error. Therefore, the collected data must be preprocessed before digital map conversion, that is, data cleaning (dataclean), including abnormal data identification, abnormal data repair, data denoising and normalization;
1.2.1异常数据识别1.2.1 Abnormal data identification
采集的交通流异常数据主要包括三种情况:The collected abnormal traffic flow data mainly includes three situations:
(1)交通流量、速度和占有率等数据超出了合理的阈值范围;(1) Data such as traffic flow, speed and occupancy rate exceed the reasonable threshold range;
(2)交通流量、速度和占有率等数据之间的关系不符合交通流理论;(2) The relationship between traffic flow, speed and occupancy data does not conform to the traffic flow theory;
(3)交通流量、速度和占有率等数据存在缺失;(3) Data such as traffic flow, speed and occupancy rate are missing;
针对以上类型的交通流数据,可直接删除或进行数据修复。For the above types of traffic flow data, it can be directly deleted or data repaired.
1.2.2异常数据修复1.2.2 Abnormal data repair
交通流异常特征数据主要包括数据错误和数据缺失两种情况,对于识别出的数据异常值, 直接将其删除;针对缺失数据,采用K最近距离邻法(K-means clustering)进行数据补齐, 先根据欧式距离或相关分析来确定距离具有缺失数据样本最近的K个样本,再将这K个值加权 平均来估计该样本的缺失数据。Traffic flow anomaly feature data mainly includes data error and data missing. For the identified data outliers, they are directly deleted; for the missing data, the K-means clustering method is used to complete the data. First, according to the Euclidean distance or correlation analysis, the K samples closest to the sample with missing data are determined, and then the K values are weighted and averaged to estimate the missing data of the sample.
1.2.3数据去噪1.2.3 Data denoising
交通流数据在采集周期比较短的情况下,往往包含相对较多的高斯噪声,在一定程度上 影响交通数据的分析和建模,因此有必要针对采样数据进行简单的去噪处理。;数据去噪采 用一次指数平滑算法,尽可能在不增加算法复杂度的基础上,最大程度的保留交通流数据的 短期变化趋势;一次指数平滑法计算公式如下:Traffic flow data often contains relatively more Gaussian noise when the acquisition period is relatively short, which affects the analysis and modeling of traffic data to a certain extent. Therefore, it is necessary to perform simple denoising processing on the sampled data. ; The data denoising adopts an exponential smoothing algorithm to preserve the short-term trend of traffic flow data to the greatest extent without increasing the complexity of the algorithm; the calculation formula of an exponential smoothing method is as follows:
式中,和X(m)分别为m时刻的平滑数据和实际数据,k为平滑指数,取0.1。In the formula, and X(m) are the smoothed data and actual data at time m respectively, and k is the smoothing index, which is taken as 0.1.
1.2.4数据归一化1.2.4 Data normalization
在对交通流数据构建神经网络模型时,通常需要对数据进行归一化处理,以避免神经元 出现饱和的现象,采用Logistic/Softmax变换方法,将所有待处理数据转化到[0,1]区间内。When constructing a neural network model for traffic flow data, it is usually necessary to normalize the data to avoid saturation of neurons, and use the Logistic/Softmax transformation method to transform all the data to be processed into the [0,1] interval Inside.
1.3数图转换1.3 Digitmap conversion
将经过预处理的交通流数据以时间为序列进行二维图像转换,得到不同道路状态条件下 实时时间-交通流特征数据变化趋势图,处理完毕的数据以图片形式进行保存经后续处理作为 深度残差网络模型的训练与测试。The preprocessed traffic flow data is converted into a two-dimensional image in time sequence, and the real-time time-traffic flow characteristic data change trend graph under different road conditions is obtained. The processed data is saved in the form of a picture and processed as a deep residual Training and testing of network models.
步骤2具体包括如下步骤:Step 2 specifically includes the following steps:
2.1数据输入与初始化2.1 Data input and initialization
基于TensorFlow进行图像样本数据输入,进行特征集选取、不同类型的样本选取、样本 矢量图与特征图转换、TFRecords样本数据集生成、数据集输入5个部分;TFRecords是一种二 进制文件格式,占用内存小,方便复制移动和存储,不需要单独的标签文件;Image sample data input based on TensorFlow, feature set selection, different types of sample selection, sample vector map and feature map conversion, TFRecords sample data set generation, data set input 5 parts; TFRecords is a binary file format, occupying memory Small, easy to copy, move and store, no need for a separate label file;
读取TFRecords格式的训练样本,根据样本标签采用一位有效编码(One-Hot)方式将数据 进行编码;Read the training samples in TFRecords format, and encode the data in a One-Hot way according to the sample labels;
为了避免出现过拟合,并增强模型的鲁棒性,原有图像数据可以通过图像饱和度、对比 度转换等数据増强方法,在保证特征不变的同时,通过改变像素位置等信息,得到更为充分 的样本数据集。In order to avoid over-fitting and enhance the robustness of the model, the original image data can be enhanced by image saturation, contrast conversion and other data enhancement methods, while keeping the features unchanged, by changing the pixel position and other information to obtain a more accurate image. for a sufficient sample dataset.
2.2超参数设置2.2 Hyperparameter Settings
深度残差网络模型训练前需进行超参数设置,主要设置参数包括批量训练大小(Batch-size),学习率(Learning rate),权值衰减率(weight-decay-rate),优化器选择(optimizer)等;Hyperparameters need to be set before training the deep residual network model. The main setting parameters include batch training size (Batch-size), learning rate (Learning rate), weight decay rate (weight-decay-rate), optimizer selection (optimizer )Wait;
批量训练大小值决定了下降的方向,与数据集的大小成反比;当数据集足够大时,适当 的减小可以减少计算量;若数据量较小,且存在噪声数据时,应该设置较大的批量训练大小 值以减少噪声数据的干扰;The batch training size value determines the direction of decline, which is inversely proportional to the size of the data set; when the data set is large enough, appropriate reduction can reduce the amount of calculation; if the amount of data is small and there is noise data, it should be set larger The value of the batch training size to reduce the interference of noisy data;
学习率决定了权值更新的幅度,把学习率设置在合适的范围有利于模型梯度下降到最优 值;首先设置一个较大的初始学习率设置,随着模型迭代次数的增加,逐渐调整至最小学习 率,以获得较快的训练速度和模型精度;The learning rate determines the magnitude of the weight update. Setting the learning rate in an appropriate range will help the model gradient drop to the optimal value; first set a larger initial learning rate setting, and gradually adjust it to Minimum learning rate for faster training and model accuracy;
深度残差网络模型训练过程中会出现过拟合的情况,网络权值越大,往往对应的过拟合 程度越高,故采用权值衰减率即设置L2正则化项参数,主要作用是调整模型复杂度对损失函 数的影响,防止模型过拟合;Overfitting will occur during the training process of the deep residual network model. The larger the network weight, the higher the corresponding degree of overfitting. Therefore, the weight decay rate is used to set the L2 regularization parameter. The main function is Adjust the influence of model complexity on the loss function to prevent model overfitting;
选择Momentum优化器,该优化器主要是基于梯度的移动指数加权平均,网络优化时损失 函数收敛速度更快,摆动幅度更小。Choose the Momentum optimizer, which is mainly based on the gradient-based moving exponential weighted average. During network optimization, the loss function converges faster and the swing is smaller.
2.3网络模型层级设置2.3 Network model level setting
深度残差网络模型(ResNet)使用3x3小卷积核模式,用多个小卷积核代替一个大卷积核, 减少了模型参数,增加了非线性激活函数的数量,模型计算量更小,识别误差更低。对于输入与输出 特征图尺寸大小相同的卷积层,滤波器个数不变,当特征图尺寸减半时,滤波器个数加倍,特征图池 化步长为2,以保持各层间的时间复杂度。The deep residual network model (ResNet) uses a 3x3 small convolution kernel mode, and replaces one large convolution kernel with multiple small convolution kernels, which reduces model parameters, increases the number of nonlinear activation functions, and reduces the amount of model calculations. The recognition error is lower. For a convolutional layer with the same input and output feature map size, the number of filters remains the same. When the size of the feature map is halved, the number of filters is doubled, and the feature map pooling step is 2 to maintain the relationship between layers. time complexity.
本发明中仅需识别图像变化趋势进行预测,不需设置过多的网络层数,以免造成不 必要的资源浪费。网络第一层为卷积层,负责提取低层级特征,第二层为最大池化层,降低估计均值偏移,保留图片纹理信息;3-6层为卷积层,负责提取高层级特征;第七层 为平均池化层,抑制估计值方差增大,计算卷积层提取的特征并输入至全连接层;全连 接层负责分类概率的输出。In the present invention, it is only necessary to identify the changing trend of the image for prediction, and there is no need to set too many network layers, so as to avoid unnecessary waste of resources. The first layer of the network is a convolutional layer, which is responsible for extracting low-level features, and the second layer is a maximum pooling layer, which reduces the estimated mean offset and retains image texture information; layers 3-6 are convolutional layers, which are responsible for extracting high-level features; The seventh layer is the average pooling layer, which suppresses the increase in the variance of the estimated value, calculates the features extracted by the convolutional layer and inputs them to the fully connected layer; the fully connected layer is responsible for the output of the classification probability.
深度残差网络由一组残差块组成,每个残差块包含几个堆叠的卷积层,将修正线性 单元(Relu)和批量归一化层(BN)作为卷积层附属,避免梯度消失或溢出情况发生。The deep residual network consists of a set of residual blocks, each residual block contains several stacked convolutional layers, and the rectified linear unit (Relu) and batch normalization layer (BN) are attached as convolutional layers, avoiding the gradient disappears or an overflow condition occurs.
Relu激活函数将非线性特性引入到模型网络中,将模型节点的输入特征转换为输出 特征,并传递至下一个操作单元。使用Relu函数,使部分输出数据归零,模型网络可以自行引入稀疏性,分段线性能有效克服梯度消失问题。The Relu activation function introduces nonlinear characteristics into the model network, converts the input features of the model nodes into output features, and passes them to the next operation unit. Using the Relu function to make part of the output data zero, the model network can introduce sparsity by itself, and the performance of the segmented line can effectively overcome the problem of gradient disappearance.
深度残差网络模型将该最优映射改写为H(x)=F(x)+x,逼近残差函数F(x)也等效于逼近最优映射H(x)。改写后的残差映射比原始最优解映射更容易优化。The deep residual network model rewrites the optimal mapping as H(x)=F(x)+x, and approximating the residual function F(x) is also equivalent to approximating the optimal mapping H(x). The rewritten residual map is easier to optimize than the original optimal solution map.
通过在前馈网络中增加一个的“Shortcut Connections”来实现网络残差,训练过程中低层误差可以通过捷径向上一层传播,减少了层数造成的梯度消失等现象,在计算 量增加较少的情况下,提高了模型训练精度。By adding a "Shortcut Connections" in the feed-forward network to realize the network residual, the low-level error can be propagated to the upper layer through the shortcut during the training process, which reduces the phenomenon of gradient disappearance caused by the number of layers, and the calculation amount increases less. In this case, the model training accuracy is improved.
捷径以不同的步长跳过一个或多个层与主径汇合,结构输出可表示为The shortcut skips one or more layers and merges with the main path with different step sizes, and the structural output can be expressed as
ml+1=Re lu(ml+F(ml,wl))m l+1 =Re lu(m l +F(m l ,w l ))
式中,ml和ml+1分别是第1个残差块的输入和输出,Re lu()是修正线性单元函数,F表 示残差映射函数,wl是残差学习单元的参数。In the formula, m l and m l+1 are the input and output of the first residual block respectively, Re lu() is the modified linear unit function, F represents the residual mapping function, and w l is the parameter of the residual learning unit.
若输入和输出维度不同,则需要增加线性投影来匹配维度尺寸,增加线性投影后该 式进一步转化为If the input and output dimensions are different, you need to add a linear projection To match the dimension size, after adding the linear projection, the formula is further transformed into
使用批量归一化后,随着模型深度加速或训练过程中参数变化,输入数据依然能分 布在一个标准区间,避免梯度消失,加速模型收敛,降低模型对初始网络权重的依赖,批量归一化操作公式表示为After batch normalization is used, as the depth of the model accelerates or the parameters change during the training process, the input data can still be distributed in a standard interval, avoiding the disappearance of the gradient, accelerating the convergence of the model, reducing the dependence of the model on the initial network weight, batch normalization The operating formula is expressed as
式中,xk是该神经元的激活度,E[xk]表示一批训练数据集获得的xk的平均值,为每一批训练数据xk的标准差。In the formula, x k is the activation degree of the neuron, E[x k ] represents the average value of x k obtained from a batch of training data sets, is the standard deviation of each batch of training data x k .
同时,批量归一化操作引入了两个可学习参数(γ,β),用来对变换后的激活重构,恢 复原始网络学习到的特征分布。这种操作不会破坏该数据在前一层操作学习到的特征,对网络的表达能力不会造成影响。At the same time, the batch normalization operation introduces two learnable parameters (γ, β), which are used to reconstruct the transformed activation and restore the feature distribution learned by the original network. This operation will not destroy the features learned by the data in the previous layer operation, and will not affect the expressive ability of the network.
2.4前向传播2.4 Forward Propagation
前向传播可提取输入图像的高层级特征得到更为抽象化的语义特征,考虑到训练集 和实际交通流数据之间的差异性以及深层特征的表达能力,对本发明中卷积层特征进行 提取。前向传播训练过程中,应先设置期望学习目标函数,函数设置为:Forward propagation can extract the high-level features of the input image to obtain more abstract semantic features. Considering the differences between the training set and actual traffic flow data and the expressive ability of deep features, the convolutional layer features in the present invention are extracted . In the forward propagation training process, the expected learning objective function should be set first, and the function setting is:
其中x为输入特征值,为模型预测结果概率,w和b为模型训练得到的参数;where x is the input feature value, is the model prediction result probability, w and b are the parameters obtained from model training;
通过多个卷积层的特征稀疏提取,利用均值池化操作对提取的稀疏卷积特征进行计 算,输入的每批次样本图像每被转换为稀疏特征,进入全连接层,经过logits计算,得到该批次样本数据对于每种类型的[批量训练大小×分类数目]分类概率矩阵;Through the feature sparse extraction of multiple convolutional layers, the mean pooling operation is used to calculate the extracted sparse convolutional features. Each batch of input sample images is converted into sparse features and entered into the fully connected layer. After logits calculation, we get The batch of sample data for each type of [batch training size × classification number] classification probability matrix;
经softmax操作,保证了所有输出均为正值,将矩阵所有行数值拉伸至[0,1]区间,且任意行概率相加等于1。softmax操作拉伸过的矩阵,每行的最大值为输出概率最大的值,即为本次训练的预测结果。After the softmax operation, all outputs are guaranteed to be positive, and the values of all rows of the matrix are stretched to the [0,1] interval, and the sum of the probabilities of any row is equal to 1. Softmax operates the stretched matrix, and the maximum value of each row is the value with the highest output probability, which is the prediction result of this training.
2.5反向传播及参数调优2.5 Back propagation and parameter tuning
深度残差模型训练过程中,卷积层对每一批次样本数据提取逐层计算稀疏特征并记 录相应参数值,最底层提取的稀疏特征,输入至logits层,计算样本分类值;During the training process of the deep residual model, the convolutional layer extracts each batch of sample data and calculates the sparse features layer by layer and records the corresponding parameter values. The sparse features extracted at the bottom layer are input to the logits layer to calculate the sample classification value;
每次训练的损失函数计算为样本真实类型与模型预测结果的交叉熵,每批次样本的 训练损失函数计算如下式The loss function of each training is calculated as the cross entropy between the true type of the sample and the model prediction result, and the training loss function of each batch of samples is calculated as follows
式中,tki为样本k属于类别i的概率,yki为样本k属于类别i的模型预测概率;In the formula, t ki is the probability that sample k belongs to category i, and y ki is the model prediction probability that sample k belongs to category i;
通过对比真实与模型预测和识别分类结果,计算得出模型损失函数,模型拟合误差 反向传播,各参数在深度残差模型迭代的过程中不断调整,有效増加了模型的鲁棒性,降低过拟合的发生概率;By comparing the real and model prediction and recognition classification results, the model loss function is calculated, the model fitting error is backpropagated, and each parameter is continuously adjusted during the iterative process of the deep residual model, which effectively increases the robustness of the model and reduces the Probability of overfitting;
输入训练集数据,进行参数调优,并选择相应的优化器。常用的mini-batch SGD训练 算法易陷入局部最优,且受学习率影响大。故选择基于梯度的移动指数加权平均的Momentum优化器,对网络参数进行平滑处理,可解决mini-batch SGD优化算法更新幅度 摆动过大的问题,同时加快网络的收敛速度;Input the training set data, tune the parameters, and select the corresponding optimizer. The commonly used mini-batch SGD training algorithm is easy to fall into local optimum and is greatly affected by the learning rate. Therefore, the Momentum optimizer based on the gradient-based moving exponential weighted average is selected to smooth the network parameters, which can solve the problem of excessive swings in the update range of the mini-batch SGD optimization algorithm, and at the same time accelerate the convergence speed of the network;
设当前的迭代步骤为t,基于Momentum优化算法计算公式如下:Assuming that the current iteration step is t, the calculation formula based on the Momentum optimization algorithm is as follows:
vdw=βvdw+(1-β)dWv dw =βv dw +(1-β)dW
vdb=βvdb+(1-β)dbv db =βv db +(1-β)db
W=W-αvdw W=W-αv dw
b=b-αvdb b=b-αv db
以上公式中,vdw和vdb分别是损失函数在前t-1轮迭代过程中累积的梯度动量β是梯度 累积的一个指数值,设为0.9;dW和db分别是损失函数反向传播时候所求得的梯度,W、b是 网络权重向量和偏置向量的更新公式,α是网络的学习率;In the above formula, v dw and v db are the gradient momentum accumulated by the loss function in the previous t-1 round of iterations. β is an exponential value of gradient accumulation, which is set to 0.9; The obtained gradient, W and b are the update formulas of the network weight vector and bias vector, and α is the learning rate of the network;
参数调优完毕后,进行模型训练的最后一步,输入验证集数据,测试模型性能,手动微调学习率等超参数数值。After parameter tuning is completed, the last step of model training is to enter the verification set data, test the performance of the model, and manually fine-tune the learning rate and other hyperparameter values.
步骤3具体包括如下步骤:完成深度残差网络预测模型的训练后,可基于深度残差网络模型对道路交通特征值进行短时预测;通过无人机拍摄视频与车辆检测器两种方法收集实时交通流特征数据,并 为交通流中移动的车辆轨迹设置相位转换判定条件:在超过给定阈值时间间隔中,沿轨道行 驶的车辆速度变得低于或高于该相位过渡点的给定阈值速度;Step 3 specifically includes the following steps: After completing the training of the deep residual network prediction model, the short-term prediction of road traffic characteristic values can be performed based on the deep residual network model; real-time data can be collected by two methods: video shot by drone and vehicle detector. Traffic flow characteristic data, and set the phase transition judgment condition for the vehicle trajectory moving in the traffic flow: in the time interval exceeding the given threshold, the speed of the vehicle traveling along the track becomes lower or higher than the given threshold speed of the phase transition point ;
设定数据输入时间窗口,输入车辆检测器收集的实时交通特征值,输入后深度残差 网络模型将数据预处理并且转换为时间序列变化图,并输出下一时段交通特征预测数据 变化趋势图,预测输出的二维图像可通过数图转换为文本数据;Set the data input time window, input the real-time traffic characteristic values collected by the vehicle detector, after the input, the deep residual network model preprocesses the data and converts it into a time series change graph, and outputs the traffic characteristic prediction data trend graph for the next period, The two-dimensional image of the predicted output can be converted into text data through the digit map;
结合道路交通流时空特征,将交通流划分为自由流(F)、同步流(S)和宽运动堵塞(J) 三相;交通流相变化可以被视为一个自由流到同步流再到宽运动阻塞的逐级相变过程(F →S→J);参照三相交通流理论,结合我国道路现状,以速度为阈值设置各相位过渡点。Combined with the spatio-temporal characteristics of road traffic flow, the traffic flow is divided into three phases: free flow (F), synchronous flow (S) and wide motion jam (J); The step-by-step phase transition process of motion blockage (F → S → J); referring to the three-phase traffic flow theory, combined with the current situation of roads in my country, set the transition points of each phase with the speed as the threshold.
本发明的设计的模型除了对交通特征值进行短时预测外还可根据设置的速度阈值自 动划分各相位区间。对预测数据相位区间的划分有利于执行步骤4中的道路控制。The designed model of the present invention can also divide each phase interval automatically according to the speed threshold value that is set besides carrying out short-term prediction to traffic characteristic value. The division of the phase interval of the prediction data is beneficial to the implementation of the road control in step 4.
步骤4所述的对道路交通特征值进行短时预测,短时预测包括车流速度、车流密度、 车辆占有率的预测数据。The short-term prediction of the road traffic characteristic value described in step 4, the short-term prediction includes the prediction data of traffic flow speed, traffic flow density, and vehicle occupancy rate.
入口匝道控制是应用广泛且有效的一种缓解道路拥挤的交通控制方式,基于ALINEA 的入口匝道控制策略简单、高效且易于实施。运用ALENIA算法,可通过控制红灯的时长, 来控制匝道的调节率,即调节每分钟放行车辆数,以达到控制入口匝道流量的目的。On-ramp control is a widely used and effective traffic control method to alleviate road congestion. The on-ramp control strategy based on ALINEA is simple, efficient and easy to implement. Using the ALENIA algorithm, the adjustment rate of the ramp can be controlled by controlling the duration of the red light, that is, the number of vehicles released per minute can be adjusted to achieve the purpose of controlling the flow of the entrance ramp.
传统ALENIA算法进行排队控制时,根据主线下游路段的车辆占有率和上一周期的入匝调 解率来计算当前周期的入匝调解率,不具备前馈机制和预测机制。而本发明将交通特征预测 数据代入算法,以短时预测时间窗为ALENIA算法的控制周期,能够实现更为精准的道路提前 控制,弥补了传统算法的不足。不仅提高了调节效率,而且有效降低了拥堵发生的概率, 同时能将道路控制后的变化反馈给模型实现再优化控制,提高调节精度。When the traditional ALENIA algorithm performs queuing control, the turn-in adjustment rate of the current cycle is calculated according to the vehicle occupancy rate of the downstream section of the main line and the turn-in adjustment rate of the previous cycle, without a feedforward mechanism and a prediction mechanism. However, the present invention substitutes the traffic characteristic prediction data into the algorithm, uses the short-term prediction time window as the control period of the ALENIA algorithm, can realize more accurate road control in advance, and makes up for the shortcomings of the traditional algorithm. It not only improves the adjustment efficiency, but also effectively reduces the probability of congestion. At the same time, it can feed back the changes after road control to the model to realize re-optimization control and improve the adjustment accuracy.
采用上游断面车速、下游车道占有率和主线下游流量三个指标设置入口匝道控制状态。 我们规定,上游断面车速与上节交通流相划分一致,即将三相交通流理论和入口匝道控制方 法进行联动,将交通流相的划分作为入口匝道控制的指标之一。The on-ramp control status is set using three indicators: the upstream section vehicle speed, the downstream lane occupancy rate, and the downstream flow of the main line. We stipulate that the speed of the upstream section is consistent with the division of traffic flow in the previous section, that is, the three-phase traffic flow theory and the on-ramp control method are linked, and the division of traffic flow phase is one of the indicators of on-ramp control.
步骤4所述入口匝道控制方法,具体包括如下步骤:The on-ramp control method described in step 4 specifically includes the following steps:
采用ALINEA算法前,定义k-1控制周期内下游车辆占有率Oout(k-1)由车辆检测器采 集,k控制周期内下游车辆占有率Oout(k)和入口匝道车辆到达率d(k)由深度残差网络模型预 测;Before adopting the ALINEA algorithm, it is defined that the downstream vehicle occupancy rate O out (k-1) in the k-1 control cycle is collected by the vehicle detector, and the downstream vehicle occupancy rate O out (k) and the on-ramp vehicle arrival rate d( k) Predicted by a deep residual network model;
r(k)由k-1周期内Oout(k-1)数据计算得出,则借助r(k)和Oout(k)可得出k+1周期的匝道调节率预测值;r(k) is calculated from O out (k-1) data in k-1 period, then the predicted value of ramp regulation rate for k+1 period can be obtained by means of r(k) and O out (k);
ALINEA算法绿灯时长固定,通过调节每分钟内相邻绿灯启动的时间间隔对汇入主线的车 辆进行流量控制;The ALINEA algorithm has a fixed green light duration, and controls the flow of vehicles entering the main line by adjusting the time interval between adjacent green lights every minute;
在一个控制周期内,调节率计算公式为In a control cycle, the regulation rate calculation formula is
式中,r(k+1)是第k+1控制周期计算的匝道调节率;r(k)是第k控制周期内的匝道调节率r(k),由k-1控制周期内车辆占有率实测数据计算获得,调节率为一个控制周期内绿灯时长,单位为s;KR参数调整回馈控制中固定的外部扰动;是主线下游的期望占有率;Oout(k)是第k控制周期内主线下游的车辆占有率预测值。In the formula, r(k+1) is the ramp regulation rate calculated in the k+1th control period; r(k) is the ramp regulation rate r(k) in the kth control period, which is determined by the The adjustment rate is obtained by calculating the measured data of the rate, and the adjustment rate is the length of the green light in a control cycle, and the unit is s; the K R parameter adjusts the fixed external disturbance in the feedback control; is the expected occupancy rate of the downstream of the main line; O out (k) is the predicted value of the vehicle occupancy rate of the downstream of the main line in the kth control cycle.
步骤5所述的仿真评价与分析,具体是使用VB+VISSIM 4.3COM开发程序,基于ALINEA 算法实现匝道控制;在程序中加载路网模型进行仿真,仿真运行时间取3600s,对应实际高 峰一小时,仿真进程中,每个控制周期将会返回仿真状态数据,包括绿灯结束时间、绿信比 和占有率;The simulation evaluation and analysis described in step 5 is specifically to use VB+VISSIM 4.3COM to develop the program, and realize the ramp control based on the ALINEA algorithm; load the road network model in the program for simulation, and the simulation running time is 3600s, which corresponds to the actual peak hour. During the simulation process, each control cycle will return the simulation status data, including the end time of the green light, the green signal ratio and the occupancy rate;
设信控周期为t,单位为s,程序在每周期的第t-1时刻获取数据检测器返回的占有率, 检测器每间隔t-2返回一次占有率,并根据调节系数与最佳占有率计算下一个周期的绿信比;Assuming that the signal control period is t, and the unit is s, the program obtains the occupancy rate returned by the data detector at the t-1th moment of each cycle, and the detector returns the occupancy rate every interval t-2, and according to the adjustment coefficient and the optimal occupancy Calculate the green letter ratio of the next cycle;
当绿信比大于等于0.8时,匝道信控持续绿灯;小于0.2,匝道信控持续红灯;介于0.8 与0.2之间的绿信比进行定周期控制,根据优化后的绿信比计算匝道控制的绿灯时长。When the green signal ratio is greater than or equal to 0.8, the ramp signal control will continue to be green; if it is less than 0.2, the ramp signal control will continue to be red; the green signal ratio between 0.8 and 0.2 will be controlled periodically, and the ramp will be calculated according to the optimized green signal ratio Controlled green light duration.
本发明旨在预测交通特征值,识别道路车流状态并采用入口匝道控制方法以缓解交 通拥堵,故需要对入口匝道控制效果进行评价。由于埋设车辆检测器工序较为复杂,对路 面破坏较大,在本发明对道路进行调节控制之前,应通过仿真软件对其效果进行评价。The present invention aims at predicting the traffic characteristic value, identifying the state of road traffic flow and adopting the on-ramp control method to alleviate traffic congestion, so it is necessary to evaluate the on-ramp control effect. Because the process of embedding the vehicle detector is relatively complicated, the damage to the road surface is relatively large, before the present invention regulates and controls the road, its effect should be evaluated by simulation software.
深度残差网络鲁棒性好,有效缓解梯度消失问题。本发明基于深度残差网络模型的入口 匝道联动控制方法,通过收集交通流特征历史数据和实时数据,数据预处理后分别进行数图 转换,数图转换可提取二维图像更多细节特征,降低模型训练和预测时间,提高预测精度与 实时信息处理速度。还通过卷积提取交通流特征数据变化趋势图中的时空特征并进行非线 性回归,最终实现道路交通流特征数据的预测,并基于预测数据进行交通管理与控制, 为智能交通系统提供了基础数据,并推动了智能交通系统的发展和应用。The deep residual network has good robustness and can effectively alleviate the problem of gradient disappearance. The entrance ramp linkage control method based on the deep residual network model of the present invention collects the historical data and real-time data of traffic flow characteristics, performs digital map conversion respectively after data preprocessing, and digital map conversion can extract more detailed features of two-dimensional images, reducing Model training and prediction time, improve prediction accuracy and real-time information processing speed. It also extracts the spatio-temporal features in the traffic flow characteristic data change trend graph through convolution and performs nonlinear regression, finally realizes the prediction of road traffic flow characteristic data, and conducts traffic management and control based on the predicted data, providing basic data for intelligent transportation systems , and promote the development and application of intelligent transportation systems.
附图说明Description of drawings
图1为本发明控制方法总体流程图;Fig. 1 is the general flowchart of control method of the present invention;
图2为本发明深度残差网络模型训练流程图;Fig. 2 is the training flow diagram of deep residual network model of the present invention;
图3为实施例中交通流特征值变化趋势及预测误差分析图。Fig. 3 is an analysis diagram of the variation trend of the characteristic value of traffic flow and the prediction error in the embodiment.
具体实施方式Detailed ways
下面结合实施例和附图对本发明内容作进一步的说明,但不是对本发明的限定。The content of the present invention will be further described below in conjunction with the embodiments and the accompanying drawings, but the present invention is not limited thereto.
参照图1-3,基于深度残差网络模型的入口匝道联动控制方法,包括如下步骤:Referring to Figure 1-3, the on-ramp linkage control method based on the deep residual network model includes the following steps:
1.数据收集与处理1. Data collection and processing
1.1数据收集和筛选1.1 Data collection and screening
交通流数据采集方法主要包括无人机视频拍摄和车辆检测器收集,将车辆检测器采集的 交通流特征数据设为训练集用于模型训练与参数优化,无人机拍摄视频数据作为验证集用于 模型超参数手动调优。The traffic flow data collection method mainly includes UAV video shooting and vehicle detector collection. The traffic flow characteristic data collected by the vehicle detector is set as the training set for model training and parameter optimization, and the video data taken by the UAV is used as the verification set. Manual tuning of model hyperparameters.
选择南京一拥堵高发路段,该路段有匝道汇入,当天为工作日,天气状态良好。根据车 辆检测器实时采集数据,我们截取其中时长为350s的数据,该数据反映了交通流拥堵的形成 过程,具有明显的变化特征性。Choose a road section with a high incidence of congestion in Nanjing. This road section has a ramp into it. It is a working day and the weather is good. According to the real-time data collected by the vehicle detector, we intercept the data with a duration of 350s, which reflects the formation process of traffic congestion and has obvious characteristics of changes.
1.2数据预处理1.2 Data preprocessing
将截取的数据进行预处理,删除和修复超出合理的阈值范围、不符合交通流理论和缺失 的交通流特征数据,采用一次指数平滑算法对数据进行降噪,保留交通流特征数据的短期变 化趋势并采用Logistic/Softmax变换方法对数据进行归一化处理。预处理后的各交通流特征 数据如下表所示:Preprocess the intercepted data, delete and repair the traffic flow characteristic data that exceed the reasonable threshold range, do not conform to the traffic flow theory and the missing traffic flow characteristic data, use an exponential smoothing algorithm to denoise the data, and retain the short-term change trend of the traffic flow characteristic data And the Logistic/Softmax transformation method was used to normalize the data. The preprocessed traffic flow characteristic data are shown in the following table:
表1实时交通流特征数据表Table 1 Data table of real-time traffic flow characteristics
1.3数图转换1.3 Digitmap conversion
数据预处理完毕后,将数据文本信息转换为以时间为序列的“时间-车辆数”变化趋势图 像、“时间-车流速度”变化趋势图像、“时间-车流密度”变化趋势图像和“时间-车辆占有率” 变化趋势图像,设定四组图像变化趋势时间窗口为50s,即根据当前50s周期内的交通流特 征数据预测下一个50s内的交通流特征数据变化趋势。After the data preprocessing is completed, the text information of the data is converted into the "time-vehicle number" change trend image, the "time-vehicle flow speed" change trend image, the "time-vehicle flow density" change trend image and the "time-vehicle flow density" change trend image in time series. Vehicle occupancy rate" change trend image, set the four groups of image change trend time windows to 50s, that is, predict the change trend of traffic flow characteristic data in the next 50s according to the traffic flow characteristic data in the current 50s cycle.
数图转换完毕,开始训练深度残差网络交通流特征数据预测模型。After the conversion of the digit map is completed, the training of the deep residual network traffic flow characteristic data prediction model is started.
2.深度残差网络交通流特征数据预测模型训练2. Deep residual network traffic flow characteristic data prediction model training
2.1超参数设置2.1 Hyperparameter Settings
深度残差网络模型训练前需进行超参数设置,主要设置参数包括批量训练大小(Batch-size),学习率(Learning rate),权值衰减率(weight-decay-rate),优化器选择(optimizer)等。具体的超参数设置如下表所示。Hyperparameters need to be set before training the deep residual network model. The main setting parameters include batch training size (Batch-size), learning rate (Learning rate), weight decay rate (weight-decay-rate), optimizer selection (optimizer )Wait. The specific hyperparameter settings are shown in the table below.
表2深度残差网络超参数设置Table 2 Hyperparameter settings of deep residual network
模型训练时,减小Batch换来的收敛速度提升效果远低于引入大量噪声导致的性能下降幅 度,且GPU对2次幂的Batch可以发挥更佳的性能,故采用的Batch值为256。During model training, reducing the Batch will improve the convergence speed far less than the performance degradation caused by introducing a large amount of noise, and the GPU can perform better for Batches to the power of 2, so the Batch value used is 256.
设置一个较大的初始学习率设置,随着模型迭代次数的增加,逐渐调整至最小学习率, 以获得较快的训练速度和模型精度。采用Momentum优化器,该优化器基于梯度的移动指数加 权平均,网络优化时损失函数收敛速度更快,摆动幅度更小。设置0.0001的权值衰减率调整 模型复杂度对损失函数的影响,防止模型过拟合。Set a larger initial learning rate setting, and gradually adjust to the minimum learning rate as the number of model iterations increases to obtain faster training speed and model accuracy. Using the Momentum optimizer, which is based on gradient-based moving exponential weighted average, the loss function converges faster and the swing is smaller during network optimization. Set the weight decay rate of 0.0001 to adjust the influence of model complexity on the loss function to prevent model overfitting.
2.2数据输入与初始化2.2 Data input and initialization
2.2.1训练集与测试集划分2.2.1 Training set and test set division
对训练集、验证集和测试集的划分基于数据采集的手段与类型。The division of training set, verification set and test set is based on the means and types of data collection.
车辆检测器收集的数据量大,可作为训练集用于深度残差模型参数调优,参数可被梯度 下降所更新,实现目标函数最小化。The large amount of data collected by the vehicle detector can be used as a training set for parameter tuning of the deep residual model. The parameters can be updated by gradient descent to minimize the objective function.
无人机采集的数据量较少,且具有参考性,故该数据集作为验证集供模型进行超参数手 动调整,实现模型再优化。The amount of data collected by drones is small and has reference value, so this data set is used as a verification set for the model to manually adjust hyperparameters to achieve model re-optimization.
测试集作为测试模型预测准确率的数据集合,通过车辆检测器实时采集,处理并上传, 深度残差网络模型可预测出下一时段数据。The test set, as a data set for testing the prediction accuracy of the model, is collected in real time by the vehicle detector, processed and uploaded, and the deep residual network model can predict the next period of data.
2.2.2数据转换与增强2.2.2 Data conversion and enhancement
基于TensorFlow进行图像样本数据输入,特征集选取、不同类型的样本选取、样本矢量 图与特征图转换、TFRecords样本数据集生成和数据集输入。Image sample data input based on TensorFlow, feature set selection, different types of sample selection, sample vector map and feature map conversion, TFRecords sample dataset generation and dataset input.
读取TFRecords格式的训练样本,根据样本标签采用一位有效编码(One-Hot)方式将数据 进行编码,并将原有图像数据进行图像饱和度、对比度转换等数据増强。Read the training samples in TFRecords format, encode the data according to the sample label with one-hot (One-Hot) method, and perform data enhancement such as image saturation and contrast conversion on the original image data.
2.3深度残差网络层级配置2.3 Deep Residual Network Hierarchy Configuration
基于本发明的训练任务与复杂度,设置深度为18层的深度残差网络模型,在不占用大量 训练资源的同时提高预测精度,下表为各层级及其特征。Based on the training task and complexity of the present invention, the depth of 18-layer residual network model is set to improve the prediction accuracy while not occupying a large amount of training resources. The following table shows each level and its characteristics.
表3深度残差网络层级配置Table 3 Deep residual network level configuration
模型采用3x3小卷积核模式,用多个小卷积核代替一个大卷积核,减少了模型参数, 增加了非线性激活函数的数量。对于输入与输出特征图尺寸大小相同的卷积层,滤波器个数 不变,当特征图尺寸减半时,滤波器个数加倍,特征图池化步长为2,以保持各层间的时间复杂 度。The model adopts the 3x3 small convolution kernel mode, and replaces one large convolution kernel with multiple small convolution kernels, which reduces the model parameters and increases the number of nonlinear activation functions. For a convolutional layer with the same input and output feature map size, the number of filters remains the same. When the size of the feature map is halved, the number of filters is doubled, and the feature map pooling step is 2 to maintain the relationship between layers. time complexity.
深度残差网络由一组残差块组成,每个残差块包含几个堆叠的卷积层,将修正线性 单元(Relu)和批量归一化层(BN)作为卷积层附属,避免梯度消失或溢出情况发生。The deep residual network consists of a set of residual blocks, each residual block contains several stacked convolutional layers, and the rectified linear unit (Relu) and batch normalization layer (BN) are attached as convolutional layers, avoiding the gradient disappears or an overflow condition occurs.
深度残差网络模型将该最优映射改写为H(x)=F(x)+x,逼近残差函数F(x)也等效于逼近最优映射H(x)。改写后的残差映射比原始最优解映射更容易优化。通过在前馈网 络中增加一个的“Shortcut Connections”来实现网络残差。捷径以不同的步长跳过一 个或多个层与主径汇合,结构输出可表示为The deep residual network model rewrites the optimal mapping as H(x)=F(x)+x, and approximating the residual function F(x) is also equivalent to approximating the optimal mapping H(x). The rewritten residual map is easier to optimize than the original optimal solution map. The network residual is realized by adding a "Shortcut Connections" in the feedforward network. The shortcut skips one or more layers and merges with the main path with different step sizes, and the structure output can be expressed as
ml+1=Re lu(ml+F(ml,wl))m l+1 =Re lu(m l +F(m l ,w l ))
式中,ml和ml+1分别是第1个残差块的输入和输出,Re lu()是修正线性单元函数,F表 示残差映射函数,wl是残差学习单元的参数。In the formula, m l and m l+1 are the input and output of the first residual block respectively, Re lu() is the modified linear unit function, F represents the residual mapping function, and w l is the parameter of the residual learning unit.
若输入和输出维度不同,则需要增加线性投影来匹配维度尺寸,增加线性投影后该 式进一步转化为If the input and output dimensions are different, you need to add a linear projection To match the dimension size, after adding the linear projection, the formula is further transformed into
2.4前向传播2.4 Forward Propagation
前向传播可提取输入图像的高层级特征得到更为抽象化的语义特征,考虑到训练集 和实际交通流数据之间的差异性以及深层特征的表达能力,对本发明中卷积层特征进行 提取。前向传播训练过程中,应先设置期望学习目标函数,函数设置为:Forward propagation can extract the high-level features of the input image to obtain more abstract semantic features. Considering the differences between the training set and actual traffic flow data and the expressive ability of deep features, the convolutional layer features in the present invention are extracted . In the forward propagation training process, the desired learning objective function should be set first, and the function setting is:
其中x为输入特征数据,为模型预测结果概率,w和b为模型训练得到的参数。where x is the input feature data, is the probability of the predicted result of the model, and w and b are the parameters obtained from the model training.
通过多个卷积层的特征稀疏提取,利用均值池化操作对提取的稀疏卷积特征进行计 算,输入的每批次样本图像每被转换为稀疏特征,进入全连接层,经过logits计算,得到该批次样本数据对于每种类型的[批量训练大小×分类数目]分类概率矩阵,然后经 过softmax操作,保证了所有输出均为正值,将矩阵所有行数值拉伸至[0,1]区间,且任 意行概率相加等于1。经softmax操作拉伸过的矩阵,每行的最大值为输出概率最大的值, 即为本次训练的预测结果。Through the feature sparse extraction of multiple convolutional layers, the extracted sparse convolutional features are calculated using the mean pooling operation. Each batch of input sample images is converted into sparse features and entered into the fully connected layer. After logits calculation, we get For each type of [batch training size × classification number] classification probability matrix of this batch of sample data, and then undergo a softmax operation to ensure that all outputs are positive values, and stretch all row values of the matrix to the interval [0,1] , and the sum of any row probabilities is equal to 1. The matrix stretched by the softmax operation, the maximum value of each row is the value with the maximum output probability, which is the prediction result of this training.
2.5反向传播及参数调优2.5 Back propagation and parameter tuning
深度残差模型训练过程中,卷积层对每一批次样本数据提取逐层计算稀疏特征并记 录相应参数值,从最底层提取的稀疏特征,输入至logits层,计算样本分类值。During the training process of the deep residual model, the convolutional layer extracts each batch of sample data and calculates the sparse features layer by layer and records the corresponding parameter values. The sparse features extracted from the bottom layer are input to the logits layer to calculate the sample classification value.
每次训练的损失函数计算为样本真实类型与模型预测结果的交叉熵,每批次样本的 训练损失函数计算如下式:The loss function of each training is calculated as the cross entropy between the true type of the sample and the model prediction result, and the training loss function of each batch of samples is calculated as follows:
式中,tki为样本k属于类别i的概率,yki为样本k属于类别i的模型预测概率。In the formula, t ki is the probability that sample k belongs to category i, and y ki is the model prediction probability that sample k belongs to category i.
通过对比真实与模型预测和识别分类结果,计算得出模型损失函数,模型拟合误差 反向传播,各参数在深度残差模型迭代的过程中不断调整,有效増加了模型的鲁棒性,降低过拟合的发生概率。By comparing the real and model prediction and recognition classification results, the model loss function is calculated, the model fitting error is backpropagated, and each parameter is continuously adjusted during the iterative process of the deep residual model, which effectively increases the robustness of the model and reduces the Probability of overfitting occurring.
输入训练集数据,进行参数调优,并选择相应的优化器。常用的mini-batch SGD训练 算法易陷入局部最优,且受学习率影响大。故选择基于梯度的移动指数加权平均的Momentum优化器,对网络参数进行平滑处理,可解决mini-batch SGD优化算法更新幅度 摆动过大的问题,同时加快网络的收敛速度。Input the training set data, tune the parameters, and select the corresponding optimizer. The commonly used mini-batch SGD training algorithm is easy to fall into local optimum and is greatly affected by the learning rate. Therefore, the Momentum optimizer based on the gradient-based moving exponential weighted average is selected to smooth the network parameters, which can solve the problem of excessive swings in the update range of the mini-batch SGD optimization algorithm, and at the same time accelerate the convergence speed of the network.
设当前的迭代步骤为t,基于Momentum优化算法计算公式如下:Assuming that the current iteration step is t, the calculation formula based on the Momentum optimization algorithm is as follows:
vdw=βvdw+(1-β)dWv dw =βv dw +(1-β)dW
vdb=βvdb+(1-β)dbv db =βv db +(1-β)db
W=W-αvdw W=W-αv dw
b=b-αvdb b=b-αv db
以上公式中,vdw和vdb分别是损失函数在前t-1轮迭代过程中累积的梯度动量β是梯度 累积的一个指数值,设为0.9;dW和db分别是损失函数反向传播时候所求得的梯度,W、b是 网络权重向量和偏置向量的更新公式,α是网络的学习率;In the above formula, v dw and v db are the gradient momentum accumulated by the loss function in the previous t-1 round of iterations. β is an exponential value of gradient accumulation, which is set to 0.9; The obtained gradient, W and b are the update formulas of the network weight vector and bias vector, and α is the learning rate of the network;
参数调优完毕后,进行模型训练的最后一步,输入验证集数据,测试模型性能,手动微调表2中设置的学习率等超参数数值。After the parameter tuning is completed, proceed to the last step of model training, input the verification set data, test the performance of the model, and manually fine-tune the learning rate and other hyperparameter values set in Table 2.
3.下一时段交通特征值预测3. Prediction of traffic characteristic value in the next period
各参数调优完毕后,使用训练完成的深度残差网络模型对道路交通流特征数据变化趋势 进行短时预测。输入数据时间点从1s至351s,则输出数据时间点从51s至401s。After the tuning of each parameter is completed, the trained deep residual network model is used to predict the change trend of road traffic flow characteristic data in a short period of time. The input data time point is from 1s to 351s, and the output data time point is from 51s to 401s.
将预测得到的二维变化趋势图像经数图转换再次转换为文本数据。车流速度与车流密度 预测数据用于三相交通流流相划分,车辆到达率与车辆占有率数据用于入口匝道控制。预测 数据如下表所示:The predicted two-dimensional trend image is transformed into text data again through digit-map conversion. The traffic speed and traffic density prediction data are used for three-phase traffic flow division, and the vehicle arrival rate and vehicle occupancy data are used for on-ramp control. The forecast data is shown in the table below:
表4预测交通流特征数据表Table 4 Predicted traffic flow characteristic data table
依据三相交通流理论,结合路段实际路况,为相位转换设置判定条件即阈值速度。根据 设置的速度阈值识别与标定相应的交通流相位区间,相位区间的划分也为步骤4中进行入口 匝道控制提供了判定条件。具体的阈值速度及区间划分在表5中给出:According to the theory of three-phase traffic flow, combined with the actual road conditions of the road section, the threshold speed is set as the judgment condition for the phase transition. Identify and calibrate the corresponding traffic flow phase interval according to the set speed threshold, and the division of the phase interval also provides a judgment condition for the on-ramp control in step 4. The specific threshold speed and interval division are given in Table 5:
表5阈值速度区间划分表Table 5 Threshold speed interval division table
即车流速度小于等于50km/h时,自由流转变为同步流,速度小于22km/h时同步流转变 为宽运动堵塞;车流速度大于25km/h时,宽运动堵塞转变为同步流,速度大于70km/h时, 同步流转变为自由流。That is, when the speed of the traffic flow is less than or equal to 50km/h, the free flow turns into a synchronous flow, and when the speed is less than 22km/h, the synchronous flow turns into a wide motion jam; when the traffic speed is greater than 25km/h, the wide motion jam turns into a synchronous flow, and the speed is greater than 70km /h, the synchronous flow is converted to a free flow.
4匝道控制与信息发布4 ramp control and information release
4.1匝道联动控制方法4.1 Ramp linkage control method
将上一步骤中设置的速度阈值作为判定匝道开放、匝道调节及匝道关闭的判定条件之一。 交通流在自由流、同步流与宽运动阻塞中相互转换控制着匝道的开放与关闭,道路处于同步 流及宽运动堵塞状态时,采取相应的入口匝道控制方法。Take the speed threshold set in the previous step as one of the judgment conditions for judging ramp opening, ramp adjustment and ramp closing. The traffic flow in the free flow, synchronous flow and wide motion congestion controls the opening and closing of the ramp. When the road is in the state of synchronous flow and wide motion congestion, the corresponding on-ramp control method is adopted.
采用上游断面车速、下游车道占有率和主线下游流量三个指标设置入口匝道控制状态。 我们将划分交通流相的速度阈值作为入口匝道控制的指标之一,结合三相交通流理论与入口 匝道控制方法两种理论,实现道路联动控制,具体的入口匝道控制状态见下表。The on-ramp control status is set using three indicators: the upstream section vehicle speed, the downstream lane occupancy rate, and the downstream flow of the main line. We take the speed threshold for dividing traffic flow phases as one of the indicators for on-ramp control, and combine the two theories of three-phase traffic flow theory and on-ramp control method to realize road linkage control. The specific on-ramp control status is shown in the table below.
表6入口匝道控制条件表Table 6 Entry ramp control condition table
进行匝道调节时,我们使用ALINEA算法,本发明中对该算法进行了改进,利用预测的下 一控制周期车辆占用率计算匝道调节率使ALINEA算法具备了前馈机制和预测机制。我们将调 节周期与短时预测窗口取相同值即50s。这种赋值方式能够提高了深度残差模型、三相交通流 及ALINEA算法三者的契合度,使三种算法进行入口匝道联动控制成为可能。When carrying out ramp regulation, we use ALINEA algorithm, this algorithm has been improved in the present invention, utilizes the next control cycle vehicle occupancy rate of prediction to calculate ramp regulation rate and makes ALINEA algorithm possess feedforward mechanism and prediction mechanism. We set the adjustment cycle and the short-term forecast window to the same value, namely 50s. This assignment method can improve the fit among the deep residual model, three-phase traffic flow and ALINEA algorithm, making it possible for the three algorithms to carry out linkage control of on-ramps.
设当前周期为k-1周期,Oout(k-1)等数据由车辆检测器实时采集,Oout(k)为下一周期k车辆占有率预测值,r(k)由k-1周期内Oout(k-1)数据计算得出,则借助r(k)和Oout(k)可得出k+1周期的匝道调节率预测值。ALINEA算法绿灯时长固定,通过调节每分钟内相邻绿灯启动的时间间隔对汇入主线的车辆进行流量控制。Assuming that the current cycle is k-1 cycle, O out (k-1) and other data are collected by the vehicle detector in real time, O out (k) is the predicted value of vehicle occupancy in the next cycle k, and r(k) is determined by k-1 cycle The internal O out (k-1) data is calculated, then the predicted value of the ramp regulation rate for the k+1 period can be obtained with the help of r(k) and O out (k). The green light duration of ALINEA algorithm is fixed, and the flow of vehicles entering the main line is controlled by adjusting the time interval between adjacent green lights every minute.
ALINEA算法如下:The ALINEA algorithm is as follows:
计算匝道调节率前,需对下游期望占有率、调节周期和KR三个参数进行标定。根据相关 研究经验,建议期望占有率设置为0.3,KR设置为70以期获得最佳控制效果。车辆占有率 Oout(k-1)=0.37,Oout(k)=0.44。Before calculating the ramp regulation rate, it is necessary to calibrate the three parameters of downstream expected occupancy rate, regulation cycle and KR . According to relevant research experience, it is recommended to set the expected occupancy rate to 0.3 and KR to 70 in order to obtain the best control effect. Vehicle occupancy rate O out (k-1)=0.37, O out (k)=0.44.
由k-1周期车辆采集器实测数据计算得出周期匝道调节率r(k)值为20s,带入改进ALINEA算法计算得r(k+1)=20-70×0.14≈10s。即调节周期内绿灯总时长为10s,信号 灯通过红绿灯得切换对车辆进行控制,绿灯每次闪烁时间固定为2s,调节周期内剩余的40s分配给红灯,红灯共闪烁5次,每次持续时间为8s。Calculated from the measured data of the k-1 period vehicle collector, the periodical ramp adjustment rate r(k) is 20s, which is brought into the improved ALINEA algorithm to calculate r(k+1)=20-70×0.14≈10s. That is, the total duration of the green light in the adjustment cycle is 10s, and the signal light controls the vehicle through the switching of the traffic light. The green light is fixed at 2s each time, and the remaining 40s in the adjustment cycle are allocated to the red light. The red light flashes 5 times in total, and each time lasts The time is 8s.
4.2信息发布4.2 Information release
信息发布主要有三种方式,第一种通过匝道口信号灯,利用算法计算结果进行入口匝道 控制,控制效果最好;其他两种通过拥堵信息发布为司机出行决策提供参考。There are three main ways to release information. The first is to control the on-ramp through the signal lights at the ramp entrance and use the calculation results of the algorithm, which has the best control effect; the other two methods provide reference for drivers to make travel decisions through the release of congestion information.
匝道信号灯。利用匝道口信号灯,控制车辆驶入匝道。绿灯时段,允许车辆从匝道驶入 主干道;红灯时段,车辆必须在匝道停车等待,不允许驶入主干道。Ramp lights. Use the ramp signal lights to control the vehicle to enter the ramp. During the green light period, vehicles are allowed to enter the main road from the ramp; during the red light period, vehicles must stop and wait on the ramp, and are not allowed to enter the main road.
路段上游LED显示板。上游设置的联网LED显示板可告知路段司机前方拥堵,引导司机 选择其他路段或更换交通方式出行避开拥堵。The upstream LED display board of the road section. The networked LED display board installed upstream can inform drivers of road congestion ahead, and guide drivers to choose other road sections or change modes of transportation to avoid congestion.
移动设备。借助广播、导航软件等移动设备进行路况发布,对司机进行路段拥堵提示, 为司机出行决策提供参考。Mobile devices. With the help of mobile devices such as broadcasting and navigation software, road conditions are released, and drivers are reminded of road congestion, providing reference for drivers to make travel decisions.
4.3误差分析4.3 Error Analysis
使用RMSE、MAE和MAPE三个指标能够反映预测数据的离散程度与实际误差大小,可衡量 预测模型的预测效果。The use of RMSE, MAE and MAPE can reflect the degree of dispersion of the forecast data and the size of the actual error, and can measure the forecasting effect of the forecasting model.
三个评价指标的公式如下:The formulas of the three evaluation indicators are as follows:
式中,xi表示第i时刻实际的交通流数据,x’i表示第i时刻模型输出的交通流的预测数 据,N表示待评估的交通流时间序列的长度。In the formula, x i represents the actual traffic flow data at the i-th moment, x' i represents the forecast data of the traffic flow output by the model at the i-th moment, and N represents the length of the traffic flow time series to be evaluated.
本实施例中计算得出三个指标大小如下表所示:In this embodiment, the calculated sizes of the three indicators are shown in the following table:
表7预测误差分析表Table 7 Forecast error analysis table
通过对各指标的计算,不难看出,本次实施例预测数据的离散程度较小,数据预测的准 确度高达97.06%。交通流特征值变化趋势及预测误差分析如图3所示,说明利用深度残差 网络模型进行数据预测复杂度低,准确度高,预测数值变化较为稳定。Through the calculation of each index, it is not difficult to see that the degree of dispersion of the predicted data in this embodiment is small, and the accuracy of data prediction is as high as 97.06%. The change trend and prediction error analysis of the traffic flow characteristic value are shown in Figure 3, which shows that the data prediction using the deep residual network model has low complexity and high accuracy, and the prediction value change is relatively stable.
4.4仿真及效果评价4.4 Simulation and effect evaluation
由于埋设车辆检测器工序较为复杂,对路面破坏较大,在本发明对道路进行调节控制之 前,应通过仿真软件对其性能进行评估。采用下游主线速度最大、最小值和流量最大、最 小值、下游主线速度横向、纵向波动性,下游主线流量横向、纵向波动性六个参数对道 路控制效果进行评价。评价指标采用序列差绝对均值和序列标准偏差,分别表征数据序列变化的幅度和数据序列变化的速度(或频率),即横向波动性与纵向波动性,评价指标 计算公式如下:Because the procedure of embedding the vehicle detector is relatively complicated, and the damage to the road surface is relatively large, before the present invention regulates and controls the road, its performance should be evaluated by simulation software. Six parameters are used to evaluate the road control effect, including the maximum and minimum values of the downstream mainline speed, the maximum and minimum flow rates, the lateral and longitudinal fluctuations of the downstream mainline speed, and the lateral and longitudinal fluctuations of the downstream mainline flow. The evaluation index uses the absolute mean of the sequence difference and the standard deviation of the sequence to represent the magnitude of the data sequence change and the speed (or frequency) of the data sequence change, that is, the horizontal volatility and the vertical volatility. The calculation formula of the evaluation index is as follows:
式中,xi为数据中第i个值,Δxi=xi-xi-1;为数据均值。仿真结果评估如表8、表9所示。In the formula, x i is the i- th value in the data, Δxi = x i -xi -1 ; is the data mean. The evaluation of the simulation results is shown in Table 8 and Table 9.
表8下游主线速度仿真评估结果Table 8 Simulation evaluation results of downstream main line speed
表9下游主线流量仿真评估结果Table 9 Simulation evaluation results of downstream mainline flow
从表8可以看出,在匝道控制状态下,主线下游速度有了明显的提升。另外,同一般ALINEA 算法相比,使用本发明改进的匝道联动控制方法后,下游主线速度最小值有了显著的提升。It can be seen from Table 8 that under the ramp control state, the downstream speed of the main line has been significantly improved. In addition, compared with the general ALINEA algorithm, after using the improved ramp linkage control method of the present invention, the minimum speed of the downstream main line has been significantly improved.
采用匝道联动控制后,主线下游速度和流量的纵向波动性,较未控与传统控制时速度和 流量的纵向波动性有了较大的提高,说明主线下游的交通状况对该匝道控制策略的调控相当 敏感。通过调控,主线下游已经由阻塞状态过渡到同步流状态;采用匝道联动控制后,主线 下游流量横向波动性变化不大,表明该控制策略在未影响到车辆的正常出行情况下采用控制 策略较为有效地缓解了交通拥堵,改善了主线下游的交通状况。After the ramp linkage control is adopted, the longitudinal fluctuations of speed and flow in the downstream of the main line are greatly improved compared with the longitudinal fluctuations of speed and flow in the uncontrolled and traditional control, which shows that the traffic conditions downstream of the main line can regulate the ramp control strategy quite sensitive. Through the regulation, the downstream of the main line has transitioned from the blocking state to the synchronous flow state; after the ramp linkage control is adopted, the lateral fluctuation of the flow downstream of the main line does not change much, which shows that the control strategy is more effective when it does not affect the normal travel of vehicles The traffic congestion has been greatly alleviated and the traffic conditions downstream of the main line have been improved.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910809931.9A CN110503833B (en) | 2019-08-29 | 2019-08-29 | An on-ramp linkage control method based on deep residual network model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910809931.9A CN110503833B (en) | 2019-08-29 | 2019-08-29 | An on-ramp linkage control method based on deep residual network model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110503833A true CN110503833A (en) | 2019-11-26 |
CN110503833B CN110503833B (en) | 2021-06-08 |
Family
ID=68590510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910809931.9A Active CN110503833B (en) | 2019-08-29 | 2019-08-29 | An on-ramp linkage control method based on deep residual network model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110503833B (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260922A (en) * | 2020-01-20 | 2020-06-09 | 浙江工业大学 | Ramp control method based on congestion situation classification |
CN111476191A (en) * | 2020-04-15 | 2020-07-31 | 陈建 | Artificial intelligent image processing method based on intelligent traffic and big data cloud server |
CN111785088A (en) * | 2020-06-23 | 2020-10-16 | 大连理工大学 | A two-layer collaborative optimization method for ramp merging of connected vehicles |
CN111831853A (en) * | 2020-07-16 | 2020-10-27 | 深圳市商汤科技有限公司 | Information processing method, apparatus, equipment and system |
CN111949703A (en) * | 2020-07-09 | 2020-11-17 | 广东工业大学 | A method and system for UAV deployment and flight trajectory optimization for intelligent transportation |
CN112148730A (en) * | 2020-06-30 | 2020-12-29 | 网络通信与安全紫金山实验室 | A method for batch extraction of product data features using the generalized inverse of a matrix |
CN112669594A (en) * | 2020-12-11 | 2021-04-16 | 国汽(北京)智能网联汽车研究院有限公司 | Method, device, equipment and storage medium for predicting traffic road conditions |
CN112734703A (en) * | 2020-12-28 | 2021-04-30 | 佛山市南海区广工大数控装备协同创新研究院 | PCB defect optimization method by utilizing AI cloud collaborative detection |
CN113125992A (en) * | 2021-04-23 | 2021-07-16 | 合肥工业大学 | NPC three-level inverter fault diagnosis method and system based on DBN |
CN113221442A (en) * | 2020-12-24 | 2021-08-06 | 山东鲁能软件技术有限公司 | Construction method and device of health assessment model of power plant equipment |
CN113256973A (en) * | 2021-05-11 | 2021-08-13 | 青岛海信网络科技股份有限公司 | Peak start time prediction method, device, equipment and medium |
CN113379156A (en) * | 2021-06-30 | 2021-09-10 | 南方科技大学 | Speed prediction method, device, equipment and storage medium |
CN114141029A (en) * | 2021-11-25 | 2022-03-04 | 东南大学 | Ramp control method based on offline reinforcement learning and macro model |
CN114501010A (en) * | 2020-10-28 | 2022-05-13 | Oppo广东移动通信有限公司 | Image encoding method, image decoding method and related device |
CN115083038A (en) * | 2022-06-29 | 2022-09-20 | 南京理工大学泰州科技学院 | Device and method for detecting vehicle driving abnormity |
CN115544901A (en) * | 2022-11-28 | 2022-12-30 | 西南石油大学 | Intelligent thick oil working condition fault identification method for small sample |
CN115662114A (en) * | 2022-10-08 | 2023-01-31 | 广州玩鑫信息科技有限公司 | Intelligent traffic system for relieving congestion based on big data and operation method thereof |
CN117807378A (en) * | 2023-12-01 | 2024-04-02 | 太极计算机股份有限公司 | Intelligent wind power data restoration method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180089994A1 (en) * | 2016-09-27 | 2018-03-29 | International Business Machines Corporation | Predictive traffic management using virtual lanes |
CN109035779A (en) * | 2018-08-30 | 2018-12-18 | 南京邮电大学 | Freeway traffic flow prediction technique based on DenseNet |
CN109816983A (en) * | 2019-02-26 | 2019-05-28 | 昆明理工大学 | A short-term traffic flow prediction method based on deep residual network |
CN109903557A (en) * | 2019-03-04 | 2019-06-18 | 南京邮电大学 | Prediction method of highway traffic flow based on improved independent recurrent neural network |
-
2019
- 2019-08-29 CN CN201910809931.9A patent/CN110503833B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180089994A1 (en) * | 2016-09-27 | 2018-03-29 | International Business Machines Corporation | Predictive traffic management using virtual lanes |
CN109035779A (en) * | 2018-08-30 | 2018-12-18 | 南京邮电大学 | Freeway traffic flow prediction technique based on DenseNet |
CN109816983A (en) * | 2019-02-26 | 2019-05-28 | 昆明理工大学 | A short-term traffic flow prediction method based on deep residual network |
CN109903557A (en) * | 2019-03-04 | 2019-06-18 | 南京邮电大学 | Prediction method of highway traffic flow based on improved independent recurrent neural network |
Non-Patent Citations (1)
Title |
---|
方传武: "城市快速路入口匝道流量控制研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 * |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260922A (en) * | 2020-01-20 | 2020-06-09 | 浙江工业大学 | Ramp control method based on congestion situation classification |
CN111260922B (en) * | 2020-01-20 | 2021-01-29 | 浙江工业大学 | Ramp control method based on congestion situation classification |
CN111476191A (en) * | 2020-04-15 | 2020-07-31 | 陈建 | Artificial intelligent image processing method based on intelligent traffic and big data cloud server |
CN111785088A (en) * | 2020-06-23 | 2020-10-16 | 大连理工大学 | A two-layer collaborative optimization method for ramp merging of connected vehicles |
CN112148730A (en) * | 2020-06-30 | 2020-12-29 | 网络通信与安全紫金山实验室 | A method for batch extraction of product data features using the generalized inverse of a matrix |
CN111949703A (en) * | 2020-07-09 | 2020-11-17 | 广东工业大学 | A method and system for UAV deployment and flight trajectory optimization for intelligent transportation |
CN111949703B (en) * | 2020-07-09 | 2023-06-06 | 广东工业大学 | Unmanned aerial vehicle deployment and flight trajectory optimization method and system for intelligent traffic |
CN111831853A (en) * | 2020-07-16 | 2020-10-27 | 深圳市商汤科技有限公司 | Information processing method, apparatus, equipment and system |
CN114501010B (en) * | 2020-10-28 | 2023-06-06 | Oppo广东移动通信有限公司 | Image encoding method, image decoding method and related devices |
CN114501010A (en) * | 2020-10-28 | 2022-05-13 | Oppo广东移动通信有限公司 | Image encoding method, image decoding method and related device |
CN112669594A (en) * | 2020-12-11 | 2021-04-16 | 国汽(北京)智能网联汽车研究院有限公司 | Method, device, equipment and storage medium for predicting traffic road conditions |
CN113221442A (en) * | 2020-12-24 | 2021-08-06 | 山东鲁能软件技术有限公司 | Construction method and device of health assessment model of power plant equipment |
CN113221442B (en) * | 2020-12-24 | 2022-08-30 | 山东鲁能软件技术有限公司 | Method and device for constructing health assessment model of power plant equipment |
CN112734703A (en) * | 2020-12-28 | 2021-04-30 | 佛山市南海区广工大数控装备协同创新研究院 | PCB defect optimization method by utilizing AI cloud collaborative detection |
CN113125992A (en) * | 2021-04-23 | 2021-07-16 | 合肥工业大学 | NPC three-level inverter fault diagnosis method and system based on DBN |
CN113125992B (en) * | 2021-04-23 | 2022-07-19 | 合肥工业大学 | Fault diagnosis method and system of NPC three-level inverter based on DBN |
CN113256973A (en) * | 2021-05-11 | 2021-08-13 | 青岛海信网络科技股份有限公司 | Peak start time prediction method, device, equipment and medium |
CN113379156A (en) * | 2021-06-30 | 2021-09-10 | 南方科技大学 | Speed prediction method, device, equipment and storage medium |
CN114141029B (en) * | 2021-11-25 | 2022-11-18 | 东南大学 | Ramp control method based on offline reinforcement learning and macro model |
CN114141029A (en) * | 2021-11-25 | 2022-03-04 | 东南大学 | Ramp control method based on offline reinforcement learning and macro model |
CN115083038A (en) * | 2022-06-29 | 2022-09-20 | 南京理工大学泰州科技学院 | Device and method for detecting vehicle driving abnormity |
CN115083038B (en) * | 2022-06-29 | 2024-02-27 | 南京理工大学泰州科技学院 | Device and method for detecting abnormal running of vehicle |
CN115662114A (en) * | 2022-10-08 | 2023-01-31 | 广州玩鑫信息科技有限公司 | Intelligent traffic system for relieving congestion based on big data and operation method thereof |
CN115662114B (en) * | 2022-10-08 | 2024-07-05 | 北京中软政通信息技术有限公司 | Intelligent traffic system for relieving congestion based on big data and operation method thereof |
CN115544901A (en) * | 2022-11-28 | 2022-12-30 | 西南石油大学 | Intelligent thick oil working condition fault identification method for small sample |
CN115544901B (en) * | 2022-11-28 | 2023-02-21 | 西南石油大学 | A small-sample intelligent fault identification method for heavy oil operating conditions |
CN117807378A (en) * | 2023-12-01 | 2024-04-02 | 太极计算机股份有限公司 | Intelligent wind power data restoration method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110503833B (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110503833A (en) | A linkage control method for on-ramps based on deep residual network model | |
CN110322695B (en) | A short-term traffic flow prediction method based on deep learning | |
CN112418547B (en) | Bus stop passenger flow prediction method based on GCN-LSTM combination model | |
CN111210633A (en) | A short-term traffic flow prediction method based on deep learning | |
CN109785618B (en) | A Short-term Traffic Flow Forecast Method Based on Combinatorial Logic | |
WO2020220439A1 (en) | Highway traffic flow state recognition method based on deep neural network | |
CN107121679A (en) | Recognition with Recurrent Neural Network predicted method and memory unit structure for Radar Echo Extrapolation | |
CN113297936B (en) | Volleyball group behavior identification method based on local graph convolution network | |
CN111598325A (en) | Traffic Speed Prediction Method Based on Hierarchical Clustering and Hierarchical Attention Mechanism | |
CN113808396B (en) | Traffic speed prediction method and system based on traffic flow data fusion | |
CN113591380A (en) | Traffic flow prediction method, medium and equipment based on graph Gaussian process | |
CN110503104A (en) | A short-term prediction method for the number of remaining parking spaces based on convolutional neural network | |
CN111242395B (en) | Method and device for constructing prediction model for OD (origin-destination) data | |
CN109143408B (en) | Dynamic regional joint short-term precipitation forecasting method based on MLP | |
CN109903557A (en) | Prediction method of highway traffic flow based on improved independent recurrent neural network | |
CN113469186A (en) | Cross-domain migration image segmentation method based on small amount of point labels | |
CN111768622A (en) | A Short-term Traffic Prediction Method Based on Improved Grey Wolf Algorithm | |
CN114565187A (en) | Traffic network data prediction method based on graph space-time self-coding network | |
CN115410372B (en) | Reliable prediction method for highway traffic flow based on Bayesian LSTM | |
CN113627070A (en) | Short-term photovoltaic power prediction method | |
CN110443448A (en) | A kind of aircraft seat in the plane classification prediction technique and system based on two-way LSTM | |
CN114970815A (en) | A Traffic Flow Prediction Method and Device Based on Improved PSO Algorithm Optimizing LSTM | |
CN114118508A (en) | OD market aviation passenger flow prediction method based on space-time convolution network | |
CN116434538A (en) | Urban traffic flow prediction model construction method based on heterogeneous data fusion | |
CN114117903A (en) | A short-term passenger flow prediction method for rail transit based on bp neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |