Bluetooth-based non-inductive access control system

文档序号:1954891 发布日期:2021-12-10 浏览:18次 中文

阅读说明:本技术 基于蓝牙的无感门禁系统 (Bluetooth-based non-inductive access control system ) 是由 胡宪华 叶奇才 黄海 陈杰威 严业仓 胡龙 王彦淞 潘俊杰 于 2021-10-25 设计创作,主要内容包括:本发明公开了基于蓝牙的无感门禁系统,包括包括APP用户、MCU模块、继电器模块、蓝牙模块和定向天线,MCU模块包括主控芯片U8、时间基准模块和滤波模块;蓝牙模块包括主控芯片U3、蓝牙运行指示模块和复位模块;主控芯片U3包括flash模块,APP用户通过蓝牙模块中的flash模块写入MAC地址并存储,主控芯片U8通过输出控制端与继电器模块的输入控制端电性连接,主控芯片U3的信号接入端与定向天线连接,定向天线通过flash模块中预存的MAC地址与主控芯片U3配对连接,用蓝牙配对技术,在配对过程中只有授权MAC地址的蓝牙才能进行蓝牙配对开门,在近场开门的应用场景中既能快速的开门,也能够识别授权的蓝牙解决开门的安全性,做到真正的无感开门。(The invention discloses a Bluetooth-based non-inductive access control system, which comprises an APP user, an MCU module, a relay module, a Bluetooth module and a directional antenna, wherein the MCU module comprises a main control chip U8, a time reference module and a filtering module; the Bluetooth module comprises a main control chip U3, a Bluetooth operation indication module and a reset module; master control chip U3 includes the flash module, the APP user writes in the MAC address and saves through the flash module in the bluetooth module, master control chip U8 is through output control end and relay module's input control end electric connection, master control chip U3's signal access end and directional antenna are connected, directional antenna pairs with master control chip U3 through the MAC address that prestores in the flash module and is connected, pair the technique with the bluetooth, only can carry out the bluetooth and pair the door opening at the bluetooth of authorizing the MAC address in the process of pairing, can quick door opening in the applied scene that the near field opened the door, the security that the bluetooth that also can discern the authorization solved the door opening, accomplish real noninduction door.)

1. The Bluetooth-based non-inductive access control system is characterized by comprising an APP user, an MCU module, a relay module, a Bluetooth module and a directional antenna, wherein the MCU module comprises a main control chip U8, a time reference module and a filtering module; the Bluetooth module comprises a main control chip U3, a Bluetooth operation indication module and a reset module;

the communication serial ports electric connection on the communication serial ports of master control chip U8 and bluetooth module's the master control chip U3, master control chip U3 includes the flash module, the APP user writes in the MAC address and saves through the flash module in the bluetooth module, master control chip U8 is through output control end and relay module's input control end electric connection, master control chip U3's signal access end is connected with directional antenna, directional antenna pairs with master control chip U3 through the MAC address that prestores in the flash module and is connected.

2. The bluetooth-based non-inductive access control system according to claim 1, characterized in that: no. 3 pin, No. 4 pin, No. 5 pin and No. 6 pin of master control chip U8 have connect the time reference module, the time reference module includes crystal oscillator tube Y3 and crystal oscillator tube Y4, the filtering module includes electric capacity C34, electric capacity C35, electric capacity C36 and electric capacity C42.

3. The bluetooth-based non-inductive access control system according to claim 2, characterized in that: no. 1 foot and the one end of electric capacity C35 of crystal oscillator tube Y3 are connected, No. 2 foot and the one end of electric capacity C34 of crystal oscillator tube Y3 are connected, No. 1 foot and the one end of electric capacity C36 of crystal oscillator tube Y4 are connected, No. 3 foot and the one end of electric capacity C42 of crystal oscillator tube Y4 are connected, electric capacity C34, electric capacity C35, electric capacity C36, electric capacity C42 and crystal oscillator tube Y4's No. 2 foot, No. 4 foot are the ground connection setting.

4. The bluetooth-based non-inductive access control system according to claim 1, characterized in that: no. 29 pin and No. 30 pin of the main control chip U8 are correspondingly connected with No. 22 pin and No. 21 pin of the main control chip U3, and No. 57 pin of the main control chip U8 is connected with No. 25 pin of the main control chip U3, and a reset module is formed.

5. The bluetooth-based non-inductive access control system according to claim 1, characterized in that: the bluetooth operation indication module includes LED1 and resistance R5, the one end of LED1 is ground connection, the other end of LED1 is connected with resistance R5's one end, resistance R5's the other end is connected with No. 3 feet of main control chip U3.

6. The bluetooth-based non-inductive access control system according to claim 1, characterized in that: the relay module comprises a relay U6, a No. 57 pin of a main control chip U8 is connected with one end of a resistor R18 of the relay U6, the other end of the resistor R18 is connected with bases of a resistor R21 and a triode Q2 respectively, and an emitting electrode of the triode Q2 and the other end of the resistor R21 are arranged in a common grounding mode.

7. The bluetooth-based non-inductive access control system according to claim 6, characterized in that: no. 2 foot of master control chip U6 connects electric capacity C9 and power 1 respectively, the triode Q2 collecting electrode of relay module is connected with relay U6 and zener diode D4's one end respectively, the other end and the one end of resistance R12 of zener diode D4 are connected, the other end of resistance R12 connects power 2 and electric capacity C14, power 1 and power 2 are 3.3V.

8. The bluetooth-based non-inductive access control system according to claim 1, characterized in that: the model of the master control chip U8 is STM32F1, and the model of the master control chip U3 is BT 617.

Technical Field

The invention belongs to the technical field of access control systems, and particularly relates to a Bluetooth-based non-inductive access control system.

Background

Along with the development of the internet of things industry, intelligent access control is more and more popular. In reality, there are various intelligent entrance guards, have the face entrance guard that uses face identification, have the entrance guard of punching the card that uses the IC-card to punch the card, have the intelligent entrance guard that uses cell-phone APP to open the door.

However, the above intelligent door control needs to have an opening action, for example: swiping face, swiping card, opening door by APP, etc., safe and quick noninductive opening door cannot be realized.

Therefore, it is desirable to provide a bluetooth-based non-inductive access control system to solve the above problems.

Disclosure of Invention

The invention aims to provide a bluetooth-based non-inductive access control system which can quickly identify authorized personnel in a non-inductive door opening mode to open the door in a non-inductive manner so as to solve the problems in the background technology.

In order to achieve the purpose, the invention adopts the following technical scheme:

the Bluetooth-based non-inductive access control system comprises an APP user, an MCU module, a relay module, a Bluetooth module and a directional antenna, wherein the MCU module comprises a main control chip U8, a time reference module and a filtering module; the Bluetooth module comprises a main control chip U3, a Bluetooth operation indication module and a reset module;

the communication serial ports electric connection on the communication serial ports of master control chip U8 and bluetooth module's the master control chip U3, master control chip U3 includes the flash module, the APP user writes in the MAC address and saves through the flash module in the bluetooth module, master control chip U8 is through output control end and relay module's input control end electric connection, master control chip U3's signal access end is connected with directional antenna, directional antenna pairs with master control chip U3 through the MAC address that prestores in the flash module and is connected.

Preferably, the pin No. 3, the pin No. 4, the pin No. 5 and the pin No. 6 of the main control chip U8 are connected with a time reference module, the time reference module includes a crystal oscillator tube Y3 and a crystal oscillator tube Y4, and the filtering module includes a capacitor C34, a capacitor C35, a capacitor C36 and a capacitor C42.

Preferably, pin 1 of crystal oscillator tube Y3 is connected with one end of capacitor C35, pin 2 of crystal oscillator tube Y3 is connected with one end of capacitor C34, pin 1 of crystal oscillator tube Y4 is connected with one end of capacitor C36, pin 3 of crystal oscillator tube Y4 is connected with one end of capacitor C42, and pin 2 and pin 4 of capacitor C34, capacitor C35, capacitor C36, capacitor C42 and crystal oscillator tube Y4 are all grounded.

Preferably, the pin 29 and the pin 30 of the main control chip U8 are correspondingly connected to the pin 22 and the pin 21 of the main control chip U3, respectively, and the pin 57 of the main control chip U8 is connected to the pin 25 of the main control chip U3, and forms a reset module.

Preferably, the bluetooth operation indication module includes an LED1 and a resistor R5, one end of the LED1 is grounded, the other end of the LED1 is connected with one end of the resistor R5, and the other end of the resistor R5 is connected with pin 3 of the main control chip U3.

Preferably, the relay module includes a relay U6, a pin 57 of the main control chip U8 is connected to one end of a resistor R18 of the relay U6, the other end of the resistor R18 is connected to a resistor R21 and a base of a transistor Q2, and an emitter of the transistor Q2 and the other end of the resistor R21 are grounded.

Preferably, pin 2 of the main control chip U6 is connected to a capacitor C9 and a power supply 1, respectively, a collector of a transistor Q2 of the relay module is connected to one end of a relay U6 and one end of a zener diode D4, the other end of the zener diode D4 is connected to one end of a resistor R12, the other end of the resistor R12 is connected to the power supply 2 and the capacitor C14, and the power supply 1 and the power supply 2 are both 3.3V.

Preferably, the model of the master control chip U8 is STM32F1, and the model of the master control chip U3 is BT 617.

The invention has the technical effects and advantages that: compared with the prior art, the Bluetooth-based non-inductive access control system has the beneficial effects that:

1. the invention provides a Bluetooth-based non-inductive access control system, which uses a Bluetooth pairing technology, only Bluetooth with an authorized MAC address can be used for carrying out Bluetooth pairing door opening in a pairing process, can rapidly open a door in an application scene of near-field door opening, can also identify authorized Bluetooth to solve the safety of door opening, achieves real non-inductive door opening, can be applied to scenes such as a leader office field, a shared conference room and the like, and can solve the problem of personnel access management in a public area.

2. The invention provides a Bluetooth-based non-inductive access control system, which is characterized in that a Bluetooth module is used for carrying out Bluetooth communication with a user mobile phone end through a Bluetooth module and controlling the opening and closing of a relay module, so that the door opening and closing of an access control machine can be controlled, the traditional modes of swiping a face, swiping a card and opening an APP door are replaced, and a user can rapidly open the door without induction.

Drawings

FIG. 1 is a block diagram of the system of the present invention;

FIG. 2 is a circuit diagram of the MCU module of the present invention;

FIG. 3 is a circuit diagram of a Bluetooth module of the present invention;

FIG. 4 is a circuit diagram of a relay module of the present invention;

FIG. 5 is a flow chart of the system of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The specific embodiments described herein are merely illustrative of the invention and do not delimit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention provides a Bluetooth-based non-inductive access control system as shown in figures 1-4, which comprises an APP user, an MCU module, a relay module, a Bluetooth module and a directional antenna, wherein the MCU module comprises a main control chip U8, a time reference module and a filtering module; the Bluetooth module comprises a main control chip U3, a Bluetooth operation indication module and a reset module, wherein the model of the main control chip U8 is STM32F1, and the model of the main control chip U3 is BT 617;

the communication serial ports electric connection on the communication serial ports of master control chip U8 and bluetooth module's the master control chip U3, master control chip U3 includes the flash module, the APP user writes in the MAC address and saves through the flash module in the bluetooth module, master control chip U8 is through output control end and relay module's input control end electric connection, master control chip U3's signal access end is connected with directional antenna, directional antenna pairs with master control chip U3 through the MAC address that prestores in the flash module and is connected.

No. 3 pin, No. 4 pin, No. 5 pin and No. 6 pin of main control chip U8 have connect the time reference module, the time reference module includes crystal oscillator tube Y3 and crystal oscillator tube Y4, provide the time reference for the system, the filter module includes electric capacity C34, electric capacity C35, electric capacity C36 and electric capacity C42, No. 1 pin and electric capacity C35's one end of crystal oscillator tube Y3 is connected, No. 2 pin and electric capacity C34's one end of crystal oscillator tube Y3 are connected, No. 1 pin and electric capacity C36's one end of crystal oscillator tube Y4 are connected, No. 3 pin and electric capacity C42's one end of crystal oscillator tube Y4 are connected, electric capacity C34, electric capacity C35, electric capacity C36, electric capacity C42 and crystal oscillator tube Y4 No. 2 pin, No. 4 pin are all ground connection settings.

No. 29 pin and No. 30 pin of the main control chip U8 are correspondingly connected with No. 22 pin and No. 21 pin of the main control chip U3 respectively, so that the Bluetooth module can communicate with the MCU module, and No. 57 pin of the main control chip U8 is connected with No. 25 pin of the main control chip U3, and forms a reset module to control the reset function of the Bluetooth.

The bluetooth operation indication module includes LED1 and resistance R5, and the one end of LED1 is ground connection, and the other end of LED1 is connected with resistance R5's one end, and resistance R5's the other end is connected with the No. 3 foot of main control chip U3, and LED1 is the lamp of instructing bluetooth running state, and bluetooth module is when normal operating, and the bluetooth pilot lamp is incessantly twinkling.

The relay module comprises a relay U6, a No. 57 pin of a main control chip U8 is connected with one end of a resistor R18 of the relay U6, the other end of the resistor R18 is connected with bases of a resistor R21 and a triode Q2 respectively, an emitting electrode of the triode Q2 and the other end of the resistor R21 are grounded in a common mode, when PB5 of the main control chip U8 is at a high level, a triode Q2 is conducted, and the relay U6 opens a door. When the PB5 is at a low level, the transistor Q2 is closed, the relay U6 closes the door, and the relay U6 is mainly responsible for outputting door opening and closing signals.

No. 2 pin of the main control chip U6 is connected with a capacitor C9 and a power supply 1 respectively, the collector of a triode Q2 of the relay module is connected with one end of a relay U6 and one end of a voltage stabilizing diode D4 respectively, the other end of a voltage stabilizing diode D4 is connected with one end of a resistor R12, the other end of the resistor R12 is connected with the power supply 2 and the capacitor C14, and the power supply 1 and the power supply 2 are both 3.3V.

At the noninductive access control system of first use, the bluetooth module of noninductive access control system is connected to the cell-phone needs the initiative, open the configuration APP user of noninductive access control system in the cell-phone, carry out the authority distribution, when first user connects into, for the master user, possess the highest authority, when other users connect the bluetooth, need the master user to look over this user's bluetooth MAC address on APP, if the user that wants to add, the master user can select to authorize this user selection, write into the mobile phone bluetooth MAC address of user and save in the flash among the bluetooth module of noninductive system. When waiting for this user to be close to this entrance guard again, the bluetooth of noninductive system can inquire the bluetooth MAC address of storage in the flash, can confirm this user has the permission of opening the door.

As shown in fig. 5, when the system is started, the bluetooth module searches for the bluetooth signal of the user through the directional antenna, the directional antenna uses the directional antenna which transmits 180 degrees, the antenna direction of the non-inductive access control system is installed at one side outside the door, the installation of the mode can lead the non-inductive access control system to detect whether the mobile phone bluetooth of the user is at one side inside the door or at one side outside the door, when the user is inside the door, the non-inductive access control system can not receive the bluetooth signal at the mobile phone side of the user, the equipment can not be connected, therefore, the door can not be opened by error connection in the door, and when the user is outside the door, the non-inductive access control system judges whether the bluetooth signal at the mobile phone end exists or not.

When the non-inductive access control system detects that a Bluetooth signal exists through the directional antenna, 5S is used as a detection period, and when the Bluetooth of the user mobile phone end is closer to the Bluetooth of the non-inductive access control system, the non-inductive access control system detects that the signal intensity emitted by the user Bluetooth is stronger and stronger. When the non-inductive access control system detects that the intensity of the user Bluetooth signal is greater than 50dbm, the Bluetooth of the non-inductive access control system is actively connected with the Bluetooth of the user, and meanwhile, the non-inductive access control system inquires the MAC address in the flash stored by the non-inductive access control system and judges whether the user is an authorized person.

If yes, a main control chip U8 in the non-inductive access control system controls a relay U6 of a relay module to open a door through a relay control end, when PB5 of the main control chip U8 is at a high level, a triode Q2 is conducted, and a relay U6 opens the door. When PB5 is the low level, triode Q2 is closed, relay U6 closes the door, and this relay U6 is mainly responsible for the output signal of opening the door, close the door, when the system completed opening the door, breaks off the connection of two bluetooth, if in the system, inquires about not the MAC address of flash storage, then the bluetooth that this user can not be connected to the noninductive access control system.

Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments or portions thereof without departing from the spirit and scope of the invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能点名联动方法及系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!