Day-by-day layered soil water content prediction method, equipment and medium
By combining the HYDRUS-1D physical model and particle filtering method, the daily stratified soil moisture content prediction method solves the problem of difficult to capture the dynamic characteristics of soil moisture, and achieves high-precision soil moisture prediction, providing data support for intelligent irrigation and precise agriculture.
Patent Information
- Application Number
- CN202510614658.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-05-14
AI Technical Summary
The prior art has errors in the monitoring and simulation of soil moisture content, especially in the simulation of a single physical model, which is difficult to capture the dynamic characteristics of soil moisture.
The daily stratified soil moisture content prediction method is used, combined with the HYDRUS-1D physical model and particle filtering (PF) method, and the soil moisture state simulation and prediction are carried out by obtaining meteorological, hydrological and actual measurement data per time period.
High-precision soil moisture stratification prediction is achieved, the error of a single physical model is overcome, the accuracy of moisture prediction is improved, and data support is provided for intelligent irrigation and precise agriculture.
Smart Images

Figure CN120142628A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of soil moisture monitoring and simulation, and particularly to a method, device, and medium for predicting daily stratified soil water content. Background Art
[0002] Soil water content is a key variable in agricultural production, water resource management, and ecosystem research, and has an important impact on crop growth, groundwater recharge, and surface hydrological cycle. Accurately monitoring and simulating the dynamic changes of soil water content is of great significance for optimizing irrigation strategies, improving water resource utilization efficiency, and predicting extreme meteorological events such as droughts.
[0003] Currently, the monitoring methods of soil water content mainly include two categories. The measured methods include artificial sampling methods (such as oven drying method, tensiometer method) and numerical simulation methods (i.e., using sensors (such as TDR, FDR sensors) to obtain soil moisture data and performing large-scale soil moisture inversion through remote sensing technology (such as microwave remote sensing, thermal infrared remote sensing)). Among them, although the artificial sampling method has high accuracy, it is not suitable for large-scale real-time monitoring. The numerical simulation methods include using physical models (such as HYDRUS-1D, SWAP, Soil Water Balance Model) to calculate soil moisture changes, and using data-driven models (such as machine learning, neural network) to predict soil moisture. However, there are often large errors in the simulation of a single physical model. The main reasons are as follows: The uncertainty of soil hydraulic characteristics (such as saturated hydraulic conductivity, field capacity) will affect the simulation accuracy, and the inaccuracy of boundary conditions such as precipitation, evapotranspiration, and surface runoff will lead to simulation deviation. At the same time, soil water content has high spatial heterogeneity and temporal variability, and it is difficult for traditional numerical simulation to fully capture its dynamic characteristics. Summary of the Invention
[0004] The purpose of this application is to provide a method, device, and medium for predicting daily stratified soil water content, which can complete high-precision soil moisture stratified prediction, overcome the errors of a single physical model, and provide data support for intelligent irrigation and precision agriculture.
[0005] To achieve the above purpose, this application provides the following solutions: In the first aspect, this application provides a method for predicting daily stratified soil water content, including: Dividing the soil in the study area into multiple soil layers according to depth intervals; Determining any soil layer as the current soil layer; Obtaining the meteorological data, hydrological data, and measured soil water content data of the current soil layer at each time period; Based on the meteorological data, hydrological data, and measured soil water content data of the current soil layers at different time periods, use HYDRUS-1D to simulate the soil water status, and obtain the water content distribution of each time period for the current soil layers; Based on the water content distribution of each time period for the current soil layers, construct a random walk state transition model; Based on the random walk state transition model, use the particle filter method to complete the prediction of the soil water content of the current soil layers.
[0006] Optionally, the depth interval is 10 cm.
[0007] Optionally, the time period is 1 day.
[0008] Optionally, the step of using HYDRUS-1D to simulate the soil water status based on the meteorological data, hydrological data, and measured soil water content data of the current soil layers at different time periods to obtain the water content distribution of each time period for the current soil layers includes: Based on the meteorological data, hydrological data, and measured soil water content data of the current soil layers at different time periods, initialize the layered state of the soil water content; Set the soil water status simulation parameters; the soil water status simulation parameters include: initial time step, step extreme value, upper boundary condition, and lower boundary condition; Input the measured soil water content data of the current soil layers at different time periods, and run HYDRUS-1D to calculate the soil water migration until the error of HYDRUS-1D meets the set accuracy standard, and output the water content distribution of each time period for the current soil layers.
[0009] Optionally, the initial time step is: 0.001 day; The step extreme value is: 1×10 -5 days and 5 days; The upper boundary condition is: the atmospheric boundary condition with runoff; The lower boundary condition is: the free drainage boundary.
[0010] Optionally, the random walk state transition model is: ; In the formula, represents the soil water content of the th soil layer at time t; represents the soil water content of the th soil layer at time t - 1; represents the random perturbation at time t.
[0011] Optionally, based on the random walk state transition model, the particle filter method is used to complete the prediction of soil water content of the current soil layer, including: Randomly sample the measured initial water content data of the current soil layer within the range of the measured initial water content data of the current soil layer to obtain the initial particle set of the current soil layer; Calculate the soil water content of the current soil layer at the current moment through HYDRUS-1D; According to the soil water content of the current soil layer at the current moment, use the soil water content of the current soil layer at the current moment to determine the predicted value of the soil water content of the current soil layer at the next moment; Obtain the observed value of the soil water content of the current soil layer at the next moment; Based on the predicted value of the soil water content of the current soil layer at the next moment and the observed value of the soil water content of the previous soil layer at the next moment, use the particle weight update formula to update the particle weights; Based on the updated particle weights, resample the initial particle set of the current soil layer; Assimilate the predicted value of the soil water content of the current soil layer at the next moment and the observed value of the soil water content of the previous soil layer at the next moment.
[0012] Optionally, the weight update formula is: ; Wherein, ; In the formula, represents the updated particle weight of the i-th particle in the -th soil layer at the t-th period; represents the process noise of the i-th particle in the -th soil layer at the (t - 1)-th period; represents an intermediate quantity; represents the square value of the observation noise; represents the observed value of the soil water content corresponding to the i-th particle at the t-th period; represents the predicted value of the soil water content corresponding to the i-th particle in the -th soil layer at the t-th period.
[0013] In a second aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned daily layered soil water content prediction method.
[0014] In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned daily layered soil water content prediction method is implemented.
[0015] According to the specific embodiments provided by the present application, the following technical effects are disclosed in the present application: The present application provides a daily stratified soil water content prediction method, device and medium. To solve the HYDRUS-1D simulation error problem, the present application combines HYDRUS-1D and particle filter to construct a daily stratified soil water content prediction system, and fully utilizes sensor data to improve the prediction accuracy. Especially in precision agriculture and intelligent irrigation applications, the soil moisture stratified prediction method based on HYDRUS-1D and particle filter can provide high-precision soil moisture stratified prediction, overcome the error of a single physical model, improve the moisture prediction accuracy, and provide data support for intelligent irrigation and precision agriculture.
[0016] Compared with the prior art, the present application: (1) combines a physical model with data assimilation to improve prediction accuracy. The present application comprehensively utilizes the HYDRUS-1D physical model to simulate soil water movement, and at the same time adopts particle filter (PF) to dynamically fuse observational data to correct model biases. This method fully considers the uncertainty of soil hydraulic parameters, enabling the prediction results to more accurately reflect the true soil water status. Compared with traditional methods that only rely on physical models or data-driven models, it can effectively reduce simulation errors and improve soil water prediction accuracy. (2) Adopts daily dynamic update of soil water content status, enabling the model to respond in real time to the impacts of factors such as rainfall, evapotranspiration, and irrigation, and avoiding the problem that static models cannot adapt to rapidly changing environments. Compared with the single offline simulation method of traditional HYDRUS-1D, the present application can ensure real-time adjustment of soil water simulation through sensor data assimilation, improving the reliability of prediction. (3) Adopts the particle filter algorithm to optimize the calculation results of HYDRUS-1D, making the state transition model more conform to the actual soil water change law and avoiding the accumulation of HYDRUS-1D simulation errors. Compared with the traditional method of directly optimizing the numerical solution of the Richards equation, the present application uses PF for nonlinear state estimation, which can reduce unnecessary calculations and avoid a sharp increase in computational complexity caused by complex parameter optimization, thereby improving prediction efficiency. (4) Effectively addresses the uncertainty of soil hydraulic parameters and boundary conditions: The traditional HYDRUS-1D physical model relies strongly on soil hydraulic parameters (such as saturated hydraulic conductivity, field capacity) and boundary conditions (such as rainfall, evapotranspiration, lower boundary leakage). If there are biases in the parameters, the simulation results may have large errors. The present application corrects through particle filter combined with observational data, which can compensate for the uncertainty of parameters and boundary conditions, making the model prediction more robust and applicable to different soil types, different climate environments, and various agricultural application scenarios. (5) Layer-by-layer soil water prediction to optimize precise irrigation decisions: The present application can predict the soil water content at different depths from 10 cm to 100 cm, providing accurate layered soil water information. Compared with traditional methods that only predict surface moisture (such as remote sensing inversion), the present application can better support precise agricultural irrigation management, help formulate layer-by-layer irrigation strategies, reduce water resource waste, and improve water use efficiency. (6) Avoids the "curse of dimensionality" problem in numerical optimization and improves computational feasibility: The present application uses the HYDRUS-1D physical constraint + particle filter data optimization method to avoid the "curse of dimensionality" problem brought about by the global optimization calculation directly based on the Richards equation, enabling daily soil water simulation to operate efficiently over a long time series. Compared with traditional water simulation methods based on dynamic programming or complex parameter optimization, the present application can reduce computational overhead and improve the practicality and generalizability of the prediction method. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0018] Figure 1 It is a flowchart of a daily layered soil water content prediction method in an embodiment of the present application; Figure 2 It is a schematic diagram of the principle of a daily layered soil water content prediction method in an embodiment of the present application; Figure 3 It is a schematic diagram of solving by particle filter in an embodiment of the present application; Figure 4 It is a comparison chart of the prediction accuracy of predicting the soil water content in a tea garden in an embodiment of the present application; Figure 5 It is a comparison chart of the prediction accuracy of predicting the soil water content in a grassland in an embodiment of the present application. Detailed implementation manners
[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0020] To make the above objects, features, and advantages of the present application more obvious and understandable, the present application will be further described in detail below with reference to the drawings and specific implementation manners.
[0021] The particle filter (PF) method is an effective non-linear and non-Gaussian filtering algorithm, which can fuse observation data and model prediction in real time to improve the simulation accuracy. However, how to fully combine the physical mechanism model to achieve high-precision assimilation of layered soil water content with a high-computation-efficiency particle filter method on the basis of high-precision simulation, so that it can be better applied to the real-time monitoring and accurate prediction of soil water content, is still the focus and difficulty in the applications of precision agriculture and water resource management. In an exemplary embodiment, as Figure 1 shown, a daily layered soil water content prediction method is provided, including: Step 101: Divide the soil in the study area into multiple soil layers according to the depth interval. The depth interval is 10 cm.
[0022] Step 102: Determine any soil layer as the current soil layer.
[0023] Step 103: Obtain the meteorological data, hydrological data, and measured soil water content data of the current soil layer by time period. The time period is 1 day.
[0024] Step 104: Based on the meteorological data, hydrological data, and measured soil water content data of the current soil layer in different time periods, use HYDRUS-1D to simulate the soil water status and obtain the soil water content distribution of the current soil layer by time period. Step 104 includes: Based on the meteorological data, hydrological data, and measured soil water content data of the current soil layer in different time periods, initialize the layered state of the soil water content. Set the soil water status simulation parameters. The soil water status simulation parameters include: initial time step, step size extreme value, upper boundary condition, and lower boundary condition. Input the measured soil water content data of the current soil layer in different time periods and run HYDRUS-1D to calculate the soil water migration until the error of HYDRUS-1D meets the set accuracy standard, and output the soil water content distribution of the current soil layer by time period. The initial time step is: 0.001 days. The step size extreme value is: 1×10 -5 days and 5 days. The upper boundary condition is: the atmospheric boundary condition with runoff. The lower boundary condition is: the free drainage boundary.
[0025] Step 105: Based on the soil water content distribution of the current soil layer by time period, construct a random walk state transition model. The random walk state transition model is: .
[0026] In the formula, represents the soil water content of the th soil layer in the t-th time period. represents the soil water content of the th soil layer in the (t - 1)-th time period. represents the random perturbation in the t-th time period.
[0027] Step 106: Based on the random walk state transition model, use the particle filter method to complete the prediction of the soil water content of the current soil layer.
[0028] Step 106 includes: randomly sampling the measured initial water content data of the current soil layer within the range of the measured initial water content data of the current soil layer to obtain the initial particle set of the current soil layer. Calculate the soil water content at the current moment of the current soil layer through HYDRUS-1D. Determine the predicted value of the soil water content at the next moment of the current soil layer using the soil water content at the current moment of the current soil layer. Obtain the observed value of the soil water content at the next moment of the current soil layer. Based on the predicted value of the soil water content at the next moment of the current soil layer and the observed value of the soil water content at the next moment of the previous soil layer, update the particle weights using the particle weight update formula. Based on the updated particle weights, resample the initial particle set of the current soil layer. Assimilate the predicted value of the soil water content at the next moment of the current soil layer and the observed value of the soil water content at the next moment of the previous soil layer. The weight update formula is: 。
[0029] Among them, 。
[0030] In the formula, represents the updated particle weight of the i-th particle in the -th soil layer at time t. represents the process noise of the i-th particle in the -th soil layer at time t-1. represents an intermediate quantity. represents the square value of the observation noise. represents the observed value of the soil water content corresponding to the i-th particle at time t. represents the predicted value of the soil water content corresponding to the i-th particle in the -th soil layer at time t.
[0031] To ensure the relative probability meaning of the particle weights, it is necessary to normalize the updated weights: ; is the normalized particle weight.
[0032] This application belongs to the technical field of soil moisture dynamic simulation and prediction. The daily stratified soil water content prediction method includes the following steps: S1. Determine the modeling area and set model parameters. Divide the soil profile of the research area into multiple layers, and perform inverse inversion of soil hydraulic parameters based on HYDRUS-1D, including residual water content, saturated water content, saturated hydraulic conductivity, water potential-water curve parameters, and pore connectivity parameters, and optimize the parameters in combination with the measured data. S2. Use HYDRUS-1D to simulate soil water movement. Input meteorological and hydrological data (such as precipitation, evapotranspiration), set boundary conditions (such as atmospheric drive, free drainage), run HYDRUS-1D to calculate the soil water content changes in different soil layers day by day, and initialize the soil water content state based on the measured sensor data (TDR / FDR) to optimize the model simulation effect. S3. Construct a particle filter estimation model. Based on a random walk or a physically driven model, establish a state transition equation and an observation model for soil moisture, and perform particle filter update in combination with the HYDRUS-1D simulation values and the measured sensor data. At the initial moment, randomly sample from the measured data to generate a particle set, update the state variables day by day, calculate the weights of each particle, and normalize them. Further, perform particle filter assimilation optimization. Adjust the credibility of the particles according to the observation data. Particles with higher weights are retained during the resampling process to avoid particle degradation. Optimize the soil water content calculated by HYDRUS-1D based on the assimilated particle set to make it closer to the measured data and correct possible systematic errors. Predict the soil water content in the next time period through the soil moisture state optimized by particle filter assimilation, adjust the physical simulation results calculated by HYDRUS-1D to make it more consistent with the measured data, and ensure the prediction accuracy of the water content in different soil layers. Perform reverse recursive optimization for the entire prediction cycle to ensure the continuity and smoothness of the soil moisture state in each time period, and finally complete the daily stratified soil water content prediction process to obtain the optimal change trajectory of the soil moisture in each layer. This application solves the problems of large prediction errors in pure physical models and sensitivity of data-driven methods to measurement noise, realizes high-precision daily soil moisture simulation based on HYDRUS-1D, and performs optimization assimilation through particle filter, providing an efficient and stable prediction method for precise irrigation, eco-hydrological simulation, and climate change research.
[0033] Next, taking a typical grassland and a tea garden as examples, the daily stratified soil water content prediction method provided in this embodiment will be specifically described. For example, Figure 2 , this embodiment includes the following steps.
[0034] S1. Specify the research area, determine the depth of the calculation profile, and divide the soil layers with equal depth intervals. Set the soil depth of the calculation area to 0 - 100 cm, and divide it into layers at 10 cm intervals. The soil profile states are marked as 1, 2, 3, …, 10 in sequence, corresponding to the soil layers at 10 cm, 20 cm, 30 cm, …, 100 cm respectively. For the time period t , all possible soil layer states are marked as j = 1, 2, 3, …, 10.
[0035] Determine the soil depth and stratification structure of the calculation area, determine the depth of the calculation profile, such as the 0 - 100 cm soil layer, and divide it into layers at 10 cm intervals.
[0036] Combine the soil texture (such as sandy soil, loam, clay) and its hydraulic characteristics in the research area, divide different soil layers, and determine the model parameters (residual water content , saturated water content , saturated hydraulic conductivity , water potential - water content curve parameters , , pore connectivity parameters ) through experimental determination and parameter inversion, and define the parameters. Set the boundary conditions of water movement and the initial water content. Run HYDRUS - 1D for water movement simulation based on the Richards equation: .
[0037] In the formula, = is the soil water differential; is the soil water potential; is the vertical distance from the ground surface; is the unsaturated hydraulic conductivity, is the source - sink term, mainly considering the root water uptake, (s) is the time.
[0038] Further, in this embodiment, the soil water content monitoring data of typical grasslands and tea gardens in Rizhao City, Shandong Province (N119.560577°, E35.462755°) are used for calculation. The test site belongs to the warm - temperate semi - humid monsoon continental climate zone. The average annual precipitation is 840.3 mm, but most of the precipitation is concentrated in June - September, with alternating droughts and floods, which have a significant impact on the soil water dynamics of tea gardens and grasslands. The tThe time period is set to days. The data collected includes: the measured daily soil water content in the tea garden from June 3, 2022 to August 20, 2023 and in the grassland from March 26, 2021 to August 20, 2023 (soil moisture data of different soil layers from 0 to 100 cm measured by sensors); meteorological data (daily precipitation, temperature, wind speed, relative humidity, solar radiation), used to calculate the evapotranspiration (ETc); the soil hydraulic parameters required by HYDRUS-1D (residual water content, saturated water content, saturated hydraulic conductivity, water potential-water content curve parameters, pore connectivity parameters of different soil layers), obtained by combining experimental determination and parameter inversion; soil profile characteristic data (soil texture, bulk density, organic matter content of different soil layers from 0 to 100 cm), used to determine the hydraulic characteristic curve; irrigation management data of the tea garden and the grassland (irrigation duration, irrigation method, irrigation amount), used to analyze the soil water recharge process; boundary condition data (surface runoff, subsurface drainage, potential evapotranspiration ET 0 、soil evaporation rate), used for HYDRUS-1D water movement simulation; crop growth parameters (root depth and transpiration coefficient of tea trees and grassland), used to calculate the plant water absorption process.
[0039] Furthermore, in this case, the soil water is monitored by collecting data once an hour and calculating the daily average soil water content.
[0040] .
[0041] Wherein, is the average water content of the th layer of soil on the th day, the measured water content of the th layer of soil at the th day and the th hour.
[0042] Furthermore, during the experimental determination or numerical inversion process, if the parameters of a certain soil layer do not meet the requirements, then adjust its hydraulic characteristics to make it fit the measured data optimally. Finally, the hydraulic parameter sets of all soil layers are defined as: .
[0043] S2. HYDRUS-1D soil water status simulation.
[0044] Input meteorological and hydrological data, and initialize the layered state of soil water content based on historical measured data (such as TDR and FDR sensor data). In this implementation case, the initial time step is set to 0.001 d, and the extreme value of the time step is 1×10 -5d and 5d. The simulated upper boundary condition is the atmospheric boundary condition with runoff, and the lower boundary condition is the free drainage boundary. The calculated is used as the input of the HYDRUS-1D physical model, and HYDRUS-1D is run to calculate the soil water movement. After the model runs, when the overall error of HYDRUS-1D meets the set accuracy standard (such as R 2 > 0.7, and the specific accuracy standard varies according to the actual situation), it is considered that the simulation effect reaches a better state, and the daily water content distribution of different soil layers at different depths over time can be obtained. .
[0045] S3. Construct a particle filter estimation model.
[0046] Particle filter (PF) is used to assimilate the model calculation results to optimize the prediction of soil water content (SWC) in different soil layers within the range of 0 - 100 cm.
[0047] After analyzing and simulating the measured data of tea gardens and grasslands, by constructing a random walk state transition model, it is assumed that the change of soil moisture is based on the previous state, plus a small random perturbation, to simulate the water dynamic changes caused by factors such as precipitation, evapotranspiration, and leakage.
[0048] , or .
[0049] In the formula, , making the change of soil moisture more adaptable.
[0050] Furthermore, due to the possible influence of factors such as conductivity, temperature, and soil salinity on sensor measurements, there are errors, and the observed value can be modeled as: or .
[0051] In the formula, is the soil water content monitored by the sensor, is the observation matrix, used to map the true state to the observed value, is the observation noise, representing the uncertainty of sensor measurements. is the state of the system at time , is the state transition function, is the process noise, representing the uncertainty factors that cannot be measured externally, is the observed value at time , is the observation function, is the observation noise. It is also possible to consider using the HYDRUS-1D to calculate a physically driven state transition model. If the computational load is large and it is difficult to meet the requirements of high-frequency or real-time calculations, a simplified water balance equation or empirical formula can be used to replace the full physical simulation.
[0052] .
[0053] Where is precipitation, is evaporation, is transpiration, is surface runoff, is deep percolation.
[0054] If data is lacking and it is impossible to accurately calculate the water balance equation, or if the observed data itself has a large amount of noise, using an empirical model may lead to an amplification of errors. It is recommended to adopt a random walk to make the model more sensitive to data changes, rather than using complex physical equations.
[0055] Furthermore, there may be certain deviations in the soil moisture state calculated by HYDRUS-1D. The prediction effect can be improved through the diversity of particle filtering. For example Figure 3 , PF starts from the initial state and generates N = 2500 particles, each particle representing a possible soil water content state at different layers: .
[0056] In the formula, is the initial soil water content of the th layer corresponding to the th particle; Randomly samples from the range of measured initial water content data according to soil layers to form an initial particle set at different layers.
[0057] Furthermore, calculate the state at the next moment of each soil layer through the state transition model: .
[0058] In the formula, is the water content of different soil layers calculated by HYDRUS-1D, , representing process noise.
[0059] Furthermore, update the particle weights according to the observed values of different soil layers: .
[0060] Where .
[0061] To ensure the relative probability meaning of the particle weights, it is necessary to normalize the updated weights: ; is the normalized particle weight; the sum of the normalized weights is 1.
[0062] Furthermore, based on the normalized weights, particles in different soil layers are resampled independently, low-weight particles are removed, and high-weight particles in different soil layers are retained to prevent particle degradation: .
[0063] Furthermore, by combining prediction and observation data, the soil moisture status of different soils is finally corrected: .
[0064] In the formula, is the gain matrix of the th layer, is the observation matrix, is the predicted value of soil water content by the HYDRUS-1D model, the th layer soil water content observation value at time t of the soil.
[0065] Through state transfer + weight update + resampling of PF, the simulation accuracy of soil moisture in different layers after assimilation is significantly improved. Assimilation combines prediction and observation data, making the simulated soil moisture closer to the actual situation. Reverse recursive optimization is performed on the entire prediction cycle to ensure the continuity and smoothness of the soil moisture status at each time period, and finally the daily stratified soil water content prediction process is completed to obtain the optimal change trajectory of soil moisture at each layer.
[0066] This method uses the HYDRUS-1D physical model to calculate the soil water movement in different soil layers. First, according to the soil texture, stratification structure and hydraulic characteristics of the study area, a Richards equation model is established. Meteorological data (precipitation, evapotranspiration) are input, boundary conditions (free drainage / meteorological drive) are set, and HYDRUS-1D is run to simulate the daily changes in soil water content at different depths (10 cm - 100 cm). The soil hydraulic parameters are adjusted through optimization inversion (Inverse Modeling) to make the simulated values consistent with the measured values (TDR / FDR sensor data) to improve the accuracy of the initial soil moisture status setting. Based on the preliminary simulation results of HYDRUS-1D, an initial particle set is generated using the particle filter method, the daily dynamic changes of soil moisture are simulated, and real-time assimilation is combined with sensor observation data to improve the prediction accuracy.
[0067] The sensor can provide hourly or higher-frequency soil water content data. Through wireless transmission (LoRa, NB-IoT), the soil water content observation data is uploaded in real time. PF combined with HYDRUS-1D dynamically adjusts the soil water status every day to make the prediction more accurate. The traditional HYDRUS-1D has complex calculations and is difficult to support high-frequency real-time prediction. However, it can perform a complete calculation in the initial state and only make a small-range update based on the latest observation data subsequently: In the initial stage, run the complete HYDRUS-1D to obtain the benchmark soil water status and provide physical-driven predictions on a long time scale; in the real-time stage, only perform PF prediction + observation assimilation on the latest time step t through high-frequency sensor data to correct the prediction value, taking into account both accuracy and computational efficiency, and significantly reducing the computational amount.
[0068] Furthermore, in this embodiment, two typical plots, namely a tea garden and a grassland, are selected respectively, and soil water simulation is carried out in the depth range of 0 - 100 cm, and data assimilation is carried out by using the HYDRUS-1D physical model combined with particle filter (PF). To evaluate the improvement effect of PF assimilation on the simulation accuracy of soil water, the following different calculation schemes are compared: (1) Only use HYDRUS-1D (without assimilation) to simulate the soil water status of the entire profile.
[0069] (2) HYDRUS-1D + PF layer-by-layer assimilation (10 cm stratification), and use sensor data for dynamic correction.
[0070] (3) HYDRUS-1D + PF overall profile assimilation, that is, without distinguishing soil layers, directly correct the overall soil water status. To further analyze the simulation accuracy of different schemes, the coefficient of determination (R 2 )、root mean square error (RMSE), mean absolute error (MAE) are calculated and compared and analyzed. The specific effects are shown in Table 1.
[0071] Table 1 Comparison table of real-time prediction accuracy of soil water in tea garden and grassland before and after using this method
[0072] HYDRUS-1D provides daily physical predictions, but has a large computational amount, cannot be updated frequently, and has low accuracy. PF combined with sensor data performs high-frequency prediction and correction to improve short-term accuracy. The prediction results of the tea garden and the grassland are as shown in Figure 4 and Figure 5 shown. In this case, when only HYDRUS-1D (without PF assimilation) is used, R 2Only 0.806 - 0.809, with large prediction errors. The combination of HYDRUS-1D and particle filter (PF) assimilation technology can effectively improve the simulation accuracy. In the depth range of 0 - 100 cm, the tea garden and case soil water content (SWC) models perform well overall, and the overall soil layer R 2 reaches 0.99995 (tea garden) and 0.99449 (grassland), and the errors are significantly reduced. The accuracy of layer-by-layer HYDRUS-1D (without assimilation) is low. The performance of each depth level of the present invention is relatively consistent, and the R 2 value is close to 1.0, and both RMSE and MAE are low, indicating that PF has a strong ability to correct errors in different soil layers.
[0073] As can be seen from Table 1, through the HYDRUS-1D physical model + particle filter (PF) assimilation method of the present invention, the simulation accuracy of soil moisture in different soil layers has been significantly improved, not only improving the overall prediction accuracy, but also effectively reducing the simulation errors at different depth levels. Compared with the case of only using HYDRUS-1D calculation, the average RMSE of the method of the present invention in the range of 0 - 100 cm is reduced by more than 50%, the MAE is reduced by more than 60%, and the coefficient of determination (R 2 ) is increased to above 0.99, indicating that the assimilated results are more in line with the actual soil moisture change trend.
[0074] In addition, through layer-by-layer PF assimilation (10 cm stratified correction), the prediction accuracy of different depth levels has been optimized. Especially in the area with large water content changes in the shallow layer (0 - 30 cm), the errors are significantly reduced, and the short-term prediction stability is improved. In the deep layer (80 - 100 cm), due to the slow water migration, PF assimilation can effectively correct the long-term deviation of HYDRUS-1D and improve the credibility of the model.
[0075] From the above analysis, it can be seen that the daily stratified soil moisture prediction method based on HYDRUS-1D + PF proposed by the present invention has a significant effect of improving the simulation accuracy. The operation results show that this method can effectively make up for the deficiency of the traditional HYDRUS-1D model in responding to short-term water dynamic changes, and at the same time avoid systematic errors caused by model parameter uncertainties. Compared with the non-assimilated treatment, the method of the present application can effectively reduce the accumulation of physical model errors and improve the reliability of soil moisture dynamic monitoring.
[0076] Applying the method of the present application to the fields of precision agriculture and intelligent irrigation can effectively optimize the irrigation strategy, improve the water resource utilization efficiency, and provide a scientific basis for eco-hydrological research and water management.
[0077] In an exemplary embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a daily layered soil moisture content prediction method.
[0078] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0079] In an exemplary embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0080] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0081] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0082] The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0083] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0084] Specific examples are used in this article to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for predicting soil moisture content in layers on a daily basis, characterized in that: include: The soil in the study area is divided into several soil layers according to the depth interval; Determine any soil layer as the current soil layer; Obtain meteorological data, hydrological data and measured data of soil moisture content for the current soil stratification in each period; Based on the meteorological data, hydrological data and measured data of soil moisture content of the current soil stratification in different periods, HYDRUS-1D is used to simulate the soil moisture state and obtain the distribution of moisture content in the current soil stratification at each period. Based on the current soil moisture distribution in each period, a random walk state transfer model is constructed; Based on the random walk state transfer model, the particle filtering method is used to complete the soil moisture content prediction of the current soil layer.
2. The method for predicting soil moisture content in daily layers according to claim 1, characterized in that: The depth interval is 10 cm.
3. The method for predicting soil moisture content in daily layers according to claim 1, characterized in that: The period is 1 day.
4. The method for predicting soil moisture content in layers on a daily basis according to claim 1, characterized in that: Based on the meteorological data, hydrological data and measured data of soil moisture content of the current soil stratification in different time periods, HYDRUS-1D is used to simulate the soil moisture state to obtain the distribution of moisture content of the current soil stratification in each time period, including: Initialize the stratified state of soil moisture based on the meteorological data, hydrological data and measured data of soil moisture content of the current soil stratification in different periods; Setting soil moisture state simulation parameters; the soil moisture state simulation parameters include: initial time step, step extreme value, upper boundary condition and lower boundary condition; Input the measured soil moisture data of the current soil layer at different time periods, and run HYDRUS-1D to calculate soil moisture movement until the error of HYDRUS-1D meets the set accuracy standard, and output the moisture content distribution of the current soil layer at each time period.
5. The method for predicting soil moisture content in layers on a daily basis according to claim 4, characterized in that: The initial time step is: 0.001 day; The step size limit is: 1×10 -5 days and 5 days; The upper boundary conditions are: atmospheric boundary conditions with runoff; The lower boundary condition is: free drainage boundary.
6. The method for predicting soil moisture content in layers on a daily basis according to claim 4, characterized in that: The random walk state transition model is: ; In the formula, Indicates the time period t Soil moisture content of soil layers; Indicates the first Soil moisture content of soil layers; represents the random disturbance in period t.
7. The method for predicting soil moisture content in daily layers according to claim 1, characterized in that: Based on the random walk state transfer model, the particle filtering method is used to complete the soil moisture content prediction of the current soil layer, including: Randomly sample the measured initial moisture content data of the current soil layer from the range of the measured initial moisture content data of the current soil layer to obtain the initial particle set of the current soil layer; Calculate the soil moisture content of the current soil layer at the current moment through HYDRUS-1D; According to the soil moisture content of the current soil layer at the current moment, the predicted value of the soil moisture content of the current soil layer at the next moment is determined by using the soil moisture content of the current soil layer at the current moment; Get the observed value of soil moisture content of the current soil layer at the next moment; Based on the predicted value of soil moisture content of the current soil layer at the next moment and the observed value of soil moisture content of the previous soil layer at the next moment, the particle weight update formula is used to update the particle weight; Based on the updated particle weights, the initial particle set of the current soil layer is resampled; The predicted value of soil moisture content of the current soil layer at the next moment and the observed value of soil moisture content of the previous soil layer at the next moment are assimilated.
8. The method for predicting soil moisture content in layers on a daily basis according to claim 7, characterized in that: The weight update formula is: ; in, ; In the formula, Indicates the time period t The updated particle weight of the i-th particle in the soil layer; Indicates the first The process noise of the ith particle of the soil stratification layer; Indicates an intermediate quantity; represents the square value of the observation noise; represents the observed value of soil moisture corresponding to the i-th particle in period t; Indicates the time period t The predicted value of soil moisture corresponding to the i-th particle in the soil layer.
9. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the daily stratified soil moisture prediction method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the daily stratified soil moisture prediction method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Method for assimilating remote sensing data of soil humidity in watershed scale
CN102034027A
Soil temperature and humidity data assimilation method based on EnPF
CN107545121A
Sequential simulation-based soil water content spatial variation three-dimensional representation method
CN108733952A
Method for determining the temperature boundary of a bottom layer in soil hydrothermal coupling simulation
CN109871618A
Irrigation decision-making method and system based on neural network
CN111967665A
Cited By
Quantitative analysis method for frozen soil ice-melt water runoff based on distributed hydrological model
CN120597584A