Heliyon (Feb 2024)
Determining food safety in canned food using fuzzy logic based on sulphur dioxide, benzoic acid and sorbic acid concentration
Abstract
Canned food market demand has arisen due to the higher need for instant and ready-to-eat food. Food preservatives are often added to canned and processed foods to prolong their shelf life and help to sustain the quality, taste, color, and food texture. However, excessive usage of such food preservatives can lead to various diseases and health issues including palpitations, allergies, and cancer. Therefore, food preservative detection in food samples is essential for safe consumption and health well-being. This paper proposed a fuzzy logic framework to determine the safety of food products based on the concentration of sulphur dioxide (SD), benzoic acid (BA), and sorbic acid (SA) in five different food categories as referred to the Food Acts 1983 and Food Regulations 1985 in Malaysia. The fuzzy logic framework comprises of Mamdani inference system design with 90 fuzzy rules, 15 and 5 membership functions for both the input and output parameters respectively. 50 random values and 10 lab analysis results based on the industrial samples were used to validate the developed algorithms in ensuring the safety of the food products. The membership functions generated for the three inputs (SD, BA, and SA) during the fuzzification steps are based on the maximum allowable limit from the food acts. The defuzzification of fuzzy logic gave an average output value of 0.1565, 0.1350, 0.1150, 0.1100, and 0.1550 for chicken curry with potatoes, satay sauce, sardine in tomato sauce, anchovies paste, and sardine spread accordingly. Results obtained from the fuzzy logic framework concluded that all the industrial samples are safe to be eaten and comply with the Sixth Schedule, Regulation 20 in both Acts.