Network managed contactless electronic lock with power switch

By designing a power switching circuit in the network management non-contact electronic lock, the switching between the battery and the long-powered power supply is solved, and the problem that the electronic lock cannot switch the power supply mode in the existing technology is solved, ensuring that the electronic lock can still be used normally when the power supply fails.

CN111719957BActive Publication Date: 2025-04-22四川金网通电子科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010681574.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-15
Publication Date
2025-04-22
Estimated Expiration
2040-07-15

AI Technical Summary

Technical Problem

In the prior art, electronic locks cannot switch between the battery and the long-powered power supply, resulting in the user's unlocking or locking operation being affected when the long-powered power fails.

Method used

A network management contactless electronic lock with power switching is designed, including an electronic lock module and a power supply module. The power supply module includes a battery, a DC emergency power supply and a POE power supply. The switching between the battery and the long power supply is achieved through the power switching circuit.

Benefits of technology

When DC emergency power supply or POE power supply fails, the battery provides power supply to ensure the normal use of the electronic lock and avoid the user being affected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111719957B_ABST
    Figure CN111719957B_ABST
Patent Text Reader

Abstract

The present invention discloses a network management contactless electronic lock with power switching, including an electronic lock module and a power module, the power module including a battery, a DC emergency power supply and a POE power supply, the battery connected to a power switching circuit, the DC emergency power supply and the POE power supply are respectively connected to a step-down circuit and then connected to the power switching circuit, the output end of the power switching circuit is connected to the electronic lock module to provide a working voltage for the electronic lock module. The present invention adds power switching to a contactless electronic lock with a network management function, one group is network power supply (POE power supply), DC emergency power supply, and one group is battery power supply, when the network power supply fails, the product can still work normally, and the unlocking and locking functions of the product are kept in normal use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of electronic locks, in particular to a network-managed non-contact electronic lock with power switching. Background Art

[0002] In the prior art, engineering contactless electronic locks usually use lithium batteries or long-term power supplies. However, lithium batteries are not convenient to charge, and the batteries need to be removed or charged separately. When long-term power supplies fail to provide power, the user's unlocking or locking operations will be affected. In the prior art, there is no power supply method that can realize the switch between batteries and long-term power supplies. Summary of the invention

[0003] The purpose of the present invention is to provide a network-managed contactless electronic lock with power switching, which is used to solve the problem that the electronic lock in the prior art cannot realize the switching between the battery and the long power supply.

[0004] The present invention solves the above problems through the following technical solutions:

[0005] A network-managed contactless electronic lock with power switching comprises an electronic lock module and a power module, wherein the power module comprises a battery, a DC emergency power supply and a POE power supply, wherein the battery is connected to a power switching circuit, wherein the DC emergency power supply and the POE power supply are respectively connected to a step-down circuit and then connected to the power switching circuit, wherein the output end of the power switching circuit is connected to the electronic lock module to provide a working voltage for the electronic lock module.

[0006] The power module includes a battery, a DC emergency power supply and a POE power supply. The DC emergency power supply and the POE power supply are input through different interfaces and connected to the step-down circuit respectively. After stepping down, they are connected to the output terminal VCC_IN of the power switching circuit. When the DC emergency power supply and the POE power supply are powered off, the output terminal VCC_IN of the power switching circuit is connected to the battery, and the battery power provides power to the entire machine.

[0007] The power switching circuit includes a MOS tube QJ1, a drain of the MOS tube QJ1 is connected to a battery, a source of the MOS tube QJ1 is connected to a light-emitting diode AJD1 and then serves as an output end, a gate of the MOS tube QJ1 is connected to a resistor R1 and a resistor R6 and then respectively connected to the DC emergency power supply and the POE power supply, a node between the resistor R1 and the resistor R6 is grounded, and a resistor R14 is connected between the gate and the drain of the MOS tube QJ1.

[0008] When the POE power supply or DC emergency power supply is connected, the MOS tube QJ1-G pole is high level, the MOS tube QJ1 disconnects the battery power supply, and the whole machine power supply provides power to the whole machine. When the POE power supply and the DC emergency power supply are powered off at the same time, the G pole of the MOS tube QJ1 is low voltage, and the battery outputs through the MOS tube QJ1 to provide power to the electronic lock module. In this way, when the DC emergency power supply or POE power supply stops supplying power, the battery provides power, and the user's use will not be affected.

[0009] The electronic lock module includes a single-chip microcomputer and a two-way data exchange chip connected to the single-chip microcomputer, a power supply management circuit, a contactless card reading module, a motor drive module, an LED indication module and a voice broadcast module. The power supply management circuit is used to supply power to or cut off power to the two-way data exchange chip according to the output signal of the single-chip microcomputer.

[0010] The power supply management circuit includes a resistor R64 and a resistor R63 connected to the output pin of the single-chip computer, the resistor R63 is connected to the gate of the MOS tube Q5, the resistor R64 is connected to the output end of the power switching circuit and the drain of the MOS tube Q5, and the source of the MOS tube Q5 is connected to the voltage input pin of the bidirectional data exchange chip.

[0011] The bidirectional data exchange chip is also connected to a bidirectional data chip surge circuit and an ESD protection circuit.

[0012] The contactless card reading module comprises a card reading chip connected to the single chip microcomputer. The card reading chip is also connected to a voltage sampling circuit for collecting changes in voltage signals when a card approaches and transmitting the changes to the single chip microcomputer.

[0013] It also includes an ADC detection circuit, the input end of the ADC detection circuit is connected to the output end of the power switching circuit, and the input end of the ADC detection circuit is connected to the input pin of the single-chip computer for detecting the power quantity.

[0014] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0015] (1) The present invention adds power switching to a contactless electronic lock with a network management function. One group is network power supply (POE power supply) and DC emergency power supply, and the other group is battery power supply. When the network power supply fails, the product can still work normally, maintaining the normal use of the product's unlocking and locking functions.

[0016] (2) In the present invention, the single chip microcomputer obtains the power supply mode according to the detection, and controls the electronic lock to enter the low power consumption operation module and close the two-way data management according to the power supply mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1is a principle block diagram of the power module of the present invention;

[0018] Figure 2 is a circuit schematic diagram of the power module of the present invention;

[0019] Figure 3 It is the circuit schematic diagram of the bidirectional data exchange chip and the power supply management circuit;

[0020] Figure 4 This is the circuit schematic diagram of the card reader chip and its peripherals;

[0021] Figure 5 This is the circuit schematic diagram of the microcontroller and peripheral circuits. DETAILED DESCRIPTION

[0022] The present invention is further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0023] Example:

[0024] Combined with Figure 1 As shown, a network-managed contactless electronic lock with power switching includes an electronic lock module and a power module, the power module includes a battery, a DC emergency power supply and a POE power supply, the battery is connected to a power switching circuit, the DC emergency power supply and the POE power supply are respectively connected to a step-down circuit and then connected to the power switching circuit, and the output end of the power switching circuit is connected to the electronic lock module to provide a working voltage for the electronic lock module.

[0025] like Figure 2 As shown, the DC emergency power supply is input by the first interface AJCH3, converted to DC6.4V through the step-down chip AJU1 (DC / DC) and connected to VCC_IN. The POE power supply enters the step-down chip AJU1 (DC / DC) through the second interface AJD5 and is converted to DC6.4V and connected to VCC_IN. The power switching circuit includes a MOS tube QJ1, a resistor AJR14, a resistor AJR1, a resistor AJR4 and a resistor AJR6; the drain of the MOS tube QJ1 is connected to the battery, the source of the MOS tube QJ1 is connected to the light-emitting diode AJD1 as the output end, the gate of the MOS tube QJ1 is connected to the resistor AJR1 and the resistor AJR6 and then connected to the DC emergency power supply and the POE power supply respectively, the node between the resistor AJR1 and the resistor AJR6 is grounded, and the resistor AJRR14 is connected between the gate and the drain of the MOS tube QJ1. The battery is connected to the MOS tube QJ1 through the third interface AJCH2.

[0026] When the POE power supply or DC emergency power supply is connected, the MOS tube QJ1-G pole is high level, the MOS tube QJ1 disconnects the battery power supply, and the whole machine power supply provides power to the whole machine. When the POE power supply and the DC emergency power supply are powered off at the same time, the G pole of the MOS tube QJ1 is low voltage, and the battery outputs through the MOS tube QJ1 to provide power to the electronic lock module. In this way, when the DC emergency power supply or POE power supply stops supplying power, the battery provides power, and the user's use will not be affected.

[0027] The power supply module also includes an external emergency power supply interface connected to the electronic lock module.

[0028] like Figure 3 , Figure 4 and Figure 5 As shown, the electronic lock module includes a single-chip microcomputer U2 and a two-way data exchange chip U10 connected to the single-chip microcomputer U2, a power supply management circuit, a contactless card reading module U6, a motor drive module, an LED indication module and a voice broadcast module. The power supply management circuit is used to supply power to or cut off power to the two-way data exchange chip U10 according to the output signal of the single-chip microcomputer.

[0029] The bidirectional data exchange chip U10 is model W5500. The power supply management circuit includes a resistor R64 and a resistor R63 connected to the output pin of the single chip computer, the resistor R63 is connected to the gate of the MOS tube Q5, the resistor R64 is connected to the output end of the power switching circuit and the drain of the MOS tube Q5, and the source of the MOS tube Q5 is connected to the voltage input pin of the bidirectional data exchange chip U10.

[0030] The bidirectional data exchange chip is also connected to a bidirectional data chip surge circuit and an ESD protection circuit.

[0031] The bidirectional data chip surge circuit includes FD1, capacitor C76, transient voltage suppression diode TVS1, transient voltage suppression diode TVS2, resistor R57, resistor R58, resistor R59, and resistor R60.

[0032] The ESD protection circuit is composed of chip U11, model NUP4301MR6.

[0033] The bidirectional data exchange chip U10 converts the front-end data signal into an SPI interface through its 5th and 6th pins and transmits it to the microcontroller U2. The data that the microcontroller U2 needs to upload is transmitted to the bidirectional data exchange chip U10 through the microcontroller SPI interface and converted into a network interface. The bidirectional data exchange chip U10 transmits the signal to the front end through pins 1 and 2.

[0034] The POE power supply is connected through the network cable, and the power is provided through the 4th and 5th pins of RJ45 as positive and the 7th and 8th pins as negative to the second interface AJD5.

[0035] When connected to a battery power source, the 13th pin of the single-chip microcomputer U2 outputs a high level to make the MOS tube Q5-G extremely high, and the DC 3V3 of the battery stops supplying power to the bidirectional data exchange chip U10 through the MOS tube Q5, and the bidirectional data exchange chip U10 will be in a low power consumption state ≤5uA; when connected to a POE power supply or a DC emergency power supply, the 13th pin of the single-chip microcomputer U2 pulls the level low to make Q5-G extremely low, and Q5 will supply power to the bidirectional data exchange chip U10.

[0036] The contactless card reader module includes a card reader chip U6 connected to the single-chip microcomputer. The card reader chip U6 reads the information of Class A and Class B cards and transmits the data to the single-chip microcomputer U2 through its SPI interface. The card reader chip U6 is a contactless card reader chip. When the product is connected to a DC emergency power supply or a POE power supply, the card reader chip U6 continuously sends a card reading radio frequency signal, and the card reader chip U6 is not in a low-power working state; when the product is connected to a battery power supply, the card reader chip U6 intermittently sends radio frequency signals, and the product is in a low-power state with an average power consumption of ≤10uA; the intermittent transmission of radio frequency signals controls the working state of the card reader chip U6 through the 19th pin of the single-chip microcomputer U2. When there is no card near the product, the 19th pin of the single-chip microcomputer U2 outputs high and low levels every 1 to 2 seconds to control the working state of the card reader chip U6. When there is a card near the product, the radio frequency wave The amplitude will become lower, and at the same time, the voltage sampling circuit (composed of capacitor C39, resistor R28, diode D5, capacitor C23, resistor R21, capacitor C24, resistor R19, and resistor R20) transmits the voltage signal to pin 18 of microcontroller U2 (ADC acquisition). When it is 100mV lower than the original level, pin 19 of microcontroller U2 continuously outputs high level, and card reader chip U6 will continue to work to read the card information and pass it to microcontroller U2; when the card leaves, pin 19 of microcontroller U2 resumes outputting high and low levels every 1 to 2 seconds to control the working state of card reader chip U6. Microcontroller U2 uses STM32L microcontroller to implement the following functions:

[0037] Read the working status of the card reader chip U6 to determine whether it has entered low power consumption and the type of card;

[0038] Obtain the working status of the bidirectional data exchange chip U10, control power supply or power off, and receive data information and upload data information with the bidirectional data exchange chip U10;

[0039] LED management, when an error message appears, the light-emitting diode LED2 lights up red; when unlocked, the light-emitting diode LED1 lights up green; when two-way data communication is in progress, the light-emitting diode LED1 flashes for receiving downlink data, and the light-emitting diode LED2 flashes for sending uplink data; when the amount of two-way data is large, the light-emitting diode LED flashes faster, and when the amount of two-way data is small, the light-emitting diode LED flashes slower; the light-emitting diode LED1 is driven by pin 6 of U2, and the light-emitting diode LED2 is driven by pin 34 of U2.

[0040] ADC detection, detected by pin 10 of single-chip U2 (composed of resistor R8, resistor R9, and capacitor C9), mainly detects whether the power of the product is normal. When it is lower than DC 4.8V, the light-emitting diode LED2 lights up red. Input power detection (composed of resistor AJR7, resistor AJR8, resistor R61, and resistor R62) When the input power of pin 5 of single-chip U2 is different, the voltage entering pin 5 is different. According to the voltage state, U2 determines the type of connected power supply. For example, when it is 0V, the product is powered by a battery, when it is 0.46V, it is powered by a DC emergency power supply, when it is 1.3V, it is powered by POE36V, and when it is 1.8V, it is powered by POE48V; according to the power supply state, it provides a judgment basis for management and sorting whether to enter the low-power working state. For example, when pin 5 of U2 is 0V, the product must enter the low-power working mode to minimize the consumption of battery power. Current detection, U2's 11th pin is the current detection pin, all module grounds pass through R65 to the power input ground (network is D-GND), when working, a voltage drop occurs at both ends of R65, and the voltage drop is used to determine whether the whole machine is working within the required range. When the whole machine is abnormal, LED2 lights up red, for example, the normal product working current is ≤150mA, when ≥160mA, LED lights up red U2 and uploads error information.

[0041] Error signal data is provided. When the light-emitting diode LED2 is always red, the product is working abnormally. U2 uploads it to U10 through the SPI interface. U10 will convert it into a network signal and transmit it to the network management system. Error signals include: low battery, excessive current, incorrect authority data, wrong card (unauthorized card, user opens the wrong room number), exceeded authorization time (the network management sends a voice to the user through the product to announce the remaining usage time), when someone damages the product, U2's 38-pin is connected to an anti-pry switch, and the product uploads the data abnormal signal as soon as possible and the product broadcasts a "warning sound".

[0042] The power supply system is abnormal. When the DC emergency power supply or POE power supply fails, the network management will be unable to connect to the product, and the administrator will handle it immediately. When the battery power is too low, you can use the hardware power supply interface (component position YJCH1, CH7, D1) to insert a power bank or other emergency power supply device to power the product.

[0043] Although the present invention is described herein with reference to the illustrative embodiments of the present invention, the above embodiments are only preferred embodiments of the present invention, and the embodiments of the present invention are not limited to the above embodiments. It should be understood that those skilled in the art can design many other modifications and embodiments, which will fall within the scope and spirit of the principles disclosed in this application.

Claims

1. A network-managed contactless electronic lock with power switching, comprising an electronic lock module and a power module, characterized in that: The power supply module includes a battery, a DC emergency power supply and a POE power supply, the battery is connected to a power switching circuit, the DC emergency power supply and the POE power supply are respectively connected to a step-down circuit and then connected to the power switching circuit, and the output end of the power switching circuit is connected to the electronic lock module to provide a working voltage for the electronic lock module; The power switching circuit includes a MOS tube QJ1, the drain of the MOS tube QJ1 is connected to a battery, the source of the MOS tube QJ1 is connected to a light-emitting diode AJD1 as an output end, the gate of the MOS tube QJ1 is connected to a resistor R1 and a resistor R6 and then connected to the DC emergency power supply and the POE power supply respectively, the node between the resistor R1 and the resistor R6 is grounded, and a resistor R14 is connected between the gate and the drain of the MOS tube QJ1; The electronic lock module includes a single-chip microcomputer and a two-way data exchange chip connected to the single-chip microcomputer, a power supply management circuit, a contactless card reader module, a motor drive module, an LED indicator module and a voice broadcast module. The power supply management circuit is used to supply power to or cut off power to the two-way data exchange chip according to the output signal of the single-chip microcomputer; The contactless card reading module includes a card reading chip connected to the single chip microcomputer, and the card reading chip is also connected to a voltage sampling circuit for collecting changes in voltage signals when a card approaches and transmitting the changes to the single chip microcomputer; It also includes an ADC detection circuit, the input end of the ADC detection circuit is connected to the output end of the power switching circuit, and the input end of the ADC detection circuit is connected to the input pin of the single-chip computer for detecting the power quantity.

2. The network-managed contactless electronic lock with power switching according to claim 1, characterized in that: The power supply management circuit includes a resistor R64 and a resistor R63 connected to the output pin of the single-chip computer, the resistor R63 is connected to the gate of the MOS tube Q5, the resistor R64 is connected to the output end of the power switching circuit and the drain of the MOS tube Q5, and the source of the MOS tube Q5 is connected to the voltage input pin of the bidirectional data exchange chip.

3. The network-managed contactless electronic lock with power switching according to claim 2, characterized in that: The bidirectional data exchange chip is also connected to a bidirectional data chip surge circuit and an ESD protection circuit.

Citation Information

Patent Citations

  • Power supply switching device and network appliance

    CN101436786A

  • Dual-power shopping cart electronic lock circuit

    CN210067704U

  • Network management non-contact electronic lock with power supply switching function

    CN212535363U