基于单片机的仓库温湿度智能控制系统设计
2011-06-30满红,邹存名,冀勇钢
满红, 邹存名, 冀勇钢
摘 要:针对目前农产品种子仓库存储自动化程度低且不易大面积管理的现状,提出采用以Atmel公司的AT89系列单片机为核心的智能温、湿度控制系统。该系统通过串行通信方式实现上下位机温、湿度给定值的设定,增强仓库的智能化,搭建了基于单片机的硬件电路,系统的软硬件均通过测试,并对该系统的结构图和工作原理以及软件模糊控制算法做以简单介绍,实际使用中效果良好。
关键词:单片机; SHT11; DS1302; 温、湿度控制
中图分类号:TN710-34文献标识码:A
文章编号:1004-373X(2011)09-0118-03
Temperature and Humidity Control System of Warehouse Based on MCU
MAN Hong, ZOU Cun-ming, JI Yong-gang
(Information Engineering College, Dalian Jiaotong University, Dalian 116052, China)
Abstract: According to the low automatic degree of the warehouse of agricultural seed and the difficulty in large area management, an intelligent temperature and humidity control system with MCU of ATMEL Company is designed. The system realized the temperature and humidity value set of PC through serial communication, enhanced the intellectualization of the warehouse, built the hardware circuits based on MCU, and tested the software and hardware of the system. The structure, working principle and fuzzy control algorithm are introduced. The actual effect about the system is good.
Keywords: MCU; SHT11; DS1302; temperature and humidity control
0 引 言
温、湿度控制广泛应用于人们的生产和生活中,对于农产品种子来说,对环境温度与湿度有着比较严格的要求。人们通常使用温度计、湿度计来测量仓库的温度和湿度,通过人工加热、加湿、通风和降温等方法来控制仓库的温、湿度,这种方法不但控制精度低、实时性差,而且操作人员的劳动强度大。同时温度与相对湿度的大幅度变化可能导致种子大范围腐烂或者影响种子的发芽率,从而带来极大的经济及财产损失。因此,保持适宜的仓库温度、湿度对保证农产品种子存储质量十分重要。
目前市场上的各种温度控制设备大多只能根据简单的温度变化规律制定控制算法,系统扩展性较差。本系统采集了种子仓库所在地一年的温度变化规律,并使用能适应季节变化、节省能源的模糊控制算法,结合AT89S51单片机技术研制了一种稳定性高、成本低的温、湿度智能控制系统,采用上、下位机控制结构,实现全方位智能化的仓库管理控制系统。……
