A Novel Strategy for Classifying Potassium Fertilizer Based on pH Level Using Visible-Near-Infrared Hyperspectral Imaging and Machine Learning
Pages 625-638
https://doi.org/10.22067/jam.2025.93983.1394
M. H. Nargesi, K. Kheiralipour, F. Valizadeh Kakhki, Z. Moradi
Abstract Introduction
Paying attention to the technical aspects of production plays a crucial role in increasing yield and ensuring sustainable agriculture. Organic fertilizers, such as poultry manure, contribute to plant growth by providing essential nutrients and improving soil quality. However, they alone cannot fully meet the nutritional needs of plants. The combination of organic and chemical fertilizers is an effective approach to enhancing soil fertility and boosting crop performance, ultimately leading to sustainable agricultural development. Integrated nutrient management also helps reduce the use of chemical fertilizers while minimizing their harmful effects on the environment. Potassium is an essential element in plant nutrition, playing a key role in processes such as photosynthesis, growth, chlorophyll production, and transpiration regulation. Additionally, under stress conditions, potassium enhances water uptake and regulates osmotic pressure, helping to maintain plant health. Potassium fertilizers are classified into two categories: chloride-based and chloride-free. Potassium sulfate, due to its lack of chloride, is a suitable option for chloride-sensitive crops such as tea, potatoes, and sugar beets. Meanwhile, hyperspectral imaging has emerged as an innovative technique with broad applications in detecting chemical parameters, assessing quality, and analyzing the purity of agricultural and food products. This study utilizes hyperspectral image processing technology to determine the pH level of potassium sulfate.
Materials and Methods
The present study was conducted in the Image Processing Laboratory at the Ilam University, Iran. To determine the pH level of potassium sulfate, four different levels of 2.5, 2.6, 2.8, and 2.9 were considered. The pH measurement was performed in the laboratory using a flame photometer. The required images were obtained through hyperspectral imaging using the line-scan method. For each pH level, three samples were obtained and six hyperspectral images were captured for each sample, resulting in 18 images per pH level and a total of 72 hyperspectral images for each pH level. MATLAB software was used for the analysis and processing of these images. The image processing stage included wavelength selection, feature extraction, and feature selection. Finally, the selected features were classified using an artificial neural network.
Results and Discussion
Principal Component Analysis performed on the hyperspectral image channels of potassium sulfate revealed significant variations in the principal component values across different pH levels. This finding indicates that pH conditions exert a considerable influence on the spectral response of the samples. Based on the prominent peaks obtained from the analysis, the most relevant channels were identified, and their corresponding wavelengths were determined as the optimal spectral bands. The selected channels for the four pH levels were 65, 327, 334, 482, 510, 607, and 644, with their corresponding effective wavelengths being 453.32, 669.95, 675.74, 798.11, 821.26, 901.47, and 932.06 nm, respectively. To extract discriminative spectral information, six features were computed from each of the selected wavelengths. Consequently, a total of 42 features were obtained, which were subsequently employed in the classification process of different pH levels. The confusion matrices of the classification model based on the artificial neural network were obtained to evaluate the model's accuracy. The classification accuracy for detecting the pH level of potassium sulfate was 98.6% with effective features and 97.2% without them.
Conclusion
The results of this study demonstrated the high potential of hyperspectral imaging technology combined with the artificial neural network classification method, using strategies with and without effective feature selection, in detecting the pH level of potassium sulfate. The proposed method offers several advantages over laboratory-based approaches, such as being non-destructive, having high speed, and being cost-effective. It is suggested to explore other methods for classifying hyperspectral images for determining the pH level of potassium sulfate. The proposed method in this study could also be applied in the future to identify various chemical elements in potassium sulfate.
Optimisation of Energy and Thermal Parameters in the Drying Process of Modified Starch with Cold Plasma Pretreatment
Pages 639-652
https://doi.org/10.22067/jam.2025.94207.1405
A. Taghavi, A. Ranjbar Nedamani, A. Motevali, S. J. Hashemi
Abstract Introduction
Drying is one of the important steps in starch modification, after applying the modification treatments. Starch is obtained from the seeds and fruits of various plants and used in a dried state to achieve a longer shelf life, potentially saving on transportation and storage costs for commercial purposes. Drying is the final necessary step in starch modification, often performed using a conventional oven, a freeze dryer, or an organic solvent (typically ethanol or acetone). In food drying processes, energy consumption is considered a key parameter. The method used to dry pre-gelatinised starch is crucial, as drying is one of the most important steps in the production of modified starch powder. On the other hand, considering the global tendency to use renewable energies, especially in food drying, to reduce thermal damage, energy consumption and drying time, it is of great importance to investigate drying with reflectance window systems, which are environmentally friendly, have high efficiency and cause less damage to the food product components. The effect of drying modified starch with cold plasma by a reflectance window system at a temperature of 50 °C was investigated, and its results were compared with data from the traditional oven drying system.
Materials and Methods
Potato starch powder was obtained from Zamen Food Products Manufacturing Company, located in Mashhad Industrial City, Iran, in plastic packs. A laboratory-scale cold plasma generator device available at the Sari University of Agricultural Sciences and Natural Resources Growth Centre was used. This device consists of two main parts: the cold plasma generation section and the sample storage section. The device generated cold plasma through direct contact of the sample with the resulting ionised air. Cold plasma was applied to the sample produced by a plasma reactor with copper and steel electrodes at a voltage of 20 kV, a current of 3 mA, and a frequency of 50 Hz, using atmospheric air. A randomised complete factorial design was implemented with the factors of pre-gelatinisation temperature (55 and 60 ℃), cold plasma treatment time (0, 15, and 30 min), and starch drying temperature in the oven (60, 70, and 80 ℃). To prepare pre-gelatinised samples, 10 g of starch was dissolved in 90 g of distilled water to prepare a 10% (w/w) solution. The energy analysis included calculations of drying efficiency, energy efficiency, thermal efficiency, and specific heat consumption. The resulting data were optimized using Design-Expert software.
Results and Discussion
The results showed that the pre-gelatinisation temperature had a significant effect on all the studied parameters (energy, drying, and temperature efficiency), with a confidence level of p < 0.05. Drying temperature did not significantly affect energy efficiency, but it had a significant impact on both drying efficiency and temperature efficiency. Plasma treatment had a substantial effect on energy efficiency and drying efficiency, but no significant effect was observed on temperature efficiency. Based on regression models, the linear model has the best fit to the experimental data and was able to accurately predict the responses, which indicates the importance of the factors under study in process optimisation. Based on optimisation analysis, the optimal conditions indicate a temperature of 60 ℃ for pre-gelatinisation, 70 ℃ for oven-drying, and 30 min for cold plasma treatment time. This combination results in maximum efficiency and reduced energy consumption.
Conclusion
This analysis shows that the studied temperature changes and different treatments have distinct effects on drying processes and energy consumption, which can be considered in optimising these processes. The results of this research can help improve starch production processes and increase their efficiency in related industries. This research simultaneously investigates two new methods for modifying and drying starch, which can result in practical improvements to starch quality.
Funding Sources: This research was funded by the Sari Agricultural Sciences and Natural Resources University in the form of a Master's thesis with registration number 6490/1403/D and registration date 16/9/2024 from the research budget related to the thesis grant.
Conflict of Interest: No conflict of interest has been declared by the authors.
Acknowledgements: We would like to thank Sari Agricultural Sciences and Natural Resources University for their financial and moral support in conducting this research.
Investigation of the Physicochemical Properties and Essential Oil Quality of Rosa Flower Buds under Different Drying Methods
Pages 653-668
https://doi.org/10.22067/jam.2026.94774.1418
O. R. Roustapour, F. Sefidkon, A. Golshan Tafti, H. R. Gazor
Abstract Introduction
Rosa damascena Mill is a valuable cultivated plant, and for many years, essential oil has been produced from its flowers in Iran. The flower buds are generally dried by spreading them out in the shade or in the sun. Shade drying can lead to prolonged drying times, while sun drying may reduce product quality, affecting colour and essential oil. Therefore, in the current study, Rosa flower buds were dried using different drying processes and periods, and their physicochemical properties and essential oil quality were determined.
Materials and Methods
Rosa flower buds were collected from a farm located in Markazi province, Iran, in late May, 2024. Buds were dried using shade, a cabinet dryer (30 and 40 °C), an indirect solar dryer, a freeze-dryer, and a vacuum-dryer. Colour specifications (Lab) of the inner and outer petals of dried buds were measured by a colorimeter. Titratable acidity was determined by the titration method using 0.1 normal sodium hydroxide solution. Ascorbic acid was also measured by the titration method with 2 and 6 dichlorophenol indophenol. Experiments were carried out in three replications using a completely randomised design, and data were analysed using one-way ANOVA. Afterwards, the means of the data were compared using the Duncan test. The extraction of essential oil was applied by the water distillation method. After determining the essential oil yield, the compounds’ percentages were identified using GC and GC-MS devices.
Results and Discussion
The results revealed that drying in shade took too long (more than 12 days), and the shortest drying time happened in the vacuum-dryer (18 hours). The maximum colour index (L*) in the outer and inner petals of dried buds was observed in the freeze-dryer as 49.42 and 44.94, respectively. The maximum value of the a* index of 25.61 was acquired in the outer petal buds, which were dried at 50 °C in the cabinet dryer. After the fresh buds, the a* index of the inner petal buds was highest in the vacuum dryer at 16.62. The b* index of the outer and inner petal buds dried in the cabinet dryer, solar dryer, shade, and vacuum dryer did not have any significant differences. The maximum titratable acidity value was related to buds dried in the solar dryer (2.3%), and the minimum was observed in the vacuum dryer (1.23%). In the cabinet dryer (40 and 50 °C), ascorbic acid of dried buds had the highest values (1.57 and 1.49 mg per 100 g wet matter) in comparison with the other treatments. The quality of the essential oil extracted from dried buds in shade was similar to that of fresh buds. After the shade drying method, the best quality of essential oil was observed in buds dried in the cabinet dryer at 40 °C (30.4%).
Conclusion
Based on the results, applying vacuum-drying considerably shortened the drying period in comparison with shade drying. Lightness (L) is the most important specification that had the maximum value in outer and inner petals of buds dried in the freeze-dryer, and the least in the solar dryer. There were no significant differences between the lightness of inner petals of buds dried in shade and the two treatments of the cabinet dryer. Drying caused an increase in titratable acidity and a decrease in ascorbic acid of the flower buds. The maximum titratable acidity was depicted in buds dried by an indirect solar dryer, and the minimum was in the vacuum dryer. The flower buds dried in the cabinet dryer contained significantly higher levels of ascorbic acid compared to other drying methods. Cabinet drying at 50 °C yielded the highest amount of essential oil. The most aroma compounds and the lowest waxy compounds were observed in fresh buds, buds dried in shade, and buds which dried at 40 °C in the cabinet dryer, respectively.
Non-Destructive Prediction of pH in Khormai and Khoni Plums Using a Hyperspectral Imaging System and Machine Learning Methods
Pages 669-691
https://doi.org/10.22067/jam.2025.95325.1427
M. Latifi-Amoghin, Y. Abbaspour Gilandeh
Abstract Introduction
Traditional methods for evaluating fruit quality, such as pH measurement, are often destructive, time-consuming, and costly, leading to product loss and reduced efficiency in the supply chain. The growing need for rapid, accurate, and non-destructive methods makes the use of technologies like Hyperspectral Imaging (HSI) essential. HSI combines two-dimensional imaging with spectroscopy to simultaneously acquire spatial and spectral information from an object. Numerous studies have shown that this method is capable of accurately estimating internal fruit parameters in a non-destructive manner. The objective of this research was to develop a fast and reliable method for the non-destructive estimation of pH in two plum cultivars using HSI and machine learning algorithms such as Partial Least Squares Regression (PLSR) and Artificial Neural Networks (ANN). This study aims to overcome the limitations of conventional methods by leveraging the power of advanced imaging and computational techniques, providing a sustainable and efficient solution for the fruit industry.
Materials and Methods
In this study, 80 samples from each of the Khormaei and Khoni plum cultivars were used, which were purchased from local orchards. The samples were uniform in size, shape, and colour and were free from any physical damage. Hyperspectral images of the samples were acquired using a rotating hyperspectral imaging system in the range of 418 to 1072 nm. The pH of each fruit juice sample was measured using a digital pH meter. In the analysis of spectral data, the initial part of the spectrum was first removed due to high noise, and then the remaining data were processed with preprocessing methods such as a Gaussian filter and Multiplicative Scatter Correction (MSC). To select effective wavelengths (EWs), a hybrid approach using a Decision Tree (DT) and five metaheuristic algorithms was employed, with the Particle Swarm Optimisation (PSO) algorithm showing the best performance. Finally, pH modelling was performed on the selected wavelengths using PLSR and ANN. This comprehensive methodology ensures that the models are trained on high-quality data and are optimised for maximum accuracy.
Results and Discussion
Spectral analysis showed that the reflectance spectra of the Khoni and Khormaei plums had a high degree of variation, which is related to the differences in their chemical composition and structure. Descriptive statistics indicated that the average pH of Khormaei plum (3.909) was higher than that of Khoni plum (3.7375), and the pH range of Khoni plum (3.15 to 4.44) was wider than that of Khormaei plum (3.6 to 4.2). The results showed that modelling with ANN on the wavelengths selected by PSO, especially for Khoni plum, significantly increased prediction accuracy. The best ANN model for Khoni plum achieved an R2 of 0.9834 and an RPD of 8.01, which indicates the outstanding accuracy of this method. For the Khormaei plum, the best ANN model also reached an R2 of approximately 0.76 and a Ratio of Performance to Deviation (RPD) of 2.12, showing a considerable improvement over the PLSR model. The superior performance of the ANN models can be attributed to their ability to capture complex, non-linear relationships between spectral data and pH values, which linear models like PLSR may miss.
Conclusion
This research successfully demonstrated that hyperspectral imaging, in combination with machine learning algorithms, particularly ANN and PSO, can be an accurate and reliable method for the non-destructive prediction of pH in different plum cultivars. The hybrid approach used in this study, which combined DT for initial feature selection with PSO for optimal wavelength selection, enabled the models to predict pH values with very high accuracy, especially for the Khoni plum cultivar. This method can be used as an efficient tool in post-harvest quality control processes, helping to reduce waste and improve efficiency in the fruit supply chain. This work paves the way for the development of smart grading and sorting systems that can quickly and accurately assess fruit quality, benefiting both producers and consumers.
Estimation of Greenhouse Gas Emission Reduction, Social Costs of Pollutants, and Energy Use Efficiency Improvement in Wheat Cultivation under Site-Specific Management of Chemical Inputs
Pages 693-710
https://doi.org/10.22067/jam.2026.96928.1453
A. Jalilian, M. M. Ghasemi, H. Ghasemi Mobtaker, A. Kaab
Abstract Introduction
Improving the sustainability of agricultural systems requires the optimisation of inputs use, especially chemical fertilisers and pesticides, which are major contributors to energy consumption and environmental degradation. Variable Rate Technology (VRT), as a precision agriculture strategy, allows site-specific management of inputs based on spatial variability in soil fertility, weed distribution, and crop requirements. Although VRT has shown promise in enhancing resource-use efficiency, its integrated effects on energy indicators and environmental burdens in wheat production under irrigated conditions remain insufficiently investigated. This study assessed the impact of VRT on energy performance and environmental emissions in comparison with conventional uniform application, using a real six-hectare winter wheat field in Karaj, Iran.
Materials and Methods
A comprehensive field-scale simulation of VRT was conducted for nitrogen, phosphorus, potassium fertilisers, herbicides, and insecticides. Spatial maps of soil fertility and weed distribution were generated using UAV-based remote sensing and ground sampling. Two scenarios were examined: (1) VRT-based variable application of chemical inputs and (2) conventional uniform application. Energy inputs and other outputs were calculated based on standard coefficients and categorised as direct, indirect, renewable, and non-renewable. Environmental impacts, including Global Warming Potential (GWP) and pollutant emissions to air, water, and soil, were quantified using the ReCiPe 2016 Midpoint (H) method. All results were compared for the production of 34,800 kg of wheat.
Results and Discussion
Energy Indicators
The total energy input under VRT (131,631.57 MJ) was lower than that of consumed under conventional management (160,318.55 MJ). Direct and indirect energy uses declined by 12.64 MJ and 19.31 MJ, respectively, in the VRT system. VRT improved all energy indicators i.e., energy ratio increased to 6.82 (21.79% higher than the conventional method), energy productivity rose to 0.264 kg MJ⁻¹, and energy intensity decreased to 3.78 MJ kg⁻¹. Net energy under VRT reached 765,705.76 MJ, exceeding the conventional value. Major reductions were attributed to substantial decreases in herbicide use (80.40%) and potassium fertiliser (77%), driven by UAV-derived weed distribution maps and soil fertility maps.
Environmental Impacts
The GWP of the VRT scenario was 17,691.21 kg CO₂-eq, representing approximately a 20% reduction compared to the 22,202.74 kg CO₂-eq emitted under conventional application. Nearly half of the GWP originated from direct field emissions, followed by nitrogen fertiliser use. Optimisation of nitrogen rates and reduced field-level emissions were the primary contributors to the decrease. Pollutant emissions to the atmosphere also declined significantly: CO₂ by 16.2%, N₂O by 21.9%, and NH₃ by 22.5%. Waterborne pollutants were reduced, with nitrate declining by 22.4% and phosphorus by 38.9%. Heavy metal emissions to soil also decreased, with Pb reduced by 22.4% and Zn by 35.0%, while elements with naturally low accumulation (Fe, B, Mn, Mo) remained unchanged. These improvements align with previous international findings demonstrating the effectiveness of UAV-assisted VRT in reducing chemical inputs, enhancing energy efficiency, and minimising environmental pollution across diverse cropping systems.
Conclusion
The results demonstrate that implementing VRT for applaying chemical inputs in wheat production substantially reduces both energy consumption and environmental impacts. Compared with the conventional uniform method, VRT improved all energy indicators, decreased total energy inputs, and increased net energy output. Environmentally, VRT reduced GWP by roughly 20%, lowered key atmospheric pollutants, and substantially decreased nutrient leaching and heavy metal accumulation in soil. Overall, VRT proves to be a highly effective strategy for achieving sustainable wheat production through optimised input management, enhanced energy efficiency, and minimised ecological burdens.
Acknowledgement
The authors gratefully acknowledge the support of the agricultural research team and field specialists involved in data collection, UAV operations, and soil and crop analyses throughout the study.
Design and Development of an Intelligent Golden Raisin Grading System Based on a Deep Convolutional Neural Network
Pages 711-729
https://doi.org/10.22067/jam.2026.97133.1458
H. Mirkhorasani, M. Abbasgholipour, B. Mohammadi Alasti
Abstract Introduction
The qualitative grading of raisins, as an important agricultural commodity, plays a critical role in determining market value, pricing strategies, and competitiveness in both domestic and international markets. Conventional intelligent grading approaches have largely relied on manual feature extraction and complex image preprocessing techniques, which substantially increase computational cost and system complexity. Consequently, there is an increasing demand for automated, accurate, and non-destructive grading methods based on deep learning technologies, particularly for golden Sultana raisins.
The primary objective of this study is to develop a deep convolutional neural network (DCNN) capable of grading and evaluating golden Sultana raisins without requiring explicit image preprocessing, while simultaneously reducing processing time and computational overhead. Unlike previous studies that mainly focused on computational limitations or restricted classification schemes, the proposed model automatically extracts discriminative visual features; including texture, shape, and colour to accurately assess raisin quality and size under varying imaging conditions. This capability enhances robustness against variations in illumination, imaging angle, and background, thereby eliminating the need for complex preprocessing pipelines or manual parameter tuning.
Materials and Methods
In this study, a dedicated deep convolutional neural network, referred to as Raisin_DCNN, was specifically designed for grading golden Sultana raisin grains. The dataset consisted of 3,320 images representing four distinct quality grades. All images were acquired using a flatbed scanner under controlled lighting conditions to ensure consistency and uniform image quality.
To increase dataset diversity and reduce the risk of overfitting, data augmentation techniques were applied. These techniques included random horizontal and vertical flipping, cropping, shifting, zooming, and rotation. Notably, the proposed model was trained directly on the augmented images without applying complex preprocessing operations or manual feature extraction methods.
The Raisin_DCNN architecture was purpose-built to effectively extract visual features from each raisin. It comprises multiple convolutional layers with small kernel sizes, followed by MaxPooling layers for spatial dimensionality reduction, and fully connected layers at the final stage. ReLU activation functions were employed to facilitate the learning of nonlinear feature representations, while a Softmax function was used in the output layer to perform four-class classification. The architecture was carefully optimised to achieve an appropriate balance between classification accuracy and computational efficiency.
The dataset was divided into training, validation, and test subsets. Network training was performed using the Adam optimisation algorithm in conjunction with the categorical cross-entropy loss function. Learning rate scheduling and early stopping strategies were implemented to improve convergence and prevent overfitting. Hyperparameter tuning was conducted through iterative experimentation based on validation performance.
For comprehensive performance evaluation, the proposed Raisin_DCNN model was compared with transfer learning approaches based on pre-trained InceptionV3 and InceptionResNetV2 architectures, as well as classical machine learning methods employing histogram-oriented gradients (HOG) and scale invariant feature transform (SIFT) feature extraction combined with support vector machine (SVM), k-nearest neighbours (KNN), and logistic regression (LR) classifiers.
Results and Discussion
Model performance was assessed using accuracy, precision, recall, and F1-score metrics. Experimental results demonstrated that the Raisin_DCNN model achieved an overall classification accuracy of 96%, outperforming both the transfer learning models and classical feature-based approaches. This superior performance highlights the effectiveness of the proposed network in automatically learning discriminative features directly from images of raisins. Furthermore, the elimination of complex preprocessing stages significantly reduced computational cost, thereby improving system efficiency and practical applicability.
Conclusion
The results of this study confirm that a dedicated deep convolutional neural network can provide an accurate, robust, and reliable solution for the automatic grading of golden Sultana raisins. The proposed Raisin_DCNN model demonstrates strong potential for real-world deployment in industrial grading systems and offers an effective approach for enhancing quality control processes in agricultural product inspection.
Acknowledgements
The authors sincerely thank all individuals and research groups who contributed to this work and provided technical assistance throughout the study. The authors would like to thank Department of Bio-System Mechanical Engineering, Islamic Azad University of Bonab Branch for their support and participation in this study. The authors also gratefully acknowledge the anonymous reviewers for their insightful comments and constructive suggestions, which significantly improved the quality of this manuscript.
Investigation of the Effect of Sensors' Chamber Geometry and Fluid Type on Fluid Flow in the Electronic Nose System Using Computational Fluid Dynamics Simulation
Pages 731-749
https://doi.org/10.22067/jam.2026.97514.1466
A. Altafi, S. S Mohtasebi, A. Jafari, M. Ghasemi-Varnamkhasti
Abstract Introduction
The electronic nose (e-nose) system analyses the volatile compounds in products by mimicking the human olfactory system and is capable of providing both chemical and sensory information. One of the most important applications of the electronic nose is gas sensors widely used in various industries, including construction, chemical and petrochemical, environmental monitoring, medical and pharmaceutical, agricultural, and food industries, as well as in many other processes where gas monitoring and analysis are essential. Due to the increasing cost of experimental testing, computational fluid dynamics (CFD) can be employed to investigate the effects of key factors in the electronic nose. CFD is a branch of numerical methods used to solve the governing equations describing various flow phenomena. In CFD, different methods and algorithms are utilised to obtain solutions; however, in all cases, the problem domain is discretised into a large number of small elements, and the governing equations are solved for each element. A review of previous studies indicates that simulation processes aimed at achieving reliable results in this field have received considerable attention, and the data obtained from these simulations can be highly accurate and efficient. Moreover, the sensor chamber plays an important role in enhancing the performance, stability, and sensitivity of an electronic nose. Therefore, four different configurations of 3D sensing chambers were simulated using ANSYS FLUENT software, examining both air and CO2 as fluids. Numerical simulations were carried out to investigate the gas flow behaviour inside these four chambers and specify the optimal chamber design with the best stability time.
Materials and Methods
In the present study, four chamber geometries namely cylindrical, pyramidal, conical, and hemispherical, were designed using CATIA software. Subsequently, three-dimensional simulations were performed using Ansys Fluent software. To predict the fluid flow behaviour, the continuity equation and the Navier–Stokes equations were employed. The boundary conditions were identical for all geometries, and given the equal inlet and outlet cross-sectional areas across all configurations, the only difference among the models lies in their overall geometric structure. The electronic nose chambers were tested with a laminar flow and the SIMPLEC method.
Results and Discussion
The 3-Dimensional simulations were conducted for the four geometries under two fluid injections, air and carbon dioxide, while maintaining identical boundary conditions. To investigate the fluid behaviour inside the geometries, flow field contours were presented at 25 s, 50 s, 75 s, and under approximate stability conditions when the contours became nearly time-invariant. In the air injection case, the fluid inside the hemispherical geometry reached steady-state conditions by 25 s, faster than in the other geometries, and maintained a similar flow pattern at later times. Based on the simulation results, the hemispherical geometry exhibited the best overall performance. This favourable behaviour can be attributed to the geometric dimensions of the hemisphere in the sensor surface region. In contrast, the behaviour of carbon dioxide differed significantly from that of air. Under carbon dioxide injection, similar to the air injection case, the fluid in the hemispherical geometry reached steady-state conditions by 25 s and fully covered the outlet region. In this geometry, the flow attained a nearly uniform distribution at 25 s, and the fluid fully contacted the sensor surface. Also, results showed that small vortices produced near the sensor surface can improve the stability time, and they can help to bring the fluid to the surface faster.
Conclusion
In the present study, four geometries were investigated under two injection conditions: air and carbon dioxide. The evaluations were conducted to identify the optimal geometry in terms of fluid flow behaviour, sensor surface coverage, and flow stability. The results demonstrated that the hemispherical geometry exhibited the best performance under both air and carbon dioxide injection conditions. This indicates that providing a larger fluid–sensor contact area along with a balanced geometric configuration can lead to improved fluid behaviour and overall system performance.
An Integrated Mechatronic Sorting System for Bitter and Sweet Almonds Based on FTIR Spectroscopy of Shells and MLP Neural Network
Pages 751-767
https://doi.org/10.22067/jam.2026.97689.1470
M. Afsharipour, M. Shamsi, F. Ghasemian, H. Khabazzadeh
Abstract Introduction
Ensuring the authenticity and safety of almonds is a critical food safety challenge, primarily due to the presence of amygdalin in bitter varieties, a cyanogenic glycoside that can release toxic hydrogen cyanide upon hydrolysis. Traditional detection methods, such as chromatography, are often destructive, time-consuming, and unsuitable for industrial-scale applications. While the current laboratory-scale analysis relies on a sample preparation method (KBr pellet) that is inherently destructive, the ultimate goal of this research is to develop a non-destructive, automated sorting system suitable for industrial implementation. This can be achieved through the use of alternative FTIR techniques, such as Attenuated Total Reflectance (ATR)-FTIR, which allows for direct analysis of the almond shell surface without the need for sample preparation. This study addresses the need for rapid, non-destructive, and automated sorting by developing an integrated framework that combines Fourier-transform infrared (FTIR) spectroscopy of almond shells with machine learning and mechatronic automation. The research specifically focuses on exploiting the rich phenolic content of almond shells as a novel, low-cost substrate for reliable classification.
Materials and Methods
A set of 200 almonds (100 bitter, 100 sweet) was collected. Their shells were separated, vacuum-dried, ground into powder, and pressed into potassium bromide (KBr) pellets for analysis. FTIR spectra were recorded in the range of 400–4000 cm⁻¹. The raw spectral data underwent preprocessing using first and second Savitzky–Golay derivatives, Standard Normal Variate (SNV), and Multiplicative Scatter Correction (MSC). Four supervised learning algorithms, Support Vector Machine (SVM), Random Forest (RF), Multi-Layer Perceptron (MLP), and an Autoencoder-MLP hybrid, were trained and compared, using a 70-30 train-test split with fivefold cross-validation. The best-performing model's output was integrated with a custom-built laboratory-scale mechatronic sorting system. This system featured a conveyor belt, a microcontroller-based control board, and a mechanical deflection mechanism to physically separate the almonds based on the classification decision.
Results and Discussion
Among the tested models, the MLP network achieved the highest classification performance for almond shells, with an accuracy of 95.5% and an Area Under the Curve (AUC) of 0.984. Statistical analysis via the McNemar test confirmed its significant superiority over the best classical model (RF, p < 0.01). This superior performance is attributed to the MLP's ability to model the complex, non-linear relationships within the high-dimensional FTIR spectral data, which traditional linear models like SVM (accuracy 82.5%) failed to capture effectively. Feature importance analysis revealed three key discriminating spectral bands: 1030 cm⁻¹ (associated with phenolic C–O stretching), 1740 cm⁻¹ (related to carbonyl C=O stretching), and 2920 cm⁻¹ (linked to aliphatic C–H stretching). These bands were more pronounced in bitter almond shells, corresponding to their higher phenolic and lipid content, including amygdalin derivatives. Dimensionality reduction visualisations using t-SNE and UMAP on the latent features extracted by the Autoencoder-MLP model further corroborated the superior class separability achieved by deep learning approaches compared to linear methods like PCA. When the MLP model's decisions were deployed on the mechatronic sorter, the system achieved an average physical sorting accuracy of 99.5% across consecutive tests with varying sample compositions. Error analysis indicated that the primary sources of infrequent mis-sorting were related to mechanical synchronisation and sample positioning on the conveyor, rather than errors in the MLP classification algorithm itself. The throughput was measured at 30–35 almonds per minute, demonstrating practical potential for medium-scale processing. This performance aligns with or surpasses the accuracy ranges reported in recent studies utilising HSI or ATR-FTIR for almond discrimination, while uniquely adding the critical step of real-time physical separation.
Conclusion
This study successfully demonstrates the feasibility of a non-destructive, integrated system for almond authentication and sorting. The integration of shell-based FTIR spectroscopy with an MLP classifier yields superior analytical accuracy. Crucially, the direct integration of this classification into an automated mechatronic sorter bridges the gap between laboratory detection and industrial application. The approach offers a scalable, cost-effective, and non-destructive solution for enhancing food safety in almond processing by enabling the real-time removal of toxic bitter almonds from production lines.
Acknowledgement
The authors gratefully acknowledge the staff of the Chemistry Laboratory of Shahid Bahonar University of Kerman for providing access to FTIR equipment and technical support during the spectral acquisition and analysis process.
Improving Anaerobic Fermentation of Agricultural Wastes Using Ultrasonic Pretreatment to Increase Biohydrogen Production: Study of the Metabolic Pathway of Reactions
Pages 769-780
https://doi.org/10.22067/jam.2026.98121.1477
M. Mahmoodi-Eshkaftaki, A. Lotfalian-Dehkordi, H. Khafajeh, S. H. Bahram Shabahrami
Abstract Introduction
The increasing demand for sustainable and renewable energy sources has intensified research on bioenergy production from agricultural wastes. Anaerobic digestion is a widely applied biological process for converting organic residues into valuable gaseous fuels such as biohydrogen and biomethane. However, the efficiency of this process is often limited by the complex structure of lignocellulosic biomass and the slow hydrolysis step, which acts as a rate‑limiting factor. Therefore, various pretreatment techniques have been proposed to enhance substrate biodegradability and improve gas yields. Among physical pretreatment methods, ultrasonic pretreatment has attracted significant attention due to its ability to disrupt cell walls, reduce particle size, and enhance solubilisation of organic matter through cavitation effects. Despite numerous studies on biogas enhancement using ultrasonic pretreatment, limited research has simultaneously investigated its effect on biohydrogen production, gas composition (H₂, CH₄, CO, and H₂S), and the associated metabolic pathways for different agricultural residues. Accordingly, the main objective of this study was to evaluate the impact of ultrasonic pretreatment on the anaerobic digestion performance of selected agricultural wastes, including corn residues, potato waste, and banana waste. In addition to gas production performance, particular emphasis was placed on analysing changes in metabolic pathways and alcohol formation to better understand the mechanisms governing hydrogen and methane generation.
Materials and Methods
In this study three types of agricultural wastes, namely corn residues, potato waste, and banana waste, were used as feedstocks. The substrates were mixed with animal manure and water to provide appropriate microbial inoculation and moisture content. The prepared mixtures were mechanically stirred at 500 rpm for 10 minutes to ensure homogeneity. Ultrasonic pretreatment was applied using an ultrasonic device operating at 300 W for 5 minutes. Both pretreated and untreated samples were then subjected to anaerobic digestion under controlled conditions. Total solids (TS) and volatile solids (VS) were measured to characterise the substrates before digestion. During the anaerobic digestion process, the composition of the produced gases, including hydrogen (H₂), methane (CH₄), carbon monoxide (CO), and hydrogen sulfide (H₂S), was monitored. In addition, total alcohol concentration (ALC) was measured to assess shifts in fermentation pathways. The obtained data were analysed to compare the performance of ultrasonic pretreatment across different feedstocks and to evaluate its influence on metabolic reactions.
Results and Discussion
The results demonstrated that the effect of ultrasonic pretreatment on gas production strongly depended on the type of agricultural waste. For corn residues, ultrasonic pretreatment significantly enhanced biohydrogen production, increasing hydrogen concentration from approximately 2,585 ppm to 3,900 ppm. Methane production also showed a moderate increase, rising from about 104,000 ppm to 107,000 ppm. These improvements can be attributed to enhanced solubilisation of organic matter and improved accessibility of fermentable substrates. In contrast, potato waste exhibited decreased hydrogen and methane production following ultrasonic pretreatment. This behaviour suggests that excessive disruption of the substrate structure may have promoted alternative metabolic pathways unfavourable for gas generation. Banana waste showed a substantial percentage increase in hydrogen production after ultrasonic pretreatment, although its effect on methane production was less pronounced. Across all substrates, ultrasonic pretreatment led to an increase in carbon monoxide concentration and a noticeable reduction in hydrogen sulfide, which is considered beneficial due to the corrosive nature of H₂S. Metabolic pathway analysis revealed that ultrasonic pretreatment, particularly in banana and corn wastes, promoted pathways leading to alcohol production, such as ethanol and methanol formation. This shift explains the observed reduction or stagnation in hydrogen and methane production during later stages of digestion, as substrates were partially diverted toward solventogenic reactions.
Conclusion
The results of this study indicate that ultrasonic pretreatment can be an effective approach for improving the performance of anaerobic digestion; however, its effectiveness strongly depends on the type of substrate used. Among the investigated agricultural residues, corn waste demonstrated the most favourable response to ultrasonic pretreatment, showing improvements in both hydrogen and methane production. Banana peel also exhibited a noticeable increase in hydrogen generation after pretreatment, whereas potato waste showed a less favourable response and did not benefit significantly from the ultrasonic treatment. In addition, the variations observed in gas composition and alcohol production suggest that changes in microbial metabolic pathways play an important role in determining the outcomes of pretreatment processes. Overall, these findings suggest that ultrasonic pretreatment has considerable potential for enhancing bioenergy recovery from agricultural wastes, provided that pretreatment conditions are carefully optimised according to the characteristics of each substrate.
