基于P87C552单片机的温室大棚环境与滴灌控制系统设计与研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
温室是设施农业的重要组成部分,是现代农业发展的重点之一。温室种植的实践经验表明,提高温室的自动控制水平可充分发挥温室生产的效率;我国广大农户购买能力有限,而市场上现有的针对现代温室环境的智能监控系统成本高、价格贵、使用较为复杂。针对这一问题,本文设计了一种成本较低、集温室大棚环境监控和自动灌溉于一体的监测与控制系统。
     系统利用P87C552单片机实现对温室环境参数的实时检测,并根据实时数据和控制模型,对温室通风、遮阳、滴灌等系统进行控制,使温室内温、湿度环境参数处于设定值之间。系统主要由环境参数测量模块、数据存储模块、模糊决策模块、实时控制模块和系统参数设定模块等几部分组成。
     环境参数测量模块主要检测温室内温度、湿度和光照度,其中温度和光照度由AD590和硅光电池敏感元件采集后,通过处理电路,输出相应的信号,湿度传感器选用集成电路HM1500。系统集成后,分别对传感器进行了校验和标定,数据表明其满足温室测量需要。
     数据处理模块由数据存储、显示以及声、光报警等部分构成,其中数据存储选用串行接口的AT24C256,数据显示电路选用并行扩展芯片8155和LED分别显示时间、温度、湿度以及光照度信息。当环境内某一环境因子超出预先设定的上、下限报警值或系统运行出现故障时,由蜂鸣器和发光二极管进行报警。
     模糊决策模块由模糊控制器组成。使用温湿度误差和误差的变化率作为模糊控制器的输入量,遮阳网和侧窗开度作为系统的输出,采用三角形为隶属度曲线,按照模糊控制规则对系统进行了设计,并通过Matlab进行了仿真。
     实时控制模块是采用光电隔离方式驱动继电器,从而实现对遮阳网、侧窗和滴灌系统的控制。其中光电耦合选用TLP521-4和TLP521-2,继电器选用JZC-23F。
     系统参数设定模块包括温度、湿度、光照度等设定值以及时间参数的设定。
     在安装、调试完成的基础上,对系统进行了温室控制对比试验,结果显示外遮阳网和侧窗的开关时序基本一致,而喷灌和滴灌的开关时序相差较大。
Greenhouse is not only an important part of facility agriculture, but also one of the developing emphases of modern developing agriculture. The experience of the greenhouse management has proved that improving greenhouse automation can increase the efficiency of greenhouse production. The purchases ability of farmers is limited in our country, and the purchasable intelligent monitor and control system for the greenhouse environment are expensive and complicated. In this paper a control system with lower price was designed for greenhouse control and automatic irrigation.
     This system can monitor greenhouse environment using P87C552 SCM, and control the greenhouse ventilation device, solar protection device, and drip irrigation system in order to let temperature and humidity among setpoints.It mainly included environmental parameters measuring module, data processing module, fuzzy decision-making module, real-time controlling module, and system parameters setting module.
     The environmental parameters measuring module mainly measured temperature, humidity and illumination in the greenhouse. It gathered temperature and illumination by the AD590 and the silicon photocell sensor, then output relevant signal. HM1500 was selected as humidity sensor. After integration, sensors were checked and calibrated; data indicated that it met the need of greenhouse measurement.
     The data processing module included data storage, display and sound and light alarm. Serial interface chip AT24C256 was selected as data storage; parallell extending chip 8155 as data display and LED as time, temperature, humidity and illumination display respectively. When some environmental values exceeded the setting upper and lower limit or faults come out, control system would send out alarm by buzzer and LED.
     The fuzzy decision-making module consisted by fuzzy controller. Using error and its rate of temperature and humidity to be the input values of fuzzy controller, the opening angle of shading and window were output. Triangle had been adopted as subjection curve, and the system was designed and simulated by Matlab according to the fuzzy control rules.
     The real-time control module had adopted the photo-electricity isolation to drive relay in order to control shading, window and drip irrigation system. The chips of photo-electricity were selected TLP521-4 and TLP521-2; and relay JZC-23F.
     The system parameters pre-setting module consisted of temperature, humidity, illumination and time parameters setting.
     After installation, contrast experiments had been conducted between well-controlled greenhouse and designed system. It showed shading and windows control had the same time sequence almostly between each other, but time sequence was different between drip and spray irrigation systems.
引文
[1]光明日报.建设新农村要探索新思路.2006,5
    [2]人民日报.积极探索符合实际的新农村建设路子.2006,7
    [3]彭桂兰,张学军,张新东.温室环境计算机测控技术的研究现状和发展趋势[J].现代化农业,2002,(5):9-10
    [4]邓璐娟,冯巧玲,李淑君等.智能温室环境控制的研究砚状与发展方向[J].郑州轻工业学院学报(自然科学版),2003,18(4):20-23
    [5]顾寄南,毛罕平.国内外设施栽培综合环境控制技术与其发展[[J].农业现代化研究,1999,5
    [6]胡瑶.我国设施园艺发展现状及存在的问题[J].农业机械,2001,(9):14-15
    [7]安国民,徐世艳,赵化春.国外设施农业现状与发展趋势[J].现代化农业,2004,(12)
    [8]Tantau H J.Analysis and synthesis of climate control algorithms[J].Acta Hort,1985,174:449-459.
    [9]余朝刚.温室气候环境微机测控系统与控制方法的研究[D].博士学位论文,浙江大学,2005,5.
    [10]Tantau Hans-Juergen.Energy saving potential of greenhouse climate control.Mathematics and computers in simulation[J],1998,48(1):93-101.
    [11]Tetsuo Morimoto,Yasushi Hashimoto,An intelligent control for greenhouse automation,oriented by the concepts of SPA and SFA--an application to a post-harvest process [J].Computers and Electronics in Agriculture,2000,29:3-20.
    [12]Ferreira P.M.,Faria E.A.,Eruano A.Neural network models in greenhouse air temperature prediction.Neurocomputing[J],2002,43:51-75.
    [13]Meir Teitel,Yun Zhao,Moti Barak,Eli Bar-lev,David Shmuel.Effect on energy use and greenhouse microclimate through fan motor control by variable frequency drives [J].Energy Conversion and Management 2004,459:209-223.
    [14]温室计算机控制与管理技术的发展概况及在我国的应用前景,中国农业硅谷网.
    [15]我国温室及配套设备产业现状及发展趋势,http://www.fenglong-china.com.
    [16]朱伟兴,毛罕平,李萍萍等基于模糊控制的温室加热器的研究[J].农业工程学报,2002,18(3):72-75.
    [17]聂毅,聂晖.植物温室单片机控制系统[J].微计算机信息,2002,18(8):36-39.
    [18]汪永斌,吕昂等.温室群全数字式温度和湿度综合控制系统[J].农业机械学报,2002,33(5):71-74.
    [19]朱伟兴,毛罕平,李萍萍,李新城,马长华.遗传优化模糊控制器在温室控制系统中的应用[J].农业机械学报,2002,33(3):76-79.
    [20]陶永红,浅谈我国温室大棚得现状与发展[J],安徽农机研究,2003.
    [21]土方工程,温室控制技术得发展方向,中国园林网,http://gc.yuanlin.com.
    [22]李英能,吴景社.西部地区节水灌溉发展的前景与展望[J].水利水电科技进展,2000,20(5):1-9
    [23]康绍忠.新的农业科技革命与21世纪我国节水农业的发展[J].干旱地区农业研究,1998,16(1):11-17
    [24]乔立文,发展栩室蔬菜软管滴灌新技术[J].农村实用工程技术,1995,3.
    [25]董建玲.日光温室与节水灌[J].塑料技术,2001(3):2-4
    [26]罗金耀,李少龙.我国设施农业节水灌溉理论与技术研究进展[J].节水灌溉,2003,3:11-13
    [27]王文元,董玉云.温室大棚滴灌系统设计与管理中值得注意的问题[J].节水灌溉,2000,(3):15-16
    [28]崔引安.农业生物环境工程[M].北京:中国农业出版杜,1994
    [29]白广存等.植物生理信息采集处理系统及应用[J].现代科学仪器,1995,(4):27-28
    [30]高建平,赵龙庆.温室计算机控制与管理技术的发展概况及在我国的应用前景[J].计算机与农业,2003(2):12-15
    [31]董乔雪,王一鸣.温室计算机分布式自动控制系统的开发[[J].农业工程学报,2002,18(4)
    [32]徐玲.模糊控制在智能温室温湿度控制中的应用[D].东北林业大学,硕士论文,2006,6
    [33]傅志刚,温室控制系统介绍[J],科学之友,2005
    [34]张瑞华,温室环境自动监控[J],计算机与农业,2002,2
    [35]白春雨,时玲等,我国几种温室环境控制系统得架构方案[J],农机化研究,2006,5
    [36]汪小旵,温室环境控制技术探讨[J],农机化研究,2000.
    [37]张曾科.模糊数学在自动化技术中的应用[M].北京:清华大学出版社,1996
    [38]P87C552中文使用指南,http://www.zlgmcu.com
    [39]沙占友.集成化智能传感器原理与应用[M].北京:电子工业出版社,2004
    [40]Takakura T.,ET al..A time dependent analysis of greenhouse thermal environment [J].Transaction of the ASAE.14(5):964-971
    [41]Takakura T.,Kurata,Honjo T..Physical models and the greenhouse climate.Acta Hort,1985,17(4):97-104
    [42]Hayashi M.,Sugahara T.,Nakajima H..Temperature and humidity environments inside a naturally ventilated greenhouse with the evaporative for cooling system[J].Environment Control in Biolog,1998,36(2):97-104.
    [43]O.Jolliet.,HORTITRANS A..Model for Predicting and Optimizing Humidity and Transpiration in Greenhouses[J].Journal of Agricultural Engineering Research,1994, 57(1):23-37.
    [44]丁为民.园艺机械化[M].中国农业出版社,2001:36-45.
    [45]Joseph.Baum.PC-BASED ENVIROMENTAL CONTROL SYSTEM FORPLANT AND ANIMAL STUCTURES,ASAE paper 87:45-51.
    [46]J.K.Titlo.CLIMATE DATA:COLLECTION,QUALITY CONTUOL AND MANAGEMENT,ASAE paper 88:35-52.
    [47]张乃尧,阎平凡.神经网络与模糊控制[M].清华大学出版社,1998:12-136.
    [48]Arabshahi P,et al.Fuzzy Control of Back propagation,IEEE Fuzzy'92,1992:967-972.
    [49]J.A.Feldman.Dynamic Connections in Neural Network,Biological Cybernetics,No.49,1991:35-45.