Application of Mamdani Fuzzy Logic in Determining the Quality Level of Cooking Oil Based on Acid Value and Color
DOI:
https://doi.org/10.62535/qg4kpq46Keywords:
Mamdani fuzzy, cooking oil, color, acid value, qualityAbstract
Quality control of cooking oil is a crucial aspect of maintaining product characteristics and ensuring consumer health. A common challenge is variation in quality parameter values such as acid value and color which cannot be easily classified into simple "good" or "bad" categories. This study aims to apply Mamdani fuzzy logic to design a quality assessment system for cooking oil based on a combination of its acid value and color. Data for these parameters were obtained through a literature review and processed using the Fuzzy Logic Toolbox in MATLAB software. The system was developed with two input variables acid value (ranging from 0 to 0.6) and color (ranging from 210 to 330) and one output variable: the oil quality level (ranging from 0 to 1). The inference process utilizes nine IF-THEN fuzzy rules with an OR operator, employing the centroid method for defuzzification. Testing on a sample with an acid value of 0.5 and a color value of 300 yielded crisp output of 0.67 (via manual calculation) and 0.672 (via MATLAB simulation), both indicating a "medium" quality category. This research demonstrates that the Mamdani fuzzy method has the potential to facilitate a systematic and objective assessment of cooking oil quality.
References
Adnyana, G. D. W., Arthana, I. K. R., Yudistira, B. G. K., Nugraha, P. Z. E. S., Shiddiq, J. F., & Mahaputra, I. P. R. (2026). Analisis Desain Fuzzy Mamdani Untuk Klasifikasi Kualitas Air Bioflok Berbasis Iot. Jurnal Informatika dan Teknik Elektro Terapan, 14(2).
Aldi, A., Giyanto, Purwanto, H. (2024). Pengaruh Kadar Air, Suhu Dan Lama Penyimpanan Terhadap Kenaikan Asam Lemak Bebas Pada Crude Palm Oil (CPO). Agro Fabrica: Jurnal Teknik Pengolahan Hasil Perkebunan Kelapa Sawit dan Karet, 6(2), 96–106.
Alfaizin, S. M., Savitri, P., Agustin, D., Muntafa, Y. (2025). Analisis Prediksi Penjualan Menggunakan Metode Fuzzy Mamdani dan POM-QM : Studi Kasus pada CV Mamifood Sukses Abadi. Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika, 3(1), 48-59. https://doi.org/10.61132/jupiter.v3i1.655.
Ariyanto, A. D., Hariadi, B., Swarga, L. A., Santoso, S., & Hartayu, R. (2025, June). Pengembangan Sistem Deteksi Kualitas Minyak Goreng Sawit Berbasis Fuzzy Logic. In Prosiding Seminar Nasional Teknik Elektro, Sistem Informasi, dan Teknik Informatika (SNESTIK) (Vol. 5, No. 1, pp. 219-226).
Fitri, A.S., & Fitriana, Y.A.N. (2019). Analisis Angka Asam Pada Minyak Goreng Dan Minyak Zaitun. Sainteks, 16(2), 115-119. https://doi.org/10.30595/sainteks.v16i2.7128.
Fitri, Y. F. (2026). Pengendalian Kualitas Produk Minyak Goreng dengan Menggunakan Seven Tools pada PT Industri Nabati Lestari (Doctoral dissertation, Fakultas Teknik, Universitas Islam Sumatera Utara).
Haque, M. D. D., Sriani. (2023). Penerapan Logika Fuzzy Mamdani Untuk Optimasi Persediaan Stok Makanan Hewan. KLIK: Kajian Ilmiah Informatika dan Komputer, 4(1), 427-437. https://doi.org/10.30865/klik.v4i1.1160.
Hidayat, A. P., Santosa, S. H., Siskandar, R., Baskoro, R.G. (2021). Evaluation Of Chicken Eggs Supply With Fuzzy Ahp Approach Through Development Of Safea Software. Jurnal Logistik Indonesia, 5(2), 104–110.
Hidayat, A. P., Wiyoto, W., Pratama, A. J., Heryudianto, Santosa, S. H., Siskandar, R. (2023). Fuzzy Analytical Hierarchy Process (Ahp) Model For Chicken Egg Supply And Demand Management Through Safces Application Development Strategies. E3S Web of Conferences, 454(03004), 1–10. https://doi.org/10.1051/e3sconf/202345403004.
Husain, F., & Marzuki, I. (2021). Pengaruh Temperatur Penyimpanan Terhadap Mutu Dan Kualitas Minyak Goreng Kelapa Sawit. Serambi Engineering, 6(4), 2270-2278. https://doi.org/10.32672/JSE.V6I4.34702618.pdf.
Khafiyyan, F., Febrianti, R., Pradana, L. S. A., Syamsudin, M. F., Nugraha, I. J., Chairunnisa, D. Y., Siskandar, R. (2023). The Quality Otomation System and monitoring of Bok Choy (Brassica chinensis L.) in Hydroponic Greenhouses based on Fuzzy Logic using Arduino Uno. Agrifarm: Jurnal Ilmu Pertanian, 12(1), 18-31. https://doi.org/10.24903/ajip.v12i1.2221.
Liswardani, F., Ramadhan, I.R., Shoultan, M.A., Pratama, Y., Chairunisa, D.Y., Siskandar, R. 2023. Logika Fuzzy Untuk Menentukan Idealitas Suhu Dan Kelembapan Pada Inkubator Telur Ayam. Jurnal Ilmiah Flash, 9(1), 1–8.
Mada, G. S., Dethan, N. K. F., & Maharani, A. E. S. H. (2022). The Defuzzification Methods Comparison Of Mamdani Fuzzy Inference System In Predicting Tofu Production. Jurnal Varian, 5(2), 137-148. https://doi.org/10.30812/varian.v5i2.1816.
Manurung, M., Suaniti, N. M., & Putra, K. D. (2018). Perubahan Kualitas Minyak Goreng Akibat Lamanya Pemanasan. Jurnal Kimia, 12(1), 59-64.
Mavani, N. R., Yuh., L. C., Hashim, H., Rahman, N. A., Ali, J. M. 2021. Fuzzy Mamdani Based User-friendly Interface For Food Preservatives Determination. Food and Bioproducts Processing, 126, 282-292. https://doi.org/10.1016/j.fbp.2021.01.012.
Novi, N. S., & Denok, D. W. (2024). Penerapan Algoritma Fuzzy Mamdani Pada Monitoring Dan Sistem Kontrol Pemakaian Kipas Angin Di Ruangan Berbasis Internet Of Things. Jurnal PROCESSOR, 19(2). https://doi.org/10.33998/processor.2024.19.2.1955.
Pratiwi, N. P. C., & Meikapasa, N. W. P. (2025). Analisis Total Oxidation Value Minyak Goreng Bekas pada Beberapa Produk Olahan Pangan di Pasaran: Analysis Total Oxidation Value of Used Cooking Oil in Some Processed Food Products on The Market. Jurnal Teknologi dan Mutu Pangan, 3(2), 88-95. https://doi.org/10.30812/jtmp.v3i2.4782.
Putri, A. D., & Maulana, A. (2023). Penerapan Metode Mamdani Fuzzy Logic untuk Menentukan Pembelian Alat Berat dalam Proyek Migas di PT SMOE Indonesia. Jurnal Desain Dan Analisis Teknologi, 2(2), 138-149. https://doi.org/10.58520/jddat.v2i2.32.
Qothrunnada, L., Yanti. I., & Pauzan, M. (2024). Implementasi Logika Fuzzy Pada Alat Pendeteksi Kualitas Minyak Goreng Berdasarkan Ph Dan Tingkat Kejernihan. Jurnal Teknologi Informasi dan Ilmu Komputer, 11(1), 225-234. https://doi.org/10.25126/jtiik.20241118289.
Santosa, S. H., Hidayat, A. P., & Siskandar, R. (2021). Safea Application Design On Determining The Optimal Order Quantity Of Chicken Eggs Based On Fuzzy Logic. Int J Artif Intell, 10(4), 858-871. http://doi.org/10.11591/ijai.v10.i4.pp858-871.
Santosa, S. H., Hidayat, A. P., & Siskandar, R. (2022). Raw Material Planning For Tapioca Flour Production Based On Fuzzy Logic Approach: A Case Study. Jurnal Sistem Dan Manajemen Industri, 6(1), 67-76. https://doi.org/10.30656/jsmi.v6i1.4594.
Santosa, S. H., Hidayat, A. P., Siskandar, R., Rizkiriani, A. (2026). Integration Adaptive Neuro-fuzzy Inference System And Hypothesis Testing In Chicken Egg Inventory Prediction. Journal of Engineering and Management in Industrial System. 14(1): 12–23. https://doi.org/10.21776/uh.irmis.2026.14.01.2.
Santosa, S.H., Hidayat, A.P., Siskandar, R., Rizkiriani, A., & Husyairi, K.A. (2024). Fuzzy AHP Approach In Handling Returns Product Of Bottle Glass Mineral Water At Pt Marina. Jurnal Sains dan Teknologi, 24(1), 59-74. https://doi.org/10.36275/vvp9qe67.
Sari, R., Pramono, Y., & Abduh, S. (2024). Analysis of The Physical, Chemical, and Organoleptic Quality of Fried Peas with SPC (Statistical Process Control) And PCA (Principal Component Analysis) Approaches. Jurnal Teknologi Hasil Pertanian, 17(1), 87-102. doi:http://dx.doi.org/10.20961/jthp.v17i1.60766.
Setia, B., Ramadhan, A. (2019). Penerapan Logika Fuzzy pada Sistem Cerdas. Jurnal Sistem Cerdas, 2(1), 61 - 66. https://doi.org/10.37396/jsc.v2i1.18.
Sinaga, F. F. A., Aulya, A., Destian, M. R., Andani, S. R. (2025). Sistem Pendukung Keputusan Penentuan Karyawan Terbaik Pada Kantor Badan Pusat Statistik Dengan Menggunakan Metode Mamdani. Jurnal Riset Sistem Informasi dan Aplikasi Komputer (JRSIKOM). 1(3): 14–19. https://doi.org/10.180997/jrsikom.v1i3.52.
Siskandar, R., Santosa, S. H., Wiyoto, Kusumah, B. R., Hidayat, A. P. (2022). Control and automation: Insmoaf (Integrated Smart Modern Agriculture and Fisheries) on the greenhouse model. Jurnal Ilmu Pertanian Indonesia, 27(1), 141–152.
Siskandar, R., Wiyoto, Santosa, S. H., Hidayat, A. P., Kusumah, B. R., Darmawan, M. D. M. (2023). Prediction Of Freshwater Fish Disease Severity Based On Fuzzy Logic Approach, Arduino Ide And Proteus ISIS. Universal Journal of Agricultural Research. 11(6): 1089–1101. https://doi.org/10.13189/ujar.2023.110616.
Sitorus, P. S. P., Sihombing, P., & Sawaluddin, S. (2021). Peningkatan Nilai Keanggotaan Model Segitiga Samakaki Pada Metode Mamdani Dengan Menggunakan Defuzzyfication Mean Of Maximum (MOM). InfoTekJar: Jurnal Nasional Informatika dan Teknologi Jaringan, 6(1), 115-119. https://doi.org/10.30743/infotekjar.v6i1.3911.
Tauhid, G. F., Wangni, W. A., Adinata, R. D., Dinargo, R., Saputra, M. D. J., Rahman, A. (2025). Penerapan Metode Fuzzy Mamdani untuk Rekomendasi Jumlah Produksi pada Industri Makanan Ringan. Jurnal Inovasi Komputer (INOKOM), 1(2), 56-65. https://doi.org/10.71200/inokom.v2i3.
