【正文】
基于單片機(jī)的電阻爐溫度控制系統(tǒng)設(shè)計 學(xué) 院 自動化學(xué)院 專 業(yè) 自動化 班 級 XXXX 學(xué) 號 XXXXXX 姓 名 snowcafe 指導(dǎo)教師 XXX qq 597997026 沈陽航空 航天大學(xué) 2020 年 6 月沈陽航空航天大學(xué)畢業(yè)設(shè)計(論文) I 摘 要 在工業(yè)生產(chǎn) 過程 中, 往往 需要對各類加熱爐、熱處理爐、反應(yīng)爐的溫度進(jìn)行檢測和 調(diào)節(jié),因此需要一種合適的系統(tǒng)對其溫度進(jìn)行 精確 控制,由于 單片機(jī)具有低功耗、高性能、可靠性好、易于產(chǎn)品化等特點(diǎn),因此 采用單片機(jī)對溫度進(jìn)行控制不僅 節(jié)約成本, 控制 方法靈活多樣,并且 可以 達(dá)到較高的控制精度 ,從而能夠大大提高產(chǎn)品的質(zhì)量 ,因此單片機(jī)被廣泛應(yīng)用在中小型控制系統(tǒng)中。 本論文以電阻爐為研究對象,開發(fā)了基于單片機(jī)的溫度控制系統(tǒng)。本溫度控制系統(tǒng)按功能分主要包括溫度傳感器模塊、 數(shù)據(jù)處理模塊、 溫度顯示 /設(shè)定模塊和溫度控制模塊。溫度傳感器采用了數(shù)字式溫度傳感器 DS18B20,對溫度進(jìn)行實(shí)時采樣并將模擬信號轉(zhuǎn)換成數(shù)字信號返回給單片機(jī)。系統(tǒng)可通過鍵盤對 電阻爐 水溫進(jìn)行預(yù)設(shè),單片機(jī)根據(jù)當(dāng)前爐內(nèi)溫度和預(yù)設(shè)溫度進(jìn)行運(yùn)算,控制輸出寬度可調(diào)的 PWM 方波,并由此控制雙向可控硅 的導(dǎo)通和關(guān)斷來調(diào)節(jié)電熱絲的加熱功率,從而使水溫迅速達(dá)到預(yù)設(shè)值并保持恒定不變。 設(shè)計過程中, 首先 進(jìn)行軟件設(shè)計和 開發(fā) , 使系統(tǒng)功能模塊化并分別通過 Proteus軟件進(jìn)行仿真,實(shí)現(xiàn)功能后對硬件進(jìn)行了綜合設(shè)計,并且反復(fù)論證、測試各器件參數(shù)以使其穩(wěn)定運(yùn)行, 最終使得此系統(tǒng)實(shí)現(xiàn)了溫度的恒溫控制。 關(guān)鍵詞 : 單片機(jī) ; 溫度傳感器 ; 可控硅 ; 溫度控制 基于單片機(jī)的電阻爐溫度控制系統(tǒng)設(shè)計 II Design and Implementation of a Temperature Control System Based on the Single Chip Microcontroller Abstract In the industrial production process, often require various types of furnace, heat treatment furnace, reactor temperature detection and regulation, so it needs a proper system of precise control of its temperature, as low power consumption single chip, high performance, reliability, easytomarket modity and so on, so to control the temperature using SCM not only save on cost, control method of flexible and diverse, and can achieve higher precision, which can greatly enhance the quality of the product, so SCM is widely used in the Small control system. In this study, the Temperature Control System design. As a typical application Temperature Control System is the integrated use of the puter theory, control theory, analog electronics, digital control technology, keyboard, display technology, and many other areas of knowledge. Temperature sensor uses digital temperature sensor DS18B20, realtime sampling of the temperature and analog signals into digital signals back to the SCM. System can be preset 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 沈陽航空航天大學(xué)畢業(yè)設(shè)計(論文) III 目 錄 1 緒論 ................................................................................................................................... 1 簡介 ............................................................................................................................. 1 課題研究的內(nèi)容及要求 ............................................................................................. 2 課題的主要研究的內(nèi)容 ...................................................................................... 2 本系統(tǒng)的功能 ...................................................................................................... 3 本文的主要內(nèi)容 ......................................................................................................... 3 方案 1.......................................................................................................................... 4 方案 2.......................................................................................................................... 4 方案論證 ..................................................................................................................... 5 2 電阻爐溫度控制系統(tǒng)工作原理 ....................................................................................... 6 溫度控制總體設(shè)計方案 ............................................................................................. 6 溫度傳感器模塊 ......................................................................................................... 7 DS18B20 基本知識 .............................................................................................. 7 DS18B20 產(chǎn)品的特點(diǎn) .......................................................................................... 8 DS18B20 的引腳介紹 .......................................................................................... 8 DS18B20 的 4 個主要部件 ................................................................................ 10 溫度采集模塊電路圖 ........................................................................................ 12 數(shù)據(jù)處理模塊 ........................................................................................................... 13 單片機(jī)的發(fā)展方向 ............................................................................................ 13 STC89C52 系列主要性能參數(shù) .......................................................................... 13 STC89C52 存儲器配置 ...................................................................................... 17 溫度顯示模塊 /設(shè)定模塊 .......................................................................................... 21 溫度顯示部分 .................................................................................................... 22 溫度設(shè)定部分 .................................................................................................... 26 溫度顯示 /設(shè)定模塊電路圖 ............................................................................... 26 基于單片機(jī)的電阻爐溫度控制系統(tǒng)設(shè)計 IV 溫度控制模塊 ........................................................................................................... 28 可控硅 BTA16..........................................................