【正文】
另外,此設(shè)計(jì)是對(duì) 探測(cè)器 探頭持續(xù)探測(cè),可以有效減少誤報(bào)、漏報(bào)等,還可針對(duì)有 風(fēng) 的環(huán)境調(diào)節(jié)靈敏度 ,而且系統(tǒng)簡(jiǎn)便、經(jīng)濟(jì)。amp。程序?yàn)椋? temp1=ADC_read(0x00)。LED3=0。 主要語(yǔ)句如下: if(temp10baojingzhi||TC2==0||TC3==0||TC4==0||(aj%2==1)) { LAM=1。 本章小結(jié) 根據(jù)題目要求選擇所需芯片并 設(shè) 計(jì)了各模塊的硬件電路。 聲光及手動(dòng)報(bào)警模塊 圖 35 聲光及手動(dòng)報(bào)警模塊 揚(yáng)聲器接在單片機(jī) ,報(bào)警煙接 。最后將 CS 置高電平禁用芯片,直接將轉(zhuǎn)換后的數(shù)據(jù)進(jìn)行處理就可以了。當(dāng) 2 位數(shù)據(jù)為 “ 1” 、 “ 1”時(shí),只對(duì) CH1 進(jìn)行單通道轉(zhuǎn)換。 單片機(jī)對(duì) ADC0832 的控制原理: 正常情況下 ADC0832 與單片機(jī)的接口應(yīng)為 4 條數(shù)據(jù)線,分別是 CS 、 CLK、 DO、DI。 D0 數(shù)據(jù)信號(hào)輸出,轉(zhuǎn)換數(shù)據(jù)輸出。 綜上所述,我們 選用 STC89S52單片機(jī) 。 但在工業(yè)測(cè)控現(xiàn)場(chǎng),占主導(dǎo)地位的還是 8位機(jī)和 16位機(jī)。 它的靈敏度適中,具有響應(yīng)與恢復(fù)特性好,長(zhǎng)期工作穩(wěn)定性、受環(huán)境影響較小等優(yōu)點(diǎn)。 DSI8B20 完成溫度轉(zhuǎn)換后,就把測(cè)得的溫度值與 TH 做比較,若 TTH 或 TTL,則將該器件內(nèi)的告警標(biāo)志置位,并對(duì)主機(jī)發(fā)出的告警搜索命令做出響應(yīng)。他在測(cè)溫精度、轉(zhuǎn)換時(shí)間、傳輸距離、分辨率等方面帶來(lái)了令人滿意的效果。 NIS09C 煙霧傳感器能探測(cè) CO CO、 甲烷、煤氣等多種氣體,它靈敏度高,穩(wěn)定性好,適合于火災(zāi)中氣體的探測(cè)。 圖 26 單極性電離室示意圖 一般離子感煙器的電離室均 設(shè)計(jì)成單極性的,因?yàn)楫?dāng)發(fā)生火災(zāi)時(shí),煙霧進(jìn)入電離室后,單極性電離室要比雙極性電離室的電離電流變化大,也就是說(shuō)可以得到較大的基于單片機(jī)的火災(zāi)報(bào)警系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 13 電壓變化量,從而可以提高離子感煙探測(cè)器的靈敏度,在實(shí)際的離子感煙探測(cè)器設(shè)計(jì)中,是將兩個(gè)單極性電離室串聯(lián)起來(lái),一個(gè)作為檢測(cè)電離室 (也叫外電離室 ),做成煙霧容易進(jìn)入的結(jié)構(gòu);另一個(gè)作為補(bǔ)償電離室 (也叫內(nèi)電離室 ),做成煙粒子難進(jìn)入而空氣又能緩慢進(jìn)入的結(jié)構(gòu)形式,如圖 27 所示。施加電壓 E 愈高,電離電流愈大。煙霧數(shù)量較多,離子電流也越 小,相當(dāng)于等效電阻增加。 離子式感煙傳感器 NIS09C 的簡(jiǎn)介 1)離子感煙傳感器的組成 常見的離子感煙傳感器主要由內(nèi)外兩個(gè)電離室為主構(gòu)成。當(dāng)懷疑檢測(cè)環(huán) 境中存在這些物質(zhì)時(shí),經(jīng)常對(duì)探頭進(jìn)行標(biāo)定,是必須且有效的辦法。例如氧化物半導(dǎo)體煙霧傳感器主要檢測(cè)各種還原性煙霧,如 CO、 H C2H5OH、 CH3OH 等。溫度的變化情況是目標(biāo)煙霧熱傳導(dǎo)率的函數(shù),而對(duì)于一種給定的煙霧或汽化物,熱傳導(dǎo)率是它固有的物理特性。高分子煙霧傳感器具有對(duì)特定煙霧分子靈敏度高,選擇性好, 且結(jié)構(gòu)簡(jiǎn)單,能在常溫下使用,可以彌補(bǔ)其它煙霧傳感器的不足。 b)固體電解質(zhì)煙霧傳感器 固體電解質(zhì)煙霧傳感器使用固體電解質(zhì)氣敏材料作為氣敏元件,其原理是利用氣敏材料在通過(guò)煙霧時(shí)產(chǎn)生電阻,測(cè)量其形成電動(dòng) 勢(shì)從而測(cè)量氣體濃度。 b)利用物理性質(zhì)的煙霧傳感器:如熱導(dǎo)煙霧傳感器、光干涉煙霧傳 感器、紅外傳感器等。 基于單片機(jī)的火災(zāi)報(bào)警系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 7 6) 房間被書架、隔斷、設(shè)備等分隔且至頂棚或梁的距離小于房間凈高 5%時(shí),則每個(gè)被格開的部分至少安裝一只探測(cè)器。 c)有下列情形的場(chǎng)所,不宜選用火焰探測(cè)器: ① 可能發(fā)生無(wú)焰火災(zāi); ② 在火焰出現(xiàn)前有濃煙擴(kuò)散; ③ 探測(cè)器的鏡頭易被污染; ④ 探測(cè)器的 “ 視線 ” 易被遮擋; ⑤ 探測(cè)器易被陽(yáng)光或其他光源直接或間接照射; ⑥ 在正常情況下,有明火作業(yè)以及 X射線、弧光等影響。半導(dǎo)體可燃?xì)怏w探測(cè)器要用靈敏度較高的氣敏半導(dǎo)體元件,它在工作狀態(tài)時(shí),遇到可燃?xì)怏w,半導(dǎo)體電阻下降,下降值與可燃?xì)怏w濃度有對(duì)應(yīng)關(guān)系。紫外火焰探測(cè)器是敏感高強(qiáng)度火焰發(fā)射紫外光譜的一種探測(cè)器,它使用一種固態(tài)物質(zhì)作為敏感元件,如碳化硅或硝酸鋁,也可使用一種充氣管作為敏感元件。煙霧是早期火災(zāi)的重要特征之一,感煙式火災(zāi)探測(cè)器是能對(duì)可見的或不可見的煙霧粒子響應(yīng)的火災(zāi)探測(cè)器。 l)感溫式火災(zāi) 探測(cè)器 : 火災(zāi)時(shí)物質(zhì)的燃燒產(chǎn)生大量的熱量,使周圍溫度發(fā)生變化。嚴(yán)格說(shuō)來(lái),這種系統(tǒng)還是一個(gè)初步智能系統(tǒng),它的智能是單向性的。 我國(guó)生產(chǎn)火災(zāi)報(bào)警產(chǎn)品的企業(yè)也得到了快速發(fā)展,部分企業(yè)進(jìn)行了合資生產(chǎn)、技術(shù)合作,取得了不菲的成績(jī),也造就了現(xiàn)今市場(chǎng)上許多有實(shí) 力的商家,部分技術(shù)已接近或趕上了國(guó)際水平。 陜西科技大學(xué)畢業(yè)論文 2 我國(guó)火災(zāi)報(bào)警系統(tǒng)起步較發(fā)達(dá)國(guó)家晚幾十年,從上世紀(jì) 70 年代才開始研制生產(chǎn)火災(zāi)報(bào)警系統(tǒng)產(chǎn)品。 發(fā)展趨勢(shì) 火災(zāi)報(bào)警系統(tǒng)從發(fā)展過(guò)程來(lái)看,大體可分 為三個(gè)階段。 關(guān)鍵詞 : 煙霧,報(bào)警器, STC89S52,傳感器 II Microcontrollerbased fire alarm system design and implementation ABSTRCT The smoke detector alarms can prevent fires and explosions and gas poisoning occurs, it is a fire and explosion preventing equipment that necessary for safety production, and can protect the safety of production and life, and has broad market space and development prospects. This paper mainly on the study of the theory of fire alarm control ,and make a detailed analysis and design of overall design and the various ponents, and a prehensive exposition of the hardware and software ponents methods and processes of a practically applicational fire alarm controller. Thesis of the smoke alarm consists of smoke signal acquisition circuit and MCU control circuit. According to design requirements, the use of environment, cost and other factors, we chose NIS09C type semiconductor resistance smoke sensor and DS18B20 type temperature sensor. NIS09C is a good semiconductorsensitive devices that sensitive to CO, CO2, gas and other gas. Its sensitivity is moderate, with a good characteristics of the response and recovery, longterm stability, little impact to environmental. Signal transmitted to the microcontroller after through by the A / D conversion, and then judge of the situation of the fire. According to the judgement, MCU determines whether alarm or not, and display the relevant information at the same time. When the chroma of smoke or the temperature reached the set value levels, audible and visual alarm. As to MCU control circuit in the system design, we make full use of its highspeed data processing capabilities and a wealth of onchip peripherals to achieve the miniaturization and intelligent of the instrumentation. Centered with STC89S52 microcontroller and ionic NIS09C semiconductor resistance sensor of the smoke alarm, this system can achieve the sound and light smoke alarms, concentration display, alarm limit setting, time of alarm display. The system is a simple structure, stable performance, easy to use and inexpensive smoke alarms and has some practical values. KEY WORDS: smoke alarm, STC89S52, sensor III 目 錄 摘 要 ........................................................................................................................................... I ABSTRCT ..................................................................................................................................II 第 1章.緒論 ............................................................................................................................ 1 概述 ............................................................................................................................... 1 ......................................................................................................................... 1 ...................................................................................................................... 2 ......................................................................................................................... 2 第 2章.火災(zāi)探測(cè)器的簡(jiǎn)介 .................................................................................................... 3 ........................................................................................................... 3 ........................................................................................................... 4 ........................................................................................................... 6 .............................................................