<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ArticleSet PUBLIC "-//NLM//DTD PubMed 2.7//EN" "https://dtd.nlm.nih.gov/ncbi/pubmed/in/PubMed.dtd">
<ArticleSet>
<Article>
<Journal>
				<PublisherName>دانشگاه شهرکرد</PublisherName>
				<JournalTitle>پژوهش‌های مکانیک ماشین‌های کشاورزی</JournalTitle>
				<Issn>2345-6906</Issn>
				<Volume>14</Volume>
				<Issue>2</Issue>
				<PubDate PubStatus="epublish">
					<Year>2025</Year>
					<Month>06</Month>
					<Day>22</Day>
				</PubDate>
			</Journal>
<ArticleTitle>Development of a Soft Sensor Based on Supervised Feature Selection for Temperature Monitoring of Fruit Pallets in Cold Storage</ArticleTitle>
<VernacularTitle>توسعۀ حسگر نرم برای پایش دمای پالت‌های سردخانه میوه با به کارگیری انتخاب ویژگی نظار‌‌‌‌ت‌شده</VernacularTitle>
			<FirstPage>83</FirstPage>
			<LastPage>100</LastPage>
			<ELocationID EIdType="pii">11891</ELocationID>
			
<ELocationID EIdType="doi">10.22034/jrmam.2025.15032.739</ELocationID>
			
			<Language>FA</Language>
<AuthorList>
<Author>
					<FirstName>سید متین</FirstName>
					<LastName>مرتضوی</LastName>
<Affiliation>گروه مهندسی مکانیک بیوسیستم، دانشکده کشاورزی، دانشگاه تربیت مدرس، تهران، ایران</Affiliation>

</Author>
<Author>
					<FirstName>سعید</FirstName>
					<LastName>مینائی</LastName>
<Affiliation>گروه مهندسی مکانیک بیوسیستم، دانشکده کشاورزی، دانشگاه تربیت مدرس، تهران، ایران</Affiliation>

</Author>
<Author>
					<FirstName>علیرضا</FirstName>
					<LastName>مهدویان</LastName>
<Affiliation>گروه مهندسی مکانیک بیوسیستم، دانشکده کشاورزی، دانشگاه تربیت مدرس، تهران، ایران</Affiliation>

</Author>
<Author>
					<FirstName>محمد هادی</FirstName>
					<LastName>خوش تقاضا</LastName>
<Affiliation>گروه مهندسی مکانیک بیوسیستم، دانشکده کشاورزی، دانشگاه تربیت مدرس، تهران، ایران</Affiliation>
<Identifier Source="ORCID">0000-0001-6754-6401</Identifier>

</Author>
</AuthorList>
				<PublicationType>Journal Article</PublicationType>
			<History>
				<PubDate PubStatus="received">
					<Year>2024</Year>
					<Month>12</Month>
					<Day>28</Day>
				</PubDate>
			</History>
		    <Abstract>Maintaining an appropriate storage temperature for agricultural products, especially fruits and vegetables, is crucial for minimizing quality deterioration and waste. In the realm of high-spatial resolution temperature monitoring for the cold chain of perishable food items, the most popular solution involves temperature estimation methods. This study aimed to develop a “one-sensor-per-pallet” soft temperature sensor for fruit pallets using a novel supervised feature-selection technique to select and rank its inputs. Additionally, the reliability of the ranking obtained from this feature-selection method was evaluated using a meta-heuristic algorithm (Ant-Colony Optimization). To collect the necessary data, a data logger was developed based on Arduino technology, enabling real-world data collection of temperature values at various points of peach fruit pallets in a cold storage facility. Time-Delay Neural Networks were considered as the estimator algorithm for the soft sensor system. Evaluation of the developed soft sensor which was performed using a new dataset, showed that the average RMSE of its estimates at various points of the pallet, situated in entirely different temperature scenarios and locations within the cold facility, ranged between 0.8 and 0.1 K. These results appear favorable in the “training-under-only-one-scenario” condition. Results indicate the high potential of supervised feature-selection as a structured objective method for determining the optimal positions of the physical sensors required. However, the average RMSE of the position selected by the meta-heuristic algorithm was significantly lower for the “one-sensor-per-pallet” mode. Therefore, it is recommended to explore other methods as well when reducing the number of physical sensors.IntroductionTemperature is a critical factor affecting the quality and shelf life of perishable food products, making its precise and cost-effective monitoring essential throughout the cold chain. Due to practical limitations in deploying physical sensors at every point of interest, the development of soft (virtual) sensors for temperature estimation has attracted considerable research attention. Soft sensors are generally categorised into model-based and data-driven approaches, with the latter offering superior capability in capturing system dynamics without requiring detailed physical modelling. Among various data-driven methods, artificial neural networks (ANNs) have demonstrated superior performance compared to alternative techniques.The first step in designing a data-driven soft sensor is to collect and prepare training data, which can be either experimental or synthetic. Studies indicate that experimental data lead to more accurate estimations, although they are harder to obtain. A crucial subsequent step involves selecting appropriate input variables corresponding to potential sensor locations. While most previous studies have relied on subjective or heuristic input selection, supervised feature selection methods offer a structured and potentially more optimal alternative; however, such methods have rarely been applied in the context of temperature soft sensors for cold chains.Once inputs and outputs are defined, the modelling process typically employs ANNs, which have shown superior estimation performance over classical models. The present study implements supervised feature selection to optimise both the number and placement of physical sensors and to statistically investigate the effects of key hyperparameters in the time-delay neural network (TDNN) serving as the system&#039;s soft sensor estimator.Materials and Methods:A cost-effective, Arduino-based data logger was developed to collect real temperature data for training the soft sensor. Temperature distribution data were gathered from two peach pallets stored in a 2000-tonne cold storage room maintained at 1 °C. The logger simultaneously recorded data from up to 20 DS18B20 sensors at 1-minute intervals. A novel supervised feature selection approach (wrapper method) was applied to identify the most informative sensor positions, thereby minimising the required number of physical sensors. A time-delay neural network (TDNN) with one hidden layer was employed for temperature estimation. The influence of four key hyperparameters—time delay, number of hidden neurons, activation function, and training algorithm—on model performance metrics (RMSE, R², MAE, BIC) was evaluated. Additionally, a metaheuristic algorithm assessed the effectiveness of the feature selection method in reducing sensor count. Model generalisability was verified using an out-of-sample test set collected under varying temperature scenarios and pallet placements.Results and Discussion:Data acquisition for the first pallet lasted five hours, during which the cold storage refrigeration system operated under standard conditions. Table 1 ranks the five most informative sensor locations identified using the FIRE method. Table 3 presents the best model fits obtained with the SIG and ReLU activation functions. These models share a common structure: Levenberg–Marquardt (LM) training and a 20-minute time delay. Comparing activation functions reveals that ReLU yields superior performance metrics (R²mean and RMSEmean), while SIG achieves a lower BIC. Figure 4 illustrates how R²mean and RMSEmean vary as the number of physical sensors is reduced based on FIRE rankings under the optimal estimator configuration (LM2010-ReLU), showing no consistent trend and indicating the robustness of FIRE’s variable selection.For the second pallet, data acquisition also spanned five hours; however, the refrigeration system was inactive for defrosting during the first three hours and resumed operation in the final two. Table 2 shows the FIRE-derived variable ranking, and Table 4 lists the best model fits for this dataset. All models for the second pallet employed LM training, a 20-minute delay, and five hidden neurons. In this case, performance metrics (R²mean and RMSEmean) progressively deteriorated as fewer sensors were used (Figure 4), suggesting greater sensitivity to sensor reduction under dynamic thermal conditions.Correlation analysis revealed strong relationships between RMSEmean and MAEmean, as well as among MSEtrain, MSEvalidation, and MSEtest, whereas R²mean showed little correlation with these. BIC exhibited significant correlation with several metrics. Consequently, MSEtrain, R²mean, and RMSEmean were deemed sufficient for performance evaluation.The influence of estimator hyperparameters (Table 5) indicated that training method significantly affected performance, favouring LM. Hidden layer size and time delay primarily influenced BIC, while activation function showed no significant effect, consistent with Loisel et al. (2022).Ant Colony Optimisation (ACO) was applied to validate FIRE rankings (Figure 5). ACO results revealed alternative sensor combinations yielding lower RMSEmean than FIRE, suggesting that heuristic methods may offer superior configurations for “one-sensor-per-pallet” setups. Table 6 compares FIRE and ACO outcomes, confirming ACO’s advantage in reducing RMSEmean.Cross-pallet validation demonstrated that the soft sensor trained on one pallet and tested on the other under different thermal scenarios achieved RMSEmean values of 0.8 K and 1.0 K—13–15 times higher than training RMSEmean but acceptable given scenario differences. However, R²mean (~0.4) indicated limited generalisation, implying that future training with diverse scenarios would enhance robustness (Figure 6).ConclusionsThe findings of this study demonstrate the high potential of supervised feature selection as a structured and objective method for identifying the most informative locations for hardware sensor placement in the development of soft sensors. However, to further reduce the required number of hardware sensors, the use of alternative methods, such as metaheuristic algorithms or exhaustive search techniques, appears to be a more prudent approach. In this regard, future research could explore and compare different supervised feature selection techniques to assess their ranking effectiveness and robustness in similar applications.The out-of-sample evaluation of the developed soft sensor in the “one-pallet-one-sensor” configuration revealed RMSEmean values ranging between 0.8 K and 1.0 K. This outcome is considered acceptable given the “single-scenario training” condition. Nevertheless, several factors could influence the accuracy and generalisation performance of the soft sensor, including: (1) the size of the dataset (in terms of duration or number of data points), (2) the temperature scenario or the operational state of the refrigeration system, and (3) the location of the pallets within the cold storage. Therefore, increasing the diversity of data acquisition conditions—such as varying spatial placement or thermal scenarios—is likely to yield valuable information for further improving the soft sensor’s performance and predictive accuracy.</Abstract>
			<OtherAbstract Language="FA">دمای مناسب نگهداری محصولات کشاورزی، به ویژه میوه‌ها و سبزی‌ها، عامل کلیدی در کاهش فساد و ضایعات است. پیرامون موضوع افزایش وضوح مکانی پایش دمای زنجیرۀ سرد مواد خوراکی فاسدشدنی، محبوب‌ترین راه‌حل بکارگیری روش‌های برآورد دما است. هدف این پژوهش توسعۀ یک حسگر نرم برای سنجش دمای پالت‌های میوه با بکارگیری تکنیک انتخاب ویژگی نظارت‌شده به منظور تعیین موقعیت نصب حسگرهای سخت‌افزاری مورد نیاز و رتبه‌بندی آنها بود. افزون بر این؛ قابلیت اعتماد به رتبه‌بندی مستخرج از این روش انتخاب ویژگی، با بکارگیری یک الگوریتم فراابتکاری (بهینه‌سازی کلونی مورچگان) ارزیابی شد. برای جمع‌آوری داده‌های مورد نیاز، یک داده‌نگار بر پایۀ فناوری آردوینو ساخته شد تا امکان ثبت مقادیر دما در نقاط مختلف پالت‌های میوۀ هلو موجود در یک سردخانه را به‌شکل میدانی فراهم آورد. همچنین، از شبکه‌های عصبی با تأخیر زمانی به‌عنوان الگوریتم تخمین‌گر این حسگر نرم استفاده شد. در نهایت، عملکرد حسگر نرم توسعه‌یافته با بکارگیری آزمون خارج-از-نمونه مورد ارزیابی قرار گرفت. ارزیابی این سامانه نشان داد که میانگین RMSE برآوردهای آن در نقاط مختلف پالتی که در یک سناریوی دمایی کاملاً متفاوت و در یک مکان کاملاً متفاوت در سردخانه قرار دارد، بین 8/0 تا 0/1 کلوین بود که برای شرایط «آموزش تحت صرفاً یک سناریو» دستاورد مطلوبی به شمار می‌آید. نتایج، حاکی از پتانسیل بالای انتخاب ویژگی نظارت‌شده؛ به‌عنوان یک روش ساختارمند و غیرسلیقه‌ای در تعیین بهترین موقعیت‌ها برای نصب حسگرهای سخت‌افزاری مورد نیاز بود، اگرچه مقدار میانگین RMSE حاصل از موقعیت انتخابی توسط بهینه‌سازی کلونی مورچگان برای حالت «هر-پالت-یک-حسگر» به شکل محسوسی پایین‌تر بود. لذا پیشنهاد می‌شود برای کاهش تعداد حسگرهای سخت‌افزاری مورد نیاز، بکارگیری روش‌های دیگر نیز مورد بررسی قرار بگیرد.</OtherAbstract>
		<ObjectList>
			<Object Type="keyword">
			<Param Name="value">آردوینو</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">روش‌های برآورد دما</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">زنجیرۀ سرد</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">شبکۀ عصبی با تأخیر زمانی</Param>
			</Object>
			<Object Type="keyword">
			<Param Name="value">فساد مواد خوراکی</Param>
			</Object>
		</ObjectList>
<ArchiveCopySource DocType="pdf">https://jrmam.sku.ac.ir/article_11891_6ef1173b096aa200158bfbc8af3ae8e3.pdf</ArchiveCopySource>
</Article>
</ArticleSet>
