资源预览内容
第1页 / 共75页
第2页 / 共75页
第3页 / 共75页
第4页 / 共75页
第5页 / 共75页
第6页 / 共75页
第7页 / 共75页
第8页 / 共75页
第9页 / 共75页
第10页 / 共75页
亲,该文档总共75页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
本科生毕业设计(论文)I摘 要温湿度实验箱在现实生活中有着广泛的应用,温湿度实验箱能够提供一个恒湿或恒温的环境,能够实现温度和湿度的连续可调,汽车摩托、航天航空、船舶兵器等都需要进行温度和适度的实验,以检验其各项性能指标的稳定性。本文设计系统分为现场设备和监控室设备两部分,对每一个部分都进行了软件和硬件的设计,本系统带有 RS232 通讯接口电路,CPU 部分选用 AT89S52 单片机,温度传感器采用 AD590 温度传感器,湿度传感器采用霍尼韦尔的相对湿度传感器 HIH-3610-1,通信模块采用 CAN 总线进行通信远传。监控室采用 PC 机进行显示并控制,在软件部分设计了下位机主程序、下位机信息采集子程序、下位机 A/D 转化子程序、CAN 总线通信子程序等程序,对被控对象的控制设计了PID 算法子程序进行控制,通过软件和硬件的设计,实现了一台实验箱对温度的调控功能并实现了实验箱内温湿度数据的远传和远程控制,使得监控室内的一台PC 机能同时监控 15 台现场设备的运行状况。本设计实现了基于单片机温湿度试验箱的设计,采用该方案设计的温湿度试验箱具有低功耗、高效能等特点,具有很高的安全性、经济性和可靠性。关键词:温湿度;试验箱;单片机; CAN 总线本科生毕业设计(论文)IIAbstractTemperature and humidity test box is widely used in real life, the temperature and humidity test box can provide a constant humidity or temperature environment, continuously adjustable to achieve temperature and humidity, automobile motor, aerospace, weapons, ships need experimental temperature and moderate, to test their stabilities of various performance indicators.In this paper, the design system is divided into equipment and control room equipment two parts, to every part of the design of software and hardware, the system with RS232 communication interface circuit, CPU part uses AT89S52 microcontroller, temperature sensor using AD590 temperature sensor, humidity sensor using the relative humidity sensor HIH-3610-1 of Honeywell, a communication module based on CAN bus communication transmission. The control room by PC for display and control, in the part of software design of the main program, the lower computer information acquisition subprogram, the A/D conversion subroutine, CAN bus communication subroutine program to control the controlled object, design the PID control algorithm subroutine, through the design of software and hardware, realizes the control function table experimental box on the temperature and the realization of the experimental box temperature and humidity data telemetering and remote control, the control room and the one PC function at the same time 15 the operating status of equipment.Design and implementation of the design of MCU temperature and humidity test chamber based on the temperature and humidity test chamber, the scheme has low power consumption, high efficiency and other characteristics, and has the advantages of safety, economy and high reliability.Keywords: temperature and humidity; test chamber; MCU; CAN bus本科生毕业设计(论文)III目 录第 1 章 绪论.11.1 题目的来源与意义.11.2 国外发展及现状.21.3 论文主要结构及工作安排.5第 2 章 系统的方案论证.62.1 概述.62.2 系统的方案论证.62.2.1 远传方式的选择.62.2.2 CPU 字长的选择.72.3 系统方案组成.7第 3 章 系统的硬件设计.103.1 器件的选型.103.1.1 单片机的选型.103.1.2 温度传感器的选择.113.1.3 湿度传感器的选择.123.1.4 液位传感器的选择.123.1.5 A/D 转换器件的选择.143.1.6 显示器件的选择.143.1.7 加热器件的选择.143.1.8 压缩机的选型.153.1.9 加湿器的选型.163.2 总线结构的选择.163.3 湿度信息采集电路设计.173.4 温度信息采集电路设计.183.5 液位信息采集电路设计.193.6 A/D 转换电路.203.7 显示电路.213.8 键盘输入电路.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号