Next Article in Journal
A Low-Cost Sensor Network for Real-Time Thermal Stress Monitoring and Communication in Occupational Contexts
Next Article in Special Issue
Design of a Gough–Stewart Platform Based on Visual Servoing Controller
Previous Article in Journal
Hand Pronation–Supination Movement as a Proxy for Remotely Monitoring Gait and Posture Stability in Parkinson’s Disease
Previous Article in Special Issue
Soft Array Surface-Changing Compound Eye
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Spectral Diagnostic Model for Agricultural Robot System Based on Binary Wavelet Algorithm

1
Guangdong Laboratory for Lingnan Modern Agriculture, Guangzhou 510642, China
2
College of Engineering, South China Agricultural University, Guangzhou 510642, China
3
College of Natural Resources and Environment, South China Agricultural University, Guangzhou 510642, China
4
Key Laboratory of Agro-Environment in the Tropics, Ministry of Agriculture, South China Agricultural University, Guangzhou 510642, China
5
Guangdong Engineering Research Center for Modern Eco-Agriculture and Circular Agriculture, Guangzhou 510642, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(5), 1822; https://doi.org/10.3390/s22051822
Submission received: 20 January 2022 / Revised: 17 February 2022 / Accepted: 22 February 2022 / Published: 25 February 2022

Abstract

:
The application of agricultural robots can liberate labor. The improvement of robot sensing systems is the premise of making it work. At present, more research is being conducted on weeding and harvesting systems of field robot, but less research is being conducted on crop disease and insect pest perception, nutritional element diagnosis and precision fertilizer spraying systems. In this study, the effects of the nitrogen application rate on the absorption and accumulation of nitrogen, phosphorus and potassium in sweet maize were determined. Firstly, linear, parabolic, exponential and logarithmic diagnostic models of nitrogen, phosphorus and potassium contents were constructed by spectral characteristic variables. Secondly, the partial least squares regression and neural network nonlinear diagnosis model of nitrogen, phosphorus and potassium contents were constructed by the high-frequency wavelet sensitivity coefficient of binary wavelet decomposition. The results show that the neural network nonlinear diagnosis model of nitrogen, phosphorus and potassium content based on the high-frequency wavelet sensitivity coefficient of binary wavelet decomposition is better. The R2, MRE and NRMSE of nn of nitrogen, phosphorus and potassium were 0.974, 1.65% and 0.0198; 0.969, 9.02% and 0.1041; and 0.821, 2.16% and 0.0301, respectively. The model can provide growth monitoring for sweet corn and a perception model for the nutrient element perception system of an agricultural robot, while making preliminary preparations for the realization of intelligent and accurate field fertilization.

1. Introduction

With the rapid development of robot technology, it has been increasingly applied in the agricultural field [1]. Due to the high intensity of field operations and complex road conditions, research on robot path planning, road recognition and perception, automatic and optimized navigation and robot arm control are all prerequisites for realizing robot field work [2,3,4,5,6,7,8,9,10]. The weeding and harvesting function systems of field robots have been the most studied, while there is little research on crop disease and insect pest perception, nutrient element content diagnosis and precision fertilizer spraying function systems [10,11,12]. The diagnosis of the nutrient elements content can provide a basis for field robots to perceive the crop growth status. Sweet corn is a widely cultivated food crop because it is rich in vitamins, amino acids and so on, making it more and more popular [13,14]. Nitrogen, phosphorus and potassium in sweet corn are important nutrients for its growth, which have great influence on its growth, yield and quality [15,16,17]. Because the traditional diagnosis of maize nutrient elements adopts chemical methods, a large number of corn samples need to be picked, and complicated chemical testing is required, which takes a long time and will cause damage to the plant [18]. Hyperspectral imaging technology is a simple, rapid and non-destructive method for the detection of crop nutrient elements. This method has become an important means to obtain field information in the field of digital agriculture and has been widely used in the detection of nutrient information of crops such as corn, wheat, tea and so on [19,20,21,22,23]. In recent years, through spectral technology, researchers have used stepwise regression, principal component analysis, support vector basis, random forest algorithm, continuous wavelet transform and other methods to estimate the crop chlorophyll content, nutrient element content, water content and other indicators quickly and in a nondestructive manner [24,25,26,27,28,29,30,31].
Wei et al. conducted inverse analysis on the soil organic matter content and improved its diagnostic efficiency by using hyperspectral indicators [32]. Wang et al. conducted quantitative inversion of salt ion content by using the spectral characteristics of salt ions, which were extracted from reciprocal logarithm of reflectance (Log(1/R)), providing an effective tool for the diagnosis of soil salinity [33]. Based on hyperspectral imaging technology, Wu et al. established a multiple linear regression inversion model of soil moisture content (SMC), which can quickly and efficiently predict soil moisture content [34]. Han et al. constructed a prediction model of soil AS content by extracting the spectral second-derivative characteristic variables, providing scientific basis and technical reference for soil pollution monitoring [35]. Yu et al. processed hyperspectral rice data by discrete wavelet decomposition, successive projection and principal component analysis. On this basis, the characteristic variables of the nitrogen content were extracted, and an inversion model of the nitrogen content in japonica rice was established. Among the results, the inversion model based on discrete wavelet decomposition is the best [36]. Fan et al. comprehensively compared and analyzed the performance of different types of spectral variables in estimating maize leaf nitrogen content (LNC) through partial least squares regression and a random forest algorithm. The results show that the PLS model with optimal multispectral variables has a better fitting effect and is a more effective model to evaluate maize LNC [37]. The first and second derivative processing of spectral reflectance and the construction of normalized spectral vegetation index can improve the correlation between characteristic variables and detection target content. However, due to different absorption or reflection conditions of different detection targets and the large variation in feature bands, most of the spectral information cannot be characterized. Therefore, more different feature extraction methods need to be introduced to improve the signal-to-noise ratio of spectral data and increase the stability and accuracy of the model.
Wavelet analysis is a new signal processing tool, which can reduce the dimension of spectral data, separate the high and low frequency information and facilitate the detection of singular points. Chen et al. processed hyperspectral reflectance data of soil samples by combining continuous media removal and wavelet packet decomposition, which improved the correlation between spectral reflectance and petroleum hydrocarbons in soil [38]. Gu decomposed hyperspectral datauses by wavelet transform algorithm. Then, the high-frequency information decomposed by wavelet technology is coupled with a random forest algorithm, which can effectively improve the prediction accuracy of soil organic matter content [39]. Li et al. preprocessed spectral data by mathematical transformation, a continuous wavelet transform algorithm and a correlation analysis algorithm. After the characteristic bands were extracted and selected, the estimation model of chlorophyll content in the stems and branches of Pitaya fruit was established. The R2 value based on continuous wavelet transform is 0.678 and the root mean square error RMSE = 0.037 [40]. Zhang et al. reduced the hyperspectral noise and improved the performance of the hyperspectral estimation model of soil organic matter content by using the wavelet energy characteristic method. The wavelet energy feature method could not only improve the estimation accuracy of the SNR (Signal–Noise Ratio) and soil organic matter content but could also realize the reduction in the dimensions of hyperspectral soil data and reduce the model’s complexity [41]. Wang et al. separated soil spectral data into five scales of high-frequency and low-frequency data by binary wavelet technology, then extracted the best band combination to build a diagnostic model of organic matter content, which has good stability [42]. Huang et al. decomposed canopy reflectance and its first derivative into wavelet coefficients by using the continuous wavelet transform method. The corresponding wavelet sensitivity coefficients were extracted, and the canopy LAI estimation model of late ripening wheat was established. Compared with models based on different types of hyperspectral vegetation indices, the accuracy of the late ripening wheat canopy LAI estimation model based on continuous wavelet coefficient was significantly improved [43]. Yang et al. decomposed spectral data by multi-scale wavelet. After extracting wavelet coefficients, partial least squares regression and support vector regression were used to construct the estimation model of tea polyphenol content. Compared with the model built by single feature variable, the multi-feature fusion method can improve the accuracy of estimating tea polyphenol content [44]. In conclusion, the pretreatment of hyperspectral reflectance data by wavelet analysis method can improve the correlation between feature bands and detection targets and improve the stability and accuracy of the model. However, the wavelet analysis method is rarely applied in the field of plant nutrient elements detection, and the research on sweet corn mostly focuses on nitrogen content, without comprehensive analysis of the main nutrient elements of corn nitrogen, phosphorus and potassium content.
In this paper, the comprehensive effects of different nitrogen application levels on the accumulation and absorption of nitrogen, phosphorus and potassium contents in maize were studied. The correlation between spectral characteristic variables and nitrogen, phosphorus and potassium contents of sweet corn was analyzed; then, the estimation model of nutrient elements was established by linear, parabolic, logarithmic and exponential functions. Then, the hyperspectral data of sweet corn are decomposed by binary wavelet. After analyzing the correlation between nitrogen, phosphorus and potassium contents and the frequency wavelet coefficients, the partial least squares regression and neural network nonlinear diagnosis model of nitrogen, phosphorus and potassium contents were established by extracting the wavelet sensitivity coefficients. Meanwhile, the stability, accuracy and precision of the model were evaluated by R2, MRE and NRMSE. AHP (Analytic Hierarchy Process) is used to assign the weight of the three evaluation factors, which is convenient to calculate the score of each model and compare the comprehensive performance of each model. The neural network model based on the binary wavelet high-frequency sensitivity coefficient has better comprehensive performance. It is of great significance to establish a diagnostic model for the rapid, accurate and nondestructive detection of nitrogen, phosphorus and potassium contents in maize leaves, which can not only make preliminary preparations for field operation robots to perceive the growth status of maize but can also provide a basis for the dynamic management of precise fertilization and topdressing.

2. Materials and Methods

2.1. Method of Obtaining Sweet Corn Samples

In the farm maize mono-cropping plot without fertilization, the soil in the tillage layer was dried and mixed with 2 cm sieve as the standby test soil. After mixing, the basic physical and chemical properties of the test soil were determined as urea during the test period, and nitrogen content was 46%. Nitrogen treatment during the whole growth period was as follows: no nitrogen application: 0 kg N·hm−2 (N0); Low-nitrogen: 100 kg N·hm−2 (N1); High-nitrogen: 300 kg N·hm−2 (N2). When maize grew to coniferous stage, nitrogen fertilizer treatment was 30% of the whole growth period, that is: no nitrogen: 0 kg N·hm−2 (N0); Low-nitrogen: 30 kg N·hm−2 (N1); High-nitrogen: 90 kg N·hm−2 (N2). After maize was grown for a week, two or three leaves were taken as samples to measure the following indices: nitrogen, phosphorus and potassium contents and corresponding hyperspectral data.

2.2. Determination of Nutrient Elements and Acquisition of Hyperspectral Data

In this experiment, the contents of total nitrogen, total phosphorus and total potassium in corn leaves were determined by distillation, vanadium molybdenum yellow colorimetric method and flame photometric method after H2SO4-H2O2 discooking [45]. Figure 1 shows the nutritional element diagnostic test system of an agricultural robot. The hardware includes a hyperspectral camera, a mobile platform, a supplementary light and a camera obscura. The software platform includes SpecView collection software and ENVI (Environment for Visualizing Imagesdata processing software. The spectral data curve of corn leaves determined by this system is shown in Figure 2. Four points at the same position of each leaf were selected to collect data, and their average value was used as the spectral reflectance of the sample. The hyperspectral data were corrected by Formula (1):
I 0 = lg   [ ( I I D ) ( I W I D ) ]
where I0 is the corrected hyperspectral data, I is the original hyperspectral data, IW is the white board average hyperspectral data and ID is the blackboard average hyperspectral data.

2.3. Extraction of Hyperspectral Characteristic Variables

The original hyperspectral data have a low SNR, and the band information is redundant. At the same time, there is a certain correlation between the reflectance data of various bands. The accuracy of diagnostic models based on raw data is low [46,47]. Extracting spectral characteristic variables to establish a diagnostic model of nutrient element content can reduce the computational cost. In this paper, hyperspectral location variables, hyperspectral area variables and vegetation index variables were adopted to analyze the correlation between nitrogen, phosphorus and potassium contents. The meanings and calculation methods of each hyperspectral characteristic variable are shown in Table 1 [48,49,50,51].

2.4. Binary Wavelet Analysis

As a signal processing tool emerging in recent years, wavelet analysis has the characteristic of being multi-scale, which can gradually observe the signal from coarse to fine, and has the function of describing the local features of the signal, which is beneficial to the detection of singular points. The binary wavelet is the semi-discretization result of continuous wavelet transform [52]. Let the scale parameter a = 2j, jz, and the translation parameter b still take the continuous value, as shown in Formula (2). In this case, the binary wavelet transform definition of f(t) is shown in Formula (3):
ψ 2 j , b ( t ) = 2 j / 2 × ψ [ 2 j ( t b ) ]
W T f ( 2 j , b ) = 2 j / 2 + f ( t ) × ψ [ 2 j ( t b ) ] d t
Binary wavelet can effectively separate low-frequency information from high-frequency information and retain all information of the original signal f(t). The high-frequency signal is the detail information in the original information and the low-frequency signal is the macro information in the original information, which provides a new idea for spectral signal processing and analysis [53]. Since the changes in nutrient element contents in sweet corn in hyperspectral reflectance were relatively weak, binary wavelet based on db2, db3, db4 and db5 wavelet bases was adopted to analyze the spectral data. Five decomposition layers were used to process and analyze spectral data and extract characteristic information in the spectrum.

2.5. Modeling Method and Accuracy Verification

The correlation between spectral characteristic variables and nitrogen, phosphorus and potassium contents was analyzed and calculated by using Excel, SPSS, Origin and Matlab software; then, the correlation coefficient was adopted for evaluation. The spectral characteristic variables with high correlation coefficients were selected as independent variables to construct four diagnostic models of high nitrogen, phosphorus and potassium contents, which were linear, parabolic, exponential and logarithmic. After binary wavelet decomposition, correlation analysis was conducted between high- and low-frequency wavelet coefficients and nitrogen, phosphorus and potassium contents of sweet corn, and corresponding wavelet sensitivity coefficients were extracted. Then, partial least squares regression (PLS) and an artificial neural network were used to construct the diagnostic models of nitrogen, phosphorus and potassium contents in sweet corn.
In order to objectively reflect the modeling accuracy, two—thirds of the samples were selected for modeling and one-third for verification. Moreover, the modeling determination coefficient R2, Mean Relative Error (MRE) and Normalized Root Mean Square Error (NRMSE) were used to comprehensively analyze the stability, accuracy and accuracy of the model. The formulae are as follows:
M R E = 100 % i = 1 n | y i y i | / y i n
R M S E = i = 1 n ( y i y i ) 2 / n
N R M S E = R M S E i = 1 n y i / n
where yi denotes the measured value of nutrient element content; yi′ represents the predicted value calculated by the inversion model; I is the number of sweet corn sample; and n is the number of verified sample 24.
The larger the determination coefficient R2 is, the better the fitting degree of the model is, while the smaller the MRE and NRMSE values are, the higher the inversion model accuracy is. In order to better reflect the synthesis of various models, AHP was adopted in this study, and the opinions of 7 experts in the field of nondestructive crop testing were consulted. The weight of evaluation factors R2, MRE and NRMSE were 46.48%, 29.58% and 23.94%, respectively. As R2 is larger and closer to 1, the stability is better. Finally, the reciprocal of R2, MRE and NRMSE multiplied by the corresponding weights were taken as the final score. The lower the score, the better the model performance. The comprehensive score is called T, as shown in Formula (7):
T = 1 R 2 × 46.48 % + M R E × 29.58 % + N R M S E × 23.94 %

3. Results and Discussion

3.1. Changes of Nitrogen, Phosphorus and Potassium Contents under Different Nitrogen Application Treatments

As shown in Figure 3a, with the increase in the nitrogen application rate, the nitrogen content in maize leaves increased first and then decreased, and there were significant differences in the nitrogen content between the nitrogen application levels of N0, N1 and N2 (p < 0.05). Compared with the N1 and N2 treatments, the nitrogen content of leaves under the N1 and N2 treatments increased, and the nitrogen content under the N1 and N2 treatments was 1.28 times and 1.13 times higher than that under N0, respectively. The nitrogen content of leaves at the N1 level was reduced compared with that at the N2 level, and the nitrogen content at the N1 level was 1.12 times that at N2 level. The results showed that an appropriate increase in the nitrogen application rate could promote the absorption and accumulation of nitrogen in maize leaves, while a high nitrogen application rate inhibited the accumulation of nitrogen in maize leaves, which significantly decreased the nitrogen accumulation rate and reduced the utilization rate of nitrogen fertilizer. As shown in Figure 3b, with the increase in the nitrogen application rate, the phosphorus content of maize decreased, and there were significant differences in phosphorus content between the N0 and the N1 and N2 levels (p < 0.05). Compared with N1 and N2, the phosphorus content of maize under the N0 treatment decreased, and the phosphorus content under the N0 treatment was 1.47 times of that under N1 and 1.93 times of that under N2. The phosphorus content at the N1 level was 1.31 times higher than that at the N2 level, and the phosphorus content at the N1 level was lower than that at the N2 level. The results showed that with the increase in the nitrogen application rate, the accumulation of phosphorus in maize decreased rapidly at first and then at a decreasing rate. As shown in Figure 3c, with the increase in the nitrogen application rate, the potassium content of maize decreased, and there were significant differences in potassium content between nitrogen application levels N0 and N1 and N2, respectively (p < 0.05); the potassium content under nitrogen application treatments N0 and N1 were 1.40 times of that under N2 and 1.37 times of that under N1. The results showed that applying a small amount of nitrogen fertilizer had little effect on the uptake and accumulation of potassium in maize, but the application of high amounts of nitrogen inhibited the uptake of potassium and made the accumulation decrease rapidly.

3.2. Correlation Analysis and Diagnostic Model of Nitrogen, Phosphorus and Potassium Contents and Spectral Characteristic Variables in Sweet Maize

The calculated correlation coefficient values and significance test results of each spectral characteristic variable and nutrient element content are shown in Table 2.
According to the correlation coefficient calculation results in Table 2, nitrogen content was significantly correlated with Db, λb, Dy, λy, Dr, λr, Rg, λg, Rr, λr, SDb, SDy, SDr, SDg, VI1, VI2, VI4, VI5 and VI6, among which the correlation coefficient with Rr, λr and VI2 was higher. The absolute values were all above 0.74. P content was significantly correlated with characteristic variables except for VI3 and VI7, and the correlation coefficients with Dr, Rg and SDb were higher than 0.9. Potassium content was significantly correlated with other characteristic variables except for VI1, VI3, VI4 and VI7, and the correlation coefficient with SDb, SDy and VI6 was higher than 0.56.
The 72-sample data after removing abnormal data were randomly divided into 2 groups, among which 48 samples were used for modeling and 24 samples were used for verifying the model accuracy. According to the correlation coefficient between the spectral index and nutrient element content, Rr, λr and VI2 were selected as independent variables of the diagnostic model to construct the diagnostic model of nitrogen content. Dr, Rg and SDb were selected as independent variables to construct a diagnostic model of phosphorus content. SDb, SDy and VI6 were selected as independent variables to construct a diagnostic model of potassium content. Four common regression models, a linear model, a parabola model, an exponential model and a logarithmic model, were used to construct the diagnostic model. The MRE, R2 and NRMSE were used to evaluate the comprehensive stability, accuracy and accuracy of the diagnostic models, respectively, and the T value was used to compare the comprehensive performance of each model.
Table 3 shows the accuracy and verification results of the model. The following can be seen: (1) Among the diagnostic models constructed by nitrogen content and hyperspectral characteristic variables, the parabolic model with Rr as the independent variable had the lowest T value, with its modeling R2 of 0.672, MSE of 5.39% and NRMSE of 0.093. It can estimate nitrogen content effectively. (2) Among the diagnostic models constructed by phosphorus content and hyperspectral characteristic variables, the linear model fitted with SDb as the independent variable had the lowest T value, with its modeling R2 of 0.835, MSE of 11.97% and NRMSE of 0.120. It can estimate phosphorus content stably and accurately. (3) Among the diagnostic models constructed by potassium content and hyperspectral characteristic variables, the parabolic model fitted with SDb as the independent variable had the lowest T value, with its modeling R2 of 0.432, MSE of 10.22% and NRMSE of 0.112. As the modeling R2 was less than 0.5, potassium content could not be estimated stably.

3.3. Binary Wavelet Modeling

Spectral curves were reconstructed based on the low-frequency (high-frequency) data of different scales. The decomposition results of db5 were shown in Figure 4, where Figure 4a was the low-frequency wavelet coefficient curve and Figure 4b was the high-frequency wavelet coefficient curve. It can be seen from Figure 4a that the low-frequency wavelet coefficient curve preserves the morphological characteristics of the original spectrum. However, with the increase in the scale, the absorption characteristics of the spectral curve gradually weaken in the bands of 560−580 nm, 600−700 nm and 780–840 nm. The degree of separation of high-frequency information in original spectral data by binary wavelet is gradually deepened. Figure 4b shows that the spectral curve fluctuates strongly around 480, 610, 670 and 820 nm, indicating that the original spectral data are sensitive to the fluctuation of nitrogen, phosphorus and potassium contents in sweet corn near the corresponding band. It can be seen from the above that binary wavelet can effectively separate the high-frequency information in the original spectral data and highlight the absorption and reflection characteristics in the sweet corn spectrum.
Figure 5 shows the correlation curves between the A5 low-frequency wavelet coefficient and the D5 high-frequency wavelet coefficient of the db5 wavelet decomposition and nutrient element content, respectively. It can be seen from Figure 5 that the fluctuation range of the correlation curve between low-frequency wavelet coefficient and nitrogen, phosphorus and potassium content is small, and the correlation coefficient is smaller than the high-frequency wavelet coefficient. The correlation between the high-frequency wavelet coefficients and the contents of nitrogen, phosphorus and potassium in sweet corn was wide, and the correlation coefficients were basically significant. The contents of nitrogen, phosphorus and potassium in sweet corn leaves are low, and the response to the spectrum is weak, which is mainly reflected in details. Furthermore, the sensitivity of the high-frequency wavelet coefficient to the content of each element is better than that of the low-frequency wavelet coefficient.
The high-frequency wavelet coefficients were significantly correlated with the nitrogen, phosphorus and potassium contents of sweet corn leaves. The wavelet sensitivity coefficients of nitrogen, phosphorus and potassium were extracted from the high-frequency wavelet coefficients, then the diagnostic models of nitrogen, phosphorus and potassium contents in sweet corn were constructed by partial least squares regression and neural network. The stability, accuracy and precision of the models were evaluated comprehensively by modeling the R2, MRE and NRMSE, respectively. The T values of each model were calculated to comprehensively compare the performance of the diagnostic models.
The partial least squares regression model and the neural network nonlinear model select three wavelet sensitivity coefficients with high correlation coefficients as independent variables. The neural network framework adopts a feedforward neural network with each sample characteristic variable as input. The hidden layer is set to 1 and the number of neurons is set to 10. Finally, the corresponding nutrient element content is output. The nonlinear model of neural network is shown in Table 4.The diagnostic model of nitrogen content took wavelet coefficients 448 and 450 in the D4 high-frequency band of db3 and 367 in the D5 high-frequency band of db2 as independent variables. The correlation coefficients between the 3 variables and nitrogen content were 0.916, 0.958 and 0.918, respectively, denoted as Xdb3-D4−448, Xdb3-D4−450 and Xdb2-D5−367, respectively. The diagnostic model of the phosphorus content takes wavelet coefficients at 527, 486 and 482 of the D5 high-frequency band of wavelet db3 as independent variables. The correlation coefficients with phosphorus content were 0.929, 0.930 and 0.952, respectively, denoted as Xdb3-D5−527, Xdb3-D5−486 and Xdb3-D5−482, respectively. The diagnostic model of the potassium content takes wavelet coefficients at 455, 608 and 706 of the D5 high-frequency band of db2 as independent variables. The correlation coefficients with potassium content were 0.828, 0.916 and 0.792, respectively, denoted as Xdb2-D5−455, Xdb2-D5−608 and Xdb2-D5−706, respectively.

3.4. Comparison between Spectral Characteristic Variable Modeling Results and Binary Wavelet Modeling Results

Table 5 shows that using the traditional spectrum characteristic of the variable construction of the nitrogen, phosphorus and potassium content of the diagnosis model, the correlation coefficient is relatively small; the model of the comprehensive stability, accuracy and precision is low; and the sensitivity based on the binary wavelet decomposition of the wavelet coefficient of nitrogen, phosphorus and potassium content of the partial least-squares regression diagnostic model and the neural network nonlinear model as correlation coefficient increased significantly. The comprehensive performance of the model was significantly improved.
Table 6 shows the comparison between the optimal diagnostic model with spectral characteristic variables as independent variables, the partial least squares diagnosis model and the neural network nonlinear diagnosis model.Compared with the parabolic model based on Rr as independent variable, the R2, MRE and NRMSE of the partial least squares regression model based on the sensitivity coefficient of binary wavelet and high-frequency wavelet improved by 34.8%, 62.7%, 75.48% and 28.14%, respectively. The R2, MRE and NRMSE of the neural network nonlinear model are increased by 44.94%, 69.39% and 78.70%, respectively, and their comprehensive performance is improved by 28.14%. Compared with partial least squares regression model, the neural network model R2 improved by 7.51%, the MRE decreased by 17.91%, the NRMSE decreased by 13.16% and the comprehensive performance improved by 7.71%. Compared with the linear model based on SDb as independent variable, the R2, MRE and NRMSE of the partial least squares regression model based on the high-frequency wavelet sensitivity coefficient of the binary wavelet were improved by 10.06%, 41.19%, 30.42% and 11.95%, respectively. The R2, MRE and NRMSE of the neural network nonlinear model are increased by 16.05%, 24.64% and 13.25%, respectively, and the comprehensive performance is improved by 14.42%. Compared with the partial least square regression model, the neural network model increased R2 by 5.44%, MRE by 2.81% and NRMSE by 24.67%, but the comprehensive performance of the neural network model increased by 2.80%.
Compared with the parabolic model for potassium content diagnosis constructed with SDb as the independent variable, the R2, MRE, NRMSE and comprehensive performance of the partial least squares regression model constructed based on the high-frequency wavelet sensitivity coefficient of binary wavelet are improved by 86.80%, 61.64%, 59.46% and 47.18%, respectively. The R2, MRE and NRMSE of the neural network nonlinear model are increased by 90.05%, 78.86% and 73.13%, respectively, and the comprehensive performance of the neural network nonlinear model is improved by 48.84%. Compared with the partial least squares regression model, the neural network model improved R2 by 1.73%, MRE by 44.90% and NRMSE by 33.7%, but the comprehensive performance of neural network model improved by 3.13%. The results show that the high-frequency wavelet coefficients separated by binary wavelet can effectively suppress the interference of noise information, improve the signal-to-noise ratio of spectral data and improve the correlation between wavelet coefficients and nitrogen, phosphorus and potassium content, and improve the stability, accuracy and accuracy of the diagnostic model.

4. Conclusions

In this study, the specific conclusions are as follows:
(1)
With the increase in the nitrogen application rate, the nitrogen content in maize leaves increased first and then decreased, indicating that an appropriate increase in the nitrogen application rate could promote the absorption and accumulation of nitrogen in maize leaves, while a high nitrogen application rate could inhibit the accumulation of nitrogen in maize leaves, which significantly decreased the nitrogen accumulation rate and reduced the utilization rate of nitrogen. The decrease in the phosphorus content in maize indicated that with the increase in the nitrogen application rate, the accumulation of phosphorus in maize decreased rapidly at first and then at a decreasing rate. The decrease in the potassium content in maize indicated that the application of a small amount of nitrogen fertilizer had little effect on the absorption and accumulation of potassium in maize, and the application of a high amount of nitrogen would inhibit the absorption of potassium and make the accumulation decrease rapidly.
(2)
Binary wavelet can effectively improve the sensitivity of the spectrum to nitrogen, phosphorus and potassium contents of sweet corn and then improve the comprehensive performance of the model. Compared with the method of constructing spectral characteristic variables and vegetation incidices, it can effectively integrate the beneficial weak information in spectral data and suppress the influence of high-frequency noise. Compared with the parabola model based on Rr and the partial least squares regression model based on the binary wavelet high-frequency sensitivity coefficient, the comprehensive performance of the neural network nonlinear model based on the binary wavelet high-frequency sensitivity coefficient improved by 28.14% and 7.71%, respectively. Compared with the linear and partial least squares regression diagnosis models based on the high frequency sensitivity coefficient of binary wavelet, the comprehensive performance of the neural network nonlinear model based on the high frequency sensitivity coefficient of the binary wavelet improved by 14.42% and 2.80%, respectively. Compared with the parabola based on SDB as the independent variable and the partial least squares regression potassium content diagnosis model based on the binary wavelet high-frequency sensitivity coefficient, the comprehensive performance of the neural network nonlinear model based on the binary wavelet high frequency sensitivity coefficient is improved by 48.84% and 3.13%, respectively.
(3)
The chemical measurement method by using traditional destructive sampling of sweet corn nitrogen, phosphorus and potassium content and is sensitive to the high-frequency wavelet coefficient of building a neural network nonlinear sweet corn nitrogen, phosphorus and potassium content of the diagnosis model has good comprehensive performance, which can realize the rapid and nondestructive testing of sweet corn nitrogen, phosphorus and potassium content.
The diagnostic accuracy of nutrient element contents in this study can be further studied in order to improve the accuracy of agricultural robots to perceive nutrient element content in crops. The next step is to improve the SNR of the spectral data and improve the accuracy of the diagnostic model by using artificial neural network algorithm. Finally, the method can be applied to the nutrient element content sensing system of agricultural robot.

Author Contributions

Conceptualization, W.W., Y.F. and T.T.; methodology, T.T.; software, W.W.; validation, W.W., T.T. and J.W.; formal analysis, Y.Z.; investigation, X.W.; resources, Y.F. and W.W.; data curation, C.H. and J.L.; writing—original draft preparation, W.W. and T.T; writing—review and editing, T.G.; funding acquisition, C.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Guangdong Provincial Key Field R&D Program (2019B020214001); the National Natural Science Foundation of China (31971550); Tea Industry Innovation Team Facility and Mechanization Post Expert (2021NO74-CJXG); Guangdong Science and Technology Program Project (2019B030301007) and National Natural Science Foundation of China (Grant No. 11971178).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors acknowledge the editors and reviewers for their constructive comments and all the supports on this work.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Reina, G.; Milella, A.; Rouveure, R.; Nielsen, M.; Worst, R.; Blas, M.R. Ambient awareness for agricultural robotic vehicles. Biosyst. Eng. 2016, 146, 114–132. [Google Scholar] [CrossRef]
  2. Li, J.; Zhang, X.; Li, J.; Liu, Y.; Wang, J. Building and optimization of 3D semantic map based on Lidar and camera fusion. Neurocomputing 2020, 409, 394–407. [Google Scholar] [CrossRef]
  3. Li, J.; Qin, H.; Wang, J.; Li, J. OpenStreetMap-based autonomous navigation for the four wheel-legged robot via 3D-Lidar and CCD camera. IEEE Trans. Ind. Electron. 2021, 69, 2708–2717. [Google Scholar] [CrossRef]
  4. Li, J.; Wang, J.; Peng, H.; Hu, Y.; Su, H. Fuzzy-torque approximation-enhanced sliding mode control for lateral stability of mobile robot. IEEE Trans. Syst. Man Cybern. Syst. 2021, 1–10. [Google Scholar] [CrossRef]
  5. Li, J.; Wang, J.; Peng, H.; Zhang, L.; Hu, Y.; Su, H. Neural fuzzy approximation enhanced autonomous tracking control of the wheel-legged robot under uncertain physical interaction. Neurocomputing 2020, 410, 342–353. [Google Scholar] [CrossRef]
  6. Yang, C.; Peng, G.; Cheng, L.; Na, J.; Li, Z. Force sensorless admittance control for teleoperation of uncertain robot manipulator using neural networks. IEEE Trans. Syst. Man Cybern. Syst. 2019, 51, 3282–3292. [Google Scholar] [CrossRef]
  7. Yang, C.; Huang, D.; He, W.; Cheng, L. Neural control of robot manipulators with trajectory tracking constraints and input saturation. IEEE Trans. Neural Netw. Learn. Syst. 2020, 32, 4231–4242. [Google Scholar] [CrossRef]
  8. Peng, G.; Chen, C.L.; Yang, C. Neural Networks Enhanced Optimal Admittance Control of Robot-Environment Interaction Using Reinforcement Learning. IEEE Trans. Neural Netw. Learn. Syst. 2021, 1–11. [Google Scholar] [CrossRef]
  9. Řezník, T.; Herman, L.; Klocová, M.; Leitner, F.; Pavelka, T.; Leitgab, S.; Trojanová, K.; Štampach, R.; Moshou, D.; Mouazen, A.M.; et al. Towards the development and verification of a 3d-based advanced optimized farm machinery trajectory algorithm. Sensors 2021, 21, 2980. [Google Scholar] [CrossRef]
  10. Hameed, I.A. Intelligent coverage path planning for agricultural robots and autonomous machines on three-dimensional terrain. J. Intell. Robot. Syst. 2014, 74, 965–983. [Google Scholar] [CrossRef] [Green Version]
  11. Fountas, S.; Mylonas, N.; Malounas, I.; Rodias, E.; Santos, C.H.; Pekkeriet, E. Agricultural robotics for field operations. Sensors 2020, 20, 2672. [Google Scholar] [CrossRef] [PubMed]
  12. Baltazar, A.R.; Santos, F.N.; Moreira, A.P.; Valente, A.; Cunha, J.B. Smarter Robotic Sprayer System for Precision Agriculture. Electronics 2021, 10, 2061. [Google Scholar] [CrossRef]
  13. Liu, L.; Peng, Z.; Zhang, B.; Wei, Z. Canopy Nitrogen Concentration Monitoring Techniques of Summer Corn Based on Canopy Spectral Information. Sensors 2019, 19, 4123. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Wang, S.; Zhao, S.; Zhang, C.; Su, Z.; Wang, L.; Zhao, Y. Forecasting model for nitrogen content of maize canopy during seedlingstage in cold region based on imaging spectral technique. Trans. Chin. Soc. Agric. Eng. 2016, 32, 149–154. [Google Scholar]
  15. Song, X.; Gao, Y.; Liu, Z.; Zhang, M.; Wan, Y.; Yu, X.; Liu, W.; Li, L. Development of a predictive tool for rapid assessment of soil total nitrogen in wheat-corn double cropping system with hyperspectral data. Environ. Pollut. Bioavailab. 2019, 31, 272–281. [Google Scholar] [CrossRef]
  16. Charles, A.L.; Cato, K.; Huang, T.; Chang, Y.; Ciou, J.; Chang, J.; Lin, H. Functional properties of arrowroot starch in cassava and sweet potato composite starches. Food Hydrocoll. 2016, 53, 187–191. [Google Scholar] [CrossRef]
  17. Cutulle, M.A.; Armel, G.R.; Kopsell, D.A.; Wilson, H.P.; Brosnan, J.T.; Vargas, J.J.; Hines, T.E.; Koepke-Hill, R.M. Several pesticides influence the nutritional content of sweet corn. J. Agric. Food Chem. 2018, 66, 3086–3092. [Google Scholar] [CrossRef]
  18. Zhang, J.; Sun, H.; Gao, D.; Qiao, L.; Liu, N.; Li, M.; Zhang, Y. Detection of canopy chlorophyll content of corn based on continuous wavelet transform analysis. Remote Sens. 2020, 12, 2741. [Google Scholar] [CrossRef]
  19. Mananze, S.; Pôças, I.; Cunha, M. Retrieval of maize leaf area index using hyperspectral and multispectral data. Remote Sens. 2018, 10, 1942. [Google Scholar] [CrossRef] [Green Version]
  20. Li, C.; Cui, Y.; Ma, C.; Niu, Q.; Li, J. Hyperspectral inversion of maize biomass coupled with plant height data. Crop Sci. 2021, 61, 2067–2079. [Google Scholar] [CrossRef]
  21. Berger, K.; Verrelst, J.; Féret, J.; Wang, Z.; Wocher, M.; Strathmann, M.; Danner, M.; Mauser, W.; Hank, T. Crop nitrogen monitoring: Recent progress and principal developments in the context of imaging spectroscopy missions. Remote Sens. Environ. 2020, 242, 111758. [Google Scholar] [CrossRef]
  22. Silva-Perez, V.; Molero, G.; Serbin, S.P.; Condon, A.G.; Reynolds, M.P.; Furbank, R.T.; Evans, J.R. Hyperspectral reflectance as a tool to measure biochemical and physiological traits in wheat. J. Exp. Bot. 2018, 69, 483–496. [Google Scholar] [CrossRef] [Green Version]
  23. Ren, G.; Ning, J.; Zhang, Z. Multi-variable selection strategy based on near-infrared spectra for the rapid description of dianhong black tea quality. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2021, 245, 118918. [Google Scholar] [CrossRef]
  24. Xu, X.; Li, Z.; Yang, X.; Yang, G.; Teng, C.; Zhu, H.; Liu, S. Predicting leaf chlorophyll content and its nonuniform vertical distribution of summer maize by using a radiation transfer model. J. Appl. Remote Sens. 2019, 13, 034505. [Google Scholar] [CrossRef]
  25. Gu, X.; Cai, W.; Fan, Y.; Ma, Y.; Zhao, X.; Zhang, C. Estimating foliar anthocyanin content of purple corn via hyperspectral model. Food Sci. Nutr. 2018, 6, 572–578. [Google Scholar] [CrossRef] [Green Version]
  26. Cui, L.; Dou, Z.; Zuo, X.; Lei, Y.; Li, J.; Zhao, X.; Zhai, X.; Pan, X.; Li, W. Hyperspectral Inversion of Phragmites Communis Carbon, Nitrogen, and Phosphorus Stoichiometry Using Three Models. Remote Sens. 2020, 12, 1998. [Google Scholar] [CrossRef]
  27. Liu, W.; Yu, Q.; Niu, T.; Yang, L.; Liu, H. Inversion of Soil Heavy Metal Content Based on Spectral Characteristics of Peach Trees. Forests 2021, 12, 1208. [Google Scholar] [CrossRef]
  28. Guo, F.; Xu, Z.; Ma, H.; Liu, X.; Yang, Z.; Tang, S. A Comparative Study of the Hyperspectral Inversion Models Based on the PCA for Retrieving the Cd Content in the Soil. Spectrosc. Spectr. Anal. 2021, 41, 1625–1630. [Google Scholar]
  29. Liang, L.; Di, L.; Huang, T.; Wang, J.; Lin, L.; Wang, L.; Yang, M. Estimation of leaf nitrogen content in wheat using new hyperspectral indices and a random forest regression algorithm. Remote Sens. 2018, 10, 1940. [Google Scholar] [CrossRef] [Green Version]
  30. Zhou, Y.M.; Jiang, M.J. Comparison of inversion method of maize leaf area index based on UAV hyperspectral remote sensing. Multimed. Tools Appl. 2020, 79, 16385–16401. [Google Scholar] [CrossRef]
  31. Wei, L.; Yuan, Z.; Zhong, Y.; Yang, L.; Hu, X.; Zhang, Y. An improved gradient boosting regression tree estimation model for soil heavy metal (Arsenic) pollution monitoring using hyperspectral remote sensing. Appl. Sci. 2019, 9, 1943. [Google Scholar] [CrossRef] [Green Version]
  32. Wei, L.; Yuan, Z.; Wang, Z.; Zhao, L.; Zhang, Y.; Lu, X.; Cao, L. Hyperspectral inversion of soil organic matter content based on a combined spectral index model. Sensors 2020, 20, 2777. [Google Scholar] [CrossRef]
  33. Wang, J.; Li, X. Comparison on quantitative inversion of characteristic ions in salinized soils with hyperspectral based on support vector regression and partial least squares regression. Eur. J. Remote Sens. 2020, 53, 340–348. [Google Scholar] [CrossRef]
  34. Wu, T.; Yu, J.; Lu, J.; Zou, X.; Zhang, W. Research on inversion model of cultivated soil moisture content based on hyperspectral imaging analysis. Agriculture 2020, 10, 292. [Google Scholar] [CrossRef]
  35. Han, L.; Chen, R.; Zhu, H.; Zhao, Y.; Liu, Z.; Huo, H. Estimating soil arsenic content with visible and near-infrared hyperspectral reflectance. Sustainability 2020, 12, 1476. [Google Scholar] [CrossRef] [Green Version]
  36. Yu, F.; Feng, S.; Du, W.; Wang, D.; Guo, Z.; Xing, S.; Jin, Z.; Cao, Y.; Xu, T. A study of nitrogen deficiency inversion in rice leaves based on the hyperspectral reflectance differential. Front. Plant Sci. 2020, 11, 1758. [Google Scholar] [CrossRef]
  37. Fan, L.L.; Zhao, J.L.; Xu, X.G.; Liang, D.; Yang, G.; Feng, H.K.; Yang, H.; Wang, Y.L.; Chen, G.; Wei, P.F. Hyperspectral-based Estimation of Leaf Nitrogen Content in Corn Using Optimal Selection of Multiple Spectral Variables. Sensors 2019, 19, 2898. [Google Scholar] [CrossRef] [Green Version]
  38. Chen, C.; Jiang, Q.; Zhang, Z.; Shi, P.; Xu, Y.; Liu, B.; Xi, J.; Chang, S. Hyperspectral inversion of petroleum hydrocarbon contents in soil based on continuum removal and wavelet packet decomposition. Sustainability 2020, 12, 4218. [Google Scholar] [CrossRef]
  39. Gu, X.; Wang, Y.; Sun, Q.; Yang, G.; Zhang, C. Hyperspectral inversion of soil organic matter content in cultivated land based on wavelet transform. Comput. Electron. Agric. 2019, 167, 10505. [Google Scholar] [CrossRef]
  40. Li, L.J.; Yue, Y.B.; Wang, Y.C.; Zhao, Z.Y.; Li, R.J.; Nie, K.Y.; Yuan, L. The Quantitative Study on Chlorophyll Content of Hylocereus polyrhizus Based on Hyperspectral Analysis. Spectrosc. Spectr. Anal. 2021, 41, 3538–3544. [Google Scholar]
  41. Zhang, T.; Yu, L.; Yi, J.; Nie, Y.; Zhou, Y. Determination of Soil Organic Matter Content Based on HyperspectralWavelet Energy Features. Spectrosc. Spectr. Anal. 2019, 39, 3217–3222. [Google Scholar]
  42. Wang, Y.C.; Yang, X.F.; Zhao, Q.C.; Gu, X.H.; Guo, C.; Liu, Y.P. Quantitative Inversion of Soil Organic Matter Content in Northern Alluvial Soil Based on Binary Wavelet Transform. Spectrosc. Spectr. Anal. 2019, 39, 2855–2861. [Google Scholar]
  43. Huang, Y.; Tian, Q.; Wang, L.; Geng, J.; Lyu, C. Estimating canopy leaf area index in the late stages of wheat growth using continuous wavelet transform. J. Appl. Remote Sens. 2014, 8, 083517. [Google Scholar] [CrossRef]
  44. Yang, B.; Zhu, Y.; Wang, M.; Ning, J. A model for yellow tea polyphenols content estimation based on multi-feature fusion. IEEE Access 2019, 7, 180054–180063. [Google Scholar] [CrossRef]
  45. Lu, R.K. Methods for Soil Agrochemical Analysis; China Agricultural Science and Technology Press: Beijing, China, 2000. [Google Scholar]
  46. Mohan, B.K.; Porwal, A. Hyperspectral image processing and analysis. Curr. Sci. 2015, 108, 833–841. [Google Scholar]
  47. Rasti, B.; Koirala, B.; Scheunders, P.; Ghamisi, P. How Hyperspectral Image Unmixing and Denoising Can Boost Each Other. Remote Sens. 2020, 12, 1728. [Google Scholar] [CrossRef]
  48. Wu, W.B.; Li, J.Y.; Zhang, Z.B.; Ling, C.J.; Lin, X.K.; Chang, X.L. Estimation model of LAI and nitrogen content in tea tree based on hyperspectral image. Trans. Chin. Soc. Agric. Eng. 2018, 34, 195–201. [Google Scholar]
  49. Huang, L.; Song, F.; Huang, W.; Zhao, J.; Ye, H.; Yang, X.; Liang, D. New Triangle Vegetation Indices for Estimating Leaf Area Index on Maize. J. Indian Soc. Remote Sens. 2018, 46, 1907–1914. [Google Scholar] [CrossRef]
  50. Mao, Z.H.; Deng, L.; Duan, F.Z.; Li, X.J.; Qiao, D.Y. Angle effects of vegetation indices and the influence on prediction of SPAD values in soybean and maize. Int. J. Appl. Earth Obs. Geoinf. 2020, 93, 102198. [Google Scholar] [CrossRef]
  51. Sharifi, A. Using sentinel-2 data to predict nitrogen uptake in maize crop. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 13, 2656–2662. [Google Scholar] [CrossRef]
  52. Xu, C.F.; Li, G.K. Public Basic Course Series of Postgraduate Teaching Books: Practical Wavelet Method, 3rd ed.; Huazhong University of Science and Technology Press: Wuhan, China, 2009. [Google Scholar]
  53. Sáfadi, T.; Kang, M.; Leite, I.C.C.; Vidaković, B. Wavelet-based spectral descriptors for detection of damage in sunflower seeds. Int. J. Wavelets Multiresolution Inf. Process. 2016, 14, 1650027. [Google Scholar] [CrossRef]
Figure 1. Agricultural robot system of hyperspectral imager.
Figure 1. Agricultural robot system of hyperspectral imager.
Sensors 22 01822 g001
Figure 2. Spectral graphs of 6 samples.
Figure 2. Spectral graphs of 6 samples.
Sensors 22 01822 g002
Figure 3. Significant analysis chart of nitrogen, phosphorus and potassium contents in maize under different nitrogen application treatments: (a) Significance results of nitrogen content in maize; (b) Significance results of phosphorus content in maize; (c) Significance results of potassium content in maize. Note: In the bar chart, “a, b, c” indicates that p < 0.05, they are arranged from large to small. Different letters indicate significant, and the same letters indicate insignificant.
Figure 3. Significant analysis chart of nitrogen, phosphorus and potassium contents in maize under different nitrogen application treatments: (a) Significance results of nitrogen content in maize; (b) Significance results of phosphorus content in maize; (c) Significance results of potassium content in maize. Note: In the bar chart, “a, b, c” indicates that p < 0.05, they are arranged from large to small. Different letters indicate significant, and the same letters indicate insignificant.
Sensors 22 01822 g003
Figure 4. (a) Db5 wavelet analysis-low frequency information graph (b) Db5 wavelet analysis-high frequency information graph.
Figure 4. (a) Db5 wavelet analysis-low frequency information graph (b) Db5 wavelet analysis-high frequency information graph.
Sensors 22 01822 g004
Figure 5. Correlation analysis of nitrogen, phosphorus and potassium contents with db5 low-frequency wavelet coefficients (A5) and high frequency wavelet coefficients (D5). (a) Correlation curve between nitrogen content and low frequency A5 wavelet coefficients. (b) Correlation curve between nitrogen content and D5 high frequency wavelet coefficient. (c) Correlation curve between phosphorus content and low frequency A5 wavelet coefficients. (d) Correlation curve between phosphorus content and high frequency D5 wavelet coefficients. (e) Correlation curve between potassium content and low frequency information A5. (f) Correlation curve between potassium content and high frequency information D5.
Figure 5. Correlation analysis of nitrogen, phosphorus and potassium contents with db5 low-frequency wavelet coefficients (A5) and high frequency wavelet coefficients (D5). (a) Correlation curve between nitrogen content and low frequency A5 wavelet coefficients. (b) Correlation curve between nitrogen content and D5 high frequency wavelet coefficient. (c) Correlation curve between phosphorus content and low frequency A5 wavelet coefficients. (d) Correlation curve between phosphorus content and high frequency D5 wavelet coefficients. (e) Correlation curve between potassium content and low frequency information A5. (f) Correlation curve between potassium content and high frequency information D5.
Sensors 22 01822 g005
Table 1. Hyperspectral characteristic parameters and description.
Table 1. Hyperspectral characteristic parameters and description.
Types of Spectral Characteristic VariablesSpectral Characteristic VariablesParameter Description
Spectral position variableAmplitude of blue edge DbMaximum first-order differential spectral values at 490–530 nm
Location of blue edge λb/nmThe wavelength position corresponding to the blue amplitude
Amplitude of yellow edge DyMaximum first-order differential spectral values at 560–640 nm
Location of yellow edge λy/nmThe wavelength position corresponding to the yellow amplitude
Amplitude of red edge DrMaximum first-order differential spectral value within 680–760 nm
Location of red edge λr/nmThe wavelength position corresponding to the amplitude of the red side
Green peak reflectance RgMaximum first-order differential spectral value at 510–560 nm
Green peak position λg/nmWavelength position corresponding to the green peak reflectivity
Red valley reflectance RrMinimum first order differential spectral value within 650–690 nm
Red valley location λo/nmWavelength position corresponding to red Valley reflectivity
Spectral area variableBlue edge area SDbThe area enclosed by the original light spectrum curve at 490–530 nm
Yellow edge area SDy560–640 nm spectrum curves surround the area of original light
Red edge area SDrThe area enclosed by the original spectral curve within 680–760 nm
Green peak area SDgThe area enclosed by the original light spectrum curve in 510–560 nm
Vegetation index variableVI1 = Rg/RrRatio of green peak reflectance to red valley reflectance
VI2 = (RgRr)/(Rg + Rr)Normalized values of green peak reflectance and red valley reflectance
VI3 = SDr/SDbRatio of the area of the red side to the area of the blue side
VI4 = SDr/SDyRatio of the area of the red side to the area of the yellow side
VI5 = (SDr − SDb)/(SDr + SDb)The normalized value of the red-side area and the blue-side area
VI6 = (SDr − SDy)/(SDr + SDy)The normalized value of the area of the red and yellow sides
VI7 = R800/R680Simple ratio index SRI
VI8 = (R750/R720) − 1Red edge model REM
VI9 = (R750R445)/(R705R445)Correction of simple ratio index mSR705
VI10 = (R750R445)/(R750 + R705 − 2 × R445)Revised normalized difference index mND705
Table 2. Correlation coefficients of spectral characteristic variables with nitrogen, phosphorus and potassium contents.
Table 2. Correlation coefficients of spectral characteristic variables with nitrogen, phosphorus and potassium contents.
Types of VariablesNitrogen ContentPhosphorus ContentPotassium Content
Db0.725 **0.905 ** −0.543 **
λb0.732 ** −0.882 ** −0.507 **
Dy0.722 ** −0.908 ** −0.546 **
λy−0.713 ** 0.863 ** 0.485 **
Dr0.735 ** −0.908 ** −0.528 **
λr0.753 ** −0.826 ** −0.371 **
Rg0.722 ** −0.908 ** −0.546 **
λg0.735 ** −0.880 ** −0.495 **
Rr0.742 ** −0.899 ** −0.521 **
λr0.442 ** −0.569 ** −0.349 **
SDb0.696 ** −0.913 ** −0.577 **
SDy−0.654 ** 0.896 ** 0.579 **
SDr0.734 ** −0.901 ** −0.519 **
SDg0.697 ** −0.903 ** −0.558 **
VI10.343 ** −0.410 ** −0.171
VI2−0.742 ** 0.881 ** 0.506 **
VI30.210 −0.228 −0.125
VI4−0.406 ** 0.545 ** 0.291
VI5−0.725 ** 0.899 ** 0.529 **
VI60.674 ** −0.899 ** −0.568 **
VI7−0.009 0.016 0.014
VI8−0.139 0.468 ** 0.427 **
VI9−0.219 0.504 ** 0.409 **
VI10−0.223 0.508 ** 0.413 **
Note: ** means significant at 0.01 level.
Table 3. Results of nitrogen, phosphorus and potassium content diagnostic models.
Table 3. Results of nitrogen, phosphorus and potassium content diagnostic models.
Index to Be PredictedSpectral
Characteristic Variables
ModelCoefficient of
Determination of
Modeling R2 (n = 48)
Validation (n = 24)
MRENRMSET
Nitrogen contentRrLinear0.6065.18%0.0900.8038
Parabolic0.6725.39%0.0930.7298
Index0.6395.18%0.0900.7643
Logarithmic0.6315.08%0.0900.7731
λrLinear0.6415.59%0.0910.7634
Parabolic0.6679.32%0.1320.7559
Index0.6676.05%0.0930.7369
Logarithmic0.6445.58%0.0900.7599
VI2Linear0.6225.35%0.0920.7851
Parabolic0.6655.23%0.0900.7359
Index0.6505.20%0.0920.7524
Logarithmic0.6574.71%0.0880.7424
Phosphorus contentDrLinear0.82011.78%0.1190.6301
Parabolic0.82111.83%0.1180.6294
Index0.75511.55%0.1190.6784
Logarithmic0.81218.46%0.1860.6715
RgLinear0.82011.70%0.1190.6299
Parabolic0.82011.70%0.1190.6299
Index0.75511.39%0.1180.6777
Logarithmic0.81311.80%0.1260.6367
SDbLinear0.83511.97%0.1200.6208
Parabolic0.83512.01%0.1210.6210
Index0.77711.55%0.1180.6606
Logarithmic0.82911.89%0.1200.6247
Potassium contentSDbLinear0.31012.11%0.1321.5667
Parabolic0.43210.22%0.1121.1329
Index0.30739.00%0.4141.7285
Logarithmic0.28212.32%0.1481.7200
SDyLinear0.29611.68%0.1291.6356
Parabolic0.32411.05%0.1211.4962
Index0.29311.39%0.1271.6504
Logarithmic0.31511.31%0.1251.5389
VI6Linear0.27812.83%0.1381.7430
Parabolic0.27912.88%0.1391.7372
Index0.27212.47%0.1361.7784
Logarithmic0.27912.90%0.1391.7373
Table 4. Results of the partial least squares diagnostic model for nitrogen, phosphorus and potassium contents of sweet corn based on binary wavelet sensitivity coefficient.
Table 4. Results of the partial least squares diagnostic model for nitrogen, phosphorus and potassium contents of sweet corn based on binary wavelet sensitivity coefficient.
Index to Be PredictedPartial Least Squares Regression ModelCoefficient of Determination of
Modeling R2
(n = 48)
Validation (n = 24)
MRENRMSET
Nitrogen contentY = 760.852 × Xdb3-D4–448 + 579.046 × Xdb3-D4–450 + 555.147 × Xdb2-D5367 + 7.3250.9062.01%0.02280.5244
Phosphorus contentY = −55.083 × Xdb3-D5527 + 39.259 × Xdb3-D5–486 + 20.589 × Xdb3-D5–482 + 9.1240.9197.04%0.08350.5466
Potassium contentY = 239.24 × Xdb2-D5–455 + 545.218 × Xdb2-D5–608 + 611.15 × Xdb2-D5–706 + 43.2600.8073.92%0.04540.5712
Table 5. Results of neural network diagnosis model based on binary wavelet sensitivity coefficient for sweet corn nitrogen, phosphorus and potassium contents.
Table 5. Results of neural network diagnosis model based on binary wavelet sensitivity coefficient for sweet corn nitrogen, phosphorus and potassium contents.
Index to Be PredictedCoefficient of Determination of
Modeling R2 (n = 48)
Validation (n = 24)
MRENRMSET
Nitrogen content0.9741.65%0.01980.4868
Phosphorus content0.9699.02%0.10410.5313
Potassium content0.8212.16%0.03010.5412
Table 6. Comparison of spectral characteristic model, partial least squares model and neural network model results.
Table 6. Comparison of spectral characteristic model, partial least squares model and neural network model results.
Index to Be PredictedModel TypeCoefficient of Determination of Modeling R2 (n = 48)MRENRMSET
Nitrogen contentRr parabolic model0.6725.39%0.0930.7298
Partial least squares regression model0.9062.01%0.02280.5244
Neural network nonlinear model0.9741.65%0.01980.4868
Phosphorus contentSDb Linear model0.83511.97%0.1200.6208
Partial least squares regression model0.9197.04%0.08350.5466
Neural network nonlinear model0.9699.02%0.10410.5313
Potassium contentSDb Parabolic model0.43210.22%0.1121.1330
Partial least squares regression model0.8073.92%0.04540.5984
Neural network nonlinear model0.8212.16%0.03010.5797
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wu, W.; Tang, T.; Gao, T.; Han, C.; Li, J.; Zhang, Y.; Wang, X.; Wang, J.; Feng, Y. Spectral Diagnostic Model for Agricultural Robot System Based on Binary Wavelet Algorithm. Sensors 2022, 22, 1822. https://doi.org/10.3390/s22051822

AMA Style

Wu W, Tang T, Gao T, Han C, Li J, Zhang Y, Wang X, Wang J, Feng Y. Spectral Diagnostic Model for Agricultural Robot System Based on Binary Wavelet Algorithm. Sensors. 2022; 22(5):1822. https://doi.org/10.3390/s22051822

Chicago/Turabian Style

Wu, Weibin, Ting Tang, Ting Gao, Chongyang Han, Jie Li, Ying Zhang, Xiaoyi Wang, Jianwu Wang, and Yuanjiao Feng. 2022. "Spectral Diagnostic Model for Agricultural Robot System Based on Binary Wavelet Algorithm" Sensors 22, no. 5: 1822. https://doi.org/10.3390/s22051822

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop