基于单片机的红外报警系统
- 格式:doc
- 大小:1.25 MB
- 文档页数:27
微机原理与单片机系统课程设计专班 姓 名:学 兰州交通大学自动化与电气工程学院2014 年 12 月 31 日基于51单片机的红外防盗报警器的设计1设计说明1.1设计目的该设计以单片机AT89C51芯片为核心,加上必要的外围电路,构成了一个基于单片机的红外线防盗报警器。
功能主要通过软件编程来实现,降低了硬件电路的复杂性和制作成本。
此外,设计中所采用的红外线是不可见光,有很强的隐蔽性和保密性,以满足现代人们住宅防盗的需要。
1.2设计要求该设计要求当热释电红外线传感器探测到人体辐射的红外线时,单片机控制电路启动声光报警并显示报警次数。
此外,用户还可以设定报警时间并手动解除报警。
1.3设计方法该设计以AT89C51单片机为核心,由时钟电路、复位电路、外部触发电路、报警时间选择电路、声光报警电路、报警次数显示电路和中断报警电路共同组成报警系统。
系统具有显示报警次数,设定报警时间,手动解除报警的功能。
2设计方案及原理2.1设计方案简述该设计使用AT89C51单片机芯片控制电路,通过热释电红外传感器采集外部触发信号,采用7段LED数码管显示报警次数,采用蜂鸣器和红色发光二极管实现声光报警,手动解除报警功能由单片机外部中断实现,报警时间由单片机内部定时器实现。
2.2热释电红外传感器简单介绍热释电红外线(PIR)传感器是80年代发展起来的一种新型高灵敏度探测元件。
是一种能检测人体发射的红外线而输出电信号的传感器,它能组成防入侵报警器或各种自动化节能装置。
它能以非接触形式检测出人体辐射的红外线能量的变化,并将其转换成电压信号输出。
将这个电压信号加以放大,便可驱动各种控制电路。
2.3 PIR的原理特性热释电红外线传感器主要是由一种高热电系数制成的探测元件,在每个探测器内装入一个或两个探测元件,并将两个探测元件以反极性串联,以抑制由于自身温度升高而产生的干扰。
由探测元件将探测并接收到的红外辐射转变成微弱的电压信号,经装在探头内的场效应管放大后向外输出。
1系统设计的目的意义1.1 目的报警器在现实生活中应用非常的广泛,家庭防盗,汽车安全防盗,企业内部安全保障,特别是金融行业等。
一般传统式的报警器采用机械式的,如压电式报警器,当有入侵者将压力施加与压电传感器时,机械能在压电传感器中转化为电能,通过放大电路,将信号方法,从而带动发声报警装置,这类报警装置通过物体的接触实现信息的采集,容易被发现,隐蔽性能差,容易遭到破坏,而且传统式的报警器使用寿命短,造成不必要的经济浪费。
本次设计目的在于设计以红外传感器为基础的红外线传感器,红外线是一种不可见的光,任何物体都会发出红外线,所以其隐蔽性能非常的好。
如果采用被动式的红外探测,只需要将红外传感器远探测人体发射的红外线,探测装置无需与被测物体直接接触,就可以感受到入侵者的进入。
本设计就才用被动式红外探测的方式,当有入侵者入侵时候,红外探测头会感受到人体发出的红外信号的变化,通过放大电路,将红外传感器中微小的电信号进行放大,并将信号输入到单片机中,单片机中的程序将传感器发送来的信号做处理并发送到光报警系统和声音报警系统中,光报警系统在接受到信号后,红灯亮10S,声音报警系统在接收到信号后,扬声器响10S,当10后,单片机重新检测是否还有红外传感器发送来的信号,如果还有,声光报警系统将继续工作。
通过中断系统,可以实现声光报警系统在10S内暂停。
这样就可以方便的控制报警系统的中断了。
1.2 国内外进展情况红外线报警器是紧跟着光敏传感器和物体的红外效应而出现的。
美国军方是最早使用红外探测技术的国家,上世纪美国军方研制出以主动红外方式导引的精确制导炸弹,这可能是红外探测物体最早应用的实例。
我国发展红外报警系统的时间起步比较晚,直到上世纪末才出现对红外报警系统的研究。
但是这并没有阻碍我国红外技术的进步,从2000年开始,全国各地出现了大小不等的红外传感器研发销售公司,这为红外传感器的迅速发展起着关键性作用。
现在我国红外传感器广发应用在银行,重要工厂,甚至走进了普通的家庭,但是研究更加简易,低价格,高性能的被动式红外传感器仍然需要科技的进步。
#include<reg52.h>#define uchar unsigned char#define uint unsigned intsbit wei=P2^4;sbit wei1=P2^5;sbit beep = P2^0;sbit sensor = P0^7;sbit sensor1= P0^6;uchar flag1; //定义全局变量,作为信号检测标志位uchar flag;void chuankou(uchar temp) //与上位机通信,波特率为1200bit/s { uchar table1[]={1,2};uchar m;PCON=0x00;SCON=0x50;TMOD=0x20;TH1=0xE6;TL1=0xE6;TR1=1;for(m=0;m<2;m++){SBUF=table1[temp];while(TI==0);TI=0;}}void delay(uint t){while(t--);}void Test_Voltage(void){if(sensor ==0&sensor1== 1){delay(10000); //延时50毫秒信号确定if(sensor == 0){flag1 = 1; //检测到信号}else{flag1 = 0;}}else{flag1=0;}}void action(void){if(flag1 ==1){wei=0xfe;P0 = 0X25; //数码管显示【2】beep = 0; //检测到信号后,蜂鸣器发出"滴答"声chuankou(1);delay(10000);beep = 1;delay(10000);wei=0xfd;}else{wei=0;P0 = 0X03; //数码管显示【0】}}void Test_Voltage1(void){if(sensor1 ==0&sensor==1){ delay(10000); //延时50毫秒信号确定if(sensor1 == 0){flag = 1; //检测到信号}else{flag= 0;}}else{flag= 0;}}void action1(void){ if(flag ==1){wei1=0xfe;P0= 0X9f; //数码管显示【1】beep =0; //检测到信号后,蜂鸣器发出"滴答"声chuankou(0);delay(10000);beep =1;delay(10000);wei1=0xfd;}else{wei1=0;P0 = 0X03; //数码管显示【0】}}void main(void){while(1){Test_Voltage();action();Test_Voltage1();action1();}}。
传感器课程设计基于单片机的红外报警系统的设计考核成绩:2016年6月目录一.绪论 (1)1.1发展概况与设计背景 (1)二.设计要求 (2)三.基本原理 (3)3.1 AT89C51的结构 (3)3.2 AT89C51的引脚结构 (3)3.3热释电红外传感器的原理 (5)3.4人体热释电传感器的原理 (6)四.硬件电路设计 (7)4.1主电路的设计 (7)4.1 红外防盗报警电路总原理图 (7)4.2 时钟电路的设计 (7)4.3 复位电路的设计 (8)4.4 发光二极管报警电路的设计 (8)4.5声音报警电路的设计 (9)五.系统软件的设计 (10)5.1主程序工作流程图 (10)六.结论 (11)七.心得体会 (12)八.参考文献 (13)附录 (14)一.绪论1.1发展概况与设计背景随着社会经济的飞速发展,但是社会的治安问题也越来越凸显出来,各种入室抢窃、偷盗事件时有发生。
人们对其住宅的要求也越来越高,表现在不仅希望拥有舒适的住所,而且对安全性、智能性等方面也提出了更高的要求。
这时,传统的家庭住宅显然己经远远不能满足人们的需求。
人们迫切需要一种智能型的家庭防盗报警系统,面对种种治安问题,我们需要利用现代科技技术来保护我们的自身财产。
在此设计防盗报警系统,它是利用探测器装置对建筑物内外重要地点和区域进行布防、探测。
当探测器探测到非法入侵,报警器工作状态变为报警状态,产生报警声。
日常生活中应用的报警装置有目标明显反映迟钝等现象。
目前市面上装备主要有压力触发式防盗报警器、开关电子防盗报警器和压力遮光触发式防盗报警器等各种报警器,但是这几种比较常见的报警器都存在或多或少的缺点。
为了解决这些问题和要求,本设计采用了一种简单的红外探测报警装置,而且性能更良好,设计中采用被动热释红外探测地方法设计热释红外的报警系统。
本设计的报警系统所使用的红外线是不可见光,并且有很强的隐蔽性和保密性,因此在防盗、警戒等安保装置中得到了广泛的应用。
湖南科技大学单片机课程设计题目基于单片机的红外报警控制系统姓名____________________学院专业学号指导教师成绩二〇一三年六月二十二日摘要本系统是基于AT89s52单片机控制的红外线防盗报警器,主要由红外线感应部分、单片机以及声光报警部分组成。
可通过红外感应器的红外线被遮挡时控制报警系统报警,通过单片机控制报警电路的运行,并能同时进行声光报警,用红外线收发管进行检测,安装隐蔽,不易被发现;探测信号采用脉冲信号,节能且抗干扰。
系统可以探测到一定范围内的人的闯入,可以应用在安防范围比较确定的情况下。
采用这种方法设计的防盗报警器具有成本廉价和探测效果好的优点,有着广阔的市场前景。
关键词:单片机;红外线防盗报警器;声光报警ABSTRACTThe system is a infra-red anti-theft alarm controlled by single-chip AT89S52, including infra-red part of the launch,part of the infrared receiver, microcontroller,as well as part of sound and light alarm.The system will alarm when infrared ray has been blocked,through the single-chip microcomputer to control the operation of alarm circuit,and at the same time sound and light alarm,with infrared transceiver test tube,install hidden, can not easily be found;detection signal using pulse signal,energy-saving and anti-jamming.This system can detect a certain person within the scope of the intrusion,security can be applied to determine the scope of the case. Designed using this method of anti-theft alarm and detection in a cost-effectiveness of low-cost best advantages,has broad market prospects.KEY WORDS:Single chip microcomputer;Infrared anti-theft alarm;Sound and lightalarm目录1.绪论 (1)1.1前言 (1)1.2设计任务与要求 (1)1.3传感器的选择 (2)2.热释电红外传感器概述 (3)2.1PIR传感器简单介绍 (3)2.2PIR的原理特性 (3)2.3PIR结构特性 (4)2.4红外传感器RE200B的相关参数 (6)3.方案设计 (7)3.1系统概述 (7)3.2总体设计 (8)3.3系统硬件选择 (9)3.4硬件电路实现 (9)3.5软件的程序实现 (12)4.程序设计及仿真 (13)4.1主程序 (13)4.2外部中断程序 (15)5.结论概述 (13)5.1主要论述 (17)5.2结束语 (17)致谢 (18)参考文献 (18)附录一:红外报警系统后续测试及注意事项附录二:附录二:系统程序清单附录三:电路原理图附录四:仿真图第一章绪论1.1前言人们生活水平不断提高,对私有财产的保护意识在不断的增强,因而对防盗措施提出了新的要求。
毕业设计题目:基于单片机控制红外报警系统[摘要]:人们生活水平不断提高,对私有财产的保护意识在不断的增强,因而对防盗措施提出了新的要求。
本设计就是为了满足预防抢劫、盗窃等意外事件的需要而设计的果园防盗报警系统。
目前市面上主要有压力触发式防盗报警器、开关电子防盗报警器和压力遮光触发式防盗报警器等各种报警器,但这几种比较常见的报警器都存在一些缺点。
本系统采用了热释电红外传感器,它的制作简单、成本低,安装比较方便,而且防盗性能比较稳定,抗干扰能力强、灵敏度高、安全可靠。
这种防盗器安装隐蔽,不易被盗贼发现。
同时它的信号经过单片机系统处理后方便和PC机通信,便于多用户统一管理。
本设计主要包括硬件和软件设计两个部分。
硬件部分包括单片机控制电路、红外探头电路、驱动执行报警电路、LED控制电路等部分组成。
处理器采用51系列单片机AT89S51。
整个系统是在系统软件控制下工作的。
软件部分可以划分为以下几个模块:数据采集、键盘控制、报警和显示等子函数。
[关键词]:单片机、红外传感器、数据采集、报警电路。
Infrared burglar alarm design controls which basedon the monolithicintegrated circuitAbstract : The people living standard enhances unceasingly, to private property protection consciousness in unceasing enhancement, thus set the new request to the security measure. This design is to satisfy the prevention to rob the orchard security alarm system which, the burglary and so on accident needs to design.At present in the market condition equips mainly has the pressure totouch the hair style burglar alarm, the switch electron burglar alarmand the pressure shields light the hair style burglar alarmand so on each kind of alarm apparatus, but these kind of quite commonalarm apparatuses all have some shortcomings. This system used hashotly released the electricity infrared sensor, its manufacturesimple, cost low, installm the antijamming ability strong, thesensitivity high, safe was reliable. This kind of security installmenthiding, was not easily discovered by the bandits and thieves.Simultaneously its signal after monolithic integrated circuit systemprocessing the convenience and P the C machine correspondence, isadvantageous for the multiuser unification management.This design designs two parts including the hardware and software. Thehardware partially including the monolithic integrated circuit controlcircuit, infrared pokes head in the electric circuit, the actuationexecution alarm circuit, the LED control circuit and so on the partialcompositions. The processor uses 51 series monolithic integratedcircuitsAT89S51, the overall system is works under the systemsoftware control. The system program may divide into following severalmodules: The data acquisition, the keyboard control, reports to thepolice with the demonstration small steelyard function.Key words:AT89S51 monolithic integrated circuit, infrared sensor,data acquisition, alarm circuit.目录1. 绪论 (1)1.1 前言 (1)1.2 设计任务与要求 (1)2. 热释电红外传感器概述 (2)2.1 PIR传感器简单介绍 (2)2.2 PIR 的原理特性 (2)2.3 PIR 结构特性 (3)3. AT89S51单片机概述 (6)3.1 AT89S51单片机的结构 (6)3.1.1管脚说明 (8)3.1.2 主要特性 (11)3.1.3 振荡器特性 (11)3.2 AT89S51单片机的工作周期 (12)3.3 AT89S51单片机的工作过程和工作方式 (13)3.4 AT89S51的指令系统 (16)4. 方案设计 (18)4.1 系统概述 (18)4.2 总体设计 (19)4.3 系统硬件选择 (19)4.4 硬件电路实现 (20)4.5 软件的程序实现 (21)5. 结论概述 (27)5.1 主要结论 (27)5.2 结束语 (27)致谢 (28)参考文献 (29)基于单片机控制的红外防盗报警器的设计1. 绪论1.1前言人们生活水平不断提高,对私有财产的保护意识在不断的增强,因而对防盗措施提出了新的要求。
本科毕业设计(论文)基于单片机的智能防盗报警器的实现学院名称:电气信息工程学院专业:通信工程班级:11 通信学号:11313110姓名:胡海洋指导教师姓名:诸一琦指导教师职称:讲师二〇一五年六月基于单片机的智能防盗报警器摘要:基于单片机控制的红外报警器以STC15F104E单片机和AT89S51单片机为核心,实现的原理是热释电红外传感器如果感应到入侵者的红外热辐射,就将其转换成电压信号,经电路放大、然后输出。
检测器是利用红外人体检测探头检测预先设定好的范围内的情况,一旦有危险便向单片机发出信号,再经单片机处理,然后数码管显示出信号发出的具体范围并同时控制蜂鸣器发出警告声音。
用红外线收发管进行检测,安装隐蔽,不易被发现;探测信号采用脉冲信号,节能且抗干扰。
系统可以探测到一定范围内的人的闯入, 可以应用在安防范围比较确定的情况下。
采用这种方法设计的防盗报警器具有误报率较低、安装和配置容易、成本低、能量消耗少、使用方便、成本廉价和探测效果好的优点,有着广阔的市场前景。
关键词:STC15F104E;AT89S51;红外传感器;数据采集;无线通信Based on single chip microcomputerintelligent burglar alarmAbstract: Based on the infrared alarm controlled by single chip microcomputer A T89S51 microcontroller and STC15F104E as the core, realize the principle of the pyroelectric infrared sensor of infrared radiation which can sense the Infrared radiation of intruder and convert it into a super low frequency signal, amplified by the circuit and output. Detector is using infrared detection probe for detecting a prespecified range. Once having the risk, it will send a signal to the microcontroller, and be processed by the computer ,then digital tube shows the signal issued by the specific scope and at the same time control buzzer warning sound. The detection of the infrared transmitting and receiving tube is concealed and difficult to be found; the detection signal adopts pulse signal, energy saving and anti jamming. The system can detect the intrusion of people within a certain range, and can be used in the case of the security scope of the comparison. T he alarm system which use this method to design has advantages such as lower false alarm rate, easy installation and configuration, low cost, less energy consumption, convenient use, low cost detection and good effect, and has broad market prospects.Keywords:STC15F104E; AT89S51; infrared sensor; data acquisition; Wireless communication目录第1章. 绪论 (1)设计的主要背景和意义 (1)设计内容 (1)1.3章节安排 (2)第2章课题分析与方案论证 (3) (3) (3) (3)2.2 总体设计方案 (3)2.3 红外检测模块方案选择 (4)2.3.1 方案设计比较 (5)2.4 复位模块方案选择 (6)2.4.1 方案比较 (7)2.5 无线通信模块方案选择 (7)2.5.1 方案比较 (8)2.6 LCD液晶显示模块方案选择 (8)2.6.1 方案比较 (9)2.7 本章小结 (10)第3章硬件电路的设计 (11)3.1防盗报警器的硬件组成 (11)3.2防盗报警器的硬件设计 (11)3电源设计 (11)3红外检测模块电路设计 (12)3.2.3 报警模块电路设计 (13)3.2.4 复位电路设计 (14)3.2.5 晶振电路设计 (15) (16)3.2.7 LCD显示电路设计 (17)3.3本章小结 (18)第4章软件的设计 (19)4.1红外采集模块 (20)4.1.1总程序设计 (20)4.2采集模块设计流程 (20)采集模块主程序流程 (21)红外接收模块设计流程 (21) (22)4.4 Keil 软件运行程序图 (23)系统分析与调试设计流程 (24)本章小结 (25)第5章测试结果与分析 (26)5.1 硬件部分 (28)5.1.1 仪器测试 (28)5.1.2 测试方法 (28)5.1.3 结果分析 (28)5.2 软件部分 (29)5.2.1 仪器测试 (29)5.2.2 测试方法 (29)5.2.3 结果分析 (30)系统结果与分析 (30)本章小结 (30)第6章总结 (30)参考文献 (31)致谢 (32)附录1 发射模块原理图 (33)附录2 接受模块原理图 (34)附录2 源程序 (35)第1章.绪论1.1 设计的主要背景和意义随着科学技术不断进步和社会经济的不断发展,人们生活水平得到了很大的提高,对私有财产的保护意识也在不断的增强,因而对防盗措施也有了一定的要求。
基于51单片机的红外防盗报警系统设计-图文XX学院本科毕业设计(论文)3硬件基本设计3.1系统方案设计我们综合考虑了各方面可能出现性能影响的因素,人体红外探测元件最后定为性价比很高的热释电红外探测器,最主要的因素还是考虑到该探测器对人体辐射的红外线具有更好的探测效果。
而且该传感器防盗保护性能相对普通的压力报警器(一般通过可触发的压力开关来报警的防盗系统)来说更加稳定,抗干扰能力很高,探测灵敏度和安全性更是无可挑剔。
正如上面所说的,本探测器安装相当隐蔽,几乎很难发现该装置的位置,极大的方便了用户管理和操作。
考虑到正常情况下检测的是处于移动中的人体,所以红外探测器我们选择双元件型。
因为这个传感器内部的两个灵敏元件是反相接的,如果闯入的人员一直停止不动(当然这是不可能的)或者无人闯入,则这两个灵敏元件极化的程度完全相同,两元件的极化相互之间就抵消了,这时候探测器输出电压为0,报警器不工作;可一旦闯入者移动起来,则两个元件极化程度立马就不同了,输出电压也随之变化不在是0,报警器工作,进而实现探测移动中的人体为目的的功能。
本红外防盗报警系统设计包括硬件组成和软件组成两部分。
如果以模块功能来区分的话主要有系统按键模块(按键控制)、信号处理模块(红外探测器)、报警模块(声光报警部)。
如果按照电路的结构来区分的话主要有单片机电路部分、红外传感器部分、蜂鸣器部分、LED报警指示电路部分。
3.2硬件基本设计-5-XX:红外防盗报警系统(1)热释电红外传感器Pyroelectric infrared sensor have polarization inside the pyroelectric crystals with temperature changes , When the constant infrared radiation on the detector, pyroelectric crystal temperature constant, external crystal is electrically neutral, no electrical output from detector, so constant that can not be detected by the infrared radiation?2?.正常人体发出的红外线波长范围一般在9~10μm之间,而本设计的红外探测元件能感应到的波长灵敏度在0.2~20μm范围内,范围太大不太适合,但是其特性基本稳定不变,为了达到更精准的探测效果,我们通过在传感器上面安装了一个限制入射红外光波长范围的的滤光片来把入射红外光波长约束至7~10μm?3?,这时候改装后的探测器对于检测人体红外线来说性能更加完美,显而易见我们安装的滤光片将其它波长的红外线吸收了,只有人体红外线才能进入其内,就这样一种专业探测人体红外线的探测器应运而生,以上充分说明了本系统设计的核心之一为该传感器,其重要性不言而喻。
外文原文Based on infrared alarm technology security systems1 the introduction1.1 the research significance of this topic research situation at home and abroad .With the development of society and science and technology unceasing development, people's living standards been improved greatly, and to the private property protection means in the unceasing enhancement, the intelligent facilities for anti-theft puts forward new requirements. This design is to meet the need of modern residential anti-theft designed family electronic alarm system. It in previous devices based on improved greatly, because use the single-chip processor signal, not only can used for single residential area, also can be used in a large-scale residential security systems. It's the job of the performance is good, do not appear to report and misstatement phenomenon, safe and reliable.In our country, the present market condition alarm basically has triggered alarm system pressure switch electron and alarm system and pressure shading triggered alarm system, etc. Various kinds of alarm, but this several common alarm there are some shortcomings. This system USES a human pyroelectric infrared sensor in the human body detector in the flied, passive pyroelectric infrared detectors because of its low cost, easy fabrication, low cost, installation is more convenient, anti-theft performance is stable and high sensitivity, safe and reliable, has attracted broad family characteristics such as popular with the customers. And alarms installation concealment, not easily by rogue found.1.2 infrared alarm technology introduction1.2.1 nature objects of the infrared radiationThe nature of any object, as long as the temperature above absolute zero (273 ℃), constantly outward issued infrared radiation, and travel at the speed of light energy. Object radiate outward infrared radiation of energy and the object of temperature and infrared radiant wavelength. Assuming objects launching infrared radiation of peak wavelength for a few, its temperature for T, the radiation energy equals infrared radiation of peak wavelength gerben and object product temperature T. This product is a constant, namely:The higher the temperature of the objects, emit infrared radiation of the smaller peak wavelength, send out infrared radiation energy is bigger also.1.2.2.pyroelectric effectPassive infrared detector also called pyroelectric infrared detector, its main working principle is pyroelectric effect. Pyroelectric effect means if make some strong dielectric material (such as qin batio3, qin wrong acid lead P (zT), etc.) of thesurface temperature changes, then with the temperature rise or fall, material surface occurs polarization, namely on the surface of the charge will be produced change, and material surface charge lost balance and eventually charge will change withvoltage or current form output.1.2.3 pyroelectric infrared sensor basic structurePyroelectric infrared sensors from sensor detection yuan, interference filters and mosfet verifier three parts. According to the number of detecting yuan to points, pyroelectric infrared sensors have unit, double yuanhe four yuan to wait for a few kinds, for human detection of infrared sensor adopts double yuan or four yuan type structure. According to pyroelectric infrared sensor utility cent, have the following kinds: used for measuring temperature sensor, it's the job of the wavelength of (1-20) nano, Used for flame detection sensor, it's the job of the wavelength for0.435 + / - 0.15 nano, For human detection sensor, it's the job of the wavelength of 7 to 15 feet. Figure 1.2 is a double detection yuan pyroelectric infrared sensor structure schematic drawing. The sensor will two opposite polarity, special1.2.4 pyroelectric infrared detector basic principlePyroelectric infrared sensor by receiving mobile human radiation that certain wavelengths of infrared radiation, can be transformed into and human body movement speed and distance, the direction of low-frequency signals about. When pyroelectric infrared sensor by ir radiation sources of radiation, its internal sensitive materials temperatures will rise, polarization intensity is abate, surface charge reduce, usually will release this part of the charge called pyroelectric charge. Because of pyroelectric charge how many can reflect material changes of temperature, so by pyroelectric charge by circuit transformed into the output voltage can also reflect material changes in temperature, thus detect ir radiation energy changes.2 hardware system design2.1 infrared anti-theft alarm system hardware designBecause this design focuses on family guard against theft, real-time monitoring of a narrower range, so this design by simply using a passive infrared detector is enough.Therefore, infrared intelligent anti-theft alarm system, and the specific design requirements for:(1)completes to high sensitive infrared sensor design, make its can warning of what happened real-time and accurate detection.(2) automatic alarm (automatic dial-up alarm audible and visual alarm). We design the system must have the following function module:1.passive infrared detector,2.sound-light alarm,3.telephone automatic dial-up function;4.continued uninterrupted power supply,According to the system to complete functions, we adopt single chip microcomputer as the core of the system unit, electronic detection, intelligent control and telephone tong2.2 telephone automatic dial-up alarm circuit designIn order to simplify the whole system design process, we do not adopt MT880 chip dialing. Realization process is as follows:First in telephone storage inside put on domestic host cell phone numberor alarm call 110. From MCU pins p2.0 and p2.1 drawn two wiring connect relays, a pick telephone keyboard MianDiJian, another connect telephone keyboard keys, automatic weighing dial because the phone keypad scanning is similar microcontroller keypad scanning, so can make SCM give fitst p2.0 a signal, lets telephone h-f, then give the p2.1 a signal, let relay connected, automatic weighing dial the key a potential, let telephone automatic dial-up, so they could finish the system alarm function.2.3 system working principleThe whole system hardware part mainly includes six parts: MCU module; Infrared detector, Acousto-optic alarm circuit; Telephone automatic dial-up alarm circuit; Power supply circuit, Working state instructions circuit. Its system working principle for: the sensors will be detected signals to lead signal processor processing, microcontroller judgment to P1.0 mouth have pulse falling edge jumping signal immediately transferred to the acousto-optic alarm program, at this moment, the red light buzzer alarm rapid flashes, lasted 30s. In the 30s inside if someone press the switch, then eliminate alarm remove alarm. if this time no one remove alarm, the proof nobody at home in 30s system will automatically triggers telephone finish the whole system of police work project. Later, microcontroller will continue to cycle back ? sentenced2.4 system total diagramIn proteus simulation system, the system circuit by crystals circuit, sound-light alarm circuit composed. Among them, we use connect the dedication of the P1.0 simulated infrared sensors, requirement when switch when pressed by the high jump, level is low, the equivalent of, sensor detects the state of man, the telephone line with P2.0 and P2.1 derivation, here without simulation telephone circuit diagram.Figure 3.53 software system design3.1 control module design programMicrocomputer in the initial plus electric, voltage is not steady state, causing instability, at this time the SCM in commonly after power up to system with a piece of delay. Time-lapse after detecting P1 mouth microcontroller state, detection level signal whether mutations, if is then calls the police processing procedure, including automatic dialup audible and visual alarm procedures, if no changes, ChuXiang level detection continues to P1 mouth state.Figure 4.1 main program flowchart3.2 system development adopted by the programming and commissioning of the platformThis system language using assembly language preparation, so choose wave6000, he has the microcontroller program edit, compile and debugging, etc., and generate hexadecimal. Files, through: machine TOPWIN burning software writeable microcontroller program memory. The simulation software use Proteus, he is from Britain Labcenter electronics company EDA software. The circuit of the simulation is interactive, aiming at the microprocessor application, still can directly based on schematic diagram of the virtual prototype programming, and implementing software source code level of real-time debugging, if have display and output, still can see after the operation of input and output effect.4 system debugging and test4.1 software debuggingAdopt modularization program design thought, fitst debugging subroutines, then gradually superposition debugging, through Proteus simulation software debugging, proof program can realize its function.4.2 system debuggingThrough the circuit of welding, each module function commissioning. I put the hardware that occur errors adjusted, in addition, infrared that piece, because is employing redirected of pyroelectric switch modified, so in must be taping photoconductive resistance to rise, has arrived in the days and nights can alarm function. The total system commissioning, through, error meets the requirement.5 closingThis system uses a pyroelectric infrared sensor, its make simple low cost and installation are more convenient and anti-theft performance is stable and strong anti-jamming capability, high sensitivity, safe and reliable.外文翻译基于红外报警技术的防盗系统1 绪论1.1 本课题的研究现状及研究意义随着社会的不断进步和科学技术不断发展,人们生活水平得到很大的提高,对私有财产的保护手段在不断的增强,对防盗设施的智能化提出了新的要求。