{"title":"在Simulink模型中的细粒度定时软件","authors":"S. Resmerita","doi":"10.1145/3550356.3561605","DOIUrl":null,"url":null,"abstract":"This paper considers a refinement of standard Software-in-the-Loop (SiL) testing called Fine-grained Timed SiL, in short FiTS, where execution of code fragments is interleaved with simulation of execution time consumption on appropriate virtual processor models. The interleaving takes place at accesses to inputs and outputs of the software component. We present here various FiTS implementations in Simulink, and explore avenues for virtual platform modeling with FiTS in Simulink. The paper also presents a use case for unit testing in model-based development of automotive controller software, where the software under test is code-generated from an upgraded version of a legacy Simulink model. Here, execution time simulation in FiTS at code fragment level has been instrumental in revealing a problem with the original model upgrade process. The issue is not visible in the original upgraded Simulink model or in its corresponding standard SiL, or in other SiL variants that consider execution times only at the software function level. This demonstrates the applicability of the FiTS approach as a general SiL testing method without the need for detailed platform models and accurate execution time estimates.","PeriodicalId":182662,"journal":{"name":"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings","volume":"122 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Fine-grained timed software in Simulink models\",\"authors\":\"S. Resmerita\",\"doi\":\"10.1145/3550356.3561605\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper considers a refinement of standard Software-in-the-Loop (SiL) testing called Fine-grained Timed SiL, in short FiTS, where execution of code fragments is interleaved with simulation of execution time consumption on appropriate virtual processor models. The interleaving takes place at accesses to inputs and outputs of the software component. We present here various FiTS implementations in Simulink, and explore avenues for virtual platform modeling with FiTS in Simulink. The paper also presents a use case for unit testing in model-based development of automotive controller software, where the software under test is code-generated from an upgraded version of a legacy Simulink model. Here, execution time simulation in FiTS at code fragment level has been instrumental in revealing a problem with the original model upgrade process. The issue is not visible in the original upgraded Simulink model or in its corresponding standard SiL, or in other SiL variants that consider execution times only at the software function level. This demonstrates the applicability of the FiTS approach as a general SiL testing method without the need for detailed platform models and accurate execution time estimates.\",\"PeriodicalId\":182662,\"journal\":{\"name\":\"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings\",\"volume\":\"122 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3550356.3561605\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3550356.3561605","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
This paper considers a refinement of standard Software-in-the-Loop (SiL) testing called Fine-grained Timed SiL, in short FiTS, where execution of code fragments is interleaved with simulation of execution time consumption on appropriate virtual processor models. The interleaving takes place at accesses to inputs and outputs of the software component. We present here various FiTS implementations in Simulink, and explore avenues for virtual platform modeling with FiTS in Simulink. The paper also presents a use case for unit testing in model-based development of automotive controller software, where the software under test is code-generated from an upgraded version of a legacy Simulink model. Here, execution time simulation in FiTS at code fragment level has been instrumental in revealing a problem with the original model upgrade process. The issue is not visible in the original upgraded Simulink model or in its corresponding standard SiL, or in other SiL variants that consider execution times only at the software function level. This demonstrates the applicability of the FiTS approach as a general SiL testing method without the need for detailed platform models and accurate execution time estimates.