Secure Autonomous Resource Orchestration Using Digital Twin-Enabled Self-Adaptive Middleware in Smart Factories
K. ParameswariResearch Scholar, Department of Computer Science, Karpagam Academy of Higher Education, Coimbatore, Tamil Nadu, India. kpriyamraj6481@gmail.com0009-0002-3955-8602
Dr.S. VeniProfessor, Department of Computer Science, Karpagam Academy of Higher Education, Coimbatore, Tamil Nadu, India. venics@kahedu.edu.in0000-0002-2999-8463
Dr.V.S. ThangarasuProfessor & Dean Academics, Department of Mechanical Engineering, Sree Sakthi Engineering College, Karamadai, Coimbatore, Tamil Nadu, India. vstme05@gmail.com0000-0002-3499-5195
The fast development of Industry 4.0 is characterized by the emergence of complex smart factories, which comprise heterogeneous machines, IoT devices, edge nodes, and cloud architectures. Nevertheless, the current state of middleware frameworks enables communication and interoperability support without providing any self-adaptation mechanisms for dealing with dynamic workloads and industrial resource optimization. Therefore, the suggested solution is to develop a Digital Twin Driven Self-Adaptive Middleware (DT-SAM) architecture, which will be responsible for autonomous resource management in smart factory implementations. In particular, the DT-SAM framework incorporates physical factory resources, IoT-edge architecture, digital twins, intelligent middleware agents, and self-adaptive resource management. In order to ensure continuous monitoring, prediction, and self-adaptation, digital twins’ synchronization and self-adaptive control are used in the proposed approach. Intelligent agents have been deployed within the framework for workload prediction, resource assessment, task scheduling, and system reconfiguration. DT-SAM performance is tested through the use of MATLAB, Python, Edge Cloud Sim, and MQTT simulations with between 100 and 500 machines, 500 to 2000 IoT sensors, and 20 to 100 edge nodes with different levels of workload. Experimental findings show that the proposed framework greatly improves efficiency in resource management. When tested against different workloads, the DT-SAM framework delivers improvements in resource utilization ranging from 78% to 94% against 62% to 72% achieved by existing middleware solutions. In addition, the proposed framework lowers latency to 22 ms as opposed to 120 ms (cloud only), 55 ms (edge computing), and 40 ms (AI Scheduler-based approaches). These findings clearly reveal increased adaptability, scalability, and real-time decision-making ability. The framework further embeds a lightweight cybersecurity-aware monitoring layer that safeguards digital twin synchronization and middleware communication against tampering, spoofing, and unauthorized access. DT-SAM framework serves as an effective solution for future smart factories.