REDUCING NOISE IN MICROCONTROLLER BASED TEMPERATURE READING WITH LOW PASS DIGITAL FILTER


Güçlüer M., Erfidan T.

5. INTERNATIONAL DİCLE SCIENTIFIC RESEARCH AND INNOVATION CONGRESS, Diyarbakır, Turkey, 9 - 10 September 2023, vol.1, pp.408-413

  • Publication Type: Conference Paper / Full Text
  • Volume: 1
  • City: Diyarbakır
  • Country: Turkey
  • Page Numbers: pp.408-413
  • Kocaeli University Affiliated: Yes

Abstract

Temperature measurement is important in controlling many industrial processes, monitoring the health of people

and ensuring the safety of systems. Therefore, the temperature measurement should be as noiseless and clean as

possible. In this study, a simple explanation of the low-pass filter is given. This study aimed to make the

electrical low-pass filter function in with software. The expression of the low-pass filter using electrical

equations and the basic Kirchoff law is made and the mathematical equation is derived. The mathematical

equation has been discrete based on the electrical equation and has been adapted to the software. After obtaining

the discrete equation, it was processed into the microcontroller as software. According to the obtained equation,

the cut-off frequency was simply calculated. The temperature reading data was subjected to the obtained

mathematical equation and the output was sent to a display hardware.

Sıcaklık ölçümü, birçok endüstriyel sürecin kontrol edilmesi, insanların sağlık durumunun izlenmesi ve

sistemlerin güvenliğinin sağlanması açısından önemlidir. Dolasıyla sıcaklık ölçümü olabildiğince gürültüsüz ve

temiz olmalıdır. Yanlış sıcaklık ölçümü sistemlerin yanlış ve verimsiz çalışmasına yol açabilir. Bu çalışmada,

alçak geçiren filtrenin basitçe açıklaması yapılmıştır. Elektriksel alçak geçiren filtre işlevinin, yazılımsal olarak

gerçekleştirilmesi hedeflenmiştir. Alçak geçiren filtrenin elektriksel denklemler ve temel kirchoff yasası

kullanılarak ifadesi yapılıp, matematiksel denklemi çıkartılmıştır. Matematiksel denklem, elektriksel denklemden

yola çıkılarak ayrık duruma getirilmiştir ve yazılıma uyarlanabilecek hale getirilmiştir. Ayrık denklem elde

edildikten sonra mikrodenetleyiciye yazılımsal olarak işlenmiştir. Elde edilen denkleme göre basitçe kesim

frekansı hesaplanmıştır. Sıcaklık okuma verisi, elde edilen matematiksel denkleme tabii tutulup çıktısı bir

görüntü donanımına gönderilmiştir.