Dergiler / Kocaeli Journal of Science and Engineering / 2026 / Cilt: 2026 Sayı: 17

Gömülü Sistemlerde Sıcaklık okuma hatalarının Azaltılması

Reducing Temperature Reading Errors in Embedded Systems

İrem Bayram(KOCAELİ ÜNİVERSİTESİ)0009-0007-9220-7699
Sayfa
86–92
Yayın Tarihi
2026-06-12
🏛️Bu makalenin bibliyografik verileri ve tam metin bağlantısı DergiPark üzerinden sağlanmıştır.
DergiPark Kaydı ↗
✨

Yapay Zeka Hızlı Bakış & Çıkarımlar

AI Insight
⚡ TL;DR(1 Cümlede Hızlı Çıkarım)

Elde edilen bulgular, farklı uygulama senaryolarında hangi filtreleme tekniğinin daha uygun olduğuna dair rehber niteliği taşımaktadır.

📌 3 Maddede Bu Makale

🎯
Amaç & Hipotez:Modern gömülü sistemler, çevresel verilerin doğru ve güvenilir bir şekilde elde edilmesini sağlayan uygulamaların temelini oluşturmaktadır.
📊
Temel Bulgular & Veri:Ancak, sensörler tarafından üretilen bu analog sinyaller genellikle çevresel gürültü, elektromanyetik parazit ve sensör doğruluğu gibi faktörlerden etkilenmekte, bu da sistemin performansını doğrudan etkilemektedir.
💡
Sonuç & Katkı:Elde edilen bulgular, farklı uygulama senaryolarında hangi filtreleme tekniğinin daha uygun olduğuna dair rehber niteliği taşımaktadır.
🔬Tür:Modelleme & Sayısal Simülasyon
📍Kapsam:Genişletilmiş Akademik Örneklem
⚙️Değişkenler:Alpha Parametresi · Analog-Dijital Dönüştürücüler · EMA Filtresi

Özet

Modern gömülü sistemler, çevresel verilerin doğru ve güvenilir bir şekilde elde edilmesini sağlayan uygulamaların temelini oluşturmaktadır. Özellikle sıcaklık gibi analog sinyallerin mikrodenetleyici tabanlı sistemlerde işlenmesi, gerçek zamanlı karar alma süreçlerinde kritik rol oynamaktadır. Ancak, sensörler tarafından üretilen bu analog sinyaller genellikle çevresel gürültü, elektromanyetik parazit ve sensör doğruluğu gibi faktörlerden etkilenmekte, bu da sistemin performansını doğrudan etkilemektedir. Bu tür gürültülü ölçümler üzerinde dijital filtreleme tekniklerinin uygulanması, sinyalin kararlılığını artırarak daha güvenilir ve tekrarlanabilir sonuçlar elde edilmesini sağlar. Bu bağlamda, düşük hesaplama maliyetine sahip Üstel Hareketli Ortalama (Exponential Moving Average, EMA) filtresi ile daha sofistike ve doğruluk odaklı olan Kalman filtresi, sıkça karşılaştırılan iki güçlü yaklaşımdır. EMA filtresi, geçmiş verilerin üssel ağırlıklarla filtrelenmesini sağlayan basit ve hızlı bir tekniktir. Bu özelliği sayesinde, kaynakları kısıtlı mikrodenetleyici sistemlerde yaygın olarak tercih edilmektedir. Öte yandan, Kalman filtresi hem mevcut ölçüm hem de sistemin önceki durumunu göz önüne alarak istatistiksel bir tahmin sunar ve bu nedenle doğruluk açısından daha üstündür. Ancak Kalman filtresi, matris işlemleri ve sistem modeli gereksinimi nedeniyle hesaplama açısından daha maliyetlidir. Bu çalışma, mikrodenetleyici tabanlı bir ortam sıcaklığı ölçüm sistemi üzerinde, EMA ve Kalman filtrelerinin performanslarını deneysel olarak karşılaştırmayı amaçlamaktadır. LM35 sıcaklık sensörü ve STM32F4 mikrodenetleyici platformu kullanılarak gerçekleştirilen deneysel uygulamada, her iki filtre aynı analog veri seti üzerinde çalıştırılmış; sonuçlar, filtreleme doğruluğu, yanıt süresi ve hesaplama yükü açısından değerlendirilmiştir. Elde edilen bulgular, farklı uygulama senaryolarında hangi filtreleme tekniğinin daha uygun olduğuna dair rehber niteliği taşımaktadır.

Abstract

Modern embedded systems form the basis for applications that enable accurate and reliable acquisition of environmental data. In particular, the processing of analog signals such as temperature in microcontroller-based systems plays a critical role in real-time decision-making processes. Temperature measurement is not only a fundamental parameter in environmental monitoring, but also a key variable in a wide range of applications including industrial automation, smart buildings, energy management systems, medical devices, food storage and safety, and climate control systems. Accurate temperature sensing is essential for ensuring system efficiency, safety, and reliability; even small measurement errors can lead to significant performance degradation, energy losses, or unsafe operating conditions in sensitive applications. However, these analog signals produced by sensors are often affected by factors such as environmental noise, electromagnetic interference, and sensor accuracy, which directly impact the system's performance. Applying digital filtering techniques to such noisy measurements enhances signal stability, enabling more reliable and repeatable results. In this context, the Exponential Moving Average (EMA) filter, which has low computational costs, and the Kalman filter, which is more sophisticated and accuracy-focused, are two powerful approaches that are frequently compared. The EMA filter is a simple and fast technique that filters past data using exponential weights. Due to this feature, it is widely preferred in microcontroller systems with limited resources. On the other hand, the Kalman filter provides a statistical estimate by considering both the current measurement and the previous state of the system, making it superior in terms of accuracy. However, the Kalman filter is computationally more expensive due to its requirement for matrix operations and a system model. This study aims to experimentally compare the performance of EMA and Kalman filters on a microcontroller-based ambient temperature measurement system. In the experimental application conducted using an LM35 temperature sensor and an STM32F4 microcontroller platform, both filters were run on the same analog data set; the results were evaluated in terms of filtering accuracy, response time, and computational load. Furthermore, this study contributes to simplifying and improving temperature measurement in embedded systems by demonstrating how appropriate filtering techniques can effectively reduce noise and enhance measurement quality. The findings provide practical guidance for selecting the most suitable filtering method in different application scenarios, ultimately facilitating more accurate, stable, and efficient temperature monitoring solutions.

🔖

Bu Makaleye Atıf Yap

Bayram, İ., Erfidan, T. (2026). Gömülü Sistemlerde Sıcaklık okuma hatalarının Azaltılması. Kocaeli Journal of Science and Engineering, Cilt: 2026 Sayı: 17, 86–92. https://doi.org/10.34088/kojose.1729661

📄 Tam Metin PDF Okuyucu

📄

PDF görüntüleyici hazırlanıyor...

Kaynakça (16)

  1. Çelik M, Erfidan T. Microcontroller-Based Kalman Filter Measurement of Ambient Temperature. Kocaeli J Sci Eng. 2025;8(1):71-79. Available from: https://doi.org/10.34088/kojose.1528174.
  2. Fikri M, Herdjunanto S, Cahyadi A. On the performance similarity between exponential moving average and discrete linear Kalman filter. In: Proc Asia Pacific Conf Res Ind and Syst Eng (APCoRISE); 2019. Available from: https://doi.org/10.1109/APCoRISE46197.2019.9318810.
  3. Ojike O, Mbajiorgu C, Anoliefo E, Okonkwo W. Design and analysis of a multipoint temperature datalogger. Nigerian J Technol. 2016;35(2):458-464. Available from: https://doi.org/10.4314/njt.v35i2.30.
  4. Wibawa IMS, Putra IKGD. Design of remote temperature monitoring system tool using vhf waves based on vfc lm331. Int Res J Eng IT Sci Res. 2023;9(4):148-156. Available from: https://doi.org/10.21744/irjeis.v9n4.2348.
  5. Saleh SB, Mazlan S, Hamzah NIB, Karim AZZBA, Zainal MS, Hamzah SA, et al. Smart home security access system using field programmable gate arrays. Indones J Elec Eng Comp Sci. 2018;11(1):152-160. Available from: https://doi.org/10.11591/ijeecs.v11.i1.pp152-160.
  6. Santoso J, Sugriwan I, Fahrudin AE, Susilo TB, Soesanto O, Musthafa H, et al. Desain dan Pabrikasi Alat Ukur Suhu ve Kelembaban Berbasis ATmega 16A-PU. J Fis Flux. 2022;19(1):83-9.
  7. Nahmias S, Cheng Y. Production and operations analysis. 6th ed. New York: McGraw-Hill; 2005.
  8. Wang S, Chen W, Tsui KL. Bayesian validation of computer models. Technometrics. 2009;51(4):439-451. doi:10.1198/TECH.2009.07011.
  9. Holt CC. Forecasting seasonals and trends by exponentially weighted moving averages. Int J of Forecast. 2004;20:5-10.
  10. Kalman RE. A new approach to linear filtering and prediction problems. Transactions of the ASME-J Basic Eng. 1960;82(1):35-45.
  11. Wu Y, Luo J, Zhang P. A multi-sensor fusion method for target tracking using ensemble Kalman filter. Inf Fusion. 2016;27:65-76.
  12. Barrau A, Bonnabel S. The invariant extended Kalman filter as a stable observer. IEEE Trans on Automat Control. 2017;62(4):1797-1812.
  13. Chahbazian E, Singh G, Yan X. Unscented Kalman filtering with measurement model uncertainty. IEEE Trans Automat Control. 2022;67(3):1081-1094.
  14. Wiljes J, Acevedo W, Reich S. On the long-term stability of ensemble Kalman filter methods. J Comput Phys. 2018;374:95-112.
  15. Rohman AS, et al. Denoising MAX6675 reading using Kalman filter and factorial design. J Phys Conf Ser. 2021;1869(1):012106.
  16. Lotysh V, Gumeniuk L, Humeniuk P. Comparison of the effectiveness of time series analysis methods: SMA, WMA, EMA, EWMA, and Kalman filter for data analysis. Inform Autom Pomiary Gosp Ochr Środ. 2023;13(3):71-74. Available from: https://doi.org/10.35784/iapgos.3652.