Crop water and fertilizer stress decision-making method and apparatus, and mobile phone terminal
By collecting images through mobile phone terminals and using fuzzy control algorithms, the problem of collaborative decision-making on water and fertilizer and low accuracy of thermal infrared images is solved, flexible and efficient water and fertilizer management is achieved, and the accuracy of crop growth and agricultural production efficiency are improved.
Patent Information
- Application Number
- PCT/CN2023/109528
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2023-07-27
- Publication Date
- 2024-09-06
AI Technical Summary
The existing technology cannot perform collaborative decision-making on water and fertilizer, resulting in the inability to accurately cultivate crops. Moreover, thermal infrared images have low temperature extraction accuracy in water deficit diagnosis, high equipment costs, and low flexibility, making it difficult to apply on a large scale.
Visible light and thermal infrared images are collected through mobile phone terminals, crop coefficients and canopy temperatures are extracted, and fuzzy control algorithms are used to make collaborative decisions on water and nutrient stress status, determine the amount of irrigation and top dressing, and achieve dynamic collaborative diagnosis and decision-making of water and fertilizer.
It realizes image acquisition and processing with high flexibility and low cost, combined with fuzzy control algorithm, dynamic diagnosis and decision-making, which improves the accuracy of water and fertilizer management and agricultural production efficiency.
Smart Images

Figure CN2023109528_06092024_PF_FP
Abstract
Description
Decision-making method, device and mobile terminal for crop water and fertilizer stress
[0001] This application claims priority to a Chinese patent application filed with the Patent Office of China on February 28, 2023, with application number 202310179496.X and invention name “Decision-making method, device and mobile phone terminal for crop water and fertilizer stress”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of intelligent agricultural technology, and in particular to a decision-making method, device and mobile phone terminal for crop water and fertilizer stress. Background Art
[0003] In agricultural production, water and nutrient management are crucial factors affecting crop yield and quality. Rational water and fertilizer allocation can conserve irrigation water and fertilize according to demand, concentrating water and nutrients in the crop root zone and precisely meeting crop needs. This reduces excessive resource consumption, increases agricultural production potential, and is crucial for resource conservation and environmental protection. However, in practice, most crop cultivation relies on the experience of local plantation managers to implement water and fertilizer irrigation. This approach lacks diagnostics of actual crop growth, making it difficult to apply to large-scale crop production. Therefore, it is necessary to combine image processing to obtain crop growth information parameters with expert experience to diagnose water and fertilizer stress and make irrigation decisions.
[0004] Currently, existing technologies are mainly aimed at water and fertilizer diagnosis, and there is no coordinated decision-making on water and fertilizer. At the same time, there is a problem of low temperature extraction accuracy when using thermal infrared images for water deficit diagnosis. In addition, a large number of devices are used to collect thermal infrared images and visible light images, which are costly and inflexible, making them difficult to apply effectively.
[0005] Summary of the Invention
[0006] The present invention provides a decision-making method, device and mobile phone terminal for crop water and fertilizer stress, which are used to solve the defect in the prior art that coordinated water and fertilizer decision-making cannot be carried out, resulting in inability to accurately cultivate crops.
[0007] The present invention provides a decision-making method for crop water and fertilizer stress, comprising:
[0008] determining a current crop coefficient and a canopy temperature of the crop to be identified based on the first crop image and the second crop image;
[0009] determining a water stress state and a nutrient stress state of the crop to be identified based on a current crop coefficient and a canopy temperature;
[0010] Using a fuzzy control algorithm to process the water stress state and the nutrient stress state to determine a water and fertilizer stress decision result of the crop to be identified;
[0011] Among them, the water and fertilizer stress decision result includes the irrigation amount and / or topdressing amount of the crop to be identified in the next cycle; the first crop image is a visible light image obtained by photographing the entire image of the crop to be identified through a terminal; and the second crop image is a thermal infrared image obtained by photographing the entire image of the crop to be identified through an infrared module connected to the terminal.
[0012] According to a crop water and fertilizer stress decision method provided by the present invention, the fuzzy control algorithm is used to process the water stress state and the nutrient stress state to determine the water and fertilizer stress decision result of the crop to be identified, including:
[0013] Converting the water stress state and the nutrient stress state into language variables and inputting them into a fuzzy controller to obtain an irrigation instruction output by the fuzzy controller;
[0014] When it is determined that the first identification information carried by the irrigation instruction is not empty and the second identification information is empty, setting the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration as the water and fertilizer stress decision result;
[0015] When it is determined that the first identification information carried by the irrigation instruction is empty and the second identification information is not empty, setting the amount of topdressing determined by using the nutrient stress state and the species information of the crop to be identified as the water and fertilizer stress decision result;
[0016] When it is determined that both the first identification information and the second identification information carried by the irrigation instruction are not empty, setting the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration, and the topdressing amount determined by using the nutrient stress state and the species information of the crop to be identified as the water and fertilizer stress decision result;
[0017] In which, the fuzzy controller is established based on the corresponding fuzzy rules between the input fuzzy set and the output fuzzy set; the input fuzzy set is determined according to the membership function set according to the fuzzy levels obtained by fuzzy division of the water stress state and the nutrient stress state; the output fuzzy set is determined according to the membership function set according to the strategy levels of multiple water and fertilizer stress states obtained by clarifying the fuzzy language; the fuzzy rules are established to determine the corresponding water and fertilizer stress state according to different water stress states and nutrient stress states; the identification information carried by the irrigation instruction is determined according to the water and fertilizer stress state; the first identification information is used to indicate whether irrigation is to be performed; the second identification information is used to indicate whether topdressing is to be performed.
[0018] The present invention provides a method, device, and mobile terminal for crop water and fertilizer stress decision-making. Using a mobile terminal equipped with thermal infrared imaging capabilities, the method extracts image features of the canopy region from first and second crop images captured. The extracted crop coefficient and canopy temperature are used to diagnose water and nutrient stress, respectively. A fuzzy control algorithm is then used to make collaborative decisions about these two states, outputting the irrigation amounts for the next cycle as the water and fertilizer stress decision results. This method utilizes highly flexible and low-cost image acquisition methods, combined with image processing algorithms, fuzzy control, and expert experience, to achieve dynamic collaborative water and fertilizer diagnosis and decision-making.
[0019] Figures in the specification
[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] FIG1 is a schematic diagram of a process flow of a method for determining crop water and fertilizer stress provided by the present invention;
[0022] FIG2 is a schematic diagram of a simulation of the normalized vegetation index provided by the present invention;
[0023] FIG3 is a second flow chart of the decision-making method for crop water and fertilizer stress provided by the present invention;
[0024] FIG4 is a schematic structural diagram of a crop water and fertilizer stress decision-making device provided by the present invention;
[0025] FIG5 is a schematic structural diagram of a mobile phone terminal provided by the present invention;
[0026] FIG6 is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0027] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0028] The terms "first," "second," and the like in this application are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, the objects distinguished by "first," "second," and the like generally refer to a class of objects and do not limit the number of objects. For example, the first object may be one or more.
[0029] It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present invention, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.
[0030] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0031] FIG1 is a flow chart of a method for determining crop water and fertilizer stress provided by the present invention. As shown in FIG1 , the method for determining crop water and fertilizer stress provided by an embodiment of the present invention includes:
[0032] Step 101: Determine the current crop coefficient and canopy temperature of the crop to be identified based on the first crop image and the second crop image.
[0033] The first crop image is a visible light image obtained by photographing the entire crop to be identified through a terminal, and the second crop image is a thermal infrared image obtained by photographing the entire crop to be identified through an infrared module connected to the terminal.
[0034] It should be noted that the execution subject of the decision-making method for crop water and fertilizer stress provided by the embodiment of the present invention is a decision-making device for crop water and fertilizer stress.
[0035] The decision-making method for crop water and fertilizer stress provided in the embodiment of the present application is suitable for users to process images of crops taken by mobile phone terminals through electronic devices, and identify and decide on the water and fertilizer stress status based on the features identified from the images.
[0036] The mobile phone terminal periodically collects image information containing the overall appearance of the crop to be identified under visible light at a specified time interval, and sends the image information as the first crop image to the decision-making device for crop water and fertilizer stress.
[0037] While the camera module of the mobile phone terminal body collects visible light images, it also drives the infrared module connected to the mobile phone terminal body to collect image information containing the full appearance of the crop to be identified under thermal infrared in the same field of view, and sends the image information as the second crop image to the crop water and fertilizer stress decision-making device.
[0038] In addition, the above-mentioned electronic device can be implemented in various forms. For example, the electronic device described in the embodiments of the present application may include mobile terminals such as mobile phones, smart phones, laptop computers, etc. and fixed terminals such as desktop computers, etc. Below, it is assumed that the electronic device is a mobile terminal. However, it will be understood by those skilled in the art that, in addition to components specifically for mobile purposes, the configuration according to the embodiments of the present application can also be applied to fixed-type terminals.
[0039] Specifically, in step 101, the decision-making device for crop water and fertilizer stress receives the first crop image and the second crop image respectively captured by the camera module and the infrared module set on the mobile phone terminal during the current working cycle, and performs relevant image algorithms on the received images to completely segment the crop canopy area, and then converts the crop coefficient and the canopy temperature corresponding to each pixel point in the canopy area.
[0040] The crop coefficient refers to the ratio of water demand to possible evapotranspiration during different growth stages of crops, and is commonly used as K. c The change pattern during crop growth is from small to large in the early stage, reaching the maximum during the period of vigorous growth, and gradually decreasing in the later stage.
[0041] It's understandable that perspective transformation is used to address the perspective distortion and three-dimensional distortion issues that occur when images are captured by mobile phones. Perspective transformation is the process of transforming a three-dimensional image by projecting it onto a new viewing plane. A perspective transformation is applied to the coordinates of four points in the captured image and four points in the target image to correct the distorted image. The perspective transformation matrix is calculated using these two sets of coordinates, and then the entire original image is transformed to produce the corrected first crop image.
[0042] Step 102: Determine the water stress state and nutrient stress state of the crop to be identified based on the current crop coefficient and canopy temperature.
[0043] Specifically, in step 102, the decision-making device for crop water and fertilizer stress uses the ratio of the water requirement indicated by the crop coefficient obtained in step 101 to the possible evapotranspiration to convert it, and maps the impact of objective factors such as climate conditions, groundwater drought, and plant root size on crop water management to the water stress state for output.
[0044] At the same time, the thermal state of the surface vegetation indicated by the canopy temperature obtained in step 101 is converted, and the impact of the combined effects of crop genetic characteristics and environmental conditions on crop nutrient management is mapped to the nutrient stress state for output.
[0045] Step 103: Using a fuzzy control algorithm to process the water stress state and the nutrient stress state, and determining a water and fertilizer stress decision result of the crop to be identified.
[0046] The water and fertilizer stress decision result includes the irrigation amount and / or topdressing amount for the next cycle of the crop to be identified.
[0047] Specifically, in step 103, the decision-making device for crop water and fertilizer stress uses the membership function in the fuzzy control algorithm to determine each irrigation decision indicator under the combined effect of the water stress state and the nutrient stress state, and then uses pre-established fuzzy rules to make irrigation decisions to obtain the water and fertilizer stress decision results of the crop to be identified.
[0048] The water and fertilizer stress decision-making results are determined by fuzzy rules that can keep the water and fertilizer balance at the basic level in the next cycle.
[0049] If the rules triggered by the water stress state and nutrient stress state in the current cycle indicate that irrigation is needed to achieve the basic water and fertilizer balance, the water and fertilizer stress decision result only includes the irrigation amount of the crop in the next cycle.
[0050] If the rules triggered by the water stress state and nutrient stress state in the current cycle indicate that topdressing is needed to achieve the basic water-fertilizer balance, the water-fertilizer stress decision result only includes the amount of topdressing for the crop in the next cycle.
[0051] If the rules triggered by the water stress state and nutrient stress state in the current cycle indicate that irrigation and fertilizer are required simultaneously to achieve basic water and fertilizer balance, the water and fertilizer stress decision result includes the irrigation amount and topdressing amount of the crop in the next cycle.
[0052] Acquiring visible light and thermal infrared images of crops requires multiple devices, resulting in high costs and difficulty in acquiring images. Furthermore, experimental research on water and fertilizer decision-making primarily relies on empirical diagnosis, lacking coordinated water and fertilizer decision-making for irrigation. Limited by the difficulty of obtaining experimental data, most existing research relies on years of planting experience to make water and fertilizer decisions. This requires extensive experimental research on different crops, requiring significant manpower under limited experimental conditions and making it difficult to apply to large-scale crop production and planting.
[0053] This application, however, utilizes only a portable device to capture crop images using a smartphone equipped with thermal imaging technology. This makes acquiring image data more flexible and convenient, with lower investment costs. Furthermore, it is highly flexible and portable. Furthermore, a fuzzy control algorithm is used to diagnose whether irrigation is being performed, and the irrigation amount is calculated based on prior data, enabling real-time collaborative diagnosis of water and fertilizer. This innovative approach changes the traditional method of irrigation during planting, which relies on experience.
[0054] This embodiment of the present invention uses first and second crop images captured by a mobile phone terminal with thermal infrared imaging capabilities to extract image features from the canopy region. The extracted crop coefficient and canopy temperature are used to diagnose water stress and nutrient stress, respectively. Fuzzy control algorithms are then used to make collaborative decisions about these two states, outputting the irrigation and fertilizer amounts for the next cycle as the water and fertilizer stress decision results. This system achieves dynamic collaborative water and fertilizer diagnosis and decision-making through a highly flexible and low-cost image acquisition method, combined with image processing algorithms, fuzzy control, and expert experience.
[0055] Based on any of the above embodiments, a fuzzy control algorithm is used to process the water stress state and the nutrient stress state to determine the water and fertilizer stress decision result of the crop to be identified, including: converting the water stress state and the nutrient stress state into language variables and inputting them into a fuzzy controller to obtain an irrigation instruction output by the fuzzy controller.
[0056] The fuzzy controller is established based on corresponding fuzzy rules between an input fuzzy set and an output fuzzy set. The input fuzzy set is determined by a membership function set based on fuzzy levels obtained by fuzzy-classifying the water stress state and the nutrient stress state. The output fuzzy set is determined by a membership function set based on a plurality of strategic levels of water and fertilizer stress states obtained by clarifying fuzzy language. The fuzzy rules are established to determine the corresponding water and fertilizer stress state based on different water stress states and nutrient stress states. The identification information carried by the irrigation instruction is determined based on the water and fertilizer stress state.
[0057] Specifically, in step 103, the decision-making device for crop water and fertilizer stress takes into account that irrigation decisions are affected by multiple environmental factors and have uncertainty in crop irrigation applications, so a fuzzy decision-making method is introduced for description, that is, the input of the controller is set to the language variables corresponding to the water stress state and the nutrient stress state, and the output is an irrigation instruction for instructing the application of water and / or fertilizer.
[0058] Fuzzy set theory is a representation that converts binary relationships into continuous uncertainties and evaluates them using an associated function. In classical theory, a set has a clearly defined boundary and only two states: 0 or 1. However, given that irrigation decisions are influenced by multiple environmental factors and are inherently uncertain in crop irrigation applications, fuzzy set theory is introduced to define input and output fuzzy sets. Based on the thresholds for different water and fertilizer conditions listed in Table 1, the fuzzy level classification method for each variable is as follows.
[0059] Table 1 Schematic diagram of threshold values of water and fertilizer under different stress conditions
[0060] The interval with water stress state less than 0.3 is regarded as normal state, the interval between 0.3 and 0.65 is regarded as moderate state, and the interval greater than 0.65 is regarded as stress state, that is, it is divided into three fuzzy subsets: N (normal state), M (moderate state), and P (stress state), with a value range of [0, 1].
[0061] The interval with nutrient stress state greater than 0.5 is regarded as normal state, the interval between 0.3 and 0.5 is regarded as moderate state, and the interval less than 0.3 is regarded as stress state, that is, it is divided into three fuzzy subsets: N (normal state), M (moderate state), and P (stress state), with a value range of [0, 1].
[0062] In order to improve the computational efficiency, the water and fertilizer stress state after the coordinated output is also set as a set consisting of three fuzzy subsets: {N (high fertilizer and low water), M (same amount of water and fertilizer), P (high water and low fertilizer)}.
[0063] Then, a membership function is defined based on the fuzzy levels of various indicators. One-dimensional membership functions include but are not limited to triangle, trapezoidal, Gaussian and bell-shaped membership functions. The embodiment of the present invention does not specifically limit the membership function.
[0064] Illustratively, the embodiment of the present invention uses a triangular membership function to determine each irrigation decision indicator.
[0065] Then fuzzy decision making is performed. The control rule is expressed as a total fuzzy relation R:
[0066] Among them, R i is the fuzzy relation of the i-th rule, i = 1, 2, ... n, and n is the number of rules.
[0067] The fuzzy set of output control U is:
[0068] in, is the matrix product symbol.
[0069] According to the membership degree of fuzzy variables E, EC and U, combined with the fuzzy control rule table, using formulas (1) and (2), and adopting the maximum principle of membership function to obtain the corresponding control quantities, the decision rules of the irrigation fuzzy controller can be obtained.
[0070] Table 2 Schematic diagram of fuzzy decision rules for water and fertilizer
[0071] The decision rule obtained based on the above fuzzy decision is used to decide whether to irrigate. If the policy level of the triggered decision rule is P, which means that the current irrigation decision is high fertilizer and low water, the irrigation instruction is set to only topdressing without watering.
[0072] If the policy level of the triggered decision rule is M, which means that the current irrigation decision is to use equal amounts of water and fertilizer, the irrigation instruction is set to both topdressing and watering.
[0073] If the policy level of the triggered decision rule is N, which means that the current irrigation decision is high water and low fertilizer, the irrigation instruction is set to watering only without topdressing.
[0074] When it is determined that the first identification information carried by the irrigation instruction is not empty and the second identification information is empty, the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration is set as the water and fertilizer stress decision result.
[0075] When it is determined that the first identification information carried by the irrigation instruction is empty and the second identification information is not empty, the amount of topdressing determined by using the nutrient stress state and the species information of the crop to be identified is set as the water and fertilizer stress decision result.
[0076] When it is determined that both the first identification information and the second identification information carried by the irrigation instruction are not empty, the irrigation amount determined by using the crop coefficient and the reference crop evaporation, and the topdressing amount determined by using the nutrient stress state and the species information of the crop to be identified are set as the water and fertilizer stress decision result.
[0077] The first identification information is used to indicate whether irrigation is to be performed, and the second identification information is used to indicate whether topdressing is to be performed.
[0078] It should be noted that the irrigation instruction is provided with first identification information for indicating whether watering is to be performed and second identification information for indicating whether fertilizing is to be performed. By assigning values to the above identification information, the water and fertilizer irrigation strategy is represented.
[0079] Specifically, the decision-making device for crop water and fertilizer stress analyzes the irrigation instructions output by the fuzzy controller:
[0080] If the first identification information in the irrigation instruction is not empty and the second identification information is empty, it means that the current irrigation decision is high water and low fertilizer, and only watering is required without topdressing. Then, the crop coefficient obtained in step 101 and the reference crop evapotranspiration are used to convert the irrigation amount, and the irrigation amount is output as the water and fertilizer stress decision result. Irrigation amount ET c The calculation formula is: c =K c *ET0 (3)
[0081] Among them, ET0 is the reference crop evapotranspiration, which reflects the impact of weather conditions on evaporation and transpiration. c is the crop coefficient.
[0082] If the first identification information in the irrigation instruction is empty and the second identification information is not empty, it means that the current irrigation decision is high fertilizer and low water, requiring only topdressing without watering. Then, the topdressing amount is calculated using the nutrient stress state obtained in step 102 and the empirical fertilizer application amount value summarized by the expert based on the species information of the identified crop, and the topdressing amount is output as the water and fertilizer stress decision result. The embodiment of the present invention does not specifically limit the method for determining the topdressing amount.
[0083] For example, taking lettuce, wheat, and cabbage as examples, the mapping relationship between different nutrient stress states and different crop varieties regarding the amount of topdressing is shown in the following table.
[0084] Table 3 Schematic diagram of the mapping relationship of topdressing amount
[0085] If the first identification information in the irrigation instruction is not empty and the second identification information is not empty, it means that the current water and fertilizer are in a moderate state and both topdressing and watering are required. Then, the irrigation amount and topdressing amount are converted using the above steps, and the irrigation amount and topdressing amount are output as the water and fertilizer stress decision result.
[0086] The embodiment of the present invention uses a fuzzy controller to perform collaborative diagnosis on whether water and fertilizer should be used for irrigation, and according to the identification information in the output irrigation instruction, decides and calculates the irrigation amount of water and / or fertilizer expected to be executed in the next week, thereby realizing dynamic collaborative diagnosis and decision-making of water and fertilizer.
[0087] Based on any of the above embodiments, the current crop coefficient and canopy temperature of the crop to be identified are determined based on the first crop image and the second crop image, including: using a super green algorithm to segment the first crop image to obtain a crop canopy image.
[0088] Specifically, in step 101, the crop water and fertilizer stress decision-making device uses a super green algorithm to segment the corrected first crop image, extracts areas with green color features, and forms a crop canopy image.
[0089] The crop coefficient is determined using the canopy coverage ratio analyzed from the crop canopy image.
[0090] Specifically, the decision-making device for crop water and fertilizer stress takes the proportion of the green canopy area in the crop canopy image as the canopy coverage ratio, and converts the crop coefficient into the crop vegetation surface area represented by the ratio.
[0091] The canopy temperature is determined based on the crop canopy image and the second crop image.
[0092] Specifically, the decision-making device for crop water and fertilizer stress utilizes a visible light template of the crop canopy area in the crop canopy image and a second crop image carrying thermal infrared temperature information to fuse them to extract the entire canopy temperature.
[0093] This embodiment of the present invention uses the Super Green algorithm to segment a crop canopy image from a first crop image. The crop coefficient is calculated using the resulting canopy cover percentage. This crop canopy image is then fused with a second crop image using the image as a template to extract canopy temperature. This method can fuse thermal infrared and visible light images to extract canopy temperature, resolving issues such as edge fuzziness and uncertainty in crop canopy temperature extraction from thermal infrared images, which can be easily affected by edge temperature interference.
[0094] Based on any of the above embodiments, determining the canopy temperature based on the crop canopy image and the second crop image includes: using a binary image connected domain algorithm to extract contour coordinates of the crop canopy image and the second crop image respectively to obtain a first feature point set and a second feature point set.
[0095] Specifically, the decision-making device for crop water and fertilizer stress assigns the crop canopy image and the second crop image to the same area and performs coordinate calibration, then uses the binary image connected domain algorithm to extract contours and coordinates, and uses the edge vertex coordinates in the crop canopy image and the second crop image as calibration feature points, respectively, to form a first feature point set and a second feature point set.
[0096] After obtaining an infrared canopy image by matching the first feature point set and the second feature point set, the canopy temperature is extracted from the infrared canopy image.
[0097] Specifically, the decision-making device for crop water and fertilizer stress uses the first feature point set and the second feature point set for registration, adopts the affine transformation method to eliminate the geometric distortion between the visible light image and the thermal infrared image, and fuses them to obtain the infrared canopy image. The corresponding infrared temperature value is extracted for each pixel point with a non-zero pixel value in the infrared canopy image to generate the canopy temperature corresponding to the entire canopy area.
[0098] In geometry, an affine transformation involves a linear transformation of one vector space followed by a translation to create another vector space. An affine transformation is a spatial transformation that superimposes two simple transformations: a linear transformation and a translational transformation. The resulting spatial changes include translation, rotation, scaling, and other spatial position changes.
[0099] For any pair of visible light reference calibration feature points (x, y) and thermal infrared calibration feature points (x', y') in the first feature point set and the second feature point set, the mathematical expression of the affine transformation from (x, y) to (x', y') is:
[0100] Where θ is the rotation angle, t x is the offset of the new coordinate origin relative to the original coordinate point x, t y The y offset of the new coordinate origin relative to the original coordinate origin.
[0101] This embodiment of the present invention extracts contours from a crop canopy image and a second crop image, registers the extracted first and second feature point sets, and generates an infrared canopy image. The canopy temperature is then extracted. This method uses a binary image connected domain algorithm to extract edge vertex coordinates. Using an affine transformation, a transformation parameter model between vertex coordinates is quickly established, reducing the probability of feature point mismatches and accurately extracting canopy temperature.
[0102] Based on any of the above embodiments, the crop coefficient is determined using the canopy coverage ratio analyzed from the crop canopy image, including: inputting the crop canopy image into an analytical model to obtain the crop coefficient output by the analytical model.
[0103] The analytical model is trained based on sample crop canopy images and canopy coverage ratio labels and crop coefficient labels set in the sample crop canopy images. The analytical model includes a ratio conversion layer and a ratio analysis layer.
[0104] The proportion conversion layer is used to determine the canopy coverage proportion based on the crop canopy image.
[0105] The percentage analysis layer is used to estimate the crop coefficient based on the canopy cover percentage.
[0106] It should be noted that the parsing model can be an artificial intelligence model, and the embodiment of the present invention does not specifically limit the model type.
[0107] For example, the analytical model can be a neural network, and the structure and parameters of the neural network include but are not limited to the number of input layers, hidden layers, and output layers of the neural network, as well as the weight parameters of each layer. The embodiment of the present invention does not specifically limit the type and structure of the neural network.
[0108] For example, the parsing model can be a feed-forward neural network consisting of an input layer, a hidden layer, and an output layer, where:
[0109] The input layer is at the front end of the entire network and directly receives the crop canopy image.
[0110] The hidden layer can have one or more layers, and the input vector is calculated by its own neurons in a weighted summation manner. The calculation formula can be expressed as: z=b+w1*x1+w2*x2+…+wm*xm
[0111] Among them, z is the weighted sum of the hidden layer output, x1, x2, x3...xm are the m eigenvectors of each sample, b is the bias, and w1, w2...wm are the weights corresponding to each eigenvector.
[0112] The output layer is the last layer, which is used to decode the vector obtained after weighted summation and output the crop coefficient corresponding to the canopy features in the crop canopy image.
[0113] It should be noted that the sample data includes the sample crop canopy images corresponding to the sample data and the canopy coverage percentage labels and crop coefficient labels pre-annotated on the sample crop canopy images. The sample data is divided into a training set and a test set according to a certain ratio.
[0114] For example, after the sample data are shuffled, they are divided into a training set, a validation set, and a test set in a ratio of 6:2:2.
[0115] Specifically, the crop water and fertilizer stress decision-making device initializes the weight coefficients between each layer of the constructed analytical model. It then inputs a set of sample data from the training set into the neural network with the current weight coefficients. The outputs of each node in the input, hidden, and output layers are sequentially calculated. The cumulative error between the final output of the output layer and the actual state type of its connection position is used to adjust the weight coefficients between each node in the input and hidden layers using the gradient descent method. This process is repeated until all samples in the training set have been traversed, resulting in the weight coefficients for the input and hidden layers.
[0116] The decision-making device for crop water and fertilizer stress restores the analytical model based on the weight coefficients of the neural network input layer and the hidden layer, inputs each crop canopy image in the test set into the trained analytical model, and outputs the corresponding analyzed crop coefficient as the analytical result.
[0117] The embodiment of the present invention does not specifically limit the analytical model.
[0118] Preferably, the analytical model can use the Bayesian optimization algorithm to intelligently explore the optimal model parameters and input them into the XGBoost algorithm to obtain the optimal model for estimating the crop coefficient. Among them, the Bayesian optimization algorithm uses a probabilistic proxy model to fit the objective function during the optimization process, and selects the next evaluation point based on the previous sampling results to quickly reach the optimal solution. The XGBoost algorithm generates weak learners by optimizing the structured loss function (the loss function with the addition of a regularization term can reduce the risk of overfitting), and the XGBoost algorithm does not use a search method, but directly uses the first-order derivative and second-order derivative values of the loss function, and greatly improves the performance of the algorithm through pre-sorting, weighted quantiles and other technologies. Its hidden layer includes at least a proportion conversion layer and a proportion analysis layer, where:
[0119] The proportion conversion layer can use the proportion of the canopy pixel area in the crop canopy image to the entire frame as the canopy coverage proportion.
[0120] The percentage analysis layer can use the mapping relationship between canopy cover percentage and crop coefficient to obtain the corresponding crop coefficient.
[0121] In an embodiment of the present invention, a crop canopy image is used as the input of an analytical model. After extracting the canopy coverage ratio from the crop canopy image through a ratio conversion layer, the canopy coverage ratio is converted into a crop coefficient using a ratio analytical layer, thereby improving the accuracy and efficiency of calculating the crop coefficient.
[0122] Based on any of the above embodiments, determining the water stress state and the nutrient stress state based on the crop coefficient and the canopy temperature of the crop to be identified includes: setting the water deficit index determined using the canopy temperature as the water stress state.
[0123] Specifically, in step 102, the crop water and fertilizer stress decision-making device calculates the water deficit index (CWSI) using the canopy temperature obtained in step 101, and determines the water stress state according to the value of the CWSI. The CWSI calculation formula is as follows:
[0124] Where, T c is the average temperature of the crop canopy, in degrees Celsius (℃). min Represents the minimum average canopy temperature in degrees Celsius (°C). max Represents the maximum average canopy temperature in degrees Celsius (℃).
[0125] A normalized vegetation index determined using the crop coefficient is set as the nutrient stress state.
[0126] Specifically, the decision-making device for crop water and fertilizer stress calculates the Normalized Difference Vegetation Index (NDVI) using the crop coefficient obtained in step 101, and determines the fertilizer (nitrogen) stress state according to the value of the NDVI.
[0127] The embodiment of the present invention does not specifically limit the calculation method of NDVI.
[0128] For example, Figure 2 is a schematic diagram of the simulation of the normalized vegetation index provided by the present invention. As shown in Figure 2, the embodiment of the present invention can be deployed in the form of discrete points using a large amount of prior data in a coordinate system where the horizontal axis is the crop coefficient and the vertical axis is the NDVI. After linear fitting of the discrete points, the calculation formula of NDVI is as follows: NDVI = -0.191K c 2 +0.712K c +0.243 (6)
[0129] Where NDVI is the normalized difference vegetation index, K c is the crop coefficient.
[0130] For example, FIG3 is a second flow chart of the decision-making method for crop water and fertilizer stress provided by the present invention. As shown in FIG3, the embodiment of the present invention provides a specific implementation method of the decision-making method for crop water and fertilizer stress:
[0131] (1) Image processing process
[0132] Mobile phone cameras are used to obtain visible light and thermal infrared images of crops. The collected images are corrected through perspective distortion correction, and then relevant algorithm processing is performed based on the corrected images to achieve real-time acquisition of crop coefficients and canopy temperature.
[0133] (2) Water and fertilizer diagnosis process
[0134] Using the crop coefficient and canopy temperature obtained from the image processing process, the canopy temperature extracted by thermal infrared and visible light is fused to obtain the water deficit index (CWSI), and the water stress status is judged according to the value of CWSI.
[0135] A fertilizer diagnosis model was established by combining the crop coefficient obtained from the canopy cover ratio extracted from the visible light image with NDVI to calculate the NDVI, and the fertilizer (nitrogen) stress status was judged according to the NDVI value.
[0136] (3) Water and fertilizer decision-making process
[0137] The CWSI and NDVI calculated during the water and fertilizer diagnostic process are used as input variables for the fuzzy controller, expressed in natural language rather than numerical form. The decision rules derived from these fuzzy decisions determine whether to irrigate and the amount of water and fertilizer to be used. The amount of water to be used is determined by multiplying the crop coefficient derived from canopy cover extracted from visible light images by the reference crop evapotranspiration. The amount of topdressing fertilizer is determined based on expert experience.
[0138] This embodiment of the present invention uses a water deficit index calculated from canopy temperature to characterize water stress, and a normalized vegetation index calculated from crop coefficients to characterize nutrient stress. This allows for dynamic assessment of water and nutrient stress based on crop growth trends, improving decision-making accuracy.
[0139] Based on any of the above embodiments, after the fuzzy control algorithm is used to process the water stress state and the nutrient stress state to determine the water and fertilizer stress decision result of the crop to be identified, the method further includes: when it is determined that the water and fertilizer stress decision result only includes the irrigation amount, controlling the irrigation device through a first control instruction to add water of a volume of the irrigation amount to the crop to be identified in the next cycle.
[0140] When it is determined that the water and fertilizer stress decision result only includes the amount of topdressing, the fertilizing device is controlled by the second control instruction to add fertilizer of the amount of topdressing to the crop to be identified in the next cycle.
[0141] When it is determined that the water and fertilizer stress decision result includes both the irrigation amount and the topdressing amount, the third control instruction is used to control the irrigation device to add water of the irrigation amount to the crop to be identified in the next cycle, and also to control the fertilizing device to add fertilizer of the topdressing amount to the crop to be identified in the next cycle.
[0142] Specifically, after step 104, the crop water and fertilizer stress decision-making device controls the irrigation device and / or the fertilization device to execute corresponding decision measures in the next cycle according to the water and fertilizer stress decision result.
[0143] If the water and fertilizer stress decision result only includes the irrigation amount, that is, it means that no fertilizer will be applied in the next cycle but only watering, then the irrigation amount will be encapsulated into the first control instruction and sent to the irrigation device, so that the irrigation device receives it and responds to the first control instruction to add water of the irrigation amount to the crop to be identified in the next cycle.
[0144] If the water and fertilizer stress decision result only includes the amount of topdressing, that is, only topdressing but no watering is performed in the next cycle, the amount of topdressing is encapsulated into the second control instruction and sent to the fertilization device, so that the fertilization device receives it and responds to the second control instruction to add fertilizer with a mass of the topdressing amount to the crop to be identified in the next cycle.
[0145] If the water and fertilizer stress decision result includes both irrigation and topdressing amounts, meaning both topdressing and watering are required in the next cycle, the irrigation amount is encapsulated into a first control instruction, and the topdressing amount is encapsulated into a second control instruction, which are then sent to the corresponding devices. The irrigation device receives the first control instruction and, in response to it, adds water equal to the irrigation amount to the identified crop in the next cycle. Simultaneously, the fertilization device receives the second control instruction and, in response to it, adds fertilizer equal to the topdressing amount to the identified crop in the next cycle.
[0146] This embodiment of the present invention analyzes water and fertilizer stress decision-making results and uses different control instructions to control corresponding actuators for irrigation and / or topdressing. This system automatically controls the corresponding devices to perform irrigation actions after achieving dynamic water and fertilizer coordinated diagnosis and decision-making through highly flexible and low-cost image acquisition methods, contributing to agricultural integration and automation.
[0147] FIG4 is a schematic diagram of the structure of a crop water and fertilizer stress decision-making device provided by the present invention. Based on any of the above embodiments, as shown in FIG4 , the device includes an image processing module 410, a water and fertilizer stress state recognition module 420, and a water and fertilizer stress state decision module 430, wherein:
[0148] The image processing module 410 is configured to determine the current crop coefficient and canopy temperature of the crop to be identified based on the first crop image and the second crop image.
[0149] The water and fertilizer stress state identification module 420 is used to determine the water stress state and nutrient stress state based on the current crop coefficient and canopy temperature of the crop to be identified.
[0150] The water and fertilizer stress state decision module 430 is used to process the water stress state and the nutrient stress state using a fuzzy control algorithm to determine a water and fertilizer stress decision result for the crop to be identified.
[0151] The decision result includes the amount of irrigation and / or topdressing for the crop to be identified in the next cycle. The first crop image is a visible light image obtained by capturing the entire crop to be identified via a terminal. The second crop image is a thermal infrared image obtained by capturing the entire crop to be identified via an infrared module connected to the terminal.
[0152] Specifically, the image processing module 410 , the water and fertilizer stress state recognition module 420 , and the water and fertilizer stress state decision module 430 are electrically connected in sequence.
[0153] The image processing module 410 receives the first crop image and the second crop image respectively captured by the camera module and the infrared module set on the mobile terminal during the current working cycle, and performs relevant image algorithms on the received images to completely segment the crop canopy area, and then calculates the crop coefficient and the canopy temperature corresponding to each pixel in the canopy area.
[0154] The water and fertilizer stress state identification module 420 uses the ratio of the water requirement and the possible evapotranspiration indicated by the crop coefficient obtained in step 101 to convert the impact of objective factors such as climate conditions, groundwater drought, and plant root size on crop water management into a water stress state for output.
[0155] The water and fertilizer stress state decision module 430 uses the membership function in the fuzzy control algorithm to determine each irrigation decision indicator under the combined effect of water stress state and nutrient stress state, and then uses pre-established fuzzy rules to make irrigation decisions to obtain the water and fertilizer stress decision results of the crop to be identified.
[0156] The water and fertilizer stress decision-making results are determined by fuzzy rules that can keep the water and fertilizer balance at the basic level in the next cycle.
[0157] Optionally, the water and fertilizer stress state decision module 430 includes a fuzzy control unit and a decision unit, wherein:
[0158] The fuzzy control unit is used to convert the water stress state and the nutrient stress state into language variables and input them into a fuzzy controller to obtain an irrigation instruction output by the fuzzy controller.
[0159] The decision unit is configured to set the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration as the water and fertilizer stress decision result when it is determined that the first identification information carried by the irrigation instruction is not empty and the second identification information is empty.
[0160] The decision unit is further configured to set the amount of topdressing determined using the nutrient stress state and the species information of the crop to be identified as the water and fertilizer stress decision result when it is determined that the first identification information carried by the irrigation instruction is empty and the second identification information is not empty.
[0161] The decision unit is further configured to, when it is determined that both the first identification information and the second identification information carried by the irrigation instruction are not empty, set the irrigation amount determined using the crop coefficient and the reference crop evaporation, and the topdressing amount determined using the nutrient stress state and the species information of the crop to be identified as the water and fertilizer stress decision result.
[0162] Wherein, the fuzzy controller is established based on the corresponding fuzzy rules between the input fuzzy set and the output fuzzy set. The input fuzzy set is determined by the membership function set according to the fuzzy levels obtained by fuzzy division of the water stress state and the nutrient stress state. The output fuzzy set is determined by the membership function set according to the strategy levels of multiple water and fertilizer stress states obtained by clarifying the fuzzy language. The fuzzy rules are established to determine the corresponding water and fertilizer stress state according to different water stress states and nutrient stress states. The identification information carried by the irrigation instruction is determined according to the water and fertilizer stress state. The first identification information is used to indicate whether irrigation is to be performed. The second identification information is used to indicate whether topdressing is to be performed.
[0163] Optionally, the image processing module 410 includes a segmentation unit, a crop coefficient acquisition unit, and a canopy temperature acquisition unit, wherein:
[0164] The segmentation unit is configured to perform image segmentation on the first crop image using a super green algorithm to obtain a crop canopy image.
[0165] The crop coefficient acquisition unit is used to determine the crop coefficient by using the canopy coverage ratio analyzed from the crop canopy image.
[0166] A canopy temperature acquisition unit is configured to determine the canopy temperature based on the crop canopy image and the second crop image.
[0167] Optionally, the canopy temperature acquisition unit includes a feature point calibration subunit and a feature point registration subunit, wherein:
[0168] The feature point calibration subunit is used to extract contour coordinates of the crop canopy image and the second crop image respectively using a binary image connected domain algorithm to obtain a first feature point set and a second feature point set.
[0169] The feature point registration subunit is configured to extract the canopy temperature from the infrared canopy image after obtaining the infrared canopy image by matching the first feature point set with the second feature point set.
[0170] Optionally, the crop coefficient acquisition unit is specifically configured to input the crop canopy image into an analytical model to obtain the crop coefficient output by the analytical model.
[0171] The analytical model is trained based on sample crop canopy images and canopy coverage ratio labels and crop coefficient labels set in the sample crop canopy images. The analytical model includes a ratio conversion layer and a ratio analysis layer.
[0172] The proportion conversion layer is used to determine the canopy coverage proportion based on the crop canopy image.
[0173] The percentage analysis layer is used to estimate the crop coefficient based on the canopy cover percentage.
[0174] Optionally, the water and fertilizer stress state identification module 420 includes a water stress state diagnosis unit and a nutrient stress state diagnosis unit, wherein:
[0175] The water stress state diagnosis unit is used to set the water deficit index determined by using the canopy temperature as the water stress state.
[0176] The nutrient stress state diagnosis unit is used to set the normalized vegetation index determined by using the crop coefficient as the nutrient stress state.
[0177] Optionally, the device further includes a first control module, a second control module and a third control module, wherein:
[0178] The first control module is configured to, when it is determined that the water and fertilizer stress decision result only includes the irrigation amount, control the irrigation device through a first control instruction to add water of a volume of the irrigation amount to the crop to be identified in the next cycle.
[0179] The second control module is used to control the fertilizing device to add fertilizer of the amount of topdressing to the crop to be identified in the next cycle through a second control instruction when it is determined that the water and fertilizer stress decision result only includes the amount of topdressing.
[0180] The third control module is used to control the irrigation device to add water with a volume of the irrigation amount to the crop to be identified in the next cycle through a third control instruction, and also control the fertilizing device to add fertilizer with a mass of the topdressing amount to the crop to be identified in the next cycle when it is determined that the water and fertilizer stress decision result includes both the irrigation amount and the topdressing amount.
[0181] The crop water and fertilizer stress decision-making device provided in an embodiment of the present invention is used to execute the above-mentioned crop water and fertilizer stress decision-making method of the present invention. Its implementation method is consistent with the implementation method of the crop water and fertilizer stress decision-making method provided by the present invention and can achieve the same beneficial effects, which will not be repeated here.
[0182] Figure 5 is a schematic diagram of the structure of a mobile phone terminal provided by the present invention. Based on any of the above embodiments, as shown in Figure 5, the mobile phone terminal includes a mobile phone terminal body 510 and an infrared module 520 in communication with each other. The mobile phone terminal body 510 includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements a method for determining crop water and fertilizer stress.
[0183] Specifically, the mobile phone terminal is composed of a mobile phone terminal body 510 and an infrared module 520 that are communicatively connected.
[0184] When using a mobile phone, the user drives the imaging module built into the mobile phone body 510 to capture a first crop image and also drives the infrared module 520 to capture a second crop image. These images are then transmitted back to the processor of the mobile phone body 510, which executes the crop water and fertilizer stress decision method and guides the user to adjust crop maintenance measures accordingly in the next cycle based on the water and fertilizer stress decision results.
[0185] Figure 6 illustrates a schematic diagram of the physical structure of an electronic device. As shown in Figure 6, the electronic device includes: a processor (processor) 610, a communication interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. The processor 610 can call the logic instructions in the memory 630 to execute a decision method for crop water and fertilizer stress, which includes: determining the current crop coefficient and canopy temperature of the crop to be identified based on the first crop image and the second crop image; determining the water stress state and the nutrient stress state based on the current crop coefficient and canopy temperature of the crop to be identified; using a fuzzy control algorithm to process the water stress state and the nutrient stress state to determine the water and fertilizer stress decision result of the crop to be identified; wherein the decision result includes the irrigation amount and / or topdressing amount of the crop to be identified in the next cycle; the first crop image is a visible light image obtained by photographing the entire image of the crop to be identified through a terminal; the second crop image is a thermal infrared image obtained by photographing the entire image of the crop to be identified through an infrared module connected to the terminal.
[0186] In addition, the logic instructions in the above-mentioned memory 630 can be stored in a computer-readable storage medium when implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the part of the technical solution of the present invention that essentially contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0187] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the decision-making method for crop water and fertilizer stress provided by the above methods.
[0188] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the decision-making method for crop water and fertilizer stress provided by the above methods.
[0189] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0190] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0191] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A decision-making method for crop water and fertilizer stress, characterized in that: include: Determining a current crop coefficient and a canopy temperature of the crop to be identified based on the first crop image and the second crop image; Determining a water stress state and a nutrient stress state based on a current crop coefficient and a canopy temperature of the crop to be identified; Using a fuzzy control algorithm to process the water stress state and the nutrient stress state to determine a water and fertilizer stress decision result of the crop to be identified; The water and fertilizer stress decision result includes the irrigation amount and / or topdressing amount of the crop to be identified in the next cycle; the first crop image is a visible light image obtained by photographing the whole picture of the crop to be identified through a terminal; the second crop image is a thermal infrared image obtained by photographing the whole picture of the crop to be identified through an infrared module connected to the terminal; The adopting of a fuzzy control algorithm to process the water stress state and the nutrient stress state to determine the water and fertilizer stress decision result of the crop to be identified includes: Converting the water stress state and the nutrient stress state into language variables and inputting them into a fuzzy controller to obtain an irrigation instruction output by the fuzzy controller; When it is determined that the first identification information carried by the irrigation instruction is not empty and the second identification information is empty, setting the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration as the water-fertilizer stress decision result; When it is determined that the first identification information carried by the irrigation instruction is empty and the second identification information is not empty, setting the amount of topdressing determined by using the nutrient stress state and the species information of the crop to be identified as the water-fertilizer stress decision result; When it is determined that both the first identification information and the second identification information carried by the irrigation instruction are not empty, the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration, and the topdressing amount determined by using the nutrient stress state and the species information of the crop to be identified are set as the water-fertilizer stress decision result; The fuzzy controller is established based on the corresponding fuzzy rules between the input fuzzy set and the output fuzzy set; the input fuzzy set is determined by the membership function set according to the fuzzy levels obtained by fuzzy division of the water stress state and the nutrient stress state; the output fuzzy set is determined by the membership function set according to the strategy levels of multiple water and fertilizer stress states obtained by clarifying the fuzzy language; the fuzzy rules are based on different water The stress state and nutrient stress state determine the corresponding water and fertilizer stress state; the identification information carried by the irrigation instruction is determined according to the water and fertilizer stress state; the first identification information is used to indicate whether irrigation is performed; the second identification information is used to indicate whether topdressing is performed.
2. The decision-making method for crop water and fertilizer stress according to claim 1, characterized in that: The method of determining the current crop coefficient and canopy temperature of the crop to be identified based on the first crop image and the second crop image includes: Using a super green algorithm to segment the first crop image to obtain a crop canopy image; Determining the crop coefficient using the canopy coverage percentage parsed from the crop canopy image; The canopy temperature is determined based on the crop canopy image and the second crop image.
3. The decision-making method for crop water and fertilizer stress according to claim 2, characterized in that: The determining the canopy temperature based on the crop canopy image and the second crop image includes: Using a binary image connected domain algorithm to extract contour coordinates of the crop canopy image and the second crop image respectively, to obtain a first feature point set and a second feature point set; After obtaining an infrared canopy image by matching the first feature point set with the second feature point set, the canopy temperature is extracted from the infrared canopy image.
4. The decision-making method for crop water and fertilizer stress according to claim 2, characterized in that: The determining the crop coefficient by using the canopy coverage ratio parsed from the crop canopy image includes: Inputting the crop canopy image into an analytical model to obtain the crop coefficient output by the analytical model; The analytical model is trained based on sample crop canopy images, and canopy coverage ratio labels and crop coefficient labels set in the sample crop canopy images; the analytical model includes a ratio conversion layer and a ratio analysis layer; The proportion conversion layer is used to determine the canopy coverage proportion based on the crop canopy image; The percentage analysis layer is used to estimate the crop coefficient based on the canopy coverage percentage.
5. The decision-making method for crop water and fertilizer stress according to claim 1, characterized in that: The step of determining the water stress state and the nutrient stress state based on the current crop coefficient and the canopy temperature of the crop to be identified comprises: setting the water deficit index determined by the canopy temperature as the water stress state; A normalized vegetation index determined using the crop coefficient is set as the nutrient stress state.
6. The decision-making method for crop water and fertilizer stress according to claim 1, characterized in that: After the water stress state and the nutrient stress state are processed by the fuzzy control algorithm to determine the water and fertilizer stress decision result of the crop to be identified, the method further includes: When it is determined that the water-fertilizer stress decision result only includes the irrigation amount, controlling the irrigation device through the first control instruction to add water of the irrigation amount to the crop to be identified in the next cycle; When it is determined that the water-fertilizer stress decision result only includes the amount of topdressing, controlling the fertilization device to add fertilizer of the amount of topdressing to the crop to be identified in the next cycle through the second control instruction; When it is determined that the water-fertilizer stress decision result includes both the irrigation amount and the topdressing amount, the third control instruction controls the irrigation device to add water of the irrigation amount to the crop to be identified in the next cycle, and also controls the fertilization device to add fertilizer of the topdressing amount to the crop to be identified in the next cycle.
7. A decision-making device for crop water and fertilizer stress, characterized in that: include: An image processing module, used for determining a current crop coefficient and a canopy temperature of the crop to be identified based on the first crop image and the second crop image; A water and fertilizer stress state identification module, used to determine the water stress state and the nutrient stress state based on the current crop coefficient and canopy temperature of the crop to be identified; A water and fertilizer stress state decision module is used to process the water stress state and the nutrient stress state using a fuzzy control algorithm to determine a water and fertilizer stress decision result of the crop to be identified; The decision result includes the irrigation amount and / or topdressing amount of the crop to be identified in the next cycle; the first crop image is a visible light image obtained by photographing the entirety of the crop to be identified through a terminal; the second crop image is a thermal infrared image obtained by photographing the entirety of the crop to be identified through an infrared module connected to the terminal; The water and fertilizer stress state decision module includes a fuzzy control unit and a decision unit, wherein: The fuzzy control unit is used to convert the water stress state and the nutrient stress state into Converting the linguistic variables into inputs to the fuzzy controller to obtain the irrigation instructions output by the fuzzy controller; The decision unit is configured to set the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration as the water-fertilizer stress decision result when it is determined that the first identification information carried by the irrigation instruction is not empty and the second identification information is empty; The decision unit is further configured to set the amount of topdressing determined by using the nutrient stress state and the species information of the crop to be identified as the water-fertilizer stress decision result when it is determined that the first identification information carried by the irrigation instruction is empty and the second identification information is not empty; The decision unit is further configured to, when it is determined that both the first identification information and the second identification information carried by the irrigation instruction are not empty, set the irrigation amount determined by using the crop coefficient and the reference crop evapotranspiration, and the topdressing amount determined by using the nutrient stress state and the species information of the crop to be identified as the water-fertilizer stress decision result; Among them, the fuzzy controller is established based on the corresponding fuzzy rules between the input fuzzy set and the output fuzzy set; the input fuzzy set is determined according to the membership function set according to the fuzzy level obtained by fuzzy division of the water stress state and the nutrient stress state; the output fuzzy set is determined according to the membership function set according to the strategy level of multiple water and fertilizer stress states obtained by clarifying the fuzzy language; the fuzzy rules are established to determine the corresponding water and fertilizer stress state according to different water stress states and nutrient stress states; the identification information carried by the irrigation instruction is determined according to the water and fertilizer stress state; the first identification information is used to indicate whether irrigation is performed; the second identification information is used to indicate whether topdressing is performed.
8. A mobile phone terminal, comprising a mobile phone terminal body and an infrared module connected in communication; the mobile phone terminal body comprises a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the decision-making method for crop water and fertilizer stress as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the decision-making method for crop water and fertilizer stress as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Seedling-stage crop water-fertilizer detection and control method and seedling-stage crop water-fertilizer detection and control apparatus based on multi-scale habitat information
CN108323295A
Crop water stress degree judgment method and device based on machine learning
CN112488230A
Dynamic decision-making method and device for field irrigation and fertilization system
CN114662742A
Decision-making method and device for crop water and fertilizer stress and mobile phone terminal
CN115861827A
Irrigation scheduling and supervisory control and data acquisition system for moving and static irrigation systems
US8924031B1
Cited By
Greenhouse strawberry crop water stress information detection method and system
CN119880895A
