An electronic lock compatible with left and right opening and a method for automatically judging left and right opening of an electronic lock

By designing an electronic lock that is compatible with left and right opening, a coaxial setting and synchronous rotation shaft are used to connect to the lock tongue transmission, and combining the drive mechanism and induction mechanism, the electronic lock automatically determines the direction of left and right opening, solving the problems of complex operation and risk of code error in the prior art.

CN114991589BActive Publication Date: 2025-05-16ZHONGSHAN CITY JIXIN CORE LOCK CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210530634.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2025-05-16
Estimated Expiration
2042-05-16

AI Technical Summary

Technical Problem

When changing the door opening direction, existing electronic locks need to disassemble and assemble key parts, the operating threshold is high, and the driving parameters need to be manually adjusted to match the door opening direction, which poses a risk of complex operation and error codes.

Method used

An electronic lock compatible with left and right opening is designed, and the rotating shaft and lock tongue are driven by a first transmission assembly to rotate synchronously through a first transmission assembly. The driven gear and the switch knob are driven synchronously by a driving mechanism, and an induction mechanism is equipped to accurately obtain the position of the driven gear, so as to realize the method of automatically judging the left and right opening.

Benefits of technology

The operating threshold for switching the door opening direction is reduced, the probability of failure caused by errors in disassembly and assembly parts is reduced, and the electronic lock automatically determines the left and right directions is realized, without manually adjusting the driving parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114991589B_ABST
    Figure CN114991589B_ABST
Patent Text Reader

Abstract

The present invention discloses an electronic lock compatible with left and right opening and a method for automatically judging left and right opening of an electronic lock. The electronic lock comprises a lock body and a lock tongue seat. The lock body is provided with a switch knob, and a rotating shaft coaxially arranged and rotating synchronously is connected to the switch knob. The lock tongue seat is provided with a lock tongue and a first transmission component for driving the lock tongue to be ejected / retracted. The first transmission component is provided with a first rotating member capable of driving the lock tongue to move. The first rotating member is provided with a plug-in slot which runs through front and back for the rotating shaft to be plugged and connected therein. The rotating shaft can be inserted from the front end to the rear end of the plug-in slot and can be inserted from the rear end to the front end of the plug-in slot. A driven gear coaxially arranged with the switch knob is connected in the lock body through a driving mechanism. A circumferential transmission mechanism is provided between the driven gear and the switch knob. A sensing mechanism for sensing whether the driven gear is rotated to a specific position is also provided in the lock body. The specific position is one or a plurality of positions which can be identified respectively.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an electronic lock compatible with left and right opening and a method for the electronic lock to automatically determine whether to open the lock to the left or right. Background Art

[0002] When changing the direction of door opening, common electronic locks often need to disassemble and reassemble the key parts inside the electronic lock to achieve the reversal. This disassembly and assembly process has a very high operating threshold. Once a part is assembled incorrectly, the door opening direction cannot be switched at best, or the entire electronic lock cannot work properly at worst. In addition, since the opening and closing process of the electronic lock can be driven by the internal drive device, after the electronic lock changes the door opening direction, it is generally necessary to reset the drive parameters so that the drive logic matches the door opening direction. Otherwise, the electronic lock cannot automatically open and close the lock. This process often requires manual settings through multiple steps and there is a certain operating threshold.

[0003] Therefore, how to overcome the above-mentioned defects has become an important issue to be solved urgently by those skilled in the art. Summary of the invention

[0004] The present invention overcomes the shortcomings of the above-mentioned technology and provides an electronic lock compatible with left and right opening and a method for the electronic lock to automatically determine whether to open left or right.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] An electronic lock compatible with left and right opening, comprising a lock body 1 and a lock tongue seat 2, wherein the lock body 1 is provided with a switch knob 3 for a user to turn to open and close the lock, the switch knob 3 is connected to a coaxially arranged synchronously rotating shaft 4, the lock tongue seat 2 is provided with a lock tongue 5 capable of being pushed out / retracted and a first transmission assembly 6 for driving the lock tongue 5 to be pushed out / retracted, the first transmission assembly 6 is provided with a first rotating member 61 capable of forward / reverse rotation to drive the lock tongue 5 to be pushed out / retracted, the first rotating member 61 is provided with a plugging groove 62 which is through-through and is used for the rotation shaft 4 to be plugged in and connected therein so that the first rotating member 61 and the rotation shaft 4 can rotate synchronously The rotating shaft 4 can be inserted from the front end to the rear end of the plug-in slot 62 so that the lock tongue 5 faces leftward, and can be inserted from the rear end to the front end of the plug-in slot 62 so that the lock tongue 5 faces rightward. The lock body 1 is driven by a driving mechanism 7 to connect a driven gear 8 coaxially arranged with the switch knob 3 and capable of forward / reverse rotation. A circumferential transmission mechanism 9 is provided between the driven gear 8 and the switch knob 3 so that the two can rotate synchronously only after they are relatively rotated to the right position. The lock body 1 is also provided with a sensing mechanism 10 for sensing whether the driven gear 8 has rotated to a specific position, and the specific position is one or several identifiable positions.

[0007] Preferably, the sensing mechanism 10 includes two blocks 101 arranged on the driven gear 8 and rotating synchronously, and two photoelectric sensors 102 arranged in the lock body 1 and can be triggered by the block 101 passing through when it rotates. When the driven gear 8 rotates, the moving paths of the two blocks 101 pass through the same circle and the positions of the two blocks 101 have a phase difference of 90°. The two photoelectric sensors 102 are distributed at both ends of a diameter of the circle where the block 101 path is located, and the initial position of one of the blocks 101 is located in one of the photoelectric sensors 102.

[0008] Preferably, the circumferential transmission mechanism 9 includes a shift block 91 coaxially arranged and synchronously rotating with the switch knob 3, a groove 92 arranged on the driven gear 8 for the shift block 91 to be embedded therein, a fan-shaped boss 93 is provided on the shift block 91, and a shift surface 94 is provided on the groove 92 for contacting the fan-shaped boss 93 so that the switch knob 3 can be driven to rotate through the shift block 91 when the driven gear 8 rotates, and a rotation virtual position 95 is provided between the shift surface 94 and the fan-shaped boss 93 so that the driven gear 8 and the shift block 91 can start to rotate synchronously only after they have rotated relative to each other into place.

[0009] Preferably, the insertion slot 62 is a rectangular slot, and the end of the rotating shaft 4 inserted into the insertion slot 62 is provided with a rectangular end portion 41 corresponding to the shape of the insertion slot 62 so that the first rotating member 61 can be driven to rotate when the rotating shaft 4 rotates.

[0010] Preferably, the driving mechanism 7 comprises a driving motor 71 fixed in the lock body 1 and capable of forward and reverse rotation, and the driving motor 71 is connected to a driving gear 72 which rotates synchronously and meshes with the driven gear 8 .

[0011] Preferably, the lock body 1 is also provided with a Hall sensor 11 for sensing whether the switch knob 3 is in the unlocking position and a magnet 12 that rotates synchronously with the switch knob 3 to trigger the Hall sensor 11. The lock body 1 is also provided with a switch button 13 for automatically opening / closing the lock when pressed, and a detection button 14 for entering a detection mode when pressed to automatically determine the left or right opening state.

[0012] A method for automatically judging whether an electronic lock is opened left or right, which can be applied to the above electronic lock, comprises the following steps:

[0013] Step 1: The driven gear 8 is preset to be in a certain specific position when leaving the factory. This specific position is the center state of the driven gear 8. At this time, no matter the rotating shaft 4 is inserted from the front end to the rear end of the insertion slot 62 or from the rear end to the front end of the insertion slot 62, the time required for the driving mechanism 7 to drive the switch knob 3 to rotate through the driven gear 8 to completely push the lock tongue 5 out from the retracted state is T;

[0014] Step 2: Turn the switch knob 3 to retract the lock tongue 5, and then make the electronic lock enter the automatic left or right opening mode;

[0015] Step 3: The driving mechanism 7 drives the driven gear 8 to rotate forward, and obtains the time T1 from when the driving mechanism 7 drives the driven gear 8 to rotate forward to when the electronic lock is blocked. If T1≥T, jump to step 4; if T1<T, jump to step 5;

[0016] Step 4: Determine that the lock tongue 5 is in the first assembly direction, set the electronic lock to the first assembly direction mode, drive the driven gear 8 to reset to the center state by the driving mechanism 7, and the electronic lock issues a successful judgment prompt and ends the judgment;

[0017] Step 5: The driving mechanism 7 drives the driven gear 8 to reset to the centered state, and the driving mechanism 7 continues to drive the driven gear 8 to reverse, and obtains the time T2 from when the driving mechanism 7 drives the driven gear 8 to reverse until the stall occurs. If T2 ≥ T, jump to step 6, and if T2 < T, jump to step 7;

[0018] Step 6: Determine that the lock tongue 5 is in the second assembly direction, set the electronic lock to the second assembly direction mode, drive the driven gear 8 to reset to the center state by the driving mechanism 7, and the electronic lock issues a successful judgment prompt and ends the judgment;

[0019] Step 7: Perform exception handling.

[0020] Preferably, the exception handling includes: recording the number of times M that the exception handling is entered; if M=1, the drive mechanism 7 works to drive the driven gear 8 to reset to the centered state, and the electronic lock issues a warning prompt and jumps to step three; if M=2, the electronic lock issues a judgment failure prompt and ends the judgment.

[0021] Preferably, the first assembly direction mode is a right-opening mode, and the second assembly direction mode is a left-opening mode; or the first assembly direction mode is a left-opening mode, and the second assembly direction mode is a right-opening mode.

[0022] Preferably, the electronic lock can record the working time of the driving mechanism 7, and the electronic lock can also detect the driving current of the driving mechanism 7 so as to determine that the driven gear 8 is blocked when the driving current exceeds a preset value.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] 1. The switch knob of the electronic lock in this case is connected to a coaxially arranged synchronously rotating shaft, and the shaft and the lock tongue are connected by a first transmission assembly, and the shaft can be inserted into the plug-in slot of the first rotating member regardless of whether the lock tongue faces left or right. In this way, when switching to left or right opening, the direction of the lock tongue can be changed by simply changing the direction in which the shaft is inserted into the plug-in slot, without the need to disassemble and assemble other key parts, which greatly reduces the operating threshold for switching the door opening direction and greatly reduces the probability of the electronic lock not being able to work properly due to errors in disassembling and assembling parts. At the same time, the lock body in this case is also connected to a driven gear that can rotate forward / reverse through a driving mechanism, and the driven gear and the switch knob are connected through a circumferential transmission mechanism. They can only rotate synchronously after they are relatively rotated to the right position. In this way, the switch knob can be rotated to open and close the lock whether it is manually or through a driving mechanism. In addition, a sensing mechanism for sensing whether the driven gear has rotated to a specific position is also provided in the lock body of this case, so that the position of the driven gear can be obtained more accurately.

[0025] 2. The judgment method of this case only needs to preset the center state of the driven gear at the factory, so that no matter whether the lock tongue is installed to the left or right, the time required for the drive mechanism to drive the switch knob to rotate through the driven gear to completely push the lock tongue out from the retracted state is T. In this way, when it is necessary to automatically judge the left or right opening direction later, just push the lock tongue to the retracted state and then enter the detection mode. In this way, the electronic lock can automatically complete the judgment of left or right opening without additional operation. The judgment method of this case compares the time T1 and T2 from the start of the forward / reverse rotation of the driven gear to the stall of the driven gear with the time T required to completely push the lock tongue out. If T1 or T2 is greater than or equal to T, it is determined that the electronic lock is currently in the corresponding assembly direction, and then the electronic lock is set to the mode of the assembly direction and the judgment is terminated after a successful judgment prompt is issued. If T1 and T2 are both less than T, it is determined that the electronic lock is in an abnormal state and then abnormal processing is performed. Through the method of this case, the electronic lock can be automatically set to the corresponding mode without manually adjusting the drive parameters. The simplicity and convenience greatly reduces the operating threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is one of the electronic lock schematics in this case.

[0027] Figure 2 This is the second schematic diagram of the electronic lock in this case, in which the lock body is hidden.

[0028] Figure 3 This is one of the schematic diagrams of the electronic lock explosion in this case, in which the lock body is hidden.

[0029] Figure 4 This is the second schematic diagram of the electronic lock explosion in this case, in which the lock body is hidden.

[0030] Figure 5It is a schematic diagram of the circumferential transmission mechanism of this case, in which the positions of the photoelectric sensor and the Hall sensor are marked.

[0031] Figure 6 This is a logical diagram of the method for automatically judging left and right opening in this case. DETAILED DESCRIPTION

[0032] The features of the present invention and other related features are further described in detail below through embodiments to facilitate understanding by those skilled in the art:

[0033] like Figures 1 to 6 As shown, an electronic lock compatible with left and right opening includes a lock body 1 and a lock tongue seat 2, the lock body 1 is provided with a switch knob 3 for the user to turn to open and close the lock, the switch knob 3 is connected to a coaxially arranged synchronously rotating shaft 4, the lock tongue seat 2 is provided with a lock tongue 5 that can be pushed out / retracted and a first transmission component 6 for driving the lock tongue 5 to be pushed out / retracted, the first transmission component 6 is provided with a first rotating member 61 that can rotate forward / reverse to drive the lock tongue 5 to be pushed out / retracted, and the first rotating member 61 is provided with a front-to-back through-hole for the rotation shaft 4 to be plugged in and connected therein so that the first rotating member 61 and the rotation shaft 4 can rotate synchronously 62, the rotating shaft 4 can be inserted from the front end to the rear end of the plug-in slot 62 so that the lock tongue 5 faces leftward, and can be inserted from the rear end to the front end of the plug-in slot 62 so that the lock tongue 5 faces rightward. The lock body 1 is connected to a driven gear 8 coaxially arranged with the switch knob 3 and capable of forward / reverse rotation through a driving mechanism 7. A circumferential transmission mechanism 9 is provided between the driven gear 8 and the switch knob 3 so that the two can rotate synchronously only after they are relatively rotated into place. The lock body 1 is also provided with a sensing mechanism 10 for sensing whether the driven gear 8 has rotated to a specific position, and the specific position is one or a plurality of identifiable ones.

[0034] As described above, the switch knob 3 of the electronic lock in this case is connected with a coaxially arranged synchronously rotating shaft 4, and the shaft 4 and the lock tongue 5 are connected by the first transmission assembly 6, and the shaft 4 can be inserted into the insertion slot 62 of the first rotating member 61 regardless of whether the lock tongue 5 faces left or right. In this way, when switching to left or right opening, it is only necessary to change the direction in which the shaft 4 is inserted into the insertion slot 62 to change the direction of the lock tongue 5, without the need to disassemble and assemble other key parts, which greatly reduces the operating threshold for switching the door opening direction and greatly reduces the probability that the electronic lock cannot work properly due to errors in disassembling and assembling parts. At the same time, the lock body 1 in this case is also connected to a driven gear 8 that can rotate forward / reverse through a driving mechanism 7, and the driven gear 8 and the switch knob 3 are connected by a circumferential transmission mechanism 9. They can rotate synchronously only after the two rotate to the right relative position. In this way, the switch knob 3 can be rotated manually or through the driving mechanism 7 to switch the lock. In addition, a sensing mechanism 10 is provided in the lock body 1 of the present invention for sensing whether the driven gear 8 has rotated to a specific position, so that the position of the driven gear 8 can be obtained more accurately.

[0035] like Figures 2 to 5 As shown, preferably, the sensing mechanism 10 includes two blocks 101 arranged on the driven gear 8 and rotating synchronously, and two photoelectric sensors 102 arranged in the lock body 1 and can be triggered by the block 101 passing through when rotating. When the driven gear 8 rotates, the moving paths of the two blocks 101 pass through the same circle and the positions of the two blocks 101 have a phase difference of 90°. The two photoelectric sensors 102 are distributed at both ends of a diameter of the circle where the block 101 path is located. The initial position of one of the blocks 101 is located in one of the photoelectric sensors 102. In this way, the two photoelectric sensors 102 will not be triggered at the same time. By comparing the triggering order and the triggering number of the two photoelectric sensors 102, the rotation condition of the driven gear 8 and whether it has reached a specific position can be determined.

[0036] like Figures 2 to 5As shown, preferably, the circumferential transmission mechanism 9 includes a shift block 91 coaxially arranged and synchronously rotated with the switch knob 3, a groove 92 arranged on the driven gear 8 for the shift block 91 to be embedded therein, the shift block 91 is provided with a fan-shaped boss 93, and the groove 92 is provided with a shift surface 94 for contacting the fan-shaped boss 93 so that the switch knob 3 can be driven to rotate by the shift block 91 when the driven gear 8 rotates, and a rotation virtual position 95 is provided between the shift surface 94 and the fan-shaped boss 93 so that the driven gear 8 and the shift block 91 can start to rotate synchronously only after they are relatively rotated into place. In this way, after the driven gear 8 and the shift block 91 are relatively rotated into place, the driven gear 8 and the shift block 91 are synchronously rotated through the contact between the shift surface 94 and the fan-shaped boss 93, so that the switch knob 3 can be driven to rotate by the driven gear 8. In addition, a rotation virtual position 95 is set between the toggle surface 94 and the fan-shaped boss 93. In this way, when the user manually rotates the switch knob 3 to drive the toggle block 91 to rotate, the fan-shaped boss 93 will not immediately contact the toggle surface 94. In this way, the mechanical connection between the driven gear 8 and the driving mechanism 7 will not affect the user's feel when turning the switch knob 3, thereby improving the user's comfort when using it.

[0037] like Figures 1 to 5 As shown, preferably, the insertion slot 62 is a rectangular slot, and the end of the shaft 4 inserted into the insertion slot 62 is provided with a rectangular end portion 41 corresponding to the shape of the insertion slot 62 so that the first rotating member 61 can be driven to rotate when the shaft 4 rotates.

[0038] like Figures 2 to 4 As shown, preferably, the driving mechanism 7 includes a driving motor 71 fixed in the lock body 1 and capable of forward and reverse rotation, and the driving motor 71 is connected to a driving gear 72 that rotates synchronously and meshes with the driven gear 8, so that the driven gear 8 can be driven forward and reverse by the forward and reverse rotation of the driving mechanism 7.

[0039] like Figures 1 to 5 As shown, preferably, a Hall sensor 11 for sensing whether the switch knob 3 is in the unlocking position and a magnet 12 that rotates synchronously with the switch knob 3 to trigger the Hall sensor 11 are also provided in the lock body 1. A switch button 13 for automatically opening / closing the lock after being pressed and a detection button 14 for automatically judging the left or right opening state after entering the detection mode after being pressed are also provided on the lock body 1. In this way, the current switch state of the electronic lock can be obtained through the Hall sensor 11, so that when the user presses the switch button 13, it can be better judged whether the user needs to unlock or lock the lock, thereby avoiding invalid actions of the electronic lock.

[0040] like Figures 1 to 6 As shown, a method for automatically judging whether an electronic lock is opened left or right, which can be applied to the above electronic lock, comprises the following steps:

[0041] Step 1: The driven gear 8 is preset to be in a certain specific position when leaving the factory. This specific position is the center state of the driven gear 8. At this time, no matter the rotating shaft 4 is inserted from the front end to the rear end of the insertion slot 62 or from the rear end to the front end of the insertion slot 62, the time required for the driving mechanism 7 to drive the switch knob 3 to rotate through the driven gear 8 to completely push the lock tongue 5 out from the retracted state is T;

[0042] Step 2: Turn the switch knob 3 to retract the lock tongue 5, and then make the electronic lock enter the automatic left or right opening mode;

[0043] Step 3: The driving mechanism 7 drives the driven gear 8 to rotate forward, and obtains the time T1 from when the driving mechanism 7 drives the driven gear 8 to rotate forward to when the electronic lock is blocked. If T1≥T, jump to step 4; if T1<T, jump to step 5;

[0044] Step 4: Determine that the lock tongue 5 is in the first assembly direction, set the electronic lock to the first assembly direction mode, drive the driven gear 8 to reset to the center state by the driving mechanism 7, and the electronic lock issues a successful judgment prompt and ends the judgment;

[0045] Step 5: The driving mechanism 7 drives the driven gear 8 to reset to the centered state, and the driving mechanism 7 continues to drive the driven gear 8 to reverse, and obtains the time T2 from when the driving mechanism 7 drives the driven gear 8 to reverse until the stall occurs. If T2 ≥ T, jump to step 6, and if T2 < T, jump to step 7;

[0046] Step 6: Determine that the lock tongue 5 is in the second assembly direction, set the electronic lock to the second assembly direction mode, drive the driven gear 8 to reset to the center state by the driving mechanism 7, and the electronic lock issues a successful judgment prompt and ends the judgment;

[0047] Step 7: Perform exception handling.

[0048] As mentioned above, the judgment method of this case only needs to preset the centering state of the driven gear 8 at the factory, so that no matter whether the lock tongue 5 is installed to the left or right, the time required for the drive mechanism 7 to drive the switch knob 3 to rotate through the driven gear 8 to completely push the lock tongue 5 out from the retracted state is T. In this way, when it is necessary to automatically judge the left or right opening direction later, just push the lock tongue 5 to the retracted state and then enter the detection mode, so that the electronic lock can automatically complete the judgment of left or right opening without additional operation. The judgment method of this case compares the time T1 and T2 from the start of the forward / reverse rotation of the driven gear 8 to the stall of the driven gear 8 with the time T required to completely push the lock tongue 5 out. If T1 or T2 is greater than or equal to T, it is determined that the electronic lock is currently in the corresponding assembly direction, and then the electronic lock is set to the mode of the assembly direction and the judgment is terminated after the successful judgment prompt is issued. If T1 and T2 are both less than T, it is determined that the electronic lock is in an abnormal state and then abnormal processing is performed. Through the method of this case, the electronic lock can be automatically set to the corresponding mode without manually adjusting the drive parameters. It is simple and convenient and greatly reduces the operation threshold.

[0049] like Figure 6 As shown, preferably, the exception handling includes: recording the number of times M that the exception handling is entered; if M=1, the drive mechanism 7 works to drive the driven gear 8 to reset to the centered state, and the electronic lock issues a warning prompt and jumps to step three; if M=2, the electronic lock issues a judgment failure prompt and ends the judgment.

[0050] As mentioned above, when performing the exception processing for the first time, the electronic lock will issue a warning prompt to remind the operator to pay attention to the status of the electronic lock and re-execute the judgment. If the judgment still enters the exception processing, a judgment failure prompt will be issued to inform the operator and end the judgment. In this way, the operator can learn from the prompt issued by the electronic lock that there is a certain abnormality in the electronic lock that requires intervention.

[0051] like Figure 6 As shown, preferably, the first assembly direction mode is a right-opening mode and the second assembly direction mode is a left-opening mode; or the first assembly direction mode is a left-opening mode and the second assembly direction mode is a right-opening mode.

[0052] like Figure 6 As shown, preferably, the electronic lock can record the working time of the driving mechanism 7, and the electronic lock can also detect the driving current of the driving mechanism 7 so as to determine that the driven gear 8 is blocked when the driving current exceeds a preset value.

[0053] As mentioned above, this case protects an electronic lock that is compatible with left and right opening and a method for the electronic lock to automatically determine left and right opening. All technical solutions that are the same or similar to this case should be deemed to fall within the scope of protection of this case.

Claims

1. An electronic lock compatible with left and right opening, characterized in that The invention comprises a lock body (1) and a lock tongue seat (2), wherein the lock body (1) is provided with a switch knob (3) for a user to turn the lock on and off, the switch knob (3) is connected to a coaxially arranged synchronously rotating shaft (4), the lock tongue seat (2) is provided with a lock tongue (5) capable of being pushed out / retracted and a first transmission assembly (6) for driving the lock tongue (5) to be pushed out / retracted, the first transmission assembly (6) is provided with a first rotating member (61) capable of forward / reverse rotation to drive the lock tongue (5) to be pushed out / retracted, the first rotating member (61) is provided with a plug-in slot (62) which is through-through and is used for the plug-in connection of the rotating shaft (4) therein so as to facilitate the synchronous rotation of the first rotating member (61) and the rotating shaft (4), The rotating shaft (4) can be inserted from the front end to the rear end of the plug-in slot (62) so that the lock tongue (5) faces leftward, and can be inserted from the rear end to the front end of the plug-in slot (62) so that the lock tongue (5) faces rightward. The lock body (1) is connected to a driven gear (8) coaxially arranged with the switch knob (3) and capable of forward / reverse rotation through a driving mechanism (7). A circumferential transmission mechanism (9) is provided between the driven gear (8) and the switch knob (3) so that the two can rotate synchronously only after they are relatively rotated to a certain position. The lock body (1) is also provided with a sensing mechanism (10) for sensing whether the driven gear (8) has rotated to a specific position, and the specific position is one or a plurality of positions that can be identified respectively. The driving mechanism (7) comprises a driving motor (71) fixed in the lock body (1) and capable of forward and reverse rotation, and the driving motor (71) is connected to a driving gear (72) that rotates synchronously and meshes with the driven gear (8); The lock body (1) is also provided with a Hall sensor (11) for sensing whether the switch knob (3) is in an unlocked position and a magnet (12) that rotates synchronously with the switch knob (3) to trigger the Hall sensor (11). The lock body (1) is also provided with a switch button (13) for automatically opening / closing the lock when pressed, and a detection button (14) for automatically determining the left or right opening state when pressed to enter a detection mode.

2. The electronic lock compatible with left and right opening according to claim 1, characterized in that The sensing mechanism (10) comprises two blocks (101) arranged on the driven gear (8) and rotating synchronously, and two photoelectric sensors (102) arranged in the lock body (1) and triggered by the blocks (101) passing through when the blocks (101) rotate, wherein the moving paths of the two blocks (101) pass through the same circle when the driven gear (8) rotates and the positions of the two blocks (101) have a phase difference of 90°, and the two photoelectric sensors (102) are distributed at both ends of a diameter of the circle where the block (101) path is located, and the initial position of one of the blocks (101) is located in one of the photoelectric sensors (102).

3. The electronic lock compatible with left and right opening according to claim 1, characterized in that The circumferential transmission mechanism (9) comprises a shifting block (91) coaxially arranged with the switch knob (3) for synchronous rotation, a groove (92) arranged on the driven gear (8) for the shifting block (91) to be embedded therein, a fan-shaped boss (93) arranged on the shifting block (91), a shifting surface (94) convenient for contacting the fan-shaped boss (93) so as to drive the switch knob (3) to rotate through the shifting block (91) when the driven gear (8) rotates, and a rotation virtual position (95) is arranged between the shifting surface (94) and the fan-shaped boss (93) so as to start synchronous rotation only after the driven gear (8) and the shifting block (91) are relatively rotated to a certain position.

4. The electronic lock compatible with left and right opening according to claim 1, characterized in that The insertion slot (62) is a rectangular slot, and the end of the rotating shaft (4) inserted into the insertion slot (62) is provided with a rectangular end portion (41) corresponding to the shape of the insertion slot (62) so that the first rotating member (61) can be driven to rotate when the rotating shaft (4) rotates.

5. A method for automatically judging whether an electronic lock is opened left or right that can be applied to the electronic lock described in any one of claims 1 to 4, characterized in that The following steps are involved: Step 1: The driven gear (8) is preset at a certain specific position when leaving the factory. This specific position is the center state of the driven gear (8). At this time, no matter the rotating shaft (4) is inserted from the front end to the rear end of the plug slot (62) or from the rear end to the front end of the plug slot (62), the time required for the driving mechanism (7) to drive the switch knob (3) to rotate through the driven gear (8) and completely push the lock tongue (5) out from the retracted state is T; Step 2: Turn the switch knob (3) to retract the lock tongue (5), and then make the electronic lock enter the automatic left or right opening mode; Step 3: The driving mechanism (7) drives the driven gear (8) to rotate forward, and obtains the time T1 from the time when the driving mechanism (7) drives the driven gear (8) to rotate forward to the time when the electronic lock is blocked. If T1≥T, jump to step 4; if T1<T, jump to step 5; Step 4: determining that the lock tongue (5) is in the first assembly direction, setting the electronic lock to the first assembly direction mode, the driving mechanism (7) drives the driven gear (8) to reset to the center state, and the electronic lock issues a successful determination prompt and ends the determination; Step 5: The driving mechanism (7) drives the driven gear (8) to reset to the centered state, and the driving mechanism (7) continues to drive the driven gear (8) to reverse, and obtains the time T2 elapsed from the driving mechanism (7) driving the driven gear (8) to reverse until the stall occurs. If T2 ≥ T, jump to step 6, and if T2 < T, jump to step 7; Step 6: Determine that the lock tongue (5) is in the second assembly direction, set the electronic lock to the second assembly direction mode, drive the driven gear (8) to reset to the center state by the drive mechanism (7), and the electronic lock issues a successful determination prompt and ends the determination; Step 7: Perform exception handling.

6. The method for automatically judging whether an electronic lock is opened left or right according to claim 5, characterized in that The exception handling includes: Record the number of times M that exception processing is entered; If M=1, the driving mechanism (7) drives the driven gear (8) to reset to the center state, and the electronic lock issues a warning prompt and jumps to step three; If M=2, the electronic lock issues a judgment failure prompt and ends the judgment.

7. The method for automatically judging whether an electronic lock is opened left or right according to claim 5, characterized in that The first assembly direction mode is a right-opening mode, and the second assembly direction mode is a left-opening mode; Or the first assembly direction mode is a left-opening mode, and the second assembly direction mode is a right-opening mode.

8. The method for automatically judging whether an electronic lock is opened left or right according to claim 5, characterized in that The electronic lock is capable of recording the working time of the driving mechanism (7), and is also capable of detecting the magnitude of the driving current of the driving mechanism (7) so as to determine that the driven gear (8) is blocked when the driving current exceeds a preset value.

Citation Information

Patent Citations

  • Intelligent door lock door direction calibration method and system and intelligent door lock

    CN114233112A

  • Electronic lock compatible with left unlocking and right unlocking

    CN217538248U

  • Electric lock device

    US20190383061A1