Distributed soil nitrogen, phosphorus and potassium state monitoring method and system

By using distributed sensing nodes and adaptive calibration technology, combined with improved wavelet denoising and lightweight convolutional neural networks, the problems of convenience and accuracy in soil nitrogen, phosphorus and potassium status monitoring have been solved, and efficient soil nutrient monitoring has been achieved.

CN121721116AActive Publication Date: 2026-03-24MANAGER YANG LINGPENG INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-26
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing soil nitrogen, phosphorus, and potassium status monitoring technologies lack convenience and accuracy, and are easily affected by ambient light interference, leading to measurement deviations and making it impossible to achieve large-scale distributed in-situ monitoring.

Method used

Distributed sensing nodes are used for adaptive calibration, combined with improved adaptive wavelet threshold denoising, improved lightweight convolutional neural network and cross-node collaborative filtering, and a nitrogen, phosphorus and potassium inversion model based on nonlinear coupling of environmental factors is used for monitoring.

Benefits of technology

It improves the convenience and accuracy of soil nitrogen, phosphorus and potassium status monitoring, adapts to complex environments, dynamically corrects sensor drift, and enhances the reliability and environmental adaptability of monitoring data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121721116A_ABST
    Figure CN121721116A_ABST
Patent Text Reader

Abstract

The invention discloses a distributed soil nitrogen, phosphorus and potassium state monitoring method and system, and the method comprises the steps: carrying out the adaptive calibration of a nitrogen, phosphorus and potassium sensor of each sensing node, and collecting the potential data of soil nitrogen, phosphorus and potassium in real time; carrying out improved adaptive wavelet threshold noise reduction; carrying out feature extraction on the noise reduction feature data by adopting an improved lightweight convolutional neural network; processing the nitrogen-phosphorus-potassium multi-dimensional depth feature vector by adopting a cross-node collaborative filtering and anomaly rejection algorithm; inverting a nitrogen phosphorus and potassium concentration value according to the regional consistency characteristic data by adopting a nitrogen phosphorus and potassium inversion model based on environmental factor nonlinear coupling; and generating a regional soil nutrient thermodynamic diagram. According to the invention, by deploying the distributed sensing nodes, and combining adaptive calibration, improved adaptive wavelet threshold noise reduction, improved lightweight convolutional neural network, cross-node collaborative filtering, and a nitrogen-phosphorus-potassium inversion model based on environmental factor nonlinear coupling, the convenience and accuracy of soil nitrogen-phosphorus-potassium state monitoring are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of soil nitrogen, phosphorus and potassium monitoring, in particular to a distributed soil nitrogen, phosphorus and potassium state monitoring method and system. BACKGROUND

[0002] Nitrogen, phosphorus and potassium in soil are core nutrient elements required for crop growth and development, and their accurate monitoring is a core technical support for agricultural environmental monitoring, farmland quality protection and precision agriculture development, and belongs to an important research direction in the cross field of agricultural engineering and environmental monitoring. With the acceleration of agricultural modernization, the concept of green agriculture and precision fertilization is widely popularized, and large-scale farmland and facility agriculture have higher requirements for the timeliness and coverage of soil nutrient monitoring, and related monitoring technologies have become a key link between farmland quality control and crop high yield. At present, soil nutrient monitoring technology has gradually iterated towards intelligence and scale, and its technical level directly affects the efficiency of agricultural resource utilization and the sustainable development capacity of farmland, so it is necessary to study soil nitrogen, phosphorus and potassium monitoring technology.

[0003] In the prior art, Chinese patent CN121231463A discloses a soil in-situ nitrogen, phosphorus and potassium measurement system based on digital colorimetry, which comprises a base and an upper computer, and a monitoring box is arranged on the base through a support column; a colorimetric assembly and a data acquisition assembly acting on the colorimetric assembly are arranged in the monitoring box; an energy assembly is arranged on the monitoring box, the data acquisition assembly is electrically connected with the upper computer and the energy assembly, a water supplement assembly and a extraction assembly are arranged on the side wall of the monitoring box; the extraction assembly is in communication with the colorimetric assembly; a colorimetric colorimetric method is introduced through the water supplement assembly, the extraction assembly and the colorimetric assembly, the data acquisition assembly is supported by the energy assembly to collect color development data and transmit them to the upper computer to extract color information, without the need for electrode sensors, so that rapid and accurate determination of nitrogen, phosphorus and potassium in soil can be realized quickly.

[0004] However, the above prior art relies on colorimetric colorimetric reaction, needs to add color developing agent additionally, is complicated and time-consuming in operation, and the monitoring box is fixed in deployment and cannot realize large-area distributed in-situ monitoring, is easily affected by environmental light and causes measurement deviation, and the convenience and accuracy of soil nitrogen, phosphorus and potassium state monitoring need to be improved. SUMMARY

[0005] The present application provides a distributed soil nitrogen, phosphorus and potassium state monitoring method and system to solve the problem of improving the convenience and accuracy of soil nitrogen, phosphorus and potassium state monitoring in the prior art.

[0006] In one aspect, the present application provides a distributed soil nitrogen, phosphorus and potassium state monitoring method, comprising the following steps: Step one, deploy distributed sensing nodes, adaptively calibrate the nitrogen, phosphorus and potassium sensors of each sensing node, and use the adaptively calibrated distributed sensing nodes to collect real-time soil nitrogen, phosphorus and potassium potential data.

[0007] Step two, improve the adaptive wavelet threshold denoising of the soil nitrogen, phosphorus and potassium potential data of each sensing node to obtain denoised feature data.

[0008] Step three, use an improved lightweight convolutional neural network to extract features from the denoised feature data of each sensing node to obtain a nitrogen, phosphorus and potassium multi-dimensional deep feature vector.

[0009] Step four, use a cross-node collaborative filtering and anomaly removal algorithm to process the nitrogen, phosphorus and potassium multi-dimensional deep feature vector of each sensing node to obtain regional consistency feature data.

[0010] Step five, use a nitrogen, phosphorus and potassium inversion model based on environmental factor nonlinear coupling to invert the nitrogen, phosphorus and potassium concentration values from the regional consistency feature data of each sensing node.

[0011] Step six, generate a regional soil nutrient thermodynamic map based on the nitrogen, phosphorus and potassium concentration values of each sensing node.

[0012] In one possible implementation, in step one, the area to be monitored is divided into equal-area square grids, and a sensing node is set at the center of each grid. Each sensing node is integrated with a quick-acting nitrogen, quick-acting phosphorus and quick-acting potassium ion selective electrode, i.e., the nitrogen, phosphorus and potassium sensor, and a temperature and humidity sensor and a conductivity sensor.

[0013] Each sensing node uses LoRa non-central networking communication.

[0014] In one possible implementation, in step one, the adaptive calibration includes: Based on the real-time temperature and real-time conductivity of each sensing node, a real-time correction coefficient is constructed, and the corresponding nitrogen, phosphorus and potassium sensor is adaptively calibrated using the real-time correction coefficient.

[0015] In one possible implementation, in step two, the improved adaptive wavelet threshold denoising includes: An adaptive weight factor is constructed, and the soil nitrogen, phosphorus and potassium potential data processed by the wavelet hard threshold and the soil nitrogen, phosphorus and potassium potential data processed by the wavelet soft threshold are weighted and summed based on the adaptive weight factor to obtain the denoised feature data.

[0016] In one possible implementation, in step three, the improved lightweight convolutional neural network is integrated with a deep separable convolutional layer and an improved channel attention mechanism layer.

[0017] In a possible implementation, the improved channel attention mechanism layer calculates the channel feature weight through a Sigmoid activation function combined with a full connection layer operation, an average pooling operation, and a maximum pooling operation.

[0018] In a possible implementation, step four includes: The cross-node collaborative filtering algorithm based on adjacent node correction is used to correct the nitrogen, phosphorus and potassium multi-dimensional deep feature vector of each sensor node to obtain a cross-node corrected feature.

[0019] The 3σ criterion is used to remove outliers from the cross-node corrected feature to obtain regional consistency feature data.

[0020] In a possible implementation, in step five, the nitrogen, phosphorus and potassium inversion model based on environmental factor nonlinear coupling sequentially performs dimension standardization processing, environmental-nitrogen, phosphorus and potassium nonlinear coupling processing, and nitrogen, phosphorus and potassium differentiated electrochemical inversion on the regional consistency feature data of each sensor node to obtain nitrogen, phosphorus and potassium concentration values.

[0021] The environmental-nitrogen, phosphorus and potassium nonlinear coupling processing uses a natural exponential cross-coupling formula to couple the dimension-standardized temperature, humidity, and conductivity with the soil nitrogen, phosphorus and potassium data.

[0022] The nitrogen, phosphorus and potassium differentiated electrochemical inversion respectively designs a linear-logarithmic response inversion formula for available nitrogen, a nonlinear quadratic response inversion formula for available phosphorus, and a diffusion-type root-logarithmic response inversion formula for available potassium.

[0023] In a possible implementation, step six includes: According to the nitrogen, phosphorus and potassium nutrient requirements of crops, nitrogen, phosphorus and potassium warning threshold values are set, and based on the nitrogen, phosphorus and potassium warning threshold values and the nitrogen, phosphorus and potassium concentration values of each sensor node, warning levels of each sensor node are obtained, and a regional soil nutrient thermodynamic map is generated according to the warning levels of each sensor node.

[0024] In one aspect, the present application provides a distributed soil nitrogen, phosphorus and potassium state monitoring system, which adopts the above-mentioned distributed soil nitrogen, phosphorus and potassium state monitoring method, and includes a distributed sensor node, a data denoising module, a feature extraction module, a consistency processing module, a concentration inversion module, and a thermodynamic map generation module.

[0025] The distributed sensor node is configured to collect soil nitrogen, phosphorus and potassium potential data in real time.

[0026] The data denoising module is configured to perform improved adaptive wavelet threshold denoising on the soil nitrogen, phosphorus and potassium potential data of each sensor node to obtain denoised feature data.

[0027] The feature extraction module is configured to use an improved lightweight convolutional neural network to extract features from the noise-reduced feature data of each sensing node, thereby obtaining a multidimensional deep feature vector of nitrogen, phosphorus, and potassium.

[0028] The consistency processing module is configured to process the nitrogen, phosphorus, and potassium multidimensional deep feature vectors of each sensing node using cross-node collaborative filtering and anomaly removal algorithms to obtain regional consistency feature data.

[0029] The concentration inversion module is configured to use a nitrogen, phosphorus, and potassium inversion model based on nonlinear coupling of environmental factors to invert nitrogen, phosphorus, and potassium concentration values ​​based on the regional consistency characteristic data of each sensor node.

[0030] The heat map generation module is configured to generate a regional soil nutrient heat map based on the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node.

[0031] The distributed soil nitrogen, phosphorus, and potassium status monitoring method and system disclosed in this application have the following advantages: By deploying distributed sensing nodes and combining adaptive calibration, improved adaptive wavelet threshold denoising, improved lightweight convolutional neural networks, cross-node collaborative filtering, and a nitrogen, phosphorus, and potassium inversion model based on nonlinear coupling of environmental factors, the convenience and accuracy of soil nitrogen, phosphorus, and potassium status monitoring have been improved.

[0032] By constructing real-time correction coefficients based on the real-time temperature and conductivity of each sensing node, the nitrogen, phosphorus, and potassium sensors are adaptively calibrated to dynamically correct sensor drift and ensure the accuracy of basic monitoring.

[0033] By constructing an adaptive weighting factor, the soil nitrogen, phosphorus, and potassium potential data after wavelet hard thresholding and the soil nitrogen, phosphorus, and potassium potential data after wavelet soft thresholding are weighted and summed based on the adaptive weighting factor, which takes into account both noise reduction effect and signal fidelity, adapts to complex soil environments, and improves the accuracy of the original data.

[0034] The proposed improved lightweight convolutional neural network integrates depthwise separable convolutional layers and an improved channel attention mechanism layer, which is adapted to edge computing terminals. It does not require cloud computing power and can complete feature extraction locally on the terminal, thus improving the convenience of terminal processing.

[0035] The proposed improved channel attention mechanism layer calculates channel feature weights by combining the Sigmoid activation function with fully connected layer operations, average pooling operations, and max pooling operations, accurately extracting the core features of nitrogen, phosphorus, and potassium, and improving feature effectiveness.

[0036] By employing a cross-node collaborative filtering algorithm based on adjacent node correction to correct the multidimensional deep feature vectors of nitrogen, phosphorus, and potassium for each sensing node, outlier removal is performed on the cross-node corrected features, and abnormal data is removed by utilizing regional nutrient correlation, thereby improving the accuracy of regional monitoring data.

[0037] By sequentially performing dimensional standardization, environmental-nitrogen-phosphorus-potassium nonlinear coupling processing, and nitrogen-phosphorus-potassium differential electrochemical inversion on the regional consistency characteristic data of each sensing node, nitrogen-phosphorus-potassium concentration values ​​are obtained, thereby improving the reliability and environmental adaptability of nitrogen-phosphorus-potassium concentration values. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a flowchart illustrating a distributed soil nitrogen, phosphorus, and potassium status monitoring method provided in an embodiment of this application. Detailed Implementation

[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0041] like Figure 1 As shown in the figure, this application provides a distributed soil nitrogen, phosphorus, and potassium status monitoring method, which includes the following steps: Step 1: Deploy distributed sensing nodes, perform adaptive calibration on the nitrogen, phosphorus, and potassium sensors of each sensing node, and use the adaptively calibrated distributed sensing nodes to collect soil nitrogen, phosphorus, and potassium potential data in real time.

[0042] Step 2: Improved adaptive wavelet threshold denoising is performed on the soil nitrogen, phosphorus and potassium potential data of each sensing node to obtain denoised feature data.

[0043] Step 3: An improved lightweight convolutional neural network is used to extract features from the noise reduction feature data of each sensing node to obtain a multidimensional deep feature vector of nitrogen, phosphorus and potassium.

[0044] Step four involves processing the nitrogen, phosphorus, and potassium multidimensional deep feature vectors of each sensing node using cross-node collaborative filtering and anomaly removal algorithms to obtain regional consistency feature data.

[0045] Step 5: The nitrogen, phosphorus and potassium concentration values ​​are inverted using a nitrogen, phosphorus and potassium inversion model based on nonlinear coupling of environmental factors, according to the regional consistency characteristic data of each sensing node.

[0046] Step 6: Generate a regional soil nutrient thermogram based on the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node.

[0047] For example, in step one, the area to be monitored is divided into square grids of equal area, and a sensing node is set at the center of each grid. Each sensing node integrates a fast-acting nitrogen, fast-acting phosphorus, and fast-acting potassium ion selective electrode, i.e., the nitrogen, phosphorus, and potassium sensor, and also integrates a temperature and humidity sensor and a conductivity sensor.

[0048] Each sensor node uses LoRa decentralized networking communication.

[0049] Specifically, in this embodiment, in step one, the side length of the square grid is set to 5m. In other possible embodiments, it can be increased or decreased according to actual needs.

[0050] Each sensor node uses LoRa decentralized networking communication, eliminating the need for a central gateway. Adjacent nodes directly transmit data, adapting to wire-free scenarios and achieving seamless coverage of the area.

[0051] In step one, the temperature and humidity sensor and the conductivity sensor are used to collect real-time temperature, real-time humidity, and real-time conductivity.

[0052] For example, in step one, the adaptive calibration includes: A real-time correction coefficient is constructed based on the real-time temperature and real-time conductivity of each sensing node, and the corresponding nitrogen, phosphorus and potassium sensors are adaptively calibrated using the real-time correction coefficient.

[0053] Specifically, in this embodiment, the real-time correction coefficient is constructed as follows: .

[0054] in, This indicates the real-time correction factor. Indicates the temperature compensation coefficient. Indicates real-time temperature. This represents the conductivity compensation coefficient. Indicates real-time conductivity. This represents the sensor reference offset coefficient. Temperature compensation coefficient. Conductivity compensation coefficient Sensor reference offset coefficient The calibration was performed in the laboratory beforehand.

[0055] The formula for adaptive calibration is as follows: .

[0056] in, This represents the potential data after adaptive calibration (i.e., soil nitrogen, phosphorus, and potassium potential data). This represents the potential data before adaptive calibration. This indicates the electrode zero potential offset (calibrated with a standard solution before the sensor leaves the factory).

[0057] For example, in step two, the improved adaptive wavelet threshold denoising includes: An adaptive weighting factor is constructed, and the soil nitrogen, phosphorus, and potassium potential data after wavelet hard thresholding and the soil nitrogen, phosphorus, and potassium potential data after wavelet soft thresholding are weighted and summed based on the adaptive weighting factor to obtain the noise reduction feature data.

[0058] Specifically, in this embodiment, the formula for the adaptive weighting factor in step two is as follows: .

[0059] in, Indicates the adaptive weighting factor. This represents the maximum potential data of soil nitrogen, phosphorus, and potassium in a single period.

[0060] The noise reduction feature data is shown below: .

[0061] in, This represents the noise reduction feature data. This represents the soil nitrogen, phosphorus, and potassium potential data after wavelet hard thresholding. This represents the soil nitrogen, phosphorus, and potassium potential data after wavelet soft thresholding.

[0062] In one possible embodiment, in step two, the noise reduction feature data is normalized to the (0,1) interval to eliminate the influence of dimensions.

[0063] For example, in step three, the improved lightweight convolutional neural network integrates depthwise separable convolutional layers and an improved channel attention mechanism layer.

[0064] Specifically, in this embodiment, in step three, the structure of the improved lightweight convolutional neural network is as follows: input layer - depthwise separable convolutional layer - improved channel attention mechanism layer - global average pooling layer - output layer.

[0065] The input layer is used to input the noise reduction feature data, the depthwise separable convolutional layer is used to perform depthwise separable convolution on the noise reduction feature data, the improved channel attention mechanism layer is used to dynamically assign channel feature weights to the noise reduction feature data after depthwise separable convolution, the global average pooling layer is used to aggregate the noise reduction feature data after assigning channel feature weights, and the output layer is used to map the aggregated noise reduction feature data into a fixed-dimensional nitrogen, phosphorus and potassium multidimensional depth feature vector.

[0066] For example, the improved channel attention mechanism layer calculates channel feature weights by combining the Sigmoid activation function with fully connected layer operations, average pooling operations, and max pooling operations.

[0067] Specifically, in this embodiment, the formula for the channel feature weights is as follows: .

[0068] in, Indicates the channel feature weights. This represents the Sigmoid activation function. This indicates a fully connected layer operation. This indicates the average pooling operation. This indicates a max pooling operation. This represents the output of a depthwise separable convolutional layer. A larger channel feature weight indicates that the features of that channel (such as nitrogen ion channels) are more important to the monitoring results, thus automatically strengthening the effective feature weights.

[0069] For example, step four includes: A cross-node collaborative filtering algorithm based on adjacent node correction is used to correct the multidimensional deep feature vectors of nitrogen, phosphorus and potassium of each sensing node, thus obtaining cross-node corrected features.

[0070] The 3σ criterion is used to remove outliers from the cross-node correction features to obtain regional consistency feature data.

[0071] Specifically, in this embodiment, the formula for cross-node feature correction in step four is as follows: .

[0072] in, This represents the cross-node correction feature of the i-th sensor node. This represents the nitrogen, phosphorus, and potassium multidimensional depth feature vector of the i-th sensor node. Indicates the number of adjacent nodes. This represents the multidimensional deep feature vector of nitrogen, phosphorus, and potassium for the j-th neighboring node. The spatial weight factor of the i-th sensor node and its j-th neighbor is equal to the reciprocal of the Euclidean distance between the i-th sensor node and its j-th neighbor.

[0073] In this embodiment, the 3σ criterion is used to remove outliers from cross-node modified features as follows: when At that time, determine the current situation. These are outliers and are removed. This represents the mean of the cross-node correction features across all sensing nodes.

[0074] For example, in step five, the nitrogen, phosphorus and potassium inversion model based on nonlinear coupling of environmental factors sequentially performs dimensional standardization, environmental-nitrogen, phosphorus and potassium nonlinear coupling processing, and nitrogen, phosphorus and potassium differential electrochemical inversion on the regional consistency feature data of each sensing node to obtain nitrogen, phosphorus and potassium concentration values.

[0075] The environmental-nitrogen, phosphorus, and potassium nonlinear coupling treatment uses a natural exponential cross-coupling formula to couple the dimensionally standardized temperature, humidity, and electrical conductivity with soil nitrogen, phosphorus, and potassium data.

[0076] The differential electrochemical inversion of nitrogen, phosphorus, and potassium is designed with linear-logarithmic response inversion formulas for available nitrogen, nonlinear quadratic response inversion formulas for available phosphorus, and diffusion-type radical-logarithmic response inversion formulas for available potassium.

[0077] Specifically, in this embodiment, in step five, the dimensional standardization process maps the regional consistency feature data of each sensing node to the (0,1] interval, and simultaneously maps the collected real-time temperature, real-time humidity, and real-time conductivity to the (0,1] interval.

[0078] In step five, the natural exponential cross-coupling formula is set as follows: .

[0079] in, This indicates the nonlinear coupling characteristics of the environment and nutrients (when X represents nitrogen, phosphorus, and potassium, respectively). These are the nonlinear coupling characteristics of the environment-nitrogen, environment-phosphorus, and environment-potassium, respectively. This represents the value of nutrient X in the regional consistency characteristic data after dimensional standardization. Represents the natural index. Represents the temperature response coefficient. This represents the real-time temperature after dimensional standardization. This represents the humidity-conductivity cross-coupling coefficient. This represents the real-time humidity after dimensional standardization. This represents the real-time conductivity after dimensional standardization.

[0080] Based on the nonlinear coupling characteristics of environment and nutrients Using nitrogen as the independent variable, the following inversion formulas are set for linear-logarithmic response, nonlinear quadratic response, and diffusion-type radical-logarithmic response: Fast-acting nitrogen inversion: .

[0081] Fast-acting phosphorus inversion: .

[0082] Available potassium inversion: .

[0083] in, This represents the nitrogen concentration obtained from the inversion. This indicates the phosphorus concentration obtained from the inversion. This indicates the potassium concentration obtained from the inversion. , , These represent the nonlinear coupling characteristics between the environment and nitrogen, the environment and phosphorus, and the environment and potassium, respectively. Represents the nitrogen linear response coefficient. Represents the logarithmic response coefficient of nitrogen. This represents the zero-value protection constant (0.001 in this embodiment). Represents the phosphorus quadratic response coefficient. This represents the primary response coefficient of phosphorus. This represents the potassium-based response coefficient. The values ​​represent the logarithmic response coefficients of potassium, and all response coefficients were obtained through laboratory calibration.

[0084] For example, step six includes: Based on the nitrogen, phosphorus, and potassium nutrient requirements of crops, nitrogen, phosphorus, and potassium early warning thresholds are set. Based on the nitrogen, phosphorus, and potassium early warning thresholds and the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node, the early warning level of each sensor node is obtained. A regional soil nutrient heat map is generated based on the early warning level of each sensor node.

[0085] Specifically, in this embodiment, in step six, two sets of nitrogen, phosphorus, and potassium warning thresholds are set, including the upper limit of suitable nitrogen, phosphorus, and potassium concentrations and the lower limit of suitable nitrogen, phosphorus, and potassium concentrations.

[0086] When the nitrogen, phosphorus, and potassium concentrations at a certain sensor node are all between the upper and lower limits of the suitable concentration range, it indicates that the soil nutrients at that sensor node are suitable. The warning level is suitable.

[0087] When one or more of the nitrogen, phosphorus, and potassium concentration values ​​at a certain sensor node exceed the corresponding upper limit of the suitable concentration for nitrogen, phosphorus, and potassium (for example, the nitrogen concentration exceeds the upper limit of the suitable nitrogen concentration), it indicates that the soil nutrient level for that sensor node exceeds the standard for the corresponding value. The warning level is "the corresponding value exceeds the standard".

[0088] When one or more of the nitrogen, phosphorus, and potassium concentration values ​​at a certain sensor node are lower than the corresponding values ​​of the lower limits for nitrogen, phosphorus, and potassium concentrations (for example, nitrogen concentration is lower than the lower limit for nitrogen concentration), it indicates that the soil nutrients for that corresponding value at that sensor node are deficient. The warning level is deficiency of the corresponding value.

[0089] A regional soil nutrient heat map is generated based on the warning level of each sensor node, with different colors representing different warning levels.

[0090] In other possible embodiments, other nitrogen, phosphorus, and potassium warning thresholds and warning level systems may also be set.

[0091] This application also provides a distributed soil nitrogen, phosphorus, and potassium state monitoring system, which adopts the above-mentioned distributed soil nitrogen, phosphorus, and potassium state monitoring method, including: distributed sensing nodes, a data noise reduction module, a feature extraction module, a consistency processing module, a concentration inversion module, and a heat map generation module.

[0092] The distributed sensing nodes are configured to collect soil nitrogen, phosphorus, and potassium potential data in real time.

[0093] The data denoising module is configured to perform improved adaptive wavelet threshold denoising on the soil nitrogen, phosphorus, and potassium potential data of each sensing node to obtain denoised feature data.

[0094] The feature extraction module is configured to use an improved lightweight convolutional neural network to extract features from the noise-reduced feature data of each sensing node, thereby obtaining a multidimensional deep feature vector of nitrogen, phosphorus, and potassium.

[0095] The consistency processing module is configured to process the nitrogen, phosphorus, and potassium multidimensional deep feature vectors of each sensing node using cross-node collaborative filtering and anomaly removal algorithms to obtain regional consistency feature data.

[0096] The concentration inversion module is configured to use a nitrogen, phosphorus, and potassium inversion model based on nonlinear coupling of environmental factors to invert nitrogen, phosphorus, and potassium concentration values ​​based on the regional consistency characteristic data of each sensor node.

[0097] The heat map generation module is configured to generate a regional soil nutrient heat map based on the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node.

[0098] This application embodiment improves the convenience and accuracy of soil nitrogen, phosphorus, and potassium status monitoring by deploying distributed sensing nodes and combining adaptive calibration, improved adaptive wavelet threshold denoising, improved lightweight convolutional neural networks, cross-node collaborative filtering, and a nitrogen, phosphorus, and potassium inversion model based on nonlinear coupling of environmental factors.

[0099] By constructing real-time correction coefficients based on the real-time temperature and conductivity of each sensing node, the nitrogen, phosphorus, and potassium sensors are adaptively calibrated to dynamically correct sensor drift and ensure the accuracy of basic monitoring.

[0100] By constructing an adaptive weighting factor, the soil nitrogen, phosphorus, and potassium potential data after wavelet hard thresholding and the soil nitrogen, phosphorus, and potassium potential data after wavelet soft thresholding are weighted and summed based on the adaptive weighting factor, which takes into account both noise reduction effect and signal fidelity, adapts to complex soil environments, and improves the accuracy of the original data.

[0101] The proposed improved lightweight convolutional neural network integrates depthwise separable convolutional layers and an improved channel attention mechanism layer, which is adapted to edge computing terminals. It does not require cloud computing power and can complete feature extraction locally on the terminal, thus improving the convenience of terminal processing.

[0102] The proposed improved channel attention mechanism layer calculates channel feature weights by combining the Sigmoid activation function with fully connected layer operations, average pooling operations, and max pooling operations, accurately extracting the core features of nitrogen, phosphorus, and potassium, and improving feature effectiveness.

[0103] By employing a cross-node collaborative filtering algorithm based on adjacent node correction to correct the multidimensional deep feature vectors of nitrogen, phosphorus, and potassium for each sensing node, outlier removal is performed on the cross-node corrected features, and abnormal data is removed by utilizing regional nutrient correlation, thereby improving the accuracy of regional monitoring data.

[0104] By sequentially performing dimensional standardization, environmental-nitrogen-phosphorus-potassium nonlinear coupling processing, and nitrogen-phosphorus-potassium differential electrochemical inversion on the regional consistency characteristic data of each sensing node, nitrogen-phosphorus-potassium concentration values ​​are obtained, thereby improving the reliability and environmental adaptability of nitrogen-phosphorus-potassium concentration values.

[0105] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0106] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A distributed method for monitoring the nitrogen, phosphorus, and potassium status of soil, characterized in that, Includes the following steps: Step 1: Deploy distributed sensing nodes, perform adaptive calibration on the nitrogen, phosphorus and potassium sensors of each sensing node, and use the adaptively calibrated distributed sensing nodes to collect soil nitrogen, phosphorus and potassium potential data in real time. Step 2: Improved adaptive wavelet threshold denoising is performed on the soil nitrogen, phosphorus and potassium potential data of each sensing node to obtain denoised feature data. Step 3: An improved lightweight convolutional neural network is used to extract features from the noise-reduced feature data of each sensing node to obtain a multi-dimensional deep feature vector of nitrogen, phosphorus and potassium. Step 4: Cross-node collaborative filtering and anomaly removal algorithms are used to process the multi-dimensional deep feature vectors of nitrogen, phosphorus and potassium of each sensing node to obtain regional consistency feature data. Step 5: The nitrogen, phosphorus and potassium concentration values ​​are inverted using a nitrogen, phosphorus and potassium inversion model based on nonlinear coupling of environmental factors, according to the regional consistency characteristic data of each sensing node. Step 6: Generate a regional soil nutrient thermogram based on the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node.

2. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, In step one, the area to be monitored is divided into square grids of equal area. A sensing node is set at the center of each grid. Each sensing node integrates a nitrogen, phosphorus and potassium ion selective electrode, i.e., the nitrogen, phosphorus and potassium sensor, and also integrates a temperature and humidity sensor and a conductivity sensor. Each sensor node uses LoRa decentralized networking communication.

3. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, In step one, the adaptive calibration includes: A real-time correction coefficient is constructed based on the real-time temperature and real-time conductivity of each sensing node, and the corresponding nitrogen, phosphorus and potassium sensors are adaptively calibrated using the real-time correction coefficient.

4. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, In step two, the improved adaptive wavelet threshold denoising includes: An adaptive weighting factor is constructed, and the soil nitrogen, phosphorus, and potassium potential data after wavelet hard thresholding and the soil nitrogen, phosphorus, and potassium potential data after wavelet soft thresholding are weighted and summed based on the adaptive weighting factor to obtain the noise reduction feature data.

5. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, In step three, the improved lightweight convolutional neural network integrates depthwise separable convolutional layers and an improved channel attention mechanism layer.

6. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 5, characterized in that, The improved channel attention mechanism layer calculates channel feature weights by combining the Sigmoid activation function with fully connected layer operations, average pooling operations, and max pooling operations.

7. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, Step four includes: A cross-node collaborative filtering algorithm based on adjacent node correction is used to correct the nitrogen, phosphorus, and potassium multidimensional deep feature vectors of each sensing node, resulting in cross-node corrected features. The 3σ criterion is used to remove outliers from the cross-node correction features to obtain regional consistency feature data.

8. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, In step five, the nitrogen, phosphorus and potassium inversion model based on nonlinear coupling of environmental factors performs dimensional standardization, environmental-nitrogen, phosphorus and potassium nonlinear coupling processing, and nitrogen, phosphorus and potassium differential electrochemical inversion on the regional consistency feature data of each sensing node in sequence to obtain nitrogen, phosphorus and potassium concentration values. The environmental-nitrogen-phosphorus-potassium nonlinear coupling treatment adopts a natural exponential cross-coupling formula to couple the dimensionally standardized temperature, humidity, and electrical conductivity with soil nitrogen, phosphorus, and potassium data. The differential electrochemical inversion of nitrogen, phosphorus, and potassium is designed with linear-logarithmic response inversion formulas for available nitrogen, nonlinear quadratic response inversion formulas for available phosphorus, and diffusion-type radical-logarithmic response inversion formulas for available potassium.

9. The distributed soil nitrogen, phosphorus, and potassium status monitoring method according to claim 1, characterized in that, Step six includes: Based on the nitrogen, phosphorus, and potassium nutrient requirements of crops, nitrogen, phosphorus, and potassium early warning thresholds are set. Based on the nitrogen, phosphorus, and potassium early warning thresholds and the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node, the early warning level of each sensor node is obtained. A regional soil nutrient heat map is generated based on the early warning level of each sensor node.

10. A distributed soil nitrogen, phosphorus, and potassium state monitoring system, employing a distributed soil nitrogen, phosphorus, and potassium state monitoring method as described in any one of claims 1 to 9, characterized in that, include: Distributed sensing nodes, data denoising module, feature extraction module, consistency processing module, concentration inversion module, and heat map generation module; The distributed sensing nodes are configured to collect soil nitrogen, phosphorus, and potassium potential data in real time. The data denoising module is configured to perform improved adaptive wavelet threshold denoising on the soil nitrogen, phosphorus, and potassium potential data of each sensing node to obtain denoised feature data. The feature extraction module is configured to: use an improved lightweight convolutional neural network to extract features from the noise-reduced feature data of each sensing node to obtain a multidimensional deep feature vector of nitrogen, phosphorus and potassium. The consistency processing module is configured to: process the nitrogen, phosphorus, and potassium multidimensional deep feature vectors of each sensing node using cross-node collaborative filtering and anomaly removal algorithms to obtain regional consistency feature data; The concentration inversion module is configured to: use a nitrogen, phosphorus, and potassium inversion model based on nonlinear coupling of environmental factors to invert nitrogen, phosphorus, and potassium concentration values ​​based on the regional consistency characteristic data of each sensing node; The heat map generation module is configured to generate a regional soil nutrient heat map based on the nitrogen, phosphorus, and potassium concentration values ​​of each sensor node.

Citation Information

Patent Citations

  • Soil in-situ nitrogen, phosphorus and potassium measuring system based on digital colorimetric method

    CN121231463A

  • Method and system of detecting nitrate nitrogen in farmland based on ion selectivity electrode

    CN107192754A

  • Corn on-demand fertilization control system and soil nitrogen content soft measurement method

    CN117130283A

  • Bridge structure erosion degree monitoring method based on deep learning

    CN119413695A

  • Rice damping-off prevention and control system and method based on soil ecological regulation and control

    CN120430611A