Application of Fuzzy Logic for Evaluating the Quality of Yogurt with Carrageenan and Spirulina sp. Based on pH and TAT
DOI:
https://doi.org/10.62535/dct22751Keywords:
Fuzzy Logic, Mamdani FIS, Yogurt Quality Index, pH, Total Titratable AcidityAbstract
Conventional yogurt quality evaluation relies on rigid thresholds that may overlook nonlinear relationships and gradual quality transitions between pH and total titratable acidity (TAT). This study developed a Mamdani Fuzzy Inference System (FIS) to calculate a Yogurt Quality Index (YQI) on a scale of 0–100. The model incorporated pH (4.0–4.6) and TAT (0.5–1.5%) as input variables, using triangular and trapezoidal membership functions, nine IF–THEN rules, and Center of Gravity defuzzification. Four yogurt formulations (P0: control; P1–P3: fortified with carrageenan and Spirulina sp.) were evaluated. Although all samples met the specified minimum TAT requirement of 0.5%, the model produced different quality scores. P0 (pH 4.3; TAT 0.8%) scored 61.0 (Moderate), whereas P1–P2 (pH 4.1; TAT 0.8%) and P3 (pH 4.0; TAT 0.9%) scored 29.4 and 39.0, respectively (Low). These differences reflected the influence of pH and TAT within the proposed rule system. However, the membership functions, inference rules, and classification criteria were established by the researchers and have not been validated by experts or recognized as official standards. Further validation is required before practical application in dairy quality control.
References
Alam, M. K., Prete, R., Faleta, F., Rannou, C., Prost, C., Lethuaut, L., Corsetti, A., Paola, P. (2025). Yogurt volatile compounds as affected by processing and compositional factors: A review. Trends in Food Science & Technology. 158: 104921. https://doi.org/10.1016/j.tifs.2025.104921
Akgül, H. N., Yıldız-Akgül, F., & Karaman, A. D. (2022). Fuzzy logic modeling of yogurt incubation. Journal of the Faculty of Agriculture, Adnan Menderes University, 19(1), 167–176. https://doi.org/10.25308/aduziraat.1119592
Azam, M. H., Hasan, M. H., Hassan, S., & Abdulkadir, S. J. (2021). A novel approach to generate type-1 fuzzy triangular and trapezoidal membership functions to improve classification accuracy. Symmetry, 13(10), 1932. https://doi.org/10.3390/sym13101932
Boyanova, P., Panayotov, P., Bosakova-Ardenska, A., Ganchovska, V., & Balabanova, T. (2019). Non-destructive study of acid milk coagulation. Journal of Agriculture and Plant Sciences, 17(1), 43–49. https://doi.org/10.46763/JAPS
Fitriani, D., Sugitha, I. M., & Suter, I. K. (2024). Exploring the potential of lactic acid bacteria fermentation as a clean-label alternative for use in yogurt production. GSC Biological and Pharmaceutical Sciences, 28(2), 075–090. https://doi.org/10.30574/gscbps.2024.28.2.0305
Gea, C. R., Aviandra, A. P., Sadid, A., & Bratawijaya, I. A. (2025). Determination of product quality using the Fuzzy-Mamdani approach and application of AHP for the optimization of tapioca flour production. Journal of Integrated Industrial Engineering, 8(2), 2182–2193. https://doi.org/10.31004/jutin.v8i2.38504
Hidayat, A. P., Santosa, S. H., Siskandar, R., & Baskoro, R. G. (2021). Evaluation of chicken egg supply using the Fuzzy AHP approach through the development of Safea software. Indonesian Journal of Logistics, 5(2), 104–110. https://doi.org/10.31315/jli.v5i2.4411
Hossain, M. A., Hoque, M. M., Ahmed, M. M., & Ahmed, T. (2024). Probiotic yogurt-like fermented milk product enriched with Lactobacillus desidiosus and Lactobacillus fermentum: Proximate composition, physicochemical, microbiological, and sensory evaluation during refrigerated storage. Discover Food, 4(1), 24. https://doi.org/10.1007/s44187-024-00093-9
Karima, I., & Rahman, A. (2024). Implementation of the Mamdani Fuzzy Method in Decision-Making for Production Volume Recommendations. Journal of Computer Innovation (INOKOM), 1(1), 24–34. https://doi.org/10.71200/inokom.v1i1.26
Khairuddin, S. H., Hasan, M. H., Hashmani, M. A., & Azam, M. H. (2021). Generating clustering-based interval fuzzy Type-2 triangular and trapezoidal membership functions: A structured literature review. Symmetry, 13(2), Article 239. https://doi.org/10.3390/sym13020239
Khairul, F. (2025). Identification of Phytochemical Content and Antioxidant Activity in Yogurt with the Addition of Carrageenan and Spirulina sp. (Master’s thesis, Bogor Agricultural University).
Mokoena, M.P., Omatola, C.A., Olaniran, A.O. (2021). Applications of Lactic Acid Bacteria and Their Bacteriocins against Food Spoilage Microorganisms and Foodborne Pathogens. Molecules. 26(22):7055. https://doi.org/10.3390/molecules26227055
Muncan, J., Tei, K., & Tsenkova, R. (2021). Real-time monitoring of the yogurt fermentation process using aquaphotomics near-infrared spectroscopy. Sensors, 21(1), 177. http://dx.doi.org/10.3390/s21010177
Nagaoka, S. (2019). Yogurt Production. Methods in Molecular Biology. doi: 10.1007/978-1-4939-8907-2_5
Nasrul, M., & Tjahyaningtijas, H. A. (2026). Simulation-based performance evaluation of a three-input Mamdani fuzzy inference system for adaptive floodgate control. Nucleus Journal, 5(2), 415–429. https://doi.org/10.32492/nucleus.v5i2.5215
National Standardization Agency. (2009). Yogurt (SNI 2981:2009).
National Standardization Agency. (2025). Yogurt (SNI 2981:2025).
Rahayu, B. P. C., Alaiyya, A. F. R. A.-A., & Yanif, I. (2026). Application of a fuzzy logic system for coffee bean quality detection. Journal of Applied Science, Technology & Humanities, 3(2), 942–952. https://doi.org/10.62535/myb58j95
Rahmiati, Situmorang, T. S., Simanjuntak, H. A., Pasaribu, S. F., Lestari, W., Sianturi, A. E., & Amanzino, R. A. (2025). Analysis of Organoleptic Characteristics, pH, and Total Bacteria in Cow’s Milk Yogurt. Herbal Medicine Journal, 8(2), 79–84. https://doi.org/10.58996/hmj.v8i2.185
Saatchi, R. (2024). Fuzzy logic concepts, developments, and implementation. Information, 15(10), 656. https://doi.org/10.3390/info15100656
Sain, D., & Mohan, B. M. (2021). Modeling, simulation, and experimental realization of a new nonlinear fuzzy PID controller using Center of Gravity defuzzification. ISA Transactions, 110, 319–327. http://dx.doi.org/10.1016/j.isatra.2020.10.048
Santos, C., Raymundo, A., Moreira, J. B., & Prista, C. (2025). Exploring the potential of lactic acid bacteria fermentation as a “clean label” alternative for use in yogurt production. Applied Sciences, 15(5), Article 2686. https://doi.org/10.3390/app15052686
Shahamat, M. (2025). Applications of Fuzzy Logic in Modern Technology. Journal of Intelligent Decision and Computational Thinking, 1(1): 27–34. https://doi.org/10.48314/jidcm.v1i1.59
Siskandar, R., Santosa, S. H., Wiyoto, W., Kusumah, B. R., & Hidayat, A. P. (2022). Control and automation: Insmoaf (Integrated Smart Modern Agriculture and Fisheries) on the greenhouse model. Indonesian Journal of Agricultural Science, 27(1), 141–152. http://dx.doi.org/10.18343/jipi.27.1.141
Siskandar, R., Wiyoto, W., Santosa, S. H., Hidayat, A. P., Kusumah, B. R., & Darmawan, M. D. M. (2023). Prediction of freshwater fish disease severity based on a fuzzy logic approach, Arduino IDE, and Proteus ISIS. Universal Journal of Agricultural Research, 11(6), 1089–1101. http://dx.doi.org/10.13189/ujar.2023.110616
Suharto, E. L. S., Kurnia, Y. F., & Ferawati. (2021). The effect of adding palm sugar (Arenga pinnata Merr.) at different concentrations to yogurt on total titratable acidity, pH, and total lactic acid bacteria. Indonesian Journal of Animal Science, 23(3), 284–289. https://doi.org/10.25077/jpi.23.3.284-289.2021
Suprapto, H., & Simanjuntak, P. (2020). Fuzzy logic for predicting electricity consumption using the Mamdani method. COMASIE, 3(2), 31–39. https://ejournal.upbatam.ac.id/index.php/comasiejournal/article/view/1701
Sudrajat, & Agustiani, S. (2023). Application of Mamdani fuzzy logic to determine junior high school students’ mathematics achievement. ELIPS: Journal of Mathematics Education, 4(2), 202–215. https://doi.org/10.47650/elips.v4i2.897
Tang, H. H., & Ahmad, N. S. (2024). A fuzzy logic approach for controlling uncertain and nonlinear systems: A comprehensive review of applications and advances. Systems Science & Control Engineering, 12(1), Article 2394429. https://doi.org/10.1080/21642583.2024.2394429
Tang, H., Huang, W., Yao, Y. F. (2023). The metabolites of lactic acid bacteria: classification, biosynthesis, and modulation of the gut microbiota. Microb Cell. 10(3):49–62. https://doi.org/10.15698/mic2023.03.792
Teti, D. Y. B. K., Mada, G. S., Dethan, N. K. F., & Obe, L. F. (2024). Determining the best defuzzification method for the Mamdani fuzzy inference system in the diagnosis of preeclampsia in pregnant women. Jurnal Diferensial, 6(1), 78–90. http://dx.doi.org/10.35508/jd.v6i1.12680
Wang, X., Wang, L., Wei, X., Xu, C., Cavender, G., Lin, W., Sun, S. (2025). Invited review: Advances in yogurt development—Microbiological safety, quality, functionality, sensory evaluation, and consumer perceptions across different dairy and plant-based alternative sources. J. Dairy Sci. 108: 22–58. https://doi.org/10.3168/jds.2024-25322
