Journal Zetroem
Vol 7 No 1 (2025): ZETROEM

Optimizing Stability of Ultrasonic Sensor Readings: Study on Moving Average Filter Parameter Selection

Baskoro, Farid (Unknown)
Rohman, Miftahur (Unknown)
Arya, Dimas (Unknown)
Putra, Aristyawan (Unknown)



Article Info

Publish Date
05 Mar 2025

Abstract

Moving average filter is a signal processing method used to reduce fluctuations or noise in data by taking the average of the most recent values. This filter works by taking the n most recent values in the data and calculating the average. This research investigates the effect of the n parameter value in the moving average filter on the stability of ultrasonic sensor readings regarding object distance. It was found that the value of n had a significant impact on the stability of the results. Using n = 20 produces a stable graph of distance values with minimal fluctuations, while n = 10 reduces fluctuations but still shows slight fluctuations. n = 5 also improves stability, but quite significant fluctuations are still visible. Meanwhile, n = 3 produces an unstable graph with high fluctuations. In conclusion, the larger the n value, the more stable the distance value graph. However, it should be noted that a value of n that is too large can cause a delay in the system's response to changes in distance. Therefore, the selection of the n value must consider the balance between the stability of the results and the response of the system.

Copyrights © 2025






Journal Info

Abbrev

Zetroem

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering Industrial & Manufacturing Engineering

Description

jurnal zetroem yang dapat dimuat dalam jurnal ini meliputi bidang keilmuan Teknik Elektronika, Teknik Kendali, Sistem Tenaga, Telekomunikasi, Informatika, Sistem Distribusi. Makalah dapat berupa ringkasan laporan hasil penelitian atau kajian pustaka ilmiah. Makalah yang akan dimuat hendaknya ...