Preprint
Article

This version is not peer-reviewed.

Hardware-Software Compatibility in Robotic Cyber-Physical Systems – an Application Based Approach

Submitted:

01 October 2024

Posted:

02 October 2024

You are already at the latest version

Abstract
The sciences related to production engineering consider many aspects related to cyber physical systems (CPS), in particular robots, treating them as implementations of the Industry 4.0 con-cept. The construction of CPS remains the domain of various engineering disciplines - mechan-ics, control theory or computer science. The problem of communication occurring during the implementation of the control of a single robot understood as a CPS object may concern the ex-change of data within a CPS or between different CPSs. In this area, software and hardware compatibility problems arise. Therefore, the paper presents a modular application for the ex-change of process data between mechatronic devices such as robots, which solves this problem. The work is complemented by an example of the use of the presented application in communi-cation between a mobile wheeled robot with Macanum wheels and a quadruped robot based on a motion capture system. It was assumed that the control of the wheeled robot would be realized from the perspective of implementing the basic robotics task of driving to a target, while the quadruped robot, representing a moving target, together with the motion capture system, would constitute a CPS whose outputs are incompatible in a software and hardware sense. With this choice of example, main attention was focused on the particular importance of multidisci-plinary in the context of the communication problem and also provide an application that al-lows for a modular solution to the problem of software/hardware compatibility in the commu-nication problem. This, in turn, is of interest to researchers associated with various engineering disciplines.
Keywords: 
;  ;  ;  

1. Introduction

In mid-July 2023, the Web of Science database contained around 30 papers from the past five years, which included the phrases Industry 4.0 and review in their title and were cited at least 100 times. This leads us to believe that Industry 4.0 is a present-day research topic, despite emerging proposals to develop Industry 4.0 with a human component, creating the concepts of Industry 5.0 [1]. Its aim is synergy between humans and autonomous machines [2].
Further confirmation of the topicality of Industry 4.0 can be found in the work of [3]. The authors point out that currently Industry 4.0 does not have an agreed definition, which creates serious limitations in building Industry 4.0 theory and comparing research in this area. Through a literature review that analyses almost 100 definitions of Industry 4.0 and related concepts, the authors point out similarities and differences between definitions based on the categories adopted. It seems that the multiplicity of definitions is a good measure of the timeliness of the research because it clearly indicates the ongoing discussion and development of the Industry 4.0 topic. The authors themselves indicate [3] that their work is intended to be a contribution to further discussion and that the adopted categorization is intended to organize future research on the approach to Industry 4.0 in its many aspects.
As it is pointed out in work [4], Industry 4.0 is characterized by highly developed automation processes that incorporate the achievements of electronics and IT. From a production and service management perspective, Industry 4.0 focuses on the creation of intelligent and communicating systems, such as Machine-to-Machine (M2M) and Human-Machine Interaction (HMI), with the ability to communicate with other intelligent and distributed systems. The author [4] in works [5,6,7] describes the nine pillars of Industry 4.0. These are: Industrial Internet of Things, cloud computing, Big Data, simulation, augmented reality, additive manufacturing, horizontal and vertical systems integration, autonomous robots and cyber security. This list indicates that research into the concept of Industry 4.0 is not only topical but also interdisciplinary.
The concept of Industry 4.0 is concretized in cyber-physical systems, which by one definition are a combination of embedded systems and physical objects. Embedded (computational) systems control physical processes, usually with feedback loops in which physical processes influence computation and vice versa [8,9]. Review paper [8] presents the concepts and characteristics of CPS and indicates further research perspectives in this area. The authors point out that research on CPS is just beginning and is multidisciplinary in nature. This is due to the fact that CPS is heterogeneous system without a unified global model. Therefore, research on CPS is being conducted by experts from different disciplines, focusing on system architecture, information processing and software design. This is confirmed, among other things, in the work [9], which discusses which models should be used for CPS, since these combine different scientific and engineering disciplines.
In line with research on Industry 4.0 and its implementation in the form of a CPS, this paper is aimed at addressing the topic of communication between hardware and software incompatible components of CPSs or between CPSs themselves. A proposed modular data processing application and an example of its application in mobile robotics—in the task of reaching a changing target, which is another robot—will be presented. The communication between the CPSs, i.e., the mobile robot and the quadruped robot, is realized using incompatible protocols and a motion capture system that gives the positions of the quadruped robot and also tracks (to verify the odometry measurement) the positions of the mobile robot. In the next section, the assumptions of the proposed application and selected technical details will be presented. Its use in an environment composed of two robots will be the content of the next section. The article will conclude with a presentation of the results of the conducted research and a summary.

2. Communication Compatibility

In review summary [10] it was noted that the main technical enablers that underpin Industry 4.0, or are directly related to it, come from information and communication technologies. These technologies enable communication between CPSs and between CPS components. In the work [9] Figure 1a shows a diagram of a simple CPS composed of two embedded systems that interact with a physical object via sensors and actuators and with each other via a specific communication method. In the paper [9] this is a factory network.
Figure 1b schematically shows the three CPSs interacting with each other. When communicating within a CPS structure as well as between them, a hardware-software compatibility problem may arise. The proposed application is intended to act as an agent, by introducing a hardware-software solution that will agree on the communication within or between the CPSs. Such a situation is shown in Figure 2a,b for communication between components of a CPS and between several CPSs.
The proposed approach to implement an agent is an application with an input-output architecture, as it is assumed that the agent can transfer data from multiple inputs to a single output. The adoption of such an architecture determines the unidirectional nature of the communication. However, this problem is eliminated by another assumption about the agent: inputs and outputs are to be configurable on the basis of interchangeable hardware-software modules. Bidirectional communication then requires only a duplication of the number of agents operating unidirectionally. Interventionary studies involving animals or humans, and other studies that require ethical approval, must list the authority that provided approval and the corresponding ethical approval code.
In summary, the proposed agent should meet several objectives:
  • it should be capable of transferring data between different interfaces in the hardware/software sense in one direction,
  • should be able to support various protocols, through software and hardware modules,
  • should be configurable, i.e., it allows the type of input and output to be specified,
  • should allow the transmission of data from multiple inputs in a sequential or parallel manner,
  • should ensure the time independence of the handling of a given input and output,
  • should be multiplatform
Given the assumptions made, the following sections describe selected implementation details of the proposed agent, RoboDataLink.py, and an example of its use.

5. Summary

This paper presents a possible solution to one of the problems of implementing the idea of Industry 4.0, which is the hardware-software incompatibility occurring in communication. The proposed application solves the problem of hardware-software compatibility in communication between CPS (cyber-physical system) components or between CPSs. The program RoboDataLink.py works in an input-output architecture and, through a modular thread-based design, allows easy implementation of new input-output communication standards. Its usefulness was verified in an experiment consisting of: two robots (a mobile robot with Mecanum wheels and a quadruped robot) and a motion capture system. The experiment carried out the task: following a moving target, based on a hierarchical, behavioral control system. The RoboDataLink.py application used in the test provided communication between the two CPSs. An agent in the form of RoboDataLink.py was used to ensure hardware-software compatibility between the motion capture system and the Dspace signal card. While this paper has demonstrated the usefulness of the author’s RoboDataLink.py application in the context of an Industry 4.0 implementation, the authors see room for development of the solution presented. This is the implementation of a graphical interface with an editor for configuration files, testing in virtual environments or direct connection to the Matlab/Simulink engineering environment. In addition, in future research work, the authors intend to extend the functionality of the mobile robot control algorithm with an obstacle avoidance function realized through the use of Lidar. In order to achieve software and hardware compatibility with, for example, the Dspace card, the RoboDataLink.py application will be used.

Author Contributions

Conceptualization, P.P. and M.S.; methodology, P.P. and M.S.; software, P.P.; validation, M.S.; formal analysis, A.G.; investigation, P.P. and M.S.; resources, P.P.; data curation, M.S.; writing—original draft preparation, P.P. and M.S.; writing—review and editing, A.G.; visualization, P.P.; supervision, A.G.; project administration, A.G.; funding acquisition, A.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Pizoń, J.; Gola, A. The Meaning and Directions of Development of Personalized Production in the Era of Industry 4.0 and Industry 5.0. In: Machado, J., et al. Innovations in Industrial Engineering II. icieng 2022. Lecture Notes in Mechanical Engineering. 2023, Springer, Cham. [CrossRef]
  2. Nahavandi, S. Industry 5.0—A Human-Centric Solution. Sustainability 2019, 11, 4371. [Google Scholar] [CrossRef]
  3. Culot, G.; Nassimbeni, G.; Orzes, G.; Sartor, M. Behind the Definition of Industry 4.0: Analysis and Open Questions. International Journal of Production Economics 2020, 226, 107617. [Google Scholar] [CrossRef]
  4. Alcácer, V.; Cruz-Machado, V. Scanning the Industry 4.0: A Literature Review on Technologies for Manufacturing Systems. Engineering Science and Technology, an International Journal 2019, 22, 899–919. [Google Scholar] [CrossRef]
  5. Motyl, B.; Baronio, G.; Uberti, S.; Speranza, D.; Filippi, S. How Will Change the Future Engineers’ Skills in the Industry 4.0 Framework? A Questionnaire Survey. Procedia Manufacturing 2017, 11, 1501–1509. [Google Scholar] [CrossRef]
  6. Asaad, H.; Askar, S.; Kakamin, A.; Faiq, N. Exploring the Impact of Artificial Intelligence on Humanrobot Cooperation in the Context of Industry 4.0. Applied Computer Science 2024, 20(2), 138–156. [Google Scholar] [CrossRef]
  7. Saucedo-Martínez, J.A.; Pérez-Lara, M.; Marmolejo-Saucedo, J.A.; Salais-Fierro, T.E.; Vasant, P. Industry 4.0 Framework for Management and Operations: A Review. J Ambient Intell Human Comput 2018, 9, 789–801. [Google Scholar] [CrossRef]
  8. Liu, Y.; Peng, Y.; Wang, B.; Yao, S.; Liu, Z. Review on Cyber-Physical Systems. IEEE/CAA J. Autom. Sinica 2017, 4, 27–40. [Google Scholar] [CrossRef]
  9. Lee, E. The Past, Present and Future of Cyber-Physical Systems: A Focus on Models. Sensors 2015, 15, 4837–4869. [Google Scholar] [CrossRef]
  10. Aceto, G.; Persico, V.; Pescape, A. A Survey on Information and Communication Technologies for Industry 4.0: State-of-the-Art, Taxonomies, Perspectives, and Challenges. IEEE Commun. Surv. Tutorials 2019, 21, 3467–3501. [Google Scholar] [CrossRef]
  11. Szybicki, D.; Obal, P.; Penar, P.; Kurc, K.; Muszyńska, M.; Burghardt, A. Development of a Dedicated Application for Robots to Communicate with a Laser Tracker. Electronics 2022, 11, 3405. [Google Scholar] [CrossRef]
  12. Robot Panther Manual Available online:. Available online: https://husarion.com/manuals/panther/ (accessed on 18 September 2024).
  13. dSpace, DS1103 PPC Controller Board. Hardware Installation and Configuration; 2004.
  14. Go1 Documentation, Available online: https://unitree-docs.readthedocs.io/en/latest/get_started/Go1_Edu.html.
  15. Vicon Tracker User Guide, Available online: https://help.vicon.com/space/Tracker39.
  16. Vicon Accuracy in Motion, Available online: https://www.vicon.com/wp-content/uploads/2022/07/Vicon-Metrology-Solutions.pdf.
  17. Camera Vicon Vero. Technical Information. Available online: https://www.vicon.com/hardware/cameras/vero/#technical-information.
  18. Boubertakh, H.; Tadjine, M.; Glorennec, P.-Y. A Simple Goal Seeking Navigation Method for a Mobile Robot Using Human Sense, Fuzzy Logic and Reinforcement Learning. In Proceedings of the Knowledge-Based Intelligent Information and Engineering Systems; Lovrek, I., Howlett, R.J., Jain, L.C., Eds.; Springer Berlin Heidelberg: Berlin, Heidelberg, 2008; pp. 666–673. [Google Scholar]
  19. Motlagh, O.; Nakhaeinia, D.; Tang, S.H.; Karasfi, B.; Khaksar, W. Automatic Navigation of Mobile Robots in Unknown Environments. Neural Comput & Applic 2014, 24, 1569–1581. [Google Scholar] [CrossRef]
  20. Hendzel, Z.; Szuster, M. Neural Sensor-Based Navigation of Wheeled Mobile Robot in Unknown Environment. Pomiary Automatyka Robotyka 2013, 17, 114–120. [Google Scholar]
  21. Hendzel, Z. Fuzzy Reactive Control of Wheeled Mobile Robot. Journal of Theoretical and Applied Mechanics 2004, 42, 503–517. [Google Scholar]
  22. Goeller, M.; Steinhardt, F.; Kerscher, T.; Zöllner, J.M.; Dillmann, R. Proactive Avoidance of Moving Obstacles for a Service Robot Utilizing a Behavior-Based Control.
  23. Kerr, E.P.; Vance, P.; Kerr, D.; Coleman, S.A.; Das, G.P.; McGinnity, T.M.; Moeys, D.P.; Delbruck, T. Biological Goal Seeking. In Proceedings of the 2018 IEEE Symposium Series on Computational Intelligence (SSCI); IEEE: Bangalore, India, November 2018; pp. 1602–1607.
  24. Moreno-Caireta, I.; Celaya, E.; Ros, L. Model Predictive Control for a Mecanum-Wheeled Robot Navigating among Obstacles. IFAC-PapersOnLine 2021, 54, 119–125. [Google Scholar] [CrossRef]
  25. Benbouabdallah, K.; Zhu, Q.-D. A Behavior-Based Controller for a Mobile Robot Tracking a Moving Target in Multi-Obstacles Environment. In Proceedings of the 2013 5th International Conference on Intelligent Human-Machine Systems and Cybernetics; IEEE: Hangzhou, China, August 2013; pp. 418–423.
  26. Szeremeta, M.; Szuster, M. Neural Tracking Control of a Four-Wheeled Mobile Robot with Mecanum Wheels. Applied Sciences 2022, 12, 5322. [Google Scholar] [CrossRef]
Figure 1. (a) CPS structure; (b) communication between the three CPSs.
Figure 1. (a) CPS structure; (b) communication between the three CPSs.
Preprints 120003 g001
Figure 2. (a) Structure of a CPS with an agent; (b) communication between three CPSs with agents.
Figure 2. (a) Structure of a CPS with an agent; (b) communication between three CPSs with agents.
Preprints 120003 g002
Figure 3. Schematic diagram of the RoboDataLink.py program.
Figure 3. Schematic diagram of the RoboDataLink.py program.
Preprints 120003 g003
Figure 4. Schematic of test bench.
Figure 4. Schematic of test bench.
Preprints 120003 g004
Figure 5. MRK Husarion Panther with Mecanum wheels (a) and Unitree GO1 robot (b).
Figure 5. MRK Husarion Panther with Mecanum wheels (a) and Unitree GO1 robot (b).
Preprints 120003 g005
Figure 7. The structure of RoboDataLink.py for the application under consideration; (b) the structure of the frame containing object position data from the motion capture system.
Figure 7. The structure of RoboDataLink.py for the application under consideration; (b) the structure of the frame containing object position data from the motion capture system.
Preprints 120003 g007
Figure 8. Hierarchical control algorithm for a mobile robot.
Figure 8. Hierarchical control algorithm for a mobile robot.
Preprints 120003 g008
Figure 10. Test results: a—position of the target ( x G ) and mobile robot ( x S ) relative to the x-axis, b—position of the target ( y G ) and mobile robot ( y S ) relative to the y-axis.
Figure 10. Test results: a—position of the target ( x G ) and mobile robot ( x S ) relative to the x-axis, b—position of the target ( y G ) and mobile robot ( y S ) relative to the y-axis.
Preprints 120003 g010
Figure 11. The motion path of the characteristic point S belonging to the mobile robot: read from encoders (xy_encoder), read from the motion capture system (xy_motion_system).
Figure 11. The motion path of the characteristic point S belonging to the mobile robot: read from encoders (xy_encoder), read from the motion capture system (xy_motion_system).
Preprints 120003 g011
Figure 12. Test results: a—distances between the position of the target and the position of the mobile robot: relative to the x-axis ( d x ), relative to the y-axis ( d y ), b—waveform of the robot speed control signal, c—waveforms of the generated angles of rotation of the Mecanum wheels, d—waveforms of the generated angular velocities of the Mecanum wheels.
Figure 12. Test results: a—distances between the position of the target and the position of the mobile robot: relative to the x-axis ( d x ), relative to the y-axis ( d y ), b—waveform of the robot speed control signal, c—waveforms of the generated angles of rotation of the Mecanum wheels, d—waveforms of the generated angular velocities of the Mecanum wheels.
Preprints 120003 g012
Figure 13. Test results: a—waveforms of control signals generated in the inner layer, b—waveform of Mecanum wheel angle tracking errors, c—waveform of Mecanum wheel angular velocity tracking errors.
Figure 13. Test results: a—waveforms of control signals generated in the inner layer, b—waveform of Mecanum wheel angle tracking errors, c—waveform of Mecanum wheel angular velocity tracking errors.
Preprints 120003 g013
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated