# Smart Platform for Monitoring and Control of Discrete Event System in Industry 4.0 Concept
## 2 Preliminaries and Problem Formulation
### Industry 5.0  
Currently, we are encountering the new concept of Industry 5.0, which places people in the foreground within the work process, the so-called \"Human-centric solution\". The case study from this paper corresponds to Industry 4.0 and a person intervenes in the management through the Microsoft Hololens v2 device. Industry 5.0 differs from previous concepts by focusing on the collaboration between humans and machines in the production of products and services. In this new industrial era, technology is becoming more personalized, interactive, and adaptable, allowing people to work with it in real time and contribute to innovation and process improvement. In Industry 5.0, we expect to see more collaborative robots and automated systems that can work with humans and support them in production and service delivery. This should increase the production efficiency and quality, reduce costs, and improve working conditions [24; 25; 26]. Based on present technologies and solutions, especially those related to augmented reality in the IIoT and clouds, the main aim and requirements for the proposed smart platform have been determined as follows [25]:  
* Device communication will be implemented only in accordance with IIoT standards;
* The user environment will be displayed dynamically based on the detected device;
* Data for remote browsing will be provided using an Internet browser. From the acquired knowledge, we were able to further determine the requirements for our system, which we divided into functional and non-functional ones:  
Figure 1: Extended reality technologies. Functional Requirements:
* Communication between a device with mixed reality and a local server using the MQTT protocol;
* The possibility of communication between the local server and the production model based on the OPC UA protocol;
* The development of an application for mixed reality in the Unity environment;
* The use of the MS HoloLens 2 headset device to display mixed reality;
* The dynamic display of the visualization of individual production models based on definition schemes;
* The recognition of the production model based on its shape and dimensions;
* The intuitive visualization and management of all production model data in mixed reality;
* The provision of data for remote visualization using a web application;
* The provision of data visualization and the control of production models using touch screens. Non-functional requirements:
* Definition schemas stored in the JSON format;
* The use of the Azure cloud platform for server management. 3. Design (Hardware and Software) and Implementation of Mechatronic Platform  
The development and design of the platform is based on the study of available technologies, analysis of the current state, and existing solutions. The platform uses a wide range of technologies and therefore it is necessary to divide its design into several units. In this section, the development and design details are presented. Since all parts of the platform interact with other parts, we recently proposed the project structure of this platform, which is shown in Figure 2[15]. In Figure 2, the color-coded parts are depicted according to the tools used. The first of them is the automation of production lines and the creation of an HMI in the TIA Portal [27] environment (an orange area). The second is the creation of a local server for processing data from PLC devices and the subsequent provision of these data to other parts via another communication interface (a blue area). The next part is the creation of a cloud server on which analytical data are stored, which is further provided to the client's remote device (a turquoise area). Another part is a frontend application created in the Angular environment for the remote visualization of analytical data (a black area). The last part is the Unity [28] application for the MS HoloLens 2 device (a yellow area). The project contains several types of physical devices on which the applications from the previous section of the text are located.