Toward Reproducibility of Digital Twin Research: Exemplified with the PiCar-X
Alexander Barbie, Wilhelm Hasselbring
TL;DR
The paper addresses the reproducibility gap in digital twin research by formalizing a comprehensive digital twin concept and demonstrating it end-to-end on a PiCar-X. It introduces a reproducible laboratory setup comprising the physical twin, a Gazebo-based digital model, a digital template, a digital thread, a digital shadow, a digital twin, and a digital twin prototype, all supported by open-source code and Docker-compose configurations. The work integrates MQTT and Apache Avro for efficient bidirectional data flow, and employs a multi-master ROS/GAZEBO architecture with emulators to enable Software-in-the-Loop testing within CI/CD pipelines. This approach lowers barriers to replication, enables automated testing across architectures, and supports rapid, agile development in embedded systems within Industry 4.0 contexts.
Abstract
Digital twins are becoming increasingly relevant in the Industrial Internet of Things and Industry 4.0, enhancing the capabilities and quality of various applications. However, the concept of \dts lacks a unified definition and faces validation challenges, partly due to the scarcity of reproducible modules or source codes in existing studies. While many applications are described in case studies, they often lack detailed, re-usable specifications for researchers and engineers. In previous research, we defined and formalized the \dt concept. This paper presents a reproducible laboratory experiment that demonstrates various \dt concepts. Our formalized concept encompasses the \pt, the digital model, the digital template, the digital thread, the digital shadow, the \dt, and the \dtp. We illustrate this series of concepts by using a PiCar-X, showcasing the progression from a \pt to its \dtp. The entire code base is published as open source, and for each concept, Docker-compose files are provided to facilitate independent exploration, understanding, and extension.
