Detection circuit and electronic lock
By designing signal and display modules in the detection circuit, it is possible to quickly determine whether there are faults in the control module and lock body of the electronic lock, solving the problem of not being able to distinguish the source of the fault in the existing technology and improving the efficiency of fault detection.
Patent Information
- Application Number
- CN202422828314.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2034-11-19
AI Technical Summary
Existing electronic locks cannot distinguish whether the fault originates from the control module or the lock body during fault detection, resulting in extended detection and repair times.
A detection circuit was designed, including a signal module and a display module. The circuit generates a second control signal to detect the open and closed state of the lock body, and uses an LED display module to visually determine whether the control module is issuing the first control signal normally, thus enabling rapid diagnosis of faults in the control module and the lock body.
It enables rapid identification of faults in the control module and lock body of electronic locks, reducing detection and repair time.
Smart Images

Figure CN223581404U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of electronic door lock technology, specifically relating to a detection circuit and an electronic lock. Background Technology
[0002] Currently, most electronic locks on the market can be unlocked conveniently and quickly using password input or biometric technology. In this process, the control module within the electronic lock compares the unlocking information, generates an unlocking signal, and further controls the lock body to complete the unlocking action.
[0003] When an electronic lock malfunctions and cannot be unlocked normally, it needs to be tested to find the cause of the problem. The fault often originates in one of two places: the control module fails to generate an unlock signal, or the lock body receives the unlock signal but cannot unlock it properly. The first step in testing is to determine whether the problem lies with the control module or the lock body.
[0004] However, existing electronic locks lack a suitable system or device to identify whether a fault originates from the control module, the lock body, or both. This necessitates testing both components during inspection and repair, significantly extending maintenance time.
[0005] The information disclosed in this background section is intended only to enhance the understanding of the overall background of this utility model and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Utility Model Content
[0006] The purpose of this invention is to provide a detection circuit and an electronic lock that can directly detect whether there is a fault in the control module and lock body of the electronic lock.
[0007] To achieve the above objectives, the technical solution provided by a specific embodiment of this utility model is as follows:
[0008] A detection circuit is provided for an electronic lock, the electronic lock including a control module and a lock body. The control module generates a first control signal, and the lock body is connected to the control module to open and close based on the first control signal. The detection circuit includes a signal module and a display module. The signal module generates a second control signal, and the display module is connected to the control module to receive the first control signal. The display module is also connected to the signal module to receive the second control signal. The display module displays a signal based on either the first or the second control signal, and the lock body is connected to the signal module to open and close based on the second control signal.
[0009] In one or more embodiments of the present invention, the signal module includes a first switch, a first terminal of the first switch being connected to a power supply voltage, and a second terminal of the first switch being used to generate a second control signal based on its own on / off state.
[0010] In one or more embodiments of the present invention, the signal module further includes a first resistor, a first end of which is connected to a power supply voltage, and a second end of which is connected to a first end of a first switch.
[0011] In one or more embodiments of the present invention, the signal module further includes a second switch, the first end of the second switch being connected to a power supply voltage, and the second end of the second switch being connected to the first end of the first switch to control the connection and disconnection between the first end of the first switch and the power supply voltage.
[0012] In one or more embodiments of the present invention, the signal module further includes a battery connected to a first terminal of the first switch to provide a power supply voltage.
[0013] In one or more embodiments of this utility model, the display module includes a light-emitting diode (LED), the anode of the LED is connected to a control module to receive a first control signal, the anode of the LED is connected to a signal module to receive a second control signal, and the cathode of the LED is connected to ground voltage.
[0014] In one or more embodiments of this utility model, the display module further includes a filtering circuit, which is connected to the control module to receive a first control signal, and the filtering circuit is connected to the signal module to receive a second control signal. The filtering circuit is also connected to the anode of the light-emitting diode to filter the first control signal and the second control signal.
[0015] In one or more embodiments of this utility model, the filter circuit includes a second resistor and a capacitor. The first end of the second resistor and the first end of the capacitor are connected to the control module to receive a first control signal. The first end of the second resistor and the first end of the capacitor are connected to the signal module to receive a second control signal. The second end of the second resistor is connected to the anode of the light-emitting diode, and the second end of the capacitor is connected to ground voltage.
[0016] In one or more embodiments of the present invention, the detection circuit further includes a first anti-backflow module, which is connected to the signal module and the display module; and / or the detection circuit further includes a second anti-backflow module, which is connected to the control module and the display module.
[0017] A specific embodiment of this utility model also provides an electronic lock, including the detection circuit described above.
[0018] Compared with the prior art, the detection circuit and electronic lock of this utility model can intuitively see through the display module whether the control module has issued the first control signal normally, and whether the second control signal generated by the signal module controls the lock body, thereby checking whether the lock body can unlock normally and thus quickly determining the cause of the fault. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a system structure diagram of the detection circuit in one embodiment of the present invention.
[0021] Figure 2 This is a circuit diagram of the detection circuit in one embodiment of the present invention. Detailed Implementation
[0022] To enable those skilled in the art to better understand the technical solutions of this utility model, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this utility model.
[0023] The terms "coupled," "connected," or "linked" in this specification include both direct and indirect connections. Indirect connections are those made through an intermediate medium, such as those made through an electrically conductive medium, which may have parasitic inductance or capacitance. Indirect connections may also include connections made through other active or passive devices to achieve the same or similar functional purpose, such as connections through switches, follower circuits, or other circuits or components. Furthermore, in this specification, terms such as "first" and "second" are primarily used to distinguish one technical feature from another, and do not necessarily require or imply any actual relationship, quantity, or order between these technical features.
[0024] In the detailed description of this specification, reference is made to the accompanying drawings, which form a part thereof, wherein like reference numerals always denote like parts, and wherein exemplary embodiments are shown by way of example that may be implemented. It should be understood that other embodiments may be utilized, and structural or logical changes may be made, without departing from the scope of this disclosure. Therefore, the following detailed description should not be considered limiting.
[0025] The various operations in the specification may be described sequentially as multiple discrete actions or operations in a manner most conducive to understanding the claimed subject matter. However, the order of description should not be construed as implying that these operations must be sequentially related. Specifically, these operations may not be performed in the order presented. The described operations may be performed in a different order than in the described embodiments. Various additional operations may be performed in additional embodiments and / or the described operations may be omitted.
[0026] For the purposes of this disclosure, the phrase “A and / or B” means (A), (B), or (A and B). For the purposes of this disclosure, the phrase “A, B and / or C” means (A), (B), (C), (A and B), (A and C), (B and C), or (A, B and C).
[0027] Various components and devices may be referred to or shown in the singular (e.g., “MOS transistor”, “transistor”, “switch”, etc.) in this document, but only for the convenience of discussion, and any element referred to in the singular may include multiple such elements as taught herein.
[0028] The description uses the phrases "in one embodiment," "in other embodiments," or "in some embodiments," each of which may refer to one or more of the same or different embodiments. Furthermore, the terms "comprising," "including," "having," etc., used with respect to embodiments of this disclosure are synonymous.
[0029] like Figure 1 As shown, in one embodiment of this utility model, the detection circuit is used for an electronic lock. The electronic lock includes a control module 11 and a lock body 12. The control module 11 generates a first control signal LOCK1. The lock body 12 is connected to the control module 11 to open and close based on the control signal LOCK1. The detection circuit includes a signal module 21 and a display module 22. The signal module 21 generates a second control signal LOCK2. The display module 22 is connected to the control module 11 to receive the first control signal LOCK1 and is also connected to the signal module 21 to receive the second control signal LOCK2. The display module 22 displays a signal based on either the first control signal LOCK1 or the second control signal LOCK2. The lock body 12 is connected to the signal module 21 to open and close based on the control signal LOCK2.
[0030] In one embodiment, when the lock body 12 receives a high-level first control signal LOCK1 or a high-level second control signal LOCK2, the lock body 12 unlocks. When the lock body 12 receives a low-level first control signal LOCK1 or a low-level second control signal LOCK2, the lock body 12 locks. In other embodiments, the lock body may employ other control methods.
[0031] like Figure 2 As shown, the signal module 21 includes a first switch SW1, a second switch SW2, a first resistor R1, and a battery.
[0032] The battery is connected to the first terminal of the second switch SW2 to provide power supply voltage, and the second terminal of the second switch SW2 is connected to the first terminal of the first resistor R1 to control the connection and disconnection between the first terminal of the first resistor R1 and the power supply voltage.
[0033] The second end of the first resistor R1 is connected to the first end of the first switch SW1. The first resistor R1 is used for current limiting, and the second end of the first switch SW1 is used to generate a second control signal LOCK2 based on its own on / off state.
[0034] In other embodiments, a battery may not be required, and the first terminal of the second switch SW2 may be directly connected to an external power supply voltage. Including a battery allows for convenient factory testing, meaning that the electronic lock can be tested for proper functioning without connecting to a high-voltage power source, thus simplifying the factory testing process.
[0035] like Figure 2 As shown, the display module 22 includes a light-emitting diode (LED) D1 and a filter circuit. The filter circuit is connected to the control module 11 to receive a first control signal LOCK1, and to the second terminal of the first switch SW1 to receive a second control signal LOCK2. The filter circuit is also connected to the anode of the LED D1 and is used to filter the first control signal LOCK1 and the second control signal LOCK2. The cathode of the LED D1 is connected to ground voltage GND.
[0036] The filter circuit includes a second resistor R2 and a capacitor C1. The first end of the second resistor R2 and the first end of the capacitor C1 are connected to the control module 11 to receive the first control signal LOCK1. The first end of the second resistor R2 and the first end of the capacitor C1 are connected to the second end of the first switch SW1 to receive the second control signal LOCK2. The second end of the second resistor R2 is connected to the anode of the light-emitting diode D1, and the second end of the capacitor C1 is connected to the ground voltage GND.
[0037] In one embodiment, the detection circuit further includes a first anti-backflow module and a second anti-backflow module. The first anti-backflow module is connected to the second terminal of the first switch SW1 and the first terminal of the second resistor R2, and is used to prevent current backflow. The first anti-backflow module may include a first diode, with the anode of the first diode connected to the second terminal of the first switch SW1 and the cathode of the first diode connected to the first terminal of the second resistor R2. The first anti-backflow module may also include other components.
[0038] The second backflow prevention module is connected to the control module 11 and the first terminal of the second resistor R2. The second backflow prevention module is used to prevent current backflow. The second backflow prevention module may include a second diode, with its anode connected to the control module 11 and its cathode connected to the first terminal of the second resistor R2. The second backflow prevention module may also include other components.
[0039] In actual operation, first close the second switch SW2 to prepare for power-on. Then close the first switch SW1. The second terminal of the first switch SW1 generates a high-level second control signal LOCK2. Then check whether the lock body 12 unlocks normally. If it unlocks normally, the lock body 12 is fine. If it does not unlock, it means that the lock body 12 is faulty. At this time, the high-level second control signal LOCK2 can also be seen through the light-emitting diode D1.
[0040] Next, close the second switch SW2, and then operate the control module 11 to generate the first control signal LOCK1. Observe whether the light-emitting diode D1 lights up. If it lights up, it means that the control module 11 is normal and can generate the first control signal LOCK1. If it does not light up, it means that the control module 11 is faulty and the cause of the fault needs to be further checked.
[0041] During the above process, it is possible to quickly and easily check whether the lock body 12 and control module 11 of the electronic lock are faulty, which facilitates the rapid troubleshooting of the cause of the fault at the site.
[0042] This embodiment also provides an electronic lock, including the detection circuit described above.
[0043] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of this invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within this invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0044] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A detection circuit for an electronic lock, characterized in that, The electronic lock comprises a control module and a lock body, the control module is used to generate a first control signal, the lock body is connected with the control module to open and close based on the control of the first control signal, the detection circuit comprises a signal module and a display module, the signal module is used to generate a second control signal, the display module is connected with the control module to receive the first control signal, the display module is connected with the signal module to receive the second control signal, the display module displays signals based on the first control signal or the second control signal, and the lock body is connected with the signal module to open and close based on the control of the second control signal.
2. The detection circuit of claim 1, wherein, The signal module comprises a first switch, a first end of the first switch is connected with a power supply voltage, and a second end of the first switch is used to generate the second control signal based on the on-off of the first switch.
3. The detection circuit of claim 2, wherein, The signal module further comprises a first resistor, a first end of the first resistor is connected with the power supply voltage, and a second end of the first resistor is connected with the first end of the first switch.
4. The detection circuit of claim 2, wherein, The signal module further comprises a second switch, a first end of the second switch is connected with the power supply voltage, and a second end of the second switch is connected with the first end of the first switch to control the on-off between the first end of the first switch and the power supply voltage.
5. The detection circuit of claim 2, wherein, The signal module further comprises a battery, the battery is connected with the first end of the first switch to provide the power supply voltage.
6. The detection circuit of claim 1, wherein, The display module comprises a light-emitting diode, an anode of the light-emitting diode is connected with the control module to receive the first control signal, the anode of the light-emitting diode is connected with the signal module to receive the second control signal, and a cathode of the light-emitting diode is connected with a ground voltage.
7. The detection circuit of claim 6, wherein, The display module further comprises a filter circuit, the filter circuit is connected with the control module to receive the first control signal, the filter circuit is connected with the signal module to receive the second control signal, and the filter circuit is connected with the anode of the light-emitting diode to filter the first control signal and the second control signal.
8. The detection circuit of claim 7, wherein, The filter circuit comprises a second resistor and a capacitor, a first end of the second resistor and a first end of the capacitor are connected with the control module to receive the first control signal, the first end of the second resistor and the first end of the capacitor are connected with the signal module to receive the second control signal, a second end of the second resistor is connected with the anode of the light-emitting diode, and a second end of the capacitor is connected with the ground voltage.
9. The detection circuit of claim 1, wherein, The detection circuit further comprises a first anti-backflow module, the first anti-backflow module is connected with the signal module and the display module; and / or The detection circuit further comprises a second anti-backflow module, the second anti-backflow module is connected with the control module and the display module.
10. An electronic lock characterized by The detection circuit comprises the detection circuit according to any one of claims 1 to 9.