[go: up one dir, main page]

CN206053680U - A kind of SCM Based intelligent coffer warning system - Google Patents

A kind of SCM Based intelligent coffer warning system Download PDF

Info

Publication number
CN206053680U
CN206053680U CN201621082678.XU CN201621082678U CN206053680U CN 206053680 U CN206053680 U CN 206053680U CN 201621082678 U CN201621082678 U CN 201621082678U CN 206053680 U CN206053680 U CN 206053680U
Authority
CN
China
Prior art keywords
alarm
master control
signal
warning system
control chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201621082678.XU
Other languages
Chinese (zh)
Inventor
顾涵
张颖漪
张惠国
范瑜
徐健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changshu Institute of Technology
Original Assignee
Changshu Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changshu Institute of Technology filed Critical Changshu Institute of Technology
Priority to CN201621082678.XU priority Critical patent/CN206053680U/en
Application granted granted Critical
Publication of CN206053680U publication Critical patent/CN206053680U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Burglar Alarm Systems (AREA)
  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)

Abstract

The utility model discloses a kind of SCM Based intelligent coffer warning system, including Master control chip and the connected sensor assembly of difference and alarm module, described sensor assembly includes door status switch, vibration detection circuit, acceleration detection circuit and the human body infrared detection circuit being respectively arranged on condom, it is respectively used to detect the internal and external environment of condom, and detection signal is respectively transmitted to Master control chip, according to detection signal, Master control chip determines whether that abnormal conditions occur, control alarm module is reported to the police.This utility model can the invasion extraneous for condom carry out detecting that several environmental changes invaded caused by types such as can detect and judge to force open the door, destroy casing, move integrally.When there is environmental abnormality, local sound and light alarm can be started when being judged as exotic invasive and prompting alarming short message is sent, to reach the effect of intelligent anti-theft, be there is simple structure, detect that comprehensive, with low cost, degree of stability is preferable.

Description

一种基于单片机的智能保险箱报警系统An Intelligent Safe Alarm System Based on Single Chip Computer

技术领域technical field

本实用新型涉及保险箱安全技术,特别涉及一种基于单片机的智能保险箱报警系统。The utility model relates to the safety technology of a safe, in particular to an intelligent safe alarm system based on a single-chip microcomputer.

背景技术Background technique

近年来我国经济发展迅速,人均收入水平逐渐升高,人们可支配财产增加,加上宝石、贵金属、古玩等贵重物品的投资和收藏热潮,现金和贵重物品的存放和防盗措施成为了人们生活中的不可忽视一部分,保险箱开始走进人们的日常生活之中。In recent years, my country's economy has developed rapidly, the per capita income level has gradually increased, and people's disposable property has increased. In addition to the investment and collection boom of gems, precious metals, antiques and other valuables, the storage and anti-theft measures of cash and valuables have become a part of people's daily life A non-negligible part of the safe deposit box began to enter people's daily life.

保险箱一般由箱体、门板、防盗锁具、传动机构等几大部分组成,市场上的保险箱一般通过采用不同的规格、材料、工艺、配件来符合市场不同消费习惯的人群使用,但是从根本的防盗手段上并没有太多的改进。传统保险箱的防盗功能主要依赖于箱体等设备的物理性质,在科技不断发展的今天,盗窃等犯罪手段也在不断发展,传统保险箱的被动式的防盗措施已经渐渐的无法满足实际的防盗需求。因此,需要新型智能的防盗保险箱来对抗潜在的安全威胁。Safes are generally composed of cabinets, door panels, anti-theft locks, transmission mechanisms, etc. Safes on the market generally use different specifications, materials, processes, and accessories to meet the needs of people with different consumption habits in the market, but fundamentally anti-theft There is not much improvement in the means. The anti-theft function of traditional safes mainly depends on the physical properties of the box and other equipment. Today, with the continuous development of science and technology, criminal methods such as theft are also developing. The passive anti-theft measures of traditional safes have gradually been unable to meet the actual anti-theft needs. Therefore, a new type of intelligent anti-theft safe is needed to combat potential security threats.

市场上的保险箱目前可以实现密码输入错误、人员离开时未能关闭箱门等几种不同状态下的报警。报警方式主要有:本地报警、电话报警和无线网络报警。这其中对于电话报警和无线网报警两种方式,具有容易遭到破坏、通话内容不够清晰、正常通话占用手机时无法接收到报警信息等限制和弊端,不具有较高的可推广性。而由于手机用户的不断增加和GSM技术的不断成熟,方便而价格低廉的短信报警,成为了远程报警的主要方式。本系统采用了短信和本地报警两种不同的报警方式,有效地保障了保险箱的安全。The safes on the market can realize the alarm under several different states such as wrong password input and failure to close the door when the personnel leave. The alarm methods mainly include: local alarm, telephone alarm and wireless network alarm. Among them, for the two methods of telephone alarm and wireless network alarm, there are limitations and disadvantages such as being easily damaged, the content of the call is not clear enough, and the alarm information cannot be received when the mobile phone is occupied by a normal call, and it does not have high generalizability. And due to the continuous increase of mobile phone users and the continuous maturity of GSM technology, convenient and cheap SMS alarm has become the main way of remote alarm. This system adopts two different alarm methods of SMS and local alarm, which effectively guarantee the safety of the safe.

鉴于上述已有技术,本申请人作了有益的设计,下面将要介绍的技术方案便是在这种背景下产生的。In view of the above prior art, the applicant has made a beneficial design, and the technical solution to be introduced below is produced under this background.

实用新型内容Utility model content

本实用新型目的是:提供一种基于单片机的智能保险箱报警系统,具有结构简单、检测全面、成本低廉、稳定度较好等优点,具有良好的应用价值。The purpose of the utility model is to provide an intelligent safe alarm system based on a single-chip microcomputer, which has the advantages of simple structure, comprehensive detection, low cost, good stability, etc., and has good application value.

本实用新型的技术方案是:The technical scheme of the utility model is:

一种基于单片机的智能保险箱报警系统,包括主控制芯片及分别与其连接的传感器模块和报警模块,还包括分别为上述各部件供电的电源模块;所述的传感器模块包括分别安装于保险箱上的门磁开关、振动检测电路、加速度检测电路和人体红外检测电路,分别用于检测保险箱的内外环境,并将检测信号分别传送给主控制芯片,主控制芯片根据检测信号判断是否有异常情况发生,控制报警模块报警。An intelligent safe alarm system based on a single-chip microcomputer, including a main control chip and a sensor module and an alarm module connected to it respectively, and also includes a power supply module for supplying power to each of the above components; the sensor module includes a door respectively installed on the safe The magnetic switch, the vibration detection circuit, the acceleration detection circuit and the infrared detection circuit of the human body are respectively used to detect the internal and external environment of the safe, and the detection signals are respectively sent to the main control chip. Alarm module alarm.

所述的主控制芯片采用STC80C52单片机。The main control chip adopts STC80C52 single-chip microcomputer.

优选的,所述振动检测电路采用SW-420振动传感器感应保险箱振动信号,所述SW-420的VCC端通过电阻连接高电平、GND端接地;处于静态时,振动传感器处于导通状态,SW-420的VCC端输出信号为低电平;当出现振动时,SW-420瞬间断开,SW-420的VCC端输出信号为高电平,连续振动时输出信号波形为矩形波,主控制芯片根据其输出高电平信号时间判断振动幅度,并控制报警阈值。Preferably, the vibration detection circuit uses a SW-420 vibration sensor to sense the vibration signal of the safe, and the VCC terminal of the SW-420 is connected to a high level through a resistor, and the GND terminal is grounded; The output signal of the VCC terminal of -420 is low level; when vibration occurs, SW-420 is disconnected instantaneously, the output signal of SW-420 VCC terminal is high level, and the output signal waveform is a rectangular wave during continuous vibration, the main control chip Judging the vibration amplitude according to its output high-level signal time, and controlling the alarm threshold.

优选的,所述加速度检测电路采用MMA7260三轴加速度传感器,感应保险箱被移动的信号。Preferably, the acceleration detection circuit uses an MMA7260 three-axis acceleration sensor to sense the signal that the safe is moved.

优选的,所述人体红外检测电路采用SPI209S热释电传感器探测人体发射的红外线信号。Preferably, the human body infrared detection circuit uses a SPI209S pyroelectric sensor to detect infrared signals emitted by the human body.

优选的,所述门磁开关用于检测保险箱箱门是否严格关闭,包括永磁体和门磁主体两部分,两部分分别安装于保险箱箱体上和保险箱箱门上;所述门磁主体包括一常开型的干簧管,当干簧管位于永磁体的一定距离内时,门磁开关处于导通状态;当永磁体和干簧管之间拉开一定距离后,门磁开关处于常开状态。Preferably, the door magnetic switch is used to detect whether the safe box door is strictly closed, and includes two parts: a permanent magnet and a door magnetic main body, and the two parts are respectively installed on the safe box body and the safe box door; the door magnetic main body includes a For normally open reed switch, when the reed switch is within a certain distance from the permanent magnet, the door magnetic switch is in the conduction state; when the permanent magnet and the reed switch are separated by a certain distance, the door magnetic switch is in the normally open state. state.

优选的,所述报警模块包括分别与主控制芯片连接的本地报警模块和GSM报警模块,主控制芯片根据各传感器模块发送的检测信号判断是否有异常情况发生,控制本地报警模块进行本地的声音或光线报警,提醒可能的在场人员,或通过GSM报警模块发送短信,将保险箱受到入侵的信息告知远程用户。Preferably, the alarm module includes a local alarm module and a GSM alarm module respectively connected to the main control chip, and the main control chip judges whether any abnormality occurs according to the detection signals sent by each sensor module, and controls the local alarm module to perform local sound or Light alarm to remind possible on-site personnel, or send text messages through the GSM alarm module to inform remote users of the information that the safe has been invaded.

本实用新型的优点是:The utility model has the advantages of:

本实用新型所提供的基于单片机的智能保险箱报警系统,能够对于外界的入侵进行进行检测,能够检测并判断撬门、破坏箱体、整体移动等几种入侵类型所引起的环境变化。当发生环境异常,判断为外来入侵时能够启动本地声光报警并发送提示报警短信,以达到智能防盗的效果,具有结构简单、检测全面、成本低廉、稳定度较好等优点,具有良好的应用价值。The intelligent safe alarm system based on the single-chip microcomputer provided by the utility model can detect external intrusions, and can detect and judge environmental changes caused by several types of intrusions such as door prying, box destruction, and overall movement. When an abnormal environment occurs and it is judged as an external intrusion, it can start the local sound and light alarm and send a reminder alarm message to achieve the effect of intelligent anti-theft. It has the advantages of simple structure, comprehensive detection, low cost, and good stability. It has a good application value.

附图说明Description of drawings

下面结合附图及实施例对本实用新型作进一步描述:Below in conjunction with accompanying drawing and embodiment the utility model is further described:

图1为本实用新型所述的基于单片机的智能保险箱报警系统整体设计模块图;Fig. 1 is the overall design block diagram of the intelligent safe alarm system based on the single-chip microcomputer described in the utility model;

图2为本实用新型所述的门磁开关电路的电原理图;Fig. 2 is the electrical schematic diagram of the door magnetic switch circuit described in the utility model;

图3为本实用新型所述的振动检测电路的电原理图;Fig. 3 is the electrical schematic diagram of the vibration detection circuit described in the utility model;

图4为本实用新型所述的加速度检测电路的电原理图;Fig. 4 is the electrical schematic diagram of the acceleration detection circuit described in the utility model;

图5为本实用新型所述的人体红外检测电路电原理图;Fig. 5 is the electric schematic diagram of human body infrared detection circuit described in the utility model;

图6为本实用新型所述的GSM报警模块连接电路的电原理图;Fig. 6 is the electrical schematic diagram of the GSM alarm module connecting circuit described in the utility model;

图7为本实用新型所述的本地报警电路电原理图;Fig. 7 is the electrical schematic diagram of the local alarm circuit described in the utility model;

图8为本实用新型的总体连接电路图。Fig. 8 is the overall connection circuit diagram of the utility model.

具体实施方式detailed description

如图1所示,本实用新型所揭示的基于单片机的智能保险箱报警系统,包括主控制芯片及分别与其连接的传感器模块和报警模块,还包括分别为上述各部件供电的电源模块;所述的传感器模块包括分别安装于保险箱上的门磁开关、振动检测电路、加速度检测电路和人体红外检测电路,分别用于检测保险箱的内外环境,并将检测信号分别传送给主控制芯片,主控制芯片根据检测信号判断是否有异常情况发生,控制报警模块报警。所述的主控制芯片采用STC80C52单片机。为了应对针撬门等对保险箱箱门的入侵行为,需要对保险箱箱门的状态进行检测,本实用新型采用门磁开关来判断保险箱箱门的状态,并向主控芯片进行反馈。为了应对暴力破解的入侵行为,需要对保险箱外壳的状态进行检测,本实用新型采用振动传感器,当保险箱外壳受到暴力破坏时的强外力时,振动传感器能够感受到这种环境变化,并将入侵信息传送给主控芯片。保险箱一般设置于室内的固定位置,一般不会发生位置移动。在这种前提下,为了应对保险箱整体搬运的入侵行为,采用了加速度传感器对保险箱的运动状态进行检测,能将保险箱的运动状态反应给主控芯片。此外,由于保险箱周围环境可能很复杂,有可能出现非人为因素引起的外力作用或箱体移动,容易触发报警条件而引起误报。为了增加系统了稳定性和准确性,采用了人体红外检测模块,对保险箱周围的人体发出的红外线进行检测,从而感知保险箱周围环境中的人员活动。As shown in Figure 1, the intelligent safe alarm system based on the single-chip microcomputer disclosed by the utility model includes a main control chip and a sensor module and an alarm module connected to it respectively, and also includes a power supply module for supplying power to the above-mentioned components respectively; The sensor module includes a door magnetic switch, a vibration detection circuit, an acceleration detection circuit and a human body infrared detection circuit respectively installed on the safe, which are respectively used to detect the internal and external environment of the safe, and transmit the detection signals to the main control chip respectively. The detection signal judges whether there is an abnormal situation, and the alarm module is controlled to give an alarm. The main control chip adopts STC80C52 single-chip microcomputer. In order to cope with the intrusion behavior of the safe box door such as the needle prying door, it is necessary to detect the state of the safe box door. The utility model uses a door magnetic switch to judge the state of the safe box door and feeds back to the main control chip. In order to deal with the intrusion behavior of violent cracking, it is necessary to detect the state of the safe shell. The utility model adopts a vibration sensor. sent to the main control chip. The safe is generally set at a fixed position indoors, and generally does not move its position. Under this premise, in order to deal with the intrusion behavior of the overall handling of the safe, an acceleration sensor is used to detect the motion state of the safe, which can reflect the motion state of the safe to the main control chip. In addition, because the surrounding environment of the safe may be very complicated, there may be external force or box movement caused by non-human factors, which may easily trigger alarm conditions and cause false alarms. In order to increase the stability and accuracy of the system, a human body infrared detection module is used to detect the infrared rays emitted by the human body around the safe, so as to sense the personnel activities in the surrounding environment of the safe.

如图2所示,门磁开关电路用于检测保险箱箱门是否严格关闭,由门磁开关主体和电阻组成,当保险箱箱门严格关闭时,门磁主体与永磁体之间间隙很小,门磁主体内的干簧管触点受磁力影响闭合,干簧管导通,电源电流通过电阻和导通的门磁主体直接流向地端,电路输出为低电平;当保险箱箱门未能严格关闭时,门磁主体与永磁体之间间隙增大,当间隙距离超过规定范围时,干簧管触点受磁力减小,干簧管断开,电源电流通过电阻向外输出高电平。单片机通过门磁开关电路向其输出电平高低判断箱门关闭状况。电阻在电路中起到分压保护作用。同时需要在保险箱锁孔或电子密码盘设置接触式常开式开关,当输入正确密码或用正确钥匙开锁时开关闭合。将常闭式开关与门磁开关并联,当以正确方式打开保险箱箱们时,常开开关闭合将门磁开关短路,防止误判报警;当未以正常方式开启的情况下,保险箱箱门打开,才进行报警。增加报警的准确性和可行性,达到设计要求。As shown in Figure 2, the door magnetic switch circuit is used to detect whether the safe box door is strictly closed. It is composed of a door magnetic switch body and a resistor. The contact of the reed switch in the magnetic body is closed by the magnetic force, the reed switch is turned on, the power supply current flows directly to the ground terminal through the resistance and the turned-on door sensor body, and the circuit output is low level; when the safe box door is not closed tightly When it is closed, the gap between the main body of the door magnet and the permanent magnet increases. When the gap distance exceeds the specified range, the magnetic force on the reed switch contact decreases, the reed switch is disconnected, and the power supply current outputs a high level through the resistor. The single-chip microcomputer judges the closed state of the box door through the door magnetic switch circuit to output the level to it. Resistors play a role in voltage division protection in the circuit. At the same time, it is necessary to set a contact normally open switch in the lock hole of the safe or the electronic combination disk, and the switch is closed when the correct password is entered or the lock is unlocked with the correct key. Connect the normally closed switch and the door magnetic switch in parallel. When the safe box is opened in the correct way, the normally open switch closes and the door magnetic switch is short-circuited to prevent misjudgment and alarm; when the safe box is not opened in the normal way, the safe box door opens. Only to call the police. Increase the accuracy and feasibility of the alarm to meet the design requirements.

如图3所示,振动检测电路,由SW-420震动传感器与电阻组成,SW-420振动传感器为常闭式传感器。处于静态时,传感器处于导通状态,电源电流通过电阻和振动传感器流向地端,输出信号为低电平,且电压稳定不变;当出现振动时,传感器瞬间断开,断开时间与振动信号幅度成正比,输出信号为高电平,多次振动电路输出信号波形为矩形波,可以由输出高电平信号时间判断振动幅度,并控制报警边界,当振动平复后,振动传感器恢复闭合状态,输出信号回归低电平。电阻在电路中起到分压保护作用。由于振动传感器为直接接触式传感器,在实际布置中需要和保险箱箱体用螺丝或黏结胶进行刚性连接,以减小信号传至传感器过程中的信号衰减。As shown in Figure 3, the vibration detection circuit is composed of a SW-420 vibration sensor and a resistor, and the SW-420 vibration sensor is a normally closed sensor. When it is static, the sensor is in the conduction state, the power supply current flows to the ground terminal through the resistance and the vibration sensor, the output signal is low level, and the voltage is stable; when vibration occurs, the sensor is disconnected instantaneously, and the disconnection time is related to the vibration signal The amplitude is proportional, the output signal is high level, and the output signal waveform of the multiple vibration circuit is a rectangular wave. The vibration amplitude can be judged by the output high level signal time, and the alarm boundary is controlled. When the vibration calms down, the vibration sensor returns to the closed state. The output signal returns to low level. Resistors play a role in voltage division protection in the circuit. Since the vibration sensor is a direct contact sensor, it needs to be rigidly connected to the safe box with screws or glue in the actual layout to reduce the signal attenuation in the process of transmitting the signal to the sensor.

如图4所示,加速度检测电路电路图,其中加速度传感器采用的是MMA7260三轴加速度传感器,其1到3号引脚分别是Z、Y、X方向加速度亮的模拟输出。4和5引脚为量程选择控制端G1G2,当G2、G1输入为00、01、10、11时,输出灵敏度分别为为800mV/g、600mV/g、300mV/g、200mV/g。6号引脚为电源供电引脚,采用5V供电,9号引脚为接地引脚。7号引脚为NC引脚,接空。10号引脚为睡眠模式控制引脚。由于输出的模拟信号电压量比较小,所以本实用新型采用敏感度比较高的量程,即1.5g量程,输出为800mV/g,因此给G1、G2引脚都输入低电平。As shown in Figure 4, the circuit diagram of the acceleration detection circuit, in which the acceleration sensor adopts the MMA7260 three-axis acceleration sensor, and its pins 1 to 3 are the analog outputs of the acceleration in the Z, Y, and X directions respectively. Pins 4 and 5 are range selection control terminals G1G2. When G2 and G1 input are 00, 01, 10, and 11, the output sensitivities are 800mV/g, 600mV/g, 300mV/g, and 200mV/g, respectively. Pin 6 is the power supply pin, which uses 5V power supply, and pin 9 is the ground pin. Pin No. 7 is the NC pin, which is empty. Pin 10 is the sleep mode control pin. Because the voltage of the output analog signal is relatively small, the utility model adopts a relatively high sensitivity range, that is, a 1.5g range, and the output is 800mV/g, so both G1 and G2 pins are input with low levels.

由于MMA7260加速度传感器输出的电压值为模拟信号,而单片机只能直接识别数字信号,单片机无法直接识别加速度传感器的输出的信号。因此加速度传感器输出信号需要经过A/D转换电路,将输出的模拟信号转换为数字信号输入单片机。ADC0809为逐次逼近式8位A/D转换器,是单片机设计中常见的A/D转换芯片。芯片由译码器、比较器、多路开关、逐次逼近寄存器等电路组成,在芯片内部有一个切换8路个通道的多路开关,可以支持至多8个输入并由地址码切换输出。Because the voltage value output by the MMA7260 acceleration sensor is an analog signal, and the single-chip microcomputer can only directly recognize the digital signal, the single-chip microcomputer cannot directly recognize the output signal of the acceleration sensor. Therefore, the output signal of the acceleration sensor needs to pass through the A/D conversion circuit to convert the output analog signal into a digital signal and input it to the microcontroller. ADC0809 is a successive approximation 8-bit A/D converter, which is a common A/D conversion chip in single-chip design. The chip is composed of decoder, comparator, multi-way switch, successive approximation register and other circuits. Inside the chip, there is a multi-way switch for switching 8 channels, which can support up to 8 inputs and switch outputs by address codes.

为了A/D完成转换通道的切换,通过利用单片机P2.3、P2.4两个端口循环输出00、01、10信号,实现X、Y、Z三个通道的交替选择。ALE引脚控制地址锁存器,当ALE引脚高电平时允许地址信号进入,低电平时地址信号无法进入。START引脚控制开始转换,引脚获得高电平上升沿时时A/D转换器开始转换。将ALE和START引脚连接在一起,同时连接单片机P2.1引脚,当P2.1输出高电平时,A/D转换器读取地址信息选择转换通道并开始转换。EOC引脚为转换状态引脚,当A/D转换器在进行转换时,EOC引脚输出低电平;当转换结束后,输出为高电平。可将EOC引脚输出信号作为地址信号改变的触发条件。OE引脚控制允许数据输出,当OE引脚输入低电平时,不允许输出端口进行输出;当OE引脚输入高电平时,允许输出端口进行输出。In order to complete the switching of conversion channels by A/D, the alternate selection of X, Y, and Z channels is realized by using the single-chip microcomputer P2.3, P2.4 to output 00, 01, and 10 signals circularly. The ALE pin controls the address latch. When the ALE pin is high, the address signal is allowed to enter, and when the ALE pin is low, the address signal cannot enter. The START pin controls the start of conversion, and the A/D converter starts conversion when the pin gets a high-level rising edge. Connect the ALE and START pins together, and connect the microcontroller P2.1 pin at the same time. When P2.1 outputs high level, the A/D converter reads the address information to select the conversion channel and starts conversion. The EOC pin is a conversion status pin. When the A/D converter is converting, the EOC pin outputs a low level; when the conversion is completed, the output is a high level. The EOC pin output signal can be used as a trigger condition for address signal changes. The OE pin control allows data output. When the OE pin is low, the output port is not allowed to output; when the OE pin is high, the output port is allowed to output.

ADC0809逐次逼近式8位A/D转换器的输出是将输入电压按照参考电压划分为0~255,然后作为8位数字信号进行输出。参考电压取最大5V,5/255≈0.0196,即分辨率为0.0196V。0.0196V*32=0.6272V,按照加速度传感器量程,当输出为0.6272V时,加速度约为0.784g,已经达到应该报警的异常值。ADC0809的输出为从D7到D0逐次降位,D7为最高位D0为最低位。因可以设定此当单片机连接A/D转换器的高三位即P0.5、P0.6、P0.7三个引脚收到高电平信号时,能够说明保险箱箱体的加速度处于异常,判断保险箱被移动,触发报警。The output of the ADC0809 successive approximation 8-bit A/D converter divides the input voltage into 0-255 according to the reference voltage, and then outputs it as an 8-bit digital signal. The maximum reference voltage is 5V, 5/255≈0.0196, that is, the resolution is 0.0196V. 0.0196V*32=0.6272V, according to the range of the acceleration sensor, when the output is 0.6272V, the acceleration is about 0.784g, which has reached the abnormal value that should be alarmed. The output of ADC0809 is successively lowered from D7 to D0, D7 is the highest bit and D0 is the lowest bit. Because it can be set that when the MCU is connected to the high three bits of the A/D converter, that is, the three pins P0.5, P0.6, and P0.7 receive high-level signals, it can indicate that the acceleration of the safe box is abnormal. It is judged that the safe is moved and an alarm is triggered.

如图5所示,人体红外检测电路电路图,其热释电传感器有三个引脚,D引脚为电源供电引脚,G引脚为接地引脚,S引脚为信号输出端。在红外检测电路中图中,当人体进入热释电传感器探头的检测范围内后,探头检测到温度变化使热释电传感器发出信号,但由本身热量微弱,热释电效应所产生的电压很小,热释电传感器输出信号很也小,因此需要对其输出信号的进行放大。红外热释电处理芯片BISS0001是一款性能比较高的传感信号处理芯片,常用于和传感器构成传感器开关。先将热释电红外传感器的输出信号V作第一级信号传入运算放大器OP1放大,14和15引脚为一级放大器的输入,并通过16引脚输出放大后的结果;经过一次放大后再将结果送入放大器OP2再次放大,12和13引脚为二级放大器的输入。二次放大后的热释电信号再经由电压比较器COP1和COP2构成的双向鉴幅器处理后,检出有效触发信号VS,VS启动延迟时间定时器,输出信号V0通过2号引脚传送给单片机。9引脚为触发禁止端,低电平时禁止触发,从而封锁触发信号,使触发信号无效;9引脚接高电平时,触发信号能够正常启动定时器,输出信号0。1引脚可以改变BISS0001芯片的工作模式,将1引脚接高电平,则处于可重复触发的工作模式;将1引脚接低电平,则芯片处于不可重复触发的工作模式,一次触发后输出端锁定,不再改变。3和4引脚为输出延迟控制端,可以通过增大连接的电阻和电容的值增加输出延迟时间。输出延迟时间Tx≈67025R*C,约为3.15秒。5和6引脚为触发封锁时间调节引脚,在封锁时间内,任何输入信号的改变都无法生成输出信号,可以有效地抑制干扰,同样可以通过增大引脚连接的电阻和电容的值增大封锁时间。As shown in Figure 5, the human body infrared detection circuit circuit diagram, the pyroelectric sensor has three pins, the D pin is the power supply pin, the G pin is the ground pin, and the S pin is the signal output terminal. In the figure in the infrared detection circuit, when the human body enters the detection range of the pyroelectric sensor probe, the probe detects a temperature change and the pyroelectric sensor sends out a signal, but due to its own weak heat, the voltage generated by the pyroelectric effect is very small. Small, the output signal of the pyroelectric sensor is very small, so the output signal needs to be amplified. Infrared pyroelectric processing chip BISS0001 is a sensor signal processing chip with relatively high performance, which is often used to form a sensor switch with a sensor. First, the output signal V of the pyroelectric infrared sensor is sent to the operational amplifier OP1 as the first-stage signal for amplification, pins 14 and 15 are the input of the first-stage amplifier, and the amplified result is output through pin 16; after one amplification Send the result to the amplifier OP2 to amplify again, 12 and 13 pins are the input of the secondary amplifier. After the secondary amplified pyroelectric signal is processed by the two-way discriminator composed of voltage comparators COP1 and COP2, an effective trigger signal VS is detected, and VS starts the delay timer, and the output signal V0 is sent to the microcontroller. Pin 9 is the trigger prohibition terminal. When the level is low, triggering is prohibited, thereby blocking the trigger signal and making the trigger signal invalid; when pin 9 is connected to high level, the trigger signal can start the timer normally, and the output signal is 0. 1 pin can change BISS0001 The working mode of the chip, connect 1 pin to high level, then it will be in the working mode that can be repeatedly triggered; connect 1 pin to low level, then the chip will be in the working mode that cannot be repeatedly triggered, and the output terminal will be locked after one trigger, no Change again. Pins 3 and 4 are output delay control terminals, and the output delay time can be increased by increasing the value of the connected resistor and capacitor. The output delay time Tx≈67025R*C is about 3.15 seconds. Pins 5 and 6 are trigger blockade time adjustment pins. During the blockade time, any change in the input signal cannot generate an output signal, which can effectively suppress interference. It can also be increased by increasing the value of the resistor and capacitor connected to the pin. Big block time.

如图6所示,GSM模块连接电路电路图,其GSM模块电路是智能保险箱报警功能的核心部分,控制芯片接收到的外部信息经过判断后,报警信息主要是通过GSM模块通过短信传送给外界,以达到实时报警的功能。TC35i主要由6部分组成,分别为为:供电模块、闪存器、ZIF管脚连接器和天线接口。TC35i芯片一共有40个引脚,可以通过插座连接器导出,可将40个引脚分为5类:电源供电接口,数据输入/输出接口、SIM卡连接接口、音频接口和控制接口。As shown in Figure 6, the circuit diagram of the GSM module connection circuit, the GSM module circuit is the core part of the alarm function of the smart safe. After the external information received by the control chip is judged, the alarm information is mainly transmitted to the outside world through the GSM module through a short message, and then To achieve the function of real-time alarm. TC35i is mainly composed of 6 parts, namely: power supply module, flash memory, ZIF pin connector and antenna interface. The TC35i chip has a total of 40 pins, which can be exported through the socket connector. The 40 pins can be divided into 5 categories: power supply interface, data input/output interface, SIM card connection interface, audio interface and control interface.

TC35i的1到5号引脚是电源输入引脚,通常使用电压值为4.2V,6到10号引脚接地引脚。11和12号引脚为充电引脚,可以外接电池为芯片供电。15号引脚IGT是TC35i的启动引脚,在系统加电后如果要使TC35i进入工作状态,必须要将一个大于100ms的低电平脉冲信号加在IGT引脚。因此将IGT引脚通过按键开关接地,启动时按下按键,IGT引脚接入低电平,按键松开后,IGT引脚恢复高电平,完成TC35i的点火启动。在实际安装中可以与单片机的复位按钮和置,简化操作,提升效率。16到23号引脚为数据输入/输出口,TC35i模块的数据输入/输出接口的功能等同于一个异步串行收发器,符合RS232接口标准,并且支持标准的AT命令集。其中18引号脚RXD、19号引脚TXD为TTL的串口通讯脚,可以用来负责和单片机进行通信。TC35i需要外接SIM卡,第24到29号引脚用于连接SIM卡,SIM卡与TC35i的连接方法为:SIM卡上的CCIO、CCRST、CCCLK、CCVCC和CCGND五个引脚通过SIM卡读卡器与TC35i上的同名管脚直接相连。CCIN引脚用于检测SIM卡与TC35i连接是否正常,如果SIM卡未能正常连接,则CCIN引脚输出为低电平;如果SIM卡连接正常,则CCIN引脚输出为高电平。Pins 1 to 5 of TC35i are power input pins, usually with a voltage value of 4.2V, and pins 6 to 10 are ground pins. Pins 11 and 12 are charging pins, which can be powered by an external battery. Pin 15 IGT is the start pin of TC35i. If you want to make TC35i enter the working state after the system is powered on, you must add a low-level pulse signal greater than 100ms to the IGT pin. Therefore, ground the IGT pin through the key switch, press the key when starting, the IGT pin will be connected to a low level, and after the key is released, the IGT pin will return to a high level, and the ignition of the TC35i will be completed. In the actual installation, it can be set with the reset button of the single chip microcomputer, which simplifies the operation and improves the efficiency. Pins 16 to 23 are data input/output ports. The function of the data input/output interface of the TC35i module is equivalent to an asynchronous serial transceiver, which conforms to the RS232 interface standard and supports the standard AT command set. Among them, the 18th pin RXD and the 19th pin TXD are TTL serial communication pins, which can be used to communicate with the microcontroller. TC35i needs an external SIM card, and the 24th to 29th pins are used to connect the SIM card. The connection method between the SIM card and the TC35i is: CCIO, CCRST, CCCLK, CCVCC and CCGND five pins on the SIM card read the card through the SIM card The device is directly connected to the pin of the same name on the TC35i. The CCIN pin is used to detect whether the connection between the SIM card and TC35i is normal. If the SIM card is not connected normally, the CCIN pin output is low level; if the SIM card connection is normal, the CCIN pin output is high level.

SIM卡上共有6个引脚。CCVCC和CCGND引脚分别是SIM的供电和接地引脚,CCIO引脚为数据的输入/输出引脚,CCRET引脚为复位引脚,CCCLK心焦为时钟信号引脚。There are 6 pins on the SIM card. The CCVCC and CCGND pins are the power supply and ground pins of the SIM respectively, the CCIO pin is the data input/output pin, the CCRET pin is the reset pin, and the CCCLK is the clock signal pin.

TC35i的32号引脚SYNC引脚具有两种工作方式,一种是在信息发送时,显示信息发射时的功率增长情况;另一种功能是显示TC35i芯片的工作状态,本实用新型使用的是该引脚的后一种功能。由于SYNC引脚的输出情况不容易被直接观测,因此将SYNC引脚串电阻连接LED发光二极管后接地,通过观测LED发光二极管的亮灭来显示SYNC引脚的输出情况,从而得知TC35i芯片的工作状态。当TC35i处于关闭或睡眠状态时,SYNC引脚输出低电平,LED灯熄灭表明;当SIM卡没有插入或TC35i正在进行网络登录时,LED会以0.6秒为周期进行闪烁;当TC35i已登录进网络,处于待机状态时,LED会以0.75秒亮和3秒熄灭的形式进行闪烁。The 32nd pin SYNC pin of TC35i has two working modes, one is to display the power increase when the information is transmitted; the other function is to display the working status of the TC35i chip, the utility model uses The latter function of this pin. Since the output of the SYNC pin is not easy to be directly observed, the SYNC pin series resistor is connected to the LED light-emitting diode and then grounded, and the output of the SYNC pin is displayed by observing the LED light-emitting diode on and off, so as to know the status of the TC35i chip. working status. When the TC35i is in shutdown or sleeping state, the SYNC pin outputs low level, and the LED light is off to indicate; when the SIM card is not inserted or the TC35i is logging in to the network, the LED will flash with a cycle of 0.6 seconds; when the TC35i has logged in When the network is in standby mode, the LED will flash in the form of 0.75 seconds on and 3 seconds off.

如图7所示,本地报警模块电路电路图,基于GSM的智能保险箱除了能够通过GSM模块发送短信进行报警之外,还需要进行本地报警。本地报警通过声音和发光进行报警,不仅能够震慑实施入侵的人员,最重要的是能够提示可能的在场人员,防止熟人或内部人员进行作案,增加保险箱的保护力度,同时也使保险箱被整体移动的入侵行为更加难以实施,进行双保险。本地报警电路由单片机直接控制通过引脚输出高电平时电流流过发光二极管,达到光报警的功能。但由于单片机输出电流较小,不足以驱动蜂鸣器工作。因此将单片机引脚连接到三极管的基极,将三极管发射极接电源,集电极接地,使单片机输出信号得到放大,驱动蜂鸣器工作,达到声音报警的功能。本地报警因该设置可以通过人工手动解除,可以通过按下设置于保险箱内部的单片机复位按键,使单片机恢复运行初始状态,从而解除报警。可以在人工误触,引发报警的情况下通过正确操作保险箱解除报警,提升保险箱报警的准确度和用户的实际体验。As shown in Figure 7, the circuit diagram of the local alarm module, the smart safe based on GSM needs to perform local alarm in addition to sending short messages through the GSM module for alarm. The local alarm alarms through sound and light, which can not only deter intruders, but most importantly, remind possible personnel present, prevent acquaintances or insiders from committing crimes, increase the protection of the safe, and at the same time make the safe be moved as a whole. Intrusion is more difficult to implement, and double insurance is carried out. The local alarm circuit is directly controlled by the single-chip microcomputer, and the current flows through the light-emitting diode when the pin outputs a high level, so as to achieve the function of light alarm. However, due to the small output current of the single chip microcomputer, it is not enough to drive the buzzer to work. Therefore, connect the pin of the single-chip microcomputer to the base of the triode, connect the emitter of the triode to the power supply, and ground the collector to amplify the output signal of the single-chip microcomputer, drive the buzzer to work, and achieve the function of sound alarm. The local alarm can be removed manually because of this setting, and the single-chip microcomputer can be restored to the initial state of operation by pressing the reset button of the single-chip microcomputer arranged inside the safe, thereby releasing the alarm. The alarm can be canceled by correct operation of the safe in the case of manual accidental touch and alarm, which improves the accuracy of the safe alarm and the actual experience of the user.

如图8所示,电路总体电路图,在各部分电路设计完成后,将各部分的输出或输入端口与主控芯片相连,完成整体电路设计。单片机P0.0~P0.7端口作为数据接收端口连接加速度检测模块,接收经过A/D转换后的8为数字信号;P1.0端口作为本地报警的输出端,触发本地报警电路,完成本地声光报警;P1.1、P1.2、P1.3三个端口分别作为振动检测模块、门磁开关和红外检测模块的输入端,分别接收各模块传送的报警信息。P2.3和P2.4端口作为A/D转换器地址选择信号输出端,负责循环输出信号,控制A/D转换器的转换通道轮换;P2.0作为A/D转换器的输出控制端口;P2.1作为A/D转换器开始转换控制端口;P2.2作为A/D转换器转换状态检测端口;单片机供电引脚VCC接5V电源,GND端口接地,完成单片机供电。As shown in Figure 8, the overall circuit diagram of the circuit, after the completion of the circuit design of each part, connect the output or input ports of each part to the main control chip to complete the overall circuit design. The P0.0~P0.7 port of the single chip microcomputer is used as the data receiving port to connect the acceleration detection module to receive the 8-digit digital signal after A/D conversion; the P1.0 port is used as the output end of the local alarm to trigger the local alarm circuit to complete the local sound Optical alarm; P1.1, P1.2, and P1.3 are used as the input terminals of the vibration detection module, door magnetic switch and infrared detection module respectively, and receive the alarm information transmitted by each module respectively. Ports P2.3 and P2.4 are used as the output terminals of the address selection signal of the A/D converter, which are responsible for circulating the output signal and controlling the conversion channel rotation of the A/D converter; P2.0 is used as the output control port of the A/D converter; P2.1 is used as the A/D converter conversion control port; P2.2 is used as the A/D converter conversion status detection port; the microcontroller power supply pin VCC is connected to the 5V power supply, and the GND port is grounded to complete the microcontroller power supply.

上述实施例只为说明本实用新型的技术构思及特点,其目的在于让熟悉此项技术的人能够了解本实用新型的内容并据以实施,并不能以此限制本实用新型的保护范围。凡根据本实用新型主要技术方案的精神实质所做的修饰,都应涵盖在本实用新型的保护范围之内。The above-mentioned embodiments are only to illustrate the technical conception and characteristics of the present utility model, and its purpose is to allow people familiar with this technology to understand the content of the present utility model and implement it accordingly, and cannot limit the protection scope of the present utility model. All modifications made according to the spirit of the main technical solutions of the utility model shall fall within the protection scope of the utility model.

Claims (7)

1. a kind of SCM Based intelligent coffer warning system, it is characterised in that:Including Master control chip and respectively with which The sensor assembly and alarm module of connection, the power module also powered including respectively above-mentioned each part;Described sensor Module includes door status switch, vibration detection circuit, acceleration detection circuit and the human body infrared inspection being respectively arranged on condom Slowdown monitoring circuit, is respectively used to detect the internal and external environment of condom, and detection signal is respectively transmitted to Master control chip, master control coremaking According to detection signal, piece determines whether that abnormal conditions occur, control alarm module is reported to the police.
2. SCM Based intelligent coffer warning system according to claim 1, it is characterised in that:Described master control Coremaking piece adopts STC80C52 single-chip microcomputers.
3. SCM Based intelligent coffer warning system according to claim 2, it is characterised in that:The vibration inspection Slowdown monitoring circuit senses condom vibration signal using SW-420 vibrating sensors, and the VCC ends of the SW-420 are high by resistance connection Level, GND ends ground connection;In static state when, vibrating sensor is in the conduction state, and the VCC ends output signal of SW-420 is low electricity It is flat;When there is vibration, SW-420 moments disconnect, and the VCC ends output signal of SW-420 is high level, output letter during continuous shaking Number waveform is square wave, and Master control chip exports high level signal time according to which and judges Oscillation Amplitude, and controls alarm threshold value.
4. SCM Based intelligent coffer warning system according to claim 2, it is characterised in that:The acceleration Detection circuit adopts MMA7260 3-axis acceleration sensors, senses the signal moved by condom.
5. SCM Based intelligent coffer warning system according to claim 2, it is characterised in that:The human body is red Outer detection circuit detects the infrared signal of human-body emitting using SPI209S pyroelectric sensors.
6. SCM Based intelligent coffer warning system according to claim 2, it is characterised in that:The door sensor is opened Close for detecting whether safe cabinet door strictly closes, including permanent magnet and door sensor main body two parts, two parts are respectively arranged in In safe body and on safe cabinet door;The door sensor main body includes the tongue tube of an open type, when tongue tube is located at permanent magnetism When in the certain distance of body, door status switch is in the conduction state;After certain distance is pulled open between permanent magnet and tongue tube, door sensor Switch is in normally open.
7. SCM Based intelligent coffer warning system according to claim 2, it is characterised in that:The warning mould Block includes the local alarm module being connected with Master control chip respectively and GSM alarm modules, and Master control chip is according to each sensor The detection signal that module sends determines whether that abnormal conditions occur, and controlling local alarm module carries out local sound or light Report to the police, remind possible personnel on the scene, or note is sent by GSM alarm modules, be subject to the information invaded to inform in condom Long-distance user.
CN201621082678.XU 2016-09-27 2016-09-27 A kind of SCM Based intelligent coffer warning system Expired - Fee Related CN206053680U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621082678.XU CN206053680U (en) 2016-09-27 2016-09-27 A kind of SCM Based intelligent coffer warning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621082678.XU CN206053680U (en) 2016-09-27 2016-09-27 A kind of SCM Based intelligent coffer warning system

Publications (1)

Publication Number Publication Date
CN206053680U true CN206053680U (en) 2017-03-29

Family

ID=58367528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621082678.XU Expired - Fee Related CN206053680U (en) 2016-09-27 2016-09-27 A kind of SCM Based intelligent coffer warning system

Country Status (1)

Country Link
CN (1) CN206053680U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106223780A (en) * 2016-09-27 2016-12-14 常熟理工学院 A kind of SCM Based intelligent coffer warning system
CN107295716A (en) * 2017-05-16 2017-10-24 罗政球 Multifunctional intelligent desk lamp
CN108712845A (en) * 2018-05-29 2018-10-26 北京中农精准科技有限公司 A kind of electrical control cabinet
CN110058554A (en) * 2019-05-14 2019-07-26 中邮科技有限责任公司 Onboard sensitive information storage chip security system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106223780A (en) * 2016-09-27 2016-12-14 常熟理工学院 A kind of SCM Based intelligent coffer warning system
CN107295716A (en) * 2017-05-16 2017-10-24 罗政球 Multifunctional intelligent desk lamp
CN108712845A (en) * 2018-05-29 2018-10-26 北京中农精准科技有限公司 A kind of electrical control cabinet
CN108712845B (en) * 2018-05-29 2021-03-19 北京中农精准科技有限公司 Electrical control cabinet
CN110058554A (en) * 2019-05-14 2019-07-26 中邮科技有限责任公司 Onboard sensitive information storage chip security system

Similar Documents

Publication Publication Date Title
CN106223780A (en) A kind of SCM Based intelligent coffer warning system
CN206053680U (en) A kind of SCM Based intelligent coffer warning system
CN101136124A (en) Wireless/wired intelligent logical safety theft-proof system
CN104484970B (en) Anti-theft method and system
CN104240354A (en) Intelligent door lock system
CN103473882A (en) Intelligent safety control system
CN206516018U (en) A kind of new safety-protection system
CN210536811U (en) Remote intelligent monitoring doorbell
CN207458265U (en) Anti-theft alarming control device
CN204331945U (en) Based on wireless door anti-theft monitoring system
CN203594283U (en) Protection alarm structure cooperating with idle lock cylinder
CN208271338U (en) A kind of window anti-theft system based on embedded platform
CN201649857U (en) Intelligent safety door control system
CN201003317Y (en) Intelligent anti-theft lock
CN106652317A (en) Electronic information intelligent household system
CN208384664U (en) A kind of intelligent anti-theft electronic lock and intelligent anti-theft system
CN207924850U (en) A kind of intelligent door and window anti-theft control device and system
CN207558064U (en) Intelligent distant control door lock
CN206128867U (en) Theftproof panel and infrared induction pickproof lock
CN203133589U (en) Early warning controller used for wireless smart home
CN205910753U (en) Electronic lock system
CN205080679U (en) Intelligent house theftproof alarm system
CN2658862Y (en) Radio intelligent antitheft alarming device
CN208473485U (en) A kind of electronic lock having antitheft detection function
CN212256500U (en) Magnetic detector for anti-theft door

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170329

Termination date: 20190927

CF01 Termination of patent right due to non-payment of annual fee