Full-automatic lock body circuit board and intelligent lock

By designing a fully automatic lock body circuit board in the smart lock and controlling the motor action with no power supply, the existing smart lock has large power consumption and short battery life, achieving low power consumption and high battery life.

CN222784913UActive Publication Date: 2025-04-22GUANGDONG KETYOO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421352167.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2025-04-22
Estimated Expiration
2034-06-13

AI Technical Summary

Technical Problem

The fully automatic lock body of the existing smart lock relies on power signal control, resulting in large power consumption and short battery life, which affects the user experience.

Method used

A fully automatic lock body circuit board is designed. By setting up a switch door detection switch, a lock-in detection switch and a lock-in detection switch, a physical switch without power supply, the control of the motor action is achieved, and the direct control of the power signal is avoided.

Benefits of technology

It realizes the low power consumption and high battery life of the smart lock, extends the use time of the smart lock, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222784913U_ABST
    Figure CN222784913U_ABST
Patent Text Reader

Abstract

The utility model discloses a full-automatic lock body circuit board and an intelligent lock, the circuit board comprises a board body, the board body is provided with a connecting seat, a door opening and closing detection switch, an unlocking in-place detection switch and a locking in-place detection switch, the signal output ends of the door opening and closing detection switch, the unlocking in-place detection switch and the locking in-place detection switch are respectively connected with the signal input end of the connecting seat, and the signal output end of the connecting seat is connected with a main control board of the intelligent lock. The circuit board can solve the problem of high power consumption caused by the fact that an existing power signal controls driving of a lock body, and the effects of low power consumption and long endurance can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to a full-automatic lock body circuit board and an intelligent lock, belonging to the technical field of intelligent lock control. Background Art

[0002] With the development of intelligent home appliances, smart homes can provide people with a comfortable and convenient living environment. In the field of smart home security, installing smart locks on doors not only facilitates people's entry and exit, but also improves safety.

[0003] The fully automatic lock bodies of smart locks currently on the market are controlled by power signals and drive the lock bodies to move by detecting other switch states. The problem with the existing control method is that the power consumption of the smart lock body will be greatly increased when it is working, thereby reducing the battery life of the smart lock, resulting in the need for frequent charging or battery replacement, which affects the user experience. Utility Model Content

[0004] The purpose of the utility model is to overcome the deficiencies of the prior art and to provide a fully automatic lock body circuit board, which can solve the problem of high power consumption caused by the existing power signal controlling the lock body drive and can achieve the effect of low power consumption and long battery life.

[0005] Another purpose of the utility model is to provide a smart lock.

[0006] The purpose of the utility model can be achieved by adopting the following technical solutions:

[0007] A fully automatic lock body circuit board comprises a board body, on which a connecting seat, a door opening and closing detection switch, a lock-in-place detection switch and a lock-in-place detection switch are arranged, wherein the signal output ends of the door opening and closing detection switch, the lock-in-place detection switch and the lock-in-place detection switch are respectively connected to the signal input end of the connecting seat, and the signal output end of the connecting seat is connected to the main control board of the smart lock.

[0008] Furthermore, a motor return-to-center detection switch is also provided on the plate body, and a signal output end of the motor return-to-center detection switch is connected to a signal input end of the connecting socket.

[0009] Furthermore, the motor return to center detection switch includes a first pin, a second pin and a third pin, wherein the first pin and the third pin serve as signal output ends of the motor return to center detection switch, the second pin is grounded, and when the motor return to center detection switch is in a pressed state, the first pin or the third pin is connected to the second pin.

[0010] Furthermore, the connecting socket includes a second pin, a third pin, a fourth pin, a fifth pin, a sixth pin, a seventh pin and an eighth pin, wherein the second pin is connected to the signal output end of the unlocking detection switch, the third pin is connected to the signal output end of the locking detection switch, the fourth pin is connected to the signal output end of the door opening and closing detection switch, the sixth pin is connected to the signal output end of the motor return detection switch, the seventh pin and the eighth pin are connected to the signal output end of the motor, and the fifth pin is grounded.

[0011] Furthermore, the door opening and closing detection switch includes a first pin and a second pin, wherein the first pin serves as a signal output end of the door opening and closing detection switch, and the second pin is grounded. When the door opening and closing detection switch is in a pressed state, the first pin is connected to the second pin.

[0012] Furthermore, the unlocking detection switch includes a first pin and a second pin, wherein the first pin serves as a signal output end of the unlocking detection switch, and the second pin is grounded. When the unlocking detection switch is in a pressed state, the first pin is connected to the second pin.

[0013] Furthermore, the locked-in-place detection switch includes a first pin and a second pin, wherein the first pin serves as a signal output end of the locked-in-place detection switch, and the second pin is grounded. When the locked-in-place detection switch is in a pressed state, the first pin is connected to the second pin.

[0014] Another purpose of the utility model can be achieved by adopting the following technical solutions:

[0015] A smart lock comprises a lock body and a panel, wherein the lock body is provided with a motor and the above-mentioned fully automatic lock body circuit board, the panel is provided with a main control board, the main control board is provided with a motor drive module, the motor drive module is connected to the motor, and the unlocking and locking actions of the lock body are controlled by the motor.

[0016] Furthermore, the lock body comprises a detection tongue and a square tongue which can be extended out of the lock body or retracted into the lock body, the detection tongue is provided with a first contact piece, and the square tongue is provided with a second contact piece and a third contact piece;

[0017] The door opening and closing detection switch is located on the extension and retraction path of the detection tongue; the door opening and closing detection switch sends a signal when the door is opened, and when the detection tongue extends out of the lock body, the first contact piece on the detection tongue contacts the door opening and closing detection switch, triggering the door opening and closing detection switch to send a signal to the main control board; or the door opening and closing detection switch sends a signal when the door is closed, and when the detection tongue retracts into the lock body, the first contact piece on the detection tongue contacts the door opening and closing detection switch, triggering the door opening and closing detection switch to send a signal to the main control board;

[0018] The unlocking detection switch and the locking detection switch are located on the extension and retraction path of the square tongue. When the square tongue extends out of the lock body, the second contact piece of the square tongue contacts the locking detection switch, triggering the locking detection switch to send a locking signal to the main control board; when the square tongue retracts into the lock body, the third contact piece of the square tongue contacts the unlocking detection switch, triggering the locking detection switch to send an unlocking signal to the main control board.

[0019] Furthermore, in the lock body, the motor is connected to the square tongue through a transmission assembly, and a fourth contact piece is provided on the transmission assembly;

[0020] The motor return-to-center detection switch is arranged on the rotation path of the transmission component. When the motor rotates forward or reversely so that the fourth contact member contacts the motor return-to-center detection switch, the motor return-to-center detection switch is triggered to send a return-to-center detection signal to the main control board, so that the main control board controls the motor to stop rotating through the motor drive module.

[0021] Compared with the prior art, the utility model has the following beneficial effects:

[0022] The circuit board of the present invention can be applied to the smart lock. By setting the door opening and closing detection switch, the unlocking detection switch and the locking detection switch, the door opening and closing detection switch can transmit the door opening / closing detection signal to the main control board of the smart lock to control the motor to perform the corresponding action. When the unlocking detection switch is in the unlocking position, the unlocking detection switch transmits the unlocking signal to the main control board of the smart lock to control the motor to return to the center. When the locking detection switch is in the locking position, the locking signal is transmitted to the main control board of the smart lock to control the motor to return to the center. In addition, the circuit board can also be provided with a motor return detection switch. After unlocking or closing the lock, if the motor contacts the motor return detection switch during the return process, the motor return detection switch transmits the return detection signal to the main control board of the smart lock to control the motor to stop rotating. The present invention uses a physical switch that does not require power supply, and can be independent of the control of the power supply signal, so that the lock body of the smart lock can achieve the effect of low power consumption and high endurance, and can be expanded to the fields of security. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0024] Figure 1 This is a block diagram of the structural principle of the smart lock according to an embodiment of the utility model.

[0025] Figure 2 This is a structural block diagram of a lock body according to an embodiment of the utility model.

[0026] Figure 3 This is a planar structural diagram of the lock body of an embodiment of the utility model.

[0027] Figure 4 This is a three-dimensional structural diagram of a lock body at one angle according to an embodiment of the utility model.

[0028] Figure 5 This is a three-dimensional structural diagram of the lock body of an embodiment of the utility model from another angle.

[0029] Figure 6 The figure is a circuit diagram of a connection socket in a circuit board according to an embodiment of the utility model.

[0030] Figure 7 This is a circuit schematic diagram of a door opening and closing detection switch in a circuit board according to an embodiment of the utility model.

[0031] Figure 8 The present invention is a circuit diagram of a fully unlocked detection switch in a circuit board according to an embodiment of the present invention.

[0032] Fig. 9 The present invention is a circuit diagram of a lock-in-place detection switch in a circuit board according to an embodiment of the present invention.

[0033] Fig.10 The present invention is a circuit diagram of a motor return detection switch in a circuit board according to an embodiment of the present invention.

[0034] Fig.11 The utility model is a circuit diagram of the motor seat of the embodiment of the present invention.

[0035] Fig.12 This is a flow chart of the door opening and closing of the smart lock according to an embodiment of the utility model.

[0036] Among them, 1-lock body, 101-motor, 102-circuit board, 1021-connecting seat, 1022-door opening and closing detection switch, 1023-unlocking detection switch, 1024-locking detection switch, 1025-motor return to center detection switch, 103-detection tongue, 1031-first contact piece, 104-square tongue, 1041-second contact piece, 1042-third contact piece, 105-transmission assembly, 106-fourth contact piece, 2-main control board, 201-motor drive module, 202-alarm module. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the utility model clearer, the technical solutions in the embodiments of the utility model will be clearly and completely described below in conjunction with 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 ordinary technicians in this field without making creative work are within the scope of protection of the utility model.

[0038] Example:

[0039] like Figure 1 to Figure 5 As shown, this embodiment provides a smart lock, which includes a lock body 1 and a panel. A motor 101 and a fully automatic lock body circuit board 102 are arranged in the lock body 1, a main control board 2 is arranged in the panel, and a motor drive module 201 is arranged on the main control board 2. The motor drive module 201 is connected to the motor 101, and the motor 101 controls the unlocking and locking of the lock body 1.

[0040] The fully automatic lock body circuit board 102 of this embodiment includes a board body, on which a connecting seat 1021, a door opening and closing detection switch 1022, an unlocking detection switch 1023 and a locking detection switch 1024 are provided. The signal output ends of the door opening and closing detection switch 1022, the unlocking detection switch 1023 and the locking detection switch 1024 are respectively connected to the signal input ends of the connecting seat 1021, and the signal output end of the connecting seat 1021 is connected to the main control board 2.

[0041] In this embodiment, the door opening and closing detection switch 1022 is used to detect whether the door is pushed open or closed, and transmits the door opening / closing detection signal to the main control board 2, and the motor drive module 201 on the main control board 2 controls the motor 101 to perform corresponding actions; the unlocking detection switch 1023 is used to detect whether the unlocking is in place. If the unlocking is in place, the unlocking detection signal is transmitted to the main control board 2, and the motor drive module 201 on the main control board 2 controls the motor 101 to return to the center; the locking detection switch 1024 is used to detect whether the unlocking is in place. If the locking is in place, the locking detection signal is transmitted to the main control board 2, and the motor drive module 201 on the main control board 2 controls the motor 101 to return to the center; wherein, the motor 101 returning to the center means that the motor 101 rotates to the middle position.

[0042] In one embodiment, a motor return-to-center detection switch 1025 is also provided on the board body, and the signal output end of the motor return-to-center detection switch 1025 is connected to the signal input end of the connecting socket 1021. After unlocking or closing the lock, if the motor 101 contacts the motor return-to-center detection switch 1025 during the return-to-center process, the motor return-to-center detection switch 1025 transmits the return-to-center detection signal to the main control board 2, and the motor drive module 201 on the main control board 2 controls the motor 101 to stop rotating.

[0043] In one embodiment, when the motor 101 is returning to center, if the motor return-to-center detection switch 1025 does not contact any mechanical component of the motor 101, it is in a non-pressed state; if the motor return-to-center detection switch 1025 contacts the mechanical component of the motor 101, it is in a pressed state. At this time, the motor return-to-center detection switch 1025 transmits a return-to-center detection signal to the main control board 2, and the motor drive module 201 on the main control board 2 controls the motor 101 to stop rotating.

[0044] In one embodiment, the lock body 1 includes a detection tongue 103 and a square tongue 104. The detection tongue and the square tongue 104 can be extended out of the lock body or retracted into the lock body. The detection tongue 103 is an oblique tongue. A first contact piece 1031 is provided on the detection tongue 103. A second contact piece 1041 and a third contact piece 1042 are provided on the square tongue 104. The square tongue 104 is driven by the motor 101 to pop out and retract. The door opening and closing detection switch 1022 is located near the detection tongue 104. The unlocking detection switch 1023 and the locking detection switch 1024 are located near the square tongue 103.

[0045] The door opening and closing detection switch 1022 is located on the telescopic path of the detection tongue 103. The door opening and closing detection switch sends a signal when the door is opened. When the detection tongue 103 extends out of the lock body 1, the first contact piece 1031 on the detection tongue 103 contacts the door opening and closing detection switch 1022, triggering the door opening and closing detection switch 1022 to send a signal to the main control board 2.

[0046] Those skilled in the art will appreciate that the door opening and closing detection switch 1022 can also send a signal when the door is closed. When the detection tongue 103 retracts into the lock body 1, the first contact piece 1031 on the detection tongue 103 contacts the door opening and closing detection switch 1022, triggering the door opening and closing detection switch 1022 to send a signal to the main control board 2.

[0047] The unlocking detection switch 1023 and the locking detection switch 1024 are located on the extension and retraction path of the square tongue 104. When the square tongue 104 extends out of the lock body 1, the second contact piece 1041 of the square tongue 104 contacts the locking detection switch 1024, triggering the locking detection switch 1024 to send a locking signal to the main control board; when the square tongue 104 retracts into the lock body 1, the third contact piece 1042 of the square tongue 104 contacts the unlocking detection switch 1023, triggering the locking detection switch 1024 to send an unlocking signal to the main control board 2.

[0048] When the door is in the closed state, the door opening and closing detection switch 1022 does not contact the first contact piece 1031 on the detection tongue 103, and the door opening and closing detection switch 1022 is in a non-pressed state; the unlocking detection switch 1023 does not contact the second contact piece 1041 on the square tongue 104, and the unlocking detection switch 1023 is in a non-pressed state; the third contact piece 1042 on the square tongue 104 contacts the locking detection switch 1024, so that the locking detection switch 1024 is in a pressed state.

[0049] When the door is in the open state, the locked position detection switch 1024 does not contact the third contact piece 1042 on the square tongue 104, and the locked position detection switch 1024 is in a non-pressed state; the first contact piece 1031 on the detection tongue 103 contacts the door opening and closing detection switch 1022, so that the door opening and closing detection switch 1022 is in a pressed state; the second contact piece 1041 on the square tongue 104 contacts the unlocked position detection switch 1023, so that the unlocked position detection switch 1023 is in a pressed state.

[0050] Those skilled in the art will understand that unlocking into position means that the square tongue 104 is retracted into position, that is, the second contact piece on the square tongue 104 contacts the unlocking into position detection switch 1023, and locking into position means that the square tongue 104 pops out into position, that is, the third contact piece on the square tongue 104 contacts the locking into position detection switch 1024.

[0051] In one embodiment, Figure 1 to Figure 6 As shown, the connector 1021 (J2) includes a first pin, a second pin, a third pin, a fourth pin, a fifth pin, a sixth pin, a seventh pin and an eighth pin, wherein the first pin is suspended, the second pin is connected to the signal output end of the unlocking detection switch 1023, the third pin is connected to the signal output end of the locking detection switch 1024, the fourth pin is connected to the signal output end of the door opening and closing detection switch 1021, the sixth pin is connected to the signal output end of the motor return detection switch 1025, the seventh pin and the eighth pin are connected to the signal output end of the motor, and the fifth pin is grounded, and the grounding of the fifth pin is introduced from the main control board 2.

[0052] In one embodiment, Figure 1 to Figure 7 As shown, the door detection switch 1022 (SW3) includes a first pin and a second pin, wherein the first pin serves as a signal output end of the door detection switch 1022, specifically connected to the fourth pin of the connecting socket 1021, and the second pin is grounded; when the door detection switch 1022 is in a non-pressed state, the first pin is suspended, and when the door detection switch 1022 is in a pressed state, the first pin is connected to the second pin, that is, the first pin is grounded, and a low-level signal is output to the main control board 2.

[0053] In one embodiment, Figure 1 to Figure 6 , Figure 8 As shown, the unlocking detection switch 1023 (SW1) includes a first pin and a second pin, wherein the first pin serves as a signal output end of the unlocking detection switch 1023, specifically connected to the second pin of the connecting socket 1021, and the second pin is grounded; when the unlocking detection switch 1023 is in a non-pressed state, the first pin is suspended, and when the unlocking detection switch 1023 is in a pressed state, the first pin is connected to the second pin, that is, the first pin is grounded, and a low-level signal is output to the main control board 2.

[0054] In one embodiment, Figure 1 to Figure 6 , Fig. 9 As shown, the lock-in-place detection switch 1024 (SW2) has two pins, wherein the first pin serves as the signal output end of the lock-in-place detection switch 1024, specifically connected to the third pin of the connecting socket 1021, and the second pin is grounded; when the lock-in-place detection switch 1024 is in a non-pressed state, the first pin is suspended, and when the lock-in-place detection switch 1024 is in a pressed state, the first pin is connected to the second pin, that is, the first pin is grounded, and a low-level signal is output to the main control board 2.

[0055] In one embodiment, Figure 1 to Figure 6 , Fig.10 As shown, the motor return detection switch 1025 (J1) has three pins, wherein the first pin and the third pin serve as signal output ends of the motor return detection switch 1025, specifically connected to the sixth pin of the connector 1021, and the second pin is grounded; if the motor 101 rotates forward and the motor return detection switch is in a non-pressed state, the first pin is suspended, and when the motor return detection switch is in a pressed state, the first pin is connected to the second pin, i.e. the first pin is grounded, and a low-level signal is output to the main control board 2; if the motor 101 reverses and the motor return detection switch is in a non-pressed state, the third pin is suspended, and when the motor return detection switch is in a pressed state, the third pin is connected to the second pin, i.e. the third pin is grounded, and a low-level signal is output to the main control board 2; those skilled in the art can understand that the third pin may be used when the motor 101 rotates forward and the first pin may be used when the motor 101 reverses.

[0056] In one embodiment, Figure 1 to Figure 6 , Fig.11 As shown, the motor 101 is connected to the connecting socket 2021 through the motor socket (P1), and the motor socket includes a first pin and a second pin. The first pin and the second pin serve as signal output ends of the motor 101, wherein the first pin is connected to the seventh pin of the connecting socket 1021, and the second pin is connected to the eighth pin of the connecting socket 1021.

[0057] In one embodiment, the motor 101 is connected to the square tongue 104 through a transmission assembly, and a fourth contact piece 106 is provided on the transmission assembly; the motor return-to-center detection switch 1025 is provided on the rotation path of the transmission assembly. When the motor 101 rotates forward or reversely so that the fourth contact piece 106 contacts the motor return-to-center detection switch 1025, the motor return-to-center detection switch 1025 is triggered to send a return-to-center detection signal to the main control board 2, so that the main control board 2 controls the motor 101 to stop rotating through the motor drive module 201.

[0058] In one embodiment, the fourth contact member 106 can be arranged on the shaft of the transmission assembly, which is connected to the output shaft of the motor 101 through gears, and the shaft is also connected to the square tongue through transmission. When the motor 101 drives the shaft to rotate through gears, it can control the square tongue 103 to extend or retract into the lock body 1. The shaft is generally also a shaft used to insert square steel and control the rotation through the square steel. Since the transmission assembly is not an improvement point applied for by the present invention, the transmission assemblies of existing lock bodies are applicable and will not be repeated here.

[0059] In one embodiment, the motor return-to-center detection switch 1025 is arranged on the transmission path of the transmission component, and its position setting satisfies: when the motor 101 is in the process of returning to the center in the forward rotation, the fourth contact piece 106 on the transmission component contacts the motor return-to-center detection switch 1025, that is, the motor return-to-center detection switch is pressed, and the second pin (grounded) in the motor return-to-center detection switch 1025 contacts the first pin, and a low-level signal is sent to the main control board 2, and the main control board 2 controls the motor 101 to stop rotating through the motor drive module 201; when the motor 101 is in the process of returning to the center in the reverse rotation, the fourth contact piece 106 on the transmission component contacts the motor return-to-center detection switch 1025, that is, the motor return-to-center detection switch is pressed, and the second pin (grounded) in the motor return-to-center detection switch 1025 contacts the third pin, and a low-level signal is sent to the main control board 2, and the main control board 2 controls the motor 101 to stop rotating through the motor drive module 201.

[0060] It should be pointed out that the motor 101 can only stop rotating when it contacts the motor return-to-center switch 1025 during the return-to-center process. If the motor 101 rotates to make the tongue 104 extend (lock the door) or retract (open the door), the fourth contact piece 106 rotates by the shaft and contacts the motor return-to-center switch 1025. At this time, the signal sent by the motor return-to-center switch 1025 is not needed. Only when the door is opened (the unlocking detection switch 1023 is pressed at this time) or the door is closed (the closing detection switch 1024 is pressed at this time), the fourth contact piece 106 rotates by the shaft and contacts the motor return-to-center switch 1025, it is determined that the motor 101 contacts the motor return-to-center switch 1025 during the return-to-center process, and the motor 101 is controlled to stop rotating.

[0061] In one embodiment, an alarm module 202 is also provided on the main control board 2. The alarm module 202 is an alarm that can cooperate with the indicator light of the smart lock to give an alarm. When the tongue 104 is not retracted into place, an abnormal alarm signal is issued. When the door opening time exceeds the set value, a door not closed alarm signal is issued.

[0062] In the above embodiment, the door opening and closing detection switch 1022, the unlocking detection switch 1023 and the locking detection switch 1024 use travel detection switches, and the motor return detection switch 1025 uses a bidirectional micro switch, wherein the door opening and closing detection switch 1022, the unlocking detection switch 1023 and the locking detection switch 1024 are all physical switches, and each physical switch only needs to be connected to the ground wire and does not need power supply to complete the detection. Therefore, it does not rely on the control of the power signal, so that the lock body 1 of the smart lock achieves the effect of low power consumption and high battery life.

[0063] like Figures 1 to 12 As shown, the working process of the smart lock of this embodiment is as follows:

[0064] S1. The user can open the door by touching the fingerprint head, finger vein, camera, etc., or by entering the password. After detecting the fingerprint touch signal, finger vein signal, face information or password input signal, the main control board 2 sends a door opening command to the motor drive module 201 to control the motor 101 to rotate forward and drive the tongue 104 to retract;

[0065] S2. Detect whether the square tongue 104 is fully retracted by the unlocking detection switch 1023, that is, whether the square tongue 104 contacts the unlocking detection switch 1023 after being retracted. If so, proceed to step S3. If not, send an abnormal alarm signal through the alarm module 202.

[0066] S3, the unlocking detection switch 1023 transmits the unlocking signal to the main control board 2, and detects whether the user pushes the door open through the door opening and closing detection switch 1022, that is, whether the tongue 103 contacts the door opening and closing detection switch 1022 after popping out. If so, enter step S4, if not, automatically lock and close the door after the first time setting value (5s in this embodiment) has passed.

[0067] S4, the door opening and closing detection switch 1022 transmits the door opening detection signal to the main control board 2, and the motor driving module 201 on the main control board 2 controls the motor 101 to return to the center.

[0068] S5. Detect whether the user closes the door through the door opening and closing detection switch 1022, that is, detect whether the tongue 103 is no longer in contact with the door opening and closing detection switch 1022. If so, go to step S7, if not, go to step S6.

[0069] S6. Determine whether the door opening time is greater than the second time setting value (8s in this embodiment). If so, send a door open alarm signal through the alarm module 202. If not, return to step S5.

[0070] S7, the main control board 2 sends a door closing command to the motor drive module 201 to control the motor 101 to reverse and drive the tongue 104 to pop out. The lock-in-place detection switch 1024 detects whether the tongue 104 pops out in place. If so, enter step S8.

[0071] S8. The locking detection switch 1024 transmits a locking signal to the main control board 2, and the motor drive module 201 on the main control board 2 controls the motor 101 to return to the center.

[0072] In summary, the circuit board of the present invention can be applied to smart locks. By setting a door opening and closing detection switch, a lock-in-place detection switch and a lock-in-place detection switch, the door opening and closing detection switch can transmit the door opening / closing detection signal to the main control board of the smart lock to control the motor to perform corresponding actions. When the lock-in-place detection switch is in the unlocking position, the lock-in-place signal is transmitted to the main control board of the smart lock to control the motor to return to the center. When the lock-in-place detection switch is in the lock-in position, the lock-in-place signal is transmitted to the main control board of the smart lock to control the motor to return to the center. In addition, the circuit board can also be provided with a motor return detection switch. After unlocking or closing the lock, if the motor contacts the motor return detection switch during the return process, the motor return detection switch transmits the return detection signal to the main control board of the smart lock to control the motor to stop rotating. The present invention uses a physical switch that does not require power supply, and can be independent of the control of the power supply signal, so that the lock body of the smart lock can achieve the effect of low power consumption and high endurance, and can be expanded to fields such as security.

[0073] The above is only a preferred embodiment of the utility model patent, but the protection scope of the utility model patent is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes within the scope disclosed by the utility model patent according to the technical solution and utility model concept of the utility model patent, which are all within the protection scope of the utility model patent.

Claims

1. A fully automatic lock body circuit board, comprising a board body, characterized in that: A connecting seat, a door opening and closing detection switch, an unlocking detection switch and a locking detection switch are provided on the plate body. The signal output ends of the door opening and closing detection switch, the unlocking detection switch and the locking detection switch are respectively connected to the signal input end of the connecting seat, and the signal output end of the connecting seat is connected to the main control board of the smart lock.

2. The fully automatic lock circuit board according to claim 1, characterized in that: The plate body is also provided with a motor return-to-center detection switch, and a signal output end of the motor return-to-center detection switch is connected to a signal input end of the connection socket.

3. The fully automatic lock circuit board according to claim 2, characterized in that: The motor return-to-center detection switch includes a first pin, a second pin and a third pin, wherein the first pin and the third pin serve as signal output ends of the motor return-to-center detection switch, and the second pin is grounded. When the motor return-to-center detection switch is in a pressed state, the first pin or the third pin is connected to the second pin.

4. The fully automatic lock circuit board according to claim 2, characterized in that: The connecting socket includes a second pin, a third pin, a fourth pin, a fifth pin, a sixth pin, a seventh pin and an eighth pin, wherein the second pin is connected to the signal output end of the unlocking detection switch, the third pin is connected to the signal output end of the locking detection switch, the fourth pin is connected to the signal output end of the door opening and closing detection switch, the sixth pin is connected to the signal output end of the motor return detection switch, the seventh pin and the eighth pin are connected to the signal output end of the motor, and the fifth pin is grounded.

5. The fully automatic lock circuit board according to any one of claims 1-2, characterized in that: The door opening and closing detection switch includes a first pin and a second pin, wherein the first pin serves as a signal output end of the door opening and closing detection switch, and the second pin is grounded. When the door opening and closing detection switch is in a pressed state, the first pin is connected to the second pin.

6. The fully automatic lock circuit board according to any one of claims 1-2, characterized in that: The unlocking detection switch comprises a first pin and a second pin, wherein the first pin serves as a signal output end of the unlocking detection switch and the second pin is grounded. When the unlocking detection switch is in a pressed state, the first pin is connected to the second pin.

7. The fully automatic lock circuit board according to any one of claims 1-2, characterized in that: The locked-in-place detection switch includes a first pin and a second pin, wherein the first pin serves as a signal output end of the locked-in-place detection switch and the second pin is grounded. When the locked-in-place detection switch is in a pressed state, the first pin is connected to the second pin.

8. A smart lock, comprising a lock body and a panel, characterized in that: The lock body is provided with a motor and a fully automatic lock body circuit board as described in any one of claims 1 to 7, the panel is provided with a main control board, the main control board is provided with a motor drive module, the motor drive module is connected to the motor, and the unlocking and locking actions of the lock body are controlled by the motor.

9. The smart lock according to claim 8, characterized in that: The lock body comprises a detection tongue and a square tongue which can be extended out of the lock body or retracted into the lock body, the detection tongue is provided with a first contact piece, and the square tongue is provided with a second contact piece and a third contact piece; The door opening and closing detection switch is located on the extension and retraction path of the detection tongue; the door opening and closing detection switch sends a signal when the door is opened, and when the detection tongue extends out of the lock body, the first contact piece on the detection tongue contacts the door opening and closing detection switch, triggering the door opening and closing detection switch to send a signal to the main control board; or the door opening and closing detection switch sends a signal when the door is closed, and when the detection tongue retracts into the lock body, the first contact piece on the detection tongue contacts the door opening and closing detection switch, triggering the door opening and closing detection switch to send a signal to the main control board; The unlocking detection switch and the locking detection switch are located on the extension and retraction path of the square tongue. When the square tongue extends out of the lock body, the second contact piece of the square tongue contacts the locking detection switch, triggering the locking detection switch to send a locking signal to the main control board; when the square tongue retracts into the lock body, the third contact piece of the square tongue contacts the unlocking detection switch, triggering the locking detection switch to send an unlocking signal to the main control board.

10. The smart lock according to claim 8, characterized in that: In the lock body, the motor is connected to the square tongue through a transmission assembly, and a fourth contact piece is provided on the transmission assembly; The motor return-to-center detection switch is arranged on the rotation path of the transmission component. When the motor rotates forward or reversely so that the fourth contact member contacts the motor return-to-center detection switch, the motor return-to-center detection switch is triggered to send a return-to-center detection signal to the main control board, so that the main control board controls the motor to stop rotating through the motor drive module.