Integrated Room Monitoring and Air Conditioning Efficiency Optimization Using ESP-12E Based Sensors and PID Control Automation: A Comprehensive Approach

I Gusti Made Ngurah Desnanjaya, Anak Agung Surya Pradhana, I Nyoman Tri Anindia Putra, Sri Widiastutik, I Made Aditya Nugraha

Abstract


This study addresses the critical need for efficient room monitoring and air conditioning systems, particularly in educational settings like the STMIK STIKOM Indonesia campus. The paper introduces a novel approach that combines ESP-12E based sensors with Proportional-Integral-Derivative (PID) control automation to optimize air conditioning efficiency. Utilizing an ESP-12E microcontroller, the study designed and implemented a room monitoring tool equipped with DHT22 and BH1750 sensors for accurate measurement of temperature, humidity, and light intensity. We also explores the integration of a PID control system into an existing air conditioning (AC) unit. The PID controller was fine-tuned to maintain a stable indoor temperature of 25oCelsius, even when subjected to external heat loads, such as ten LED lamps. The effectiveness of this system was quantified through real-time monitoring of temperature, humidity, and energy consumption, both pre- and post-implementation. Results indicated a rapid and stable response from the PID controller, achieving an amplitude of 1 within 0.08 seconds, thereby confirming its successful tuning and adaptability. We found that this study has broader implications for enhancing energy efficiency and creating conducive learning environments. However, it is worth noting that the research was conducted under specific conditions, and further studies could explore its applicability in different settings.

Keywords


Room Monitoring; ESP-12E Microcontroller; PID; Air Conditioning Efficiency.

Full Text:

PDF

References


M. Samuel, M. Mohamad, M. Hussein, and S. M. Saad, “Lane Keeping Maneuvers Using Proportional Integral Derivative (PID) and Model Predictive Control (MPC),” J. Robot. Control, vol. 2, no. 2, pp. 78–82, Mar. 2021.

S. Rumalutur and A. Mappa, "Temperature and Humidity Moisture Monitoring System with Arduino R3 and DHT 11," Electro Luceat, vol. 5, no. 2, pp. 40-47, 2019.

M. Fiducioso, S. Curi, B. Schumacher, M. Gwerder, and A. Krause, "Safe contextual Bayesian optimization for sustainable room temperature PID control tuning," arXiv preprint arXiv:1906.12086, 2019.

C. Ben Jabeur and H. Seddik, “Optimized Neural Networks-PID Controller with Wind Rejection Strategy for a Quad-Rotor,” J. Robot. Control, vol. 3, no. 1, pp. 62–72, 2022.

A. Ma'arif and N. R. Setiawan, “Control of DC Motor Using Integral State Feedback and Comparison with PID: Simulation and Arduino Implementation,” J. Robot. Control, vol. 2, no. 5, pp. 456–461, Sep. 2021.

D. Handaya, R. Fauziah, and T. Listyorini, “Real-time Monitoring System Using LabView for DC Motor Position Control Embedded System with PID and Pole Placement Control,” in The 1st International Conference on Computer Science and Engineering Technology Universitas Muria Kudus, 2018.

I. G. M. N. Desnanjaya and I. Made Aditya Nugraha, “Design and Build Body Temperature Detection and Personal Identity Recognition Through E-ID Card and Photo Based on IoT,” ISESD 2022 - 2022 Int. Symp. Electron. Smart Devices, Proceeding, pp. 9–13, 2022.

T. H. Mohamed, M. A. M. Alamin, and A. M. Hassan, “Adaptive position control of a cart moved by a DC motor using integral controller tuned by Jaya optimization with Balloon effect,” Comput. Electr. Eng., vol. 87, p. 106786, 2020.

N. Karimpour, B. Karaduman, A. Ural, M. Challengerl, and O. Dagdeviren, “IoT based hand hygiene compliance monitoring,” in 2019 International Symposium on Networks, Computers and Communications, ISNCC 2019, pp. 1-6, 2019.

S. H. Pramono, S. N. Sari, and E. Maulana, “Internet-based monitoring and protection on PV smart grid system,” in Proceedings - 2017 International Conference on Sustainable Information Engineering and Technology, SIET 2017, pp. 448-453, 2017.

F. Zahra Baghli, Y. Lakhal, Y. Ait, and E. Kadi, “The Efficiency of an Optimized PID Controller Based on Ant Colony Algorithm (ACO-PID) for the Position Control of a Multi-articulated System,” J. Robot. Control, vol. 4, no. 3, pp. 289–298, 2023.

M. Saad, A. H. Amhedb, and M. Al Sharqawi, “Real Time DC Motor Position Control Using PID Controller in LabVIEW,” J. Robot. Control, vol. 2, no. 5, pp. 342–348, 2021.

E. A. El-Behiry, E. S. S. Ahmed, and T. Mahmoud, “Real-Time Wireless Control for a Data Acquisition-Based Micro-Computer System,” J. Electron. Mater., vol. 48, no. 8, pp. 4762–4772, 2019.

S. S. Salins, A. A. Khan, K. Riyaz, I. Mahmoud, S. Naeem, and K. H. Sachidananda, “Fabrication and working of a compressed air vehicle,” J. Eur. des Syst. Autom., vol. 54, no. 1, pp. 97–103, 2021.

R. Fadilla, A. N. I. I. Idhil, M. A. P. Anggraini, A. K. Dewi, M. R. Sanjaya, and M. Y. Nurrohman, "A Multifunction Infant Incubator Monitoring System with Phototherapy and ESP-32 Based Mechanical Swing," International Journal of Science, Technology & Management, vol. 1, no. 4, pp. 371-381, 2020.

M. S. A. Mahmud, S. Buyamin, M. M. Mokji, and M. S. Z. Abidin, “Internet of things based smart environmental monitoring for mushroom cultivation,” Indones. J. Electr. Eng. Comput. Sci., vol. 10, no. 3, pp. 847-852, 2018.

ESP12-E Datasheet, “ESP-12E WiFi Module,” Prod. Datasheet, 2015.

A. P. Atmaja, A. E. Hakim, A. P. A. Wibowo, and L. A. Pratama, “Communication Systems of Smart Agriculture Based on Wireless Sensor Networks in IoT,” J. Robot. Control, vol. 2, no. 4, pp. 297–301, 2021.

P. Chotikunnan and R. Chotikunnan, “Dual Design PID Controller for Robotic Manipulator Application,” J. Robot. Control, vol. 4, no. 1, pp. 23–34, 2023.

M. A. Shamseldin and M. A. Abdelghany, “A New Self-Tuning Nonlinear PID Motion Control for One-Axis Servomechanism with Uncertainty Consideration,” J. Robot. Control, vol. 4, no. 2, pp. 118–127, 2023.

S. Bari, S. S. Zehra Hamdani, H. U. Khan, M. U. Rehman, and H. Khan, “Artificial neural network based self-tuned PID controller for flight control of quadcopter,” 2019 Int. Conf. Eng. Emerg. Technol. ICEET 2019, pp. 1-5, 2019.

B. K. Barman, S. N. Yadav, S. Kumar, and S. Gope, “IOT Based Smart Energy Meter for Efficient Energy Utilization in Smart Grid,” in 2nd International Conference on Energy, Power and Environment: Towards Smart Technology, ICEPE 2018, pp. 1-5, 2018.

G. S. Miratunnisa and A. H. S. Budi, “Traffic Light Monitoring System based on NodeMCU using Internet of Things,” in IOP Conference Series: Materials Science and Engineering, vol. 384, no. 1, p. 012024, 2018.

V. Pravalika and C. Rajendra Prasad, “Internet of things based home monitoring and device control using Esp32," International Journal of Recent Technology and Engineering, vol. 8, no. 1S4, pp. 58-62, 2019.

A. Durdu and E. H. Dursun, “Sliding mode control for position tracking of servo system with a variable loaded DC motor,” Elektron. ir Elektrotechnika, vol. 25, no. 4, pp. 8–16, 2019.

M. Elkady, A. Elkorany, and A. Allam, “ACAIOT: A Framework for Adaptable Context-Aware IoT applications,” Int. J. Intell. Eng. Syst., vol. 13, no. 4, 2020.

I. G. M. N. Desnanjaya and I. M. A. Nugraha, “Portable waste capacity detection system based on microcontroller and website,” in Journal of Physics: Conference Series, vol. 1810, no. 1, 2021

I. G. M. N. Desnanjaya, A. A. G. B. Ariana, I. M. A. Nugraha, I. K. A. G. Wiguna, and I. M. U. Sumaharja, “Room Monitoring Uses ESP-12E Based DHT22 and BH1750 Sensors,” J. Robot. Control, vol. 3, no. 2, pp. 205–211, 2022.

H. Hou, X. Yu, L. Xu, K. Rsetam, and Z. Cao, “Finite-time continuous terminal sliding mode control of servo motor systems,” IEEE Trans. Ind. Electron., vol. 67, no. 7, pp. 5647–5656, 2020.

R. Kristiyono and Wiyono, “Autotuning Fuzzy PID Controller for Speed Control of BLDC Motor,” J. Robot. Control, vol. 2, no. 5, pp. 400–407, 2021.

J. Niu, Y. Wang, F. Liu, and R. Li, “Numerical study on comparison of detailed flow field and aerodynamic performance of bogies of stationary train and moving train,” Veh. Syst. Dyn., pp. 1–23, 2020.

H. Nasution and M. N. Wan Hassan, “Potential electricity savings by variable speed control of compressor for air conditioning systems,” Clean Technol. Environ. Policy, vol. 8, no. 2, pp. 105–111, 2006.

A. M. Saba, “Fractional Order PID Controller for Minimizing Frequency Deviation in a Single and Multi-area Power System with GRC, GDB and Time Delay,” J. Robot. Control, vol. 3, no. 1, pp. 32–47, 2022.

G. Wang, Y. Ji, L. Ren, H. Leng, and Y. Huang, “Performance analysis of a newly designed single air spring running gear for automated people mover (APM),” Veh. Syst. Dyn., vol. 59, no. 12, pp. 1963–1986, 2021.

I. G. M. N. Desnanjaya and I. M. A. Nugraha, "Design and Control System of Sluice Gate With Web-Based Information," 2021 International Conference on Smart-Green Technology in Electrical and Information Systems (ICSGTEIS), pp. 52-57, 2021, doi: 10.1109/ICSGTEIS53426.2021.9650409.

I. Suwarno, Y. Finayani, R. Rahim, J. Alhamid, and A. R. Al-Obaidi, “Controllability and Observability Analysis of DC Motor System and a Design of FLC-Based Speed Control Algorithm,” J. Robot. Control, vol. 3, no. 2, pp. 227–235, 2022.

P. Warrier and P. Shah, “Design of an Optimal Fractional Complex Order PID Controller for Buck Converter,” J. Robot. Control, vol. 4, no. 3, pp. 243–262, 2023.

Z. Chen, “Relationship between track stiffness and dynamic performance of vehicle–track–bridge system,” Veh. Syst. Dyn., pp. 1–19, 2020.

J. Wu, B. Lu, and Z. Liang, “Performance Prediction of Room Air Conditioners and Optimization of Control Strategy for Energy Conservation,” Heat Transf. Eng., vol. 39, no. 17–18, pp. 1619–1630, 2018.

E. S. Ghith and F. A. A. Tolba, “Design and Optimization of PID Controller using Various Algorithms for Micro-Robotics System,” J. Robot. Control, vol. 3, no. 3, pp. 244–256, 2022.

A. DInc and M. Otkur, “Optimization of Electric Vehicle Battery Size and Reduction Ratio Using Genetic Algorithm,” ICMAE 2020 - 2020 11th Int. Conf. Mech. Aerosp. Eng., pp. 281–285, 2020.

A. Martín-Garín, J. A. Millán-García, A. Baïri, M. Gabilondo, and A. Rodríguez, “IoT and cloud computing for building energy efficiency,” in Start-Up Creation, pp. 235-265, 2020.

R. P. Borase, D. K. Maghade, S. Y. Sondkar, and S. N. Pawar, "A review of PID control, tuning methods and applications," International Journal of Dynamics and Control, vol. 9, pp. 818-827, 2021.

M. A. Shamseldin, “Adaptive Controller with PID, FOPID, and NPID Compensators for Tracking Control of Electric – Wind Vehicle,” J. Robot. Control, vol. 3, no. 5, pp. 546–565, 2022.

Z. B. Abdullah, S. W. Shneen, and H. S. Dakheel, “Simulation Model of PID Controller for DC Servo Motor at Variable and Constant Speed by Using MATLAB,” J. Robot. Control, vol. 4, no. 1, pp. 54–59, 2023.

S. Gali and V. Nidumolu, “Multi-Context Trust Aware Routing For Internet of Things,” Int. J. Intell. Eng. Syst., vol. 12, no. 1, 2019.

M. P. T. Sulistyanto, W. Harianto, D. A. Nugroho, R. E. Retandi, A. K. Akbar, and P. H. Tjahjanti, “The controlling and monitoring system in oyster mushroom cultivation using fuzzy logic through web technology integrated with Internet of Things,” in MATEC Web of Conferences, vol. 197, p. 15002, 2018.

H. Nasution, A. A. Dahlan, A. A. Aziz, U. Azmi, A. H. Zulkifli, and H. Windiarti, “Indoor Temperature Control And Energy Saving Potential Of Split-Type Air Conditioning System Using Fuzzy Logic Controller,” J. Teknol., vol. 78, no. 8–4, pp. 89–96, 2016.

J. Xu, Y. Ma, and J. Huang, “3D Path Tracking Controller Based on Fuzzy PID Optimized by PSO for Quadrotor,” Proc. - 2019 Chinese Autom. Congr. CAC 2019, pp. 3522–3527, 2019.

M. L. R. Chandra, B. V. Kumar, and B. Sureshbabu, "IoT enabled home with smart security," 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS), pp. 1193-1197, 2017, doi: 10.1109/ICECDS.2017.8389630.

P. M. Gavhane, D. S. Sutrave, V. D. Bachuwar, S. D. Gothe, and P. S. Joshi, "Smart Turbidity Monitoring and Data Acquisition using LabVIEW," Journal of Xi’an Shiyou University, 064X, 2020.

T. Liu, Y. Chen, Z. Chen, H. Wu, and L. Cheng, "Adaptive fuzzy fractional order PID control for 6-DOF quadrotor," 2020 39th Chinese Control Conference (CCC), pp. 2158-2163, 2020, doi: 10.23919/CCC50068.2020.9188677.

X. Sun, M. Wu, G. Lei, Y. Guo, and J. Zhu, “An Improved Model Predictive Current Control for PMSM Drives Based on Current Track Circle,” IEEE Trans. Ind. Electron., vol. 68, no. 5, pp. 3782–3793, 2021.

A. Moheddine, F. Patrone, and M. Marchese, “UAV and IoT integration: A flying gateway,” 2019 26th IEEE Int. Conf. Electron. Circuits Syst. ICECS 2019, pp. 121–122, 2019.

I. M. A. Nugraha, I. G. M. N. Desnanjaya, I. W. D. Pranata, and W. Harianto, “Stability Data Xbee S2b Zigbee Communication on Arduino Based Sumo Robot,” J. Robot. Control, vol. 2, no. 3, pp. 153-160, 2021.

D. Handaya and R. Fauziah, “Proportional-Integral-Derivative and Linear Quadratic Regulator Control of Direct Current Motor Position using Multi-Turn Based on LabView,” J. Robot. Control, vol. 2, no. 4, pp. 332–336, 2021.

S. A. Eissa, S. W. Shneen, and E. H. Ali, “Flower Pollination Algorithm to Tune PID Controller of TCP/AQM Wireless Networks,” J. Robot. Control, vol. 4, no. 2, pp. 149–156, 2023.

X. Tian et al., “Wireless body sensor networks based on metamaterial textiles,” Nat. Electron., vol. 2, no. 6, pp. 243-251. 2019.

A. Faricha et al., “Water Monitoring Prototype Using Internet of Things Technology,” 2019 Int. Conf. Adv. Mechatronics, Intell. Manuf. Ind. Autom. ICAMIMIA 2019 - Proceeding, pp. 141–144, 2019.

R. A. Michurin and A. Schagin, “Increase the accuracy of the DC motor control system with a linear-quadratic regulator,” Proc. 2018 IEEE Conf. Russ. Young Res. Electr. Electron. Eng. ElConRus 2018, vol. 2018-January, pp. 1746–1749, 2018.

I. G. M. N. Desnanjaya and I. N. A. Arsana, “Home security monitoring system with IoT-based Raspberry Pi,” Indones. J. Electr. Eng. Comput. Sci., vol. 22, no. 3, p. 1295, 2021.

H. Maghfiroh, M. Ahmad, A. Ramelan, and F. Adriyanto, “Fuzzy-PID in BLDC Motor Speed Control Using MATLAB/Simulink,” J. Robot. Control, vol. 3, no. 1, pp. 8–13, 2022.

F. Furizal, S. Sunardi, and A. Yudhana, “Temperature and Humidity Control System with Air Conditioner Based on Fuzzy Logic and Internet of Things,” J. Robot. Control, vol. 4, no. 3, pp. 308–322, 2023.

B. A. Saputra, E. P. Hidayat, and A. Z. Arfianto, “Internet of Things-Based Steam Pump Motor Protection Due to Voltage Unbalance,” J. Robot. Control, vol. 1, no. 2, pp. 64–69, 2020.

M. Zadehbagheri, A. Ma’arif, R. Ildarabadi, M. Ansarifard, and I. Suwarno, “Design of Multivariate PID Controller for Power Networks Using GEA and PSO,” J. Robot. Control, vol. 4, no. 1, pp. 108–117, 2023.

M. F. Ghani, R. Ghazali, H. I. Jaafar, C. C. Soon, Y. M. Sam, and Z. Has, “Improved Third Order PID Sliding Mode Controller for Electrohydraulic Actuator Tracking Control,” J. Robot. Control, vol. 3, no. 2, pp. 219–226, 2022.




DOI: https://doi.org/10.18196/jrc.v4i6.18868

Refbacks

  • There are currently no refbacks.


Copyright (c) 2023 I Gusti Made Ngurah Desnanjaya, Anak Agung Surya Pradhana, I Nyoman Tri Anindia Putra, Sri Widiastutik, I Made Aditya Nugraha

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

 


Journal of Robotics and Control (JRC)

P-ISSN: 2715-5056 || E-ISSN: 2715-5072
Organized by Peneliti Teknologi Teknik Indonesia
Published by Universitas Muhammadiyah Yogyakarta in collaboration with Peneliti Teknologi Teknik Indonesia, Indonesia and the Department of Electrical Engineering
Website: http://journal.umy.ac.id/index.php/jrc
Email: jrcofumy@gmail.com


Kuliah Teknik Elektro Terbaik