Home / Current Issue / Paper 1725989
OpenPLC and ESP32-Based Universal Smart Motor Automation Framework with Digital Twin and AI Anomaly Detection: A Review and Proposed Framework
Subject area: Science,Engineering and Technology · Area of research: Industrial IOT
Abstract
Small and medium-sized plants still protect their motors mostly with thermal relays and fixed trip settings, and these respond only once a limit has already been exceeded. This paper surveys earlier work on PLC-based motor control, ESP32 IoT gateways, edge-AI condition monitoring and digital twins, and builds on it to propose a low-cost dual-mode framework for a 1 HP, 415 V three-phase induction motor. The controller is an ESP32 running OpenPLC, supported by a mode selector switch and an external PLC port that lets a PLC already present in the panel take over control. Readings of voltage, current, power, speed, temperature and vibration travel over Modbus RS-485 to a second ESP32, which operates a 3.5-inch touch HMI and sends the data by MQTT to Node-RED, where a 3D digital twin and an anomaly detector use it. In Phase I the AI layer is used only for early warning and the trip is always issued by the PLC; letting a confirmed AI fault trip the motor is reserved for Phase II. The protection logic was checked in a MATLAB/Simulink model. In the simulation, vibration, current and temperature each first cross a warning threshold (3.8 m/s², 2.0 A, 52 °C), which sets the AI early-warning flag while the motor keeps running, and then cross a higher trip threshold (5 m/s², 2.5 A, 60 °C), which makes the PLC trip and stop the motor. Undervoltage limits of 390 V (warning) and 370 V (trip) are part of the same logic.
Keywords
OpenPLC, ESP32, induction motor, Modbus RS-485, MQTT, Node-RED, digital twin, anomaly detection, predictive maintenance
How to cite this paper
@article{1725989,
author = {Awadhut Bapu Chougale, Harshvardhan Dattatray More, Sujal Vilas Navale, Rakesh Sambhaji Nigave, Prakash Shahaji Patil},
title = {OpenPLC and ESP32-Based Universal Smart Motor Automation Framework with Digital Twin and AI Anomaly Detection: A Review and Proposed Framework},
journal = {Iconic Research And Engineering Journals},
year = {2026},
volume = {10},
number = {5},
pages = {7847-7857},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1725989.pdf},
abstract = {Small and medium-sized plants still protect their motors mostly with thermal relays and fixed trip settings, and these respond only once a limit has already been exceeded. This paper surveys earlier work on PLC-based motor control, ESP32 IoT gateways, edge-AI condition monitoring and digital twins, and builds on it to propose a low-cost dual-mode framework for a 1 HP, 415 V three-phase induction motor. The controller is an ESP32 running OpenPLC, supported by a mode selector switch and an external PLC port that lets a PLC already present in the panel take over control. Readings of voltage, current, power, speed, temperature and vibration travel over Modbus RS-485 to a second ESP32, which operates a 3.5-inch touch HMI and sends the data by MQTT to Node-RED, where a 3D digital twin and an anomaly detector use it. In Phase I the AI layer is used only for early warning and the trip is always issued by the PLC; letting a confirmed AI fault trip the motor is reserved for Phase II. The protection logic was checked in a MATLAB/Simulink model. In the simulation, vibration, current and temperature each first cross a warning threshold (3.8 m/s², 2.0 A, 52 °C), which sets the AI early-warning flag while the motor keeps running, and then cross a higher trip threshold (5 m/s², 2.5 A, 60 °C), which makes the PLC trip and stop the motor. Undervoltage limits of 390 V (warning) and 370 V (trip) are part of the same logic.},
keywords = {OpenPLC, ESP32, induction motor, Modbus RS-485, MQTT, Node-RED, digital twin, anomaly detection, predictive maintenance},
month = {November},
}