Curve Fitting Kurva Tegangan Keluaran Sensor GP2Y0A02YK untuk Unjuk Kerja yang Lebih Akurat

Authors

  • Agung Priyanto Universitas Sarjanawiyata Tamansiswa
  • Buntoro Irawan Universitas Sarjanawiyata Tamansiswa
  • Titik Rahmawati Universitas Sarjanawiyata Tamansiswa
  • Ari Cahyono Universitas Safin Pati

DOI:

https://doi.org/10.30989/teknomatika.v17i2.1540

Keywords:

IoT, WSN, Curve fitting, GP2Y0A02YK

Abstract

Sensors in the internet of things (IoT) and wireless sensor networks (WSN) for various purposes often require recalibration. The datasheet that accompanies the sensor usually displays a table of sensor’s output with minimum, typical and maximum values. This means that there is a tolerance of the values ​​that are still allowed by the manufacturer. For sensors with variable output voltage, it is usually displayed graphically. If the graph is not linear, curve fitting is needed to obtain the curve equation. In this research, curve fitting will be carried out using the least sum of squared errors method using a matrix. The curve equation resulting from curve fitting is needed for data processing or if it is needed to predict fixed variables if the independent variables are known. One of the sensors that has an output voltage curve that is not a straight line is the distance sensor from Sharp, the GP2Y0A02YK series. According to the datasheet, this sensor can be used to measure distances from 20 centimeters to 150 centimeters. The graph of the output voltage measuring distances from 20 cm to 150 cm is in the form of a curved curve. With calibration using curve fitting, it is hoped that the accuracy of sensor measurements and the processing of its output data will increase.

References

[1] S. Fatima, “Ubiquitous Computing: Advantages and Challenges,” International Journal of Computer Science and Mobile Applications, Vol.6 Issue. 4, April 2018, pp. 217-221.

[2] M. Rodriguez, M. Celep, and M. Hudlicka, “Calibration of power sensors for low-power measurement: Best practice guide,” EMPIR 15RPT01, RFMicrowave, 2019.

[3] A. Prato, F. Pennecchi, G Genta, and A. Schiavi, “A Bayesian statistical method for large-scale MEMS-based sensors calibration: a case study on 100 digital accelerometers,” Metrologia, ,Vol.61(1), December 2023, DOI 10.1088/1681-7575/ad1692.

[4] T. Barrett and A. K. Mishra, “Statistical Study of Sensor Data and Investigation of ML-Based Calibration Algorithms for Inexpensive Sensor Modules: Experiments From Cape Point,” IEEE Transactions on Instrumentation and Measurement, Vol.73, March 2024, DOI: 10.1109/TIM.2024.3372211.

[5] M. Li and L. D. Li, “A novel method of curve fitting based on optimized extreme learning machine,” Applied artificial intelligence, Vol. 34 no.12, 2020, pp. 849-865, https://doi.org/10.1080/08839514.2020.1787677.

[6] H. P. Gavin, “The Levenberg-Marquardt algorithm for nonlinear least squares curve-fitting problems,” Department of Civil and Environmental Engineering Duke University, August 2019.

[7] A. Alhashimi, Statistical sensor calibration algorithms, Doctoral dissertation, Luleå University of Technology, 2018.

[8] Y. Zhang, R. Wang, S. Li, and S. Qi,“Temperature sensor denoising algorithm based on curve fitting and compound kalman filtering,” Sensors, Vol.20 no.7, March 2020, https://doi.org/10.3390/s20071959.

[9] Sharp Corp., GP2Y0A02YK Datasheet, 1990, [Online]. Available: https://www.alldatasheet.com/datasheet-pdf/pdf/412633/SHARP/GP2Y0A02YK0F.html [Accessed: October-03-2024].

[10] Microrisc, TR-52B Transceiver Module Data Sheet, 2014, [Online]. Available: https://static.iqrf.org/Datasheet_TR-52B_140430.pdf [Accessed: October-03-2024].

[11] A. R. I. Windyarto, Teknik Komputasi, FT-UGM, 2009.

[12] S. Arlinghaus, Practical handbook of curve fitting, CRC press, 2023.

Published

2024-12-27

How to Cite

Priyanto, A., Buntoro Irawan, Titik Rahmawati, & Ari Cahyono. (2024). Curve Fitting Kurva Tegangan Keluaran Sensor GP2Y0A02YK untuk Unjuk Kerja yang Lebih Akurat. Teknomatika: Jurnal Informatika Dan Komputer, 17(2), 30–37. https://doi.org/10.30989/teknomatika.v17i2.1540