基于单片机的对加热炉温度控制系统设计 下载本文

本科毕业论文(设计)

题 目: 基于单片机对加热炉温度控制系统

二O一〇 年 6 月 1 日

基于单片机对加热炉温度控制系统

目录

摘要 .................................................................................................................................................................. - 2 - 绪 论 .............................................................................................................................................................. - 3 - 第1章 单片机对加热炉温度控制的简介 .................................................................................................. - 4 - 第2章 单片机内部结构及引脚作用简介 .................................................................................................. - 5 -

2.1单片机内部模块 ................................................................................................................................ - 5 -

2.1.1 MCS-51单片机内部结构 ..................................................................................................... - 5 - 2.1.2 主电源引脚 ............................................................................................................................ - 6 - 2.1.3 外接晶体引脚 ........................................................................................................................ - 6 - 2.1.4 MCS-51 输入/输出引脚 ........................................................................................................ - 6 - 2.1.5 MCS-51控制线 ..................................................................................................................... - 6 - 2.2单片机外总线结构 ............................................................................................................................ - 7 -

2.3 MCS-51单片机系统扩展 ....................................................................................................... - 7 -

第三章 硬件系统设计 .................................................................................................................................... - 8 -

3.1 总体设计 ........................................................................................................................................... - 8 - 3.2 程序存储器的扩展 ........................................................................................................................... - 9 - 3.3温控模块的设计 .............................................................................................................................. - 10 - 3.4 8155接口电路 ............................................................................................................................ - 11 -

3.4.1 8155简介 ......................................................................................................................... - 11 - 3.4.2 8155的RAM和I/O口地址编码 ..................................................................................... - 11 - 3.5 A/D转换电路 ............................................................................................................................... - 12 -

3.5.1引脚结构 ............................................................................................................................. - 13 - 3.6 可控硅控制电路 ........................................................................................................................... - 13 - 第四章 软件系统设计 .................................................................................................................................. - 15 -

4.1 主程序 ........................................................................................................................................... - 15 - 4.2 T0中断服务程序 ......................................................................................................................... - 16 - 4.3 采样子程序 ................................................................................................................................... - 17 - 4.4 数字滤波程序 ............................................................................................................................... - 18 - 总结 ................................................................................................................................................................ - 20 - 参考文献 ........................................................................................................................................................ - 21 - 附录 ................................................................................................................................................................ - 22 -

程序清单 ................................................................................................................................................ - 22 -

- 1 -

基于单片机对加热炉温度控制系统

基于单片机对加热炉温度控制系统

摘要

随着国民经济的发展,人们需要对各中加热炉中温度进行监测和控制。采用单片机来对他们控制不仅具有控制方便,简单和灵活性大等优点,而且可以大幅度提高被控温度的技术指标,从而能够大大的提高产品的质量和数量。

本设计采用无ROM的8031作为主控制芯片。8031的接口电路有8155、2764。8155用于键盘/LED显示器接口,2764可作为8031的外部ROM存储器。其中温度控制电路是通过可控硅调功器实现的。双向可控硅管和加热丝串联接在交流220V,50HZ交流试点回路,在给定周期内,8031只要改变可控硅管的接通时间便可改变加热丝功率,以达到调节温度的目的。

关键字:温度控制;接口电路;可控硅

Temperature Control System of heating furnace Based on SCM

Abstract

Along with national economy development, the people need to each heating furnace the temperature carry on the monitor and the control. Not only uses the monolithic integrated circuit to come to them to control has the control to be convenient, simple and flexibility big and so on merits, moreover may enhance large scale is accused the temperature technical specification, thus can big enhance the product the quality and quantity.

This design uses non-ROM 8031 to take the master control chip. 8031 connection electric circuits have 8155、2764.8155 uses in the keyboard /LED monitor connection, 2764 may take 8031 exterior ROM memories,one temperature-control circuit is adjusts the merit realization through the silicon-controlled rectifier. The bidirectional silicon-controlled rectifier tube and the heater series connection in exchange 220V,50HZ exchange city electricity return route, in assigns in the cycle, 8031 so long as the change silicon-controlled rectifier tube puts through the time then to be possible to change the heater power, achieves the attemperation the goal.

Key words:Temperature control;Connection electric circuit;Silicon-controlled rectifier

- 2 -