Pyroelectric infrared detection anti-theft monitoring system

文档序号:1739193 发布日期:2019-12-20 浏览:28次 中文

阅读说明:本技术 一种热释电红外探测防盗监测系统 (Pyroelectric infrared detection anti-theft monitoring system ) 是由 傅院霞 陈浩 王莉 于 2019-09-04 设计创作,主要内容包括:本发明公开了一种热释电红外探测防盗监测系统,包括电源模块、处理器、热释电红外传感器、声光报警模块,所述电源模块用于为整个系统供电,热释电红外传感器的信号输出端通过数据线与处理器的信号输入端连接,处理器的信号输出端与声光报警模块的输入端连接,处理器用于将人体移动所产生的红外变化的电压信号进行处理后向声光报警模块发送报警信号,声光报警模块接收报警信号后发出相应的报警,所述声光报警模块包括蜂鸣器模块和LED指示电路。与现有技术相比,本发明热释电红外传感器采集的信号由数据线传送至单片机内由单片机进行相应的数据处理,而单片机系统和报警系统可以放在离被盗窃者的较近处,既可以警示盗窃者也可以提醒被盗窃者。(The invention discloses a pyroelectric infrared detection anti-theft monitoring system which comprises a power supply module, a processor, a pyroelectric infrared sensor and an acousto-optic alarm module, wherein the power supply module is used for supplying power to the whole system, the signal output end of the pyroelectric infrared sensor is connected with the signal input end of the processor through a data line, the signal output end of the processor is connected with the input end of the acousto-optic alarm module, the processor is used for processing a voltage signal of infrared change generated by the movement of a human body and then sending an alarm signal to the acousto-optic alarm module, the acousto-optic alarm module receives the alarm signal and then sends out a corresponding alarm, and the acousto-optic alarm module comprises a buzzer module and an LED indicating circuit. Compared with the prior art, the signal acquired by the pyroelectric infrared sensor is transmitted into the single chip microcomputer by the data wire and is processed by the single chip microcomputer correspondingly, and the single chip microcomputer system and the alarm system can be placed at a position close to a stolen person, so that the stolen person can be warned and reminded.)

1. The utility model provides a pyroelectric infrared detection anti-theft monitoring system, its characterized in that includes power module, treater, pyroelectric infrared sensor, audible-visual alarm module, power module is used for supplying power for entire system, the signal output part of pyroelectric infrared sensor is connected with the signal input part of treater through the data line and is used for changing the produced infrared change of human removal that detects into voltage signal and conveys to the treater again through the data line, the signal output part of treater is connected with audible-visual alarm module's input, the treater is used for handling the produced voltage signal of infrared change of human removal and sends alarm signal to audible-visual alarm module, audible-visual alarm module sends corresponding warning after receiving alarm signal, audible-visual alarm module includes bee calling organ module and LED indicating circuit.

2. The pyroelectric infrared detection anti-theft monitoring system according to claim 1, characterized in that: the pyroelectric infrared sensor is covered with a Fresnel mirror, the Fresnel mirror is covered with an optical filter, and the optical filter is controlled to be in a waveband of 7.5-14 mu m.

3. The pyroelectric infrared detection anti-theft monitoring system according to claim 1, characterized in that: the processor is an STM32F103C8T6 singlechip.

4. The pyroelectric infrared detection anti-theft monitoring system according to claim 1, characterized in that: the power supply module includes a DC5V power supply and a voltage regulator for converting 5V to DC3.3V.

5. The pyroelectric infrared detection anti-theft monitoring system according to claim 1, characterized in that: and the signal input end of the processor is connected with an input key.

6. The pyroelectric infrared detection anti-theft monitoring system according to claim 5, characterized in that: and a filtering delay jitter elimination circuit is arranged between the input key and the processor.

Technical Field

The invention relates to the field of photoelectric detection, in particular to a pyroelectric infrared detection anti-theft monitoring system.

Background

The campus order is disturbed, the campus stealing cases infringing the rights and interests of teachers and students, and the stealing cases in rural areas with weak prevention and control measures are frequently transmitted. Various theft incidents emerge endlessly, and people are prompted to design and research anti-theft systems. People say that what people think about is monitoring, and is really inexhaustible, and an anti-theft system is divided into people's air defense, physical defense and technical defense according to prevention and control means, and the common monitoring belongs to one of the technical defense, wherein the common alarm detector comprises an active infrared alarm, a passive infrared alarm and the like, and the monitoring is beneficial to people in production and life. Due to the continuous development of the technology, the environment is more and more complex, and the types of the front end are very diversified. However, the domestic alarm system is not perfect and mature enough, and due to the rough manufacture of the alarm caused by the imperfection of the domestic system, the installation rate of the product is low, the utilization rate is low, the alarm rate is low, and even inconvenience is brought to production and life of people to a certain extent. The pyroelectric infrared sensor is a device which senses the change of an infrared signal in a non-contact mode and converts the change into a voltage signal. The pyroelectric infrared sensor has the advantages of low energy consumption, low cost, easiness in hiding, sensitivity and the like, and is widely applied to multiple fields. The pyroelectric infrared sensor can better avoid the influence of small animals, electromagnetic fields and light to generate false alarm, thereby causing the loss of manpower and material resources.

Therefore, a pyroelectric infrared detection anti-theft monitoring system is urgently needed to be developed.

Disclosure of Invention

The invention aims to solve the defects in the prior art and provides a pyroelectric infrared detection anti-theft monitoring system.

In order to achieve the purpose, the invention is implemented according to the following technical scheme:

the utility model provides a pyroelectric infrared detection anti-theft monitoring system, includes power module, treater, pyroelectric infrared sensor, audible-visual alarm module, power module is used for the entire system power supply, pyroelectric infrared sensor's signal output part is connected through the signal input part of data line and treater and is used for changing the produced infrared change of human removal that detects into voltage signal and retransfer to the treater through the data line, and the signal output part and audible-visual alarm module's the input of treater are connected, and the treater is used for handling the produced voltage signal of infrared change of human removal and sends alarm signal to audible-visual alarm module, and audible-visual alarm module sends corresponding warning after receiving alarm signal, audible-visual alarm module includes bee calling organ module and LED indicating circuit.

Furthermore, a Fresnel mirror is covered outside the pyroelectric infrared sensor, an optical filter is covered outside the Fresnel mirror, and the optical filter is controlled to be in a waveband of 7.5-14 microns.

Further, the processor is an STM32F103C8T6 singlechip.

Further, the power supply module includes a DC5V power supply and a voltage regulator for converting a 5V voltage to DC3.3V.

Furthermore, the signal input end of the processor is connected with an input key.

Furthermore, a filtering delay jitter elimination circuit is arranged between the input key and the processor.

Compared with the prior art, the pyroelectric infrared sensor is not integrated with the processor, namely, signals acquired by the pyroelectric infrared sensor are transmitted into the single chip microcomputer through the data wire and are processed by the single chip microcomputer correspondingly, and the single chip microcomputer system and the alarm system can be placed at a position close to a stolen person, so that the stolen person can be warned and reminded.

Drawings

Fig. 1 is a block diagram of a circuit structure according to an embodiment of the present invention.

FIG. 2 is a monitoring flow chart of an embodiment of the present invention.

FIG. 3 is a schematic diagram of an STM32F103C8T6 single-chip microcomputer according to an embodiment of the present invention.

Fig. 4 is a schematic diagram of a BOOT start mode of an STM32F103C8T6 single chip microcomputer according to an embodiment of the present invention.

Fig. 5 is a circuit diagram of a buzzer module according to an embodiment of the present invention.

Fig. 6 is a diagram of a filtering delay jitter elimination circuit and waveforms before and after jitter elimination according to an embodiment of the present invention.

Fig. 7 is a schematic diagram of a reset circuit of an STM32F103C8T6 single chip microcomputer according to an embodiment of the present invention.

Fig. 8 is a schematic diagram of a power supply circuit of the power module according to the embodiment of the invention.

Fig. 9 is a schematic diagram of a crystal oscillator circuit of an STM32F103C8T6 single chip microcomputer according to an embodiment of the present invention.

Fig. 10 illustrates the principle of the LED indicating circuit according to the embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. The specific embodiments described herein are merely illustrative of the invention and do not limit the invention.

As shown in fig. 1, a pyroelectric infrared detection anti-theft monitoring system comprises a power module, a processor, a pyroelectric infrared sensor and an audible and visual alarm module, wherein the power module is used for supplying power to the whole system and comprises a DC5V power supply and a voltage stabilizer for converting 5V voltage into DC3.3V; the signal output end of the pyroelectric infrared sensor is connected with the signal input end of the processor through a data line and used for converting infrared changes generated by detected human body movement into voltage signals, the voltage signals are transmitted to the processor through the data line, the signal output end of the processor is connected with the input end of the sound-light alarm module, the processor is used for processing the voltage signals of the infrared changes generated by the human body movement and then sending alarm signals to the sound-light alarm module, the sound-light alarm module receives the alarm signals and then sends corresponding alarms, and the sound-light alarm module comprises a buzzer module and an LED indicating circuit.

The processor in this implementation selects STM32F103C8T6 singlechip, and the STM32F103C8T6 singlechip schematic diagram is shown in FIG. 3. The basic parameters of the STM32F103C8T6 chip are as follows:

1. number of bits: 32 bit

2. Clock frequency: 72MHz

3. The number of pins is: 48

4. Memory capacity: 20KB

5. Serial communication: USB, CAN

6. Interface types are as follows: CAN, I2C, SPI, UART, USB

7. The memory type: FLASH

8. Power supply voltage: max3.6V, min2V

9. Flash memory storage capacity: 128KB

10. Number of input/output lines: 32.

timer and watchdog

(1) Timer

The STM32F103C8T6 single chip microcomputer used in the design is provided with an advanced control timer, a common timer, a watchdog timer and a system tick timer, and the timers can work together with the advanced control timer. While in the debug state, the timers can be frozen, either one can generate a pulse width modulated signal and can directly access the memory (independent DMA request mechanism).

(2) Watchdog

The watchdog is a timer circuit, which is used to prevent the program from entering into the dead loop, and when the timer counts down to a set number, the whole system is reset. The STM32 series of single-chip microcomputer used in the design is provided with an independent watchdog and a window watchdog. The independent watchdog is actually composed of a down counter and a prescaler, and a clock is provided by an independent oscillator which is not controlled by the master clock, so that the independent watchdog can still operate in a shutdown and standby mode, and therefore, the whole system can be reset when a problem occurs in the system. The window watchdog is a 7-bit down counter controlled by the master clock, can be set to run freely, and has an early warning interrupt function.

The BOOT starting mode of the STM32F103C8T6 singlechip is shown in FIG. 4.

In this embodiment, the STM32F103C8T6 single chip microcomputer adopts a crystal oscillator circuit, which is a schematic diagram of the crystal oscillator circuit in fig. 9, so as to provide a clock signal to the whole system to enable each part of the whole system to operate in a unified manner.

When a problem occurs in the operation of the STM32F103C8T6 singlechip, different reset methods are often adopted for recovering the system from the beginning to execute the program. Similarly, when a circuit encounters a problem, a reset circuit is also required to reset, and the schematic diagram of the reset circuit of fig. 7 is as follows.

In the embodiment, the input voltage adopts a DC5V power supply, and because the voltage used by the STM32F103C8T6 single chip microcomputer is 3.3V, only the 5V voltage needs to be converted into DC3.3V, and the voltage stabilizer is arrangedTwo ends of the capacitor are connected with 2 capacitors C in parallel5And C7The reason for this is that the filtering makes the output voltage more stable, and the schematic diagram of the circuit is shown in fig. 8.

As shown in fig. 5, the circuit diagram of the buzzer module is as shown in fig. 5, and the current driving capability of the pin needs to be increased due to the small output current of the single chip, in this embodiment, a pull-up resistor R is added during the circuit design12. Resistance R between I/O terminal and base13The protection circuit is used for protecting the I/O terminal voltage from being burnt due to overlarge voltage. The embodiment is connected with a resistor R in series in front of the LED due to the principle of series voltage division6And the protective effect is achieved. As shown in fig. 5, the 9013 transistor in this embodiment functions as a switch, and this time, an NPN transistor is selected, and the transistor has an amplifying function, that is, when a very small current is applied to the base terminal, a current of β times can be obtained at the collector terminal. The current at the collector terminal varies with the current at the base terminal. A further effect of the transistor is a switching effect, i.e. when a current is applied at the base terminal, it is not possible to increase without limit because of the resistance at the collector (up to Ic ═ supply voltage U/collector resistance R)c) When the voltage between the two ends of E and C is quite small, the switch is considered to be closed, and when the base current is quite small and 0, the switch enters the cut-off region, the switch is considered to be opened, and the switching function of the triode is realized.

One end of each of the two LED status indicator lamps is connected to a 3.3V power supply, the other end of each of the two LED status indicator lamps is connected to a pin of the main chip, the LED status indicator lamps play a role in preventing the LEDs from being burnt due to too large current according to the principle of voltage division of a series circuit, and the principle of the LED status indicator circuit is shown in FIG. 10.

In this embodiment, a fresnel mirror is covered outside the pyroelectric infrared sensor, an optical filter is covered outside the fresnel mirror, and the optical filter is controlled in a waveband of 7.5-14 μm. When the monitoring range of the pyroelectric infrared sensor without the Fresnel mirror is less than 2 meters, the monitoring capability of the pyroelectric infrared sensor with the Fresnel mirror is greatly improved and can reach 10 meters.

As shown in fig. 2, when the pyroelectric infrared detection anti-theft monitoring system of the embodiment works, the pyroelectric infrared sensor converts infrared changes generated by detected human body movement into voltage signals, the voltage signals are transmitted to the single chip microcomputer through the data line, the single chip microcomputer unpacks and packs the data and then sends out alarm signals, the processor is used for processing the voltage signals of the infrared changes generated by human body movement and then sending out the alarm signals to the acousto-optic alarm module, the acousto-optic alarm module sends out corresponding alarms after receiving the alarm signals, after the alarms run for a period of time, the alarms can be relieved through manual reset and automatic reset of the input keys, and then the reset circuit resets the system.

In the above embodiment, since the keys on the market are basically mechanical keys, when the key is pressed, the switch at the moment is not immediately and stably turned on when the key is closed, and similarly, the switch is immediately turned off at the moment when the key is turned off. When the switch is closed and opened, a shaking phenomenon is generated, and the phenomenon is called key shaking elimination in order to eliminate the shaking phenomenon. The jitter time is in the range of 5-10ms, determined by the mechanical properties of the materials used. Methods generally employed for eliminating this phenomenon are hardware elimination and software elimination.

1. Hardware method

The signal input end of the processor is connected with an input key, a filtering delay jitter elimination circuit is arranged between the input key and the processor, the hardware jitter elimination method is to eliminate jitter time by using the time of charging and discharging a capacitor, and a filtering delay jitter elimination circuit diagram and a waveform diagram before and after jitter elimination are shown as 6: resistor R in FIG. 62And a capacitor C arranged between the switch S and the CPU data line DiWhen the switch S is not pressed down, the voltage at two ends of the capacitor is 0, namely the input V of the NAND gatei0, the output V0 is 1, when the switch S is pressed, the capacitor C is charged, and the nand gate input ViCannot immediately become 1, so output V0Is still unchanged when the charging voltage V isiWhen the voltage is larger than the opening voltage of the gate, the output V of the NAND gate0Becomes 0, so the capacitor charging time is from R1、R2C is determined by the value of CThe circuit design can be eliminated by setting the time to be more than 100 ms. In the figure V1Is a waveform without elimination, V2Is a waveform that has been eliminated.

2. Software method

When there are several input keys, it can also adopt software shake-eliminating method, i.e. when the system finds that the switch state is changed, a delay program (5-10ms delay) is executed in the single-chip microcomputer to eliminate shake.

According to actual measurement, the pyroelectric infrared sensor in the embodiment is of a P228 type, the detection range is about 8m, the buzzer strongly corresponds to the sensor when the distance between a person and the sensor is 1-2m and the alarm lamp strongly alarms, the buzzer sends out a strong alarm and the alarm lamp strongly alarms when the distance between the person and the sensor is 3-5m, and the buzzer sends out a weak alarm and the alarm lamp weakly alarms when the distance between the person and the sensor is more than 6 m.

The technical solution of the present invention is not limited to the limitations of the above specific embodiments, and all technical modifications made according to the technical solution of the present invention fall within the protection scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种监控方法、装置、系统及监控设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!