温度自动调节装置论文.doc

内蒙古科技大学课程设计说明书 PAGE PAGE 31 内蒙古科技大学 本科生课程设计说明书 题 目:温度自动调节装置 学生姓名:王慧琴 学 号:0705112128 专 业:测控技术与仪器 班 级:测控07-1班 指导教师:孙采鹰 讲师 温度自动调节装置 摘要 温度控制是许多场合中的重要环节,采用单片机来实现温度的自动控制具有实时、简单和灵活等优点,为此,这里设计了一种基于单片机STC89C52的温度自动控制装置。 该装置由温度设定值设定电路,温度显示电路,温度测量电路和调温电路四部分组成。根据应用场合,首先由设定值设定电路提前设定预控制的温度值,并送去显示电路,由1602液晶显示器的第一行显示出来,然后由测量电路测出应用环境(温控箱)的温度,并送去1602的第二行显示出来。最后比较测量值和设定值,决定是否启用控制电路。控制电路由两个电路组成,一个电路用来升温,一个用来降温。考虑到继电器的触点不易频繁动作,故应设定一个温度上下限的误差值。结合设计要求,本设计将误差值设定为±2℃。当测量值在设定值+2℃的范围内时,不启用控制电路,当测量值大于(设定值+2℃)时,启用控制电路中的降温电路,当测量值小于(设定值-2℃ 关键词:温度;STC89C52单片机;1602液晶显示;DS18B20 Temperature Automaticly Adjusting Device Abstract Temperature Control is an important link in many places. The one-chip computer to realize automatic temperature control is simple , flexible and real-time, etc. Therefore, there is a research of automatic temperature control device based on the microcontroller STC89C52 . The device is made up of temperature setpoint setted circuit, temperature display circuit, temperature measurement circuit and control circuit . According to this device’s applications, firstly, setting the temperature setpoint by the circuit of temperature control and sending to the display circuit to display at the first line by the 1602 LCD.Secondly measuring the temperature of the application environment (temperature controlled box) by the measuring circuit and sending to the display circuit to display at the second line.At last, through the comparison of the measured value and the setpoint, decide to choose which circuit of the control circuit. Control circuit consists of two circuits, one circuit for heating,anther for cooling.Considering the relay doesn’t need to respond so we should set an error point of up point and down point.When measured point is equal to the set point plux or minius 2℃, the control circuit will don’t work. When measured point is greater than the setting point plux 2℃, the cooling circuit will work of the control circuit. When measuring value is less than the

文档评论(0)

1亿VIP精品文档

相关文档