Volume 1, Issue 2, Sustainable Energy Control and Optimization
Volume 1, Issue 2, 2025
Submit Manuscript Edit a Special Issue
Article QR Code
Article QR Code
Scan the QR code for reading
Popular articles
Sustainable Energy Control and Optimization, Volume 1, Issue 2, 2025: 67-76

Open Access | Research Article | 29 December 2025
Comparative Simulation of Kalman Filter and Moving Average on Siemens S7-1200 PLC-Based Loadcell Sensor Readings
1 Marine Electrical Engineering Department, Shipbuilding Institute of Polytechnic Surabaya, Surabaya 60111, Indonesia
2 Electrical Engineering Department, National Taiwan University of Science and Technology, Taipei 106335, Taiwan
* Corresponding Author: Noorman Rinanto, [email protected]
ARK: ark:/57805/seco.2025.538779
Received: 28 October 2025, Accepted: 17 November 2025, Published: 29 December 2025  
Abstract
This work compared the effectiveness of the Kalman Filter and Moving Average Filter methods in minimizing noise and improving the stability of signal readings on a load-cell sensor simulation. The two filtering methods were applied to process the sensor data, to enhance both the precision and stability of the signal readings. According to the test results, the Kalman filter produced a lower average error of 0.0236, compared to 0.0244 when no filter was used, demonstrating its strong ability to reduce noise and signal fluctuations. On the other hand, the Moving Average Filter recorded a slightly higher error of 0.0238. Although it effectively smooths the signal, its performance is less reliable when dealing with higher levels of interference. Based on these findings, the Kalman Filter is considered more suitable for applications that require highly accurate and stable measurements, while the Moving Average Filter may be sufficient for environments with minimal noise.

Graphical Abstract
Comparative Simulation of Kalman Filter and Moving Average on Siemens S7-1200 PLC-Based Loadcell Sensor Readings

Keywords
kalman filter
moving average filter
siemens S7-1200 PLC
load-cell
signal filtering

Data Availability Statement
Data will be made available on request.

Funding
This work was supported without any funding.

Conflicts of Interest
The authors declare no conflicts of interest.

Ethical Approval and Consent to Participate
Not applicable.

References
  1. Al-Dahiree, O. S., Tokhi, M. O., Hadi, N. H., Hmoad, N. R., Ghazilla, R. A. R., Yap, H. J., & Albaadani, E. A. (2022). Design and shape optimization of strain gauge load cell for axial force measurement for test benches. Sensors, 22(19), 7508.
    [CrossRef]   [Google Scholar]
  2. Alphonsus, E. R., & Abdullah, M. O. (2016). A review on the applications of programmable logic controllers (PLCs). Renewable and Sustainable Energy Reviews, 60, 1185-1205.
    [CrossRef]   [Google Scholar]
  3. Baskoro, F., Rohman, M., & Nurdiansyah, A. P. (2025). Impact of Sample Size Variation on Moving Average Filter Performance for Stability and Accuracy in Ultrasonic Sensor Measurements. TEM Journal, 14(2).
    [CrossRef]   [Google Scholar]
  4. Berger, H. (2013). Automating with Simatic S7-1200: Configuration, programming and testing with Step 7 Basic. John Wiley & Sons.
    [Google Scholar]
  5. Chalifatullah, F. A., Pambudi, W. S., & Masfufiah, I. (2022). Implementasi Moving Average dan Kalman Filter pada Wireless Odometer untuk Informasi Service Kendaraan Bermotor. Jurnal Sistem Komputer dan Informatika (JSON), 4(1), 156-164.
    [Google Scholar]
  6. Fambudi, J. S., Syai’in, M., & Aditya, R. Y. (2024). Penerapan Kalman Filter Pada Pembacaan Sensor Loadcell Berbasis PLC Siemens S7-1200. Jurnal Elektronika dan Otomasi Industri, 11(3), 700-707.
    [CrossRef]   [Google Scholar]
  7. Thinh, D. T., Quan, N. B. H., & Maneetien, N. (2018, November). Implementation of moving average filter on STM32F4 for vibration sensor application. In 2018 4th International Conference on Green Technology and Sustainable Development (GTSD) (pp. 627-631). IEEE.
    [CrossRef]   [Google Scholar]
  8. Jwo, D. J., & Biswal, A. (2023). Implementation and performance Analysis of kalman filters with consistency validation. Mathematics, 11(3), 521.
    [CrossRef]   [Google Scholar]
  9. Muller, I., de Brito, R. M., Pereira, C. E., & Brusamarello, V. (2010). Load cells in force sensing analysis--theory and a novel application. IEEE Instrumentation & Measurement Magazine, 13(1), 15-19.
    [CrossRef]   [Google Scholar]
  10. Zhang, X., Liang, H., Feng, J., & Tan, H. (2022). Kalman filter based high precision temperature data processing method. Frontiers in Energy Research, 10, 832346.
    [CrossRef]   [Google Scholar]

Cite This Article
APA Style
Rinanto, N., Wuri, A. P. A., Adhitya, R. Y., & Ismail, H. (2025). Comparative Simulation of Kalman Filter and Moving Average on Siemens S7-1200 PLC-Based Loadcell Sensor Readings. Sustainable Energy Control and Optimization, 1(2), 67–76. https://doi.org/10.62762/SECO.2025.538779
Export Citation
RIS Format
Compatible with EndNote, Zotero, Mendeley, and other reference managers
RIS format data for reference managers
TY  - JOUR
AU  - Rinanto, Noorman
AU  - Wuri, Adinda Putri Asrining
AU  - Adhitya, Ryan Yudha
AU  - Ismail, Harun
PY  - 2025
DA  - 2025/12/29
TI  - Comparative Simulation of Kalman Filter and Moving Average on Siemens S7-1200 PLC-Based Loadcell Sensor Readings
JO  - Sustainable Energy Control and Optimization
T2  - Sustainable Energy Control and Optimization
JF  - Sustainable Energy Control and Optimization
VL  - 1
IS  - 2
SP  - 67
EP  - 76
DO  - 10.62762/SECO.2025.538779
UR  - https://www.icck.org/article/abs/SECO.2025.538779
KW  - kalman filter
KW  - moving average filter
KW  - siemens S7-1200 PLC
KW  - load-cell
KW  - signal filtering
AB  - This work compared the effectiveness of the Kalman Filter and Moving Average Filter methods in minimizing noise and improving the stability of signal readings on a load-cell sensor simulation. The two filtering methods were applied to process the sensor data, to enhance both the precision and stability of the signal readings. According to the test results, the Kalman filter produced a lower average error of 0.0236, compared to 0.0244 when no filter was used, demonstrating its strong ability to reduce noise and signal fluctuations. On the other hand, the Moving Average Filter recorded a slightly higher error of 0.0238. Although it effectively smooths the signal, its performance is less reliable when dealing with higher levels of interference. Based on these findings, the Kalman Filter is considered more suitable for applications that require highly accurate and stable measurements, while the Moving Average Filter may be sufficient for environments with minimal noise.
SN  - 3068-7330
PB  - Institute of Central Computation and Knowledge
LA  - English
ER  - 
BibTeX Format
Compatible with LaTeX, BibTeX, and other reference managers
BibTeX format data for LaTeX and reference managers
@article{Rinanto2025Comparativ,
  author = {Noorman Rinanto and Adinda Putri Asrining Wuri and Ryan Yudha Adhitya and Harun Ismail},
  title = {Comparative Simulation of Kalman Filter and Moving Average on Siemens S7-1200 PLC-Based Loadcell Sensor Readings},
  journal = {Sustainable Energy Control and Optimization},
  year = {2025},
  volume = {1},
  number = {2},
  pages = {67-76},
  doi = {10.62762/SECO.2025.538779},
  url = {https://www.icck.org/article/abs/SECO.2025.538779},
  abstract = {This work compared the effectiveness of the Kalman Filter and Moving Average Filter methods in minimizing noise and improving the stability of signal readings on a load-cell sensor simulation. The two filtering methods were applied to process the sensor data, to enhance both the precision and stability of the signal readings. According to the test results, the Kalman filter produced a lower average error of 0.0236, compared to 0.0244 when no filter was used, demonstrating its strong ability to reduce noise and signal fluctuations. On the other hand, the Moving Average Filter recorded a slightly higher error of 0.0238. Although it effectively smooths the signal, its performance is less reliable when dealing with higher levels of interference. Based on these findings, the Kalman Filter is considered more suitable for applications that require highly accurate and stable measurements, while the Moving Average Filter may be sufficient for environments with minimal noise.},
  keywords = {kalman filter, moving average filter, siemens S7-1200 PLC, load-cell, signal filtering},
  issn = {3068-7330},
  publisher = {Institute of Central Computation and Knowledge}
}

Article Metrics
Citations:

Crossref

0

Scopus

0

Web of Science

0
Article Access Statistics:
Views: 275
PDF Downloads: 70

Publisher's Note
ICCK stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and Permissions
CC BY Copyright © 2025 by the Author(s). Published by Institute of Central Computation and Knowledge. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.
Sustainable Energy Control and Optimization

Sustainable Energy Control and Optimization

ISSN: 3068-7330 (Online)

Email: [email protected]

Portico

Portico

All published articles are preserved here permanently:
https://www.portico.org/publishers/icck/