基于單片機(jī)的電阻爐溫度控制系統(tǒng)設(shè)計(jì).doc
約57頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
基于單片機(jī)的電阻爐溫度控制系統(tǒng)設(shè)計(jì),摘 要在工業(yè)生產(chǎn)過(guò)程中,往往需要對(duì)各類(lèi)加熱爐、熱處理爐、反應(yīng)爐的溫度進(jìn)行檢測(cè)和調(diào)節(jié),因此需要一種合適的系統(tǒng)對(duì)其溫度進(jìn)行精確控制,由于單片機(jī)具有低功耗、高性能、可靠性好、易于產(chǎn)品化等特點(diǎn),因此采用單片機(jī)對(duì)溫度進(jìn)行控制不僅節(jié)約成本,控制方法靈活多樣,并且可以達(dá)到較高的控制精度,從而能夠大大...
內(nèi)容介紹
此文檔由會(huì)員 shixin7751 發(fā)布
基于單片機(jī)的電阻爐溫度控制系統(tǒng)設(shè)計(jì)
摘 要
在工業(yè)生產(chǎn)過(guò)程中,往往需要對(duì)各類(lèi)加熱爐、熱處理爐、反應(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ī)的溫度控制系統(tǒng)。本溫度控制系統(tǒng)按功能分主要包括溫度傳感器模塊、數(shù)據(jù)處理模塊、溫度顯示/設(shè)定模塊和溫度控制模塊。溫度傳感器采用了數(shù)字式溫度傳感器DS18B20,對(duì)溫度進(jìn)行實(shí)時(shí)采樣并將模擬信號(hào)轉(zhuǎn)換成數(shù)字信號(hào)返回給單片機(jī)。系統(tǒng)可通過(guò)鍵盤(pán)對(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è)值并保持恒定不變。
設(shè)計(jì)過(guò)程中,首先進(jìn)行軟件設(shè)計(jì)和開(kāi)發(fā),使系統(tǒng)功能模塊化并分別通過(guò)Proteus軟件進(jìn)行仿真,實(shí)現(xiàn)功能后對(duì)硬件進(jìn)行了綜合設(shè)計(jì),并且反復(fù)論證、測(cè)試各器件參數(shù)以使其穩(wěn)定運(yùn)行,最終使得此系統(tǒng)實(shí)現(xiàn)了溫度的恒溫控制。
關(guān)鍵詞:?jiǎn)纹瑱C(jī);溫度傳感器;可控硅;溫度控制
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, easy-to-market commodity 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 computer theory, control theory, analog electronics, digital control technology, keyboard, display technology, and many other areas of knowledge.
Temperature sensor uses digital temperature sensor DS18B20, real-time 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 on-and 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: MCS-51, temperature sensor, SCR,temperature control
目 錄
1 緒論 1
1.1 簡(jiǎn)介 1
1.2 課題研究的內(nèi)容及要求 2
1.2.1 課題的主要研究的內(nèi)容 2
1.2.2 本系統(tǒng)的功能 3
1.3 本文的主要內(nèi)容 3
1.4 方案1 4
1.5 方案2 4
1.6 方案論證 5
2 電阻爐溫度控制系統(tǒng)工作原理 6
2.1 溫度控制總體設(shè)計(jì)方案 6
2.2 溫度傳感器模塊 7
2.2.1 DS18B20基本知識(shí) 7
2.2.2 DS18B20產(chǎn)品的特點(diǎn) 8
2.2.3 DS18B20的引腳介紹 8
2.2.4 DS18B20的4個(gè)主要部件 10
2.2.5 溫度采集模塊電路圖 12
2.3 數(shù)據(jù)處理模塊 13
2.3.1 單片機(jī)的發(fā)展方向 13
2.3.2 STC89C52系列主要性能參數(shù) 13
2.3.3 STC89C52存儲(chǔ)器配置 17
2.4 溫度顯示模塊/設(shè)定模塊 21
2.4.1 溫度顯示部分 22
2.4.2 溫度設(shè)定部分 26
2.4.3 溫度顯示/設(shè)定模塊電路圖 26
2.5 溫度控制模塊 28
2.5.1 可控硅BTA16 28
2.5.2 光電偶合器MOC3021 31
2.5.3 溫度控制模塊電路圖 32
3 系統(tǒng)軟件設(shè)計(jì) 33
3.1 系統(tǒng)主程序 33
3.2 溫度采集子程序 34
3.3 顯示子程序 34
3.4 溫度設(shè)定子程序 34
3.5 控制算法 35
4 溫度控制系統(tǒng)Proteus仿真 37
4.1 仿真說(shuō)明 37
4.2 仿真結(jié)果 37
4.3 結(jié)論 39
參考文獻(xiàn) 40
致 謝 41
附錄Ⅰ 程序清單 42..
摘 要
在工業(yè)生產(chǎn)過(guò)程中,往往需要對(duì)各類(lèi)加熱爐、熱處理爐、反應(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ī)的溫度控制系統(tǒng)。本溫度控制系統(tǒng)按功能分主要包括溫度傳感器模塊、數(shù)據(jù)處理模塊、溫度顯示/設(shè)定模塊和溫度控制模塊。溫度傳感器采用了數(shù)字式溫度傳感器DS18B20,對(duì)溫度進(jìn)行實(shí)時(shí)采樣并將模擬信號(hào)轉(zhuǎn)換成數(shù)字信號(hào)返回給單片機(jī)。系統(tǒng)可通過(guò)鍵盤(pán)對(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è)值并保持恒定不變。
設(shè)計(jì)過(guò)程中,首先進(jìn)行軟件設(shè)計(jì)和開(kāi)發(fā),使系統(tǒng)功能模塊化并分別通過(guò)Proteus軟件進(jìn)行仿真,實(shí)現(xiàn)功能后對(duì)硬件進(jìn)行了綜合設(shè)計(jì),并且反復(fù)論證、測(cè)試各器件參數(shù)以使其穩(wěn)定運(yùn)行,最終使得此系統(tǒng)實(shí)現(xiàn)了溫度的恒溫控制。
關(guān)鍵詞:?jiǎn)纹瑱C(jī);溫度傳感器;可控硅;溫度控制
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, easy-to-market commodity 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 computer theory, control theory, analog electronics, digital control technology, keyboard, display technology, and many other areas of knowledge.
Temperature sensor uses digital temperature sensor DS18B20, real-time 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 on-and 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: MCS-51, temperature sensor, SCR,temperature control
目 錄
1 緒論 1
1.1 簡(jiǎn)介 1
1.2 課題研究的內(nèi)容及要求 2
1.2.1 課題的主要研究的內(nèi)容 2
1.2.2 本系統(tǒng)的功能 3
1.3 本文的主要內(nèi)容 3
1.4 方案1 4
1.5 方案2 4
1.6 方案論證 5
2 電阻爐溫度控制系統(tǒng)工作原理 6
2.1 溫度控制總體設(shè)計(jì)方案 6
2.2 溫度傳感器模塊 7
2.2.1 DS18B20基本知識(shí) 7
2.2.2 DS18B20產(chǎn)品的特點(diǎn) 8
2.2.3 DS18B20的引腳介紹 8
2.2.4 DS18B20的4個(gè)主要部件 10
2.2.5 溫度采集模塊電路圖 12
2.3 數(shù)據(jù)處理模塊 13
2.3.1 單片機(jī)的發(fā)展方向 13
2.3.2 STC89C52系列主要性能參數(shù) 13
2.3.3 STC89C52存儲(chǔ)器配置 17
2.4 溫度顯示模塊/設(shè)定模塊 21
2.4.1 溫度顯示部分 22
2.4.2 溫度設(shè)定部分 26
2.4.3 溫度顯示/設(shè)定模塊電路圖 26
2.5 溫度控制模塊 28
2.5.1 可控硅BTA16 28
2.5.2 光電偶合器MOC3021 31
2.5.3 溫度控制模塊電路圖 32
3 系統(tǒng)軟件設(shè)計(jì) 33
3.1 系統(tǒng)主程序 33
3.2 溫度采集子程序 34
3.3 顯示子程序 34
3.4 溫度設(shè)定子程序 34
3.5 控制算法 35
4 溫度控制系統(tǒng)Proteus仿真 37
4.1 仿真說(shuō)明 37
4.2 仿真結(jié)果 37
4.3 結(jié)論 39
參考文獻(xiàn) 40
致 謝 41
附錄Ⅰ 程序清單 42..
TA們正在看...
- 蘇州市實(shí)施細(xì)則之一指標(biāo)核定規(guī)則2015版.doc
- 蘇州市居民住宅小區(qū)安全防范系統(tǒng)技術(shù)要求2016版.doc
- 蘇州市高新區(qū)中考一??荚囌Z(yǔ)文試題.doc
- 蘇州建筑業(yè)企業(yè)信用管理手冊(cè).doc
- 蘇州某中學(xué)初一分班語(yǔ)文試卷.doc
- 蘇州煒華置業(yè)發(fā)展有限公司破產(chǎn)清算案破產(chǎn)財(cái)產(chǎn)變價(jià)...pdf
- 蘇州鎮(zhèn)湖刺繡市場(chǎng)調(diào)查與思考.pdf
- 蘇教版-初二數(shù)學(xué)動(dòng)點(diǎn)問(wèn)題練習(xí)含答案.doc
- 蘇教版小升初語(yǔ)文模擬試卷及答案.doc
- 蘇教版一年級(jí)上冊(cè)數(shù)學(xué)全冊(cè)教學(xué)反思.doc