Detection of Fuel Purity Using the TCS3200 Sensor Using the Euclidean Distance Function

Authors

  • Muhamad Daffa Al Fitra Universitas Ahmad Dahlan
  • Abdul Fadlil Universitas Ahmad Dahlan

DOI:

https://doi.org/10.12928/biste.v5i3.8260

Keywords:

RGB, Fuel Oil, Pertamax, Pertamax Turbo, Dexlite, Purity, TCS3200, Euclidean Distance

Abstract

Petroleum is oil produced by nature. It widely consumed by two-wheeled and four-wheeled vehicles. This research was conducted in order to know the RGB value of each fuel oil. This study aims to examine the purity of each fuel oil. Calculations in this study were carried out using the Euclidean Distance function aiming to find accuracy from the similarity of the average value and standard deviation of each fuel oil. In this study, detecting the purity of fuel oil using the TCS3200 sensor using the Arduino Uno as microcontroller and for output using I2C LCD 16x2. Before detecting fuel oil, sensor calibration is carried out for each fuel oil. After performing the calibration, 30 data collected. Data processing was carried out after the data was obtained, a search was carried out for the average and standard deviation of the RGB values for each fuel oil. After obtaining the values of the mean and standard deviation, we recalculate using the Euclidean Distance function because we get the similarity of the values of the mean and standard deviation. In the calculation of the accuracy of the Euclidean Distance function, it is found that the matching value of Pertamax is 25, Pertamax Turbo is 21, and Dexlite is 28. In this calculation, an accuracy of 82% is obtained.

References

Y. J Kuo, A. Maneengam, C. P. The, N. B. An, A. A. Nassani, M. Haffar, and A. Qadus, "Fresh evidence on environmental quality measures using natural resources, renewable energy, non-renewable energy and economic growth for 10 Asian nations from CS-ARDL technique," Fuel, vol. 320, no. 123914, 2022, https://doi.org/10.1016/j.fuel.2022.123914.

H. Wang, B. Yang, Q. Zhang, and W.Zhu "Catalytic routes for the conversion of lignocellulosic biomass to aviation fuel range hydrocarbons," Renewable and Sustainable Energy Reviews, vol. 120, no. 109612, 2020, https://doi.org/10.1016/j.rser.2019.109612.

I. Vinoth Kanna, M. Arulprakasajothi, and S. Eliyas, "A detailed study of IC engines and a novel discussion with comprehensive view of alternative fuels used in petrol and diesel engines," International Journal of Ambient Energy, vol. 42, no. 15, pp. 1794-1802, 2021, https://doi.org/10.1080/01430750.2019.1614994.

S. Kartik, H. K. Balsora, M. Sharma, A. Saptoro, R. K. Jain, J. B. Joshi, and A. Sharma, "Valorization of plastic wastes for production of fuels and value-added chemicals through pyrolysis–A review," Thermal Science and Engineering Progress, vol. 32, no. 101316, 2022, https://doi.org/10.1080/01430750.2019.1614994.

B. Lin and W. Wu, "The impact of electric vehicle penetration: A recursive dynamic CGE analysis of China," Energy economics, vol. 94, no. 105086, 2021, https://doi.org/10.1016/j.eneco.2020.105086.

N. O. Kapustin and D. A. Grushevenko, "Long-term electric vehicles outlook and their potential impact on electric grid," Energy Policy, vol. 137, no. 111103, 2020, https://doi.org/10.1016/j.enpol.2019.111103.

F. Khan, Y. Ali, and A. U. Khan, "Sustainable hybrid electric vehicle selection in the context of a developing country," Air Quality, Atmosphere & Health, vol. 13, pp. 489-499, 2020, https://doi.org/10.1007/s11869-020-00812-y.

D. Chen, K. Cen, F. Chen, and Y. Zhang, "Solar pyrolysis of cotton stalks: Combined effects of torrefaction pretreatment and HZSM-5 zeolite on the bio-fuels upgradation," Energy Conversion and Management, vol. 261, no. 115640, 2022, https://doi.org/10.1016/j.enconman.2022.115640.

R. A. Martínez-Ciro, F. E. López-Giraldo, A. F. Betancur-Perez, and J. M. Luna-Rivera, "Design and implementation of a multi-colour visible light communication system based on a light-to-frequency receiver," In Photonics, vol. 6, no. 2, p. 42, 2019, https://doi.org/10.3390/photonics6020042.

H. Singh, G. Singh, D. K. Mahajan, N. Kaur, and N. Singh, "A low-cost device for rapid ‘color to concentration’quantification of cyanide in real samples using paper-based sensing chip," Sensors and Actuators B: Chemical, vol. 322, no. 128622, 2020, https://doi.org/10.1016/j.snb.2020.128622.

B. F. R. Al Fajrin, A. Z. Jinan, P. S. Auliyah, A. F. Wulandari, and N.Tambunan, "The Impact of the Drastic Increase in Fuel Oil (Bbm) Prices," Journal of Social Research, vol. 2, no. 3, pp. 640-645, 2023, https://doi.org/10.55324/josr.v2i3.709.

C. Erdogdu and K. Y. Arslanli, "Analysis of the factors affecting petrol station values in Turkey," Journal of Property Research, pp. 1-22, 2023, https://doi.org/10.1080/09599916.2023.2199758.

G. Hilson and Y. Hu, "Changing priorities, shifting narratives: remapping rural livelihoods in Africa's artisanal and small-scale mining sector," Journal of Rural Studies, vol. 92, pp. 93-108, 2022, https://doi.org/10.1016/j.jrurstud.2022.03.010.

S. P. Sigué and A. D. Biboum, "Franchising in the Gasoline Retail Industry in Cameroon: A Strategic Perspective," Business in Africa in the Era of Digital Technology: Essays in Honour of Professor William Darley, pp. 103-119, 2021, https://doi.org/10.1007/978-3-030-70538-1_7.

K. M. C. Babu and P. A. Harsha Vardhini, "Design and Development of Cost Effective Arduino based Object Sorting System," 2020 International Conference on Smart Electronics and Communication (ICOSEC), pp. 913-918, 2020, https://doi.org/10.1109/ICOSEC49089.2020.9215269.

A. R. Mohd Khairudin, M. H. Abdul Karim, A. A. Samah, D. Irwansyah, M. Y. Yakob, and N. M. Zian, "Development of Colour Sorting Robotic Arm Using TCS3200 Sensor," 2021 IEEE 9th Conference on Systems, Process and Control (ICSPC 2021), pp. 108-113, 2021, https://doi.org/10.1109/ICSPC53359.2021.9689114.

R. Y. Dhawale and N. L. Gavankar, "Lane Detection and Lane Departure Warning System using Color Detection Sensor," 2019 2nd International Conference on Intelligent Computing, Instrumentation and Control Technologies (ICICICT), pp. 830-834, 2019, https://doi.org/10.1109/ICICICT46008.2019.8993254.

F. H. Altaf Hussain, V. K. Shukla, and A. Tripathi, "Sorting of Objects from Conveyer Belt through Colour Detection and Audrino UNO," 2021 International Conference on Communication information and Computing Technology (ICCICT), pp. 1-5, 2021, https://doi.org/10.1109/ICCICT50803.2021.9510037.

H. Kareem and D. Dunaev, "The Working Principles of ESP32 and Analytical Comparison of using Low-Cost Microcontroller Modules in Embedded Systems Design," 2021 4th International Conference on Circuits, Systems and Simulation (ICCSS), pp. 130-135, 2021, https://doi.org/10.1109/ICCSS51193.2021.9464217.

I. G. M. N. Desnanjaya and I. G. I. Sudipa, "The Control System of Kulkul Bali Based on Microcontroller," 2019 5th International Conference on New Media Studies (CONMEDIA), pp. 244-250, 2019, https://doi.org/10.1109/CONMEDIA46929.2019.8981841.

Downloads

Published

2023-07-25

How to Cite

[1]
M. D. A. Fitra and A. . Fadlil, “Detection of Fuel Purity Using the TCS3200 Sensor Using the Euclidean Distance Function”, Buletin Ilmiah Sarjana Teknik Elektro, vol. 5, no. 3, pp. 312–322, Jul. 2023.

Issue

Section

Artikel

Most read articles by the same author(s)