Next Article in Journal
Advancements in Copper-Based Catalysts for Efficient Generation of Reactive Oxygen Species from Peroxymonosulfate
Previous Article in Journal
Application of Deep Learning Techniques for the State of Charge Prediction of Lithium-Ion Batteries
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sensory Perception Systems and Machine Learning Methods for Pesticide Detection in Fruits

by
Cristhian Manuel Durán Acevedo
1,*,
Dayan Diomedes Cárdenas Niño
1 and
Jeniffer Katerine Carrillo Gómez
1,2,*
1
GISM Group, Department of EEST, Engineering and Architecture Faculty, University of Pamplona, Pamplona 543050, Colombia
2
Chemical Engineering Group, Engineering and Architecture Faculty, University of Pamplona, Pamplona 543050, Colombia
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2024, 14(17), 8074; https://doi.org/10.3390/app14178074
Submission received: 9 August 2024 / Revised: 4 September 2024 / Accepted: 7 September 2024 / Published: 9 September 2024

Abstract

:
In this study, an electronic tongue (E-tongue) and electronic nose (E-nose) systems were applied to detect pesticide residues, specifically Preza, Daconil, Curzate, Bricol, Accros, Amistar, and Funlate, in fruits such as cape gooseberries, apples, plums, and strawberries. These advanced systems present several advantages over conventional methods (e.g., GC-MS and others), including faster analysis, lower costs, ease of use, and portability. Additionally, they enable non-destructive testing and real-time monitoring, making them ideal for routine screenings and on-site analyses where effective detection is crucial. The collected data underwent rigorous analysis through multivariate techniques, specifically principal component analysis (PCA) and linear discriminant analysis (LDA). The application of machine learning (ML) algorithms resulted in a good outcome, achieving high accuracies in identifying fruits contaminated with pesticides and accurately determining the concentrations of those pesticides. This level of precision underscores the robustness and reliability of the methodologies employed, highlighting their potential as alternative tools for pesticide residue detection in agricultural products.

1. Introduction

Agriculture is the pillar of human and economic development worldwide [1]. Throughout history, agriculture has been a primary source of food supply for humanity since all countries depend on it for their food. Therefore, as the population increases, the demand for nourishment continues to grow exponentially, which generates a request for land to develop food products and thus meet the food needs worldwide [2,3]. The above allows for us to accomplish the second sustainable development goal (SGD2), which consists of ending hunger, achieving food security and improving nutrition, and promoting sustainable agriculture [4,5,6]. According to Food and Agriculture Organization of the United Nations (FAO) data, global food production must increase by 70% to feed the world population by 2050 [7].
Nowadays, rising crop production often requires external inputs, such as pesticides, which have been widely applied to protect foods against pests to improve their quality production and increase crop efficiency [8]. According to estimates by FAO, approximately 45% of annual food production is lost due to pest infestation, threatening food security and causing economic losses due to the resources used to produce these foods (i.e., water, land, energy, labor, and capital) [9,10]. Therefore, effective pest management through a wide range of pesticides is required to confront them and enhance crop production, as mentioned earlier [11].
Currently, in the world, three billion kilograms of pesticides are consumed yearly, of which 47.5% are herbicides, 29.5% insecticides, 17.5% fungicides, and 5.5% other pesticides [12,13]. However, only 1% of total pesticides are used effectively to control pests on target plants [14]. Additionally, 99% of the pesticides used are lost through spray drift, off-target deposition, runoff, and photodegradation, resulting in pesticides entering the environment, where they negatively affect the environment. Soil, water, and vegetation can remain in crops and finally enter the food chain, posing a threat to humans [15,16].
Human beings are exposed to pesticides directly in the workplace or indirectly through environmental media. When handling and using pesticides to irrigate and fumigate crops, farmers are in direct contact with them through inhalation, ingestion, and dermal contact, which causes damage to the skin, eyes, mouth, and respiratory tract [17,18], having to deal with reactions such as headache, irritation, vomiting, sneezing, skin rashes, dizziness, difficulty breathing, neurotoxicity, and chronic diseases such as cancer, with breast cancer being the most common of all and it is associated with organophosphates (malathion and parathion) that affect cell growth and proliferation and incidences of death [19]. It is essential to highlight that the intensity of the effects of pesticides on humans depends on the exposure time, toxicity, and concentration [15]. According to the World Health Organization (WHO), cases of pesticide poisoning have been identified, generating an actual public health problem in the world, especially in developing countries, where the most significant number of cases occur [20,21]. In Colombia, according to the National Institute of Health and the National Public Health Surveillance System (SIVIGILA), in 2020, 17,270 poisonings were reported, mainly due to psychoactive substances, medications, and, thirdly, pesticides, where 37.7% occurred accidentally, and 26.7% with psychoactive intentionality. Colombia also has no exact data on mortality due to pesticide poisoning [22].
Another way of exposure to pesticides is indirectly through environmental media, such as air, water, soil, and the food chain, which can be contaminated with pesticides [18,23]. Undesirable substances such as pesticides in foods are a critical indicator of food quality and safety [14]. We know that fruits and vegetables are vital elements of a healthy human diet due to their high proportion of fiber, vitamins, and minerals. Therefore, their consumption worldwide has increased considerably in recent years and is crucial to people’s health. However, fresh fruits and vegetables contain higher levels of pesticides, mainly fungicides, and insecticides compared to other plant foods, probably due to the short time interval between harvests and market that results in inadequate testing to detect pesticide residues and creates a risk to the health of consumers, as they are often eaten raw or in the form of processed products (juices, jams, purees, etc.) [24]. Furthermore, the concentration of pesticides in fruits and vegetables depends on the amount sprayed on them, the available content in the soil or irrigation water, and the processing of these foods. The above is a way to guarantee safety, prolong shelf life, and maintain or improve the quality of food, which, according to the specifications of the final product, may be subject to different processes [25]. For example, in the food industry, there are several stages such as pre-treatment (washing, rinsing, peeling, grinding, segregation, etc.), heat treatment (cooking, frying, pasteurization, freeze-drying, baking, sterilization, preservation, etc.), and final treatment (packaging, bottling, labeling, etc.), among others, which allow for the concentration of pesticides to be reduced or eliminated [26].
In 2004, the Environmental Working Group (EWG) began publishing the Dirty Dozen list, which identifies some of the fruits and vegetables that contain the highest levels of pesticide residues, according to data obtained from the United States Department of Agriculture (USDA) and the Food and Drug Administration (FDA). The following foods are on the 2022 Dirty Dozen list: strawberry, spinach, kale, nectarine, apple, grape, bell and hot peppers, cherry, peaches, pears, celery, and tomato [27,28]. Therefore, monitoring and evaluating pesticide levels in fruits and vegetables must be observed. Food industries and stakeholders must ensure that foods comply with legal requirements at all stages of the food chain. To protect human health, legal guidelines have been established to control pesticide levels in food through maximum residue levels, which are set by the Codex Alimentarius Commission (CAC) and the joint FAO/WHO Meeting on Pesticide Residues (JMPR), who have tried to establish, review, and harmonize MRLs for pesticides, where globally, these limits continue to be variable, since many countries have their own regulations [24,29]. In the case of Colombia, there is the Ministry of Agriculture and Rural Development through the ICA (Colombian Agricultural Institute), which, through resolution 2906 of 2007 issued by the Ministry of Social Protection, stipulates the maximum concentrations of commercial pesticides in the food [30].
To evaluate the levels of pesticides in fruits and vegetables, sensitive, highly selective, and precise analytical instrumental techniques are required. Among these most used techniques are high-performance liquid chromatography (HPLC) and gas chromatography (GC) coupled to mass spectrometry (MS). Other methods, such as enzyme-linked immunosorbent assays (ELISA) and capillary electrophoresis (CE) have been applied in the determination of pesticide residues in real samples [31,32]. However, these methods have some limitations since they require sophisticated laboratory equipment, preparation, storage, and transportation of samples, which tends to be tedious, high-cost, time-consuming, and require trained personnel. Nowadays, systems based on arrays of gas sensors (E-nose) and chemical electrodes (E-tongue) have been designed to artificially perceive the active molecules of the odor generated from the headspace of the samples and the compounds involved in the flavor of the aqueous solutions [33,34]. These characteristics of sensory systems have allowed for them to be used in different industries, especially in the food industry, to evaluate the quality of other products through the analysis of odors and flavors [35]. These technologies are typically characterized by their ability to provide simple, rapid, non-destructive, portable, and highly specific detection. They also offer good reproducibility and are cost-effective compared to traditional analytical techniques [36].
There are some reviews and research publications in which the different applications of the E-nose and E-tongue have been reported over the years in the food industry. For instance, these systems have been implemented for the early detection of microorganisms (meat, milk, etc.), authenticity of food and beverages, evaluation of food quality (e.g., fish, wine, meat, beer, milk, water, drinks), monitoring food processing, and the identification of ripening states in fruits such as apples, pears, peaches, apricots, citrus fruits, grapes, strawberries, mangoes, and other tropical fruits [35,37,38,39,40,41,42]. However, using these systems combined with chemometric methods to determine pesticide residues in fruits and vegetables has yet to be explored. Nategh et al., in 2021, used an E-nose based on MOS sensors to detect the diazinon pesticide in cherry samples, obtaining 96% of the variation in the data for toxic and non-toxic sweet cherries [43]. Similarly, Yong and collaborators implemented a commercial system (PEN3) with ten metal oxide semiconductor (MOS) sensors, which was used to detect pesticide residues such as cypermethrin and chlorpyrifos in apple samples, achieving a good classification of the pesticide residues using principal component analysis (PCA), linear discriminant analysis (LDA), and support vector machine (SVM) [44]. Marco et al., used a self-made E-nose to obtain qualitative responses to different pesticides [45]. Likewise, studies have been conducted on detecting pesticide residues in fruits such as strawberries, peaches, and sour cherries [8,46].
Different investigations have been carried out regarding the use of E-tongues, which have been focused on the efficient detection of pesticide residues in fruits. Still, it is worth mentioning that these studies have been carried out using biosensors in most cases. For example, Rajni Bala et al. used an ultrasensitive aptamer biosensor based on cationic polymer and gold nanoparticles for the detection of the organophosphate family pesticide malathion in apples, achieving a detection limit of 5.2 pM (0.001 μg kg−1) [47,48]. In another study, an electrochemical nanosensor based on fluorine-doped tin oxide (FTO) was developed for the detection of chlorpyrifos with gold nanoparticles (AuNP) and anti-chlorpyrifos antibodies (chl-Ab). The FTO-AuNPs sensor was successfully used to detect chlorpyrifos in standard and actual samples up to 10 nM for apple and cabbage and further 50 nM for pomegranate [49]. A monoenzymatic impedimetric acetylcholinesterase biosensor has been reported in the literature to sensitively detect carbamate and organophosphate compounds with a very rapid response [50]. However, with recent advances in nanotechnology, metal-based enzyme-free sensors, and corresponding metal oxides have been widely reported. Recent studies demonstrate that CuO nanostructures have been applied in pesticide detection thanks to their ability to bind to phosphate groups in organophosphates [51].
This study aims to validate the use of E-tongue and E-nose technologies as innovative tools for detecting and classifying pesticide residues in various fruits. The fruits selected are among the most widely cultivated in the Santander region, making them ideal candidates for evaluating the effectiveness and practicality of these devices as alternatives to traditional pesticide detection methods, such as GC-MS. The evaluation focused on the key advantages of the E-tongue and E-nose, including non-destructive analysis, portability, speed, and cost-effectiveness. This study began with training and validation phases, followed by testing with new data to assess the devices’ capabilities. The analysis revealed high accuracy in classifying both the presence of pesticide residues and their concentrations using multivariate analysis and advanced machine learning (ML) techniques. This is particularly significant as it meets the growing demand for more accessible, efficient, and environmentally friendly methods to monitor pesticide residues in agricultural products. Figure 1 shows the methodology developed during the pesticide detection study in fruits. Initially, fruits and pesticides were selected, and later, the E-nose and tongue were conditioned.

2. Materials and Methods

The following section provides a detailed description of the various components and materials used in the experimental trials, offering a comprehensive overview of the resources utilized in this study.

2.1. Selection and Collection of Fruit and Pesticide Samples

The fruit samples for this research were collected in the municipalities of “Cerrito” in the Santander department and the municipalities of “Santa Rosa de Viterbo y Tuta”, located in the Boyacá department (Colombia). The first cape gooseberries were collected in Cerrito, and the second in Santa Rosa de Viterbo. Further, strawberry, apple, and plum samples were collected in Tuta municipality. It should be noted that random batches were taken in each crop to obtain a representative sample for the sample collection of the different fruits.
For this study, two types of samples were used: organic fruits (grown with natural substances without chemicals such as pesticides or artificial fertilizers), which were the control group, and fruits contaminated with the different pesticides used in each region.
The selection of pesticides in this study was conducted through a survey of farmers about the types of pesticides used for cape gooseberry, strawberry, apple, and plum crops in each region, highlighting Preza, Daconil, Curzate, Bricol, Accros, Amistar, and Funlate, as shown in Table 1. The necessary information is given here about the classification of pesticides and the active ingredients, which are the chemical substances in pesticides that control pests [52].

2.2. Sample Preparation

This study was divided into two parts: (1) The first phase consisted of the training of multisensory systems to know the ability of the E-nose and E-tongue to discriminate and classify samples of organic fruit and contaminated fruit with different pesticides, which were evaluated according to the information shown in Table 1. At this stage, a 10 mg/kg solution was prepared for each pesticide, and regarding the selected technique, the fruits were contaminated by spraying in the case of the E-nose, and for the E-tongue, it was added directly to the liquid extract of the previously macerated fruit. (2) In this stage, different solutions were prepared at concentrations of 0.2, 0.8, 2, and 3 ppm for each pesticide, to evaluate the detection limit of two multisensory systems. Likewise, the solutions applied to the fruit were made by spraying or liquid extract, as mentioned above.
It is essential to highlight that the organic and contaminated fruits were weighed to maintain the same proportions for each fruit. In the case of the plum, approximately 8 g (±0.09 g) was used, for the strawberry = 10 g (±0.01 g), the apple = 12 g (±0.01 g), and the cape gooseberry = 9 g (±0.09 g), respectively.
For the use of the E-nose, 7 measurements were taken for each category, and 10 measurements were taken for each category using the E-tongue. This included organic and contaminated fruit with different concentrations of each pesticide and fruits used in the study (plum, strawberry, apple, and cape gooseberry). It should be clarified that this study was conducted to distinguish organic fruits compared to fruits treated with pesticides, where each category of measurements was made from different samples (e.g., 10 different plum samples with Daconil).

2.3. E-Nose

A multisensory system was developed to detect pesticide residues in fruits. This system consists of a concentration chamber and a measurement chamber. The concentration chamber is constructed from durable methacrylate and has dimensions of 12 cm in length, 12 cm in width, and 12 cm in height, resulting in a total internal volume of 1728 cm3. The measurement chamber, also made from methacrylate, contains 16 metal oxide gas sensors, specifically Taguchi sensors from the Figaro Company, located in Arlington Heights, IL, USA. This chamber measures 8.7 cm in length, 8.7 cm in width, and 5.3 cm in height, with an internal volume of 401.157 cm3. The sensors are capable of detecting a wide range of compounds, including ammonia, amines, monochlorodifluoromethane, hydrogen, methane, volatile gases, water vapor in food, hydrogen sulfide, hydrocarbons, carbon monoxide, iso-butane, ethanol, alcohol, organic solvents, and tetrafluoromethane (as detailed in Table 2).
Figure 2 illustrates two simple diagrams created to explain the measurement process of the E-nose.
The sampling protocol for the E-nose consists of 3 stages: (a) concentration, (b) measurement, and (c) cleaning. A quantity of organic fruit was taken at first, and with the help of a spray bottle, the sample was contaminated with the pesticide of interest. Subsequently, the sample was placed in the concentration chamber (see Figure 2A) for 5 min to generate a headspace and concentrate the volatile organic compounds (VOCs) emitted by the contaminated fruit. During 5 min of concentration, valves 1 and 2 were closed; however, an electric pump transfers an airflow that passes through valve 3 in parallel to the chamber where the sensors are located. At the end of the first stage, the sample acquisition stage continued for 7 min (see Figure 2B). In this stage, valve 3 was closed, and valves 1 and 2 were opened, keeping the electric pump on, which allows for airflow to pass to the concentration chamber and thus drag the VOCs from the sample to the sensor chamber. For the cleaning stage of the sensor chamber, valves 1 and 2 were closed, and valve 3 was opened again for 5 min to circulate the air through the sensor chamber. This way, the volatile compounds are extracted from the previously acquired sample, avoiding the memory effect in the measurement chamber due to poor cleaning. The total duration of the measurement was 17 min for each sample.

2.4. E-Tongue

For the study with the E-tongue, a portable reference Bi-potentiostat µSTAT200 manufactured by DropSens Company located in Oviedo (Spain) was used, which operates with a maximum current of ±200 µA and a potential of 12 VDC.
A screen-printed platinum electrode (reference: DRP-550) was applied to measure the samples, and it was composed of three electrodes: the working and auxiliary electrodes, which were developed with platinum material. In contrast, the reference electrode is made of silver, as were the electrical contacts. An electrochemical technique called cyclic voltammetry (CV) was used to acquire and monitor the measurements in real-time through the “Dropview” software version 3.0 provided by the manufacturer.
All voltammograms were obtained by implementing the parameters in Table 3, and in all categories, 50 µL of previously macerated liquid samples were taken and subsequently deposited on the working electrode.

2.5. Data Processing

To analyze the measurement acquired, data treatment was previously conducted on the information collected; these were normalized to give a similar scaled value and extract the most relevant characteristics (minimum weight and maximum value of signals) to be later implemented by data processing algorithms.
Therefore, for the data discrimination and classification process, different multivariate analysis methods such as PCA and LDA were used, and machine learning algorithms such as decision tree classifiers, linear discrimination, the naïve Bayes method, quadratic SVM, cubic SVM, and the fine K-NN method; the previous two were applied with the respective kernel. The methods outlined in the previous sections were implemented using the “Classification Learner” interface in MATLAB 2020b. This tool significantly streamlined the development process for classification methods, providing an intuitive and efficient platform for selecting features, training models, and evaluating performance metrics.
It was crucial to undertake a comprehensive process involving several key steps to effectively utilize machine learning algorithms through this tool for detecting fruit pesticides. First, a feature extraction technique based on two parameters was obtained for each signal: the maximum (max) and minimum (min) values of the signal (i.e., voltage for gas sensor signals and current for electrochemical responses), which represent the highest and lowest points that the signal reaches over a given period. This value provided a quantitative measure of the signal’s variability, which was subsequently used for signal analysis by applying PCA and LDA methods and classification techniques, as described above. On the other hand, data normalization was applied to the dataset using the “mean-centering” and “Auto-scaled” algorithms to ensure that each feature contributes equally to the model. Then, these parameters were calculated by subtracting the mean or dividing by the standard deviation for each feature. Afterward, it was necessary to optimize the parameters of ML methods (decision tree classifiers, linear discrimination, naïve Bayes, quadratic SVM, cubic SVM, and fine K-NN) and select appropriate hyperparameters (i.e., kernel) for each method, such as, for cubic SVM and fine K-NN, learning rates, and regularization parameters. Consequently, the models were refined through a meticulous process of fine-tuning. This involved iteratively adjusting the models based on feedback from initial training and validation runs to enhance their predictive accuracy and generalization capabilities.
The training data were randomly divided into multiple subsets to validate the model’s performance across different segments, and regularization helped control model complexity. For example, when k = 5, the dataset is split into five equal parts. Therefore, k-fold cross-validation divides the dataset into k subsets, and the model is trained and tested k times, each time using a different fold as the test set and the remaining folds as the training set. Afterward, test data were used with the trained model to assess the model’s performance and generalization ability. These data were not used in any way during the training or validation phases.
Each of the methods is briefly described below:
  • Principal Component Analysis (PCA): A supervised and unsupervised learning method in which observations or data are reordered by decreasing the correlation of all data and choosing new orthogonal axes for each component [60].
  • Linear Discriminant Analysis (LDA): A supervised multivariate method developed to obtain good class separability. It is based on the calculation of maximization of the factors concerning the homogeneity in the covariance matrix of each group, and it is decided whether it fits the linear model or the quadratic model [61].
  • Naïve Bayes: A probabilistic learning algorithm that bases its mathematical operation on the Bayes theorem. The algorithm calculates the probability of an event “A” given the occurrence of an event B, for it is necessary to have a group of established data, thus making the naïve Bayes method a supervised method [62].
  • Support Vector Machines (SVMs): A support vector machine establishes its operation by finding a hyperplane with the best possible separation between a dataset. To do so, it takes the closest data of each class of data and establishes margins; the above serves as a reference point to define said hyperplane and determine the support vector that shows the distance between the margins [63].
  • K-Nearest Neighbor (K-NN): This is a regression method based on assumptions of similarity or low dispersion between data. It is also used as a classifier learning method; for this, each group of measurements regarding a number K of nearby data must be compared with its category, which can classify them according to their similarity [64].
  • Decision Trees: This method operates on hierarchical classification. Its structure consists of two elements: nodes and branches. In the nodes, each possible result is assessed and weighted against the input values assigned to the group [65].

3. Results

3.1. Data Analysis with Different Pesticides in Fruits

The following section describes the results obtained with both sensory devices from the data processing methods described above.

3.1.1. E-Nose

Figure 3 shows the results of the PCA analysis applied to organic fruit samples and the fruit with pesticides. According to the results, plum reached a variance of 97.27% (Figure 3A), strawberry 96.37% (Figure 3B), apple 97.64% (Figure 3C), and cape gooseberry 96.07% (Figure 3D), achieving good classification and discrimination of organic fruit and contaminated samples. Each value in question is derived from the cumulative variances associated with the first and second principal components (PC1 and PC2). This confirms that the E-nose can detect significant differences in the volatile profiles of fruits depending on the pesticide used. However, in the case of the plum, there was a misclassified measurement between one of the Funlate samples with Amistar, and the same arises with the cape gooseberry, which presented an overlap between the categories of Curzate, Daconil, and Preza, as observed in Figure 3D and Figure 4D based on PCA and LDA analysis. Although Daconil, Curzate, and Preza are pesticides that belong to different chemical classes (organochlorines, acetamides, and anthranilamides) and contain different active ingredients (Table 1) and mechanisms of action, there are some similarities in terms of their chemical properties and their use in pest and disease control in agriculture. The application of these pesticides on fruits may lead to similar patterns of volatile organic compounds (VOCs), which could result in overlaps in PCA and LDA plots when analyzing volatile profiles with the E-nose. This can occur due to the chemical degradation of the pesticides or secondary compounds formed during the application of these products. Additionally, the fruits may emit their own VOCs in response to the chemical or oxidative stress caused by the pesticides. These VOCs may include alcohols, aldehydes, ketones, esters, terpenes, and other compounds that are produced as part of normal metabolic pathways or as a direct response to stress [66,67,68].
Figure 4 illustrates similar behavior using the LDA classifier, where a separation of the organic fruit category is observed concerning fruit contaminated with the pesticide. In the same way, there was an overlap in the case of cape gooseberry with respect to Daconil, Curzate, and Preza. On the other hand, less dispersion in the data concerning that of the PCA was obtained (see Figure 3). The significant overlap between the samples of cape gooseberry treated with Daconil, Curzate, and Preza in the LDA analysis may be attributed to several factors related to the ripening stage, the chemical composition of the pesticides, the physiological response of the fruit to these treatments, the extraction temperature of the VOCs, or the detection capabilities of the E-nose, as the sensors may not be sufficiently specific to distinguish between these compounds. The LDA method was used together in this study, since PCA analysis may be used to reduce the dimensionality of the data, followed by LDA to further reduce the dimensions and optimize the separation between classes for classification tasks. The classification method resulted in a level of 90% accuracy.

3.1.2. E-Tongue

In the PCA analysis, the data obtained by E-tongue were used to achieve high discrimination and separation in the samples. The results from the E-tongue show less scatter in the data than those from the E-nose. This indicates that the compounds detected by the E-tongue are generally more stable, as the interactions between soluble chemicals and sensors are more direct and susceptible to environmental or experimental variability than VOCs. This means that once a sample is prepared and measured, the detected compounds will likely remain more constant, resulting in more reproducible data. Nevertheless, in the case of the apple, an error was generated due to an “outlier” for one of the samples, between the organic fruit category and that contaminated with Funlate (see Figure 5), causing an alteration in the separation between these groups in the PCA space, making it appear as an overlap between the categories. Potential causes of the outlier could include experimental error (such as measurement errors, data recording issues for that specific sample, equipment problems with the E-tongue, cross-contamination, or human errors in sample preparation), biological variability (significant natural variations in chemical profiles due to factors such as ripening, growth conditions, or storage), and chemical interference (presence of a previously undetected compound or an undesired chemical reaction).
It is important to highlight that in all the results obtained with the E-tongue, PC1 explains more than 97% of the variance, which means that a single feature or a set of features is dominant in differentiating the samples. Figure 6 shows the result in the discrimination of the fruits using the E-tongue, where it is possible to observe that the same behavior is maintained in the classification of the four fruits using LDA.
The overlap between the samples of gooseberry treated with Bricol and Curzate in the LDA may be due to several factors related to the fruit’s ripeness, the chemical composition of the pesticides, the fruit’s physiological response to these treatments, the extraction temperature of the VOCs, or the detection capability of the E-nose, as the sensors may not be sufficiently specific to differentiate between these compounds. On the other hand, the LDA classifier obtained 92.65% accuracy.

3.2. Classification of Pesticides in Fruits with Statistical Methods

The accuracies of the methods evaluated with the data acquired through the two devices are found in Table 4, where it can be seen that the E-nose was able to predict the data behavior of different fruits from the linear discrimination classifier, regarding the classification methods, as the classification of plum obtained a value of 95.2%, followed by the apple with 90.5% success rate, where this value is repeated for the rest of the methods evaluated. The information above confirms the PCA and LDA results of Figure 3A,C and Figure 4A,C. Furthermore, it was possible to classify the organic plum from the others by putting into practice the supervised methods in the same way for the organic apple with each of the pesticides studied (Amistar and Funlate). For the other fruits, 85.7% accuracy was obtained for cape gooseberry and 81% for strawberry with the E-nose. Moreover, a cross-validation method was applied to the measurements with a k-fold = 5 to validate these results, obtaining good accuracy through the different techniques.
When analyzing the samples, the data may change due to the nature of the sample, even if it is from the same fruits and pesticides, taking into account the new variables added, such as sugars, minerals, or acids that are not volatile at ambient conditions. The classification percentages reach 95.2% concerning the results achieved by the classification methods, as seen in Table 4.
Moreover, adding new variables improves the classification percentage by changing the order of the data; they can be adjusted to a model that improves the classification. With the E-tongue, the method that best predicts the behavior of the data is naïve Bayes, since success percentages of 98% were obtained with cape gooseberry and 93.3% for plum, strawberry, and apple. Regarding cape gooseberry, if compared with Figure 4D and Figure 6D, it was possible to determine that with the E-tongue, better classification and data discrimination were obtained. This explains that there is a satisfactory linear correlation applying the linear discrimination method, where it managed to achieve 80% classification in all fruits. The E-tongue appears more effective than the E-nose for classifying pesticide-treated fruits. This is evidenced by its greater accuracy and consistency across all classification methods and fruit types. The E-nose, although a useful system for agro-food applications, shows a more variable performance and, in this study, was less effective on fruits such as strawberry and cape gooseberry, which means that volatile compounds detected by the E-nose are more difficult to use for classification compared to compounds detected by the E-tongue.
Table 5 depicts the metrics used to evaluate the performance of an E-nose in discriminating between organic fruits and fruits contaminated with various pesticides, based on the selection of the best classification model obtained in Table 4 and the confusion matrix. The metrics presented include precision, sensitivity, specificity, accuracy, F1 score, and negative predictive value (NPV). The linear discrimination model, in most cases, achieved classification values above 90%, with precision rates reaching up to 100% in identifying pesticides in some fruits. The E-tongue seems more effective than the E-nose for classifying pesticide-treated fruits. This is evidenced by its greater accuracy and consistency across all classification methods and fruit types. Although the E-nose is a useful system for agro-food applications, it shows a more variable performance and, in this study, was less effective on fruits such as strawberries and cape gooseberries, indicating that the volatile compounds detected by the electronic.
Likewise, Table 6 illustrates the metrics derived from the confusion matrix of the SVM, linear discriminant, and naïve Bayes models, which show precision values reaching up to 100% in identifying nearly all pesticides in fruits. This result confirms that the E-tongue outperformed the E-nose, demonstrating superior accuracy and effectiveness in pesticide detection across various fruit samples.

3.3. Classification of Pesticide Concentrations in Fruits with Multivariate Analysis Methods

This study also evaluated the ability of the E-nose and E-tongue to differentiate between different concentrations of pesticides existing in each fruit, based on the measurements made and the application of different data processing methods. Therefore, different concentrations were prepared between 0.2 and 3 ppm values in each pesticide to determine the discrimination and classification between organic fruit samples and those contaminated with pesticides.

3.3.1. Plum

Figure 7 shows the results of a PCA and LDA analysis for different concentrations of the pesticides Amistar and Funlate in plums, using an E-tongue, where the graphs illustrate the discrimination between different concentrations of pesticides and organic fruits, showing a high selectivity and repeatability in the measurements. On the other hand, the variance explained by PC1 alone is 92.09% for Amistar and 91.45% for Funlate, indicating a strong capacity of the E-tongue system to capture most of the variability in the data.
Likewise, in Figure 8, the data acquired by the E-tongue are projected from the organic sample to concentrations of 3 mg/kg, with a variance of 99.69% (Figure 8A) for Amistar and 98.88% (Figure 8A) in the Funlate for PC1. Figure 8A illustrates that the organic fruit samples are clearly separated from the samples treated with different concentrations of Amistar.
In the case of organic plums and plums treated with Funlate and Amistar pesticides, it can be seen from the responses in Figure 7 and Figure 8 that the E-tongue is more effective than E-Nose in discriminating between organic fruits and fruits treated with different concentrations of pesticides. Therefore, the E-tongue provides a better separation between the groups, indicating that there is greater sensitivity and precision in detecting changes in the chemical profiles, where the E-nose shows more variability in the data, especially at higher concentrations.

3.3.2. Strawberry

On the other hand, the behavior of the strawberry using the E-nose through PCA and LDA analysis of the Across and Bricol concentrations can be seen in Figure 9. They were correctly discriminated and classified, generating a variance of 94.08% (Figure 9A) and 93.96% (Figure 9B). Despite the PCA and LDA plots showing clear separation between the different concentrations of Bricol and Across with respect to organic strawberry, there is a lack of linear distribution in the concentrations using the Bricol pesticide, as observed in Figure 9, where the concentration clusters are located in an ascending manner from the concentration of 0.2 to the concentration of 3 ppm. The lack of a linear distribution in the multivariate analysis graphs may be due to different factors such as the way the pesticides interact with the different components of the fruit (such as sugars, acids, and water), the natural variability in the chemical composition of the fruits (due to differences in ripening, storage, growth conditions, etc.), and the effects of mixing VOCs, among others.
Figure 10 depicts the responses of the PCA and LDA models in identifying pesticide concentrations in strawberries using the E-tongue. For the pesticide Across, the device demonstrated a strong ability to distinguish between organic strawberries and those treated with varying concentrations of Across, achieving a variance of 99.85%, which differentiates the detected chemical profiles (see Figure 10A). In contrast, for the pesticide Bricol, the measurements showed some similarities, likely due to the presence of outliers that emerged during experimental tests or partial sensor saturation caused by surface interactions, among other factors. Despite these challenges, the system achieved a variance of 99.91%, as depicted in Figure 10B. This high level of variance means that, even with the presence of outliers, the system retains substantial sensitivity in detecting chemical differences between treated and organic simples.

3.3.3. Apple

Figure 11 demonstrates that the E-tongue effectively distinguishes between organic apples and those treated with varying concentrations of Amistar and Funlate pesticides. The PCA plots reveal a generally good separation, though some overlap is observed between closely related concentrations. In contrast, the LDA plots demonstrate clear and distinct separation without overlap. This means that while both PCA and LDA are valuable for classification, LDA could classify between different pesticide concentrations in apple samples.
For this data analysis, the apple samples obtained by E-tongue were included. It is noticed that for Amistar, a variance of 97.34% was achieved (see Figure 12A). Additionally, there is a slight scatter at the 3 ppm concentration, where the data overlap with the 2 ppm concentrations. The dispersion observed in some concentration groups represents that the accuracy of the E-tongue may vary depending on the pesticide concentration and sample composition, or due to limitations of the platinum screen-printed sensors used, as these have a limited capacity to adsorb molecules on their surface. At higher concentrations, such as 2 ppm and 3 ppm, the active sites on the electrode may begin to saturate, meaning that a further increase in pesticide concentration does not result in a proportional increase in the electrochemical signal. Consequently, the sensor’s electrode may not accurately distinguish between closely related concentrations, leading to overlap in the data.
Consequently, the same behavior is represented in the LDA analysis (Figure 12C). Additionally, in the PCA analysis of the Funlate pesticide was reached a discrimination of 98.52% in PC1, which denoted a discrimination between the organic sample and the pesticide concentrations, although there was a slight dispersion between the data for the organic apple.

3.3.4. Cape Gooseberry

Finally, the behavior of the concentrations applied in the cape gooseberry for the pesticides Bricol (A), Curzate (B), Daconil (C), and Preza (D) was evaluated by applying PCA, depicted in Figure 13, where a sequential dispersion of the data is generated according to the increase in the pesticide concentration.
Except for Curzate, all pesticides have more than 90% of the variance explained by the first principal component (PC1), indicating that most of the variability in the data is captured within a single principal dimension. Curzate, with only 68.54% of the variance explained by PC1, shows greater data dispersion, which means less differentiation between concentrations compared to the other pesticides. One possible explanation for the observed variability in the detection of Curzate is chemical degradation. This type of pesticide may be more unstable or reactive on the fruit’s surface or during measurement. Rapid degradation or secondary reactions with the components of the gooseberry can produce additional volatile products or unpredictably modify the original VOCs [69].
Moreover, Figure 14 shows the behavior of pesticide concentrations applied to cape gooseberry, which was acquired through the measurements made with the E-tongue, where there is less dispersion compared to the results shown in Figure 13. The above was because the E-tongue obtained variance values greater than 98%, compared with the E-nose.
Consequently, the variation values achieved with the E-tongue for pesticides are 99.74% in Bricol, 89.87% in Curzate, 99.02% for Daconil, and 99.32% in Preza. Figure 15 illustrates the data classification with the LDA analysis method, where it was also compared with the PCA analysis, achieving good repeatability in the responses with the E-nose. However, the close clustering of samples with 0.2 ppm of pesticides (Curzate and Preza) and the organic fruit samples in Figure 15 can be owing to the low sensitivity of the sensor at low concentrations, as the amount of pesticide present may be near the detection limit of the platinum sensor used in the E-tongue.
Figure 16 represents the results of gooseberry concentrations where the measurements were classified from the LDA analysis using the E-tongue, achieving different variance percentages of 99.74% in Bricol, 89.87% in Curzate, 99.02% in Daconil, and 99.32% in Preza.

3.4. Classification of Pesticide Concentrations in Fruits with Machine Learning Methods

For data processing, different supervised machine learning methods were used, which were applied to calculate the accuracy and compare the measurements acquired with the E-nose and E-tongue.
Table 7 illustrates that the E-nose responded better with the measurements of plum contaminated with Amistar by applying quadratic the SVM, cubic SVM, and fine k-NN methods, with an accuracy of 97.1%. In the case of plum with Funlate, the fine k-NN method was applied to the dataset, obtaining a value of 94.3% success. Moreover, in strawberry, the decision trees method reached a value of 88.6% and 85.7% in the use of Across and Bricol pesticides, where the latter obtained 100% accuracy through the classification method. For this reason, the Bricol accomplished higher percentages than Across pesticide applying other methods because the gas sensor array could identify the chlorine compound present in the active compound of this pesticide. Regarding the apple, 94.3% success rate was reached by using the cubic SVM method with the pesticide Amistar, and with Funlate, an accuracy of 97.1% through the naïve Bayes and fine K-NN methods, respectively. Hence, the E-nose has greater accuracy in identifying the compounds present in Funlate. On the other hand, the cape gooseberry with the Bricol pesticide obtained a better classification using the naïve Bayes method, which achieved a success rate of 97.1%; Similarly, the pesticide Curzate was classified with 94.3% success rate applying the fine k-NN method. Consequently, for the Daconil pesticide in cape gooseberry fruit, 97.1% was accomplished by using the SVM method and the same classification with the Preza pesticide. Additionally, the cubic SVM method achieved an 88.6% success rate. According to the findings found through the classification methods of four pesticides studied with the E-tongue, greater accuracy was accomplished in the cape gooseberry fruit in identifying the Preza pesticide.
In the same way, these classification methods were also applied to the data acquired by E-tongue, where better success percentages were obtained. For example, in plums, the Amistar pesticide was identified with a success rate of 98% through naïve Bayes, and 92% in Funlate with the linear discrimination method. Concerning strawberries and using Across pesticide, the best classified method was linear discrimination, achieving an accuracy of 98%. In the same way, the Bricol pesticides with strawberries gained a 94% success rate through the cubic SVM. The above is compared with what was obtained with the E-nose, since the pesticide could be identified in the strawberry because the Bricol pesticide has an active ingredient that is mainly made up of nitrogen, oxygen, carbon, and hydrogen molecules, which have an electrochemical behavior, where the detection is possible with the platinum electrode of the E-tongue. With respect to apples, the method with the greatest accuracy in classifying the data was linear discrimination, with a value of 96% in the classification of the Amistar pesticide. For cape gooseberry, the best methods that classified pesticides were linear discrimination with a success rate of 98% with the pesticide Bricol, the naïve Bayes method with Curzate, and the cubic SVM method for the Daconil pesticide. Finally, in detecting the Preza pesticide, the best results were achieved with 100% accuracy in the data classification obtained with the naïve Bayes, cubic SVM, and fine K-NN methods. It should be clarified that a cross-validation method was applied to the measurements with a k-fold = 5 used for the different methods. Table 5 describes the results of the data classification methods.

3.5. Results with Sensory Perception Systems Using Test Data

Figure 17, Figure 18, Figure 19 and Figure 20 demonstrate the results of the validation analysis using the E-tongue and E-nose to determine the presence of pesticides in fruits directly harvested from pesticide-treated crops. Initially, models were created (see Figure 3 and Figure 5) using machine learning methods using organic fruit samples and fruits contaminated in the laboratory. As previously explained, these models were trained and validated to identify distinctive features of each group using pattern recognition techniques such as LDA and PCA applied to the data obtained from the two electronic devices. Subsequently, test fruit samples, whose condition (organic or contaminated) was previously unknown, were analyzed to validate the created models. If the test fruit samples are closer to the group representing fruits contaminated with a specific pesticide, they are inferred to contain that pesticide. Conversely, if the test fruit samples are closer to the organic fruit group, they are considered pesticide-free. These results were further validated through interviews with the crop owners, who provided additional confirmation of the findings obtained using the E-nose and E-tongue.

3.5.1. Plum

Figure 17A,B illustrate the LDA and PCA analysis results with the plum data obtained with the E-nose, where a separation can be seen between the organic fruit and the fruit obtained from the crop.
Through the PCA, it is observed that the plum samples contaminated with the Funlate pesticide at a concentration of 3 ppm and the newly cultivated plum sample generate an overlap of the measurements with each other, which indicates that the plum sample cultivated crop has a greater incidence of the Funlate pesticide (see Table 6). The above confirms what was mentioned by the farmers, where the incidence of the active principle of this pesticide is detected during the pest control stage, which was previously applied.
However, the Amistar pesticide samples (concentration of 3 ppm) do not group closely with the cultivated fruit. Further, the Amistar may be in a lower concentration because it is applied in an initial stage of the ripening process, which causes its presence in the fruit to decrease over time, either due to natural washing conditions or crop irrigation. In analyzing the E-tongue response with the plum data, Figure 17C,D show excellent behavior in separating the categories. Likewise, through the results of the LDA analysis (Figure 18D), an approach between the cultivated fruit and Funlate is illustrated.

3.5.2. Strawberry

Figure 18 illustrates the multivariate analyses for the strawberry with the sensory devices. It was determined that similar behavior was maintained concerning the plum. In this way, it was possible to compare the data from the training stage and those acquired from the cultivated fruits.
The results with the E-nose, as seen in Figure 18A,B, represent a separation between the organic strawberry and the cultivated strawberry regarding the strawberry contaminated with the Bricol and Across pesticides to the concentration of 3 mg/kg. In the same way, proximity is noted between the sample contaminated with Bricol and the cultured sample, which is observed more clearly using the E-tongue, as depicted in Figure 18C,D. Therefore, the overlap presented between the samples is assumed to be that the cultivated strawberry is found at a higher concentration of the pesticide; furthermore, it is essential to highlight that this same behavior was not obtained with the Across sample since it is located in a more distant region concerning the cultivated strawberry.
The above confirms that with the E-tongue, it is possible to detect the predominant incidence of Bricol on the fruit. The responses are represented through LDA and PCA analysis, which indicates that the contribution of non-volatile substances is more significant than that of volatile substances.

3.5.3. Apple

In the study with the apple (see Figure 19), a comparative analysis could be made to the plum because the same pesticides were applied to both fruits. Therefore, in the results with the E-nose (Figure 19A,B), it can be seen there is a more significant influence by the pesticide Funlate concerning Amistar, because one of the measurements of the sample of the cultivated apple has a similarity with the model contaminated with Funlate, which shows that the results achieved by the E-tongue confirm this information since it is in accordance with Figure 19C,D, where a grouping is presented between these samples.

3.5.4. Cape Gooseberry

In the same way, to the three previous fruits, it is observed through multivariate analysis that it is possible to maintain a good separation of two types of organic and cultivated fruits. For this reason, Bricol was detected as the pesticide that obtained the highest concentration in the cape gooseberry to analyze pesticides in the fruit. In the E-nose, it can be observed in the PCA and LDA (Figure 20A,B) that the categories are separated, which does not confirm what pesticide type of the fruit samples could have cultivated. However, using the E-tongue, it is possible to observe the separation of the categories (Figure 20C,D), in which there is a similarity between the cultivated cape gooseberry sample and the cape gooseberry contaminated with Bricol pesticide at a concentration of 3 ppm.

4. Discussion

Nowadays, most studies have focused on using the E-nose to detect pesticides in fruits (apples [44], sweet cherries [43], peaches [46]). In the study conducted by Rivera Nategh et al. [46], an E-nose composed of eight chemoresistive sensors was used to detect organophosphate pesticide residues in peaches (Prunus persica) and distinguish between three concentrations (1, 2, and 3 ppm) as well as pesticide-free fruit. The sensor responses were recorded using PCA, achieving a variance of 99.8% with two principal components. Another study by Nategh et al. [43] demonstrated the capability of an E-nose composed of 10 MQ and TGS reference sensors to detect Diazinon pesticide residues in cherries and differentiate between four stages of fruit maturity. The authors employed three data analysis methods: PCA, LDA, and ANN. PCA score plots of PC1 and PC2 captured 90–96% of the variance in the data for toxic and non-toxic sweet cherries, while ANN and LDA achieved 100% classification accuracy. In another study, Tang et al. [44] evaluated the performance of a commercial PEN3 E-nose equipped with 10 metal oxide semiconductor (MOS) sensors for detecting pesticides in apple samples. The fruit samples were treated with two pesticides containing cypermethrin and chlorpyrifos at four different concentrations and one mixture. PCA and LDA methods successfully differentiated between control and contaminated samples at varying concentrations. Although both methods were effective, PCA exhibited the best discrimination ability. The SVM method demonstrated high accuracy, ranging from 94% to 97% for training datasets and from 90% to 93% for testing datasets, concluding that the commercial E-nose is a useful tool for pesticide residue detection. In a more recent study, an E-nose composed of 11 gas sensors was fabricated, allowing for differentiation between pesticide-contaminated cherries (Korban) and non-contaminated cherries. Four classification algorithms (random forest classifier, extra trees classifier, decision tree classifier, and k-nearest neighbor (kNN)) were employed, with the extra trees classifier achieving the most satisfactory results, with a classification accuracy of 94.30%, a sensitivity of 93.00%, and a specificity of 95.60% [70]. Regarding E-tongues, there is limited literature focused on pesticide detection in fruits. However, some biosensors made from various materials have been used to detect pesticides (malathion and cadusafos) in laboratory-prepared matrices (water, food). In terms of classification, sensitivity, and specificity, studies on pesticide detection in fruits using E-noses show promising results. Additionally, the ability of these devices to differentiate between various types of pesticides and concentrations, along with their high sensitivity and specificity, makes them promising tools for enhancing safety and quality control in the food industry [71,72,73]. However, to date, no studies have been reported in the literature that implement both an E-nose and tongue simultaneously to detect pesticides in different fruits and concentrations. Only one study conducted by the same authors [74] managed to discriminate and classify newly cultivated and organic fruits using both technologies. Both devices demonstrated the ability to discriminate and classify the studied samples, although the E-tongue exhibited greater data dispersion and some overlap between the analyzed data classes. Therefore, the distinction between the study proposed in this research and the others mentioned above lies in using both technologies to detect pesticides in various fruits characteristic of the region compared to organic fruit that was free of contamination.
Additionally, different performance metrics of the E-nose and E-tongue were evaluated using the best classification model reported in Table 4, followed by the evaluation of the metrics for the best models. Overall, both devices achieved up to 100% classification accuracy in detecting pesticides in some fruits, but the E-tongue showed better precision in most cases, particularly for fruits like plums, apples, and cape gooseberries treated with various pesticides, indicating a robust capability to correctly identify both organic and pesticide-treated fruits. It is also evident that in other metrics (sensitivity, accuracy, and F1 score), the E-tongue demonstrated better efficiency than the E-nose, as the latter showed more variability in the data, especially for strawberries and cape gooseberries. This could suggest that the E-nose is more sensitive to variations in the fruit matrix or pesticide characteristics. Additionally, different pesticide concentration ranges were evaluated to assess the ability of these devices to detect and classify samples within categories, generally achieving accuracy greater than 80% and reaching 100% in detecting Preza and Bricol for cape gooseberries, depending on the classifier implemented. Similarly, the E-tongue showed better performance than the E-nose in discriminating pesticide concentrations in fruits. This is attributed to its higher precision, sensitivity, accuracy, and specificity, as well as its more effective capability to distinguish between different pesticide concentrations in various fruits. Finally, test samples (whose condition was previously unknown) were used with the model created in the first stage of this study to determine the type of pesticide contained in the test samples, where successful classification results were achieved. Although good results have been obtained, it is necessary to validate the operation of the sensory equipment based on the previously created model and trained with the learning methods, where it is also convenient to use commercial analytical equipment such as GC-MS, since it allows for identifying the active ingredients of pesticides, and in this way verify the results obtained previously. Therefore, the detection of the active ingredients of pesticides employing this equipment would help us to confirm the information provided by farmers and by the responses of sensory perception systems.
Based on the results obtained in this study, we achieved high accuracies, with some classifications reaching 100%. These outcomes demonstrate the effectiveness of our approach and make our study competitive when compared to previous research in the field of pesticide classification.

5. Conclusions

This pilot study was carried out to evaluate the ability to detect pesticides in fruits through an E-nose and E-tongue, where the E-nose was composed of metal oxide gas sensors, while the E-tongue was through platinum electrodes.
Some difficulties were observed in differentiating the categories of Curzate, Daconil, and Preza, since a similarity of the compounds between the characteristic chemicals of those pesticides was noticed. On the other hand, it was possible to identify the pesticide categories in the previously mentioned fruits by applying the platinum electrode since, through the responses of the multivariate analysis, the variance of the dataset was high in the first two PCA components and LDA factors.
It should be clarified that the PCA method was used primarily to visualize the behavior and discrimination of pesticide categories in fruits within a two-dimensional space. It is important to note that PCA was not used to classify the measurements. However, its application has also been demonstrated in optimizing machine learning methods, as it enabled extracting more meaningful and informative features from the data, thereby enhancing the performance of the predictive models.
In the analysis made of data concentrations from the different types of pesticides applied to each of the fruits, it was observed that the E-nose and E-tongue could discriminate concentrations from 0.2 ppm to 3 ppm, and they were able to identify each of the categories of organic fruit and concentrations.
There were slight overlaps in the strawberry samples and plum samples with pesticides, where a better percentage of accuracy was observed in the data classification using each classification method. For example, the cape gooseberry fruit obtained 100% success rate. Nevertheless, the E-nose obtained good success rates in the classification of strawberries and plums, reaching percentages close to those of the E-tongue, indicating that both sensory systems could be useful in evaluating quality in producing different types of fruits.
In this study, the electronic tongue was highlighted as a promising tool for pesticide detection in fruits, providing interesting results across a variety of fruit types and pesticides. Its performance results may make it ideal for applications in quality control and food safety, as it could enable producers and regulators to make informed decisions about the safety and quality of products. On the other hand, the electronic nose also proved to be effective due to its high accuracy and specificity in various fruit–pesticide combinations, which could be a valuable tool, especially in applications requiring rapid detection and a high level of specificity. Therefore, the choice between the electronic tongue and the electronic nose should be based on the specific needs of the application, considering factors such as detection speed, required accuracy, and the type of samples to be analyzed. However, it is important to continue optimizing these types of systems to have a better level of performance.
As future work, it is necessary to make improvements in the analysis of certain specific pesticide substances through GC-MS to optimize the sampling and acquisition protocol with the E-tongue, and also evaluate the behavior of the responses of the gas sensors to achieve better performance in the classification of the samples. On the other hand, a data fusion of the information extracted from both equipment could help improve the results since gas sensors and electrochemical analysis would help to increase the information of the samples acquired by the measurement equipment.

Author Contributions

Conceptualization, C.M.D.A., J.K.C.G. and D.D.C.N.; methodology, J.K.C.G. and D.D.C.N.; validation, D.D.C.N. and J.K.C.G.; investigation, C.M.D.A. and J.K.C.G.; writing—original draft preparation, C.M.D.A., J.K.C.G. and D.D.C.N.; writing—review and editing, C.M.D.A. and J.K.C.G.; visualization, C.M.D.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset is available upon request by emailing the authors.

Acknowledgments

The authors acknowledge the GISM Research Group (Pamplona—Colombia) for its cooperation and support during the collection and acquisition of samples.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Skendžić, S.; Zovko, M.; Živković, I.P.; Lešić, V.; Lemić, D. The impact of climate change on agricultural insect pests. Insects 2021, 12, 440. [Google Scholar] [CrossRef] [PubMed]
  2. Mosier, S.; Córdova, S.C.; Robertson, G.P. Restoring Soil Fertility on Degraded Lands to Meet Food, Fuel, and Climate Security Needs via Perennialization. Front. Sustain. Food Syst. 2021, 5, 706142. [Google Scholar] [CrossRef]
  3. Viana, C.M.; Freire, D.; Abrantes, P.; Rocha, J.; Pereira, P. Agricultural land systems importance for supporting food security and sustainable development goals: A systematic review. Sci. Total Environ. 2022, 806, 150718. [Google Scholar] [CrossRef] [PubMed]
  4. United Nations, UN/DESA Policy Brief #102: Population, Food Security, Nutrition and Sustainable Development|Department of Economic and Social Affairs, United Nations. 2021. Available online: https://www.un.org/development/desa/dpad/publication/un-desa-policy-brief-102-population-food-security-nutrition-and-sustainable-development/ (accessed on 18 June 2024).
  5. UNFPA, Objetivos y Metas de Desarrollo Sostenible—Desarrollo Sostenible, Web Page. (2017) 1. Available online: https://www.un.org/sustainabledevelopment/es/objetivos-de-desarrollo-sostenible/ (accessed on 18 June 2024).
  6. Giller, K.E.; Delaune, T.; Silva, J.V.; Descheemaeker, K.; Van de Ven, G.; Schut, A.G.T.; Van Wijk, M.; Hammond, J.; Hochman, Z.; Taulya, G.; et al. The future of farming: Who will produce our food? Food Secur. 2021, 13, 1073–1099. [Google Scholar] [CrossRef]
  7. Van Dijk, M.; Morley, T.; Rau, M.L.; Saghai, Y. A meta-analysis of projected global food demand and population at risk of hunger for the period 2010–2050. Nat. Food 2021, 2, 494–501. [Google Scholar] [CrossRef]
  8. Aghili Nategh, N.; Anvar, A.; Dalvand, M.J. Detection of Acetamiprid residue in sour cherry in different degrees of maturity using an E-nose. Agric. Eng. 2020, 43, 235–254. [Google Scholar] [CrossRef]
  9. FAO. FAO Publications Catalogue 2022—October; FAO: Rome, Italy, 2022. [Google Scholar] [CrossRef]
  10. Popp, J.; Pető, K.; Nagy, J. Pesticide productivity and food security. A review. Agron. Sustain. Dev. 2013, 33, 243–255. [Google Scholar] [CrossRef]
  11. Sharma, A.; Kumar, V.; Shahzad, B.; Tanveer, M.; Sidhu, G.P.S.; Handa, N.; Kohli, S.K.; Yadav, P.; Bali, A.S.; Parihar, R.D.; et al. Worldwide pesticide usage and its impacts on ecosystem. SN Appl. Sci. 2019, 1, 1446. [Google Scholar] [CrossRef]
  12. Aktar, W.; Sengupta, D.; Chowdhury, A. Impact of pesticides use in agriculture: Their benefits and hazards. Interdiscip. Toxicol. 2009, 2, 1–12. [Google Scholar] [CrossRef]
  13. Alavanja, M.C.R. Introduction: Pesticides use and exposure extensive worldwide. Rev. Environ. Health 2009, 24, 303–309. [Google Scholar] [CrossRef]
  14. Tudi, M.; Ruan, H.D.; Wang, L.; Lyu, J.; Sadler, R.; Connell, D.; Chu, C.; Phung, D.T. Agriculture development, pesticide application and its impact on the environment. Int. J. Environ. Res. Public Health 2021, 18, 1112. [Google Scholar] [CrossRef] [PubMed]
  15. Pathak, V.M.; Verma, V.K.; Rawat, B.S.; Kaur, B.; Babu, N.; Sharma, A.; Dewali, S.; Yadav, M.; Kumari, R.; Singh, S.; et al. Current status of pesticide effects on environment, human health and it’s eco-friendly management as bioremediation: A comprehensive review. Front. Microbiol. 2022, 13, 962619. [Google Scholar] [CrossRef] [PubMed]
  16. Bernardes, M.F.F.; Pazin, M.; Pereira, L.C.; Dorta, D.J. Impact of Pesticides on Environmental and Human Health. In Toxicology Studies—Cells, Drugs and Environment; IntechOpen: London, UK, 2015. [Google Scholar] [CrossRef]
  17. Rather, I.A.; Koh, W.Y.; Paek, W.K.; Lim, J. The sources of chemical contaminants in food and their health implications. Front. Pharmacol. 2017, 8, 830. [Google Scholar] [CrossRef]
  18. Tudi, M.; Li, H.; Li, H.; Wang, L.; Lyu, J.; Yang, L.; Tong, S.; Yu, Q.J.; Ruan, H.D.; Atabila, A.; et al. Exposure Routes and Health Risks Associated with Pesticide Application. Toxics 2022, 10, 335. [Google Scholar] [CrossRef] [PubMed]
  19. Calaf, G.M. Role of organophosphorous pesticides and acetylcholine in breast carcinogenesis. Semin. Cancer Biol. 2021, 76, 206–217. [Google Scholar] [CrossRef]
  20. Ordoñez-Zarama, Y.A.; Jurado-Fajardo, D.; Paredes-Panesso, M.C.; Rosero-Bello, D.A.; Montenegro-Coral, F.A.; Risueño-Blanco, J.A.; Portillo-Miño, J.D. Sociodemographic and clinical characteristics related to the final condition of patients intoxicated by Paraquat in a hospital in Southwestern Colombia. Biomedica 2022, 42, 479–491. [Google Scholar] [CrossRef] [PubMed]
  21. Mew, E.J.; Padmanathan, P.; Konradsen, F.; Eddleston, M.; Sen Chang, S.; Phillips, M.R.; Gunnell, D. The global burden of fatal self-poisoning with pesticides 2006-15. Systematic review. J. Affect. Disord. 2017, 219, 93–104. [Google Scholar] [CrossRef]
  22. Buendía, J.A.; Chavarriaga, G.J.R.; Zuluaga, A.F. Burden of paraquat poisoning in the department of Antioquia, Colombia. BMC Pharmacol. Toxicol. 2019, 20, 11. [Google Scholar] [CrossRef]
  23. Sánchez-Bayo, F. Indirect effect of pesticides on insects and other arthropods. Toxics 2021, 9, 177. [Google Scholar] [CrossRef]
  24. Bempah, C.K.; Agyekum, A.A.; Akuamoa, F.; Frimpong, S.; Buah-Kwofie, A. Dietary exposure to chlorinated pesticide residues in fruits and vegetables from Ghanaian markets. J. Food Compos. Anal. 2016, 46, 103–113. [Google Scholar] [CrossRef]
  25. Macieira, A.; Barbosa, J.; Teixeira, P. Food Safety in Local Farming of Fruits and Vegetables. Int. J. Environ. Res. Public Health 2021, 18, 9733. [Google Scholar] [CrossRef] [PubMed]
  26. Jankowska, M.; Łozowicka, B.; Kaczyński, P. Comprehensive toxicological study over 160 processing factors of pesticides in selected fruit and vegetables after water, mechanical and thermal processing treatments and their application to human health risk assessment. Sci. Total Environ. 2019, 625, 1156–1167. [Google Scholar] [CrossRef]
  27. EWG’s 2023 Shopper’s Guide to Pesticides in Produce|Summary. Available online: https://www.ewg.org/foodnews/summary.php (accessed on 19 September 2023).
  28. Nguyen, T.T.; Rosello, C.; Bélanger, R.; Ratti, C. Fate of Residual Pesticides in Fruit and Vegetable Waste (FVW) Processing. Foods 2020, 9, 1468. [Google Scholar] [CrossRef]
  29. Zikankuba, V.L.; Mwanyika, G.; Ntwenya, J.E.; James, A. Pesticide regulations and their malpractice implications on food and environment safety. Cogent Food Agric. 2019, 5, 1601544. [Google Scholar] [CrossRef]
  30. Ministerio de Salud y Protección Social. Available online: https://www.minsalud.gov.co/Portada2021/index.html (accessed on 19 September 2023).
  31. Syrgabek, Y.; Alimzhanova, M. Modern Analytical Methods for the Analysis of Pesticides in Grapes: A Review. Foods 2022, 11, 1623. [Google Scholar] [CrossRef]
  32. Narenderan, S.T.; Meyyanathan, S.N.; Babu, B. Review of pesticide residue analysis in fruits and vegetables. Pre-treatment, extraction and detection techniques. Food Res. Int. 2020, 133, 109141. [Google Scholar] [CrossRef] [PubMed]
  33. Li, Z.; Askim, J.R.; Suslick, K.S. The OptoE-nose: Colorimetric and Fluorometric Sensor Arrays. Chem. Rev. 2019, 119, 231–292. [Google Scholar] [CrossRef] [PubMed]
  34. Askim, J.R.; Mahmoudi, M.; Suslick, K.S. Optical sensor arrays for chemical sensing: The optoE-nose. Chem. Soc. Rev. 2013, 42, 8649–8682. [Google Scholar] [CrossRef]
  35. Munekata, P.E.S.; Finardi, S.; de Souza, C.K.; Meinert, C.; Pateiro, M.; Hoffmann, T.G.; Domínguez, R.; Bertoli, S.L.; Kumar, M.; Lorenzo, J.M. Applications of E-nose, Electronic Eye and E-Tongue in Quality, Safety and Shelf Life of Meat and Meat Products: A Review. Sensors 2023, 23, 672. [Google Scholar] [CrossRef]
  36. Gliszczyńska-Świgło, A.; Chmielewski, J. E-nose as a Tool for Monitoring the Authenticity of Food. A Review. Food Anal. Methods 2017, 10, 1800–1816. [Google Scholar] [CrossRef]
  37. Carrillo-Gómez, J.K.; Durán Acevedo, C.M.; García-Rico, R.O. Detection of the bacteria concentration level in pasteurized milk by using two different artificial multisensory methods. Sens. Bio-Sens. Res. 2021, 33, 100428. [Google Scholar] [CrossRef]
  38. Rodríguez-Méndez, M.L.; De Saja, J.A.; González-Antón, R.; García-Hernández, C.; Medina-Plaza, C.; García-Cabezón, C.; Martín-Pedrosa, F. E-noses and tongues in wine industry. Front. Bioeng. Biotechnol. 2016, 4, 212083. [Google Scholar] [CrossRef]
  39. Tan, J.; Xu, J. Applications of E-nose (e-nose) and E-Tongue (e-tongue) in food quality-related properties determination: A review. Artif. Intell. Agric. 2020, 4, 104–115. [Google Scholar] [CrossRef]
  40. Baldwin, E.A.; Bai, J.; Plotto, A.; Dea, S. E-noses and tongues: Applications for the food and pharmaceutical industries. Sensors 2011, 11, 4744–4766. [Google Scholar] [CrossRef]
  41. Seesaard, T.; Wongchoosuk, C. Recent Progress in E-noses for Fermented Foods and Beverages Applications. Fermentation 2022, 8, 302. [Google Scholar] [CrossRef]
  42. Baietto, M.; Wilson, A.D. Electronic-nose applications for fruit identification, ripeness and quality grading. Sensors 2015, 15, 899–931. [Google Scholar] [CrossRef] [PubMed]
  43. Nategh, N.A.; Dalvand, M.J.; Anvar, A. Detection of toxic and non-toxic sweet cherries at different degrees of maturity using an E-nose. J. Food Meas. Charact. 2021, 15, 1213–1224. [Google Scholar] [CrossRef]
  44. Tang, Y.; Xu, K.; Zhao, B.; Zhang, M.; Gong, C.; Wan, H.; Wang, Y.; Yang, Z. A novel E-nose for the detection and classification of pesticide residue on apples. RSC Adv. 2021, 11, 20874–20883. [Google Scholar] [CrossRef]
  45. Marco, F.L.; Sabino, C.; Tuti, S.; Luisetto, I.; Petritoli, E.; Pecora, A.; Maiolo, L.; Durovic-Pejcev, R.; Dordevic, T.; Tomasevic, A.; et al. E-nose for pesticides detection: A first realization. In Proceedings of the 2017 IEEE International Workshop on Metrology for AeroSpace (MetroAeroSpace), Padua, Italy, 21–23 June 2017; pp. 403–407. [Google Scholar] [CrossRef]
  46. Rivera-Guerrero, M.A.; Gualdrón-Guerrero, O.E.; Torres-Chávez, I. Detección de pesticidas en el durazno (prunus pérsica) mediante una nariz electrónica. Rev. Investig. Desarro. Innovación 2020, 10, 359–365. [Google Scholar] [CrossRef]
  47. Tsagkaris, A.S.; Pulkrabova, J.; Hajslova, J. Optical screening methods for pesticide residue detection in food matrices: Advances and emerging analytical trends. Foods 2021, 10, 88. [Google Scholar] [CrossRef]
  48. Talan, A.; Mishra, A.; Eremin, S.A.; Narang, J.; Kumar, A.; Gandhi, S. Ultrasensitive electrochemical immuno-sensing platform based on gold nanoparticles triggering chlorpyrifos detection in fruits and vegetables. Biosens. Bioelectron. 2018, 105, 14–21. [Google Scholar] [CrossRef]
  49. Bala, R.; Kumar, M.; Bansal, K.; Sharma, R.K.; Wangoo, N. Ultrasensitive aptamer biosensor for malathion detection based on cationic polymer and gold nanoparticles. Biosens. Bioelectron. 2016, 85, 445–449. [Google Scholar] [CrossRef]
  50. Malvano, F.; Albanese, D.; Pilloton, R.; Di Matteo, M.; Crescitelli, A. A New Label-Free Impedimetric Affinity Sensor Based on Cholinesterases for Detection of Organophosphorous and Carbamic Pesticides in Food Samples: Impedimetric Versus Amperometric Detection. Food Bioprocess Technol. 2017, 10, 1834–1843. [Google Scholar] [CrossRef]
  51. Rhouati, A.; Majdinasab, M.; Hayat, A. A perspective on non-enzymatic electrochemical nanosensors for direct detection of pesticides. Curr. Opin. Electrochem. 2018, 11, 12–18. [Google Scholar] [CrossRef]
  52. Aprea, M.C. Environmental and biological monitoring in the estimation of absorbed doses of pesticides. Toxicol. Lett. 2012, 210, 110–118. [Google Scholar] [CrossRef]
  53. Duwest, Preza. Available online: https://duwest.com/wp-content/uploads/2021/03/HT_Preza10OD.pdf (accessed on 19 September 2023).
  54. Daconil. 2022, pp. 3–7. Available online: https://www.syngenta.com.co/sites/g/files/kgtney501/files/media/document/2022/08/05/daconil_720_sc_ficha_tecnica_10abril_2022.pdf (accessed on 19 September 2023).
  55. Curzare. 2018, pp. 1–5. Available online: https://www.corteva.co/content/dam/dpagco/corteva/la/mesoandean/co/es/files/etiquetas-web2021/CURZATE%20M-8%20-%20COL%20-%20ETIQUETA%20WEB%20-%20SEP%2021%202021.pdf (accessed on 19 September 2023).
  56. Fungicida Bricol 500 SC-DVA. Available online: https://agroquimicos-organicosplm.com/colombia/bricol_500_sc_dva/203/1/8536/58/3 (accessed on 19 September 2023).
  57. Tecnoquimicas, Across® 25 ec. (2010) 1. Available online: http://www.ghcia.com.co/plm/source/productos/9736_11_332.htm (accessed on 19 September 2023).
  58. Agrodac, AMISTAR® 50 WG. Available online: http://www.ghcia.com.co/plm/source/productos/2461_131_169.htm (accessed on 19 September 2023).
  59. Agroser, FUNLATE 50 WP—Agroser. Available online: https://www.agroserag.com/site/shop/proteccion/fungicidas/funlate-50-wp/ (accessed on 19 September 2023).
  60. RPubs—Análisis de componentes principales (PCA). Available online: https://rpubs.com/Cristina_Gil/PCA (accessed on 19 September 2023).
  61. Hazer-Rau, D.; Zhang, L.; Traue, H.C. Performance Evaluation of Various Emotion Classification Approaches from Physiological Signals. Int. J. Artif. Intell. Appl. 2018, 9, 31–41. [Google Scholar] [CrossRef]
  62. Vishwakarma, M.; Kesswani, N. A new two-phase intrusion detection system with Naïve Bayes machine learning for data classification and elliptic envelop method for anomaly detection. Decis. Anal. J. 2023, 7, 100233. [Google Scholar] [CrossRef]
  63. Lipo, W. Support Vector Machines: Theory and Applications; Springer Science+Business Media: Berlin, Germany, 2005; Volume 177, pp. 1–47. Available online: https://books.google.com.co/books?hl=es&lr=&id=uTzMPJjVjsMC&oi=fnd&pg=PA1&dq=support+vector+machine+algorithm&ots=GFHI7r2Hhc&sig=_gnMu0xHEmbS80SK9QE2wGqvJqE#v=onepage&q=supportvectormachinealgorithm&f=false (accessed on 19 September 2023).
  64. Fayed, H.A.; Atiya, A.F. A novel template reduction approach for the K-nearest neighbor method. IEEE Trans. Neural Netw. 2009, 20, 890–896. [Google Scholar] [CrossRef] [PubMed]
  65. Song, Y.Y.; Lu, Y. Decision trees methods: Applications for classification and prediction, Shanghai Arch. Psychiatry 2015, 27, 130–135. [Google Scholar] [CrossRef]
  66. Holopainen, J.K.; Gershenzon, J. Multiple stress factors and the emission of plant VOCs. Trends Plant Sci. 2010, 15, 176–184. [Google Scholar] [CrossRef]
  67. Li, J.; Di, T.; Bai, J. Distribution of Volatile Compounds in Different Fruit Structures in Four Tomato Cultivars. Molecules 2019, 24, 2594. [Google Scholar] [CrossRef] [PubMed]
  68. He, D.C.; Li, F.H.; Wu, M.; Luo, H.L.; Qiu, L.Q.; Ma, X.R.; Lu, J.-W.; Liu, W.-R.; Ying, G.-G. Emission of volatile organic compounds (VOCs) from application of commercial pesticides in China. J. Environ. Manag. 2022, 314, 115069. [Google Scholar] [CrossRef]
  69. Bicchi, C.; Cordero, C.; Liberto, E.; Sgorbini, B.; Rubiolo, P. Headspace sampling of the volatile fraction of vegetable matrices. J. Chromatogr. A 2008, 1184, 220–233. [Google Scholar] [CrossRef]
  70. Han, B. Electronic Detection of Pesticide Residueson Cherry Fruits. Int. J. Comput. Exp. Sci. Eng. 2024, 10, 364–370. [Google Scholar] [CrossRef]
  71. Murilo, H.; Mercante, L.; Mattoso, L.; Correa, D. Detection of trace levels of organophosphate pesticides using an electronic tongue based on graphene hybrid nanocomposites. Talanta 2017, 167, 59–66. [Google Scholar] [CrossRef]
  72. Wesoły, M.; Przewodowski, W.; Ciosek-Skibińska, P. Electronic noses and electronic tongues for the agricultural purposes. TrAC Trends Anal. Chem. 2023, 164, 117082. [Google Scholar] [CrossRef]
  73. Garefalaki, V.; Manco, G.; Porzio, E. Use of biosensors for rapid and sensitive detection of pesticides in food samples for food safety chemical risk assessment. EFSA J. 2022, 20, e200922. [Google Scholar] [CrossRef]
  74. Nieto, Y.; Cárdenas, D.; Carrillo, J.; Duran, C. Detection of Pesticides in Fruits such as Strawberry plum, Apple, and Cape gooseberry using an E-Tongue and Nose. In Proceedings of the LACCEI International Multi-Conference for Engineering, Education and Technology, Buenos Aires, Argentina, 19–21 July 2023. [Google Scholar] [CrossRef]
Figure 1. The overall scheme of the methodology.
Figure 1. The overall scheme of the methodology.
Applsci 14 08074 g001
Figure 2. Operation diagram of E-nose: (A) cleaning phase, (B) measurement phase.
Figure 2. Operation diagram of E-nose: (A) cleaning phase, (B) measurement phase.
Applsci 14 08074 g002
Figure 3. PCA plots of organic and contaminated fruit using E-nose: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Figure 3. PCA plots of organic and contaminated fruit using E-nose: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Applsci 14 08074 g003
Figure 4. LDA plots of organic and contaminated fruit using E-nose: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Figure 4. LDA plots of organic and contaminated fruit using E-nose: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Applsci 14 08074 g004
Figure 5. PCA plots of organic fruit vs. contaminated fruit analyzed using E-tongue: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Figure 5. PCA plots of organic fruit vs. contaminated fruit analyzed using E-tongue: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Applsci 14 08074 g005
Figure 6. LDA plots of organic and contaminated fruit were analyzed using E-tongue: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Figure 6. LDA plots of organic and contaminated fruit were analyzed using E-tongue: (A) plum, (B) strawberry, (C) apple, and (D) gooseberry.
Applsci 14 08074 g006
Figure 7. Discrimination and classification plots of pesticide concentrations and plum using E-nose: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Figure 7. Discrimination and classification plots of pesticide concentrations and plum using E-nose: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Applsci 14 08074 g007
Figure 8. Discrimination and classification plots of pesticide concentrations and plum using E-tongue: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Figure 8. Discrimination and classification plots of pesticide concentrations and plum using E-tongue: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Applsci 14 08074 g008
Figure 9. Discrimination and classification plots of pesticide concentrations and strawberry using E-nose: (A) PCA of Across, (B) PCA of Bricol, (C) LDA of Across, and (D) LDA of Bricol.
Figure 9. Discrimination and classification plots of pesticide concentrations and strawberry using E-nose: (A) PCA of Across, (B) PCA of Bricol, (C) LDA of Across, and (D) LDA of Bricol.
Applsci 14 08074 g009
Figure 10. Discrimination and classification plots of pesticide concentrations and strawberry using E-tongue: (A) PCA of Across, (B) PCA of Bricol, (C) LDA of Across, and (D) LDA of Bricol.
Figure 10. Discrimination and classification plots of pesticide concentrations and strawberry using E-tongue: (A) PCA of Across, (B) PCA of Bricol, (C) LDA of Across, and (D) LDA of Bricol.
Applsci 14 08074 g010
Figure 11. Discrimination and classification plots of pesticide concentrations and apple using E-nose: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Figure 11. Discrimination and classification plots of pesticide concentrations and apple using E-nose: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Applsci 14 08074 g011
Figure 12. Discrimination and classification plots of pesticide concentrations and apple using E-tongue: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Figure 12. Discrimination and classification plots of pesticide concentrations and apple using E-tongue: (A) PCA of Amistar, (B) PCA of Funlate, (C) LDA of Amistar, and (D) LDA of Funlate.
Applsci 14 08074 g012
Figure 13. PCA plots of pesticide concentrations and cape gooseberry using E-nose: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Figure 13. PCA plots of pesticide concentrations and cape gooseberry using E-nose: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Applsci 14 08074 g013
Figure 14. PCA plots of pesticide concentrations and cape gooseberry using E-tongue: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Figure 14. PCA plots of pesticide concentrations and cape gooseberry using E-tongue: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Applsci 14 08074 g014
Figure 15. LDA plots of pesticide concentrations and cape gooseberry using E-nose: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Figure 15. LDA plots of pesticide concentrations and cape gooseberry using E-nose: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Applsci 14 08074 g015
Figure 16. LDA plots of pesticide concentrations and cape gooseberry using E-tongue: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Figure 16. LDA plots of pesticide concentrations and cape gooseberry using E-tongue: (A) Bricol, (B) Curzate, (C) Daconil, and (D) Preza.
Applsci 14 08074 g016
Figure 17. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in plum.
Figure 17. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in plum.
Applsci 14 08074 g017
Figure 18. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in strawberry.
Figure 18. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in strawberry.
Applsci 14 08074 g018
Figure 19. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in apple.
Figure 19. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in apple.
Applsci 14 08074 g019
Figure 20. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in cape gooseberry.
Figure 20. Validation of data obtained with E-nose (A,B) and E-tongue (C,D) in cape gooseberry.
Applsci 14 08074 g020
Table 1. Information about pesticides according to the selected fruits.
Table 1. Information about pesticides according to the selected fruits.
FruitLocationPesticideActive
Substance
ClassificationReference
Cape
Gooseberry
Cerrito
(Santander)
PrezaCyantraniliprole
Applsci 14 08074 i001
Insecticide[53]
DaconilClorotalonil
Applsci 14 08074 i002
Fungicide[54]
Santa Rosa de Viterbo
(Boyacá)
CurzateMancozeb
Applsci 14 08074 i003
Fungicide[55]
Cymoxamil
Applsci 14 08074 i004
BricolCarbendazim
Applsci 14 08074 i005
Fungicide[56]
Flutriafol
Applsci 14 08074 i006
StrawberryTuta
(Boyacá)
AccrosDifenoconazole
Applsci 14 08074 i007
Fungicide[57]
BricolCarbendazim
Applsci 14 08074 i008
Fungicide[56]
Flutriafol
Applsci 14 08074 i009
Plum
Apple
AmistarAzoxistrobina
Applsci 14 08074 i010
Fungicide[58]
FunlateBenomyl
Applsci 14 08074 i011
Fungicide[59]
Table 2. Sensor description of E-nose.
Table 2. Sensor description of E-nose.
ChannelSensor TypeGas TargetDetection Limit
S1TGS 826Ammonia and amines30 ppm
S2TGS 831R-22 (monochlorodifluoromethane)10 ppm
S3TGS 821Hydrogen50 ppm
S4TGS 826Ammonia and amines30 ppm
S5TGS 842Methane and natural gas350 ppm
S6TGS 880Volatile gases, water vapor in food500 pm
S7TGS 825Hydrogen sulfide1 ppm
S8TGS 830R-22 (monochlorodifluoromethane)10 ppm
S9TGS 800Carbon monoxide, methane, iso-butane, hydrogen, ethanol.50 ppm
S10TGS 880Volatile gases, water vapor in food10 ppm
S11TGS 822Alcohol and organic solvents50 ppm
S12TGS 821Hydrogen50 ppm
S13TGS 832R-134ª (tetrafluoroethane)10 ppm
S14TGS 842Methane and natural gas500 ppm
S15TGS 831R-22 (monochlorodifluoromethane)10 ppm
S16TGS 813Hydrocarbons in general500 ppm
Table 3. E-tongue operation parameters.
Table 3. E-tongue operation parameters.
zAssigned Value
Econd [V]0
Edep [V]0
Tcond [s]0
Tdep [s]0
Tequil [s]0.3
Ebegin [V]0
Evtx1 [V]−1
Evtx2 [V]1
Estep [V]0.01
Srate [V/s]0.05
Nscans1
Table 4. Classification of fruits with pesticides through E-tongue and E-nose.
Table 4. Classification of fruits with pesticides through E-tongue and E-nose.
MethodAccuracy
E-NoseE-Tongue
PlumStrawberryAppleCape GooseberryPlumStrawberryAppleCape Gooseberry
Decision trees76.2%52.4%90.5%65.7%86.7%86.7%83.3%96%
Linear discrimination95.2%81%90.5%85.7%90%93.3%93.3%94%
Naïve Bayes66.7%47.6%90.5%62.9%93.3%93.3%93.3%98%
SVM (quadratic)85.7%76.2%90.5%74.3%93.3%93.3%90%94%
SVM (cubic)81%71.4%90.5%65.7%93.3%93.3%86.7%96%
K-NN (fine)85.7%52.4%90.5%60%90%93.3%86.7%96%
Table 5. Metrics obtained from the confusion matrix (linear discrimination function) for fruit pesticide identification using the E-nose.
Table 5. Metrics obtained from the confusion matrix (linear discrimination function) for fruit pesticide identification using the E-nose.
MetricsPlum
L. Discrimination
Strawberry
L. Discrimination
Apple
L. Discrimination
Gooseberry
L. Discrimination
OrgAmFuOrgAcBrOrgAmFuOrgBrCuDaPr
Precision100%100%87.5%83.3%75%85.7%85.7%100%87.5%87.5%100%83.3%83.3%75%
Sensitivity85.7%100%100%71.4%85.7%85.7%85.7%85.7%100%100%100%71.4%71.4%85.7%
Specificity100%100%92.9%92.9%85.7%92.9%92.9%100%92.9%96.4%100%96.4%96.4%92.9%
Accuracy95.3%95.3%95.3%81%81%81%90.5%90.5%90.5%85.7%85.7%85.7%85.7%85.7%
F1 score92.3%100%93.3%76.9%80.%85.7%85.7%92.3%93.3%93.3%100%76.9%76.9%80%
NPV93.3%100.%100%86.7%92.3%92.9%92.9%93.3%100%100%100%93.1%93.1%96.3%
Table 6. Metrics obtained from the confusion matrices of different ML models for fruit pesticide identification using the E-tongue.
Table 6. Metrics obtained from the confusion matrices of different ML models for fruit pesticide identification using the E-tongue.
MetricsPlum
SVM (Quadratic)
Strawberry
L. Discrimination
Apple
L. Discrimination
Gooseberry
Naive Bayes
OrgAmFuOrgAcBrOrgAmFuOrgBrCuDaPr
Precision100%90.9%90.9%100%90%90.9%90%100%90.0%100%100%90.9%100%100%
Sensitivity80%100%100%90%90%100%90%100%90%100%90.0%100%100%100%
Specificity100%95%95%100%95%95%95%100%95%100%100%97.5%100%100%
Accuracy93.3%93.3%93.3%93.3%93.3%93.3%93.3%93.3%93.3%98%98%98%98%98%
F1 score88.9%95.2%95.2%94.7%90%95.2%90%100%90%100%94.7%95.2%100%100%
NPV90.9%100%100%95.2%95%100%95%100%95%100%97.6%100%100%100%
Table 7. Classification of pesticide concentrations in fruits through data acquired using E-tongue and E-nose.
Table 7. Classification of pesticide concentrations in fruits through data acquired using E-tongue and E-nose.
MethodAccuracy Percentage (%)
E-Nose E-Tongue
Plum StrawberryAppleCape GooseberryPlumStrawberryAppleCape Gooseberry
AmFuAcBrAmFuBrCuDaPrAmFuAcBrAmFuBrCuDaPr
Decision Trees77.185.788.685.771.482.980.080.071.482.996.064.096.092.082.082.090.096.080.096.0
LDA82.971.471.485.777.182.965.780.082.960.092.092.098.092.096.096.098.090.096.092.0
Naïve Bayes91.488.677.197.185.797.191.488.694.382.998.080.094.092.080.084.094.098.092.0100
SVM (quadratic)97.180.071.191.491.488.688.688.697.185.796.084.096.092.084.090.094.094.096.098.0
SVM (cubic)97.185.774.394.394.388.688.688.694.388.696.086.094.094.094.088.090.096.098.0100
K-NN (fine)97.194.382.910088.697.182.994.380.080.092.090.096.090.094.092.096.096.096.0100
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Durán Acevedo, C.M.; Cárdenas Niño, D.D.; Carrillo Gómez, J.K. Sensory Perception Systems and Machine Learning Methods for Pesticide Detection in Fruits. Appl. Sci. 2024, 14, 8074. https://doi.org/10.3390/app14178074

AMA Style

Durán Acevedo CM, Cárdenas Niño DD, Carrillo Gómez JK. Sensory Perception Systems and Machine Learning Methods for Pesticide Detection in Fruits. Applied Sciences. 2024; 14(17):8074. https://doi.org/10.3390/app14178074

Chicago/Turabian Style

Durán Acevedo, Cristhian Manuel, Dayan Diomedes Cárdenas Niño, and Jeniffer Katerine Carrillo Gómez. 2024. "Sensory Perception Systems and Machine Learning Methods for Pesticide Detection in Fruits" Applied Sciences 14, no. 17: 8074. https://doi.org/10.3390/app14178074

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop