版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
AutomaticfirealarmsystembasedonMCUAbstract:Thepaperintroducedanautomaticwarehousefirea1armsystembasedonMCU.ThesystemwasmainlymadeupofATmega16,temperaturesensors,smokesensors,andEX-1autodialedalarmmodule.Inthesystem,temperaturesignalsweretransformedtoserialdata,andsmokesignalsweretransformedtovoltagesignals.AllthedatawereprocessedbyMCU.Whenthesurveillancesystemcheckedfireinwarehouse,alarmsignalwasturnon,meanwhilethemessagesweretransmittedtomanagersthroughEX-1.Applicationofthesystemwasconvenienttodealwithfirein-time,efficientlybywarehousemanager.Keywords:firealarmtransducer;smokesensorsystem;ATmega16;temperaturetransducer;smokesensorI.INTRODUCTIONAutomaticfirealarmcontrolsystemhasexperiencedaprocessfromthesimpletothecomplexandintelligencesystemincreasinglyinChina.Thecharacteristicisautomaticfiredetectionandalarmtechnologyhasagreatprogressalongwithcomputinganddetectiontechnologydevelopment.Atpresent,automaticfirealarmcontrolsystemwasusedinbulkstorageplant,shoppingmalls,high-levelofficebuildings,hotelsandotherplaces.Theywereusedinanumberofcollectionsfocusedononeareaofintelligentalarmcontrolmethodwithhigherlevelsofbus-typealarmcontrolsystem,andinsomeresidentialareasandcommercialbuildingswereinstalledbyasingleautomaticfirealarmdetectiondevice.Thesealarmdetectiondevicesfailtoreportsometimes,ormisinformation.Itsreliabilityisnothighbecauseofusingsinglesensor.Therefore,itisneededtodevelopasimplestructure,lowcost,highreliability,fastresponding,automaticfiredetectionsystem.II.GENERALPROJECTOFTHESYSTEMThehardwareblockdiagramshowninFigure1,hardwarebytemperaturesensors,smokesensors,signalprocessingmodule,MCUmodulesandautomaticalarmmodule.Nonelectricalquantitythatisthroughthesensingelementsensors(smokesensorsandtemperaturesensors)willbeon-sitetemperature,smokeandothernon-electricalsignalintoanelectricalsignal,aswellassignalsforsignalprocessingtoconvertanalogquantitytodigitalquantity.Finally,thesampleddatawereprocessedandcomparedwiththelimitsbyMCUsystem.Thissystemcanproducelocalandremoteauto-alarmsignals.Figure1.AutomaticfirealarmsystemstructureⅢ.THEHARDWARECOMPONENTSA.ATmega16ThesystemusedbytheU.S.Atmel’smicrocontrollerATmega16microcontroller.ATmega16isbasedontheAVRRISCarchitecturetoenhancelow-power8-bitCMOSmicrocontroller.Becauseofitsadvancedinstructionsetandasingleclockcycleinstructionexecutiontime,ATmega16datathroughputofupto1MIPS/MHz.Therebymitigatethesysteminthepowerandthecontradictionbetweentheprocessingrate.ATmega16hasthefollowingcharacteristics:16Kbytesin-systemprogrammableFlash(withtheabilitytoreadandwriteatthesametime,thatis,RWW),512bytesEEPROM,1KbytesSRAM,32general-purposeI/Oportlines,32general-purposeworkingregisters,fortheJTAGboundaryscaninterface,supporttheon-chipdebuggingandprogramming,3hasamoreflexiblemodeoftimer/counter(T/C),chipinternal/externalinterrupts,programmableserialUSART,thereareinitialconditionsdetectoruniversalserialinterface,8-channel10-bitwithoptionaldifferentialinputstageprogrammablegain(TQFPpackage)oftheADC,withon-chiposcillatorofprogrammablewatchdogtimer,anSPIserialport,aswellassixcanbeselectedbysoftwarepower-savingmode.ThechipisbasedonAtmelhigh-densitynonvolatilememorytechnologyproductionon-chipISPFlashallowstheprogrammemorythroughtheISPserialinterfaceorageneral-purposeprogrammerforprogramming;youcanalsorunontheAVRcoreamongthebootstraptoprogram.BootprogramcanuseanyinterfacetodownloadtheapplicationtotheFlashmemoryarea(ApplicationFlashMemory).ApplicationofFlashstorageareaisupdatedwhenthebootFlasharea(BootFlashMemory)programcontinuestorun,RWWoperationachieved.ATmega16tobecomeapowerfulmicrocontrollerby8-bitRISCCPUandthesystemprogrammableflashinasinglechip,formanyembeddedcontrolapplicationsprovidesaflexibleandcost-effectivesolution.ATmega16hasasetofprogrammingandsystemdevelopmenttools,including:Clanguagecompiler,macroassembler,programdebugger/softwareemulator,emulatorsandevaluationboards.B.TemperatureSensorTemperaturesensormanufacturedbyDALLASSemiconductorDS18B20-typesingleintelligencetemperaturesensor,itsperformancefeaturesinclude:1)Thissensorhavesingle-bus-specifictechnology,eitherthroughtheserialportcablealsothroughotherI/Oportlinesandcomputerinterfaces,withoutgoingthroughotherconversioncircuitsDirectoutputmeasuredtemperaturevalue(9-bitbinarynumber,withsignbit).2)Temperaturerangeis-55℃~+125℃,measurementresolutionof0.3)Containing64asamendedthroughthelaser-read-onlymemoryROM.4)FitavarietyofSCMorsystemmachine.5)Userscansetseparatewayseachtemperatureupperandlowerlimit.6)Includesparasiticpower.DS18B20andthemainchipconnectiondiagramshowninFigure2:DS18B20numberonepingrounded,thenonthe3rdpinhighandthe2ndpinthena5.1Kofthepull-upresistor,atthesametimereceivedasingleoutputsignalofthePD0pin.Pull-upistopulltheuncertaintysignalthrougharesistorembeddedinthehighplaces,resistanceatthesametimecurrent-limited.ProgramfromtheDQpininhighimpedancestatetoensurethatthebeginning,sothatyoucanpullonthepull-upresistortothehighDQ.Atthesametimethemainchipalsocanbeanexternalsitealarmbuzzer.Figure2.ds18b20andthemainchipconnectiondiagram.C.SmokeMonitoringModuleSmokesensorschooseHIS-07ionsmokedetectorswhentheflowthroughtheinsideandoutsidetheionizationchamberionizationelectronflowisunbalanced,collectorchargescurrentuntiltheionizationbalance.Inasmoke-freeornon-combustion,thecollectorbeingsubjecttotheimpactionizationcurrentstatisticalfluctuation,thepotentialtomaintainabalance.Ionizationcurrenthaveimpactwhenthesmokeintotheionizationchamber,easilyintotheionizationchambersmokeoutsidethaninsidetheionizationchamberoftheaffected,ionizationcurrentdeclineinandcollectortore-chargeuntilthenewequilibriumpotential,thispotentialchangecanbeusedtotriggerthealarmcircuit.TechnicalparameterssuchasTable1.TABLEI.HIS-07IONSMOKESENSORTHCHNICALDATASmokesignalsareprocessedonthechipofchoiceistheMotorolacompany’sMC14468,MC14468forDIP16-pinpackage,containoscillator,timer,latch,alarmcontrollogiccircuit,highinputimpedancecomparatoretc.Whennotdetectedsmoke,MC14468internaloscillatorthatoscillationcycle1.67s.Each1.67scycletheinternalpowersupplyisprovidedtotheworkoftheentirechip.It’sallkeptdetectanysmokeinadditiontoLEDflashes,batteryvoltagealarmandsmokealarm.Theoscillatoroscillationperiodbecomes40mswhentheMC14448Oncedetectionsmoke,thistimepiezoelectricbuzzerdrivingcircuittostartoscillation,starttobeabletooutputtomaintainthehigh160msafterthecessationof80ms.Continuedduringthedetectionofsmokecessationofchanges,atthistimeifnotdetectedsmokebeeperwillnotbeissuedawarningsound.Infigure3,theMC144681pinjointPD1pinofSCMwhentheionchamberoftheioncurrentasthesceneofsmokedetectionandchange,voltagechangegenerationaweakside-spreadseized15,bytheMC14468internallogicprocessingcircuitprocessing,thesmokeisdetectedby1pin-outhighmicrocontrollerforprocessing.13-pinthensliderheostatissettofacilitatedetectionsensitivitywhentheledflashesandthebuzzersoundedapiercingsoundofanaudioalarmwhenthedepartmenthasafirealarmsignal-based.Infigure3,theMC144681pinjointPD1pinofSCMwhentheionchamberoftheioncurrentasthesceneofsmokedetectionandchange,voltagechangegenerationaweakside-spreadseized15,bytheMC14468internallogicprocessingcircuitprocessing,thesmokeisdetectedby1pin-outhighmicrocontrollerforprocessing.13-pinthensliderheostatissettofacilitatedetectionsensitivitywhentheledflashesandthebuzzersoundedapiercingsoundofanaudioalarmwhenthedepartmenthasafirealarmsignal-based.Figure3.SmokedetectioncircuitD.Auto-dialalarmmoduleDial-upalarmmodulechoicesaretheEX-1dial-upmoduleisaDTMFsignalreceiving,storing,andsendingasintegrationcommunicationscircuits.Modulebuilt-inmicrocontrolleranddial-upmanagementprocesscanprovideuserswithavarietyofsignalinputandoutputports,insecurityalarm,signalacquisition,automaticcontrol,remotecommunicationandinformationtransmissionareassuchasflexibleapplication.5groupscanhavecellphoneorgroupofsevenlocaltelephonenumbersarestored,power-downisnotlost;Telephonelinestatusdetection,automaticfaultsignaloutput;Telephone/externalswitchingtwokindsofdial-upstatecontrol;Triggertime,ninetimesloopdialpresetnumbers;Toworkindependently,independentdial-up,donotrelyontelephoneandotherexternaldevices.EX-1wiringdiagramshowninfigure4,ThePD4pintoconnectthemainchipHTO,themodulebegantodialalarmwhenPD4outputhighlevelsignal,PD5connectionON/OFFpininputishighlevelsignaltoopenthedial-upsettings,theinputdoesnotworkwhenthispinbecomelow,ERRpinconnectedtoPD6pinofMCU,PD6output1beguntotestwhetherthetelephonelinefailure,READYpinconnectMCUPD7pindetectionandalarmiscompleted,thealarmisendwhenPD7pinishigh.Figure4.EX-1wiringdiagramIV.SOFIWAREDESIGNFigure5.ThemainprogramflowchartBecauseintheearlystagesoffiresandthesmolderingphasewillproducealargenumberofaerosolparticlesandsmokeparticles.Inthestageofincipientfiresubstancesinthecombustionprocessproducesalotofheat,soshouldmakethesmokesensorandtemperaturesensorusedinconjunction,firstwiththesmokesensordetectswhetherthereissmokegeneration,thenthetemperaturesensordetectsthetemperature,temperaturesensoralarmvalueissetto50degrees.WhenthesmokeisdetectedR0is1,notsmokeR0is0.ThentestthetemperaturewhenthetemperaturereachesthevalueofseasonalearlywarningR1is1,thevalueofseasonaltemperaturenottoreachanearlywarningR1to0,atthistimecomparedtotheR0andR1isequaltothemainchipwhenthedial-upalarm,ifnotequalisnottoalarmre-tested.Thissmokesensorandtemperaturesensorusedinconjunctionwithgreatlyimprovedthereliabilityofdetectiontopreventtheomissionoffalsepositives,programflowdiagramshowninFigure5.V.CONCLUSIONBythecooperationofusingoftemperatureandsmokesensors,throughdetectingthetemperatureandsmokeon-site,theautomaticalarmsystemcouldfindanyfireinwarehouseandsendthemessagetomanagersofwarehouseintheearlytimebytheformofshortmessages.Soitsapplicationcouldgreatlyreducefirelossesandenhancedthesafereliabilityofwarehousemorethantheformersingleequipmentoffirealarm,andpreventfailingofreportingandmisinformation.Thesystemhasahighreliability,lowpriceandhighsensitivity.REFERENCES[1]ShunningMiao,GuangmingXiong,YongpingLietc.AutomaticFireAlarmSystemDesignandResearch,EquipmentManufacturingTechnology,2006(2),P909.[2]LiangGe,QiCong.IntelligentAnalysisofofficebuildingfire.[3]TiZhou.BuildingFireSystemDesign,YunnanConstruction,2008(6).[4]Honeywell(Honeywel1)'sconstructionequipmentMonitoringSystem,Intelligent[5]DerekClements-Croome,Intelligentbuildings:design,managementandoperation,ThomasTelfordPublishing,2004.[6]ZhangHuazhong,CommandingSystemofFireAutomaticAlarmandFireControlLinkagebasedonInternet,ComputerEngineering,2001.[7]ANSI,RadiantEnergy-SensingFireDetectorsforAutomaticFireAlarmSignaling,US:ANSI/FMRCFM3260-2004.基于單片機的火災自動報警系統(tǒng)摘要:本文介紹了基于單片機的自動倉庫火災自動報警系統(tǒng)。該系統(tǒng)主要由ATmega16的,溫度傳感器,煙霧傳感器,EX-1自動撥通報警模塊。在系統(tǒng),溫度信號轉換為串行數(shù)據(jù),煙霧信號轉化為電壓信號。由MCU的所有數(shù)據(jù)進行處理。監(jiān)控系統(tǒng)檢查時,在倉庫防火,報警信號被翻開,同時消息通過EX-1傳送到管理者。該系統(tǒng)的應用是由倉庫經(jīng)理有效地處理火災。關鍵詞:火災報警傳感器,煙霧傳感器系統(tǒng);ATmega16的溫度傳感器,煙霧傳感器1序言火災自動報警控制系統(tǒng)經(jīng)歷了一個過程,從簡單到復雜和情報系統(tǒng)在中國越來越多。其特點是自動火災探測報警技術,隨著計算機和檢測技術的開展有很大的進步。目前,火災自動報警控制系統(tǒng)采用大容量的抽水蓄能電站,商場,高層辦公樓,酒店和其他地方。他們被用在一些更高層次的總線型報警控制系統(tǒng),智能報警控制方法的一個區(qū)域集中的集合,在一些居民區(qū)和商業(yè)樓宇安裝了由單一的火災自動報警檢測裝置。這些檢測報警裝置,有時失敗報告,或誤傳。它的可靠性不高,因為使用單一傳感器。因此,需要開發(fā)具有結構簡單,本錢低,可靠性高,響應快的火災自動檢測系統(tǒng)。2該系統(tǒng)的一般工程硬件框圖如圖1所示,由溫度傳感器,煙霧傳感器,信號處理模塊,MCU模塊和自動報警模塊的硬件。非電氣量,是通過傳感元件傳感器〔煙霧傳感器和成電信號,信號處理以及信號轉換成模擬量,數(shù)字量,溫度傳感器〕將現(xiàn)場溫度,煙霧等非電信號。最后,對采樣數(shù)據(jù)進行處理,并與單片機系統(tǒng)的限制。該系統(tǒng)可以產生本地和遠程自動報警信號。圖1火災自動報警系統(tǒng)結構3硬件組件A.ATmega16美國愛特梅爾的微控制器ATmega16單片機所使用的系統(tǒng)。ATmega16的基于AVRRISC結構的低功耗8位CMOS微控制器提高。由于其先進的指令集以及單時鐘周期指令執(zhí)行時間,ATmega16的數(shù)據(jù)吞吐量高達1MIPS/MHz的。從而減輕系統(tǒng)在功耗和處理速度之間的矛盾。ATmega16的有以下特點:16K字節(jié)的系統(tǒng)內可編程Flash〔讀取和寫在同一時間,也就是有能力,RWW區(qū)〕,512字節(jié)EEPROM,1K字節(jié)SRAM,32個通用I/O口線,32個通用工作存放器,JTAG邊界掃描接口,支持片上調試編程,3定時器/計數(shù)器〔T/C〕,片內/外中斷,可編程串行USART有更靈活的方式,有初始條件探測器通用串行接口,8通道10位具有可選差分輸入級可編程增益〔TQFP封裝〕的ADC,片上振蕩器的可編程看門狗定時器,一個SPI串行端口,以及六個可以通過軟件節(jié)電模式選擇。
該芯片是以Atmel高密度非易失性內存技術生產的片上ISPFlash允許程序存儲器通過ISP串行接口或編程的通用編程,你也可以運行在AVR內核之間的自舉程序。引導程序可以使用任何接口下載申請快閃記憶體領域〔應用快閃記憶體〕。應用程序更新Flash存儲區(qū)時引導Flash區(qū)〔引導閃存〕程序繼續(xù)運行,RWW區(qū)操作實現(xiàn)。ATmega16的成為一個強大的8位RISCCPU的微控制器和系統(tǒng)單芯片可編程閃存,為許多嵌入式控制應用,提供了一個靈活和具有本錢效益的解決方案。ATmega16的一個編程和系統(tǒng)開發(fā)工具集,包括:C語言編譯器,宏匯編,程序調試器/軟件仿真器,仿真器和評估板。B.溫度傳感器Dallas半導體公司的DS18B20型單智能溫度傳感器的溫度傳感器制造,其性能特點包括:1〕該傳感器具有單總線專用技術,通過串口電纜,還可以通過其它I/O口線和電腦接口,無需通過其他轉換電路直接輸出被測溫度值〔9位二進制數(shù),用符號位〕。2〕溫度范圍為-55℃?+125℃,測量分辨率為0。3〕包含64修訂通過激光只讀存儲器ROM。4〕適合各種單片機或系統(tǒng)機。5〕用戶可以設置每個溫度的上限和下限分道揚鑣。6〕包括寄生電源。DS18B20與主芯片連接圖如圖2所示:DS18B20的數(shù)字一個引腳接地,然后在第三針和第二針,然后5。1K的上拉電阻,在同一時間,收到了單一的PD0引腳輸出信號。拉是拉電阻器的電流限制在同一時間通過嵌入在高的地方,阻力不確定性的信號。方案,以確保從DQ引腳處于高阻抗狀態(tài)開始,讓你可以上拉電阻拉來的高DQ的。在同時主芯片也可以是外部的現(xiàn)場報警蜂鳴器。圖2DS18B20與主芯片連接圖C.煙霧監(jiān)控模塊煙霧傳感器選擇HIS-07離子煙霧探測器,通過內外電離室電離電子流的流動不平衡時,集電極收費,直到目前的電離平衡。在無煙或無燃燒,收集受到碰撞電離電流的統(tǒng)計波動,保持平衡的潛力。電離電流影響煙霧進入電離室,容易進入電離室煙霧外,比內的影響,重新充電,直到新的平衡電位和集電極電流下降電離電離室時,這種潛在的變化可以用觸發(fā)報警電路。技術參數(shù)如表1。表1HIS-07離子煙霧傳感器THCHNICAL數(shù)據(jù)煙霧信號處理芯片的選擇,是摩托羅拉公司的MC14468,DIP16管腳封裝的MC14468,包含振蕩器,定時器,閂鎖,當沒有檢測到煙霧報警控制邏輯電路,高輸入阻抗比擬等,MC14468內部振蕩器,振蕩周期1.67s。每個1.67s循環(huán)內部電源提
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 個人技術加盟合同范例
- 電氣運行與維護模擬考試題(含答案)
- 屋地施工合同范例
- 勞務溢價合同范例
- 三年級思想品德下冊 居家生活講安全第一課時教學實錄 首師大版
- 大閘蟹代銷合同范例
- 2025年云浮從業(yè)資格證模擬考試題貨運考題
- 工商管理總局合同范例
- 2025年西寧貨運資格考試答案單選題
- 八年級生物上冊 5.5《病毒》教學實錄 (新版)新人教版
- 2024年中考英語第一次模擬考試(南京卷)
- 2023-2024學年江西省南昌二十八中教育集團八年級(上)期末英語試卷
- 輔助生殖科輔助生殖技術診療規(guī)范與技術操作規(guī)范
- 吉蘭巴雷綜合癥的護理
- 中國畫創(chuàng)作智慧樹知到期末考試答案章節(jié)答案2024年湖北科技學院
- 中醫(yī)病歷書寫基本規(guī)范
- 殯儀館鮮花采購投標方案
- 杭州蕭山供銷市場開發(fā)管理有限公司招聘筆試參考題庫附帶答案詳解
- (高清版)CJJT 64-2024 糞便處理廠技術標準
- 2023年檢測站站長工作總結報告
- 剖宮產史的妊娠的護理查房
評論
0/150
提交評論