文档介绍:毕业设计
学生姓名
赵程程
学号
20085102
系(部)
机电工程系
专业
机电一体化
题目
空调的温度控制系统的设计
指导教师
张淑敏)
2011
年
6
月
摘要:空调的温度控制单元应用了单片机技术,用于实现温度自动控制,现场温度经温度传感器采样后,变换为模拟电压信号,经低通滤波滤掉干扰信号后送给放大器,信号放大后送到A/D转换器转换为数字信号送单片机,单片机将给定的温度与测量温度的相比较,得出偏差量,执行器由开关频率较高的固态继电器开关担任,采用模拟的PWM控制方法,改变同一个周期中电子开关的闭合时间,完成温度的控制。实现以单片机为控制中心,以空调机为执行器件,通过单片机程序来完成对室内温度的自动控制。
关键词:单片机,传感器,自动控制
Abstract: Air conditioning's temperature control unit has applied the monolithic integrated circuit technology, uses in realizes the temperature automatic control, the scene temperature after the temperature sensor sampling, transforms for the analogue voltage signal, filters out the unwanted signal after the low-pass filtering gives the amplifier, after the signal enlarges, delivers
A/D switch to transform for the digital signal delivers the monolithic integrated circuit, the temperature which and the survey temperature the monolithic integrated circuit will pares, obtains the extent of the error, the actuator by the turn-on frequency high solid state relay switch holds the post, uses the simulation the PWM control method, the change identical cycle neutron switch's closing time, completes the temperature the control. Realizes take the monolithic integrated circuit as the control center, as carries out ponent take the air conditioner, completes through the monolithic integrated circuit procedure to the indoor temperature automatic control.
Keywords: Monolithic integrated circuit, sensor, automatic control
目录
1 引言 3
2 总体方案设计和选择 3
方案一 3
方案二 3
总体方案设计和选择 3
3 DS18B20温度传感器 4
DS18B20的工作原理 4
DS18B20的测温原理 5
4 单片机接口设计 6
设计原则 6
引脚连接 6
5 系统整体设计 7
系统硬件电路设计 7
系统软件设计 9
调试 10
总结 11
致谢 12
参考文献 13
附录 14
附录A 主板电路图 14
附录B 程序代码 15
附录C-1 系统总流程图 21
附录C-2 读出温度子程序 22
附录C-3 主程序流程图 23
1 引言
空调也就是空气调节器,是一种用于给空间区域提供处理空气的机组。它作为现代生活中必备的生活电器,应用的越来越广泛。它的功能是对房间或一定区域内空气的温度、湿度、洁净度和空气流速等参数进行调节,以满足人体舒适或工艺过程的要求。它使得人们的生活环境更加舒适,也满足了工艺加工过程对精度的要求。研究空调的温度控制系统,也即是研究空调机对温度的测量与控制调节问题。
已往温度控制的电路系统很多,