Rancang Bangun Kendali PID pada Sistem Penerangan Berbasis Node-red
Design and Development of PID Control in Node-based Lighting Systems
Pada umumnya sistem penerangan lampu menggunakan prinsip on/off, dengan cara menyalakan lampu pada kondisi ruangan gelap dan mematikan lampu pada kondisi ruangan terang. Pada hal ini memiliki kekurangan dalam hal efektifitas, karena tidak menghiraukan pengaruh dan pencahayaan dari luar yaitu pencahayaan matahari. Untuk mengatasi masalah tersebut diperlukan suatu kendali intensitas cahaya secara otomatis yang tetap mengacu pada pencahayaan sekitar. Tujuan penelitian ini yaitu mengetahui hasil respon sistem alat kendali intensitas cahaya pada sistem penerangan menggunakan metode PID. Berdasarkan hasil pengujian, perbandingan pengukuran sensor cahaya BH1750 dengan alat ukur lux meter diperoleh nilai rata-rata error sebesar 6,61%. Pencarian parameter PID mengunakan metode trial and error dengan 5 kali percobaan pada masing-masing parameter. Pada pengujian setiap parameter didapatkan hasil yang optimal pada parameter PID yaitu Kp = 0,1 Ki = 0,18 Kd = 0,10 dengan nilai respon sistem risetime 7,28, settlingtime 13,9dan overshoot 0,97
Kata Kunci: Kontrol Intensitas Cahaya, Kontrol PID, ESP32, Sensor BH1750
In general, lighting systems use the on/off principle, by turning on the lights in dark room conditions and turning off the lights in bright room conditions. In this case it has disadvantages in terms of effectiveness, because it ignores the influence and lighting from outside, namely solar lighting. To overcome this problem, an automatic light intensity control is needed which still refers to the ambient lighting. The purpose of this research is to know the results of the response of the light intensity control device system on the lighting system using the PID method. Based on the test results, a comparison of the measurements of the BH1750 light sensor with the lux meter measuring instrument obtained an average error value of 6.61%. The search for PID parameters uses the trial and error method with 5 attempts on each parameter. In testing each parameter, optimal results were obtained on the PID parameter, namely Kp = 0.1 Ki = 0.18 Kd = 0.10 with a system response value of 7.28 risetime, 13,9 settlingtime and 0.97 overshoot
Keywords: Light Intensity Control, PID Control, ESP32, BH1750 Sensor