[go: up one dir, main page]

CN110308708A - Controlled Environment Agricultural Evaluation and Optimization Device - Google Patents

Controlled Environment Agricultural Evaluation and Optimization Device Download PDF

Info

Publication number
CN110308708A
CN110308708A CN201910643154.5A CN201910643154A CN110308708A CN 110308708 A CN110308708 A CN 110308708A CN 201910643154 A CN201910643154 A CN 201910643154A CN 110308708 A CN110308708 A CN 110308708A
Authority
CN
China
Prior art keywords
optimization device
pin
evaluation
module
cpu
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
CN201910643154.5A
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.)
Xian Technological University
Original Assignee
Xian Technological University
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 Xian Technological University filed Critical Xian Technological University
Priority to CN201910643154.5A priority Critical patent/CN110308708A/en
Publication of CN110308708A publication Critical patent/CN110308708A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32252Scheduling production, machining, job shop

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Greenhouses (AREA)

Abstract

本发明公开了一种可控环境农业评估优化装置,涉及物联网技术领域;本发明通过设计可控环境采集装置实现对指定温室环境空气、土壤、水质等一系列参数的采集预估,通过研发WEB云端服务平台、PC上位机软件实现参数异常的声音、颜色等多种报警及曲线评估分析,通过手机APP实现对指定温室环境的远程调控、手自动调控的多种控制方式及优化处理。通过SQL技术完成历史数据的备份存储。本发明以STM32L431作为可控环境农业采集控制装置硬件平台,扩展传感器模块、液晶显示模块、数据通信模块等功能模块,配合PC上位机软件优化装置、WEB云端服务平台、手机APP使用。实时性好,环境参数采集、传输、控制通信平均误码率不超过0.1%,数据平均更新时延不超过200ms;同步性高,数据上传平均时延不超过100ms。

The invention discloses a controllable environment agricultural evaluation and optimization device, which relates to the technical field of Internet of Things; the invention realizes the collection and estimation of a series of parameters such as air, soil and water quality in a designated greenhouse environment by designing a controllable environment collection device. The WEB cloud service platform and PC host computer software can realize various alarms such as abnormal parameters, such as sound and color, and curve evaluation and analysis. Through the mobile phone APP, the remote control of the designated greenhouse environment, manual automatic control, and various control methods and optimization processing can be realized. Complete the backup storage of historical data through SQL technology. The invention uses STM32L431 as the hardware platform of the controllable environment agricultural acquisition control device, expands the sensor module, the liquid crystal display module, the data communication module and other functional modules, and is used in conjunction with the PC upper computer software optimization device, the WEB cloud service platform, and the mobile APP. Good real-time performance, the average bit error rate of environmental parameter collection, transmission, and control communication does not exceed 0.1%, and the average data update delay does not exceed 200ms; the synchronization is high, and the average data upload delay does not exceed 100ms.

Description

可控环境农业评估优化装置Controlled Environment Agricultural Evaluation and Optimization Device

技术领域technical field

本发明涉及物联网技术领域,具体是一种可控环境农业评估优化装置。The invention relates to the technical field of Internet of Things, in particular to a controllable environment agricultural evaluation and optimization device.

背景技术Background technique

设施农业,是在环境相对可控条件下,采用工程技术手段,进行动植物高效生产的一种现代农业方式。设施农业涵盖设施种植、设施养殖和设施食用菌等。Facility agriculture is a modern agricultural method that uses engineering technology to efficiently produce animals and plants under relatively controllable conditions. Facility agriculture covers facility planting, facility farming and facility edible fungi.

在国际的称谓上,欧洲、日本等通常使用“设施农业(Protected Agriculture)”这一概念,美国等通常使用“可控环境农业(Controlled Environmental Agriculture)”一词。In terms of international appellation, the concept of "Protected Agriculture" is usually used in Europe and Japan, and the term "Controlled Environmental Agriculture" is usually used in the United States.

目前我国已基本实现了各个行业的自动化控制替代了大量的人力,将人很好的解放出来,但是农业的自动化还是实现的不好,我国是农业大国,但农场经济很少,大多都是小农户,这样使得农业自动化更难实现。目前市场上农业环境的监测系统比较单一,多数为单一环境参数监控。不能全面的采集农业环境参数。对于环境的控制局限于常见的温湿度等参数。对于土壤的温湿度及酸碱度的控制方面欠缺。而土壤温湿度及酸碱度对于作物的生长具有至关重要的作用。现有技术只是做了环境部分参数的采集,对采集的数据只是做了传统意义上的简单上下阈值的判断。农作物的最佳生长环境是随着时间逐渐变化的,但在作物生长环境的动态掌控已有技术未能达到最佳效果。At present, our country has basically realized that the automation control of various industries has replaced a large number of manpower and liberated people very well, but the automation of agriculture is still not well realized. my country is a big agricultural country, but the farm economy is very small, and most of them are small Farmers, this makes agricultural automation more difficult to achieve. At present, the monitoring systems of agricultural environment on the market are relatively simple, and most of them are monitoring of a single environmental parameter. Agro-environmental parameters cannot be collected comprehensively. The control of the environment is limited to common parameters such as temperature and humidity. Lack of control over soil temperature, humidity and pH. Soil temperature, humidity and pH play a crucial role in the growth of crops. The prior art only collects some parameters of the environment, and only judges the upper and lower thresholds in the traditional sense for the collected data. The optimal growing environment of crops changes gradually over time, but the existing technologies for dynamic control of the growing environment of crops fail to achieve the best results.

发明内容SUMMARY OF THE INVENTION

为解决上述问题,本发明提供了一种可控环境农业评估优化装置,实现了对农业生长环境的动态掌控,以时间间隔为单位动态采集与调控指定作物至最佳生长环境。针对不同作物对环境参数进行划分,以空气、土壤、水质、光照为四大前提进行多方位参数采集评估。针对当前环境进行不同的资源调控,可有效保证资源的合理配置及农业环境的采集预估分析。通过构建专家知识库,进行合理化的评估并给出资源分配的建议从而达到经济与生态环境的最优化,实现能源的最大化利用,极大的提高了工作效率和环境数据的实时掌控,资源的合理配置利用。In order to solve the above problems, the present invention provides a controllable environment agricultural evaluation and optimization device, which realizes the dynamic control of the agricultural growth environment, and dynamically collects and adjusts the designated crops to the optimal growth environment in units of time intervals. The environmental parameters are divided for different crops, and the multi-directional parameter collection and evaluation are carried out on the basis of the four premise of air, soil, water quality and light. Different resource regulation according to the current environment can effectively ensure the reasonable allocation of resources and the collection, prediction and analysis of the agricultural environment. By building an expert knowledge base, making rational assessments and giving suggestions on resource allocation, the optimization of the economy and the ecological environment can be achieved, the maximum utilization of energy can be achieved, and the work efficiency and real-time control of environmental data can be greatly improved. Reasonable allocation and utilization.

为达到以上目的,本发明可以通过以下技术方案实现:To achieve the above object, the present invention can be achieved through the following technical solutions:

一种可控环境农业评估优化装置,包括环境可控装置和评估优化装置,所述环境可控装置包括CPU模块、数据采集模块、无线通信模块、控制模块、系统时钟模块、液晶显示模块和电源模块,所述各个模块均与所述CPU模块连接;所述评估优化装置包括PC上位机,所述环境可控装置将检测到的环境数据通过RS485串口通信传输至PC上位机,对环境指标进行评估并优化处理;PC上位机通过远程同步实时将环境参数同步至WEB云服务平台并反馈至手机终端;所述CPU模块选用STM32L431。A controllable environment agricultural evaluation and optimization device, comprising an environment controllable device and an evaluation and optimization device, the environment controllable device includes a CPU module, a data acquisition module, a wireless communication module, a control module, a system clock module, a liquid crystal display module and a power supply module, each of the modules is connected with the CPU module; the evaluation and optimization device includes a PC host computer, and the environment controllable device transmits the detected environmental data to the PC host computer through RS485 serial communication, and conducts environmental indicators. Evaluate and optimize the processing; the PC host computer synchronizes the environmental parameters to the WEB cloud service platform in real time through remote synchronization and feeds back to the mobile terminal; the CPU module selects STM32L431.

进一步的,所述无线通信模块采用SI4432,SI4432的VDD接3.3V电源,SD0引脚接SPI1的MOSI,SDI引脚接SPI1的MISO,SCLK引脚接SPI1的SCLK。Further, the wireless communication module adopts SI4432, VDD of SI4432 is connected to 3.3V power supply, SD0 pin is connected to MOSI of SPI1, SDI pin is connected to MISO of SPI1, and SCLK pin is connected to SCLK of SPI1.

进一步的,所述数据串口通信模块采用MAX485芯片,MAX485芯片的引脚VCC接5V电源,引脚GND接地,TI引脚接CPU的TXD1引脚,SE和RE级联连接485DIR控制引脚,RO接CPU的RXD1引脚,A和B引脚与阻值大小为25欧姆的电阻相连,与后级电路构成标准的485通信接口。Further, the data serial communication module adopts the MAX485 chip, the pin VCC of the MAX485 chip is connected to the 5V power supply, the pin GND is grounded, the TI pin is connected to the TXD1 pin of the CPU, SE and RE are cascaded to connect the 485DIR control pin, RO Connect to the RXD1 pin of the CPU, and the A and B pins are connected to a resistor with a resistance value of 25 ohms to form a standard 485 communication interface with the subsequent circuit.

进一步的,所述LCD显示模块选用LCD12864,其VCC和GND分别接电路的5V和GND,在VO引脚挂接一个滑动变阻器调节LCD液晶屏的亮度,在VCC与GND之间挂接一个104电容实现均衡滤波;RS与RE分别接CPU的普通IO引脚实现对液晶的控制显示;其RW接地,对于LCD而言是写数据,DB0-DB7顺次连接CPU的PB0-PB7的I/O;BL+与BL-表示背光的正电源与负电源依次接5V与GND。Further, the LCD display module selects LCD12864, its VCC and GND are respectively connected to 5V and GND of the circuit, a sliding rheostat is connected to the VO pin to adjust the brightness of the LCD screen, and a 104 capacitor is connected between VCC and GND. Realize balanced filtering; RS and RE are respectively connected to the ordinary IO pins of the CPU to realize the control and display of the liquid crystal; its RW is grounded, which is to write data for the LCD, and DB0-DB7 are connected to the I/O of PB0-PB7 of the CPU in sequence; BL+ and BL- indicate that the positive power and negative power of the backlight are connected to 5V and GND in turn.

进一步的,数据存储模块24CL64的SCL引脚接CPU的PB10,SDA引脚接CPU的PB11,通过IIC协议对数据进行读写控制;VDD接3.3V,GND接电路的地,在SCL与SDA引脚分别挂接一个上拉电阻。Further, the SCL pin of the data storage module 24CL64 is connected to the PB10 of the CPU, the SDA pin is connected to the PB11 of the CPU, and the data is read and written through the IIC protocol; VDD is connected to 3.3V, and GND is connected to the ground of the circuit. Each pin is connected to a pull-up resistor.

进一步的,所述声光报警模块BUZZ接CPU的PB12,LED接CPU的PB13,通过对二极管的通断控制实现对蜂鸣器与LED的控制。Further, the sound and light alarm module BUZZ is connected to the PB12 of the CPU, and the LED is connected to the PB13 of the CPU, and the buzzer and the LED are controlled by the on-off control of the diode.

进一步的,所述可控环境农业评估优化装置设置在大棚生态系统中,在所述大棚生态系统中引入土培植物、水培植物以及鱼类,三者和可控环境农业评估优化装置形成一个互利共生的生态循环。Further, the controllable environment agricultural evaluation and optimization device is set in the greenhouse ecosystem, and soil culture plants, hydroponic plants and fish are introduced into the greenhouse ecosystem, and the three and the controllable environment agricultural evaluation and optimization device form one. A mutually beneficial ecological cycle.

进一步的,所述数据采集模块包括空气参数监控系统,包括MQ-135、MQ-2、MQ-5、MQ-7、DHT11、GP2Y1014AU0F传感器。Further, the data acquisition module includes an air parameter monitoring system, including MQ-135, MQ-2, MQ-5, MQ-7, DHT11, GP2Y1014AU0F sensors.

进一步的,所述数据采集模块包括水质参数监控系统,包括E-201-C、XKC-Y25-MC、电导率传感器、水温传感器、浊度传感器、溶氧量传感器。Further, the data acquisition module includes a water quality parameter monitoring system, including E-201-C, XKC-Y25-MC, conductivity sensor, water temperature sensor, turbidity sensor, and dissolved oxygen sensor.

进一步的,所述数据采集模块包括土壤参数监控系统,包括酸碱度传感器,土壤温湿度传感器。Further, the data acquisition module includes a soil parameter monitoring system, including a pH sensor and a soil temperature and humidity sensor.

与现有技术相比,本发明的优点是:Compared with the prior art, the advantages of the present invention are:

1、本装置包含了四大监测功能,可通过对空气、水、土壤、光照的参数采集及分析预估,实现整个“生态系统”的监测;环境可控装置采集到的数据自动汇总并传输到上位机,与最优数据对比分析,进而得到系统内动植物生长状态曲线,通过构建的专家知识库,从而更为合理的改变人工生态环境的组成成分,优化环境使系统效益最大化,减少农业中产生的各种污染(农药、化肥等)。1. This device includes four monitoring functions, which can monitor the entire "ecosystem" through the collection, analysis and estimation of parameters of air, water, soil, and light; the data collected by the environmental controllable device is automatically summarized and transmitted. Go to the host computer, compare and analyze with the optimal data, and then obtain the growth state curve of animals and plants in the system. Through the construction of the expert knowledge base, the composition of the artificial ecological environment can be changed more reasonably, and the environment can be optimized to maximize system benefits and reduce All kinds of pollution (pesticides, fertilizers, etc.) produced in agriculture.

2、本装置可实现分类采集:本发明可通过设备装置同时监测多种环境参数,采用无线自组网的方式实现多节点的同时掌控;可有效的将当前温室环境参数实时掌控,便于预估处理。2. The device can realize classified collection: the present invention can simultaneously monitor various environmental parameters through equipment devices, and realize the simultaneous control of multiple nodes by means of a wireless ad hoc network; it can effectively control the current greenhouse environmental parameters in real time, which is convenient for estimation deal with.

3、本装置可实现预估处理:本发明可通过研发的PC上位机对前端采集的数据进行分析,将控制命令传输给下位机自动控制装置,进行自动控制;同时用户手机也可收到来自各传感器的数据;因此,用户可以根据当前的数据实况,通过手机APP发送控制命令进行半自动控制。3. The device can realize estimation processing: the present invention can analyze the data collected by the front end through the developed PC host computer, and transmit the control command to the automatic control device of the lower computer for automatic control; The data of each sensor; therefore, the user can send control commands through the mobile phone APP for semi-automatic control according to the current data.

4、本装置可实现优化决策:本发明可通过研发的PC上位机实现进行数据分析之后,将结果通过短信的形式发送到用户手机或上传至WEB云服务平台,实现评估功能;提醒用户作物的实时生长状态,对分析后的各组数据再次进行比较分析,与理论实际值作对比,得到更为优化的参数,用户在下次种植过程中对生态系统内部结构进行调整以得到最大的经济效益,实现优化功能。4. The device can realize optimal decision-making: the present invention can realize data analysis through the developed PC host computer, and then send the results to the user's mobile phone or upload it to the WEB cloud service platform in the form of a short message to realize the evaluation function; Real-time growth status, compare and analyze each group of data after analysis, and compare with the theoretical actual value to obtain more optimized parameters. The user can adjust the internal structure of the ecosystem in the next planting process to obtain the greatest economic benefits. Implement optimization functions.

本发明与现有技术相比较,本发明的可控环境农业评估优化装置,将物联网与智能控制技术相结合,实现多分类采集、专家知识的评估优化处理,从而达到资源的最大化利用,经济效益的最大化。为可控环境农业提供有力的发挥空间。Compared with the prior art, the controllable environment agricultural evaluation and optimization device of the present invention combines the Internet of Things and intelligent control technology to realize multi-classification collection and evaluation and optimization of expert knowledge, so as to maximize the utilization of resources, Maximize economic benefits. Provide a powerful space for controlled environment agriculture.

附图说明Description of drawings

图1为本发明实施例提供的一种可控环境农业评估优化装置及方法整体实现框图;1 is a block diagram of an overall implementation of a controllable environment agricultural evaluation and optimization device and method provided by an embodiment of the present invention;

图2为图1中无线模块的电路连接图;Fig. 2 is the circuit connection diagram of the wireless module in Fig. 1;

图3为图1中RS485串口通信模块的电路连接图;Fig. 3 is the circuit connection diagram of the RS485 serial port communication module in Fig. 1;

图4为图1中液晶显示模块的电路连接图;Fig. 4 is the circuit connection diagram of the liquid crystal display module in Fig. 1;

图5为图1中存储模块的电路连接图;Fig. 5 is the circuit connection diagram of the memory module in Fig. 1;

图6为图1中声光报警模块的电路连接图;Fig. 6 is the circuit connection diagram of the sound and light alarm module in Fig. 1;

图7为图1中评估优化系统软件设计框图;Fig. 7 is the software design block diagram of the evaluation and optimization system in Fig. 1;

图8为图1中评估优化系统的空气参数监控设计架构图;Fig. 8 is the air parameter monitoring design structure diagram of the evaluation and optimization system in Fig. 1;

图9为图1中评估优化系统的水质参数监控设计架构图;Fig. 9 is the design structure diagram of the water quality parameter monitoring of the evaluation and optimization system in Fig. 1;

图10为图1中评估优化系统的土壤参数监控设计架构图。FIG. 10 is a schematic diagram of the soil parameter monitoring design architecture of the evaluation and optimization system in FIG. 1 .

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参照图1,本发明实施例中提供了一种可控环境农业评估优化装置,旨在改善资源的最大化利用,极大的提高了工作效率。该装置由可控环境农业采集装置、PC上位机软件优化装置、WEB云服务平台、手机APP等一整套完备的服务装置。Referring to FIG. 1 , an embodiment of the present invention provides a controllable environment agricultural evaluation and optimization device, which aims to improve the maximum utilization of resources and greatly improve work efficiency. The device consists of a complete set of service devices such as a controllable environment agricultural collection device, a PC upper computer software optimization device, a WEB cloud service platform, and a mobile APP.

本实例中说的“生态系统”,是指温室大棚的小型生长环境。The "ecosystem" mentioned in this example refers to a small growing environment in a greenhouse.

本发明设计的一种可控环境农业评估优化装置主要实现对“生态系统”的监测、预估、优化。以保障控制与预估优化为一体的农业管理。主要包括可控环境农业分类采集装置、预估处理装置、优化决策装置组成。A controllable environment agricultural evaluation and optimization device designed by the present invention mainly realizes monitoring, estimation and optimization of the "ecological system". Agricultural management that integrates security control and forecast optimization. It mainly includes a controllable environment agricultural classification collection device, an estimation processing device, and an optimization decision-making device.

所述的可控环境农业采集装置主要通过图1中的CPU模块作为可控环境农业评估优化装置的环境参数监控采集主控器,选用STM32L431作为CPU模块的核心,STM32L431低功耗、运行速率方面的突出优势也提高了数据处理速度,提高了整个系统的传输速率。同时可嵌入多任务管理机制的小型轻量级RT-Thread物联网操作系统,承担“采集”+“通信”+“显示”+“低功耗”等几大任务,实现整个系统安全稳定地运行。通过图1中的拨码开关为各个节点设定ID,实现各节点的编码功能,监测节点主要针对不同应用领域有不同的传感器及连接方式。The controllable environment agricultural collection device mainly uses the CPU module in Figure 1 as the environmental parameter monitoring and collection master controller of the controllable environment agricultural evaluation and optimization device, and selects STM32L431 as the core of the CPU module. STM32L431 has low power consumption and running speed. The outstanding advantages also improve the data processing speed and improve the transmission rate of the whole system. At the same time, a small and lightweight RT-Thread IoT operating system that can be embedded with a multi-task management mechanism undertakes several major tasks such as "collection" + "communication" + "display" + "low power consumption" to realize the safe and stable operation of the entire system . The DIP switches in Figure 1 are used to set IDs for each node to realize the encoding function of each node. The monitoring nodes mainly have different sensors and connection methods for different application fields.

参考图2,所述无线通信模块采用SI4432,SI4432的VDD接3.3V电源,SD0引脚接SPI1的MOSI,SDI引脚接SPI1的MISO,SCLK引脚接SPI1的SCLK。通过SPI1配置SI4432模块实现各个节点与协调器之间的正常通信;2, the wireless communication module adopts SI4432, VDD of SI4432 is connected to 3.3V power supply, SD0 pin is connected to MOSI of SPI1, SDI pin is connected to MISO of SPI1, and SCLK pin is connected to SCLK of SPI1. Configure the SI4432 module through SPI1 to achieve normal communication between each node and the coordinator;

参照图3,所述数据串口通信模块采用MAX485芯片,MAX485芯片的引脚VCC接5V电源,引脚GND接地,TI引脚接CPU的TXD1引脚,SE和RE级联连接485DIR控制引脚,RO接CPU的RXD1引脚,A和B引脚与阻值大小为25欧姆的电阻相连,与后级电路构成标准的485通信接口。实现监测数据与PC上位机软件的数据交互;Referring to Figure 3, the data serial communication module adopts the MAX485 chip, the pin VCC of the MAX485 chip is connected to the 5V power supply, the pin GND is grounded, the TI pin is connected to the TXD1 pin of the CPU, and the SE and RE are cascaded to connect the 485DIR control pin. RO is connected to the RXD1 pin of the CPU, and the A and B pins are connected to a resistor with a resistance value of 25 ohms, forming a standard 485 communication interface with the subsequent circuit. Realize the data interaction between monitoring data and PC software;

参照图4,所述LCD显示模块实现LCD12864能够占据更少的I/O端口,其中VCC和GND分别接电路的5V和GND,在VO引脚挂接一个滑动变阻器调节LCD液晶屏的亮度,在VCC与GND之间挂接一个104电容实现均衡滤波。RS与RE分别接CPU的普通IO引脚实现对液晶的控制显示。其中RW接地,对于LCD而言是写数据,DB0-DB7顺次连接CPU的PB0-PB7的I/O。BL+与BL-表示背光的正电源与负电源依次接5V与GND;Referring to Figure 4, the LCD display module realizes that LCD12864 can occupy fewer I/O ports, wherein VCC and GND are respectively connected to 5V and GND of the circuit, and a sliding rheostat is connected to the VO pin to adjust the brightness of the LCD screen. Connect a 104 capacitor between VCC and GND to achieve balanced filtering. RS and RE are respectively connected to the common IO pins of the CPU to realize the control and display of the liquid crystal. Among them, RW is grounded, which is write data for LCD, and DB0-DB7 are connected to the I/O of PB0-PB7 of CPU in sequence. BL+ and BL- indicate that the positive power and negative power of the backlight are connected to 5V and GND in turn;

参照图5,数据存储模块24CL64的SCL引脚接CPU的PB10,SDA引脚接CPU的PB11,通过IIC协议对数据进行读写控制。VDD接3.3V,GND接电路的地,在SCL与SDA引脚分别挂接一个上拉电阻,便于将电平拉高;主要用于报警阈值等相关参数;5, the SCL pin of the data storage module 24CL64 is connected to the PB10 of the CPU, the SDA pin is connected to the PB11 of the CPU, and the data is read and written through the IIC protocol. VDD is connected to 3.3V, GND is connected to the ground of the circuit, and a pull-up resistor is connected to the SCL and SDA pins respectively, which is convenient to pull the level up; it is mainly used for related parameters such as alarm threshold;

参照图6,所述声光报警模块BUZZ接CPU的PB12,LED接CPU的PB13,通过对二极管的通断控制实现对蜂鸣器与LED的控制;6, the sound and light alarm module BUZZ is connected to the PB12 of the CPU, and the LED is connected to the PB13 of the CPU, and the buzzer and the LED are controlled by the on-off control of the diode;

参照图7,所述一种可控环境农业评估优化装置及方法的软件设计:首先是通过各个传感器进行数据的采集,将采集到的数据通过无线收发模块传递给上位机,同时通过LCD显示屏进行显示,上位机对数据进行分析,将控制命令传输给下位机自动控制系统,进行自动控制,用户手机也可收到来自各传感器的数据,因此,用户可以根据数据的情况通过手机APP发送控制命令进行半自动控制。进行数据分析之后,将通过短信的形式发送到用户手机,实现评估功能,提醒用户作物的生长状态,对分析后的各组数据再次进行比较分析,与理论实际值作对比就可得到更为优化的参数,用户在下次种植过程中对生态环境内部结构进行调整以得到最大的经济效益;Referring to Figure 7, the software design of the controllable environment agricultural evaluation and optimization device and method: firstly, data is collected through various sensors, and the collected data is transmitted to the host computer through the wireless transceiver module, and at the same time through the LCD display screen. Display, the upper computer analyzes the data, and transmits the control command to the lower computer automatic control system for automatic control, and the user's mobile phone can also receive data from each sensor. Therefore, the user can send the control through the mobile APP according to the data situation. command for semi-automatic control. After the data analysis, it will be sent to the user's mobile phone in the form of SMS to realize the evaluation function and remind the user of the growth status of the crops. parameters, the user adjusts the internal structure of the ecological environment in the next planting process to obtain the greatest economic benefits;

参照图8,所述可控环境农业评估优化装置的空气参数监控设计架构:大棚内部空气环境的所有数据,由MQ-135、MQ-2、MQ-5、MQ-7、DHT11、GP2Y1014AU0F等传感器采集大棚内部环境的数据,传输到系统主机,系统经过分析处理后将信号传输至上位机然后控制相关设备做出相应措施,并且将数据保存来进行评估、优化功能。通过这一套系统让大棚内部环境的各项参数都达到种植者想要的数据;Referring to FIG. 8 , the air parameter monitoring design structure of the controllable environment agricultural evaluation and optimization device: all data of the air environment inside the greenhouse is determined by sensors such as MQ-135, MQ-2, MQ-5, MQ-7, DHT11, GP2Y1014AU0F, etc. Collect the data of the internal environment of the greenhouse and transmit it to the system host. After analysis and processing, the system transmits the signal to the upper computer, then controls the relevant equipment to take corresponding measures, and saves the data for evaluation and optimization functions. Through this system, the parameters of the internal environment of the greenhouse can reach the data that the growers want;

参照图9,所述可控环境农业评估优化装置的水质参数监控设计架构:要求水要进行循环使用,系统中养殖鱼,带有鱼粪的池水接着被引用灌溉蔬菜,之后的废水净化后再用来养鱼。那么在废水净化环节和开始的水养殖就要需要E-201-C、XKC-Y25-MC、电导率传感器、水温传感器、浊度传感器、溶氧量传感器等来测量水中各种参数的数据,然后发送到装置CPU,CPU分析处理后将信号传输至上位机然后控制相关设备做出相应措施,并且将数据保存来进行评估、优化功能;Referring to Figure 9, the water quality parameter monitoring design framework of the controllable environment agricultural evaluation and optimization device: the water is required to be recycled, fish are cultured in the system, and the pond water with fish manure is then used to irrigate vegetables, and then the wastewater is purified and then reused. used to raise fish. Then E-201-C, XKC-Y25-MC, conductivity sensor, water temperature sensor, turbidity sensor, dissolved oxygen sensor, etc. are needed to measure the data of various parameters in the water in the process of wastewater purification and the beginning of aquaculture. Then it is sent to the device CPU, and the CPU analyzes and processes the signal and transmits the signal to the upper computer, then controls the relevant equipment to take corresponding measures, and saves the data for evaluation and optimization functions;

参照图10,所述可控环境农业评估优化装置的土壤参数监控设计架构:土壤检测模块中,采用酸碱度传感器,土壤温湿度传感器等来对土壤各种参数进行数据采集,然后传输装置CPU,CPU分析处理后将信号传输至上位机然后控制相关设备做出相应措施,并且将数据保存来进行评估、优化功能。Referring to Figure 10, the soil parameter monitoring design architecture of the controllable environment agricultural evaluation and optimization device: in the soil detection module, a pH sensor, a soil temperature and humidity sensor, etc. are used to collect data on various soil parameters, and then the transmission device CPU, CPU After analysis and processing, the signal is transmitted to the upper computer, and then the related equipment is controlled to take corresponding measures, and the data is saved for evaluation and optimization functions.

通过实验测试,极大的提高了农业工作人员的工作效率和环境数据的实时掌控,为实现设备的自动调控,保证为农业工作人员提供便捷人性化数据服务,保障农作物良好适宜的生长环境,达到增产增收、提高品质提供了可行性基础范例。Through the experimental test, the work efficiency of agricultural staff and the real-time control of environmental data have been greatly improved. In order to realize the automatic control of equipment, it is guaranteed to provide convenient and user-friendly data services for agricultural staff, and to ensure a good and suitable growth environment for crops. Increasing production, increasing income, and improving quality provide a basic example of feasibility.

尽管已描述了本发明的优选实施例,但本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Although the preferred embodiments of the present invention have been described, various changes and modifications can be made by those skilled in the art without departing from the spirit and scope of the inventions. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (10)

1.一种可控环境农业评估优化装置,其特征在于,包括环境可控装置和评估优化装置,所述环境可控装置包括CPU模块、数据采集模块、无线通信模块、控制模块、系统时钟模块、液晶显示模块和电源模块,所述各个模块均与所述CPU模块连接;所述评估优化装置包括PC上位机,所述环境可控装置将检测到的环境数据通过RS485串口通信传输至PC上位机,对环境指标进行评估并优化处理;PC上位机通过远程同步实时将环境参数同步至WEB云服务平台并反馈至手机终端;所述CPU模块选用STM32L431。1. a controllable environment agricultural evaluation and optimization device, is characterized in that, comprises environment controllable device and evaluation optimization device, described environment controllable device comprises CPU module, data acquisition module, wireless communication module, control module, system clock module , a liquid crystal display module and a power supply module, each of which is connected to the CPU module; the evaluation and optimization device includes a PC host computer, and the environment controllable device transmits the detected environmental data to the PC host computer through RS485 serial communication The computer is used to evaluate and optimize the environmental indicators; the PC host computer synchronizes the environmental parameters to the WEB cloud service platform in real time through remote synchronization and feeds them back to the mobile terminal; the CPU module selects STM32L431. 2.根据权利要求1所述可控环境农业评估优化装置,其特征在于,所述无线通信模块采用SI4432,SI4432的VDD接3.3V电源,SD0引脚接SPI1的MOSI,SDI引脚接SPI1的MISO,SCLK引脚接SPI1的SCLK。2. The controllable environment agricultural evaluation and optimization device according to claim 1 is characterized in that, the wireless communication module adopts SI4432, the VDD of SI4432 is connected to 3.3V power supply, the SDO pin is connected to the MOSI of SPI1, and the SDI pin is connected to the SPI1. MISO, the SCLK pin is connected to the SCLK of SPI1. 3.根据权利要求1或2所述可控环境农业评估优化装置,其特征在于,所述数据串口通信模块采用MAX485芯片,MAX485芯片的引脚VCC接5V电源,引脚GND接地,TI引脚接CPU的TXD1引脚,SE和RE级联连接485DIR控制引脚,RO接CPU的RXD1引脚,A和B引脚与阻值大小为25欧姆的电阻相连,与后级电路构成标准的485通信接口。3. The controllable environment agricultural evaluation and optimization device according to claim 1 or 2, wherein the data serial communication module adopts a MAX485 chip, the pin VCC of the MAX485 chip is connected to a 5V power supply, the pin GND is grounded, and the TI pin is connected to the ground. Connect the TXD1 pin of the CPU, SE and RE are cascaded to connect the 485DIR control pin, RO is connected to the RXD1 pin of the CPU, and the A and B pins are connected to a resistor with a resistance value of 25 ohms, forming a standard 485 ohm with the subsequent circuit. Communication Interface. 4.根据权利要求3所述可控环境农业评估优化装置,其特征在于,所述LCD显示模块选用LCD12864,其VCC和GND分别接电路的5V和GND,在VO引脚挂接一个滑动变阻器调节LCD液晶屏的亮度,在VCC与GND之间挂接一个104电容实现均衡滤波;RS与RE分别接CPU的普通IO引脚实现对液晶的控制显示;其RW接地,对于LCD而言是写数据,DB0-DB7顺次连接CPU的PB0-PB7的I/O;BL+与BL-表示背光的正电源与负电源依次接5V与GND。4. according to the described controllable environment agricultural evaluation and optimization device of claim 3, it is characterized in that, described LCD display module selects LCD12864, and its VCC and GND are respectively connected with 5V and GND of the circuit, and a sliding rheostat is connected at the VO pin to adjust For the brightness of the LCD screen, connect a 104 capacitor between VCC and GND to achieve balanced filtering; RS and RE are respectively connected to the ordinary IO pins of the CPU to control and display the LCD; its RW is grounded, which is for writing data to the LCD. , DB0-DB7 are connected to the I/O of PB0-PB7 of the CPU in sequence; BL+ and BL- indicate that the positive and negative power supplies of the backlight are connected to 5V and GND in turn. 5.根据权利要求4所述可控环境农业评估优化装置,其特征在于,数据存储模块24CL64的SCL引脚接CPU的PB10,SDA引脚接CPU的PB11,通过IIC协议对数据进行读写控制;VDD接3.3V,GND接电路的地,在SCL与SDA引脚分别挂接一个上拉电阻。5. according to the described controllable environment agricultural evaluation and optimization device of claim 4, it is characterized in that, the SCL pin of data storage module 24CL64 connects the PB10 of CPU, the SDA pin connects the PB11 of CPU, carries out read-write control to data by IIC protocol ; VDD is connected to 3.3V, GND is connected to the ground of the circuit, and a pull-up resistor is connected to the SCL and SDA pins respectively. 6.根据权利要求5所述可控环境农业评估优化装置,其特征在于,所述声光报警模块BUZZ接CPU的PB12,LED接CPU的PB13,通过对二极管的通断控制实现对蜂鸣器与LED的控制。6. The controllable environment agricultural evaluation and optimization device according to claim 5, wherein the sound and light alarm module BUZZ is connected to the PB12 of the CPU, and the LED is connected to the PB13 of the CPU, and the buzzer is realized by the on-off control of the diode. Control with LED. 7.根据权利要求1-6所述的可控环境农业评估优化装置,其特征在于,所述可控环境农业评估优化装置设置在大棚生态系统中,在所述大棚生态系统中引入土培植物、水培植物以及鱼类,三者和可控环境农业评估优化装置形成一个互利共生的生态循环。7. The controllable environment agricultural evaluation and optimization device according to claim 1-6, wherein the controllable environment agricultural evaluation and optimization device is arranged in a greenhouse ecosystem, and soil cultured plants are introduced into the greenhouse ecosystem , hydroponic plants and fish, the three and the controllable environment agricultural evaluation and optimization device form a mutually beneficial ecological cycle. 8.根据权利要求7所述的可控环境农业评估优化装置,其特征在于,所述数据采集模块包括空气参数监控系统,包括MQ-135、MQ-2、MQ-5、MQ-7、DHT11、GP2Y1014AU0F传感器。8. The controllable environment agricultural evaluation and optimization device according to claim 7, wherein the data acquisition module comprises an air parameter monitoring system, including MQ-135, MQ-2, MQ-5, MQ-7, DHT11 , GP2Y1014AU0F sensor. 9.根据权利要求8所述的可控环境农业评估优化装置,其特征在于,所述数据采集模块包括水质参数监控系统,包括E-201-C、XKC-Y25-MC、电导率传感器、水温传感器、浊度传感器、溶氧量传感器。9. The controllable environment agricultural evaluation and optimization device according to claim 8, wherein the data acquisition module comprises a water quality parameter monitoring system, including E-201-C, XKC-Y25-MC, conductivity sensor, water temperature Sensors, Turbidity Sensors, Dissolved Oxygen Sensors. 10.根据权利要求9所述的可控环境农业评估优化装置,其特征在于,所述数据采集模块包括土壤参数监控系统,包括酸碱度传感器,土壤温湿度传感器。10 . The controllable environment agricultural evaluation and optimization device according to claim 9 , wherein the data acquisition module includes a soil parameter monitoring system, including a pH sensor and a soil temperature and humidity sensor. 11 .
CN201910643154.5A 2019-07-17 2019-07-17 Controlled Environment Agricultural Evaluation and Optimization Device Pending CN110308708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910643154.5A CN110308708A (en) 2019-07-17 2019-07-17 Controlled Environment Agricultural Evaluation and Optimization Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910643154.5A CN110308708A (en) 2019-07-17 2019-07-17 Controlled Environment Agricultural Evaluation and Optimization Device

Publications (1)

Publication Number Publication Date
CN110308708A true CN110308708A (en) 2019-10-08

Family

ID=68081452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910643154.5A Pending CN110308708A (en) 2019-07-17 2019-07-17 Controlled Environment Agricultural Evaluation and Optimization Device

Country Status (1)

Country Link
CN (1) CN110308708A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020038785A1 (en) * 2000-10-03 2002-04-04 Takachiho Corp. Method and system for managing water system habitat environment
US20120290114A1 (en) * 2011-05-12 2012-11-15 General Electric Company System and method for cycle time visualization
CN108614534A (en) * 2018-05-29 2018-10-02 安徽润航农业科技开发有限公司 A kind of greenhouse Internet of Things monitoring management system
CN108633815A (en) * 2018-04-28 2018-10-12 西安绿云智通生态工程有限公司 A kind of cultivation of indoor ecological, plantation(Water shield)Cogeneration system
CN108737985A (en) * 2018-05-29 2018-11-02 广州巨时信息科技有限公司 Reading intelligent agriculture monitoring system based on NB-IoT
CN109122015A (en) * 2018-06-01 2019-01-04 福建省农业科学院 A kind of efficient circulation eco-agricuhure system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020038785A1 (en) * 2000-10-03 2002-04-04 Takachiho Corp. Method and system for managing water system habitat environment
US20120290114A1 (en) * 2011-05-12 2012-11-15 General Electric Company System and method for cycle time visualization
CN108633815A (en) * 2018-04-28 2018-10-12 西安绿云智通生态工程有限公司 A kind of cultivation of indoor ecological, plantation(Water shield)Cogeneration system
CN108614534A (en) * 2018-05-29 2018-10-02 安徽润航农业科技开发有限公司 A kind of greenhouse Internet of Things monitoring management system
CN108737985A (en) * 2018-05-29 2018-11-02 广州巨时信息科技有限公司 Reading intelligent agriculture monitoring system based on NB-IoT
CN109122015A (en) * 2018-06-01 2019-01-04 福建省农业科学院 A kind of efficient circulation eco-agricuhure system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕志刚等: "《基于C#的温室大棚ScareCrow云平台设计与实现》", 《电子技术与软件工程》 *

Similar Documents

Publication Publication Date Title
US8643495B2 (en) Internet of things based farm greenhouse monitor and alarm management system
CN204653414U (en) The assessment of a kind of Penaeus Vannmei factorial seedling growth Environmental security and prior-warning device
CN105491168A (en) Application service platform standard embedded system based on agricultural Internet of Things
CN204065824U (en) Agricultural greenhouse intelligent control device based on internet of things
CN203705893U (en) Intelligent greenhouse-management system based on Internet of Things
CN204576316U (en) A kind of greenhouse intelligent control system
CN103763516A (en) Livestock breeding intelligent management system based on internet-of-things and high-definition camera shooting integrated gateway
CN103823437A (en) Aquaculture intelligent control system with portable monitoring device
CN205719060U (en) A kind of intelligent greenhouse wireless acquisition device
CN202818381U (en) Agricultural spray and drip irrigation system based on wireless sensing network and cloud computing
Zhang et al. Design and development of IoT monitoring equipment for open livestock environment
CN203799236U (en) Embedded type Zigbee monitoring node and greenhouse factor monitoring system
CN203324785U (en) Prawn factorization breeding environment remote online monitoring system based on internet of things
CN205093309U (en) Fertile irrigation system is given in agricultural feedwater
CN202854581U (en) Intelligent portable agriculture data acquisition and decision-making monitoring device
CN204155129U (en) Wisdom seedling greenhouse integration collection system
CN209002233U (en) A kind of agricultural Internet of Things low cost low-power consumption overlength distance wireless transmitting system
CN203299610U (en) Automatic CO2 monitor system of greenhouse
CN110308708A (en) Controlled Environment Agricultural Evaluation and Optimization Device
CN106527550A (en) Environmental monitoring system for facility strawberry cultivation
CN214586469U (en) Goat Breeding Monitoring and Management System Based on Internet of Things
CN104317274A (en) Agriculture cultivation environment monitoring and controlling system
CN203719728U (en) Farm irrigation reservoir liquid level real-time monitoring device
CN204856085U (en) Monitored control system of milk cow plant
CN211349518U (en) A monitoring alarm for fruit tree planting

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191008