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

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.

Authors

Institutions

Publication Details

Journal
JOURNAL ZETROEM
Published
2025-03-05
DOI
https://doi.org/10.36526/ztr.v7i1.3603
Primary Topic
Flow Measurement and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Andi Sudjana Putra, Miftahur Rohman, Dhairya Singh Arya, Farid Baskoro
JOURNAL ZETROEM
Flow Measurement and Analysis
article

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

Andi Sudjana Putra, Miftahur Rohman, Dhairya Singh Arya, Farid Baskoro
article en

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.

JOURNAL ZETROEMVol. 7(1)
Universitas Negeri Surabaya (ID)
Openalex Percentile: Top 92%
Flow Measurement and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.