【正文】
leChip Microputer is it control convenient, simple, flexibility advantage such as being heavy to have not merely to control to go on to temperature to e, and can raise by technical indicator not to accuse of temperature by a large margin, thus can big improvement quality and the quantity of products. This thesis introduces the design and debugging of “the temperature control system by microputer”. As a typical experimental design in control system, it uses much control knowledge and prehensively tests student’s ability in control system. The content of this thesis mainly includes: introduces, filtering ware, keyboard, manputer dialogue supported by LED indication, heat control method, the development of microputer MCS51 and systemic applied software. Key words: MCS51, temperature sensor, silicon control , temperature control 目 錄 第一章 前言 ................................................................................................................... 5 課題背景 ............................................................................................................. 5 研究意義 ...................................................................................................................6 研究現(xiàn)狀 ...................................................................................................................6 研究內(nèi)容 ...................................................................................................................7 第二章 溫度傳感器 ........................................................................................................ 7 溫度傳感器的選擇 ............................................................................................... 7 根據(jù)測量對象與測量環(huán)境確定傳感器的類型 ..............................................................8 靈敏度的選擇 ...........................................................................................................8 頻率響應(yīng)特性 ...........................................................................................................8 線性范圍 ...................................................................................................................8 穩(wěn)定性 .....................................................................................................................8 精度 .........................................................................................................................8 第三章 系統(tǒng)硬件設(shè)計 ................................................................................................... 17 溫度控制系統(tǒng)的整體設(shè)計 ................................................................................... 17 溫度控制系統(tǒng)的基本組成 .................................................................................. 18 整體電路圖 ....................................................................................................... 18 單片機(jī) AT89S52 介紹 ......................................................................................... 19 單片機(jī)的發(fā)展方向 ................................................................................................... 19 AT89S52主要性能參數(shù) ............................................................................................ 19 AT89S52方框圖 ...................................................................................................... 20 AT89S52存儲器配置 ............................................................................................... 22 溫度采集模塊 ......................................................................... 錯誤 !未定義書簽。 DS18B20封裝形式及引腳功能 ...................................................................................9 DS18B20內(nèi)部結(jié)構(gòu) ....................................................................................................9 DS18B20供電方式 .................................................................................................. 12 DS18B20的測溫原理 ............................................................................................... 12 DS18B20 的 ROM命令 ............................................................................................ 14 DS18B20時序圖 ...................................................................................................... 15 溫度顯示模塊 ................................................................................................... 25 溫度控制模塊 .................................................................................................... 27 可控硅 BTA16 ......................................................................................................... 28 光電偶合器 MOC3021 ............................................................................................. 30 溫度報警模塊 .................................................................................................... 31 第四章 系統(tǒng)軟件設(shè)計 .................................................................................................... 32 系統(tǒng)主程序 ....................................................................................................... 32 溫度采集子程序 .............................................................................................. 32 顯示子程序 ....................................................................................................... 33 溫度設(shè)定子程序 .............................................................................................. 33 PID控制算法 ..................................................................................................... 34 在線編程使用說明 ............................................................................................ 35 第五章 系統(tǒng)調(diào)試 .......................................................................................................... 36 結(jié)束語 ........................................................................................................................... 37 致 謝 ...........................................................