Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Dec 10:8:758099.
doi: 10.3389/frobt.2021.758099. eCollection 2021.

A Modular Digital Twinning Framework for Safety Assurance of Collaborative Robotics

Affiliations

A Modular Digital Twinning Framework for Safety Assurance of Collaborative Robotics

J A Douthwaite et al. Front Robot AI. .

Abstract

Digital twins offer a unique opportunity to design, test, deploy, monitor, and control real-world robotic processes. In this paper we present a novel, modular digital twinning framework developed for the investigation of safety within collaborative robotic manufacturing processes. The modular architecture supports scalable representations of user-defined cyber-physical environments, and tools for safety analysis and control. This versatile research tool facilitates the creation of mixed environments of Digital Models, Digital Shadows, and Digital Twins, whilst standardising communication and physical system representation across different hardware platforms. The framework is demonstrated as applied to an industrial case-study focused on the safety assurance of a collaborative robotic manufacturing process. We describe the creation of a digital twin scenario, consisting of individual digital twins of entities in the manufacturing case study, and the application of a synthesised safety controller from our wider work. We show how the framework is able to provide adequate evidence to virtually assess safety claims made against the safety controller using a supporting validation module and testing strategy. The implementation, evidence and safety investigation is presented and discussed, raising exciting possibilities for the use of digital twins in robotic safety assurance.

Keywords: automated code generation; collaborative robot safety; digital twins; human-robot collaboration; modular framework; probabilistic model checking; risk-informed software synthesis; robotics.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

FIGURE 1
FIGURE 1
An isometric view of the CSI framework environment applied to a collaborative welding cell case-study. Based in Unity® 3D, digital twins of an operator, collaborative robot manipulator, safety scanner and light-barrier are shown.
FIGURE 2
FIGURE 2
An overview of the relationships between entity modules, behaviour modules and service modules. Entity modules may invoke service or behaviour modules as part of their behavioural “stack”. The composition of the stack is an aggregation of custom behaviours and inherited modules from broader entity classifications.
FIGURE 3
FIGURE 3
An overview of the CSI modular digital twin framework, entity (blue), service (green) module libraries, behaviour (grey) modules and their integration with the core framework (yellow). User configured modules and extensions to the standard environment are shown as dashed.
FIGURE 4
FIGURE 4
An overview of the CSI framework workflow. Initially (P1), the user creates their scenario, modules and configures them. In the execution phase (P2), the scenario is processed and may be interacted with during runtime. During runtime, configured logging behaviours write to the user’s database(s) (i.e., SQLite, MySQL). This log data is parsed and imported in the Analysis phase (P3). A provided database API provides convenient interface for the users external tools.
FIGURE 5
FIGURE 5
A side by side view of the physical (left) and digital (right) twins in an existing real-world industrial welding process.
FIGURE 6
FIGURE 6
An overview of the state machines defining the behaviour of the welder in the welding cell, highlighting the interactions between the process and safety layers. An excerpt of the safety controller state machine is included to highlight the control of the safety mode and welder activity. The transitions capture both the messages sent, and the guard enabling the transition. (A) Welder safety behaviour model. (B) Welder process behaviour model. (C) Except of the safely controller behaviour model, including abstract state core to highlight controller actions.
FIGURE 7
FIGURE 7
Safety controller module sample code depicting the structure of the safety controller.
FIGURE 8
FIGURE 8
Spot welder safety mode transition sample code (Figure 6)
FIGURE 9
FIGURE 9
Example of a safety predicate used for verification, expressed as a temporal logic formula. It ensures that if at any time in the events trace hazard HC occurs in the work cell, as defined by the safety analysis, it is later mitigated by the safety controller. It cannot be ignored, or let to disappear unacknowledged.
FIGURE 10
FIGURE 10
System configuration during testing, the time spent by the operator at each of the labelled waypoint is exposed as a configuration variable.

References

    1. Agnusdei G. P., Elia V., Gnoni M. G. (2021a). A Classification Proposal of Digital Twin Applications in the Safety Domain. Comput. Ind. Eng. 154, 107137. 10.1016/j.cie.2021.107137 - DOI
    1. Agnusdei G. P., Elia V., Gnoni M. G. (2021b). Is Digital Twin Technology Supporting Safety Management? A Bibliometric and Systematic Review. Appl. Sci. 11, 2767–2817. 10.3390/app11062767 - DOI
    1. Aitken J. M., Veres S. M., Judge M. (2014). Adaptation of System Configuration under the Robot Operating System. IFAC Proc. 47, 4484–4492. 10.3182/20140824-6-za-1003.02531 - DOI
    1. Alexander R., Hawkins H., Rae A. (2015). Situation Coverage-A Coverage Criterion for Testing Autonomous Robots. Report number YCS-2015-496. Department of Computer Science, University of York.
    1. Basin D., Klaedtke F., Müller S., Zălinescu E. (2015). Monitoring Metric First-Order Temporal Properties. J. ACM 62, 1–45. 10.1145/2699444 - DOI

LinkOut - more resources