Unit and integration tests are powerful tools to ensure software quality. Writing such tests for realtime applications accessing hardware requires not only replacing the real hardware with avirtual 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 real time: computations needed for a complex plant model might just be too slow for a real time simulation, or somelong-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 usinga virtual time scale in software tests.We present the Virtual Lab 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 controlsystem software.
Software Tests and Simulations for Realtime Applications Based on Virtual Time
2016-01-01
1-4 (2016). doi:10.3204/PUBDB-2016-05847 ; 20th IEEE-NPSS Real Time Conference, RT2016, Padua, Italy, 2016-06-05 - 2016-06-10
Conference paper
Electronic Resource
English
Software Tests and Simulations for Control Applications Based on Virtual Time
BASE | 2016
|Nonlinear Helicopter Model Validation Applied to Realtime Simulations
British Library Conference Proceedings | 1997
|Realtime Implementation of L-I-Band Software Radios
NTIS | 2001
|