下载后可任意编辑摘 要居室温湿度控制系统是以居室内的温湿度为输入量,以居室的调温柔排湿装置(风机、步进电机、排气扇等)为控制对象,在单片机控制系统上用模糊控制的方法使居室中温湿度的变化满足居住需求,达到提高动物居室生活要求目的。针对温湿度变化的非线性和相互耦合现象,本文设计了基于单片机和模糊控制技术的动物居室温湿度自动控制系统。本论文的工作重点主要有以下几个方面:第一,设计和实现了以Atmega16 为核心的单片机系统,配有键盘、显示和干湿温度采集处理的控制系统,设计了基于 GAL 的步进电机驱动控制电路、基于 1-wier 总线的干湿温度多点采集电路、I2C 总线器件 AT24C02 工艺参数存储等外围电路,可实现信号采集、数据显示、键盘控制、数据计算、排湿装置控制、调温装置控制等功能。详细介绍了硬件电路设计和软件程序设计,并针对单片机系统的硬件和软件介绍了一些工程上有用的抗干扰技术;第二,针对干湿温度变化的非线性和相互耦合现象,具体讨论了居室温湿度变化的规律,设计了基于模糊控制技术的模糊控制器并制定了模糊控制查询表。关键词:温湿控制 模糊控制 Atmega16 GAL SHT11下载后可任意编辑下载后可任意编辑AbstractAccording to the temperature and humidity of warm room and temperature-control and humidity-control device (such as fan stepping motor , exhaust fan and so on ) , the temperature and humidity control system for warm room , which uses fuzzy control based on MCU control system , can satisfy the process requirement of temperature and humidity chance in warm room , improve quality of living room. According to the temperature and humidity nonlinear variation and coupling phenomena, I designed the control system based on MCU and fuzzy control.The main focus of this paper are the following aspects: Firstly,the MCU control system , with keyboard input LED display and temperature-humidity collecting , with the core of atmega16 is designed. What is more , pulse distributor of stepping motor with GAL, multi-temperature-humidity collecting circuit based on 1-wire bu...