家用可燃?xì)怏w報(bào)警器的設(shè)計(jì).doc
約48頁(yè)DOC格式手機(jī)打開展開
家用可燃?xì)怏w報(bào)警器的設(shè)計(jì),摘 要隨著可燃?xì)怏w作為一種新型能源的應(yīng)用,給人民群眾的日常生活帶來(lái)極大的方便.同時(shí)也帶來(lái)新的隱患。一但可燃?xì)庑孤叮瑯O易發(fā)生火災(zāi)乃至爆炸,對(duì)人民的生命財(cái)產(chǎn)造成極大傷害, 我們需對(duì)各種可燃性氣體在家庭中存在的情況進(jìn)行有效的監(jiān)控。本文介紹了一種單片機(jī)控制的可燃?xì)怏w報(bào)警器的電路, 在整個(gè)設(shè)計(jì)過(guò)程,分別從硬件和軟件兩個(gè)方面描述,...


內(nèi)容介紹
此文檔由會(huì)員 shixin7751 發(fā)布
摘 要
隨著可燃?xì)怏w作為一種新型能源的應(yīng)用,給人民群眾的日常生活帶來(lái)極大的方便.同時(shí)也帶來(lái)新的隱患。一但可燃?xì)庑孤叮瑯O易發(fā)生火災(zāi)乃至爆炸,對(duì)人民的生命財(cái)產(chǎn)造成極大傷害, 我們需對(duì)各種可燃性氣體在家庭中存在的情況進(jìn)行有效的監(jiān)控。
本文介紹了一種單片機(jī)控制的可燃?xì)怏w報(bào)警器的電路, 在整個(gè)設(shè)計(jì)過(guò)程,分別從硬件和軟件兩個(gè)方面描述,即從硬件電路的設(shè)計(jì)方法到實(shí)現(xiàn)所要求功能的軟件技術(shù)。該報(bào)警系統(tǒng)是以AT89S51單片機(jī)為控制器,先由氣敏傳感器QM-N5采集室內(nèi)空氣,再通過(guò)ADC0804進(jìn)行摸—數(shù)轉(zhuǎn)化,所得到的數(shù)據(jù)于原設(shè)定好的數(shù)據(jù)進(jìn)行比較分析,最后得出天然氣或液化氣的濃度是否超標(biāo),如不超標(biāo)則繼續(xù)采集下一組氣體樣本,如超標(biāo)根據(jù)超標(biāo)量進(jìn)行高低不同的分級(jí)報(bào)警, 并控制相應(yīng)設(shè)備進(jìn)行工作, 以達(dá)到安全保護(hù)的作用。
關(guān)鍵詞:天然氣、單片機(jī)、氣敏傳感器、驅(qū)動(dòng)控制、分級(jí)報(bào)警
Abstract
With the combustible gas as new energy applications, which bring great convenience to the daily lives of the people, but also bring some new dangers. Once the gas leak, which is so easy to cause fire ,and even the explosion,the lives and property of the people can be great harmed, We need to conduct effective monitoring to all kinds of combustible gases that exist in the family .
In this paper, we design a control of combustible gas alarm circuit, throughout the design process with single-chip, during the whole designed process, include both hardware and software description. That is, from the hardware circuit design method to achieve the required function of software technology. The alarm system is based on single-chip controller AT89S51, Gas sensors by the QM-N5 collection of indoor air, ADC0804 conducted Analog and digital conversion, These data will compare with that set in the original analysis of good data, then Judge the conclusion whether the concentration of natural gas or liquefied petroleum gas is excessive, If not, it will continue to collect gas samples of the next group, Otherwise, the system will Generate alarm in accordance with the classification of different alarm levels, And control the work of the corresponding equipments, In order to achieve the role of security protection.
Key words: Natural gas, Single-chip, Gas sensors, Driver control, Alarm classification
目 錄
第一章 緒論 1
1.1背景介紹 1
1.2總體設(shè)計(jì)方案 2
第二章 單片機(jī)AT89S51的結(jié)構(gòu)和原理 3
2.1 單片機(jī)AT89S51的簡(jiǎn)介 3
2.2復(fù)位電路 6
2.3時(shí)鐘電路 7
第三章 硬件單元電路設(shè)計(jì) 8
3.1氣體采集電路的設(shè)計(jì) 8
3.1.1氣敏器件的選擇 8
3.1.2氣敏器件的主要電參數(shù) 10
3.1.3 QM-N5型氣敏傳感器的應(yīng)用電路 11
3.1.4氣體測(cè)試結(jié)果計(jì)算 13
3.2 A/D轉(zhuǎn)換電路的設(shè)計(jì) 15
3.2.1逐次逼進(jìn)A/D轉(zhuǎn)換器ADC0804 16
3.2.2 ADC0804應(yīng)用電路 17
3.3驅(qū)動(dòng)控制電路的設(shè)計(jì) 19
3.3.1控制電路用到的主要器件 19
3.3.2報(bào)警電路 22
3.3.3通風(fēng)電路 25
3.4電源電路的設(shè)計(jì) 26
3.4.1整流電路 26
3.4.2濾波電路 27
3.4.3穩(wěn)壓電路 28
3.4.4 LM7805穩(wěn)壓器 28
3.4.5 電源電路 30
第四章 軟件設(shè)計(jì) 31
4.1主程序流程圖 31
4.1.1 A/D轉(zhuǎn)換子程序 31
4.1.2驅(qū)動(dòng)控制子程序 32
第五章 系統(tǒng)仿真 34
結(jié) 論 36
參考文獻(xiàn) 37
附錄一 全電路圖 38
附錄二 程序清單 41
附錄三 元件清單 43
謝 辭 44
隨著可燃?xì)怏w作為一種新型能源的應(yīng)用,給人民群眾的日常生活帶來(lái)極大的方便.同時(shí)也帶來(lái)新的隱患。一但可燃?xì)庑孤叮瑯O易發(fā)生火災(zāi)乃至爆炸,對(duì)人民的生命財(cái)產(chǎn)造成極大傷害, 我們需對(duì)各種可燃性氣體在家庭中存在的情況進(jìn)行有效的監(jiān)控。
本文介紹了一種單片機(jī)控制的可燃?xì)怏w報(bào)警器的電路, 在整個(gè)設(shè)計(jì)過(guò)程,分別從硬件和軟件兩個(gè)方面描述,即從硬件電路的設(shè)計(jì)方法到實(shí)現(xiàn)所要求功能的軟件技術(shù)。該報(bào)警系統(tǒng)是以AT89S51單片機(jī)為控制器,先由氣敏傳感器QM-N5采集室內(nèi)空氣,再通過(guò)ADC0804進(jìn)行摸—數(shù)轉(zhuǎn)化,所得到的數(shù)據(jù)于原設(shè)定好的數(shù)據(jù)進(jìn)行比較分析,最后得出天然氣或液化氣的濃度是否超標(biāo),如不超標(biāo)則繼續(xù)采集下一組氣體樣本,如超標(biāo)根據(jù)超標(biāo)量進(jìn)行高低不同的分級(jí)報(bào)警, 并控制相應(yīng)設(shè)備進(jìn)行工作, 以達(dá)到安全保護(hù)的作用。
關(guān)鍵詞:天然氣、單片機(jī)、氣敏傳感器、驅(qū)動(dòng)控制、分級(jí)報(bào)警
Abstract
With the combustible gas as new energy applications, which bring great convenience to the daily lives of the people, but also bring some new dangers. Once the gas leak, which is so easy to cause fire ,and even the explosion,the lives and property of the people can be great harmed, We need to conduct effective monitoring to all kinds of combustible gases that exist in the family .
In this paper, we design a control of combustible gas alarm circuit, throughout the design process with single-chip, during the whole designed process, include both hardware and software description. That is, from the hardware circuit design method to achieve the required function of software technology. The alarm system is based on single-chip controller AT89S51, Gas sensors by the QM-N5 collection of indoor air, ADC0804 conducted Analog and digital conversion, These data will compare with that set in the original analysis of good data, then Judge the conclusion whether the concentration of natural gas or liquefied petroleum gas is excessive, If not, it will continue to collect gas samples of the next group, Otherwise, the system will Generate alarm in accordance with the classification of different alarm levels, And control the work of the corresponding equipments, In order to achieve the role of security protection.
Key words: Natural gas, Single-chip, Gas sensors, Driver control, Alarm classification
目 錄
第一章 緒論 1
1.1背景介紹 1
1.2總體設(shè)計(jì)方案 2
第二章 單片機(jī)AT89S51的結(jié)構(gòu)和原理 3
2.1 單片機(jī)AT89S51的簡(jiǎn)介 3
2.2復(fù)位電路 6
2.3時(shí)鐘電路 7
第三章 硬件單元電路設(shè)計(jì) 8
3.1氣體采集電路的設(shè)計(jì) 8
3.1.1氣敏器件的選擇 8
3.1.2氣敏器件的主要電參數(shù) 10
3.1.3 QM-N5型氣敏傳感器的應(yīng)用電路 11
3.1.4氣體測(cè)試結(jié)果計(jì)算 13
3.2 A/D轉(zhuǎn)換電路的設(shè)計(jì) 15
3.2.1逐次逼進(jìn)A/D轉(zhuǎn)換器ADC0804 16
3.2.2 ADC0804應(yīng)用電路 17
3.3驅(qū)動(dòng)控制電路的設(shè)計(jì) 19
3.3.1控制電路用到的主要器件 19
3.3.2報(bào)警電路 22
3.3.3通風(fēng)電路 25
3.4電源電路的設(shè)計(jì) 26
3.4.1整流電路 26
3.4.2濾波電路 27
3.4.3穩(wěn)壓電路 28
3.4.4 LM7805穩(wěn)壓器 28
3.4.5 電源電路 30
第四章 軟件設(shè)計(jì) 31
4.1主程序流程圖 31
4.1.1 A/D轉(zhuǎn)換子程序 31
4.1.2驅(qū)動(dòng)控制子程序 32
第五章 系統(tǒng)仿真 34
結(jié) 論 36
參考文獻(xiàn) 37
附錄一 全電路圖 38
附錄二 程序清單 41
附錄三 元件清單 43
謝 辭 44