祁力钧, 杜政伟, 冀荣华, 吴亚垒, 曹军琳. 基于GPRS的远程控制温室自动施药系统设计[J]. 农业工程学报, 2016, 32(23): 51-57. DOI: 10.11975/j.issn.1002-6819.2016.23.007
    引用本文: 祁力钧, 杜政伟, 冀荣华, 吴亚垒, 曹军琳. 基于GPRS的远程控制温室自动施药系统设计[J]. 农业工程学报, 2016, 32(23): 51-57. DOI: 10.11975/j.issn.1002-6819.2016.23.007
    Qi Lijun, Du Zhengwei, Ji Ronghua, Wu Yalei, Cao Junlin. Design of remote control system for automatic sprayer based on GPRS in greenhouse[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2016, 32(23): 51-57. DOI: 10.11975/j.issn.1002-6819.2016.23.007
    Citation: Qi Lijun, Du Zhengwei, Ji Ronghua, Wu Yalei, Cao Junlin. Design of remote control system for automatic sprayer based on GPRS in greenhouse[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2016, 32(23): 51-57. DOI: 10.11975/j.issn.1002-6819.2016.23.007

    基于GPRS的远程控制温室自动施药系统设计

    Design of remote control system for automatic sprayer based on GPRS in greenhouse

    • 摘要: 针对温室环境施药劳动强度大,药雾对操作人员的健康影响严重的问题,该文研究开发了一种在温室(或温室群)中基于GPRS通信技术和集散控制原理的远程控制自动施药系统。采用多线程技术和socket编程技术设计了弥雾机远程管理系统软件,用户指令基于GPRS网络在上位机端与弥雾机端之间传输。根据弥雾机的不同工作条件定义了3种工作模式并设计了不同工作模式下的数据通信格式。弥雾机以STM32芯片为控制器采用Fuzzy-PID控制策略控制输出脉冲宽度调制(pulse width modulation,PWM)信号,用SIM900A模块接收上位机数据。通过通信试验、弥雾试验及沉积试验对远程控制自动施药系统验证,结果表明:上位机软件能够准确向弥雾机发送控制指令,弥雾流量、总弥雾量误差分别在3.9%、5%以内,系统的反应时间约2.25 s,弥雾机速度设定为18 cm/s时雾滴沉积变异系数最小。该研究可为温室弥雾机的研制提供参考。

       

      Abstract: Abstract: Because of its huge economic and social benefits, horticulture production in China develops rapidly. However, problems still exist with this rapid development such as improper infrastructure, inadequate facilities, the low product quality and safety, and high labor cost. All those limit the sustainable development of horticulture industry, particularly agricultural production in controlled environment. For lowering intensive labor cost and relieving serious operator's health impact caused by conventional pesticide application in greenhouse, we developed an advanced remote control system for greenhouse sprayer based on GPRS communication technology and distributed control principle. The objective of this paper was to develop a mist sprayer remote control automatic spraying system to lower high labor cost, to improve safety for greenhouse production, and to increase pesticide utilization rate. The system developed was divided into the upper computer and the mist sprayer. The upper computer run the mist sprayer management system software designed in Qt platform. According to the requirements of the mist sprayer management system design for the main interface, we established the mist sprayer management interface and parameter setting interface of the software. Multithreading was used for managing sprayers working in different greenhouses and socket technology to get the intercommunication between host computer and the mist sprayer. GPRS network was used to transmit user's instruction to the mist sprayer. Three work modes were defined as the work condition variation of sprayer. On the sprayer side, we introduced the hardware design of the mist sprayer control system with STM32F103ZET6 for the main controller and SIM900A for GPRS module. The hardware circuit of the control system was designed according to these chips, which comprised of the periphery circuit of the main controller, the GPRS module circuit and the driving circuit of the motor. According to the characteristics of mist sprayer, we made arrangement of mist sprayer track and defined comprehensive mist sprayer orbit movement rules in three modes: standby mode, automatic operation mode, and remote control mode, from which we calculated control object motion parameters to the mist sprayer. The fuzzy-PID strategy was used for the output of PWM that was downloaded by the STM32 controller. The controller received the data from the host computer through SIM900A chip. The mist machine control system software included the main program, GPRS communication program, and working mode subroutine designed by the C programming language in the Keil uVision3 development tools. A series of experiments were designed in this paper to test the e-control system including communication trial, mist test and droplet deposition test. The contents of communication trial were to manufacture circuit board and to send the instructions to the board. If the instructions can be displayed on the LCD screen, we concluded that system can receive the instructions correctly. For the mist test, we used the test sprayer to spray the model plant, then to calculate the errors between theoretical value and actual value. In the droplet deposition test, we let the test sprayer walk along a line with a uniform speed and used the test strip to receive the droplets, then calculated coefficient of variation. The results showed that, the software could send commands correctly to the sprayer. In addition, the error between the actual value and the theoretical value of spray flow, spray volume were 3.9%, 5%, respectively. The system response time was about 2.25 s, while the coefficient of variation of droplet deposition was smallest when the sprayer speed was set at 18 cm/s. The results of this paper suggested that the sprayer designed by the method could effective decrease of the usage of pesticides.

       

    /

    返回文章
    返回