基于PIC单片机的可燃气体泄漏报警器设计.pdfVIP

  • 5
  • 0
  • 约8.38千字
  • 约 3页
  • 2018-05-09 发布于福建
  • 举报

基于PIC单片机的可燃气体泄漏报警器设计.pdf

· 26· 仪 表 技 术 2010年第5期 基于PIC单片机的可燃气体泄漏报警器设计 薛 明,孙立亭,边洪波 (山东金岭铁矿 淄博铁鹰钢铁有限公司,山东 淄博 255081) 摘要 :该设计基于PIC单片机为核心,以气敏传感器检测可燃气体的质量浓度 ,经过信号调理后 ,通过 AD转换器读入单片机 中,单片机对检测到的信号进行判断。如果质量浓度超过预定数值时,将发出声光报警,同时切断气源,启动排气扇。系统带有液 晶显示和小键盘输入,可设置报警器的相关参数;系统采用市电和电池两路供 电;485串行通信,可实现远程控制。该系统电路设计 新颖,操作方便 ,体积小,成本低 ,功耗低,可靠性高,寿命长。 关键词 :气体检测 ;PIG微控制器 ;液晶显示;报警临界值 ;串行通信 中图分类号 :TM930 文献标识码 :B 文章编号 :1006—2394(/2010)05—0026—02 DesignofCombustibleGasLeakageAlarm Basedon PIC M icrocontroller XUE Ming,SUN Li—ting,BIAN Hong—bo (Iron&SteelCo.,Ltd.,ZiboTieying,Zibo255081,China) Abstract:Thedesign usesthePIC microcontrollerasthecore.Gassensorsareused todetectconcentrationsof combustiblegases.Aftersignalconditioning,thereadingistransmitted intotheMCU throughtheAD convertertobe determinedbytheMCU.Iftheconcentrationexceedsapresetvalue.thesoundandlightalamr wouldwork.Atthesame time,thegassourceiscutoffandtheexhaustfanisstarted.Thesystem hasaliquidcrystaldisplayandakeypadinput, SOitcansettherelevantalarm parameters.Therearebothmainssupplyandbattery—powered in thesystem.Remote controlisrealizedby485serialcommunication.Thecircuitdesignisinnovativeandeasytooperate.Alsoithasfeatures ofsmallsize,low cost,low powerconsumption,highreliabilityandlonglife. Keywords:gasexamination;single-chipmicrocomputerofPIC;LCD diaplay;criticalvalueofalamr ;serialcom— munication 开,一个用于指令 ,一个用于数据 ,由于可 以对程序和 1 系统设计 数据同时进行访问,所以提高了数据吞吐率。 本设计系统组成如图 1所示 ,主要包括电源电路、 (2)PIC的取指和执行采用双指令流水线结构, 传感器信号输入电路、键盘参数设置电路、PIC单片机 当一条指令被执行时,允许下一条指令同时被取出,这 主控电路、显示电路、串口通信、继 电器控制电路、声光 样就实现了单周期指令。 报警电路等。 (3)寄存器组 :PIC的所有寄存器 ,包括 I/O口、

文档评论(0)

1亿VIP精品文档

相关文档