A Graphical User Interface for Determining the Safe Consumption of Food based on the Concentration of SD, BA, and SA

Authors

  • Nidhi Mavani Universiti Kebangsaan Malaysia
  • Jarinah Mohd Ali Universiti Kebangsaan Malaysia
  • Norliza Abd Rahman Universiti Kebangsaan Malaysia

Keywords:

Graphical user interface, fuzzy logic, food preservatives, artificial intelligence

Abstract

The increasing demand for canned foods has led to a higher reliance on preservatives to extend shelf life, maintain color, taste, texture, and overall quality. However, excessive use of food preservatives such as sulphur dioxide (SD), benzoic acid (BA), and sorbic acid (SA) can cause significant health risks, including cancer, allergies, and heart palpitations. Therefore, monitoring and controlling preservative levels is crucial to ensure food safety. This paper introduces a graphical user interface (GUI) based on a fuzzy logic framework designed to assess the concentrations of SD, BA, and SA in five food categories, in compliance with Malaysia’s Food Act 1983 and Food Regulations 1985. The developed GUI allows users to input preservative concentrations and receive real-time feedback on whether the levels are within safe consumption limits. Validation of the system was conducted using both published journal data and laboratory results from industrial food samples. The outcomes demonstrate that the GUI can accurately predict preservative levels, ensuring they remain within legal thresholds and promoting safe consumption. This tool offers a practical solution for food industries and regulatory authorities to monitor preservative usage effectively.

References

[1] N. Gokoglu, “Novel natural food preservatives and applications in seafood preservation: a review,” J Sci Food Agric, vol. 99, no. 5, pp. 2068–2077, Mar. 2019, doi: 10.1002/jsfa.9416.

[2] K. Thakur, D. Singh, and R. Rajput, “Effects of food additives and preservatives and shelf life of the processed foods,” J. Curr. Res. Food Sci, vol. 3, pp. 11–22, 2022.

[3] G. O. L. Bruna, A. C. C. Thais, and A. C. C. Lígia, “Food additives and their health effects: A review on preservative sodium benzoate,” Afr J Biotechnol, vol. 17, no. 10, pp. 306–310, Mar. 2018, doi: 10.5897/ajb2017.16321.

[4] E. Teshome, S. F. Forsido, H. P. V. Rupasinghe, and E. Olika Keyata, “Potentials of natural preservatives to enhance food safety and shelf life: A review,” The Scientific World Journal, vol. 2022, no. 1, pp. 1–11, Sep. 2022, doi: 10.1155/2022/9901018.

[5] N. R. Mavani, J. M. Ali, M. A. Hussain, N. A. Rahman, and H. Hashim, “Determining food safety in canned food using fuzzy logic based on sulphur dioxide, benzoic acid and sorbic acid concentration,” Heliyon, vol. 10, no. 4, 2024, doi: 10.1016/j.heliyon.2024.e26273.

[6] N. R. Mavani, C. Y. Lim, H. Hashim, N. A. Rahman, and J. M. Ali, “Fuzzy Mamdani based user-friendly interface for food preservatives determination,” Food and Bioproducts Processing, vol. 126, pp. 282–292, 2021, doi: 10.1016/j.fbp.2021.01.012.

[7] M. M. Silva and F. C. Lidon, “Food preservatives-An overview on applications and side effects,” Emir J Food Agric, vol. 28, no. 6, p. 366, 2016.

[8] K. Danchana, P. Jitthiang, K. Uraisin, and V. Cerdà, “WinMLR program for the determination of sorbic and benzoic acids in food samples,” Food Chem, vol. 361, p. 130086, Nov. 2021, doi: 10.1016/j.foodchem.2021.130086.

[9] M. A. Salman and N. I. Seno, “A comparison of Mamdani and Sugeno inference systems for a satellite image classification,” Anbar Journal for Engineering Sciences, pp. 296–306, 2010.

[10] L.-C. Dutu, G. Mauris, and P. Bolon, “A Fast and Accurate Rule-Base Generation Method for Mamdani Fuzzy Systems,” IEEE Transactions on Fuzzy Systems, vol. 26, no. 2, pp. 715–733, Apr. 2018, doi: 10.1109/TFUZZ.2017.2688349.

[11] O. A. Egaji, A. Griffiths, M. S. Hasan, and H.-N. Yu, “A comparison of Mamdani and Sugeno fuzzy based packet scheduler for MANET with a realistic wireless propagation model,” International Journal of Automation and Computing, vol. 12, no. 1, pp. 1–13, Feb. 2015, doi: 10.1007/s11633-014-0861-y.

[12] T. Mitsuishi, “Definition of centroid method as defuzzification,” Formalized Mathematics, vol. 30, no. 2, pp. 125–134, 2022.

[13] S. Naaz, “To Develop and Analyze a Fuzzy Based Algorithm For Load Balancing In a Distributed Environment,” 2014.

[14] M. Braae and D. A. Rutherford, “Fuzzy relations in a control setting,” Kybernetes, vol. 7, no. 3, pp. 185–188, 1978.

[15] M. Ding, W. Liu, J. Peng, X. Liu, and Y. Tang, “Simultaneous determination of seven preservatives in food by dispersive liquid-liquid microextraction coupled with gas chromatography-mass spectrometry,” Food Chem, vol. 269, pp. 187–192, 2018, doi: 10.1016/j.foodchem.2018.07.002.

[16] C. C. Liu, Y. N. Wang, L. M. Fu, and K. L. Chen, “Microfluidic paper-based chip platform for benzoic acid detection in food,” Food Chem, vol. 249, no. January, pp. 162–167, 2018, doi: 10.1016/j.foodchem.2018.01.004.

[17] H. P. Aung and U. Pyell, “In-capillary derivatization with o-phthalaldehyde in the presence of 3-mercaptopropionic acid for the simultaneous determination of monosodium glutamate, benzoic acid, and sorbic acid in food samples via capillary electrophoresis with ultraviolet detectio,” J Chromatogr A, vol. 1449, pp. 156–165, 2016, doi: 10.1016/j.chroma.2016.04.033.

[18] M. Ding, J. Peng, S. Ma, and Y. Zhang, “An environment-friendly procedure for the high performance liquid chromatography determination of benzoic acid and sorbic acid in soy sauce,” Food Chem, vol. 183, pp. 26–29, 2015, doi: 10.1016/j.foodchem.2015.03.025.

[19] R. Wei, W. Li, L. Yang, Y. Jiang, and T. Xie, “Online preconcentration in capillary electrophoresis with contactless conductivity detection for sensitive determination of sorbic and benzoic acids in soy sauce,” Talanta, vol. 83, no. 5, pp. 1487–1490, 2011, doi: 10.1016/j.talanta.2010.11.036.

[20] N. Tungkijanansin, W. Alahmad, T. Nhujak, and P. Varanusupakul, “Simultaneous determination of benzoic acid, sorbic acid, and propionic acid in fermented food by headspace solid-phase microextraction followed by GC-FID,” Food Chem, vol. 329, no. April, p. 127161, 2020, doi: 10.1016/j.foodchem.2020.127161.

[21] F. Han, Y. Z. He, L. Li, G. N. Fu, H. Y. Xie, and W. E. Gan, “Determination of benzoic acid and sorbic acid in food products using electrokinetic flow analysis-ion pair solid phase extraction-capillary zone electrophoresis,” Anal Chim Acta, vol. 618, no. 1, pp. 79–85, 2008, doi: 10.1016/j.aca.2008.04.041.

[22] T.-Y. Chu, C.-L. Chen, and H.-F. Wang, “A Rapid Method for the Simultaneous Determination of Preservatives in Soy Sauce,” A Rapid Method for the Simultaneous Determination of Preservatives in Soy Sauce, vol. 11, no. 3, pp. 246–250, 2003, doi: 10.1111/j.1748-1716.1954.tb01146.x.

[23] V. C. Trenerry, “The determination of the sulphite content of some foods and beverages by capillary electrophoresis,” Food Chem, vol. 55, no. 3, pp. 299–303, 1996, doi: 10.1016/0308-8146(95)00117-4.

[24] N. Thongsrinoon, P. Naun-Ong, and Y. Ketyothin, “The Optimization of Ultrasonic Extraction for Benzoic Acid Determination in Curry Paste Samples by Using UV-Visible Spectrophotometry,” Applied Mechanics and Materials, vol. 855, no. Lc, pp. 9–14, 2016, doi: 10.4028/www.scientific.net/amm.855.9.

[25] D. Styarini, D. P. Ramadhaningtyas, and Y. Aristiawan, “SIMULTANEOUS DETERMINATION OF BENZOIC ACID AND PARABENS SIMULTANEOUS DETERMINATION OF BENZOIC ACID AND PARABENS ( METHYL-PARABEN AND N-BUTYL PARABEN ) IN SOY SAUCE BY GC-MS,” International Journal Of Advancement In Engineering Technology, vol. 4, no. 9, pp. 103–111, 2017.

[26] F. Javanmardi, S. R. Arefhosseini, M. Ansarin, and M. Nemati, “Optimized dispersive liquid-liquid microextraction method and high performance liquid chromatography with ultraviolet detection for simultaneous determination of sorbic and benzoic acids and evaluation of contamination of these preservatives in iranian fo,” J AOAC Int, vol. 98, no. 4, pp. 962–970, 2015, doi: 10.5740/jaoacint.14-260.

[27] F. Javanmardi, M. Nemati, M. Ansarin, and S. R. Arefhosseini, “Benzoic and sorbic acid in soft drink, milk, ketchup sauce and bread by dispersive liquid–liquid microextraction coupled with HPLC,” Food Addit Contam Part B Surveill, vol. 8, no. 1, pp. 32–39, 2015, doi: 10.1080/19393210.2014.955534.

[28] N. N. Win, K. W. Aye, and Y. Y. Myint, “Development of an HPLC Method For Determination of Some Preservatives in Soy Sauce Development of an HPLC Method For Determination of Some Preservatives in Soy Sauce,” Iconic Research and Engineering Journals, vol. 3, no. 2, pp. 2456–8880, 2019.

[29] C. Cejudo-bastante, E. Durán-guerrero, C. García-barroso, and R. Castro-mejías, “Volatile Compounds , Polyphenols and Sensory Quality in the Production of Tomato Vinegar,” Journal of Food and Nutrition Research, vol. 5, no. 6, pp. 391–398, 2017, doi: 10.12691/jfnr-5-6-5.

[30] I. Timofeeva, D. Kanashina, K. Stepanova, and A. Bulatov, “A simple and highly-available microextraction of benzoic and sorbic acids in beverages and soy sauce samples for high performance liquid chromatography with ultraviolet detection,” J Chromatogr A, vol. 1588, pp. 1–7, 2019, doi: 10.1016/j.chroma.2018.12.030.

[31] N. Tungkijanansin, W. Alahmad, T. Nhujak, and P. Varanusupakul, “Simultaneous determination of benzoic acid, sorbic acid, and propionic acid in fermented food by headspace solid-phase microextraction followed by GC-FID,” Food Chem, vol. 329, p. 127161, 2020, doi: 10.1016/j.foodchem.2020.127161.

Published

15-02-2025

Issue

Section

Articles

How to Cite

[1]
“A Graphical User Interface for Determining the Safe Consumption of Food based on the Concentration of SD, BA, and SA”, AJPC, vol. 3, no. 2, Feb. 2025, Accessed: Apr. 30, 2025. [Online]. Available: https://mypcs.com.my/journal/index.php/ajpc/article/view/31

Similar Articles

You may also start an advanced similarity search for this article.