Simulator Coupled with Distributed Co-Simulation Protocol for Automated Driving Tests

IF 4.8 1区 工程技术 Q1 ENGINEERING, ELECTRICAL & ELECTRONIC
Max-Arno Meyer, Lina Sauter, Christian Granrath, Hassen Hadj-Amor, Jakob Andert
{"title":"Simulator Coupled with Distributed Co-Simulation Protocol for Automated Driving Tests","authors":"Max-Arno Meyer,&nbsp;Lina Sauter,&nbsp;Christian Granrath,&nbsp;Hassen Hadj-Amor,&nbsp;Jakob Andert","doi":"10.1007/s42154-021-00161-1","DOIUrl":null,"url":null,"abstract":"<div><p>To meet the challenges in software testing for automated vehicles, such as increasing system complexity and an infinite number of operating scenarios, new simulation methods must be developed. Closed-loop simulations for automated driving (AD) require highly complex simulation models for multiple controlled vehicles with their perception systems as well as their surrounding context. For the realization of such models, different simulation domains must be coupled with co-simulation. However, widely supported model integration standards such as functional mock-up interface (FMI) lack native support for distributed platforms, which is a key feature for AD due to the computational intensity and platform exclusivity of certain models. The newer FMI companion standard distributed co-simulation protocol (DCP) introduces platform coupling but must still be used in conjunction with AD co-simulations. As part of an assessment framework for AD, this paper presents a DCP compliant implementation of an interoperable interface between a 3D environment and vehicle simulator and a co-simulation platform. A universal Python wrapper is implemented and connected to the simulator to allow its control as a DCP slave. A C-code-based interface enables the co-simulation platform to act as a DCP master and to realize cross-platform data exchange and time synchronization of the environment simulation with other integrated models. A model-in-the-loop use case is performed with the traffic simulator CARLA running on a Linux machine connected to the co-simulation master xMOD on a Windows computer via DCP. Several virtual vehicles are successfully controlled by cooperative adaptive cruise controllers executed outside of CARLA. The standard compliance of the implementation is verified by exemplary connection to prototypic DCP solutions from 3rd party vendors. This exemplary application demonstrates the benefits of DCP compliant tool coupling for AD simulation with increased tool interoperability, reuse potential, and performance.</p></div>","PeriodicalId":36310,"journal":{"name":"Automotive Innovation","volume":"4 4","pages":"373 - 389"},"PeriodicalIF":4.8000,"publicationDate":"2021-10-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s42154-021-00161-1.pdf","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Automotive Innovation","FirstCategoryId":"1087","ListUrlMain":"https://link.springer.com/article/10.1007/s42154-021-00161-1","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 5

Abstract

To meet the challenges in software testing for automated vehicles, such as increasing system complexity and an infinite number of operating scenarios, new simulation methods must be developed. Closed-loop simulations for automated driving (AD) require highly complex simulation models for multiple controlled vehicles with their perception systems as well as their surrounding context. For the realization of such models, different simulation domains must be coupled with co-simulation. However, widely supported model integration standards such as functional mock-up interface (FMI) lack native support for distributed platforms, which is a key feature for AD due to the computational intensity and platform exclusivity of certain models. The newer FMI companion standard distributed co-simulation protocol (DCP) introduces platform coupling but must still be used in conjunction with AD co-simulations. As part of an assessment framework for AD, this paper presents a DCP compliant implementation of an interoperable interface between a 3D environment and vehicle simulator and a co-simulation platform. A universal Python wrapper is implemented and connected to the simulator to allow its control as a DCP slave. A C-code-based interface enables the co-simulation platform to act as a DCP master and to realize cross-platform data exchange and time synchronization of the environment simulation with other integrated models. A model-in-the-loop use case is performed with the traffic simulator CARLA running on a Linux machine connected to the co-simulation master xMOD on a Windows computer via DCP. Several virtual vehicles are successfully controlled by cooperative adaptive cruise controllers executed outside of CARLA. The standard compliance of the implementation is verified by exemplary connection to prototypic DCP solutions from 3rd party vendors. This exemplary application demonstrates the benefits of DCP compliant tool coupling for AD simulation with increased tool interoperability, reuse potential, and performance.

基于分布式联合仿真协议的自动驾驶测试模拟器
为了应对自动化车辆软件测试中的挑战,例如系统复杂性的增加和无限多的操作场景,必须开发新的模拟方法。自动驾驶(AD)的闭环模拟需要高度复杂的多控制车辆及其感知系统及其周围环境的模拟模型。为了实现这些模型,不同的仿真领域必须与协同仿真相耦合。然而,广泛支持的模型集成标准,如功能实体模型接口(FMI),缺乏对分布式平台的本地支持,这是AD的一个关键特征,因为某些模型的计算强度和平台排他性。较新的FMI配套标准分布式协同仿真协议(DCP)引入了平台耦合,但仍必须与AD协同仿真结合使用。作为AD评估框架的一部分,本文提出了一种符合DCP的3D环境和车辆模拟器与协同仿真平台之间互操作接口的实现。实现了一个通用的Python包装器,并将其连接到模拟器,以允许其作为DCP从机进行控制。基于C代码的接口使协同仿真平台能够充当DCP主机,并实现环境仿真与其他集成模型的跨平台数据交换和时间同步。使用运行在Linux机器上的交通模拟器CARLA通过DCP连接到Windows计算机上的协同模拟主机xMOD来执行环中模型用例。通过在CARLA之外执行的协作自适应巡航控制器成功地控制了多个虚拟车辆。通过与第三方供应商的原型DCP解决方案的示例性连接,验证了实施的标准合规性。该示例性应用程序展示了符合DCP的工具耦合对AD模拟的好处,增加了工具互操作性、重用潜力和性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Automotive Innovation
Automotive Innovation Engineering-Automotive Engineering
CiteScore
8.50
自引率
4.90%
发文量
36
期刊介绍: Automotive Innovation is dedicated to the publication of innovative findings in the automotive field as well as other related disciplines, covering the principles, methodologies, theoretical studies, experimental studies, product engineering and engineering application. The main topics include but are not limited to: energy-saving, electrification, intelligent and connected, new energy vehicle, safety and lightweight technologies. The journal presents the latest trend and advances of automotive technology.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信