国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

單片機(jī)應(yīng)用系統(tǒng)設(shè)計(jì)——溫度巡檢系統(tǒng).doc

約73頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)

單片機(jī)應(yīng)用系統(tǒng)設(shè)計(jì)——溫度巡檢系統(tǒng),論文標(biāo)準(zhǔn)word格式排版 73頁(yè)摘要本論文采用臺(tái)灣凌陽(yáng)公司生產(chǎn)的’nsp系列16位spce061a單片機(jī),設(shè)計(jì)了用于檢測(cè)爐窯溫度的溫度巡檢系統(tǒng), 該系統(tǒng)在冶金、化工等領(lǐng)域應(yīng)用較為廣泛。課題主要內(nèi)容包括硬件設(shè)計(jì)(熱電偶溫度傳感器、熱電偶溫度變送器、驅(qū)動(dòng)芯片、led顯示器等)以及軟件程序設(shè)計(jì)(模擬量的采集、a/d轉(zhuǎn)換模塊、...
編號(hào):45-261087大小:11.12M
分類(lèi): 論文>通信/電子論文

內(nèi)容介紹

此文檔由會(huì)員 莎士比亞 發(fā)布

論文標(biāo)準(zhǔn)WORD格式排版 73頁(yè)

摘要
本論文采用臺(tái)灣凌陽(yáng)公司生產(chǎn)的’nSP系列16位SPCE061A單片機(jī),設(shè)計(jì)了用于檢測(cè)爐窯溫度的溫度巡檢系統(tǒng), 該系統(tǒng)在冶金、化工等領(lǐng)域應(yīng)用較為廣泛。課題主要內(nèi)容包括硬件設(shè)計(jì)(熱電偶溫度傳感器、熱電偶溫度變送器、驅(qū)動(dòng)芯片、LED顯示器等)以及軟件程序設(shè)計(jì)(模擬量的采集、A/D轉(zhuǎn)換模塊、定時(shí)器、I/O模塊等)。
該系統(tǒng)可以在一個(gè)采樣周期內(nèi)實(shí)現(xiàn)四個(gè)溫度采集點(diǎn)的巡回檢測(cè)、各個(gè)采集點(diǎn)的溫度的LED顯示、溫度的超限報(bào)警功能。論文詳細(xì)闡述了軟件設(shè)計(jì)的思路,并對(duì)硬件接口電路和程序流程圖進(jìn)行了詳細(xì)的分析,并對(duì)系統(tǒng)的抗干擾性能進(jìn)行了優(yōu)化設(shè)置。
大部分程序采用了C語(yǔ)言編程,相較于匯編語(yǔ)言來(lái)說(shuō)它具有結(jié)構(gòu)靈活,數(shù)字信號(hào)處理能力強(qiáng)的特點(diǎn),而且只要修改參數(shù)就可以方便地應(yīng)用于其它類(lèi)似的系統(tǒng)。

關(guān)鍵字:SPCE061A單片機(jī),采樣,A/D轉(zhuǎn)換

The Design of System for Itinerant Temperature Measurement Using MCU
Abstract
The author of the paper designs a itinerant measurement system of temperature in measuring the furnace temperature using the SPCE061A 16-bit MCU in the ’nSP series made by Taiwan Sunplus Ltd , which is used widely in the filed of metallurgical engineering and chemical industry. This paper contains the designs of hardware (the thermocouple sensor, the thermocouple convert, the driver, the LED displayer etc.) and the software (the analog data collect, the ADC convert unit, the Timer,the I/O unit etc.).
The system can measure the furnace temperature of the four points in a sample period, display the temperature data of each point on the LED displayer and give an alarm when the temperature oversteps the normal boundaries. The paper tells the designing thought in detail and analyses the circuit diagrams and charts with clarity.
Most of the programs are described by C language, which has the advantages of agility structure and strong Digital Signal Processing ability to the assemble language. The program can be transplanted conveniently to other similar system just by modifying the parameters.

Keywords: SPCE061A MCU, sample,analogy-digital-convert


目錄
1 緒論1
1.1 課題的提出1
1.2 單片機(jī)的發(fā)展及現(xiàn)狀1
1.3 課題的系統(tǒng)構(gòu)成2
2 系統(tǒng)基本硬件4
2.1 凌陽(yáng)16位單片機(jī)SPCE061A介紹4
2.1.1 SPCE061A的性能5
2.1.2 SPCE061A的內(nèi)部結(jié)構(gòu)和最小系統(tǒng)6
2.1.3 定時(shí)器和計(jì)數(shù)器8
2.1.4 輸入輸出接口11
2.1.5 A/D轉(zhuǎn)換器13
2.1.6 凌陽(yáng)SPCE061A的指令系統(tǒng)15
2.2 溫度傳感器17
2.2.1熱電偶的測(cè)溫原理18
2.2.2 熱電偶傳感器的選型18
2.2.3 熱電偶的結(jié)構(gòu)形式19
2.2.4 熱電偶的冷端補(bǔ)償19
2.3 溫度變送器21
3 系統(tǒng)硬件設(shè)計(jì)24
3.1 電路方框圖其說(shuō)明24
3.2 SPCE061A與計(jì)算機(jī)的接口24
3.3 SPCE61A與外部傳感器、變送器的接口25
3.3.1 被測(cè)溫度的輸入通道25
3.3.2 溫度傳感器和溫度變送器與SPCE061A的接口電路26
3.4 LED顯示器接口電路26
3.4.1 七段數(shù)碼管27
3.4.2 靜態(tài)顯示方式和動(dòng)態(tài)顯示方式27
3.4.3 LED顯示器的接口電路28
3.4.4驅(qū)動(dòng)芯片BIC781829
3.5聲光報(bào)警電路30
3.5.1 通道1~4的報(bào)警電路接口30
3.5.2 SPCE061A的DAC輸出通道與揚(yáng)聲器的接口31
3.6 SPCE061A的電源模塊32
4 系統(tǒng)的軟件程序設(shè)計(jì)33
4.1 主程序33
4.2 FIQ中斷子程序35
4.3 采樣及A/D轉(zhuǎn)換子程序36
4.4數(shù)字濾波子程序38
4.5標(biāo)度轉(zhuǎn)換子程序39
4.6報(bào)警子程序39
4.6.1 報(bào)警子程序Sgbj()40
4.6.2報(bào)警子程序Alarm()41
4.7 LED顯示子程序42
4.7.1 LED顯示子程序Display()42
4.7.2 LED顯示器的段選碼43
4.7.3 LED顯示子程序F_show()43
4.8 放音子程序44
4.9 編程工作的總結(jié)45
5 系統(tǒng)調(diào)試47
5.1編程工具’nSP IDE的簡(jiǎn)介47
5.2 程序的調(diào)試51
6 總 結(jié)53
參考文獻(xiàn)54
附錄55
附錄一:SPCE061A引腳說(shuō)明(PLCC84封裝形式)55
附錄二:源程序代碼57
附錄三:系統(tǒng)硬件電路圖67
致謝68