Literature DB >> 33644526

Prediction Model of Dry Fertilizer Crushing Force Based on P-DE-SVM.

Hongjian Zhang1,2, Xuemei Liu1,2, Shuangxi Liu1,2, Hao Jiang1,2, Chunbao Xu1,2, Jinxing Wang1,2.   

Abstract

The accurate prediction of fertilizer crushing force could reduce the crushing rate in the process of transportation and utilization and ensure the efficient utilization of the fertilizer so as to realize the sustainable and clean production of crops. To achieve this goal, a fertilizer crushing force prediction model based on the shape characteristics was proposed in this paper using the Pearson correlation coefficient, differential evolution algorithm, and the support vector machine (P-DE-SVM). First, the shape characteristics and crushing force of fertilizers were measured by an independently developed agricultural material shape analyzer and digital pressure gauge, and the shape characteristics related to the fertilizer crushing force were proposed based on the Pearson correlation coefficient. Second, a fertilizer crushing force prediction model based on a support vector machine was constructed, in which the optimal kernel function was the radial basis function. Finally, a differential evolution algorithm was proposed to optimize the internal parameters of the fertilizer-crushing force prediction model, and at the same time, a fertilizer granularity inspection range was calculated. The experimental results showed that the maximum error rate of the fertilizer crushing force prediction model was between -10.4 and 10.9%, and the fertilizer granularity inspection range was reasonable. The proposed prediction model in this paper could lay a solid foundation for fertilizer production and quality inspection, which would help reduce fertilizer crushing and improve fertilizer utilization to realize the sustainable and clean production of crops.
© 2021 The Authors. Published by American Chemical Society.

Entities:  

Year:  2021        PMID: 33644526      PMCID: PMC7906496          DOI: 10.1021/acsomega.0c05120

Source DB:  PubMed          Journal:  ACS Omega        ISSN: 2470-1343


Introduction

As one of the most important basic substances in agricultural production, fertilizers play an important role in ensuring the safety of food production and the high yield of agriculture.[1] China is the world’s major fertilizer production and application country. In 2018, the total output of agricultural fertilizers reached 54.18 million tons, and the application amount of agricultural fertilizers reached 56.534 million tons, accounting for around 1/3 of the world’s total.[2] Fertilizers are easily broken during transportation and utilization, causing fertilizer to cake, affecting the diffusion of fertilizer nutrients, and resulting in low fertilizer utilization.[3,4] Therefore, accurate prediction of fertilizer crushing force is of great significance for reducing fertilizer waste and improving fertilizer utilization. The particle shape affects the mechanical and flow behavior of the granular material.[5,6] For example, corner sand tends to have high shear strength, stress concentration at the contact, resistance to flow, and liquefaction.[7] Besides, particle morphology also affects the interaction of particles with fluid and air, such as drag coefficient and mineral floatability.[8] Therefore, shape characteristic is an important parameter for predicting and controlling the properties of granular materials. Fertilizer is an important kind of agricultural granule. Its shape characteristics affect the appearance quality, strength, fluidity, and the effect of machine-seeded fertilizer and have important significance for the design and research of agricultural machinery.[9,10] Kan et al.[11] found that the higher the sphericity of the fertilizer, the denser the fertilizers, the higher the strength of the fertilizer; the higher the roundness of the fertilizer, the smoother and more uniform the fertilizer, the greater the porosity of the fertilizer, and the faster the heat dissipation, the better the fluidity. Research by Hofstee and Huisman[12] found that the five physical properties that affect fertilizer movement are fertilizer granularity, strength, friction coefficient, recovery coefficient, and aerodynamic resistance. Among them, the strength of the fertilizer indirectly affects its movement, and fertilizers with low strength will rupture during movement, resulting in changes in the size of fertilizers, affecting the distribution of particle nutrients. Cao et al.[13] found through research that the shape of the fertilizer and the pore structure formed by fertilizer accumulation affect the diffusion of fertilizer salt ions, which in turn affects fertilizer performance. Basu and Kumar[14] and Terry[15] found through research that the granularity of fertilizer affects the separation and release time of fertilizer nutrients. Through model tests, Hoffmeister, Watkins, and Silverberg[16] found that the difference in fertilizer granularity, shape, and density affects the changing trend of nutrient separation during the transportation and spread of blended fertilizers. Fertilizers are irregularly shaped particles, and it is difficult to accurately measure their shape characteristics manually. With the rapid development of computer and software technology, it is possible to measure particle shape with the help of computer technology. Fernlund[17] measured the axial length of the long axis, the middle axis, and the short axis of the coarse aggregate through the 3D image analysis method, and the result showed that the measurement result of this method has a good correlation with the measurement result of the Danish box. Zhang, Ye, Chen, and Li[18] used digital image technology to measure and evaluate the shape of gravel particles. In recent years, artificial intelligence and machine learning theories have been widely studied and applied. Machine learning methods based on statistical theory, such as neural networks, decision trees, and support vector machines, show excellent performance when dealing with classification and prediction problems.[19] Compared with the neural network, the support vector machine is constructed according to the structural risk minimization criterion, which can reduce the probability of model overfitting and make up for the shortcomings of the neural network. The insensitive area in the structure can absorb the small-scale random fluctuations that appear in the random response, so it still has a good predictive ability in the case of a small amount of data.[20] Support vectors have developed rapidly in various fields, such as small samples, nonlinearity, and pattern recognition, and can be extended to other practical problems such as function fitting.[21] Stevens, Nocita, Tóth, Montanarella, and van Wesemael[22] used support vector machines and Cubist to predict organic carbon. Lu, Zhang, Wu, Ma, Liao, and Hu[23] built a prediction model for the cutting speed, feed rate, depth of cut, and surface roughness in the milling of vermicular graphite cast iron based on support vector machines and verified the validity of the prediction model. Li, Gui, and Zhu[24] used convolutional neural networks to extract the features of foam images and built a fault diagnosis model in the flotation process based on support vector machines. Based on the above research studies, it is found that the shape characteristics affect fertilizer crushing force. Fertilizers with low crushing force are more likely to be crushed during transportation and utilization. Crushed fertilizers affect nutrient diffusion, reduce fertilizer utilization, and pollute the environment, which is not conducive to the sustainable production of crops. So far, there are few studies on support vector machines in fertilizer crushing force prediction models. To predict the fertilizer crushing force and reduce the fertilizer crushing rate, the triaxial characteristics, roundness, sphericity, granularity, and crushing force of the fertilizer were measured by an agricultural material shape analyzer and digital pressure gauge. Based on the Pearson correlation coefficient, the support vector machine, and the improved differential evolution algorithm (P-DE-SVM), a fertilizer crushing force prediction model was constructed, and the fertilizer granularity inspection range was calculated.

Materials and Methods

Description Method of Fertilizer Shape Characteristics

Triaxial Characteristics

The macroscopic outline of particles is usually represented by three mutually perpendicular axes, namely, the long axis, the middle axis, and the short axis, which are equivalent to the dimensions of the length, width, and thickness of the particle. In a natural and stable state, the length of the particles refers to the largest dimension in the plane projection graph, the width refers to the linear dimension perpendicular to the length direction, and the thickness refers to the linear dimension perpendicular to the length and width directions. The relationship between the three axes of particles can be expressed by the equiaxed rate and flake rate[25]where k is the particle equiaxed rate, λ is the particle flake rate, a is the particle length, b is the particle width, and c is the particle thickness.

Roundness

The roundness (σ) reflects the sharpness of the edges and corners of the particles. The particle roundness is defined as[26]where L is the particle projection contour circumference, and A is the particle projection area.

Sphericity

Sphericity (φ) reflects how close the particle is to the sphere. The particle sphericity is defined as[27] According to the definition of the particle sphericity, if the particle is equated as an ellipsoid, the equivalent volume v of the particle is[28] Substituting formula can obtain the calculation formula of particle sphericitywhere v is the equivalent volume, and vs is the volume of the smallest sphere circumscribed by the particle (a sphere whose diameter is length a).

Granularity

Granularity (d) is used to indicate the size of the particles, which can be expressed as the single size of a single particle or the average granularity of a group of particles. The granularity d of a single spheroid is[29]where d is the granularity.

Measurement Method of Fertilizer Shape Characteristics

Measurement of Fertilizer Shape Characteristics

We use the agricultural material shape analyzer independently developed to obtain the fertilizer shape parameters. The structure of the machine is shown in Figure . It is mainly composed of the base, the objective stage, the stepping motor, the top camera, the top lens, the side camera, the side lens, the power supply, the upper computer, and the lower microcomputer. Among them, the stepping motor is an 86BYG250H two-phase motor produced by Pfide Electric Co., Ltd., with a step angle of 1.8°. The top camera and the side camera are both FL-U3-13S2C-CS industrial cameras produced by Point Grey, and the resolution is 1328 × 1048. The top lens and the side lens are both FL-CC3516-2M fixed-focus lenses produced by Pentax, with a focal length of 35 mm.
Figure 1

Three-dimensional structure of the machine and fertilizer collection process. 1. Upper computer 2. Base 3. Adjusting foot 4. Lower microcomputer 5. Driver 6. Stepper motor 7. Power conversion module 8. Power supply 9. Objective stage 10. Fertilizer to be tested 11. Side lens 12. Side camera 13. Side notch 14. Data transmission line 15. Top lens 16. Camera adjustment frame 17. Top notch 18. Top camera.

Three-dimensional structure of the machine and fertilizer collection process. 1. Upper computer 2. Base 3. Adjusting foot 4. Lower microcomputer 5. Driver 6. Stepper motor 7. Power conversion module 8. Power supply 9. Objective stage 10. Fertilizer to be tested 11. Side lens 12. Side camera 13. Side notch 14. Data transmission line 15. Top lens 16. Camera adjustment frame 17. Top notch 18. Top camera. The agricultural material shape analyzer uses intermittent static collection mode to automatically collect the top and side images of a single fertilizer. The objective stage is engraved with a cross calibration, and the fertilizer to be tested is first placed at the center of cross calibration. The objective stage is connected to the stepping motor through a half-circle key, and the lower microcomputer controls the rotation of the stepping motor to drive the stage to achieve the rotation of the fertilizer to be tested. The stepping motor stops after the set angle is rotated, the lower microcomputer sends a rotation completion command to the upper computer through the serial port, and the upper computer controls the top and side cameras to collect the top and side images of the fertilizer to be tested. After the acquisition is completed, the upper computer sends an image acquisition completion command to the lower microcomputer through the serial port, and the lower microcomputer controls the stepping motor to rotate again. We repeat this process until the top and side images of the target number are obtained. The collection process is shown in Figure . To establish the relationship between the actual size of the fertilizer and the pixels, the image information of the calibration target (10 mm × 10 mm black square) is collected, and the grayscale and binarization process is performed. The process is shown in Figure . In the threshold image, the target area is black and the threshold value is 0. The threshold image is traversed by pointer scanning, and the number of rows of all pixels that meet the defined threshold is counted N0 = 550. According to formula , the actual length represented by a single pixel (L0) is 0.018 mm. After the length calibration and the images of the single fertilizer are all collected, the upper computer analyzes the top and side images to obtain the basic parameters of the fertilizer, as shown in Figure . The specific process is as follows:
Figure 2

Length calibration. Note: a, b, and c refer to the length, width, and thickness of fertilizers, respectively.

Figure 3

Extraction process of particle shape parameters.

The top and side images are grayscale and Gamma-corrected, and the edge detection is performed on the top and side grayscale images of the fertilizer using the Canny operator to obtain the top and side contour images of the fertilizer. In the top contour image of the fertilizer, the parameters such as the perimeter L, area A, and the minimum circumscribed rectangle of the top contour of the fertilizer are obtained. Because the length of the minimum circumscribed rectangle of the fertilizer contour represents the maximum size of the particle in the top view projection, the width of the minimum circumscribed rectangle represents the minimum size of the fertilizer in the top-view projection. Therefore, the length and width of the minimum circumscribed rectangle are, respectively, equivalent to the length a and width b of the fertilizers, and then, the fertilizer equiaxed ratio k and roundness σ are calculated according to eqs and 3 In each side image of the fertilizer, the minimum circumscribed rectangle parameters of the side contour are obtained. The width of the minimum circumscribed rectangle represents the straight-line size of the fertilizer perpendicular to the length and width direction. To reduce the error, the average value of the minimum circumscribed rectangle width of all side contours is equivalent to the particle thickness c, and then, the fertilizer flake rate λ, sphericity φ, and granularity d are calculated according to formulas , 6, and 7 Length calibration. Note: a, b, and c refer to the length, width, and thickness of fertilizers, respectively. Extraction process of particle shape parameters. where L0 is the actual length value represented by a single pixel, and N0 is the number of rows of all pixels that meet the defined threshold.

Measurement of Fertilizer Crushing Force

The crushing force of the fertilizer is obtained by the SGW-J digital pressure gauge produced by Shanghai Siwei Instrument Manufacturing Co., Ltd. The structure of the machine is shown in Figure . It is mainly composed of the digital operation interface, the objective stage, the pressure head, the hand wheel, the column, the adapter plate, and the base. Among them, the force sensitivity is 0.1 N, the relative velocity of the pressure head is about 0.25 mm/s, and the diameter of the objective stage is 17.5 mm.
Figure 4

Structure of the digital pressure gauge. 1. Digital operation interface 2. Pressure head 3. Objective stage 4. Hand wheel 5. Adapter plate 6. Column 7. Base.

Structure of the digital pressure gauge. 1. Digital operation interface 2. Pressure head 3. Objective stage 4. Hand wheel 5. Adapter plate 6. Column 7. Base. First, the fertilizer was randomly placed on the objective stage, and the peak value measurement mode was selected. Second, the hand wheel was turned to move the objective stage upward slowly, and the fertilizer touched the pressure head. At this time, the digital display interface showed the pressure is 0 N. Third, the hand wheel was continued to be turned, the fertilizer was pressed by the pressure head, and the digital display interface showed the pressure value increase process in real time. Finally, the hand wheel was continued to be turned until the fertilizer was completely crushed, the pressure was no longer increased, and the digital display interface showed the maximum pressure value in the whole process.

Construction of the Crushing Force Prediction Model

This paper uses an agricultural material shape analyzer and a digital pressure gauge to measure the shape characteristics and crushing force of different fertilizers. The prediction model of the fertilizer crushing force (P-DE-SVM) is constructed through a support vector machine combined with the Pearson correlation coefficient and the differential evolution algorithm. The model of the overall process is shown in Figure .
Figure 5

Construction process of the prediction model.

Construction process of the prediction model.

Results and Discussion

Data Acquisition and Preprocessing

According to the different nutrients in fertilizers, fertilizers can be divided into NF (N fertilizer), PF (P fertilizer), KF (K fertilizer), CF (compound fertilizer), and OF (organic fertilizer).[30] Among the NF produced by Sinofert Holding Limited, PF produced by Yuntianhua Group Co., Ltd., KF produced by Luxi Chemical Group Co., Ltd., CF produced by Stanley Agricultural Group Co., Ltd., and OF produced by Xinyangfeng Agricultural Technology Co., Ltd., 100 particles of each fertilizer were collected by random sampling from the same production batch, and a total of 500 particles were used as test samples. In the experiment, taking this sample as the research object, the shape parameters and crushing force were immediately measured by the agricultural material shape analyzer and digital pressure gauge. At the same time, other fertilizers in the same batch were dried to measure the density and moisture content. Among the same kind of fertilizers, the moisture, density, and other physical parameters were the same, except for the shape characteristics. The densities of NF, PF, KF, CF, and OF were 1268, 1283, 1279, 1300, and 1155 kg/m3, respectively. The moisture contents were 2.32, 2.19, 2.25, 1.14, and 5.25%, respectively. The distribution of length, width, thickness, granularity, and crushing force is shown in Figure . To verify the accuracy of the measurement, the statistical calculations were first performed on the test data, and the maximum, minimum, average, range, and standard deviation of each parameter of the fertilizer to be tested were obtained. The results are shown in Table . Among them, the average and standard deviation arewhere x is the sample value, n is the total number of samples, x̅ is the sample average, and S is the sample standard deviation.
Figure 6

Shape characteristics and crushing force distribution of different fertilizers.

Table 1

Different Fertilizer Parameters

itemlength a/mmwidth b/mmthickness c/mmgranularity d/mmequiaxed rate kflake rate λroundness σsphericity φcrushing force s/N
NFmaximum5.5905.0204.3104.7400.9850.9880.9840.98437.300
 minimum2.9502.6702.3202.7230.6150.6830.6810.6708.500
 average4.0813.6153.2553.6300.8890.9010.8930.89223.078
 range2.6402.3501.9902.0170.3700.3040.3030.31528.800
 standard deviation0.5500.4930.4870.4710.0680.0630.0520.0546.476
PFmaximum5.8704.9704.2104.7300.9720.9720.9550.955132.650
 minimum3.3602.8302.1803.0090.6650.5870.7160.71557.700
 average4.5653.8423.1673.8070.8440.8300.8390.83792.599
 range2.5102.1402.0301.7210.3070.3850.2390.24074.950
 standard deviation0.4930.4450.3860.3580.0720.0980.0530.05416.883
KFmaximum9.7806.5004.3705.8280.9920.9940.9180.920232.450
 minimum4.4103.0401.2503.0310.4420.3030.4300.43132.350
 average6.8794.7843.2794.7210.7090.6960.7040.697108.549
 range5.3703.4603.1202.7960.5500.6910.4880.489200.100
 standard deviation1.1900.7420.6410.5800.1300.1480.0910.09241.938
CFmaximum5.4805.4405.1105.3410.9980.9980.9970.997109.550
 minimum3.4703.4003.0903.3160.7700.7850.8040.80433.750
 average4.2634.0913.9144.0850.9610.9570.9600.96070.166
 range2.0102.0402.0202.0250.2280.2120.1940.19375.800
 standard deviation0.4420.3960.3970.3860.0430.0400.0370.03715.182
OFmaximum7.2505.8104.4502.6700.9920.9960.9780.97850.500
 minimum3.4403.0202.5800.3200.5900.8630.6760.66017.900
 average5.1424.2083.4781.0070.8280.9700.8300.82630.931
 range3.8102.7901.8702.3500.4020.1330.3020.31832.600
 standard deviation0.7790.5310.4190.4780.1030.0270.0700.0736.413
Shape characteristics and crushing force distribution of different fertilizers. It can be seen from Figure and Table that the distribution of length, width, thickness, granularity, and crushing force of NF, PF, CF, and OF is close to the bell-shaped distribution with the middle thickness and narrow sides; the granularity distribution is 2.723–4.740, 3.009–4.730, 3.316–5.341, and 3.306–5.040 mm, the crushing force is between 8.500 and 37.300 N, 57.700 and 132.650 N, 33.750 and 109.550 N, 17.900 and 50.500 N; and the distribution of length, width, granularity, and crushing force of KF is close to the middle thickness and narrow bell-shaped distribution on both sides. Its granularity distribution is between 3.031 and 5.828 mm, and the crushing force distribution is between 32.350 and 232.450 N. To eliminate the abnormal data caused by negligent error, this study uses the Grubbs test method to test the discrete value of the directly measured raw data. First, the test data are sorted from small to large to obtain the average value and standard deviation of the data. Second, the statistic T is calculated according to formula , and the maximum value TMax is obtained, and the results are shown in Table . Finally, the statistic TMax is compared with the critical value Tα in the Grubbs test table (α is the significance level, and n is the sample size). If TMax ≥ Tα, it means that x is a discrete value and must be discarded; otherwise, it should be retained.where T is the statistic value.
Table 2

Results of the Grubbs Test

indexlength awidth bthickness ccircumference Larea Acrushing force s
TMaxNF2.7452.8532.1672.6222.2562.358
 PF2.6462.5352.7053.0122.8912.580
 KF2.4372.3503.1672.2342.2872.912
 CF2.7513.0033.0102.4792.6583.205
 OF2.1132.1282.2552.4732.1831.994
We query the Grubbs test value table, take α = 0.05, n = 100, and T0.05,100 = 3.207, and compare the maximum value TMax under each factor in Table with T0.05,100. We find that the data in each group are all less than T0.05,100, so the original data in the group has no discrete value, which proves that the data is valid and accurate.

Pearson Correlation Coefficient

The Pearson correlation coefficient is a statistical method that accurately measures the closeness of the relationship between two variables.[31,32] It can reflect the strength of the linear correlation between the two variables. For variables M = [m1, m2, ..., m]T and N = [n1, n2, ..., n]T, the calculation formula of the Pearson correlation coefficient is: In formula , m and n are variable values and m̅ and n̅ are average values. The value range of the correlation coefficient r is −1 ≤ r ≤ 1. The closer |r| is to 1, the higher the correlation between m and n. If r = −1, it means that there is a completely negative linear correlation between m and n; if r = 1, it means that there is a completely positive linear correlation between m and n; if r = 0, it means that there is no linear correlation between m and n. In general, when |r| ≥ 0.8, it can be regarded as high correlation; when 0.5 ≤ |r| < 0.8, it can be regarded as moderate correlation; when 0.3 ≤ |r| < 0.5, it can be regarded as low correlation; when |r| < 0.3, it indicates that the linear correlation between the two variables is extremely weak and can be regarded as a nonlinear correlation. To accurately measure the correlation between fertilizer shape characteristics and crushing force, the Pearson correlation coefficients of the shape characteristics and crushing force of NF, PF, KF, CF, and OF were calculated, and through a two-tailed T test with a significance level of 0.05, the reliability of the correlation coefficient r is examined, and the results are shown in Figure .
Figure 7

Correlation between shape characteristics and crushing force.

Correlation between shape characteristics and crushing force. It can be seen from Figure that the length, width, thickness, and granularity of NF, KF, PF, CF, and OF are positively correlated with the crushing force, while the equiaxed rate, flake rate, roundness, and sphericity have no significant correlation with crushing force. Among all the shape characteristics that affect the crushing force of fertilizers, the granularity of the fertilizer has the most significant effect on the crushing force.

Support Vector Machine Regression

Because of the random volatility of the fertilizer characteristic detection process, a support vector machine regression model with certain advantages in fitting small samples and nonlinear problems is used to construct a prediction model of fertilizer characteristics and crushing force.[33,34] In the process of fertilizer shape feature detection, the input variable x and output (fertilizer crushing force) s of each set of experiments are used to construct a sample space {(x, s), i = 1, 2, 3, ..., n}. s can be expressed as a nonlinear function model, as shown in eq where φ(x) is the nonlinear mapping of the input space x, ωT is the coefficient of the independent variable function, and b is the offset. To minimize the empirical risk of training errors, ωT and b are evaluated by the model shown in eq where R(f) is the generalized optimal classification surface function considering the least misclassified samples, C is the penalty factor, and L is the loss function. Subsequently, the insensitive loss function ε is introduced to evaluate the structural risk minimization. ξ and ξ* are defined as slack variables, and the optimization objective can be changed into the following form We introduce the Lagrange equationwhere α, α*, ξ, ξ* ≥ 0 are Lagrange multipliers. We use the Lagrange equation to find the partial derivative of (ω, b, ξ, ξ*), substitute it into eq , transform it into a dual optimization problem, and solve to obtain the regression function of the support vector regression machine, as shown in eq where K⟨x, x⟩ = φ(x)φ(x) is the kernel function.

Optimal Kernel Function Selection

To determine the optimal kernel function of the fertilizer crushing force prediction model, this paper uses LK (Linear Kernel), PK (Polynomial Kernel), RBF (Radial Basis Function), and SK (Sigmoid Kernel) as the kernel functions to construct the prediction model of fertilizer shape characteristics and crushing force and set the MAPE (Mean Absolute Percentage Error), RMSE (root-mean-square error), and R2 to quantitatively evaluate the prediction performance of the model. The results of each evaluation index for different fertilizers are shown in Table . Among them, the evaluation indicators arewhere y is the actual value of crushing force, y is the predicted value of crushing force, and is the average value of the predicted value of the crushing force.
Table 3

Evaluation Indexes of Different Fertilizers

 NF
PF
KF
CF
OF
Kernel functionMAPERMSER2MAPERMSER2MAPERMSER2MAPERMSER2MAPERMSER2
RBF0.0651.8630.9160.0808.5440.7580.17024.8270.6520.0907.3870.7610.0733.1550.757
PK0.1353.5330.7000.09511.0050.5710.22230.1020.4960.1018.7060.6680.0793.6180.682
SK0.1914.6470.5320.10011.7720.5100.52736.5710.4030.1819.7480.4070.1165.7570.432
LK0.0691.8960.9140.0969.8460.6780.17925.9500.6190.0948.7040.6700.0783.5100.670
RMSE is a good measure of prediction accuracy, MAPE can effectively evaluate the volatility between data, R2 represents the ratio of the explained change to the total change, which is one of the indicators that measure the effectiveness of the established model. Among them, the smaller the value of RMSE and MAPE, the larger the value of R2, which indicates that the prediction performance of the model is better. According to the data comparison in Table , when the kernel function is RBF, the crushing force prediction models of NF, PF KF, CF, and OF have the smallest MAPE and RMSE and the largest R2, indicating that the model has the highest prediction accuracy, the smallest prediction fluctuation, and the best prediction performance. Therefore, this paper chooses RBF as the kernel function.

Parameter Optimization of the Prediction Model

In the SVM model with the kernel function of RBF, the penalty parameter C balances the complexity of the model and the degree of approximation error. Its value affects the learning ability of the model. The kernel width σ relates to the radial range of the function, and the parameter ε of the loss function controls the width of the insensitive area of the regression function to the data sample and affects the learning accuracy and generalization ability of the algorithm. It can be seen that the internal parameters of the model affect the predictive performance of the model. To obtain more satisfactory internal parameters of the support vector machine, the parameters C, ε, and σ are optimized by the differential evolution algorithm. The whole optimization process includes three parts: the range determination of optimization parameters, the selection of fitness function, and the algorithm flow. In the process of optimizing, a larger parameter range will generate more search space and often get better parameter combinations, but it will take more search time. To reduce the search time, this paper calculates the search range of the three optimization parameters to determine the effective search space. We calculate the value ranges of the parameters C, ε, and σ by formulas , 22, and 23, respectively. The calculation results are shown in Table .where y̅ is the average value of crushing force, σ is the standard deviation of crushing force, and z is the number of parameters that affect fertilizer crushing force.
Table 4

Parameter Selection Range of the Support Vector Machine

parametersNFPFKFCFOF
C46.156–92.312185.198–370.396217.098–434.196140.332–280.66461.862–123.724
σ0.562–0.8410.562–0.8410.562–0.8410.562–0.8410.562–0.841
ε0.0562–0.08410.0562–0.08410.0562–0.08410.0562–0.08410.0562–0.0841
Considering the possibility that SVM can reduce the generalization error of the model, this paper selects MSE as the fitness function. The minimized MSE of the model output is the goal of optimizing C, ε, and σ, as shown in eq The DE-SVM model is used to train 100 sets of data and iteratively obtain the combination of C, ε, and σ that meet the requirements of the fitness function (minimum MSE). When the predefined maximum number of iterations M is exceeded, the optimization ends. The process of searching for the best internal parameters is as follows: First we define a population of size NP, {X|XL ≤ X, i = 1, 2, ..., NP; j = 1, 2, ..., D}, where X is the i-th individual and j represents the j-th dimension; D = 3, X, X, X correspond to C, ε and σ, respectively, and the individuals in the population are randomly initialized according to formula where XU, and XL are the upper and lower bounds of the j-th dimension, respectively. Then, two individuals are randomly selected (the individuals are different from each other); the selected individual vector difference is scaled, and the vector is synthesized with the individual X(g) to be mutated to complete the mutation process, as shown in eq where r1 and r2 are random numbers that are not equal to each other and not equal to i in the interval [1, NP], F is the scaling factor, and g represents the g-th generation in the population change process. Then, between the individual offspring obtained by the mutation and the corresponding parent, the individual is randomly selected according to formula to realize the crossover of the individual.where CR is the crossover probability. Finally, based on the greedy algorithm, we compare the MSE value of the individual and select the individual with a smaller MSE as the new individual, as shown in eq We traverse NP individuals in the population and perform the abovementioned mutation, crossover, and selection operations in a loop to complete the first iteration. Then, we continue to iterate to M times to obtain the corresponding C, ε, and σ values when the minimum MSE value is generated. The model parameters before and after optimization are shown in Table . We substituting the optimized C, ε, and σ values into the fertilizer crushing force prediction model and compare with the prediction model before optimization; the result is shown in Figure .
Table 5

Optimal Parameters of the Support Vector Machine

model parameterNFPFKFCFOF
Cbefore optimization10.50010.50010.50010.50010.500
 after optimization48.166307.250234.033158.634121.000
σbefore optimization0.5000.5000.5000.5000.500
 after optimization0.5760.6690.5930.8260.732
εbefore optimization0.0500.0500.0500.0500.050
 after optimization0.05880.06740.5690.08400.0749
Figure 8

Comparison of prediction models before and after optimization of different fertilizers.

Comparison of prediction models before and after optimization of different fertilizers. It can be seen from Figure that the models before and after the optimization of different fertilizers can better capture the trends that are in line with actual measurements. Among them, the predicted curve obtained by the optimized model is closer to the actual curve, indicating that the fitting effect of the optimized fertilizer crushing force prediction model is better than that before the optimization. The normal distribution test was performed on the predicted crushing force of different fertilizers, and it was found that the distribution of the crushing force of the fertilizer belongs to the normal distribution, and the result is shown in Figure . Among all fertilizer shape characteristics, fertilizer granularity has the greatest positive correlation with crushing force, and fertilizer granularity can be determined through a standard sieve. Therefore, in the selected fertilizer samples, we first find NF, PF, KF, CF, and OF particles that meet the crushing force distribution range according to formula and then find their granularity distribution range as the inspection range for optimized fertilizer processing. The granularity distribution range of each fertilizer is 4.03–4.74, 3.90–4.73, 4.83–5.83, 4.28–5.34, and 4.33–5.04 mm, respectively.
Figure 9

Normal distribution of crushing force of different fertilizers.

Normal distribution of crushing force of different fertilizers.

Experimental Verification

In June 2020, the verification test was carried out at the Key Laboratory of Gardening Machinery and Equipment of Shandong Province. We first pass the standard sieve to select the particles that meet the granularity distribution range from the N fertilizer produced by Sinofert Holding Limited, P fertilizer produced by Yuntianhua Group Co., Ltd., K fertilizer produced by Luxi Chemical Group Co., Ltd., compound fertilizer produced by Stanley Agricultural Group Co., Ltd., and organic fertilizer produced by Xinyangfeng Agricultural Technology Co., Ltd., and then randomly sample 20 particles from each fertilizer as verification samples; the actual crushing force of the fertilizer is obtained through experiments, and the P-DE-SVM model is used to predict the crushing force of the fertilizer. The error rate is calculated according to formula , and the accuracy of the fertilizer crushing force model is evaluated using the error rate. The test results are shown in Table . The crushing force and error rate distributions of different fertilizers are shown in Figure .where s1 is the actual measured crushing force, s2 is the predicted crushing force, and e is the error rate.
Table 6

Verification Test Results

itemlength a/mmwidth b/mmthickness c/mmgranularity d/mmactual crushing force s1/Npredicted crushing force s2/Nerror rate e/%
NFmaximum5.5905.0204.2704.74037.30035.5708.085
 minimum4.1003.9603.5004.02725.05026.582–8.198
 average4.6734.2403.8584.24031.08330.5881.188
 range1.4901.0600.7700.71312.2508.98816.283
 standard deviation0.3720.2690.1780.1933.3032.3225.284
PFmaximum5.6604.5903.9904.438120.000109.1789.352
 minimum4.1103.7602.9703.90386.65090.049–7.173
 average4.8704.1633.4454.109102.05899.8151.722
 range1.5500.8301.0200.53533.35019.12916.525
 standard deviation0.3760.2650.3100.16010.3105.8625.752
KFmaximum9.4905.7104.3705.669189.150169.47210.900
 minimum5.7104.4002.5704.82684.65091.960–10.401
 average7.4045.0893.6215.122133.758128.6092.489
 range3.7801.3101.8000.844104.50077.51221.301
 standard deviation0.9300.4370.4160.23231.79324.0937.346
CFmaximum5.4505.1104.5804.936103.70099.8239.846
 minimum4.3704.2603.4804.31361.40067.124–9.322
 average4.7094.4954.2914.49184.46081.6932.920
 range1.0800.8501.1000.62442.30032.69919.168
 standard deviation0.3050.2070.2540.15910.6278.7965.274
OFmaximum5.1604.9804.8704.97950.50048.4088.628
 minimum4.4104.3304.1404.32629.45028.672–8.879
 average4.7384.5974.4664.59836.53535.7481.752
 range0.7500.6500.7300.65321.05019.73617.507
 standard deviation0.2440.2160.2090.2055.8334.8894.678
Figure 10

Crushing force and error rate distribution of different fertilizers.

Crushing force and error rate distribution of different fertilizers. The results showed that the maximum error rate of the predicted crushing force of NF, PF, KF, CF, and OF is between −10.401 and 10.900%, indicating the predicted value of the model and the test result are consistent, which verifies the accuracy of the built P-DE-SVM model. After screening through the standard sieve, the average crushing force of NF, PF, KF, CF, and OF were 31.083, 102.058, 133.758, 84.463, and 36.535 N, which were all higher than those of the fertilizers in the test sample without screening. The mean value of force verifies the rationality of the set granularity inspection range.

Conclusions

The shape characteristics of different fertilizers were nondestructively measured by the machine vision method, and the shape characteristics related to the fertilizer crushing force were proposed based on the Pearson correlation coefficient. The experiment results showed that the shape characteristics that affect the crushing force were length, width, thickness, and granularity. The crushing force prediction model of different fertilizers was constructed based on a support vector machine in which the optimal kernel function was a radial basis function. The experiment results showed that the maximum error rate of the prediction model was between −10.401 and 10.900%, indicating that the fertilizer crushing force prediction model was accurate and reliable, which provided a theoretical basis for fertilizer production and quality inspection. The differential evolution algorithm was proposed to optimize the internal parameters of the fertilizer crushing force prediction model, and at the same time, a fertilizer granularity inspection range was calculated. The experimental results exhibited that the average strength of screened samples within the granularity inspection range was higher than the average strength of unscreened samples, indicating the granularity inspection range was reasonable. It would help reduce fertilizer crushing and improve fertilizer utilization to realize the sustainable and clean production of crops.
  2 in total

Review 1.  Environmentally friendly fertilizers: A review of materials used and their effects on the environment.

Authors:  Jiao Chen; Shaoyu Lü; Zhe Zhang; Xuxia Zhao; Xinming Li; Piao Ning; Mingzhu Liu
Journal:  Sci Total Environ       Date:  2017-09-21       Impact factor: 7.963

2.  Prediction of Soil Organic Carbon at the European Scale by Visible and Near InfraRed Reflectance Spectroscopy.

Authors:  Antoine Stevens; Marco Nocita; Gergely Tóth; Luca Montanarella; Bas van Wesemael
Journal:  PLoS One       Date:  2013-06-19       Impact factor: 3.240

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.