【正文】
eset through the keyboard on the temperature, microcontroller based on the current temperature and the preset temperature of the furnace operation, PWM control output square wave with adjustable width, and thus control the triac onand off to regulate the electric wire heating power, so that the water temperature quickly reach and maintain constant preset value. The design process, first of all the software design and development, making the system functional module and through the Proteus software simulation, respectively, to achieve feature an integrated design of the hardware, and repeated demonstration, testing the device parameters to make it stable operation, and ultimately make This system has realized the constant temperature control. Keywords:MCS51, temperature sensor, SCR,temperature control 畢業(yè)設(shè)計(jì)(論文) 目錄 1 緒論 .................................................................................................................................... 1 簡(jiǎn)介 .............................................................................................................................. 1 課題研究的內(nèi)容及要求 .............................................................................................. 2 課題的主要研究的內(nèi)容 ................................................................................... 2 本系統(tǒng)的功能 ................................................................................................... 3 本文的主要內(nèi)容 .......................................................................................................... 3 2 電阻爐溫度控制系統(tǒng)工作原理 ........................................................................................ 4 溫度控制總體設(shè)計(jì)方案 .............................................................................................. 4 溫度傳感器模塊 .......................................................................................................... 5 DS18B20 基本知識(shí) .......................................................................................... 5 DS18B20 產(chǎn)品的特點(diǎn) ...................................................................................... 6 DS18B20 的引腳介紹 ...................................................................................... 6 DS18B20 的 4 個(gè)主要部件 .............................................................................. 8 溫度采集模塊電路圖 ..................................................................................... 10 數(shù)據(jù)處理模塊 ............................................................................................................ 11 單片機(jī)的發(fā)展方向 ......................................................................................... 11 STC89C52 系列主要性能參數(shù) ...................................................................... 11 STC89C52 存儲(chǔ)器配置 .................................................................................. 15 溫度顯示模塊 /設(shè)定模塊 .......................................................................................... 19 溫度顯示部分 ................................................................................................. 19 溫度設(shè)定部分 ................................................................................................. 24 溫度顯示 /設(shè)定模塊電路圖 ............................................................................ 24 溫度控制模塊 ............................................................................................................ 25 畢業(yè)設(shè)計(jì)(論文) 可控硅 BTA16 ................................................................................................ 25 光電偶合器 MOC3021 ................................................................................... 28 溫度控制模塊電路圖 ..................................................................................... 29 3 系統(tǒng)軟件設(shè)計(jì) .................................................................................................................. 31 系統(tǒng)主程序 ................................................................................................................ 31 溫度采集子程序 ........................................................................................................ 32 顯示子程序 ................................................................................................................ 32 溫度設(shè)定子程序 ........................................................................................................ 33 控制算法 .................................................................................................................... 33 4 溫度控制系統(tǒng) Proteus 仿真 ............................................................................................ 35 仿真說(shuō)明 .................................................................................................................... 35 仿真結(jié)果 .................................................................................................................... 35 結(jié)論 ............................................................................................................................ 37 致謝 ..................................................................................................................................... 38 參考文獻(xiàn) ............................................................................................................................. 39 附錄Ⅰ程序清單 ................................................................................................................. 40 畢業(yè)設(shè)計(jì)(論文) 1 1 緒論 簡(jiǎn)介 及時(shí)準(zhǔn)確地得到溫度信息并對(duì)其進(jìn)行適時(shí)的控制 , 在許多工業(yè)場(chǎng)合中都是重要的環(huán)節(jié) .水溫的變化影響各種系統(tǒng)的自動(dòng)運(yùn)作,例如 冶金、機(jī)械、食品、化工各類工業(yè)中,廣泛使用的各種加熱爐、熱處理爐、反應(yīng)爐等 , 對(duì)工件的 水 處理溫度要求嚴(yán)格控制 。系統(tǒng)可通過(guò)鍵盤對(duì) 電阻爐 水溫進(jìn)行預(yù)設(shè),單片機(jī)根據(jù)當(dāng)前爐內(nèi)溫度和預(yù)設(shè)溫度進(jìn)行運(yùn)算,控制輸出寬度可調(diào)的 PWM 方波,并由此控制雙向可控硅的導(dǎo)通和關(guān)斷來(lái)調(diào)節(jié)電熱絲的加熱功率,從而使水溫迅速達(dá)到預(yù)設(shè)值并保持恒定不變。本溫度控制系統(tǒng)按功能分主要包括溫度傳感器模塊、 數(shù)據(jù)處理模塊、 溫度顯示 /設(shè)定模塊和溫度控制模塊。畢業(yè)設(shè)計(jì)(論文) 摘 要 在工業(yè)生產(chǎn) 過(guò)程 中, 往往 需要對(duì)各類加熱爐、熱處理爐、反應(yīng)爐的溫度進(jìn)行檢測(cè)和調(diào)節(jié),因此需要一種合適的系統(tǒng)對(duì)其溫度進(jìn)行 精確 控制,由于 單片機(jī)具有低功耗、高性能、可靠性好、易于產(chǎn)品化等特點(diǎn),因此 采用單片機(jī)對(duì)溫度進(jìn)行控制不僅 節(jié)約成本, 控制 方法靈活多樣,并且 可以 達(dá)到較高的控制精度 ,從而能夠大大提高產(chǎn)品的質(zhì)量 ,因此單片機(jī)被廣泛應(yīng)用在中小型控制系統(tǒng)中。 本論文以電阻爐為研究對(duì)象,開(kāi)發(fā)了基于單片機(jī)的溫度