Low-power-consumption identification system based on encryption key
By introducing encryption chips and insertion detection circuits into traditional mechanical keys and door locks, and using sampling resistors to detect voltage changes, the identification and recording of personnel information is realized, solving the problem that traditional mechanical keys cannot be identified and recorded, and improving access security management. efficiency and low-power operation of the system.
Patent Information
- Application Number
- CN202323190317.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2033-11-24
AI Technical Summary
Traditional mechanical keys cannot identify and record the information of people entering and exiting, and cannot achieve effective access security management.
Design a low-power identification system based on encryption keys. It uses the encryption chip and the insertion detection circuit of the door lock to detect voltage changes through the sampling resistor to realize the identification and reading of personnel information. Combined with the low-power MCU and communication interface circuit, Enables a fast and low-power identification process.
Based on the traditional mechanical key switch lock, it realizes the identification and recording of personnel information, improves the efficiency of access security management, is suitable for battery-powered lock control applications, and has the characteristics of low power consumption, simplicity and reliability.
Smart Images

Figure CN221631998U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of access safety management, in particular to a low-power identification system based on encryption keys. Background Art
[0002] In recent years, the access security of key places has attracted more and more attention. At present, many key places still use traditional mechanical keys to unlock. Although traditional mechanical keys can achieve fast opening and closing of locks, they cannot identify and record the information of people entering and leaving, and cannot achieve access security management. Utility Model Content
[0003] In order to solve the deficiencies of the prior art, the purpose of the utility model is to provide a low-power identification system based on an encryption key, which can identify personnel information every time the lock is opened or closed, thereby achieving more effective access security management.
[0004] In order to achieve the above-mentioned purpose, the utility model provides a low-power identification system based on an encryption key, including an encryption key and a door lock; an encryption chip is arranged on the encryption key, and the encryption chip is connected to the door lock through contact electrodes arranged on the surface of the encryption key; at least an MCU, a key power supply control circuit, an insertion detection circuit and a key interface are arranged in the door lock, the key interface matches the contact electrodes, the MCU is connected to the key power supply control circuit and the insertion detection circuit, the key power supply control circuit is connected to the key interface, a sampling resistor is connected to the power supply interface of the key interface, and the insertion detection circuit is connected to the sampling resistor for measuring the voltage value of the sampling resistor.
[0005] Compared with the prior art, the beneficial effects of the utility model are:
[0006] The utility model provides a low-power identification system based on an encryption key. On the basis of a traditional mechanical key switch lock, an encryption chip is built into the encryption key, which can be bound to a person. Each time the lock is switched, the door lock can identify the person's information, thereby achieving more effective access security management. By inserting a detection circuit to measure the change in the voltage value of the sampling resistor, when the encryption key is inserted into the door lock and the key interface is connected to the contact electrode, the voltage value at both ends of the sampling resistor will change, and the information in the encryption chip can be read at this time. By detecting the voltage value of the sampling resistor, the system can be operated at low power consumption, which is simple and reliable, and is particularly suitable for battery-powered lock control applications.
[0007] Advantages of additional aspects of the present invention will be partially given in the following description, and partially become apparent from the following description, or be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation on the present invention.
[0009] Figure 1 It is a schematic diagram of the circuit of the door lock of the utility model;
[0010] Figure 2 This is a schematic diagram of the structure of the door lock of the utility model;
[0011] Figure 3 This is a schematic diagram of the encryption key structure of the utility model;
[0012] Figure 4 This is a schematic diagram of the circuit structure of the utility model. DETAILED DESCRIPTION
[0013] The utility model is further described below in conjunction with the accompanying drawings and embodiments.
[0014] like Figure 1-Figure 3 As shown, a low-power identification system based on an encryption key includes an encryption key and a door lock;
[0015] The encryption key is provided with an encryption chip, and the encryption chip is connected to the door lock via contact electrodes provided on the surface of the encryption key;
[0016] The door lock is provided with at least an MCU, a key power supply control circuit, an insertion detection circuit and a key interface. The key interface matches the contact electrode. The MCU is connected to the key power supply control circuit and the insertion detection circuit. The key power supply control circuit is connected to the key interface. A sampling resistor is connected to the power supply interface of the key interface. The insertion detection circuit is connected to the sampling resistor for measuring the voltage value of the sampling resistor.
[0017] This embodiment can be directly improved on the basis of existing mechanical keys and door locks without the need for additional configuration of a password lock. Figure 2-Figure 3 The structures of the door lock and encryption key given are only for illustration. In actual use, the structures of the door lock and encryption key can be flexibly selected according to actual needs.
[0018] The key often has a short time to unlock the door, so it needs to be detected and read quickly. In order to ensure the portability and versatility of the key, the key does not have a built-in battery. However, since it is an improvement on the existing door lock, it is difficult to add a large-capacity power supply battery. Therefore, it is also necessary to realize low-power operation of some circuit structures of the door lock.
[0019] First, this embodiment provides a low-power passive encryption key, the key has a built-in encryption chip, and the chip stores relevant information of the unlocking personnel. In order to ensure the portability and versatility of the key, the key does not have a built-in battery.
[0020] The key leads to 2 to 4 spring contact electrodes, which are used to achieve electrical connection with the built-in controller of the lock when inserted to complete power supply and communication.
[0021] When the spring contact electrode is a 2-contact electrode: a 1-WIRE bus is used, which is composed of a ground wire and a power wire. The power wire not only supplies power to the key but also realizes two-way communication. This method is relatively simple.
[0022] When the spring contact electrode is a 4-contact electrode: an I2C bus or an SPI bus is used, which is composed of 1 power line, 1 ground line and 2 communication lines.
[0023] Furthermore, it is necessary to provide a door lock having a circuit structure matching the encryption key, including a low-power MCU, a key power supply control circuit, a key communication interface circuit, and an insertion detection circuit. The key communication interface circuit here refers to a circuit structure for realizing communication between the door lock and the encryption key. The circuit has a key interface connected to the encryption key, and cooperates with the contact electrodes on the encryption key to realize communication.
[0024] like Figure 4 As shown, the MCU uses a low-power MCU and has several GPIO interfaces, wherein three GPIO interfaces are respectively connected to the key power supply control circuit, the key communication interface circuit, and the insertion detection circuit.
[0025] The key power supply control circuit is controlled by the MCU and realizes power supply control of the inserted key through a field effect transistor Q1. The gate of the field effect transistor Q1 is connected to the GPIO interface of the MCU, and is connected in series with the sampling resistor R1 and connected to the key interface.
[0026] The key communication interface circuit includes 3 possible forms: 1-WIRE bus interface, I2C interface, and SPI interface to achieve communication with the key. Figure 4 Taking the 1-WIRE bus interface as an example, when the 1-WIRE bus is used, the key communication interface and the power supply interface are the same interface, that is, power supply and communication are also realized at the same time.
[0027] The insertion detection circuit is used to detect whether the key is inserted. Low-power devices are selected. A voltage comparison circuit is formed by an operational amplifier, which is connected to the key power supply output port to detect power fluctuations when the key is inserted. The negative input terminal of the operational amplifier is divided by resistors R7 and R9, and the input level is fixed. The positive input terminal is divided by resistors R8 and R10 and connected to the sampling resistor R1. By reasonably setting the resistance values of R1, R7, R8, R9, and R10, the voltages at the two input terminals of the operational amplifier are equal when the key is not inserted. When the key is inserted, the voltage across the sampling resistor R1 fluctuates. At this time, the output level of the operational amplifier changes and is fed back to the MCU through the GPIO interface. The MCU detects the change in the interface level and determines that the key has been inserted.
[0028] The working process of a low-power identification system based on an encryption key provided in this embodiment is as follows:
[0029] In order to maintain low power consumption, the MCU is in sleep mode, the key power supply control circuit is kept in normal output, and the insertion detection circuit is powered at the same time. The normal power consumption is only a few uA.
[0030] The insertion detection circuit monitors the level change at the power supply interface of the key interface in real time. When the key is normally inserted, the level does not change;
[0031] When the key is inserted, during the insertion and rotation process, the key is connected to the contact electrode through the contact;
[0032] The contact electrode supplies power to the key, generating current, and a weak voltage fluctuation appears at both ends of the sampling resistor connected in series at the power supply interface;
[0033] The insertion detection circuit quickly captures this fluctuation, and the voltage comparison circuit outputs a pulse signal, thereby waking up the MCU, which immediately communicates with the key's built-in encryption chip to read the unique ID;
[0034] After reading, the power supply to the key is immediately disconnected, achieving fast and low-power key insertion detection.
[0035] This process takes only a few milliseconds and can be completed during the key insertion and rotation process. It is stable and reliable. And the power consumption is extremely low, which is particularly suitable for battery-powered occasions.
[0036] The above description is only the preferred embodiment of the utility model, and is not intended to limit the utility model. For those skilled in the art, the utility model can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the utility model shall be included in the protection scope of the utility model.
Claims
1. A low-power identification system based on encryption keys, characterized in that: include: An encryption key and a door lock; an encryption chip is arranged on the encryption key, and the encryption chip is connected to the door lock through contact electrodes arranged on the surface of the encryption key; at least an MCU, a key power supply control circuit, an insertion detection circuit and a key interface are arranged in the door lock, the key interface matches the contact electrodes, the MCU is connected to the key power supply control circuit and the insertion detection circuit, the key power supply control circuit is connected to the key interface, a sampling resistor is connected to the power supply interface of the key interface, and the insertion detection circuit is connected to the sampling resistor for measuring the voltage value of the sampling resistor.
2. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The encryption key is a passive encryption key.
3. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The encryption key is connected to the door lock via a 1-WIRE bus.
4. A low-power identification system based on encryption key as claimed in claim 3, characterized in that: The number of the contact electrodes is 2, and the encryption key is connected to the door lock via a ground wire and a power wire.
5. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The number of the contact electrodes is 4, and the encryption key is connected to the door lock via an I2C bus or an SPI bus.
6. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The door lock also includes a key communication interface circuit, and the key communication interface circuit is connected to the MCU.
7. A low-power identification system based on encryption key as claimed in claim 6, characterized in that: The key communication interface circuit includes a key interface.
8. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The MCU is connected to the key power supply control circuit and the insertion detection circuit through the GPIO interface.
9. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The key power supply control circuit comprises a field effect tube, and the gate of the field effect tube is connected to the MCU.
10. A low-power identification system based on encryption key as claimed in claim 1, characterized in that: The insertion detection circuit comprises an operational amplifier, and the sampling resistor is connected in series to an input terminal of the operational amplifier.
