Keywords

1 Introduction

In the context of Industry 4.0, Cyber Physical Systems (CPSs) have become priority issues and core technologies in the manufacturing industry [1, 2]. Computation, Communication and Control (3C) technologies are three main compositions in CPS aiming to realize deep integration and organic collaboration across domains. They are also expected to create the interconnection and interoperability between the virtual world and the physical world. Currently, Digital Twin (DT) is considered as one way to integrate the physical space and virtual space. DT essentially include simulation models related to physical things in the real world. It provides the mappings of the physical systems to the digital models in cyberspace from the perspective of geometry, physics, behavior, etc., ensuring the coordination of the virtual world and physical world. It can also realize real-time monitoring, data collection, simulation, analysis and reasoning of physical objects based on digital models [3].

When building a DT for a CPS, it is necessary to integrate virtual entities in different domains which is a challenging task due to the high heterogeneity. This challenge includes interface definition, data and information integration and service integration. When integrating the heterogeneous models across domains, the interface specifications should be defined in a standardized approach to enable the development of APIs for data exchange between DTs. Data and information integration is the basis to the integration of DT. For example, Singh et al. summarized the five challenges about DT, of which data integration is the most important aspect [4]. The end users expect to arrange different DTs according to their own requirements regardless the DT is developed for such business or not. This brings new challenges to the use of existing DTs for the additional purposes and business.

This paper proposes a semantic modeling approach with High-Level Architecture (HLA) standard to support the integration of DTs. A semantic modeling approach based on Graph-Object-Property-Point-Role-Relationship (GOPPRR) is used to construct DT ontology model, which can realize the integrated descriptions of heterogeneous DT, such as DT creators and descriptions. HLA is a standard for the modeling and simulation of distributed, heterogeneous processes. HLA provides standard interfaces to facilitate the integration of service and interface. The main contribution of this paper is to adapt a semantic modeling approach for DT integration based on HLA.

The rest of this paper is organized as follows. We discuss the related work in Sect. 2. In Sect. 3, we specifically introduce the semantic modeling approach using HLA, including ontology design and semantic modeling of DT and DT integration implemented based on HLA. Then Sect. 4 describes the case study to clarify and validate the proposed approach. Finally, we offer the conclusions and future work in Sect. 5.

2 Related Work

The concept of DT can be traced back to Grieves’s speech on product lifecycle management (PLM) in 2003. Then NASA defines DT as “an integrated multi-physics, multi-scale, probabilistic simulation of a vehicle or system that uses the best available physical models, sensor updates, fleet history, etc., to mirror the life of its flying twin” [5]. A basic Digital Twins consists of three aspects: physical space, virtual space, and the connection between them for exchanging data and information [6]. In CPS, the DT can be understood as a digital model inside the CPS, which is a virtual representation that contains all physical information and knowledge [7, 8].

DT involve different systems during the development process, which makes the integration of heterogeneous data difficult [4, 9]. However, semantic modeling technologies provide solutions for data integration of DT [10]. At present, existing studies have attempted to combine semantic models with DT through ontologies. The combination of UML and ontology is proposed to find a common system-level semantic model. The authors of [11] proposed a method of communicating through human-readable text and computer-readable models, which is very important for engineering experts, software developers, and decision makers. The authors of [12] proposed an ontology that represents a DT in the context of CPS and embedded systems, which solves the problem of fusion of physical space and virtual space. In addition, knowledge graphs have been applied to acquire and integrate information into an ontology and utilize a reasoner to derive new knowledge [13]. For example, a query language based on the knowledge graph is used to enhance the manufacturing process management with reasoning ability [14].

Semantic modeling is important for the construction of DT, but it still lacks a unified architecture, and cannot solve the integration problem of model information in different domains. For this reason, more research work is needed.

3 Digital Twin Integration Using Semantic Model and HLA

In this section, the semantic modeling approach based on HLA is first introduced. Then ontology definition to represent DT information is introduced. Finally, distributed simulation based on HLA for DT interaction and service integration is proposed. Ontologies can be used to represent domain knowledge for an agreed understanding between different applications, and it contributes to semantics descriptions and models. Thus ontology is used as the supporter of semantic modeling in this paper.

3.1 Semantic Modeling Method Using HLA

In order to solve the challenges of interface integration, data integration, and service integration in the process of DT integration, this paper proposes an approach to support DT integration using HLA and semantic modeling, as shown in Fig. 1.

Fig. 1.
figure 1

Semantic modeling method using HLA

A semantic modeling approach is used to describe the topologies between virtual entities for information integration. The GOPPRR meta-modeling approach provides standardized and semantic expressions for different data structures, which is used as the basis of ontology definition and semantic modeling using Ontology Web Language (OWL). DT Information can be described according to Class, Object Property, Data Property and Instance by OWL.

In order to define standardized interfaces of heterogeneous DT, the distributed simulation is used based on HLA. HLA provides specifications, which effectively define interfaces across DT. In HLA, federate is the basic component for the distributed simulation. When integrating DT and HLA, Federate and virtual entities construct Digital Twin Federate (DTF). Thus, each DT has its related DTF referring to a standardized interface. Semantic models can express the interactions between DTFs and are used to generate the compiled codes for executing co-simulations. Thus, DT exchange information through Run-time Infrastructure (RTI), to implement simulation processes for service integration.

3.2 Semantic Modeling for Digital Twin

The ontology is modeled based on the GOPPRR approach which is a modeling framework based on a M0-M3 framework. The M0 layer represents the physical entities of DT in the real world; the M1 layer represents the domain model or virtual entities of DT. The M2 layer represents meta-models, which usually represents the model compositions as a domain specific modeling language. The M3 layer represents the meta-meta model, including six elements of Graph, Object, Relationship, Property, Role, and Point. Table 1 lists a specific definition of GOPPRR.

Table 1. The description of meta-meta model

OWL can completely express the information in the semantic modeling process and support the exchange of information across virtual entities [15]. This paper uses OWL to describe the GOPPRR information. The ontology using OWL is shown in Fig. 2. Class is used to define GOPPRR meta-meta model, and its subclasses are used to describe meta-model. The Object-property is used to represent the interaction relationship among the six meta-meta models, such as inclusion, binding, etc. The Individual represents models referring to the information of specific DT virtual entities.

Fig. 2.
figure 2

Ontology supports GOPPRR method

Through the GOPPRR modeling approach, meta models are used for constructing models for representing DT. In order to transform GOPPRR models to HLA models, the meta-models are developed based on HLA specifications. The details of HLA are introduced in the next section.

3.3 HLA Supports Digital Twin Integration

HLA is a universal standard protocol for distributed simulation. It consists of three parts: Interface Specification, Object Model Template (OMT) and HLA Rules. Interface Specification defines the services that support interoperability among federates during the simulation run. OMT defines a set of components that describe the HLA object model. HLA rules are the basic guidelines that must be followed in simulation design. HLA provides a set of rules based on the following main concepts to achieve interoperability and reusability when constructing the standardized interfaces for DT:

  • Federation: A simulation application composed of a set of simulation components.

  • Federate: One simulation component that represents the basic elements of HLA.

  • Run-time Infrastructure (RTI): Simulation-oriented middleware for managing alliance interaction.

Fig. 3.
figure 3

A Digital Twin Federation based on HLA

Figure 3 shows a Digital Twin Federation based on HLA. The federation contains a number of DTFs based on HLA Interface Specification and OMT. DTF is composed of simulation model referring to virtual entities of DT, federate code and local RTI component (LRC). The simulation model consists of federate objects that meet the HLA standard aiming to construct the data exchange interface of each virtual entity into the request and response to RTI using the HLA Interaction Specification. Federate code is an application program that performs local DT executions and defines interactions to RTI. The LRC is the API component for the DTF to communicate with the RTI.

The semantic models mentioned in Sect. 3.2 are used to transform the HLA model. The concept of GOPPRR is used to describe the interactive information between different virtual entities based on HLA. Therefore, it is necessary to define meta-models using the HLA concept. As shown in Table 2, different meta-models are developed to support HLA concept formalisms. In details, DTFs are mainly composed of HLA OMT, in which Publish and Subscribe mechanism is used to describe the interaction between federates: Publish object class of a federate means that this member can generate an instance of the object class and modify its attributes, and Subscribe interaction class means that this member can receive information with parameters.

Table 2. The mappings between HLA concepts and GOPPRR meta-models

The HLA Interface Specification provides a unified standard for DT integration as interface definitions, enabling different simulation components to interact effectively. The co-simulation between different DT can be realized through RTI, and the integration of simulation services can be realized for different business and purposes.

4 Case Study

Here we use the system simulation scenario of unmanned aerial vehicle (UAV) landing to verify our DT semantic modeling method using HLA. As shown in Fig. 4-A, a system consisting of one UAV, one warship and one radar is demonstrated. The simulation scenario is specifically described as follows: the UAV has executed the mission and is planning to land on the warship. Both the UAV and warship have their own initial location (x, y, z) and the warship has a fixed acceleration (dx2, dy2, dz2). When the UAV is landing on the warship, the radar obtains the UAV and warship location informations in real time, and calculates the best trajectory of the UAV and sends it, so the UAV can obtain its own acceleration (dx1, dy1, dz1). This paper simplified the UAV and the warship, assuming that they are mass points without volume, and does not consider the specific navigation algorithm used.

In this case, we focus on whether our method supports DT integration, rather than simulation results. The UAV, the warship and the radar are considered as the DTFs and RTI is the medium of communication. First, the ontology model is constructed using the semantic modeling method in Sect. 3, the meta-models in Table 2 are used to generate the individuals, which represent the information of DT. Then each federate simulation code is developed, and the initial locations and acceleration of warship are provided to initialize the simulation.

Figure 4-B shows the ontology model of this case. The ontology model includes instances of Graph, Object, Property, Point, Role, and Relationship according to the UAV landing scene. The ontology model records the attributes of DT virtual entities and all the interactions between them. The ontology contains three Federate object instances, two ObjectClass object instances, one InteractionClass object instance, two ObjectClassAttribute object instances, and one InteractionClassParameter object instance. Through owl: ObjectProperty, the relationship between different instances can be established to represent the interactive information between federates.

Fig. 4.
figure 4

UAV automatic landing simulation A: The simulation scenario; B: Ontology model of UAV landing Federation

Figure 5-A shows the simulation execution process and result of the DT federation in RTI, where the RTI software is CERTI, an open source RTI software. The co-simulation includes three federate simulation applications and a RunTime Infrastructure Gateway (RTIG). RTIG is the process of coordinating HLA federates with CERTI, and a federation must have at least one RTIG process. Each federate simulation application is developed based on the ontology model shown in Fig. 4-B, and uses CERTI’s related APIs. The simulation results is shown in Fig. 5-B.

Fig. 5.
figure 5

Simulation applications work together by CERTI and simulation results

The application execution shows that the ontology model can completely, accurately and clearly express the DT models in different domains, so as to achieve information integration. And HLA can effectively solve the problems that different hardware, memory or interface specifications of heterogeneous systems make it impossible to realize the DT model in a stand-alone or integrated manner. The service of DT is the purpose of using DT, and DT should support the integration of simulation services of each system. HLA realizes the co-simulation between independent models through RTI, which not only meets the simulation requirements of a single virtual entity, but also realizes the overall simulation service integration.

5 Conclusion

This paper proposes a semantic modeling approach to support the integration of DT using HLA. First, a unified semantic modeling approach is established through GOPPRR, which integrates DT information of heterogeneous data structures into a unified ontology. Then through transformation from GOPPRR ontology model to HLA model, the distributed simulation is executed across DT based on HLA RTI. Finally, a case is used to verify the feasibility of the proposed approach.

The ontology models using HLA support DT integration. However, the related specifications of HLA are more complicated, and the simulation federation development process often requires a significant expertise and a considerable effort. This has led to greatly reduced development efficiency and increased development costs when building complex DT. Since the ontology model has the characteristics of being recognized by the computer, it can be considered to automatically generate simulation application programs through the ontology model to reduce the complexity of simulation application development. In the future, a complete tool kit for ontology modeling, distributed simulation and visualization, will be developed to support the automatic distributed simulation executions for DT integration.