-1-《传感器原理及应用》创新性应用课题研究报告题目:基于热释电传感器的家用防盗报警器设计学院:自动化工程学院年级专业:2008级电子信息科学与技术姓名:杜一腾张琦龚柱吴有亮任课教师:迟宗涛2011年12月10日-2-基于热释电传感器的家用防盗报警器设计Pyroelectricsensorbasedonthedesignofhomeburglaralarm-3-摘要本设计论文从硬件和软件两方面对系统进行了详细的设计。介绍了系统的构成,外围电路的连接,芯片与芯片之间的连接电路,程序设计方法和相应的软件。系统采用7805、7809芯片输出5V、9V电压,通过稳压模块给系统供电。整个设计采用模块化思想,主机采用STC89C51实现控制,由热释电传感器和振动位移传感器对住宅的模拟信号(人体发出的红外信号、引起的振动信号等)进行自动检测,当检测到异常情况,产生数字信号输入单片机,单片机根据输入信号,输出给蜂鸣器报警,做出反应处理。复位电路采用低功耗,四引脚的IMP812监控芯片。系统硬件电路简单、安装方便、操作简单,并且具有低成本的优点,可适用于各种类型的住宅和人群。关键词:热释电传感器;STC89C51单片机;报警系统ABSTRACTThispaperfrombothhardwareandsoftwareonthesystemcarriedoutadetaileddesign.Itintroducedtheselectionofthecorechip,theexternalcircuitconnections,chipandtheconnectionbetweenthecircuitchip,programdesignmethodsandthecorrespondingsoftware.7805.7809chipsystempoweroutputby5V,9Vvoltageregulatormoduletothesystemthroughtthepowersupply.Thewholedesignismodularthinking,hostSTC89C51usedtoachievecontrol,bythepyroelectricsensorandvibrantiondisplacementsensorforresidentialanalogsignal(thehumanissuedbytheinfraredsignalfromthevibrationsignals,andsoon)forautomaticmonitoring,whendetectedabnormalcircumstances,producingadigitalsignalinputSCM,theMCUaccordingtotheinputsignalandoutputtothebuzzeralarm,torespondtotreatment.Resetcircuitusinglow-power,four-pinIMP812monitoringchip.Systemhardwarecircuitsimple,easytoinstall,simpleoperation,andhastheadvantageoflowcost,applicabletoalltypesofresidentialandthecrowd.Keywords:pyroelectricsensor;STC89C51MCU;alarmsystem-4-目录Index第1章绪论....................................................................................................................................-5-1.1设计背景.............................................................................................................................-5-1.2防盗报警系统的构成..............................................................................................................-5-1.3防盗报警器的分类.................................................................................................................-6-1.4防盗报警系统在国内外的发展.............................................................................................-6-1.5防盗报警的技术发展趋势.....................................................................................................-7-1.6设计系统功能要求.............................................................................................................-8-第2章系统设计方案....................................................................................................................-8-2.1总体设计方案.....................................................................................................................-8-2.2系统的相关技术.................................................................................................................-9-2.2.1传感器技术................................................................................................................-9-2.2.2单片机技术...............................................................................................................-11-第3章硬件设计..........................................................................................................................-13-3.1电源电路设计...................................................................................................................-13-3.2主机电路设计...................................................................................................................-13-3.2.1时钟电路..................................................................................................................-14-3.2.2复位及复位电路......................................................................................................-15-3.2.3键盘电路..................................................................................................................-15-3.3数码显示电路的设计.......................................................................................................-17-3.3.1数码管的工作原理..................................................................................................-17-3.3.2本系统的数码管显示电路......................................................................................-17-3.4蜂鸣器电路.......................................................................................................................-18-3.5用户端探测器设计...........................................................................................................-18-3.5.1热释电红外传感器电路设计..................................................................................-19-3.5.2振动位移传感器电路设计......................................................................................-20-第4章报警器软件设计..............................................................................................................-21-4.1主程序设计.......................................................................................................................-21-4.2扫键程序设计...................................................................................................................-22-第5章总结与展望..............................................................