Disclosure of Invention
The invention provides an Internet of things-based farmland intelligent irrigation system which comprises a crop growth characteristic database, a data acquisition mechanism, an alarm unit, a cloud end, a background service unit, a mobile terminal, a monitoring interface, an irrigation main control unit and an irrigation execution mechanism.
The technical scheme of the invention is as follows:
an intelligent farmland irrigation system based on the Internet of things comprises:
a crop growth characteristic database storing growth characteristic data of crops;
the data acquisition mechanism is used for detecting the environment data of the farmland;
the alarm unit is electrically connected with the data acquisition mechanism;
the cloud end is in wireless communication connection with the database and the data acquisition mechanism, can acquire detection data of the data acquisition mechanism, and transfers crop growth characteristic data according to the current farmland crop variety to form cloud end data;
the background service unit is connected with the cloud end and used for storing and analyzing cloud end data and generating an irrigation operation instruction based on a multi-sensor information fusion algorithm;
the mobile terminal is in wireless communication connection with the background service unit and can acquire an irrigation operation instruction;
the monitoring interface is connected with the output end of the background service unit and is used for displaying an irrigation operation instruction;
the irrigation main control unit is in wireless communication connection with the background service unit and the mobile terminal respectively;
and the irrigation executing mechanism is electrically connected with the irrigation main control unit.
Preferably, the wireless communication connection comprises any one or more of GPRS, WIFI, 4G and 5G communication.
Preferably, the data acquisition mechanism comprises a temperature detection unit, a humidity detection unit and an illumination detection unit;
the temperature detection unit is a plurality of temperature sensors arranged in an array;
the humidity detection unit is a plurality of humidity sensors arranged in an array;
the illumination detection unit is a plurality of illumination sensors arranged in an array.
Preferably, the irrigation actuator comprises:
a main motor;
a secondary motor;
the main pump is in transmission connection with the main motor;
the auxiliary pump is in transmission connection with the auxiliary motor;
the water outlet pipeline is communicated with the water outlet ends of the main pump and the auxiliary pump;
a plurality of irrigation devices connected in parallel to each other on the water outlet pipeline;
the irrigation well and the reservoir are communicated through a water inlet pipeline at the water inlet ends of the main pump and the auxiliary pump, an auxiliary pressure release valve is arranged at the position where the water outlet pipeline is communicated with the irrigation device, and a main pressure release valve is arranged at the water outlet end of the water outlet pipeline, which is close to the main pump and the auxiliary pump.
Preferably, the irrigation device comprises:
a base;
the supporting frame is rotatably supported on the base;
the spray head is detachably connected with one end of the support frame, can rotate 360 degrees along with the support frame and is communicated with the water outlet pipeline;
the controller, it and support frame and auxiliary relief valve electric connection can adjust the rotation rate of support frame and the spray pressure of shower head according to irrigation operation instruction.
Preferably, the system further comprises a pressure sensor arranged on a water outlet pipeline of the main pressure relief valve, which is far away from the water outlet ends of the main pump and the auxiliary pump.
Preferably, the irrigation water circulation system further comprises:
a drainage channel for collecting excess irrigation water;
the sedimentation tank is communicated with the drainage channel;
the circulating motor is connected with the irrigation main control unit;
the water inlet end of the circulating pump is communicated with the sedimentation tank through a water inlet pipe, and the water outlet end of the circulating pump is communicated with the water storage tank through a water outlet pipe and is in transmission connection with a circulating motor;
wherein, the water inlet end of the circulating pump is provided with a filter, and the sedimentation tank is provided with a water level sensor.
Preferably, the multi-sensor information fusion algorithm includes:
respectively carrying out threshold segmentation on the temperature detection data, the humidity detection data and the illumination detection data, deleting interference data, and then carrying out normalization processing;
respectively calculating the variance and the total mean square error of temperature detection data, humidity detection data and illumination detection data to obtain a function equation of the total mean square error relative to the weight of the sensor, and analyzing the function equation to obtain a temperature state model, a humidity state model and an illumination state model so as to obtain a state value of the detection data;
establishing a prediction model based on a BP neural network algorithm, wherein the input layer of the prediction model is a state value and a target humidity, and the output layer of the prediction model is irrigation density and irrigation time;
and acquiring the state value of the measured data in real time, calling the target humidity required by the current crop growth, inputting the target humidity into a prediction model to obtain the irrigation density and the irrigation time, and generating an irrigation operation instruction.
An intelligent farmland irrigation method based on the Internet of things comprises the following steps:
the data acquisition mechanism acquires detection data of the sensors and uploads the detection data to the cloud end through wireless communication;
the cloud retrieves the growth characteristic data of the current crops from the crop growth characteristic database according to the current crop varieties to obtain the target humidity;
the background service unit performs homogeneous fusion on the detection data to obtain a state value, inputs the state value and the target humidity into a prediction model to obtain irrigation density and irrigation time, generates an irrigation instruction and issues the irrigation instruction to a monitoring interface and the mobile terminal;
the irrigation main control unit obtains an irrigation instruction and calculates the rotation speed and the spraying pressure of the support frame of the irrigation device according to the irrigation instruction;
the mobile terminal confirms to execute the irrigation instruction;
the irrigation executing mechanism controls the irrigation device to execute farmland irrigation according to the rotating speed and the spraying pressure.
Preferably, the method further comprises sending alarm information to the mobile terminal when the detection data exceeds a threshold value.
The invention has the beneficial effects that:
1. according to the invention, the target humidity is obtained by acquiring the farmland environment data and calling the crop growth characteristic data, the irrigation operation instruction is obtained by analyzing and fusing the data, and the irrigation execution mechanism is controlled to carry out spray irrigation, so that the humidity environment suitable for crop growth is met, the working intensity of operators is reduced, and the water resource is saved.
2. According to the intelligent farmland irrigation system based on the Internet of things, the rotation angle and the spraying pressure of the irrigation device are controlled according to the irrigation operation instruction, so that the irrigation is uniform and efficient, scientific irrigation is facilitated, and the performance of the intelligent farmland irrigation system based on the Internet of things is optimized.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "in" and the like refer to directions or positional relationships based on those shown in the drawings, which are for convenience of description only, and do not indicate or imply that a device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; may be a mechanical connection; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
As shown in fig. 1, an intelligent farmland irrigation system based on the internet of things includes a data acquisition mechanism 100, crop growth characteristic data 200, a cloud 300, a background service unit 400, a monitoring interface 500, a mobile terminal 600, an irrigation main control unit 700, anirrigation execution mechanism 800 and an alarm unit 900.
The crop growth characteristic database 200 stores growth characteristic data of crops, the data acquisition mechanism 100 is used for detecting environment data of a farmland, the alarm unit 900 is electrically connected with the data acquisition mechanism 100, the cloud 300 is in wireless communication connection with the database 200 and the data acquisition mechanism 100 and can acquire detection data of the data acquisition mechanism and call the crop growth characteristic data according to current farmland crop varieties to form cloud data, the background service unit 400 is connected with the cloud 300 and is used for storing and analyzing the cloud data and generating irrigation operation instructions based on a multi-sensor information fusion algorithm, the mobile terminal 600 is in wireless communication connection with the background service unit 400 and can acquire the irrigation operation instructions, the monitoring interface 500 is connected with the output end of the background service unit 400 and is used for displaying the irrigation operation instructions, and the irrigation main control unit 700 is in wireless communication connection with the background service unit 400 and the mobile terminal 600 respectively, theirrigation actuator 800 is electrically connected to the irrigation main control unit 700.
Preferably, the illumination sensor is installed in the air 3-8m away from the farmland, and the temperature sensor and the humidity sensor are installed in the air 1-20cm below the ground or in the air 1-2m away from the farmland.
The multi-sensor information fusion algorithm comprises the following steps:
and respectively carrying out threshold segmentation on the temperature detection data, the humidity detection data and the illumination detection data, deleting the interference data, and then carrying out normalization processing to eliminate the influence of dimension and magnitude between variables.
Wherein,
denotes the normalized value, x
iRepresenting the detected value, x
minRepresenting the minimum detection value, x
maxRepresenting the maximum detection value.
Respectively calculating the variance and the total mean square error of temperature detection data, humidity detection data and illumination detection data to obtain a function equation of the total mean square error relative to the weight of the sensor, and analyzing the function equation to obtain a temperature state model, a humidity state model and an illumination state model so as to obtain a state value of the detection data;
wherein the state estimation value satisfies
And the weight satisfies
The total mean square error is then:
since the detection values are independent of each other and are unbiased estimates of a, an unbiased estimate of a is obtained
E=[(a-ai)(a-aj)]=0,(i,j=1,2…n,i≠j);
The total mean square error can be obtained:
according to the theory of extreme value of multivariate function, the current value can be obtained
And then, establishing a state model according to the corresponding minimum mean square error:
wherein,
representing a sensor state value, a
iRepresenting sensor measurements, p
iRepresenting sensor weight, i representing sensor, S
2Representing the total mean square error, n representing the number of sensors,
having the advantage of viewing state estimation, delta
2The variance is indicated.
Establishing a prediction model based on a BP neural network algorithm, wherein the input layer of the prediction model is a state value and a target humidity, and the output layer of the prediction model is irrigation density and irrigation time;
and acquiring the state value of the measured data in real time, calling the target humidity required by the current crop growth, inputting the target humidity into a prediction model to obtain the irrigation density and the irrigation time, and generating an irrigation operation instruction.
In order to accurately acquire farmland environment detection data, a plurality of sensors are arranged to monitor various environmental factors in real time, a temperature sensor, a humidity sensor and an illumination sensor are arranged on each node to acquire detection values of the sensors, the acquired similar sensor data are firstly grouped, then local self-adaptive weighted fusion is carried out on each group of data, and then the data of the similar sensors are fused by a self-adaptive weighted fusion algorithm to obtain an optimal fusion result. The self-adaptive fusion process is to calculate the variance of the initial measurement value of each sensor, calculate the total mean square error, and multiply the obtained optimal weight by the initial value to obtain the optimal fusion result.
The heterogeneous sensor adopts a BP neural network algorithm to analyze data, has high speed and high precision, and is beneficial to realizing the accurate regulation and control of an irrigation system.
Preferably, the alarm unit 900 includes a buzzer and an LED warning light set. Real-time acousto-optic combination alarm is carried out through the buzzer and the LED alarm lamp set, and a good alarm effect is achieved.
Specifically, the wireless communication connection includes any one or more of GPRS, WIFI, 4G, and 5G communications. By adopting the wireless communication modes for transmission and feedback, the wireless communication system has the characteristic of diversification and is convenient to use.
Specifically, the data acquisition mechanism 100 comprises a temperature detection unit 110, a humidity detection unit 120 and an illumination detection unit 130, wherein the temperature detection unit 110 is a plurality of temperature sensors 111-11 n arranged in an array, the humidity detection unit 120 is a plurality of humidity sensors 121-12 m arranged in an array, and the illumination detection unit 130 is a plurality of illumination sensors 131-13 k arranged in an array.
Specifically, theirrigation actuator 800 includes a primary motor 810, a secondary motor 820, a primary pump 811, a secondary pump 812, a water outlet conduit, a plurality ofirrigation devices 830, an irrigation well 830, and awater reservoir 840.
The main pump 811 is in transmission connection with the main motor 810, the auxiliary pump 821 is in transmission connection with the auxiliary motor 820, the water outlet pipeline is communicated with the water outlet ends of the main pump 811 and the auxiliary pump 821, and the plurality ofirrigation devices 830 are connected in parallel with one another on the water outlet pipeline.
The water inlet ends of the main pump 811 and the auxiliary pump 821 are communicated with the irrigation well 830 and thereservoir 840 through a water inlet pipeline, an auxiliarypressure relief valve 822 is arranged at the position where the water outlet pipeline is communicated with the irrigation device, and a main pressure relief valve 812 is arranged at the water outlet end of the water outlet pipeline close to the main pump and the auxiliary pump.
Specifically,irrigation device 830 includes a base, a support bracket 831, a showerhead 832, and a controller 833. Support frame 831 rotatable support is on the base, and shower head 832 can dismantle connection support frame 831 one end to can be along with the 360 rotations of support frame, and with outlet pipe UNICOM, controller 833 and support frame 831 andsupplementary relief valve 822 electric connection can adjust the rotation rate of support frame 831 and the pressure that sprays of shower head 832 according to irrigation operation instruction.
Further, theirrigation executing mechanism 800 further includes a pressure sensor disposed on the water outlet pipeline of the main pressure relief valve, which is far away from the water outlet ends of the main pump and the auxiliary pump. The pressure sensor can monitor the pressure of the water outlet pipeline at any time, so that the main control unit can give an alarm and open the main pressure release valve when the pressure of the water outlet pipeline exceeds the set pressure, and the water outlet pipeline is safely monitored and protected.
Further, theirrigation actuator 800 further comprises an irrigation water circulation system, and the irrigation water circulation system comprises acirculation motor 851, a circulation pump 852, a sedimentation tank 854 and a drainage channel 855. The drain 855 is used for collecting unnecessary irrigation water, and the sedimentation tank 845 and the drain UNICOM, the irrigation main control unit is connected to circulatingmotor 851, and circulating pump 852 is gone into the water end and is linked together via inlet tube and sedimentation tank 854, and the play water end is linked together via outlet pipe andcistern 850, and is connected with the circulating motor transmission, still including setting up theend filter 853 that entries at circulating pump 852 and setting up at sedimentation tank 854 level sensor 854 a.
Irrigation water is collected to the sedimentation tank through blowdown canal, through the sediment after, filters, recycles water pump to cistern to realize recycling, thereby saves the water resource.
As shown in fig. 2, an intelligent farmland irrigation method based on the internet of things comprises the following steps:
s110, acquiring detection data of a plurality of sensors by a data acquisition mechanism, and uploading the detection data to a cloud end through wireless communication;
s120, the cloud retrieves the growth characteristic data of the current crop from the crop growth characteristic database according to the current crop variety to obtain the target humidity;
s130, the background service unit performs homogeneous fusion on the detection data to obtain a state value, inputs the state value and the target humidity into a prediction model to obtain irrigation density and irrigation time, generates an irrigation instruction and issues the irrigation instruction to a monitoring interface and the mobile terminal;
s140, the irrigation main control unit obtains an irrigation instruction and calculates the rotation speed and the spraying pressure of the support frame of the irrigation device according to the irrigation instruction;
s150, the mobile terminal confirms to execute the irrigation instruction;
and S160, controlling the irrigation device to irrigate the farmland by the irrigation executing mechanism according to the rotating speed and the spraying pressure.
Further, the method further comprises the step of sending alarm information to the mobile terminal when the detection data exceed the threshold value.
The above descriptions are only examples of the present invention, and common general knowledge of known specific structures, characteristics, and the like in the schemes is not described herein too much, and it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Without departing from the invention, several changes and modifications can be made, which should also be regarded as the protection scope of the invention, and these will not affect the effect of the invention and the practicality of the patent.