Tagetes erecta water, fertilizer and pesticide zoned regulation and control method and equipment based on digital twinning and medium

Through digital twin technology and machine learning model, combined with feature importance and time series data, accurate prediction and regulation of marigold water and fertilizer use are achieved, solving the problems of low resource utilization and difficulty in automated regulation in traditional methods, and improving planting degree of automation and prediction accuracy.

CN119272168AActive Publication Date: 2025-01-07HEBEI ELECTROMECHANICAL INTEGRATION PILOT BASE CO LTD +1

Patent Information

Application Number
CN202411796247.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-01-07
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

The traditional marigold water, fertilizer and medicine control methods rely on expert decisions, making it difficult to achieve automated regulation of large-scale planting, resulting in low resource utilization and impaired soil nutrient balance. It is difficult to deeply explore characteristic laws based on statistical methods with fewer samples.

Method used

Using a digital twin method, XGBoost and CNN-LSTM are used to collect and cluster marigold growth environment data, combining gradient enhancement decision tree, Pearson coefficient and mutual information coefficient to calculate the characteristics importance, combined with the exponential attenuation law of time series data. The model predicts the optimal amount of water and fertilizer and pharmaceutical use, and updates the weighting coefficients through the particle swarm algorithm for continuous prediction.

Benefits of technology

The precise regulation of the amount of water and fertilizer used in marigolds has been achieved, the degree of automation of planting and resource utilization has been improved, and the prediction accuracy and continuous prediction accuracy have been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119272168A_ABST
    Figure CN119272168A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent agriculture, and particularly discloses a marigold water, fertilizer and pesticide partitioned regulation and control method and device based on digital twinning and a medium. The method disclosed by the invention comprises the following steps: firstly, dividing a marigold planting area into a plurality of similar sub-areas by collecting and clustering data; next, a time period is selected, and comprehensive time-varying features in the time period are calculated for each divided sub-region through three feature evaluation methods of a gradient boosting decision tree, a Pearson's coefficient and a mutual information coefficient and considering an exponential attenuation rule of time series data; and finally, integrating the results of the XGBoost model and the CNN-LSTM model for prediction, and integrating all the sub-regions to obtain the predicted optimal water and fertilizer dosage. The method can accurately predict the optimal amount of water, fertilizer and pesticide for marigold based on the time-varying characteristics, thereby improving the automation degree of marigold planting, and improving the utilization rate of resources. The method can be widely applied to water, fertilizer and pesticide regulation and control of marigold planting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of smart agriculture, and specifically relates to a marigold water, fertilizer and pesticide zoning control method, equipment and medium based on digital twins. Background Art

[0002] In recent years, marigold has been planted on a large scale due to its fast growth, strong adaptability, high ornamental value and certain economic value. When marigold is planted on a large scale, factors such as regional and periodic differences in marigold growth, changes in weather and soil conditions will affect the growth of marigold. The traditional water, fertilizer and pesticide control method dominated by expert experience will lead to low resource utilization, destruction of soil nutrient balance and crop damage, which will in turn affect the economy and sustainability of marigold production.

[0003] At present, in addition to relying on expert decisions, statistics is the most widely used method in marigold cultivation. That is, using a small specific planting area and based on biological knowledge and statistical methods, observing the growth performance of crops over a period of time, so as to evaluate and analyze some influencing factors. Obviously, this method is based on a small number of samples and is extremely time-consuming. It is difficult to deeply explore the characteristics and laws, and cannot achieve automated regulation of large-scale marigold cultivation. Summary of the invention

[0004] The purpose of the present invention is to provide a digital twin-based marigold water, fertilizer and pesticide zoning control method, which can accurately predict the optimal dosage of marigold water, fertilizer and pesticide based on time-varying characteristics, thereby improving the automation of marigold planting and improving resource utilization;

[0005] The second object of the present invention is to provide a terminal device, which can implement a water, fertilizer and pesticide zoning control method for marigold based on digital twins when executing its own program;

[0006] The third object of the present invention is to provide a computer-readable storage medium for storing a corresponding computer program for a marigold water, fertilizer and pesticide zoning control method based on digital twins.

[0007] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0008] A method for controlling water, fertilizer and pesticide zoning of marigold based on digital twins, comprising the following steps performed in sequence:

[0009] S1. By collecting and clustering marigold growth environment and growth characteristic data, the marigold planting area is divided into several similar sub-areas;

[0010] S2, select a time period, and for each divided sub-region, calculate the feature importance using three feature evaluation methods: gradient boosting decision tree, Pearson coefficient, and mutual information coefficient;

[0011] S3, based on the weighting coefficient, combined with the importance of the three features calculated by the three feature evaluation methods, calculate the comprehensive importance weight within the time period;

[0012] S4, considering the exponential decay law of time series data, calculate the comprehensive time-varying characteristics within the time period;

[0013] S5, input the calculated comprehensive time-varying features into the XGBoost model and the CNN-LSTM model respectively to obtain the prediction results of the two models;

[0014] S6. Weights are assigned to the prediction results of the two models to comprehensively obtain the optimal water, fertilizer and pesticide application amounts predicted for each sub-region;

[0015] S7. By integrating the optimal water, fertilizer and medicine usage predicted in all sub-regions, the predicted water, fertilizer and medicine usage control data for the marigold planting area within the selected time period can be obtained;

[0016] S8: Whether the data of the next time period is received;

[0017] If yes, the weight coefficient is updated by particle swarm algorithm, and steps S2 to S7 are repeated;

[0018] If not, proceed to step S9;

[0019] S9. End.

[0020] As a limitation, step S1 includes the following steps performed in sequence:

[0021] S11, collecting sensor data from each marigold planting area to form a data matrix;

[0022] S12. Standardize the data and give the same weight to different features;

[0023] S13. Use K-means clustering algorithm to divide the marigold planting area.

[0024] As a second limitation, the formula for calculating the comprehensive importance weight within the time period in step S3 is:

[0025] In the formula, is the feature in time period T The comprehensive importance weight of , and is the weighting coefficient, is the importance of features in time period T obtained by gradient boosting decision tree, is the feature importance in time period T obtained by Pearson coefficient, is the feature importance within time period T obtained by the mutual information coefficient.

[0026] As a further limitation, the calculation formula of step S4 is:

[0027] In the formula, To synthesize the time-varying characteristics, is the value of feature i at the kth time point, is the exponential decay time attenuation factor, and its calculation formula is:

[0028] In the formula, is the attenuation rate, For the current moment.

[0029] As a third limitation, the calculation formula of step S6 is:

[0030] In the formula, To predict the best water, fertilizer and medicine dosage, , The water, fertilizer and medicine usage predicted by the XGBoost model and the CNN-LSTM model respectively. and They are the weight coefficients of the XGBoost and CNN-LSTM models, respectively, and their calculation formulas are:

[0031] In the formula, , They are the mean square prediction errors of the CNN-LSTM model and the XGBoost model in time period T.

[0032] As a further limitation, the calculation formula for updating the weight coefficient by the particle swarm algorithm in step S8 is:

[0033] In the formula, , Indicates the actual demand value and predicted value of water, fertilizer and medicine in time period T, , , is the degree of change of the three weighted coefficients after updating, is the balance coefficient.

[0034] A terminal device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned method for zoning control of water, fertilizer and pesticide for marigold based on digital twin is implemented.

[0035] A computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by a processor, is used to implement the above-mentioned digital twin-based marigold water, fertilizer and pesticide zoning control method.

[0036] Due to the adoption of the above technical solution, the present invention has the following technical advances compared with the prior art:

[0037] (1) The present invention divides marigold planting areas into different zones, and integrates three feature evaluation methods and the exponential decay of time series data. The two prediction models complement each other to obtain the predicted optimal water, fertilizer and medicine dosages for different regions. The water, fertilizer and medicine dosages for marigold can be accurately regulated, thereby improving the automation level of marigold planting and the utilization rate of resources.

[0038] (2) The present invention uses the K-means clustering algorithm to divide the marigold planting areas according to similarity, so that the marigold data in each area has high similarity, while the marigold data between different areas are obviously different. This clear division is helpful for subsequent data analysis and processing;

[0039] (3) The present invention combines three feature evaluation methods, namely, gradient boosting decision tree, Pearson coefficient and mutual information coefficient, to calculate the comprehensive importance weight, thereby reducing the impact of the limitations of a single feature evaluation method;

[0040] (4) The present invention takes into account the exponential decay law of time series data during prediction when calculating the comprehensive time-varying features, thereby improving the accuracy of prediction;

[0041] (5) The present invention combines two different prediction models when predicting the optimal amount of water, fertilizer and pesticide, and improves the accuracy of the prediction results by complementing the advantages of the two models;

[0042] (6) The present invention can adaptively change the weighting coefficients and the mean square prediction errors of the CNN-LSTM model and the XGBoost model when performing continuous prediction, thereby improving the accuracy of continuous prediction.

[0043] The present invention belongs to the technical field of smart agriculture, and can predict the optimal amount of water, fertilizer and medicine for marigold planting, accurately realize regulation, improve the degree of automation of marigold planting, and improve the utilization rate of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0045] In the attached picture:

[0046] Figure 1 This is a processing flow chart of Embodiment 1 of the present invention;

[0047] Figure 2 This is a sub-region distribution map of the marigold planting area in Example 1 of the present invention;

[0048] Figure 3 A comparison diagram of soil moisture ablation prediction between Example 1 of the present invention and three methods;

[0049] Figure 4 A comparison chart of the ablation prediction of the dosage of a certain brand of compound fertilizer in Example 1 of the present invention and three methods;

[0050] Figure 5 It is a comparison chart of Example 1 of the present invention and three methods in predicting the dosage ablation of a certain brand of medicine. DETAILED DESCRIPTION

[0051] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0052] Example 1

[0053] This embodiment is a method for controlling water, fertilizer and medicine zoning of marigold based on digital twins. This embodiment selects a data set of a marigold plant in Zhangjiakou area from January 1, 2017 to January 31, 2019. The plant covers an area of ​​100 mu, which is finely divided into 100 sub-areas per mu. Each sub-area shows significant differences due to its unique spatial distribution, climate environment, altitude and soil type. The key features related to the growth of marigold are selected: spatial location information of sub-areas (including central longitude, central latitude and altitude), meteorological conditions (date, wind speed, air humidity, wind direction, temperature and light intensity), soil element content (nitrogen, phosphorus, potassium, ammonia and moisture content), and soil moisture, a certain brand of compound fertilizer and a certain brand of medicine at the highest yield of marigold obtained by random sampling of each sub-area, totaling 17 dimensions of data features. The sampling frequency of the data is set to once every 6 hours.

[0054] In terms of data division, this embodiment selects the actual observation data from January 1, 2017 to December 31, 2018 as the training sample set for model training and optimization; and selects the data from January 1, 2019 to December 31, 2019 as the test set to evaluate the model's ability to predict soil moisture, a certain brand of compound fertilizer, and a certain brand of medicine demand in the next seven days. In order to quantify the prediction performance of the model, the root mean square error (RMSE) and the mean absolute percentage error (MAPE) are selected as prediction evaluation indicators.

[0055] like Figure 1 As shown, this embodiment includes the following steps performed in sequence:

[0056] S1. By collecting and clustering marigold growth environment and growth characteristic data, the marigold planting area is divided into several similar sub-areas.

[0057] Specifically, it is divided into the following steps which are performed in sequence:

[0058] S11. Collect sensor data from each marigold planting area to form a data matrix:

[0059] in, Indicates Region Features, is the total number of planted areas, is the characteristic dimension.

[0060] At this point, it is known that one mu is a sub-region, that is, n is 100; the data features collected in the data set are the spatial location information, meteorological conditions, soil element content of the sub-region, and the soil moisture, dosage of a certain brand of compound fertilizer and dosage of a certain brand of medicine when the marigold yield is highest based on random sampling of each sub-region. The feature dimension d is 17.

[0061] S12. Standardize the data and give the same weight to different features:

[0062] The formula for standardization is:

[0063] in, After standardization Region Features, , are the mean and standard deviation of the j-th feature respectively.

[0064] At this time, the feature data in the training set are normalized one by one according to Formula 2, and the elements of each feature are mapped to [0, 1].

[0065] S13. Use K-means clustering algorithm to divide the marigold planting area. The goal of K-means is to minimize the sum of the squares of the distances between the samples within each cluster and the cluster center. The clustering objective function is:

[0066] in, is the number of clusters, It is Clusters, It is The centroid of the cluster, It belongs to The cluster data points.

[0067] At this time, based on Formula 3, feature clustering is performed on the training set sub-region data to obtain three similar regions, which contain 32, 23, and 45 mu of marigolds respectively, and are not adjacent in spatial distribution, such as Figure 2 shown.

[0068] S2. Select a time period and calculate the feature importance for each sub-region after division using three feature evaluation methods: gradient boosting decision tree (GBDT), Pearson coefficient, and mutual information coefficient.

[0069] GBDT is a machine learning model that can discover nonlinear associations between features based on decision tree theory. The feature importance evaluation process based on the GBDT model is as follows:

[0070] in, is the number of trees in GBDT, It is a feature The amount of model error reduction brought about by node splitting.

[0071] Mutual information measures the nonlinear relationship between two variables from a probability statistics perspective and is also applicable to feature evaluation. The feature importance calculation formula is:

[0072] in, yes and The joint probability distribution of . and They are and The marginal probability distribution of .

[0073] Mutual information reflects the dependency between two variables by calculating the amount of information shared between them. The larger the value, the stronger the dependency.

[0074] The Pearson coefficient is used to measure the linear correlation between two feature variables and calculate the feature and the target variable The calculation formula of the Pearson correlation coefficient is:

[0075] Among them, cov yes and The covariance between and They are and The standard deviation of .

[0076] Based on Formula 4, Formula 5 and Formula 6, each feature of the training set data is evaluated to obtain the corresponding evaluation results.

[0077] S3. Based on the weighting coefficient, the importance of the three features calculated by the three feature evaluation methods is combined to calculate the comprehensive importance weight within the time period.

[0078] Combining the above three evaluation indicators, we can get the comprehensive importance weight within time period T:

[0079] In the formula, is the feature in time period T The comprehensive importance weight of , and is the weighting coefficient, is the importance of features in time period T obtained by gradient boosting decision tree, is the feature importance in time period T obtained by Pearson coefficient, is the feature importance within time period T obtained by the mutual information coefficient.

[0080] initialization , , The parameters were set to 0.33 respectively. Based on Formula 7, the comprehensive importance weights of 14 features including the spatial location information of the sub-area (including central longitude, central latitude and altitude), meteorological conditions (date, wind speed, air humidity, wind direction, temperature and light intensity), and soil element content (nitrogen, phosphorus, potassium, ammonia and water content) were obtained.

[0081] S4. Considering the exponential decay law of time series data, calculate the comprehensive time-varying characteristics within the time period.

[0082] The three feature evaluation indicators evaluate the importance of each feature in the time period T from multiple dimensions, but time series data has the time series characteristics of "small near and large far", that is, the newer the feature data point, the greater the impact on the use effect of the current model, and the degree of influence changes exponentially. Based on the comprehensive importance weights in the time period T obtained by the three indicators, based on the exponential decay law of time series data, the features of each time point are weighted by an exponential function, so that the older the feature points, the lower the importance, and vice versa.

[0083] The calculation formula for the comprehensive time-varying characteristics taking into account the time series is:

[0084] In the formula, To synthesize the time-varying characteristics, is the value of feature i at the kth time point, is the exponential decay time attenuation factor, and its calculation formula is:

[0085] In the formula, is the attenuation rate, For the current moment.

[0086] Based on Formula 8 and Formula 9, exponential decay is performed according to the distance of the time point, and T is set to a fixed 52, and finally a comprehensive time-varying feature that takes into account the time series is obtained.

[0087] S5. Input the calculated comprehensive time-varying features into the XGBoost model and the CNN-LSTM model respectively to obtain the prediction results of the two models.

[0088] XGBoost is a traditional machine learning model, and CNN-LSTM is a deep neural network model that can discover the temporal correlation of features. Both will predict the amount of water, fertilizer and medicine from different mechanisms.

[0089] S6. Weights are assigned to the prediction results of the two models to comprehensively obtain the optimal water, fertilizer and pesticide application amounts predicted for each sub-region.

[0090] After the XGBoost model and CNN-LSTM model complete the prediction, they are assigned weights respectively to obtain the optimal water, fertilizer and medicine dosage for each sub-region. The calculation formula is:

[0091] In the formula, To predict the best water, fertilizer and medicine dosage, , The water, fertilizer and medicine usage predicted by the XGBoost model and the CNN-LSTM model respectively. and They are the weight coefficients of the XGBoost and CNN-LSTM models, respectively, and their calculation formulas are:

[0092] In the formula, , They are the mean square prediction errors of the CNN-LSTM model and the XGBoost model in time period T.

[0093] initialization , The weights are set to 0.5 respectively, and the optimal water, fertilizer and pesticide dosage predicted for each sub-region can be obtained through Formula 10 and Formula 11.

[0094] S7. By integrating the optimal water, fertilizer and medicine dosages predicted in all sub-regions, the predicted water, fertilizer and medicine dosage control data for the marigold planting area within the selected time period can be obtained.

[0095] S8: Whether the data of the next time period is received;

[0096] If yes, the weight coefficient is updated by particle swarm algorithm, and steps S2 to S7 are repeated;

[0097] If not, proceed to step S9.

[0098] After completing the prediction of time period T, this embodiment can continue to receive data for the next time period and make predictions for the next time period. Since the importance of different features in different time periods will change over time, it is necessary to update the weighting coefficients through the particle swarm algorithm. The calculation formula is:

[0099] In the formula, , Indicates the actual demand value and predicted value of water, fertilizer and medicine in time period T, , , is the degree of change of the three weighted coefficients after updating, is the balance coefficient.

[0100] When the weighting coefficient is adaptively changed, Take 0.02. At the same time, , The weights will also change with the mean squared prediction error of the CNN-LSTM model and the XGBoost model in the next time period.

[0101] In the weighted coefficient and , After the weight is changed, the prediction for the next time period can be performed. If no prediction is performed, step S9 can be executed.

[0102] S9. End.

[0103] In order to verify the prediction effect of this embodiment, an ablation test was conducted using the third year data of a marigold plantation to predict the soil moisture, the amount of a certain brand of compound fertilizer, and the amount of a certain brand of medicine when the marigold yield is the highest. This comparison compares the method proposed in this embodiment with the following three methods: a single-index feature method without clustering and without considering time series (Model_three), a single-index feature method with clustering but without considering time series (Model_one), and a single-index feature method with clustering and considering time series (Model_two). Figure 3 , Figure 4 and Figure 5 The prediction visualization results show that the method in this embodiment shows higher accuracy in predicting soil moisture demand, the dosage of a certain brand of compound fertilizer, and the dosage of a certain brand of medicine. Using the root mean square error (RMSE) and the mean absolute percentage error (MAPE) as prediction evaluation indicators, Table 1, Table 2, and Table 3 list the prediction evaluation index results of soil moisture demand, the dosage of a certain brand of compound fertilizer, and the dosage of a certain brand of medicine, respectively. The results show that the method proposed in this embodiment shows higher prediction accuracy.

[0104] The root mean square error (RMSE) and mean absolute percentage error (MAPE) are calculated as:

[0105]

[0106] In the formula, is the number of load sample points; is the predicted value; is the actual value.

[0107] Table 1 Results of soil moisture demand prediction evaluation indicators method RMSE / L MAPE / % No clustering - no consideration of time series - single indicator feature 112.73 5.71 Clustering - not considering time series - single indicator feature 96.32 4.82 Clustering - Considering time series - Single indicator feature 89.73 4.12 The method of the present invention (clustering - considering time series - integrating three index characteristics) 77.22 3.58

[0108] Table 2 Results of the prediction and evaluation indexes of a brand of compound fertilizer dosage method RMSE / Kg MAPE / % No clustering - no consideration of time series - single indicator feature 12.12 6.02 Clustering - not considering time series - single indicator feature 9.77 5.11 Clustering - Considering time series - Single indicator feature 8.85 4.89 The method of the present invention (clustering - considering time series - integrating three index characteristics) 7.21 4.59

[0109] Table 3 Results of the evaluation index for the dosage prediction of a certain brand of drug method RMSE / L MAPE / % No clustering - no consideration of time series - single indicator feature 5.02 6.65 Clustering - not considering time series - single indicator feature 4.98 6.02 Clustering - Considering time series - Single indicator feature 4.58 5.79 The method of the present invention (clustering - considering time series - integrating three index characteristics) 3.99 5.01

[0110] In summary, the method used in this embodiment can accurately regulate the amount of water, fertilizer and medicine used for marigold, improve the degree of automation in marigold planting, and improve the utilization rate of resources.

[0111] Example 2

[0112] This embodiment is a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it is used to implement a digital twin-based marigold water, fertilizer and pesticide zoning control method in Example 1.

[0113] Example 3

[0114] The present embodiment is a computer-readable storage medium. The computer-readable storage medium in the present embodiment stores a computer program. When the computer program is executed by a processor, it is used to implement a digital twin-based marigold water, fertilizer and pesticide zoning control method in Example 1.

[0115] Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the computer-readable storage medium can also exist in a communication device as discrete components. Specifically, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk, etc. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

Claims

1. A method for controlling water, fertilizer and pesticide zoning of marigold based on digital twin, characterized in that: The process includes the following steps: S1. By collecting and clustering marigold growth environment and growth characteristic data, the marigold planting area is divided into several similar sub-areas; S2, select a time period, and for each divided sub-region, calculate the feature importance using three feature evaluation methods: gradient boosting decision tree, Pearson coefficient, and mutual information coefficient; S3, based on the weighting coefficient, combined with the importance of the three features calculated by the three feature evaluation methods, calculate the comprehensive importance weight within the time period; S4, considering the exponential decay law of time series data, calculate the comprehensive time-varying characteristics within the time period; S5, input the calculated comprehensive time-varying features into the XGBoost model and the CNN-LSTM model respectively to obtain the prediction results of the two models; S6. Weights are assigned to the prediction results of the two models to comprehensively obtain the optimal water, fertilizer and pesticide application amounts predicted for each sub-region; S7. Integrate the optimal water, fertilizer and medicine usage predicted in all sub-regions to obtain the predicted water, fertilizer and medicine usage control data for the marigold planting area within the selected time period; S8: Whether the data of the next time period is received; If yes, the weight coefficient is updated by particle swarm algorithm, and steps S2 to S7 are repeated; If not, proceed to step S9; S9. End.

2. According to the digital twin-based marigold water, fertilizer and pesticide zoning control method according to claim 1, it is characterized in that: Step S1 includes the following steps performed in sequence: S11, collecting sensor data from each marigold planting area to form a data matrix; S12. Standardize the data and give the same weight to different features; S13. Use K-means clustering algorithm to divide the marigold planting area.

3. According to a digital twin-based marigold water, fertilizer and pesticide zoning control method according to claim 1, it is characterized in that: The formula for calculating the comprehensive importance weight within the time period in step S3 is: In the formula, is the feature in time period T The comprehensive importance weight of , and is the weighting coefficient, is the importance of features in time period T obtained by gradient boosting decision tree, is the feature importance in time period T obtained by Pearson coefficient, is the feature importance within time period T obtained by the mutual information coefficient.

4. According to the digital twin-based marigold water, fertilizer and pesticide zoning control method according to claim 3, it is characterized in that: The calculation formula of step S4 is: In the formula, To synthesize the time-varying characteristics, is the value of feature i at the kth time point, is the exponential decay time attenuation factor, and its calculation formula is: In the formula, is the attenuation rate, For the current moment.

5. According to a digital twin-based marigold water, fertilizer and pesticide zoning control method according to claim 1, it is characterized in that: The calculation formula of step S6 is: In the formula, To predict the best water, fertilizer and medicine dosage, , The water, fertilizer and medicine usage predicted by the XGBoost model and the CNN-LSTM model respectively. and They are the weight coefficients of the XGBoost and CNN-LSTM models, respectively, and their calculation formulas are: In the formula, , They are the mean square prediction errors of the CNN-LSTM model and the XGBoost model in time period T.

6. According to the digital twin-based marigold water, fertilizer and pesticide zoning control method according to claim 5, it is characterized in that: The calculation formula for updating the weighted coefficient by the particle swarm algorithm in step S8 is: In the formula, , Indicates the actual demand value and predicted value of water, fertilizer and medicine in time period T, , , is the degree of change of the three weighted coefficients after updating, is the balance coefficient.

7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the digital twin-based marigold water, fertilizer and pesticide zoning control method as described in any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, is used to implement a method for zoning control of water, fertilizer and pesticide for marigold based on digital twins as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Blast furnace comprehensive state prediction method and system

    CN112418270A

  • Wind turbine generator gearbox fault early warning method based on fusion model

    CN114580545A

  • Marketing activity prediction method, electronic equipment and storage medium

    CN117709989A

  • Power grid load modeling analysis method based on knowledge graph and digital twinning

    CN118036471A

Cited By

  • Wireless star chain real-time early warning data processing method and system for landslide

    CN119964349A

  • Wireless star chain real-time early warning data processing method and system for mountain landslide

    CN119964349B