Design and Development of an Internet of Things (IoT) Based Automatic Transfer Switch (ATS) Monitoring System Using an Expert System Approach For Electrical Energy Backup
DOI:
https://doi.org/10.21009/SPEKTRA.112.01Keywords:
Automatic Transfer Switch, Expert System, Fuzzy Logic, Internet of Things, Real-Time Monitoring, ATS, IoTAbstract
Reliable electrical power availability is essential for various applications, especially in facilities that rely on continuous power supply. To address power interruptions, this study developed an Internet of Things (IoT)-enabled Automatic Transfer Switch (ATS) monitoring system based on an expert system approach for electrical energy backup. The proposed system integrates an ESP32 microcontroller with a ZMPT101B voltage sensor, PZEM-004T power meter, DC voltage sensor, relay module, SIM900A GSM module, inverter, LCD, and a 12 V 35 Ah battery. The system automatically changes the power source from the utility supply (PLN) to the backup battery when a power failure occurs and restores the utility source after normal supply conditions are detected. System conditions and electrical parameters are monitored remotely in real time using the Blynk platform, which also provides system notifications. For decision-making, expert system principles are implemented through a Mamdani Fuzzy Inference System (FIS) developed in MATLAB R2018b, evaluating utility voltage, battery voltage, and load condition to determine the appropriate ATS power-source status. Experimental evaluation at the Instrumentation and Control Laboratory, Universitas Negeri Jakarta, confirmed the system functionality, with average measurement errors of 0.45% for the ZMPT101B sensor and 0.24% for the DC voltage sensor, while the PZEM-004T produced errors of 0.45% for voltage, 3.7% for current, and 0.91% for power measurements. The ATS completed the source transfer within 3 seconds, with the inverter maintaining an output voltage between 217 and 232 VAC. Under a 50 W load, the 12 V 35 Ah battery provided backup power for 3 hours and 30 minutes, and the MATLAB simulation generated a crisp output of 1.86, corresponding to the battery-supplied load condition. Beyond these technical validations, the scientific contribution of this research lies in the successful integration of a Mamdani FIS with IoT-based monitoring to enable adaptive, rule-based decision-making that overcomes the rigidity of conventional fixed-threshold ATS systems. Practically, this intelligent backup solution offers an affordable and reliable alternative for critical infrastructures, such as small-scale healthcare facilities and data centers, particularly in regions with unstable grid conditions. The modular system architecture also provides a scalable foundation for future integration with renewable energy sources and expansion to higher-capacity industrial applications.
References
Kementerian Energi dan Sumber Daya Mineral Republik Indonesia, "Paparkan Capaian Kinerja 2025, Menteri ESDM: Kapasitas Terpasang dan Konsumsi Listrik Meningkat," Kementerian ESDM, 2025. [Online]. Available: https://gatrik.esdm.go.id/berita/?slug=paparkan-capaian-capaian-kinerja-2025-menteri-esdm-kapasitas-terpasang-dan-konsumsi-listrik-meningkat&category=
S. F. Anggoro, "Powerbank untuk Suplai Daya Beban pada Rumah Tinggal," Undergraduate thesis, Dept. Teknik Elektro, Univ. Negeri Yogyakarta, Yogyakarta, Indonesia, 2019.
A. A. Nugroho and E. Fitriani, "Rancang Bangun Panel Automatic Transfer Switch (ATS) dengan Monitoring dan Kendali Via Android Berbasis Outseal PLC," in Proc. Bina Darma Conf. Eng. Sci. (BDCES), 2022, pp. 43–52. [Online]. Available: http://conference.binadarma.ac.id/index.php/BDCES
T. M. V. Arief, "Dunia Usaha Keluhkan Pemadaman Bergilir, Produksi hingga Investasi Terancam," Kompas.com, Jun. 22, 2026. [Online]. Available: https://money.kompas.com/read/2026/06/22/061800526/dunia-usaha-keluhkan-pemadaman-bergilir-produksi-hingga-investasi-terancam
M. Abdillah, T. Mutia, T. A. Nugroho, and N. I. Pertiwi, "Design of Automatic Transfer Switch on A Renewable Energy Hybrid Grid System at PT Lentera Bumi Nusantara," J. Adv. Technol. Multidiscipline, vol. 1, no. 2, pp. 38–44, 2022, doi: 10.20473/jatm.v1i2.40293.
M. Yusro, A. Diamah, I. Sakti, B. Regowo, I. Zuhdi, and A. Izzudin, Modul Pembelajaran Teori & Praktik Aplikasi IoT. Jakarta, Indonesia: Univ. Negeri Jakarta, 2021.
S. Keran and A. Nugraha, "Sistem Switching pada Automatic Transfer Switch (ATS) Menggunakan Arduino UNO," J. Surya Energy, vol. 7, no. 2, pp. 47–53, 2023, doi: 10.32502/jse.v7i2.5756.
N. Patel, A. Dhikale, S. Utekar, and M. Dogra, "Improving Performance of IoT Applications Using Edge," AIP Conf. Proc., vol. 3092, no. 1, p. 120004, 2024, doi: 10.1063/5.0186979.
S. I. Akbar, "Monitoring Automatic Transfer Switch dan Baterai Berbasis IoT Menggunakan Mikrokontroler AVR dan ESP32," Transient: J. Ilmiah Teknik Elektro, vol. 11, no. 2, pp. 51–60, 2022, doi: 10.14710/transient.v11i2.51-60.
R. P. W. Putra, M. Mukhsim, and F. Rofi'i, "Sistem Pemantauan dan Pengendalian Modul Automatic Transfer Switch (ATS) Melalui Android Berbasis Arduino," TELKA: Telekomunikasi, Elektronika, Komputasi dan Kontrol, vol. 5, no. 1, pp. 43–54, 2019, doi: 10.15575/telka.v5n1.43-54.
M. R. Alfariski, M. Dhandi, and A. Kiswantono, "Automatic Transfer Switch (ATS) Using Arduino Uno, IoT-Based Relay and Monitoring," JTECS: J. Sistem Telekomunikasi Elektronika Sistem Kontrol Power Sistem dan Komputer, vol. 2, no. 1, p. 1, 2022, doi: 10.32503/jtecs.v2i1.2238.
R. Rakhmawati, L. P. S. Rahaja, and M. M. Husnah, "Safety Design using ATS by Identifying Voltage Interference based on Fuzzy Logic," ELKOMIKA: J. Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, vol. 11, no. 2, pp. 510–521, 2023, doi: 10.26760/elkomika.v11i2.510.
Kusrini, Sistem Pakar: Teori dan Aplikasi. Yogyakarta, Indonesia: Andi, 2006.
J. D. Susatyono, Kecerdasan Buatan: Kajian Konsep dan Penerapan. Semarang, Indonesia: Yayasan Prima Agus Teknik, 2021.
A. J. Rindengan and Y. A. R. Langi, Sistem Fuzzy. Bandung, Indonesia: CV. Patra Media Grafindo, 2019.
O. Purnawirawan and T. Afirianto, "Implementasi Algoritma Fuzzi Mamdani pada Sistem Pakar Menggunakan Software Aplikasi Matlab R2007B, Studi Kasus: Tanaman Hidroponik Selada Air," J. Teknol. Informasi dan Ilmu Komputer, vol. 11, no. 5, pp. 977–986, 2024, doi: 10.25126/jtiik.1077977.
Sugiyono, Metode Penelitian Kuantitatif, Kualitatif, dan R&D. Bandung, Indonesia: Alfabeta, 2017.
R. M. Branch, Instructional Design: The ADDIE Approach. New York, NY, USA: Springer, 2009, doi: 10.1007/978-0-387-09506-6.
M. H. Rashid, Power Electronics: Devices, Circuits & Applications, 4th ed. Upper Saddle River, NJ, USA: Pearson, 2014.
R. Elliott, "Inverter AC Power Supplies," Elliott Sound Products, 2014. [Online]. Available: https://sound-au.com/articles/inverters.htm
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Rafiuddin Syam, Ara Akdzal Al Tariq, Efri Sandi, Keigo Watanabe

This work is licensed under a Creative Commons Attribution 4.0 International License.
SPEKTRA: Jurnal Fisika dan Aplikasinya allow the author(s) to hold the copyright without restrictions and allow the author(s) to retain publishing rights without restrictions. SPEKTRA: Jurnal Fisika dan Aplikasinya CC-BY or an equivalent license as the optimal license for the publication, distribution, use, and reuse of scholarly work. In developing strategy and setting priorities, SPEKTRA: Jurnal Fisika dan Aplikasinya recognize that free access is better than priced access, libre access is better than free access, and libre under CC-BY or the equivalent is better than libre under more restrictive open licenses. We should achieve what we can when we can. We should not delay achieving free in order to achieve libre, and we should not stop with free when we can achieve libre.
SPEKTRA: Jurnal Fisika dan Aplikasinya is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
Share - copy and redistribute the material in any medium or format
Adapt - remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
E-ISSN 2541-3392
Focus & Scope
Editorial Team
Reviewer Team
Author Guidelines
Article Template
Author Fee
Publication Ethics
Plagiarism Policy
Open Access Policy
Peer Review Process
Retraction & Correction
Licensing & Copyright
Archiving & Repository
Contact 
Mendeley