CN109548634B - An intelligent irrigation method based on LABVIEW - Google Patents
An intelligent irrigation method based on LABVIEW Download PDFInfo
- Publication number
- CN109548634B CN109548634B CN201811650884.XA CN201811650884A CN109548634B CN 109548634 B CN109548634 B CN 109548634B CN 201811650884 A CN201811650884 A CN 201811650884A CN 109548634 B CN109548634 B CN 109548634B
- Authority
- CN
- China
- Prior art keywords
- water evaporation
- per
- water
- irrigation
- temperature
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01G—HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
- A01G25/00—Watering gardens, fields, sports grounds or the like
- A01G25/16—Control of watering
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01G—HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
- A01G25/00—Watering gardens, fields, sports grounds or the like
- A01G25/16—Control of watering
- A01G25/167—Control by humidity of the soil itself or of devices simulating soil or of the atmosphere; Soil humidity sensors
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Water Supply & Treatment (AREA)
- Environmental Sciences (AREA)
- Soil Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种基于LABVIEW的智能灌溉方法。The invention relates to an intelligent irrigation method based on LABVIEW.
背景技术Background technique
我国是农业生产大国,农业是国民经济的根本,农业具有对象多样、分散、地域广阔等特点,因此在大多数情况下农业数据信息的获取非常困难。随着物联网技术的快速发展,将其应用在农业系统中具有广阔的应用前景。通过农业物联网技术可以有效节约人力资源并降低人对农田环境的影响,获取精准的作物环境和作物信息。由于我国农业现代化起步较晚,造成我国的整体农业灌溉技术水平较低,环境监测条件较差,灌溉信息的采集、处理过程都很单一,迫切需要在技术上进一步改进和提高。因此,如何利用自动控制系统有效地灌溉,以提高灌溉控制精度,是目前我国亟需研究的重要课题之一,对提高我国农业现代化水平有着重大的意义。my country is a big country in agricultural production, and agriculture is the foundation of the national economy. Agriculture has the characteristics of diverse objects, scattered, and broad regions. Therefore, it is very difficult to obtain agricultural data and information in most cases. With the rapid development of the Internet of Things technology, its application in agricultural systems has broad application prospects. The agricultural Internet of Things technology can effectively save human resources and reduce the impact of people on the farmland environment, and obtain accurate crop environment and crop information. Due to the late start of my country's agricultural modernization, my country's overall agricultural irrigation technology level is relatively low, environmental monitoring conditions are poor, and the collection and processing of irrigation information is very simple. It is urgent to further improve and improve technology. Therefore, how to use the automatic control system to effectively irrigate to improve the precision of irrigation control is one of the important topics that needs to be studied urgently in our country, and it is of great significance to improve the level of agricultural modernization in our country.
发明内容SUMMARY OF THE INVENTION
鉴于现有技术的缺点,本发明的目的在于提供一种基于LABVIEW的智能灌溉方法,该方法步骤如下:In view of the shortcomings of the prior art, the object of the present invention is to provide a kind of intelligent irrigation method based on LABVIEW, and the method steps are as follows:
步骤一,通过温度传感器采集大气温度、土壤温度,采用LABVIEW软件和数据库技术实现数据存储和管理;Step 1: Collect atmospheric temperature through a temperature sensor , soil temperature , using LABVIEW software and database technology to achieve data storage and management;
步骤二,采用LABVIEW软件和网络爬虫技术,获取天气信息,自适应设置温度传感器每小时采样次数和水分蒸发量的预估时间;Step 2: Use LABVIEW software and web crawler technology to obtain weather information, and adaptively set the sampling times of the temperature sensor per hour and estimated time of water evaporation ;
步骤三,建立大气温度、土壤温度与每亩地水分蒸发量之间的模型,确定模型参数,预估将来时间内水分蒸发量,每亩地水分蒸发量的模型为:Step 3, establish the atmospheric temperature , soil temperature and water evaporation per mu between models, determine model parameters, estimate future time Internal water evaporation, water evaporation per mu The model is:
其中,为常数,通过实验数据,采用曲线拟合方法确定常数,即把大气温度、土壤温度与每亩地水分蒸发量的多组实验数据,代入每亩地水分蒸发量的模型,在坐标系中标注进行曲线拟合,得到常数,其中每亩地水分蒸发量由灌溉量和容水量变化的实验数据计算;in, is a constant, and the constant is determined by curve fitting method through experimental data , the atmospheric temperature , soil temperature Substitute into the model of water evaporation per mu with multiple sets of experimental data of water evaporation per mu, and mark it in the coordinate system to perform curve fitting to obtain constants. , in which the evaporation of water per mu is calculated from the experimental data of changes in irrigation and water capacity;
步骤四,根据大气温度、土壤温度,计算每亩地水分蒸发量,然后计算时间内灌溉量,控制阀门精确灌溉,灌溉量计算公式如下:Step 4, according to the atmospheric temperature , soil temperature , calculate the water evaporation per mu of land , then calculate the time Internal irrigation , Control valve precise irrigation, irrigation amount Calculated as follows:
其中,分别为灌溉面积和每亩地目标容水量。in, are the irrigated area and the target water capacity per mu, respectively.
综上所述,本发明提出一种基于LABVIEW的智能灌溉方法,该方法通过天气情况自适应调整传感器采样频率和水分蒸发量的预估时间,有效提高系统运行效率。预测水分蒸发量既保证农作物适当的水量,又能节约用水。水分蒸发量的模型参数利用历史实验数据拟合得到,准确且实现简单,可操作性好。To sum up, the present invention proposes an intelligent irrigation method based on LABVIEW, which adaptively adjusts the sampling frequency of the sensor and the estimated time of water evaporation through weather conditions, thereby effectively improving the operating efficiency of the system. Predicting water evaporation not only ensures the proper amount of water for crops, but also saves water. The model parameters of water evaporation are obtained by fitting historical experimental data, which is accurate, simple to implement, and easy to operate.
附图说明Description of drawings
图1为本发明实施例的流程图。FIG. 1 is a flowchart of an embodiment of the present invention.
具体实施方式Detailed ways
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地实施。The following describes the embodiments of the present invention through specific specific examples, and those skilled in the art can easily implement the contents disclosed in this specification.
本发明的目的在于提供一种基于LABVIEW的智能灌溉方法,流程如图1所示,具体的步骤如下:The object of the present invention is to provide a kind of intelligent irrigation method based on LABVIEW, and the flow chart is as shown in Figure 1, and the concrete steps are as follows:
步骤一,通过温度传感器采集大气温度、土壤温度,采用LABVIEW软件和数据库技术实现数据存储和管理,具体操作方法如下:Step 1: Collect atmospheric temperature through a temperature sensor , soil temperature , using LABVIEW software and database technology to achieve data storage and management, the specific operation methods are as follows:
①在LABVIEW软件中,首先通过ADO Create.vi, 创建一个连接对象,然后利用ADOConnection Open.vi建立与数据库的连接;②利用ADO Recordset Create.vi创建一个记录对象,然后利用ADO Recordset Open.vi 打开对象,并同时利用SQL查询命令获得数据库表中的全部或部分记录;③通过功能选择按钮来选择控制对数据库查询、添加、删除、修改;④利用ADO Recordest Close.vi和ADO Recordest Connection.vi,关闭数据库。①In LABVIEW software, first create a connection object through ADO Create.vi, and then use ADOConnection Open.vi to establish a connection with the database; ②Use ADO Recordset Create.vi to create a record object, and then use ADO Recordset Open.vi to open object, and at the same time use SQL query commands to obtain all or part of the records in the database table; ③ select and control the database query, add, delete, and modify through the function selection button; ④ use ADO Recordest Close.vi and ADO Recordest Connection.vi, Close the database.
步骤二,采用LABVIEW软件和网络爬虫技术,获取天气信息,自适应设置温度传感器采样次数和水分蒸发量的预估时间。Labview的HTML对象库提供了大量的对象,这些对象和HTML标记相对应,借助ITHMLElement函数的“inner Text”属性将网页数据存储为字符串类型数据,获得网页数据。根据天气信息,自适应设置传感器每小时采样次数和水分蒸发量的预估时间。若天气为晴,设置水分蒸发量的预估时间为30分钟;若天气为阴,设置水分蒸发量的预估时间为60分钟;若天气为雨,设置水分蒸发量的预估时间为90分钟。若大气温度传感器采集的最新2次温度相差10度以上,设置传感器采样次数为3次/小时;若大气温度传感器采集的最新2次温度相差5-10度,设置传感器采样次数为2次/小时;若大气温度传感器采集的最新2次温度相差5度以下,设置传感器采样次数为1次/小时。Step 2: Use LABVIEW software and web crawler technology to obtain weather information and adaptively set the sampling times of the temperature sensor and estimated time of water evaporation . Labview's HTML object library provides a large number of objects, which correspond to HTML tags. With the help of the "inner Text" attribute of the ITHMLElement function, the web page data is stored as string type data to obtain web page data. According to the weather information, adaptively set the sampling times of the sensor per hour and estimated time of water evaporation . If the weather is sunny, set the estimated time for water evaporation is 30 minutes; if the weather is overcast, set the estimated time for water evaporation 60 minutes; if the weather is rainy, set the estimated time for water evaporation for 90 minutes. If the difference between the latest two temperatures collected by the atmospheric temperature sensor is more than 10 degrees, set the number of sensor sampling It is 3 times/hour; if the difference between the latest 2 temperatures collected by the atmospheric temperature sensor is 5-10 degrees, set the sampling times of the sensor It is 2 times per hour; if the difference between the latest 2 temperatures collected by the atmospheric temperature sensor is less than 5 degrees, set the sampling times of the sensor 1 time/hour.
步骤三,建立大气温度、土壤温度与每亩地水分蒸发量之间的模型,确定模型参数,预估将来时间内水分蒸发量,每亩地水分蒸发量的模型为:Step 3, establish the atmospheric temperature , soil temperature and water evaporation per mu between models, determine model parameters, estimate future time Internal water evaporation, water evaporation per mu The model is:
其中,为常数,通过实验数据拟合得到,具体方法如下:常数利用实验数据,采用曲线拟合方法确定,根据记录的实验数据,选取10组大气温度、土壤温度、灌溉量,其中灌溉量需要转换成水分蒸发量,水分蒸发量由灌溉量和容水量变化的实验数据计算。最后在坐标系中将10组数据标注进行曲线拟合,然后利用上述公式得到。in, is a constant, obtained by fitting the experimental data, the specific method is as follows: constant Using the experimental data, the curve fitting method is used to determine it. According to the recorded experimental data, 10 groups of atmospheric temperature are selected. , soil temperature , irrigation amount, in which the irrigation amount needs to be converted into water evaporation, and the water evaporation is calculated from the experimental data of the changes of irrigation amount and water capacity. Finally, 10 groups of data are marked in the coordinate system for curve fitting, and then the above formula is used to obtain .
步骤四,根据大气温度、土壤温度,计算每亩地水分蒸发量,然后计算时间内灌溉量,控制阀门精确灌溉,灌溉量计算公式如下:Step 4, according to the atmospheric temperature , soil temperature , calculate the water evaporation per mu of land , then calculate the time Internal irrigation , Control valve precise irrigation, irrigation amount Calculated as follows:
其中,分别为灌溉面积和每亩地目标容水量,面积单位为亩,注意每亩地目标容水量需要减掉已经有的水量。in, They are the irrigation area and the target water capacity per mu, and the unit of area is mu. Note that the target water capacity per mu needs to be subtracted from the existing water.
综上所述,本发明提出一种基于LABVIEW的智能灌溉方法,该方法通过天气情况自适应调整传感器采样频率和水分蒸发量的预估时间,有效提高系统运行效率。预测水分蒸发量既保证农作物适当的水量,又能节约用水。水分蒸发量的模型参数利用历史实验数据拟合得到,准确且实现简单,可操作性好。本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。To sum up, the present invention proposes an intelligent irrigation method based on LABVIEW, which adaptively adjusts the sampling frequency of the sensor and the estimated time of water evaporation through weather conditions, thereby effectively improving the operating efficiency of the system. Predicting water evaporation not only ensures the proper amount of water for crops, but also saves water. The model parameters of water evaporation are obtained by fitting historical experimental data, which is accurate, simple to implement, and easy to operate. The invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811650884.XA CN109548634B (en) | 2018-12-31 | 2018-12-31 | An intelligent irrigation method based on LABVIEW |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811650884.XA CN109548634B (en) | 2018-12-31 | 2018-12-31 | An intelligent irrigation method based on LABVIEW |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109548634A CN109548634A (en) | 2019-04-02 |
| CN109548634B true CN109548634B (en) | 2021-06-15 |
Family
ID=65872388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811650884.XA Expired - Fee Related CN109548634B (en) | 2018-12-31 | 2018-12-31 | An intelligent irrigation method based on LABVIEW |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109548634B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110692500B (en) * | 2019-10-10 | 2021-06-29 | 北京农业智能装备技术研究中心 | Tidal seedling culture calibration and irrigation device and method |
| CN114287320A (en) * | 2021-10-26 | 2022-04-08 | 绿城建设管理集团有限公司 | Root cliff stone cultivation system and method |
| CN114860011A (en) * | 2022-05-26 | 2022-08-05 | 沈磊 | Intelligent agricultural system based on big data |
| CN114982608B (en) * | 2022-06-21 | 2024-03-26 | 江苏满江春城市规划设计研究有限责任公司 | Accurate irrigation system for cavernous plants in sponge city |
| CN119422846B (en) * | 2024-12-13 | 2025-06-03 | 华能江苏综合能源服务有限公司 | Photovoltaic power generation-based tea garden automatic irrigation control system and method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104521699A (en) * | 2014-11-18 | 2015-04-22 | 华北水利水电大学 | Field intelligent irrigation on-line control management method |
| CN106557658A (en) * | 2016-11-10 | 2017-04-05 | 水利部交通运输部国家能源局南京水利科学研究院 | Irrigation requirement computing system and its method under a kind of climate change background |
| CN106613783A (en) * | 2016-10-20 | 2017-05-10 | 河北农业大学 | Universal intelligent irrigation system and control method thereof |
| CN106718695A (en) * | 2017-01-04 | 2017-05-31 | 吉林省沃特管业有限公司 | A kind of intelligent water-saving irrigates Internet of Things network control system |
| CN108575673A (en) * | 2018-01-17 | 2018-09-28 | 中国农业科学院农业资源与农业区划研究所 | Drought-hit area crop irrigation fertilizing method based on same day Weather Forecast Information and system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7403840B2 (en) * | 2002-04-19 | 2008-07-22 | Irrisoft, Inc. | Irrigation control system |
| US8200368B2 (en) * | 2008-12-10 | 2012-06-12 | Rain Bird Corporation | Automatically adjusting irrigation controller with temperature and rainfall sensor |
| NL1038146C2 (en) * | 2010-08-02 | 2012-02-06 | Priva B V | CASH, FIELD, CROP, METHOD, WATERING SYSTEM AND CONTROL SYSTEM FOR ADMINISTRATION OF MOISTURE TO A CROP. |
| CN103954411A (en) * | 2014-05-14 | 2014-07-30 | 宁波工程学院 | Water pressure detecting device and method in drainage pipe |
| CN105794605B (en) * | 2016-05-30 | 2019-01-22 | 重庆云晖科技有限公司 | intelligent water-saving irrigation method and system |
-
2018
- 2018-12-31 CN CN201811650884.XA patent/CN109548634B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104521699A (en) * | 2014-11-18 | 2015-04-22 | 华北水利水电大学 | Field intelligent irrigation on-line control management method |
| CN106613783A (en) * | 2016-10-20 | 2017-05-10 | 河北农业大学 | Universal intelligent irrigation system and control method thereof |
| CN106557658A (en) * | 2016-11-10 | 2017-04-05 | 水利部交通运输部国家能源局南京水利科学研究院 | Irrigation requirement computing system and its method under a kind of climate change background |
| CN106718695A (en) * | 2017-01-04 | 2017-05-31 | 吉林省沃特管业有限公司 | A kind of intelligent water-saving irrigates Internet of Things network control system |
| CN108575673A (en) * | 2018-01-17 | 2018-09-28 | 中国农业科学院农业资源与农业区划研究所 | Drought-hit area crop irrigation fertilizing method based on same day Weather Forecast Information and system |
Non-Patent Citations (2)
| Title |
|---|
| 三温模型———基于表面温度测算蒸散和评价环境质量的方法Ⅰ .土壤蒸发;邱国玉 等;《植物生态学报》;20060228;第30卷(第2期);第231-238页 * |
| 基于LabVIEW的设施农业环境参数采集系统研究;金文忻;《农业开发与装备》;20181130(第11期);第96-97页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109548634A (en) | 2019-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109548634B (en) | An intelligent irrigation method based on LABVIEW | |
| CN108446997B (en) | A kind of Crop Water-saving Technology irrigation decision method and TT&C system based on Multi-source Information Fusion | |
| CN104521699A (en) | Field intelligent irrigation on-line control management method | |
| CN108958329B (en) | Drip irrigation water and fertilizer integrated intelligent decision-making method | |
| Jiongxin | The water fluxes of the Yellow River to the sea in the past 50 years, in response to climate change and human activities | |
| CN107169276B (en) | Method for determination of amount and device are adopted in a kind of underground water control | |
| CN109582755A (en) | A kind of precision agriculture database implementation method based on grid | |
| CN109596811B (en) | Agricultural drought monitoring method based on soil water shortage | |
| CN115125903A (en) | Automatic irrigation and drainage management method for field integrated gate based on water demand prediction | |
| US20240419134A1 (en) | Integrated recommendation method and system for salt-controlled irrigation and fertilization based on knowledge graph | |
| CN112100130B (en) | Massive remote sensing variable multi-dimensional aggregation information calculation method based on data cube model | |
| CN115685799A (en) | A digital twin remote control method and platform for informatization of ecological irrigation areas | |
| WO2022156221A1 (en) | Crop seeding depth intelligent decision-making system and method, storage medium and device | |
| Chellaswamy et al. | An IoT based dam water management system for agriculture | |
| CN114792274A (en) | Layout method for artificial vegetation construction in arid region and mountain land | |
| Kindler et al. | Water conservation potential of modified turf grass irrigation in urban parks of Phoenix, Arizona | |
| Ilampooranan et al. | Crops as sensors: Using crop yield data to increase the robustness of hydrologic and biogeochemical models | |
| CN118036785A (en) | Model training method, model training device, storage medium, and electronic device | |
| Cao et al. | Variation in curve numbers derived from plot runoff data for New South Wales (Australia) | |
| Martinson et al. | Water stress patterns of xerophytic plants in an urban landscape | |
| CN117204319A (en) | An intelligent and efficient water-saving irrigation method and system | |
| CN120595609B (en) | Irrigation pipeline system optimization design method based on data analysis | |
| Qiu et al. | Study on spatial model of land use based on CA-Markov Model after returning cropland to forest | |
| CN115062967A (en) | High-standard farmland road accessibility assessment method, path planning method and system | |
| CN115270465A (en) | A watershed distributed hydrological simulation method considering soil conditioning methods |
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 | ||
| CB03 | Change of inventor or designer information |
Inventor after: Luo Zaifei Inventor after: He Jinbao Inventor before: He Jinbao |
|
| CB03 | Change of inventor or designer information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210615 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |



















































