1、 毕业设计毕业设计 ( (论文论文) ) 基于基于 5151 单片机智能温度控制器系统设计单片机智能温度控制器系统设计 2013 年 5 月 10 日 摘摘 要要 温度是工业生产和日常生活中最常见的参数之一,对温度的精确测量和控 制具有重要意义。为此,本文以 AT89S51 单片机为处理核心进行了智能温度监 控系统的下位机设计,详细阐述了系统的硬件及软件设计方法。该设计使用 DS18B20 数字式温度传感器进行多点测温,通过 RS232 串口实现单片机与 PC 机 之间的数据交换,实现各温度点的实时测温及根据上位机的温度设定值完成对 其中一点温度的控制。此系统具有测温电路简单、连接方便、转换速
2、度快、为 上位机监控部分可实时传送温度信号、控制精度高等优点,因此,具有较广泛 的应用前景。 关键词: AT89S51;智能温度测量控制;DS18B20;RS232 AbstractAbstract Temperature is one of the most familiar parameters in the industrial production and daily life. Therefore, this paper designs the under-bit machine of multi-point temperature monitoring system with th
3、e 89S51 SCM as the processing core. It elaborates hardware and software design method in detail. The system uses the DS18B20 digital temperature sensor to measure multi-point temperature. Through the RS232 serial port it can exchange data between the SCM and PC. Each point of temperature can be meas
4、ured on time and one point of it can be controlled according to the temperature settings transmittd by up-bit machine. Based on the advantages that this system has the simple temperature measurement circuit, the convenient connection, the quick change speed, the real-time transmission of temperature
5、 signals for up-bit machine, the high precision control , therefore, it will have very good application value. Keywords:Keywords: AT89S51; multi-point temperature measure and control; DS18B20; RS232 引引 言言 1.现代社会中,温度控制的应用越来越多。温度是与人们的生产生活密切 相关的一个物理 ,因此产生了各种各样的温度测方法,在工业领域内 ,对温度 的测控十分广泛。在很多工业应用的场合下,环境非常
6、恶劣,人工直接操作仪 表很不现实 ,采用有线数据通信的方式也有限制,在数据记录上也需要人工抄 写,因此需要一种无线隔离的操作方式。而在实际温控过程中既要求系统的稳 定性,又要求快速性。 下面仅就在社会生产和生活中用处比较广泛的几处应用加 以阐释。 (1)在电子设备设计中,为防止系统损坏或性能降低,大都安装了用于监 视危险温度的传感器,在多个热点的系统中需要进行多点温度测量。微处理器 (CPU)和数字信号处理器(DSP)为高速芯片,可能产生过热即危险温度。 另外一个热源是安装在机箱后部散热器上的功率器件。风扇是用来散热的,但 它的长时间运转也会造成过热。在每一处都有放置一个温度传感器可以单独监 视每一处温度,任一处温度超出了安全范围,系统就可以通过减低时钟速度或 关掉系统电源等手段防止发生问题。 (2)建筑节能是世界建筑技术发展的大趋势, 我国目前在该领域的技术 还是相当落后。使用一种基于总线的和一线制数字的温度传感器测控系统 ,可 以应用在建筑暖通空调系统中,既能最大限度地达到节能的目的,又能很好地满 足人们对室内热环境智能化的要求。单总线数字式温度传感器有着独