Design, Implementation, and Energy Audit of Residential Load Control Using Mamdani Fuzzy Logic

Authors

  • Azmi Saleh Teknik Elektro, Universitas Jember
  • Widjonarko Teknik Elektro, Universitas Jember
  • Dwi Imam Sahroni Waji Teknik Elektro, Universitas Jember

DOI:

https://doi.org/10.32492/nucleus.v5i2.5221

Keywords:

Energy Audit, Mamdani Fuzzy Logic, Load Control, Energy Efficiency, Residential Energy Management

Abstract

Residential electricity management requires control strategies that respond to environmental variations while enabling quantitative assessment of energy consumption. This study presents the design, implementation, and experimental evaluation of a residential load-control system that employs Mamdani Fuzzy Logic and load-level energy auditing. An ESP32 microcontroller processes temperature measurements from a DS18B20 sensor to determine air-conditioning (AC) setpoint adjustments based on temperature error and delta error. In contrast, ambient illumination detected by a Light Dependent Resistor (LDR) determines lighting switching operations. PZEM-004T modules independently monitor electrical energy consumption to evaluate performance. The experimental assessment comprised sensor validation at five measurement points per parameter, functional testing of both controllers, and a six-day comparison between uncontrolled baseline and controlled operating conditions. The mean absolute percentage errors for voltage, current, temperature, and illuminance were 0.47%, 0.30%, 0.40%, and 0.99%, respectively. Functional testing demonstrated that the controllers generated the intended responses under the environmental conditions investigated. AC energy consumption decreased from 16.72 to 13.61 kWh, a cumulative reduction of 3.11 kWh (18.60% of baseline consumption), with an average daily energy-saving percentage of 21.91%. Lighting consumption decreased from 3.554 to 3.467 kWh, a reduction of 0.087 kWh (2.45% of baseline), with an average daily saving of 2.43%. These findings indicate that the implemented system achieved the intended functional responses and was associated with reduced electrical energy consumption under the operating conditions investigated.

References

H. M. Hussain, A. Narayanan, S. Sahoo, Y. Yang, P. H. J. Nardelli, and F. Blaabjerg, “Home Energy Management Systems: Operation and Resilience of Heuristics Against Cyberattacks,” IEEE Syst. Man, Cybern. Mag., vol. 8, no. 2, pp. 21–30, 2022, doi: 10.1109/msmc.2021.3114139.

S. Mischos, E. Dalagdi, and D. Vrakas, Intelligent energy management systems: a review, vol. 56, no. 10. Springer Netherlands, 2023. doi: 10.1007/s10462-023-10441-3.

U. Zafar, S. Bayhan, and A. Sanfilippo, “Home Energy Management System Concepts, Configurations, and Technologies for the Smart Grid,” IEEE Access, vol. 8, pp. 119271–119286, 2020, doi: 10.1109/ACCESS.2020.3005244.

B. Han, Y. Zahraoui, M. Mubin, S. Mekhilef, M. Seyedmahmoudian, and A. Stojcevski, “Home Energy Management Systems: A Review of the Concept, Architecture, and Scheduling Strategies,” IEEE Access, vol. 11, no. December 2022, pp. 19999–20025, 2023, doi: 10.1109/ACCESS.2023.3248502.

J. Sievers and T. Blank, “A Systematic Literature Review on Data-Driven Residential and Industrial Energy Management Systems,” Energies, vol. 16, no. 4, p. 1688, Feb. 2023, doi: 10.3390/en16041688.

A. Alanezi, K. P. Hallinan, and K. Huang, “Automated residential energy audits using a smart wifi thermostat-enabled data mining approach,” Energies, vol. 14, no. 9, 2021, doi: 10.3390/en14092500.

A. Taileb and M. F. Sherzad, “Energy Audits and Energy Modeling as a Tool towards Reducing Energy Consumption in Buildings: The Cases of Two Multi-Unit Residential Buildings (MURBs) in Toronto,” Sustain., vol. 15, no. 18, 2023, doi: 10.3390/su151813983.

D. Arcos-Aviles et al., “An Energy Management System Design Using Fuzzy Logic Control: Smoothing the Grid Power Profile of a Residential Electro-Thermal Microgrid,” IEEE Access, vol. 9, pp. 25172–25188, 2021, doi: 10.1109/ACCESS.2021.3056454.

D. Arcos-Aviles, J. Pascual, L. Marroyo, P. Sanchis, and F. Guinjoan, “Fuzzy Logic-Based Energy Management System Design for Residential Grid-Connected Microgrids,” IEEE Trans. Smart Grid, vol. 9, no. 2, pp. 530–543, Mar. 2018, doi: 10.1109/TSG.2016.2555245.

M. Jafari, Z. Malekjamshidi, J. Zhu, and M. H. Khooban, “A Novel Predictive Fuzzy Logic-Based Energy Management System for Grid-Connected and Off-Grid Operation of Residential Smart Microgrids,” IEEE J. Emerg. Sel. Top. Power Electron., vol. 8, no. 2, pp. 1391–1404, 2020, doi: 10.1109/JESTPE.2018.2882509.

M. Jafari, Z. Malekjamshidi, D. D.-C. Lu, and J. Zhu, “Development of a Fuzzy-Logic-Based Energy Management System for a Multiport Multioperation Mode Residential Smart Microgrid,” IEEE Trans. Power Electron., vol. 34, no. 4, pp. 3283–3301, Apr. 2019, doi: 10.1109/TPEL.2018.2850852.

Y. S. Cheng, Y. H. Liu, H. C. Hesse, M. Naumann, C. N. Truong, and A. Jossen, “A PSO-optimized fuzzy logic control-based charging method for individual household battery storage systems within a community,” Energies, vol. 11, no. 2, 2018, doi: 10.3390/en11020469.

A. S. Salunkhe, Y. K. Kanse, and S. S. Patil, “Internet of Things based Smart Energy Meter with ESP 32 Real Time Data Monitoring,” Proc. Int. Conf. Electron. Renew. Syst. ICEARS 2022, no. Icears, pp. 446–451, 2022, doi: 10.1109/ICEARS53579.2022.9752144.

E. H. Houssein, M. A. Othman, W. M. Mohamed, and M. Younan, “Internet of Things in Smart Cities: Comprehensive Review, Open Issues, and Challenges,” IEEE Internet Things J., vol. 11, no. 21, pp. 34941–34952, 2024, doi: 10.1109/JIOT.2024.3449753.

E. T. Jamal and Z. Abdellah, “Comprehensive Analysis, Modeling, and Optimization of QoS in OneM2M for IoT Applications: Integrating HTTP, MQTT, and CoAP Protocols With Automatic Traffic SLA Management,” Int. J. Commun. Syst., vol. 38, no. 14, p. e70227, Sep. 2025, doi: 10.1002/DAC.70227.

C. Su and W. Chen, “Design of Remote Real-Time Monitoring and Control Management System for Smart Home Equipment Based on Wireless Multihop Sensor Network,” J. Sensors, vol. 2022, pp. 1–10, Jun. 2022, doi: 10.1155/2022/6228440.

H. M. Usman, R. ElShatshat, and A. H. El-Hag, “Energy management for smart residential homes: A real-time fuzzy logic approach,” Electr. Power Syst. Res., vol. 238, no. January 2024, p. 111057, 2025, doi: 10.1016/j.epsr.2024.111057.

M. H. Firdaus, F. G. P. Pratama, Djuniadi, and A. H. Al-Azhari, “Smart Energy Monitoring & Load Control Berbasis Iot Dan Fuzzy Logic,” J. Inform. dan Tek. Elektro Terap., vol. 14, no. 1, 2026, doi: 10.23960/jitet.v14i1.9028.

F. Dinmohammadi, A. M. Farook, and M. Shafiee, “Improving Energy Efficiency in Buildings with an IoT-Based Smart Monitoring System,” Energies, vol. 18, no. 5, 2025, doi: 10.3390/en18051269.

J. A. Cardenas Magaña, A. Mojica Magaña, and F. M. Hernández López, “Experimental Validation of a Low-Cost IoT-Based Residential Electrical Monitoring System using ESP32 and PZEM-004T,” Int. J. Electr. Comput. Eng. Res., vol. 6, no. 2, pp. 7–14, 2026, doi: 10.53375/ijecer.2026.527.

D. P. Pradhan, D. Tripathy, N. Singh, and D. Nayak, “IoT-Based Smart Energy Monitoring System with Using ESP32 and PZEM-004T,” 2025 2nd Int. Conf. Circuits, Power, Intell. Syst. CCPIS 2025, pp. 1–5, 2025, doi: 10.1109/CCPIS65231.2025.11233978.

J. M. Belman-Flores, D. A. Rodríguez-Valderrama, S. Ledesma, J. J. García-Pabón, D. Hernández, and D. M. Pardo-Cely, “A Review on Applications of Fuzzy Logic Control for Refrigeration Systems,” Appl. Sci., vol. 12, no. 3, 2022, doi: 10.3390/app12031302.

P. Powroźnik, P. Szcześniak, and M. Suliga, “Fuzzy Logic in Smart Meters to Support Operational Processes in Energy Management Systems,” Electron., vol. 14, no. 12, pp. 1–25, 2025, doi: 10.3390/electronics14122336.

C. Jettanasen et al., “An approach to energy conservation in lighting systems using luminaire-based sensor for automatic dimming,” Sci. Rep., vol. 15, no. 1, pp. 1–17, 2025, doi: 10.1038/s41598-025-87813-y.

A. Shankar, V. Krishnasamy, and B. Chitti Babu, “Smart LED lighting system with occupants’ preference and daylight harvesting in office buildings,” Energy Sources, Part A Recover. Util. Environ. Eff., vol. 47, no. 1, pp. 3966–3986, 2025, doi: 10.1080/15567036.2020.1859650.

Downloads

Published

2026-11-30

How to Cite

Saleh, A., Widjonarko, & Sahroni Waji, D. I. (2026). Design, Implementation, and Energy Audit of Residential Load Control Using Mamdani Fuzzy Logic. Nucleus Journal, 5(2), 503–516. https://doi.org/10.32492/nucleus.v5i2.5221

Issue

Section

Articles