Remote wireless control campus water-saving irrigation system

Through remote wireless control of the campus water-saving irrigation system, the STM32 development board and LoRa communication technology are used, combined with data analysis and machine learning optimization control algorithm, the problem of insufficient watering strategies in the existing technology is solved, and intelligent watering is achieved and improved irrigation efficiency and environmental quality.

CN119054601APending Publication Date: 2024-12-03LANZHOU VOCATIONAL TECHN COLLEGE
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411325463.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing campus automatic irrigation system lacks a clear watering strategy and cannot make adaptive adjustments in different situations, resulting in waste of water resources and inefficient management.

Method used

A remote wireless control campus water-saving irrigation system was designed, and a hardware circuit was built using the STM32 development board, combining LoRa communication technology and embedded C programming to realize sensor data acquisition, actuator control and remote communication, through data analysis and decision-making algorithms Conduct intelligent watering strategy adjustments, provide automatic, emergency, manual and low-power control modes, and utilize PID to combine machine learning and artificial intelligence optimized control algorithms.

Benefits of technology

An intelligent watering strategy has been realized, which has improved irrigation efficiency, reduced water resource waste, reduced labor management costs, and created a more beautiful and comfortable campus environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119054601A_ABST
    Figure CN119054601A_ABST
Patent Text Reader

Abstract

The invention discloses a remote wireless control campus water-saving irrigation system, and relates to the technical field of campus water-saving irrigation systems. Comprising a system design module which is used for designing a hardware circuit of the campus watering control system based on an STM32 development board and comprises a sensor interface, an actuator control interface and a LoRa communication module; the system programming module is used for programming by using an embedded C language, writing a firmware program of STM32 and realizing sensor data acquisition, actuator control and LoRa communication functions; and the communication technology module adopts a LoRa communication technology, establishes a wireless communication network in a campus, and realizes remote transmission of sensor data and remote receiving of a control instruction. The system provided by the invention can intelligently adjust a watering strategy, carries out accurate control according to real-time monitoring data, improves the campus irrigation efficiency, and reduces the waste of water resources; through an intelligent watering strategy and remote monitoring, excessive watering is avoided, and the intelligent watering device has important significance in areas in shortage of water resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of campus water-saving irrigation systems, and in particular to a remote wireless controlled campus water-saving irrigation system. Background Art

[0002] With the acceleration of urbanization and the continuous expansion of campus scale, the traditional manual management method can no longer meet the management needs of the campus watering system. The traditional fixed control system has problems such as complex wiring and difficult expansion. The widespread application of wireless communication technology has provided feasibility for the implementation of campus sprinkler control system. Therefore, the research and development of wireless campus sprinkler control system has practical application value and market potential.

[0003] After searching, the application scheme of Chinese patent application No. 201520171957.2 discloses an automatic irrigation system for campus green belts based on environmental feedback control, including a control console and an execution device, and also including a control terminal, an external environment terminal and a sensor. The control terminal is connected to the control console by two-way communication and issues instructions to the control console and receives information from the control console. The control console is connected to the execution device by communication and controls the execution device to perform irrigation. The sensor is connected to the external environment terminal by communication and transmits the sensing signal to the external environment terminal. The external environment terminal is connected to the control console by two-way communication and receives the environmental signal of the external environment terminal. The automatic irrigation system in the above patent has the following shortcomings: lack of clear watering strategy, unable to make adaptive adjustments under different circumstances, and needs to be improved. Summary of the invention

[0004] The purpose of the present invention is to solve the shortcomings of the prior art and propose a remote wireless control campus water-saving irrigation system.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] Remote wireless control of campus water-saving irrigation system, including:

[0007] System design module: Based on the STM32 development board, design the hardware circuit of the campus sprinkler control system, including sensor interface, actuator control interface and LoRa communication module;

[0008] System programming module: Use embedded C language programming to write STM32 firmware programs to realize sensor data acquisition, actuator control and LoRa communication functions;

[0009] Communication technology module: Using LoRa communication technology, establish a wireless communication network within the campus to achieve remote transmission of sensor data and remote reception of control instructions;

[0010] System integration and testing module: integrate system hardware and software, and perform functional and performance testing;

[0011] Data analysis and decision-making algorithm module: real-time monitoring and analysis of soil moisture and meteorological condition parameters;

[0012] Visual management module: provides an operation interface to realize visual management of the system.

[0013] Preferably, the implementation of the system comprises the following steps:

[0014] S1: First, build a campus sprinkler control system hardware platform based on the STM32 development board, including a sensor interface for connecting soil moisture sensors and meteorological condition sensors; an actuator control interface for connecting actuators; and a LoRa communication module for wireless data transmission and remote control.

[0015] S2: Then, use embedded C language programming to write the firmware program of STM32 to realize sensor data acquisition, actuator control and LoRa communication functions;

[0016] S3: Integrate system hardware and software and perform functional and performance tests to ensure stable operation and reliability of the system;

[0017] S4: Users can view the soil moisture and weather conditions of various areas on campus in real time and conduct remote monitoring and control through mobile phone APP or other mobile terminals.

[0018] Preferably: the system includes the following control methods when performing actual control:

[0019] Automatic control mode: The system adopts automatic control mode; according to the preset watering plan and real-time monitored soil moisture and meteorological conditions, the system automatically adjusts the watering time and amount to meet the growth needs of plants;

[0020] Emergency control mode: In emergency control mode, the system ignores the preset watering plan and adjusts the watering strategy in real time according to current meteorological conditions and soil moisture to avoid overwatering or drought;

[0021] Manual control mode: allows users to directly set watering time and watering amount to meet specific needs;

[0022] Low power control mode: The system adopts a low power control strategy to reduce data transmission and sensor sampling frequency to reduce overall energy consumption.

[0023] Preferably: the system further comprises:

[0024] Adaptive control module: automatically adjusts control parameters according to environmental changes and system performance.

[0025] Preferably: the system further comprises:

[0026] Predictive control module: This module analyzes historical data to predict the system status in the future and adjust the control strategy in advance.

[0027] Preferably: the adaptive control module includes:

[0028] Parameter real-time monitoring unit: real-time monitoring and collection of key parameters of the system;

[0029] Control algorithm adjustment unit: adjust the control algorithm in real time according to the monitored parameters;

[0030] Abnormal detection and processing unit: detect abnormal conditions of the system in real time and take corresponding processing measures;

[0031] System Performance Evaluation Unit: Regularly evaluates system performance and stability and provides optimization suggestions.

[0032] Preferably: the control algorithm adjustment unit can automatically learn and optimize the control algorithm based on PID combined with machine learning and artificial intelligence technology, specifically:

[0033]

[0034] in:

[0035] u(t) is the output signal of the controller;

[0036] e(t) is the error signal, that is, the difference between the set value and the actual value;

[0037] K p , K i and K d They are proportional, integral, and differential coefficients respectively.

[0038] Preferably, the method for obtaining meteorological information by the system comprises the following steps:

[0039] S11: Select a reliable weather forecast website as the data source and understand the weather data interface it provides; obtain the required weather data through HTTP requests;

[0040] S12: After determining the data source, the data transmission and processing process needs to be designed;

[0041] S13: Integrate the acquired weather data into the campus water-saving irrigation system and adjust the control strategy according to the actual situation.

[0042] Preferably: in said S12, the specific steps of designing the data transmission and processing flow are:

[0043] S121: Send HTTP request: Send HTTP request to the weather forecast API through the LoRa communication module or the Wi-Fi / Ethernet gateway deployed on campus to obtain real-time weather data;

[0044] S122: Parsing response data: After receiving the HTTP response, parsing the weather data therein;

[0045] S123: Extracting key information: extracting key information from the parsed weather data.

[0046] Preferably, the specific steps of S13 are as follows:

[0047] S131: Data integration: passing the extracted weather data to the data analysis and decision algorithm module; this is achieved by setting up a data receiving interface or middleware in the system;

[0048] S132: Adjusting the control strategy: adjusting the watering strategy according to the real-time weather data and the preset control rules.

[0049] The beneficial effects of the present invention are:

[0050] 1. The system of the present invention can intelligently adjust the watering strategy, perform precise control based on real-time monitoring data, improve campus irrigation efficiency, and reduce water waste; through intelligent watering strategies and remote monitoring, it can avoid overwatering, which is of great significance for areas with water shortages.

[0051] 2. The system of the present invention can realize remote monitoring and control, reduce the workload of manual inspection and operation, reduce labor management costs, and improve work efficiency; adopt LoRa communication technology to establish a wireless communication network within the campus to realize remote transmission of sensor data and remote reception of control instructions.

[0052] 3. The system of the present invention can automatically adjust the watering strategy by real-time monitoring and analysis of parameters such as soil moisture and meteorological conditions, thereby improving watering efficiency and creating a more beautiful and comfortable campus environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 The present invention provides a flowchart for implementing the remote wireless control campus water-saving irrigation system. DETAILED DESCRIPTION

[0054] The technical solution of the present invention is further described in detail below in conjunction with specific implementation methods.

[0055] Embodiment 1:

[0056] Remote wireless control of campus water-saving irrigation system, including:

[0057] System design module: Based on the STM32 development board, design the hardware circuit of the campus sprinkler control system, including sensor interface, actuator control interface and LoRa communication module;

[0058] System programming module: Use embedded C language programming to write STM32 firmware programs to realize sensor data acquisition, actuator control and LoRa communication functions;

[0059] Communication technology module: Using LoRa communication technology, establish a wireless communication network within the campus to achieve remote transmission of sensor data and remote reception of control instructions;

[0060] System integration and testing module: Integrate system hardware and software, perform functional testing and performance testing, and ensure the stable operation and reliability of the system;

[0061] Data analysis and decision-making algorithm module: Through real-time monitoring and analysis of parameters such as soil moisture and meteorological conditions, intelligent watering strategies can be implemented to optimize watering methods, improve irrigation efficiency, and save water resources;

[0062] Visual management module: provides an operation interface to realize visual management of the system, making it convenient for users to monitor and control irrigation equipment.

[0063] The specific implementation method includes the following steps:

[0064] S1: First, build a campus sprinkler control system hardware platform based on the STM32 development board, including a sensor interface for connecting soil moisture sensors, meteorological condition sensors, etc.; an actuator control interface for connecting actuators such as electromagnetic valves and water pumps; and a LoRa communication module for wireless data transmission and remote control.

[0065] S2: Then, use embedded C language programming to write the STM32 firmware program to realize sensor data acquisition, actuator control and LoRa communication functions; the specific code example is as follows:

[0066]

[0067]

[0068]

[0069] S3: Integrate system hardware and software and perform functional and performance tests to ensure the stable operation and reliability of the system; for example, different soil moisture and meteorological conditions can be simulated to test the response speed and accuracy of the system;

[0070] S4: Users can connect to a remote server or cloud platform through a mobile phone APP or other mobile terminals to view information such as soil moisture and weather conditions in various areas of the campus in real time and conduct remote monitoring and control; in addition, they can also set scheduled tasks or manually trigger watering operations as needed to meet the needs of different scenarios.

[0071] When performing actual control, the following control methods are included:

[0072] Automatic control mode: In most cases, the campus water-saving irrigation system is in normal working condition, and the system adopts automatic control mode at this time; according to the preset watering plan and real-time monitoring of soil moisture, meteorological conditions and other parameters, the system automatically adjusts the watering time and watering amount to meet the growth needs of plants;

[0073] Emergency control mode: When encountering extreme weather (such as heavy rain, high temperature, etc.), the system switches to emergency control mode; at this time, the system temporarily ignores the preset watering plan and adjusts the watering strategy in real time according to the current meteorological conditions and soil moisture to avoid overwatering or drought;

[0074] Manual control mode: In some special cases (such as equipment maintenance, special events, etc.), manual intervention may be required to adjust the watering strategy; at this time, the system switches to manual control mode, allowing users to directly set the watering time and watering amount to meet specific needs;

[0075] Low power control mode: In energy-saving mode, the system adopts low power control strategies, such as reducing unnecessary data transmission, reducing sensor sampling frequency, etc., to reduce overall energy consumption.

[0076] The system also includes:

[0077] Adaptive control module: This module can automatically adjust control parameters according to environmental changes and system performance; for example, in a campus water-saving irrigation system, when the ambient temperature rises and soil evaporation increases, the adaptive control module can automatically increase the amount of watering to keep the soil moisture constant;

[0078] Predictive control module: This module analyzes historical data to predict the system status in the future and adjusts the control strategy in advance. For example, in a campus water-saving irrigation system, the predictive control module can predict the rainfall in the next few days based on the weather forecast, so as to adjust the watering plan to avoid overwatering.

[0079] Wherein, the adaptive control module comprises:

[0080] Parameter real-time monitoring unit: real-time monitoring and collection of key system parameters, such as soil moisture, temperature, light, etc.;

[0081] Control algorithm adjustment unit: adjust the control algorithm in real time according to the monitored parameters to achieve the best control effect;

[0082] Abnormal detection and processing unit: detect abnormal conditions of the system in real time and take corresponding processing measures;

[0083] System Performance Evaluation Unit: Regularly evaluates system performance and stability and provides optimization suggestions.

[0084] The control algorithm adjustment unit can automatically learn and optimize the control algorithm based on PID combined with machine learning and artificial intelligence technology, specifically:

[0085]

[0086] in:

[0087] u(t) is the output signal of the controller;

[0088] e(t) is the error signal, that is, the difference between the set value and the actual value;

[0089] K p , K i and K d They are proportional, integral and differential coefficients respectively.

[0090] Embodiment 2:

[0091] A remote wireless control campus water-saving irrigation system, a method for the system to obtain meteorological information, comprises the following steps:

[0092] S11: Select a reliable weather forecast website as a data source and understand the weather data interface (API) it provides; obtain the required weather data through HTTP requests; for example, you can choose the weather forecast API provided by the National Meteorological Administration or the API of other third-party weather service providers;

[0093] S12: After determining the data source, the data transmission and processing process needs to be designed;

[0094] S13: Integrate the acquired weather data into the campus water-saving irrigation system and adjust the control strategy according to the actual situation.

[0095] Among them, in said S12, the specific steps of designing the data transmission and processing flow are:

[0096] S121: Send HTTP request: Send HTTP request to the weather forecast API through the LoRa communication module or the Wi-Fi / Ethernet gateway deployed on campus to obtain real-time weather data; the request should contain necessary parameters such as date, time, location, etc.

[0097] S122: Parsing response data: After receiving the HTTP response, the weather data in it needs to be parsed; usually, the data is returned in JSON or XML format; corresponding parsing libraries or tools can be used to convert the data into a structured format that is easy to process;

[0098] S123: Extract key information: Extract key information from the parsed weather data, such as rainfall, temperature, humidity, etc.; this information will be used for subsequent data analysis and decision-making algorithms.

[0099] Wherein, the specific steps of S13 are as follows:

[0100] S131: Data integration: passing the extracted weather data to the data analysis and decision algorithm module; this is achieved by setting up a data receiving interface or middleware in the system;

[0101] S132: Adjust control strategy: Adjust watering strategy according to real-time weather data and preset control rules; for example, when the forecast shows that there will be heavy rain in the next few hours, the system can automatically delay or reduce watering to avoid waste; and when the forecast shows continued high temperature and drought, the system can adjust the watering plan in advance to ensure normal growth of plants.

[0102] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. Remote wireless control campus water-saving irrigation system, characterized by: include: System design module: Based on the STM32 development board, design the hardware circuit of the campus sprinkler control system, including sensor interface, actuator control interface and LoRa communication module; System programming module: Use embedded C language programming to write STM32 firmware programs to realize sensor data acquisition, actuator control and LoRa communication functions; Communication technology module: Using LoRa communication technology, establish a wireless communication network within the campus to achieve remote transmission of sensor data and remote reception of control instructions; System integration and testing module: integrate system hardware and software, and perform functional and performance testing; Data analysis and decision-making algorithm module: real-time monitoring and analysis of soil moisture and meteorological condition parameters; Visual management module: provides an operation interface to realize visual management of the system.

2. The remote wireless control campus water-saving irrigation system according to claim 1 is characterized in that: The implementation method of the system includes the following steps: S1: First, build a campus sprinkler control system hardware platform based on the STM32 development board, including a sensor interface for connecting soil moisture sensors and meteorological condition sensors; an actuator control interface for connecting actuators; and a LoRa communication module for wireless data transmission and remote control. S2: Then, use embedded C language programming to write the firmware program of STM32 to realize sensor data acquisition, actuator control and LoRa communication functions; S3: Integrate system hardware and software and perform functional and performance tests to ensure stable operation and reliability of the system; S4: Users can view the soil moisture and weather conditions of various areas on campus in real time and conduct remote monitoring and control through mobile phone APP or other mobile terminals.

3. The remote wireless control campus water-saving irrigation system according to claim 2 is characterized in that: The system includes the following control methods when performing actual control: Automatic control mode: The system adopts automatic control mode; according to the preset watering plan and real-time monitored soil moisture and meteorological conditions, the system automatically adjusts the watering time and amount to meet the growth needs of plants; Emergency control mode: In emergency control mode, the system ignores the preset watering plan and adjusts the watering strategy in real time according to current meteorological conditions and soil moisture to avoid overwatering or drought; Manual control mode: allows users to directly set watering time and watering amount to meet specific needs; Low power control mode: The system adopts a low power control strategy to reduce data transmission and sensor sampling frequency to reduce overall energy consumption.

4. The remote wireless control campus water-saving irrigation system according to claim 3 is characterized in that: The system further comprises: Adaptive control module: automatically adjusts control parameters according to environmental changes and system performance.

5. The remote wireless control campus water-saving irrigation system according to claim 4 is characterized in that: The system further comprises: Predictive control module: This module analyzes historical data to predict the system status in the future and adjust the control strategy in advance.

6. The remote wireless control campus water-saving irrigation system according to claim 4 is characterized in that: The adaptive control module comprises: Parameter real-time monitoring unit: real-time monitoring and collection of key parameters of the system; Control algorithm adjustment unit: adjust the control algorithm in real time according to the monitored parameters; Abnormal detection and processing unit: detect abnormal conditions of the system in real time and take corresponding processing measures; System Performance Evaluation Unit: Regularly evaluates system performance and stability and provides optimization suggestions.

7. The remote wireless control campus water-saving irrigation system according to claim 6 is characterized in that: The control algorithm adjustment unit, based on PID combined with machine learning and artificial intelligence technology, can automatically learn and optimize the control algorithm, specifically: in: u(t) is the output signal of the controller; e(t) is the error signal, that is, the difference between the set value and the actual value; K p , K i and K d They are proportional, integral, and differential coefficients respectively.

8. The remote wireless control campus water-saving irrigation system according to claim 1 is characterized in that: The method for obtaining meteorological information by the system comprises the following steps: S11: Select a reliable weather forecast website as the data source and understand the weather data interface it provides; obtain the required weather data through HTTP requests; S12: After determining the data source, the data transmission and processing process needs to be designed; S13: Integrate the acquired weather data into the campus water-saving irrigation system and adjust the control strategy according to the actual situation.

9. The remote wireless control campus water-saving irrigation system according to claim 8 is characterized in that: In S12, the specific steps of designing the data transmission and processing flow are: S121: Send HTTP request: Send HTTP request to the weather forecast API through the LoRa communication module or the Wi-Fi / Ethernet gateway deployed on campus to obtain real-time weather data; S122: Parsing response data: After receiving the HTTP response, parsing the weather data therein; S123: Extracting key information: extracting key information from the parsed weather data.

10. The remote wireless control campus water-saving irrigation system according to claim 8, characterized in that: The specific steps of S13 are as follows: S131: Data integration: passing the extracted weather data to the data analysis and decision algorithm module; this is achieved by setting up a data receiving interface or middleware in the system; S132: Adjusting the control strategy: adjusting the watering strategy according to the real-time weather data and the preset control rules.

Citation Information

Patent Citations

  • Based on the automatic irrigation system of environment feedback control's campus greenbelt

    CN204498996U