CN114831005B - Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil - Google Patents

Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil Download PDF

Info

Publication number
CN114831005B
CN114831005B CN202210366260.5A CN202210366260A CN114831005B CN 114831005 B CN114831005 B CN 114831005B CN 202210366260 A CN202210366260 A CN 202210366260A CN 114831005 B CN114831005 B CN 114831005B
Authority
CN
China
Prior art keywords
value
irrigation
humidity
time
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210366260.5A
Other languages
Chinese (zh)
Other versions
CN114831005A (en
Inventor
郭建兵
周飞翔
李�杰
孙亮亮
孙迎迎
李海威
黄理
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHEJIANG SAFUN INDUSTRIAL CO LTD
Original Assignee
ZHEJIANG SAFUN INDUSTRIAL CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHEJIANG SAFUN INDUSTRIAL CO LTD filed Critical ZHEJIANG SAFUN INDUSTRIAL CO LTD
Priority to CN202210366260.5A priority Critical patent/CN114831005B/en
Publication of CN114831005A publication Critical patent/CN114831005A/en
Application granted granted Critical
Publication of CN114831005B publication Critical patent/CN114831005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01GHORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
    • A01G25/00Watering gardens, fields, sports grounds or the like
    • A01G25/16Control of watering
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01GHORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
    • A01G25/00Watering gardens, fields, sports grounds or the like
    • A01G25/16Control of watering
    • A01G25/167Control by humidity of the soil itself or of devices simulating soil or of the atmosphere; Soil humidity sensors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/10Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture
    • Y02A40/22Improving land use; Improving water use or availability; Controlling erosion

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Water Supply & Treatment (AREA)
  • Environmental Sciences (AREA)
  • Soil Sciences (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The invention provides a control method of an intelligent irrigator based on conventional MCU low-energy self-adaptive soil, a sensor control board is connected with the sensor in a bidirectional signal manner, an irrigation main board is connected with the sensor control board in a bidirectional signal manner, the sensor control board collects sensor data according to a program, the irrigation main board controls an irrigation device to irrigate and control irrigation time and irrigation duration according to signals sent by the sensor control board, the data sent by the sensor to the sensor control board comprise AD sampling values, the data sent by the sensor control board to the irrigation main board comprise humidity values, irrigation duration and irrigation or non-irrigation instructions, and the irrigation main board returns when reading according to the need when not irrigating.

Description

Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil
Technical Field
The invention belongs to the field of intelligent irrigation, and particularly relates to a control method of an intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil.
Background
With the development of scientific technology, the automatic water and fertilizer irrigation device is gradually applied to the agricultural production field of people. The automatic irrigation device mainly adopts a sensing technology to automatically start and stop irrigation, and the current irrigation sensing technology comprises the following steps: 1. a rain sensor. The sensing technology only monitors whether the air is rainy, when the rain is sensed, the irrigation of the irrigation device is stopped, the humidity in the soil cannot be monitored, and after the sensor is activated, a program cannot judge when to restart the irrigation according to the requirements of plants; 2. a humidity sensor. The sensor is embedded beside a root system of a plant to monitor the humidity of soil, converts the humidity according to an AD sampling value acquired and a formula between the AD sampling value and the humidity of the soil, controls irrigation, and starts irrigation when the humidity value is lower than a set value, but the technology cannot be self-adapted to different soils, is applied to different soils (such as sandy soil and fertile soil) and needs to manually adjust and control a threshold value for a plurality of times. According to actual measurement AD sampling test, sandy soil and soil are watered simultaneously and the AD sampling value of the same time period is different a plurality of times, namely the AD sampling values corresponding to the humidity of different soils are different, and whether irrigation can be carried out is judged according to the same AD reference value, so that the requirement of different soils cannot be really and accurately met. 3. The high-end humidity sensor has a complex control algorithm and requires high-performance MCU real-time monitoring. Today, where chips are monopolized abroad, high-performance MCUs mean high cost, and real-time monitoring can cause waste of energy and resources.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a control method of an intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil, which solves the problems that the existing automatic soil irrigation device cannot adapt to different soils, needs to manually adjust a control threshold value and cannot realize full-automatic irrigation.
The invention provides a control method of an intelligent irrigator based on conventional MCU low-energy consumption self-adaptive soil, a detection part of a sensor is inserted into the soil to collect AD values, a sensor control board is connected with the sensor in a bidirectional signal mode, an irrigation main board is connected with the sensor control board in a bidirectional signal mode, the sensor control board collects sensor data according to programs, the irrigation main board controls an irrigation device to irrigate and control irrigation time and irrigation duration according to signals sent by the sensor control board, the irrigation main board and the sensor control board are in a low-power consumption dormant state all the time before receiving communication signals, data sent by the sensor to the sensor control board comprise AD sampling values, irrigation duration and irrigation instructions, data sent by the sensor control board to the irrigation main board during irrigation comprise humidity values and non-irrigation instructions, and the irrigation main board is returned when the irrigation main board is read as required during non-irrigation.
The sensor control board is provided with a factory default 100% humidity AD sampling value (Wli) and a default 40% humidity AD sampling value (Wn 40 i), when the sensor is successfully communicated with the irrigation main board for the first time, the sensor is irrigated once to collect a new 100% humidity AD sampling value and a new 40% humidity AD sampling value, and the sensor control board is repeatedly collected and corrected in the later period until the data is stable so as to achieve the purposes of self-adapting to different soil and accurately displaying the soil humidity; the acquisition time is automatically modified according to the change rate of the AD sampling value acquired each time. Because the retaining performance of various soil is different, defaults 100% humidity AD sampling value and 40% humidity AD sampling value are not applicable to all soils when dispatching from the factory, so when the sensor is connected the irrigation mainboard for the first time, can irrigate once first and gather new 100% humidity AD sampling value and 40% humidity AD sampling value. The default is 100% humidity after irrigation is finished each time, the sampled AD value is the AD value under 100% humidity, the humidity in the soil immediately after irrigation is highest, the AD value is minimum, the humidity is slowly reduced along with the time, the AD is gradually increased, and the AD value under 40% humidity is estimated according to the increasing rate.
The initial acquisition time of the 40% humidity AD standard value is customized based on empirical data obtained by watering tests of various plants in the early stage, and the acquisition time of the 40% humidity AD standard value is automatically changed mainly according to the watering requirements of the plants in the subsequent acquisition;
the irrigation main board controls the irrigation time of the irrigation device according to the AD value acquired after the first irrigation, and when the AD value acquired after the second irrigation is larger than the previous one, the single irrigation time is not long enough, and the irrigation time is prolonged; if the humidity is smaller than or equal to the previous time, the irrigation duration is correspondingly reduced or the 100% humidity AD sampling value is updated again, and the humidity ratio is calculated through the 100% humidity AD value and the 40% humidity AD value obtained through final soil correction: kw= (Wn 40i-W1 i)/(100-40), wherein Kw is the humidity ratio, wn40i is the AD sampling value of 40% humidity, W1i is the AD sampling value of 100% humidity, and the humidity at this time is calculated from the humidity ratio and the AD value sampled at this time point: b=100- (Wn-W1 i)/Kw, wn is the AD value collected by the sensor n-th time, whether irrigation is performed is controlled by regularly refreshing the humidity value B, and irrigation is performed when the B value is less than 40%.
Further, the control method of the intelligent irrigator based on the conventional MCU low-energy-consumption self-adaptive soil specifically comprises the following steps:
(1) When the sensor is successfully communicated with the irrigation main board for the first time, the irrigation main board sends an irrigation instruction, and the initial default irrigation duration is Ir0 seconds; sampling an AD value at each interval T0, wherein Wn is an AD value acquired at the nth time, after watering and irrigating (namely 100% humidity), the AD value can be rapidly reduced to a minimum value, then slowly rising, covering the irrigated AD value with a factory default Wli, and calculating a new AD value corresponding to 40% humidity based on the new Wli according to the proportion;
(2) The AD that the last time was gathered can be compared with the AD value that the last time was gathered, and when the rate of change of AD sampling value was great, just shortened sampling interval time, and when the rate of change of AD sampling value was less, just prolonged sampling interval time, P% is AD sampling value rate of change, P% = (Wn+1-Wn)/Wn, and when P < L, the time of gathering is: t=t1 (1+P%) Xa; when P is less than or equal to L < H, T0 is kept unchanged; when P is greater than or equal to H, t=t1 (1-P%) ×xz, with typical values of P being 0.1; typical values of L are 1, typical values of H are 3, L is a lower limit of the change value judgment, H is an upper limit of the change value judgment, TI is the previous AD value acquisition interval time, xz=log ((wn+1-Wn)/2), xa=2xz, xz is the magnification, xa is the reduction magnification;
(3) Converting the AD sampling value into a corresponding humidity value B, sending the value B to an irrigation main board in real time, calculating delta beta/delta t to obtain a humidity change rate Bt after 30 minutes of timing when the irrigation main board obtains a 100% humidity value, changing the humidity acquisition interval time to be a fixed interval Tf, and judging sand when Bt is smaller than 20% and soil when Bt is larger than or equal to 20% after irrigation is performed for half an hour, wherein the typical value of Tf is 4 hours; shortening the humidity detection time Tf when the sand is judged, and prolonging the humidity detection time Tf when the soil is judged to be fertile;
(4) When the collected humidity value B is less than or equal to 40%, the sensor control board wakes up the irrigation main board, and simultaneously transmits irrigation data, and records the value Tt at the moment, wherein Tt is the total duration after an irrigation command:
(5) Collecting an AD value of a 100% humidity value after irrigation again, comparing the AD value with an AD value of a previous 100% humidity value, if the new AD value is larger than the AD value of the previous 100% humidity value, keeping the AD value of the 100% humidity unchanged, if the AD value is smaller than the AD value of the previous 100% humidity value, updating the AD value to the new AD value of the 100% humidity value, and collecting comparison according to Tf corrected in the step (5) instead of collecting the AD value of the 100% humidity value after irrigation each time after the total sampling times reach 3 times;
(6) When Tt is larger than or equal to Tr, tr is the limit irrigation time, tt is the total time after an irrigation command, the irrigation command is also sent, meanwhile, the humidity value at the moment is compared, when Btr-B40 is larger than 20, the fact that the plant possibly dies is indicated, when the irrigation command is sent, the data is sent at the same time, and Btr is the humidity value at the moment;
(7) When the humidity value B detected by the sensor is more than 40%, the irrigation condition is not met, and when a user considers that watering is needed at the moment, the user lights the irrigation main board, the sensor control board is awakened, a real-time humidity value is sent, then the irrigation main board is set to be in a rainy day mode, the rainy day mode time is 72 hours, meanwhile, one-time manual irrigation is started, the irrigation main board sends an AD reference instruction for resetting 40% humidity, and the sensor control board updates the AD reference of 40% humidity and Kw;
(8) Comparison of Tt after each irrigation and the previous one, when the new Tt is smaller than the previous one, the irrigation duration Ir is increased, and when the new Tt is larger than the previous one, the irrigation duration Ir is shortened.
The invention has the following beneficial effects:
according to the invention, the AD reference value when 100% humidity is collected after multiple times of irrigation is adopted, the smaller AD value is continuously covered with the previously collected AD value of 100%, and then the new AD value when 40% humidity is calculated until the AD value is stable, so that a foundation is laid for the accurate irrigation instruction, the soil is accurately irrigated, and the soil is prevented from being irrigated too little or excessively.
According to the invention, the AD value and the formula acquired at intervals are converted into the humidity value B, when the humidity value B is less than 40%, the sensor main board sends an irrigation instruction to the irrigation main board, the irrigation device can irrigate, the sensor main board is provided with an initial default irrigation duration of Ir0 seconds, and the sensor main board irrigates according to the default irrigation duration of Ir0 seconds in the first time of irrigation.
In order to guarantee that the energy consumption is saved, the AD value is accurately sampled, the sampling interval time is adaptively adjusted, the AD acquired at the next time is compared with the AD value acquired at the previous time, when the change rate of the AD sampling value is relatively large, the sampling interval time is shortened, and when the change rate of the AD sampling value is relatively small, the sampling interval time is prolonged.
When the irrigation interval exceeds the limit irrigation interval, the sensor main board sends an irrigation instruction to the irrigation main board, meanwhile, the humidity value at the moment is compared, when Btr-B40 is larger than 20, the situation that the plant possibly dies is indicated, when the irrigation instruction is sent, the data are sent at the same time, the irrigation Btr is the humidity value at the moment, and when the plant dies, a new plant can be re-planted.
Besides the automatic irrigation mode, the invention also has a manual irrigation mode, and when the watering is judged manually, the irrigation main board is controlled manually and actively, so that the purpose of irrigation is achieved.
According to the invention, different soil can be self-adapted by adjusting the 100% humidity AD reference value and the 40% humidity AD reference value, and the AD sampling frequency is continuously and automatically adjusted, so that the soil is accurately irrigated for a long time. The irrigation main board and the sensor control board are in a low-power-consumption dormant state all the time before receiving the communication signals, and the irrigation main board and the sensor control board are awakened only after receiving the communication signals, so that the energy consumption of the irrigation main board is low, and a large amount of cost is saved.
Drawings
FIG. 1 is a first schematic diagram of signaling of an intelligent irrigator of the present invention;
FIG. 2 is a second schematic diagram of the signaling of the intelligent irrigator of the present invention.
Detailed Description
The technical scheme of the invention is further described below with reference to figures 1-2 and examples.
The invention provides a control method of an intelligent irrigator based on conventional MCU low-energy consumption self-adaptive soil, a detection part of a sensor is inserted into the soil to collect soil humidity information, a sensor control board is connected with a sensor in a bidirectional signal mode, an irrigation main board is connected with the sensor control board in a bidirectional signal mode, the sensor control board collects sensor data according to a program, the irrigation main board controls an irrigation device to irrigate and control irrigation time and irrigation duration according to signals sent by the sensor control board, the irrigation main board and the sensor control board are in a low-power consumption dormant state all the time before receiving communication signals, data sent by the sensor to the sensor control board comprise AD sampling values, irrigation duration and irrigation instructions, data sent by the sensor control board to the irrigation main board during irrigation comprise humidity values and non-irrigation instructions, and the data sent by the sensor control board to the irrigation main board during non-irrigation is recovered when the irrigation main board is read as required.
The sensor control board is provided with a factory default 100% humidity AD sampling value (Wli) and a default 40% humidity AD sampling value (Wn 40 i), when the sensor is successfully communicated with the irrigation main board for the first time, the sensor is irrigated once to collect a new 100% humidity AD sampling value and a new 40% humidity AD sampling value, and the sensor control board is repeatedly collected and corrected in the later period until the data is stable so as to achieve the purposes of self-adapting to different soil and accurately displaying the soil humidity; the acquisition time is automatically modified according to the change rate of the AD sampling value acquired each time. Because the retaining performance of various soil is different, defaults 100% humidity AD sampling value and 40% humidity AD sampling value are not applicable to all soils when dispatching from the factory, so when the sensor is connected the irrigation mainboard for the first time, can irrigate once first and gather new 100% humidity AD sampling value and 40% humidity AD sampling value. The default is 100% humidity after irrigation is finished each time, the sampled AD value is the AD value under 100% humidity, the humidity in the soil immediately after irrigation is highest, the AD value is minimum, the humidity is slowly reduced along with the time, the AD is gradually increased, and the AD value under 40% humidity is estimated according to the increasing rate.
The initial acquisition time of the 40% humidity AD standard value is customized based on empirical data obtained by watering tests of various plants in the early stage, and the acquisition time of the 40% humidity AD standard value is automatically changed mainly according to the watering requirements of the plants in the subsequent acquisition;
the irrigation main board controls the irrigation time of the irrigation device according to the AD value acquired after the first irrigation, and when the AD value acquired after the second irrigation is larger than the previous one, the single irrigation time is not long enough, and the irrigation time is prolonged; if the humidity is smaller than or equal to the previous time, the irrigation duration is correspondingly reduced or the 100% humidity AD sampling value is updated again, and the humidity ratio is calculated through the 100% humidity AD value and the 40% humidity AD value obtained through final soil correction: kw= (Wn 40i-W1 i)/(100-40), wherein Kw is the humidity ratio, wn40i is the AD sampling value of 40% humidity, W1i is the AD sampling value of 100% humidity, and the humidity at this time is calculated from the humidity ratio and the AD value sampled at this time point: b=100- (Wn-W1 i)/Kw, wn is the AD value collected by the sensor n-th time, whether irrigation is performed is controlled by regularly refreshing the humidity value B, and irrigation is performed when the B value is less than 40%.
A control method of an intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil specifically comprises the following steps:
(1) When the sensor is successfully communicated with the irrigation main board for the first time, the irrigation main board sends an irrigation instruction, and the initial default irrigation duration is Ir0 seconds; sampling an AD value at each interval T0, wherein Wn is an AD value acquired at the nth time, after watering and irrigating (namely 100% humidity), the AD value can be rapidly reduced to a minimum value, then slowly rising, covering the irrigated AD value with a factory default Wli, and calculating a new AD value corresponding to 40% humidity based on the new Wli according to the proportion;
(2) The AD that the last time was gathered can be compared with the AD value that the last time was gathered, and when the rate of change of AD sampling value was great, just shortened sampling interval time, and when the rate of change of AD sampling value was less, just prolonged sampling interval time, P% is AD sampling value rate of change, P% = (Wn+1-Wn)/Wn, and when P < L, the time of gathering is: t=t1 (1+P%) Xa; when P is less than or equal to L < H, T0 is kept unchanged; when P is greater than or equal to H, t=t1 (1-P%) ×xz, with typical values of P being 0.1; typical values of L are 1, typical values of H are 3, L is a lower limit of the change value judgment, H is an upper limit of the change value judgment, TI is the previous AD value acquisition interval time, xz=log ((wn+1-Wn)/2), xa=2xz, xz is the magnification, xa is the reduction magnification;
(3) Converting the AD sampling value into a corresponding humidity value B, sending the value B to an irrigation main board in real time, calculating delta beta/delta t to obtain a humidity change rate Bt after 30 minutes of timing when the irrigation main board obtains a 100% humidity value, changing the humidity acquisition interval time to be a fixed interval Tf, and judging sand when Bt is smaller than 20% and soil when Bt is larger than or equal to 20% after irrigation is performed for half an hour, wherein the typical value of Tf is 4 hours; when the soil is judged to be sandy, the humidity detection time Tf is shortened, and when the soil is judged to be fertile, the humidity detection time Tf is prolonged. In order to reduce the energy consumption as much as possible, the interval time for detecting the humidity is determined according to the property of the soil, and the humidity detection frequency is higher because the water storage capacity of the sandy soil is smaller and the humidity change rate is larger, while the water storage capacity of the fertile soil is larger and the humidity change rate is smaller, so the humidity detection frequency is lower.
(4) When the collected humidity value B is less than or equal to 40%, the sensor control board wakes up the irrigation main board, and simultaneously transmits irrigation data, and records the value Tt at the moment, wherein Tt is the total duration after an irrigation command:
(5) And (3) collecting the AD value of the 100% humidity value after the secondary irrigation, comparing the AD value with the AD value of the previous 100% humidity value, if the new AD value is larger than the AD value of the previous 100% humidity value, keeping the AD value of the 100% humidity unchanged, if the AD value is smaller than the AD value of the previous 100% humidity value, updating the AD value to the new AD value of the 100% humidity value, and collecting comparison according to Tf corrected in the step (5) instead of collecting the AD value of the 100% humidity value after each irrigation after the total sampling times reach 3 times. In the initial stage, once water is irrigated, the AD value of 100% humidity is checked again, the same soil is checked for three times to obtain the minimum value, and the detection humidity is detected according to the fixed interval time Tf later because the sampling times are more and the energy consumption is compared in each check.
(6) When Tt is larger than or equal to Tr, tr is the limit irrigation time, tt is the total time after an irrigation command, the irrigation command is also sent, meanwhile, the humidity value at the moment is compared, when Btr-B40 is larger than 20, the fact that the plant possibly dies is indicated, when the irrigation command is sent, the data is sent at the same time, and Btr is the humidity value at the moment;
(7) When the humidity value B detected by the sensor is more than 40%, the irrigation condition is not met, and when a user considers that watering is needed at the moment, the user lights the irrigation main board, the sensor control board is awakened, a real-time humidity value is sent, then the irrigation main board is set to be in a rainy day mode, the rainy day mode time is 72 hours, meanwhile, one-time manual irrigation is started, the irrigation main board sends an AD reference instruction for resetting 40% humidity, and the sensor control board updates the AD reference of 40% humidity and Kw;
(8) Comparison of Tt after each irrigation and the previous one, when the new Tt is smaller than the previous one, the irrigation duration Ir is increased, and when the new Tt is larger than the previous one, the irrigation duration Ir is shortened.
Finally, it is noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered by the scope of the claims of the present invention.

Claims (2)

1. The control method of the intelligent irrigator based on the conventional MCU low-energy consumption self-adaptive soil is characterized in that a detection part of a sensor is inserted into the soil to collect AD values, a sensor control board is connected with the sensor in a bidirectional signal manner, an irrigation main board is connected with the sensor control board in a bidirectional signal manner, the sensor control board collects sensor data according to programs, the irrigation main board controls an irrigation device to irrigate and control irrigation time and irrigation duration according to signals sent by the sensor control board, the irrigation main board and the sensor control board are always in a low-power consumption dormant state before receiving no communication signals, the data sent by the sensor to the sensor control board comprises AD sampling values, the data sent by the sensor control board to the irrigation main board during irrigation comprises humidity values, irrigation duration and irrigation instructions, the data sent by the sensor control board to the irrigation main board during non-irrigation comprises humidity values and non-irrigation instructions, the irrigation main board is recovered when being read as required,
the sensor control board is provided with a factory default 100% humidity AD sampling value and a factory default 40% humidity AD sampling value, wherein the 100% humidity AD sampling value is Wli, the 40% humidity AD sampling value is Wn40i, when the sensor is successfully communicated with the irrigation main board for the first time, the sensor is irrigated for one time to collect new 100% humidity AD sampling value and 40% humidity AD sampling value, and the sensor can be repeatedly collected and corrected in the later period until the data is stable so as to achieve the purposes of self-adapting to different soil and accurately displaying the soil humidity; when in acquisition, the acquisition time is automatically modified according to the change rate of the AD sampling value acquired each time;
the collection time of the default 40% humidity AD standard value is customized based on empirical data obtained by watering tests of various plants in the early stage, and the collection time of the 40% humidity AD standard value is automatically changed mainly according to the watering requirements of the plants in the subsequent collection;
the irrigation main board controls the irrigation duration of the irrigation device according to the AD value acquired after the first irrigation, and when the AD value acquired after the second irrigation is larger than the AD value acquired before the second irrigation, the single irrigation time is not long enough, and the irrigation duration is prolonged; if the humidity is smaller than or equal to the previous time, the irrigation duration is correspondingly reduced or the 100% humidity AD sampling value is updated again, and the humidity ratio is calculated through the 100% humidity AD value and the 40% humidity AD value obtained through final soil correction: kw= (Wn 40i-W1 i)/(100-40), wherein Kw is the humidity ratio, wn40i is the AD sampling value of 40% humidity, W1i is the AD sampling value of 100% humidity, and the humidity at this time is calculated from the humidity ratio and the AD value sampled at this time point: b=100- (Wn-W1 i)/Kw, wn is the AD value collected by the sensor n-th time, whether irrigation is performed is controlled by regularly refreshing the humidity value B, and irrigation is performed when the B value is less than 40%.
2. The control method of the intelligent irrigator based on the conventional MCU low-energy-consumption self-adaptive soil as claimed in claim 1, comprising the following steps:
(1) After the sensor is successfully communicated with the irrigation main board for the first time, the irrigation main board sends an irrigation instruction, and the initial default irrigation duration is Ir0 seconds; sampling an AD value at each interval T0, wherein Wn is an AD value acquired at the nth time, after watering and irrigating, the soil humidity is 100%, the AD value can be rapidly reduced to a minimum value, then slowly rising, covering the irrigated AD value with a factory default Wli, and calculating a new AD value corresponding to 40% humidity based on the new Wli according to the proportion;
(2) The AD value that the last time was gathered compares with the AD value that the last time was gathered, and when the rate of change of AD sampling value was great, just shortened sampling interval time, and when the rate of change of AD sampling value was less, just prolonged sampling interval time, P% is AD sampling value rate of change, P% = (Wn+1-Wn)/Wn, when P < L, the time of gathering is: t=t1 (1+P%) Xa; when P is less than or equal to L < H, T0 is kept unchanged; when P is greater than or equal to H, t=t1 (1-P%) ×xz, with typical values of P being 0.1; typical values of L are 1, typical values of H are 3, L is a lower limit of the change value judgment, H is an upper limit of the change value judgment, TI is the previous AD value acquisition interval time, xz=log ((wn+1-Wn)/2), xa=2xz, xz is the magnification, xa is the reduction magnification;
(3) Converting the AD sampling value into a corresponding humidity value B, sending the value B to an irrigation main board in real time, calculating delta beta/delta t to obtain a humidity change rate Bt after 30 minutes of timing when the irrigation main board obtains a 100% humidity value, changing the humidity acquisition interval time to be a fixed interval Tf, and judging sand when Bt is smaller than 20% and soil when Bt is larger than or equal to 20% after irrigation is performed for half an hour, wherein the typical value of Tf is 4 hours; shortening the humidity detection time Tf when the sand is judged, and prolonging the humidity detection time Tf when the soil is judged to be fertile;
(4) When the collected humidity value B is less than or equal to 40%, the sensor control panel wakes up the irrigation main board, and simultaneously transmits irrigation data, and records the Tt value at the moment, wherein Tt is the total duration after an irrigation command:
(5) Collecting an AD value of a 100% humidity value after irrigation again, comparing the AD value with an AD value of a previous 100% humidity value, if the new AD value is larger than the AD value of the previous 100% humidity value, keeping the AD value of the 100% humidity unchanged, if the AD value is smaller than the AD value of the previous 100% humidity value, updating the AD value to the new AD value of the 100% humidity value, and collecting comparison according to Tf corrected in the step (5) instead of collecting the AD value of the 100% humidity value after irrigation each time after the total sampling times reach 3 times;
(6) When Tt is larger than or equal to Tr, tr is the limit irrigation time, tt is the total time after an irrigation command, the irrigation command is also sent, meanwhile, the humidity value at the moment is compared, when Btr-B40 is larger than 20, the fact that the plant possibly dies is indicated, when the irrigation command is sent, the data is sent at the same time, and the irrigation Btr is the humidity value at the moment;
(7) When the humidity value B detected by the sensor is more than 40%, the irrigation condition is not met, and when a user considers that watering is needed at the moment, the user lights the irrigation main board, the sensor control board is awakened, a real-time humidity value is sent, then the irrigation main board is set to be in a rainy day mode, the rainy day mode time is 72 hours, meanwhile, one-time manual irrigation is started, the irrigation main board sends an AD reference instruction for resetting 40% humidity, and the sensor control board updates the AD reference of 40% humidity and Kw;
(8) Comparison of Tt after each irrigation and the previous one, when the new Tt is smaller than the previous one, the irrigation duration Ir is increased, and when the new Tt is larger than the previous one, the irrigation duration Ir is shortened.
CN202210366260.5A 2022-04-08 2022-04-08 Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil Active CN114831005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210366260.5A CN114831005B (en) 2022-04-08 2022-04-08 Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210366260.5A CN114831005B (en) 2022-04-08 2022-04-08 Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil

Publications (2)

Publication Number Publication Date
CN114831005A CN114831005A (en) 2022-08-02
CN114831005B true CN114831005B (en) 2023-07-21

Family

ID=82564166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210366260.5A Active CN114831005B (en) 2022-04-08 2022-04-08 Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil

Country Status (1)

Country Link
CN (1) CN114831005B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112640616A (en) * 2020-12-17 2021-04-13 潘小艳 Method for rapidly improving soil fertility of organic agriculture

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2495125C (en) * 2004-01-30 2012-11-20 Robert Miller Irrigation controller
CN101167436B (en) * 2006-10-24 2010-07-14 中兴通讯股份有限公司 Intelligent irrigation system and method based on wireless detector
US9301460B2 (en) * 2011-02-25 2016-04-05 The Toro Company Irrigation controller with weather station
CN105353106A (en) * 2015-12-07 2016-02-24 中国农业大学 Soil water distribution measurement system and method with wireless transmission function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112640616A (en) * 2020-12-17 2021-04-13 潘小艳 Method for rapidly improving soil fertility of organic agriculture

Also Published As

Publication number Publication date
CN114831005A (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN101574053B (en) Intelligent method and system for controlling alternate irrigation of local root zone of crops
CN102499028B (en) Wireless intelligent irrigation system
KR101882933B1 (en) Smart Soil Moisture Control Device for Multipurpose farmland
KR101882934B1 (en) Smart Soil Moisture Control Method for Multipurpose farmland
CN211960395U (en) Accurate irrigation system of modernized agriculture
CN110741914A (en) Rice field automatic water-saving irrigation system and method based on recurrent neural network
CN104012376A (en) Intelligent flower watering system, method and device based on ecological environment information
CN109258417B (en) Automatic irrigation method
CN109566362A (en) A kind of Intelligent irrigation system and its control method
CN110754334A (en) Intelligent sprinkling irrigation control system based on mobile terminal
CN113115694A (en) Modern agricultural precise irrigation system and irrigation method thereof
CN107368109B (en) User-oriented rice field water quantity and water quality remote control method
CN109302972B (en) Intelligent irrigation system based on facility crop canopy laminated temperature
CN104335882A (en) Wireless accurate irrigation control system
CN114831005B (en) Control method of intelligent irrigator based on conventional MCU low-energy-consumption self-adaptive soil
CN206611933U (en) Field Intelligent irrigation system
CN111406606B (en) Intelligent water-saving irrigation system and irrigation method considering rice crop growth period
CN108170189A (en) A kind of intelligent crop implant system
CN201898761U (en) Automatic-control light compensation system for protected agriculture greenhouse
CN207767155U (en) A kind of Intelligent irrigation system based on protected crop canopy accumulated temperature
CN110800588A (en) Drip irrigation system and method for dragon fruit planting
CN203302089U (en) Weather station type irrigation control device
CN105527890A (en) Orchard pipeline precise fertilizer injection control device and control method
CN202931874U (en) Automatic drip irrigation system of agricultural greenhouse
CN112673948A (en) Irrigation system and irrigation method based on substrate water content weighing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant