Smoothing Algorithm Using Censor Distance on KRSRI ITN Malang Robot with Moving Average Method
Main Article Content
Abstract
Distance sensors play a crucial role in robotic navigation systems, particularly in the Indonesian Search and Rescue Robot Contest (KRSRI). However, sensor readings often suffer from instability due to external disturbances such as robot leg movements and environmental interference. This research aims to address these issues by implementing a smoothing algorithm based on the Simple Moving Average (SMA) method to refine distance sensor readings from the GP2Y Infrared Proximity sensor, enabling the robot to detect obstacles more accurately. Experiments were conducted under various conditions, both with and without the smoothing algorithm, showing that the use of SMA significantly improves the stability and accuracy of sensor data. The results indicate that sensor readings with SMA exhibited minimal fluctuations, maintaining higher consistency around the actual measured distance, while readings without SMA showed significant variability and inaccuracies. The implementation of SMA successfully reduced measurement errors, with an average error reduction of 97.68% compared to the raw sensor data. This improvement ensures more reliable obstacle detection and navigation performance, thereby enhancing the robot’s effectiveness in competitions as well as search and rescue applications in real-world environments.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
References
R. A. Fatekha, B. S. B. Dewantara, and H. Oktavianto, “Sistem Deteksi Bola pada Robot Kiper Pemain Sepakbola Beroda,” Jurnal Integrasi, vol. 13, no. 2, pp. 127–134, 2021, doi: 10.30871/ji.v13i2.3133. DOI: https://doi.org/10.30871/ji.v13i2.3133
R. Y. Adhitya, “Sistem Pengendalian Robot KRSRI Menggunakan Logika Fuzzy Sugeno Orde Nol,” Jurnal Elektronika dan Otomasi Industri, vol. 11, no. 1, pp. 159–168, 2024, doi: 10.33795/elkolind.v11i1.4057. DOI: https://doi.org/10.33795/elkolind.v11i1.4057
F. Faqri, W. Amaral, and J. Subur, “Implementasi Metode PID dan Inverse Kinematics pada Pergerakan Robot Berkaki Enam ( Hexapod ),” SinarFe7 Seminar Nasional Fortei Regional 7, vol. 6, no. 1, pp. 17–22, 2024.
A. Ilham, A. Rahman, R. Maulana, and H. Fitriyah, “Kinematika Robot dengan Sistem Kendali Proportional Integral dan Derivative menggunakan Sensor IMU pada Robot Hexapod,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer , vol. 6, no. 7, pp. 3316–3323, 2022.
J. Subur, S. Suryadhi, and E. Arohman, “Penerapan Metode Fuzzy Logic-PID Sebagai Kontrol Gerak Robot Berkaki Enam (Hexapod),” Proceedings Series on Physical & Formal Sciences, vol. 6, pp. 98–108, 2023, doi: 10.30595/pspfs.v6i.858. DOI: https://doi.org/10.30595/pspfs.v6i.858
R. Darwis, I. Arifianto, A. Mujadin, and S. Rahmatia, “Perancangan Robot Pemadam Api Hexapod,” Jurnal Al-Azhar Indonesia Seri Sains dan Teknologi, vol. 5, no. 1, pp. 1–4, 2019, doi: 10.36722/sst.v5i1.316. DOI: https://doi.org/10.36722/sst.v5i1.316
R. Rachman, “Penerapan Metode Moving Average Dan Exponential Smoothing Pada Peramalan Produksi Industri Garment,” Jurnal Informatika, vol. 5, no. 2, pp. 211–220, 2018, doi: 10.31311/ji.v5i2.3309. DOI: https://doi.org/10.31311/ji.v5i2.3309
P. W. Ginta and R. F. Milati, “Robot Pendeteksi Dan Penghitung Jalan Berlobang Menggunakan Sensor Infra Merah Berbasis Mikrokontroler At89S51,” Jurnal Media Infotama, vol. 7, no. 1, pp. 69–83, 2011.
M. M. Azman, “Analisa perbandingan nilai akurasi moving average dan exponential smoothing untuk sistem peramalan pendapatan pada perusahaan XYZ,” Jurnal Sistem dan Informatika, vol. 13, no. 2, pp. 36–45, 2019.
W. Wulandari, “Implementasi Sistem Peramalan Persediaan Barang Menggunakan Metode Moving Average,” Jurnal Media Informatika Budidarma, vol. 4, no. 3, pp. 707–714, 2020, doi: 10.30865/mib.v4i3.2199. DOI: https://doi.org/10.30865/mib.v4i3.2199
A. Apriliani, H. Zainuddin, A. Agussalim, and Z. Hasanuddin, “Peramalan Tren Penjualan Menu Restoran Menggunakan Metode Single Moving Average,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 7, no. 6, pp. 1161–1168, 2020, doi: 10.25126/jtiik.2020722732. DOI: https://doi.org/10.25126/jtiik.2020722732
H. B. Suryadipraja and J. Jamaaluddin, “Pengoptimalan Penggunaan Sensor Uvitron Pada Robot Berkaki Dalam Mendeteksi Keberadan Titik Api Dengan Sebuah Lilin,” SinarFe7, vol. 2, no. 1, pp. 206–210, 2019.
A. S. Samosir, N. I. Tohir, and A. Haris, “Rancang Bangun Catu Daya Digital Menggunakan Buck Converter Berbasis Mikrokontroler Arduino,” ELECTRICIAN Jurnal Rekayasa dan Teknologi Elektro, vol. 11, no. 1, pp. 1–94, 2017, doi: https://doi.org/10.23960/elc.v11n1.2014.
S. Siswanto, M. Anif, D. N. Hayati, and Y. Yuhefizar, “Pengamanan Pintu Ruangan Menggunakan Arduino Mega 2560, MQ-2, DHT-11 Berbasis Android,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 3, no. 1, pp. 66–72, 2019, doi: 10.29207/resti.v3i1.797. DOI: https://doi.org/10.29207/resti.v3i1.797
F. A. Deswar and R. Pradana, “Monitoring Suhu Pada Ruang Server Menggunakan Wemos D1 R1 Berbasis Internet of Things (Iot),” Jurnal Ilmiah “Technologia,” vol. 12, no. 1, pp. 25–32, 2021, doi: 10.31602/tji.v12i1.4178. DOI: https://doi.org/10.31602/tji.v12i1.4178
I. H. Santoso and A. I. Irawan, “Analisis Perbandingan Kinerja Sensor Jarak HC-SR04 dan GP2Y0A21YK Dengan Menggunakan Thingspeak dan Wireshark,” Jurnal Rekayasa Elektrika, vol. 18, no. 1, pp. 43–52, 2022, doi: 10.17529/jre.v18i1.23359. DOI: https://doi.org/10.17529/jre.v18i1.23359
L. Fauziah and F. Fauziah, “Penerapan Metode Single Exponential Smoothing dan Moving Average Pada Prediksi Stock Produk Retail Berbasis Web,” STRING (Satuan Tulisan Riset dan Inovasi Teknologi), vol. 7, no. 2, p. 159, 2022, doi: 10.30998/string.v7i2.13932. DOI: https://doi.org/10.30998/string.v7i2.13932