Next Article in Journal
Integration of a Thermoelectric Heating Unit with Ionic Wind-Induced Droplet Centrifugation Chip to Develop Miniaturized Concentration Device for Rapid Determination of Salmonella on Food Samples Using Antibody-Functionalized SERS Tags
Next Article in Special Issue
Application-Specific Evaluation of a Weed-Detection Algorithm for Plant-Specific Spraying
Previous Article in Journal
Radio Resource Dimensioning for Low Delay Access in Licensed OFDMA IoT Networks
Previous Article in Special Issue
Comparison of Soil Total Nitrogen Content Prediction Models Based on Vis-NIR Spectroscopy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development and Application of a Vehicle-Mounted Soil Texture Detector

Key Laboratory of Modern Precision Agriculture System Integration Research, Ministry of Education, China Agricultural University, Beijing 100083, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(24), 7175; https://doi.org/10.3390/s20247175
Submission received: 27 October 2020 / Revised: 22 November 2020 / Accepted: 11 December 2020 / Published: 15 December 2020
(This article belongs to the Special Issue Sensing Technologies for Agricultural Automation and Robotics)

Abstract

:
It is of great significance to obtain soil texture information quickly for the realization of farmland management. Soil with good particle condition can well regulate the needs of plants for water, nutrients, air, and temperature during crop growth, thereby promoting high crop yields. The existing methods of measuring soil texture cannot meet the requirements of time and spatial resolution. For this reason, a vehicle-mounted soil texture detector was designed and developed based on machine vision and soil electrical conductivity devices. The detector does not require pretreatment such as air-drying and screening of the soil, and completely uses the original information of the farmland. The whole process can obtain the soil texture information in real time, omitting the complicated chemical process, and saving manpower and material resources. The vehicle-mounted detector is divided into a mechanical part, a control part, and a display part. The mechanical part provides measurement support for the acquisition of soil texture information; the control part collects and processes signals and images; the measurement results can be intuitively observed and recorded on the display, and can be operated through the mobile phone. The vehicle-mounted detector obtains soil conductivity through 4 disc electrodes, while the vehicle-mounted industrial camera captures the soil surface image, and extracts texture parameters through image processing, takes EC and texture parameters as input, and the embedded SVM model of the instrument was used to perform soil texture prediction. In order to verify the measurement accuracy of the detector, farmland verification experiments were carried out on farmland loam in Tongzhou District and Haidian District of Beijing. The R2 of the correlation between the measured value of soil EC and the actual value was 0.75, and the accuracy of soil texture prediction was 84.86%. It shows that the developed vehicle-mounted soil texture detector can meet the requirements for rapid acquisition of farmland texture information.

1. Introduction

Soil texture is one of the important physical properties of soil. It represents the percentage combination of soil particles of different diameters in soil weight. Soil texture has an important impact on soil fertility, quality, and sustainable use of soil. Soil with good texture can well regulate the needs of plants for water, nutrients, air, and temperature during crop growth, thereby promoting high crop yields [1]. The soil texture is mainly divided into three categories: Sandy soil, loam, amd clay. Among them, loam has the advantages of sand and clay which is an ideal soil texture type, suitable for planting crops, especially peanuts, tobacco leaves, and vegetables.
The standard method for obtaining soil texture is the straw method. Although this method has high accuracy, it takes a lot of time, and requires heating and using H2O2 and Na3PO4. The whole process requires manual operation to ensure accuracy and safety. The measurement accuracy depends on experimental conditions and the proficiency level of the operator [2]. For the acquisition of soil texture information, some new methods have been developed in recent years, such as: Gamma ray method, sieve analysis method, laser diffraction method, and scanning electron microscopy method. These methods require specific expensive instruments, and most of them also need soil pretreatment. And the preprocessing cannot achieve real real-time fast measurement [3,4,5]. In addition, there are many novel researches for the acquisition of soil texture information. For example, Vos [6] pointed out that manual identification based on experience can replace laboratory analysis. This method only relies on hand feeling and completely depends on the experience of the operator and is not universal. Hobley [7] used vis-NIR technology to estimate texture, and B. Jović [8] used Diffuse Reflaxions Infrared Fourier Transformations Spectroscopy (DRIFT) to obtain spectra and determined the spectral characteristics of five typical soil types in a certain area. However, both of these methods require specific expensive equipment. Wu [9] used remote sensing technology to identify soil types, and the results showed that the model with NDVI plus topography and stratum performed best with overall accuracy, kappa statistic, and area under the curve of 0.975, 0.918, and 0.907. Many scholars have used multi-spectral and hyperspectral satellite data to classify regions with different soil textures [10,11,12,13]. Wu and Castaldi used BJ-1 [14] and Advanced Land Imager (ALI) satellite imager [15] to quantitatively estimate the content of sand and clay in the soil, and they performed well. However, the current research has time lag in the acquisition of soil texture, and the spatial resolution is also difficult to meet the demand, and most of them require expensive experimental equipment. In summary, there is an urgent need for a low-cost, real-time, and high-accuracy soil texture information acquisition method and detector.
Scholars at home and abroad have studied the use of other soil parameters to predict soil texture. Some studies use soil electrical conductivity (EC) to characterize soil texture, EC has a wide range of applications in soil research. It can be used to study the dissociation and exchange performance of adsorbed ions in the soil, and reveal the strength of interaction between various ions and soil colloids. Many studies have shown that EC can reflect soil texture to a certain extent [16]. Heil [17] uses soil EC to characterize soil texture variability at highly variable locations. This study describes the soil texture by combining point-by-point EC measurements with digital terrain model, cultivation parameters, and the thickness of the Quaternary sediments. R2 values ranged between 0.67 and 0.76. This shows to a certain extent that the combination of EC and other soil characteristics has a good correlation with soil texture. There are also studies using soil surface images to predict soil texture or classify soil. Jia [18] used hyperspectral image technology to establish a classification model by combining effective wavelength and texture feature data to predict the soil types of red soil, paddy soil, and seashore saline soil, with a correct rate of 90%. Although this method is only for soil type and color, it provides an idea for using images to classify soil texture. Morais [19] used a multivariate image analysis method to predict soil texture with a very high success rate when the soil composition is low in powder. However, even if this method is twice as long as the standard pipette analysis method, it still takes 50 h and cannot quickly measure soil texture. Predecessors in the same laboratory have shown that using image methods to obtain soil characteristics and predict soil roughness can provide a reference for analyzing soil texture. Therefore, we can try to use soil EC and soil surface images for data fusion to quickly predict soil texture.
In fact, it can be further explained that the fusion of these two kinds of data can be used as the basis for determining soil texture: The EC of the soil can reflect the size of the parameters such as soil texture and porosity to varying degrees. Similarly, the texture features extracted from the soil surface image have a strong relationship with the soil surface roughness [20,21,22,23,24]. Li [25] put forward a method to interpret soil roughness by taking field photos, which can obtain soil roughness through soil surface image. García [26] used image shading to obtain soil surface roughness in the laboratory and on-site. The soil surface roughness is a parameter that characterizes the micro-topography of the soil. The small spacing of soil surface particles and the unevenness of small peaks and valleys are related to the size of the soil surface particles. The different combinations of soil particle size are soil texture. These two kinds of data are closely related to texture. Scholars at home and abroad have conducted preliminary studies on the methods of using soil EC and soil surface image texture features to predict soil texture. Therefore, this study proposes to use soil EC and soil surface image texture features for data fusion to predict soil texture.
This research aims to develop a vehicle-mounted soil texture information acquisition instrument that uses the original information of farmland, and to verify the instrument through field experiments. The methods are as follows: Using disc electrode to obtain soil EC, using industrial camera to obtain soil surface image and extracting texture parameters, and establishing model and prediction based on support vector machine.

2. Materials and Methods

2.1. Soil Texture Prediction Method

Because soil texture is difficult to measure directly, a method for predicting soil texture using parameters that are highly correlated with soil texture is proposed. The above analyzed the feasibility of indirect prediction of soil texture, and finally chose the method of combining soil EC and soil surface image to predict soil texture. First, using soil EC data and the texture feature information of the soil surface image and soil texture to build a model, and using soil from different regions as input to make the model more versatile. In farmland experiments, through the designed soil EC sensor and industrial camera, the required input parameters: Soil EC and texture features extracted from the soil surface image are obtained respectively, and then the prediction model is called to obtain the soil texture information of the target farmland. A brief flow chart of soil texture prediction is shown in Figure 1.

2.2. Soil EC Measurement Principle

The current-voltage four-terminal method is the most classic method for measuring soil EC. The principle structure diagram is shown in Figure 2. A constant current source provides a constant current between J and K, and the voltage between M and N is measured by a voltmeter. The voltage drop at both ends is calculated, and the soil EC is calculated by this voltage drop [27].
When a conductor has a regular shape, its EC value is a function of cross-sectional area and length. However, soil is composed of various granular minerals, organic matter, moisture, air, microorganisms, etc., which is a very irregular and complex substance. It is a porous dispersion medium composed of countless soil particles arranged in layers, so the cross-sectional area and length cannot be measured, so there is a soil EC calculation formula for the structure of the soil [28]:
σ MN = 1 d JM 1 d JN 1 d KM 1 d KN 2 π I V MN = K I V MN ,
  • σ MN —Calculated soil EC (μS/cm)
  • d JM , d JN , d KM , d KN —The distance between the probes (cm)
  • I —Constant current source current (A)
  • V MN —Voltage between M and N probes (V)
When the output of the steady amplitude Alternating Current source is constant, the soil EC is in inverse proportion to the voltage drop at the voltage terminal.
In particular, a constant current source using a direct current excitation method is prone to polarization, so alternating current is usually used. Moreover, the constant current source cannot always be kept constant in the actual experiment. It will fluctuate due to the change of the load. Since the ground is irregular and its load changes all the time, the four-terminal method is usually improved as shown in Figure 3: An ammeter is connected in series with the constant current source circuit to obtain the actual value of the constant current source to ensure the accuracy of the current-voltage four-terminal method [29].

2.3. Principles of Soil Surface Image Analysis

The method of extracting soil surface texture features is gray level co-occurrence matrix method (GLCM). GLCM [30,31,32,33] is a classic second-order statistical algorithm. In 1973, Haralick proposed the use of a GLCM to describe texture features. This is because the texture is formed by the grey distribution repeatedly and alternately in the spatial position, so there must be a certain distance between two pixels in the image space. A certain grey level relationship is called the spatial correlation characteristics of grey levels in an image. The texture is described by studying the spatial correlation of grey levels. This is the ideological basis of the GLCM. It is composed of the joint probability density of gray levels. It can reflect the comprehensive information about the direction, adjacent interval, and change range of the image gray level. It is the basis for analyzing the local patterns of images and their arrangement rules. Based on the matrix, a variety of statistics can be calculated: Energy, entropy, contrast, uniformity, correlation, variance, sum average, etc. The most used parameters are as follows [34]:
Correlation: Correlation refers to the degree of correlation between related pixels and their neighboring pixels, which reflects the local gray-scale correlation in the image.
Cor = i j P i , j 1 + i j 2 ,
  • P—Image
  • (i,j)—Pixel coordinates
Energy: Energy measures the uniformity of the texture of an image and represents the repetitive information of pixel pairs.
Eng = i j P i , j 2 ,
  • P—Image
  • (i,j)—Pixel coordinates
Entropy: The meaning of entropy in physics is the degree of regularity of an object. The more orderly, the smaller the entropy, and the more disorderly, the greater the entropy. It represents the randomness and complexity of texture feature distribution.
Ent =   i j P i , j log P i , j ,
  • P—Image
  • (i,j)—Pixel coordinates
In actual use, the required texture parameters are selected for extraction according to the situation, but in most cases, the above parameters are directly used. After the research of predecessors in the laboratory, energy, homogeneity, entropy, energy, and moment of inertia have a high correlation with soil roughness, soil bulk density, root mean square height, and correlation length. By comparing the correlation between the root–mean–square height and the correlation length that characterize the soil surface roughness and the 12 texture feature parameters, the 4 texture features used in this article have the highest R2. The R2 of the root–mean–square height and the correlation length with the four texture parameters are as follows: The R2 of energy is 0.66 and 0.52; the R2 of entropy is 0.72 and 0.63; the R2 of momentum of inertia is 0.71 and 0.68; the R2 of correlation is 0.7 and 0.62. Therefore, this study uses four image parameters: Energy, entropy, moment of inertia, and correlation to predict soil texture [35].

2.4. Detector Design

Based on the measurement principle and method of soil EC and soil surface image, the detector is developed. The detector structure is shown in Figure 4. The whole structure is connected to the tractor by a rear-mounted three-point suspension. Two depth-limiting wheels on both sides can work together with the tractor hydraulic lifter to adjust the depth of soil. The hardware detector is mainly composed of three parts: 1. Disc electrode for measuring EC; 2. Industrial camera to obtain soil surface image; 3. Detector circuit (including constant current source generating circuit, data acquisition card, and GPS). The physical picture of the detector is shown in Figure 5. Two equipment boxes are designed on the beam to be placed symmetrically on both sides, one of which is placed with 12 V power supply lithium batteries and circuit modules, and the other is placed with equipment related to industrial cameras. The equipment is fixed in the equipment box with screws and custom-sized concave iron sheets to alleviate the impact of vibration, effectively prevent soil dust and rain from damage to the equipment, and increase the counterweight to make the sensor electrode fully contact the soil.
The soil EC part (1, 2, 3, 5 in Figure 4) has four disc electrodes, the diameter of the disc electrodes is 20 cm, and they are in close contact with the soil when they enter the soil. Since the disk electrode can roll easily, compared with the non-disk electrode, it can reduce the interference caused by soil resistance, improve the stability of the signal, and can measure soil EC information more accurately. When measuring the soil, adjust the depth limit wheel to ensure that 2/5 of the disk electrode is in the soil. The entire detector follows the tractor. The four disk electrodes are inserted into the soil to roll, and two external electrodes are used as constant current source output Electrodes, the two internal electrodes send the measured electrical signals to the system circuit through the brushes on both sides of the electrodes, and display them on the industrial flat panel after processing and calculation.
An industrial camera was used to get the image of soil surface (1, 7 in Figure 4). The industrial camera is detachable, and the position can be adjusted according to the actual farmland conditions. It has 10 million pixels (3664 × 2748) and a frame rate of 8. The aforementioned industrial camera is used to take an image of the soil surface and perform image processing to extract GLCM texture features in the whole system. According to the height and depth limit of wheel and the tractor, the image area is generally 20 cm × 20 cm. The centerline position of the four side-by-side disk electrodes is regarded as the EC measurement position, and the industrial camera is installed above the centerline.
These two parameters are input into the embedded model to predict the soil texture of the target plot.
The collected soil information can be browsed through industrial tablets or viewed through mobile phones. The mobile phone display interface is shown in Figure 6, which can view, manage, and analyze soil data.
The principle diagram of the detector is shown in Figure 7. The most important part of the whole detector is the data collection of two kinds of sensing devices: Disc type EC electrode and industrial camera. Four disc electrodes were used for measuring soil EC. Industrial camera was used for acquiring soil surface images. Among them, the industrial camera and the industrial tablet computer are directly connected through a USB cable. In order to achieve real-time and rapid data measurement, a high-speed data acquisition card is selected to ensure the flow and accuracy of the data, and a GPS receiver is also installed and used to record position information

2.5. Soil Samples and Experimental Preparation

The geographical coordinates of Beijing are 115.7~117.4° East longitude, 39.4~41.6° N latitude, with an area of 16,410 km2, an annual average temperature of 11.5 °C, and a precipitation of about 540.7 mm. The soil is mostly gray loess and brown gray soil. The soil is fertile and moderate in texture. The main soil texture is loam. The experiment site was in two districts of Beijing: Tongzhou and Haidian, and the soil texture is loam.
The distribution of experimental plots, paths and sampling plots is shown in Figure 8. The two farmlands are both 2500 m3 corn fields, and the sampling plot is 2.5 m × 2.5 m. Limited by the height of the camera, the shooting area is smaller than the area of the sampling cell and the conductivity measurement area, so shooting at the center of the sampling cell approximately represents the entire cell. The experiment content includes data collection and soil sample collection. A total of 185 soil samples were collected on the experimental path, including 100 in Tongzhou and 85 in Haidian, which were matched with measured values through GPS data. Each soil sample is 1 kg and the sampling depth is 10 cm. Each soil sample is divided equally by the 4-point method to measure the standard value of EC and soil texture.
Each soil sample is used to measure EC. The laboratory measurement method [36] is: Place the soil sample in the tray to air dry and pass through a 1 mm sample sieve. Weigh 10 g of the soil sample in a shaker bottle and add 50 mL of deionized water at 20 °C. Cover the bottle cap and place it on a reciprocating horizontal constant temperature oscillator to oscillate for 30 min. After oscillating, let it stand at 20 °C for 24 h. Take an appropriate amount of clear solution and measure it with a EC instrument. Record the data as the standard EC value of the soil sample.
Three soil texture types were measured, namely sandy loam (63 samples), light loam (97 samples) and medium loam (25 samples). The measurement method is: Using a laser particle size analyzer (NKT5200-H, Shandong Nikeite Analytical Instrument Co., Ltd., China) to perform wet measurement on the air-dried and sieved soil sample. After obtaining the analysis report, the soil samples are divided into sandy loam soil, light loam soil, and medium loam soil according to the Kaczynski soil classification standar [37] in Table 1.
In fact, the three texture types are relatively similar in particle size composition ratio. When the particle size of less than 0.01 mm is in the range of 10% to 20%, it is sandy loam, 20% to 30% is light loam, and 30% to 40% is medium loam. Therefore, it is difficult to distinguish the three kinds of soil texture manually through experience, and it is necessary to use a detector to measure.

3. Results

3.1. Electrical Conductivity and Texture Features

The descriptive statistics of the samples of sandy loam, light loam, and medium loam are shown in Table 2, including GLCM texture parameters and EC. The average EC values of sandy loam, light loam and medium loam were 271 μs/cm, 225 μs/cm, and 218 μs/cm respectively. As the percentage of soil physical clay particles (<0.01 mm) increased, EC showed a decreasing trend. Except for the EC data, the standard deviations are small, indicating that the data except for the EC are closer to the average and the data is relatively stable. Among them, the Correlation of sandy loam soil and light loam soil and the energy of sandy loam soil have larger absolute values of kurtosis, which are quite different from the normal distribution, except that they are basically in line with the normal distribution. The absolute value of skewness is small, indicating that the left and right sides of the dispersion are relatively even.
The average value of GLCM texture features extracted from 185 sample points is shown in Figure 9. The samples are divided into 3 texture types for comparison. The four pictures are respectively energy, entropy, moment of inertia, and correlation of the four texture feature values. The abscissas in the figure are 0°, 45°, 90°, and 135°, respectively, to extract the four feature value directions. It can be seen that the 4 texture values of the 3 texture types have obvious differences, and the change trend is regular, indicating that these 4 texture parameters have obvious help for texture classification. For entropy and moment of inertia, sandy loam, light loam, and medium loam show a decreasing trend. On the contrary, for energy and correlation, sandy loam, light loam, and medium loam show an increasing trend. This shows that the sandy loam soil is rougher, which is consistent with the actual situation.

3.2. Analysis of Soil EC Measurement Results

EC measurement is a key part of the vehicle-mounted soil texture detector. In order to verify the accuracy of EC measured by the detection instrument, a linear regression model of soil EC was established by using the 185 EC values actually measured by the detector in the farmland and the standard EC values measured by the laboratory extraction method. The result is shown in Figure 10.
It can be seen that the measured values are evenly distributed on both sides of the regression line, and the correlation analysis result R2 is 0.75. The results show that the soil EC data obtained by the vehicle-mounted soil texture detector has high accuracy.

3.3. Analysis of Soil Texture Measurement Results

The prediction model embedded in the vehicle-mounted soil texture detector is a support vector machine (SVM) model. SVM has been proved to have outstanding advantages in the case of small sample sizes, which can avoid the problem of neural network structure selection and local minimum points, and has excellent learning performance and good robustness [38]. The kernel function used by the built-in model of the detector is the RBF function, and the optimization results of the model parameters are: C is 50.61 and g is 2.93.
In order to verify that the combination of the two parameters of soil EC and GLCM texture features extracted from soil surface images is the optimal input, the following experiments were carried out: Soil texture is predicted only by soil EC; soil texture is predicted by using GLCM texture feature extracted from soil surface image; soil is predicted by combining soil EC with GLCM texture feature extracted from soil surface image Texture. The results are shown in Table 3.
The GLCM texture parameters extracted from soil surface images and soil EC are input to the built-in SVM model of the detector. The soil texture measurement value predicted by the vehicle-mounted soil texture detector is analyzed with the standard value measured by the laser particle size analyzer. The correct rate of the tester’s measurement was verified, and the result is shown in Figure 11. The correct rate is the ratio of the number of correct samples to the total number of samples.
The x-axis in Figure 11 is the serial number of the soil sample. In order to display the measurement results more directly in the figure, the samples were not sorted according to the number of the samples collected during the experiment, but 185 samples were re-sorted according to the type of soil texture. The first 63 samples are sandy loam soil, the last 25 samples are medium loam soil, and the remaining 97 samples are light loam soil.
Among them, the prediction accuracy rate of only using soil EC to predict soil texture is 56.21% (104/185); only using GLCM texture features extracted from soil surface images to predict soil texture is 78.38% (145/185); using soil EC and soil surface The combination of GLCM texture features extracted from the image has the highest accuracy in predicting soil texture, with a total accuracy of 84.86% (157/185). Among them, the prediction accuracy rate of sandy loam and light loam is above 87%. The correct rate of medium loam soil was 64%, and 9 samples were wrongly judged as light loam soil. The reasons may be: In the Kaczynski soil texture classification standard, the content of physical clay particles (<0.01 mm) is light loam when the content is 20~30%, and the content is medium loam when the content is 30~40%. The content of physical clay (<0.01 mm) is about 30.5%, which is on the dividing line of the two textures, and the difference is small, so the judgment is wrong.
The results show that the vehicle-mounted soil texture detector can use the original farmland information to predict the soil texture with high accuracy, and the combination of soil EC and soil surface image is the optimal input.

4. Discussion

First of all, the detector is designed and developed on the principle of soil EC and surface texture characteristics. The hardware part is stable and meets the needs through observation and inspection during the experiment. The results of field experiments show that the combination of EC and GLCM texture is the best input, and the detector has high accuracy in soil texture measurement.
In the current research, the first-order statistical features (such as skewness and kurtosis) are only related to the attributes of a single pixel, and cannot reflect the spatial relationship of pixels in the image, so the gray-scale method is used to propose the second-order statistical texture feature [39]. Chen [40] used GLCM texture extracted from simulated tumor images to distinguish true progression and false progression of glioblastoma treated with radiotherapy and temozolomide, with an accuracy of 86.4%, and found that correlation was related to abnormal inhomogeneity, and texture characteristics of energy and entropy were related to local homogeneity, which was consistent with the experimental results of this study. Among them, GLCM texture is widely used in image-based classification research. Ou [41] used GLCM to conduct in vivo skin capacitance imaging analysis. He found that because the texture on three different skin positions became denser with the increase of the number of tape peelings, the entropy value was at the three different skin positions. It shows an upward trend, which is consistent with the results of this study. As the soil particle composition becomes finer, the entropy value gradually decreases. Cho [42] studied a linear regression model for estimating clay texture content with EC as an independent variable. This model provides a good degree of fit on the surface, but the degree of fit decreases with depth, from 0.84 to 0.23. The study shows that EC It contributes to the prediction of soil texture, but it cannot be explained by simple rules. This is also consistent with the viewpoint expressed by Kelleners [43]. Mahmood [44] used EM38 to predict soil texture. In the farmland with 37% clay content, R2 measured by EM38 and clay, loam and sand are 0.28, 0.34, and 0.39 respectively. In the farmland with very low clay content (5%), the R2 measured by EM38 and clay, loam and sand were 0.49, 0.09, and 0.05, while in the farmland with an average clay content of 19%, the R2 measured by EM38 and clay, loam and sand were 0.2, 0.71 and 0.72, respectively. It can be seen that EC and texture have a certain correlation, but how they affect each other is unknown. In fact, all kinds of soil physical parameters are interrelated and restricted each other, so it is impossible to predict soil texture comprehensively and accurately by single parameter, when studying EC and soil texture, it is necessary to assume uniform fertility [45], but this is not noticed in most studies, and the fertility of collected soil samples is indeed difficult to actively select and control, so the low correlation between EC and texture and the difficulty in summarizing the law can be attributed to this.
The detector is vehicle mounted and suitable for large-scale farmland or farmland with different crops in each small area. In particular, most of China’s farmland is small area, but the aggregation is dense, and the single farmland area is small, but the aggregation scale becomes larger. The farmland in a single small area cultivates different crops, so it is more suitable to use vehicle mounted detector to measure the soil texture, which can obtain the texture type of the region and give the most suitable suggestions for planting a certain crop.
In addition, the detector also has limitations. Due to the unevenness and heterogeneity of the soil, the image may be affected by weather conditions (such as rain, fog, snow, drought, and cloudy). For example, it may have a negative impact on the camera’s focus, or white balance and exposure issues under strong light conditions. Therefore, the experiments in this study have manually avoided the harsh environment and selected suitable weather and experimental farmland. We plan to expand research in the future to enhance the ability of the detector to adapt to different environments.
Finally, the detector provides a reference for measuring soil physical parameters using only the original information of farmland. We also plan to add a deep loose plow to the detector in the future to estimate soil bulk density and total porosity. For example, first predict the texture of the target plot, and then predict the soil bulk density and total porosity based on the texture type to increase accuracy.

5. Conclusions

In this study, a vehicle-mounted soil texture detector was designed and developed based on soil EC and soil surface image. Four disc electrodes are used to obtain the EC by the current-voltage four-terminal method, and the industrial camera is used to capture the soil surface image and extract the GLCM texture feature. The EC and GLCM are input into the embedded SVM model of the detector to obtain the soil texture information of the target plot.
  • Based on the feasibility analysis of the texture measurement principle, the soil EC is combined with the machine vision device, and the SVM model is used as the embedded model to obtain and analyze the in-situ texture information of farmland soil in real time. Compare the results obtained by this method with the standard method data. The results show that this method of obtaining in-situ texture information of farmland soil does not require chemical reagents, long test time, and artificial energy, and it is a new method to quickly obtain soil texture in real time.
  • The correlation analysis between the farmland measurement results of the in-situ vehicle-mounted soil texture detector and the results obtained by the laboratory standard method is carried out, and the correlation analysis result R2 of the soil EC measurement is 0.75. The accuracy rate of soil texture prediction data obtained by combining EC and GLCM using the embedded model reached 84.86%. The results show that the vehicle-mounted soil texture detector combined with EC and GLCM can predict the soil texture of the target plot based on the original information of the farmland, and has high accuracy.

Author Contributions

Conceptualization, C.M. and W.Y.; methodology, C.M. and W.Y.; software, H.L.; validation, C.M., X.R., and M.L.; formal analysis, W.Y.; investigation, C.M.; resources, W.Y.; data curation, C.M.; writing—original draft preparation, C.M.; writing—review and editing, W.Y.; visualization, H.L.; supervision, W.Y.; project administration, M.L.; funding acquisition, W.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Chinese National Key Research and Development Plan (Grant No. 2016YFD0700300-2016YFD0700304), and the National Natural Science Foundation of China (Grant No. 31801265).

Acknowledgments

Thanks to Weichao Wang, Dong Wang, and Yulu Cui for their help in the field experiment.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Meng, C.; Yang, W.; Zhang, M.; Han, Y.; Li, M.Z. Development of Real-time Measurement System for Vehicle mounted Soil Conductivity and Mechanical Resistance. Trans. Chin. Soc. Agric. Mach. 2019, 50, 102–107. [Google Scholar] [CrossRef]
  2. Li, H.R.; Liu, B.; Wang, R.X.; Liu, W.; Fang, Y.; Yang, D.L. Particle-size Distribution Affected by Testing Method. J. Desert Res. 2018, 38, 619–627. [Google Scholar] [CrossRef]
  3. Wang, W.P.; Liu, J.L.; Zhang, J.B.; Li, X.P. Evaluation and correction of measurement using diffraction method for soil particle size distribution. Trans. Chin. Soc. Agric. Eng. 2014, 30, 163–169. [Google Scholar] [CrossRef]
  4. Faé, G.S. Making Soil Particle Size Analysis by Laser Diffraction Compatible with Standard Soil Texture Determination Methods. Soil Sci. Soc. Am. J. 2019, 83, 124. [Google Scholar] [CrossRef] [Green Version]
  5. Zhu, Y.; Zhang, Z.D.; Liu, C.; Zhang, X. Comparison of Laser Diffraction Method and Pipette Method on Soil Particle Size Distribution Determination—A Case Study of Variously Degraded Kastanozem. Res. Soil Water Conserv. 2018, 25, 62–67. [Google Scholar] [CrossRef]
  6. Vos, C.; Don, A.; Prietz, R. Field-based soil-texture estimates could replace laboratory analysis. Geoderma 2016, 267, 215–219. [Google Scholar] [CrossRef]
  7. Hobley, E.U.; Prater, I. Estimating soil texture from vis–NIR spectra. Eur. J. Soil Sci. 2019, 70, 83–95. [Google Scholar] [CrossRef] [Green Version]
  8. Jović, B.; Ćirić, V.; Kovačević, M.; Šeremešić, S.; Kordić, B. Empirical equation for preliminary assessment of soil texture. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2019, 206, 506–511. [Google Scholar] [CrossRef]
  9. Wu, W.; Yang, Q.; Lv, J.; Li, A.; Liu, H. Investigation of Remote Sensing Imageries for Identifying Soil Texture Classes Using Classification Methods. IEEE Trans. Geosci. Remote Sens. 2019, 57, 1653–1663. [Google Scholar] [CrossRef]
  10. Castaldi, F.; Palombo, A.; Santini, F.; Pascucci, S.; Pignatti, S.; Casa, R. Evaluation of the potential of the current and forthcoming multispectral and hyperspectral imagers to estimate soil texture and organic carbon. Remote Sens. Environ. 2016, 179, 54–65. [Google Scholar] [CrossRef]
  11. Zhai, Y.; Thomasson, J.A.; Boggess, J.E.; Sui, R. Soil texture classification with artificial neural networks operating on remote sensing data. Comput. Electron. Agric. 2006, 54, 53–68. [Google Scholar] [CrossRef]
  12. Dematte, J.A.M.; Fiorio, P.R.; Ben-Dor, E. Estimation of Soil Properties by Orbital and Laboratory Reflectance Means and its Relation with Soil Classification. Open Remote Sens. J. 2009, 2, 12–23. [Google Scholar] [CrossRef]
  13. Odeh, I.O.A.; McBratney, A.B. Using AVHRR images for spatial prediction of clay content in the lower Namoi Valley of eastern Australia. Geoderma 2000, 97, 237–254. [Google Scholar] [CrossRef]
  14. Wu, J.; Li, Z.; Gao, Z.; Wang, B.; Bai, L.; Sun, B. Degraded land detection by soil particle composition derived from multispectral remote sensing data in the Otindag Sandy Lands of China. Geoderma 2015, 241, 97–106. [Google Scholar] [CrossRef]
  15. Castaldi, F.; Casa, R.; Castrignanò, A.; Pascucci, S.; Palombo, A.; Pignatti, S. Estimation of soil properties at the field scale from satellite data: A comparison between spatial and non-spatial techniques. Eur. J. Soil Sci. 2014, 65, 842–851. [Google Scholar] [CrossRef]
  16. Li, M.; Sasao, A.; Shibusawa, S. Local variability of soil nutrient parameters in japanese small size field. J. Jsam 2010, 61, 141–147. [Google Scholar] [CrossRef]
  17. Heil, K.; Schmidhalter, U. Characterisation of soil texture variability using the apparent soil electrical conductivity at a highly variable site. Comput. Geosci. 2012, 39, 98–110. [Google Scholar] [CrossRef]
  18. Jia, S.; Li, H.; Wang, Y.; Tong, R.; Li, Q. Hyperspectral Imaging Analysis for the Classification of Soil Types and the Determination of Soil Total Nitrogen. Sensors 2017, 17, 2252. [Google Scholar] [CrossRef]
  19. De Oliveira Morais, P.A.; de Souza, D.M.; de Melo Carvalho, M.T.; Madari, B.E.; de Oliveira, A.E. Predicting soil texture using image analysis. Microchem. J. 2019, 146, 455–463. [Google Scholar] [CrossRef]
  20. Fisher, P.; Aumann, C.; Chia, K.; O’Halloran, N.; Chandra, S. Adequacy of laser diffraction for soil particle size analysis. PLoS ONE 2017, 12, e0176510. [Google Scholar] [CrossRef] [Green Version]
  21. Andrenelli, M.C.; Fiori, V.; Pellegrini, S. Soil particle-size analysis up to 250 μm by X-ray granulometer: Device set-up and regressions for data conversion into pipette-equivalent values. Geoderma 2013, 192, 380–393. [Google Scholar] [CrossRef]
  22. Kitchen, N.R.; Sudduth, K.A.; Drummond, S.T. Soil Electrical Conductivity as a Crop Productivity Measure for Claypan Soils. J. Prod. Agric. 1999, 12, 607–617. [Google Scholar] [CrossRef]
  23. Si, C.; Kai, Z.; Tao, J.; Xiaofeng, L.; Xingming, Z.; Xiangkun, W. Predicting Surface Roughness and Moisture of Bare Soils Using Multi-band Spectral Reflectance Under Field Conditions. Chin. Geogr. Sci. 2018, 28, 986–997. [Google Scholar] [CrossRef] [Green Version]
  24. Yong, Z.; Minzan, L.; Junning, Z. Correlation between soil electrical conductivity and winter wheat yield. Trans. Chin. Soc. Agric. Eng. 2009, 25, 34–37. [Google Scholar] [CrossRef]
  25. Li, L.; Wang, D.; Wang, P.; Huang, J.; Zhu, D. Soil surface roughness measurement based on color operation and chaotic particle swarm filtering. Trans. Chin. Soc. Agric. Mach. 2015, 46, 158–165. [Google Scholar] [CrossRef]
  26. García Moreno, R.; Saa Requejo, A.; Tarquis Alonso, A.M.; Barrington, S.; Díaz, M.C. Shadow analysis: A method for measuring soil surface roughness. Geoderma 2008, 146, 201–208. [Google Scholar] [CrossRef] [Green Version]
  27. Pei, X.; Meng, C.; Li, M.; Yang, W.; Zhou, P. Measurement of soil electrical conductivity based on direct digital synthesizer (DDS) and digital oscilloscope. Int. J. Agric. Biol. Eng. 2019, 12, 162–168. [Google Scholar] [CrossRef]
  28. Han, Y.; Yang, W.; Li, M.; Meng, C. Comparative Study of Two Soil Conductivity Meters Based on the Principle of Current-Voltage Four-Terminal Method. IFAC PapersOnLine 2019, 52, 36–42. [Google Scholar] [CrossRef]
  29. Pei, X.S. Development and Experimental Research of Vehicle-Mounted Multiple Detection System for Soil Electrical Conductivity. Ph.D. Thesis, China Agricultural University, Beijing, China, 2019. [Google Scholar]
  30. Pare, S.; Bhandari, A.K.; Kumar, A.; Singh, G.K. An optimal color image multilevel thresholding technique using grey-level co-occurrence matrix. Expert Syst. Appl. 2017, 87, 335–362. [Google Scholar] [CrossRef]
  31. Awais, M.; Ghayvat, H.; Pandarathodiyil, A.K. Healthcare professional in the loop (HPIL): Classification of standard and oral cancer-causing anomalous regions of oral cavity using textural analysis technique in autofluorescence imaging. Sensors 2020, 20, 5780. [Google Scholar] [CrossRef]
  32. Kulkarni, A.; Carrion-Martinez, I.; Dhindsa, K.; Alaref, A.A.; Rozenberg, R. Pancreas adenocarcinoma CT texture analysis: Comparison of 3D and 2D tumor segmentation techniques. Abdom. Radiol. 2020. [Google Scholar] [CrossRef] [PubMed]
  33. Guan, H.; Liu, H.; Meng, X.; Luo, C.; Bao, Y.; Ma, Y.; Yu, Z.; Zhang, X. A Quantitative Monitoring Method for Determining Maize Lodging in Different Growth Stages. Remote Sens. 2020, 12, 3149. [Google Scholar] [CrossRef]
  34. Wang, H.P.; Li, H. Classification recognition of impurities in seed cotton based on local binary pattern and gray level co-occurrence matrix. Trans. CSAE 2015, 31, 236–241. [Google Scholar] [CrossRef]
  35. Liu, Z. Image-Based Prediction of Soil Roughness and Soil Bulk Density. Master’s Thesis, China Agricultural University, Beijing, China, 2020. [Google Scholar]
  36. Ministry of Agriculture of the People’s Republic of China. Soil Testing. Part 3: Determination of Soil Mechanical Composition; NY/T 1121.3-2006; Ministry of Agriculture of the People’s Republic of China: Beijing, China, 2006.
  37. Deng, S.Q. Suggestions on Modifying and Supplementing my country’s Soil Texture Classification System. Soil 1986, 6, 304–311. [Google Scholar] [CrossRef]
  38. Ding, S.; Yu, J.; Qi, B.; Huang, H. An overview on twin support vector machines. Artif. Intell. Rev. 2012, 42, 245–252. [Google Scholar] [CrossRef]
  39. Park, Y.; Guldmann, J.M. Measuring Continuous Landscape Patterns with Gray-Level Co-Occurrence Matrix (GLCM) Indices: An Alternative to Patch Metrics? Ecol. Indic. 2020, 109, 1–18. [Google Scholar] [CrossRef]
  40. Chen, X.; Wei, X.; Zhang, Z.; Yang, R.; Zhu, Y.; Jiang, X. Differentiation of true-progression from pseudoprogression in glioblastoma treated with radiation therapy and concomitant temozolomide by glcm texture analysis of conventional mri. Clin. Imaging 2015, 39, 775–780. [Google Scholar] [CrossRef]
  41. Ou, X.; Pan, W.; Xiao, P. In vivo skin capacitive imaging analysis by using grey level co-occurrence matrix (GLCM). Int. J. Pharm. 2014, 460, 28–32. [Google Scholar] [CrossRef] [Green Version]
  42. Cho, Y.; Sudduth, K.A.; Chung, S. Soil physical property estimation from soil strength and apparent electrical conductivity sensor data. Biosyst. Eng. 2016, 152, 68–78. [Google Scholar] [CrossRef] [Green Version]
  43. Kelleners, T.J.; Verma, A.K. Measured and Modeled Dielectric Properties of Soils at 50 Megahertz. Soil Sci. Soc. Am. J. 2010, 74, 744–752. [Google Scholar] [CrossRef]
  44. Mahmood, H.S.; Hoogmoed, W.B.; Henten, E.J. Sensor data fusion to predict multiple soil properties. Precis. Agric. 2012, 13, 628–645. [Google Scholar] [CrossRef]
  45. Sun, Y.R.; Wang, M.H. A Mathematical Model and Its Experimental Study for a Kind of Measurement Method of Soil Electric Conductivity. Trans. Chin. Soc. Agric. Eng. 2001, 2, 20–23. [Google Scholar] [CrossRef]
Figure 1. Flow chart of soil texture prediction.
Figure 1. Flow chart of soil texture prediction.
Sensors 20 07175 g001
Figure 2. Schematic diagram of current-voltage four-terminal method.
Figure 2. Schematic diagram of current-voltage four-terminal method.
Sensors 20 07175 g002
Figure 3. Improved current-voltage four-terminal method schematic diagram.
Figure 3. Improved current-voltage four-terminal method schematic diagram.
Sensors 20 07175 g003
Figure 4. Detector structure diagram. 1 Industrial tablet computer; 2 Data acquisition card; 3 Circuit 1; 4 Circuit 2; 5 Disc electrode; 6 Deep loose plough; 7 Industrial camera; 8 GPS locator; 9 Mobile phone; 10 Centerline.
Figure 4. Detector structure diagram. 1 Industrial tablet computer; 2 Data acquisition card; 3 Circuit 1; 4 Circuit 2; 5 Disc electrode; 6 Deep loose plough; 7 Industrial camera; 8 GPS locator; 9 Mobile phone; 10 Centerline.
Sensors 20 07175 g004
Figure 5. Physical image of detector.
Figure 5. Physical image of detector.
Sensors 20 07175 g005
Figure 6. Mobile phone interface.
Figure 6. Mobile phone interface.
Sensors 20 07175 g006
Figure 7. Schematic diagram of detector.
Figure 7. Schematic diagram of detector.
Sensors 20 07175 g007
Figure 8. Experimental plots, paths, sampling plots.
Figure 8. Experimental plots, paths, sampling plots.
Sensors 20 07175 g008
Figure 9. GLCM texture feature average map. (a) Average of Energy; (b) Average of Entropy; (c) Average of Moment of inertia; (d) Average of Correlation.
Figure 9. GLCM texture feature average map. (a) Average of Energy; (b) Average of Entropy; (c) Average of Moment of inertia; (d) Average of Correlation.
Sensors 20 07175 g009
Figure 10. Soil EC measurement results.
Figure 10. Soil EC measurement results.
Sensors 20 07175 g010
Figure 11. Soil texture measurement results.
Figure 11. Soil texture measurement results.
Sensors 20 07175 g011
Table 1. Kaczynski’s standard for classification of soil texture.
Table 1. Kaczynski’s standard for classification of soil texture.
Soil
Texture
Physical Clay (<0.01 mm) ContentPhysical Clay (>0.01 mm) Content
PodzolGrassland Soil, Red and Yellow SoilColumnar Alkaline Soil, Strong Alkaline SoilPodzolGrassland Soil, Red and Yellow SoilColumnar Alkaline Soil, Strong
Alkaline Soil
SandLoose sand0–50–50–5100–95100–95100–90
Tight sand5–105–105–1095–9095–9095–90
LoamSandy loam10–2010–2010–1590–8090–8090–85
Light loam20–3020–3015–2080–7080–7085–80
Middle loam30–4030–4520–3070–6070–5580–70
Heavy loam40–5045–6030–4060–5055–4070–60
ClayLight clay50–6560–7540–5050–3040–2560–50
Medium clay65–8075–8550–6535–2025–1550–35
Heavy clay>80>85>65<20<15<35
Table 2. Sample descriptive statistics table. GLCM—gray level co-occurrence matrix method; EC—electrical conductivity.
Table 2. Sample descriptive statistics table. GLCM—gray level co-occurrence matrix method; EC—electrical conductivity.
TextureGLCM and ECMeanStandard ErrorMedianStandard DeviationKurtosisSkewness
Sandy loamEnergy0.02210.00210.01900.01595.73482.3370
Entropy4.44080.06024.56560.46622.6134−1.6601
M of I5.05490.31725.85992.4570−0.8623−0.4730
Correlation0.06090.00390.05220.030128.98584.9598
EC271.6658.9177257.00069.07650.38770.9216
Light loamEnergy0.03600.00210.03260.020217.27072.7564
Entropy3.78610.04903.69550.4800−0.03210.6633
M of I1.63190.20230.72091.98232.88622.0293
Correlation0.10910.00670.09660.065220.04783.0386
EC225.06356.3721201.50062.43391.56931.2774
Middle loamEnergy0.04310.00290.03760.0145−0.10020.7838
Entropy3.49650.05563.56910.2779−1.1965−0.2736
M of I0.58140.04110.51070.2053−1.44420.3729
Correlation0.12190.00960.10460.04791.57271.3814
EC218.78411.676199.30058.38011.38561.2557
Table 3. Soil texture measurement result table.
Table 3. Soil texture measurement result table.
Input Predicted Soil Texture
Sandy LoamLight LoamMiddle LoamCorrect Rate
Actual soil textureSandy loam3231050.79%
ECLight loam2572074.23%
Middle loam417416%
Total correct rate----56.21%
Actual soil textureSandy loam5210182.59%
GLCMLight loam1185187.63%
Middle loam0151040%
Total correct rate----78.38%
Actual soil textureSandy loam567088.89%
EC and GLCMLight loam885487.63%
Middle loam091664%
Total correct rate----84.86%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Meng, C.; Yang, W.; Lan, H.; Ren, X.; Li, M. Development and Application of a Vehicle-Mounted Soil Texture Detector. Sensors 2020, 20, 7175. https://doi.org/10.3390/s20247175

AMA Style

Meng C, Yang W, Lan H, Ren X, Li M. Development and Application of a Vehicle-Mounted Soil Texture Detector. Sensors. 2020; 20(24):7175. https://doi.org/10.3390/s20247175

Chicago/Turabian Style

Meng, Chao, Wei Yang, Hong Lan, Xinjian Ren, and Minzan Li. 2020. "Development and Application of a Vehicle-Mounted Soil Texture Detector" Sensors 20, no. 24: 7175. https://doi.org/10.3390/s20247175

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