Formalin Detection Tool Using HCHO and MQ-7 Sensor Series with Fuzzy Logic

  • Cyntiya Laxmi Haura Universitas Wiralodra
  • Indri Yanti Universitas Wiralodra
  • Muh Pauzan Universitas Wiralodra
Keywords: Fuzzy Logic, Mamdani, Formalin, HCHO Sensor, MQ-7 Sensor

Abstract

Formalin is a hazardous chemical substance that has a pungent odor, is colorless or clear, and is flammable. It should be used to preserve corpses, but often misused by unscrupulous traders to preserve food. Formalin has harmful effects on the human body if it is ingested. Therefore, a practical tool that can detect the presence of formaldehyde in food is needed. Making a formalin detection tool using the Mamdani fuzzy inference system is very useful for detecting formalin and the level of food safety quickly and economically. This tool used the HCHO and the MQ-7 sensors combined with an expert system, namely fuzzy logic. The HCHO detects formalin in the food, like the sense of smell; meanwhile, the MQ-7 sensor detects carbon monoxide (CO). In the testing process, a heater was utilized to vaporize the food samples. The vapor was then detected by the two gas sensors and was processed using the fuzzy logic of the Mamdani method. To see the test’s accuracy using the tool, its results were compared with those of the formalin kit and the Fuzzy Logic Toolbox in MATLAB. The results showed that the lowest level of formalin in the tofu sample, namely sample H, was 0.60 ppm; meanwhile, the highest level was in sample E, with 13.64 ppm. The lowest formalin found in salted fish, namely sample P, was 7.14 ppm, while the highest formaldehyde level was in the salted fish sample, namely sample T, with 193.81 ppm. Compared with the formalin kit results, the accuracy value obtained from the total testing of twenty samples was 95%. The output of the tool was nearly identical to that of MATLAB: 85% with a difference of 0.01 and 15% with a difference of 0.02. The average error between tool output and MATLAB was 0.77%.

References

T. Harmawan and N. Fadilla, “Pemeriksaan Formalin terhadap Ikan Asin Kepala Batu (Pseudocienna Amovensis) dan Dencis (Sardinella Lemuru) di Daerah Medan Helvetia,” Quimica: J. Kim. Sains, Terap., Vol. 2, No. 2, pp. 14–17, Oct. 2020, doi: 10.33059/jq.v2i2.2683.

H. Suryadi, M. Kurniadi, and Y. Melanie, “Analisis Formalin dalam Sampel Ikan dan Udang Segar dari Pasar Muara Angke,” Maj. Ilm. Kefarmasian, Vol. 7, No. 3, pp. 16–31, Dec. 2010, doi: 10.7454/psr.v7i3.3458.

A.N. Sari, R. Rahmadani, and N. Hidayah, “Identifikasi Kadar Formalin pada Tahu Mentah yang Dijual di Pasar Tradisional Kota Banjarmasin,” J. Pharm. Care, Sci., Vol. 2, No. 1, pp. 5–14, Nov. 2021, doi: 10.33859/jpcs.v2i1.124.

F. Baskoro and R. Susanto, “Rancang Bangun Pendeteksi Formalin dan Rhodamin B Berbasis Arduino,” J. Elect. Eng. Comput. (JEECOM), Vol. 2, No. 2, pp. 31–40, Oct. 2020, doi: 10.33650/jeecom.v2i2.1450.

R. Rendyansyah, R. Passarella, and R. Eftika, “Implementasi Sensor Gas dan Fuzzy Logic untuk Mendeteksi Formalin pada Tahu,” Annu. Res. Semin., Vol. 4, No. 1, pp. 156–160, 2018.

D. Pratmanto and E. Nur Khasanah, “Alat Pendeteksi Formalin pada Ikan Segar Menggunakan Sensor HCHO Berbasis Arduino,” Conten: Comput., Netw. Technol., Vol. 1, No. 1, pp. 1–6, Jun. 2021, doi: 10.31294/conten.v1i1.387.

N.P.L. Laksmiani, I.N.K. Widjaja, and Sonia, “Stabilitas Formalin terhadap Pengaruh Suhu dan Lama Pemanasan,” J. Farm. Udayana, Vol. 4, No. 2, pp. 76–81, Dec. 2015.

M. Pauzan and I. Yanti, “Sistem Absensi Fingerprint Berbasis Arduino dengan Data Penyimpanan di Micro SD,” Gema Wiralodra, Vol. 13, No. 2, pp. 663–679, Oct. 2022, doi: 10.31943/gemawiralodra.v13i2.273.

M. Pauzan and I. Yanti, “Bel Sekolah Otomatis Berbasis Arduino yang Dikontrol Menggunakan Aplikasi Mobile,” J. Nas. Tek. Elekt., Teknol. Inf., Vol. 10, No. 2, pp. 163–169, May 2021, doi: 10.22146/jnteti.v10i2.1272.

A. Wanto, “Analisis Penerapan Fuzzy Inference System (FIS) dengan Metode Mamdani pada Sistem Prediksi Mahasiswa Non Aktif (Studi Kasus : AMIK Tunas Bangsa Pematangsiantar),” Pros. Semin. Nas. Inov., Teknol. Inf., 2016, pp. 393–400.

M. Irfan, C.N. Alam, and D. Tresna, “Implementation of Fuzzy Mamdani Logic Method for Student Drop Out Status Analytics,” J. Phys.: Conf. Ser., Vol. 1363, Nov. 2019, doi: 10.1088/1742-6596/1363/1/012056.

M. Rivai, Rendyansyah, and D. Purwanto, “Implementation of Fuzzy Logic Control in Robot Arm for Searching Location of Gas Leak,” 2015 Int. Semin. Intell. Technol., Its Appl. (ISITIA), 2015, pp. 69–74, doi: 10.1109/ISITIA.2015.7219955.

A. Fathoni, M. Mustain, and R. Wardhani, “Sistem Pendukung Keputusan Penjurusan Siswa pada SMA Pancamarga 1 Lamongan Menggunakan Metode Fuzzy,” Joutica: J. Inform. Unisla, Vol. 3, No. 1, pp. 151–158, Apr. 2018, doi: 10.30736/jti.v3i1.202.

P.Y. Priyono and A.M. Abadi, “Sistem Pengambilan Keputusan dalam Pemilihan Smartphone dengan Metode Mamdani Penggandaan,” Semin. Mat., Pendidik. Mat., 2017, pp. 187–194.

A. Patel, S.K. Gupta, Q. Rehman, and M.K. Verma, “Application of Fuzzy Logic in Biomedical Informatics,” J. Emerg. Trends Comput., Inf. Sci., Vol. 4, No. 1, pp. 57–62, Jan. 2013.

I. Agus, S.W. Ningsih, and A.M. Abadi, “Fuzzy Decision Making with Mamdani Method and Its Aplication for Selection of Used Car in Sleman Yogyakarta,” 4th ICRIEMS Proc., 2017, pp. 35–44.

C.S.S. Pamungkas, D.J. Manehat, and S.D.M. Mau, “Aplikasi Fuzzy Logic Memprediksi Intensitas Cahaya Lampu pada Kandang Ternak Ayam Broiler,” J. Komput. Terap., Vol. 5, No. 1, pp. 1–9, May 2019, doi: 10.35143/jkt.v5i1.2137.

S. Pertiwi, “Design and Making Formalin Level Detection Tools in Food Using Archuino Uno-Based HCHO Sensors with Notification Through SMS,” Undergraduate thesis, Universitas Pembangunan Panca Budi, Medan, Sumatera Utara, Indonesia 2019.

V. Vidiawati, “Analisis Kandungan Formalin pada Tahu di Gampong Ujung Padang, Puloe Ie Dan Blok 10 Kecamatan Kuala Kabupaten Nagan Raya Tahun 2013,” Undergraduate thesis, Universitas Teuku Umar, Aceh Barat, Aceh, Indonesia 2013.

A.T. Lema and J.M. Jacob, “Deteksi Formalin dan Logam Berat pada Ikan Segar di Pasar Tradisional Kota Kupang,” J. Kim. (J. Chem.), Vol. 14, No. 2, pp. 147–152, Jul. 2020, doi: 10.24843/jchem.2020.v14.i02.p07.

A. Rivanda, “Pengaruh Paparan Karbon Monoksida terhadap Daya Konduksi Trakea,” J. Majority, Vol. 4, No. 8, pp. 153–159, Nov. 2015.

A. Fauzi, A. Hermiati, A. Wardani, and N. Husodo, “Mesin Roll Bending Plat Akrilik,” Pekan Ilm. Mahasiswa Nas. Program Kreativitas Mhs. - Teknol. 2014, 2014, pp. 1–9.

R.A. Ivory, N. Kholis, N. Nurhayati, and F. Baskoro, “Review Penggunaan Sensor Suhu terhadap Respon Pembacaan Skala pada Inkubator Bayi,” J. Tek. Elekt., Vol. 10, No. 1, pp. 185–194, Jan. 2021, doi: 10.26740/jte.v10n1.p185-194.

Published
2023-05-25
How to Cite
Cyntiya Laxmi Haura, Indri Yanti, & Muh Pauzan. (2023). Formalin Detection Tool Using HCHO and MQ-7 Sensor Series with Fuzzy Logic. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi, 12(2), 117-123. https://doi.org/10.22146/jnteti.v12i2.7097
Section
Articles