CN108009935A - A kind of water-saving irrigation decision system - Google Patents

A kind of water-saving irrigation decision system Download PDF

Info

Publication number
CN108009935A
CN108009935A CN201711016990.8A CN201711016990A CN108009935A CN 108009935 A CN108009935 A CN 108009935A CN 201711016990 A CN201711016990 A CN 201711016990A CN 108009935 A CN108009935 A CN 108009935A
Authority
CN
China
Prior art keywords
data
module
submodule
upper computer
decision
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.)
Pending
Application number
CN201711016990.8A
Other languages
Chinese (zh)
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.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
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 Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201711016990.8A priority Critical patent/CN108009935A/en
Publication of CN108009935A publication Critical patent/CN108009935A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining
    • 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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Animal Husbandry (AREA)
  • Marketing (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Environmental Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Agronomy & Crop Science (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Water Supply & Treatment (AREA)
  • General Business, Economics & Management (AREA)
  • Soil Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of water-saving irrigation decision system and decision-making technique, belong to agricultural irrigation technology.The system includes portable soil humidity detector, bluetooth module, host computer;Bluetooth module includes bluetooth sending module and bluetooth receiving module, bluetooth sending module is arranged on portable soil humidity detector, bluetooth receiving module is connected by USB interface with host computer, host computer receiving module, host computer decision-making module are provided with host computer, host computer receiving module, host computer decision-making module are connected.The present invention can solve the problems, such as soil moisture, and quickly detection and cost are higher, realize the functions such as the real-time display of soil moisture, button collection, light prompt, data storage, and upper computer end is transmitted data to by bluetooth, host computer data reception module preserves data, host computer decision-making module decision-making crop belts whether water shortage, according to the subregion of judgement and crop area of the different crop water characteristics to soil moisture situation judge.

Description

Water-saving irrigation decision-making system
Technical Field
The invention relates to a water-saving irrigation decision-making system, and belongs to the technical field of agricultural irrigation.
Background
The water supply shortage problem in agricultural irrigation in China is prominent due to the characteristics of water resource shortage, unreasonable spatial distribution and unbalanced combination of water and soil resources in China, and the water supply shortage problem is most obvious in northwest China. Therefore, the agricultural production development in China is greatly restricted, the balanced production of domestic grains and various crops faces serious threats, and the development and popularization of water-saving irrigation have important practical significance. The water-saving irrigation technology plays an important role in improving the agricultural water efficiency, solving the problem of shortage of agricultural water, increasing both production and income of farmers, building ecological environment and the like, and has important strategic positions in relieving the contradiction of water resource shortage, ensuring national food safety and promoting the sustainable development of rural economy.
Sufficient moisture is an important condition for crop growth, and moisture is the motive force for plant cell expansion. In the process of expanding and growing plant cells, sufficient water is needed to enable the cells to generate expansion pressure, if the water is insufficient, the expansion and growth are blocked, the plants grow short and small, even wither, the yield of crops is reduced, and even large economic loss is caused. Under the condition of sufficient water, plants grow quickly, big branches grow, stems and leaves are tender, however, mechanical tissues and protective tissues are underdeveloped, the stress resistance of the plants is reduced, the plants are easily damaged by low temperature, drought, diseases and pests, and the like, and the excessive irrigation amount can cause water to seep and run off, thereby causing waste of water resources.
Along with the shortage of water resources, the agricultural water-saving irrigation technology is more and more emphasized, but the current water-saving irrigation technology mostly adopts an embedded humidity sensor for detecting the soil humidity, so that the wiring is complex, and the cultivation of soil is influenced; if the number of the sensors is less, the soil humidity condition of the whole area is inaccurately judged due to less detection points of the soil area; if the number of the sensors is increased, the investment is large due to the high price of the high-precision sensors; the common soil humidity sensor has the defects of low detection precision, poor linearity, easy corrosion of a detection head and the like.
Disclosure of Invention
The invention provides a water-saving irrigation decision-making system aiming at the problems in the prior art, which acquires distributed data through a portable soil humidity detection device, uploads the data to an upper computer through Bluetooth, stores the data into an excel file, processes and analyzes the data through a soil humidity decision-making module, and judges whether a detected object area needs irrigation or not.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a water-saving irrigation decision-making system comprises a portable soil humidity detection device, a Bluetooth module and an upper computer; the Bluetooth module comprises a Bluetooth sending module and a Bluetooth receiving module, the Bluetooth sending module is arranged on the portable soil humidity detection device, the Bluetooth receiving module is connected with an upper computer through a USB interface, the upper computer is internally provided with an upper computer receiving module and an upper computer decision-making module, and the upper computer receiving module is connected with the upper computer decision-making module;
the portable soil humidity detection device comprises a humidity sensor, a humidity sensor shell, a connecting rod, a light-emitting element, a handle, a data acquisition key, a data storage and reading key, a digital display, a power switch, a battery box, a resistor, a signal amplifier, a single chip microcomputer, a digital display control chip, a Bluetooth sending module, a clock chip and a button cell; the device comprises a power switch, a data acquisition key, a data storage and reading key, a light-emitting element, a digital display, a resistor, a signal amplifier, a single chip microcomputer, a digital display control chip, a Bluetooth sending module, a clock chip and a button cell, wherein the button cell is integrated on a circuit board in the handle;
further, the light emitting element is a light emitting diode, the signal amplifier is an LM358 chip, the single chip microcomputer is a C8051F410 single chip microcomputer, the digital display control chip is a CH452 chip, and the clock chip is a DS1302 clock chip;
the upper computer receiving module comprises a data receiving submodule and a data storage submodule, the data receiving submodule is connected with the data storage submodule and is used for receiving data sent by the portable soil humidity detection device through Bluetooth, and the data storage submodule stores the received data into an excel file;
the upper computer decision module comprises a data initialization submodule, a total consistency operation submodule, a partition submodule and a partition consistency operation submodule, wherein the data initialization submodule is connected with the data storage submodule, the data initialization submodule is respectively connected with the total consistency operation submodule and the partition submodule, the partition submodule is connected with the partition consistency operation submodule, the data initialization submodule is used for opening an excel file stored by the data storage submodule to extract data and initializing the data according to a soil moisture requirement value of a crop, and the total consistency operation submodule is used for calculating and deciding the water shortage condition of the whole area of the crop; the partition module is used for partitioning according to the detection plan of the crop area; and the partition consistency operation submodule is used for calculating and deciding the water shortage condition of the crop in each sub-area of the whole area.
The decision method of the water-saving irrigation decision system comprises the following specific steps:
(1) Detecting the soil humidity through a portable soil humidity detection device, and sending a soil humidity detection value to an upper computer through Bluetooth;
(2) A data receiving submodule in the upper computer receiving module receives the soil humidity detection value obtained in the step (1), and a data storage submodule stores the soil humidity detection value as an excel file;
(3) Initializing data through a data initialization submodule of an upper computer decision module, and initializing the data in the excel file in the step (2) into binary values with only 0 and 1 states according to the soil moisture value required by crops;
(4) Performing overall binary consistency operation through an overall consistency operation submodule of the upper computer decision module, performing distributed consistency operation on the binary values obtained in the step (3), and deciding the overall water shortage condition of the crop area;
(5) According to the detection plan, partitioning the binary values in the step (3) through a partitioning submodule of an upper computer decision module to obtain binary values of all partitions;
(6) And (4) respectively carrying out distributed binary consistency operation on the binary values of the partitions in the step (5) through a partition consistency operation submodule of the upper computer decision module, and deciding the water shortage condition of the crops in the partitions.
The binary consistency operation is obtained by combining a typical consistency algorithm and a gossip algorithm,
the equation for a typical consensus algorithm is
Wherein the scalar α&gt, 0 is the uniformity gain, a ij ≧ 0 denotes the distributed systemAnd judging whether a connection exists between the node i and the node j in the system. If node i and node j can communicate then a ij =1 (i ≠ j), if node i and node j cannot communicate, a ij =0, ifThe consistency algorithm reaches consistency;
the average consistent equation of gossip algorithm is
x i (k+1)=x j (k+1)=(x i (k)+x j (k))/2
Wherein x i (k+1)、x j (k + 1) is the updated state, x i (k)、x j (k) Is in the current state;
the equation of the distributed interval binary consistency algorithm is
At x i (t)≤x j (t) the update rule of the node i and the node j is
Wherein, delta represents an interval, and two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm; wherein, delta represents an interval, two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm, and if the distribution states are 0 and 0.25 after the detection point data are fused, water shortage is judged; if the distribution state of the fused detection point data is 0.75 and 1, judging that no water is in shortage;
the measuring point state updating rule table is as follows:
table 1: binary consistency algorithm state update rule table
The updating and changing process is as follows: assuming that 0 is the majority after judgment, in the algorithm operation process, two intermediate states appear along with data interaction between 0 and 1, the detection point is 1 and disappears firstly, the 0 and 1 converted to the intermediate states can not return to the initial state, along with the algorithm, the intermediate state 0.75 also disappears, and the whole state is converted to 0 or 0.25, and the area is judged to be in a water shortage state; assuming that 1 is majority after judgment, in the algorithm operation process, two intermediate states appear along with data interaction between 0 and 1, the detection point is 0 and disappears first, the 0 and 1 converted to the intermediate states can not return to the initial state, along with the algorithm, the intermediate state 0.25 also disappears and is converted to 0.75 or 1 completely, and the area is judged to be in a water shortage-free state; an average factor is added to the algorithm, data updating of two detection points is accelerated, and the four-mode consistency algorithm is adopted, so that the method has the characteristics of parallel calculation, strong data processing capacity, high operation speed, multi-index display of the system and the like; therefore, the overall judgment and the regional judgment of the water demand condition of the crop area are realized, and the result of whether the whole crop area or the regions need irrigation is obtained.
The invention has the beneficial effects that:
(1) The portable soil humidity detection device of the water-saving irrigation decision-making system can realize real-time display of soil humidity, and simultaneously store the acquisition time and the soil humidity data; the data stored by the device can be transmitted to the upper computer in a wireless way; the intelligent lamp has the characteristics of real-time data display, light collection prompt, convenience in carrying, easiness in maintenance and the like;
(2) The algorithm of the water-saving irrigation decision-making system can set different soil humidity reference values according to the water demand characteristics of different crops, perform overall judgment and partition judgment on the water demand condition of a crop area, and determine whether a certain area needs irrigation or needs irrigation integrally;
(3) The typical consistency algorithm is continuous analog operation, the transmission data volume is large, the anti-interference performance is weak, the energy consumption is large, and the gossip algorithm has a low data fusion speed; the water-saving irrigation decision-making system adopts a four-mode consistency algorithm which is a discrete interval consistency algorithm, only 2-bit data are calculated, and the system has the characteristics of parallel calculation, strong data processing capacity, high calculation speed, multi-index display of the system and the like;
(4) The water-saving irrigation decision-making system has the characteristics of low cost, convenience in use, accurate prediction, economy and practicability.
Drawings
FIG. 1 is a calculation flow chart of a decision system for water-saving irrigation according to embodiment 1;
FIG. 2 is a schematic view showing the structure of the portable soil moisture detecting apparatus according to embodiment 1;
FIG. 3 is a circuit diagram of the portable soil moisture detecting device according to embodiment 1;
FIG. 4 is a schematic diagram of an upper computer system of the water-saving irrigation decision system according to embodiment 1;
FIG. 5 is a binary chart of data initialization for example 2;
FIG. 6 is a graph of the results of the overall distributed interval binary consistency algorithm of example 2;
FIG. 7 is a binary chart of data initialization for partition 1 of example 2;
FIG. 8 is a binary chart of data initialization for partition 2 of example 2;
FIG. 9 is a diagram showing the results of the partition 1 distributed interval binary consistency algorithm of example 2;
FIG. 10 is a diagram showing the results of the partition 2 distributed interval binary consistency algorithm of example 2;
FIG. 11 is a binary chart of data initialization for example 3;
FIG. 12 is a graph of the results of the overall distributed interval binary consistency algorithm of example 3;
FIG. 13 is a binary chart of data initialization for partition 1 of example 3;
FIG. 14 is a binary chart of data initialization for partition 2 of example 3;
FIG. 15 is a graph of the results of the partition 1 distributed interval binary consistency algorithm of example 3;
FIG. 16 is a diagram showing the results of the partition 2 distributed interval binary consistency algorithm of example 3;
in the figure: 1-a humidity sensor, 2-a humidity sensor shell, 3-a connecting rod, 4-a light-emitting element, 5-a handle, 6-a data acquisition key, 7-a data storage and reading key, 8-a digital display, 9-a power switch, 10-a battery box, 11-a resistor, 12-a signal amplifier, 13-a single chip microcomputer, 14-a digital display control chip, 15-a clock chip and 16-a button cell;
the figure has a total of 144 detection points, which are divided into four partitions, and 36 detection points are arranged in each partition, wherein "o" represents 0, "-" represents 0.25, "+" represents 0.75, and "+" represents 1.
Detailed Description
The present invention will be further described with reference to the following embodiments.
Example 1: as shown in fig. 2 to 4, a water-saving irrigation decision system comprises a portable soil humidity detection device, a bluetooth module and an upper computer; the Bluetooth module comprises a Bluetooth sending module and a Bluetooth receiving module, the Bluetooth sending module is arranged on the portable soil humidity detection device, the Bluetooth receiving module is connected with an upper computer through a USB interface, the upper computer is internally provided with an upper computer receiving module and an upper computer decision-making module, and the upper computer receiving module is connected with the upper computer decision-making module;
the portable soil humidity detection device comprises a humidity sensor 1, a humidity sensor shell 2, a connecting rod 3, a light-emitting element 4, a handle 5, a data acquisition key 6, a data storage and reading key 7, a digital display 8, a power switch 9, a battery box 10, a resistor 11, a signal amplifier 12, a single chip microcomputer 13, a digital display control chip 14, a Bluetooth sending module, a clock chip 15 and a button cell 16; the power switch 9, the data acquisition button 6, the save and read data button 7, the light-emitting element 4, the digital display 8 are all arranged on the handle 5, the resistor 11, the signal amplifier 12, the single-chip microcomputer 13, the digital display control chip 14, the bluetooth sending module, the clock chip 15, the button cell 16 are all integrally arranged on a circuit board in the handle 5, the light-emitting element 4, the digital display control chip 14, the bluetooth sending module and the clock chip 15 are respectively connected with the single-chip microcomputer 13, the digital display control chip 14 is externally connected with the digital display 8, the data acquisition button 6, the save and read data button 7, the clock chip 15 is externally connected with the button cell 16, the handle 5 is connected with the humidity sensor shell 2 through the connecting rod 3, a wire is arranged in the connecting rod 3, the battery box 10 is arranged in the humidity sensor shell 2 and is connected with the power switch 9 through a wire, the power switch 9 is respectively connected with the humidity sensor 1, the signal amplifier 12, the single-chip microcomputer 13, the digital display control chip 14 and the humidity digital display 8 through a wire, a probe of the humidity sensor 1 extends to the outside of the humidity sensor shell 2, the single-chip microcomputer 1 is connected with the wire 11, the signal amplifier 12 and the signal amplifier 13 through a wire, and the single-chip 13.
In this embodiment, the light emitting element is a light emitting diode, the signal amplifier is an LM358 chip, the single chip microcomputer is a C8051F410 single chip microcomputer, the digital display control chip is a CH452 digital display control chip, and the clock chip is a DS1302 clock chip.
The upper computer receiving module comprises a data receiving submodule and a data storage submodule, the data receiving submodule is connected with the data storage submodule and is used for receiving data sent by the portable soil humidity detection device through Bluetooth, and the data storage submodule stores the received data into an excel file;
the upper computer decision module comprises a data initialization submodule, a total consistency operation submodule, a partition submodule and a partition consistency operation submodule, wherein the data initialization submodule is connected with the data storage submodule, the data initialization submodule is respectively connected with the total consistency operation submodule and the partition submodule, the partition submodule is connected with the partition consistency operation submodule, the data initialization submodule is used for opening an excel file stored by the data storage submodule to extract data and initializing the data according to a soil moisture requirement value of a crop, and the total consistency operation submodule is used for calculating and deciding the water shortage condition of the whole area of the crop; the partition module is used for partitioning according to the detection plan of the crop area; and the partition consistency operation submodule is used for calculating and deciding the water shortage condition of the crop in each sub-area of the whole area.
The working process is as follows:
the method comprises the steps that a high-precision soil humidity sensor is adopted to detect soil humidity, soil humidity signals are sent to a single chip microcomputer through an operational amplifier, are subjected to AD conversion in the single chip microcomputer, are subjected to sampling subprograms to be sampled continuously, humidity data are displayed on a digital display in real time, and a user can read the real-time data conveniently; the circuit of the device is provided with a DS1302 clock chip and a data acquisition and storage key, and the 3V button battery is adopted for supplying power to the clock chip uninterruptedly, so that the data can be stored according to the acquisition time, namely the data can be clearly known at which time in the read stored data; the light emitting diode is provided with a collection prompt, when a collection data key is pressed down, the light flickers to show that the data at the moment is collected, and the digital display displays the collected data; turning on a power switch, inserting a humidity sensor probe into soil to be detected by holding a handle, staying for 2 seconds, pressing a data acquisition key after displayed data are stable, and flashing a light-emitting diode to indicate that one-time data acquisition is finished;
a data saving mode: the data acquired by the device is stored in the ROM of the single chip microcomputer, and is used for data storage based on the unused ROM space in the single chip microcomputer, so that a separate data storage chip is omitted, nearly ten thousand data can be stored, and the application based on handheld acquisition of soil humidity data is completely sufficient; the bluetooth serial ports module of this device can be with the data of saving send the computer to through wireless mode, save as EXCEL file. And when all data are acquired, pressing the data storage and reading key to finish the storage of the acquired data. And pressing a data storage and reading button for 5 seconds, and transmitting the stored data to the upper computer through the Bluetooth module.
A data receiving submodule of the upper computer receiving module receives data sent by the portable soil humidity detection device through Bluetooth, and a data storage submodule stores the received data into an excel file;
a data initialization sub-module of the upper computer decision module opens an excel file stored by a data storage sub-module to extract data and initializes the data according to the soil moisture demand value of the crops, and a total consistency operation sub-module calculates and decides the water shortage condition of the whole area of the crops; the partitioning module partitions according to the detection plan of the crop area; and the subarea consistency operation submodule calculates and decides the water shortage condition of the crop in each subarea of the whole area, and makes a decision of water-saving irrigation.
Example 2: as shown in fig. 1, the decision method of the water-saving irrigation decision system specifically comprises the following steps:
(1) Detecting soil humidity through a portable soil humidity detection device, and sending a soil humidity detection value to an upper computer through Bluetooth;
(2) A data receiving submodule in the upper computer receiving module receives the soil humidity detection value obtained in the step (1), and a data storage submodule stores the soil humidity detection value as an excel file;
(3) Initializing data through a data initialization submodule of an upper computer decision module, and initializing the data in the excel file in the step (2) into binary values with only two states of 0 and 1 according to the soil moisture value required by crops, wherein the binary values are shown in figure 5;
(4) Carrying out overall binary consistency operation through an overall consistency operation submodule of the upper computer decision module, and carrying out distributed consistency operation on the binary values obtained in the step (3), namely carrying out distributed consistency operation on the binary values
The equation for a typical consensus algorithm is
Wherein the scalar α&gt, 0 is the uniformity gain, a ij The condition whether the node i and the node j in the distributed system are equal to or larger than 0 is shownThere is a connection. If node i and node j can communicate then a ij =1 (i ≠ j), if node i and node j cannot communicate, a ij If not =0The consistency algorithm reaches consistency;
the average consistent equation of gossip algorithm is
x i (k+1)=x j (k+1)=(x i (k)+x j (k))/2
Wherein x is i (k+1)、x j (k + 1) is the updated state, x i (k)、x j (k) Is in the current state;
the equation of the distributed interval binary consistency algorithm is
At x i (t)≤x j (t) the update rule of the node i and the node j is
Wherein, delta represents an interval, and two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm; wherein, delta represents an interval, two states of 0.25 and 0.75 are added between binary values with an initial value of 0 and 1 to form a four-mode distributed interval binary consistency algorithm,
the result of the overall binary consistency operation is shown in fig. 6, and it can be seen from fig. 6 that if the distribution state after the detection point data fusion is 0 and 0.25, it is determined that water is deficient, and thus the crop region is deficient as a whole;
(5) According to the detection plan, the binary values in the step (3) are partitioned by a partition submodule of the upper computer decision module to obtain the binary values of all partitions, wherein the binary values of the partition 1 are shown in figure 7, the binary values of the partition 2 are shown in figure 8,
(6) Respectively carrying out distributed binary consistency operation on the binary values of the partitions in the step (5) through a partition consistency operation submodule of an upper computer decision module,
the equation for a typical consensus algorithm is
Wherein the scalar α&gt, 0 is the uniformity gain, a ij And the value of more than or equal to 0 represents whether a connection exists between the node i and the node j in the distributed system. If node i and node j can communicate then a ij =1 (i ≠ j), if node i and node j cannot communicate, a ij If not =0The consistency algorithm reaches consistency;
the average consistent equation of gossip algorithm is
x i (k+1)=x j (k+1)=(x i (k)+x j (k))/2
Wherein x is i (k+1)、x j (k + 1) is the updated state, x i (k)、x j (k) Is in the current state;
the equation of the distributed interval binary consistency algorithm is
At x i (t)≤x j (t) the update rule of the node i and the node j is
Wherein, delta represents an interval, and two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm; wherein, delta represents an interval, two states of 0.25 and 0.75 are added between binary values with an initial value of 0 and 1 to form a four-mode distributed interval binary consistency algorithm,
the result of binary consistency operation of the partition 1 is shown in fig. 9, and it can be seen from fig. 9 that if the distribution state is 0 and 0.25 after the detection point data are fused, it is determined that water is deficient, and therefore, water is deficient in the crop partition 1;
the result of binary consistency operation of partition 2 is shown in fig. 10, and it can be seen from fig. 10 that if the distribution state after the detection point data are fused is 0.75 and 1, it is determined that water is not deficient; therefore, the crop subarea 2 does not lack water;
the algorithm increases an average factor, accelerates the data updating of the two detection points, and improves the accuracy and the rapidity of the judgment result; therefore, the overall judgment and the regional judgment of the water demand condition of the crop area are realized, and the result of whether the whole crop area or the regions need irrigation is obtained.
Example 3: as shown in fig. 1, the decision method of the water-saving irrigation decision system specifically comprises the following steps:
(1) Detecting soil humidity through a portable soil humidity detection device, and sending a soil humidity detection value to an upper computer through Bluetooth;
(2) A data receiving submodule in the upper computer receiving module receives the soil humidity detection value obtained in the step (1), and a data storage submodule stores the soil humidity detection value as an excel file;
(3) Initializing data through a data initialization submodule of an upper computer decision module, and initializing the data in the excel file in the step (2) into binary values with only two states of 0 and 1 according to the soil moisture value required by crops, wherein the binary values are shown in fig. 11;
(4) Carrying out overall binary consistency operation through an overall consistency operation submodule of the upper computer decision module, and carrying out distributed consistency operation on the binary values obtained in the step (3), namely carrying out distributed consistency operation on the binary values
The equation for a typical consensus algorithm is
Wherein the scalar α&gt, 0 is the uniformity gain, a ij And the value of more than or equal to 0 represents whether a connection exists between the node i and the node j in the distributed system. If node i and node j can communicate then a ij =1 (i ≠ j), if node i and node j cannot communicate, a ij If not =0The consistency algorithm reaches consistency;
the equation of gossip algorithm average is
x i (k+1)=x j (k+1)=(x i (k)+x j (k))/2
Wherein x is i (k+1)、x j (k + 1) is the updated state, x i (k)、x j (k) Is in the current state;
the equation of the distributed interval binary consistency algorithm is
At x i (t)≤x j (t) the update rule of the node i and the node j is
Wherein, delta represents an interval, and two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm; wherein, delta represents an interval, two states of 0.25 and 0.75 are added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm,
the result of the overall binary consistency operation is shown in fig. 12, and it can be seen from fig. 12 that if the distribution state after the detection point data fusion is 0.75 and 1, it is determined that water is not deficient, and thus the crop region is not deficient as a whole;
(5) According to the detection plan, the binary values of the step (3) are partitioned by a partition submodule of the upper computer decision module to obtain the binary values of each partition, wherein the binary value of the partition 1 is shown in fig. 13, the binary value of the partition 2 is shown in fig. 14,
(6) Respectively carrying out distributed binary consistency operation on the binary values of the partitions in the step (5) through a partition consistency operation submodule of an upper computer decision module,
the equation for a typical consensus algorithm is
Wherein the scalar α&gt, 0 is the uniformity gain, a ij And more than or equal to 0 represents whether a connection exists between the node i and the node j in the distributed system. If node i and node j can communicate, then a ij =1 (i ≠ j), if node i and node j cannot communicate, a ij If not =0The consistency algorithm reaches consistency;
the equation of gossip algorithm average is
x i (k+1)=x j (k+1)=(x i (k)+x j (k))/2
Wherein x i (k+1)、x j (k + 1) is the updated state, x i (k)、x j (k) Is in the current state;
the equation of the distributed interval binary consistency algorithm is
At x i (t)≤x j (t) the update rule of the node i and the node j is
Wherein, delta represents an interval, and two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm; wherein, delta represents an interval, two states of 0.25 and 0.75 are added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm,
the result of the binary consistency operation for the partition 1 is shown in fig. 15, and it can be seen from fig. 15 that if the distribution state after the detection point data are fused is 0.75 and 1, it is determined that water is not deficient, and therefore, the crop partition 1 does not lack water;
the result of the binary consistency operation of the partition 2 is shown in fig. 16, and it can be seen from fig. 16 that if the distribution state after the detection point data are fused is 0 and 0.25, it is determined that there is water shortage; therefore, the crop subarea 2 is lack of water;
the algorithm increases an average factor, accelerates the data updating of the two detection points, and improves the accuracy and the rapidity of the judgment result; therefore, the overall judgment and the regional judgment of the water demand condition of the crop area are realized, and the result of whether the whole crop area or the regions need irrigation is obtained.
While the present invention has been described in detail with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, and various changes and modifications can be made within the knowledge of those skilled in the art without departing from the spirit of the present invention.

Claims (6)

1. A water-saving irrigation decision system, characterized by: the device comprises a portable soil humidity detection device, a Bluetooth module and an upper computer; the Bluetooth module comprises a Bluetooth sending module and a Bluetooth receiving module, the Bluetooth sending module is arranged on the portable soil humidity detection device, the Bluetooth receiving module is connected with an upper computer through a USB interface, the upper computer is internally provided with an upper computer receiving module and an upper computer decision-making module, and the upper computer receiving module and the upper computer decision-making module are connected.
2. The water-saving irrigation decision system according to claim 1, wherein: the portable soil humidity detection device comprises a humidity sensor (1), a humidity sensor shell (2), a connecting rod (3), a light-emitting element (4), a handle (5), a data acquisition key (6), a data storage and reading key (7), a digital display (8), a power switch (9), a battery box (10), a resistor (11), a signal amplifier (12), a single chip microcomputer (13), a digital display control chip (14), a Bluetooth sending module, a clock chip (15) and a button cell (16); a power switch (9), a data acquisition key (6), a data storage and reading key (7), a light-emitting element (4) and a digital display (8) are all arranged on the handle (5), a resistor (11), a signal amplifier (12), a singlechip (13), a digital display control chip (14), a Bluetooth sending module, a clock chip (15) and a button cell (16) are all integrated on a circuit board in the handle (5), the light-emitting element (4), the digital display control chip (14), the Bluetooth sending module and the clock chip (15) are respectively connected with the singlechip (13), the digital display control chip (14) is externally connected with the digital display (8), the data acquisition key (6) and the data storage and reading key (7), the clock chip (15) is externally connected with the button cell (16), the handle (5) is connected with a humidity sensor shell (2) through a connecting rod (3), a lead is arranged in the connecting rod (3), a power switch (10) is arranged in the humidity sensor shell (2) and is connected with the power switch (9) through a lead, the humidity sensor (1), the signal amplifier (12) and the digital display chip (13), a probe of the humidity sensor (1) extends to the outside of the humidity sensor shell (2), and the humidity sensor (1) is connected with the resistor (11), the signal amplifier (12) and the singlechip (13) sequentially through leads.
3. The portable soil moisture detection device of claim 2, wherein: the light-emitting element is a light-emitting diode, the signal amplifier is an LM358 chip, the singlechip is a C8051F410 singlechip, the digital display control chip is a CH452 chip, and the clock chip is a DS1302.
4. The water-saving irrigation decision system according to claim 1, wherein: the upper computer receiving module comprises a data receiving submodule and a data storage submodule, the data receiving submodule is connected with the data storage submodule and is used for receiving data sent by the portable soil humidity detection device through Bluetooth, and the data storage submodule stores the received data into an excel file;
the upper computer decision module comprises a data initialization submodule, an overall consistency operation submodule, a partition submodule and a partition consistency operation submodule, wherein the data initialization submodule is connected with the data storage submodule and is respectively connected with the overall consistency operation submodule and the partition submodule; the partitioning module is used for partitioning according to the detection plan of the crop area; and the partition consistency operation submodule is used for calculating and deciding the water shortage condition of the crops in each sub-area of the whole area.
5. The decision method of the water-saving irrigation decision system is characterized by comprising the following specific steps:
(1) Detecting the soil humidity through a portable soil humidity detection device, and sending a soil humidity detection value to an upper computer through Bluetooth;
(2) A data receiving submodule in the upper computer receiving module receives the soil humidity detection value obtained in the step (1), and a data storage submodule stores the soil humidity detection value as an excel file;
(3) Initializing data through a data initialization submodule of an upper computer decision module, and initializing the data in the excel file in the step (2) into binary values with only 0 and 1 states according to the soil moisture value required by crops;
(4) Performing overall binary consistency operation by an overall consistency operation submodule of the upper computer decision module, performing distributed consistency operation on the binary values obtained in the step (3), and deciding the overall water shortage condition of the crop area;
(5) According to the detection plan, partitioning the binary values in the step (3) through a partitioning submodule of an upper computer decision module to obtain the binary values of each partition;
(6) And (4) respectively carrying out distributed binary consistency operation on the binary values of the partitions in the step (5) through a partition consistency operation submodule of the upper computer decision module, and deciding the water shortage condition of the crops in the partitions.
6. The decision-making method of the water-saving irrigation decision-making system according to claim 5, characterized in that: the binary consistency operation is obtained by combining a typical consistency algorithm and a gossip algorithm,
the equation for a typical consensus algorithm is
Wherein the scalar α&gt, 0 is the uniformity gain, a ij And more than or equal to 0 represents whether a connection exists between the node i and the node j in the distributed system. If node i and node j can communicate then a ij =1 (i ≠ j), and if node i and node j cannot communicate, a ij If not =0The consistency algorithm reaches consistency;
the equation of gossip algorithm average is
x i (k+1)=x j (k+1)=(x i (k)+x j (k))/2
Wherein x i (k+1)、x j (k + 1) is the updated state, x i (k)、x j (k) Is in the current state;
the equation of the distributed interval binary consistency algorithm is
At x i (t)≤x j (t) the update rule of the node i and the node j is
Wherein, delta represents an interval, two states of 0.25 and 0.75 are newly added between binary values with initial values of 0 and 1 to form a four-mode distributed interval binary consistency algorithm, and if the distribution states are 0 and 0.25 after the data of the detection points are fused, the water shortage is judged; and if the distribution state of the fused detection point data is 0.75 and 1, judging that no water is in shortage.
CN201711016990.8A 2017-10-26 2017-10-26 A kind of water-saving irrigation decision system Pending CN108009935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711016990.8A CN108009935A (en) 2017-10-26 2017-10-26 A kind of water-saving irrigation decision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711016990.8A CN108009935A (en) 2017-10-26 2017-10-26 A kind of water-saving irrigation decision system

Publications (1)

Publication Number Publication Date
CN108009935A true CN108009935A (en) 2018-05-08

Family

ID=62051091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711016990.8A Pending CN108009935A (en) 2017-10-26 2017-10-26 A kind of water-saving irrigation decision system

Country Status (1)

Country Link
CN (1) CN108009935A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113412777A (en) * 2021-06-23 2021-09-21 安徽维诚水务科技有限公司 Water conservation management and control system based on data acquisition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331639A (en) * 2014-12-01 2015-02-04 中国矿业大学 Indirect soil moisture content obtaining and rapid evaluation method
CN104731137A (en) * 2015-02-10 2015-06-24 成都君禾天成科技有限公司 Information collection system used for collecting farmland environment data
CN105432428A (en) * 2016-01-22 2016-03-30 福建师范大学福清分校 ARM-based water-saving irrigation intelligent system and implementation method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331639A (en) * 2014-12-01 2015-02-04 中国矿业大学 Indirect soil moisture content obtaining and rapid evaluation method
CN104731137A (en) * 2015-02-10 2015-06-24 成都君禾天成科技有限公司 Information collection system used for collecting farmland environment data
CN105432428A (en) * 2016-01-22 2016-03-30 福建师范大学福清分校 ARM-based water-saving irrigation intelligent system and implementation method thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BENEZIT F, THIRAN P, VETTERLI M: "Interval consensus: From quantized gossip to voting", 《IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL》 *
DRAIEF M, VOJNOVIC M: "Convergence speed of binary interval consensus", 《PROCEEDINGS-IEEE INFOCOM》 *
安桂武: "《白城年鉴 2013》", 31 March 2014 *
王邵军: "《武夷山土壤动物群落生态特征及功能研究》", 30 April 2015 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113412777A (en) * 2021-06-23 2021-09-21 安徽维诚水务科技有限公司 Water conservation management and control system based on data acquisition

Similar Documents

Publication Publication Date Title
CN106718695B (en) A kind of intelligent water-saving irrigation Internet of Things network control system
CN105830870B (en) A kind of long distance wireless farmland monitoring system and method
Kavianand et al. Smart drip irrigation system for sustainable agriculture
CN102550374B (en) Crop irrigation system combined with computer vision and multi-sensor
CN205301934U (en) Industrialized agriculture thing networking environment measurement and control device
CN205389816U (en) Long -range accurate irrigation system of solar energy based on thing networking
CN208044371U (en) Greenhouse information monitoring system based on agriculture technology of Internet of things
CN105389663B (en) Farmland irrigation intelligent decision making system and method
CN110741914A (en) Rice field automatic water-saving irrigation system and method based on recurrent neural network
CN201640121U (en) Irrigation system
CN105494033B (en) A kind of intelligent water-saving irrigation method based on crop demand
CN110514248B (en) Intelligent and automatic agricultural data acquisition system based on big data
CN105897912A (en) Intelligent irrigation system and working method thereof
CN115633622A (en) Intelligent orchard irrigation system and method
CN108009935A (en) A kind of water-saving irrigation decision system
CN204302705U (en) A kind of low-consumption wireless harvester towards greenhouse monitoring
CN203672411U (en) Crop agricultural condition monitoring device
CN204409155U (en) Green house intelligent irrigation control device
CN207798833U (en) A kind of soil acidity or alkalinity automatic detection device based on agriculture Internet of Things
Barik et al. Smart agriculture using wireless sensor monitoring network powered by solar energy
CN108522232A (en) A kind of lawn automatic irrigation system based on cloud computing
CN207995738U (en) A kind of novel agricultural temperature and humidity intelligent adjusting device
Shabbir et al. A review of iot based automated irrigation system using solar power
CN205066824U (en) Agricultural information collection system
CN207440093U (en) A kind of portable soil humidity detector

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180508