1. Introduction
The development of 3D modeling technologies related to the idea of Industry 4.0, measurements, smart sensors or communication systems has significantly influenced the development of design methods for complex robotic systems. Currently, the creation of digital twins is associated with tools for designing and programming robotic stations. Commercially available tools allow us in a virtual environment to both design new and program existing robotic stations. It is possible to plan the positioning of robots and other station components, taking into account manipulator workspaces or available hall space. The use of appropriate software makes it possible to verify various organizational variants of the workstation and work scenarios while maintaining the possibility of easy and quick adjustments. All work is carried out with the safety of program testing (e.g., collision detection) due to simulation in a virtual environment. Fast and automatic generation of programs based on the geometry of workpieces is performed. The design in the virtual environment is mainly related to off-line programming methods for robots and the creation of digital twins.
The off-line robot programming method is based on generating robot paths using a virtual environment. It takes advantage of the accuracy of industrial robots. In detail, programming methods with a special focus on off-line robots have been discussed in works [
1,
2,
3]. The authors of these works focused on the off-line programming method using CAD models [
1], an absolute laser tracker [
2] or virtual reality [
3]. In works [
4,
5,
6,
7], robot programming methods are shown in a broader perspective. Development perspectives [
4], the possibilities of using artificial intelligence [
5] and the possibility of using Industry 4.0 elements in programming [
6,
7] are shown. In the off-line programming method, CAD models of individual robots and auxiliary equipment are imported into the 3D system. It is possible to use 3D models generated in CAD systems.
However, there are some application problems associated with designing workstations in a virtual environment and off-line programming, such as the following:
Limited positioning accuracy of handling robots;
Limited mapping of the geometry of the robotic workstation by its virtual model;
Errors in modeling the workpieces on which the robot operates.
Ongoing research seeks solutions to defined problems. The subject of robot accuracy and available methods to improve it has been covered in articles [
8,
9,
10].
In this article, an attempt is made to solve problems related to the limited degree of mapping of the workstation and workpieces. The aforementioned problems are related to the topics present in the idea of Industry 4.0, i.e., the methodology of creating digital twins and ways to model them.
The idea of creating digital twins has been known since the Apollo 13 mission in 1970 [
11]. Back then, despite the lack of a definition of the buzzword, it was possible to return astronauts safely to Earth by conducting tests and simulations on a physical and virtual copy of the spacecraft. Various more- or less-detailed definitions of the phrase appeared much later. According to researchers at the University of Cincinnati, it is “a coupled digital model of a real machine that runs on a cloud platform and simulates the state of the real machine using integrated knowledge from both data-driven analytical algorithms and other available physical knowledge” [
12]. The emergence of such technology was described by David Gelernter in 1991 in his book
Mirror Worlds [
13]. In industry, the idea of digital twins emerged through product life cycle management specialist Michael Grieves in 2002.
A detailed review of existing definitions, modeling methods and requirements for digital twins is included in the paper [
14]. The authors of this article identified the most important applications of digital twins and their importance in the context of Industry 4.0. In order to describe the methods of modeling and creation of digital twins, they performed a systematic literature review based on keyword searches, filtering of datasets and classification of the available literature. The authors very accurately distinguished between digital models, digital shadows and digital twins. They pointed out the difference, which is the nature and direction of data flow between physical and virtual systems. A digital model is a digital version of a planned or existing physical object, and there is no automatic exchange of data between the physical model and the digital model. In the case of a digital shadow, data are transferred from the physical object to the digital model. Therefore, the model is updated with new information from the real world. In the concept of a digital twin, data flows between the existing physical object and the digital object and is fully integrated in both directions.
A very extensive review of articles on digital twins was conducted by the authors of the paper [
15]. In the review, the applications of digital twins were divided into the areas of manufacturing, healthcare and smart cities. The paper includes an assessment of the technologies supporting the creation of digital twins, the challenges and an overview of the ongoing research. The authors note that applications of digital twins are currently focused on manufacturing, as evidenced by the large number of articles in this area.
The article [
16] provides an overview of digital twin technology and its application domains, along with a detailed discussion of network requirements. Various ways can be adopted to divide digital twins. One criterion may be their degree of sophistication. The simplest variant of a digital twin can be considered a digital representation of a single device, such as a robot in a factory. These simplest twins can be used for digital prototyping or designing new products. Production digital twins that carry out some kind of process, e.g., machining or welding, or represent an entire production line can be considered as more advanced ones. Even more advanced are digital twins of entire advanced objects like a factory or an airplane. They capture data from a system of objects, such as an airplane or an entire factory. However, it is the Earth twin developed by the European Space Agency (ESA), which aims to build a dynamic digital replica of our entire planet [
17], that is considered to be the most complex digital model.
Creating digital twins is a complex process. Building a functional system requires multiple stages of design, modeling and implementation. Usually, a digital model is created first, which is supplemented with two-way communication becoming a digital twin. At the core of this technology are virtual models. For this reason, the most important step to create a twin is to develop high-fidelity virtual models to replicate geometry, physical properties and behavior. The world’s best-known providers of digital twin platforms are Siemens, Autodesk, Bosch, Dassault Systems and Ansys. Google’s Supply Chain Twin and Azure Digital Twins, among others, provide cloud solutions for this technique. There are also Amazon’s services such as Amazon SageMaker, Kinesis Data Streams, AWS Lambda and others. Siemens has developed a platform called MindSphere [
18], which uses the concept of Industry 4.0 along with the data cloud. The platform is based on a system that connects machines and physical infrastructure with a digital twin.
Interesting solutions in the field of digital twins are offered by NVIDIA, which unveiled Omniverse Replicator, a platform for designing digital twins. It is an engine that generates synthetic data simulating physical ones for training deep neural networks. Omniverse offers users the ability to connect to multiple software ecosystems, including Epic Games’ Unreal Engine 5, Reallusion 2022, OnShape 2021, Blender and Adobe 2022. The company has unveiled two implementations of this engine for synthetic data-generating applications: the NVIDIA DRIVE Sim, a virtual world in which it is possible to place the digital twin of autonomous vehicles, and the NVIDIA Isaac Sim [
19], a virtual world for the digital twin of robotic manipulators.
The authors of the article [
20] developed a digital twin-based modular platform for creating system-independent and human-centered industrial process simulations. The developed solution uses visual programming concepts. It has been tested by users, who reported high functionality and pointed out the advantages of the proposed approach.
The subject of building a digital twin in production control applications was addressed in the article [
21]. The authors used digital twin (DT) and Industrial Internet of Things (IIoT) technology to build a multi-agent and cloud–edge orchestration framework for production control. The developed solution creates a production line model in the cloud to support the optimal configuration of distributed idle production resources.
In the article [
22], the authors performed an extensive literature review on digital twins with the integration criterion in mind. They note that at the time the article was written (2018), the number of publications on the highest stage of development, i.e., the twin, was much smaller than for digital models or shadows.
Real-world examples of applications of digital twins can be found in the areas of system servicing [
23,
24], product design and manufacturing systems [
25]. A specific application area of digital twins is robotics, mainly robotic manufacturing systems [
26]. The article [
27] presents the application of the digital twin in assembly issues. The authors applied the latest technologies such as the Internet of Things, cloud technologies and Web 3D to create a digital twin. Assembly processes were also characterized in the paper [
28]. The authors performed a review of existing digital assembly technologies and addressed the optimization of the assembly and commissioning process. In addition, a case study of the assembly process of a high-precision electrohydraulic servo valve was presented to verify the feasibility of the method. An interesting approach to digital twins was proposed by the authors of [
29] who developed a hybrid modeling approach that combines a mechanism model and a time series forecasting model. This comprehensive model of a digital twin of a worker with a full life cycle is intended for production operations. The problem of building digital twins of industrial robots is discussed in [
30], where a standardized methodology and a hierarchical, modular and generic architecture are proposed to represent a comprehensive and variable industrial robot digital twin (IRDT).
After a detailed explanation of the concept of digital twins and familiarization with their division and examples of applications, the authors decided to develop a methodology for building accurate digital twins of robotic stations. The required accuracy of twins is related to their use for off-line programming of robots and the necessary precise positioning of, for example, positioners, jigs or workpieces. Satisfactory accuracy here should be understood as the position error of workpieces close to the accuracy of the robot. The accuracy of a robot, for example, using the ABB Absolute Accuracy add-on, can be around 0.4 mm. The authors decided to use an absolute laser tracker as a precision tool to solve the problem of limited position mapping. The laser tracker is a tool that enables various types of precise geometric measurements with a long range, reaching up to 40 m in three-dimensional space. It can be used for automated position control, as well as for 3D scanning of objects, for example. In detail, the subject of laser trackers has been described in the works [
10,
31,
32,
33]. In this work, an attempt is made to solve the problem of limited mapping of the position and details on which, for example, the robot works. In addition to presenting the methodology, the authors decided to develop a digital model and create a digital twin. Referring to the cited divisions regarding digital twins in the developed solution, the data flows take place between the existing physical object and the digital object and are fully integrated in both directions. The developed digital twin is related to the manufacturing industry. It is a digital twin of “medium size”, which can be described as a manufacturing one. Due to the tools adopted to create the digital twin, the developed accurate digital model can be imported into other platforms to work on digital twins.
2. Creating Digital Models of Robotic Stations Using Laser Trackers
The use of virtual tools for the design and programming of robotic stations allows for graphical (CAD) representation of station components and allows for the creation of advanced work programs and complex station logic. It contributes to shorter production downtime and faster integration of the robotic station. The aforementioned problems of modeling and positioning accuracy of station elements prompted the authors of this paper to propose a methodology to show the solution to the problem, speeding up the process of station programming and implementation. The proposed methodology is based on the creation of an accurate digital twin using a laser tracker, 3D CAD systems and off-line robot programming tools. The first stage of the implementation of the digital twin is the digital model, while in the second stage the connection to the real station is made.
The developed methodology includes two main variants. The first one is when the robotic station is physically built and its digital twin is needed. The second one is when the robotic station is only at the design stage and a digital model will be created first and the real station will be built based on it. In the case of work related to robotic stations, both variants and even their combinations can be encountered.
An existing real station often requires a digital twin for off-line programming applications and, for example, process implementation for new workpieces. The construction of a digital twin of a real station may also be prompted by the need to conduct operator or programmer training using the model. In this case, training conducted on the model is safe and does not require production downtime. Such solutions with examples of implementation are shown in the works [
24,
34,
35].
Variants, when on the basis of a digital model the real station is created, allow for selecting the appropriate robot, determining the position and orientation of the station elements, determining the working spaces, determining the position of the workpieces (
Figure 1) or planning the necessary amount of space in the hall.
By having a digital twin of the robotic station, it is possible to make the station’s software even before it is physically built. Off-line robot programming techniques are used for this purpose. Developing the station’s software before it is built significantly reduces the implementation time and allows us to accelerate the implementation into production, which reduces costs.
Situations where real stations are subject to modifications resulting, for example, from a change in the production profile can be considered as a combination of variants. The construction of a digital twin in such a case makes it possible both to develop off-line programs for new details and to simulate new organizational variants before their introduction.
Regardless of the chosen option, the tools already mentioned are required to implement the developed methodology:
Three-dimensional CAD systems with libraries of finished components;
Off-line robot design and programming software;
An absolute laser tracker.
The capabilities and multitude of applications of CAD systems are well known. CAD is software that, with the help of a computer, allows the creation of 2D, 3D designs, technical documentation, calculations and various types of analysis. Sophisticated CAD systems help design and solve advanced engineering projects [
36]. These systems continue to develop rapidly and multi-directionally. The authors of the article [
37] suppose that there will be integration of augmented reality and artificial intelligence in them. In the process of designing with their participation, attention should be paid to libraries of ready-made components that can be used to build, for example, a robotic station.
Off-line robot design and programming tools, as already mentioned, allow advanced station design and off-line robot programming, and some of them communicate with real stations. For these tools, a distinction should be made between solutions offered by robot manufacturers and solutions that are somewhat universal. Examples of robot manufacturers’ solutions include RoboGuide 8.1 from Fanuc (Oshino-mura in Japan), KUKA .Sim 3.1 from Kuka (Augsburg) or RobotStudio 2021 from ABB (Switzerland Zurich). These software products have very advanced functions related to the design and programming of robots from a given manufacturer. However, robot manufacturers’ tools lack advanced solutions related to 3D modeling or extensive 3D model databases. In addition to dedicated and specialized solutions offered by robot manufacturers, there are many other programs on the market designed to support programming and simulation of their robots. These tools usually have databases of robot models from leading manufacturers and allow the creation of off-line programs. These include, for example, MASTERCAM 2024, Delmia Igrip 5, RobCAD 3.0.0 and Robot 3D 2020. Universal tools do not have the ability to support advanced features dedicated to a particular manufacturer, such as advanced robot motion types, creation of operator panels or direct communication with the real station. However, all of these tools for designing and programming off-line robots do not have the full capabilities of CAD systems. The solution to these problems is to use both 3D CAD systems and dedicated solutions from manufacturers and exchange data between them. The data exchange takes place through a two-way file exchange between the systems.
The last element necessary for the implementation of the developed methodology for creating accurate digital twins of robotic stations is a laser tracker. Its most important components are an absolute rangefinder and a laser interferometer. The trackers are used in testing the accuracy and repeatability of robotic manipulators and for their calibration. Laser trackers use mirrors as targets to reflect the laser beam generated by the device. Most often, these are retroreflectors of spherical design. The mirrors in the retroreflector are mounted in a precise way so that their point of contact (the apex) coincides exactly with the center of the SMR, or Spherically Mounted Retroreflector. This makes it possible to precisely determine the coordinates of the retroreflector’s position in three-dimensional space. The retroreflectors are offered with so-called bases that allow measurement of planes, edges or hole positions (
Figure 2).
The choice of the laser tracker (the model used in the developed solution was the Leica AT 960 (Wetzlar in Germany) was influenced by its very high accuracy of 58 µm, its range of 20 m and the software developed in previous work for sharing data using network communication standards. The concept of the methodology associated with variant one, when the robotic station is physically built, is shown in
Figure 3.
To explain the data flow shown in the diagram, it is necessary to provide information related to the coordinate systems found in robotic stations. This issue is described in detail in the work [
10]. In this article, the most relevant scheme related to the determination of coordinate systems will be shown (
Figure 4).
The most important coordinate system found in robotic stations is the so-called BaseFrame. Relative to it, the position and orientation of the tool are determined, the positions and orientations of the path points are determined, and other coordinate systems are defined. The method of determining this system, located in the base of the robot, is shown in the work [
10]. This coordinate system is the basis for creating a digital twin in both CAD systems and off-line programming software. Relative to this system, labeled WB in
Figure 4, the position of all station elements must be determined. It is important to note that determining the position and orientation of the coordinate system associated with the element, labeled WE in
Figure 4, requires measuring the positions of nine points (three on each plane) located on the walls of the element. Having a CAD model and the so-called zero-positioning reduces the number of necessary measurements. The position of the points measured in the real station, determined precisely through the laser tracker in the WL tracker system, is transferred to the position in the WB robot base frame. The flow of the element’s position and orientation data into the CAD software is shown in
Figure 5.
The developed LeicaConnector 1.0 software is responsible for converting the positions of points from the WL tracker system to coordinates in the WB base frame. The process of developing and using this software is characterized in the paper [
38]. The software saves the coordinates of the points as a text file, which can be automatically loaded by parametric CAD programs such as SolidWorks or Inventor. Based on the positions of the points, the equations of the planes can be determined as written in Equation (3). The positions of the points on a given plane P are stored as vectors containing the coordinates of the points in the assumed reference system WB.
The equation of the plane P passing through the point
with normal vector
= [
A,
B,
C] is expressed by the formula:
If the points
,
and
are three fixed non-collinear points and the point
= (x, y, z) is any point of the plane P, then the equation for determining the plane is expressed by the formula:
CAD software, based on the coordinates of points, is able to determine planes and, based on them, generate mates. When designing advanced assemblies in CAD software, the so-called assembly coordinate system is always adopted. Relative to it, the coordinates of parts, i.e., successive elements of the assembly, are determined parametrically by means of so-called mates. If the WB robot base frame is taken as the assembly system, then it is possible to build an accurate digital model of the real station. Based on the points measured by the laser tracker in CAD software, planes can be generated. With the planes, CAD models of the station elements in possession are associated (
Figure 6). With the acquired solution, it is possible to obtain an accurate parametric digital model of the robotic station containing the positions and orientations of the walls, floor or controller positions.
The exact digital model is not yet a digital twin; the way to combine the virtual model with the real station will be explained in
Section 4. In the case where the robotic station is only at the design stage and a digital model of it was created first, a suitable scheme of action should be developed (
Figure 7). For this purpose, the solution shown earlier (
Figure 3) can be reversed and slightly modified.
The diagram shown in
Figure 7 indicates with a red dotted line the elements in which the design process of the robotic station is carried out. The cooperation of CAD software and off-line programming tools supplemented with models from component libraries allows for the rapid development of an advanced station model. Due to the exchange of data between systems, it is possible to easily check whether the workpiece lies in the manipulator’s workspace, taking into account the tool used, as shown in
Figure 8a. The digital model available in CAD software allows the design of, for example, a model of the robot pedestal and positioner and the generation of manufacturing drawings (
Figure 8b).
Having a ready digital model of the station and the components made on its basis, such as the pedestal, the tool mounting on the robot or the workpiece positioning device, it is possible to move to the next stage, that is, the assembly of the real station. This is the last stage shown in the diagram in
Figure 7. To build the real station on the basis of the model, a laser tracker and dedicated software are again used (
Figure 9). The assembly begins with setting up the pedestal and the robot. Then, the real position of the WB robot base frame is determined with the tracker. The next step is the precise positioning and mounting of components such as positioners, fences, workpieces or tool changers.
Having the data of the planes defined with respect to the base frame, the retroreflector is moved on a dedicated base together with the mounted component until it is on the selected plane. The distance of the point
= (x, y, z) from the plane P: Ax + By + Cz + D = 0 is expressed by the formula:
The position of the retroreflector on the plane with the selected accuracy is informed by sound, which is a function of dedicated software. The sound information is helpful during assembly under production conditions. A function of the software is also to inform in real-time coordinates about the position of the retroreflector and the distance to the selected plane. When designing elements of a robotic station for mounting with a tracker, it can be useful to plan the exact holes intended for mounting the retroreflector with a base (
Figure 10).
The use of dedicated precision holes facilitates the assembly of station components reducing the necessary number of measurement points.
So far, the idea of building digital models of robotic stations using a laser tracer has been explained. In the presented diagrams, models available in libraries of ready-made components were used to build the digital model. The following section will analyze the case when there are no models or their geometric parameters are not satisfactory.
3. Creating Digital Models by Modeling Methods
During the design of robotic stations, it is often found that accurate CAD models of important components are not available in the databases shown in the diagram (
Figure 7). When a digital model is first made and then the real station is built, access to component models is usually easier. It is possible to match components with available models, and manufacturers of, for example, grippers, spindles or fences will provide precise models of their products. Often, it turns out that the level of detail in the available models is insufficient. This situation can arise when the model in question is to be used for training or for the design of cooperating devices. This article presents two cases of creating digital models by classical CAD modeling methods and their possibilities. It is possible to make models using, for example, a 3D structured light scanner or photogrammetry, but in this case they were not used. The developed models are elements of the digital twin characterized in
Section 4.
The first object modeled was the most essential component of a robotic station, i.e., the industrial robot. This is because it turns out that major robot manufacturers, such as Kuka, ABB and Kawasaki, provide models of their robots with very little detail. Accurate 3D models are not available either on manufacturers’ websites or in programming tools off-line. The available models do not have internal structure elements, and electrical wiring connections or pneumatics components are not shown there. In the technical documentation, the appearance and dimensions are shown in the drawings, but details are missing on the 3D models. The popular ABB IRB2400 general-purpose robot was chosen as an example. The 3D model (
Figure 11) available in the manufacturer’s RobotStudio 2021 software (Switzerland Zurich) and on the website lacks electrical, pneumatic and drive release buttons and connections to the robot controller.
The model of the robot shown in
Figure 11 also lacks internal components such as drives or gears. The model offered on the manufacturer’s website does not allow the available components to be linked in such a way that the lengths of the members are compliant with the drawing documentation, and it is possible to determine the TCP position by assigning six axis angles. As a result of the aforementioned shortcomings of the model, it was decided to make an in-house CAD model of the IRB2400 robot (
Figure 12) for use in training and designing the robot’s hardware and for use in simulations in Matlab software. In the developed solution, it was also decided to model the most relevant internal components (
Figure 12).
During the design process, technical documentation from ABB, photos of the real robot and information on the dimensions and weights of components available in on-line spare parts databases were used. For robot programming and modeling applications, it is important that the axes of rotation of the model’s members coincide with the real ones and that the position of the so-called tool, when the angles of all axes are zero, complies (
Figure 13). In this case, the model performs the task of simple and inverse kinematics.
The developed model, due to the addition of the most important internal components and the adoption of member masses, can be used for FEM (finite element method)-type analyses (
Figure 14).
It is possible to perform strength simulations, frequency, modal or static analyses for the developed model. It is possible to perform simple analyses in SolidWorks or Inventor, as well as export to sophisticated tools such as Abaqus or Adams.
In the case of the second 3D model, the modeling process of which was presented, its purpose is primarily for training. A detailed 3D model was made for a cabinet with automation components (
Figure 15a).
This is a very important element from the point of view of designing robotic stations and other industrial installations. Such a cabinet is first designed using dedicated tools like ePLAN. Based on the documentation and 2D drawings, a model of the station is made, including components such as relays, PLCs and frequency converters. Having a 3D model of the cabinet, it is possible to predict the amount of space required for the individual components and offer training related to the operation of automation systems. An interesting application of a model of such a cabinet is performing FEM simulations of the heat flow within the cabinet. The 3D CAD model of the cabinet is part of the digital twin created in
Section 4.
4. Available Data Exchange Methods for Digital Twins of Robotic Stations
A digital twin meets the criteria distinguishing it from a digital model and a digital shadow if the flow of data between an existing physical object and a digital object is in both directions. Only a two-way exchange of information makes it possible to use the benefits of implementing the idea of digital twins. In the general case, the data exchange of the real object–digital model is carried out using network communication standards or data file sharing methods. Showing the real case for robotic stations requires defining the tool in which this will be implemented. Due to its experience and hardware base, RobotStudio software was used to create the digital twin. It represents one of the most advanced tools for programming industrial robots. From the point of view of creating digital twins, the most important thing is the ability to communicate with various types of software using the TCP/IP protocol family and the OPC standard (
Figure 16).
For RobotStudio and most off-line robot programming tools, the most important method of exchanging data with the real station is the so-called synchronization (
Figure 17). It involves transferring programs from the real robot controller to the virtual system and vice versa.
Synchronization allows a robot program to be generated in a virtual environment and sent to a real controller. The program can be created based on a CAD model of the workpiece and other station components. It is linked to the robot’s base frame. Synchronization can also be performed the other way around. A program developed on the real robot, e.g., by on-line programming methods, can be transferred to the virtual environment for editing, improvement or expansion. A feature of synchronization is that it is performed at the command of use and mainly involves robot programs. This is different from communication using TCP/IP, the OPC standard or data exchange by writing and reading files. In the case of these standards, data exchange can take place continuously and any information can be transmitted. TCP/IP and OPC standards are often used to transfer robot operating parameters and production data and manage the real station through tool selection or coordinate systems. An example of the use of the TCP/IP protocol for monitoring the performance of a robotic station is shown in the works [
39,
40,
41,
42].
The possibilities of data exchange between the digital model in RobotStudio software and the real station shown in
Figure 18 prove a full implementation of the concept of digital twins.
The solutions available for the presented software (
Figure 18) allow not only the construction of digital twins but also the realization of other ideas of Industry 4.0. The used tool, in addition to communication with the real station and cooperating software, has the possibility of operating virtual reality with 3D glasses and augmented reality on smartphones. An example of the possibility of programming robots using virtual reality is shown in the work [
2] and operator training in the work [
24]. One of the features of the software is the so-called Virtual Meetings, i.e., a virtual meeting in a designed station of users from anywhere on earth. Station design and programming of robotic stations using virtual reality was shown in the work [
34]. All the solutions mentioned were implemented using RobotStudio software and the concept shown in
Figure 18. As for the use of cloud computing solutions, the available tool allows users from anywhere in the world to quickly access robot programs, make necessary changes and share data in real time. An example of the solution from
Figure 18 using Matlab software and artificial neural networks is shown in the work [
43,
44]. In the case of classical 3D simulations and those using VR goggles, it is possible to simulate physical phenomena, e.g., items dropped by the robot fall and even bounce off obstacles.
5. An Example of Creating a Digital Twin of a Robotic Station Using a Laser Tracker
As an example for implementation, the variant shown in the diagram in
Figure 3 was chosen, when the robotic station was physically built and its digital twin was needed. The real station is located in the Industrial Robotics Laboratory in the Department of Applied Mechanics and Robotics at the Faculty of Mechanical and Aeronautical Engineering at Rzeszow University of Technology.
The station was designed for the education of students in the field of Mechatronics and for research related to robotization for industries such as aerospace. A photo of the real station is shown in
Figure 19. It is an advanced station consisting of two controllers, two robots (ABB IRB2400 and ABB IRB140) (Switzerland Zurich), a positioner, fences, an automation cabinet and various types of tools. According to the methodology shown in
Figure 3, the position of the various components of the station was precisely determined using a Leica AT 960 absolute laser tracker (Wetzlar in Germany). The base frame of the IRB2400 robot was adopted as the assembly coordinate system. Relative to this system, the position of the other station elements was determined (
Figure 20 and
Figure 21).
According to the established methodology, the laser tracker data recalculated by the LeicaConnector software was transferred to CAD software. In this software, based on the received points and planes, the position of elements from libraries and available CAD models was defined. Precision models of the robot and the automation cabinet were added to the assembly for the reasons described in
Section 3. The elements that would still need to be added to the model are the wires connecting the various components. The wires that run along the robot are particularly important. An accurate model of them could be used to avoid possible breakage during the robot’s movement. They were partially modeled as shown in
Figure 21b, but their models need to be extended.
The assembly was then exported to the off-line programming software, RobotStudio (
Figure 21b). In order to show the similarity of the real station and its model, they are both presented in
Figure 21.
In this software, as explained in
Section 4, the digital model becomes a digital twin. Through the implementation of two-way communication based on synchronization, the exchange of programs between the digital model and the real station is realized. Programs are built both on the basis of CAD models and created by on-line programming methods. The accuracy of the digital model, obtained due to the laser tracker, allows precise generation of programs and determination of coordinate systems or tool positions. Communication using TCP/IP protocol is provided between the real station and the digital model. The role of the server is played by the real controller; the client is the virtual controller. Due to the continuous data exchange between the controllers, data such as those related to the operating parameters of the real robot are transmitted. The operating temperature of the gear, the cycle time or the currently used tool with its parameters are transmitted. The real controller is connected via the DeviceNet industrial network standard to the PLC and the frequency converters shown in the automation components cabinet (
Figure 15). Due to this communication, data from these devices (start signal, errors occurring, set frequency of the inverter) can be transmitted to the digital twin. These data are presented on the digital model in the form of lit LEDs and virtual display indications. A solution based on the OPC standard is currently being implemented, where data from the real and virtual station will be sent to SIMATIC WinCC SCADA 7.5 software. The developed twin is used for education and training of students using augmented and virtual reality methods (
Figure 22).
Students learn about the lab’s structure and the role of its components using 3D glasses before they start working in the lab. While working in the lab, students have the opportunity to use augmented reality applications for smartphones. The RobotStudio AR Viewer app is available for free and allows for the station in question to show detailed information on, for example, the parameters of the robot or the cabinet with automation components.