A flexible communication stack design for improved software development on industrial testbeds and simulatorsShow others and affiliations
2023 (English)In: Computers in industry (Print), ISSN 0166-3615, E-ISSN 1872-6194, Vol. 147, article id 103873Article in journal (Refereed) Published
Abstract [en]
In order to facilitate deterministic behavior; industrial real-time communication stacks need another design than non-real-time communication stacks typically found in e.g., Internet of Things and Cloud solutions. We propose a flexible stack design that enable code reuse between testbeds and simulators, as well as how stack layers are driven and prioritized. The design can be generalized and used for non-real-time bare-metal solutions like battery powered Internet of Things. Our approach aims at extending the use of simulation during development of industrial systems in order to find logical errors and wrong assumptions earlier in the development. Conducted and evaluated experiments show that the proposed solutions are able to extend the use of simulation during development of real-time communication software. This is achieved by reusing the same code on an industrial testbed and in a discrete event simulator. In addition, the experiments show that the stack design is generalizable and enable reuse with other non-real-time embedded systems. The contribution consists of a set of building blocks for real-time systems that enable control over the system timing when executing on a simulation host while reusing the source code from an industrial testbed. Overall, this will improve the engineering situation, with respect to code reuse, flexibility and debugging. © 2023 The Author(s)
Place, publisher, year, edition, pages
Elsevier B.V. , 2023. Vol. 147, article id 103873
Keywords [en]
Discrete event simulation, Embedded systems, Interactive computer systems, Internet of things, Real time systems, Software design, Code reuse, Communication stacks, Customized network simulator, Discrete-event simulations, Flexible communication, Flexible stack design, Industrial communications, Network simulators, Real-time communication, Stack designs, Testbeds, Industrial communication, Software development
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:ri:diva-64235DOI: 10.1016/j.compind.2023.103873Scopus ID: 2-s2.0-85149292015OAI: oai:DiVA.org:ri-64235DiVA, id: diva2:1744537
Note
Correspponging author: Niclas Eriksson, RISE, Sweden
We would like to thank the three anonymous reviewers whose comments significantly helped improve the paper. This work was partially supported by the Knowledge Foundation through the ITS ESS-H industrial graduate school at Mälardalen University under grant 20150277 , the Vinnova funded research projects IoTSP, SALLPI, SALLPI-phase2, ITEA3 IVVES (reference numbers 2015-06741 , 2018-04498 , 2019-04831 , 2019-02383 ), and the DAIS project funded by ECSEL Joint Undertaking (JU) under grant agreement No. 101007273 . The work reflects only the authors’ views; the funding agencies are not responsible for any use that may be made of the information it contains.
2023-03-202023-03-202023-03-20Bibliographically approved