An electromagnetic lock device
By introducing a dual verification mechanism of RFID tags and distance sensors into the electromagnetic lock, the lock is only engaged when both the distance between the door and the door frame and the RFID signal meet the conditions. This solves the problem of 'spoofing' in traditional electric bolt locks and improves security.
Patent Information
- Application Number
- CN202521548174.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-23
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2035-07-23
AI Technical Summary
Traditional electric bolt locks rely on a single signal to determine the door status, which often leads to "lock fraud" and low security.
A dual verification mechanism using RFID tags and distance sensors is adopted to ensure that the locking command is issued only when the distance between the door and the door frame is within the threshold range and the RFID signal is valid, thus constructing a dual verification mechanism.
This completely solves the problem of 'lock fraud,' improves the accuracy of identification, and reduces the risk of goods being stolen.
Smart Images

Figure CN224679306U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of electromagnetic lock technology, specifically to an electromagnetic lock device. Background Technology
[0002] Electromagnetic locks are locks that use electromagnetic force to move the bolt. Since they do not require a motor or other driving source and have a relatively small overall structure, they can meet the requirements of lockers, cabinets, and other similar applications.
[0003] However, traditional electric bolt locks rely on a single signal (such as GPIO level) to determine the door status, which often leads to "false locking" (locking before the door is fully closed), resulting in the cabinet door being ajar and posing a risk of theft and damage to goods. Utility Model Content
[0004] (I) The problem that this utility model aims to solve is that traditional electric bolt locks rely on a single signal to determine the door status, which often leads to "lock fraud" and low security.
[0005] (II) Technical Solution
[0006] An electromagnetic lock device includes a lock hook mounting base, a lock hook, an RFID tag, an electromagnetic lock housing, a lock tongue, and a control main board, an electromagnetic drive mechanism, an RFID reader, and a distance sensor installed in the internal space of the electromagnetic lock housing; the lock hook mounting base is used on a door frame, the lock hook is mounted on the lock hook mounting base, and the electromagnetic lock housing is mounted on the door body;
[0007] The RFID tag is installed on the lock hook mounting base or on the door frame, and the RFID reader is used to extract the tag information of the RFID tag within a set range;
[0008] The distance sensor is used to detect the distance between the electromagnetic lock housing and the lock hook mounting base;
[0009] The locking tongue is mounted on the electromagnetic drive mechanism, which is used to drive the locking tongue to move according to the instructions of the control motherboard to achieve unlocking and locking.
[0010] When the distance between the electromagnetic lock housing and the lock hook mounting base measured by the distance sensor falls within a threshold, and the RFID reader reads a valid tag signal, the control motherboard controls the electromagnetic drive mechanism to lock the device.
[0011] According to one embodiment of the present invention, when the distance between the RFID reader and the RFID tag is no more than 5mm, the RFID reader can read the valid tag signal of the RFID tag.
[0012] According to one embodiment of the present invention, the threshold is no greater than 5 mm.
[0013] According to one embodiment of the present invention, the control motherboard is vertically mounted inside the electromagnetic lock housing, and the distance sensor is integrated on the side of the control motherboard facing the lock hook mounting base.
[0014] According to one embodiment of the present invention, the electromagnetic drive mechanism includes an electromagnet, the electromagnet includes an armature, the armature is perpendicular to the locking hook, the locking tongue is disposed at one end of the armature near the locking hook, and the control main board is located between the electromagnet and the distance sensor.
[0015] According to one embodiment of the present invention, at least one photoelectric sensor is included, the photoelectric sensor being mounted on the side of the control main board facing the electromagnet; a detection plate is provided at the end of the armature away from the latch, the photoelectric sensor is located on the moving path of the detection plate, and the photoelectric sensor is signal-connected to the control main board.
[0016] According to one embodiment of the present invention, the electromagnetic lock housing has a through hole on the side facing the lock hook mounting base, and the end of the distance sensor away from the control motherboard extends into the through hole.
[0017] According to one embodiment of the present invention, a transparent sealing plate is provided inside the through hole.
[0018] According to one embodiment of the present invention, the electromagnetic lock housing has an opening for the lock hook to enter and exit.
[0019] According to one embodiment of the present invention, a mounting base is included, wherein a semi-enclosed mounting groove is provided on the mounting base, and the electromagnetic lock housing is installed in the mounting groove of the mounting base. The mounting base is used for installation on a cabinet door.
[0020] The beneficial effects of this utility model are:
[0021] The microcontroller will only issue a locking command when both conditions are met: the RFID signal is valid and the distance is within the specified range. This dual verification mechanism greatly improves the accuracy of determining whether the door is truly closed, fundamentally eliminating "lock fraud" and reducing the risk of theft. In other words, this electromagnetic lock uses a dual-signal linkage identification mechanism to construct dual verification, completely solving the "lock fraud" problem and significantly improving the identification accuracy. Attached Figure Description
[0022] To more clearly illustrate the specific embodiments of this utility model or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the electromagnetic lock device provided in an embodiment of the present utility model;
[0024] Figure 2 An exploded view of the electromagnetic lock device provided in an embodiment of this utility model;
[0025] Figure 3 A top view of the electromagnetic lock device provided in an embodiment of this utility model;
[0026] Figure 4 Provided for the embodiments of this utility model Figure 3 Sectional view of AA;
[0027] Figure 5 Structural diagram of the electromagnetic lock housing and lock hook provided in the embodiments of this utility model;
[0028] Figure 6 Structural diagrams of the electromagnet, circuit board, and guide block provided in embodiments of this utility model;
[0029] Figure 7 A first-view view of the control motherboard provided in an embodiment of this utility model;
[0030] Figure 8 This is a second-view view of the control motherboard provided in an embodiment of the present invention.
[0031] Icons: 1. Mounting base; 2. Electromagnetic lock housing; 201. Opening; 202. Transparent sealing plate; 3. Lock hook mounting base; 4. RFID tag; 5. Lock hook; 6. Pin; 7. RFID reader; 8. Control main board; 9. Distance sensor; 10. Photoelectric sensor; 11. Electromagnet; 111. Armature; 112. Lock tongue; 113. Detection plate; 114. Spring; 12. Guide block. Detailed Implementation
[0032] The technical solution of this utility model will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.
[0033] like Figures 1-8 As shown, one embodiment of this utility model provides an electromagnetic lock device, including a lock hook mounting base 3, a lock hook 5, an RFID tag 4, an electromagnetic lock housing 2, a lock tongue 112, and a control main board 8, an electromagnetic drive mechanism, an RFID reader 7, and a distance sensor 9 installed in the internal space of the electromagnetic lock housing 2; the lock hook mounting base 3 is used on the door frame, the lock hook 5 is installed on the lock hook mounting base 3, and the electromagnetic lock housing 2 is installed on the door body;
[0034] The RFID tag 4 is installed on the lock hook mounting base 3 or on the door frame, and the RFID reader 7 is used to extract the tag information of the RFID tag 4 within a set range;
[0035] Distance sensor 9 is used to detect the distance between the electromagnetic lock housing 2 and the lock hook mounting base 3;
[0036] The locking tongue 112 is mounted on the electromagnetic drive mechanism, which is used to drive the locking tongue 112 to move according to the instructions of the control motherboard 8 to achieve unlocking and locking.
[0037] When the distance between the electromagnetic lock housing 2 and the lock hook mounting base 3 measured by the distance sensor 9 falls within the threshold, and the RFID reader 7 reads a valid tag signal, the control motherboard 8 controls the electromagnetic drive mechanism to lock the device.
[0038] It should be noted that the RFID reader 7 and RFID tag 4 operate as follows: The RFID reader 7 transmits electromagnetic waves through its antenna to power the RFID tag 4. The RFID tag 4 uses the received energy to transmit its unique identification information (UID) back to the antenna of the RFID reader 7 by modulating the reflected wave. The RFID reader 7 receives, demodulates, and decodes the reflected wave, extracts the tag UID, and determines its validity (whether it is authorized, the signal strength is sufficient, etc.). Then, it reports the valid tag information to the microcontroller (MCU). The microcontroller includes the aforementioned control motherboard 8.
[0039] In this embodiment, the electromagnetic lock housing 2 is installed on the door body, while the lock hook mounting base 3 is installed on the door frame. The lock hook 5 is installed on the lock hook mounting base 3, and the RFID tag 4 is installed on the lock hook mounting base 3 or on the door frame. The control motherboard 8, the electromagnetic drive mechanism, the RFID reader 7, and the distance sensor 9 are all installed inside the electromagnetic lock housing 2.
[0040] When the door is closed, the microcontroller continuously sends RFID query signals. When the door is close to the door frame in the closed position, the RFID reader 7 can just read the valid tag signal and report the valid tag information to the microcontroller (MCU). At the same time, the distance between the electromagnetic lock housing 2 and the lock hook mounting base 3 measured by the distance sensor 9 falls within the threshold. That is, the following conditions must be met simultaneously: the RFID reader 7 can read the valid tag signal and the distance between the electromagnetic lock housing 2 and the lock hook mounting base 3 measured by the distance sensor 9 falls within the threshold. If the microcontroller determines that the conditions for closing and locking are met, it controls the electromagnetic drive mechanism to be de-energized, causing the bolt 112 to pop out and engage with the lock hook 5, thus completing the locking.
[0041] Traditional single-signal detection (such as relying solely on the latch position switch) is easily triggered by foreign objects (such as cards or screwdrivers), causing the door to lock prematurely (ajar). Compared with traditional single-signal detection electromagnetic locks, this electromagnetic lock has at least the following advantages:
[0042] RFID verification: Requires the detection of a specific RFID tag 4 signal that is authorized and has sufficient signal strength, so that attempts to simulate the position of the lock hook 5 with other metal objects will not trigger the lock to engage (because there is no valid RFID signal).
[0043] Distance verification: The physical distance between the electromagnetic lock housing 2 and the lock hook mounting base must be reduced to a preset, precise threshold range. This ensures that the door is indeed tightly fitted to the door frame and reaches the expected closing position, preventing the door from locking when it is only "half-open" nearby.
[0044] Moreover, the microcontroller will only issue a locking command if both conditions are met: the RFID signal is valid and the distance is within the specified range. This dual verification mechanism greatly improves the accuracy of determining whether the door is truly closed, fundamentally eliminating "lock fraud" and reducing the risk of theft.
[0045] In other words, this electromagnetic lock adopts a dual-signal linkage identification mechanism to build dual verification, completely solving the "lock fraud" problem and greatly improving the identification accuracy.
[0046] In this embodiment, it is set that when the distance between the RFID reader 7 and the RFID tag 4 is no more than 5mm, the RFID reader 7 can read the valid tag signal of the RFID tag 4. When the distance between the RFID reader 7 and the RFID tag 4 is greater than 5mm, the RFID reader 7 cannot read the valid tag signal of the RFID tag 4.
[0047] At the same time, the distance between the electromagnetic lock housing 2 and the lock hook mounting base 3 measured by the distance sensor 9 must not exceed 5mm before the microcontroller will determine that the distance between the electromagnetic lock housing 2 and the lock hook mounting base 3 meets the standard, which means that the distance between the door body and the door frame meets the standard.
[0048] Figure 4 This is a schematic diagram of the locked state. Figure 4 As can be seen, the control motherboard 8 is vertically installed inside the electromagnetic lock housing 2 and close to the left side of the electromagnetic lock housing 2. An opening 201 for the lock hook 5 to be inserted or withdrawn is provided on one side of the bottom of the electromagnetic lock housing 2. The distance sensor 9 is integrated on the side of the control motherboard 8 facing the lock hook mounting base 3. A through hole is provided on the side of the electromagnetic lock housing 2 facing the lock hook mounting base 3. The end of the distance sensor 9 away from the control motherboard 8 extends into the through hole. The horizontal projection of the distance sensor 9 will fall on the lock hook mounting base 3.
[0049] The locking hook mounting base 3 has a groove in the middle, the RFID tag 4 is installed in the groove, and the RFID reader 7 is installed inside the electromagnetic lock housing 2 and close to the left side of the electromagnetic lock housing 2. When locked, the RFID reader 7 and the RFID tag 4 are at the same horizontal height.
[0050] In this embodiment, the distance sensor 9 is an IR distance sensor, which is an infrared distance sensor. Figure 4 As shown, the infrared light emitted by the distance sensor 9 passes through the through hole of the electromagnetic lock housing 2 and hits the right side of the lock hook mounting base 3. Some of the light is reflected back to the distance sensor 9. The distance between the distance sensor 9 and the right side of the lock hook mounting base 3 is measured by measuring the time difference between the infrared light emission and reflection. The distance sensor 9 converts the measured distance into an analog voltage or digital signal output for the microcontroller to read.
[0051] It should be clear that, since the distance sensor 9 extends into the through hole of the electromagnetic lock housing 2, when the electromagnetic lock is locked, it can be approximately assumed that the distance between the distance sensor 9 and the right side of the lock hook mounting base 3 is equal to the distance between the left side of the electromagnetic lock housing 2 and the right side of the lock hook mounting base 3.
[0052] like Figure 4 As shown, when the distance between the RFID reader 7 and the RFID tag 4 is no greater than 5mm, it indicates that the gap between the right side of the middle part of the lock hook mounting base 3 and the left side of the electromagnetic lock housing 2 is less than 5mm, specifically about 2mm-3mm. At this time, the gap between the upper right side of the lock hook mounting base 3 and the left side of the electromagnetic lock housing 2 is less than 5mm.
[0053] The electromagnetic drive mechanism in this embodiment includes an electromagnet 11, which is an existing device. Specifically, it includes an iron core, a coil, an armature 111, and a spring 114. The iron core is vertically installed inside the electromagnetic lock housing 2, the coil is wound around the iron core, the armature 111 is slidably installed inside the iron core, the armature 111 is higher than and perpendicular to the lock hook 5, the latch 112 is located at the end of the armature 111 near the lock hook 5, and the control main board 8 is located to the left of the electromagnet 11.
[0054] A fixing ring is fixed on the outer circumferential surface of the armature 111 near the locking tongue 112. The spring 114 is sleeved on the outside of the armature 111 and located between the fixing ring and the bottom surface of the iron core, which serves to reset the armature 111.
[0055] Specifically, when the door is opened, the microcontroller drives the coil of electromagnet 11 to be energized, and the armature 111 moves vertically upward under the action of magnetic force, thereby causing the latch 112 to disengage from the lock hook 5. At this time, the spring 114 is compressed. When the door is closed, the microcontroller drives the coil of electromagnet 11 to be de-energized, and under the action of the spring 114, the armature 111 moves downward and engages with the lock hook 5, completing the locking process.
[0056] In this embodiment, to facilitate detection of whether the locking tongue 112 is engaged with the locking hook 5, such as Figure 4 and Figure 6 As shown, a photoelectric sensor 10 is integrated on the side of the control main board 8 near the electromagnet 11, and a detection plate 113 is provided at the end of the armature 111 away from the latch 112. The photoelectric sensor 10 is a through-beam photoelectric sensor, and the photoelectric sensor 10 is located on the moving path of the detection plate 113. The photoelectric sensor 10 is connected to the control main board 8 via signal.
[0057] It should be noted that the through-beam photoelectric sensor includes a transmitter and a receiver. When the detection piece 113 enters the detection area between the transmitter and the receiver, the detection piece 113 blocks the light beam, and the receiver cannot receive a sufficient light signal (or cannot receive a light signal at all), causing a significant change in the electrical signal (e.g., from a high level to a low level, or vice versa). The photoelectric sensor 10 detects the signal change and immediately outputs a signal to the control main board 8. The main control board then determines that the armature 111 has entered the predetermined position, that is, at this time the armature 111 is fully engaged with the locking hook 5.
[0058] Thus, when the lock is engaged, the microcontroller drives the coil of the electromagnet 11 to be de-energized. Under the action of the spring 114, the armature 111 moves the detection piece 113 downward. When the detection piece 113 enters the detection area between the transmitter and the receiver, the photoelectric sensor 10 detects the signal change and immediately outputs a signal to the control board 8. The main control board then determines that the armature 111 has entered the predetermined position, indicating that the armature 111 is fully engaged in the locking hook 5.
[0059] When the lock is unlocked, the microcontroller drives the coil of the electromagnet 11 to be energized. The armature 111 moves vertically upward under the action of magnetic force, thereby causing the bolt 112 to disengage from the lock hook 5. At this time, the detection plate 113 is higher than the photoelectric sensor 10. The photoelectric sensor 10 detects the signal change and immediately outputs a signal to the control board 8. The control board 8 then determines that the armature 111 is currently disengaged from the lock hook 5.
[0060] In some embodiments, such as Figure 4 and Figure 6 As shown, a horizontally arranged guide block 12 is fixedly installed inside the electromagnetic lock housing 2. The guide block 12 has a guide groove that matches the lock tongue 112. The guide groove plays a guiding role, so that the lock tongue 112 moves vertically along the depth direction of the guide groove.
[0061] In some embodiments, to prevent external dust from entering the electromagnetic lock housing 2 through the through hole, a transparent sealing plate 202 is provided at the through hole of the electromagnetic lock housing 2. This does not affect the distance sensor 9's emission and reception of infrared light, and also serves a sealing function.
[0062] In this embodiment, as Figure 1 and Figure 2 As shown, the electromagnetic lock also includes a mounting base 1, which has a semi-enclosed mounting groove. The upper and lower ends of the electromagnetic lock housing 2 are provided with pin holes. The electromagnetic lock housing 2 is placed in the mounting groove of the mounting base 1 and fixed to the mounting groove of the mounting base 1 by the pin 6. The mounting base 1 is installed on the cabinet door by bolts or screws and other fasteners.
[0063] It should be noted that this electromagnetic lock can be applied to smart vending machines, smart door locks, and other fields.
[0064] As a specific embodiment, when the electromagnetic lock is installed on the smart vending machine, the mounting base 1 of the electromagnetic lock is installed on the door of the vending machine, while the lock hook mounting seat 3 is installed on the door frame of the vending machine.
[0065] Typically, smart vending machines are equipped with an industrial control computer, which sends lock / unlock commands to the microcontroller of the electromagnetic lock via RS-485. It should be noted that RS485 communication offers a longer communication distance and stronger resistance to electromagnetic interference compared to traditional GPIO signals.
[0066] In the description of this utility model, it should be noted that the terms "upper" and "lower," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0067] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "connection" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances. Furthermore, in the description of this utility model, unless otherwise stated, "a plurality of" means two or more.
[0068] The above description is only a preferred embodiment of the present utility model and is not intended to limit the present utility model. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present utility model should be included within the protection scope of the present utility model.
Claims
1. An electromagnetic lock device, characterized in that, It includes a lock hook mounting base (3), a lock hook (5), an RFID tag (4), an electromagnetic lock housing (2), a lock tongue (112), and a control board (8), an electromagnetic drive mechanism, an RFID reader (7), and a distance sensor (9) installed inside the electromagnetic lock housing (2); the lock hook mounting base (3) is used on the door frame, the lock hook (5) is installed on the lock hook mounting base (3), and the electromagnetic lock housing (2) is installed on the door body; The RFID tag (4) is installed on the lock hook mounting base (3) or on the door frame, and the RFID reader (7) is used to extract the tag information of the RFID tag (4) within a set range; The distance sensor (9) is used to detect the distance between the electromagnetic lock housing (2) and the lock hook mounting base (3); The latch (112) is mounted on the electromagnetic drive mechanism, which is used to drive the latch (112) to move according to the instructions of the control motherboard (8) to achieve unlocking and locking. When the distance between the electromagnetic lock housing (2) and the lock hook mounting base (3) measured by the distance sensor (9) falls within the threshold, and the RFID reader (7) reads a valid tag signal, the control motherboard (8) controls the electromagnetic drive mechanism to lock.
2. The electromagnetic lock device according to claim 1, characterized in that, When the distance between the RFID reader (7) and the RFID tag (4) is no more than 5mm, the RFID reader (7) can read the valid tag signal of the RFID tag (4).
3. The electromagnetic lock device according to claim 1, characterized in that, The threshold is no greater than 5 mm.
4. An electromagnetic lock device according to claim 1, characterized in that, The control motherboard (8) is vertically installed inside the electromagnetic lock housing (2), and the distance sensor (9) is integrated on the side of the control motherboard (8) facing the lock hook mounting base (3).
5. An electromagnetic lock device according to claim 4, characterized in that, The electromagnetic drive mechanism includes an electromagnet (11), the electromagnet (11) includes an armature (111), the armature (111) is perpendicular to the lock hook (5), the lock tongue (112) is located at one end of the armature (111) near the lock hook (5), and the control board (8) is located between the electromagnet (11) and the distance sensor (9).
6. An electromagnetic lock device according to claim 5, characterized in that, It includes at least one photoelectric sensor (10), which is mounted on the side of the control main board (8) facing the electromagnet (11); a detection piece (113) is provided at the end of the armature (111) away from the latch (112), and the photoelectric sensor (10) is located on the moving path of the detection piece (113). The photoelectric sensor (10) is signal connected to the control main board (8).
7. An electromagnetic lock device according to claim 4, characterized in that, The electromagnetic lock housing (2) has a through hole on the side facing the lock hook mounting base (3), and the end of the distance sensor (9) away from the control motherboard (8) extends into the through hole.
8. An electromagnetic lock device according to claim 7, characterized in that, A transparent sealing plate (202) is provided inside the through hole.
9. An electromagnetic lock device according to claim 1, characterized in that, The electromagnetic lock housing (2) has an opening (201) for the lock hook (5) to enter and exit.
10. An electromagnetic lock device according to claim 1, characterized in that, Includes a mounting base (1), on which a semi-enclosed mounting groove is provided, and the electromagnetic lock housing (2) is installed in the mounting groove of the mounting base (1). The mounting base (1) is used to install on the cabinet door.