An intelligent crop growth modeling method combining knowledge and data
By combining deep learning methods with knowledge and data, we embed crop physiological knowledge and construct constraints, which solves the problem of low simulation accuracy caused by relying on artificial assumptions and data sparseness in the existing technology, and achieves efficient and low-cost dynamic simulation of crop growth.
Patent Information
- Application Number
- CN202410982779.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Existing crop growth simulation methods rely on a large number of artificial assumptions and have structural errors. Data-driven methods are difficult to learn the complete crop growth process under sparse data conditions, resulting in a decrease in simulation accuracy.
Using a deep learning modeling method that combines knowledge and data, a deep learning model based on crop physiological processes is established by acquiring driving data and observation data, embedding prior knowledge into the model, constructing knowledge constraints and training the model to achieve crop growth. timing simulation.
It overcomes the problems of data sparseness and structural errors, and realizes daily dynamic growth process simulation of crop dry matter synthesis, distribution, organ development and decline, reduces model training costs, and improves simulation response speed by about 500 times.
Smart Images

Figure CN118520782B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent simulation of crop growth, and in particular to an intelligent modeling method for crop growth that combines knowledge and data. Background Art
[0002] Crop growth simulation is the key to understanding farmland processes and is of great significance to agricultural development and food security. Crop growth is a high-dimensional and complex process that includes the temporal changes in the various states of the crop itself and the dynamic interaction between the crop and the external environment. In existing technologies, there are many varieties of crops and high diversity in environment and climate. These factors cause significant differences in crop growth, which brings huge challenges to simulation.
[0003] The current crop growth simulation is mainly based on the process-based crop growth model, which relies on a large number of artificial assumptions, has many model parameters, and has unavoidable structural errors. At the same time, data-driven methods have shown important advantages in modeling in various fields and are gradually being used in agricultural research.
[0004] However, traditional data-driven methods are often a simple fit of data, which can easily produce results that violate physical processes in actual applications, limiting the application of the model. In addition, since the crop growth process is a high-dimensional dynamic process, and limited by the observation cost, the actual observation data that can be obtained are often high-dimensional and sparse, with a large number of unobserved stages. In sparse data, data-driven models cannot learn the complete crop growth process, resulting in a significant decrease in simulation accuracy. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present application provides a method for intelligent modeling of crop growth by combining knowledge and data.
[0006] The present application provides a method for combining knowledge and data to intelligently model crop growth, which adopts the following technical solutions:
[0007] A crop growth intelligent modeling method combining knowledge and data, comprising the following steps:
[0008] Step 1: Obtain driving data and observation data, and preprocess them into a unified format;
[0009] Step 2: Establish a deep learning model based on crop physiological processes and embed prior knowledge into the deep learning model in a structural way;
[0010] Step 3: construct knowledge constraints at different positions in the deep learning model of step 2, including input mask constraints at the input end and convergence loss constraints at the loss function end;
[0011] Step 4: using the driving data and observation data in step 1 and the knowledge constraints in step 3, training the deep learning model established in step 2;
[0012] Step 5: Input the driving data into the deep learning model trained in step 4 to realize the time series simulation process of crop growth.
[0013] Furthermore, in step 1, the driving data includes: daily total radiation Rad, daily minimum temperature T min 、Daily maximum temperature T max , cumulative nitrogen application Cum_N and crop growth period DVS; observation data include: vegetation area index PAI, leaf weight WLV, stem weight WST, ear weight WSO, aboveground biomass WAGT and yield YIELD;
[0014] The driving data are organized into an N×T×I input data set, and the observation data are organized into an N×T×O observation data set; where N is the number of fields, T is the number of simulation days, I is the number of input features, and O is the number of observation features.
[0015] Furthermore, the step 2 comprises:
[0016] Step 2.1, model generalization: Based on crop physiological knowledge, the model dry matter dynamic process is generalized into several sub-processes, including light interception process, dry matter consumption process for maintaining respiration, dry matter distribution process, dry matter consumption process for growth respiration and dry matter redistribution process;
[0017] Step 2.2, model implementation: Use deep learning technology to implement the generalization process of step 2.1, specifically including:
[0018] Step 2.2.1, the model adopts a mass conservation structure, with carbon cells as the unit for storing dry matter mass, and carbon cells are further divided into sub-cells representing leaves, stems and ears; the model driving factor is obtained based on the carbon cell state and driving variables;
[0019] Step 2.2.2, using the mass conservation gate structure to control the dry matter dynamics of the model, and using the model driving factor obtained in step 2.2.1 to control the specific behavior of the gate;
[0020] Step 2.2.3: After dynamic calculation of dry matter, the simulated crop state is output and a deep learning model is obtained.
[0021] Furthermore, in step 2.2.1, the specific composition of the model driving factor is:
[0022] Formula (1)
[0023] Formula (2)
[0024] Formula (3)
[0025] In formula (1), C It is composed of daughter cells. t is the time step number, represents the daughter cell composition on day t-1; C The subscripts are daughter cell numbers. N Each daughter cell corresponds to one organ. 3N daughter cells, Indicates the t-1 day i The mass of individual cells;
[0026] In formula (2), is the driving variable on day t, which is determined by the crop growth period on day t. , daily total radiation Daily minimum temperature Daily maximum temperature and cumulative nitrogen application composition;
[0027] In formula (3), the driving factor on day t is Composed of daughter cells on day t-1 and the driving variable on day t composition.
[0028] Furthermore, in step 2.2.2, the mass conservation gate structure is expressed as:
[0029] Formula (4)
[0030] Formula (5)
[0031] Formula (6)
[0032] Formula (7)
[0033] Formula (8)
[0034] Formula (4) represents the light interception gate on day t , formula (5) represents the maintenance breathing threshold on day t , formula (6) represents the carbon allocation gate on day t , formula (7) represents the growth and respiratory gate on day t , formula (8) represents the reallocation gate on day t ; is the driving factor on day t, t Number the time steps;
[0035] w and b are the trainable weights and bias parameters in the deep learning model, , , , and Represent the trainable weights of the light interception gate, maintenance respiration gate, carbon allocation gate, growth respiration gate and redistribution gate, respectively. , , , and They represent the bias parameters of the light interception gate, maintenance respiration gate, carbon distribution gate, growth respiration gate, and redistribution gate, respectively; sigmoid is the activation function, softmax is a normalization function.
[0036] Furthermore, in step 2.2.2, the process of using the mass conservation gate structure to control the dynamics of the model dry matter is expressed as:
[0037] Formula (9)
[0038] Formula (10)
[0039] Formula (11)
[0040] Formula (12)
[0041] Formula (13)
[0042] Formula (9) is the light interception process, represents the dry matter synthesized by photosynthesis on day t, is the potential synthesis of dry matter corresponding to the total radiation on day t, represents the light interception gate on day t; ⊙ represents element-wise multiplication;
[0043] Formula (10) is to maintain the breathing process, represents the dry matter consumed by the crop to maintain respiration on day t, represents the maintenance breathing gate on day t, represents the daughter cell composition on day t-1;
[0044] Formula (11) is the dry matter distribution process, represents the carbon remaining after respiration on day t Passing the Carbon Allocation Gate Allocated for the growth of different organs and tissues;
[0045] Formula (12) is the growth respiration process, It represents the dry matter remaining after growth and respiration on day t, that is, the net increase of dry matter on that day. Indicates growth respiratory gate;
[0046] Formula (13) is the redistribution process, represents the dry matter stored in the carbon cell on day t Redistribution gate Afterwards, the new dry matter state obtained is the final state of the current iteration step.
[0047] Furthermore, in step 2.2.3, after dynamic calculation of dry matter, the output simulated crop state is expressed as:
[0048] Formula (14)
[0049] Formula (15)
[0050] Formula (16)
[0051] Formula (17)
[0052] Formula (18)
[0053] Formula (19)
[0054] Formulas (14)-(19) represent mapping functions, which are used to map carbon cell states to crop states;
[0055] in, represents the leaf mass, represents the stem mass, Indicates ear quality, represents the aboveground biomass, Indicates the output, represents the vegetation area index;
[0056] C It is composed of daughter cells. t is the time step number, i Number the daughter cells, each N Each daughter cell corresponds to one organ. 3N daughter cells, Indicates the tth day i The mass of individual cells; is the coefficient related to output, is the coefficient related to the vegetation area index.
[0057] Furthermore, the step 3 comprises:
[0058] Step 3.1, construct the input mask of the input end, predefine the input weights based on prior knowledge, set the weights of irrelevant variables to 0, and keep the remaining weights to 1;
[0059] Step 3.2: Construct the convergence loss on the loss side. After performing two dry matter redistributions during the training process, use the mean square error function to minimize the difference between the two redistribution results.
[0060] Furthermore, in step 3.2, the convergence loss Convergence loss Defined as:
[0061] Formula (20)
[0062] In formula (20), T is the length of the data sequence for input driving data and observation data, that is, the number of days for simulation, i Number the daughter cells. t is the time step number, 3N is the number of carbon cells, and Represent the states of carbon cells after the first and second redistribution, respectively.
[0063] Furthermore, in step 4, the loss function used in training the deep learning model is Loss It consists of fitting loss and convergence loss:
[0064] Formula (21)
[0065] In formula (21), alpha is the loss weight, which is used to adjust the weight ratio of the two losses; Convergence loss To converge the loss, Fitting loss is the fitting loss evaluated using the observed values, Fitting loss Defined as:
[0066] Formula (22)
[0067] In formula (22), K is the number of variables; is the weight of each variable; For variables K The number of observations of ; and are the simulated values and actual observed values of the deep learning model, respectively.
[0068] In summary, the present application includes at least one of the following beneficial technical effects:
[0069] 1. This application establishes a universal framework that can combine existing knowledge and observational data, and realizes the deep learning model to simulate the daily dynamic growth process of crop dry matter synthesis, distribution, organ development and decline;
[0070] 2. Compared with other data-driven methods, this application incorporates general knowledge such as mass conservation and crop physiological knowledge into the model structure design and training methods, using knowledge to constrain the unobserved stage, overcoming the difficulty of model training caused by sparse data and incomplete observed variables;
[0071] 3. Compared with the traditional process-based crop model, this application gets rid of the modeling process's reliance on artificial prior knowledge, allowing the model to autonomously discover crop growth laws from data, overcoming the problems of traditional model improvement difficulties, large structural errors, and poor adaptability;
[0072] 4. This application adopts a full deep learning system, which has a faster response (about 500 times) and lower cost than traditional crop models, providing support for large-scale agricultural intelligent simulation and forecasting. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 is a flow chart of the modeling method in an embodiment of the present application;
[0074] Figure 2 Schematic diagrams of model generalization and model realization in the embodiments of the present application, wherein (a) is a schematic diagram of model generalization, and (b) is a schematic diagram of model realization;
[0075] Figure 3 Schematic diagram of the knowledge constraints and model training process involved in the embodiments of the present application, wherein (a) is a schematic diagram of fitting loss, (b) is a schematic diagram of input mask construction, (c) is a schematic diagram of convergence loss, and (d) is a schematic diagram of model training;
[0076] Figure 4 It is a diagram of various states of crops under different fertilization scenarios simulated by using the trained model in the embodiment of the present application;
[0077] Figure 5 It is a comparison chart of the time series simulation results of the present application, the pure data-driven method, the present application without using knowledge constraints, and the traditional crop model;
[0078] Figure 6 This is a comparison chart of the simulation results accuracy of this application, pure data-driven methods, and traditional crop models. DETAILED DESCRIPTION
[0079] The following is combined with Figure 1-6This application is described in further detail.
[0080] The present application embodiment discloses a crop growth intelligent modeling method combining knowledge and data. This embodiment takes rice growth simulation as an example. Figure 1 ,The crop growth intelligent modeling method combining knowledge and data includes the following steps:
[0081] Step 1: Obtain driving data and observation data and preprocess them into a unified format, which specifically includes the following steps:
[0082] Obtain driving data, including daily total radiation Rad (MJ / d), daily minimum temperature T min (℃), daily maximum temperature T max (℃), cumulative nitrogen application Cum_N (kg / ha) and crop growth period DVS (unitless, simulated using traditional process-based crop model).
[0083] Obtain observation data, including vegetation area index PAI (m 2 / m 2 ), leaf mass WLV (kg / ha), stem mass WST (kg / ha), ear mass WSO (kg / ha), aboveground biomass WAGT (kg / ha) and yield YIELD (kg / ha).
[0084] The driving data is organized into an input data set of N×T×I, and the observation data is organized into an observation data set of N×T×O; wherein N is the number of plots, T is the number of simulation days, I is the number of input features, and O is the number of observation features. In this embodiment, the number of plots N=100, the number of simulation days T=200, the number of input features I=5, and the number of observation features O=6.
[0085] There is no missing data in the input dataset, but there is missing data in the observation dataset.
[0086] Step 2: Establish a deep learning model based on crop physiological processes, and embed prior knowledge into the deep learning model in a structural way; the schematic diagrams of model generalization and implementation refer to Figure 2 (a) and (b) in the method specifically include the following steps:
[0087] Step 2.1: Model generalization:
[0088] The core of the model is to simulate the dynamic process of dry matter. Based on crop physiological knowledge, the dynamic process of dry matter in the model is generalized into several sub-processes, including: ① light interception process (light energy is intercepted by crops and dry matter is generated through photosynthesis), ② dry matter consumption process for maintaining respiration (maintaining respiration will preferentially consume the dry matter generated by photosynthesis on the same day), ③ dry matter distribution process (dry matter produced after maintaining respiration is distributed and used to synthesize different organ tissues), ④ dry matter consumption process for growth respiration (part of the distributed dry matter is consumed by growth respiration when synthesizing tissues, and the remaining part becomes the net growth of the day), ⑤ dry matter redistribution process (due to the influence of the growth period, the synthesized dry matter will flow between various organs, causing the dry matter to be redistributed).
[0089] Step 2.2, model implementation:
[0090] The process of using deep learning technology to implement the generalization of step 2.1 specifically includes:
[0091] Step 2.2.1: In order to make the model follow the basic mass conservation principle, the model adopts a mass conservation structure, with carbon cells (C) as the unit for storing dry matter mass. Carbon cells are further divided into daughter cells representing leaves (C-WLV), daughter cells representing stems (C-WST) and daughter cells representing spikes (C-WSO). The model driving factors are obtained based on the carbon cell state and driving variables. The specific composition of the model driving factors is as follows:
[0092] Formula (1)
[0093] Formula (2)
[0094] Formula (3)
[0095] In formula (1), C It is composed of daughter cells. t is the time step number, represents the daughter cell composition on day t-1; C The subscripts are daughter cell numbers. N Each daughter cell corresponds to one organ. 3N daughter cells, Indicates the t-1 day i The mass of individual cells;
[0096] In formula (2), is the driving variable on day t, which is determined by the crop growth period on day t. , daily total radiation Daily minimum temperature Daily maximum temperature and cumulative nitrogen application composition;
[0097] In formula (3), the driving factor on day t is Composed of daughter cells on day t-1 and the driving variable on day t composition.
[0098] Step 2.2.2: Use the mass conservation gate structure to control the dynamics of the model dry matter, and use the model driving factor obtained in step 2.2.1 to control the specific behavior of the gate; the mass conservation gate structure is expressed as:
[0099] Formula (4)
[0100] Formula (5)
[0101] Formula (6)
[0102] Formula (7)
[0103] Formula (8)
[0104] Formula (4) represents the light interception gate on day t , formula (5) represents the maintenance breathing threshold on day t , formula (6) represents the carbon allocation gate on day t , formula (7) represents the growth and respiratory gate on day t , formula (8) represents the reallocation gate on day t ; is the driving factor on day t, t Number the time steps;
[0105] w and b are the trainable weights and bias parameters in the deep learning model, , , , and Represent the trainable weights of the light interception gate, maintenance respiration gate, carbon allocation gate, growth respiration gate and redistribution gate, respectively. , , , and They represent the bias parameters of the light interception gate, maintenance respiration gate, carbon distribution gate, growth respiration gate, and redistribution gate, respectively; sigmoid is the activation function, softmax is the normalization function;
[0106] The process of controlling the dynamics of dry matter in the model using the mass conservation gate structure is expressed as:
[0107] Formula (9)
[0108] Formula (10)
[0109] Formula (11)
[0110] Formula (12)
[0111] Formula (13)
[0112] Formula (9) is the light interception process, represents the dry matter synthesized by photosynthesis on day t, is the potential synthesis of dry matter corresponding to the total radiation on day t, represents the light interception gate on day t; ⊙ represents element-wise multiplication;
[0113] Formula (10) is to maintain the breathing process, represents the dry matter consumed by the crop to maintain respiration on day t, represents the maintenance breathing gate on day t, represents the daughter cell composition on day t-1;
[0114] Formula (11) is the dry matter distribution process, represents the carbon remaining after respiration on day t Passing the Carbon Allocation Gate Allocated for the growth of different organs and tissues;
[0115] Formula (12) is the growth respiration process, It represents the dry matter remaining after growth and respiration on day t, that is, the net increase of dry matter on that day. Indicates growth respiratory gate;
[0116] Formula (13) is the redistribution process, represents the dry matter stored in the carbon cell on day t Redistribution gate Afterwards, the new dry matter state obtained is the final state of the current iteration step.
[0117] Step 2.2.3: After the dynamic calculation of dry matter, the simulated crop state is output to obtain a deep learning model; wherein the output simulated crop state is expressed as:
[0118] Formula (14)
[0119] Formula (15)
[0120] Formula (16)
[0121] Formula (17)
[0122] Formula (18)
[0123] Formula (19)
[0124] Formulas (14)-(19) represent mapping functions, which are used to map carbon cell states to crop states;
[0125] in, represents the leaf mass, represents the stem mass, Indicates ear quality, represents the aboveground biomass, Indicates the output, represents the vegetation area index;
[0126] C It is composed of daughter cells. t is the time step number, i Number the daughter cells, each N Each daughter cell corresponds to one organ. 3N daughter cells, Indicates the tth day i The mass of individual cells; is the coefficient related to output, is the coefficient related to the vegetation area index.
[0127] Step 3: Construct knowledge constraints: Construct knowledge constraints at different locations in the deep learning model in step 2, including the input mask constraint at the input end and the convergence loss constraint at the loss function end. Specifically, the following steps are included:
[0128] Step 3.1: Construct the input mask of the input port:
[0129] The function of input mask is to exclude variables that are not relevant to the corresponding calculation in the calculation process and focus only on the most important variables. Based on prior knowledge, the input weights are predefined, and the weights of irrelevant variables are set to 0, and the remaining weights remain at 1.
[0130] In this embodiment, only the input mask is constructed for the redistribution gate, and it is considered that some instantaneous variables (temperature and radiation) and cumulative fertilization will not directly affect the redistribution of biomass; instead, their impact on crop growth is indirect through other processes. Therefore, in this embodiment, the weight of the input mask of these instantaneous variables is set to 0, while keeping the weight of other variables at 1, such as Figure 3 As shown in (b) in the figure (Input represents input, Input mask represents input mask weight, and Masked input represents mask input).
[0131] Step 3.2: Construct the convergence loss of the loss end:
[0132] The convergence loss guides the redistribution process so that its calculation can reach convergence, with the aim of solving the problem of sparse observation data. The specific method is to use the mean square error (MSE) function to minimize the difference between the two redistribution results after performing two dry matter redistributions during the training process. Figure 3 As shown in (c);
[0133] Convergence loss Convergence loss Defined as:
[0134] Formula (20)
[0135] In formula (20), T is the length of the data sequence for input driving data and observation data, that is, the number of days for simulation, i Number the daughter cells. t is the time step number, 3N is the number of carbon cells, and Represent the states of carbon cells after the first and second redistribution, respectively.
[0136] Step 4: Model training: Use the driving data and observation data in step 1 and the knowledge constraints in step 3 to train the deep learning model established in step 2. Figure 3 (d) in the figure shows the loss function used to train the deep learning model. Loss It consists of fitting loss and convergence loss:
[0137] Formula (21)
[0138] In formula (21), alpha is the loss weight, which is used to adjust the weight ratio of the two losses. alpha =10000; Convergence loss To converge the loss, Fitting loss is the fitting loss evaluated using the observed values, Fitting loss Defined as:
[0139] Formula (22)
[0140] In formula (22), K is the number of variables; is the weight of each variable; For variables K The number of observations of ; and are the simulated values and actual observed values of the deep learning model, respectively.
[0141] Step 5: Model usage: Input the driving data into the deep learning model trained in step 4 to realize the time series simulation process of crop growth.
[0142] This example provides test results under three gradients: zero fertilization, medium fertilization, and high fertilization, and compares them with the traditional crop model ORYZA2000. The time series simulation results are as follows: Figure 4 shown.
[0143] Specifically, Figure 4 a1-a3 in the figure are respectively the vegetation area indexes under zero fertilization, medium fertilization and high fertilization conditions. Figure 4 b1-b3 in the figure are the leaf weights under zero fertilization, medium fertilization and high fertilization conditions, respectively. Figure 4 c1-c3 in the figure are the stem masses under zero fertilization, medium fertilization and high fertilization conditions, respectively. Figure 4 d1-d3 in the figure are the ear weights under zero fertilization, medium fertilization and high fertilization conditions, respectively. Figure 4 e1-e3 in the figure are the aboveground biomass under zero fertilization, medium fertilization and high fertilization conditions, respectively. Figure 4 f1-f3 in the figure are the yields under zero fertilizer application, medium fertilizer application and high fertilizer application conditions respectively. Figure 4 g1-g3 in the figure are the nitrogen application amounts under the conditions of zero fertilization, medium fertilization and high fertilization, respectively. It can be seen that the present invention can simulate the time series dynamic process of each variable.
[0144] In addition, this embodiment compares the timing results of the present invention with those of a pure data-driven method (LSTM, i.e., long short-term memory network), the present invention without knowledge constraints, and a traditional crop model (ORYZA2000) (refer to Figure 5 ) and statistical results (refer to Figure 6 ).
[0145] Specifically, Figure 5a1-a5 are respectively the vegetation area indices simulated by using LSTM, the present invention without input mask constraint and convergence loss constraint, the present invention without input mask constraint, the present invention without convergence loss constraint, and the present invention including input mask constraint and convergence loss constraint; Figure 5 b1-b5 are leaf masses simulated by using LSTM, the present invention without input mask constraint and convergence loss constraint, the present invention without input mask constraint, the present invention without convergence loss constraint, and the present invention including input mask constraint and convergence loss constraint, respectively; Figure 5 c1-c5 in the figure are respectively the stem qualities simulated by using LSTM, the present invention without input mask constraint and convergence loss constraint, the present invention without input mask constraint, the present invention without convergence loss constraint, and the present invention including input mask constraint and convergence loss constraint; Figure 5 d1-d5 in the figure are respectively the spike qualities simulated by using LSTM, the present invention without input mask constraint and convergence loss constraint, the present invention without input mask constraint, the present invention without convergence loss constraint, and the present invention including input mask constraint and convergence loss constraint; Figure 5 e1-e5 are respectively the aboveground biomass simulated by using LSTM, the present invention without input mask constraint and convergence loss constraint, the present invention without input mask constraint, the present invention without convergence loss constraint, and the present invention including input mask constraint and convergence loss constraint; Figure 5 f1-f5 in the figure are the yields obtained by LSTM, the present invention without input mask constraint and convergence loss constraint, the present invention without input mask constraint, the present invention without convergence loss constraint, and the present invention including input mask constraint and convergence loss constraint. The results show that the structure and knowledge constraints proposed by the present invention can make the simulation results more continuous and smooth, improve the rationality of growth simulation, and reduce the fitting errors of various crop states.
[0146] This application establishes a universal framework that can combine existing knowledge and observational data, and realizes a deep learning model to simulate the daily dynamic growth process of crop dry matter synthesis, distribution, organ development and decline. Compared with other data-driven methods, this application integrates general knowledge such as mass conservation and crop physiological knowledge into the model structure design and training methods, and uses knowledge to constrain the unobserved stage, overcoming the problem of difficulty in training the model due to sparse data and incomplete observation variables. Compared with traditional process-based crop models, this application gets rid of the modeling process's dependence on artificial prior knowledge, allowing the model to autonomously discover crop growth laws from the data, overcoming the problems of difficult improvement of traditional models, large structural errors, and poor adaptability. This application adopts a full deep learning system, which is faster (about 500 times) and lower cost than traditional crop models, providing support for large-scale agricultural intelligent simulation forecasting.
[0147] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of the specification of the present invention should be included in the protection scope of the present invention.
Claims
1. A crop growth intelligent modeling method combining knowledge and data, characterized by: The following steps are involved: Step 1: Obtain driving data and observation data, and preprocess them into a unified format; Step 2: Establish a deep learning model based on crop physiological processes and embed prior knowledge into the deep learning model in a structural way, including: Step 2.1, model generalization: Based on crop physiological knowledge, the model dry matter dynamic process is generalized into several sub-processes, including light interception process, dry matter consumption process for maintaining respiration, dry matter distribution process, dry matter consumption process for growth respiration and dry matter redistribution process; Step 2.2, model implementation: Use deep learning technology to implement the generalization process of step 2.1, specifically including: Step 2.2.
1. The model adopts a mass conservation structure, with carbon cells as the unit for storing dry matter mass. Carbon cells are further divided into sub-cells representing leaves, stems and ears. The model driving factors are obtained based on the carbon cell state and driving variables. The specific composition of the model driving factors is: Formula (1) Formula (2) Formula (3) In formula (1), C It is composed of daughter cells. t is the time step number, represents the daughter cell composition on day t-1; C The subscripts are daughter cell numbers. N Each daughter cell corresponds to one organ. 3N daughter cells, Indicates the t-1 day i The mass of individual cells; In formula (2), is the driving variable on day t, which is determined by the crop growth period on day t. , daily total radiation Daily minimum temperature Daily maximum temperature and cumulative nitrogen application composition; In formula (3), the driving factor on day t is Composed of daughter cells on day t-1 and the driving variable on day t composition; Step 2.2.2, using the mass conservation gate structure to control the dry matter dynamics of the model, and using the model driving factor obtained in step 2.2.1 to control the specific behavior of the gate; Among them, the mass conservation gate structure is expressed as: Formula (4) Formula (5) Formula(6) Formulas (7) Formulas (8) Formula (4) represents the light interception gate on day t , formula (5) represents the maintenance breathing threshold on day t , formula (6) represents the carbon allocation gate on day t , formula (7) represents the growth and respiratory gate on day t , formula (8) represents the reallocation gate on day t ; is the driving factor on day t, t Number the time steps; w and b are the trainable weights and bias parameters in the deep learning model, , , , and Represent the trainable weights of the light interception gate, maintenance respiration gate, carbon allocation gate, growth respiration gate and redistribution gate, respectively. , , , and They represent the bias parameters of the light interception gate, maintenance respiration gate, carbon distribution gate, growth respiration gate, and redistribution gate, respectively; sigmoid is the activation function, softmax is the normalization function; The process of controlling the dynamics of dry matter in the model using the mass conservation gate structure is expressed as: Formulas (9) Formulas (10) Official(11) Formula(12) Official(13) Formula (9) is the light interception process, represents the dry matter synthesized by photosynthesis on day t, is the potential synthesis of dry matter corresponding to the total radiation on day t, represents the light interception gate on day t; ⊙ represents element-wise multiplication; Formula (10) is to maintain the breathing process, represents the dry matter consumed by the crop to maintain respiration on day t, represents the maintenance breathing gate on day t, represents the daughter cell composition on day t-1; Formula (11) is the dry matter distribution process, represents the carbon remaining after respiration on day t Passing the Carbon Allocation Gate Allocated for the growth of different organs and tissues; Formula (12) is the growth respiration process, It represents the dry matter remaining after growth and respiration on day t, that is, the net increase of dry matter on that day. Indicates growth respiratory gate; Formula (13) is the redistribution process, represents the dry matter stored in the carbon cell on day t Redistribution gate Afterwards, the new dry matter state obtained is the final state of the current iteration step; Step 2.2.3, after dynamic calculation of dry matter, output the simulated crop state and obtain the deep learning model; Among them, after the dynamic calculation of dry matter, the output simulated crop state is expressed as: Official(14) Official(15) Official(16) Official(17) Official(18) Official(19) Formulas (14)-(19) represent mapping functions, which are used to map carbon cell states to crop states; in, represents the leaf mass, represents the stem mass, Indicates ear quality, represents the aboveground biomass, Indicates the output, represents the vegetation area index; C It is composed of daughter cells. t is the time step number, i Number the daughter cells, each N Each daughter cell corresponds to one organ. 3N daughter cells, Indicates the tth day i The mass of individual cells; is the coefficient related to output, is the coefficient related to the vegetation area index; Step 3: construct knowledge constraints at different positions in the deep learning model of step 2, including input mask constraints at the input end and convergence loss constraints at the loss function end; Step 4: using the driving data and observation data in step 1 and the knowledge constraints in step 3, training the deep learning model established in step 2; Step 5: Input the driving data into the deep learning model trained in step 4 to realize the time series simulation process of crop growth.
2. The crop growth intelligent modeling method combining knowledge and data according to claim 1, characterized in that: In step 1, the driving data include: daily total radiation Rad, daily minimum temperature T min 、Daily maximum temperature T max , cumulative nitrogen application Cum_N and crop growth period DVS; observation data include: vegetation area index PAI, leaf weight WLV, stem weight WST, ear weight WSO, aboveground biomass WAGT and yield YIELD; The driving data are organized into an N×T×I input data set, and the observation data are organized into an N×T×O observation data set; where N is the number of fields, T is the number of simulation days, I is the number of input features, and O is the number of observation features.
3. The crop growth intelligent modeling method combining knowledge and data according to claim 1 is characterized by: The step 3 comprises: Step 3.1, construct the input mask of the input end, predefine the input weights based on prior knowledge, set the weights of irrelevant variables to 0, and keep the remaining weights as 1; Step 3.2: Construct the convergence loss on the loss side. After performing two dry matter redistributions during the training process, use the mean square error function to minimize the difference between the two redistribution results.
4. The crop growth intelligent modeling method combining knowledge and data according to claim 3, characterized in that: In step 3.2, the convergence loss Convergence loss Defined as: Official(20) In formula (20), T is the length of the data sequence for input driving data and observation data, that is, the number of days for simulation, i Number the daughter cells. t is the time step number, 3N is the number of carbon cells, and Represent the states of carbon cells after the first and second redistribution, respectively.
5. The crop growth intelligent modeling method combining knowledge and data according to claim 4, characterized in that: In step 4, the loss function used in training the deep learning model is Loss It consists of fitting loss and convergence loss: Official(21) In formula (21), alpha is the loss weight, which is used to adjust the weight ratio of the two losses; Convergence loss To converge the loss, Fitting loss is the fitting loss evaluated using the observed values, Fitting loss Defined as: Official(22) In formula (22), K is the number of variables; is the weight of each variable; For variables K The number of observations of ; and are the simulated values and actual observed values of the deep learning model, respectively.
Citation Information
Patent Citations
Vegetation area surface temperature reconstruction method and device, electronic equipment and storage medium
CN116484712A
Soil-plant-atmosphere system simulation method and device based on interpretable machine learning algorithm
CN117172128A
Quantization method, system and equipment for crop water footprint driving force and medium
CN117952314A
Server device for crop growth stage determination system, growth stage determination method and program
JP6638121B1
Realistic plant growth modeling
US20220358265A1
