



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Automaticfirea1armsystembasedonMCUZhangKun,HuShunbinCollegeofMechanicalandElectricalEngineeringAgriculturalUniversityofHebeiBaoding,071001,ChinaE-mailaddress:LiJinfangBaodingBaolingTransformerCo.Ltd.TianweiGroupBaoding,071056,ChinaE-mailaddress:AbstractThepaperintroducedanautomaticwarehousefirea1armsystembasedonMCU.ThesystemwasmainlymadeupofATmega16,temperaturesensors,smokesensors,andEX-1autodialedalarmmodule.Inthesystem,temperaturesignalsweretransformedtoserialdata,andsmokesignalsweretransformedtovoltagesignals.AllthedatawereprocessedbyMCU.Whenthesurveillancesystemcheckedfireinwarehouse,alarmsignalwasturnon,meanwhilethemessagesweretransmittedtomanagersthroughEX-1.Applicationofthesystemwasconvenienttodealwithfirein-time,efficientlybywarehousemanager.Keywords-firea1armsystem;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.Systemhardwarediagram.III.THEHARDWARECOMPONENTSA.Atmega16ThesystemusedbytheU.S.AtmelsmicrocontrollerATmega16microcontroller.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.TemperaturetransducerIonizationsmokedetectorSCMautoalarmmoduleTelephoneInterfacePD0signalprocessingPD12010InternationalConferenceonElectricalandControlEngineering978-0-7695-4031-3/10$26.002010IEEEDOI10.1109/iCECE.2010.133517ThechipisbasedonAtmelhigh-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).Figure2.ds18b20andthemainchipconnectiondiagram.2)Temperaturerangeis-55+125,measurementresolutionof0.0625.3)Containing64asamendedthroughthelaser-read-onlymemoryROM.4)FitavarietyofSCMorsystemmachine.5)Userscansetseparatewayseachtemperatureupperandlowerlimit.6)Includesparasiticpower.DS18B20andthemainchipconnectiondiagramshowninFigure2:DS18B20numberonepingrounded,thenonthe3rdpinhighandthe2ndpinthena5.1Kofthepull-upresistor,atthesametimereceivedasingleoutputsignalofthePD0pin.Pull-upistopulltheuncertaintysignalthrougharesistorembeddedinthehighplaces,resistanceatthesametimecurrentlimited.ProgramfromtheDQpininhighimpedancestatetoensurethatthebeginning,sothatyoucanpullonthepull-upresistortothehighDQ.Atthesametimethemainchipalsocanbeanexternalsitealarmbuzzer.C.SmokeMonitoringModuleSmokesensorschooseHIS-07ionsmokedetectorswhentheflowthroughtheinsideandoutsidetheionizationchamberionizationelectronflowisunbalanced,collectorchargescurrentuntiltheionizationbalance.Inasmoke-freeornon-combustion,thecollectorbeingsubjecttotheimpactionizationcurrentstatisticalfluctuation,thepotentialtomaintainabalance.Ionizationcurrenthaveimpactwhenthesmokeintotheionizationchamber,easilyintotheionizationchambersmokeoutsidethaninsidetheionizationchamberoftheaffected,ionizationcurrentdeclineinandcollectortore-chargeuntilthenewequilibriumpotential,thispotentialchangecanbeusedtotriggerthealarmcircuit.TechnicalparameterssuchasTable1.TABLEI.HIS-07IONSMOKESENSORTHCHNICALDATATableHeadTableColumnHeadequilibriumpotentialcollector5.50.3Vcollectorpotentialwiththesmokeconcentrationreducedlightrateof1%/ft0.6Vreducedlightrateof4%/ft2.2Vcapacitor6pFSmokesignalsareprocessedonthechipofchoiceistheMotorolacompanysMC14468,MC14468forDIP16-pinpackage,containoscillator,timer,latch,alarmcontrollogiccircuit,highinputimpedancecomparatoretc.Whennotdetectedsmoke,MC14468internaloscillatorthatoscillationcycle1.67s.Each1.67scycletheinternalpowersupplyisprovidedtotheworkoftheentirechip.ItsallkeptdetectanysmokeinadditiontoLEDflashes,batteryvoltagealarmandsmokealarm.Theoscillatoroscillationperiodbecomes40mswhentheMC14448Oncedetectionsmoke,thistimepiezoelectricbuzzerdrivingcircuittostartoscillation,starttobeabletooutputtomaintainthehigh160msafterthecessationof80ms.Continuedduringthedetectionofsmokecessationofchanges,atthistimeifnotdetectedsmokebeeperwillnotbeissuedawarningsound.Infigure3,theMC144681pinjointPD1pinofSCMwhentheionchamberoftheioncurrentasthesceneofsmokedetectionandchange,voltagechangegenerationaweakside-spreadseized15,bytheMC14468internallogicprocessingcircuitprocessing,thesmokeisdetectedby1pin-outhighmicrocontrollerforprocessing.13-pinthensliderheostatissettofacilitatedetectionsensitivitywhentheledflashesandthe518buzzersoundedapiercingsoundofanaudioalarmwhenthedepartmenthasafirealarmsignal-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.SOFTWAREDESIGNFigure5.ThemainprogramflowchartBecauseintheearlystagesoffiresandthesmolderingphasewillproducealargenumberofaerosolparticlesandstartATmega16initializewhethertherearesmokesignals?YR0=1collectiontemperaturesignalwhetherthealarmvalue?YR1=1Ndial-upalarmREADY=1?YN519smokeparticles.Inthestageofincipientfiresubstancesinthecombustionprocessproducesalotofheat,soshouldmakethesmokesensorandtemperaturesensorusedinconjunction,firstwiththesmokesensordetectswhetherthereissmokegeneration,thenthetemperaturesensordetectsthetemperature,temperaturesensoralarmvalueissetto50degrees.WhenthesmokeisdetectedR0is1,notsmokeR0is0.ThentestthetemperaturewhenthetemperaturereachesthevalueofseasonalearlywarningR1is1,thevalueofseasonaltemperaturenottoreachanearlywarningR1to0,atthistimecomparedtotheR0andR1isequaltothemainchipwhenthedial-upalarm,ifnotequalisnottoalarmre-tested.Thissmokesensorandtemperaturesensorusedinconjunctionwithgreatlyimprovedthereliabilityofdetectiontopreventtheomissionoffalsepositive
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 专精特新小巨人企业的可持续发展与绿色转型探索
- 区域性废弃物循环利用产业链构建与优化路径
- 液压油缸生产线项目可行性研究报告(参考)
- 绿色建筑与全域无废城市建设的融合
- 2025至2030年中国猪用电子耳标行业投资前景及策略咨询报告
- 2025至2030年中国焊接金属密封蝶阀行业投资前景及策略咨询报告
- 2025至2030年中国烘焙食品保鲜剂行业投资前景及策略咨询报告
- 2025至2030年中国浴缸行业投资前景及策略咨询报告
- 2025至2030年中国正齿轮步进减速电机行业投资前景及策略咨询报告
- 2025至2030年中国果子钵行业投资前景及策略咨询报告
- 2024低压电力线高速载波通信互联互通技术规范第1部分:总则
- 抖音直播带货协议书模板
- 香港(2024年-2025年小学二年级语文)统编版能力评测试卷(含答案)
- 陈述句与反问句互改(课件)-2022-2023学年三年级语文公开课
- 2025届浙江省镇海市镇海中学高考历史四模试卷含解析
- 《积极心理学(第3版)》 课件 第2章 心理流畅体验
- 转租授权委托书及注意事项
- 2024年上海市中考地理试卷(含答案解析)
- 2024年上海市中考数学试题 (原卷版)
- 微生物岗位技能考核试题及答案
- 上海市杨浦区2023-2024学年高二下学期期末英语调研卷
评论
0/150
提交评论