【正文】
....................................................... 1 ..................................................... 2 ....................................................... 2 2 系統(tǒng)方案選擇及工作原理 ......................................................................................................4 系統(tǒng)設(shè)計方案 ............................................................ 4 系統(tǒng)結(jié)構(gòu)框圖 ............................................................ 5 ..................................................... 7 輔助器件選擇 ....................................................... 7 3 硬件電路設(shè)計 ........................................................................................................................8 主控單片機(jī) AT89S51芯片介紹 ............................................... 8 主要性能特點 ....................................................... 8 AT89S51管腳說明 ................................................... 9 單片機(jī)最小系統(tǒng) ......................................................... 11 圖 最小單片機(jī)系統(tǒng) ................................................... 11 .......................................................... 11 復(fù)位電路 ......................................................... 12 溫度控制電路 設(shè)計 ....................................................... 12 ............................................................ 13 水位檢測電路設(shè)計 ....................................................... 13 穩(wěn)壓電源電路設(shè)計 ....................................................... 14 ............................................ 16 DS18B20簡介 ...................................................... 16 ...................................................... 17 ................................................................ 17 固態(tài)繼電器 SSR .................................................... 17 ...................................................... 19 .................................................. 19 4 系統(tǒng)軟件的設(shè)計 .................................................................................................................. 22 系統(tǒng)主程序 ............................................................. 22 子模塊軟件設(shè)計 ......................................................... 22 A/D轉(zhuǎn)換環(huán)節(jié)子程序設(shè)計 ............................................ 23 DS18B20溫度采集子程序設(shè)計 ........................................ 24 LCD液晶顯示子程序設(shè)計 ............................................ 25 按鍵子程序設(shè)計 .................................................... 25 總結(jié) ....................................................................................................................................... 27 參考文獻(xiàn) ................................................................................................................................ 28 致 謝 ..................................................................................................................................... 29 附錄一 .................................................................................................................................... 30 附錄二 .................................................................................................................................... 39 安徽建筑 大學(xué) 畢業(yè)設(shè)計(論文) 1 1 緒 論 課題背景 由于工業(yè)過程控制的需要,特別是在計算機(jī)技術(shù) 和 微電子技術(shù)的迅猛發(fā)展以及自動控制理論和設(shè)計方法發(fā)展的推動下,國內(nèi) 外溫度控制系統(tǒng)的發(fā)展迅速,并在智能化,自適應(yīng)、參數(shù)整定等方面,以美國、德國、日本、瑞典等國 家 技術(shù)領(lǐng)先,都生產(chǎn)出了一批性能優(yōu)異的 、 商品化的溫度控制器及儀表,并在各行 得到 廣泛 的 應(yīng)用。Gasboiler。 Temperature control??刂栖浖饕囟群蜏囟炔杉映绦?、水位控制程序、 LCD 液晶顯示子程序等。這樣就可以提高能源的使用率 , 節(jié)約能源。當(dāng)溫度超過 所 設(shè)定的報警溫度值,系統(tǒng) 將 發(fā)出報警聲音,同時關(guān)閉鍋爐燃燒器。電源采用三端集成穩(wěn)壓器 W7800 (W7900)系列元件 7805,交流 220 v電壓轉(zhuǎn)換為單片機(jī)所需要的 5V電壓;利用 AT89S51 作為控制器的核心器件;利用集成電路溫度傳感器 DS18B20 測量鍋爐水溫 。 安徽建筑大學(xué) 畢 業(yè) 設(shè) 計 ( 論 文) 專 業(yè) : 測控技術(shù)與儀器 班 級 : 二班 學(xué)生姓名 : 胡磊 學(xué) 號 : 09210040203 課 題 : 鍋爐溫度控制系統(tǒng)設(shè)計 指導(dǎo)老師 : 紀(jì)明偉 2020 年 06 月 14 日 安徽建筑 大學(xué) 畢業(yè)設(shè)計(論文) 摘 要 在調(diào)查對當(dāng)前采暖需求情況的基礎(chǔ)上, 根據(jù) 小型家用燃?xì)忮仩t的 工作 特點, 再 結(jié)合工程實際需要, 研究 了基于 MCS51 單片機(jī)的家用燃?xì)忮仩t溫度控制系統(tǒng),旨在 解決 使用燃煤鍋爐集中采暖時所遇到的鍋爐溫度不易控制 的問題 ,改進(jìn)家庭采暖的控制方式,提高采暖的經(jīng)濟(jì)性。利用 Protel99se 軟件 設(shè)計電路 ,對智能控制器的電源電路、報警電路、時鐘電路、復(fù)位電路、 LCD 液晶顯示電路以及控制器的核心 — 溫度采集電路進(jìn)行了設(shè)計。并 將測量的水溫與設(shè)定值比較,另外 系統(tǒng)使用 LCD 液晶顯示器顯示當(dāng)前水位、水位的上下限值、當(dāng)前采集的溫度值 和 預(yù)先設(shè)定的溫度報警值。等待溫度降到下限值,這時就可以重新鍋爐燃燒器通電,繼續(xù)加溫,如此反復(fù)監(jiān)控溫度。針對系統(tǒng)的 特點和要求 ,在 上述硬件電路及實現(xiàn)方法的基礎(chǔ)上,利用匯編語言,設(shè)計了基于單片機(jī)的鍋爐溫度控制系統(tǒng)。 關(guān)鍵詞 : 單片機(jī); 溫度控制 ; DS18B20; 燃?xì)忮仩t ; LCD; 安徽建筑 大學(xué) 畢業(yè)設(shè)計(論文) ABSTRACT According to the market demand and the characteristics of domestic heating, this paper develops MCU intelligence controller for the minor gasfired boiler which is domestic heating equipment on the basis of investigation of heating demand widely. The research purpose is to change the inconvenience of temperature control bring by using coal fired boiler for centralized heating, to increase economics of software called Protel99se for circuit designed is used to develop the hardware of the controller. The hardware includes the power supply circuit, the reset circuit,the clock circuit, the alarm circuit, the LCD display circuit, and the temperature collection which is the core of this controller. The threepin integratedcircuit voltage regulator W7800 (7900) series ponent 7805 is used for the power supply. The Atmel AT89S51 chip is the core chip of the controller. The integrated temperature sensor DS18B20 is used to measure water temperature in boiler. The key circuit is used to set the alerm temperature and analog water in or out. In addition, LCD is used to display water level bound, current water level, temperature alerm value by presupposition and current temperature. When water level beyond its bound or when current