水溫控制系統(tǒng).rar
水溫控制系統(tǒng),頁數(shù):39頁 字?jǐn)?shù):1.7865萬字摘要: 為了實現(xiàn)高精度的水溫控制,本文介紹了一種以spce061a單片機為控制核心、以pid算法控制以及pid參數(shù)整定相結(jié)合的控制方法來實現(xiàn)的。文章著重介紹核心器件的選擇、控制算法的確定、各部份電路及軟件的設(shè)計。spce061a單片機完善的內(nèi)部結(jié)構(gòu)、優(yōu)良的性能...
該文檔為壓縮文件,包含的文件列表如下:


內(nèi)容介紹
原文檔由會員 轉(zhuǎn)角遇見美 發(fā)布
水溫控制系統(tǒng)
頁數(shù):39頁 字?jǐn)?shù):1.7865萬字
摘要: 為了實現(xiàn)高精度的水溫控制,本文介紹了一種以SPCE061A單片機為控制核心、以PID算法控制以及PID參數(shù)整定相結(jié)合的控制方法來實現(xiàn)的水溫控制系統(tǒng)。文章著重介紹核心器件的選擇、控制算法的確定、各部份電路及軟件的設(shè)計。SPCE061A單片機完善的內(nèi)部結(jié)構(gòu)、優(yōu)良的性能和強大的中斷處理能力,決定了該控制系統(tǒng)的特點:電路結(jié)構(gòu)簡單、程序簡短、系統(tǒng)可靠性高等。本次設(shè)計還充分利用了SPCE061A單片機成熟的語音處理技術(shù)和PC機的圖形處理功能,來實現(xiàn)了語音播報溫度和打印溫度變化曲線的要求。
關(guān)鍵詞 : SPCE061A單片機;Pt1000;PID
Abstract :This text has recommended one kind regards SPCE061A one-chip computer as core of controlling, algorithm control and PID parameter whole control method to combine together definitely temperature control system that realized comes with PID, Art In order to realize high-accuracy temperature control. icle recommend key choice of device , control sureness , every circuit and design of software of algorithm emphatically. SPCE061A one-chip computer's perfect inside structure , fine performance and strong one stop dealing with ability , have determined the characteristic of this control system: The circuit is of simple structure, the brief , systematic dependability of procedure is high. This design has also fully utilized SPCE061A one-chip computer's ripe pronunciation treatment technology and graph processing function of the PC , to realize the pronunciation report temperature and type the demand for changing the curve of temperature.
Key words : SPCE061A single-chip computer; Pt1000; PID
目錄
摘要…………………………………………………………………………………………………………..1
1 系統(tǒng)方案………………………………………………………………………………………………..2
1.1 水溫控制系統(tǒng)設(shè)計任務(wù)和要求…………………………………………………………………..2
1.2 水溫控制系統(tǒng)關(guān)鍵部分確定……………………………………………………………………..2
1.2.1 CPU(Computer processing Unit)中央處理器 …………………………………………3
1.2.2 常用溫度控制系統(tǒng)分析……………………………………………………………………..3
2 系統(tǒng)硬件設(shè)計……………………………………………………………………………..……………5
2.1 總體設(shè)計框圖及說明………………………………………………………………………….….5
2.2 部分外部電路設(shè)計………………………………………………………………………………..6
2.2.1 鍵盤設(shè)置電路………………………………………………………………………………..7
2.2.2 測溫部分電路………………………………………………………………………………..7
2.2.3 控制電路……………………………………………………………………………………..8
2.2.4 音頻輸出電路………………………………………………………………………………..9
2.2.5 數(shù)碼顯示電路………………………………………………………………………………10
2.2.6 串行通訊部分電路…………………………………………………………………………11
3 系統(tǒng)軟件設(shè)計…………………………………………………………………………………………12
3.1 程序結(jié)構(gòu)說明……………………………………………………………………………………12
3.2 程序流程圖及部分程序…………………………………………………………………………13
3.2.1 主程序………………………………………………………………………………………13
3.2.2 系統(tǒng)初始化…………………………………………………………………………………15
3.2.3 鍵盤程序……………………………………………………………………………………16
3.2.4 A/D轉(zhuǎn)換值處理…………………………………………………………………………….18
3.2.5 數(shù)字PID計算………………………………………………………………………………21
3.2.6 繼電器控制…………………………………………………………………………………23
3.2.7 語音播放……………………………………………………………………………………24
4 SPCE061A單片機簡介…………………………………………………………………………………27
4.1 µ’nSP™的內(nèi)核結(jié)構(gòu)……………………………………………………..………………………28
4.2 SPCE061A的結(jié)構(gòu)圖………………………………………………………………………………29
4.3 SPCE061A單片機性能……………………………………………………………………………32
4.4 SPCE061A最小系統(tǒng)………………………………………………………………………………33
4.5 SPCE061A開發(fā)方法………………………………………………………………………………33
5 系統(tǒng)調(diào)試及參數(shù)整定…………………………………………………………………………………34
5.1 繼電器測試………………………………………………………………………………………34
5.2 PID參數(shù)整定…………….............................................................................................................35
5.3 系統(tǒng)測試…………………………………………………………………………………………36
5.3.1 測試環(huán)境……………………………………………………………………………………36
5.3.2 測試方法……………………………………………………………………………………37
5.3.3 系統(tǒng)誤差分析………………………………………………………………………………37
6 結(jié)束語…………………………………………………………………………………………………37
參考文獻……………………………………………………………………………………………………38
致謝…………………………………………………………………………………………………………
參考文獻
1 全國大學(xué)生電子設(shè)計競賽組委會. 全國大學(xué)生電子設(shè)計競賽獲獎作品匯編. 北京:北京理工大學(xué)出版社,2004
2 薛鈞義. 凌陽16位單片機原理及應(yīng)用. 北京:北京航空航天大學(xué)出版社,2003
3 謝劍英、賈青. 微型計算機控制技術(shù). 北京:國防工業(yè)出版社,2004
4 侯志林. 過程控制與自動化儀表. 北京:機械工業(yè)出版社,2003
5 譚浩強. C程序設(shè)計. 北京:清華大學(xué)出版社,2002
頁數(shù):39頁 字?jǐn)?shù):1.7865萬字
摘要: 為了實現(xiàn)高精度的水溫控制,本文介紹了一種以SPCE061A單片機為控制核心、以PID算法控制以及PID參數(shù)整定相結(jié)合的控制方法來實現(xiàn)的水溫控制系統(tǒng)。文章著重介紹核心器件的選擇、控制算法的確定、各部份電路及軟件的設(shè)計。SPCE061A單片機完善的內(nèi)部結(jié)構(gòu)、優(yōu)良的性能和強大的中斷處理能力,決定了該控制系統(tǒng)的特點:電路結(jié)構(gòu)簡單、程序簡短、系統(tǒng)可靠性高等。本次設(shè)計還充分利用了SPCE061A單片機成熟的語音處理技術(shù)和PC機的圖形處理功能,來實現(xiàn)了語音播報溫度和打印溫度變化曲線的要求。
關(guān)鍵詞 : SPCE061A單片機;Pt1000;PID
Abstract :This text has recommended one kind regards SPCE061A one-chip computer as core of controlling, algorithm control and PID parameter whole control method to combine together definitely temperature control system that realized comes with PID, Art In order to realize high-accuracy temperature control. icle recommend key choice of device , control sureness , every circuit and design of software of algorithm emphatically. SPCE061A one-chip computer's perfect inside structure , fine performance and strong one stop dealing with ability , have determined the characteristic of this control system: The circuit is of simple structure, the brief , systematic dependability of procedure is high. This design has also fully utilized SPCE061A one-chip computer's ripe pronunciation treatment technology and graph processing function of the PC , to realize the pronunciation report temperature and type the demand for changing the curve of temperature.
Key words : SPCE061A single-chip computer; Pt1000; PID
目錄
摘要…………………………………………………………………………………………………………..1
1 系統(tǒng)方案………………………………………………………………………………………………..2
1.1 水溫控制系統(tǒng)設(shè)計任務(wù)和要求…………………………………………………………………..2
1.2 水溫控制系統(tǒng)關(guān)鍵部分確定……………………………………………………………………..2
1.2.1 CPU(Computer processing Unit)中央處理器 …………………………………………3
1.2.2 常用溫度控制系統(tǒng)分析……………………………………………………………………..3
2 系統(tǒng)硬件設(shè)計……………………………………………………………………………..……………5
2.1 總體設(shè)計框圖及說明………………………………………………………………………….….5
2.2 部分外部電路設(shè)計………………………………………………………………………………..6
2.2.1 鍵盤設(shè)置電路………………………………………………………………………………..7
2.2.2 測溫部分電路………………………………………………………………………………..7
2.2.3 控制電路……………………………………………………………………………………..8
2.2.4 音頻輸出電路………………………………………………………………………………..9
2.2.5 數(shù)碼顯示電路………………………………………………………………………………10
2.2.6 串行通訊部分電路…………………………………………………………………………11
3 系統(tǒng)軟件設(shè)計…………………………………………………………………………………………12
3.1 程序結(jié)構(gòu)說明……………………………………………………………………………………12
3.2 程序流程圖及部分程序…………………………………………………………………………13
3.2.1 主程序………………………………………………………………………………………13
3.2.2 系統(tǒng)初始化…………………………………………………………………………………15
3.2.3 鍵盤程序……………………………………………………………………………………16
3.2.4 A/D轉(zhuǎn)換值處理…………………………………………………………………………….18
3.2.5 數(shù)字PID計算………………………………………………………………………………21
3.2.6 繼電器控制…………………………………………………………………………………23
3.2.7 語音播放……………………………………………………………………………………24
4 SPCE061A單片機簡介…………………………………………………………………………………27
4.1 µ’nSP™的內(nèi)核結(jié)構(gòu)……………………………………………………..………………………28
4.2 SPCE061A的結(jié)構(gòu)圖………………………………………………………………………………29
4.3 SPCE061A單片機性能……………………………………………………………………………32
4.4 SPCE061A最小系統(tǒng)………………………………………………………………………………33
4.5 SPCE061A開發(fā)方法………………………………………………………………………………33
5 系統(tǒng)調(diào)試及參數(shù)整定…………………………………………………………………………………34
5.1 繼電器測試………………………………………………………………………………………34
5.2 PID參數(shù)整定…………….............................................................................................................35
5.3 系統(tǒng)測試…………………………………………………………………………………………36
5.3.1 測試環(huán)境……………………………………………………………………………………36
5.3.2 測試方法……………………………………………………………………………………37
5.3.3 系統(tǒng)誤差分析………………………………………………………………………………37
6 結(jié)束語…………………………………………………………………………………………………37
參考文獻……………………………………………………………………………………………………38
致謝…………………………………………………………………………………………………………
參考文獻
1 全國大學(xué)生電子設(shè)計競賽組委會. 全國大學(xué)生電子設(shè)計競賽獲獎作品匯編. 北京:北京理工大學(xué)出版社,2004
2 薛鈞義. 凌陽16位單片機原理及應(yīng)用. 北京:北京航空航天大學(xué)出版社,2003
3 謝劍英、賈青. 微型計算機控制技術(shù). 北京:國防工業(yè)出版社,2004
4 侯志林. 過程控制與自動化儀表. 北京:機械工業(yè)出版社,2003
5 譚浩強. C程序設(shè)計. 北京:清華大學(xué)出版社,2002