糧庫(kù)數(shù)字測(cè)控系統(tǒng)論文.doc
約98頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
糧庫(kù)數(shù)字測(cè)控系統(tǒng)論文,摘 要本論文設(shè)計(jì)了一個(gè)糧庫(kù)數(shù)字測(cè)控系統(tǒng),以系統(tǒng)對(duì)糧庫(kù)的溫度和濕度變化進(jìn)行實(shí)時(shí)檢測(cè),且檢測(cè)方式分為定時(shí)檢測(cè)、選點(diǎn)檢測(cè)和巡回檢測(cè)三種。對(duì)檢測(cè)到的數(shù)據(jù)進(jìn)行自動(dòng)存儲(chǔ)和分析,當(dāng)糧情參數(shù)出現(xiàn)異常,即溫度、濕度實(shí)測(cè)值超過(guò)設(shè)定的范圍時(shí),系統(tǒng)進(jìn)行語(yǔ)音報(bào)警,并自動(dòng)控制風(fēng)機(jī)和除濕機(jī)工作,進(jìn)行糧庫(kù)的降溫和除濕。溫度和濕度范圍可人工設(shè)定。系統(tǒng)選...
內(nèi)容介紹
此文檔由會(huì)員 wanli1988go 發(fā)布
摘 要
本論文設(shè)計(jì)了一個(gè)糧庫(kù)數(shù)字測(cè)控系統(tǒng),以系統(tǒng)對(duì)糧庫(kù)的溫度和濕度變化進(jìn)行實(shí)時(shí)檢測(cè),且檢測(cè)方式分為定時(shí)檢測(cè)、選點(diǎn)檢測(cè)和巡回檢測(cè)三種。對(duì)檢測(cè)到的數(shù)據(jù)進(jìn)行自動(dòng)存儲(chǔ)和分析,當(dāng)糧情參數(shù)出現(xiàn)異常,即溫度、濕度實(shí)測(cè)值超過(guò)設(shè)定的范圍時(shí),系統(tǒng)進(jìn)行語(yǔ)音報(bào)警,并自動(dòng)控制風(fēng)機(jī)和除濕機(jī)工作,進(jìn)行糧庫(kù)的降溫和除濕。溫度和濕度范圍可人工設(shè)定。
系統(tǒng)選用凌陽(yáng)公司生產(chǎn)的SPCE061A單片機(jī)作為控制核心器件,前向通道采用單總線接口的數(shù)字溫度傳感器DS18B20來(lái)測(cè)量糧庫(kù)溫度;采用線性電壓輸出式集成濕度傳感器HM1500來(lái)測(cè)量糧庫(kù)濕度;將檢測(cè)到的溫度和濕度數(shù)據(jù)存儲(chǔ)并通過(guò)LED模組顯示。溫度、濕度范圍和檢測(cè)方式通過(guò)4×4鍵盤來(lái)人工設(shè)定。
關(guān)鍵詞:?jiǎn)纹瑱C(jī)、溫度、濕度
Abstract
The paper has designed a numeral observation and control system of the grain depot.This system carries on the real-time examination to the temperature and humidity changes of the grain depot.The examination way divides into three kinds:fix-time examination,the point sort examination and the tour examination.The system memories and analyses the measured dates automatically.When the parameter of grain depot condition goes extraordinary,namely the temperature and the humidity actual value surpass the set scope,the systems carries on the pronunciation to the police and control the air blower and the dehumidifier automatically,to reduce the temperature and dehumidify the grain depot .The temperature and the humidity scope can be established artificially.
The SPCE061A single chip microcomputer,produced by the Lingyang Company,is selected as the core component of the system.The forward channel uses single bus connective digital temperature sensor DS18B20 to measure the temperature of the grain depot.It also uses integrative humidity sensor HM1500 to measure the humidity.The output of HM1500 is linear voltage.It memories the measured temperature and humidity dates and display them through LED mold group.The temperature,the humidity scope and the examination way are established through the 4×4 keyboard.
Key words:Single Chip Microcomputer、temperature、humidity
目 錄
摘 要 I
ABSTRACT II
第一章 緒論 1
第一節(jié) 研究背景及其意義 1
第二節(jié) 單片機(jī)綜述 2
一、單片機(jī)的硬件 2
二、單片機(jī)的軟件 2
三、單片機(jī)的特點(diǎn) 3
四、單片機(jī)的分類及應(yīng)用領(lǐng)域 4
五、單片機(jī)技術(shù)的發(fā)展 5
第三節(jié) 國(guó)內(nèi)糧情測(cè)控系統(tǒng)的現(xiàn)狀及發(fā)展趨勢(shì) 5
一、按溫度傳感器分類 6
二、按通信方式分類 7
第二章 凌陽(yáng)SPCE061A單片機(jī)簡(jiǎn)介 10
第一節(jié) 凌陽(yáng)16位單片機(jī) 10
第二節(jié) SPCE061A簡(jiǎn)介 11
一、概 述 11
二、特 色 11
三、結(jié)構(gòu)概覽 12
四、芯片的引腳排列和說(shuō)明 12
五、特 性 15
六、SPCE061A的最小系統(tǒng) 16
七、SPCE061A的開(kāi)發(fā)方法 17
八、應(yīng)用領(lǐng)域 17
第三節(jié) SPCE061A 單片機(jī)的硬件結(jié)構(gòu) 18
一、SPCE061A 的輸入/輸出接口 18
二、時(shí)間基準(zhǔn)信號(hào) 21
三、定時(shí)器/計(jì)數(shù)器 21
四、模/數(shù)轉(zhuǎn)換器ADC 24
五、DAC方式音頻輸出 27
六、串行設(shè)備輸入輸出口(SIO) 28
七、通用異步串行接口UART 30
八、看門狗計(jì)數(shù)器(WatchDog) 32
第三章 系統(tǒng)硬件電路的設(shè)計(jì) 34
第一節(jié) 電路方框圖及其說(shuō)明 34
一、鍵盤設(shè)定 34
二、語(yǔ)音報(bào)警 34
三、數(shù)據(jù)采樣 35
四、數(shù)據(jù)顯示 35
第二節(jié) 各部分電路設(shè)計(jì) 35
一、核心控制器件 35
二、傳感器的選擇 37
三、顯示單元的設(shè)計(jì) 45
四、鍵盤擴(kuò)展電路的設(shè)計(jì) 48
五、光電隔離 49
六、音頻輸出電路 51
七、設(shè)備控制電路 51
第四章 系統(tǒng)軟件的設(shè)計(jì) 53
第一節(jié) 主程序的設(shè)計(jì) 53
第二節(jié) 子程序的設(shè)計(jì) 54
一、顯示子程序 54
二、A/D轉(zhuǎn)換子程序 55
三、4×4鍵盤掃描即處理子程序 56
第三節(jié) 程序清單 57
第五章 系統(tǒng)調(diào)試 71
第一節(jié) 61板的檢測(cè) 71
一、主要測(cè)試部分 71
二、61板自檢的具體操作步驟 71
第二節(jié) 測(cè)試流程圖 72
結(jié)束語(yǔ) 73
致 謝 74
參考文獻(xiàn) 75
附錄1 英文論文 76
附錄2 中文翻譯 85
參考文獻(xiàn)
[1]余錫存 曹國(guó)華。單片機(jī)原理及接口技術(shù)。西安電子科技大學(xué)出版社,2000
[2]羅亞非。凌陽(yáng)16位單片機(jī)應(yīng)用基礎(chǔ)。北京航天航空大學(xué)出版社,2005
[3] http://www.unsp.com.cn/ 凌陽(yáng)大學(xué)計(jì)劃網(wǎng)站
[4]合利民。單片機(jī)應(yīng)用文集。北京航天航空大學(xué)出版社,1991
[5]林月芳。糧庫(kù)溫濕度測(cè)量與防火防盜監(jiān)測(cè)系統(tǒng)。中國(guó)農(nóng)業(yè)大學(xué)碩士學(xué)位論文,2003
[6]涂時(shí)亮,張友德。單片微機(jī)控制技術(shù)。電子工業(yè)出版社,1994
[7]王家楨,王俊杰。傳感器與執(zhí)行器。清華大學(xué)出版社,1996
[8]潘新民,王燕芳。微型計(jì)算機(jī)控制技術(shù)。高等教育出版社,2000
[9]洪家平?;赑IC系列單片機(jī)的智能濕度測(cè)量。儀器儀表用戶,2004
[10]呂俊芳。傳感器接口與檢測(cè)儀器電路。北京航天航空大學(xué)出版社,1994
[11]白廣存,王慶斌。溫室環(huán)境監(jiān)測(cè)與計(jì)算機(jī)管理系統(tǒng)。農(nóng)業(yè)工程學(xué)報(bào),1995(11)
[12] Saeid Jannesari and Jim Todsen.。Measuring Temperature with the ADS1216,ADS1217,orADS1218, 2002
[13]趙亮。單片機(jī)C語(yǔ)言編程與實(shí)例。人民郵電出版社,2003
[14]譚浩強(qiáng)。C程序設(shè)計(jì)(第二版)。清華大學(xué)出版社,1999
[15 ]http://www.gnkj.net/ 中國(guó)單片機(jī)培訓(xùn)網(wǎng)
[16]http://mcuw.com/ 中國(guó)單片機(jī)世界
[17]沙占友。單片機(jī)外圍電路設(shè)計(jì)。電子工業(yè)出版社,2003
[18]徐科軍。傳感器與檢測(cè)技術(shù)。電子工業(yè)出版社,2004
本論文設(shè)計(jì)了一個(gè)糧庫(kù)數(shù)字測(cè)控系統(tǒng),以系統(tǒng)對(duì)糧庫(kù)的溫度和濕度變化進(jìn)行實(shí)時(shí)檢測(cè),且檢測(cè)方式分為定時(shí)檢測(cè)、選點(diǎn)檢測(cè)和巡回檢測(cè)三種。對(duì)檢測(cè)到的數(shù)據(jù)進(jìn)行自動(dòng)存儲(chǔ)和分析,當(dāng)糧情參數(shù)出現(xiàn)異常,即溫度、濕度實(shí)測(cè)值超過(guò)設(shè)定的范圍時(shí),系統(tǒng)進(jìn)行語(yǔ)音報(bào)警,并自動(dòng)控制風(fēng)機(jī)和除濕機(jī)工作,進(jìn)行糧庫(kù)的降溫和除濕。溫度和濕度范圍可人工設(shè)定。
系統(tǒng)選用凌陽(yáng)公司生產(chǎn)的SPCE061A單片機(jī)作為控制核心器件,前向通道采用單總線接口的數(shù)字溫度傳感器DS18B20來(lái)測(cè)量糧庫(kù)溫度;采用線性電壓輸出式集成濕度傳感器HM1500來(lái)測(cè)量糧庫(kù)濕度;將檢測(cè)到的溫度和濕度數(shù)據(jù)存儲(chǔ)并通過(guò)LED模組顯示。溫度、濕度范圍和檢測(cè)方式通過(guò)4×4鍵盤來(lái)人工設(shè)定。
關(guān)鍵詞:?jiǎn)纹瑱C(jī)、溫度、濕度
Abstract
The paper has designed a numeral observation and control system of the grain depot.This system carries on the real-time examination to the temperature and humidity changes of the grain depot.The examination way divides into three kinds:fix-time examination,the point sort examination and the tour examination.The system memories and analyses the measured dates automatically.When the parameter of grain depot condition goes extraordinary,namely the temperature and the humidity actual value surpass the set scope,the systems carries on the pronunciation to the police and control the air blower and the dehumidifier automatically,to reduce the temperature and dehumidify the grain depot .The temperature and the humidity scope can be established artificially.
The SPCE061A single chip microcomputer,produced by the Lingyang Company,is selected as the core component of the system.The forward channel uses single bus connective digital temperature sensor DS18B20 to measure the temperature of the grain depot.It also uses integrative humidity sensor HM1500 to measure the humidity.The output of HM1500 is linear voltage.It memories the measured temperature and humidity dates and display them through LED mold group.The temperature,the humidity scope and the examination way are established through the 4×4 keyboard.
Key words:Single Chip Microcomputer、temperature、humidity
目 錄
摘 要 I
ABSTRACT II
第一章 緒論 1
第一節(jié) 研究背景及其意義 1
第二節(jié) 單片機(jī)綜述 2
一、單片機(jī)的硬件 2
二、單片機(jī)的軟件 2
三、單片機(jī)的特點(diǎn) 3
四、單片機(jī)的分類及應(yīng)用領(lǐng)域 4
五、單片機(jī)技術(shù)的發(fā)展 5
第三節(jié) 國(guó)內(nèi)糧情測(cè)控系統(tǒng)的現(xiàn)狀及發(fā)展趨勢(shì) 5
一、按溫度傳感器分類 6
二、按通信方式分類 7
第二章 凌陽(yáng)SPCE061A單片機(jī)簡(jiǎn)介 10
第一節(jié) 凌陽(yáng)16位單片機(jī) 10
第二節(jié) SPCE061A簡(jiǎn)介 11
一、概 述 11
二、特 色 11
三、結(jié)構(gòu)概覽 12
四、芯片的引腳排列和說(shuō)明 12
五、特 性 15
六、SPCE061A的最小系統(tǒng) 16
七、SPCE061A的開(kāi)發(fā)方法 17
八、應(yīng)用領(lǐng)域 17
第三節(jié) SPCE061A 單片機(jī)的硬件結(jié)構(gòu) 18
一、SPCE061A 的輸入/輸出接口 18
二、時(shí)間基準(zhǔn)信號(hào) 21
三、定時(shí)器/計(jì)數(shù)器 21
四、模/數(shù)轉(zhuǎn)換器ADC 24
五、DAC方式音頻輸出 27
六、串行設(shè)備輸入輸出口(SIO) 28
七、通用異步串行接口UART 30
八、看門狗計(jì)數(shù)器(WatchDog) 32
第三章 系統(tǒng)硬件電路的設(shè)計(jì) 34
第一節(jié) 電路方框圖及其說(shuō)明 34
一、鍵盤設(shè)定 34
二、語(yǔ)音報(bào)警 34
三、數(shù)據(jù)采樣 35
四、數(shù)據(jù)顯示 35
第二節(jié) 各部分電路設(shè)計(jì) 35
一、核心控制器件 35
二、傳感器的選擇 37
三、顯示單元的設(shè)計(jì) 45
四、鍵盤擴(kuò)展電路的設(shè)計(jì) 48
五、光電隔離 49
六、音頻輸出電路 51
七、設(shè)備控制電路 51
第四章 系統(tǒng)軟件的設(shè)計(jì) 53
第一節(jié) 主程序的設(shè)計(jì) 53
第二節(jié) 子程序的設(shè)計(jì) 54
一、顯示子程序 54
二、A/D轉(zhuǎn)換子程序 55
三、4×4鍵盤掃描即處理子程序 56
第三節(jié) 程序清單 57
第五章 系統(tǒng)調(diào)試 71
第一節(jié) 61板的檢測(cè) 71
一、主要測(cè)試部分 71
二、61板自檢的具體操作步驟 71
第二節(jié) 測(cè)試流程圖 72
結(jié)束語(yǔ) 73
致 謝 74
參考文獻(xiàn) 75
附錄1 英文論文 76
附錄2 中文翻譯 85
參考文獻(xiàn)
[1]余錫存 曹國(guó)華。單片機(jī)原理及接口技術(shù)。西安電子科技大學(xué)出版社,2000
[2]羅亞非。凌陽(yáng)16位單片機(jī)應(yīng)用基礎(chǔ)。北京航天航空大學(xué)出版社,2005
[3] http://www.unsp.com.cn/ 凌陽(yáng)大學(xué)計(jì)劃網(wǎng)站
[4]合利民。單片機(jī)應(yīng)用文集。北京航天航空大學(xué)出版社,1991
[5]林月芳。糧庫(kù)溫濕度測(cè)量與防火防盜監(jiān)測(cè)系統(tǒng)。中國(guó)農(nóng)業(yè)大學(xué)碩士學(xué)位論文,2003
[6]涂時(shí)亮,張友德。單片微機(jī)控制技術(shù)。電子工業(yè)出版社,1994
[7]王家楨,王俊杰。傳感器與執(zhí)行器。清華大學(xué)出版社,1996
[8]潘新民,王燕芳。微型計(jì)算機(jī)控制技術(shù)。高等教育出版社,2000
[9]洪家平?;赑IC系列單片機(jī)的智能濕度測(cè)量。儀器儀表用戶,2004
[10]呂俊芳。傳感器接口與檢測(cè)儀器電路。北京航天航空大學(xué)出版社,1994
[11]白廣存,王慶斌。溫室環(huán)境監(jiān)測(cè)與計(jì)算機(jī)管理系統(tǒng)。農(nóng)業(yè)工程學(xué)報(bào),1995(11)
[12] Saeid Jannesari and Jim Todsen.。Measuring Temperature with the ADS1216,ADS1217,orADS1218, 2002
[13]趙亮。單片機(jī)C語(yǔ)言編程與實(shí)例。人民郵電出版社,2003
[14]譚浩強(qiáng)。C程序設(shè)計(jì)(第二版)。清華大學(xué)出版社,1999
[15 ]http://www.gnkj.net/ 中國(guó)單片機(jī)培訓(xùn)網(wǎng)
[16]http://mcuw.com/ 中國(guó)單片機(jī)世界
[17]沙占友。單片機(jī)外圍電路設(shè)計(jì)。電子工業(yè)出版社,2003
[18]徐科軍。傳感器與檢測(cè)技術(shù)。電子工業(yè)出版社,2004
TA們正在看...
- 機(jī)器人課程考試復(fù)習(xí)題庫(kù).doc
- 機(jī)器設(shè)備評(píng)估常用數(shù)據(jù)及參數(shù).doc
- 機(jī)場(chǎng)周界入侵報(bào)警系統(tǒng)方案.doc
- 機(jī)場(chǎng)運(yùn)營(yíng)管理思考題.doc
- 機(jī)床課程設(shè)計(jì)說(shuō)明書.doc
- 機(jī)房供電設(shè)計(jì).doc
- 機(jī)房建設(shè)要求.doc
- 機(jī)房空調(diào)開(kāi)機(jī)調(diào)試報(bào)告.doc
- 機(jī)房維保方案-模板.doc
- 機(jī)房設(shè)計(jì)方案.doc