Food Analytical Methods

, Volume 12, Issue 1, pp 12–22 | Cite as

Comparison and Optimization of Models for Determination of Sugar Content in Pear by Portable Vis-NIR Spectroscopy Coupled with Wavelength Selection Algorithm

  • Jiangbo Li
  • Qingyan Wang
  • Lu Xu
  • Xi Tian
  • Yu Xia
  • Shuxiang FanEmail author


The portable device could help to obtain a complete follow-up of fruit quality in orchards and during post-harvest. Thus, it is an important step to develop portable and non-destructive technology for current and future research in fruit. In this study, the ability of portable visible-near infrared (Vis-NIR) spectroscopy to non-invasively determine sugar content in pear was studied. Partial least square regression (PLSR) was applied to establish calibration models based on the spectral signatures of three regions (550–1050, 650–950, 750–1050 nm) and four types of data sets (Set-I, Set-II, Set-III, and Set-IV), respectively, and the performance of models was compared to determine the optimal spectral calibration strategy. The spectral region of 650–950 nm was proved to be much better compared with other two spectral regions. Competitive adaptive reweighted sampling (CARS) algorithm was used to reduce redundancy and collinearity of the original spectral data based on the optimal spectral region for selecting the most important wavelengths. The CARS-PLSR was identified as the most effective method to calibrate the prediction models for sugar content determination, resulting in good coefficient of determination for prediction (\( {R}_P^2 \)) of 0.85–0.92 and root mean square error of prediction (RMSEP) of 0.27–0.20 for four types of data sets, respectively. The overall results show that the portable Vis-NIR spectroscopy is a promising tool for the non-destructive on-site evaluation of sugar content in pear, as well as affording the additional advantage of low cost.


Portable detection Comparison and optimization of models Sugar content Pear Wavelength selection 



The authors gratefully acknowledge the financial support provided by the Science and technology innovation ability construction project of Beijing Academy of agriculture and Forestry Science (Project No. KJCX20170417), Beijing Nova program (Project No. Z171100001117035), the National Natural Science Foundation of China (Project No. 31772052), and the National Engineering Laboratory for Agri-product Quality Traceability (Project No. PT2018-21).

Compliance with Ethical Standards

Conflict of Interest

Jiangbo Li declares that he has no conflict of interest. Qingyan Wang declares that she has no conflict of interest. Lu Xu declares that she has no conflict of interest. Xi Tian declares that he has no conflict of interest. Yu Xia declares that he has no conflict of interest. Shuxiang Fan declares that he has no conflict of interest.

Ethical Approval

This article does not contain any studies with human participants or animals by any of the authors.

Informed Consent

Not applicable.


  1. Alamar M, Bobelyn E, Lammertyn J, Nicolaï BM, Moltó E (2007) Calibration transfer between NIR diode array and FT-NIR spectrophotometers for measuring the soluble solids contents of apple. Postharvest Biol Technol 45:38–45CrossRefGoogle Scholar
  2. Alfatni MSM, Shariff ARM, Abdullah MZ, Marhaban MHB, Saaed OMB (2013) The application of internal grading system technologies for agricultural products-review. J Food Eng 116:703–725CrossRefGoogle Scholar
  3. Antonucci F, Pallottino F, Paglia G, Palma A, D’Aquino S, Menesatti P (2011) Non-destructive estimation of mandarin maturity status through portable VIS-NIR spectrophotometer. Food Bioprocess Technol 4:809–813CrossRefGoogle Scholar
  4. Balabin MR, Smirnov SV (2011) Variable selection in near-infrared spectroscopy: benchmarking of feature selection methods on biodiesel data. Anal Chim Acta 692:63–72CrossRefGoogle Scholar
  5. Beghi R, Spinardi A, Bodria L, Mignani I, Guidetti R (2013) Apples nutraceutic properties evaluation through a visible and near-infrared portable system. Food Bioprocess Technol 6:2547–2554CrossRefGoogle Scholar
  6. Bin J, Li X, Fan W, Zhou JH, Wang CW (2017) Calibration transfer of near-infrared spectroscopy by canonical correlation analysis coupled with wavelet transform. Analyst 142(12):2229–2238CrossRefGoogle Scholar
  7. Camps C, Christen D (2009) Non-destructive assessment of apricot fruit quality by portable visible-near infrared spectroscopy. LWT Food Sci Technol 42:1125–1131CrossRefGoogle Scholar
  8. Cayuela JA, Weiland C (2010) Intact orange quality prediction with two portable NIR spectrometers. Postharvest Biol Technol 58:113–120CrossRefGoogle Scholar
  9. Cozzolino D, Liu L, Cynkar WU, Dambergs RG, Janik L, Colby CB, Gishen M (2007) Effect of temperature variation on the visible and near infrared spectra of wine and the consequences on the partial least square calibrations developed to measure chemical composition. Anal Chim Acta 588(2):224–230CrossRefGoogle Scholar
  10. Fan SX, Zhang BH, Li JB, Huang WQ, Wang CP (2016) Effect of spectrum measurement position variation on the robustness of NIR spectroscopy models for soluble solids content of apple. Biosyst Eng 143:9–19CrossRefGoogle Scholar
  11. Fearn T (2001) Standardisation and calibration transfer for near infrared instruments: a review. J Near Infrared Spectrosc 9(1):229–244CrossRefGoogle Scholar
  12. Galvão RKH, Araujo MCU, José GE, Pontes MJC, Silva EC, Saldanha TCB (2005) A method for calibration and validation subset partitioning. Talanta 67(4):736–740CrossRefGoogle Scholar
  13. Golic M, Walsh K, Lawson P (2003) Short-wavelength near-infrared spectra of sucrose, glucose, and fructose with respect to sugar concentration and temper-ature. Appl Spectrosc 57:139–145CrossRefGoogle Scholar
  14. Guo WC, Fang LJ, Liu DY, Wang ZW (2015) Determination of soluble solids content and firmness of pears during ripening by using dielectric spectroscopy. Comput Electron Agric 117:226–233CrossRefGoogle Scholar
  15. Helland IS, Nas T, Isaksson T (1995) Related versions of the multiplicative scatter correction method for preprocessing spectroscopic data. Chemom Intell Lab Syst 29(2):233–241CrossRefGoogle Scholar
  16. Huang HB, Yu HY, Xu HR, Ying YB (2008) Near infrared spectroscopy for on/in-line monitoring of quality in foods and beverages: a review. J Food Eng 87:303–313CrossRefGoogle Scholar
  17. Hui GH, Wu YL, Ye DD, Ding WW, Zhu LS, Wang LY (2012) Study of peach freshness predictive method based on electronic nose. Food Control 28(1):25–32CrossRefGoogle Scholar
  18. Jaeger SR, Andani Z, Wakeling IN, MacFie HJH (1998) Consumer preferences for fresh and aged apples: a crosscultural comparison. Food Qual Prefer 9:355–366CrossRefGoogle Scholar
  19. Kawano S, Abe H, Iwamoto M (1995) Development of a calibration equation with temperature compensation for determining the brix value in intact peaches. J Near Infrared Spectrosc 3(4):211–218CrossRefGoogle Scholar
  20. Kumar S, McGlone A, Whitworth C, Volz R (2015) Postharvest performance of apple phenotypes predicted by near-infrared (NIR) spectral analysis. Postharvest Biol Technol 100:16–22CrossRefGoogle Scholar
  21. Leiva-Valenzuela GA, Lu RF, Aguilera JM (2014) Assessment of internal quality of blueberries using hyperspectral transmittance and reflectance images with whole spectra or selected wavelengths. Innovative Food Sci Emerg Technol 24:2–13CrossRefGoogle Scholar
  22. Li JB, Chen LP (2017) Comparative analysis of models for robust and accurate evaluation of soluble solids content in ‘Pinggu’ peaches by hyperspectral imaging. Comput Electron Agric 142:524–535CrossRefGoogle Scholar
  23. Li HD, Liang YZ, Xu QS, Cao DS (2009) Key wavelengths screening using competitive adaptive reweighted sampling method for multivariate calibration. Anal Chim Acta 648:77–84CrossRefGoogle Scholar
  24. Li JB, Huang WQ, Zhao CJ, Zhang BH (2013) A comparative study for the quantitative determination of soluble solids content, pH and firmness of pears by Vis/NIR spectroscopy. J Food Eng 116(2):324–332CrossRefGoogle Scholar
  25. Li JB, Tian X, Huang WQ, Zhang BH, Fan SX (2016) Application of long-wave near infrared hyperspectral imaging for measurement of soluble solid content (SSC) in pear. Food Anal Methods 9:3087–3098CrossRefGoogle Scholar
  26. Lleò L, Barreiro P, Ruiz-Altisent M, Herrero A (2009) Multispectral images of peach related to firmness and maturity at harvest. J Food Eng 93:229–235CrossRefGoogle Scholar
  27. Mahesh S, Jayas D, Paliwal J, White N (2015) Comparison of partial least squares regression (PLSR) and principal components regression (PCR) methods for protein and hardness predictions using the near-infrared (NIR) hyperspectral images of bulk samples of Canadian wheat. Food Bioprocess Technol 8:31–40CrossRefGoogle Scholar
  28. Nelson SO, Trabelsi S, Kays SJ (2008) Dielectric spectroscopy of melons for potential quality sensing. Trans ASABE 51(6):2209–2214CrossRefGoogle Scholar
  29. Nicolaï BM, Beullens K, Bobelyn E, Peirs A, Saeys W, Theron KI, Lammertyn J (2007) Nondestructive measurement of fruit and vegetable quality by means of NIR spectroscopy: a review. Postharvest Biol Technol 46:99–118CrossRefGoogle Scholar
  30. Paz P, Sánchez MT, Pérez-Marín D, Guerrero JE, Garrido-Varo A (2009) Instantaneous quantitative and qualitative assessment of pear quality using near infrared spectroscopy. Comput Electron Agric 69:24–32CrossRefGoogle Scholar
  31. Porep JU, Kammerer DR, Carle R (2015) On-line application of near infrared (NIR) spectroscopy in food production. Trends Food Sci Technol 46:211–230CrossRefGoogle Scholar
  32. Rajkumar P, Wang N, EImasry G, Raghavan GSV, Gariepy Y (2012) Studies on banana fruit quality and maturity stages using hyperspectral imaging. J Food Eng 108:194–200CrossRefGoogle Scholar
  33. Sánchez MT, Haba MJDL, Guerrero JE, Garrido-Varo A, Pérez-Marín D (2011) Testing of a local approach for the prediction of quality parameters in intact nectarines using a portable NIRS instrument. Postharvest Biol Technol 60:130–135CrossRefGoogle Scholar
  34. Santos CA, Lopo M, Páscoa RN, Lopes JA (2013) A review on the applications of portable near-infrared spectrometers in the agro-food industry. Appl Spectrosc 67(11):1215–1233CrossRefGoogle Scholar
  35. Schmutzler M, Huck CW (2016) Simultaneous detection of total antioxidant capacity and total soluble solids content by Fourier transform near-infrared (FT-NIR) spectroscopy: a quick and sensitive method for on-site analyses of apples. Food Control 66:27–37CrossRefGoogle Scholar
  36. Sorak D, Herberholz L, Iwascek S, Altinpinar S, Pfeifer F, Siesler HW (2012) New developments and applications of handheld raman, mid-infrared, and near-infrared spectrometers. Appl Spectrosc Rev 47:83–115CrossRefGoogle Scholar
  37. Thybo AK, Kühn BF, Martens H (2004) Explaining Danish children’s preferences for apples using instrumental, sensory and demographic/behavioural data. Food Qual Prefer 15:53–63CrossRefGoogle Scholar
  38. Tian X, Li JB, Wang QY, Fan SX, Huang WQ (2018) A bi-layer model for nondestructive prediction of soluble solids content in apple based on reflectance spectra and peel pigments. Food Chem 239:1055–1063CrossRefGoogle Scholar
  39. Wang HL, Peng JY, Xie CQ, Bao YD, He Y (2015) Fruit quality evaluation using spectroscopy technology: a review. Sensors 15:11889–11927CrossRefGoogle Scholar
  40. Wang JH, Wang J, Chen Z, Han DH (2017) Development of multi-cultivar models for predicting the soluble solid content and firmness of European pear (Pyrus communis L.) using portable Vis–NIR spectroscopy. Postharvest Biol Technol 129:143–151CrossRefGoogle Scholar
  41. Ying YB, Liu YD (2008) Nondestructive measurement of internal quality in pear using genetic algorithms and FT-NIR spectroscopy. J Food Eng 84:206–213CrossRefGoogle Scholar
  42. Zhang HM, Wang J, Ye S (2008) Prediction of soluble solids content, firmness and pH of pear by signals of electronic nose sensors. Anal Chim Acta 606(1):112–118CrossRefGoogle Scholar
  43. Zou XB, Zhao JW, Malcolm JW, Povey MH, Mao HP (2010) Variables selection methods in near-infrared spectroscopy. Anal Chim Acta 667:14–32CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  • Jiangbo Li
    • 1
    • 2
  • Qingyan Wang
    • 1
  • Lu Xu
    • 1
  • Xi Tian
    • 1
  • Yu Xia
    • 1
  • Shuxiang Fan
    • 1
    Email author
  1. 1.Beijing Research Center of Intelligent Equipment for AgricultureBeijingChina
  2. 2.College of Mechanical and Electrical EngineeringShihezi UniversityShiheziChina

Personalised recommendations