Skip to main content

ORIGINAL RESEARCH article

Front. Plant Sci., 06 May 2022
Sec. Sustainable and Intelligent Phytoprotection
This article is part of the Research Topic AI, Sensors and Robotics in Plant Phenotyping and Precision Agriculture View all 26 articles

Design of a Phenotypic Sensor About Protein and Moisture in Wheat Grain

Yiming Liu,,,Yiming Liu1,2,3,4Donghang Li,,,Donghang Li1,2,3,4Huaiming Li,,,Huaiming Li1,2,3,4Xiaoping Jiang,,,Xiaoping Jiang1,2,3,4Yan Zhu,,,Yan Zhu1,2,3,4Weixing Cao,,,Weixing Cao1,2,3,4Jun Ni,,,
Jun Ni1,2,3,4*
  • 1College of Agriculture, Nanjing Agricultural University, Nanjing, China
  • 2National Engineering and Technology Center for Information Agriculture (NETCIA), Nanjing, China
  • 3Engineering Research Center of Smart Agriculture, Ministry of Education, Nanjing, China
  • 4Collaborative Innovation Center for Modern Crop Production Co-sponsored by Province and Ministry, Nanjing, China

A near-infrared (NIR) spectrometer can perceive the change in characteristics of the grain reflectance spectrum quickly and nondestructively, which can be used to determine grain quality information. The full-band spectral information of samples of multiple physical states can be measured using existing instruments, yet it is difficult for the full-band instrument to be widely used in grain quality detection due to its high price, large size, non-portability, and inability to directly output the grain quality information. Because of the above problems, a phenotypic sensor about grain quality was developed for wheat, and four wavelengths were chosen. The interference of noise signals such as ambient light was eliminated by the phenotypic sensor using the modulated light signal and closed sample pool, the shape and size of the incident light spot of the light source were determined according to the requirement for collecting the reflectance spectrum of the grain, and the luminous units of the light source with stable light intensity and balanced luminescence were developed. Moreover, the sensor extracted the reflectance spectrum information using a weak optical signal conditioning circuit, which improved the resolution of the reflectance signal. A grain quality prediction model was created based on the actual moisture and protein content of grain obtained through Physico-chemical analyses. The calibration test showed that the R2 of the relative diffuse reflectance (RDR) of all four wavelengths of the phenotypic sensor and the reflectance of the diffusion fabrics were higher than 0.99. In the noise level and repeatability tests, the standard deviations of the RDR of two types of wheat measured by the sensor were much lower than 1.0%, indicating that the sensor could accurately collect the RDR of wheat. In the calibration test, the root mean square errors (RMSE) of protein and moisture content of wheat in the Test set were 0.4866 and 0.2161%, the mean absolute errors (MAEs) were 0.6515 and 0.3078%, respectively. The results showed that the NIR phenotypic sensor about grain quality developed in this study could be used to collect the diffuse reflectance of grains and the moisture and protein content in real-time.

Introduction

Real-time non-destructive testing of grain quality can lower the cost of field management by providing reference information for fertilization in the grain production process. It can also provide information for quality-based pricing during trade and provide data for grain classification to improve the efficiency of grain processing. However, traditional grain quality detection methods mainly rely on indoor Physico-chemical analysis. For instance, the grain moisture content was determined by the direct drying method (The National Health and Family Planning Commission of the People’s Republic of China, 2016), and the protein content was determined by the Kjeldahl method (The National Health and Family Planning Commission of the People’s Republic of China and State Food and Drug Administration, 2010). These methods cannot be applied to real-time quality detection in the process of grain circulation due to destructive sample preparation, complex analysis process, and poor timeliness (El-Mesery et al., 2019; Hussain et al., 2019).

Near-infrared (NIR) spectroscopy has developed rapidly as an efficient, green, and nondestructive analysis and detection method in recent years. The response characteristics of the NIR reflectance spectrum of grain are closely related to grain quality. The quality of grains can be described quantitatively using the NIR wavelength that is sensitive to the quality content (Wang, 2010; Santos et al., 2013; Zhu et al., 2015; Caporaso et al., 2018). By collecting the NIR transmitted spectrum of six types of single-grain wheat, a prediction model for NIR transmitted spectrum and the protein content of corresponding single-grain wheat was proposed by Delwiche (1995) based on partial least square. Using the Foss InfraXact Lab/Pro spectrometer (570–1850 nm), Arazuri et al. (2012) collected the spectrum of wheat in the NIR area, analyzed the relationships of rheological parameters between spectrum and tenacity, extensibility, deformation energy of wheat, which provided technical support for obtaining the rheological parameters of wheat during harvest and transportation of wheat. In a study by Li et al. (2013). a spectrometer was used to collect the transmitted spectrum (840–1,048 nm) of brown rice. This information was used to accurately determine the moisture and protein content of brown rice in the grain elevator. In summary, the above studies on NIR of grain showed that the quality information, e.g., moisture, starch, and protein content of grains (e.g., wheat and rice) can be obtained quantitatively.

Based on the NIR spectroscopy technology, grain quality detection devices have been developed. Zhang et al. designed a NIR analysis system with a wavelength of 800–1,100 nm based on a charge-coupled device and fixed optical grating, and a wheat moisture and protein model was created using the PLS method. However, this system was complex and large, it could not be used for real-time on-site detection (Zhang et al., 2009). Hidaka et al. developed a NIR reflectance spectrometer of 740–1,140 nm using the halogen lamp and grating dispersion, which was integrated with the harvester to determine the protein content of brown rice. However, when tested in the field, the correlation coefficient R of the detection value and the real value of protein was only 0.65 since the system did not take into account the influence of complex environment factors (Hidaka et al., 2011). In a study by Wen et al. light-emitting diodes (LEDs) and 14 narrow-band interference filters with a wavelength between 800 and 1,100 nm were used to develop a single-grain wheat composition analyzer, which realized the real-time detection of wheat protein content. However, the luminous efficiency of the LED of 950 nm was very low, at 1,020–1,050 nm, and the measurement error under repeated sample loading conditions was largely due to the light spot difference caused by the position of the light source (Wen and Ji, 2004). Wu et al. used a 6-row-8-column full-enclosed LED structure, combined with a FLAME-NIR spectrometer (900–1,700 nm) manufactured by Ocean Insight (Orlando, FL, United States), to design an instrument for detecting the protein content of single-grain wheat. This instrument requires a large number of light sources and has large power consumption, and it can only be used after the light source has been preheated for 30 min, thus the timeliness of the instrument was not ideal (Wu et al., 2018).

Studies on the analytical techniques based on NIR spectroscopy have played an important role in grain quality detection. However, current studies are still facing the following problems.

1. Commercial instruments mostly consist of spectrometers operating in the full spectral band. They are complex, bulky, expensive to produce, difficult to adapt to different detection requirements, and do not have a grain quality detection model; thus, they are incapable of outputting grain quality information in real-time.

2. Most instruments made in-house consist of spectrometers operating in characteristic spectral bands. The incident light spots of multiple wavelength light sources suffer from the problem of inconsistent detection regions. For grains with uneven distributions of nutritional quality, inconsistent detection regions will result in systematic errors, thereby rendering the instrument unsuitable for grain quality detection.

In this study, a NIR phenotypic sensor about protein and moisture in wheat grain (PSPMWG) was developed. Compared with previous studies, this study made contributions in the following aspects.

1. A NIR PSAGQ was developed, which had a simple structure, was lightweight and was able to detect the grain quality rapidly, nondestructively in real-time. The sensor collects the diffuse reflectance spectrum in real-time and couples the quality detection model to generate grain quality data immediately. In addition, this study expounds on the optical system design and control system development process of the phenotypic sensor in detail, which lays a good foundation for the secondary development of the phenotypic sensor and the application of online detection.

2. A circular structure of multiple light sources was proposed, where the incident light spots of the multiple light sources were consistent, which reduced the measurement error under repeated sample loading conditions caused by the differences in incident light spots. Different incident light spots could be formed by multiple light sources on the detection plane. The overlapping circular part was intercepted to ensure the consistency of incident light spots from multiple light sources and to improve the spectral accuracy of the sensor.

3. A detection model of wheat protein and moisture was built, which was able to output the grain quality information in real-time after obtaining the grain spectrum. The model could be directly used in multiple instruments through the self-correcting luminous state by correcting the reflectance of the sensor through the diffusion fabric and correcting the sample pool. The instrument could be used during grain production, trading, and grain processing.

Measurement Principles of the Sensor

There are two methods for measuring the NIR: the transmission method (Delwiche et al., 1996; Li et al., 2013) and the reflection method (Hidaka et al., 2011; Priya et al., 2015). The transmission method applies to uniform or transparent samples, and the NIR absorbs the same proportion of light on each equivalent thickness medium on the optical path, that is, the absorbed amount of light is in direct proportion to the number of molecules that generate light absorption on the optical path. The reflection method is mostly used for solid samples, and the NIR passes through a tortuous and irregular optical path in the solid body. The absorbance is related to the scattering coefficient and absorption coefficient of the sample.

Wheat grain is the research object of this study. Its nutritional components are unevenly distributed in the grain. The PSPMWG can obtain the nutritional quality information of the wheat through the grain spectrum measured using the diffuse reflection method.

The relative diffuse reflectance (RDR) is defined as:

R = I / I 0     (1)

where I is the diffuse reflection light intensity of the measured sample, and I 0 is the diffuse reflection light intensity of the background.

Diffuse reflectance spectral signals can also be characterized by absorbance, as defined by

A = log 1 R     (2)

This work used RDR to characterize the diffuse reflectance spectrum. When measuring the diffuse reflectance spectrum, each measurement result of the sample is affected by the loading conditions. Because the internal arrangement and distribution of the samples loaded each time are different, the optical path will change, which will lead to spectral changes and poor spectral repeatability. With the design of a closed sample cell and annular light sources at multiple spectral bands, a NIR PSPMWG could reduce the influence of sample loading conditions on spectral measurement and improve spectral repeatability.

Due to the low manufacturing cost and strong environmental adaptability of spectrometers working in the shortwave infrared and NIR regions (780–1,100 nm; Risius et al., 2014), we used a NIR light source with wavelengths sensitive to grain quality in the shortwave infrared and NIR regions. Figure 1 shows the NIR spectra (570–1,100 nm) of 300 winter wheat samples collected by a Foss InfraXact Lab/Pro spectrometer (Bec et al., 2020). The regions where the NIR spectral characteristics of the wheat varied were marked by red boxes in the figure. In addition, according to previous studies, (Zhang et al., 2009; Hidaka et al., 2011; Arazuri et al., 2012; Li et al., 2013) on the wavelengths sensitive to grain moisture and protein content, four NIR LEDs with wavelengths of 780, 910, 980, and 1,050 nm were used as the light sources for portable quality detection.

FIGURE 1
www.frontiersin.org

Figure 1. The NIR spectrum of the wheat.

Design of the Sensor

Overall Design

The NIR PSPMWG is composed of an optical system (including a light-emitting unit and a spectral collection unit) and a control system (including hardware circuits and software). The light-emitting unit generates incident spectra, the spectral collection unit obtains the RDR of the grain, and the hardware circuit is used to drive the light-emitting unit and the spectral collection unit. The software couples the RDR with the grain quality detection model to determine the quality content values, which are then displayed on the liquid-crystal display (LCD) with an audible output. The overall structure of the sensor is shown in Figure 2.

FIGURE 2
www.frontiersin.org

Figure 2. The overall design of the NIR PSPMWG. 1. liquid crystal display (LCD) 2. battery 3. voice broadcast module 4. photoelectric detector 5. button 6. NIR LED 7. Fresnel lens 8. beam shaping diffusion film 9. detection window plane 10. sample pool.

Optical System

Overall Design of the Optical System

A stable and reliable optical system is very important for the NIR PSPMWG to obtain the diffuse reflectance spectrum accurately. The light-emitting unit provides a stable and reliable incident spectrum through NIR light sources, and the spectral collection unit collects the diffuse reflectance spectrum of the grain accurately via the photoelectric detector.

Design of the Light-Emitting Unit

To obtain stable reflectance spectrum signals during grain quality detection, the sensor needs to have light sources with large luminous intensity and stability. Common NIR light sources include a halogen lamp and LED. The halogen lamp is bright and has a long service life, yet it is large and has high power consumption and poor stability of luminous intensity. In addition, the halogen lamp has poor timeliness because it has to be preheated for 30 min before use (Liu et al., 2019). The LED has a long service life, low power consumption, compact dimension, and affordability (Bec et al., 2020). In this study, after comparing the advantages and disadvantages of the two types of light sources, the LED was chosen as the light source for the NIR PSPMWG, with a half-value angle of 12°.

The light-emitting unit was designed based on the selected NIR LEDs, the light-emitting path of the light source is shown in Figure 3A. A circular spot was formed on the vertical plane. The farther away from the light-emitting point, the weaker the light intensity of the spot. Therefore, under a given power consumption, the efficiency of the emission spot could be maximized when the light-emitting point of the light source, the light-sensitive surface center point of the photoelectric detector, and the center point of the detection window plane was on the same plane. In this way, the photoelectric detector could accurately detect the diffuse reflectance spectrum. Moreover, to reduce the influence of the specular reflection light on the collection of reflectance spectrum and to ensure that the specular reflection light is not collected by the photoelectric detector, the incident angle of the LED light was 45°. The design of the light-emitting unit is shown in Figure 3B.

FIGURE 3
www.frontiersin.org

Figure 3. (A) Emission light spot of a single LED, (B) Emission light spot of LED in the light-emitting unit.

According to the above design, the incident light spots of the four light sources are formed in different areas of the detection plane, leading to system errors. Thus, a circumferential layout with even distribution of four LEDs was used (Figure 4A). The incident light spots generated by the four light sources on the detection plane are shown in Figure 4B. The incident light spot areas formed by the four LEDs were different, yet there were some overlapping areas. The overlapping areas of the four incident light spots were chosen as the detection window to ensure consistency in the detection area of the four light sources and to reduce system error. The nutritional components of wheat were distributed unevenly, thus there might be random errors in the detection of single-grain wheat. There should be multiple wheat grains in the detection area so that the diffuse reflectance spectrum can effectively lower random errors. The dimensions of the detection window are shown in Figure 4C. When the detection window is a circle with a diameter of 10 mm and there was only one single grain of wheat, there might be a random error. When the detection window was a circle with a diameter of 20 mm and there were 10 grains in the window, the random error seen in single-grain wheat detection was lowered effectively. Therefore, the detection window was set to a circle with a diameter of 20 mm, and the optical path and grain were separated by quartz glass. The specific design parameters of the light-emitting unit are shown in Figure 5.

FIGURE 4
www.frontiersin.org

Figure 4. (A) The circular layout of four LED light sources, (B) Incident light spots and detection window plane, (C) Size of the detection window.

FIGURE 5
www.frontiersin.org

Figure 5. (A) Design parameters of the light-emitting unit, (B) Outer dimension of LEDs.

The light-emitting unit was simulated and analyzed by the TracePro optical simulation software to verify the consistency of the incident light spots by the four light sources. First, four light sources with an incident angle of 45° and a half-value angle of 12° were constructed, and a light beam blocking plate was placed at the appropriate location to substitute the detection plane in the actual design. The simulation results of the light-emitting system are shown in Figure 6A, where the bottom view showed that the elliptical light spots of the four light sources formed a circular light coincidence area on the detection surface (the same sample area detected with the four light sources). This circular area was used as the detection window to ensure the consistency of the incident light spots from the four light sources. The irradiance analysis diagram from the light beam blocking plate (detection plane) is shown in Figure 6B, where the location of the detection window is marked by a red circle in the figure.

FIGURE 6
www.frontiersin.org

Figure 6. (A) TracePro simulation of the light-emitting unit, (B) Irradiance analysis of the detection plane.

Design of the Spectral Collection Unit

A photoelectric detector is an electronic component that converts optical signals to electric signals (Yang et al., 2005), which ensures the accurate collection of the diffuse reflectance spectrum. The selection of a NIR photoelectric detector is mainly determined by three factors: response scope, response speed, and sensitivity. In this study, the spectral response of the silicon photoelectric detector ranged from 320 to 1,100 nm, the response time was 3.6 μs, and the sensitivity for the four wavelengths was above 0.4 A/W. These parameters satisfied the requirement of the NIR PSPMWG. The light emitted from the four LEDs could be converted into current by the photodiode quickly and accurately.

The spectral collection unit was designed based on the selected photoelectric detector. The diffuse reflectance spectrum emitted from the detection window was a circle with a diameter of 20 mm, while the photosensitive area of the selected photoelectric detector was a 3.6 × 3.6 mm2. The collection of diffuse reflectance spectrum by the photoelectric detector is shown in Figure 7. The photoelectric detector only collects the diffuse reflectance spectrum that is received by the photosensitive area; it does not collect the other diffuse reflectance spectrum, leading to low accuracy in the diffuse reflectance spectrum.

FIGURE 7
www.frontiersin.org

Figure 7. Direct spectrum acquisition of diffuse reflection tube.

To improve the collection accuracy in the diffuse reflectance spectrum, all diffuse reflectance spectrum of grain has to be received by the photoelectric detector, that is, the circular diffuse reflectance spectrum with a diameter of 20 mm needs to be reflected on the square photosensitive area. Therefore, it is necessary to add a condenser between the detection window and the photoelectric detector. The Fresnel lens is developed based on the Fresnel theory (Wu et al., 2018), it is small and light and is suitable for the application of the sensor. The diffuse reflectance spectrum is condensed as much as possible without blocking the incident light, and the Fresnel lens has the same dimensions as the detection window, i.e., a circle with a diameter of 20 mm. The schematic diagram of the photosensitive optical path is shown in Figure 8.

FIGURE 8
www.frontiersin.org

Figure 8. Inductive light.

The calculation of the focal length of the lens is as follows:

f d = H D     (3)

where D is the dimension of the reflection spot, d is the dimension of the photosensitive element, and H is the distance from the light spot to the lens.

Based on the dimensions of the spectrum collection unit, the focal length of the Fresnel lens was 15 mm, and the diameter was 20 mm, with a thickness of 2 mm. The above parameters were substituted to the calculation formula (Yao et al., 2020) of Fresnel lens to calculate the intersection angle between the lens sawtooth and the vertical direction, which was 2.67°. The spectral collection unit is shown in Figure 9.

FIGURE 9
www.frontiersin.org

Figure 9. Spectral acquisition unit design.

The spectrum acquisition unit was simulated and analyzed by the TracePro optical simulation software to verify the light-condensing performance of the Fresnel lens used in the system. The Fresnel lens was constructed based on a theoretical design, and a light-blocking plate was placed at an appropriate location to replace the photosensitive plane in the actual design. Then, the light-condensing performance of the lens was assessed by a parallel light beam source. The simulation results of the spectrum acquisition unit are shown in Figure 10A. The parallel light beam was converged by the lens onto the light-blocking plate (photosensitive plane), with most of the light falling within an area of 3.6 × 3.6 mm2. The photodetector placed in this area could accurately collect the convergent diffuse reflection spectrum. The irradiance analysis diagram of the light-blocking plate (photosensitive plane) is shown in Figure 10B, where the position of the photosensitive plane of the photosensitive element is marked by a red box in the figure.

FIGURE 10
www.frontiersin.org

Figure 10. (A) TracePro simulation of the spectrum acquisition unit, (B) Irradiance analysis diagram of the photosensitive plane.

Control System

Overall Design of the Control System

The control system consisted of hardware circuitry and a software system. The hardware circuit is composed of the light source driver circuit, the spectral collection circuit, and the signal conditioning circuit. The hardware circuit is mainly used to ensure stable luminescence of the light source and accurate collection of the diffuse reflectance spectrum of grain. The software system mainly achieves the collection of the diffuse reflectance spectrum of grain, couples that data with the grain quality prediction model, and outputs the grain quality results.

Hardware Circuit Design

The luminous intensity of the light-emitting unit needs to be stable for the PSPMWG to accurately collect the diffuse reflectance spectrum. The luminous intensity of the light-emitting unit is affected by its factors (e.g., light source loss and heat dissipation) and driver factors such as drive current. The light source is driven by the optical power feedback circuit. The light source driver circuit based on optical power feedback mainly consists of four parts: optical power feedback, comparative amplification, constant current drive, and compensation filter. The circuit diagram is shown in Figure 11.

FIGURE 11
www.frontiersin.org

Figure 11. Optical power feedback drive circuit.

When the luminous power of the light source under constant current reduces, the feedback voltage in the optical power feedback circuit decreases, the drive voltage in the comparative amplification part increases, the drive current in the constant current driving part increases, and the luminous power of the driving light source increases, and vice versa. In the compensation filter part, the light source drive signal is stabilized by reducing the ringing and overshoot driven by the modulation signal through the resistive–capacitive compensation filter circuit. The drive current and luminous power of the light source can be balanced through the optical power feedback to achieve stable luminous power of the light source.

The accuracy of the grain diffuse reflectance spectrum obtained by the spectrum collection circuit directly affects the accuracy of grain quality data. In the spectrum collection circuit, the diffuse reflectance spectrum is first converted into light current through the photoelectric detector, which is converted into a voltage signal using the current–voltage conversion circuit, then the noise signal is filtered. Lastly, the voltage signal is amplified to the collection range of the microprocessor for further processing and output.

The spectrum collection circuit mainly consists of three parts: current–voltage conversion, filtering, and amplification. The current–voltage conversion circuit is shown in Figure 12A. The resistance, capacitance, and integrated operational amplifier constitute the photodiode transimpedance amplifier. The resistances RV2 and RV3 and capacitance CV2 constitute the bias voltage with a positive power supply, which is connected to the positive phase input end of the integrated operational amplifier to avoid circuit instability resulting from the saturation of the negative power supply rail when there is no current. The filter circuit is shown in Figure 12B. The active filter circuit online design tool Filter Design Tool of the Texas Instruments Company was used to implement circuit design (Duff and Kalb, 2015).

FIGURE 12
www.frontiersin.org

Figure 12. (A) Current–voltage conversion circuit, (B) MFB-type second-order band-pass filter circuit.

Software System Design

The software system is composed of two modules: initialization and functional control. The initialization module is used for microprocessor initialization, pulse width modulation (PWM) signal initialization, digital-to-analog conversion initialization, keyboard input, and LCD initialization. The functional control module is used for light source time-sharing drive, diffuse reflectance spectrum collection, diffuse reflectance spectrum correction, grain quality detection, keyboard input control, LCD output, and audible output. Light source time-sharing driving means that the digital input/output ports of the microprocessor generate PWM signal and light source control signals, and then the PWM signals make the LEDs generate the modulated light signals. Diffuse reflectance spectrum collection is the collection of modulated light signals through a spectrum collection circuit. Diffuse reflectance spectrum correction is performed by correcting the luminous state of the LEDs in real-time through the correction sample cell (Figure 13). Grain quality detection is the coupling of diffuse reflectance spectrum and grain quality detection model to calculate quality components in real-time. And, the grain quality detection model is converted into the quality detection library file in c format through MATLAB coder, and the quality detection library file is called in the microprocessor program to realize real-time detection.

FIGURE 13
www.frontiersin.org

Figure 13. The physical image of the NIR PSPMWG.

As shown in Figure 13, the NIR PSPMWG has three functions: “correction,” “spectrum” and “quality.” In the “correction” mode, the function of correcting the diffuse reflectance spectrum is realized. In the “spectrum” mode, the light source is first driven by time-sharing, and then the diffuse reflectance spectrum is acquired in real-time through the diffuse reflectance spectrum collection; In the “quality” mode, the grain quality information is generated in real-time through the grain quality detection model, and then displayed through the LCD and output through speech synthesis.

Tests and Results

Tests

Three types of tests were conducted: correction, performance, and calibration. In the correction test, multiple PSPMWGs were used to measure the relationship between the RDR and the standard diffuse reflectance of the diffusion fabric. The purpose is to ensure the universal application of the grain quality detection model in multiple PSPMWGs. Diffusion fabrics with standard diffuse reflectance of 6.5, 25, and 48% were used as the test material in the correction test. The RDR of the diffusion fabrics was measured by the PSPMWG, and the mean value of each diffusion fabric measured five times was taken as its RDR. Then, the linear relationship between the RDR and the standard diffuse reflectance of the diffusion fabric was established.

In the performance test, the RDR of the same grain was measured several times to verify the stability of the NIR PSPMWG. Two wheat grain samples (sample 1: Yangmai 23, sample 2: Ningmai 13) were selected in the performance test. The PSPMWG was used to collect the noise level of the RDR instrument five times, and the repeatability performance of the RDR instrument was accessed under the repeated sample condition.

In the calibration test, a relational model between the RDR and the physicochemical analyses values was built such that the moisture and protein contents could be directly obtained once the RDR was measured by the PSPMWG. Twenty-four types of wheat grain samples (a total of 48 samples, each variety had two grains, and each sample weighed 250 g) were selected in the calibration test. The PSPMWG was used to collect the RDR of wheat grain; the mean value of each sample measured five times was taken as the RDR, and the moisture and protein contents of 48 samples were measured via physicochemical analyses. Then, the relational model between RDR and physicochemical analyses values was created using the chemometrics method, i.e., the wheat grain quality detection model.

Materials

The test equipment includes PSPMWG and diffusion fabrics. A physical image of the NIR PSPMWG is shown in Figure 13. The phenotypic sensor can obtain the RDR of four wavelengths in real-time, i.e., 780, 910, 980, and 1,050 nm. The diffuse reflectance of the three diffusion fabrics was 6.5, 25, and 48%. A physical image is shown in Figure 14.

FIGURE 14
www.frontiersin.org

Figure 14. Three diffusion fabrics.

Determination of Quality Parameters

In the physicochemical analyses of moisture and protein contents of wheat, the conventional ISO method (ISO, 2010) was used to determine the moisture of wheat. Specifically, the sample was weighed on a dried aluminum container with constant weight and dried at (130 ± 3) °C for 90 min. Then, the sample was taken out and cooled to air temperature in the dryer, which was weighed again. The protein content of wheat was determined by the semi-micro Kjeldahl method (ISO International Standard, 2006), and the protein content was calculated by multiplying the nitrogen content by 5.7. The moisture and protein contents of each sample were measured twice, and the mean value was taken as the final data.

Modeling Methods

There was a nonlinear relationship between the RDR of wheat grain and its physicochemical analyses values. Due to the interaction between the moisture of wheat grain and the components such as protein, the noise of the sensor and other factors can also cause nonlinearity, and the ideal model cannot be obtained by the linear correction method. The artificial neural network method has high nonlinear expression ability and is widely used to establish nonlinear NIR analysis models. In the PSPMWG, the Neural Fitting (nftool) app in MATLAB was used to establish the grain quality, detection model. The nftool is a two-layer feed-forward network with sigmoid hidden neurons and linear output neurons, that can fit multi-dimensional mapping problems arbitrarily well, neural network is shown in Figure 15. 48 samples were randomly divided into a Training set (28 samples), Validation set (10 samples), and Test set (10 samples). In the nftool, the Training set is presented to the network during training, and the network is adjusted according to its error; the Validation set is used to measure network generalization, and to halt training when generalization stops improving, and the Test set provides an independent measure of network performance during and after training. The RDR of wheat grain was used as the input, and the moisture and protein content were used as the output. The model was evaluated using the coefficient of determination (R2), RMSE, and MAE.

FIGURE 15
www.frontiersin.org

Figure 15. Neural network diagram.

(1) (R2)

R 2 = 1 i = 1 n ( y i _ t r u e y i _ p r e d i c t ) 2 i = 1 n ( y i _ t r u e y ¯ t r u e ) 2     (4)

where y i _ true is the physicochemical value of sample i, y i _ predict is the predicted value of sample i, y ¯ true is the average physicochemical value of all samples, and n is the number of samples. With the same real value range, the closer R2 is to 1, the better the regression or prediction of the model.

(2) RMSE

RMSE = i = 1 n ( y i _ true y i _ predict ) 2 n     (5)

where y i _ true is the physicochemical value of sample i, y i _ predict is the prediction value of sample i, and n is the number of samples. The smaller RMSE, the better predictability of the model (Hussain et al., 2019).

(3) MAE

MAE = i = 1 n | y i _ true y i _ predict | n     (6)

where y i _ true is the physicochemical value of sample i, y i _ predict is the prediction value of sample i, and n is the number of samples. The smaller MAE, the better predictability of the model. MAE can reflect the actual situation of the predicted value error. The smaller MAE, the smaller the prediction error.

Results and Discussion

Correction Test

The diffuse reflectance correction of the NIR PSPMWG is shown in Figure 16. Here, 780, 910, 980, and 1,050 refer to the diffuse reflectance corresponding to the wavelengths of 780, 910, 980, and 1,050 nm, respectively. The RDR of the diffuse fabrics collected by the phenotypic sensor was used as the independent variable and the standard reflectance of the diffuse fabrics was used as the dependent variable; then, the diffuse reflectance correction equation was established. The values of R2 were all above 0.99. The diffuse reflectance correction equations of 780, 910, 980, and 1,050 nm were y = 0.2560 × −0.1227, y = 0.1515 × −0.0541, y = 0.1911 × −0.0845, and y = 0.196 × −0.1042.

FIGURE 16
www.frontiersin.org

Figure 16. Diffuse reflectance correction of the PSPMWG.

Performance Test

The noise level and repeatability of the NIR PSPMWG are shown in Figure 17. Here, 780–1, 910–1, 980–1, and 1,050–1 refer to the RDR of sample #1 at the wavelengths of 780, 910, 980, and 1,050 nm, respectively. 780–2, 910–2, 980–2, and 1,050–2 are the RDR of sample #2 for the corresponding series of wavelengths. In the noise level test, the standard deviations of RDR of sample #1 were 0.11, 0.08, 0.09, and 0.11%. The standard deviations of RDR of sample #2 were 0.11, 0.17, 0.16, and 0.11%. In the repeatability test, the standard deviations of RDR of sample #1 were 0.33, 0.51, 0.16, and 0.38%. The standard deviations of RDR of sample #2 were 0.29, 0.33, 0.23, and 0.11%. In summary, the NIR PSPMWG can accurately collect the RDR of wheat grains.

FIGURE 17
www.frontiersin.org

Figure 17. Performance test of the PSPMWG. (A) Noise level, (B) Repeatability.

Calibration Test

The relationship between the detection values obtained by the NIR PSPMWG through the quality detection model and the physicochemical values is shown in Figure 18. In the figure, Target represents the physicochemical values of protein and moisture, Output represents the detection values. In the prediction of protein, the RMSE of the Training set was 0.7981% and MAE was 0.6060%; the RMSE of Validation set was 0.4218% and MAE% was 0.6229; the RMSE of the Test set was 0.4866% and MAE was 0.6515%. In the prediction of moisture, the RMSE of the Training set was 0.4598% and MAE was 0.3634%; the RMSE of Validation set was 0.4295% and MAE was 0.6468%; the RMSE of the Test set was 0.2161% and MAE was 0.3078%. Thus, the established quality detection model can effectively detect the moisture and protein content of wheat grains. The NIR PSPMWG can obtain the moisture and protein content of wheat grains in real-time.

FIGURE 18
www.frontiersin.org

Figure 18. Scatter plot of the detection values and the physicochemical values. (A) Training set, (B) Validation set, (C) Test set, (D) All values.

Discussion

The NIR PSPMWG based on NIR spectroscopy can quickly, efficiently, and nondestructively obtain grain quality information. Currently, full-band NIR commercial instruments such as NIR Systems 5,000 spectrometer and FOSS Infratec 1,241 spectrometer have achieved good results in the application of grain quality detection (Bao et al., 2010; Hexiao et al., 2011; Lin et al., 2014; Chen et al., 2019). Liu et al. (Hexiao et al., 2011) established a neural network model for wheat protein detection. The MSE of the calculated values and actual values of wheat protein content ranged from 0.799 to 0.09, and the average MSE of 0.178 transformed into RMSE of 0.4219%. This result is similar to the detection effect of our phenotypic sensors. However, these instruments are complex, bulky, non-portable, and expensive. Moreover, since only spectrum information was collected, and there was no quality detection model, these devices cannot be used for real-time on-site detection of grain quality. Given the above problems, in this study, we developed a NIR PSPMWG. Compared with existing full-band commercial instruments, the phenotypic sensor uses four wavelengths that are sensitive to grain quality and an optical system with a multi-source circular structure. The dimensions of the optical system were greatly reduced while ensuring that the diffuse reflectance spectrum of multi-grain wheat was collected. In existing commercial spectrometers, one needs to customize the function or manually calculate the quality information through the collected spectral information to realize grain quality detection the customization is costly and the manual calculation leads to poor real-time performance; thus, it is difficult to implement these instruments in actual applications. However, by collecting the RDR of wheat grain using the designed sensor, and coupling it with the quality detection model, the grain quality information was obtained in real-time.

Due to the different sensitive wavelengths of different grain quality components, the PSPMWG needs to change the wavelength of its light source for specific detection objects. In addition, the shape, size, and size distribution of different varieties of wheat grains affect the scattering coefficient, which can lead to measurement error in the RDR. Further studies are needed to explore the methods that can reduce the difference of scattering coefficient and improve the accuracy of RDR and ultimately the detection accuracy of the PSPMWG.

Conclusion

(1) A NIR PSPMWG was developed. An optical system with a multi-source circular structure was used to avoid the difference of incident light spots of multiple light sources. The light source drive circuit based on optical power feedback and the weak optical signal conditioning spectral acquisition circuit was designed to improve the luminous stability and signal-to-noise ratio of the sensor. The standard deviation of RDR at four wavelengths was less than 0.17 and 0.51% in noise level and repeatability test, indicating that the sensor developed in this study can accurately collect RDR of wheat grain.

(2) The quality detection model of wheat grains was established. The RDR of wheat grains was collected by the phenotypic sensor, and the physicochemical values of moisture and protein were obtained by physicochemical analyses. In the Test set, the RMSEs of protein and moisture content of wheat were 0.4866 and 0.2161%, the MAEs were 0.6515 and 0.3078%, indicating that the phenotypic sensor can achieve real-time, on-site acquisition of RDR and quality information of wheat grains.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author Contributions

YL: data curation, visualization, writing—original draft. YL and DL: formal analysis. JN: funding acquisition and project administration. YL, DL, and HL: investigation. JN and YL: methodology and writing—review and editing. WC and YZ: resources. YL and XJ: software and supervision. XJ, YL, and HL: validation. All authors have read and agreed to the published version of the manuscript. All authors contributed to the article and approved the submitted version.

Funding

This work was supported by the National Natural Science Foundation of China [grant number 31871524]; the Primary Research & Development Plan of Jiangsu Province of China [grant numbers BE2021308, BE2021304]; Six Talent Peaks Project in Jiangsu Province [grant number XYDXX-049]; and the 111 Project [grant number B16026].

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Acknowledgments

We would like to thank all the researchers in the Intelligent Equipment Research Group of the National Engineering and Technology Center for Information Agriculture and all the foundations for this research.

Abbreviations

PSPMWG, phenotypic sensor about protein and moisture in wheat grain; RDR, relative diffuse reflectance.

References

Arazuri, S., Ignacio Arana, J., Arias, N., Arregui, L. M., Gonzalez-Torralba, J., and Jaren, C. (2012). Rheological parameters determination using near infrared technology in whole wheat grain. J. Food Eng. 111, 115–121. doi: 10.1016/j.jfoodeng.2012.01.017

CrossRef Full Text | Google Scholar

Bao, J., Cai, Y., and Corke, H. (2010). Prediction of rice starch quality parameters by near-infrared reflectance spectroscopy. J. Food Sci. 66, 936–939. doi: 10.1111/j.1365-2621.2001.tb08215.x

CrossRef Full Text | Google Scholar

Bec, K., Grabska, J., and Huck, C. W. (2020). Principles and applications of miniaturized near-infrared (NIR) spectrometers. Chem Eur J. 27, 1514–1532. doi: 10.1002/chem.202002838

PubMed Abstract | CrossRef Full Text | Google Scholar

Caporaso, N., Whitworth, M., and Fisk, I. D. (2018). Near-infrared spectroscopy and hyperspectral imaging for non-destructive quality assessment of cereal grains. Appl. Spectrosc. Rev. 53, 667–687. doi: 10.1080/05704928.2018.1425214

CrossRef Full Text | Google Scholar

Chen, J., Li, M., Pan, T., Pang, L., Yao, L., and Zhang, J. (2019). Rapid and non-destructive analysis for the identification of multi-grain rice seeds with near-infrared spectroscopy. Spectrochim. Acta A Mol. Biomol. Spectrosc. 219, 179–185. doi: 10.1016/j.saa.2019.03.105

PubMed Abstract | CrossRef Full Text | Google Scholar

Delwiche, S. R. (1995). Single wheat kernel analysis by near-infrared transmittance: protein content. Cereal Chem. 72, 112–114. doi: 10.1021/bp00031a017

CrossRef Full Text | Google Scholar

Delwiche, S. R., McKenzie, K. S., and Webb, B. D. (1996). Quality characteristics in rice by near-infrared reflectance analysis of whole-grain milled samples. Cereal Chem. 12, 286–288. doi: 10.1021/bp960006l

CrossRef Full Text | Google Scholar

Duff, M. N., and Kalb, A. J. (2015). US, assignee. Filter design tool. the United States patent US 8,930,874 B2.

Google Scholar

El-Mesery, H. S., Mao, H., and Abomohra, A. E.-F. (2019). Applications of non-destructive technologies for agricultural and food products quality inspection. Sensors 19:846. doi: 10.3390/s19040846

CrossRef Full Text | Google Scholar

Hexiao, L., Mingliang, L., and Laijun, S. (2011). Quality analysis of wheat based on BP neural network and Near Infrared Reflectance Spectroscopy. presented at: 2011 International Conference on New Technology of Agricultural Engineering [v1]; Zibo, China. Available at: https://ieeexplore.ieee.org/document/5943907

Google Scholar

Hidaka, Y., Kurihara, E., Hayashi, K., Noda, T., and Sashida, K. (2011). Near-infrared spectrometer for a head-feeding combine for measuring rice protein content. Jpn. Agric. Res. Q. 45, 63–68. doi: 10.6090/jarq.45.63

CrossRef Full Text | Google Scholar

Hussain, N., Sun, D.-W., and Pu, H. (2019). Classical and emerging non-destructive technologies for safety and quality evaluation of cereals: a review of recent applications. Trends Food Sci. Technol. 91, 598–608. doi: 10.1016/j.tifs.2019.07.018

CrossRef Full Text | Google Scholar

ISO International Standard (2006) Cereals and pulses. Determination of the nitrogen content and calculation of the crude protein content. Kjeldahl method.

Google Scholar

ISO (2010). Cereals and cereal products – determination of moisture content – reference method (ISO 712-2009).

Google Scholar

Li, R., Kawamura, S., Fujita, H., and Fujikawa, S. (2013). Near-infrared spectroscopy for determining grain constituent contents at grain elevators. Eng. Agric. Environ. Food 6, 20–26. doi: 10.1016/S1881-8366(13)80013-4

CrossRef Full Text | Google Scholar

Lin, C., Chen, X., Jian, L., Shi, C., Jin, X., and Zhang, G. (2014). Determination of grain protein content by near-infrared spectrometry and multivariate calibration in barley. Food Chem. 162, 10–15. doi: 10.1016/j.foodchem.2014.04.056

PubMed Abstract | CrossRef Full Text | Google Scholar

Liu, Y., Li, Y., Peng, Y., Han, D., Ding, J., and Wang, Q. (2019). Portable rapid nondestructive detecting instrument for multi-quality parameters of Rice. Trans. Chin. Soc. Agric. Mach. 50, 358–364. doi: 10.6041/j.issn.1000-1298.2019.08.038

CrossRef Full Text | Google Scholar

Priya, B. S., Kumaravelu, C., Gopal, A., and Stanley, P. (2015). Classification of rice varieties using near-infra red spectroscopy. presented at: 2015 IEEE Technological Innovation in ICT for Agriculture and Rural Development (TIAR); 10–12 July 2015. Available at: https://ieeexplore.ieee.org/document/7358524

Google Scholar

Risius, H., Hahn, J., Huth, M., Tölle, R., and Korte, H. (2014). In-line estimation of falling number using near-infrared diffuse reflectance spectroscopy on a combine harvester. Precis. Agric. 16, 261–274. doi: 10.1007/s11119-014-9374-5

CrossRef Full Text | Google Scholar

Santos, C. D., Lopo, M., Páscoa, R., and Lopes, J. A. (2013). A review on the applications of portable near-infrared spectrometers in the agro-food industry. Appl. Spectrosc. 67, 1215–1233. doi: 10.1366/13-07228

PubMed Abstract | CrossRef Full Text | Google Scholar

The National Health and Family Planning Commission of the People’s Republic of China (2016). National Food Safety Standard Determination of Moisture in Foods. China: The National Health and Family Planning Commission of the People’s Republic of China.

Google Scholar

The National Health and Family Planning Commission of the People’s Republic of China & State Food and Drug Administration (2010). National food safety standard determination of protein in foods. China: The National Health and family planning Commission of the People’s republic of China & State Food and Drug Administration.

Google Scholar

Wang, S. (2010). Infrared spectroscopy for food quality analysis and control. Trends Food Sci. Technol. 21:52. doi: 10.1016/j.tifs.2009.08.004

CrossRef Full Text | Google Scholar

Wen, M., and Ji, H. (2004). Development of portable LED-based NIR integrity wheat component measuring apparatus. Spectrosc. Spectr. Anal. 24, 1276–1279. doi: 10.3321/j.issn:1000-0593.2004.10.035

PubMed Abstract | CrossRef Full Text | Google Scholar

Wu, T., Armstrong, P. R., Zhang, H., Yang, L., and Gao, W. (2018). Investigation on individual wheat kernel quality prediction device with stereoscopic light source. Trans. Chin. Soc. Agric. Mach. 49, 363–369. doi: 10.6041/j.issn.1000-1298.2018.10.041

CrossRef Full Text | Google Scholar

Wu, H., and Yang, F.., Zhou, L. (2018). The design and analysis based on the Fresnel condenser lens. presented at: 2nd International Forum on Management, Education and Information Technology Application (IFMEITA 2017).

Google Scholar

Yang, H., Xu, L., Chen, K., He, Q. S., He, S. R., Tan, Q. F., et al. (2005). The effect of the photoelectric detector on the accuracy of the spectrometer. Spectrosc. Spectr. Anal. 25, 1520–1523. doi: 10.3321/j.issn:1000-0593.2005.09.039

PubMed Abstract | CrossRef Full Text | Google Scholar

Yao, L., Wu, R., Wu, S., Jiang, X., Zhu, Y., Cao, W., et al. (2020). Design and testing of an active light source apparatus for crop growth monitoring and diagnosis. IEEE Access. 8, 206474–206490. doi: 10.1109/access.2020.3037966

CrossRef Full Text | Google Scholar

Zhang, Y., Zhao, B., Wang, H., Mao, W., and Zhang, X. (2009). Technology of near infrared spectroscopy analysis system design based on fixed grating and charge-coupled device. Trans. Chin. Soc. Agric. Eng. 25, 176–181. doi: 10.3969/j.issn.1002-6819.2009.09.031

CrossRef Full Text | Google Scholar

Zhu, L., Ma, W., Hu, J., Zheng, Y. Y., Tian, Y. X., Guan, Y. J., et al. (2015). Advances of NIR spectroscopy technology applied in seed quality detection. Spectrosc. Spectr. Anal. 35, 346–349. doi: 10.3964/j.issn.1000-0593(2015)02-0346-04

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: sensor, quality phenotype, near-infrared, multi-source circular structure, Fresnel reflectance concentrator, optical simulation, feedback driver, neural network modeling

Citation: Liu Y, Li D, Li H, Jiang X, Zhu Y, Cao W and Ni J (2022) Design of a Phenotypic Sensor About Protein and Moisture in Wheat Grain. Front. Plant Sci. 13:881560. doi: 10.3389/fpls.2022.881560

Received: 22 February 2022; Accepted: 01 April 2022;
Published: 06 May 2022.

Edited by:

Daobilige Su, China Agricultural University, China

Reviewed by:

Aichen Wang, Jiangsu University, China
Abbas Atefi, California Polytechnic State University, United States

Copyright © 2022 Liu, Li, Li, Jiang, Zhu, Cao and Ni. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Jun Ni, bmlqdW5AbmphdS5lZHUuY24=

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.