Kalman Filter for Noise Reducer on Sensor Readings

Alfian Ma'arif, Iswanto Iswanto, Aninditya Anggari Nuryono, Rio Ikhsan Alfian


Most systems nowadays require high-sensitivity sensors to increase its system performances. However, high-sensitivity sensors, i.e. accelerometer and gyro, are very vulnerable to noise when reading data from environment. Noise on data-readings can be fatal since the real measured-data contribute to the performance of a controller, or the augmented system in general. The paper will discuss about designing the required equation and the parameter of modified Standard Kalman Filter for filtering or reducing the noise, disturbance and extremely varying of sensor data. The Kalman Filter equation will be theoretically analyzed and designed based on its component of equation. Also, some values of measurement and variance constants will be simulated in MATLAB and then the filtered result will be analyzed to obtain the best suitable parameter value. Then, the design will be implemented in real-time on Arduino to reduce the noise of IMU (Inertial Measurements Unit) sensor reading. Based on the simulation and real-time implementation result, the proposed Kalman filter equation is able to filter signal with noises especially if there is any extreme variation of data without any information available of noise frequency that may happen to sensor- reading. The recommended ratio of constants in Kalman Filter is 100 with measurement constant should be greater than process variance constant.


Kalman Filter; Noise Reducer; Noise Filter; Sensor

Full Text:



S. A. Quadri and O. Sidek, “Error and Noise Analysis in an IMU using Kalman Filter,” International Journal of Hybrid Information Technology, vol. 7, no. 3, pp. 39–48, 2014.

G. Pang and H. Liu, “Evaluation of a low-cost MEMS accelerometer for distance measurement,” Journal of Intelligent and Robotic Systems: Theory and Applications, vol. 30, no. 3, pp. 249–265, Mar. 2001.

M. Safitri, A. Cahyadi, E. Firmansyah, and J. Grafika, “Estimasi Posisi UAV dengan Kalman Filter,” no. September, pp. 240–245, 2015.

N. G. M. Thao, D. H. Nghia, and N. H. Phuc, “A PID backstepping controller for two-wheeled self- balancing robot,” in 2010 International Forum on Strategic Technology, IFOST 2010, 2010, pp. 76– 81.

M. Kamaludin and W. S. Aji, “Manuver Robot Manual Menggunakan PID pada Robot Manual KRAI 2018,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 1, no. 3, p. 91, 2019.

K. Kunal, A. Z. Arfianto, J. E. Poetro, F. Waseel, and R. A. Atmoko, “Accelerometer Implementation as Feedback on 5 Degree of Freedom Arm Robot,” Journal of Robotics and Control (JRC), vol. 1, no. 1, pp. 31–34, 2020.

Lasmadi, A. Cahyadi, S. Herdjunanto, and R. Hidayat, “Inertial navigation for quadrotor using kalman filter with drift compensation,” International Journal of Electrical and Computer Engineering, vol. 7, no. 5, pp. 2596–2604, Oct. 2017.

A. Ma’arif, A. imam Cahyadi, and O. Wahyunggoro, “CDM Based Servo State Feedback Controller with Feedback Linearization for Magnetic Levitation Ball System,” International Journal on Advanced Science, Engineering and Information Technology, vol. 8, no. 3, p. 930, Jun. 2018.

R. E. Kalman, “A new approach to linear filtering and prediction problems,” Journal of Fluids Engineering, Transactions of the ASME, vol. 82, no. 1, pp. 35–45, Mar. 1960.

M. S. Grewal and A. P. Andrews, Kalman Filtering: Theory and Practice with MATLAB. Wiley, 2015.

L. Lasmadi, “Attitude Estimation for Quadrotor Based on IMU with Kalman-Filter,” Conference SENATIK STT Adisutjipto Yogyakarta, vol. 4, no. 0, pp. 351–358, Nov. 2018.

I. Maulana and N. S. Widodo, “Sistem Pengolah Musik Sebagai Kontrol Gerak Robot Humanoid,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 1, no. 2, p. 46, 2019.

A. Ma’arif, A. I. Cahyadi, O. Wahyunggoro, and Herianto, “Servo state feedback based on Coefficient Diagram Method in magnetic levitation system with feedback linearization,” in 2017 3rd International Conference on Science and Technology - Computer (ICST), 2017, pp. 22–27.

A. Ma’Arif, H. Nabila, Iswanto, and O. Wahyunggoro, “Application of Intelligent Search Algorithms in Proportional-Integral-Derivative Control of Direct-Current Motor System,” in Journal of Physics: Conference Series, 2019, vol. 1373, no. 1.

P. A. Topan, M. N. Ramadan, G. Fathoni, A. I. Cahyadi, and O. Wahyunggoro, “State of Charge (SOC) and State of Health (SOH) estimation on lithium polymer battery via Kalman filter,” in Proceedings - 2016 2nd International Conference on Science and Technology-Computer, ICST 2016, 2017, pp. 93–96.

G. Fathoni, S. A. Widayat, P. A. Topan, A. Jalil, A. I. Cahyadi, and O. Wahyunggoro, “Comparison of State-of-Charge (SOC) estimation performance based on three popular methods: Coulomb counting, open circuit voltage, and Kalman filter,” in Proceedings of the 2nd International Conference on Automation, Cognitive Science, Optics, Micro Electro-Mechanical System, and Information Technology, ICACOMIT 2017, 2017, vol. 2018-January, pp. 70–74.

M. Shyamalagowri and R. Rajeswari, “Unscented Kalman filter based nonlinear state estimation case study-Nonlinear process control reactor (Continuous stirred tank reactor),” in Proceedings of the 10th International Conference on Intelligent Systems and Control, ISCO 2016, 2016.

F. A. Ruslan, A. M. Samad, and R. Adnan, “Modelling of flood prediction system using hybrid NNARX and Extended Kalman Filter,” in Proceedings - 2017 IEEE 13th International Colloquium on Signal Processing and its Applications, CSPA 2017, 2017, pp. 149–152.

Z. Dzulfikri, N. Nuryanti, and Y. Erdani, “Design and Implementation of Artificial Neural Networks to Predict Wind Directions on Controlling Yaw of Wind Turbine Prototype,” Journal of Robotics and Control (JRC), vol. 1, no. 1, 2020.

Y. Wu, Y. Sui, and G. Wang, “Vision-Based Real-Time Aerial Object Localization and Tracking for UAV Sensing System,” IEEE Access, vol. 5, pp. 23969–23978, Oct. 2017.

Y. Pei, S. Biswas, D. S. Fussell, and K. Pingali, “An elementary introduction to Kalman filtering,” Communications of the ACM, vol. 62, no. 11, pp. 122–133, Nov. 2019.

S. Nurmaini and S. Pangidoan, “Localization of Leader-Follower Robot Using Extended Kalman Filter,” Computer Engineering and Applications Journal, vol. 7, no. 2, pp. 95–108, Jul. 2018.

H. Khazraj, F. Faria Da Silva, and C. L. Bak, “A performance comparison between extended Kalman Filter and unscented Kalman Filter in power system dynamic state estimation,” in Proceedings - 2016 51st International Universities Power Engineering Conference, UPEC 2016, 2016, vol. 2017- January, pp. 1–6.

S. Afrasiabi, M. Afrasiabi, M. Rastegar, M. Mohammadi, B. Parang, and F. Ferdowsi, “Ensemble kalman filter based dynamic state estimation of PMSG-based wind turbine,” in 2019 IEEE Texas Power and Energy Conference, TPEC 2019, 2019.

DOI: https://doi.org/10.31763/simple.v1i2.2


  • There are currently no refbacks.

Copyright (c) 2019 Alfian Ma'arif, Iswanto Iswanto, Aninditya Anggari Nuryono, Rio Ikhsan Alfian

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


ISSN Online: 2714-6677 | Print: 2714-6669
Published by Association for Scientific Computing Electrical and Engineering (ASCEE)
Website : https://simple.ascee.org/index.php/simple/
Email 1 : simple@ascee.org
Email 2 : azhari@ascee.org


View My Stats