博客
关于我
【源码】模拟Mcity城市交通下的自动驾驶策略仿真
阅读量:224 次
发布时间:2019-02-28

本文共 3074 字,大约阅读时间需要 10 分钟。

在这里插入图片描述

智能交通系统(ITS)是一种典型的网络物理系统(CPS),通过网络和物理组件进行监控控制,例如互连的自动车辆(CAV)。

An intelligent transportation systems (ITS) is a typical cyber-physical system (CPS) in which physical components, for example, Connected Automated Vehicles (CAVs), are monitored and controlled through a network of cyber and physical components.

因此,此类系统包含事件驱动动力学和时间驱动动力学。

Such systems, therefore, contain event-driven dynamics along with time-driven dynamics.

基于SimEvents的离散事件和混合仿真框架有助于测试ITS的安全性和性能评估,并用于建立Mcity测试设施的交通仿真模型。

The proposed discrete-event and hybrid simulation framework based on SimEvents facilitates testing for safety and performance evaluation of an ITS and has been used to build a traffic simulation model of the Mcity test facility.

本代码专门为测试CAV而设计,包含各种道路/车道配置和完整的仪表系统。

It is specifically designed for testing CAVs and contains various road/lane configurations and a complete instrumentation system.

这使得用户能够在微观层面上研究交通,包括不同交通场景下CAV新控制算法的有效性、交通系统事件驱动方面以及通信延迟的影响。

This enables users to study traffic at the microscopic level, including the effectiveness of new control algorithms for CAVs under different traffic scenarios, the event-driven aspects of transportation systems, and the effects of communication delays.

该框架跨越多个工具箱,包括MATLAB、Simulink和SimEvents。

The framework spans multiple toolboxes including MATLAB, Simulink, and SimEvents.

包括三种主要的不同场景:

  1. CAV通过两个相邻的无信号交叉口,采用最优控制策略

  2. 使用(i)最优控制(ii)控制屏障函数在高速公路入口匝道处融合CAV

  3. 使用最优控制(CAV)和智能驾驶模型(非CAV)通过信号交叉口的CAV和/或非CAV

通过指定Matlab离散事件系统(MATLAB DES)的模块参数,可以在特定场景下尝试不同的控制器。例如,对于在高速公路入口匝道上的CAV合流,可以选择最优控制器或基于控制屏障功能的控制器。此外,如果您想研究排队行为,可以观察信号交叉口2的排队长度。根据您的研究目的,您可以自由编辑或创建自己的流量场景。

Three major different scenarios are included:

  1. CAVs crossing two adjacent unsignalized intersections using optimal control

  2. CAVs merging at freeway on-ramp using (i) optimal control (ii) control barrier functions

  3. CAVs and/or non-CAVs crossing a signalized intersection using optimal control (CAVs) and the intelligent driver model (non-CAVs)

By specifying the Block Parameters of the MATLAB Discrete-Event System (MATLAB DES), you may try different controllers given a particular scenario. For example, for CAVs merging at freeway on-ramp, you can select either an optimal controller or a control barrier function-based controller. In addition, you may observe the queue length of the signalized intersection 2 if you’d like to study the queueing behavior. Feel free to make edits or create your own traffic scenarios depending on your research purpose.

注意:

  1. 在对某个场景(如信号交叉口1)进行仿真时,请将其他场景(如无信号交叉口、高速公路入口匝道等)的MATLAB离散事件系统模块设置为“xxx-Dummy”模式。

  2. 如果CAV和INFO实体没有自动加载,双击初始化模块“init”。

NOTE:

  1. When running simulation for a certain scenario, e.g., signalized intersection 1, please set the MATLAB Discrete-Event System blocks of other scenarios, e.g., unsignalized intersections, freeway on-ramp, etc., to “xxx_Dummy” mode.

  2. Double click the initialization block “init” if the CAV and INFO entities are not load automatically

可视化是基于原始形式的。目前正在进行的工作包括改进可视化和为整个城市创建地图。

Visualization is primitive. Ongoing work includes improving the visualization and creating a map for the whole Mcity.

完整源码下载地址:

更多精彩文章请关注微信号:在这里插入图片描述

转载地址:http://wymp.baihongyu.com/

你可能感兴趣的文章
Nginx配置如何一键生成
查看>>
Nginx配置实例-负载均衡实例:平均访问多台服务器
查看>>
Nginx配置文件nginx.conf中文详解(总结)
查看>>
Nginx配置负载均衡到后台网关集群
查看>>
ngrok | 内网穿透,支持 HTTPS、国内访问、静态域名
查看>>
NHibernate学习[1]
查看>>
NHibernate异常:No persister for的解决办法
查看>>
NIFI1.21.0_Mysql到Mysql增量CDC同步中_日期类型_以及null数据同步处理补充---大数据之Nifi工作笔记0057
查看>>
NIFI1.21.0_NIFI和hadoop蹦了_200G集群磁盘又满了_Jps看不到进程了_Unable to write in /tmp. Aborting----大数据之Nifi工作笔记0052
查看>>
NIFI1.21.0通过Postgresql11的CDC逻辑复制槽实现_指定表多表增量同步_增删改数据分发及删除数据实时同步_通过分页解决变更记录过大问题_02----大数据之Nifi工作笔记0054
查看>>
NIFI1.21.0通过Postgresql11的CDC逻辑复制槽实现_指定表或全表增量同步_实现指定整库同步_或指定数据表同步配置_04---大数据之Nifi工作笔记0056
查看>>
NIFI1.23.2_最新版_性能优化通用_技巧积累_使用NIFI表达式过滤表_随时更新---大数据之Nifi工作笔记0063
查看>>
NIFI从MySql中增量同步数据_通过Mysql的binlog功能_实时同步mysql数据_根据binlog实现数据实时delete同步_实际操作04---大数据之Nifi工作笔记0043
查看>>
NIFI从MySql中增量同步数据_通过Mysql的binlog功能_实时同步mysql数据_配置binlog_使用处理器抓取binlog数据_实际操作01---大数据之Nifi工作笔记0040
查看>>
NIFI从MySql中增量同步数据_通过Mysql的binlog功能_实时同步mysql数据_配置数据路由_实现数据插入数据到目标数据库_实际操作03---大数据之Nifi工作笔记0042
查看>>
NIFI从MySql中离线读取数据再导入到MySql中_03_来吧用NIFI实现_数据分页获取功能---大数据之Nifi工作笔记0038
查看>>
NIFI从MySql中离线读取数据再导入到MySql中_无分页功能_02_转换数据_分割数据_提取JSON数据_替换拼接SQL_添加分页---大数据之Nifi工作笔记0037
查看>>
NIFI从PostGresql中离线读取数据再导入到MySql中_带有数据分页获取功能_不带分页不能用_NIFI资料太少了---大数据之Nifi工作笔记0039
查看>>
nifi使用过程-常见问题-以及入门总结---大数据之Nifi工作笔记0012
查看>>
NIFI分页获取Mysql数据_导入到Hbase中_并可通过phoenix客户端查询_含金量很高的一篇_搞了好久_实际操作05---大数据之Nifi工作笔记0045
查看>>