Application of Near-Infrared Spectroscopy in Moisture Detection of Carrot Slices During Freeze-Drying
Abstract
1. Introduction
2. Materials and Methods
2.1. Raw Materials and Sample Preparation
2.2. Instruments
2.3. Experimental Methods
2.3.1. FT-NIR Spectral Acquisition
2.3.2. Low-Field Nuclear Magnetic Resonance (LF-NMR) Measurements
2.3.3. Determination of Moisture Content During Freeze-Drying
2.3.4. NIR Spectral Data Processing and Quantitative Model Development
- Sample set Partitioning
- 2.
- Spectral preprocessing
- 3.
- Feature variable selection
- 4.
- Model development and evaluation
2.3.5. Sample Characterization
- Total number of samples analyzed
- 2.
- Number of experimental replicates
- 3.
- Sample mass
3. Results
3.1. Moisture Dynamics and State Distribution During Freeze-Drying of Carrot Slices
3.2. Near-Infrared Spectral Characteristics During Freeze-Drying of Carrot Slices
3.3. Near-Infrared Spectral Data Processing
3.3.1. NIR Spectral Sample Partitioning
3.3.2. NIR Spectral Preprocessing
3.3.3. Analysis of NIR Spectral Feature Extraction
- CARS Feature Band Analysis
- 2.
- SPA Feature Band Analysis
- 3.
- UVE Feature Band Analysis
3.4. Performance Analysis of Near-Infrared Based Prediction Models for Total Moisture, Bound Water and Free Water
4. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Squeo, G.; Cruz, J.; De Angelis, D.; Caponio, F.; Amigo, J. Considerations about the gap between research in near-infrared spectroscopy and official methods and recommendations of analysis in foods. Curr. Opin. Food Sci. 2024, 59, 101203. [Google Scholar] [CrossRef]
- Li, J.; Li, Z.; Wang, N.; Raghavan, G.S.V.; Pei, Y.; Song, C.; Zhu, G. Novel Sensing Technologies During the Food Drying Process. Food Eng. Rev. 2020, 12, 121–148. [Google Scholar] [CrossRef]
- Fodor, M.; Matkovits, A.; Benes, E.; Jókai, Z. The Role of Near-Infrared Spectroscopy in Food Quality Assurance: A Review of the Past Two Decades. Foods 2024, 13, 3501. [Google Scholar] [CrossRef]
- Zhang, M.; Lin, B.; Zhang, S.; Peng, C.; Li, C.; Feng, T.; Li, L.; Wu, A.; Yang, C.; Wang, W.; et al. Application of artificial intelligence in the rapid determination of moisture content in medicine food homology substances. Food Chem. 2025, 480, 143905. [Google Scholar] [CrossRef]
- Massei, A.; Falco, N.; Fissore, D. Use of machine learning tools and NIR spectra to estimate residual moisture in freeze-dried products. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2023, 293, 122485. [Google Scholar] [CrossRef]
- Jin, W.; Zhang, M.; Mujumdar, A.; Yu, D. Application of Portable NIR Spectroscopy for Instant Prediction of the Product Quality of Apple Slices During Hot Air-Assisted Radio Frequency Drying. Food Bioprocess Technol. 2024, 17, 3704–3715. [Google Scholar] [CrossRef]
- Marinoni, L.; Cattaneo, T.; Vanoli, M.; Barzaghi, S. Real-time monitoring of solar drying of melon slices with a portable NIR spectrometer: A preliminary approach. Eur. Food Res. Technol. 2023, 249, 2151–2164. [Google Scholar] [CrossRef]
- Zhang, W.; Pan, M.; Wang, P.; Xue, J.; Zhou, X.; Sun, W.; Hu, Y.; Shen, Z. Comparative Analysis of XGB, CNN, and ResNet Models for Predicting Moisture Content in Porphyra yezoensis Using Near-Infrared Spectroscopy. Foods 2024, 13, 3023. [Google Scholar] [CrossRef] [PubMed]
- Zou, X.; Wang, Q.; Chen, Y.; Wang, J.; Xu, S.; Zhu, Z.; Yan, C.; Shan, P.; Wang, S.; Fu, Y. Fusion of convolutional neural network with XGBoost feature extraction for predicting multi-constituents in corn using near infrared spectroscopy. Food Chem. 2025, 463, 141053. [Google Scholar] [CrossRef] [PubMed]
- Purwanto, Y.A.; Widodo, S.; Iriani, E.S. Rapid assessment of vanilla (Vanilla planifolia) quality parameters using portable near-infrared spectroscopy combined with random forest. J. Food Compos. Anal. 2024, 133, 106346. [Google Scholar] [CrossRef]
- Parrenin, L.; Danjou, C.; Agard, B.; Marchesini, G.; Barbosa, F. A decision support tool to analyze the properties of wheat, cocoa beans and mangoes from their NIR spectra. J. Food Sci. 2024, 89, 5674–5688. [Google Scholar] [CrossRef]
- Ordoñez-Lozano, S.; Collazos-Escobar, G.; Bahamón-Monje, A.; Gutiérrez-Guzmán, N. Monitoring moisture content in parchment coffee beans during drying using Fourier Transform near infrared (FT-NIR) spectroscopy: A dataset for calibrating chemometric-based models for moisture prediction. Data Brief 2025, 59, 111436. [Google Scholar] [CrossRef] [PubMed]
- GH/T 1326-2021; Freeze-Dried Fruits and Vegetables. All China Federation of Supply and Marketing Cooperatives: Beijing, China; China Quality Inspection Press: Beijing, China, 2021.
- GB 5009.3-2016; National Food Safety Standard—Determination of Moisture in Foods. National Health and Family Planning Commission of the People’s Republic of China: Beijing, China; China Standards Press: Beijing, China, 2016.
- Sun, Y.; Zhang, M.; Mujumdar, A.; Yu, D. Pulse-spouted microwave freeze drying of raspberry: Control of moisture using ANN model aided by LF-NMR. J. Food Eng. 2021, 292, 110354. [Google Scholar] [CrossRef]
- Li, Y.; Gao, H.; Wan, Q.; Qiu, X.; Qi, Y.; Wu, Z. Investigation of water variation and surface crust of Polygonati rhizoma extract during vacuum drying. LWT-Food Sci. Technol. 2024, 207, 116623. [Google Scholar] [CrossRef]
- Chen, H.; Shen, Y. Investigation of Water Distribution and Mobility Dynamics in Recalcitrant Quercus acutissima Seeds during Desiccation Using Magnetic Resonance Methods. Forests 2023, 14, 738. [Google Scholar] [CrossRef]
- Song, Y.; Yi, W.; Liu, Y.; Zhang, C.; Wang, Y.; Ning, J. A robust deep learning model for predicting green tea moisture content during fixation using near-infrared spectroscopy: Integration of multi-scale feature fusion and attention mechanisms. Food Res. Int. 2025, 203, 115874. [Google Scholar] [CrossRef]
- Yue, J.; Zhang, H.; Gao, L.; Tian, W.; Luo, J.; Nie, L.; Li, L.; Wu, A.; Zang, H. Benchtop and different miniaturized near-infrared spectrometers application study: Calibration transfer and 2D-COS for in-situ analysis of moisture content in HPMC. Spectrochim. Acta Part-Mol. Biomol. Spectrosc. 2025, 333, 125889. [Google Scholar] [CrossRef] [PubMed]
- Zang, Z.; Li, Z.; Lu, X.; Liang, J.; Wang, J.; Cui, H.; Yan, S. Terahertz spectroscopy for quantification of free water and bound water in leaf. Comput. Electron. Agric. 2021, 191, 106515. [Google Scholar] [CrossRef]
- Wang, R.; Song, J.; Liu, J.; Ren, Z.; Zhu, C.; Yu, Y.; Li, Z.; Huang, Y. The combination of near-infrared spectroscopy with chemometrics in achieving rapid and accurate determination of rice mildew. J. Food Meas. Charact. 2024, 18, 5437–5449. [Google Scholar] [CrossRef]
- Wei, W.; Zhang, F.; Fu, F.; Sang, S.; Qiao, Z. Rapid Detection of Total Viable Count in Intact Beef Dishes Based on NIR Hyperspectral Hybrid Model. Sensors 2023, 23, 9584. [Google Scholar] [CrossRef] [PubMed]
- Liu, Y.; Zhou, X.; Sun, J.; Li, B.; Ji, J. A Method for Non-destructive Detection of Moisture Content in Oilseed Rape Leaves Using Hyperspectral Imaging Technology. J. Nondestruct. Eval. 2024, 43, 32. [Google Scholar] [CrossRef]
- Zhang, R.; Jiang, L.; Duan, N.; Fu, W.; Ma, J.; Sun, X.; Liao, J.; Jin, H. High-accuracy quantitative model for phosphate anions in solution based on absorption spectroscopy and machine learning algorithms. J. Clean. Prod. 2024, 467, 142871. [Google Scholar] [CrossRef]
- Long, J.; Yang, J.; Peng, J.; Pan, L.; Tu, K. Detection of moisture and carotenoid content in carrot slices during hot air drying based on multispectral imaging equipment with selected wavelengths. Int. J. Food Eng. 2021, 17, 727–735. [Google Scholar] [CrossRef]
- Zhou, H.; Huang, M.; Zhu, Q.; Zhang, M. Developing C-LSTM model for evaluating moisture content of carrot slices during drying. Dry. Technol. 2022, 40, 2964–2974. [Google Scholar] [CrossRef]











| Functional Groups | Region | Wavenumber (cm−1) | Wavelength (nm) | Vibration Distribution | Physical Significance |
|---|---|---|---|---|---|
| O-H (H2O) | 2 | 8220–7015 | 1216–1425 | First harmonic | Mainly reflects the first overtone vibration characteristics of the O-H bond in water molecules. |
| 3 | 6800–5785 | 1470–1728 | Combined frequency | Related to the vibration mode within water molecules, it is applicable for water analysis. | |
| 4 | 5781–5226 | 1730–1913 | Combined frequency | Reflecting the coupling of different O-H vibration modes, it is suitable for supplementary quantitative analysis of water content. |
| Stage | Temperature/°C | Time/h |
|---|---|---|
| 1 | −35 | 4 |
| 2 | −30 | 1 |
| 3 | −20 | 1 |
| 4 | −10 | 5 |
| 5 | 0 | 3 |
| 6 | 10 | 6 |
| 7 | 20 | 4 |
| 8 | 30 | 3 |
| 9 | 45 | 5 |
| Moisture Gradient (%) | A21 | A22 | A23 | A24 | Bound Water (%) | Free Water (%) | Total Water (%) |
|---|---|---|---|---|---|---|---|
| 90–100 | 93.48 ± 16.06 | 91.85 ± 25.62 | 152.94 ± 35.06 | 4598.39 ± 124.14 | 5.52 ± 0.52 | 85.99 ± 0.72 | 91.51 ± 0.89 |
| 80–90 | 39.67 ± 19.84 | 69.58 ± 21.66 | 102.27 ± 24.52 | 2758.32 ± 582.58 | 5.67 ± 1.15 | 79.57 ± 3.17 | 85.24 ± 2.29 |
| 70–80 | 56.00 ± 30.22 | 59.70 ± 26.89 | 80.99 ± 28.53 | 1631.50 ± 384.56 | 7.64 ± 2.41 | 67.28 ± 3.67 | 74.92 ± 2.79 |
| 60–70 | 63.58 ± 32.23 | 79.88 ± 31.07 | 237.35 ± 151.81 | 583.56 ± 284.81 | 25.90 ± 12.80 | 39.11 ± 12.88 | 65.01 ± 2.99 |
| 50–60 | 64.94 ± 27.67 | 103.62 ± 31.11 | 372.46 ± 164.51 | 291.40 ± 235.67 | 36.41 ± 10.53 | 18.80 ± 11.31 | 55.21 ± 2.64 |
| 40–50 | 85.27 ± 49.53 | 109.06 ± 42.23 | 399.88 ± 150.45 | 59.18 ± 62.58 | 40.82 ± 4.52 | 4.25 ± 4.34 | 45.06 ± 2.99 |
| 30–40 | 92.99 ± 46.29 | 139.52 ± 60.70 | 330.52 ± 140.94 | 15.37 ± 17.74 | 34.36 ± 2.74 | 1.04 ± 1.23 | 35.40 ± 2.63 |
| 20–30 | 150.61 ± 78.10 | 200.26 ± 81.05 | 124.95 ± 105.70 | 7.32 ± 5.79 | 24.95 ± 2.75 | 0.39 ± 0.34 | 25.34 ± 2.73 |
| 10–20 | 163.95 ± 63.13 | 105.10 ± 77.28 | 21.62 ± 14.55 | 5.00 ± 1.98 | 14.84 ± 2.95 | 0.29 ± 0.16 | 15.13 ± 2.94 |
| 0–10 | 88.14 ± 49.24 | 55.94 ± 18.14 | 16.94 ± 6.70 | 4.88 ± 2.42 | 6.63 ± 1.69 | 0.20 ± 0.10 | 6.83 ± 1.70 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, P.; Sun, M.; Xu, H.; Zhang, M.; Liu, R.; Xie, Y.; Cheng, J. Application of Near-Infrared Spectroscopy in Moisture Detection of Carrot Slices During Freeze-Drying. Foods 2026, 15, 1256. https://doi.org/10.3390/foods15071256
Wang P, Sun M, Xu H, Zhang M, Liu R, Xie Y, Cheng J. Application of Near-Infrared Spectroscopy in Moisture Detection of Carrot Slices During Freeze-Drying. Foods. 2026; 15(7):1256. https://doi.org/10.3390/foods15071256
Chicago/Turabian StyleWang, Pengtao, Meng Sun, Hongwen Xu, Moran Zhang, Rong Liu, Yunfei Xie, and Jun Cheng. 2026. "Application of Near-Infrared Spectroscopy in Moisture Detection of Carrot Slices During Freeze-Drying" Foods 15, no. 7: 1256. https://doi.org/10.3390/foods15071256
APA StyleWang, P., Sun, M., Xu, H., Zhang, M., Liu, R., Xie, Y., & Cheng, J. (2026). Application of Near-Infrared Spectroscopy in Moisture Detection of Carrot Slices During Freeze-Drying. Foods, 15(7), 1256. https://doi.org/10.3390/foods15071256

