In this test, the rotational command was given to
the twins. However, the motors’ voltage in the sim-
ulator was purposefully set to 0, forcing the robot to
not rotate. After giving the command to both robots
to stop, the alert appeared with the divergence’s du-
ration. This behavior is logical because when the
robot’s stopped, the divergence returned to roughly 0,
below the threshold.
6 CONCLUSIONS
This paper presented the development of a digital twin
for an AGV for the Robot@Factory Lite competition.
The robot’s motors were modeled and its parameters
were estimated. PI controllers for speed were de-
signed for each motor of the real robot. Applying the
same controllers in the simulated robot, the twins be-
haved similarly. Also, a digital twin software was pre-
sented that monitors, in real-time, the behavior of the
twins’ linear and angular speeds, alerting when they
aren’t performing similarly for some reason. The di-
vergence detection was designed to be robust to noise
and transient periods, preventing false alerts. Finally,
three tests were performed, on both twins simultane-
ously, to show the digital twin performance compared
to the real twin. The tests were sufficient to show
that the digital twin is performing very similarly, with
a negligible difference during transient periods, even
with the assumptions made for simplification during
the modeling. Therefore, the digital twin will prove
useful for the next competitions as well as by the com-
munity for other scenarios, with the instant feedback
of the robot’s performance and by greatly improving
the transition to the real scenario.
ACKNOWLEDGEMENTS
The project that gave rise to these results received
the support of a fellowship from ”la Caixa” Foun-
dation (ID 100010434). The fellowship code is
LCF/BQ/DI20/11780028. This work is financed
by National Funds through the Portuguese funding
agency, FCT - Fundação para a Ciência e a Tecnolo-
gia within project UIDB/50014/2020.
REFERENCES
Lima, J., Costa, P., Brito, T., and Piardi, L. (2019).
Hardware-in-the-loop simulation approach for the
robot at factory lite competition proposal. In 2019
IEEE International Conference on Autonomous Robot
Systems and Competitions (ICARSC), pages 1–6.
IEEE.
P33a (2020). Robot at factory lite. https://github.com/
P33a/RobotAtFactoryLite. Online; accessed 26-
February-2020.
Pairet, E., Ardón, P., Liu, X., Lopes, J., Hastie, H., and
Lohan, K. S. (2019). A digital twin for human-robot
interaction. In 2019 14th ACM/IEEE International
Conference on Human-Robot Interaction (HRI), pages
372–372.
Paulo, C., José, G., José, L., and Paulo, M. (2011). Simtwo
realistic simulator: A tool for the development and
validation of robot software. Theory and Applications
of Mathematics & Computer Science, 1(1):17–33.
Rivera, D. E., Morari, M., and Skogestad, S. (1986). Inter-
nal model control: Pid controller design. Industrial
& engineering chemistry process design and develop-
ment, 25(1):252–265.
Smith, R. et al. (2005). Open dynamics engine.
Tao, F., Zhang, H., Liu, A., and Nee, A. Y. C. (2019). Dig-
ital twin in industry: State-of-the-art. IEEE Transac-
tions on Industrial Informatics, 15(4):2405–2415.
Tao, F., Zhang, M., Liu, Y., and Nee, A. (2018). Digital twin
driven prognostics and health management for com-
plex equipment. Cirp Annals, 67(1):169–172.
Weyer, S., Meyer, T., Ohmer, M., Gorecky, D., and Züh-
lke, D. (2016). Future modeling and simulation of
cps-based factories: an example from the automotive
industry. Ifac-Papersonline, 49(31):97–102.
Zhang, H., Liu, Q., Chen, X., Zhang, D., and Leng, J.
(2017). A digital twin-based approach for designing
and multi-objective optimization of hollow glass pro-
duction line. IEEE Access, 5:26901–26911.
SIMULTECH 2021 - 11th International Conference on Simulation and Modeling Methodologies, Technologies and Applications
318