AI-based precise mixing variable irrigation and fertilization system and method
By introducing an AI-based precision mixed variable irrigation and fertilization system into the water and fertilizer integrated system, combined with fuzzy PID and reinforcement learning algorithms, real-time monitoring and adaptive optimization of the irrigation and fertilization process are achieved, solving the dynamic control and hardware problems in the existing technology. The problem of insufficient coupling improves the accuracy and applicability of irrigation and fertilization.
Patent Information
- Application Number
- CN202410190779.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-02-21
AI Technical Summary
The existing water-fertilizer integrated mixed variable fertilization system lacks dynamic control and hardware coupling applications. It cannot realize real-time analysis of the mixed fertilizer liquid at the end of the pipe network and real-time online feedback of the irrigation and fertilization process, resulting in low accuracy and quality of irrigation and fertilization.
An AI-based precision mixing variable irrigation and fertilization system is adopted, including a water and fertilizer mixing part, a community water and fertilizer monitoring feedback device and a system dynamic coupling optimization and control part. It uses an intelligent water and fertilizer machine central controller and adaptive coupling optimization and control based on fuzzy PID and reinforcement learning. Algorithm, real-time analysis of irrigation fluid parameters and dynamic regulation.
It realizes real-time monitoring feedback and adaptive optimization control of the entire process of irrigation and fertilization, improves the accuracy and efficiency of irrigation and fertilization, simplifies operations, and improves the applicability of the system.
Smart Images

Figure CN118525653A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of agricultural irrigation equipment and technology, and in particular to an AI-based precise mixed variable irrigation and fertilization system and method. Background Art
[0002] Integrated water and fertilizer technology plays an increasingly prominent role and has huge application prospects in the development of modern efficient water-saving agriculture, large-scale facility agriculture, precision agriculture and smart agriculture. Precision mixed variable fertilization irrigation, as the key to the application of integrated water and fertilizer technology, is an important technical means to couple the growth and development of crops throughout their growth period and supply water and fertilizer on time, in quantity, with high quality and high efficiency during different growth periods of crops.
[0003] At present, the products developed for integrated water-fertilizer mixed variable fertilization irrigation systems at home and abroad are mainly composed of pipes, emitters, filters, fertilizer applicators and simple monitoring equipment. In the process of product system coupling, the focus is on hardware and the software; the focus is on system head control and the back-end irrigation and fertilization process feedback is neglected. There are still relatively few aspects in terms of system coupling dynamic regulation and system hardware coupling dynamic optimization application. It is impossible to realize the real-time analysis of the complex information of the mixed fertilizer liquid at the end of the pipeline network and the real-time online feedback of the irrigation and fertilization process and effect, which leads to lower irrigation and fertilization accuracy and community irrigation and fertilization quality.
[0004] Therefore, there is an urgent need to develop a simple, low-cost, precise mixed variable irrigation and fertilization system and method, which can realize real-time monitoring and feedback of the final irrigation and fertilization effects of the entire irrigation and fertilization operation area, and can autonomously and continuously optimize the control process based on current operation data and historical operation data during operation. Summary of the Invention
[0005] The purpose of the present invention is to provide an AI-based precise hybrid variable irrigation and fertilization system and method, which is used to solve the problems of real-time and final irrigation and fertilization effect monitoring and feedback throughout the entire irrigation and fertilization operation area in production practice, as well as adaptive coupling optimization and control during system operation. The system and method have the advantages of adaptive coupling optimization and control, precision and efficiency, and easy operation.
[0006] To achieve the above objectives, the present invention provides an AI-based precise hybrid variable fertigation system, comprising a precise hybrid variable fertigation system, an AI-based water and fertilizer information parsing model library, and an adaptive coupling optimization control algorithm for the precise hybrid variable fertigation system based on a combination of fuzzy PID and reinforcement learning.
[0007] Furthermore, the precise hybrid variable irrigation and fertilization system of the present invention is mainly composed of (1) a water-fertilizer mixing part, (2) a cell water-fertilizer monitoring and feedback device, and (3) a system dynamic coupling optimization and control part.
[0008] The (1) water-fertilizer mixing part includes a water reservoir, the inner wall of which is provided with a water level sensor and a water outlet, and the water outlet is connected to the system main pipeline. The system main pipeline is connected to a main pipeline filter, and a main pipeline solenoid valve and a main pipeline pressure pump are sequentially provided after the main pipeline filter, and the main pipeline pressure pump is connected to the main pipeline check valve and the main pipeline pressure gauge, and the main pipeline pressure gauge is connected to an intelligent water-fertilizer machine, and the intelligent water-fertilizer machine and the mixing pipeline electromagnetic flow regulating valve are connected in parallel, and the parallel intelligent water-fertilizer machine and the mixing pipeline electromagnetic flow regulating valve are connected to the mixing pipeline, and the mixing pipeline is connected to an irrigation branch pipe.
[0009] The intelligent water and fertilizer machine includes a fertilizer liquid tank, Intelligent water and fertilizer machine wireless signal transceiver The liquid outlet pipe of the fertilizer tank is equipped with a fertilizer solenoid valve and a fertilizer flow regulating pump. The fertilizer solenoid valve, fertilizer flow regulating pump, and mixing pipe flow regulating valve are all electrically connected to the intelligent water and fertilizer machine drive relay. The intelligent water and fertilizer machine drive relay is electrically connected to the intelligent water and fertilizer machine central controller. The intelligent water and fertilizer machine central controller is an embedded system or microcontroller with strong computing power that can deploy and run corresponding models and algorithms, such as Raspberry Pi, STM32 series, Intel Movidius series, ARM Cortex-A and Cortex-M series microcontrollers, Qualcomm Snapdragon Neural Processing Engine (NPE), Xilinx Zynq series, and NVIDIA Jetson series. The fertilizer flowing out of the fertilizer tank passes through the fertilizer solenoid valve, fertilizer filter, fertilizer check valve, fertilizer flow regulating pump, and Venturi tube, and then mixes with the irrigation water in the main pipe and flows into the mixing pipe.
[0010] The (2) community water and fertilizer monitoring and feedback device includes a community water and fertilizer monitoring and feedback device solenoid valve, which is electrically connected to a community water and fertilizer monitoring and feedback device drive relay. The outer side of the community water and fertilizer monitoring and feedback device solenoid valve is provided with a community water and fertilizer monitoring and feedback device irrigation liquid EC sensor, a community water and fertilizer monitoring and feedback device irrigation liquid pH sensor, a community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor, a community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor, a community water and fertilizer monitoring and feedback device electromagnetic flowmeter and a community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor in sequence. The community water and fertilizer monitoring and feedback device drive relay, the community water and fertilizer monitoring and feedback device irrigation liquid EC sensor, the community water and fertilizer monitoring and feedback device irrigation liquid pH sensor, the community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor, the community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor, the community water and fertilizer monitoring and feedback device electromagnetic flowmeter, the community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor and the community water and fertilizer monitoring and feedback device wireless signal transceiver are connected to the community water and fertilizer monitoring and feedback device solar power supply system through a cable.
[0011] The community water and fertilizer monitoring feedback device includes a drive relay, an irrigation liquid EC sensor, an irrigation liquid pH sensor, an irrigation liquid temperature sensor, an irrigation liquid effective nitrogen monitor, an electromagnetic flow meter, and an irrigation liquid pressure sensor. These components are connected to the community water and fertilizer monitoring feedback device's wireless transceiver via cables. The wireless transceiver is fixed to the support frame of the community water and fertilizer monitoring feedback device's solar power supply system column.
[0012] The solar power supply system of the community water and fertilizer monitoring feedback device includes solar photovoltaic panels, which are mounted on photovoltaic panel brackets. The photovoltaic panel brackets are mounted on columns, and the columns are rigidly connected to the base. The solar photovoltaic panels are electrically connected to a power management module, which is also electrically connected to a rechargeable battery. The power management module and the rechargeable battery are encapsulated together within the protective casing of the community water and fertilizer monitoring feedback device.
[0013] The wireless signal transceiver of the water and fertilizer monitoring and feedback device in the community and the wireless signal transceiver of the intelligent water and fertilizer machine adopt a data wireless transmission module based on NB-IoT technology to send and receive water and fertilizer information of the irrigation community and the system status information of the water and fertilizer monitoring and feedback device in the irrigation community in real time, and control the opening and closing of the solenoid valve in the irrigation community.
[0014] The (3) system dynamic coupling optimization and control part of the coupled water and fertilizer mixing hardware and the community water and fertilizer monitoring feedback device includes an intelligent water and fertilizer machine central controller. The intelligent water and fertilizer machine central controller is electrically connected to the water level sensor of the water storage tank, the main pipeline solenoid valve, the fertilizer liquid solenoid valve, the fertilizer liquid flow regulating pump, the mixing pipeline electromagnetic flow regulating valve, and the drive relays that control the main pipeline solenoid valve, the fertilizer liquid solenoid valve, the fertilizer liquid flow regulating pump, and the mixing pipeline electromagnetic flow regulating valve.
[0015] The intelligent water and fertilizer machine central controller is embedded with an AI-based water and fertilizer information parsing model library and an adaptive coupling optimization control algorithm for a precise hybrid variable fertilization system based on a combination of fuzzy PID and reinforcement learning. Second, as the brain of the entire system's operation and scheduling, the intelligent water and fertilizer machine central controller receives real-time data from the water and fertilizer mixing unit and feedback from the community water and fertilizer monitoring and feedback device. Based on the AI water and fertilizer information parsing model in the AI water and fertilizer information parsing model library, it analyzes and displays the water and fertilizer concentrations in the operating area in real time, thereby calculating the irrigation and fertilization rate and progress. Furthermore, based on the system's preset water and fertilizer targets, current operating status data, and historical control data, and using the adaptive coupling optimization control algorithm for the precise hybrid variable fertilization system, the intelligent water and fertilizer machine central controller makes system-level dynamic coupling optimization control decisions and sends instructions for the main pipeline solenoid valves, main pipeline booster pumps, fertilizer liquid solenoid valves, fertilizer liquid flow control pumps, mixing pipeline electromagnetic flow control valves, and community water and fertilizer monitoring and feedback device solenoid valves.
[0016] The central controller of the intelligent water and fertilizer machine is also equipped with a human-machine interface, a data storage device, and an embedded 4G communication module, which enables it to transmit data, train algorithms in the cloud, and receive instructions with the cloud system and mobile app.
[0017] The present invention also provides an AI-based water and fertilizer information parsing model library, which is based on the types of commonly used soluble nitrogen fertilizers (urea (CO(NH2)2), ammonium nitrate (NH4NO3), ammonium sulfate ((NH4)2SO4)), phosphate fertilizers (monoammonium phosphate (NH4H2PO4), diammonium phosphate ((NH4)2HPO4), superphosphate (Ca(H2PO4)2), etc.) and potash fertilizers (potassium chloride (KCL), potassium sulfate (K2SO4), potassium nitrate (KNO3), etc.) to form a variety of water and fertilizer integrated mixed fertilizer types. Machine learning or deep learning models are constructed for each type of mixed fertilizer at different component concentrations, including the effective nitrogen content, EC, pH, temperature and other physical parameters of the fertilizer solution, and the concentrations of different types of fertilizer components in the fertilizer solution. Based on the collection of these models, an AI-based water and fertilizer information parsing model library is constructed.
[0018] Specifically, taking the construction of a water-fertilizer information parsing model for a mixed fertilizer of potassium dihydrogen phosphate and potassium chloride as an example, according to the actual production needs, a mixed fertilizer solution of potassium dihydrogen phosphate and potassium chloride with a total concentration of 2-10 g / L under different ratios as shown in Table 1 is configured, and the readings of the effective nitrogen sensor, EC sensor, pH sensor and temperature sensor of the fertilizer solution are read simultaneously under strict temperature control conditions of 15-40°C to form a mixed fertilizer solution effective nitrogen-EC-pH-temperature-potassium dihydrogen phosphate concentration-potassium chloride concentration data set. After cleaning the data set, the StandardScaler in the machine learning library sklearn is used to standardize the data set, and then the data set is randomly divided into two data sets in a ratio of 7:3, one for training and the other for testing. The selected machine learning algorithm (such as support vector machine, SVM) is trained and hyperparameters are optimized using GridSearchCV and k-fold cross-validation in the machine learning library sklearn.model_selection. After obtaining satisfactory performance, the data standardization process and the trained model are saved to the model library. The effect is shown in the figure. Figure 6 、 7 Similarly, other mixed fertilizer and water information analysis models follow a similar process, using machine learning or deep learning to build corresponding models and save them to a model library.
[0019] Table 1. Formula for Mixed Fertilizer Solution Containing Potassium Dihydrogen Phosphate and Potassium Chloride
[0020]
[0021] Note: 2, 4, 6, 8, 10 represent the concentration of mixed fertilizer solution (g / L); C DP and C PC The values represent the concentrations (g / L) of potassium dihydrogen phosphate and potassium chloride in the mixed fertilizer solution, respectively; the ratio value represents the ratio of different concentrations of potassium dihydrogen phosphate and potassium chloride at the same concentration in the mixed fertilizer.
[0022] The model library is embedded in the central controller of the intelligent water and fertilizer machine. After the central controller receives the effective nitrogen content, EC, pH, and temperature feedback data of the fertilizer solution from the water and fertilizer monitoring feedback part of the irrigation and fertilization operation area, it performs validity verification and transmits the data to the corresponding AI water and fertilizer information analysis model. It analyzes the concentration of the mixed fertilizer solution components in real time, and displays it in real time on the human-computer interaction interface together with the pipeline pressure, pipeline flow, operation progress and other information of the irrigation and fertilization operation area, and uploads it to the cloud system or mobile phone.
[0023] The present invention also provides an adaptive coupling optimization control algorithm for a precise hybrid variable fertigation system based on the combination of fuzzy PID and reinforcement learning. Specifically, the target nitrogen fertilizer concentration C is preset in the system before each operation. N , phosphate fertilizer concentration CP Potassium fertilizer concentration C K , system flow Q w , the Q-learning algorithm provides an initialization strategy based on prior knowledge, that is, the algorithm provides a set of PID parameter sets {K for controlling the speed of the main pipeline booster pump, the duty cycle of the mixed pipeline flow control valve, the speed of the nitrogen fertilizer flow control pump, the speed of the phosphate fertilizer flow control pump and the speed of the potash fertilizer flow control pump based on historical operation data and current preset data. p w ,K i w ,K d w ;K p V ,K i V ,K d V ;K p N ,K i N ,K d N ;K p P ,K i P ,K d P ;K p K ,K i K ,K d K}0. Real-time nitrogen fertilizer concentration C analyzed by AI water and fertilizer information analysis model during system operation t N , phosphate fertilizer concentration C t P Potassium fertilizer concentration C t K and system traffic Q t w The nitrogen fertilizer concentration C preset by the system for this operation N , phosphate fertilizer concentration C P Potassium fertilizer concentration C K and system flow Q w The error variable E t N =C t N -C N ,E t P =C t P -C P ,E t K=C t K -C K ,E t w =Q t w -Q w and the error change rate EC t N =dE t N / dt,EC t P =d E t P / dt,EC t K =d E t K / dt,EC t w =d E t w / dt is used as the input variable of the algorithm. The error variable E is divided into seven fuzzy sets: negative large (NB), negative medium (NM), negative small (NS), zero (ZO), positive small (PS), positive medium (PM), and positive large (PB). Its value range is set to [-5, 5], and the data is fuzzified using a triangular membership function. Similarly, the error change rate EC is divided into seven fuzzy sets: negative large (NB), negative medium (NM), negative small (NS), zero (ZO), positive small (PS), positive medium (PM), and positive large (PB). Its value range is set to [-30%, 30%], and the data is fuzzified using a triangular membership function. Based on the membership of E and EC, the inference tables 2, 3, and 4 are consulted to obtain the output magnitude, i.e., the fuzzy inference value. The fuzzy inference values are defuzzified using the median method to obtain the PID parameters used to regulate the speed of the main pipeline booster pump, the duty cycle of the mixing pipeline flow regulating valve, the speed of the nitrogen fertilizer flow regulating pump, the speed of the phosphate fertilizer flow regulating pump, and the speed of the potash fertilizer flow regulating pump. The parameters are then input into the PID controller to obtain the control signal at time t.
[0024] Table 2.K p Rules Table
[0025]
[0026] Table 3.K i Rules Table
[0027]
[0028] Table 4.K d Rules Table
[0029]
[0030] Meanwhile, to address the challenge of parameter tuning in traditional PID control, especially in complex, nonlinear, or time-varying systems, an adaptive coupled optimization control algorithm for a precise hybrid variable irrigation and fertilization system is proposed. This algorithm utilizes an interactive learning process and reinforcement learning to adjust the strategy based on the interaction with the environment, further optimizing the system performance of the fuzzy PID multi-controller coupled control. Specifically, based on the system's dynamic performance indicators, considering overshoot, energy consumption, response time, and stability, the reward function is designed as follows:
[0031] R(t)=-(αE(t) 2 +βEC(t) 2 +γu(t) 2 +δRT) (1)
[0032] Among them, α, β and γ are weight coefficients used to balance the importance of error, error change rate and control input. These coefficients can be adjusted according to the specific application scenario. E(t) 2 and EC(t) 2 Represents the square of the error and the error change rate, respectively, and is used to penalize large errors and rapidly changing errors. 2 The square of the control input is used to penalize excessive control actions, which helps reduce system oscillations and energy consumption. RT is the time required for the system to begin responding within a preset steady-state error range (e.g., within ±2%).
[0033] The Q-learning algorithm is selected as the core algorithm for processing continuous action space and applying to PID controller parameter adjustment; the PID parameters (K p , K i , K d The action space is part of the action space, and the size and scope of the actions are determined based on the actual system state characteristics. During system operation, continuously collected system data, current running data, and interactive learning between the algorithm and the current environment are used. Based on the current state, actions (PID parameters) are selected, and the new state and reward are observed after execution. The Q-learning algorithm updates the estimated value of the Q-function according to the Bellman equation, in the following form:
[0034] Q(s,a)←Q(s,a)+α[r+γmax a' Q(s',a')-Q(s,a)](2)
[0035] Where α is the learning rate, which determines the extent to which new information affects old estimates; r is the immediate reward, which is the reward the agent receives from the environment after performing an action; γ is the discount factor, which is used to balance the importance of immediate rewards and future rewards; s' is the new state, which is the state of the environment after performing action a; a' is any possible action that can be taken in the new state s'; max a’ Q(s',a') represents the maximum Q value of all possible actions under the new state s'. The goal of Q-learning is to find the optimal Q-function Q * (s,a), such that for all state-action pairs Q * (s,a) is equal to the maximum expected reward that can be obtained by taking action a in state s and following the optimal strategy.
[0036] During the training process, a gradient optimization method (policy gradient method) is used to adjust PID parameters and continuously perform system adaptive optimization and regulation. This process is adaptive, and the intelligent agent can optimize the control strategy according to system changes and external disturbances.
[0037] A method for using an AI-based precision mixed variable fertigation system includes the following steps:
[0038] S1: Start the intelligent water and fertilizer machine;
[0039] S2: Based on actual fertilization and irrigation needs, set detailed parameters such as fertilization type, fertilizer amount, and irrigation amount for each irrigation plot on the human-machine interface of the intelligent water and fertilizer machine, through the cloud system web interface, or even on the mobile phone app, complete the system self-check and troubleshoot any possible faults.
[0040] S3: After the self-check is passed, the fertilization strategy for each fertilization plot is preset and the fertilization and irrigation operation of the plot is started;
[0041] S4: Fertilization and irrigation operation in the community. The solenoid valve of the system main pipeline is opened and the solenoid valve of the corresponding community water and fertilizer monitoring feedback device and the solenoid valve of the fertilizer tank are opened according to the preset irrigation and fertilization plan of each community. The main pipeline booster pump is started. The irrigation water is fully mixed with the fertilizer liquid in the mixing pipe by the intelligent water and fertilizer machine to form irrigation liquid, which flows into the branch pipe and then enters the community water and fertilizer monitoring feedback device. The irrigation liquid is tested for parameters in the community water and fertilizer monitoring feedback device. The wireless signal transceiver of the community water and fertilizer monitoring feedback device transmits the detection information back to the intelligent water and fertilizer machine central controller in real time. The intelligent water and fertilizer machine central controller calls the water and fertilizer information analysis model with a predetermined rate according to the fertilization type and detection information, and performs real-time analysis and multi-terminal display. The system uses the analyzed information and preset information as input information, and uses the system intelligent dynamic coupling control algorithm based on the combination of fuzzy PID and reinforcement learning to dynamically and collaboratively control the main pipeline booster pump, the mixed pipeline electromagnetic flow control valve, and the fertilizer liquid flow control pump to ensure that the system fertilization and irrigation mode is within the preset range, and the detected irrigation liquid flows to the designated location through the community drip irrigation system. In addition, based on the real-time feedback of the community water and fertilizer monitoring feedback device on the changes in the community end pipe network pressure, it can monitor the community drip irrigation system pipeline leakage, capillary burst and other sudden problems in the community, and promptly close the solenoid valve of the community water and fertilizer monitoring feedback device and issue an alarm.
[0042] S5: After the system completes the fertilization and irrigation targets of the target cell according to the information fed back by the water and fertilizer monitoring and feedback device of the cell, the system issues an instruction to close the solenoid valve of the water and fertilizer monitoring and feedback device of the target cell, and performs the fertilization and irrigation operations of the next cell according to the preset task. After the fertilization and irrigation operations of all cells are completed, the system closes all the solenoid valves and sends a sleep instruction to the water and fertilizer monitoring and feedback devices of each cell, and the system is powered off.
[0043] Compared with the prior art, the present invention has achieved the following technical effects:
[0044] 1. The present invention connects a water and fertilizer monitoring and feedback device in series to the branch pipe of the irrigation area, which has the function of automatically detecting irrigation liquid parameters and providing real-time feedback to the intelligent water and fertilizer machine. The intelligent water and fertilizer machine can analyze the water and fertilizer information of the irrigation liquid in real time based on the AI water and fertilizer information analysis model according to the real-time feedback information, and provide real-time feedback on the fertilization and irrigation quality throughout the whole process, and accurately and efficiently regulate the irrigation and fertilization amount.
[0045] 2. The present invention sets up a community water and fertilizer monitoring and feedback device in the fertilization and irrigation community. The device realizes real-time detection, feedback and AI intelligent analysis of irrigation liquid parameters during the community fertilization and irrigation process. On the basis of linking the main pipeline booster pump, the intelligent water and fertilizer machine fertilizer liquid flow regulating pump and the mixing pipeline electromagnetic flow regulating valve, the water and fertilizer control is performed by using the intelligent dynamic coupling optimization control algorithm of the precise mixed variable irrigation and fertilization system based on fuzzy PID control and reinforcement learning. It realizes system-level precise mixed variable fertilization and irrigation and real-time and multi-terminal feedback and display of the final effect of the system operation process, realizing intelligent precise mixed variable fertilization and irrigation in a concise, intuitive and clear manner.
[0046] 3. The system of the present invention utilizes the strong adaptability and systematic self-optimization capabilities of AI when facing complex, nonlinear, time-varying systems. It continuously learns and adaptively optimizes based on fuzzy PID and reinforcement learning, dynamically and collaboratively controls the main pipeline booster pump, the intelligent water and fertilizer machine fertilizer liquid flow regulating pump, and the mixed pipeline electromagnetic flow regulating valve. It optimizes the control strategy based on actual environmental feedback, and can adaptively optimize and continuously improve the system's control accuracy and response speed during system operation. There is no need to manually adjust or redevelop the control algorithm according to changes in the system environment, thereby improving the applicability of the entire system.
[0047] Therefore, the present invention adopts the above-mentioned AI-based precise mixed variable fertilization system and method. On the basis of the existing design, it innovatively proposes to automatically monitor the precise mixed variable fertilization irrigation process based on the existing water and fertilizer monitoring hardware coupling AI algorithm capability and combine fuzzy PID and reinforcement learning for adaptive coupling optimization and control. It solves the problem of real-time online monitoring and feedback of the effects of the precise mixed variable fertilization process in irrigation areas and system adaptive optimization and control in production practice, and has the advantages of outstanding performance, easy operation and strong applicability.
[0048] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 1 is a schematic diagram of an embodiment of an AI-based precise mixed variable fertigation system and method of the present invention;
[0050] Figure 2 1. This is a schematic diagram of system hardware of an embodiment of an AI-based precise mixed variable fertigation system and method of the present invention;
[0051] Figure 3 This is a schematic diagram of a water and fertilizer monitoring and feedback device for a residential area according to an embodiment of an AI-based precise mixed variable irrigation and fertilization system and method of the present invention;
[0052] Figure 4This is a flow chart of an adaptive coupling optimization control algorithm of a precise hybrid variable fertigation system based on a combination of fuzzy PID and reinforcement learning in an embodiment of an AI-based precise hybrid variable fertigation system and method of the present invention;
[0053] Figure 5 This is a flowchart illustrating the operation of the human-machine interface of an intelligent water and fertilizer machine, representing an embodiment of an AI-based precision mixed variable irrigation and fertilization system and method according to the present invention.
[0054] Figure 6 This is a diagram showing the effect of the AI water and fertilizer information analysis model of the present invention, which is used to predict the concentration of the first fertilizer in the irrigation solution, in an embodiment of the AI-based precision mixed variable irrigation and fertilization system and method.
[0055] Figure 7 This is a diagram showing the effect of the AI water and fertilizer information analysis model of the present invention, which is used to predict the concentration of the second type of fertilizer in the irrigation solution, in an embodiment of the AI-based precision mixed variable irrigation and fertilization system and method of the present invention.
[0056] Reference numerals
[0057] 1. Reservoir; 2. Water level sensor; 3. Main pipeline filter; 4. Main pipeline solenoid valve; 5. Main pipeline booster pump; 6. Main pipeline check valve; 7. Main pipeline pressure gauge; 8. Intelligent water and fertilizer machine central controller; 9. Fertilizer liquid tank; 10. Fertilizer liquid solenoid valve; 11. Fertilizer liquid filter; 12. Fertilizer liquid check valve; 13. Fertilizer liquid flow regulating pump; 14. Venturi tube; 15. Mixing pipeline solenoid flow regulating valve; 16. Mixing pipeline; 17. Irrigation branch pipe; 18. Community water and fertilizer monitoring and feedback device; 19. Community drip irrigation system; 20. Community water and fertilizer monitoring and feedback device solenoid valve; 21. Community water and fertilizer monitoring and feedback device irrigation liquid EC sensor; 2 2. pH sensor for irrigation liquid of community water and fertilizer monitoring and feedback device; 23. Temperature sensor for irrigation liquid of community water and fertilizer monitoring and feedback device; 24. Available nitrogen monitor for irrigation liquid of community water and fertilizer monitoring and feedback device; 25. Electromagnetic flowmeter for community water and fertilizer monitoring and feedback device; 26. Pressure sensor for irrigation liquid of community water and fertilizer monitoring and feedback device; 27. Photovoltaic panel bracket; 28. Solar photovoltaic panel; 29. Cable; 30. Wireless signal transceiver for community water and fertilizer monitoring and feedback device; 31. Column for solar power supply system of community water and fertilizer monitoring and feedback device; 32. Encapsulation protective shell for community water and fertilizer monitoring and feedback device; 33. Column base for solar power supply system of community water and fertilizer monitoring and feedback device. DETAILED DESCRIPTION
[0058] The technical solution of the present invention is further described below with reference to the accompanying drawings and embodiments.
[0059] Unless otherwise defined, technical or scientific terms used in the present invention shall have the ordinary meaning understood by persons of ordinary skill in the art to which the present invention belongs. Words such as "include" or "comprising" used in the present invention mean that the elements or objects preceding the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0060] Example 1
[0061] The present invention provides an AI-based precise mixed variable irrigation and fertilization system. The entire system can be divided into three parts: a water-fertilizer mixing part, a community water and fertilizer monitoring and feedback part, and a system coupling dynamic optimization and control part.
[0062] The following is an introduction to these three parts respectively.
[0063] 1. Water and fertilizer mixing part
[0064] like Figure 1 As shown, the water-fertilizer mixing part includes: a water reservoir 1, a water level sensor 2, a main pipeline filter 3, a main pipeline solenoid valve 4, a main pipeline booster pump 5, a main pipeline check valve 6, a main pipeline pressure gauge 7, a fertilizer liquid tank 9, a fertilizer liquid solenoid valve 10, a fertilizer liquid filter 11, a fertilizer liquid check valve 12, a fertilizer liquid flow regulating pump 13, a venturi tube 14, a mixing pipeline electromagnetic flow regulating valve 15, and a mixing pipeline 16.
[0065] The water reservoir 1 is used to store water and contains a water level sensor 2. The water level sensor 2 is connected to the intelligent water and fertilizer machine central controller 8 through a cable. The water outlet of the water reservoir 1 is connected to the main pipeline. The irrigation water passes through the main pipeline and passes through the main pipeline filter 3, the main pipeline solenoid valve 4, the main pipeline booster pump 5, the main pipeline check valve 6, and the main pipeline pressure gauge 7 along the main pipeline. After that, it is mixed with the fertilizer liquid flowing out of the intelligent water and fertilizer machine and enters the mixing pipeline 16. The main pipeline solenoid valve 4 and the main pipeline booster pump 5 are both connected to the drive relay in the intelligent water and fertilizer machine central controller 8 through a cable.
[0066] The fertilizer liquid tank 9 contains the fertilizer liquid required for fertilization. After the fertilizer liquid in the fertilizer liquid tank 9 passes through the liquid outlet, it passes through the fertilizer liquid solenoid valve 10, the fertilizer liquid filter 11, the fertilizer liquid check valve 12, the fertilizer liquid flow regulating pump 13, and the Venturi tube 14 in sequence, and then flows into the mixing pipe 16 to mix with the irrigation water in the pipe to form irrigation liquid.
[0067] II. Feedback from Community Water and Fertilizer Monitoring
[0068] like Figure 2As shown, the community water and fertilizer monitoring and feedback device includes: a community water and fertilizer monitoring and feedback device solenoid valve 20, a community water and fertilizer monitoring and feedback device irrigation liquid EC sensor 21, a community water and fertilizer monitoring and feedback device irrigation liquid pH sensor 22, a community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor 23, a community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor 24, a community water and fertilizer monitoring and feedback device electromagnetic flowmeter 25, a community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor 26, a photovoltaic panel bracket 27, a solar photovoltaic panel 28, a cable 29, a community water and fertilizer monitoring and feedback device wireless signal transceiver 30, a community water and fertilizer monitoring and feedback device solar power supply system column 31, a community water and fertilizer monitoring and feedback device packaging protective shell 32, and a battery, a power supply system control circuit board and a power supply system drive relay encapsulated therein, and a community water and fertilizer monitoring and feedback device solar power supply system column base 33.
[0069] The community water and fertilizer monitoring and feedback device drive relay, the community water and fertilizer monitoring and feedback device irrigation liquid EC sensor 21, the community water and fertilizer monitoring and feedback device irrigation liquid pH sensor 22, the community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor 23, the community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor 24, the community water and fertilizer monitoring and feedback device electromagnetic flowmeter 25, the community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor 26 and the community water and fertilizer monitoring and feedback device wireless signal transceiver 30 are connected to the community water and fertilizer monitoring and feedback device solar power supply system through a cable to obtain the operating electric energy, and the community water and fertilizer monitoring and feedback device driver receives signal instructions from the community water and fertilizer monitoring and feedback device signal transceiver system.
[0070] The community water and fertilizer monitoring and feedback device drive relay, the community water and fertilizer monitoring and feedback device irrigation liquid EC sensor 21, the community water and fertilizer monitoring and feedback device irrigation liquid pH sensor 22, the community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor 23, the community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor 24, the community water and fertilizer monitoring and feedback device electromagnetic flowmeter 25, the community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor 26 and the community water and fertilizer monitoring and feedback device solar power supply system are connected to the community water and fertilizer monitoring and feedback device wireless signal transceiver 30 through a cable. The data reading module in the wireless signal transceiver transmits the data back to the intelligent water and fertilizer machine through the signal transmitter, thereby realizing real-time feedback on the operating status of the irrigation community water and fertilizer monitoring and feedback device system.
[0071] The solar power supply system for the community water and fertilizer monitoring feedback device consists of a solar photovoltaic panel 28, a battery, a power supply system drive relay, an inverter, a power supply system control circuit board, a protective enclosure 32, and a column 31. The solar photovoltaic panel 28 is located on the photovoltaic panel support 27. The power supply system drive relay is connected to the battery via a cable. The solar photovoltaic panel is connected to the battery via an inverter. The battery, the power supply system control circuit board, the inverter, and the power supply system drive relay are encapsulated in the protective enclosure 32.
[0072] After the irrigation solution, which has been uniformly mixed in the mixing pipe, reaches the community water and fertilizer monitoring and feedback device through the irrigation branch pipe 17, it passes sequentially through the community water and fertilizer monitoring and feedback device solenoid valve 20, the community water and fertilizer monitoring and feedback device irrigation solution EC sensor 21, the community water and fertilizer monitoring and feedback device irrigation solution pH sensor 22, the community water and fertilizer monitoring and feedback device irrigation solution temperature sensor 23, the community water and fertilizer monitoring and feedback device irrigation solution effective nitrogen monitor 24, the community water and fertilizer monitoring and feedback device electromagnetic flowmeter 25, and the community water and fertilizer monitoring and feedback device irrigation solution pressure sensor 26 before flowing into the community drip irrigation system 19. The community drip irrigation system 19 mainly consists of the irrigation branch pipe 17 and the community capillary pipes, and is responsible for uniformly delivering water and fertilizer solution to the root zone of each crop, providing the water and nutrients required for crop growth in a timely and efficient manner.
[0073] Meanwhile, data such as irrigation solution EC, pH, temperature, available nitrogen, flow rate, and pressure collected by the community water and fertilizer monitoring feedback device are transmitted in real-time online to the smart water and fertilizer machine's wireless transceiver (encapsulated in the smart water and fertilizer machine's central controller 8) via the community water and fertilizer monitoring feedback device's wireless transceiver 31, realizing real-time feedback of community water and fertilizer information. Furthermore, the smart water and fertilizer machine's command signals to the community water and fertilizer monitoring feedback device are also transmitted via the smart water and fertilizer machine's wireless transceiver, received by the community water and fertilizer monitoring feedback device's wireless transceiver 31, and then transmitted to the community water and fertilizer monitoring feedback device to control the opening and closing of the community water and fertilizer monitoring feedback device's solenoid valve 20.
[0074] III. System Coupling Dynamic Optimization and Control Section
[0075] like Figure 4 As shown, the system coupling dynamic optimization and control part includes: main pipeline pressurization pump 5, fertilizer solution flow regulating pump 13, mixing pipeline electromagnetic flow regulating valve 15, intelligent water and fertilizer machine central controller 8, intelligent water and fertilizer machine wireless signal transceiver (encapsulated in intelligent water and fertilizer machine central controller 8), intelligent water and fertilizer machine drive relay (encapsulated in intelligent water and fertilizer machine central controller 8), community water and fertilizer monitoring feedback device wireless signal transceiver 31, community water and fertilizer monitoring feedback device drive relay (encapsulated in community water and fertilizer monitoring feedback device encapsulation protective shell 33).
[0076] The irrigation liquid EC, pH, temperature, effective nitrogen, flow rate, pressure and other data collected by the water and fertilizer monitoring feedback device of the community are transmitted online in real time to the wireless signal transceiver of the intelligent water and fertilizer machine (encapsulated in the central controller 8 of the intelligent water and fertilizer machine) through the wireless signal transceiver 31 of the device. The data is analyzed online in real time by the AI water and fertilizer information analysis model in the central controller 8 of the intelligent water and fertilizer machine, and the water and fertilizer concentration, irrigation and fertilization rate, and irrigation and fertilization progress are displayed synchronously on multiple terminals and human-computer interaction is realized. Figure 4 As shown, the central controller 8 of the intelligent water and fertilizer machine compares the preset fertilization and irrigation strategy with the real-time information of the community. It uses an adaptive coupling optimization and control algorithm based on fuzzy PID and reinforcement learning to perform coupled dynamic optimization and control of the entire system operation process, continuously improving the system's accuracy, stability and reliability during operation.
[0077] The present invention also provides a method for using the above-mentioned AI-based precise mixed variable fertilization irrigation system, comprising the following steps:
[0078] S1: Start the intelligent water and fertilizer machine;
[0079] S2: Based on actual fertilization and irrigation needs, set the fertilization type, fertilization amount, and irrigation amount for each irrigation area on the human-machine interface of the intelligent water and fertilizer machine, complete the system self-check, and troubleshoot any possible faults.
[0080] S3: After the self-check is passed, the fertilization strategy for each fertilization plot is preset and the fertilization and irrigation operation of the plot is started;
[0081] S4: Fertilization and irrigation operation in the community. The solenoid valve of the system main pipeline is opened and the solenoid valve and fertilizer tank solenoid valve of the corresponding community water and fertilizer monitoring feedback device are opened according to the preset irrigation and fertilization plan of each community. The main pipeline booster pump is started. The irrigation water is fully mixed with the fertilizer liquid in the mixing pipeline by the intelligent water and fertilizer machine to form irrigation liquid, which flows into the branch pipe and then enters the community water and fertilizer monitoring feedback device. The irrigation liquid undergoes parameter detection in the community water and fertilizer monitoring feedback device. The device's wireless signal transceiver transmits the detection information back to the intelligent water and fertilizer machine in real time. The intelligent water and fertilizer machine calls the AI fertilizer liquid information parsing model with a predetermined rate according to the fertilization type and detection information, and parses and displays the fertilizer concentration and irrigation and fertilization progress of each fertilizer in the community in real time, and compares the parsed information with the preset information. The adaptive coupling optimization control algorithm of the precise hybrid variable irrigation and fertilization system based on fuzzy PID and reinforcement learning is used to dynamically coordinate the control of the main pipeline booster pump, the mixing pipeline electromagnetic flow control valve and the fertilizer liquid flow control pump to make the system fertilization and irrigation mode consistent with the preset mode. The irrigation liquid that has completed the inspection flows to the designated location through the community drip irrigation system; in addition, based on the real-time feedback of the community water and fertilizer monitoring feedback device on the changes in the community end pipe network pressure, it can monitor in real time the community drip irrigation system pipeline leakage, capillary burst and other sudden problems, and promptly close the solenoid valve of the community water and fertilizer monitoring feedback device and issue an alarm.
[0082] S5: After the system completes the fertilization and irrigation targets of the target cell according to the information fed back by the water and fertilizer monitoring and feedback device of the cell, the system issues an instruction to close the solenoid valve of the water and fertilizer monitoring and feedback device of the target cell, and performs the fertilization and irrigation operations of the next cell according to the preset task. After the fertilization and irrigation operations of all cells are completed, the system closes all the solenoid valves and sends a sleep instruction to the water and fertilizer monitoring and feedback devices of each cell, and the system is powered off.
[0083] Therefore, the present invention adopts the above-mentioned AI-based precise mixed variable irrigation and fertilization system and method to solve the problem of real-time online monitoring feedback and adaptive coupling optimization control of the effects of the mixed precise variable irrigation and fertilization process in irrigation areas in production practice, and has the advantages of outstanding performance, easy operation and strong applicability.
[0084] 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 the same. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solutions of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A precise mixed variable irrigation and fertilization system and method based on AI, Features: It includes a precise hybrid variable fertigation system, an AI-based water and fertilizer information analysis model library, a precise hybrid variable fertigation system adaptive coupling optimization control algorithm based on the combination of fuzzy PID and reinforcement learning, and a method for using the system. The precise hybrid variable fertigation system includes a water-fertilizer mixing part, a community water-fertilizer monitoring and feedback device, and a system adaptive coupling optimization control part. The water-fertilizer mixing part and the community water-fertilizer monitoring and feedback device are electrically connected to the system coupling dynamic optimization control part respectively.
2. According to claim 1, a precise hybrid variable fertigation system based on AI, Features: The water-fertilizer mixing part includes a water reservoir, and a water level sensor and a water outlet are provided on the inner wall of the water reservoir. The water outlet is connected to the system main pipeline, and a main pipeline filter is connected to the system main pipeline. A main pipeline solenoid valve and a main pipeline booster pump are provided in sequence after the main pipeline filter. The main pipeline booster pump is connected to the main pipeline check valve and the intelligent water-fertilizer machine. The intelligent water-fertilizer machine is connected to the mixing pipeline in parallel with the electromagnetic flow regulating valve of the mixing pipeline, and the mixing pipeline is connected to the water and fertilizer monitoring feedback part of the community through an irrigation branch pipe.
3. According to claim 1, a precise hybrid variable fertigation system based on AI, Features: The community water and fertilizer monitoring and feedback device comprises a community water and fertilizer monitoring and feedback device solenoid valve, which is connected to a community water and fertilizer monitoring and feedback device driving relay by a cable, and the outer side of the community water and fertilizer monitoring and feedback device solenoid valve is provided with a community water and fertilizer monitoring and feedback device irrigation liquid EC sensor, a community water and fertilizer monitoring and feedback device irrigation liquid pH sensor, a community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor, a community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor, a community water and fertilizer monitoring and feedback device electromagnetic flowmeter and a community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor in sequence; The community water and fertilizer monitoring and feedback device driving relay, the community water and fertilizer monitoring and feedback device irrigation liquid EC sensor, the community water and fertilizer monitoring and feedback device irrigation liquid pH sensor, the community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor, the community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor, the community water and fertilizer monitoring and feedback device electromagnetic flowmeter, the community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor and the community water and fertilizer monitoring and feedback device wireless signal transceiver are connected to the community water and fertilizer monitoring and feedback device solar power supply system through a cable to provide power; The community water and fertilizer monitoring and feedback device driving relay, the community water and fertilizer monitoring and feedback device irrigation liquid EC sensor, the community water and fertilizer monitoring and feedback device irrigation liquid pH sensor, the community water and fertilizer monitoring and feedback device irrigation liquid temperature sensor, the community water and fertilizer monitoring and feedback device irrigation liquid effective nitrogen monitor, the community water and fertilizer monitoring and feedback device electromagnetic flowmeter, the community water and fertilizer monitoring and feedback device irrigation liquid pressure sensor and the community water and fertilizer monitoring and feedback device solar power supply system are connected to the community water and fertilizer monitoring and feedback device wireless signal transceiver through a cable to perform data transmission and command transmission and reception; The wireless signal transceiver of the community water and fertilizer monitoring and feedback device and the wireless signal transceiver of the intelligent water and fertilizer machine adopt a data wireless transmission module based on NB-IoT technology to irrigate the community and the intelligent water and fertilizer machine to receive and send water and fertilizer information of the irrigation community and system status information of the irrigation community water and fertilizer monitoring and feedback device in real time, and control the opening and closing of the solenoid valve of the irrigation community.
4. According to claim 1, a precise hybrid variable fertigation system based on AI, Features: The system adaptive coupling optimization control part collects data from the water and fertilizer monitoring feedback device of the community, calls the matching water and fertilizer information analysis model from the AI-based water and fertilizer information analysis model library to perform real-time online analysis and display of fertilizer solution concentration, fertilization rate and progress, and realizes human-computer interaction. According to the system preset fertilizer concentration, fertilization rate and the analyzed system real-time fertilizer solution concentration and fertilization rate, the system adaptive coupling optimization control is performed using the precise hybrid variable irrigation and fertilization system adaptive coupling optimization control algorithm based on the combination of fuzzy PID and reinforcement learning; The adaptive coupling optimization and control part of the system includes a cable connection between the central controller of the intelligent water and fertilizer machine and the water level sensor. The central controller of the intelligent water and fertilizer machine is an embedded system or microcontroller with strong computing power and capable of deploying and running corresponding models and algorithms, including Raspberry Pi, STM32 series, Intel Movidius series, ARM Cortex-A and Cortex-M series microcontrollers, Qualcomm Snapdragon neural processing engine (NPE), Xilinx Zynq series, and NVIDIA Jetson series; The intelligent water-fertilizer machine comprises a fertilizer liquid tank and an intelligent water-fertilizer machine wireless signal transceiver. A fertilizer liquid solenoid valve is installed on the liquid outlet pipe of the fertilizer liquid tank. The fertilizer liquid solenoid valve, the fertilizer liquid flow regulating pump, the mixing pipeline flow regulating valve, and the main pipeline solenoid valve are connected to the intelligent water-fertilizer machine drive relay through a cable. The intelligent water-fertilizer machine drive relay is connected to the intelligent water-fertilizer machine central controller through a cable. After the fertilizer liquid passes through the fertilizer liquid solenoid valve, the fertilizer liquid filter, the fertilizer liquid check valve, the fertilizer liquid flow regulating pump, and the venturi tube, it enters the main pipeline from the fertilizer liquid tank to achieve water-fertilizer mixing. The main pipeline solenoid valve and the main pipeline booster pump are connected to the intelligent water and fertilizer machine drive relay through cables. The intelligent water and fertilizer machine drive relay is connected to the intelligent water and fertilizer machine central controller through cables and receives control signals from the intelligent water and fertilizer machine central controller. The intelligent water and fertilizer machine central controller is provided with a human-computer interaction interface.
5. According to claim 1, a precise hybrid variable fertigation system based on AI, Features: The AI-based water and fertilizer information analysis model library is based on the commonly used soluble nitrogen fertilizers (urea (CO (NH 2 ) 2 ), ammonium nitrate (NH 4 NO 3 ), ammonium sulfate ((NH 4 ) 2 SO 4 ), phosphate fertilizer (monoammonium phosphate (NH 4 H 2 PO 4 ), diammonium phosphate ((NH 4 ) 2 HPO 4 ), superphosphate (Ca(H 2 PO 4 ) 2 ) and potash fertilizers (potassium chloride (KCL), potassium sulfate (K 2 SO 4 ), potassium nitrate (KNO 3 ) and other types of water-fertilizer integrated mixed fertilizers are formed. For each type of mixed fertilizer, machine learning or deep learning models of physical parameters such as effective nitrogen content, EC, pH, temperature, and concentrations of different types of fertilizer components in the fertilizer solution are constructed. Based on the collection of these models, an AI-based water-fertilizer information analysis model library is constructed. The AI-based water-fertilizer information parsing model library includes but is not limited to machine learning or deep learning models of the effective nitrogen content, EC, pH, temperature and concentrations of different types of fertilizer components in the mixed fertilizer solution according to the physical parameters of the fertilizer solution at different component concentrations of each type of mixed fertilizer.
6. According to claim 1, a precise hybrid variable fertigation system based on AI, Features: The adaptive coupling optimization control algorithm of the precise hybrid variable irrigation and fertilization system based on the combination of fuzzy PID and reinforcement learning uses a reinforcement learning algorithm to adjust the strategy according to the process of interaction with the environment through an interactive learning process, and further optimizes the system performance of the fuzzy PID multi-controller coupling control; Specifically, the irrigation flow rate of the plot and the concentration of different fertilizers in the irrigation mixture are preset before the operation. The Q-learning algorithm provides an initialization strategy based on prior knowledge, that is, the algorithm provides a set of PID parameter sets {K for controlling the speed of the main pipeline booster pump, the duty cycle of the mixed pipeline flow control valve, the speed of the nitrogen fertilizer flow control pump, the speed of the phosphate fertilizer flow control pump, and the speed of the potash fertilizer flow control pump based on historical operation data and current preset data. p w ,K i w ,K d w ; K p V ,K i V ,K d V ; K p N ,K i N ,K d N ; K p P ,K i P ,K d P ; K p K ,K i K ,K d K } 0 During the operation of the system, the community pipeline pressure measured by the sensor, the community irrigation liquid flow rate, and the real-time concentration of different fertilizers in the irrigation mixture analyzed by the AI water-fertilizer information analysis model and the error and error change between the preset value are used as the input variables of the fuzzy PID controller. Fuzzy reasoning is performed according to the fuzzy control rules, and finally the fuzzy membership function is obtained. The real-time PID control parameters are obtained as the output, and the irrigation and fertilization of the fuzzy PID control system is realized. Reinforcement learning uses historical operation data and real-time interactive learning process to adjust the strategy according to the process of interaction with the environment, and further optimizes the system performance of the fuzzy PID multi-controller coupling control; Among them, the real-time nitrogen fertilizer concentration C of the irrigation mixture analyzed by the AI water and fertilizer information analysis model t N , Phosphate fertilizer concentration C t P Potassium fertilizer concentration C t K And the system flow Q t w The nitrogen fertilizer concentration C N , Phosphate fertilizer concentration C P Potassium fertilizer concentration C K and system flow Q w The error variable between t N =C t N -C N ,E t P =C t P -C P ,E t K =C t K -C K ,E t w =Q t w -Q w ; Error change rate is EC t N =dE t N / dt,EC t P =d E t P / dt,EC t K =d E t K / dt,EC t w =d E t w / dt. Set the basic domain of the error variable E to [-5,5], and the basic domain of the error change rate EC to [-30%,30%]; set the fuzzy sets of the error variable E and the error change rate EC to {NB,NM,NS,ZO,PS,PM,PB}, and the quantization domains to {-3,-2,-1,0,1,2,3}. According to the membership of E and EC, query the inference table to obtain the output size, that is, the fuzzy inference value. The fuzzy inference value is defuzzified by the median method to obtain the PID parameters used to control the speed of the main pipeline booster pump, the duty cycle of the mixing pipeline flow control valve, the speed of the nitrogen fertilizer flow control pump, the speed of the phosphate fertilizer flow control pump, and the speed of the potash fertilizer flow control pump. The parameters are respectively input into the PID controller to obtain the control signal at time t; The adaptive coupling optimization control algorithm of the precise hybrid variable fertigation system is designed based on the dynamic performance indicators of the system, taking into account the system overshoot, energy consumption, response time and stability, and the reward function is: R(t)=-(αE(t) 2 +βEC(t) 2 +γu(t) 2 +δRT) Among them, α, β and γ are weight coefficients used to balance the importance of error, error change rate and control input. These coefficients can be adjusted according to the specific application scenario. E(t) 2 and EC(t) 2 Represents the square of the error and the error change rate, respectively, and is used to penalize large errors and rapidly changing errors. 2 It represents the square of the control input and is used to penalize excessive control actions, which helps reduce system oscillation and energy consumption. RT is the time required for the system to start responding and reach a preset steady-state error range (such as within ±2%); The adaptive coupling optimization control algorithm of the precise hybrid variable fertigation system selects the Q-learning algorithm as the core algorithm for processing continuous action space and applying to PID controller parameter adjustment; the PID parameter (K p , K i , K d ) space as part of the action space, the size and scope of the action are determined according to the actual system state characteristics; during the operation of the system, the system data and current operation data continuously collected as well as the interactive learning between the algorithm and the current environment are selected according to the current state (PID parameters), the action is executed to observe the new state and reward, and the Q-learning algorithm is used to follow the Bellman equation to update the estimated value of the Q-function, which is in the following form: Q(s,a)←Q(s,a)+α[r+γmax a' Q(s',a')-Q(s,a)] Where α is the learning rate, which determines the extent to which new information affects old estimates; r is the immediate reward, which is the reward the agent gets from the environment after performing an action; γ is the discount factor, which is used to balance the importance of immediate rewards and future rewards; s' is the new state, which is the state of the environment after performing action a; a' is any action that may be taken in the new state s'; max a’ Q(s',a') represents the maximum Q value of all possible actions in the new state s'; During the training process, the adaptive coupling optimization control algorithm of the precise hybrid variable irrigation and fertigation system uses a gradient optimization-based method (strategy gradient method) to adjust PID parameters and continuously perform system adaptive optimization control. This process is adaptive, and the intelligent agent can optimize the control strategy according to system changes and external disturbances.
7. According to claim 1, a method for using an AI-based precise mixed variable irrigation and fertilization system, It is characterized in that The following steps are involved: S1: Start the intelligent water and fertilizer machine; S2: According to the actual fertilization and irrigation needs, set the fertilization type, fertilization amount, and irrigation amount of each irrigation area on the human-machine interface of the intelligent water-fertilizer machine, complete the system self-check and eliminate possible faults; S3: After the self-check is passed, the fertilization strategy is preset for each fertilization plot, and the fertilization and irrigation operation of the plot is started; S4: Fertilization and irrigation in the community. The solenoid valve of the main pipeline of the system is opened, and the solenoid valve of the corresponding community water and fertilizer monitoring feedback device and the solenoid valve of the fertilizer tank are opened according to the preset irrigation and fertilization plan of each community. The main pipeline booster pump is started, and the irrigation water is fully mixed with the fertilizer liquid in the mixing pipeline by the intelligent water and fertilizer machine to form irrigation liquid, which flows into the branch pipe and enters the community water and fertilizer monitoring feedback device. The irrigation liquid is tested for parameters in the community water and fertilizer monitoring feedback device, and the wireless signal transceiver of the device sends the detection information back to the intelligent water and fertilizer machine in real time. The intelligent water and fertilizer machine calls the predetermined AI fertilizer liquid information analysis model according to the fertilization type and detection information, and analyzes and displays the fertilization concentration of each fertilizer in the community in real time. The system can detect the degree of fertilization and irrigation and fertilization progress, and compare the parsed information with the preset information. Based on the adaptive coupling optimization control algorithm of the precise mixed variable irrigation and fertilization system combining fuzzy PID and reinforcement learning, the electromagnetic flow control valve of the mixed pipeline, the main pipeline booster pump and the fertilizer liquid flow control pump are dynamically coordinated to control the fertilization and irrigation mode of the system within the preset range, and the detected irrigation liquid flows to the designated location through the community drip irrigation system; in addition, according to the real-time feedback of the community water and fertilizer monitoring feedback device on the pressure change of the community end pipe network, the community drip irrigation system can monitor the sudden problems such as pipeline leakage and capillary burst in real time, and close the electromagnetic valve of the community water and fertilizer monitoring feedback device in time and issue an alarm; S5: After the system completes the fertilization and irrigation target of the target cell according to the information fed back by the water and fertilizer monitoring feedback device of the cell, the system issues a command to close the solenoid valve of the water and fertilizer monitoring feedback device of the target cell, and performs fertilization and irrigation operations of the next cell according to the preset task. After the fertilization and irrigation operations of all cells are completed, the system closes all solenoid valves and sends a sleep command to the water and fertilizer monitoring feedback devices of each cell, and the system is powered off.
Citation Information
Patent Citations
Fuzzy-control-based internet of things intelligent irrigation and fertilization control method and system
CN104460582A
Fuzzy PID-based water and fertilizer precise ratio control system
CN107272754A
Light-controlled water and fertilizer integrated intelligent irrigation system and method
CN108271658A
Irrigation and fertilization control method, system and device and storage medium
CN111427280A
Intelligent irrigation system based on big data
CN112400676A
Cited By
Control system for adjusting temperature and humidity in greenhouse
CN119536427A
Water and fertilizer integrated control method and device for translation type sprinkling machine
CN119631679A
Storage device and temperature control method thereof
CN121708970A
