Integration of Portable NIRS Spectroscopy with the Internet of Things (IoT) for a Rice Quality Monitoring System in Storage Warehouses
DOI:
10.29303/jppipa.v12i1.14038Published:
2026-01-31Downloads
Abstract
Rapid and non-destructive monitoring of rice quality during storage is essential for supporting effective warehouse management. This study aims to develop and evaluate the integration of Portable Near-Infrared Spectroscopy (NIRS) with an Internet of Things (IoT) framework for real-time rice quality monitoring. A quantitative experimental approach was employed by acquiring NIRS spectra in the wavelength range of 740–1070 nm from fresh and aged rice samples. The spectral data were automatically transmitted via the IoT system to a centralized server for storage and analysis. Rice quality parameters, including moisture, fat, and protein content, were predicted using a Partial Least Squares Regression (PLS-R) model based on raw spectra without spectral pretreatment. The results indicate that the PLS-R model achieved good predictive performance for moisture and fat content, with validation correlation coefficients (R) ranging from 0.87 to 1.00 and Residual Predictive Deviation (RPD) values of 1.11–3.65 for moisture and 3.70–4.65 for fat in both fresh and aged rice samples. In contrast, protein prediction showed limited accuracy, particularly in fresh rice samples with an RPD value of 1.79. The IoT system primarily functioned as a real-time data acquisition and transmission platform, enabling integrated rice quality monitoring. Overall, the findings confirm that NIRS–IoT integration is feasible for monitoring rice quality based on moisture and fat content during storage.
Keywords:
Internet of Things (IoT) PLS regression Portable near-infrared spectroscopy Real-time monitoring Rice qualityReferences
Agulheiro‐Santos, A. C., Ricardo‐Rodrigues, S., Laranjo, M., Melgão, C., & Velázquez, R. (2022). Non‐destructive Prediction of Total Soluble Solids in Strawberry Using Near Infrared Spectroscopy. Journal of the Science of Food and Agriculture, 102(11), 4866–4872. https://doi.org/10.1002/jsfa.11849 DOI: https://doi.org/10.1002/jsfa.11849
Alagappan, S., Hoffman, L., Mikkelsen, D., Mantilla, S. O., James, P., Yarger, O., & Cozzolino, D. (2024). Near-infrared spectroscopy (NIRS) for monitoring the nutritional composition of black soldier fly larvae (BSFL) and frass. Journal of the Science of Food and Agriculture, 104(3), 1487 – 1496. https://doi.org/10.1002/jsfa.13044 DOI: https://doi.org/10.1002/jsfa.13044
Ana, A. P., & Sitohang, E. J. (2024). Deteksi Tingkat Keaslian Beras Non Subsidi Varietas Ciherang Menggunakan Portable Near Infrared Reflectance Spectrometer (NIRS). G-Tech: Jurnal Teknologi Terapan, 8(2), 1136–1145. https://doi.org/10.33379/gtech.v8i2.4146 DOI: https://doi.org/10.33379/gtech.v8i2.4146
Badaró, A. T., Amigo, J. M., Blasco, J., Aleixos, N., Ferreira, A. R., Clerici, M. T. P. S., & Barbin, D. F. (2021). Near Infrared Hyperspectral Imaging and Spectral Unmixing Methods for Evaluation of Fiber Distribution in Enriched Pasta. Food Chemistry, 343, 128517. https://doi.org/10.1016/j.foodchem.2020.128517 DOI: https://doi.org/10.1016/j.foodchem.2020.128517
Birenboim, M., Chalupowicz, D., Maurer, D., Barel, S., Chen, Y., Falik, E., Kengisbuch, D., & Shimshoni, J. A. (2021). Optimization of Sweet Basil Harvest Time and Cultivar Characterization Using Near‐infrared Spectroscopy, Liquid and Gas Chromatography, and Chemometric Statistical Methods. Journal of the Science of Food and Agriculture, 102(8), 3325–3335. https://doi.org/10.1002/jsfa.11679 DOI: https://doi.org/10.1002/jsfa.11679
Burns, D.A. and Ciurczak, E.W. (2008) Handbook of Near-Infrared Analysis. 3rd Edition, Taylor and Francis, New York. - References - Scientific Research Publishing. (n.d.). Retrieved February 12, 2026, from https://www.scirp.org/reference/referencespapers?referenceid=2369121
Chen, Y., Wu, H., Liu, Y., Wang, Y., Lu, C., Li, T., Wei, Y., & Ning, J. (2023). Monitoring green tea fixation quality by intelligent sensors: comparison of image and spectral information. Journal of the Science of Food and Agriculture, 103(6), 3093–3101. https://doi.org/10.1002/JSFA.12350;WGROUP:STRING:PUBLICATION DOI: https://doi.org/10.1002/jsfa.12350
Chun, L., Sugihara, S., Noma, S., Tanaka, H., Tajima, R., Matsumoto, S., Hirose, D., Zhang, X., Wang, N., & Ban, T. (2025). Phosphorus Dynamics in Managed and Natural Soils: SEM-PLS Analysis of Vaccinium, Forest, and Grassland Ecosystems. Plants. https://doi.org/10.3390/plants14020189 DOI: https://doi.org/10.3390/plants14020189
Cortés, V., Blasco, J., Aleixos, N., Cubero, S., & Talens, P. (2019a). Monitoring Strategies for Quality Control of Agricultural Products Using Visible and Near-Infrared Spectroscopy: A Review. Trends in Food Science & Technology, 85, 138–148. https://doi.org/10.1016/j.tifs.2019.01.015
Cortés, V., Blasco, J., Aleixos, N., Cubero, S., & Talens, P. (2019b). Monitoring strategies for quality control of agricultural products using visible and near-infrared spectroscopy: A review. Trends in Food Science & Technology, 85, 138–148. https://doi.org/10.1016/J.TIFS.2019.01.015 DOI: https://doi.org/10.1016/j.tifs.2019.01.015
Díaz, E. O., Kawamura, S., Matsuo, M., Kato, M., & Koseki, S. (2019). Combined Analysis of Near-Infrared Spectra, Colour, and Physicochemical Information of Brown Rice to Develop Accurate Calibration Models for Determining Amylose Content. Food Chemistry, 286, 297–306. https://doi.org/10.1016/j.foodchem.2019.02.005 DOI: https://doi.org/10.1016/j.foodchem.2019.02.005
Du, Z., Tian, W., Tilley, M., Wang, D., Zhang, G., & Li, Y. (2022). Quantitative Assessment of Wheat Quality Using Near‐infrared Spectroscopy: A Comprehensive Review. Comprehensive Reviews in Food Science and Food Safety, 21(3), 2956–3009. https://doi.org/10.1111/1541-4337.12958 DOI: https://doi.org/10.1111/1541-4337.12958
Entrenas, J., Pérez‐Marín, D., Torres, I., Garrido‐Varo, A., & Sánchez, M. (2019). Safety and Quality Issues in Summer Squashes Using Handheld Portable NIRS Sensors for Real‐time Decision Making and for On‐vine Monitoring. Journal of the Science of Food and Agriculture, 99(15), 6768–6777. https://doi.org/10.1002/jsfa.9959 DOI: https://doi.org/10.1002/jsfa.9959
Feng, Y., Wang, Y., Beykal, B., Xiao, Z., & Luo, Y. (2024). Machine learning supported ground beef freshness monitoring based on near-infrared and paper chromogenic array. Food Frontiers, 5(5), 2199–2210. https://doi.org/10.1002/FFT2.438 DOI: https://doi.org/10.1002/fft2.438
Genisheva, Z., Quintelas, C., Mesquita, D. P., Ferreira, E. C., Oliveira, J. M., & Amaral, A. L. (2018). New PLS Analysis Approach to Wine Volatile Compounds Characterization by Near Infrared Spectroscopy (NIR). Food Chemistry, 246, 172–178. https://doi.org/10.1016/j.foodchem.2017.11.015 DOI: https://doi.org/10.1016/j.foodchem.2017.11.015
Hao, Y., Geng, P., Wu, W., Wen, Q., & Rao, M. K. V. (2019). Identification of Rice Varieties and Transgenic Characteristics Based on Near-Infrared Diffuse Reflectance Spectroscopy and Chemometrics. Molecules, 24(24), 4568. https://doi.org/10.3390/molecules24244568 DOI: https://doi.org/10.3390/molecules24244568
Isdhiyanti, M. I. T., Budiastra, I. W., Mala, D. M., Mardjan, S. S., Hasrini, R. F., & Supriatna, D. (2024). Prediction of Chemical Contents of Cooking Oil Using Near-Infrared Spectroscopy. Food Research, 8(6), 147–152. https://doi.org/10.26656/fr.2017.8(6).520 DOI: https://doi.org/10.26656/fr.2017.8(6).520
Ito, N., Okubo, N., & Kurata, Y. (2019). Nondestructive Near-Infrared Spectroscopic Analysis of Oils on Wood Surfaces. Forests, 10(1), 64. https://doi.org/10.3390/f10010064 DOI: https://doi.org/10.3390/f10010064
Lan, W., Jaillais, B., Leca, A., Renard, C. M. G. C., & Bureau, S. (2020). A new application of NIR spectroscopy to describe and predict purees quality from the non-destructive apple measurements. Food Chemistry, 310, 125944. https://doi.org/10.1016/j.foodchem.2019.125944 DOI: https://doi.org/10.1016/j.foodchem.2019.125944
Li, Z., Song, J., Ma, Y., Yu, Y., He, X., Guo, Y., Dou, J., & Dong, H. (2023). Identification of Aged-Rice Adulteration Based on Near-Infrared Spectroscopy Combined With Partial Least Squares Regression and Characteristic Wavelength Variables. Food Chemistry X, 17, 100539. https://doi.org/10.1016/j.fochx.2022.100539 DOI: https://doi.org/10.1016/j.fochx.2022.100539
Liu, Y., Li, Y., Peng, Y., Ma, S., & Yan, S. (2021). A Feasibility Quantitative Analysis of Free Fatty Acids in Polished Rice by Fourier Transform Near‐infrared Spectroscopy and Chemometrics. Journal of Food Science, 86(8), 3434–3446. https://doi.org/10.1111/1750-3841.15809 DOI: https://doi.org/10.1111/1750-3841.15809
Nagel‐Held, J., Hassouni, K. E., Longin, F., & Hitzmann, B. (2023). Spectroscopy‐based Prediction of 73 Wheat Quality Parameters and Insights for Practical Applications. Cereal Chemistry, 101(1), 144–165. https://doi.org/10.1002/cche.10732 DOI: https://doi.org/10.1002/cche.10732
Ni, D., Nelis, J. L. D., Dawson, A. L., Bourne, N., Juliano, P., Colgrave, M. L., Juhász, A., & Bose, U. (2024). Application of near-infrared spectroscopy and chemometrics for the rapid detection of insect protein adulteration from a simulated matrix. Food Control, 159. https://doi.org/10.1016/j.foodcont.2023.110268 DOI: https://doi.org/10.1016/j.foodcont.2023.110268
Ozaki, A., Uchiyama, M., Tagaya, H., Ohida, T., & Ogihara, R. (2007). The Japanese centenarian study: Autonomy was associated with health practices as well as physical status. Journal of the American Geriatrics Society, 55(1), 95–101. https://doi.org/10.1111/j.1532-5415.2006.01019.x DOI: https://doi.org/10.1111/j.1532-5415.2006.01019.x
Parrenin, L., Danjou, C., Agard, B., Marchesini, G., & Barbosa, F. H. F. (2024). A Decision Support Tool to Analyze the Properties of Wheat, Cocoa Beans and Mangoes From Their NIR Spectra. Journal of Food Science, 89(9), 5674–5688. https://doi.org/10.1111/1750-3841.17252 DOI: https://doi.org/10.1111/1750-3841.17252
Pérez‐Marín, D., Roza-Delgado, B. d. l., Entrenas, J., Garrido-Cuevas, M., & Garrido‐Varo, A. (2022). Transferring a Large Data Library of Fresh Total Mixed Rations From a Benchtop to 2 Portable Near-Infrared Spectrometers for on-Farm Real-Time Decisions. Journal of Dairy Science, 105(3), 2380–2392. https://doi.org/10.3168/jds.2021-21032 DOI: https://doi.org/10.3168/jds.2021-21032
Physical Properties of Food and Agricultural Materials: A Teaching Manual - Nuri N. Mohsenin - Google Buku. (n.d.). Retrieved February 12, 2026, from https://books.google.co.id/books/about/Physical_Properties_of_Food_And_Agricult.html?id=TdGbvwEACAAJ&redir_esc=y
Prananto, J. A., Minasny, B., & Weaver, T. B. (2021). Rapid and Cost-Effective Nutrient Content Analysis of Cotton Leaves Using Near-Infrared Spectroscopy (NIRS). Peerj, 9, e11042. https://doi.org/10.7717/peerj.11042 DOI: https://doi.org/10.7717/peerj.11042
Puleo, S., Monaco, R. D., Langellotti, A. L., & Masi, P. (2022). The Origin of Mussels (Mytilus Galloprovincialis): NIRS Explanatory Identification and the Effect on Consumers. Food Chemistry X, 16, 100497. https://doi.org/10.1016/j.fochx.2022.100497 DOI: https://doi.org/10.1016/j.fochx.2022.100497
Purwanto, A., & Sudargini, Y. (2021). Partial Least Squares Structural Squation Modeling (PLS-SEM) Analysis for Social and Management Research : A Literature Review. Journal of Industrial Engineering & Management Research, 2(4), 114–123. https://doi.org/10.7777/jiemar.v2i4
Purwanto, Y. A., Budiastra, I. W., & Syamsu, K. (2013). Determination of catechin as main bioactive component of gambir (Uncaria gambir Roxb) by FT-NIR Spectroscopy. 7(41), 3076–3083. https://doi.org/10.5897/JMPR2013.4487
Rady, A., Guyer, D. E., & Watson, N. J. (2020). Near-Infrared Spectroscopy and Hyperspectral Imaging for Sugar Content Evaluation in Potatoes Over Multiple Growing Seasons. Food Analytical Methods, 14(3), 581–595. https://doi.org/10.1007/s12161-020-01886-1 DOI: https://doi.org/10.1007/s12161-020-01886-1
Rego, G., Ferrero, F., Valledor, M., Campo, J. C., Forcada, S., Royo, L. J., & Soldado, A. (2020). A portable IoT NIR spectroscopic system to analyze the quality of dairy farm forage. Computers and Electronics in Agriculture, 175, 105578. https://doi.org/10.1016/J.COMPAG.2020.105578
Rego, G. M., Ferrero, F., Valledor, M., Campo, J. C., Forcada, S., Royo, L. J., & Soldado, A. (2020). A Portable IoT NIR Spectroscopic System to Analyze the Quality of Dairy Farm Forage. Computers and Electronics in Agriculture, 175, 105578. https://doi.org/10.1016/j.compag.2020.105578 DOI: https://doi.org/10.1016/j.compag.2020.105578
Rossi, G. B., & Lozano, V. A. (2020). Simultaneous Determination of Quality Parameters in Yerba Mate (Ilex Paraguariensis) Samples by Application of Near-Infrared (NIR) Spectroscopy and Partial Least Squares (PLS). LWT, 126, 109290. https://doi.org/10.1016/j.lwt.2020.109290 DOI: https://doi.org/10.1016/j.lwt.2020.109290
Sringarm, C., Numthuam, S., Jiamyangyuen, S., Kittiwachana, S., Kielar, F., Wongsaipun, S., & Rungchang, S. (2024). Quantitative and Qualitative Evaluation of Maltodextrin Products in the Industry Using Near-Infrared Spectroscopy. International Journal of Food Science & Technology, 59(10), 7391–7402. https://doi.org/10.1111/ijfs.17476 DOI: https://doi.org/10.1111/ijfs.17476
Sun, X., Deng, D., Liu, J., & Feng, S. (2022). Model Development and Update of Portable NIRS Instrument for Assessment of Internal Quality Attributes of Two Navel Orange Varieties. Frontiers in Nutrition, 9. https://doi.org/10.3389/fnut.2022.976178 DOI: https://doi.org/10.3389/fnut.2022.976178
Tian, M., Han, Y., Ma, X., Liang, W., Meng, Z., Cao, G., Luo, Y., & Zang, H. (2024). Quality Study of Animal‐derived Traditional Chinese Medicinal Materials Based on Spectral Technology: Calculus Bovis as a Case. Phytochemical Analysis, 35(6), 1278–1285. https://doi.org/10.1002/pca.3358 DOI: https://doi.org/10.1002/pca.3358
Xu, X., Xie, L., & Ying, Y. (2019). Factors Influencing Near Infrared Spectroscopy Analysis of Agro-Products: A Review. Frontiers of Agricultural Science and Engineering, 6(2), 105. https://doi.org/10.15302/j-fase-2019255 DOI: https://doi.org/10.15302/J-FASE-2019255
Zhou, L., Zhang, C., Taha, M. F., Qiu, Z., & He, Y. (2021). Determination of Leaf Water Content With a Portable NIRS System Based on Deep Learning and Information Fusion Analysis. Transactions of the Asabe, 64(1), 127–135. https://doi.org/10.13031/trans.13989 DOI: https://doi.org/10.13031/trans.13989
License
Copyright (c) 2026 Ayu Putri Ana, Dwi Retno Mulyanti, M Reza Alfikri, Mahran Mawarid

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with Jurnal Penelitian Pendidikan IPA, agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution 4.0 International License (CC-BY License). This license allows authors to use all articles, data sets, graphics, and appendices in data mining applications, search engines, web sites, blogs, and other platforms by providing an appropriate reference. The journal allows the author(s) to hold the copyright without restrictions and will retain publishing rights without restrictions.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in Jurnal Penelitian Pendidikan IPA.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






