Intelligent lock

Through the coordinated operation of the locking claw mechanism, drive mechanism, door status detection module and main control chip, the smart lock can automatically detect the door's open/closed status and prevent erroneous locking, solving the security risks of existing smart locks when the door is not fully closed, and improving security and reliability.

CN223707344UActive Publication Date: 2025-12-23WOCAO TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423191194.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-12-23
Estimated Expiration
2034-12-20

AI Technical Summary

Technical Problem

Existing smart locks sometimes misjudge the open/closed status of a door, leading to locking failures or doors not being properly closed, posing security risks and failing to meet users' demands for high security and intelligence.

Method used

The door employs a combination of a locking claw mechanism, a drive mechanism, a door status detection module, and a main control chip. It detects the door's open/closed status through a magnetic induction unit, an angular velocity measurement unit, and an acceleration measurement unit, and controls the drive mechanism via the main control chip to achieve automatic locking and unlocking, preventing erroneous locking operations.

Benefits of technology

This technology enables smart locks to prevent accidental locking even when the door is not fully closed, improving security and reliability and meeting users' needs for high security and intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223707344U_ABST
    Figure CN223707344U_ABST
Patent Text Reader

Abstract

The utility model discloses an intelligent lock which comprises a locking claw mechanism, a driving mechanism, a door state detection module and a main control chip, and the door state detection module is used for detecting the opening and closing state of a door; the main control chip is connected with the door state detection module through serial communication, and the main control chip is further connected with the driving mechanism and used for controlling the driving mechanism to drive the locking claw mechanism to rotate forwards or backwards according to the opening and closing state of the door. According to the technical scheme, through cooperative work of the locking claw mechanism, the driving mechanism, the door state detection module and the main control chip, automatic unlocking and locking functions can be achieved according to the opening and closing state of the door, wrong locking operation is prevented under the condition that the door is not completely closed, and therefore the safety and reliability of the intelligent lock are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to intelligent door lock technical field especially relates to a kind of intelligent lock. BACKGROUND

[0002] Traditional mechanical door lock mainly relies on key to manually open and close, although it has high security, but the operation process is more cumbersome, can not meet the needs of user's convenience and intelligentization.For solving this problem, intelligent door lock arises at the historic moment.However, in the prior art, most of the intelligent lock is only designed to detect the switch state of lock, to judge whether the lock is in the open or closed state.This design ignores the detection of the switch state of door, resulting in the case that the door is not completely closed, if intelligent lock directly carries out locking operation, it can appear locking failure or door is not closed tightly, so there is security risk.Because of the lack of detection module of the switch state of door, the existing intelligent lock still has room for improvement in security and intelligentization, can not meet the needs of user's high security and intelligent operation. SUMMARY

[0003] The utility model embodiment provides a kind of intelligent lock to solve the above technical problem.

[0004] The utility model embodiment first aspect provides a kind of intelligent lock, and the intelligent lock includes:

[0005] The claw mechanism is used to connect with the knob of door lock, to rotate knob, to control door lock to open or lock;

[0006] Drive mechanism, drive mechanism connects claw mechanism, for driving claw mechanism rotation;

[0007] Door state detection module, for detecting the switch state of door;

[0008] Master control chip, master control chip is connected with door state detection module by serial communication, and master control chip is also connected with drive mechanism, for according to the switch state of door control drive mechanism and drive claw mechanism forward rotation or reverse rotation.

[0009] Optionally, door state detection module includes magnetic induction unit, angular velocity measurement unit and / or acceleration measurement unit;

[0010] Magnetic induction unit is connected with master control chip, for detecting the magnetic field intensity data around intelligent lock, and magnetic field intensity data is sent to master control chip;

[0011] Angular velocity measurement unit is connected with master control chip, for detecting the angular velocity data of intelligent lock, and angular velocity data is sent to master control chip;

[0012] The acceleration measurement unit is connected to the master control chip, and is configured to detect acceleration data of the smart lock and send the acceleration data to the master control chip.

[0013] The master control chip determines the opening and closing state of the door according to the magnetic field strength data, the angular velocity data and / or the acceleration data.

[0014] Optionally, the magnetic induction unit detects the magnetic field strength data around the smart lock by induction with a magnet, which is located on the door frame and opposite to the smart lock in the closed state.

[0015] Optionally, the door state detection module further comprises:

[0016] The connector is connected between the magnetic induction unit and the master control chip, and is configured to adjust the distance between the magnetic induction unit and the master control chip.

[0017] Optionally, the materials of the screws and / or springs within the preset range of the magnetic induction unit are non-magnetic materials, or the magnetic elements within the preset range of the magnetic induction unit are located in the installation cavity of the magnetic metal piece.

[0018] Optionally, the magnetic induction unit comprises a magnetometer sensor and a decoupling voltage stabilizing capacitor, a power supply end of the magnetometer sensor is connected to a first power supply and a first end of the decoupling voltage stabilizing capacitor respectively, a grounding end of the magnetometer sensor is connected to a second end of the decoupling voltage stabilizing capacitor and grounded, and a first data end and a second data end of the magnetometer sensor are connected to the master control chip respectively.

[0019] Optionally, the smart lock further comprises:

[0020] The lock claw state detection module is connected to the master control chip, and is configured to output a detection signal to the master control chip when the lock claw mechanism rotates the knob, so that the master control chip obtains the rotation angle and rotation direction of the lock claw mechanism according to the detection signal.

[0021] Optionally, the lock claw state detection module comprises:

[0022] The rotary encoder has a first phase signal output end and a second phase signal output end connected to the master control chip respectively, and is configured to output a first phase signal and a second phase signal to the master control chip when the lock claw mechanism rotates.

[0023] Optionally, the lock claw state detection module further comprises:

[0024] The first detection unit has an input end connected to the first phase signal output end of the rotary encoder, and an output end connected to the master control chip, and is configured to output the first phase signal to the master control chip after rectification and filtering.

[0025] A second detection unit, an input end of the second detection unit is connected to a second phase signal output end of the rotary encoder, and an output end of the second detection unit is connected to the master control chip, for rectifying and filtering the second phase signal and outputting the second phase signal to the master control chip.

[0026] Optionally, the driving mechanism is a driving motor, and the smart lock further comprises:

[0027] A motor control module, the motor control module is connected to the master control chip and the driving mechanism respectively, for controlling the driving motor to rotate forward or reverse according to the control signal of the master control chip, so that the driving motor drives the pawl mechanism to rotate forward or reverse.

[0028] Optionally, the motor control module comprises:

[0029] A motor drive chip, the first control end and the second control end of the motor drive chip are connected to the master control chip respectively, and the first output end and the second output end of the motor drive chip are connected to the driving mechanism respectively;

[0030] The motor drive chip is used for receiving the first control signal and the second control signal of the master control chip through the first control end and the second control end respectively, and driving the driving motor to rotate forward or reverse through the first output end and the second output end.

[0031] Optionally, the master control chip is electrically connected to the door state detection module through an I 2 C bus.

[0032] Optionally, the smart lock further comprises:

[0033] A housing, the pawl mechanism, the driving mechanism, the door state detection module and the master control chip are accommodated in the housing; the housing is further provided with a first accommodating groove and a second accommodating groove;

[0034] A rechargeable battery, which is detachably installed in the first accommodating groove, and the rechargeable battery is electrically connected to the driving mechanism; and

[0035] A backup battery, which is detachably installed in the second accommodating groove, and the backup battery is electrically connected to the driving mechanism.

[0036] Optionally, the smart lock further comprises:

[0037] A battery detection module, the battery detection module is electrically connected to the rechargeable battery and the backup battery respectively, for detecting the voltage or the capacity of the rechargeable battery and the backup battery;

[0038] When the rechargeable battery is separated from the smart lock, or when the voltage or the capacity of the rechargeable battery is lower than a specified value, the backup battery replaces the rechargeable battery to supply power to the driving mechanism.

[0039] Optionally, the surface of the shell is provided with a mounting surface for fixing the smart lock on the door, and the opening of the second accommodating groove is arranged on the other surface opposite to the mounting surface, and when the backup battery is installed in the second accommodating groove, the length direction of the backup battery extends from the other surface opposite to the mounting surface to the mounting surface.

[0040] The technical effect of the embodiment of the utility model is that: through the cooperative work of the lock jaw mechanism, the driving mechanism, the door state detection module and the master control chip, the automatic unlocking and locking functions can be realized according to the opening and closing state of the door, and the false locking operation can be prevented when the door is not completely closed, thereby improving the safety and reliability of the smart lock. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical scheme of the embodiment of the utility model, the drawings needed to be used in the description of the embodiment of the utility model will be briefly introduced below, and obviously, the drawings in the following description are only some embodiments of the utility model, and other drawings can be obtained according to these drawings without creative labor for those skilled in the art.

[0042] Figure 1 is the first structure schematic view of a smart lock provided by the embodiment of the utility model;

[0043] Figure 2 is the three-dimensional structure view of a smart lock provided by the embodiment of the utility model;

[0044] Figure 3 is the partial structure view of a smart lock provided by the embodiment of the utility model;

[0045] Figure 4 is the structure schematic view of the connection between the master control chip and the door state detection module in a smart lock provided by the embodiment of the utility model;

[0046] Figure 5 is the working schematic view of the magnetic induction unit and the magnet in the closed door state provided by the embodiment of the utility model;

[0047] Figure 6 is the schematic view of the connection between the master control chip and the magnetic induction unit through the connector provided by the embodiment of the utility model;

[0048] Figure 7 is the circuit diagram of the connector in a smart lock provided by the embodiment of the utility model;

[0049] Figure 8 is the circuit diagram of the magnetic induction unit in a smart lock provided by the embodiment of the utility model;

[0050] Figure 9A circuit diagram of a main control chip in the intelligent lock is provided by the embodiment of the utility model.

[0051] Figure 10 A second structure schematic view of the intelligent lock is provided by the embodiment of the utility model.

[0052] Figure 11 A circuit diagram of a lock claw state detection module in the intelligent lock is provided by the embodiment of the utility model.

[0053] Figure 12 A third structure schematic view of the intelligent lock is provided by the embodiment of the utility model.

[0054] Figure 13 A circuit diagram of a motor control module in the intelligent lock is provided by the embodiment of the utility model.

[0055] Figure 14 A two accommodating groove schematic view of the intelligent lock is provided by the embodiment of the utility model.

[0056] Figure 15 An installation surface schematic view of the intelligent lock is provided by the embodiment of the utility model.

[0057] In the drawing: 101, lock claw mechanism;103, driving mechanism;104, door state detection module;105, main control chip;106, connector;107, lock claw state detection module;141, magnetic induction unit;142, angular velocity measurement unit;143, acceleration measurement unit;144, magnet;110, shell;111, first accommodating groove;112, second accommodating groove;114, rechargeable battery;115, standby battery;116, installation surface. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the utility model will be clearly and completely described below with reference to the drawings in the embodiments of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the utility model.

[0059] It should be understood that the utility model can be implemented in different forms, and should not be interpreted as being limited to the embodiments presented here. On the contrary, the presentation of these embodiments will make the disclosure complete and complete, and will fully convey the scope of the utility model to those skilled in the art. In the drawings, in order to be clear, the size and relative size of layers and regions may be exaggerated throughout the same reference signs represent the same elements.

[0060] It should be understood that when an element or layer is referred to as being "on", "adjacent", "connected to" or "coupled to" another element or layer, it can be directly on, adjacent, connected or coupled to the other element or layer, or one or more intervening elements or layers can be present. In contrast, when an element is referred to as being "directly on", "directly adjacent", "directly connected to", or "directly coupled to" another element or layer, then there are no intervening elements or layers present. It will be understood that, although the terms first, second, third, etc. can be used herein to describe various elements, components, regions, layers and / or sections, these elements, components, regions, layers and / or sections should not be limited by these terms. These terms are simply used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present application.

[0061] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. As used herein the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0062] For a thorough understanding of the present application, reference will be made to the following detailed description, taken in conjunction with the accompanying drawings, in which:

[0063] The embodiment provides a kind of intelligent lock, as shown in Figure 1 Intelligent lock includes:

[0064] Claw mechanism 101, claw mechanism 101 is used to be connected with the knob of door lock, to rotate knob, to control door lock to open or lock;

[0065] Drive mechanism 103, drive mechanism 103 is connected claw mechanism 101, for driving claw mechanism 101 rotation;

[0066] Door state detection module 104, for detecting the open and close state of door;

[0067] The master control chip 105 is connected with the door state detection module 104 through serial communication, and is also connected with the driving mechanism 103, and is used for controlling the driving mechanism 103 to drive the pawl mechanism 101 to rotate forward or reversely according to the opening and closing state of the door.

[0068] As shown in Figure 2 and Figure 3 , they are a three-dimensional schematic view and a partial schematic view of the smart lock respectively. The pawl mechanism 101 is a mechanical part in the smart lock, when the smart lock is installed on the door, the pawl mechanism 101 is connected with the knob of the door lock on the door, when the pawl mechanism 101 rotates, the knob will be driven to rotate together, so as to realize the unlocking or locking function of the door lock. The driving mechanism 103 is a part for providing power for the pawl mechanism 101, which is usually a driving motor or a transmission mechanism, which drives the pawl mechanism 101 to rotate through mechanical or electrical connection, and completes the unlocking or locking action.

[0069] The door state detection module 104 is a sensor module, which is used for judging whether the door is in a closed state or an open state, and detecting the state of the door by sensing the physical position of the door (not limited to magnetic induction or angle detection). The master control chip 105 is the core control unit of the smart lock, which is connected with the door state detection module 104 through serial communication (such as I 2 C, SPI or UART serial communication protocol), and obtains the state information of the door from the door state detection module 104. According to the opening and closing state of the door, the master control chip 105 sends a control signal to the driving mechanism 103 to instruct it to rotate the pawl mechanism 101 forward or reversely, for example, when the master control chip 105 receives the state information of the door completely closed sent by the door state detection module 104, the driving mechanism 103 is controlled to drive the pawl mechanism 101 to rotate, so that the pawl mechanism 101 drives the knob of the door lock to rotate, to realize automatic locking. The master control chip 105 is responsible for coordinating the work of all modules, and realizes the automation and safety of the smart lock.

[0070] Optionally, as shown in Figure 2 and Figure 3 , the smart lock further comprises a rotating mechanism 130, which is in transmission connection with the pawl mechanism 101, and the user can manually rotate the rotating mechanism 130 to realize the unlocking and locking operation, so that the user can quickly and conveniently manually unlock and lock when in the door, to improve the efficiency of unlocking and locking.

[0071] The technical effect of the embodiment is that through the cooperative work of the lock claw mechanism 101, the driving mechanism 103, the door state detection module 104, and the master control chip 105, the intelligent lock can realize automatic unlocking and locking functions, and prevent false locking operation when the door is not completely closed, thereby improving the safety and reliability of the intelligent lock. At the same time, the intelligent lock is connected with the knob installed on the door lock, and the door lock is operated to realize automatic opening or automatic closing according to the instructions of the user's mobile phone and the like, without replacing the entire anti-theft lock or the entire door. Only the intelligent lock needs to be installed on the conventional door lock, so that the door lock has the functions of automatic unlocking and automatic locking, is easy to install, has small workload, and is low in cost.

[0072] As an implementation manner, the door state detection module 104 includes a magnetic induction unit 141, an angular velocity measurement unit 142, and / or an acceleration measurement unit 143.

[0073] The magnetic induction unit 141 is connected with the master control chip 105, and is configured to detect magnetic field intensity data around the intelligent lock and send the magnetic field intensity data to the master control chip 105.

[0074] The angular velocity measurement unit 142 is connected with the master control chip 105, and is configured to detect angular velocity data of the intelligent lock and send the angular velocity data to the master control chip 105.

[0075] The acceleration measurement unit 143 is connected with the master control chip 105, and is configured to detect acceleration data of the intelligent lock and send the acceleration data to the master control chip 105.

[0076] The master control chip 105 determines the opening and closing state of the door according to the magnetic field intensity data, the angular velocity data, and / or the acceleration data.

[0077] The magnetic induction unit 141 includes a magnetic induction sensor (such as a Hall effect sensor, a fluxgate sensor, or a Hall sensor). When the door is in different opening and closing states, the magnetic induction unit 141 detects different magnetic field intensities, and the magnetic induction unit 141 sends the detected magnetic field intensity data to the master control chip 105 through serial communication. The master control chip 105 determines the opening and closing state of the door according to the different magnetic field intensity data.

[0078] The angular velocity measurement unit 142 includes but is not limited to a gyroscope, a six-axis sensor, or an IMU (Inertial Measurement Unit), and is configured to detect the angular velocity of the door. When the door is opened or closed, a specific rotational motion is generated. The angular velocity measurement unit 142 captures the angular velocity data of the door during the motion, and sends the angular velocity data to the master control chip 105 in real time. The master control chip 105 analyzes the angular velocity characteristics to obtain the rotation angle of the door, and determines the opening state of the door.

[0079] The acceleration measurement unit 143 includes but is not limited to an accelerometer, a six-axis sensor, or an IMU, etc., for detecting the acceleration of the door during the opening and closing movement, and transmitting the acceleration data to the master chip 105. The master chip 105 determines the moving distance of the door according to the acceleration data, and determines whether the door is in an open or closed state.

[0080] The master chip 105 can obtain the state of the door through one or more measurement units, for example, as shown in Figure 4 The master chip 105 integrates the data of the magnetic induction unit 141, the angular velocity measurement unit 142 and the acceleration measurement unit 143, analyzes the magnetic field strength data, the angular velocity data and the acceleration data based on the fusion algorithm, and comprehensively determines whether the door is completely closed, opening, closing or not completely closed. According to the determination result, an instruction is sent to control the action of the driving mechanism 103 and the lock jaw mechanism 101.

[0081] The technical effect of the embodiment is that through the separate work or cooperative work of the magnetic induction unit 141, the angular velocity measurement unit 142 and / or the acceleration measurement unit 143, and the comprehensive analysis of the data by the master chip 105, the intelligent lock can accurately and real-timely detect the opening and closing state of the door, and provide a high-reliable determination result whether in a static state or a dynamic state.

[0082] As an embodiment, as shown in Figure 5 The magnetic induction unit 141 detects the magnetic field strength data around the intelligent lock by induction with the magnet 144, which is located on the door frame opposite to the intelligent lock in the closed state.

[0083] The magnet 144 is fixedly installed at a specific position of the door frame and aligned with the intelligent lock in the closed state. The magnet 144 provides a stable magnetic field signal for the magnetic induction unit 141 to detect. When the door is closed, the magnet 144 is close to the magnetic induction unit 141, generating a strong enough magnetic field signal; when the door is opened or not completely closed, the distance between the magnet 144 and the magnetic induction unit 141 increases, and the magnetic field strength decreases. The master chip 105 receives the magnetic field strength data transmitted by the magnetic induction unit 141, and compares it with the preset door closing magnetic field strength threshold value. If the magnetic field strength reaches or exceeds the threshold value, it is determined that the door is completely closed; if the magnetic field strength is lower than the threshold value, it is determined that the door is not completely closed or in an open state. According to the opening and closing state of the door, a corresponding control signal is sent to the driving mechanism 103 to perform the unlocking or locking action. When the door is not completely closed, the locking operation is prohibited and a warning signal is issued.

[0084] The technical effect of the embodiment is that the intelligent lock can accurately determine the opening and closing state of the door, especially identify the condition that the door is not completely closed, through the cooperation of the magnetic induction unit 141, the magnet 144 and the master control chip 105. The master control chip 105 sends a control instruction according to the door state, avoiding the problem of false locking due to the door not being closed tightly, and providing higher safety and convenience for the user.

[0085] As an embodiment, as shown in Figure 6 The door state detection module 104 further includes:

[0086] The connector 106 is connected between the magnetic induction unit 141 and the master control chip 105, and is used to adjust the distance between the magnetic induction unit 141 and the master control chip 105.

[0087] The connector 106 is an electrical component in the intelligent lock system, which is used to electrically connect the magnetic induction unit 141 and the master control chip 105, so as to realize data transmission. At the same time, since the master control chip 105 is usually fixedly welded on the circuit board inside the intelligent lock, the position of the circuit board inside the intelligent lock is also fixed. The connector 106 prolongs the physical distance between the magnetic induction unit 141 and the master control chip 105, i.e. prolongs the physical distance between the magnetic induction unit 141 and the circuit board, so that the magnetic induction unit 141 can be flexibly placed at a more suitable position inside the intelligent lock. On the one hand, it can be placed near the door frame magnet 144 inside the intelligent lock. When the door is closed, the magnetic induction unit 141 is aligned with the door frame magnet 144, and can sense a stronger and more stable magnetic field signal, thereby realizing high-precision detection of the door opening and closing state. This design ensures that when the door is not completely closed, the magnetic induction unit 141 senses the change of the magnetic field and timely feeds back to the master control chip 105, avoiding false operation. On the other hand, in the lock body structure, there are magnetic components such as screws or springs, which will interfere with the induction of the magnetic induction unit 141 to the door frame magnet 144. The magnetic induction unit 141 can be designed to be placed away from these magnetic components, reducing electromagnetic interference in the working environment of the magnetic induction unit 141, and avoiding detection errors caused by disorder of the magnetic field inside the lock body.

[0088] As an example, as shown in Figure 7 The pin 2 of the connector J1 is connected to the communication pin MEMS_SDA of the master control chip 105, the pin 3 is connected to the communication pin MEMS_SCL of the master control chip 105, the pin 1 is connected to the power supply VDD, and the pins 4, 5 and 6 are grounded. The connector J1 is also used to connect the magnetic induction unit 141.

[0089] The technical effect of the embodiment is that the design of the connector 106 not only solves the distance problem between the magnetic induction unit 141 and the main control chip 105, but also optimizes the placement position of the magnetic induction unit 141, which significantly improves the detection accuracy, anti-interference ability and adaptability, and effectively ensures the reliability of the smart lock system.

[0090] As an embodiment, the screws and / or springs within the preset range of the magnetic induction unit 141 are made of non-magnetic materials, or the magnetic elements within the preset range of the magnetic induction unit 141 are located in the installation cavity of the magnetic metal piece.

[0091] Among them, the screws and springs used within the preset range of the magnetic induction unit 141 need to use non-magnetic materials (such as aluminum and stainless steel, etc.), the purpose is to avoid these components to interfere with the detection results of the magnetic induction unit 141. The magnetic induction unit 141 is used to sense the magnetic field strength, if there are magnetic materials (such as iron, nickel, etc.) around, it will cause the shift or distortion of the magnetic field, resulting in inaccurate detection. Therefore, using non-magnetic materials can reduce environmental magnetic interference and improve the detection accuracy of the magnetic induction unit 141.

[0092] If there must be magnetic elements (such as magnets, etc.) within the preset range of the magnetic induction unit 141, these elements need to be installed in the closed installation cavity of the magnetic metal piece for static magnetic shielding. Static magnetic shielding is to use high magnetic permeability ferromagnetic materials to make shielding covers to shield the magnetic field of the magnetic elements. Commonly used high magnetic permeability ferromagnetic materials such as soft iron, silicon steel, permalloy are used as shielding layers to limit the interference of magnetic elements on the sensing range of the magnetic induction unit 141, so as to ensure that the magnetic field sensed by the magnetic induction unit 141 mainly comes from the target magnet, rather than the surrounding stray magnetic field.

[0093] The technical effect of the embodiment is that by using non-magnetic materials or shielding design, the stray magnetic field interference in the environment around the magnetic induction unit 141 is reduced, and the accuracy of the magnetic field sensing is ensured. It ensures that the magnetic induction unit 141 only senses the magnetic field strength of the target magnet, avoids errors caused by surrounding magnetic components, and accurately judges the opening and closing state of the door. This design allows the necessary magnetic elements to exist under certain conditions, but through shielding or material selection, it ensures the stability and reliability of the system as a whole.

[0094] As an embodiment, as shown in Figure 8 The magnetic induction unit 141 includes a magnetometer sensor U7 and a decoupling voltage stabilizing capacitor C2. The power supply end VDD of the magnetometer sensor U7 is connected to the first power supply VDD_SYS and the first end of the decoupling voltage stabilizing capacitor C2, respectively. The ground end VSS of the magnetometer sensor U7 is connected to the second end of the decoupling voltage stabilizing capacitor C2 and grounded. The first data end SDA and the second data end SCL of the magnetometer sensor U7 are connected to the main control chip 105, respectively.

[0095] The power supply end VDD of the magnetometer sensor U7 is supplied with power by the first power supply VDD_SYS to ensure normal operation of the magnetometer sensor U7. The magnetometer sensor U7 detects the magnetic field strength and direction around it in real time through its internal magnetic sensitive element, generates a corresponding electrical signal, and transmits the magnetic field strength data to the master control chip 105 in a serial communication manner through the first data end SDA and the second data end SCL. After the master control chip 105 obtains the output data of the magnetometer sensor U7, the data is decoded, analyzed, and compared with the preset magnetic field threshold value to determine whether the door is completely closed. If the door is closed, a lock door instruction is sent to the driving mechanism 103; if the door is not closed, the door is prohibited from being locked and a warning signal is issued.

[0096] One end of the decoupling voltage stabilizing capacitor C2 is connected to the power supply end VDD of the magnetometer sensor U7 and the first power supply VDD_SYS, and the other end is grounded. When transient fluctuations occur in the voltage at the first power supply VDD_SYS end, the decoupling voltage stabilizing capacitor C2 smooths the voltage by charging and discharging to filter out high-frequency noise and transient interference in the power supply, thereby stabilizing the power supply voltage of the magnetometer sensor U7, preventing the influence of power supply fluctuations on the performance of the sensor, and improving the stability of sensor data acquisition.

[0097] The technical effect of the embodiment is that through the cooperative work of the magnetometer sensor, the decoupling voltage stabilizing capacitor, and the master control chip 105, the door state detection module 104 can accurately and in real time sense the opening and closing state of the door and transmit information to the master control chip 105 to perform corresponding operations. The decoupling voltage stabilizing capacitor ensures the stability of signal acquisition, the magnetometer sensor realizes sensitive magnetic field detection, and the master control chip 105 comprehensively analyzes data and performs actions, improving the reliability, real-time performance, and adaptability of the system, significantly enhancing the security and user experience of the smart lock.

[0098] As an embodiment, the master control chip 105 is electrically connected to the door state detection module 104 through an I 2 The C bus is electrically connected to the door state detection module 104.

[0099] Specifically, the master control chip 105 is electrically connected to the door state detection module 104 through an I 2 The C (Inter-Integrated Circuit) bus (including a serial data line and a serial clock line) is electrically connected to the door state detection module 104.

[0100] For example, as shown in the circuit diagram of the master control module 105, the door state detection module 104 is connected through a serial data line MEMS_SDA and a serial clock line MEMS_SCL. Figure 9

[0101] The technical effect of the embodiment is that the I 2 ​The two-wire design of the C bus improves the reliability of data transmission, ensures accurate transmission of information, and reduces errors caused by signal interference.

[0102] As an implementation manner, as shown in Figure 10 The intelligent lock further comprises a lock jaw state detection module 107 connected to the master control chip 105, configured to output a detection signal to the master control chip 105 when detecting that the lock jaw mechanism 101 rotates the knob, so that the master control chip 105 obtains the rotation angle and rotation direction of the lock jaw mechanism 101 according to the detection signal.

[0103] The lock jaw state detection module 107 detects in real time whether the lock jaw mechanism 101 is rotating, as well as the rotation angle and rotation direction. The detected signal is transmitted to the master control chip 105 for the master control chip 105 to make a judgment and control on the rotation state. The lock jaw state detection module 107 uses a sensor (such as an angle sensor, an encoder or a Hall sensor) to sense the rotation of the lock jaw mechanism 101. When the lock jaw mechanism 101 starts to rotate the knob, the lock jaw state detection module 107 detects the rotation angle and rotation direction of the knob in real time. The detection signal is transmitted to the master control chip 105 through a data port, and the master control chip 105 receives the detection signal of the rotation angle and direction, and judges the execution state of the unlocking or locking operation according to the rotation angle and direction of the lock jaw. Specifically, the rotation angle is used to determine whether the lock jaw mechanism 101 has completed a predetermined action (such as rotating to a fully unlocked or locked position), and the rotation direction is used to determine whether the action of the lock jaw mechanism 101 meets the current operation requirement (for example, the correctness of the unlocking direction and the locking direction). If it is detected that the action is not completed or the direction is incorrect, the master control chip 105 sends a correction signal to re-control the driving mechanism 103 to adjust the action of the lock jaw.

[0104] The technical effect of the embodiment is that through the cooperation of the lock jaw state detection module 107 and the master control chip 105, the technology realizes real-time monitoring and accurate control of the rotation state of the lock jaw mechanism 101. The master control chip 105 judges whether the locking or unlocking operation is correct according to the rotation angle and direction data, and adjusts in time when abnormal, ensuring the reliability and accuracy of the lock jaw action, significantly improving the operation reliability, safety and intelligent level of the intelligent lock, and providing users with a more efficient and stable use experience.

[0105] As an implementation manner, the lock jaw state detection module 107 comprises:

[0106] The first and second phase signal output ends of the rotary encoder are respectively connected to the master control chip 105, configured to output first and second phase signals to the master control chip 105 when the lock jaw mechanism 101 rotates.

[0107] The rotary encoder senses the rotation state of the lock jaw mechanism 101 and generates a first belief signal (A signal) and a second belief signal (B signal) related to the rotation direction and angle. The signals are transmitted to the master control chip 105 through the first belief signal output end and the second belief signal output end for the master control chip 105 to analyze the rotation angle and direction. Real-time monitoring of the rotation of the lock jaw mechanism 101 is realized, providing data support for accurate control of the smart lock. When the lock jaw mechanism 101 starts to rotate, the rotary encoder detects the angle and direction of rotation through internal optical, magnetic or electrical sensing elements. The encoder generates two square wave signals (first belief signal A and second belief signal B) with a phase difference of 90°. According to the phase relationship between the A signal and the B signal, the master control chip 105 can determine the rotation direction of the lock jaw (clockwise or counterclockwise). The signal output by the rotary encoder is a pulse signal, and the master control chip 105 counts the number of pulse signals to calculate the rotation angle of the lock jaw.

[0108] As shown in Figure 9 and 11 The lock jaw state detection module 107 includes a rotary encoder U8. The pin A (i.e. the first belief signal output end) and the pin B (i.e. the second belief signal output end) of the rotary encoder U8 are electrically connected to the detection pin MCU_A and the detection pin MCU_B of the master control chip 105, respectively. The master control chip 105 detects the phase relationship between the A phase (i.e. the first belief signal) and the B belief signal (i.e. the second belief signal) through the pin A and the pin B, can determine the rotation direction of the lock jaw, and can determine the rotation angle of the lock jaw by counting the pulse signals of the A phase and the B belief signal. The master control chip determines whether the door lock is successfully unlocked or unlocked by the rotation direction and angle data of the lock jaw. The pin C, pin 1 and pin 2 of the rotary encoder U8 are grounded.

[0109] It should be noted that when the master control chip 105 controls the driving mechanism 103 to drive the lock jaw mechanism 101 to rotate forward, the A belief signal leads the B belief signal; when the lock jaw mechanism 101 reverses, the B belief signal leads the A belief signal.

[0110] The technical effect of the present embodiment is that the rotary encoder provides reliable technical support for real-time monitoring and control of the lock jaw mechanism 101 by outputting accurate rotation angle and direction signals. Its high precision, high stability and real-time feedback capability significantly improve the safety, reliability and intelligent level of the smart lock, meeting the demand for accurate control in multiple scenarios.

[0111] As an embodiment, the lock jaw state detection module 107 further includes:

[0112] The input end of the first detection unit is connected to the first phase signal output end of the rotary encoder, and the output end of the first detection unit is connected to the master control chip 105, for rectifying and filtering the first phase signal and outputting to the master control chip 105;

[0113] The input end of the second detection unit is connected to the second phase signal output end of the rotary encoder, and the output end of the second detection unit is connected to the master control chip 105, for rectifying and filtering the second phase signal and outputting to the master control chip 105.

[0114] The main function of the first detection unit is to rectify and filter the first phase signal from the rotary encoder, ensuring that the output signal can be effectively recognized and processed by the master control chip 105. The rectification can be half-wave rectification or full-wave rectification, depending on the design requirements. The rectified signal may contain high-frequency noise, which will be removed after filtering, extracting a smoother signal. The function of the second detection unit is similar to that of the first detection unit, mainly to rectify and filter the second phase signal of the rotary encoder, to ensure that the master control chip 105 can receive accurate signals.

[0115] As shown in Figure 9 and 11 , the lock jaw state detection module 107 also includes diodes D8 and D9, capacitors C45 and C59, and resistors R48 and R49. The diode D8, capacitor C45 and resistor R48 form a first detection unit, and the diode D9, capacitor C59 and resistor R49 form a second detection unit. The cathode of diode D8 is electrically connected to pin A of rotary encoder U8, the anode of diode D8 is electrically connected to detection pin MCU_A of master control chip 105, one end of capacitor C45 is connected to the anode of diode D8, the other end of C45 is connected to first power supply VDD_SYS, and resistor R48 is connected in parallel with capacitor C45. The cathode of diode D9 is electrically connected to pin B of rotary encoder U8, the anode of diode D9 is electrically connected to detection pin MCU_B of master control chip 105, one end of capacitor C59 is connected to the anode of diode D9, the other end of C59 is connected to power supply VDD, and resistor R49 is connected in parallel with capacitor C59. The first detection unit and the second detection unit are used to input the signals output by pins A and B to the master control chip 105 after diode rectification and capacitor and resistor filtering.

[0116] The technical effect of the embodiment is that through the rectification and filtering of the first detection unit and the second detection unit, the master control chip 105 can obtain accurate and reliable signals, thereby realizing effective monitoring and control of the lock jaw state.

[0117] As an embodiment, as Figure 12As shown, the driving mechanism 103 is a driving motor, and the smart lock further comprises:

[0118] a motor control module 108, which is connected to the main control chip 105 and the driving mechanism 103 respectively, and is configured to control the driving motor to rotate forward or reverse according to the control signal of the main control chip 105, so as to drive the pawl mechanism 101 to rotate forward or reverse.

[0119] The motor control module 108 receives the control signal from the main control chip 105, which contains the direction instruction (forward or reverse) of the motor operation. The motor control module 108 analyzes the control signal of the main control chip 105, and generates the corresponding driving signal through the control circuit (such as H-bridge circuit or PWM control module) built in the motor control module 108. The motor control module 108 adjusts the current direction and intensity of the motor according to the analyzed signal, and drives the motor to rotate forward or reverse. When the motor rotates forward, the pawl mechanism 101 is unlocked, and when the motor rotates reverse, the pawl mechanism 101 is locked. Optionally, the motor control module 108 can also monitor the operation state (such as current, voltage, speed, etc.) of the motor and feed back the information to the main control chip 105, and the main control chip 105 adjusts the control signal according to the feedback to ensure that the operation state of the motor is consistent with the expectation.

[0120] The technical effect of the embodiment is that the motor control module 108 realizes the reliable driving of the pawl mechanism 101 through accurate signal processing and motor control, and improves the control accuracy and efficiency of the system.

[0121] As an embodiment, the motor control module 108 comprises:

[0122] a motor driving chip, the first control end and the second control end of the motor driving chip are connected to the main control chip 105 respectively, and the first output end and the second output end of the motor driving chip are connected to the driving mechanism 103 respectively;

[0123] The motor driving chip is configured to receive the first control signal and the second control signal of the main control chip 105 through the first control end and the second control end respectively, so as to drive the driving motor to rotate forward or reverse through the first output end and the second output end.

[0124] Specifically, when the first control signal sent by the main control chip 105 to the first control terminal of the motor drive chip is high and the second control signal sent to the second control terminal of the motor drive chip is low, the motor drive chip applies a positive drive voltage to the drive motor through the first output terminal and the second output terminal, causing the drive motor to rotate forward; when the first control signal sent by the main control chip 105 to the first control terminal of the motor drive chip is low and the second control signal sent to the second control terminal of the motor drive chip is high, the motor drive chip applies a reverse drive voltage to the drive motor through the first output terminal and the second output terminal, causing the drive motor to rotate in reverse.

[0125] In addition, during motor operation, the main control chip 105 monitors the output current, voltage, and temperature in real time. In the event of overcurrent, short circuit, or excessive temperature, the main control chip 105 sends a low-level first control signal to the first control terminal of the motor drive chip and a low-level second control signal to the second control terminal of the motor drive chip. The motor drive chip then stops the drive motor, protecting the drive motor and other system components.

[0126] For example, such as Figure 9 and 13 As shown, the motor control module 108 includes a motor drive chip U4 and a connector J6. Pin IN1 (i.e., the first control terminal) of the motor drive chip U4 is connected to pin IN1 / PH of the main control chip 105 through resistor R13. Pin IN2 (i.e., the second control terminal) of the motor drive chip U4 is connected to pin IN2 / EN of the main control chip 105 through resistor R11. Pins OUT1 (i.e., the first output terminal) and OUT2 (the second output terminal) of the motor drive chip U4 are electrically connected to connector J6, and connector J6 is connected to the drive motor.

[0127] When pin IN1 of motor driver chip U4 receives a high level output from pin IN1 / PH of main control chip 105, and pin IN2 receives a low level output from pin IN2 / EN of main control chip 105, motor driver chip U4 controls the motor to rotate forward through pins OUT1 and OUT2; when pin IN1 of motor driver chip U4 receives a low level output from pin IN1 / PH of main control chip 105, and pin IN2 receives a high level output from pin IN2 / EN of main control chip 105, motor driver chip U4 controls the motor to rotate in reverse through pins OUT1 and OUT2; when both pins IN1 / PH and IN2 / EN of main control chip 105 output a low level, motor driver chip U4 controls the motor to stop working.

[0128] The nSLP pin of the motor driver chip U4 is electrically connected to the Motor_Nsleep pin of the main control chip 105. When the smart lock enters the low power mode, the Motor_Nsleep pin of the main control chip 105 outputs a low level, and the motor driver chip U4 enters a sleep state to reduce power consumption.

[0129] The IPR pin of the motor drive chip U4 is connected to the MOTOR_ADC pin of the main control chip 105 through resistor R28 for current acquisition. When the current exceeds a certain threshold, the main control chip 105 can control the motor to stop working, preventing the motor from burning out due to excessive stall current in some abnormal situations (such as when the locking claw mechanism 101 is stuck).

[0130] The motor driver chip U4 has its VM pin electrically connected to the second power supply VM, and its VREF pin electrically connected to the first power supply VDD_SYS through resistor R27. The input voltage of the VM pin is 12V, which is used to drive the motor; the input voltage of the VREF pin is 3.3V, which is used to power the motor driver chip U4.

[0131] The technical advantage of this embodiment is that the motor drive chip receives the forward and reverse control signals from the main control chip 105 to complete the direction switching and stable drive of the motor, providing precise and efficient power support for the lock claw mechanism 101 of the smart lock.

[0132] As one implementation method, such as Figure 14 As shown, the smart lock also includes:

[0133] The housing 110, the locking claw mechanism 101, the drive mechanism 103, the door status detection module 104, and the main control chip 105 are housed within the housing 110; the housing 110 is also provided with a first receiving groove 111 and a second receiving groove 112;

[0134] A rechargeable battery 114 is detachably installed in the first receiving slot 111, and the rechargeable battery 114 is electrically connected to the drive mechanism 103; and

[0135] The backup battery 115 is detachably installed in the second receiving slot 112 and is electrically connected to the drive mechanism 103.

[0136] Specifically, the second receiving groove 112 is arranged in a circumferential shape, and can adopt a circular, prismatic, or flat groove structure. The shape of the second receiving groove 112 can be adapted to the specifications of the battery cell of the backup battery 115.

[0137] For example, the rechargeable battery 114 is a lithium battery, and the backup battery 115 is a dry cell battery.

[0138] It should be noted that when the rechargeable battery 114 is installed in the first receiving slot 111, the rechargeable battery 114 is electrically connected to the drive mechanism 103; when the backup battery 115 is installed in the second receiving slot 112, the backup battery 115 is electrically connected to the drive mechanism 103.

[0139] The technical advantages of this embodiment are as follows: the smart lock achieves both main power supply and emergency power supply functions through a dual-battery design. The rechargeable battery 114 provides power for normal operation, while the backup battery 115 provides backup power, ensuring continuous normal operation of the lock. The second receiving slot 112 adopts a multi-adaptive structural design, compatible with different specifications of battery cells, improving the flexibility and practicality of the device. Furthermore, both batteries are removable, facilitating user replacement and maintenance.

[0140] In one implementation, the smart lock also includes a battery detection module (not shown in the drawings). When the rechargeable battery 114 is installed in the first receiving slot 111 and the backup battery 115 is installed in the second receiving slot 112, the battery detection module is electrically connected to the rechargeable battery 114 and the backup battery 115. The battery detection module is used to detect the voltage or charge of the rechargeable battery 114 and the backup battery 115. When the rechargeable battery 114 is separated from the smart lock, or when the voltage or charge of the rechargeable battery 114 is lower than a specified value, the backup battery 115 replaces the rechargeable battery 114 to power the drive mechanism 103.

[0141] Specifically, if the voltage of rechargeable battery 114 is normal, it will be used first. When the battery detection module detects that the voltage of rechargeable battery 114 is low (i.e., the battery capacity of rechargeable battery 114 is insufficient to support all functions of the smart lock), or when the voltage of rechargeable battery 114 is zero (i.e., rechargeable battery 114 is separated from the smart lock), and the battery detection module detects that the power of backup battery 115 is not zero, backup battery 115 will take over the power supply of the smart lock. At this time, the user can remove rechargeable battery 114 from the smart lock body to charge it. During the period when rechargeable battery 114 is removed, backup battery 115 can maintain the normal use of the smart lock. The user can still control the lock claw mechanism 101 to unlock or lock via the mobile phone, effectively avoiding the risk of the smart lock failing to function properly due to low battery and improving the user experience.

[0142] The technical advantage of this embodiment is that the smart lock achieves intelligent power switching through a battery detection module. When the rechargeable battery 114 is low on power or is removed, the backup battery 115 automatically takes over power supply, ensuring the normal operation of the smart lock. Users can charge the rechargeable battery during backup power supply, while still controlling the lock's opening and closing via their mobile phone, avoiding the problem of the lock becoming unusable due to insufficient power, thus improving the reliability of the device and the user experience.

[0143] As one implementation method, such as Figure 14 and 15 As shown, the surface of the housing 110 is provided with a mounting surface 116 for fixing the smart lock to the door. The opening of the second receiving groove 112 is located on the opposite side of the mounting surface 116, which facilitates the user to remove the spare battery 115. When the spare battery 115 is installed in the second receiving groove 112, the length of the spare battery 115 extends from the opposite side of the mounting surface 116 to the mounting surface 116.

[0144] A locking claw mechanism 101 is provided on the same side as the mounting surface 116. The smart lock is fixed to the door through the mounting surface 116 and connected to the door lock knob on the door through the locking claw mechanism 101.

[0145] Since the backup battery 115 extends from the opposite side of the mounting surface 116 to the mounting surface 116 when the backup battery 115 is installed in the second receiving slot 112, the backup battery 115 is not easy to fall out of the second receiving slot 112.

[0146] The technical advantage of this embodiment is that the smart lock enhances the stability of the backup battery 115 by setting the opening of the second receiving slot 112 on the opposite side of the mounting surface 116 and extending the backup battery 115 along its length towards the mounting surface, thus preventing the battery from accidentally falling out. At the same time, this design facilitates the user's removal and replacement of the backup battery 115 from the other side of the housing, improving the safety and ease of maintenance of the smart lock.

[0147] The above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model, and should all be included within the protection scope of this utility model.

Claims

1. A smart lock, characterized in that, The smart lock includes: A locking claw mechanism is used to connect to the knob of the door lock so as to rotate the knob and thereby control the door lock to unlock or lock; A drive mechanism, which is connected to the locking claw mechanism, is used to drive the locking claw mechanism to rotate; The door status detection module is used to detect the open / closed status of the door; The main control chip is connected to the door status detection module via serial communication. The main control chip is also connected to the drive mechanism and is used to control the drive mechanism to drive the locking claw mechanism to rotate forward or backward according to the opening and closing status of the door.

2. The smart lock as described in claim 1, characterized in that, The door status detection module includes a magnetic induction unit, an angular velocity measurement unit, and / or an acceleration measurement unit; The magnetic induction unit is connected to the main control chip and is used to detect the magnetic field strength data around the smart lock and send the magnetic field strength data to the main control chip; The angular velocity measurement unit is connected to the main control chip and is used to detect the angular velocity data of the smart lock and send the angular velocity data to the main control chip; The acceleration measurement unit is connected to the main control chip and is used to detect the acceleration data of the smart lock and send the acceleration data to the main control chip. The main control chip determines the opening and closing state of the door based on the magnetic field strength data, the angular velocity data, and / or the acceleration data.

3. The smart lock as described in claim 2, characterized in that, The magnetic induction unit detects the magnetic field strength data around the smart lock by sensing a magnet located on the door frame opposite the smart lock when the door is closed.

4. The smart lock as described in claim 2, characterized in that, The gate status detection module also includes: A connector is provided between the magnetic induction unit and the main control chip to adjust the distance between them.

5. The smart lock as described in claim 2, characterized in that, The screws and / or springs within the preset range of the magnetic induction unit are made of non-magnetic materials, or the magnetic elements within the preset range of the magnetic induction unit are located within the mounting cavity of the magnetic metal part.

6. The smart lock as described in claim 2, characterized in that, The magnetic induction unit includes a magnetometer sensor and a decoupling voltage regulator capacitor. The power supply terminal of the magnetometer sensor is connected to a first power supply and the first terminal of the decoupling voltage regulator capacitor, respectively. The ground terminal of the magnetometer sensor and the second terminal of the decoupling voltage regulator capacitor are connected to ground. The first data terminal and the second data terminal of the magnetometer sensor are respectively connected to the main control chip.

7. The smart lock as described in any one of claims 1 to 6, characterized in that, The smart lock also includes: A pawl status detection module is connected to the main control chip. When the pawl mechanism is detected to rotate the knob, it outputs a detection signal to the main control chip so that the main control chip can obtain the rotation angle and rotation direction of the pawl mechanism based on the detection signal.

8. The smart lock as described in claim 7, characterized in that, The locking claw status detection module includes: A rotary encoder, wherein the first phase signal output terminal and the second phase signal output terminal of the rotary encoder are respectively connected to the main control chip, and are used to output the first phase signal and the second phase signal to the main control chip when the locking claw mechanism rotates.

9. The smart lock as described in claim 8, characterized in that, The locking claw status detection module also includes: The first detection unit has its input terminal connected to the first phase signal output terminal of the rotary encoder and its output terminal connected to the main control chip. It is used to rectify and filter the first phase signal and then output it to the main control chip. The second detection unit has its input end connected to the second phase signal output end of the rotary encoder, and its output end connected to the main control chip. It is used to rectify and filter the second phase signal and then output it to the main control chip.

10. The smart lock as described in any one of claims 1 to 6, characterized in that, The driving mechanism is a drive motor, and the smart lock also includes: A motor control module is connected to the main control chip and the drive mechanism respectively. It is used to control the drive motor to rotate forward or reverse according to the control signal of the main control chip, so that the drive motor drives the locking claw mechanism to rotate forward or reverse.

11. The smart lock as described in claim 10, characterized in that, The motor control module includes: A motor drive chip, wherein the first control terminal and the second control terminal of the motor drive chip are respectively connected to the main control chip, and the first output terminal and the second output terminal of the motor drive chip are respectively connected to the drive mechanism; The motor drive chip is used to receive the first control signal and the second control signal from the main control chip through the first control terminal and the second control terminal, respectively, and to drive the drive motor to rotate forward or in reverse through the first output terminal and the second output terminal.

12. The smart lock as described in any one of claims 1 to 6, characterized in that, The main control chip is connected via I 2 The C bus is electrically connected to the gate state detection module.

13. The smart lock as described in any one of claims 1 to 6, characterized in that, The smart lock also includes: The housing contains the locking claw mechanism, the driving mechanism, the door status detection module, and the main control chip; the housing also has a first accommodating slot and a second accommodating slot. A rechargeable battery, detachably mounted in the first receiving slot, is electrically connected to the drive mechanism; and... A backup battery is detachably installed in the second receiving slot and is electrically connected to the drive mechanism.

14. The smart lock as described in claim 13, characterized in that, The smart lock also includes: A battery detection module is electrically connected to both the rechargeable battery and the backup battery, and is used to detect the voltage or charge of the rechargeable battery and the backup battery. Specifically, when the rechargeable battery is separated from the smart lock, or when the voltage or charge of the rechargeable battery is lower than a specified value, the backup battery replaces the rechargeable battery to power the drive mechanism.

15. The smart lock according to claim 13, characterized in that, The surface of the housing is provided with a mounting surface for fixing the smart lock to the door. The opening of the second receiving groove is located on the opposite side of the mounting surface. When the backup battery is installed in the second receiving groove, the length direction of the backup battery extends from the opposite side of the mounting surface to the mounting surface.