Electronic lock
By setting a socket and conductive contacts on the knob of the electronic lock to be compatible with the electronic key, the transmission of electrical energy and signals is realized, which solves the problems of large size and high cost of existing electronic locks, simplifies the structure, reduces the trouble of replacing batteries, and improves the convenience of use.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- 肖志军
- Filing Date
- 2025-05-08
- Publication Date
- 2026-04-24
AI Technical Summary
Existing electronic locks have batteries and human-machine interfaces that occupy a large amount of internal space and are costly. Replacing or charging the batteries is troublesome, and the unlocking mechanism is complex, making it difficult to reduce costs.
The knob of the electronic lock is equipped with a slot that is compatible with the electronic key. Electrical energy and signal transmission are achieved through conductive contacts. The tripping structure and electric drive mechanism are located outside the knob, and the knob is separated from the lock body, which simplifies the structure.
It reduces the size and cost of electronic locks, eliminates the hassle of replacing batteries in the lock body, improves ease of use, and has strong compatibility and adaptability through the USB-A interface.
Smart Images

Figure CN224161565U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lock technology, and more particularly to an electronic lock. Background Technology
[0002] With the advancement of technology, the application of electronic locks is becoming increasingly widespread. Electronic locks require electrical power to operate; small electronic locks are generally battery-powered, and the batteries in existing electronic locks are usually housed within the lock body. Typically, a human-operated interface is located on the lock body, allowing users to unlock by entering a password or fingerprint. The batteries and human-operated interface of existing electronic locks occupy internal space, resulting in large size, high cost, and inconvenient battery replacement or charging. Currently, most small electronic locks use electrically driven unlocking mechanisms, which require high power output and consume a significant amount of electricity. This high power also places high demands on the unlocking mechanism, all of which hinders cost reduction for small electronic locks. Some existing electronic locks also employ electrically driven triggering followed by manual rotation for unlocking. However, in these technologies, the triggering structure and electric drive mechanism are housed within a rotating unlocking component. The small diameter and short length of this rotating unlocking component result in a complex structure, high production costs, and also hinder the widespread adoption of electronic locks. Summary of the Invention
[0003] To address the shortcomings of existing technologies, this application proposes an electronic lock. The electronic lock's knob has a slot adapted for an electronic key. Electrical connections between the electronic key and the lock body are achieved through conductive contacts. A conductive path for transmitting electrical energy and signals is formed between the electronic key and the lock body. The electronic key functions as both the lock and unlock mechanism, providing power to the lock body and transmitting unlocking information. It also drives the knob to rotate and unlock, thus separating the battery, the human-lock interface, and the lock body. Furthermore, the triggering structure and power drive mechanism of this electronic lock are located externally on the knob, resulting in a simple knob structure. This solves the problems of large lock body size, high cost, and cumbersome battery replacement in existing electronic locks.
[0004] To achieve the above objectives, the technical solution of this application is as follows:
[0005] An electronic lock includes a lock body; the lock body includes a knob, a control panel, a locking element, a lock housing, and a bolt; the knob is provided with a key socket; the key socket is provided with a contact electrode for forming a conductive path with an electronic key; the contact electrode is electrically connected to the control panel; the knob is rotatably mounted inside the lock housing; the control panel and the locking element are installed inside the lock housing, and the locking element is located outside the knob; the control panel is used to control the movement of the locking element; when the locking element is moved to the unlocked position, the knob can rotate, causing the bolt to unlock.
[0006] Optionally, the locking element is a locking bolt; the lock housing is provided with a locking groove, and the knob is provided with a locking notch, with the locking groove and the locking notch corresponding to each other; when the locking bolt is inserted into the locking groove and the locking notch, it is in the locked position, and the locking bolt prevents the knob from rotating; the bolt is connected to the knob; when the locking bolt is disengaged from the locking notch, it is in the unlocked position, and the knob can rotate, thereby unlocking the bolt.
[0007] Optionally, the locking element is a clutch bolt; a linkage sleeve is sleeved on the outside of the knob; the linkage sleeve is rotatably connected to the knob and rotatably connected to the lock housing; the lock tongue is connected to the linkage sleeve; when the clutch bolt moves to the linkage position of the knob and the linkage sleeve, it is in the unlocked position, and the rotation of the knob can drive the linkage sleeve to rotate, and the linkage sleeve drives the lock tongue to unlock.
[0008] Optionally, the lock body is provided with two conductive brushes electrically connected to the control board; the outer wall of the knob is provided with two conductive rings; there are two contact electrodes; the two conductive rings are electrically connected to the two contact electrodes one by one; the two conductive rings are used to maintain electrical connection with the two conductive brushes when the knob is rotated.
[0009] Optionally, the key socket and the knob share a common rotation axis; there are two contact electrodes; the two contact electrodes are arranged parallel to the rotation axis of the knob.
[0010] Optionally, it also includes a drive assembly; the drive assembly is movably installed inside the lock housing; the locking element is a locking bolt; the locking bolt is disposed on the drive assembly; the control board is electrically connected to the drive assembly; the knob is provided with a locking notch; the locking notch is adapted to the locking bolt; the locking bolt and the locking notch are disposed opposite to each other.
[0011] Optionally, the lock housing is provided with a locking groove; the locking groove is located between the locking bolt and the locking notch; the locking bolt moves along the locking groove toward or away from the locking notch; an arc-shaped limiting boss is provided inside the lock housing; the locking groove is the notch in the middle of the arc-shaped limiting boss; a C-shaped guide rail is provided on the side wall of the knob; the arc-shaped limiting boss is adapted to the C-shaped guide rail; the knob rotates within the arc-shaped limiting boss.
[0012] Optionally, the two conductive rings are C-shaped; the two conductive rings are arranged parallel to each other; the two conductive rings are respectively arranged around the side wall of the knob.
[0013] Optionally, the side wall of the knob has two C-shaped grooves for mounting conductive rings.
[0014] Optionally, it also includes an initialization button; a button hole is provided on the lock housing; the initialization button is installed in the button hole; the initialization button is electrically connected to the control board.
[0015] The beneficial effects of this application are:
[0016] 1. The electronic lock has a socket on its knob that is compatible with the electronic key. Electrical connection between the electronic key and the lock body is achieved through conductive contacts. A conductive path for transmitting electrical energy and signals is formed between the electronic key and the lock body. The electronic key functions as both the lock and unlock mechanism, while also supplying power to the lock body and transmitting information. This allows the battery, the human-lock interface, and the lock body to be separated. Furthermore, the triggering mechanism and the electric drive mechanism of the electronic lock are located outside the knob. The knob structure is simple, reducing the size and cost of the electronic lock and eliminating the hassle of replacing batteries in the lock body. When the electronic key is not inserted, the lock body is not powered, further increasing energy efficiency.
[0017] 2. The electronic lock's knob and electronic key are each equipped with a matching insulator and a plug-in port. After the electronic key is inserted into the knob's port, the contact electrode on the insulator is electrically connected to the contact electrode on the plug-in port. This forms a conductive path for transmitting electrical energy and signals between the electronic key and the lock body, enabling the electronic key to power the lock body. The power supply, the human-lock interaction interface, and the lock body are separated, reducing the size and cost of the electronic lock and eliminating the hassle of replacing batteries. Furthermore, the lock body and key's connectors use a USB-A-like interface, which is technologically mature, highly compatible, and facilitates the widespread use of electronic locks.
[0018] 3. The electronic lock's knob has two conductive rings on its side wall. Each conductive ring is electrically in contact with one of the two conductive brushes. The two conductive rings can rotate relative to the two conductive brushes as the knob rotates. During rotation, the conductive rings and conductive brushes maintain the electrical connection between the electronic key and the control board. The electronic key and the control board remain conductive, enabling the electronic key to power the control board. The lock body does not need a separate power supply for the control board, reducing the lock body's size and cost, and eliminating the hassle of replacing batteries. Attached Figure Description
[0019] Figure 1 This is a three-dimensional structural diagram of the electronic lock in this application.
[0020] Figure 2 This is a three-dimensional structural diagram of the internal components of the electronic lock body in this application.
[0021] Figure 3 for Figure 2 A three-dimensional structural diagram of the central knob 11, control panel 12, and drive assembly 13.
[0022] Figure 4 for Figure 2 A first-person perspective three-dimensional structural diagram of the central knob component 11.
[0023] Figure 5 for Figure 2 A second-view three-dimensional structural diagram of the central knob component 11.
[0024] Figure 6 for Figure 2 A schematic diagram of the assembly structure of the central knob 11 and the conductive ring 17.
[0025] Figure 7 This is a three-dimensional structural diagram of the fixing base 141 in this application.
[0026] Figure 8 This is a three-dimensional structural diagram of the back cover 142 in this application.
[0027] Figure 9 This is a three-dimensional structural diagram of the first embodiment of the locking tongue 16 in this application.
[0028] Figure 10 This is a three-dimensional structural diagram of the second embodiment of the locking tongue 16 in this application.
[0029] Figure 11 This is a three-dimensional structural diagram of the first embodiment of the locking element in this application.
[0030] Figure 12 This is a cross-sectional structural diagram of the locking element in the second embodiment of the present application in the locked state.
[0031] Figure 13 This is a cross-sectional structural diagram of the locking element in the second embodiment of the present application in the unlocked state.
[0032] Figure 14 This is a cross-sectional structural diagram of the unlocking process of the locking element in the third embodiment of this application.
[0033] Figure 15 This is a cross-sectional structural diagram of the locking process of the locking element in the third embodiment of this application.
[0034] Figure 16 This is a schematic diagram of the electronic lock control circuit of this application.
[0035] Figure 17 for Figure 16 Circuit diagram of the first embodiment of the key terminal control module 10.
[0036] Figure 18 for Figure 16 Circuit diagram of the first embodiment of the central locking body control module 20.
[0037] Figure 19 for Figure 16 Circuit diagram of the second embodiment of the key terminal control module 10.
[0038] Figure 20 for Figure 16 Circuit diagram of the second embodiment of the central locking body control module 20.
[0039] Figure 21 This is a timing diagram of the normal communication between the key end control module 10 and the lock body end control module 20.
[0040] Figure 22 This is a timing diagram of motor communication between the key end control module 10 and the lock body end control module 20.
[0041] in, Figures 1 to 22 The attached figures are labeled as follows:
[0042] Lock body 1; Electronic key 2;
[0043] 11. Knob; 12. Control panel; 13. Drive assembly; 14. Lock housing; 15. Lock bolt; 16. Lock tongue; 17. Conductive ring; 18. Conductive brush; 19. Key socket;
[0044] First conductive contact 191; Second conductive contact 21; Insulator 192; Plug-in port 22;
[0045] Locking notch 111; C-shaped guide rail 112; Groove 113; Limiting cover 114; C-shaped groove 115; Limiting protrusion 116;
[0046] Motor 131; Drive shaft 132; First spring 133; Drive frame 134; Transmission component 135; Pin 136;
[0047] Mounting bracket 141; back cover 142;
[0048] Second mounting through hole 1421; semi-circular limiting boss 1422;
[0049] First mounting through hole 1411; locking groove 1412; arc-shaped limiting boss 1413;
[0050] Clutch drive component 41; Clutch limit ring 42; Clutch bolt 43; Second spring 44; Linkage sleeve 45; Eccentric cam 46;
[0051] Key end control module 10; Lock body end control module 20;
[0052] First control unit 101; power switch 102; power supply unit 103; current limiting unit 104;
[0053] Second control unit 201; drive unit 202; energy storage unit 203; isolation unit 204. Detailed Implementation
[0054] The present application will be further described below with reference to the accompanying drawings and embodiments.
[0055] like Figure 1 As shown, an electronic lock includes a lock body 1 and an electronic key 2.
[0056] See Figures 2 to 5 As shown, the lock body 1 includes a knob 11, a control plate 12, a drive assembly 13, a lock housing 14, and a locking element.
[0057] The knob 11 is provided with a key socket 19 (see Figure 5 ); the key connector 19 is compatible with the electronic key 2.
[0058] See Figure 4 The key socket 19 is provided with a first conductive contact 191 for forming a conductive path with the electronic key 2; the electronic key 2 is provided with a second conductive contact 21; the first conductive contact 191 and the second conductive contact 21 are adapted to each other; the first conductive contact 191 is electrically connected to the control board 12.
[0059] The control board 12 is electrically connected to the drive assembly 13; the drive assembly 13 is connected to the locking element; the control board 12 controls the drive assembly 13 to move, thereby driving the locking element to move.
[0060] The control panel 12 is installed inside the lock housing 14; the drive assembly 13 is movably installed inside the lock housing 14; the knob 11 is rotatably installed inside the lock housing 14; the key socket 19 protrudes outside the lock housing 14; a latch 16 is mounted on the knob 11; the latch 16 is located outside the lock housing 14. The control panel 12 and the locking element are located outside the knob 11.
[0061] When the locking element is moved to the unlocked position, the knob 11 can rotate, causing the bolt 16 to unlock.
[0062] The electronic key 2 has a power supply installed inside; this power supply is electrically connected to the first conductive contact 191 through the second conductive contact 21.
[0063] Electronic key 2 is used to power control panel 12 and rotate knob 11. Optionally, electronic key 2 is also used to transmit information to control panel 12. Knob 11 is used to actuate latch 16. Control panel 12 is used to control drive frame 134 of drive assembly 13 (see...). Figure 3 The knob moves toward or away from the knob 11, thereby driving the control locking mechanism to lock or unlock the knob 11.
[0064] Optionally, the first conductive contact 191 and the second conductive contact 21 each have two contact electrodes, positive and negative, which can form a conductive path when they come into contact with each other.
[0065] When locking, the electronic key 2 is inserted into the key socket 19. At this time, the second conductive contact 21 of the electronic key 2 is electrically connected to the first conductive contact 191 in the key socket 19. The electronic key 2 supplies power to the control board 12 through the second conductive contact 21 and the first conductive contact 191. The knob 11 is rotated in the locking direction by the electronic key 2, so that the bolt 16 is in the locked position. At this time, the locking notch 111 on the knob 11 faces the locking bolt 15. After receiving the locking command sent by the electronic key 2, the control board 12 controls the drive frame 134 to move toward the locking notch 111; or the first spring 133 presses the drive frame 134 to move toward the locking notch 111. The drive frame 134 drives the locking bolt 15 to move toward the locking notch 111. The locking bolt 15 is inserted into the locking notch 111, locking the knob 11, so that the knob 11 cannot be rotated in the unlocking direction, thus achieving locking.
[0066] When unlocking, the electronic key 2 is inserted into the key socket 19. At this time, the second conductive contact 21 of the electronic key 2 is electrically connected to the first conductive contact 191. The electronic key 2 supplies power to the control board 12 through the second conductive contact 21 and the first conductive contact 191, and sends an unlocking command to the control board 12. After the control board 12 recognizes that the unlocking command is correct, it controls the drive frame 134 of the drive assembly 13 to move away from the locking notch 111. The drive frame 134 drives the locking bolt 15 to move away from the locking notch 111, and the locking bolt 15 disengages from the locking notch 111. At this time, the control board 12 sends an unlocked signal to the electronic key 2. Then, the electronic key 2 issues an unlocking prompt. At this time, by rotating the knob 11 in the unlocking direction with the electronic key 2, the bolt 16 is disengaged from the locked position, and the lock is unlocked.
[0067] Optionally, the electronic key 2 can issue an unlocking prompt by lighting up a light or emitting a sound to remind the user that the lock can be opened.
[0068] In this application, no power supply is required inside the lock body 1. A conductive path is formed between the first conductive contact 191 and the second conductive contact 21, so that the electronic key 2 supplies power to the control board 12. This can reduce the size of the lock body 1, reduce the cost of the lock, and eliminate the hassle of replacing or charging the battery in the lock body 1, making it convenient to use.
[0069] In some implementations, such as Figure 4 and Figure 5 As shown, the knob 11 is cylindrical. A key socket 19 is located at one end of the knob 11, and a latch 16 is installed at the other end of the knob 11. Optionally, the knob 11 is cylindrical.
[0070] In some implementations, the key socket 19 and the knob 11 share a common rotation axis.
[0071] In some embodiments, the two contact electrodes inside the key socket 19 are arranged parallel to the rotation axis of the knob 11.
[0072] In some embodiments, the two contact electrodes in the key socket 19 are arranged symmetrically to the rotation axis of the knob 11.
[0073] In some implementations, such as Figure 4 and Figure 5 As shown, the key socket 19 has a rectangular cross-section and contains an insulator 192. The insulator 192 extends into the key socket 19. One end of the electronic key 2 is a plug-in port 22 that is adapted to the insulator 192.
[0074] The first conductive contact 191 is mounted on the insulator 192. The second conductive contact 21 is mounted inside the plug-in port 22. The positive and negative terminals of the power supply inside the electronic key 2 are electrically connected to the two contact electrodes of the second conductive contact 21 inside the plug-in port 22, respectively. The two contact electrodes are positive and negative electrodes, respectively. The first conductive contact 191 and the second conductive contact 21 each have two parallel and symmetrically arranged contact electrodes.
[0075] In this embodiment, the key connector 19 and the plug-in connector 22 are similar in shape to a USB interface. A conventional USB interface has four contact electrodes: two positive and two negative electrodes, and two signal electrodes. In this application, the key connector 19 and the plug-in connector 22 have only two contact electrodes, which can reduce the size of the lock body 1 and lower the cost of the lock. Since the amount of data information that the electronic lock needs to transmit is not large, and the time required for the high-current rotation of the electronic lock motor is very short (generally less than 0.5 seconds), in this application, while the electronic key supplies power to the control board through two contact electrodes, when data transmission is required, the electronic key only needs to use time-division multiplexing technology to give the control board a brief pulse signal. Data transmission is not performed when the motor is rotating, and data transmission is performed when the motor stops rotating. This ensures both the power supply requirements of the control board and the data transmission requirements.
[0076] In some implementations, such as Figure 4 and Figure 5 As shown, a groove 113 is formed on the side wall of the knob 11; the groove 113 communicates with the key socket 19; the insulator 192 is installed in the groove 113. A limit cover 114 is installed on the opening of the groove 113. The limit cover 114 restricts the movement of the insulator 192.
[0077] Optionally, the limiting cover 114 is fastened to the opening of the groove 113 by a snap-fit structure.
[0078] In some implementations, such as Figure 6As shown, two conductive rings 17 are mounted on the side wall of the knob 11. Two conductive brushes 18 are mounted on the control plate 12. The two conductive brushes 18 are electrically connected to the control plate 12. The two conductive brushes 18 are parallel to each other. Two conductive rings 17 are arranged around the side wall of the knob 11. Each conductive ring 17 corresponds to one of the two conductive brushes 18. Each conductive ring 17 is in electrical contact with one of the two conductive brushes 18. Each conductive ring 17 is electrically connected to one of the two contact electrodes on the insulator 192. The two conductive rings 17 can rotate relative to the two conductive brushes 18 as the knob 11 rotates. The two conductive rings 17 are used to maintain electrical connection with the two conductive brushes 18 when the knob 11 rotates.
[0079] Optionally, two conductive brushes 18 are vertically mounted on the control panel 12.
[0080] Optionally, one end of each of the two conductive brushes 18 rests against the surface of one of the two C-shaped conductive sheets 17.
[0081] Optionally, the conductive ring 17 is an open ring.
[0082] Optionally, such as Figure 6 As shown, the conductive ring 17 is C-shaped.
[0083] Optionally, see Figure 11 As shown, the side wall of the knob 11 has two C-shaped grooves 115; the two C-shaped grooves 115 are parallel to each other and surround the side wall of the knob 11. See also Figure 6 As shown, two C-shaped conductive rings 17 are respectively installed in two C-shaped grooves 115.
[0084] Optionally, the two C-shaped grooves 115 are connected to the recess 113 via wire grooves. Wires are laid in the wire grooves. The two conductive rings 17 are electrically connected to the two contact electrodes on the insulator 192 one by one through the wires.
[0085] In this embodiment, during the rotation of the knob 11, the conductive ring 17 and the conductive brush 18 ensure that the electronic key 2 can maintain an electrical connection with the control board 12, so that while manually unlocking, the electronic key 2 can supply power to the control board 12 and transmit information.
[0086] In some implementations, such as Figure 11 As shown, the locking element is a locking bolt 15. The locking bolt 15 is disposed on the drive assembly 13; the knob 11 is provided with a locking notch 111; the locking notch 111 is adapted to the locking bolt 15; the locking bolt 15 and the locking notch 111 are disposed opposite to each other.
[0087] A protruding C-shaped guide rail 112 is provided around the side wall of the knob 11. The notch at one end of the C-shaped guide rail 112 is a locking notch 111.
[0088] Optionally, such as Figure 7 As shown, the lock housing 14 has a locking groove 1412. The locking groove 1412 is located between the locking bolt 15 and the locking notch 111. One end of the locking bolt 15 is located in the locking groove 1412. The locking bolt 15 moves along the locking groove 1412 toward or away from the locking notch 111.
[0089] Optionally, the lock housing 14 has an arc-shaped limiting boss 1413 protruding inside. The locking groove 1412 is a notch in the middle of the arc-shaped limiting boss 1413.
[0090] The arc-shaped limiting boss 1413 is adapted to the C-shaped guide rail 112. The knob 11 rotates within the arc-shaped limiting boss 1413.
[0091] In some implementations, such as Figure 2 and Figure 3 As shown, the drive assembly 13 includes a motor 131, a drive shaft 132, a first spring 133, and a drive frame 134.
[0092] The control board 12 is electrically connected to the motor 131. The shaft of the motor 131 is connected to the drive shaft 132 via a transmission component 135. A first spring 133 is sleeved on the drive shaft 132. A drive frame 134 is movably sleeved on the drive shaft 132. A pin 136 for driving the first spring 133 is provided on the side wall of the drive shaft 132. A locking bolt 15 is mounted on the drive frame 134.
[0093] When the motor 131 drives the drive shaft 132 to rotate in the unlocking direction, the pin 136 presses the first spring 133 to move in the unlocking direction. The first spring 133 presses one end of the drive frame 134, causing the drive frame 134 to drive the locking bolt 15 to move away from the locking notch 111, thereby unlocking.
[0094] When the motor 131 drives the drive shaft 132 to rotate in the opposite direction of unlocking, the pin 136 presses the first spring 133 to move in the locking direction. The first spring 133 presses the other end of the drive frame 134, causing the drive frame 134 to move the locking bolt 15 toward the locking notch 111, thereby achieving locking.
[0095] Optionally, such as Figure 3 As shown, the transmission component 135 is a gear set. The drive frame 134 is located on the side wall of the motor 131. The drive shaft 132 is arranged parallel to the rotating shaft of the motor 131. The rotating shaft of the motor 131 is connected to the drive shaft 132 through the gear set. The drive shaft 132 is mounted on the end of the drive frame 134 facing away from the locking notch 111. The locking bolt 15 is mounted on the end of the drive frame 134 facing the locking notch 111.
[0096] In some implementations, such as Figure 12 and Figure 13 As shown, the locking element is a clutch structure. The locking element includes a clutch limit ring 42, a clutch bolt 43, and a second spring 44.
[0097] A linkage sleeve 45 is fitted over the knob component 11. A clutch limiting ring 42 is fitted over the linkage sleeve 45. There is a gap between the linkage sleeve 45 and the clutch limiting ring 42, which is the linkage position. A clutch bolt notch is provided on the side wall of the knob component 11. A first through hole is provided on the side wall of the linkage sleeve 45. A second through hole is provided on the side wall of the clutch limiting ring 42. The clutch bolt notch, the first through hole, and the second through hole are respectively adapted to the clutch bolt 43. The clutch bolt 43 is installed in the first through hole. A second spring 44 is fitted over the clutch bolt 43. One end of the clutch bolt 43 is provided with a spring limiting flange. One end of the second spring 44 abuts against the spring limiting flange, and the other end abuts against the outer wall of the linkage sleeve 45.
[0098] When the clutch drive component 41 pushes the clutch bolt 43 to move, the second spring 44 contracts. When the clutch drive component 41 extends into the second through hole, the clutch bolt 43 moves into the first through hole and the clutch bolt notch. At this time, the clutch bolt 43 is in the linkage position. Rotating the knob component 11 can drive the linkage sleeve 45 to rotate, and the linkage sleeve 45 drives the lock tongue to rotate, thus unlocking.
[0099] The clutch drive element 41 moves away from the second through hole, and the clutch drive element 41 disengages from the second through hole. At this time, as... Figure 13 As shown, rotating the knob 11 causes the linkage sleeve 45 and clutch bolt 43 to rotate. When the clutch bolt 43 faces the second through hole, the second spring 44 returns to its original position, causing the clutch bolt 43 to disengage from the clutch bolt notch and extend into the second through hole. The clutch bolt 43 disengages from the linkage position and is in the locked position. At this time, rotating the knob 11 causes it to spin freely and cannot drive the linkage sleeve 45 to rotate, thus achieving locking.
[0100] In some implementations, such as Figure 14 and Figure 15 As shown, the locking element is a clutch structure. The locking element includes a clutch bolt 43 and a second spring 44.
[0101] A cavity is provided inside the knob component 11. A cam baffle is provided inside the cavity. An eccentric cam 46 is installed inside the cavity. A clutch bolt 43 is disposed inside the cavity. A second spring 44 is sleeved on the clutch bolt 43. One end of the clutch bolt 43 is provided with a spring limiting flange. One end of the second spring 44 abuts against the spring limiting flange, and the other end abuts against the inner wall of the linkage sleeve 45. The linkage sleeve 45 is sleeved on the knob component 11. A first through hole is provided on the side wall of the linkage sleeve 45. A third through hole is provided on the side wall of the knob component 11. The first through hole and the third through hole are respectively adapted to the clutch bolt 43. One end of the clutch bolt 43 is disposed in the third through hole. A locking tongue is installed on the linkage sleeve 45.
[0102] like Figure 14 As shown, when the first and third through holes are opposite each other, the drive assembly 13 drives the eccentric cam 46 to rotate eccentrically within the cavity. When the eccentric cam 46 moves toward the clutch bolt 43, it compresses the clutch bolt 43, and one end of the clutch bolt 43 extends into the first through hole. At this time, the clutch bolt 43 is in the linkage position. Rotating the knob 11 can drive the linkage sleeve 45 to rotate, and the linkage sleeve 45 drives the lock tongue to rotate, thus unlocking.
[0103] like Figure 15 As shown, rotating the knob 11 in the opposite direction causes the linkage sleeve 45 to rotate, which in turn rotates the latch to the locked position. The drive assembly 13 then drives the eccentric cam 46 to move away from the clutch bolt 43 within the cavity. The second spring 44 compresses the clutch bolt 43 to reset it until the eccentric cam 46 contacts the cam stop and stops moving. At this point, one end of the clutch bolt 43 disengages from the first through hole. When the knob 11 is rotated, it spins freely and cannot drive the linkage sleeve 45 to rotate, thus achieving locking.
[0104] In some implementations, such as Figure 7 and Figure 8 As shown, the lock case 14 includes a mounting base 141 and a back cover 142.
[0105] The mounting base 141 has a first mounting through hole 1411. The rear cover 142 has a second mounting through hole 1421. The knob 11 is rotatably mounted in the first mounting through hole 1411 and the second mounting through hole 1421. The key socket 19 protrudes from the mounting base 141 through the first mounting through hole 1411. One end of the knob 11, where the locking tongue 16 is mounted, protrudes from the rear cover 142 through the second mounting through hole 1421.
[0106] Optionally, such as Figure 7 As shown, the locking groove 1412 is provided on the fixing base 141. The locking groove 1412 is located at the edge of the first mounting through hole 1411.
[0107] Optionally, such as Figure 7 As shown, the arc-shaped limiting boss 1413 is located at the edge of the first mounting through hole 1411. The arc-shaped limiting boss 1413 is arranged around the first mounting through hole 1411.
[0108] In some implementations, such as Figure 7 and Figure 8 As shown, the mounting base 141 or the rear cover 142 is provided with a motor mounting slot, a control board mounting slot, a drive shaft mounting slot, and a drive frame guide slot.
[0109] The motor 131, control board 12, drive shaft 132, and drive frame 134 are respectively installed in the motor mounting slot, control board mounting slot, drive shaft mounting slot, and drive frame guide slot.
[0110] The motor mounting slot is located above the control board mounting slot. The control board mounting slot is located above the first mounting through hole 1411. The drive shaft mounting slot is located within the drive frame guide slot. The drive frame 134 is provided with a clearance slot. The clearance slot is larger than the drive shaft mounting slot. The drive shaft mounting slot is located within the clearance slot. The length of the drive frame guide slot is greater than the length of the drive frame 134, allowing the drive frame 134 to slide within the drive frame guide slot.
[0111] In some embodiments, a shaft notch is provided on one side of the motor mounting slot. The shaft notch is located on the side of the motor mounting slot opposite to the first mounting through hole 1411. The shaft of the motor 131 extends out of the motor mounting slot through the shaft notch.
[0112] A drive shaft notch is provided on one side of the drive frame guide groove. The drive shaft notch and the shaft notch are on the same side. The drive shaft 132 extends out of the drive frame guide groove through the drive shaft notch.
[0113] In some implementations, such as Figure 8 As shown, a semi-circular limiting boss 1422 is provided on the inner surface of the rear cover 142. The semi-circular limiting boss 1422 is arranged around the second mounting through hole 1421. Figure 6 The side wall of the knob 11 is provided with a limiting protrusion 116. A semi-circular limiting boss 1422 is adapted to the limiting protrusion 116. The semi-circular limiting boss 1422 and the limiting protrusion 116 are arranged on the same circle. The semi-circular limiting boss 1422 and the limiting protrusion 116 limit the rotation angle of the knob 11 to no more than 180 degrees.
[0114] In some implementations, such as Figure 4 As shown, the side wall of one end of the knob 11 is provided with threads. The locking tongue 16 is sleeved on the threaded end of the knob 11 and fixed to the knob 11 by a nut.
[0115] Optionally, such as Figure 9 As shown, the latch 16 is plate-shaped. The latch 16 is parallel to the surface of the lock housing 14. The latch 16 rotates around the axis of the knob 11.
[0116] Optionally, such as Figure 10 As shown, the latch 16 is cylindrical. The latch 16 is perpendicular to the surface of the lock housing 14. The latch 16 rotates around the axis of the knob 11.
[0117] In some embodiments, the electronic lock also includes an initialization button. A button hole is provided on the lock housing 14. The initialization button is installed inside the button hole. The initialization button is electrically connected to the control board 12. When the electronic key 2 powers on the control board 12, pressing and holding the initialization button restores the password key stored on the control board 12 to its factory default state.
[0118] Based on the same technical concept, this application also provides an electronic lock control circuit, which is applied to an electronic lock, such as... Figure 16 As shown, the electronic lock control circuit includes a key end control module 10 and a lock body end control module 20.
[0119] The key control module 10 is installed on the electronic key 2 (see...) Figure 4 The lock body control module 20 is installed inside the control board 12 (see) inside the lock body 1. Figure 6 )superior.
[0120] The key end control module 10 and the lock body end control module 20 are electrically connected via an electrode interface. The key end control module 10 supplies power to the lock body end control module 20 and transmits data with it. The lock body end control module 20 is used to control the locking or unlocking of the lock body 1.
[0121] Optionally, the key end control module 10 uses time-division multiplexing to transmit data with the lock body end control module 20.
[0122] Optionally, the key end control module 10 sends a drive command to the lock body end control module 20; after completing the drive control, the lock body end control module 20 returns status data to the key end control module 10.
[0123] Optionally, the driving instructions include unlocking instructions and locking instructions, etc.
[0124] Optionally, the status data includes unlocked and locked states, etc.
[0125] In this embodiment, the key end control module 10 and the lock body end control module 20 are electrically connected via an interface protocol. After the electrode interface is electrically connected, a conductive path for transmitting electrical energy and signals is formed between the key end control module 10 and the lock body end control module 20. The lock body end control module 20 drives the lock body to unlock or lock according to the drive command of the key end control module 10. When driving the lock body to unlock or lock, the lock body end control module 20 is powered by the key end control module 10. After the drive is completed, it returns status data. The lock body end control module 20 does not need to be configured with its own power supply, which reduces the size and cost of the lock body and eliminates the trouble of replacing the battery in the lock body.
[0126] In some embodiments, the key end control module 10 includes a first positive and negative electrode interface; the lock body end control module 20 includes a second positive and negative electrode interface; the first positive and negative electrode interface is adapted to the second positive and negative electrode interface; the first positive and negative electrode interface and the second positive and negative electrode interface are used to form a conductive path between the key end control module 10 and the lock body end control module 20. See also Figure 4 or Figure 5 The first positive and negative electrode interface is the second conductive contact 21 of the plug-in port 22; the second positive and negative electrode interface is the first conductive contact 191 of the key connector port 19.
[0127] The key end control module 10 is used to supply power to the lock body end control module 20 through the positive and negative electrode interfaces, and to perform bidirectional data transmission with the lock body end control module 20 through the positive and negative electrode interfaces using time-division multiplexing.
[0128] In some implementations, such as Figure 17 or Figure 19 As shown, the key end control module 10 includes a first control unit 101, a power supply switch 102, a power supply unit 103, and a current limiting unit 104.
[0129] The data output terminal of the first control unit 101 is electrically connected to the positive or negative electrode of the first positive and negative electrode interface through the current limiting unit 104. The data input terminal of the first control unit 101 is electrically connected to the common node of the current limiting unit 104 and the first positive and negative electrode interface. The power supply unit 103 is electrically connected to the common node of the current limiting unit 104 and the first positive and negative electrode interface through the power supply switch 102.
[0130] Optionally, such as Figure 17 or Figure 19 As shown, the power supply unit 103 is electrically connected to the power supply pin of the first control unit 101. The power supply unit 103 is also electrically connected to the first positive and negative electrode interface. The power supply switch 102 is electrically connected to the conductive path between the power supply unit 103 and the first positive and negative electrode interface, used to control the on / off state of the power supply unit 103 and the lock body end control module 20. The switch control terminal of the first control unit 101 is electrically connected to the controlled terminal of the power supply switch 102. The data output terminal of the first control unit 101 is electrically connected to the common node of the power supply switch 102 and the first positive and negative electrode interface through the current limiting unit 104. The data detection terminal of the first control unit 101 is electrically connected to the common node of the power supply switch 102 and the first positive and negative electrode interface. The detection terminal of the first control unit 101 is in a high-impedance state. The ground terminal of the first control unit 101 is grounded.
[0131] In some implementations, such as Figure 18 As shown in Figure 20, the lock body end control module 20 includes a second control unit 201, a drive unit 202, an energy storage unit 203, and an isolation unit 204.
[0132] The first control unit 101 supplies power to the second control unit 201 through positive and negative electrode interfaces, and performs bidirectional data transmission with the second control unit 201 through the positive and negative electrode interfaces using time-division multiplexing. Furthermore, while supplying power to the second control unit 201, the first control unit 101 charges the energy storage unit 203. The energy storage unit 203 is used to supply power to the second control unit 201 during data transmission between the first control unit 101 and the second control unit 201. The second control unit 201 is used to control the lock body to unlock or lock.
[0133] The isolation unit 204 is used to isolate data from the energy storage unit 203; one electrode of the second positive and negative electrode interface is electrically connected to the isolation unit 204; the data input and output terminals of the second control unit 201 are electrically connected to the common node of the second positive and negative electrode interface and the isolation unit 204; the electrodes of the first positive and negative electrode interface connected to the power supply switch 102 and the electrodes of the second positive and negative electrode interface connected to the isolation unit 204 have the same polarity.
[0134] The second control unit 201 is electrically connected to the drive unit 202; the drive unit 202 is used to drive the lock body 1 to unlock or lock; the power supply unit 103 is used to supply power to the first control unit 101; the power supply switch 102 is also used to control the power supply unit 103 to supply power to the second control unit 201 and the drive unit 202 when the drive unit 202 drives the lock body to unlock or lock.
[0135] Optionally, such as Figure 18 or Figure 20 As shown, the second positive and negative electrode interfaces are electrically connected to the energy storage unit 203 via the isolation unit 204. The energy storage unit 203 is electrically connected to the power supply pin of the second control unit 201. The second positive and negative electrode interfaces are electrically connected to the data input / output (IO) terminals of the second control unit 201. The second positive and negative electrode interfaces are also electrically connected to the power supply pin of the drive unit 202. The control output terminal of the second control unit 201 is electrically connected to the control input terminal of the drive unit 202. The control output terminal of the drive unit 202 is electrically connected to the controlled drive device. The ground terminal of the second control unit 201 is grounded. The ground terminal of the drive unit 202 is grounded.
[0136] In some implementations, the data output terminal of the first control unit 101 outputs a weak current to power the second control unit 201, and simultaneously outputs data to the second control unit 201. The data detection terminal of the first control unit 101 is an input pin used to detect the data returned by the second control unit 201. The isolation unit 204 is used to isolate the data signal and the power supply of the second control unit 201; the energy storage unit 203 is used to power the second control unit 201 when either the output of the first control unit 101 or the output of the second control unit 201 is low. The data input / output terminal of the second control unit 201 serves as both a data input pin and a data output pin. When used as a data input pin, it is used to detect the data sent by the first control unit 101; when used as a data output pin, it is used to return data to the first control unit 101.
[0137] The first control unit 101 and the second control unit 201 are electrically connected via an interface protocol; after the interface is electrically connected, a conductive path for transmitting electrical energy and signals is formed between the first control unit 101 and the second control unit 201.
[0138] During data transmission between the data output or data detection terminal of the first control unit 101 and the data input / output terminal of the second control unit 201, the switch control terminal of the first control unit 101 controls the power supply switch 102 to disconnect, and the energy storage unit 203 and the data output terminal of the first control unit 101 supply power to the second control unit 201. The isolation unit 204 is used to prevent backflow of current in the energy storage unit 203 during data transmission. During the operation of the controlled drive device in the unlocking or locking direction by the control output terminal of the drive unit 202, the switch control terminal of the first control unit 101 controls the power supply switch 102 to turn on, and the power supply unit 103 supplies power to the second control unit 201 and the drive unit 202.
[0139] Specifically, the switch control terminal of the first control unit 101 controls the power supply switch 102 to open, and the energy storage unit 203 and the data output terminal of the first control unit 101 supply power to the second control unit 201. The data output terminal of the first control unit 101 sends a drive command to the data input / output terminal of the second control unit 201. After receiving the drive command, the data input / output terminal of the second control unit 201 returns a response signal to the data detection terminal of the first control unit 101. After receiving the response signal, the switch control terminal of the first control unit 101 controls the power supply switch 102 to open, and the power supply unit 103 supplies power to the second control unit 201 and the drive unit 202. The control output terminal of the drive unit 202 drives the controlled drive device to perform an unlocking or locking action within a preset time. After the preset time, the switch control terminal of the first control unit 101 controls the power supply switch 102 to open. The data input / output terminal of the second control unit 201 returns status data to the data detection terminal of the first control unit 101.
[0140] In this embodiment, when the second control unit 201 transmits data with the first control unit 101, or when the lock body is unlocked or locked, the data output terminal of the first control unit 101 remains at a high level. While the data output terminal of the first control unit 101 remains at a high level, it supplies power to the second control unit 201 and charges the energy storage unit 203. When the lock body is unlocked or locked, the power supply unit 103 supplies power to the second control unit 201 and charges the energy storage unit 203. When data is transmitted between the data input terminal of the first control unit 101 and the data input / output terminal of the second control unit 201 at a low level, the energy storage unit 203 supplies power to the second control unit 201. The first control unit 101 and the second control unit 201 are electrically connected via an interface protocol using time-division multiplexing. The interface requires only two electrodes to complete power supply and signal transmission, reducing the size of the electronic key and lock body, saving material costs, and making it more convenient to use.
[0141] In some implementations, such as Figure 16 As shown, the first control unit 101 includes a key chip U1. The key chip U1 is model FT60E010A-DRB. The power supply switch 102 is a P-type field-effect transistor Q1. The current limiting unit 104 is a resistor R1. The first positive and negative electrode interfaces are plug-in ports 22 similar to a USB-A male connector (see...). Figure 4 The plug-in port 22 has two contact electrodes. The two contact electrodes are the positive and negative terminals, respectively. Optionally, the power supply unit 103 is a battery.
[0142] The battery is electrically connected to the power supply pin (VDD pin) of the key chip U1. The source of the P-type MOSFET Q1 is electrically connected to the battery; the drain of the P-type MOSFET Q1 is electrically connected to the positive terminal of the connector 22. The negative terminal of the connector 22 is grounded. The switch control terminal of the key chip U1 (PA4 pin) is electrically connected to the gate of the P-type MOSFET Q1. The data output terminal of the key chip U1 (PA5 pin) is electrically connected to the common node of the drain of the P-type MOSFET Q1 and the positive terminal of the connector 22 through resistor R1. The data detection terminal of the key chip U1 (PA0 pin) is electrically connected to the common node of the drain of the P-type MOSFET Q1 and the positive terminal of the connector 22. The ground terminal of the key chip U1 is grounded.
[0143] Optionally, such as Figure 18 As shown, the second control unit 201 includes a lock chip U2; the model number of the lock chip U2 is FT60E010A-URB. The drive unit 202 is a motor drive chip U3; the model number of the motor drive chip U3 is MX116. The energy storage unit 203 is a capacitor C1. The isolation unit 204 is a diode D1. The controlled drive device is a motor.
[0144] Optionally, the second positive and negative electrode interfaces are similar to a USB-A female connector, such as a key-type connector 19 and an insulator 192 (see...). Figure 4 Insulator 192 is compatible with socket 22. Insulator 192 has two contact electrodes. The two contact electrodes are positive and negative, respectively. Capacitor C1 is electrically connected between the power supply pin (VDD pin) and the ground pin (VSS pin) of latch chip U2.
[0145] The positive terminal of insulator 192 is electrically connected to the positive terminal of diode D2; the negative terminal of diode D2 is electrically connected to the common node of the power supply pin of latch chip U2 and capacitor C1. The negative terminal of insulator 192 and the ground terminal of latch chip U2 are grounded respectively. The positive terminal of insulator 192 is electrically connected to the data input / output terminal of latch chip U2 (see PA3 / KEY2 pin). The positive terminal of insulator 192 is electrically connected to the power supply pin of motor driver chip U3 (see VCC pin). The control output terminal of latch chip U2 (see PA0 / INT pin and PA2 / CPCK pin) is electrically connected to the control input terminal of motor driver chip U3 (see IN1 pin and IN2 pin). The control output terminal of motor driver chip U3 (see OUT1 pin and OUT2 pin) is electrically connected to the motor. The ground terminal of motor driver chip U3 is grounded.
[0146] Figure 17 and Figure 18 Working principle of the intermediate circuit:
[0147] like Figure 21 and Figure 22As shown, the first control unit 101 and the second control unit 201 communicate via a power line, which is divided into two timing sequences: normal timing sequence and motor timing sequence.
[0148] (1). Normal timing sequence: such as Figure 21 As shown, the first control unit 101 is the master controller, sending a data packet T1 once. The second control unit 201 is the slave controller, receiving and processing each data packet and then returning a data packet T2 to the first control unit 101. Bidirectional data communication is achieved through time-division multiplexing of the transmit and receive operations. The size and format of the data packets can be defined according to actual needs.
[0149] The general timing sequence is described in detail below:
[0150] When the first control unit 101 sends data, its switch control terminal (see PA4 pin) outputs a high level, turning off the current output of the P-type field-effect transistor Q1. The data detection terminal (see PA0 pin) of the first control unit 101 is an input pin and is in a high-impedance state. The data output terminal (see PA5 pin) of the first control unit 101 outputs high and low levels to send data information. When the data input / output terminal (see PA3 / KEY2 pin) of the second control unit 201 is used as an input terminal, it detects the data sent from the data output terminal (see PA5 pin) of the first control unit 101. When the data output terminal (see PA5 pin) of the first control unit 101 outputs a high level, it supplies power to the second control unit 201 and charges capacitor C1 through resistor R1 and diode D1. When the data output terminal (see PA5 pin) of the first control unit 101 outputs a low level, the energy stored in capacitor C1 supplies power to the second control unit 201.
[0151] When the data input / output terminal of the second control unit 201 (see PA3 / KEY2 pin) returns data, the data output terminal of the first control unit 101 (see PA5 pin) maintains a high output level, and the data input / output terminal of the second control unit 201 (see PA3 / KEY2 pin) returns data information to the data input terminal of the first control unit 101 (see PA0 pin) as an output pin. When the data input / output terminal of the second control unit 201 (see PA3 / KEY2 pin) outputs a high level, the data detection terminal of the first control unit 101 (see PA0 pin) detects a high level.
[0152] At this point, the main power consumption of the system consists of the operating current of key chip U1, the operating current of lock chip U2, and the current used to charge capacitor C1. Specifically, the current of lock chip U2 flows from the data output terminal PA5 of key chip U1 to resistor R1, then from the positive electrode of the interface to diode D1, then to the power supply pin VDD of lock chip U2, and finally from the VSS terminal of lock chip U2 to the negative electrode GND of the interface. Therefore, the current consumption of resistor R1 and lock chip U2 is essentially in series, with the main voltage and power consumption falling on lock chip U2. If the operating current of lock chip U2 is 1 mA, resistor R1 is 100 ohms, and the power supply voltage is 3V, then the total power consumption of lock chip U2 and resistor R1 is 3 mW, of which the resistor's power consumption is 0.1 mW.
[0153] When the data input / output terminal of the second control unit 201 (see PA3 / KEY2 pin) outputs a low level, due to the voltage reduction effect of resistor R1, the data detection terminal of the first control unit 101 (see PA0 pin) detects a low level.
[0154] At this point, the operating current consumed by the lock chip U2 is provided by capacitor C1. The current consumed by resistor R1 is independent of the operating current of the lock chip U2. This current flows from the data output terminal PA5 of the key chip U1 to resistor R1, then from the positive electrode of the interface to the data input / output terminal PA3 of the lock chip U2, and then from the VSS terminal of the lock chip U2 to the GND terminal of the negative electrode of the interface. At this time, voltage and power consumption mainly fall on resistor R1. The power consumption is provided by the power supply at the key terminal, and its power consumption is related to the power supply voltage, the resistance value of resistor R1, and the output power of the data output terminal PA5 of the key chip U1. If the power supply voltage is 3V, the resistor R1 is 100 ohms, and the maximum output current of the data output terminal PA5 of the key chip U1 is 30 mA, then the current in resistor R1 will be slightly less than 30 mA, and the power consumption of resistor R1 will be slightly less than 90 milliwatts.
[0155] (2). The motor timing sequence is composed of the normal timing sequence with the motor rotation time added in the middle.
[0156] like Figure 22 As shown, the first control unit 101 sends a drive command data packet T3, the motor rotates within time T4, and after time T4, the second control unit 201 returns a status data packet T5 to the first control unit 101.
[0157] Since the motor at the lock end requires a relatively large current to rotate, it is not suitable to supply power to the lock body end from the data output terminal (see PA5 pin) of the first control unit 101. When the motor rotates, the switch control terminal (see PA4 pin) of the first control unit 101 outputs a low level, turning on the P-type field-effect transistor Q1, and the power supply VDD1 at the key end directly supplies power to the motor at the lock end to rotate.
[0158] Because resistor R1 has low power consumption, a small-volume 0402-package surface-mount resistor is sufficient. Capacitor C1 primarily powers the lock chip U2 when its positive electrode is at a low level during data transmission and reception. To avoid excessively long power supply time for capacitor C1 due to consecutive data 0s or 1s, both data 0s and 1s are composed of high and low levels (e.g., 30 microseconds high and 10 microseconds low equals 1, 10 microseconds high and 30 microseconds low equals 0), thus reducing the capacitance requirement for C1. Since the operating current of lock chip U2 is low and the power supply time of capacitor C1 is short (typically tens of microseconds), a small-volume 0402-package surface-mount capacitor of a few microfarads is sufficient. In this application, the circuit for transmitting power and data via the power line is simple and small in size, suitable for many applications, especially for small-volume electronic locks with low data volumes.
[0159] In this application, because the motor rotation time is very short (generally less than 0.5 seconds) and the number of rotations is very small (the motor rotates twice in one complete lock / unlock operation), time-division multiplexing technology is used to prevent data transmission during motor rotation. The first control unit 101 first sends a motor rotation command (unlock or lock command), then the first control unit 101 starts supplying a high-current power supply, and the second control unit 201 then controls the motor rotation. After the motor rotation is complete, the first control unit 101 stops supplying the high-current power supply, and only then does the second control unit 201 return data to the first control unit 101. Since data cannot be returned during motor rotation, the motor rotation time must be pre-agreed or included in the motor rotation command so that the rotation times of the motors on the key and lock ends can be synchronized.
[0160] Since the amount of data information that the electronic lock needs to transmit is not large, and the time required for the high-current rotation of the electronic lock motor is very short (generally less than 0.5 seconds), this application adopts time-division multiplexing technology and uses a simple circuit to directly modulate high and low levels to achieve bidirectional data communication.
[0161] In some implementations, when the second control unit 201 transmits data with the first control unit 101 or when the lock body is unlocked or locked, the data output terminal of the first control unit 101 is kept at a low level; when the data output terminal of the first control unit 101 is kept at a low level or when the lock body is unlocked or locked, the power supply unit 103 supplies power to the second control unit 201 and charges the energy storage unit 203.
[0162] In some implementations, such as Figure 19 As shown, the first control unit 101 includes a key chip U1. The power supply switch 102 is an N-type field-effect transistor Q2. The current limiting unit 104 is a resistor R2. The first positive and negative electrode interface is a plug-in port 22 similar to a USB-A male connector. The plug-in port 22 has two contact electrodes. The two contact electrodes are the positive and negative terminals, respectively. Optionally, the power supply unit 103 is a battery.
[0163] The battery is electrically connected to the power supply pin (VDD pin) of the key chip U1. The source of the N-type field-effect transistor Q2 is grounded; the drain of the N-type field-effect transistor Q2 is electrically connected to the negative terminal of the connector 22. The positive terminal of the connector 22 is electrically connected to the battery. The switch control terminal of the key chip U1 (PA4 pin) is electrically connected to the gate of the N-type field-effect transistor Q2. The data output terminal of the key chip U1 (PA5 pin) is electrically connected to the common node of the drain of the N-type field-effect transistor Q2 and the negative terminal of the connector 22 through resistor R2. The data detection terminal of the key chip U1 (PA0 pin) is electrically connected to the common node of the drain of the N-type field-effect transistor Q2 and the negative terminal of the connector 22. The ground terminal of the key chip U1 is grounded.
[0164] Optionally, such as Figure 20 As shown, the second control unit 201 includes a lock chip U2. The drive unit 202 is a motor drive chip U3. The energy storage unit 203 is a capacitor C2. The isolation unit 204 is a diode D2. The controlled drive device is a motor.
[0165] Optionally, the second positive and negative electrode interface is a key-type connector 19 similar to a USB-A female connector and an insulator 192. The insulator 192 is adapted to the plug-in port 22. The insulator 192 has two contact electrodes. The two contact electrodes are the positive and negative electrodes, respectively.
[0166] The positive terminal of insulator 192 is electrically connected to the power supply pin (VDDS pin) of latch chip U2. Capacitor C2 is electrically connected between the power supply pin (VDD pin) and ground (VSS pin) of latch chip U2. The negative terminal of insulator 192 is electrically connected to the negative terminal of diode D2; the positive terminal of diode D2 is electrically connected to the common node of the ground terminal of latch chip U2 and capacitor C1. The ground terminal of latch chip U2 is grounded. The negative terminal of insulator 192 is electrically connected to the data input / output terminal of latch chip U2 (PA3 / KEY2 pin). The positive terminal of insulator 192 is electrically connected to the power supply pin (VCC pin) of motor driver chip U3. The control output terminal (PA0 / INT pin and PA2 / CPCK pin) of latch chip U2 is electrically connected to the control input terminal (IN1 pin and IN2 pin) of motor driver chip U3. The control output terminal (OUT1 pin and OUT2 pin) of motor driver chip U3 is electrically connected to the motor. The ground terminal of motor driver chip U3 is grounded.
[0167] In this embodiment, the power supply switch 102 uses an N-type field-effect transistor Q2. The common terminal of the key end control module 10 and the lock body end control module 20 is placed at the positive terminal of the power supply, and the high-current N-type field-effect transistor Q2 is placed at the negative terminal. Its working principle is similar to that of the aforementioned circuit. When the data output terminal PA5 of the key chip U1 sends a low data output, the battery supplies power to the lock chip U2 and charges the capacitor C2; when the data output terminal PA5 of the key chip U1 sends a high data output, the capacitor C2 supplies power to the lock chip U2.
[0168] When data is returned from PA3, the data input / output terminal of lock chip U2, the data output terminal PA5 of key chip remains low. When data is returned low from PA3, lock chip U2 is powered by the battery, which also charges capacitor C2. When data is returned high from PA3, lock chip U2 is powered by capacitor C2. At this time, the current consumed by resistor R2 flows from the positive terminal to the VDD pin of lock chip U2, then to PA3, then from the negative terminal to resistor R2, then to PA5, the data output terminal of key chip U1, and finally to the negative terminal of the battery. At this point, voltage and power consumption primarily occur through resistor R2, with the power consumption provided by the power supply at the key terminal. This power consumption is related to the power supply voltage, the resistor value, and the sinking current of PA5, the data output terminal of key chip U1.
[0169] In some embodiments, the data output terminal of the first control unit 101 is used to supply power to the second control unit 201 when the second control unit 201 returns data to the first control unit 101. The power supply switch 102 is used to control the power supply unit 103 to supply power to the second control unit 201 and the energy storage unit 203; the power supply switch 102 is also used to send data to the data input / output terminal of the second control unit 201 according to the pulse modulation signal of the first control unit 101.
[0170] Unlike the previous embodiments, in this embodiment, the data output terminal of the first control unit 101 does not output data to the second control unit 201. Instead, the switch control terminal of the first control unit 101 sends a pulse modulation signal to the control terminal of the power supply switch 102. The power supply switch 102 turns on or off according to the pulse modulation signal, thereby outputting data to the second control unit 201.
[0171] In some implementations, the key control module 10 includes a first control unit 101, a power supply unit 103, and a current limiting unit 104.
[0172] When the second control unit 201 transmits data with the first control unit 101, or when the lock body is unlocked or locked, the data output terminal of the first control unit 101 remains at a high level. When the data output terminal of the first control unit 101 remains at a high level, the data output terminal of the first control unit 101 supplies power to the second control unit 201 and charges the energy storage unit 203. When a low level is transmitted between the data input terminal of the first control unit 101 and the data input / output terminal of the second control unit 201, the energy storage unit 203 supplies power to the second control unit 201.
[0173] Unlike the previous embodiments, in this embodiment, the key end control module 10 does not need to be equipped with a power supply switch 102. The power supply unit 103 supplies power to the first control unit 101, and the data output terminal of the first control unit 101 outputs a high level to supply power to the second control unit 201 and charge the energy storage unit 203.
[0174] In this application, no power supply is installed in the lock body. The electronic key 2 and the lock body form a conductive path through an interface. The electronic lock control circuit realizes the data transmission and power supply between the electronic key 2 and the lock body. This can reduce the size of the lock body, reduce the cost of the lock, and eliminate the trouble of replacing or charging the lock body battery, making it convenient to use.
[0175] Based on the same technical concept, this application also provides a control method for an electronic lock, applied to an electronic lock control circuit, wherein the electronic lock control circuit includes a key end control module 10 and a lock body end control module 20; the lock body end control module 20 includes a second control unit 201, a drive unit 202 and an energy storage unit 203; and includes the following steps S1 to S3:
[0176] S1. The key end control module 10 and the lock body end control module 20 are electrically connected through the positive and negative electrode interfaces. The key end control module 10 supplies power to the second control unit 201 and charges the energy storage unit 203.
[0177] S2. The key end control module 10 and the second control unit 201 adopt a time-division multiplexing method and perform bidirectional data transmission through positive and negative interfaces;
[0178] S3. The second control unit 201 controls the drive unit 202 to perform the locking or unlocking of the lock body.
[0179] In some embodiments, the key terminal control module 10 includes a power supply switch 102 and a power supply unit 103; the power supply switch 102 is a transistor switch;
[0180] When the power supply switch 102 is turned on, the power supply unit 103 supplies power to the drive unit 202 through the positive and negative interfaces.
[0181] In some embodiments, the key end control module 10 includes a first control unit 101;
[0182] When the second control unit 201 feeds back data to the first control unit 101, power is supplied to the second control unit 201 from the data output terminal of the first control unit 101.
[0183] In some implementations, the data is obtained through high-low level modulation.
[0184] In some implementations, the data output terminal and data input terminal of the first control unit 101 are two separate ports.
[0185] The above are merely optional embodiments of this application, and this application is not limited to the above embodiments. It is understood that other improvements and variations directly derived or conceived by those skilled in the art without departing from the basic concept of this application should be considered to be included within the protection scope of this application.
Claims
1. An electronic lock, characterized in that: Includes lock body (1); The lock body (1) includes a knob (11), a control panel (12), a locking element, a lock shell (14), and a bolt (16); The knob (11) is provided with a key socket (19); The key socket (19) is provided with a contact electrode for forming a conductive path with the electronic key (2); the contact electrode is electrically connected to the control board (12); The knob (11) is rotatably mounted on the lock housing (14); The control panel (12) and the locking element are installed inside the lock housing (14), and the locking element is located outside the knob (11); The control panel (12) is used to control the movement of the locking element; When the locking element is moved to the unlocked position, the knob (11) can rotate, causing the locking tongue (16) to unlock.
2. The electronic lock according to claim 1, characterized in that: The locking element is a locking bolt (15); the lock housing (14) is provided with a locking groove (1412), and the knob (11) is provided with a locking notch (111), with the locking groove (1412) corresponding to the locking notch (111); With the locking bolt (15) inserted into the locking groove (1412) and the locking notch (111), it is in the locked position, and the locking bolt (15) prevents the knob (11) from rotating. The latch (16) is connected to the knob (11); With the locking bolt (15) disengaged from the locking notch (111), it is in the unlocked position, and the knob (11) can rotate, thereby unlocking the bolt (16).
3. The electronic lock according to claim 1, characterized in that: The locking element is a clutch bolt (43); A linkage sleeve (45) is fitted around the outside of the knob (11); The linkage sleeve (45) is rotatably connected to the knob (11) and also rotatably connected to the lock housing (14); The locking tongue (16) and the linkage sleeve (45) are connected; When the clutch bolt (43) is moved to the linkage position of the knob (11) and the linkage sleeve (45), it is in the unlocked position. Rotating the knob (11) can drive the linkage sleeve (45) to rotate, and the linkage sleeve (45) can drive the lock tongue (16) to unlock.
4. The electronic lock according to claim 1, characterized in that: Two conductive brushes (18) are provided inside the lock body (1) and are electrically connected to the control board (12); Two conductive rings (17) are provided on the outer wall of the knob (11); there are two contact electrodes; Two conductive rings (17) are electrically connected to two contact electrodes one by one, and two conductive brushes (18) are pressed against the two conductive rings (17) one by one; Two conductive rings (17) are used to maintain electrical connection with two conductive brushes (18) when the knob (11) is rotated.
5. The electronic lock according to claim 1, characterized in that: The key socket (19) and the knob (11) share a common rotation axis; There are two contact electrodes; the two contact electrodes are arranged parallel to the rotation axis of the knob (11).
6. The electronic lock according to claim 1, characterized in that: It also includes the driver component (13); The drive assembly (13) is movably installed inside the lock housing (14); The locking element is a locking bolt (15); the locking bolt (15) is disposed on the drive assembly (13); The control board (12) is electrically connected to the drive assembly (13); The knob (11) is provided with a locking notch (111); the locking notch (111) is adapted to the locking bolt (15); the locking bolt (15) is arranged opposite to the locking notch (111).
7. The electronic lock according to claim 6, characterized in that: The lock housing (14) is provided with a locking groove (1412); The locking groove (1412) is located between the locking bolt (15) and the locking notch (111); The locking bolt (15) moves along the locking groove (1412) toward or away from the locking notch (111); The lock housing (14) is provided with an arc-shaped limiting boss (1413); The locking groove (1412) is a notch in the middle of the arc-shaped limiting boss (1413); A C-shaped guide rail (112) is provided on the side wall of the knob (11); The arc-shaped limiting boss (1413) is compatible with the C-shaped guide rail (112); The knob (11) rotates within the arc-shaped limiting boss (1413).
8. The electronic lock according to claim 4, characterized in that: Two conductive rings (17) are arranged in parallel relative to each other; Two conductive rings (17) are respectively arranged around the side wall of the knob (11).
9. The electronic lock according to claim 8, characterized in that: The side wall of the knob (11) has two C-shaped grooves (115) for mounting the conductive ring (17).
10. The electronic lock according to claim 1, characterized in that: It also includes an initialization button; a button hole is provided on the lock housing (14); the initialization button is installed in the button hole; the initialization button is electrically connected to the control board (12).