Software tests and timulations for real-time applications based on virtual time

M. Hierholzer, G. Varghese, M. Killenberg
{"title":"Software tests and timulations for real-time applications based on virtual time","authors":"M. Hierholzer, G. Varghese, M. Killenberg","doi":"10.1109/RTC.2016.7543122","DOIUrl":null,"url":null,"abstract":"Unit and integration tests are powerful tools to ensure software quality. Writing such tests for real-time applications accessing hardware requires not only replacing the real hardware with a virtual implementation in software. Also time must be controlled precisely. For a number of reasons the time scale in the simulated environment should not be identical to the real time: computations needed for a complex plant model might just be too slow for a real time simulation, or some long-term software behaviour should be tested in a short-running test. Communications with devices often require a specific timing which should be subject of a unit test. These examples demand using a virtual time scale in software tests. We present the VirtualLab framework as part of the MTCA4U tool kit. It has been designed to help implementing such tests by introducing the concept of virtual time and combining it with an implementation basis for virtual devices and plant models. The framework is designed modularly so that virtual devices and model components can be reused to test different parts of the control system software.","PeriodicalId":383702,"journal":{"name":"2016 IEEE-NPSS Real Time Conference (RT)","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE-NPSS Real Time Conference (RT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTC.2016.7543122","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Unit and integration tests are powerful tools to ensure software quality. Writing such tests for real-time applications accessing hardware requires not only replacing the real hardware with a virtual implementation in software. Also time must be controlled precisely. For a number of reasons the time scale in the simulated environment should not be identical to the real time: computations needed for a complex plant model might just be too slow for a real time simulation, or some long-term software behaviour should be tested in a short-running test. Communications with devices often require a specific timing which should be subject of a unit test. These examples demand using a virtual time scale in software tests. We present the VirtualLab framework as part of the MTCA4U tool kit. It has been designed to help implementing such tests by introducing the concept of virtual time and combining it with an implementation basis for virtual devices and plant models. The framework is designed modularly so that virtual devices and model components can be reused to test different parts of the control system software.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于虚拟时间的实时应用软件测试与仿真
单元测试和集成测试是确保软件质量的强大工具。为访问硬件的实时应用程序编写这样的测试不仅需要用软件中的虚拟实现替换真实的硬件。时间也必须精确控制。由于许多原因,模拟环境中的时间尺度不应该与实时相同:复杂工厂模型所需的计算对于实时模拟来说可能太慢,或者一些长期软件行为应该在短期运行的测试中进行测试。与设备的通信通常需要特定的时间,这应该是单元测试的主题。这些例子要求在软件测试中使用虚拟时间尺度。我们将VirtualLab框架作为MTCA4U工具包的一部分。它旨在通过引入虚拟时间概念并将其与虚拟设备和工厂模型的实施基础相结合,帮助实施此类测试。该框架采用模块化设计,使得虚拟设备和模型组件可以被重用,以测试控制系统软件的不同部分。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Trigger system for a large area RPC TOF-tracker Performance of the new DAQ system of the CMS experiment for run-2 Phase stabilization over a 3 km optical link with sub-picosecond precision for the AWAKE experiment Real-time resonant magnetic perturbations feedback control system for tearing mode suppression on J-TEXT Benchmarking message queue libraries and network technologies to transport large data volume in the ALICE O system
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1