A crop growth model control system
By designing the main control module and the sub-control module in the crop growth model, the problem of untimely update of data is solved, and crop growth simulation with different time particle sizes is realized, and the control accuracy of the model is improved.
Patent Information
- Application Number
- CN202211078590.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-05
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-09-05
AI Technical Summary
When the existing crop growth model simulates crop growth, the data update is not timely, and the simulation of different time particle sizes cannot be achieved, which affects the effectiveness of the control system.
A control system is designed, including the main control module and multiple sub-control modules. The main control module is connected to the sub-control module through the event control interface to realize the management of weather, fertilization, irrigation and soil modules, and calculate the water balance and nitrogen conversion process. , update the module data, control the progress of the sub-control module, and realize crop growth simulation with different time particle sizes.
Effectively synchronously control the execution progress of each module, realize crop growth simulation with adjustable time period length, and improve the control accuracy of crop growth models.
Smart Images

Figure CN115437287B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a control system, in particular to a crop growth model control system, and belongs to the technical field of crop growth models. Background Art
[0002] Crop growth models can quantitatively describe the dynamic process of crop growth, development, grain formation and yield based on meteorological conditions, soil conditions and crop cultivation management measures. However, model simulation has large uncertainty and requires a large number of input parameters. Remote sensing data can obtain large-area crop-related information in real time and dynamically, but remote sensing inversion and remote sensing products have temporal and spatial discontinuities.
[0003] The current crop growth model needs to control the variables of the crop growth model when simulating crop growth. The traditional method mainly monitors the data through various sensors. During the monitoring process, it is easy to cause untimely data updates and fail to realize crop growth simulation at different time granularities, which affects the control of the crop growth model. Summary of the invention
[0004] The object of the present invention is to provide a crop growth model control system to solve the problems raised in the above background technology.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: the control system comprises a main control module and a plurality of sub-control modules, the main control module is a crop simulation module, the sub-control modules comprise a weather module, a fertilization module, an irrigation module, a soil module and a crop growth module, the main control module is connected to the plurality of sub-control modules through an event management and control interface, the main control module controls the progress of the sub-control modules, the main control module reads information through the interfaces of each module, calculates water balance, nitrogen conversion process to drive crop growth, updates module data, and controls the sub-control module to start the simulation of the next cycle, the weather module of the sub-control module is used to manage weather-related parameters, the fertilization module manages fertilization date, depth, type, and urea hydrolysis status information, the irrigation module manages irrigation depth, method, date, irrigation amount, and irrigation efficiency information, the soil module manages the number of soil layers, information of each layer, soil hydrological parameters, soil reflectivity, groundwater depth, surface runoff information, crop residue information of the previous cycle, soil water evaporation parameters, and photosynthetic parameter information, and the crop growth module dynamically calculates and manages crop phenological changes and organ growth.
[0006] As a preferred technical solution of the present invention, the main control module and the sub-control module cooperate and operate in sequence in the same cycle sequence until the crops mature and die. The length of each cycle is set according to demand to achieve crop growth simulation at different time granularities.
[0007] As a preferred technical solution of the present invention, the control process of the main control module is:
[0008] Step 1: Execute submodule data initialization;
[0009] Step 2: Water balance and nitrogen transformation calculation;
[0010] Step 3: soil module update, phenology and crop growth calculation;
[0011] Step 4: Update the crop growth module.
[0012] As a preferred technical solution of the present invention, the main control module uses event-based triggering and processing to perform periodic data output, key information recording and parameter update operations.
[0013] As a preferred technical solution of the present invention, the main control module internally encapsulates a model description module, a model structure module, a model algorithm module and a drive data module.
[0014] As a preferred technical solution of the present invention, the model structure module includes a static structure and a dynamic structure.
[0015] As a preferred technical solution of the present invention, the model algorithm module: by loading the same model computing task scheduler on each computing node, the mapping between different computing task processes and CPU processors is automatically completed by the operating system, specifically including the following steps:
[0016] S1: Call MPI_InitO to initialize the MPI operating environment;
[0017] S2: Call MPI Comm rankO to obtain the process ID corresponding to the CPU
[0018] S3: If the process identification number is a multiple of 2, read the ya meteorological data value and the model operation input parameters; then initialize each sub-model to calculate the shared variables; otherwise go to S5.
[0019] S4: cyclically calculate the full growth period, biomass and dry matter distribution sub-models of ya, apply for an output buffer at the same time, use a non-blocking buffer communication method to send the model calculation result data, and then release the buffer;
[0020] S5: If the process identification number is a multiple of 1, read the continuous YA meteorological data values and model operation input parameters from the file and define the receiving buffer:
[0021] S6: Call MPI Irecv() to receive the model calculation result data sent by non-blocking buffer communication;
[0022] S7: cyclically calculate the organs of ya to build sub-models, and save the calculation results into an array;
[0023] S8: Write the model calculation results to the file and call MPI Finalize(0) to close the message communication.
[0024] As a preferred technical solution of the present invention, the driving module is used for the climate, soil environment, fertilization and irrigation variables and variety and cultivation measure model parameters required for model operation.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] The present invention provides a crop growth model control system. Through the setting of a main control module and a sub-control module, the main control module controls the progress of the sub-control module. The main control module reads information through the interfaces of each module, calculates water balance and nitrogen conversion process to drive crop growth, updates module data, and controls the sub-control module to start the simulation of the next cycle. The execution progress of other modules can be effectively and synchronously controlled to achieve coordinated advancement of each module. The length of the time cycle can be adjusted, and crop growth simulation of different time granularities can be achieved as needed, thereby effectively improving the control of the crop growth model. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a system block diagram of the present invention.
[0028] Figure 2 It is a flowchart of the growth model cycle of the present invention. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] See also Figure 1 , the present invention provides a technical solution for a crop growth model control system:
[0031] according to Figure 1As shown, the control system includes a main control module and multiple sub-control modules. The main control module is a crop simulation module. The sub-control modules include a weather module, a fertilization module, an irrigation module, a soil module and a crop growth module. The main control module is connected to multiple sub-control modules through an event management interface. The main control module controls the progress of the sub-control modules. The main control module reads information through the interfaces of each module, calculates water balance, nitrogen conversion process to drive crop growth, updates module data, and controls the sub-control module to start the simulation of the next cycle. The weather module of the sub-control module is used to manage weather-related parameters. The fertilization module manages the fertilization date, depth, type, and urea hydrolysis status information. The irrigation module manages the irrigation depth, method, date, irrigation amount, and irrigation efficiency information. The soil module manages the number of soil layers, information of each layer, soil hydrological parameters, soil reflectivity, groundwater depth, surface runoff information, crop residue information of the previous cycle, soil water evaporation parameters, and photosynthetic parameter information. The crop growth module dynamically calculates and manages crop phenological changes and organ growth.
[0032] The weather module manages weather-related parameters, including solar radiation information, rainfall information, snowfall information, daily maximum temperature, daily minimum temperature, daily average temperature, and annual average temperature information, and provides an interface for obtaining the corresponding information.
[0033] The fertilization module manages the fertilization date, depth, type, and urea hydrolysis status information, and provides interfaces for adding, obtaining, and applying fertilization and urea hydrolysis status information.
[0034] The irrigation module includes irrigation depth, method, date, irrigation amount, and irrigation efficiency information, and provides interfaces for increasing, obtaining and applying irrigation, obtaining irrigation efficiency, optimizing irrigation methods, and optimizing irrigation depth.
[0035] The soil module encapsulates and manages soil-related information, including the number of soil layers, information on each layer, soil hydrological parameters, soil reflectivity, groundwater depth, surface runoff information, crop residue information from the previous cycle, soil moisture evaporation parameters, and photosynthetic parameter information. The following interfaces are provided: obtaining soil layer information, obtaining soil layers of specified layers, obtaining specified layers by depth, setting weather data, setting annual average temperature, setting monthly temperature amplitude, obtaining groundwater parameters, obtaining soil moisture status, obtaining soil reflectivity, setting and obtaining soil absorbable water, obtaining runoff parameters, determining whether soil water needs to be drained and draining soil water, optimizing fertilization depth, factors affecting rhizosphere nutrients, water evaporation parameters, soil water loss, photosynthetic water stress factors, and setting and obtaining growth water stress factor parameters.
[0036] The crop growth module dynamically calculates and manages crop phenological changes and organ growth, and manages crop growth stages, crop carbohydrates, filling days, wintering days, filling speed, number of leaves, stem weight, number of ears, root growth parameters, photosynthetic nitrogen stress factors, growth nitrogen stress factors, and phenological parameters. It provides two interfaces: phenological calculation and crop growth. Phenological calculation drives the calculation of crop phenological growth stage changes through accumulated temperature, and crop growth drives crop organ growth and changes through nitrogen and water.
[0037] The crop model module is the core module. It performs overall scheduling and management of soil, weather, fertilization, irrigation, crop parameters, and crop growth modules. It reads information through the interfaces of each module, calculates water balance and nitrogen conversion processes to drive crop growth, and updates module data.
[0038] The main control module and the sub-control module work together in the same cycle sequence until the crops mature and die. The length of each cycle is set according to demand to achieve crop growth simulation at different time granularities.
[0039] The control flow of the main control module is:
[0040] Step 1: Execute submodule data initialization;
[0041] Step 2: Water balance and nitrogen transformation calculation;
[0042] Step 3: soil module update, phenology and crop growth calculation;
[0043] Step 4: Update the crop growth module.
[0044] The submodules are controlled to start the simulation of the next cycle. The weather module loads the data of the next cycle. The irrigation, fertilization and soil modules set the time of the next cycle. The growth module updates the duration of the current stage and the crop growth simulation time. The execution process in each cycle is as follows: Figure 2 shown.
[0045] The main control module uses event-based triggering and processing to perform periodic data output, key information recording and parameter update operations.
[0046] The main control module is internally encapsulated with a model description module, a model structure module, a model algorithm module and a drive data module.
[0047] Model structure module: includes static structure and dynamic structure.
[0048] Model algorithm module: Each computing node is loaded with the same model computing task scheduler, and the mapping between different computing task processes and CPU processors is automatically completed by the operating system. Specifically, the following steps are included:
[0049] S1: Call MPI_InitO to initialize the MPI operating environment;
[0050] S2: Call MPI Comm rankO to obtain the process ID corresponding to the CPU
[0051] S3: If the process identification number is a multiple of 2, read the ya meteorological data value and the model operation input parameters; then initialize each sub-model to calculate the shared variables; otherwise go to S5.
[0052] S4: cyclically calculate the full growth period, biomass and dry matter distribution sub-models of ya, apply for an output buffer at the same time, use a non-blocking buffer communication method to send the model calculation result data, and then release the buffer;
[0053] S5: If the process identification number is a multiple of 1, read the continuous YA meteorological data values and model operation input parameters from the file and define the receiving buffer:
[0054] S6: Call MPI Irecv() to receive the model calculation result data sent by non-blocking buffer communication;
[0055] S7: cyclically calculate the organs of ya to build sub-models, and save the calculation results into an array;
[0056] S8: Write the model calculation results to the file and call MPI Finalize(0) to close the message communication.
[0057] Driver module: used for climate, soil environment, fertilization and irrigation variables as well as variety and cultivation measures model parameters required for model operation.
[0058] Based on the computational characteristics of the crop growth model, supported by pipeline technology and step-by-step strategy, different parallel scheduling schemes are designed at the sub-model layer, sub-model group layer and driving data layer, which can effectively control the variables of the crop growth model and facilitate the periodic simulation of the crop growth model.
[0059] In the description of the present invention, it is necessary to understand that the indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0060] In the present invention, unless otherwise clearly stipulated and limited, for example, it can be a fixed connection, a detachable connection, or an integrated one; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, for ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0061] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A crop growth model control system, characterized in that: The control system includes a main control module and multiple sub-control modules. The main control module is a crop simulation module. The sub-control modules include a weather module, a fertilization module, an irrigation module, a soil module and a crop growth module. The main control module is connected to the multiple sub-control modules through an event management interface. The main control module controls the progress of the sub-control modules. The main control module reads information through the interfaces of each module, calculates water balance, nitrogen conversion process to drive crop growth, updates module data, and controls the sub-control module to start the simulation of the next cycle. The weather module of the sub-control module is used to manage weather-related parameters. The fertilization module manages the fertilization date, depth, type, and urea hydrolysis status information. The irrigation module manages the irrigation depth, method, date, irrigation amount, and irrigation efficiency information. The soil module manages the number of soil layers, information of each layer, soil hydrological parameters, soil reflectivity, groundwater depth, surface runoff information, crop residue information of the previous cycle, soil water evaporation parameters, and photosynthesis parameter information. The crop growth module dynamically calculates and manages crop phenological changes and organ growth. The main control module and the sub-control module cooperate and operate in sequence in the same cycle sequence until the crops mature and die. The length of each cycle is set according to demand to achieve crop growth simulation at different time granularities. The main control module is internally encapsulated with a model description module, a model structure module, a model algorithm module and a drive data module; The model algorithm module: by loading the same model computing task scheduler on each computing node, the mapping between different computing task processes and CPU processors is automatically completed by the operating system, specifically including the following steps: S1: Call MPI_InitO to initialize the MPI operating environment; S2: Call MPI Comm rankO to obtain the process identification number corresponding to the CPU; S3: If the process identification number is a multiple of 2, read the bud meteorological data value and the model operation input parameters; then initialize each sub-model to calculate the shared variables; otherwise, go to S5; S4: cyclically calculate the full growth period, biomass and dry matter distribution sub-models of the buds, apply for an output buffer at the same time, use a non-blocking buffer communication method to send the model calculation result data, and then release the buffer; S5: If the process identification number is a multiple of 1, read the continuous bud meteorological data values and the model running input parameters from the file and define the receiving buffer: S6: Call MPIIrecv() to receive the model calculation result data sent by non-blocking buffer communication; S7: looping to calculate the organ building sub-model of the bud and saving the calculation results into an array; S8: Write the model calculation results to the file and call MPIFinalize(0) to close the message communication.
2. A crop growth model control system according to claim 1, characterized in that: The control flow of the main control module is: Step 1: Execute submodule data initialization; Step 2: Water balance and nitrogen transformation calculation; Step 3: soil module update, phenology and crop growth calculation; Step 4: Update the crop growth module.
3. A crop growth model control system according to claim 1, characterized in that: The main control module uses event-based triggering and processing to perform periodic data output, key information recording and parameter update operations.
4. A crop growth model control system according to claim 1, characterized in that: The model structure module includes a static structure and a dynamic structure.
5. A crop growth model control system according to claim 1, characterized in that: The driving data module is used for the climate, soil environment, fertilization and irrigation variables and variety and cultivation measure model parameters required for model operation.
