An angle detection intelligent alarm device with dual-mode communication function

Through the angle detection method combined with acceleration sensor and gyroscope, combined with microcontroller and dual-mode communication technology, the problem of existing intelligent security devices being easily discovered and signal interference is solved, and small, hidden, and high-precision anti-theft alarm is realized , ensuring the timeliness and accuracy of alarms.

CN111724555BActive Publication Date: 2024-12-31SHANGHAI AOWEI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010743708.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-29
Publication Date
2024-12-31
Estimated Expiration
2040-07-29

AI Technical Summary

Technical Problem

Existing intelligent security equipment is easily discovered, easily disturbed, and affected by network signals, and cannot achieve effective, accurate and timely anti-theft alarms.

Method used

Using an angle detection method based on acceleration sensors and gyroscopes, combined with a microcontroller to compare data, determine the moving and rotation angles of the object, realize high-precision detection, and realize dual-mode communication through local radio frequency communication and narrowband Internet of Things communication to ensure alarms Timely transmission of signals.

Benefits of technology

It realizes a small and concealed alarm device, which can accurately detect the rotation angle of the object and promptly alarm, avoid signal interference and network signal influence, and improves the anti-theft efficiency and anti-reconnaissance capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111724555B_ABST
    Figure CN111724555B_ABST
Patent Text Reader

Abstract

The invention discloses an angle detection intelligent alarm device with a dual-mode communication function, which comprises an integrated circuit chip, an acceleration sensor, a gyroscope, a power module, a charging module, a local radio frequency communication module and a narrowband Internet of Things communication module, which together constitute an intelligent alarm device; the invention collects acceleration values ​​and angular velocity values ​​of three directional axes X / Y / Z of a monitored object through a gyroscope and an acceleration sensor, and a microcontroller calculates the sum of the three-axis data values. When the rotation angle in a short time is greater than a set safety angle value, it is judged that an alarm occurs and the door is opened; the invention also realizes the dual-mode communication function by two communication modes, namely, local radio frequency communication and narrowband Internet of Things, so that the invention has the characteristics of small size, convenient installation, low cost and low power consumption, concealed safety, and strong anti-reconnaissance capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an angle detection intelligent alarm device with a dual-mode communication function, belonging to the field of intelligent security. Background Art

[0002] Common intelligent security equipment on the market now include door magnetic alarms, smart cameras, human body sensing alarms, etc., which are mainly positioned for anti-theft, but they cannot provide effective, accurate and timely alarms, and are easily discovered and interfered by decoders, etc., resulting in poor results.

[0003] The main anti-theft alarm devices currently on the market:

[0004] 1. Door magnetic alarm: It senses the position change of an object by sensing the magnetic field strength. Door magnetic alarm usually consists of two parts: a switch and a magnet. It must be installed at the door gap. When the door is opened, the magnetic force between the switch and the magnet disappears, triggering the alarm. Therefore, its installation position will be limited, making the alarm installation obvious and easy to be found. It is also easily interfered by other magnetic forces and loses its alarm function.

[0005] 2. Smart camera: It monitors the outside of the door through the camera. However, when criminals appear in the surveillance video, the camera cannot immediately alarm. People need to pay attention to the video at all times. In addition, the camera has blind spots and cannot monitor completely. The camera only plays a monitoring role and cannot alarm in time to effectively prevent theft.

[0006] 3. Human body sensing alarm: After the lead of the human body touch sensing alarm is hung on the metal door handle or door lock, when someone touches the door handle or uses a master key to steal the door lock, the sensing alarm will sound an alarm, but it is easily interfered with and becomes ineffective.

[0007] Application No. 201620227255.6 is a networked intelligent door alarm with a recording device. It detects and recognizes sounds to open the door for theft prevention. However, it is large in size and inconvenient to hide. When criminals find this type of alarm, they interfere with it through decoders and other devices, and the alarm loses its alarm function. It has no anti-reconnaissance capability. Moreover, it is affected by wireless signals. If the signal is poor, this alarm device may produce false alarms due to abnormal use. It is also difficult to identify when a person's voice is hoarse. Therefore, this intelligent alarm device is not suitable for monitoring the entry and exit of important people, nor is it suitable for places with poor network signals. Application No. 201710155438.0 is a method and device for intelligent anti-theft alarm detection based on MEMS gyroscope. The gyroscope detects the rotation angular velocity of the deployed object in all directions, compares the angle value in each direction with the preset angle value, and performs anti-theft alarm for the deployed object. Due to signal limitations, false alarms or late alarms are prone to occur. Moreover, because the gyroscope is always working, it consumes a lot of power.

[0008] Therefore, to effectively prevent theft in houses and safe rooms, it is necessary not only to have a concealed and non-interference alarm device, but also to have it not be affected by network signals and to be able to give timely, effective and accurate alarms. Moreover, for the public security department, solving cases and investigating the entry and exit of important people requires an extremely concealed and intelligent alarm device with strong anti-detection capabilities, but there is no such device in the existing technology. Summary of the invention

[0009] In order to solve the technical problems in the prior art that the alarm is large in size, easy to be interfered with, and easy to be affected by network signals, the present invention provides an angle detection intelligent alarm device with dual-mode communication function. The device has a simple principle, is practical and convenient, and has a small size for concealed installation. It is not easily affected by ordinary magnetic forces and has strong anti-reconnaissance capabilities.

[0010] In order to achieve the above object, the present invention proposes an angle detection intelligent alarm method based on an acceleration sensor and a gyroscope, comprising the steps of:

[0011] 1) Initialization state, the acceleration sensor is working and the gyroscope is dormant;

[0012] 2) Detecting the acceleration values ​​of the three axes X / Y / Z of the monitored object through the acceleration sensor;

[0013] 3) The acceleration values ​​of the X / Y / Z axes of the monitored object collected by the acceleration sensor are compared with the effective vibration threshold of the preset acceleration sensor configured by the microcontroller;

[0014] 4) When the acceleration value of the monitored object in the X / Y / Z three-axis direction is greater than the effective vibration threshold of the preset acceleration sensor configured by the microcontroller, it is determined that the acceleration sensor is effectively vibrated, the monitored object may move, the microcontroller is awakened, and the microcontroller wakes up the gyroscope to start working;

[0015] 5) When the monitored object is determined to be likely to move, the rotational angular velocity of the monitored object in the X / Y / Z three-axis directions is collected by the gyroscope;

[0016] 6) The microcontroller reads the rotation angular velocity data of the monitored object's X / Y / Z axes collected by the gyroscope, calculates the sum of the rotation angles of the monitored object's X / Y / Z axes within a preset interval, and compares it with the preset safety knock angle value;

[0017] 7) When the sum of the rotation angles of the three axes of the monitored object or the rotation angle of any axis of the three axes within the preset interval is greater than the preventive safety knocking angle value, it is determined that the monitored object may have an alarm, otherwise it is determined to be a knock, which is within the safe range;

[0018] 8) The microcontroller reads the rotation angular velocity data of the X / Y / Z axes of the monitored object collected by the gyroscope, calculates the sum of the rotation angles of the X / Y / Z axes of the monitored object within a preset interval, and compares it with a preset safety angle value;

[0019] 9) When the sum of the rotation angles of the three axes of the monitored object or the rotation angle of any axis of the three axes within the preset interval is greater than the preventive safety angle value, it is determined that an alarm occurs.

[0020] Furthermore, the effective vibration mode of the acceleration sensor is:

[0021] The effective vibration threshold of the preset accelerometer configured by the microcontroller takes 0.02g as the judgment basis.

[0022] Further, knock mode:

[0023] The preset safety knock angle value is determined between 0-5 degrees as a judgment basis;

[0024] The preset time interval is determined between 0-5 seconds.

[0025] Furthermore, the alert mode:

[0026] The preset safety angle value is determined between 5 and 10 degrees as a judgment basis;

[0027] The interval time is determined between 0 and 5 seconds.

[0028] Furthermore, in the effective vibration mode of the acceleration sensor, the acceleration sensor collects the acceleration values ​​of the monitored object on the three axes of X / Y / Z, and compares them with the effective vibration threshold of the acceleration sensor preset by the microcontroller. When the acceleration value of any axis of the acceleration sensor is greater than the preset effective vibration threshold, it is determined that the acceleration sensor has generated effective vibration; then the acceleration sensor notifies the microcontroller of the generation of effective vibration in an IO interrupt mode, and if the microcontroller is in a sleep state, the microcontroller wakes up; and then the microcontroller wakes up the gyroscope in the form of instructions through a serial communication mode (I2C or SPI) in the awakened state.

[0029] Furthermore, in the knock mode and alarm mode, the microcontroller calculates the acceleration values ​​and angular velocity values ​​of the three directional axes collected by the acceleration sensor and the gyroscope, compares them with the preset angle values, and automatically determines the switching; when the three-axis angle fluctuation amplitude of the monitored object within the set interval of 0-5 seconds is less than the preset safety knocking angle value, it is judged to be in knocking mode, which is within the safe range and does not trigger an alarm signal; when the sum of the three-axis angle fluctuation amplitudes of the monitored object within the set time interval of 0-5 seconds is greater than the set safety alarm angle value, it is determined that the monitored object is in an alarm state.

[0030] The present invention also proposes an intelligent alarm device with dual-mode communication function, which uses a local radio frequency communication method and a narrowband Internet of Things communication method. The implementation of the dual-mode communication function includes the following steps:

[0031] 1) The microcontroller reads the signal quality of the NB-IOT module connected to the public network through serial communication. If the NB-IOT signal quality is greater than the set normal signal threshold, the signal is determined to be normal, and the alarm signal is directly uploaded to the server in NB-IOT mode;

[0032] 2) When the NB-IOT signal quality is less than the set normal signal threshold, the microcontroller selects the local radio frequency communication mode to send it to the gateway device, which is then uploaded to the server by the gateway device.

[0033] Furthermore, the local area radio frequency communication mode is 433MHZ; the local area radio frequency communication mode may also be wifi, zigbee, UWB, Bluetooth, etc.

[0034] The present invention proposes an angle detection intelligent alarm device with dual-mode communication function, comprising an integrated circuit chip, an acceleration sensor, a gyroscope, a power module, a local radio frequency communication module, a NB-IOT communication module, and a charging module. The integrated circuit chip has a microcontroller; the acceleration sensor and the gyroscope belong to a sensing module, and the local radio frequency communication module and the NB-IOT communication module belong to a signal transmission module.

[0035] Furthermore, the integrated circuit chip is respectively connected to the sensor module and the battery module; the integrated circuit chip is bidirectionally connected to the signal transmission module; the microcontroller is used to receive and send power switch instructions, receive information from the sensor module, and send alarm information to the signal transmission module; when the object moves a certain angle, the sensor module collects data and transmits it to the microcontroller, the microcontroller performs data calculation and analysis, reports information to the signal transmission module, and finally transmits the signal to the server through local radio frequency and NB-IOT; the charging module is used to charge the power supply at low voltage.

[0036] Furthermore, the power module has a low voltage detection function. When the power supply voltage is lower than 3V, it is judged as low voltage. After low voltage detection, low voltage alarm information will be uploaded to the server; and the power will be automatically shut down after a delay of a period of time (for example, 10 seconds).

[0037] Furthermore, when the battery of the power module is undervoltage or overvoltage, the battery protection board automatically interrupts the power supply.

[0038] Furthermore, the charging module has a charging function and has over-current and over-voltage protection during charging.

[0039] Compared with the prior art, the present invention has the following advantages:

[0040] (1) The product is small in size and thin in shape, making it easy to hide and install;

[0041] (2) Accurately detect the rotation angle of the monitored object;

[0042] (3) Accurately and promptly report the movement of monitored objects;

[0043] (4) Achieve full signal coverage without being restricted by communication signals;

[0044] (5) Improve the anti-theft coefficient of the house;

[0045] (6) The gyroscope is awakened after the accelerometer vibrates effectively and does not consume power;

[0046] (7) Possess anti-reconnaissance capabilities.

[0047] The present invention can be applied to the following fields:

[0048] (1) Public security: monitoring the entry and exit of key personnel, special technical investigation, etc.;

[0049] (2) Financial sector: monitor the entry and exit of bank safe rooms and strengthen the anti-theft protection of bank safe rooms;

[0050] (3) Cultural relics protection: checking whether the cultural relics display cabinets have been opened, etc.;

[0051] (4) Family residence: monitoring of entry and exit of the house, etc.

[0052] The invention proposes an angle detection intelligent alarm device with dual-mode communication function. The innovation point is that the acceleration sensor and the gyroscope are used to collect the acceleration value and the angular velocity value of the X / Y / Z three-axis of the monitored object, and the sum of the angle values ​​of the three-axis is calculated by a microcontroller, and compared with the preset safety value to realize high-precision angle detection, thereby avoiding the influence of knocking on the door and the like on the intelligent alarm device; the dual-mode communication function is realized by local radio frequency communication and narrowband Internet of Things communication, thereby avoiding the delayed alarm of the alarm device caused by the poor wireless network. This alarm device is compatible with 433 local area communication and NB-IOT. By combining 433 local area communication and NB-IOT, when one communication method does not work, another communication method is used, making the door opening alarm system safer and more accurate. When in use, the device is placed at doors, windows and other places where rotation angles are required for monitoring. Normal knocking or small swings or rotations caused by wind, vibration, etc. will not trigger the device to cause false alarms. Once the monitored object is moved or rotated at a large angle within the preset interval, it can be judged that the monitored object is about to be opened, and an alarm signal will be triggered immediately, so that measures can be taken to prevent theft caused by criminals entering the house or the public security department taking measures to monitor the important people who enter and leave. Therefore, it is a new and effective intelligent alarm device with anti-reconnaissance capabilities, which can greatly improve the anti-theft coefficient of safe rooms, etc., and also greatly improve the monitoring efficiency of key figures by the public security department, reduce their working hours, and rest assured when the key figures are not in trouble. When the situation occurs, other monitoring methods can be carried out.

[0053] The 433 local area communication adopted by the present invention utilizes its wireless radio frequency properties, so the 433 local area communication method adopted by the present invention can adopt other local area radio frequency communication methods with the same properties. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a main flow chart of a detection method for an angle detection intelligent alarm device with dual-mode communication function provided by the present invention.

[0055] Figure 2 A voltage detection flow chart of an angle detection intelligent alarm device with dual-mode communication function provided by the present invention.

[0056] Figure 3 This is a principle framework diagram of the angle detection intelligent alarm device with dual-mode communication function of the present invention.

[0057] Figure 4It is a structural schematic diagram of the angle detection intelligent alarm device with dual-mode communication function of the present invention.

[0058] Figure 4 Marking description: 1-integrated circuit chip, 2-acceleration sensor, 3-gyroscope (angular velocity sensor), 4-local radio frequency communication module, 5-NB-IOT communication module, 6-battery board. DETAILED DESCRIPTION

[0059] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0060] like Figure 1 As shown, a method for implementing an angle detection intelligent alarm device with dual-mode communication function includes the following steps:

[0061] 1) Acquisition of alarm signals

[0062] The intelligent alarm device is equipped with three judgments. When the monitored objects such as doors and windows are subjected to force and move, the acceleration sensor's X / Y / Z three-axis direction will inevitably generate acceleration values. When the acceleration value reaches a certain vibration threshold, it is determined that the acceleration sensor has generated effective vibration, the microcontroller is awakened, and the gyroscope is awakened and starts working at the same time; the gyroscope collects the angular velocity generated by the X / Y / Z three-axis direction of the monitored object. When the sum of the three-axis angle values ​​of the monitored object reaches the preset safety knocking angle value within the preset time interval, it is determined to be a knock on the door, and it is in a safe state, and no alarm signal is triggered; when the sum of the three-axis angle values ​​of the monitored object reaches the preset safety angle value within the preset time interval, it is determined that an alarm occurs, and the alarm signal of the microcontroller is triggered;

[0063] When the monitored object is slightly moved, the microcontroller and gyroscope cannot be awakened because the effective vibration threshold of the acceleration sensor is not reached. This keeps the microcontroller and gyroscope in a low-power sleep state for a long time, ensuring that the battery can work for a long time.

[0064] 2) Communication of intelligent alarm device

[0065] When an alarm signal is generated, the microcontroller reads the signal quality of the NB-IOT module connected to the public network through the serial communication method. If the NB-IOT signal quality is greater than the set normal signal threshold, it is determined that the signal is normal, and the alarm signal is directly uploaded to the server in the NB-IOT method; if the NB-IOT signal quality is less than the set normal signal threshold, the microcontroller selects the local radio frequency communication method to send it to the gateway device, which is then uploaded to the server by the gateway device;

[0066] After the monitored object generates an alarm signal, the signal transmission communication mode can be selected according to the signal limitation of the location at that time, so that the alarm device can work for a long time and ensure that the alarm device can alarm in time and accurately.

[0067] The present invention has the advantages of small size, convenient installation, high product performance, low cost and low power consumption, and is not easily affected by magnetic interference and loses its alarm function. The present invention can also be widely used to monitor various objects that require angle detection to improve their anti-theft coefficient. It has the characteristics of simple structure, reasonable design, concealed installation, and full signal coverage.

[0068] The use process of the present invention: When the present invention is used, it is installed on any surface of objects such as doors and windows to be monitored. When the monitored object moves, the device will send an alarm instruction to the server.

[0069] The above are all preferred examples of the present invention, which embody the innovative point of the present invention, that is, comparing the sum of the three-axis data of the acceleration sensor and the gyroscope with the preset value, thereby triggering the alarm information and its dual-mode communication function. Obviously, the present invention is not limited to the above examples, and there are many variations. All simple modifications, equivalent changes and modifications made according to the essence of the present invention should fall within the scope of the present invention.

Claims

1. A method for implementing an angle detection intelligent alarm device with dual-mode communication function, comprising an integrated circuit chip (1), an acceleration sensor (2), a gyroscope (3), a power module (4), a local radio frequency communication module (5), an NB-IOT communication module (6), and a charging module (7), characterized in that: The acceleration sensor and the gyroscope are used together, comprising the steps of: 1) Initialization state, the acceleration sensor is working and the gyroscope is dormant; 2) Detecting the acceleration values ​​of the monitored object in the three directions of X / Y / Z by the acceleration sensor; 3) The acceleration values ​​of the X / Y / Z axes of the monitored object collected by the acceleration sensor are compared with the effective vibration threshold of the preset acceleration sensor configured by the microcontroller; 4) When the acceleration value of the monitored object in the X / Y / Z three-axis direction is greater than the effective vibration threshold of the preset acceleration sensor configured by the microcontroller, it is determined that the acceleration sensor is effectively vibrated and the monitored object may move, the microcontroller is awakened, and the microcontroller wakes up the gyroscope to start working; 5) When the monitored object is determined to be likely to move, the rotational angular velocity of the monitored object in the X / Y / Z three-axis directions is collected by the gyroscope; 6) The microcontroller reads the rotation angular velocity data of the monitored object's X / Y / Z axes collected by the gyroscope, calculates the sum of the rotation angles of the monitored object's X / Y / Z axes within a preset interval, and compares it with the preset safety knock angle value; 7) When the sum of the rotation angles of the three axes of the monitored object within the preset interval or the rotation angle of any axis of the three axes is greater than the preset safety knocking angle value, it is determined that the monitored object may have an alarm, otherwise it is determined to be a knock, which is within the safe range; 8) The microcontroller reads the rotation angular velocity data of the monitored object's X / Y / Z three-axis direction collected by the gyroscope, calculates the sum of the rotation angles of the monitored object's X / Y / Z three-axis direction within a preset interval, and compares it with a preset safety angle value; 9) When the sum of the rotation angles of the three axes of the monitored object or the rotation angle of any axis of the three axes within the preset interval is greater than the preset safety angle value, it is determined that an alarm occurs; Acceleration sensor effective vibration mode: The microcontroller is configured to preset the effective vibration threshold of the acceleration sensor, with 0.02g as the judgment basis; Knock mode: The preset safety knock angle value is determined between 0-5 degrees as a judgment basis; The preset time interval is determined between 0-5 seconds; Alert mode: The preset safety angle value is determined between 5 and 10 degrees as a judgment basis; The interval time is determined between 0 and 5 seconds; In the effective vibration mode of the acceleration sensor, the acceleration sensor collects the acceleration values ​​of the three axes X / Y / Z of the monitored object, and compares them with the effective vibration threshold of the preset acceleration sensor configured by the microcontroller. When the acceleration value of any axis of the acceleration sensor is greater than the preset effective vibration threshold, it is determined that the acceleration sensor has generated effective vibration; then the acceleration sensor notifies the microcontroller in an IO interrupt mode that effective vibration has occurred, and if the microcontroller is in a sleep state, the microcontroller wakes up; then the microcontroller wakes up the gyroscope in the wake-up state in the form of instructions through serial communication; in the knock mode and alarm mode, the microcontroller calculates the acceleration values ​​and angular velocity values ​​of the three direction axes collected by the acceleration sensor and the gyroscope, compares them with the preset angle value, and automatically determines the switch; when the three-axis direction angle fluctuation amplitude of the monitored object within the set interval of 0-5 seconds is less than the preset safety knock angle value, it is determined to be in knock mode, which belongs to the safe range and does not trigger an alarm signal; when the sum of the three-axis direction angle fluctuation amplitude of the monitored object within the set time interval of 0-5 seconds is greater than the set safety alarm angle value, it is determined that the monitored object is in an alarm state; The local radio frequency communication module and the NB-IOT communication module are used together, including the steps of: The microcontroller reads the signal quality of the NB-IOT module connected to the public network through serial communication. If the NB-IOT signal quality is greater than the set normal signal threshold, the signal is determined to be normal, and the alarm signal is directly uploaded to the server in NB-IOT mode; When the NB-IOT signal quality is less than the set normal signal threshold, the microcontroller selects the local radio frequency communication mode to send it to the gateway device, which is then uploaded to the server by the gateway device.

2. The method for implementing an angle detection intelligent alarm device with dual-mode communication function according to claim 1, characterized in that: The local radio frequency communication mode is 433MHZ, wifi, zigbee, UWB, and Bluetooth.

3. The method for implementing an angle detection intelligent alarm device with dual-mode communication function according to claim 1, characterized in that: The power module has a low voltage detection function. When the power supply voltage is lower than 3, it is judged as low voltage. After low voltage detection, low voltage alarm information will be uploaded to the server; And automatically shut down after a delay; when the battery of the power module is undervoltage or overvoltage, the battery protection board automatically cuts off the power supply.

4. The method for implementing the angle detection intelligent alarm device with dual-mode communication function according to claim 1 is characterized in that: The charging module has a charging function and has over-current and over-voltage protection during charging.